setup-kubectl/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js

62 lines
No EOL
7.3 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(()=>{var __webpack_modules__={28440:E=>{function webpackEmptyContext(E){var N=new Error("Cannot find module '"+E+"'");N.code="MODULE_NOT_FOUND";throw N}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;E.exports=webpackEmptyContext},70797:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.cloneNode=cloneNode;function cloneNode(E){return Object.assign({},E)}},98093:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});var j={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(N,"numberLiteralFromRaw",{enumerable:true,get:function get(){return q.numberLiteralFromRaw}});Object.defineProperty(N,"withLoc",{enumerable:true,get:function get(){return q.withLoc}});Object.defineProperty(N,"withRaw",{enumerable:true,get:function get(){return q.withRaw}});Object.defineProperty(N,"funcParam",{enumerable:true,get:function get(){return q.funcParam}});Object.defineProperty(N,"indexLiteral",{enumerable:true,get:function get(){return q.indexLiteral}});Object.defineProperty(N,"memIndexLiteral",{enumerable:true,get:function get(){return q.memIndexLiteral}});Object.defineProperty(N,"instruction",{enumerable:true,get:function get(){return q.instruction}});Object.defineProperty(N,"objectInstruction",{enumerable:true,get:function get(){return q.objectInstruction}});Object.defineProperty(N,"traverse",{enumerable:true,get:function get(){return G.traverse}});Object.defineProperty(N,"signatures",{enumerable:true,get:function get(){return ie.signatures}});Object.defineProperty(N,"cloneNode",{enumerable:true,get:function get(){return ce.cloneNode}});Object.defineProperty(N,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return le.moduleContextFromModuleAST}});var $=R(52696);Object.keys($).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(j,E))return;Object.defineProperty(N,E,{enumerable:true,get:function get(){return $[E]}})}));var q=R(11891);var G=R(22056);var ie=R(75769);var ae=R(91764);Object.keys(ae).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(j,E))return;Object.defineProperty(N,E,{enumerable:true,get:function get(){return ae[E]}})}));var ce=R(70797);var le=R(5499)},11891:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.numberLiteralFromRaw=numberLiteralFromRaw;N.instruction=instruction;N.objectInstruction=objectInstruction;N.withLoc=withLoc;N.withRaw=withRaw;N.funcParam=funcParam;N.indexLiteral=indexLiteral;N.memIndexLiteral=memIndexLiteral;var j=R(80853);var $=R(52696);function numberLiteralFromRaw(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var R=E;if(typeof E==="string"){E=E.replace(/_/g,"")}if(typeof E==="number"){return(0,$.numberLiteral)(E,String(R))}else{switch(N){case"i32":{return(0,$.numberLiteral)((0,j.parse32I)(E),String(R))}case"u32":{return(0,$.numberLiteral)((0,j.parseU32)(E),String(R))}case"i64":{return(0,$.longNumberLiteral)((0,j.parse64I)(E),String(R))}case"f32":{return(0,$.floatLiteral)((0,j.parse32F)(E),(0,j.isNanLiteral)(E),(0,j.isInfLiteral)(E),String(R))}default:{return(0,$.floatLiteral)((0,j.parse64F)(E),(0,j.isNanLiteral)(E),(0,j.isInfLiteral)(E),String(R))}}}}function instruction(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,$.instr)(E,undefined,N,R)}function objectInstruction(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var j=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,$.instr)(E,N,R,j)}function withLoc(E,N,R){var j={start:R,end:N};E.loc=j;return E}function withRaw(E,N){E.raw=N;return E}function funcParam(E,N){return{id:N,valtype:E}}function indexLiteral(E){var N=numberLiteralFromRaw(E,"u32");return N}function memIndexLiteral(E){var N=numberLiteralFromRaw(E,"u32");return N}},46166:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.createPath=createPath;function _extends(){_extends=Object.assign||function(E){for(var N=1;N<arguments.length;N++){var R=arguments[N];for(var j in R){if(Object.prototype.hasOwnProperty.call(R,j)){E[j]=R[j]}}}return E};return _extends.apply(this,arguments)}function findParent(E,N){var R=E.parentPath;if(R==null){throw new Error("node is root")}var j=R;while(N(j)!==false){if(j.parentPath==null){return null}j=j.parentPath}return j.node}function insertBefore(E,N){return insert(E,N)}function insertAfter(E,N){return insert(E,N,1)}function insert(E,N){var R=E.node,j=E.inList,$=E.parentPath,q=E.parentKey;var G=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;if(!j){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ie=$.node[q];var ae=ie.findIndex((function(E){return E===R}));ie.splice(ae+G,0,N)}function remove(E){var N=E.node,R=E.parentKey,j=E.parentPath;if(!(j!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var $=j.node;var q=$[R];if(Array.isArray(q)){$[R]=q.filter((function(E){return E!==N}))}else{delete $[R]}N._deleted=true}function stop(E){E.shouldStop=true}function replaceWith(E,N){var R=E.parentPath.node;var j=R[E.parentKey];if(Array.isArray(j)){var $=j.findIndex((function(N){return N===E.node}));j.splice($,1,N)}else{R[E.parentKey]=N}E.node._deleted=true;E.node=N}function bindNodeOperations(E,N){var R=Object.keys(E);var j={};R.forEach((function(R){j[R]=E[R].bind(null,N)}));return j}function createPathOperations(E){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},E)}function createPath(E){var N=_extends({},E);Object.assign(N,createPathOperations(N));return N}},52696:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.module=_module;N.moduleMetadata=moduleMetadata;N.moduleNameMetadata=moduleNameMetadata;N.functionNameMetadata=functionNameMetadata;N.localNameMetadata=localNameMetadata;N.binaryModule=binaryModule;N.quoteModule=quoteModule;N.sectionMetadata=sectionMetadata;N.producersSectionMetadata=producersSectionMetadata;N.producerMetadata=producerMetadata;N.producerMetadataVersionedName=producerMetadataVersionedName;N.loopInstruction=loopInstruction;N.instr=instr;N.ifInstruction=ifInstruction;N.stringLiteral=stringLiteral;N.numberLiteral=numberLiteral;N.longNumberLiteral=longNumberLiteral;N.floatLiteral=floatLiteral;N.elem=elem;N.indexInFuncSection=indexInFuncSection;N.valtypeLiteral=valtypeLiteral;N.typeInstruction=typeInstruction;N.start=start;N.globalType=globalType;N.leadingComment=leadingComment;N.blockComment=blockComment;N.data=data;N.global=global;N.table=table;N.memory=memory;N.funcImportDescr=funcImportDescr;N.moduleImport=moduleImport;N.moduleExportDescr=moduleExportDescr;N.moduleExport=moduleExport;N.limit=limit;N.signature=signature;N.program=program;N.identifier=identifier;N.blockInstruction=blockInstruction;N.callInstruction=callInstruction;N.callIndirectInstruction=callIndirectInstruction;N.byteArray=byteArray;N.func=func;N.internalBrUnless=internalBrUnless;N.internalGoto=internalGoto;N.internalCallExtern=internalCallExtern;N.internalEndAndReturn=internalEndAndReturn;N.assertInternalCallExtern=N.assertInternalGoto=N.assertInternalBrUnless=N.assertFunc=N.assertByteArray=N.assertCallIndirectInstruction=N.assertCallInstruction=N.assertBlockInstruction=N.assertIdentifier=N.assertProgram=N.assertSignature=N.assertLimit=N.assertModuleExport=N.assertModuleExportDescr=N.assertModuleImport=N.assertFuncImportDescr=N.assertMemory=N.assertTable=N.assertGlobal=N.assertData=N.assertBlockComment=N.assertLeadingComment=N.assertGlobalType=N.assertStart=N.assertTypeInstruction=N.assertValtypeLiteral=N.assertIndexInFuncSection=N.assertElem=N.assertFloatLiteral=N.assertLongNumberLiteral=N.assertNumberLiteral=N.assertStringLiteral=N.assertIfInstruction=N.assertInstr=N.assertLoopInstruction=N.assertProducerMetadataVersionedName=N.assertProducerMetadata=N.assertProducersSectionMetadata=N.assertSectionMetadata=N.assertQuoteModule=N.assertBinaryModule=N.assertLocalNameMetadata=N.assertFunctionNameMetadata=N.assertModuleNameMetadata=N.assertModuleMetadata=N.assertModule=N.isIntrinsic=N.isImportDescr=N.isNumericLiteral=N.isExpression=N.isInstruction=N.isBlock=N.isNode=N.isInternalEndAndReturn=N.isInternalCallExtern=N.isInternalGoto=N.isInternalBrUnless=N.isFunc=N.isByteArray=N.isCallIndirectInstruction=N.isCallInstruction=N.isBlockInstruction=N.isIdentifier=N.isProgram=N.isSignature=N.isLimit=N.isModuleExport=N.isModuleExportDescr=N.isModuleImport=N.isFuncImportDescr=N.isMemory=N.isTable=N.isGlobal=N.isData=N.isBlockComment=N.isLeadingComment=N.isGlobalType=N.isStart=N.isTypeInstruction=N.isValtypeLiteral=N.isIndexInFuncSection=N.isElem=N.isFloatLiteral=N.isLongNumberLiteral=N.isNumberLiteral=N.isStringLiteral=N.isIfInstruction=N.isInstr=N.isLoopInstruction=N.isProducerMetadataVersionedName=N.isProducerMetadata=N.isProducersSectionMetadata=N.isSectionMetadata=N.isQuoteModule=N.isBinaryModule=N.isLocalNameMetadata=N.isFunctionNameMetadata=N.isModuleNameMetadata=N.isModuleMetadata=N.isModule=void 0;N.nodeAndUnionTypes=N.unionTypesMap=N.assertInternalEndAndReturn=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isTypeOf(E){return function(N){return N.type===E}}function assertTypeOf(E){return function(N){return function(){if(!(N.type===E)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(E,N,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Module",id:E,fields:N};if(typeof R!=="undefined"){j.metadata=R}return j}function moduleMetadata(E,N,R,j){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(j!==null&&j!==undefined){if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"ModuleMetadata",sections:E};if(typeof N!=="undefined"&&N.length>0){$.functionNames=N}if(typeof R!=="undefined"&&R.length>0){$.localNames=R}if(typeof j!=="undefined"&&j.length>0){$.producers=j}return $}function moduleNameMetadata(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"ModuleNameMetadata",value:E};return N}function functionNameMetadata(E,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(N)||0))}var R={type:"FunctionNameMetadata",value:E,index:N};return R}function localNameMetadata(E,N,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(N)||0))}if(!(typeof R==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(R)||0))}var j={type:"LocalNameMetadata",value:E,localIndex:N,functionIndex:R};return j}function binaryModule(E,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"BinaryModule",id:E,blob:N};return R}function quoteModule(E,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"QuoteModule",id:E,string:N};return R}function sectionMetadata(E,N,R,j){if(!(typeof N==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(N)||0))}var $={type:"SectionMetadata",section:E,startOffset:N,size:R,vectorOfSize:j};return $}function producersSectionMetadata(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"ProducersSectionMetadata",producers:E};return N}function producerMetadata(E,N,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"ProducerMetadata",language:E,processedBy:N,sdk:R};return j}function producerMetadataVersionedName(E,N){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(N)||0))}var R={type:"ProducerMetadataVersionedName",name:E,version:N};return R}function loopInstruction(E,N,R){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"LoopInstruction",id:"loop",label:E,resulttype:N,instr:R};return j}function instr(E,N,R,j){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Instr",id:E,args:R};if(typeof N!=="undefined"){$.object=N}if(typeof j!=="undefined"&&Object.keys(j).length!==0){$.namedArgs=j}return $}function ifInstruction(E,N,R,j,$){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var q={type:"IfInstruction",id:"if",testLabel:E,test:N,result:R,consequent:j,alternate:$};return q}function stringLiteral(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"StringLiteral",value:E};return N}function numberLiteral(E,N){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}var R={type:"NumberLiteral",value:E,raw:N};return R}function longNumberLiteral(E,N){if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}var R={type:"LongNumberLiteral",value:E,raw:N};return R}function floatLiteral(E,N,R,j){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(N)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(R)||0))}}if(!(typeof j==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(j)||0))}var $={type:"FloatLiteral",value:E,raw:j};if(N===true){$.nan=true}if(R===true){$.inf=true}return $}function elem(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Elem",table:E,offset:N,funcs:R};return j}function indexInFuncSection(E){var N={type:"IndexInFuncSection",index:E};return N}function valtypeLiteral(E){var N={type:"ValtypeLiteral",name:E};return N}function typeInstruction(E,N){var R={type:"TypeInstruction",id:E,functype:N};return R}function start(E){var N={type:"Start",index:E};return N}function globalType(E,N){var R={type:"GlobalType",valtype:E,mutability:N};return R}function leadingComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"LeadingComment",value:E};return N}function blockComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"BlockComment",value:E};return N}function data(E,N,R){var j={type:"Data",memoryIndex:E,offset:N,init:R};return j}function global(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Global",globalType:E,init:N,name:R};return j}function table(E,N,R,j){if(!(N.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+N.type||0))}if(j!==null&&j!==undefined){if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"Table",elementType:E,limits:N,name:R};if(typeof j!=="undefined"&&j.length>0){$.elements=j}return $}function memory(E,N){var R={type:"Memory",limits:E,id:N};return R}function funcImportDescr(E,N){var R={type:"FuncImportDescr",id:E,signature:N};return R}function moduleImport(E,N,R){if(!(typeof E==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(N)||0))}var j={type:"ModuleImport",module:E,name:N,descr:R};return j}function moduleExportDescr(E,N){var R={type:"ModuleExportDescr",exportType:E,id:N};return R}function moduleExport(E,N){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleExport",name:E,descr:N};return R}function limit(E,N,R){if(!(typeof E==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(N)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(R)||0))}}var j={type:"Limit",min:E};if(typeof N!=="undefined"){j.max=N}if(R===true){j.shared=true}return j}function signature(E,N){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Signature",params:E,results:N};return R}function program(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Program",body:E};return N}function identifier(E,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}}var R={type:"Identifier",value:E};if(typeof N!=="undefined"){R.raw=N}return R}function blockInstruction(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"BlockInstruction",id:"block",label:E,instr:N,result:R};return j}function callInstruction(E,N,R){if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"CallInstruction",id:"call",index:E};if(typeof N!=="undefined"&&N.length>0){j.instrArgs=N}if(typeof R!=="undefined"){j.numeric=R}return j}function callIndirectInstruction(E,N){if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"CallIndirectInstruction",id:"call_indirect",signature:E};if(typeof N!=="undefined"&&N.length>0){R.intrs=N}return R}function byteArray(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"ByteArray",values:E};return N}function func(E,N,R,j,$){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(j!==null&&j!==undefined){if(!(typeof j==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(j)||0))}}var q={type:"Func",name:E,signature:N,body:R};if(j===true){q.isExternal=true}if(typeof $!=="undefined"){q.metadata=$}return q}function internalBrUnless(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalBrUnless",target:E};return N}function internalGoto(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalGoto",target:E};return N}function internalCallExtern(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalCallExtern",target:E};return N}function internalEndAndReturn(){var E={type:"InternalEndAndReturn"};return E}var R=isTypeOf("Module");N.isModule=R;var j=isTypeOf("ModuleMetadata");N.isModuleMetadata=j;var $=isTypeOf("ModuleNameMetadata");N.isModuleNameMetadata=$;var q=isTypeOf("FunctionNameMetadata");N.isFunctionNameMetadata=q;var G=isTypeOf("LocalNameMetadata");N.isLocalNameMetadata=G;var ie=isTypeOf("BinaryModule");N.isBinaryModule=ie;var ae=isTypeOf("QuoteModule");N.isQuoteModule=ae;var ce=isTypeOf("SectionMetadata");N.isSectionMetadata=ce;var le=isTypeOf("ProducersSectionMetadata");N.isProducersSectionMetadata=le;var _e=isTypeOf("ProducerMetadata");N.isProducerMetadata=_e;var Ee=isTypeOf("ProducerMetadataVersionedName");N.isProducerMetadataVersionedName=Ee;var Te=isTypeOf("LoopInstruction");N.isLoopInstruction=Te;var we=isTypeOf("Instr");N.isInstr=we;var Ie=isTypeOf("IfInstruction");N.isIfInstruction=Ie;var Ne=isTypeOf("StringLiteral");N.isStringLiteral=Ne;var Me=isTypeOf("NumberLiteral");N.isNumberLiteral=Me;var Le=isTypeOf("LongNumberLiteral");N.isLongNumberLiteral=Le;var Be=isTypeOf("FloatLiteral");N.isFloatLiteral=Be;var je=isTypeOf("Elem");N.isElem=je;var Ue=isTypeOf("IndexInFuncSection");N.isIndexInFuncSection=Ue;var ze=isTypeOf("ValtypeLiteral");N.isValtypeLiteral=ze;var We=isTypeOf("TypeInstruction");N.isTypeInstruction=We;var Je=isTypeOf("Start");N.isStart=Je;var Ve=isTypeOf("GlobalType");N.isGlobalType=Ve;var qe=isTypeOf("LeadingComment");N.isLeadingComment=qe;var He=isTypeOf("BlockComment");N.isBlockComment=He;var Ge=isTypeOf("Data");N.isData=Ge;var Ke=isTypeOf("Global");N.isGlobal=Ke;var Qe=isTypeOf("Table");N.isTable=Qe;var Xe=isTypeOf("Memory");N.isMemory=Xe;var Ye=isTypeOf("FuncImportDescr");N.isFuncImportDescr=Ye;var Ze=isTypeOf("ModuleImport");N.isModuleImport=Ze;var et=isTypeOf("ModuleExportDescr");N.isModuleExportDescr=et;var tt=isTypeOf("ModuleExport");N.isModuleExport=tt;var rt=isTypeOf("Limit");N.isLimit=rt;var nt=isTypeOf("Signature");N.isSignature=nt;var it=isTypeOf("Program");N.isProgram=it;var ot=isTypeOf("Identifier");N.isIdentifier=ot;var st=isTypeOf("BlockInstruction");N.isBlockInstruction=st;var ct=isTypeOf("CallInstruction");N.isCallInstruction=ct;var ut=isTypeOf("CallIndirectInstruction");N.isCallIndirectInstruction=ut;var dt=isTypeOf("ByteArray");N.isByteArray=dt;var pt=isTypeOf("Func");N.isFunc=pt;var ft=isTypeOf("InternalBrUnless");N.isInternalBrUnless=ft;var mt=isTypeOf("InternalGoto");N.isInternalGoto=mt;var ht=isTypeOf("InternalCallExtern");N.isInternalCallExtern=ht;var _t=isTypeOf("InternalEndAndReturn");N.isInternalEndAndReturn=_t;var yt=function isNode(E){return R(E)||j(E)||$(E)||q(E)||G(E)||ie(E)||ae(E)||ce(E)||le(E)||_e(E)||Ee(E)||Te(E)||we(E)||Ie(E)||Ne(E)||Me(E)||Le(E)||Be(E)||je(E)||Ue(E)||ze(E)||We(E)||Je(E)||Ve(E)||qe(E)||He(E)||Ge(E)||Ke(E)||Qe(E)||Xe(E)||Ye(E)||Ze(E)||et(E)||tt(E)||rt(E)||nt(E)||it(E)||ot(E)||st(E)||ct(E)||ut(E)||dt(E)||pt(E)||ft(E)||mt(E)||ht(E)||_t(E)};N.isNode=yt;var vt=function isBlock(E){return Te(E)||st(E)||pt(E)};N.isBlock=vt;var bt=function isInstruction(E){return Te(E)||we(E)||Ie(E)||We(E)||st(E)||ct(E)||ut(E)};N.isInstruction=bt;var xt=function isExpression(E){return we(E)||Ne(E)||Me(E)||Le(E)||Be(E)||ze(E)||ot(E)};N.isExpression=xt;var St=function isNumericLiteral(E){return Me(E)||Le(E)||Be(E)};N.isNumericLiteral=St;var Et=function isImportDescr(E){return Ve(E)||Qe(E)||Xe(E)||Ye(E)};N.isImportDescr=Et;var Tt=function isIntrinsic(E){return ft(E)||mt(E)||ht(E)||_t(E)};N.isIntrinsic=Tt;var kt=assertTypeOf("Module");N.assertModule=kt;var Ct=assertTypeOf("ModuleMetadata");N.assertModuleMetadata=Ct;var Dt=assertTypeOf("ModuleNameMetadata");N.assertModuleNameMetadata=Dt;var At=assertTypeOf("FunctionNameMetadata");N.assertFunctionNameMetadata=At;var wt=assertTypeOf("LocalNameMetadata");N.assertLocalNameMetadata=wt;var Pt=assertTypeOf("BinaryModule");N.assertBinaryModule=Pt;var Ft=assertTypeOf("QuoteModule");N.assertQuoteModule=Ft;var It=assertTypeOf("SectionMetadata");N.assertSectionMetadata=It;var Nt=assertTypeOf("ProducersSectionMetadata");N.assertProducersSectionMetadata=Nt;var Ot=assertTypeOf("ProducerMetadata");N.assertProducerMetadata=Ot;var Mt=assertTypeOf("ProducerMetadataVersionedName");N.assertProducerMetadataVersionedName=Mt;var Rt=assertTypeOf("LoopInstruction");N.assertLoopInstruction=Rt;var Lt=assertTypeOf("Instr");N.assertInstr=Lt;var Bt=assertTypeOf("IfInstruction");N.assertIfInstruction=Bt;var jt=assertTypeOf("StringLiteral");N.assertStringLiteral=jt;var Ut=assertTypeOf("NumberLiteral");N.assertNumberLiteral=Ut;var zt=assertTypeOf("LongNumberLiteral");N.assertLongNumberLiteral=zt;var Wt=assertTypeOf("FloatLiteral");N.assertFloatLiteral=Wt;var $t=assertTypeOf("Elem");N.assertElem=$t;var Jt=assertTypeOf("IndexInFuncSection");N.assertIndexInFuncSection=Jt;var Vt=assertTypeOf("ValtypeLiteral");N.assertValtypeLiteral=Vt;var qt=assertTypeOf("TypeInstruction");N.assertTypeInstruction=qt;var Ht=assertTypeOf("Start");N.assertStart=Ht;var Gt=assertTypeOf("GlobalType");N.assertGlobalType=Gt;var Kt=assertTypeOf("LeadingComment");N.assertLeadingComment=Kt;var Qt=assertTypeOf("BlockComment");N.assertBlockComment=Qt;var Xt=assertTypeOf("Data");N.assertData=Xt;var Yt=assertTypeOf("Global");N.assertGlobal=Yt;var Zt=assertTypeOf("Table");N.assertTable=Zt;var er=assertTypeOf("Memory");N.assertMemory=er;var tr=assertTypeOf("FuncImportDescr");N.assertFuncImportDescr=tr;var rr=assertTypeOf("ModuleImport");N.assertModuleImport=rr;var nr=assertTypeOf("ModuleExportDescr");N.assertModuleExportDescr=nr;var ir=assertTypeOf("ModuleExport");N.assertModuleExport=ir;var ar=assertTypeOf("Limit");N.assertLimit=ar;var sr=assertTypeOf("Signature");N.assertSignature=sr;var cr=assertTypeOf("Program");N.assertProgram=cr;var lr=assertTypeOf("Identifier");N.assertIdentifier=lr;var ur=assertTypeOf("BlockInstruction");N.assertBlockInstruction=ur;var dr=assertTypeOf("CallInstruction");N.assertCallInstruction=dr;var pr=assertTypeOf("CallIndirectInstruction");N.assertCallIndirectInstruction=pr;var fr=assertTypeOf("ByteArray");N.assertByteArray=fr;var mr=assertTypeOf("Func");N.assertFunc=mr;var gr=assertTypeOf("InternalBrUnless");N.assertInternalBrUnless=gr;var hr=assertTypeOf("InternalGoto");N.assertInternalGoto=hr;var _r=assertTypeOf("InternalCallExtern");N.assertInternalCallExtern=_r;var yr=assertTypeOf("InternalEndAndReturn");N.assertInternalEndAndReturn=yr;var vr={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};N.unionTypesMap=vr;var br=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];N.nodeAndUnionTypes=br},75769:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.signatures=void 0;function sign(E,N){return[E,N]}var R="u32";var j="i32";var $="i64";var q="f32";var G="f64";var ie=function vector(E){var N=[E];N.vector=true;return N};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([R],[]),br_if:sign([R],[]),br_table:sign(ie(R),[]),return:sign([],[]),call:sign([R],[]),call_indirect:sign([R],[])};var ce={drop:sign([],[]),select:sign([],[])};var le={get_local:sign([R],[]),set_local:sign([R],[]),tee_local:sign([R],[]),get_global:sign([R],[]),set_global:sign([R],[])};var _e={"i32.load":sign([R,R],[j]),"i64.load":sign([R,R],[]),"f32.load":sign([R,R],[]),"f64.load":sign([R,R],[]),"i32.load8_s":sign([R,R],[j]),"i32.load8_u":sign([R,R],[j]),"i32.load16_s":sign([R,R],[j]),"i32.load16_u":sign([R,R],[j]),"i64.load8_s":sign([R,R],[$]),"i64.load8_u":sign([R,R],[$]),"i64.load16_s":sign([R,R],[$]),"i64.load16_u":sign([R,R],[$]),"i64.load32_s":sign([R,R],[$]),"i64.load32_u":sign([R,R],[$]),"i32.store":sign([R,R],[]),"i64.store":sign([R,R],[]),"f32.store":sign([R,R],[]),"f64.store":sign([R,R],[]),"i32.store8":sign([R,R],[]),"i32.store16":sign([R,R],[]),"i64.store8":sign([R,R],[]),"i64.store16":sign([R,R],[]),"i64.store32":sign([R,R],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var Ee={"i32.const":sign([j],[j]),"i64.const":sign([$],[$]),"f32.const":sign([q],[q]),"f64.const":sign([G],[G]),"i32.eqz":sign([j],[j]),"i32.eq":sign([j,j],[j]),"i32.ne":sign([j,j],[j]),"i32.lt_s":sign([j,j],[j]),"i32.lt_u":sign([j,j],[j]),"i32.gt_s":sign([j,j],[j]),"i32.gt_u":sign([j,j],[j]),"i32.le_s":sign([j,j],[j]),"i32.le_u":sign([j,j],[j]),"i32.ge_s":sign([j,j],[j]),"i32.ge_u":sign([j,j],[j]),"i64.eqz":sign([$],[$]),"i64.eq":sign([$,$],[j]),"i64.ne":sign([$,$],[j]),"i64.lt_s":sign([$,$],[j]),"i64.lt_u":sign([$,$],[j]),"i64.gt_s":sign([$,$],[j]),"i64.gt_u":sign([$,$],[j]),"i64.le_s":sign([$,$],[j]),"i64.le_u":sign([$,$],[j]),"i64.ge_s":sign([$,$],[j]),"i64.ge_u":sign([$,$],[j]),"f32.eq":sign([q,q],[j]),"f32.ne":sign([q,q],[j]),"f32.lt":sign([q,q],[j]),"f32.gt":sign([q,q],[j]),"f32.le":sign([q,q],[j]),"f32.ge":sign([q,q],[j]),"f64.eq":sign([G,G],[j]),"f64.ne":sign([G,G],[j]),"f64.lt":sign([G,G],[j]),"f64.gt":sign([G,G],[j]),"f64.le":sign([G,G],[j]),"f64.ge":sign([G,G],[j]),"i32.clz":sign([j],[j]),"i32.ctz":sign([j],[j]),"i32.popcnt":sign([j],[j]),"i32.add":sign([j,j],[j]),"i32.sub":sign([j,j],[j]),"i32.mul":sign([j,j],[j]),"i32.div_s":sign([j,j],[j]),"i32.div_u":sign([j,j],[j]),"i32.rem_s":sign([j,j],[j]),"i32.rem_u":sign([j,j],[j]),"i32.and":sign([j,j],[j]),"i32.or":sign([j,j],[j]),"i32.xor":sign([j,j],[j]),"i32.shl":sign([j,j],[j]),"i32.shr_s":sign([j,j],[j]),"i32.shr_u":sign([j,j],[j]),"i32.rotl":sign([j,j],[j]),"i32.rotr":sign([j,j],[j]),"i64.clz":sign([$],[$]),"i64.ctz":sign([$],[$]),"i64.popcnt":sign([$],[$]),"i64.add":sign([$,$],[$]),"i64.sub":sign([$,$],[$]),"i64.mul":sign([$,$],[$]),"i64.div_s":sign([$,$],[$]),"i64.div_u":sign([$,$],[$]),"i64.rem_s":sign([$,$],[$]),"i64.rem_u":sign([$,$],[$]),"i64.and":sign([$,$],[$]),"i64.or":sign([$,$],[$]),"i64.xor":sign([$,$],[$]),"i64.shl":sign([$,$],[$]),"i64.shr_s":sign([$,$],[$]),"i64.shr_u":sign([$,$],[$]),"i64.rotl":sign([$,$],[$]),"i64.rotr":sign([$,$],[$]),"f32.abs":sign([q],[q]),"f32.neg":sign([q],[q]),"f32.ceil":sign([q],[q]),"f32.floor":sign([q],[q]),"f32.trunc":sign([q],[q]),"f32.nearest":sign([q],[q]),"f32.sqrt":sign([q],[q]),"f32.add":sign([q,q],[q]),"f32.sub":sign([q,q],[q]),"f32.mul":sign([q,q],[q]),"f32.div":sign([q,q],[q]),"f32.min":sign([q,q],[q]),"f32.max":sign([q,q],[q]),"f32.copysign":sign([q,q],[q]),"f64.abs":sign([G],[G]),"f64.neg":sign([G],[G]),"f64.ceil":sign([G],[G]),"f64.floor":sign([G],[G]),"f64.trunc":sign([G],[G]),"f64.nearest":sign([G],[G]),"f64.sqrt":sign([G],[G]),"f64.add":sign([G,G],[G]),"f64.sub":sign([G,G],[G]),"f64.mul":sign([G,G],[G]),"f64.div":sign([G,G],[G]),"f64.min":sign([G,G],[G]),"f64.max":sign([G,G],[G]),"f64.copysign":sign([G,G],[G]),"i32.wrap/i64":sign([$],[j]),"i32.trunc_s/f32":sign([q],[j]),"i32.trunc_u/f32":sign([q],[j]),"i32.trunc_s/f64":sign([q],[j]),"i32.trunc_u/f64":sign([G],[j]),"i64.extend_s/i32":sign([j],[$]),"i64.extend_u/i32":sign([j],[$]),"i64.trunc_s/f32":sign([q],[$]),"i64.trunc_u/f32":sign([q],[$]),"i64.trunc_s/f64":sign([G],[$]),"i64.trunc_u/f64":sign([G],[$]),"f32.convert_s/i32":sign([j],[q]),"f32.convert_u/i32":sign([j],[q]),"f32.convert_s/i64":sign([$],[q]),"f32.convert_u/i64":sign([$],[q]),"f32.demote/f64":sign([G],[q]),"f64.convert_s/i32":sign([j],[G]),"f64.convert_u/i32":sign([j],[G]),"f64.convert_s/i64":sign([$],[G]),"f64.convert_u/i64":sign([$],[G]),"f64.promote/f32":sign([q],[G]),"i32.reinterpret/f32":sign([q],[j]),"i64.reinterpret/f64":sign([G],[$]),"f32.reinterpret/i32":sign([j],[q]),"f64.reinterpret/i64":sign([$],[G])};var Te=Object.assign({},ae,ce,le,_e,Ee);N.signatures=Te},5499:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.moduleContextFromModuleAST=moduleContextFromModuleAST;N.ModuleContext=void 0;var j=R(52696);function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(E,N){for(var R=0;R<N.length;R++){var j=N[R];j.enumerable=j.enumerable||false;j.configurable=true;if("value"in j)j.writable=true;Object.defineProperty(E,j.key,j)}}function _createClass(E,N,R){if(N)_defineProperties(E.prototype,N);if(R)_defineProperties(E,R);return E}function moduleContextFromModuleAST(E){var N=new $;if(!(E.type==="Module")){throw new Error('m.type === "Module"'+" error: "+(undefined||"unknown"))}E.fields.forEach((function(E){switch(E.type){case"Start":{N.setStart(E.index);break}case"TypeInstruction":{N.addType(E);break}case"Func":{N.addFunction(E);break}case"Global":{N.defineGlobal(E);break}case"ModuleImport":{switch(E.descr.type){case"GlobalType":{N.importGlobal(E.descr.valtype,E.descr.mutability);break}case"Memory":{N.addMemory(E.descr.limits.min,E.descr.limits.max);break}case"FuncImportDescr":{N.importFunction(E.descr);break}case"Table":{break}default:throw new Error("Unsupported ModuleImport of type "+JSON.stringify(E.descr.type))}break}case"Memory":{N.addMemory(E.limits.min,E.limits.max);break}}}));return N}var $=function(){function ModuleContext(){_classCallCheck(this,ModuleContext);this.funcs=[];this.funcsOffsetByIdentifier=[];this.types=[];this.globals=[];this.globalsOffsetByIdentifier=[];this.mems=[];this.locals=[];this.labels=[];this.return=[];this.debugName="unknown";this.start=null}_createClass(ModuleContext,[{key:"setStart",value:function setStart(E){this.start=E.value}},{key:"getStart",value:function getStart(){return this.start}},{key:"newContext",value:function newContext(E,N){this.locals=[];this.labels=[N];this.return=N;this.debugName=E}},{key:"addFunction",value:function addFunction(E){var N=E.signature||{},R=N.params,j=R===void 0?[]:R,$=N.results,q=$===void 0?[]:$;j=j.map((function(E){return E.valtype}));this.funcs.push({args:j,result:q});if(typeof E.name!=="undefined"){this.funcsOffsetByIdentifier[E.name.value]=this.funcs.length-1}}},{key:"importFunction",value:function importFunction(E){if((0,j.isSignature)(E.signature)){var N=E.signature,R=N.params,$=N.results;R=R.map((function(E){return E.valtype}));this.funcs.push({args:R,result:$})}else{if(!(0,j.isNumberLiteral)(E.signature)){throw new Error("isNumberLiteral(funcimport.signature)"+" error: "+(undefined||"unknown"))}var q=E.signature.value;if(!this.hasType(q)){throw new Error("this.hasType(typeId)"+" error: "+(undefined||"unknown"))}var G=this.getType(q);this.funcs.push({args:G.params.map((function(E){return E.valtype})),result:G.results})}if(typeof E.id!=="undefined"){this.funcsOffsetByIdentifier[E.id.value]=this.funcs.length-1}}},{key:"hasFunction",value:function hasFunction(E){return typeof this.getFunction(E)!=="undefined"}},{key:"getFunction",value:function getFunction(E){if(typeof E!=="number"){throw new Error("getFunction only supported for number index")}return this.funcs[E]}},{key:"getFunctionOffsetByIdentifier",value:function getFunctionOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.funcsOffsetByIdentifier[E]}},{key:"addLabel",value:function addLabel(E){this.labels.unshift(E)}},{key:"hasLabel",value:function hasLabel(E){return this.labels.length>E&&E>=0}},{key:"getLabel",value:function getLabel(E){return this.labels[E]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(E){return typeof this.getLocal(E)!=="undefined"}},{key:"getLocal",value:function getLocal(E){return this.locals[E]}},{key:"addLocal",value:function addLocal(E){this.locals.push(E)}},{key:"addType",value:function addType(E){if(!(E.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(E.functype)}},{key:"hasType",value:function hasType(E){return this.types[E]!==undefined}},{key:"getType",value:function getType(E){return this.types[E]}},{key:"hasGlobal",value:function hasGlobal(E){return this.globals.length>E&&E>=0}},{key:"getGlobal",value:function getGlobal(E){return this.globals[E].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[E]}},{key:"defineGlobal",value:function defineGlobal(E){var N=E.globalType.valtype;var R=E.globalType.mutability;this.globals.push({type:N,mutability:R});if(typeof E.name!=="undefined"){this.globalsOffsetByIdentifier[E.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(E,N){this.globals.push({type:E,mutability:N})}},{key:"isMutableGlobal",value:function isMutableGlobal(E){return this.globals[E].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(E){return this.globals[E].mutability==="const"}},{key:"hasMemory",value:function hasMemory(E){return this.mems.length>E&&E>=0}},{key:"addMemory",value:function addMemory(E,N){this.mems.push({min:E,max:N})}},{key:"getMemory",value:function getMemory(E){return this.mems[E]}}]);return ModuleContext}();N.ModuleContext=$},22056:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.traverse=traverse;var j=R(46166);var $=R(52696);function walk(E,N){var R=false;function innerWalk(E,N){if(R){return}var $=E.node;if($===undefined){console.warn("traversing with an empty context");return}if($._deleted===true){return}var q=(0,j.createPath)(E);N($.type,q);if(q.shouldStop){R=true;return}Object.keys($).forEach((function(E){var R=$[E];if(R===null||R===undefined){return}var j=Array.isArray(R)?R:[R];j.forEach((function(j){if(typeof j.type==="string"){var $={node:j,parentKey:E,parentPath:q,shouldStop:false,inList:Array.isArray(R)};innerWalk($,N)}}))}))}innerWalk(E,N)}var q=function noop(){};function traverse(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:q;var j=arguments.length>3&&arguments[3]!==undefined?arguments[3]:q;Object.keys(N).forEach((function(E){if(!$.nodeAndUnionTypes.includes(E)){throw new Error("Unexpected visitor ".concat(E))}}));var G={node:E,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(G,(function(E,q){if(typeof N[E]==="function"){R(E,q);N[E](q);j(E,q)}var G=$.unionTypesMap[E];if(!G){throw new Error("Unexpected node type ".concat(E))}G.forEach((function(E){if(typeof N[E]==="function"){R(E,q);N[E](q);j(E,q)}}))}))}},91764:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.isAnonymous=isAnonymous;N.getSectionMetadata=getSectionMetadata;N.getSectionMetadatas=getSectionMetadatas;N.sortSectionMetadata=sortSectionMetadata;N.orderedInsertNode=orderedInsertNode;N.assertHasLoc=assertHasLoc;N.getEndOfSection=getEndOfSection;N.shiftLoc=shiftLoc;N.shiftSection=shiftSection;N.signatureForOpcode=signatureForOpcode;N.getUniqueNameGenerator=getUniqueNameGenerator;N.getStartByteOffset=getStartByteOffset;N.getEndByteOffset=getEndByteOffset;N.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;N.getEndBlockByteOffset=getEndBlockByteOffset;N.getStartBlockByteOffset=getStartBlockByteOffset;var j=R(75769);var $=R(22056);var q=_interopRequireWildcard(R(3930));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"]!=null)G["return"]()}finally{if($)throw q}}return R}function _slicedToArray(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isAnonymous(E){return E.raw===""}function getSectionMetadata(E,N){var R;(0,$.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(N){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var j=E.node;if(j.section===N){R=j}}))});return R}function getSectionMetadatas(E,N){var R=[];(0,$.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(N){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var j=E.node;if(j.section===N){R.push(j)}}))});return R}function sortSectionMetadata(E){if(E.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}E.metadata.sections.sort((function(E,N){var R=q.default.sections[E.section];var j=q.default.sections[N.section];if(typeof R!=="number"||typeof j!=="number"){throw new Error("Section id not found")}return R-j}))}function orderedInsertNode(E,N){assertHasLoc(N);var R=false;if(N.type==="ModuleExport"){E.fields.push(N);return}E.fields=E.fields.reduce((function(E,j){var $=Infinity;if(j.loc!=null){$=j.loc.end.column}if(R===false&&N.loc.start.column<$){R=true;E.push(N)}E.push(j);return E}),[]);if(R===false){E.fields.push(N)}}function assertHasLoc(E){if(E.loc==null||E.loc.start==null||E.loc.end==null){throw new Error("Internal failure: node (".concat(JSON.stringify(E.type),") has no location information"))}}function getEndOfSection(E){assertHasLoc(E.size);return E.startOffset+E.size.value+(E.size.loc.end.column-E.size.loc.start.column)}function shiftLoc(E,N){E.loc.start.column+=N;E.loc.end.column+=N}function shiftSection(E,N,R){if(N.type!=="SectionMetadata"){throw new Error("Can not shift node "+JSON.stringify(N.type))}N.startOffset+=R;if(_typeof(N.size.loc)==="object"){shiftLoc(N.size,R)}if(_typeof(N.vectorOfSize)==="object"&&_typeof(N.vectorOfSize.loc)==="object"){shiftLoc(N.vectorOfSize,R)}var j=N.section;(0,$.traverse)(E,{Node:function Node(E){var N=E.node;var $=(0,q.getSectionForNode)(N);if($===j&&_typeof(N.loc)==="object"){shiftLoc(N,R)}}})}function signatureForOpcode(E,N){var R=N;if(E!==undefined&&E!==""){R=E+"."+N}var $=j.signatures[R];if($==undefined){return[E,E]}return $[0]}function getUniqueNameGenerator(){var E={};return function(){var N=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(N in E)){E[N]=0}else{E[N]=E[N]+1}return N+"_"+E[N]}}function getStartByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(E.id))}return E.loc.start.column}function getEndByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+E.type)}return E.loc.end.column}function getFunctionBeginingByteOffset(E){if(!(E.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var N=_slicedToArray(E.body,1),R=N[0];return getStartByteOffset(R)}function getEndBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var N;if(E.instr){N=E.instr[E.instr.length-1]}if(E.body){N=E.body[E.body.length-1]}if(!(_typeof(N)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(N)}function getStartBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var N;if(E.instr){var R=_slicedToArray(E.instr,1);N=R[0]}if(E.body){var j=_slicedToArray(E.body,1);N=j[0]}if(!(_typeof(N)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(N)}},18083:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=parse;function parse(E){E=E.toUpperCase();var N=E.indexOf("P");var R,j;if(N!==-1){R=E.substring(0,N);j=parseInt(E.substring(N+1))}else{R=E;j=0}var $=R.indexOf(".");if($!==-1){var q=parseInt(R.substring(0,$),16);var G=Math.sign(q);q=G*q;var ie=R.length-$-1;var ae=parseInt(R.substring($+1),16);var ce=ie>0?ae/Math.pow(16,ie):0;if(G===0){if(ce===0){R=G}else{if(Object.is(G,-0)){R=-ce}else{R=ce}}}else{R=G*(q+ce)}}else{R=parseInt(R,16)}return R*(N!==-1?Math.pow(2,j):1)}},35866:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.LinkError=N.CompileError=N.RuntimeError=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,N){if(N&&(_typeof(N)==="object"||typeof N==="function")){return N}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,N){if(typeof N!=="function"&&N!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(N)Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N}var R=function(E){_inherits(RuntimeError,E);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);N.RuntimeError=R;var j=function(E){_inherits(CompileError,E);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);N.CompileError=j;var $=function(E){_inherits(LinkError,E);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);N.LinkError=$},3104:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.overrideBytesInBuffer=overrideBytesInBuffer;N.makeBuffer=makeBuffer;N.fromHexdump=fromHexdump;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N<E.length;N++){R[N]=E[N]}return R}else{return Array.from(E)}}function concatUint8Arrays(){for(var E=arguments.length,N=new Array(E),R=0;R<E;R++){N[R]=arguments[R]}var j=N.reduce((function(E,N){return E+N.length}),0);var $=new Uint8Array(j);var q=0;for(var G=0;G<N.length;G++){var ie=N[G];if(ie instanceof Uint8Array===false){throw new Error("arr must be of type Uint8Array")}$.set(ie,q);q+=ie.length}return $}function overrideBytesInBuffer(E,N,R,j){var $=E.slice(0,N);var q=E.slice(R,E.length);if(j.length===0){return concatUint8Arrays($,q)}var G=Uint8Array.from(j);return concatUint8Arrays($,G,q)}function makeBuffer(){for(var E=arguments.length,N=new Array(E),R=0;R<E;R++){N[R]=arguments[R]}var j=[].concat.apply([],N);return new Uint8Array(j).buffer}function fromHexdump(E){var N=E.split("\n");N=N.map((function(E){return E.trim()}));var R=N.reduce((function(E,N){var R=N.split(" ");R.shift();R=R.filter((function(E){return E!==""}));var j=R.map((function(E){return parseInt(E,16)}));E.push.apply(E,_toConsumableArray(j));return E}),[]);return Buffer.from(R)}},80853:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.parse32F=parse32F;N.parse64F=parse64F;N.parse32I=parse32I;N.parseU32=parseU32;N.parse64I=parse64I;N.isInfLiteral=isInfLiteral;N.isNanLiteral=isNanLiteral;var j=_interopRequireDefault(R(11174));var $=_interopRequireDefault(R(18083));var q=R(35866);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function parse32F(E){if(isHexLiteral(E)){return(0,$.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):4194304)}return parseFloat(E)}function parse64F(E){if(isHexLiteral(E)){return(0,$.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(E)){return(0,$.default)(E)}return parseFloat(E)}function parse32I(E){var N=0;if(isHexLiteral(E)){N=~~parseInt(E,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{N=parseInt(E,10)}return N}function parseU32(E){var N=parse32I(E);if(N<0){throw new q.CompileError("Illegal value for u32: "+E)}return N}function parse64I(E){var N;if(isHexLiteral(E)){N=j.default.fromString(E,false,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{N=j.default.fromString(E)}return{high:N.high,low:N.low}}var G=/^\+?-?nan/;var ie=/^\+?-?inf/;function isInfLiteral(E){return ie.test(E.toLowerCase())}function isNanLiteral(E){return G.test(E.toLowerCase())}function isDecimalExponentLiteral(E){return!isHexLiteral(E)&&E.toUpperCase().includes("E")}function isHexLiteral(E){return E.substring(0,2).toUpperCase()==="0X"||E.substring(0,3).toUpperCase()==="-0X"}},3930:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"getSectionForNode",{enumerable:true,get:function get(){return j.getSectionForNode}});N["default"]=void 0;var j=R(55474);var $="illegal";var q=[0,97,115,109];var G=[1,0,0,0];function invertMap(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(E){return E};var R={};var j=Object.keys(E);for(var $=0,q=j.length;$<q;$++){R[N(E[j[$]])]=j[$]}return R}function createSymbolObject(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;return{name:E,object:N,numberOfArgs:R}}function createSymbol(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:E,numberOfArgs:N}}var ie={func:96,result:64};var ae={0:"Func",1:"Table",2:"Mem",3:"Global"};var ce=invertMap(ae);var le={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var _e=invertMap(le);var Ee={112:"anyfunc"};var Te=Object.assign({},le,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var we={0:"const",1:"var"};var Ie=invertMap(we);var Ne={0:"func",1:"table",2:"mem",3:"global"};var Me={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Le={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:$,7:$,8:$,9:$,10:$,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:$,19:$,20:$,21:$,22:$,23:$,24:$,25:$,26:createSymbol("drop"),27:createSymbol("select"),28:$,29:$,30:$,31:$,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:$,38:$,39:$,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Be=invertMap(Le,(function(E){if(typeof E.object==="string"){return"".concat(E.object,".").concat(E.name)}return E.name}));var je={symbolsByByte:Le,sections:Me,magicModuleHeader:q,moduleVersion:G,types:ie,valtypes:le,exportTypes:ae,blockTypes:Te,tableTypes:Ee,globalTypes:we,importTypes:Ne,valtypesByString:_e,globalTypesByString:Ie,exportTypesByName:ce,symbolsByName:Be};N["default"]=je},55474:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getSectionForNode=getSectionForNode;function getSectionForNode(E){switch(E.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.createEmptySection=createEmptySection;var j=R(44166);var $=R(3104);var q=_interopRequireDefault(R(3930));var G=_interopRequireWildcard(R(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function findLastSection(E,N){var R=q.default.sections[N];var j=E.body[0].metadata.sections;var $;var G=0;for(var ie=0,ae=j.length;ie<ae;ie++){var ce=j[ie];if(ce.section==="custom"){continue}var le=q.default.sections[ce.section];if(R>G&&R<le){return $}G=le;$=ce}return $}function createEmptySection(E,N,R){var q=findLastSection(E,R);var ie,ae;if(q==null||q.section==="custom"){ie=8;ae=ie}else{ie=q.startOffset+q.size.value+1;ae=ie}ie+=1;var ce={line:-1,column:ie};var le={line:-1,column:ie+1};var _e=G.withLoc(G.numberLiteralFromRaw(1),le,ce);var Ee={line:-1,column:le.column};var Te={line:-1,column:le.column+1};var we=G.withLoc(G.numberLiteralFromRaw(0),Te,Ee);var Ie=G.sectionMetadata(R,ie,_e,we);var Ne=(0,j.encodeNode)(Ie);N=(0,$.overrideBytesInBuffer)(N,ie-1,ae,Ne);if(_typeof(E.body[0].metadata)==="object"){E.body[0].metadata.sections.push(Ie);G.sortSectionMetadata(E.body[0])}var Me=+Ne.length;var Le=false;G.traverse(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){Le=true;return}if(Le===true){G.shiftSection(E,N.node,Me)}}});return{uint8Buffer:N,sectionMetadata:Ie}}},77246:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"resizeSectionByteSize",{enumerable:true,get:function get(){return j.resizeSectionByteSize}});Object.defineProperty(N,"resizeSectionVecSize",{enumerable:true,get:function get(){return j.resizeSectionVecSize}});Object.defineProperty(N,"createEmptySection",{enumerable:true,get:function get(){return $.createEmptySection}});Object.defineProperty(N,"removeSections",{enumerable:true,get:function get(){return q.removeSections}});var j=R(35369);var $=R(97961);var q=R(96744)},96744:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.removeSections=removeSections;var j=R(98093);var $=R(3104);function removeSections(E,N,R){var q=(0,j.getSectionMetadatas)(E,R);if(q.length===0){throw new Error("Section metadata not found")}return q.reverse().reduce((function(N,q){var G=q.startOffset-1;var ie=R==="start"?q.size.loc.end.column+1:q.startOffset+q.size.value+1;var ae=-(ie-G);var ce=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){ce=true;return N.remove()}if(ce===true){(0,j.shiftSection)(E,N.node,ae)}}});var le=[];return(0,$.overrideBytesInBuffer)(N,G,ie,le)}),N)}},35369:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.resizeSectionByteSize=resizeSectionByteSize;N.resizeSectionVecSize=resizeSectionVecSize;var j=R(44166);var $=R(98093);var q=R(3104);function resizeSectionByteSize(E,N,R,G){var ie=(0,$.getSectionMetadata)(E,R);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.size.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}var ae=ie.size.loc.start.column;var ce=ie.size.loc.end.column;var le=ie.size.value+G;var _e=(0,j.encodeU32)(le);ie.size.value=le;var Ee=ce-ae;var Te=_e.length;if(Te!==Ee){var we=Te-Ee;ie.size.loc.end.column=ae+Te;G+=we;ie.vectorOfSize.loc.start.column+=we;ie.vectorOfSize.loc.end.column+=we}var Ie=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){Ie=true;return}if(Ie===true){(0,$.shiftSection)(E,N.node,G)}}});return(0,q.overrideBytesInBuffer)(N,ae,ce,_e)}function resizeSectionVecSize(E,N,R,G){var ie=(0,$.getSectionMetadata)(E,R);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}if(ie.vectorOfSize.value===-1){return N}var ae=ie.vectorOfSize.loc.start.column;var ce=ie.vectorOfSize.loc.end.column;var le=ie.vectorOfSize.value+G;var _e=(0,j.encodeU32)(le);ie.vectorOfSize.value=le;ie.vectorOfSize.loc.end.column=ae+_e.length;return(0,q.overrideBytesInBuffer)(N,ae,ce,_e)}},48:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeF32=encodeF32;N.encodeF64=encodeF64;N.decodeF32=decodeF32;N.decodeF64=decodeF64;N.DOUBLE_PRECISION_MANTISSA=N.SINGLE_PRECISION_MANTISSA=N.NUMBER_OF_BYTE_F64=N.NUMBER_OF_BYTE_F32=void 0;var j=R(3158);var $=4;N.NUMBER_OF_BYTE_F32=$;var q=8;N.NUMBER_OF_BYTE_F64=q;var G=23;N.SINGLE_PRECISION_MANTISSA=G;var ie=52;N.DOUBLE_PRECISION_MANTISSA=ie;function encodeF32(E){var N=[];(0,j.write)(N,E,0,true,G,$);return N}function encodeF64(E){var N=[];(0,j.write)(N,E,0,true,ie,q);return N}function decodeF32(E){var N=Buffer.from(E);return(0,j.read)(N,0,true,G,$)}function decodeF64(E){var N=Buffer.from(E);return(0,j.read)(N,0,true,ie,q)}},90683:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.extract=extract;N.inject=inject;N.getSign=getSign;N.highOrder=highOrder;function extract(E,N,R,j){if(R<0||R>32){throw new Error("Bad value for bitLength.")}if(j===undefined){j=0}else if(j!==0&&j!==1){throw new Error("Bad value for defaultBit.")}var $=j*255;var q=0;var G=N+R;var ie=Math.floor(N/8);var ae=N%8;var ce=Math.floor(G/8);var le=G%8;if(le!==0){q=get(ce)&(1<<le)-1}while(ce>ie){ce--;q=q<<8|get(ce)}q>>>=ae;return q;function get(N){var R=E[N];return R===undefined?$:R}}function inject(E,N,R,j){if(R<0||R>32){throw new Error("Bad value for bitLength.")}var $=Math.floor((N+R-1)/8);if(N<0||$>=E.length){throw new Error("Index out of range.")}var q=Math.floor(N/8);var G=N%8;while(R>0){if(j&1){E[q]|=1<<G}else{E[q]&=~(1<<G)}j>>=1;R--;G=(G+1)%8;if(G===0){q++}}}function getSign(E){return E[E.length-1]>>>7}function highOrder(E,N){var R=N.length;var j=(E^1)*255;while(R>0&&N[R-1]===j){R--}if(R===0){return-1}var $=N[R-1];var q=R*8-1;for(var G=7;G>0;G--){if(($>>G&1)===E){break}q--}return q}},1779:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.alloc=alloc;N.free=free;N.resize=resize;N.readInt=readInt;N.readUInt=readUInt;N.writeInt64=writeInt64;N.writeUInt64=writeUInt64;var R=[];var j=20;var $=-0x8000000000000000;var q=0x7ffffffffffffc00;var G=0xfffffffffffff800;var ie=4294967296;var ae=0x10000000000000000;function lowestBit(E){return E&-E}function isLossyToAdd(E,N){if(N===0){return false}var R=lowestBit(N);var j=E+R;if(j===E){return true}if(j-R!==E){return true}return false}function alloc(E){var N=R[E];if(N){R[E]=undefined}else{N=new Buffer(E)}N.fill(0);return N}function free(E){var N=E.length;if(N<j){R[N]=E}}function resize(E,N){if(N===E.length){return E}var R=alloc(N);E.copy(R);free(E);return R}function readInt(E){var N=E.length;var R=E[N-1]<128;var j=R?0:-1;var $=false;if(N<7){for(var q=N-1;q>=0;q--){j=j*256+E[q]}}else{for(var G=N-1;G>=0;G--){var ie=E[G];j*=256;if(isLossyToAdd(j,ie)){$=true}j+=ie}}return{value:j,lossy:$}}function readUInt(E){var N=E.length;var R=0;var j=false;if(N<7){for(var $=N-1;$>=0;$--){R=R*256+E[$]}}else{for(var q=N-1;q>=0;q--){var G=E[q];R*=256;if(isLossyToAdd(R,G)){j=true}R+=G}}return{value:R,lossy:j}}function writeInt64(E,N){if(E<$||E>q){throw new Error("Value out of range.")}if(E<0){E+=ae}writeUInt64(E,N)}function writeUInt64(E,N){if(E<0||E>G){throw new Error("Value out of range.")}var R=E%ie;var j=Math.floor(E/ie);N.writeUInt32LE(R,0);N.writeUInt32LE(j,4)}},39784:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decodeInt64=decodeInt64;N.decodeUInt64=decodeUInt64;N.decodeInt32=decodeInt32;N.decodeUInt32=decodeUInt32;N.encodeU32=encodeU32;N.encodeI32=encodeI32;N.encodeI64=encodeI64;N.MAX_NUMBER_OF_BYTE_U64=N.MAX_NUMBER_OF_BYTE_U32=void 0;var j=_interopRequireDefault(R(83082));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var $=5;N.MAX_NUMBER_OF_BYTE_U32=$;var q=10;N.MAX_NUMBER_OF_BYTE_U64=q;function decodeInt64(E,N){return j.default.decodeInt64(E,N)}function decodeUInt64(E,N){return j.default.decodeUInt64(E,N)}function decodeInt32(E,N){return j.default.decodeInt32(E,N)}function decodeUInt32(E,N){return j.default.decodeUInt32(E,N)}function encodeU32(E){return j.default.encodeUInt32(E)}function encodeI32(E){return j.default.encodeInt32(E)}function encodeI64(E){return j.default.encodeInt64(E)}},83082:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(11174));var $=_interopRequireWildcard(R(90683));var q=_interopRequireWildcard(R(1779));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var G=-2147483648;var ie=2147483647;var ae=4294967295;function signedBitCount(E){return $.highOrder($.getSign(E)^1,E)+2}function unsignedBitCount(E){var N=$.highOrder(1,E)+1;return N?N:1}function encodeBufferCommon(E,N){var R;var j;if(N){R=$.getSign(E);j=signedBitCount(E)}else{R=0;j=unsignedBitCount(E)}var G=Math.ceil(j/7);var ie=q.alloc(G);for(var ae=0;ae<G;ae++){var ce=$.extract(E,ae*7,7,R);ie[ae]=ce|128}ie[G-1]&=127;return ie}function encodedLength(E,N){var R=0;while(E[N+R]>=128){R++}R++;if(N+R>E.length){}return R}function decodeBufferCommon(E,N,R){N=N===undefined?0:N;var j=encodedLength(E,N);var G=j*7;var ie=Math.ceil(G/8);var ae=q.alloc(ie);var ce=0;while(j>0){$.inject(ae,ce,7,E[N]);ce+=7;N++;j--}var le;var _e;if(R){var Ee=ae[ie-1];var Te=ce%8;if(Te!==0){var we=32-Te;Ee=ae[ie-1]=Ee<<we>>we&255}le=Ee>>7;_e=le*255}else{le=0;_e=0}while(ie>1&&ae[ie-1]===_e&&(!R||ae[ie-2]>>7===le)){ie--}ae=q.resize(ae,ie);return{value:ae,nextIndex:N}}function encodeIntBuffer(E){return encodeBufferCommon(E,true)}function decodeIntBuffer(E,N){return decodeBufferCommon(E,N,true)}function encodeInt32(E){var N=q.alloc(4);N.writeInt32LE(E,0);var R=encodeIntBuffer(N);q.free(N);return R}function decodeInt32(E,N){var R=decodeIntBuffer(E,N);var j=q.readInt(R.value);var $=j.value;q.free(R.value);if($<G||$>ie){throw new Error("integer too large")}return{value:$,nextIndex:R.nextIndex}}function encodeInt64(E){var N=q.alloc(8);q.writeInt64(E,N);var R=encodeIntBuffer(N);q.free(N);return R}function decodeInt64(E,N){var R=decodeIntBuffer(E,N);var $=j.default.fromBytesLE(R.value,false);q.free(R.value);return{value:$,nextIndex:R.nextIndex,lossy:false}}function encodeUIntBuffer(E){return encodeBufferCommon(E,false)}function decodeUIntBuffer(E,N){return decodeBufferCommon(E,N,false)}function encodeUInt32(E){var N=q.alloc(4);N.writeUInt32LE(E,0);var R=encodeUIntBuffer(N);q.free(N);return R}function decodeUInt32(E,N){var R=decodeUIntBuffer(E,N);var j=q.readUInt(R.value);var $=j.value;q.free(R.value);if($>ae){throw new Error("integer too large")}return{value:$,nextIndex:R.nextIndex}}function encodeUInt64(E){var N=q.alloc(8);q.writeUInt64(E,N);var R=encodeUIntBuffer(N);q.free(N);return R}function decodeUInt64(E,N){var R=decodeUIntBuffer(E,N);var $=j.default.fromBytesLE(R.value,true);q.free(R.value);return{value:$,nextIndex:R.nextIndex,lossy:false}}var ce={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};N["default"]=ce},85589:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N<E.length;N++){R[N]=E[N]}return R}else{return Array.from(E)}}function _toArray(E){return Array.isArray(E)?E:Array.from(E)}function con(E){if((E&192)===128){return E&63}else{throw new Error("invalid UTF-8 encoding")}}function code(E,N){if(N<E||55296<=N&&N<57344||N>=65536){throw new Error("invalid UTF-8 encoding")}else{return N}}function decode(E){return _decode(E).map((function(E){return String.fromCharCode(E)})).join("")}function _decode(E){if(E.length===0){return[]}{var N=_toArray(E),R=N[0],j=N.slice(1);if(R<128){return[code(0,R)].concat(_toConsumableArray(_decode(j)))}if(R<192){throw new Error("invalid UTF-8 encoding")}}{var $=_toArray(E),q=$[0],G=$[1],ie=$.slice(2);if(q<224){return[code(128,((q&31)<<6)+con(G))].concat(_toConsumableArray(_decode(ie)))}}{var ae=_toArray(E),ce=ae[0],le=ae[1],_e=ae[2],Ee=ae.slice(3);if(ce<240){return[code(2048,((ce&15)<<12)+(con(le)<<6)+con(_e))].concat(_toConsumableArray(_decode(Ee)))}}{var Te=_toArray(E),we=Te[0],Ie=Te[1],Ne=Te[2],Me=Te[3],Le=Te.slice(4);if(we<248){return[code(65536,(((we&7)<<18)+con(Ie)<<12)+(con(Ne)<<6)+con(Me))].concat(_toConsumableArray(_decode(Le)))}}throw new Error("invalid UTF-8 encoding")}},56264:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encode=encode;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N<E.length;N++){R[N]=E[N]}return R}else{return Array.from(E)}}function _toArray(E){return Array.isArray(E)?E:Array.from(E)}function con(E){return 128|E&63}function encode(E){var N=E.split("").map((function(E){return E.charCodeAt(0)}));return _encode(N)}function _encode(E){if(E.length===0){return[]}var N=_toArray(E),R=N[0],j=N.slice(1);if(R<0){throw new Error("utf8")}if(R<128){return[R].concat(_toConsumableArray(_encode(j)))}if(R<2048){return[192|R>>>6,con(R)].concat(_toConsumableArray(_encode(j)))}if(R<65536){return[224|R>>>12,con(R>>>6),con(R)].concat(_toConsumableArray(_encode(j)))}if(R<1114112){return[240|R>>>18,con(R>>>12),con(R>>>6),con(R)].concat(_toConsumableArray(_encode(j)))}throw new Error("utf8")}},38040:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"decode",{enumerable:true,get:function get(){return j.decode}});Object.defineProperty(N,"encode",{enumerable:true,get:function get(){return $.encode}});var j=R(85589);var $=R(56264)},17467:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.applyOperations=applyOperations;var j=R(44166);var $=R(77445);var q=R(98093);var G=R(77246);var ie=R(3104);var ae=R(3930);function _sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"]!=null)G["return"]()}finally{if($)throw q}}return R}function _slicedToArray(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(E,N){(0,q.assertHasLoc)(E);E.loc.start.column+=N;E.loc.end.column+=N}function applyUpdate(E,N,R){var G=_slicedToArray(R,2),ce=G[0],le=G[1];var _e=0;(0,q.assertHasLoc)(ce);var Ee=(0,ae.getSectionForNode)(le);var Te=(0,j.encodeNode)(le);N=(0,ie.overrideBytesInBuffer)(N,ce.loc.start.column,ce.loc.end.column,Te);if(Ee==="code"){(0,q.traverse)(E,{Func:function Func(E){var R=E.node;var G=R.body.find((function(E){return E===le}))!==undefined;if(G===true){(0,q.assertHasLoc)(R);var ae=(0,j.encodeNode)(ce).length;var _e=Te.length-ae;if(_e!==0){var Ee=R.metadata.bodySize+_e;var we=(0,$.encodeU32)(Ee);var Ie=R.loc.start.column;var Ne=Ie+1;N=(0,ie.overrideBytesInBuffer)(N,Ie,Ne,we)}}}})}var we=Te.length-(ce.loc.end.column-ce.loc.start.column);le.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};le.loc.start.column=ce.loc.start.column;le.loc.end.column=ce.loc.start.column+Te.length;return{uint8Buffer:N,deltaBytes:we,deltaElements:_e}}function applyDelete(E,N,R){var j=-1;(0,q.assertHasLoc)(R);var $=(0,ae.getSectionForNode)(R);if($==="start"){var ce=(0,q.getSectionMetadata)(E,"start");N=(0,G.removeSections)(E,N,"start");var le=-(ce.size.value+1);return{uint8Buffer:N,deltaBytes:le,deltaElements:j}}var _e=[];N=(0,ie.overrideBytesInBuffer)(N,R.loc.start.column,R.loc.end.column,_e);var Ee=-(R.loc.end.column-R.loc.start.column);return{uint8Buffer:N,deltaBytes:Ee,deltaElements:j}}function applyAdd(E,N,R){var $=+1;var ce=(0,ae.getSectionForNode)(R);var le=(0,q.getSectionMetadata)(E,ce);if(typeof le==="undefined"){var _e=(0,G.createEmptySection)(E,N,ce);N=_e.uint8Buffer;le=_e.sectionMetadata}if((0,q.isFunc)(R)){var Ee=R.body;if(Ee.length===0||Ee[Ee.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,q.isGlobal)(R)){var Ee=R.init;if(Ee.length===0||Ee[Ee.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Te=(0,j.encodeNode)(R);var we=(0,q.getEndOfSection)(le);var Ie=we;var Ne=Te.length;N=(0,ie.overrideBytesInBuffer)(N,we,Ie,Te);R.loc={start:{line:-1,column:we},end:{line:-1,column:we+Ne}};if(R.type==="Func"){var Me=Te[0];R.metadata={bodySize:Me}}if(R.type!=="IndexInFuncSection"){(0,q.orderedInsertNode)(E.body[0],R)}return{uint8Buffer:N,deltaBytes:Ne,deltaElements:$}}function applyOperations(E,N,R){R.forEach((function(j){var $;var q;switch(j.kind){case"update":$=applyUpdate(E,N,[j.oldNode,j.node]);q=(0,ae.getSectionForNode)(j.node);break;case"delete":$=applyDelete(E,N,j.node);q=(0,ae.getSectionForNode)(j.node);break;case"add":$=applyAdd(E,N,j.node);q=(0,ae.getSectionForNode)(j.node);break;default:throw new Error("Unknown operation")}if($.deltaElements!==0&&q!=="start"){var ie=$.uint8Buffer.length;$.uint8Buffer=(0,G.resizeSectionVecSize)(E,$.uint8Buffer,q,$.deltaElements);$.deltaBytes+=$.uint8Buffer.length-ie}if($.deltaBytes!==0&&q!=="start"){var ce=$.uint8Buffer.length;$.uint8Buffer=(0,G.resizeSectionByteSize)(E,$.uint8Buffer,q,$.deltaBytes);$.deltaBytes+=$.uint8Buffer.length-ce}if($.deltaBytes!==0){R.forEach((function(E){switch(E.kind){case"update":shiftLocNodeByDelta(E.oldNode,$.deltaBytes);break;case"delete":shiftLocNodeByDelta(E.node,$.deltaBytes);break}}))}N=$.uint8Buffer}));return N}},226:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.edit=edit;N.editWithAST=editWithAST;N.add=add;N.addWithAST=addWithAST;var j=R(73432);var $=R(98093);var q=R(70797);var G=R(53620);var ie=_interopRequireWildcard(R(3930));var ae=R(17467);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function hashNode(E){return JSON.stringify(E)}function preprocess(E){var N=(0,G.shrinkPaddedLEB128)(new Uint8Array(E));return N.buffer}function sortBySectionOrder(E){var N=new Map;var R=true;var j=false;var $=undefined;try{for(var q=E[Symbol.iterator](),G;!(R=(G=q.next()).done);R=true){var ae=G.value;N.set(ae,N.size)}}catch(E){j=true;$=E}finally{try{if(!R&&q.return!=null){q.return()}}finally{if(j){throw $}}}E.sort((function(E,R){var j=(0,ie.getSectionForNode)(E);var $=(0,ie.getSectionForNode)(R);var q=ie.default.sections[j];var G=ie.default.sections[$];if(typeof q!=="number"||typeof G!=="number"){throw new Error("Section id not found")}if(q===G){return N.get(E)-N.get(R)}return q-G}))}function edit(E,N){E=preprocess(E);var R=(0,j.decode)(E);return editWithAST(R,E,N)}function editWithAST(E,N,R){var j=[];var G=new Uint8Array(N);var ie;function before(E,N){ie=(0,q.cloneNode)(N.node)}function after(E,N){if(N.node._deleted===true){j.push({kind:"delete",node:N.node})}else if(hashNode(ie)!==hashNode(N.node)){j.push({kind:"update",oldNode:ie,node:N.node})}}(0,$.traverse)(E,R,before,after);G=(0,ae.applyOperations)(E,G,j);return G.buffer}function add(E,N){E=preprocess(E);var R=(0,j.decode)(E);return addWithAST(R,E,N)}function addWithAST(E,N,R){sortBySectionOrder(R);var j=new Uint8Array(N);var $=R.map((function(E){return{kind:"add",node:E}}));j=(0,ae.applyOperations)(E,j,$);return j.buffer}},77445:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeVersion=encodeVersion;N.encodeHeader=encodeHeader;N.encodeU32=encodeU32;N.encodeI32=encodeI32;N.encodeI64=encodeI64;N.encodeVec=encodeVec;N.encodeValtype=encodeValtype;N.encodeMutability=encodeMutability;N.encodeUTF8Vec=encodeUTF8Vec;N.encodeLimits=encodeLimits;N.encodeModuleImport=encodeModuleImport;N.encodeSectionMetadata=encodeSectionMetadata;N.encodeCallInstruction=encodeCallInstruction;N.encodeCallIndirectInstruction=encodeCallIndirectInstruction;N.encodeModuleExport=encodeModuleExport;N.encodeTypeInstruction=encodeTypeInstruction;N.encodeInstr=encodeInstr;N.encodeStringLiteral=encodeStringLiteral;N.encodeGlobal=encodeGlobal;N.encodeFuncBody=encodeFuncBody;N.encodeIndexInFuncSection=encodeIndexInFuncSection;N.encodeElem=encodeElem;var j=_interopRequireWildcard(R(39784));var $=_interopRequireWildcard(R(48));var q=_interopRequireWildcard(R(38040));var G=_interopRequireDefault(R(3930));var ie=R(44166);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N<E.length;N++){R[N]=E[N]}return R}else{return Array.from(E)}}function assertNotIdentifierNode(E){if(E.type==="Identifier"){throw new Error("Unsupported node Identifier")}}function encodeVersion(E){var N=G.default.moduleVersion;N[0]=E;return N}function encodeHeader(){return G.default.magicModuleHeader}function encodeU32(E){var N=new Uint8Array(j.encodeU32(E));var R=_toConsumableArray(N);return R}function encodeI32(E){var N=new Uint8Array(j.encodeI32(E));var R=_toConsumableArray(N);return R}function encodeI64(E){var N=new Uint8Array(j.encodeI64(E));var R=_toConsumableArray(N);return R}function encodeVec(E){var N=encodeU32(E.length);return _toConsumableArray(N).concat(_toConsumableArray(E))}function encodeValtype(E){var N=G.default.valtypesByString[E];if(typeof N==="undefined"){throw new Error("Unknown valtype: "+E)}return parseInt(N,10)}function encodeMutability(E){var N=G.default.globalTypesByString[E];if(typeof N==="undefined"){throw new Error("Unknown mutability: "+E)}return parseInt(N,10)}function encodeUTF8Vec(E){return encodeVec(q.encode(E))}function encodeLimits(E){var N=[];if(typeof E.max==="number"){N.push(1);N.push.apply(N,_toConsumableArray(encodeU32(E.min)));N.push.apply(N,_toConsumableArray(encodeU32(E.max)))}else{N.push(0);N.push.apply(N,_toConsumableArray(encodeU32(E.min)))}return N}function encodeModuleImport(E){var N=[];N.push.apply(N,_toConsumableArray(encodeUTF8Vec(E.module)));N.push.apply(N,_toConsumableArray(encodeUTF8Vec(E.name)));switch(E.descr.type){case"GlobalType":{N.push(3);N.push(encodeValtype(E.descr.valtype));N.push(encodeMutability(E.descr.mutability));break}case"Memory":{N.push(2);N.push.apply(N,_toConsumableArray(encodeLimits(E.descr.limits)));break}case"Table":{N.push(1);N.push(112);N.push.apply(N,_toConsumableArray(encodeLimits(E.descr.limits)));break}case"FuncImportDescr":{N.push(0);assertNotIdentifierNode(E.descr.id);N.push.apply(N,_toConsumableArray(encodeU32(E.descr.id.value)));break}default:throw new Error("Unsupport operation: encode module import of type: "+E.descr.type)}return N}function encodeSectionMetadata(E){var N=[];var R=G.default.sections[E.section];if(typeof R==="undefined"){throw new Error("Unknown section: "+E.section)}if(E.section==="start"){throw new Error("Unsupported section encoding of type start")}N.push(R);N.push.apply(N,_toConsumableArray(encodeU32(E.size.value)));N.push.apply(N,_toConsumableArray(encodeU32(E.vectorOfSize.value)));return N}function encodeCallInstruction(E){var N=[];assertNotIdentifierNode(E.index);N.push(16);N.push.apply(N,_toConsumableArray(encodeU32(E.index.value)));return N}function encodeCallIndirectInstruction(E){var N=[];assertNotIdentifierNode(E.index);N.push(17);N.push.apply(N,_toConsumableArray(encodeU32(E.index.value)));N.push(0);return N}function encodeModuleExport(E){var N=[];assertNotIdentifierNode(E.descr.id);var R=G.default.exportTypesByName[E.descr.exportType];if(typeof R==="undefined"){throw new Error("Unknown export of type: "+E.descr.exportType)}var j=parseInt(R,10);N.push.apply(N,_toConsumableArray(encodeUTF8Vec(E.name)));N.push(j);N.push.apply(N,_toConsumableArray(encodeU32(E.descr.id.value)));return N}function encodeTypeInstruction(E){var N=[96];var R=E.functype.params.map((function(E){return E.valtype})).map(encodeValtype);var j=E.functype.results.map(encodeValtype);N.push.apply(N,_toConsumableArray(encodeVec(R)));N.push.apply(N,_toConsumableArray(encodeVec(j)));return N}function encodeInstr(E){var N=[];var R=E.id;if(typeof E.object==="string"){R="".concat(E.object,".").concat(String(E.id))}var j=G.default.symbolsByName[R];if(typeof j==="undefined"){throw new Error("encodeInstr: unknown instruction "+JSON.stringify(R))}var q=parseInt(j,10);N.push(q);if(E.args){E.args.forEach((function(R){var j=encodeU32;if(E.object==="i32"){j=encodeI32}if(E.object==="i64"){j=encodeI64}if(E.object==="f32"){j=$.encodeF32}if(E.object==="f64"){j=$.encodeF64}if(R.type==="NumberLiteral"||R.type==="FloatLiteral"||R.type==="LongNumberLiteral"){N.push.apply(N,_toConsumableArray(j(R.value)))}else{throw new Error("Unsupported instruction argument encoding "+JSON.stringify(R.type))}}))}return N}function encodeExpr(E){var N=[];E.forEach((function(E){var R=(0,ie.encodeNode)(E);N.push.apply(N,_toConsumableArray(R))}));return N}function encodeStringLiteral(E){return encodeUTF8Vec(E.value)}function encodeGlobal(E){var N=[];var R=E.globalType,j=R.valtype,$=R.mutability;N.push(encodeValtype(j));N.push(encodeMutability($));N.push.apply(N,_toConsumableArray(encodeExpr(E.init)));return N}function encodeFuncBody(E){var N=[];N.push(-1);var R=encodeVec([]);N.push.apply(N,_toConsumableArray(R));var j=encodeExpr(E.body);N[0]=j.length+R.length;N.push.apply(N,_toConsumableArray(j));return N}function encodeIndexInFuncSection(E){assertNotIdentifierNode(E.index);return encodeU32(E.index.value)}function encodeElem(E){var N=[];assertNotIdentifierNode(E.table);N.push.apply(N,_toConsumableArray(encodeU32(E.table.value)));N.push.apply(N,_toConsumableArray(encodeExpr(E.offset)));var R=E.funcs.reduce((function(E,N){return _toConsumableArray(E).concat(_toConsumableArray(encodeU32(N.value)))}),[]);N.push.apply(N,_toConsumableArray(encodeVec(R)));return N}},44166:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeNode=encodeNode;N.encodeU32=void 0;var j=_interopRequireWildcard(R(77445));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function encodeNode(E){switch(E.type){case"ModuleImport":return j.encodeModuleImport(E);case"SectionMetadata":return j.encodeSectionMetadata(E);case"CallInstruction":return j.encodeCallInstruction(E);case"CallIndirectInstruction":return j.encodeCallIndirectInstruction(E);case"TypeInstruction":return j.encodeTypeInstruction(E);case"Instr":return j.encodeInstr(E);case"ModuleExport":return j.encodeModuleExport(E);case"Global":return j.encodeGlobal(E);case"Func":return j.encodeFuncBody(E);case"IndexInFuncSection":return j.encodeIndexInFuncSection(E);case"StringLiteral":return j.encodeStringLiteral(E);case"Elem":return j.encodeElem(E);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(E.type))}}var $=j.encodeU32;N.encodeU32=$},53620:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.shrinkPaddedLEB128=shrinkPaddedLEB128;var j=R(73432);var $=R(25688);function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,N){if(N&&(_typeof(N)==="object"||typeof N==="function")){return N}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,N){if(typeof N!=="function"&&N!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(N)Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N}var q=function(E){_inherits(OptimizerError,E);function OptimizerError(E,N){var R;_classCallCheck(this,OptimizerError);R=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+E+": "+N.message));R.stack=N.stack;return R}return OptimizerError}(Error);var G={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(E){try{var N=(0,j.decode)(E.buffer,G);return(0,$.shrinkPaddedLEB128)(N,E)}catch(E){throw new q("shrinkPaddedLEB128",E)}}},25688:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.shrinkPaddedLEB128=shrinkPaddedLEB128;var j=R(98093);var $=R(77445);var q=R(3104);function shiftFollowingSections(E,N,R){var $=N.section;var q=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===$){q=true;return}if(q===true){(0,j.shiftSection)(E,N.node,R)}}})}function shrinkPaddedLEB128(E,N){(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(R){var j=R.node;{var G=(0,$.encodeU32)(j.size.value);var ie=G.length;var ae=j.size.loc.start.column;var ce=j.size.loc.end.column;var le=ce-ae;if(ie!==le){var _e=le-ie;N=(0,q.overrideBytesInBuffer)(N,ae,ce,G);shiftFollowingSections(E,j,-_e)}}}});return N}},13975:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;var j=R(35866);var $=_interopRequireWildcard(R(48));var q=_interopRequireWildcard(R(38040));var G=_interopRequireWildcard(R(98093));var ie=R(39784);var ae=_interopRequireDefault(R(3930));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N<E.length;N++){R[N]=E[N]}return R}else{return Array.from(E)}}function toHex(E){return"0x"+Number(E).toString(16)}function byteArrayEq(E,N){if(E.length!==N.length){return false}for(var R=0;R<E.length;R++){if(E[R]!==N[R]){return false}}return true}function decode(E,N){var R=new Uint8Array(E);var ce=G.getUniqueNameGenerator();var le=0;function getPosition(){return{line:-1,column:le}}function dump(E,R){if(N.dump===false)return;var j="\t\t\t\t\t\t\t\t\t\t";var $="";if(E.length<5){$=E.map(toHex).join(" ")}else{$="..."}console.log(toHex(le)+":\t",$,j,";",R)}function dumpSep(E){if(N.dump===false)return;console.log(";",E)}var _e={elementsInFuncSection:[],elementsInExportSection:[],elementsInCodeSection:[],memoriesInModule:[],typesInModule:[],functionsInModule:[],tablesInModule:[],globalsInModule:[]};function isEOF(){return le>=R.length}function eatBytes(E){le=le+E}function readBytesAtOffset(E,N){var j=[];for(var $=0;$<N;$++){j.push(R[E+$])}return j}function readBytes(E){return readBytesAtOffset(le,E)}function readF64(){var E=readBytes($.NUMBER_OF_BYTE_F64);var N=$.decodeF64(E);if(Math.sign(N)*N===Infinity){return{value:Math.sign(N),inf:true,nextIndex:$.NUMBER_OF_BYTE_F64}}if(isNaN(N)){var R=E[E.length-1]>>7?-1:1;var j=0;for(var q=0;q<E.length-2;++q){j+=E[q]*Math.pow(256,q)}j+=E[E.length-2]%16*Math.pow(256,E.length-2);return{value:R*j,nan:true,nextIndex:$.NUMBER_OF_BYTE_F64}}return{value:N,nextIndex:$.NUMBER_OF_BYTE_F64}}function readF32(){var E=readBytes($.NUMBER_OF_BYTE_F32);var N=$.decodeF32(E);if(Math.sign(N)*N===Infinity){return{value:Math.sign(N),inf:true,nextIndex:$.NUMBER_OF_BYTE_F32}}if(isNaN(N)){var R=E[E.length-1]>>7?-1:1;var j=0;for(var q=0;q<E.length-2;++q){j+=E[q]*Math.pow(256,q)}j+=E[E.length-2]%128*Math.pow(256,E.length-2);return{value:R*j,nan:true,nextIndex:$.NUMBER_OF_BYTE_F32}}return{value:N,nextIndex:$.NUMBER_OF_BYTE_F32}}function readUTF8String(){var E=readU32();var N=E.value;dump([N],"string length");var R=readBytesAtOffset(le+E.nextIndex,N);var j=q.decode(R);return{value:j,nextIndex:N+E.nextIndex}}function readU32(){var E=readBytes(ie.MAX_NUMBER_OF_BYTE_U32);var N=Buffer.from(E);return(0,ie.decodeUInt32)(N)}function readVaruint32(){var E=readBytes(4);var N=Buffer.from(E);return(0,ie.decodeUInt32)(N)}function readVaruint7(){var E=readBytes(1);var N=Buffer.from(E);return(0,ie.decodeUInt32)(N)}function read32(){var E=readBytes(ie.MAX_NUMBER_OF_BYTE_U32);var N=Buffer.from(E);return(0,ie.decodeInt32)(N)}function read64(){var E=readBytes(ie.MAX_NUMBER_OF_BYTE_U64);var N=Buffer.from(E);return(0,ie.decodeInt64)(N)}function readU64(){var E=readBytes(ie.MAX_NUMBER_OF_BYTE_U64);var N=Buffer.from(E);return(0,ie.decodeUInt64)(N)}function readByte(){return readBytes(1)[0]}function parseModuleHeader(){if(isEOF()===true||le+4>R.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.magicModuleHeader,E)===false){throw new j.CompileError("magic header not detected")}dump(E,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||le+4>R.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.moduleVersion,E)===false){throw new j.CompileError("unknown binary version")}dump(E,"wasm version");eatBytes(4)}function parseVec(E){var N=readU32();var R=N.value;eatBytes(N.nextIndex);dump([R],"number");if(R===0){return[]}var $=[];for(var q=0;q<R;q++){var G=readByte();eatBytes(1);var ie=E(G);dump([G],ie);if(typeof ie==="undefined"){throw new j.CompileError("Internal failure: parseVec could not cast the value")}$.push(ie)}return $}function parseTypeSection(E){var N=[];dump([E],"num types");for(var R=0;R<E;R++){var j=getPosition();dumpSep("type "+R);var $=readByte();eatBytes(1);if($==ae.default.types.func){dump([$],"func");var q=parseVec((function(E){return ae.default.valtypes[E]}));var ie=q.map((function(E){return G.funcParam(E)}));var ce=parseVec((function(E){return ae.default.valtypes[E]}));N.push(function(){var E=getPosition();return G.withLoc(G.typeInstruction(undefined,G.signature(ie,ce)),E,j)}());_e.typesInModule.push({params:ie,result:ce})}else{throw new Error("Unsupported type: "+toHex($))}}return N}function parseImportSection(E){var N=[];for(var R=0;R<E;R++){dumpSep("import header "+R);var $=getPosition();var q=readUTF8String();eatBytes(q.nextIndex);dump([],"module name (".concat(q.value,")"));var ie=readUTF8String();eatBytes(ie.nextIndex);dump([],"name (".concat(ie.value,")"));var le=readByte();eatBytes(1);var Ee=ae.default.importTypes[le];dump([le],"import kind");if(typeof Ee==="undefined"){throw new j.CompileError("Unknown import description type: "+toHex(le))}var Te=void 0;if(Ee==="func"){var we=readU32();var Ie=we.value;eatBytes(we.nextIndex);dump([Ie],"type index");var Ne=_e.typesInModule[Ie];if(typeof Ne==="undefined"){throw new j.CompileError("function signature not found (".concat(Ie,")"))}var Me=ce("func");Te=G.funcImportDescr(Me,G.signature(Ne.params,Ne.result));_e.functionsInModule.push({id:G.identifier(ie.value),signature:Ne,isExternal:true})}else if(Ee==="global"){Te=parseGlobalType();var Le=G.global(Te,[]);_e.globalsInModule.push(Le)}else if(Ee==="table"){Te=parseTableType(R)}else if(Ee==="mem"){var Be=parseMemoryType(0);_e.memoriesInModule.push(Be);Te=Be}else{throw new j.CompileError("Unsupported import of type: "+Ee)}N.push(function(){var E=getPosition();return G.withLoc(G.moduleImport(q.value,ie.value,Te),E,$)}())}return N}function parseFuncSection(E){dump([E],"num funcs");for(var N=0;N<E;N++){var R=readU32();var $=R.value;eatBytes(R.nextIndex);dump([$],"type index");var q=_e.typesInModule[$];if(typeof q==="undefined"){throw new j.CompileError("function signature not found (".concat($,")"))}var ie=G.withRaw(G.identifier(ce("func")),"");_e.functionsInModule.push({id:ie,signature:q,isExternal:false})}}function parseExportSection(E){dump([E],"num exports");for(var N=0;N<E;N++){var R=getPosition();var $=readUTF8String();eatBytes($.nextIndex);dump([],"export name (".concat($.value,")"));var q=readByte();eatBytes(1);dump([q],"export kind");var ie=readU32();var ce=ie.value;eatBytes(ie.nextIndex);dump([ce],"export index");var le=void 0,Ee=void 0;if(ae.default.exportTypes[q]==="Func"){var Te=_e.functionsInModule[ce];if(typeof Te==="undefined"){throw new j.CompileError("unknown function (".concat(ce,")"))}le=G.numberLiteralFromRaw(ce,String(ce));Ee=Te.signature}else if(ae.default.exportTypes[q]==="Table"){var we=_e.tablesInModule[ce];if(typeof we==="undefined"){throw new j.CompileError("unknown table ".concat(ce))}le=G.numberLiteralFromRaw(ce,String(ce));Ee=null}else if(ae.default.exportTypes[q]==="Mem"){var Ie=_e.memoriesInModule[ce];if(typeof Ie==="undefined"){throw new j.CompileError("unknown memory ".concat(ce))}le=G.numberLiteralFromRaw(ce,String(ce));Ee=null}else if(ae.default.exportTypes[q]==="Global"){var Ne=_e.globalsInModule[ce];if(typeof Ne==="undefined"){throw new j.CompileError("unknown global ".concat(ce))}le=G.numberLiteralFromRaw(ce,String(ce));Ee=null}else{console.warn("Unsupported export type: "+toHex(q));return}var Me=getPosition();_e.elementsInExportSection.push({name:$.value,type:ae.default.exportTypes[q],signature:Ee,id:le,index:ce,endLoc:Me,startLoc:R})}}function parseCodeSection(E){dump([E],"number functions");for(var N=0;N<E;N++){var R=getPosition();dumpSep("function body "+N);var $=readU32();eatBytes($.nextIndex);dump([$.value],"function body size");var q=[];var ie=readU32();var ce=ie.value;eatBytes(ie.nextIndex);dump([ce],"num locals");var le=[];for(var Ee=0;Ee<ce;Ee++){var Te=getPosition();var we=readU32();var Ie=we.value;eatBytes(we.nextIndex);dump([Ie],"num local");var Ne=readByte();eatBytes(1);var Me=ae.default.valtypes[Ne];var Le=[];for(var Be=0;Be<Ie;Be++){Le.push(G.valtypeLiteral(Me))}var je=function(){var E=getPosition();return G.withLoc(G.instruction("local",Le),E,Te)}();le.push(je);dump([Ne],Me);if(typeof Me==="undefined"){throw new j.CompileError("Unexpected valtype: "+toHex(Ne))}}q.push.apply(q,le);parseInstructionBlock(q);var Ue=getPosition();_e.elementsInCodeSection.push({code:q,locals:le,endLoc:Ue,startLoc:R,bodySize:$.value})}}function parseInstructionBlock(E){while(true){var N=getPosition();var R=false;var $=readByte();eatBytes(1);if($===254){$=65024+readByte();eatBytes(1)}var q=ae.default.symbolsByByte[$];if(typeof q==="undefined"){throw new j.CompileError("Unexpected instruction: "+toHex($))}if(typeof q.object==="string"){dump([$],"".concat(q.object,".").concat(q.name))}else{dump([$],q.name)}if(q.name==="end"){var ie=function(){var E=getPosition();return G.withLoc(G.instruction(q.name),E,N)}();E.push(ie);break}var le=[];if(q.name==="loop"){var Ee=getPosition();var Te=readByte();eatBytes(1);var we=ae.default.blockTypes[Te];dump([Te],"blocktype");if(typeof we==="undefined"){throw new j.CompileError("Unexpected blocktype: "+toHex(Te))}var Ie=[];parseInstructionBlock(Ie);var Ne=G.withRaw(G.identifier(ce("loop")),"");var Me=function(){var E=getPosition();return G.withLoc(G.loopInstruction(Ne,we,Ie),E,Ee)}();E.push(Me);R=true}else if(q.name==="if"){var Le=getPosition();var Be=readByte();eatBytes(1);var je=ae.default.blockTypes[Be];dump([Be],"blocktype");if(typeof je==="undefined"){throw new j.CompileError("Unexpected blocktype: "+toHex(Be))}var Ue=G.withRaw(G.identifier(ce("if")),"");var ze=[];parseInstructionBlock(ze);var We=0;for(We=0;We<ze.length;++We){var Je=ze[We];if(Je.type==="Instr"&&Je.id==="else"){break}}var Ve=ze.slice(0,We);var qe=ze.slice(We+1);var He=[];var Ge=function(){var E=getPosition();return G.withLoc(G.ifInstruction(Ue,He,je,Ve,qe),E,Le)}();E.push(Ge);R=true}else if(q.name==="block"){var Ke=getPosition();var Qe=readByte();eatBytes(1);var Xe=ae.default.blockTypes[Qe];dump([Qe],"blocktype");if(typeof Xe==="undefined"){throw new j.CompileError("Unexpected blocktype: "+toHex(Qe))}var Ye=[];parseInstructionBlock(Ye);var Ze=G.withRaw(G.identifier(ce("block")),"");var et=function(){var E=getPosition();return G.withLoc(G.blockInstruction(Ze,Ye,Xe),E,Ke)}();E.push(et);R=true}else if(q.name==="call"){var tt=readU32();var rt=tt.value;eatBytes(tt.nextIndex);dump([rt],"index");var nt=function(){var E=getPosition();return G.withLoc(G.callInstruction(G.indexLiteral(rt)),E,N)}();E.push(nt);R=true}else if(q.name==="call_indirect"){var it=getPosition();var ot=readU32();var st=ot.value;eatBytes(ot.nextIndex);dump([st],"type index");var ct=_e.typesInModule[st];if(typeof ct==="undefined"){throw new j.CompileError("call_indirect signature not found (".concat(st,")"))}var ut=G.callIndirectInstruction(G.signature(ct.params,ct.result),[]);var dt=readU32();var pt=dt.value;eatBytes(dt.nextIndex);if(pt!==0){throw new j.CompileError("zero flag expected")}E.push(function(){var E=getPosition();return G.withLoc(ut,E,it)}());R=true}else if(q.name==="br_table"){var ft=readU32();var mt=ft.value;eatBytes(ft.nextIndex);dump([mt],"num indices");for(var ht=0;ht<=mt;ht++){var _t=readU32();var yt=_t.value;eatBytes(_t.nextIndex);dump([yt],"index");le.push(G.numberLiteralFromRaw(_t.value.toString(),"u32"))}}else if($>=40&&$<=64){if(q.name==="grow_memory"||q.name==="current_memory"){var vt=readU32();var bt=vt.value;eatBytes(vt.nextIndex);if(bt!==0){throw new Error("zero flag expected")}dump([bt],"index")}else{var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);dump([St],"align");var Et=readU32();var Tt=Et.value;eatBytes(Et.nextIndex);dump([Tt],"offset")}}else if($>=65&&$<=68){if(q.object==="i32"){var kt=read32();var Ct=kt.value;eatBytes(kt.nextIndex);dump([Ct],"i32 value");le.push(G.numberLiteralFromRaw(Ct))}if(q.object==="u32"){var Dt=readU32();var At=Dt.value;eatBytes(Dt.nextIndex);dump([At],"u32 value");le.push(G.numberLiteralFromRaw(At))}if(q.object==="i64"){var wt=read64();var Pt=wt.value;eatBytes(wt.nextIndex);dump([Number(Pt.toString())],"i64 value");var Ft=Pt.high,It=Pt.low;var Nt={type:"LongNumberLiteral",value:{high:Ft,low:It}};le.push(Nt)}if(q.object==="u64"){var Ot=readU64();var Mt=Ot.value;eatBytes(Ot.nextIndex);dump([Number(Mt.toString())],"u64 value");var Rt=Mt.high,Lt=Mt.low;var Bt={type:"LongNumberLiteral",value:{high:Rt,low:Lt}};le.push(Bt)}if(q.object==="f32"){var jt=readF32();var Ut=jt.value;eatBytes(jt.nextIndex);dump([Ut],"f32 value");le.push(G.floatLiteral(Ut,jt.nan,jt.inf,String(Ut)))}if(q.object==="f64"){var zt=readF64();var Wt=zt.value;eatBytes(zt.nextIndex);dump([Wt],"f64 value");le.push(G.floatLiteral(Wt,zt.nan,zt.inf,String(Wt)))}}else if($>=65024&&$<=65279){var $t=readU32();var Jt=$t.value;eatBytes($t.nextIndex);dump([Jt],"align");var Vt=readU32();var qt=Vt.value;eatBytes(Vt.nextIndex);dump([qt],"offset")}else{for(var Ht=0;Ht<q.numberOfArgs;Ht++){var Gt=readU32();eatBytes(Gt.nextIndex);dump([Gt.value],"argument "+Ht);le.push(G.numberLiteralFromRaw(Gt.value))}}if(R===false){if(typeof q.object==="string"){var Kt=function(){var E=getPosition();return G.withLoc(G.objectInstruction(q.name,q.object,le),E,N)}();E.push(Kt)}else{var Qt=function(){var E=getPosition();return G.withLoc(G.instruction(q.name,le),E,N)}();E.push(Qt)}}}}function parseLimits(){var E=readByte();eatBytes(1);var N=E===3;dump([E],"limit type"+(N?" (shared)":""));var R,j;if(E===1||E===3){var $=readU32();R=parseInt($.value);eatBytes($.nextIndex);dump([R],"min");var q=readU32();j=parseInt(q.value);eatBytes(q.nextIndex);dump([j],"max")}if(E===0){var ie=readU32();R=parseInt(ie.value);eatBytes(ie.nextIndex);dump([R],"min")}return G.limit(R,j,N)}function parseTableType(E){var N=G.withRaw(G.identifier(ce("table")),String(E));var R=readByte();eatBytes(1);dump([R],"element type");var $=ae.default.tableTypes[R];if(typeof $==="undefined"){throw new j.CompileError("Unknown element type in table: "+toHex($))}var q=parseLimits();return G.table($,q,N)}function parseGlobalType(){var E=readByte();eatBytes(1);var N=ae.default.valtypes[E];dump([E],N);if(typeof N==="undefined"){throw new j.CompileError("Unknown valtype: "+toHex(E))}var R=readByte();eatBytes(1);var $=ae.default.globalTypes[R];dump([R],"global type (".concat($,")"));if(typeof $==="undefined"){throw new j.CompileError("Invalid mutability: "+toHex(R))}return G.globalType(N,$)}function parseNameSectionFunctions(){var E=[];var N=readU32();var R=N.value;eatBytes(N.nextIndex);for(var j=0;j<R;j++){var $=readU32();var q=$.value;eatBytes($.nextIndex);var ie=readUTF8String();eatBytes(ie.nextIndex);E.push(G.functionNameMetadata(ie.value,q))}return E}function parseNameSectionLocals(){var E=[];var N=readU32();var R=N.value;eatBytes(N.nextIndex);for(var j=0;j<R;j++){var $=readU32();var q=$.value;eatBytes($.nextIndex);var ie=readU32();var ae=ie.value;eatBytes(ie.nextIndex);for(var ce=0;ce<ae;ce++){var le=readU32();var _e=le.value;eatBytes(le.nextIndex);var Ee=readUTF8String();eatBytes(Ee.nextIndex);E.push(G.localNameMetadata(Ee.value,_e,q))}}return E}function parseNameSection(E){var N=[];var R=le;while(le-R<E){var j=readVaruint7();eatBytes(j.nextIndex);var $=readVaruint32();eatBytes($.nextIndex);switch(j.value){case 1:{N.push.apply(N,_toConsumableArray(parseNameSectionFunctions()));break}case 2:{N.push.apply(N,_toConsumableArray(parseNameSectionLocals()));break}default:{eatBytes($.value)}}}return N}function parseProducersSection(){var E=G.producersSectionMetadata([]);var N=readVaruint32();eatBytes(N.nextIndex);dump([N.value],"num of producers");var R={language:[],"processed-by":[],sdk:[]};for(var j=0;j<N.value;j++){var $=readUTF8String();eatBytes($.nextIndex);var q=readVaruint32();eatBytes(q.nextIndex);for(var ie=0;ie<q.value;ie++){var ae=readUTF8String();eatBytes(ae.nextIndex);var ce=readUTF8String();eatBytes(ce.nextIndex);R[$.value].push(G.producerMetadataVersionedName(ae.value,ce.value))}E.producers.push(R[$.value])}return E}function parseGlobalSection(E){var N=[];dump([E],"num globals");for(var R=0;R<E;R++){var j=getPosition();var $=parseGlobalType();var q=[];parseInstructionBlock(q);var ie=function(){var E=getPosition();return G.withLoc(G.global($,q),E,j)}();N.push(ie);_e.globalsInModule.push(ie)}return N}function parseElemSection(E){var N=[];dump([E],"num elements");for(var R=0;R<E;R++){var j=getPosition();var $=readU32();var q=$.value;eatBytes($.nextIndex);dump([q],"table index");var ie=[];parseInstructionBlock(ie);var ae=readU32();var ce=ae.value;eatBytes(ae.nextIndex);dump([ce],"num indices");var le=[];for(var _e=0;_e<ce;_e++){var Ee=readU32();var Te=Ee.value;eatBytes(Ee.nextIndex);dump([Te],"index");le.push(G.indexLiteral(Te))}var we=function(){var E=getPosition();return G.withLoc(G.elem(G.indexLiteral(q),ie,le),E,j)}();N.push(we)}return N}function parseMemoryType(E){var N=parseLimits();return G.memory(N,G.indexLiteral(E))}function parseTableSection(E){var N=[];dump([E],"num elements");for(var R=0;R<E;R++){var j=parseTableType(R);_e.tablesInModule.push(j);N.push(j)}return N}function parseMemorySection(E){var N=[];dump([E],"num elements");for(var R=0;R<E;R++){var j=parseMemoryType(R);_e.memoriesInModule.push(j);N.push(j)}return N}function parseStartSection(){var E=getPosition();var N=readU32();var R=N.value;eatBytes(N.nextIndex);dump([R],"index");return function(){var N=getPosition();return G.withLoc(G.start(G.indexLiteral(R)),N,E)}()}function parseDataSection(E){var N=[];dump([E],"num elements");for(var R=0;R<E;R++){var $=readU32();var q=$.value;eatBytes($.nextIndex);dump([q],"memory index");var ie=[];parseInstructionBlock(ie);var ae=ie.filter((function(E){return E.id!=="end"})).length!==1;if(ae){throw new j.CompileError("data section offset must be a single instruction")}var ce=parseVec((function(E){return E}));dump([],"init");N.push(G.data(G.memIndexLiteral(q),ie[0],G.byteArray(ce)))}return N}function parseSection(E){var R=readByte();eatBytes(1);if(R>=E||E===ae.default.sections.custom){E=R+1}else{if(R!==ae.default.sections.custom)throw new j.CompileError("Unexpected section: "+toHex(R))}var $=E;var q=le;var ie=getPosition();var ce=readU32();var _e=ce.value;eatBytes(ce.nextIndex);var Ee=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(_e),E,ie)}();switch(R){case ae.default.sections.type:{dumpSep("section Type");dump([R],"section code");dump([_e],"section size");var Te=getPosition();var we=readU32();var Ie=we.value;eatBytes(we.nextIndex);var Ne=G.sectionMetadata("type",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ie),E,Te)}());var Me=parseTypeSection(Ie);return{nodes:Me,metadata:Ne,nextSectionIndex:$}}case ae.default.sections.table:{dumpSep("section Table");dump([R],"section code");dump([_e],"section size");var Le=getPosition();var Be=readU32();var je=Be.value;eatBytes(Be.nextIndex);dump([je],"num tables");var Ue=G.sectionMetadata("table",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(je),E,Le)}());var ze=parseTableSection(je);return{nodes:ze,metadata:Ue,nextSectionIndex:$}}case ae.default.sections.import:{dumpSep("section Import");dump([R],"section code");dump([_e],"section size");var We=getPosition();var Je=readU32();var Ve=Je.value;eatBytes(Je.nextIndex);dump([Ve],"number of imports");var qe=G.sectionMetadata("import",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ve),E,We)}());var He=parseImportSection(Ve);return{nodes:He,metadata:qe,nextSectionIndex:$}}case ae.default.sections.func:{dumpSep("section Function");dump([R],"section code");dump([_e],"section size");var Ge=getPosition();var Ke=readU32();var Qe=Ke.value;eatBytes(Ke.nextIndex);var Xe=G.sectionMetadata("func",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Qe),E,Ge)}());parseFuncSection(Qe);var Ye=[];return{nodes:Ye,metadata:Xe,nextSectionIndex:$}}case ae.default.sections.export:{dumpSep("section Export");dump([R],"section code");dump([_e],"section size");var Ze=getPosition();var et=readU32();var tt=et.value;eatBytes(et.nextIndex);var rt=G.sectionMetadata("export",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(tt),E,Ze)}());parseExportSection(tt);var nt=[];return{nodes:nt,metadata:rt,nextSectionIndex:$}}case ae.default.sections.code:{dumpSep("section Code");dump([R],"section code");dump([_e],"section size");var it=getPosition();var ot=readU32();var st=ot.value;eatBytes(ot.nextIndex);var ct=G.sectionMetadata("code",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(st),E,it)}());if(N.ignoreCodeSection===true){var ut=_e-ot.nextIndex;eatBytes(ut)}else{parseCodeSection(st)}var dt=[];return{nodes:dt,metadata:ct,nextSectionIndex:$}}case ae.default.sections.start:{dumpSep("section Start");dump([R],"section code");dump([_e],"section size");var pt=G.sectionMetadata("start",q,Ee);var ft=[parseStartSection()];return{nodes:ft,metadata:pt,nextSectionIndex:$}}case ae.default.sections.element:{dumpSep("section Element");dump([R],"section code");dump([_e],"section size");var mt=getPosition();var ht=readU32();var _t=ht.value;eatBytes(ht.nextIndex);var yt=G.sectionMetadata("element",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(_t),E,mt)}());var vt=parseElemSection(_t);return{nodes:vt,metadata:yt,nextSectionIndex:$}}case ae.default.sections.global:{dumpSep("section Global");dump([R],"section code");dump([_e],"section size");var bt=getPosition();var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);var Et=G.sectionMetadata("global",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(St),E,bt)}());var Tt=parseGlobalSection(St);return{nodes:Tt,metadata:Et,nextSectionIndex:$}}case ae.default.sections.memory:{dumpSep("section Memory");dump([R],"section code");dump([_e],"section size");var kt=getPosition();var Ct=readU32();var Dt=Ct.value;eatBytes(Ct.nextIndex);var At=G.sectionMetadata("memory",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Dt),E,kt)}());var wt=parseMemorySection(Dt);return{nodes:wt,metadata:At,nextSectionIndex:$}}case ae.default.sections.data:{dumpSep("section Data");dump([R],"section code");dump([_e],"section size");var Pt=G.sectionMetadata("data",q,Ee);var Ft=getPosition();var It=readU32();var Nt=It.value;eatBytes(It.nextIndex);Pt.vectorOfSize=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Nt),E,Ft)}();if(N.ignoreDataSection===true){var Ot=_e-It.nextIndex;eatBytes(Ot);dumpSep("ignore data ("+_e+" bytes)");return{nodes:[],metadata:Pt,nextSectionIndex:$}}else{var Mt=parseDataSection(Nt);return{nodes:Mt,metadata:Pt,nextSectionIndex:$}}}case ae.default.sections.custom:{dumpSep("section Custom");dump([R],"section code");dump([_e],"section size");var Rt=[G.sectionMetadata("custom",q,Ee)];var Lt=readUTF8String();eatBytes(Lt.nextIndex);dump([],"section name (".concat(Lt.value,")"));var Bt=_e-Lt.nextIndex;if(Lt.value==="name"){var jt=le;try{Rt.push.apply(Rt,_toConsumableArray(parseNameSection(Bt)))}catch(E){console.warn('Failed to decode custom "name" section @'.concat(le,"; ignoring (").concat(E.message,")."));eatBytes(le-(jt+Bt))}}else if(Lt.value==="producers"){var Ut=le;try{Rt.push(parseProducersSection())}catch(E){console.warn('Failed to decode custom "producers" section @'.concat(le,"; ignoring (").concat(E.message,")."));eatBytes(le-(Ut+Bt))}}else{eatBytes(Bt);dumpSep("ignore custom "+JSON.stringify(Lt.value)+" section ("+Bt+" bytes)")}return{nodes:[],metadata:Rt,nextSectionIndex:$}}}throw new j.CompileError("Unexpected section: "+toHex(R))}parseModuleHeader();parseVersion();var Ee=[];var Te=0;var we={sections:[],functionNames:[],localNames:[],producers:[]};while(le<R.length){var Ie=parseSection(Te),Ne=Ie.nodes,Me=Ie.metadata,Le=Ie.nextSectionIndex;Ee.push.apply(Ee,_toConsumableArray(Ne));var Be=Array.isArray(Me)?Me:[Me];Be.forEach((function(E){if(E.type==="FunctionNameMetadata"){we.functionNames.push(E)}else if(E.type==="LocalNameMetadata"){we.localNames.push(E)}else if(E.type==="ProducersSectionMetadata"){we.producers.push(E)}else{we.sections.push(E)}}));if(Le){Te=Le}}var je=0;_e.functionsInModule.forEach((function(E){var R=E.signature.params;var $=E.signature.result;var q=[];if(E.isExternal===true){return}var ie=_e.elementsInCodeSection[je];if(N.ignoreCodeSection===false){if(typeof ie==="undefined"){throw new j.CompileError("func "+toHex(je)+" code not found")}q=ie.code}je++;var ae=G.func(E.id,G.signature(R,$),q);if(E.isExternal===true){ae.isExternal=E.isExternal}if(N.ignoreCodeSection===false){var ce=ie.startLoc,le=ie.endLoc,Te=ie.bodySize;ae=G.withLoc(ae,le,ce);ae.metadata={bodySize:Te}}Ee.push(ae)}));_e.elementsInExportSection.forEach((function(E){if(E.id!=null){Ee.push(G.withLoc(G.moduleExport(E.name,G.moduleExportDescr(E.type,E.id)),E.endLoc,E.startLoc))}}));dumpSep("end of program");var Ue=G.module(null,Ee,G.moduleMetadata(we.sections,we.functionNames,we.localNames,we.producers));return G.program([Ue])}},73432:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;var j=_interopRequireWildcard(R(13975));var $=_interopRequireWildcard(R(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}var q={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(E){var N=[];$.traverse(E,{FunctionNameMetadata:function FunctionNameMetadata(E){var R=E.node;N.push({name:R.value,index:R.index})}});if(N.length===0){return}$.traverse(E,{Func:function(E){function Func(N){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var R=E.node;var j=R.name;var $=j.value;var q=Number($.replace("func_",""));var G=N.find((function(E){return E.index===q}));if(G){var ie=j.value;j.value=G.name;j.numeric=ie;delete j.raw}})),ModuleExport:function(E){function ModuleExport(N){return E.apply(this,arguments)}ModuleExport.toString=function(){return E.toString()};return ModuleExport}((function(E){var R=E.node;if(R.descr.exportType==="Func"){var j=R.descr.id;var q=j.value;var G=N.find((function(E){return E.index===q}));if(G){R.descr.id=$.identifier(G.name)}}})),ModuleImport:function(E){function ModuleImport(N){return E.apply(this,arguments)}ModuleImport.toString=function(){return E.toString()};return ModuleImport}((function(E){var R=E.node;if(R.descr.type==="FuncImportDescr"){var j=R.descr.id;var q=Number(j.replace("func_",""));var G=N.find((function(E){return E.index===q}));if(G){R.descr.id=$.identifier(G.name)}}})),CallInstruction:function(E){function CallInstruction(N){return E.apply(this,arguments)}CallInstruction.toString=function(){return E.toString()};return CallInstruction}((function(E){var R=E.node;var j=R.index.value;var q=N.find((function(E){return E.index===j}));if(q){var G=R.index;R.index=$.identifier(q.name);R.numeric=G;delete R.raw}}))})}function restoreLocalNames(E){var N=[];$.traverse(E,{LocalNameMetadata:function LocalNameMetadata(E){var R=E.node;N.push({name:R.value,localIndex:R.localIndex,functionIndex:R.functionIndex})}});if(N.length===0){return}$.traverse(E,{Func:function(E){function Func(N){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var R=E.node;var j=R.signature;if(j.type!=="Signature"){return}var $=R.name;var q=$.value;var G=Number(q.replace("func_",""));j.params.forEach((function(E,R){var j=N.find((function(E){return E.localIndex===R&&E.functionIndex===G}));if(j&&j.name!==""){E.id=j.name}}))}))})}function restoreModuleName(E){$.traverse(E,{ModuleNameMetadata:function(E){function ModuleNameMetadata(N){return E.apply(this,arguments)}ModuleNameMetadata.toString=function(){return E.toString()};return ModuleNameMetadata}((function(N){$.traverse(E,{Module:function(E){function Module(N){return E.apply(this,arguments)}Module.toString=function(){return E.toString()};return Module}((function(E){var R=E.node;var j=N.node.value;if(j===""){j=null}R.id=j}))})}))})}function decode(E,N){var R=Object.assign({},q,N);var $=j.decode(E,R);if(R.ignoreCustomNameSection===false){restoreFunctionNames($);restoreLocalNames($);restoreModuleName($)}return $}},3158:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.read=read;N.write=write;function read(E,N,R,j,$){var q,G;var ie=$*8-j-1;var ae=(1<<ie)-1;var ce=ae>>1;var le=-7;var _e=R?$-1:0;var Ee=R?-1:1;var Te=E[N+_e];_e+=Ee;q=Te&(1<<-le)-1;Te>>=-le;le+=ie;for(;le>0;q=q*256+E[N+_e],_e+=Ee,le-=8){}G=q&(1<<-le)-1;q>>=-le;le+=j;for(;le>0;G=G*256+E[N+_e],_e+=Ee,le-=8){}if(q===0){q=1-ce}else if(q===ae){return G?NaN:(Te?-1:1)*Infinity}else{G=G+Math.pow(2,j);q=q-ce}return(Te?-1:1)*G*Math.pow(2,q-j)}function write(E,N,R,j,$,q){var G,ie,ae;var ce=q*8-$-1;var le=(1<<ce)-1;var _e=le>>1;var Ee=$===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Te=j?0:q-1;var we=j?1:-1;var Ie=N<0||N===0&&1/N<0?1:0;N=Math.abs(N);if(isNaN(N)||N===Infinity){ie=isNaN(N)?1:0;G=le}else{G=Math.floor(Math.log(N)/Math.LN2);if(N*(ae=Math.pow(2,-G))<1){G--;ae*=2}if(G+_e>=1){N+=Ee/ae}else{N+=Ee*Math.pow(2,1-_e)}if(N*ae>=2){G++;ae/=2}if(G+_e>=le){ie=0;G=le}else if(G+_e>=1){ie=(N*ae-1)*Math.pow(2,$);G=G+_e}else{ie=N*Math.pow(2,_e-1)*Math.pow(2,$);G=0}}for(;$>=8;E[R+Te]=ie&255,Te+=we,ie/=256,$-=8){}G=G<<$|ie;ce+=$;for(;ce>0;E[R+Te]=G&255,Te+=we,G/=256,ce-=8){}E[R+Te-we]|=Ie*128}},11174:E=>{E.exports=Long;var N=null;try{N=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function Long(E,N,R){this.low=E|0;this.high=N|0;this.unsigned=!!R}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(E){return(E&&E["__isLong__"])===true}Long.isLong=isLong;var R={};var j={};function fromInt(E,N){var $,q,G;if(N){E>>>=0;if(G=0<=E&&E<256){q=j[E];if(q)return q}$=fromBits(E,(E|0)<0?-1:0,true);if(G)j[E]=$;return $}else{E|=0;if(G=-128<=E&&E<128){q=R[E];if(q)return q}$=fromBits(E,E<0?-1:0,false);if(G)R[E]=$;return $}}Long.fromInt=fromInt;function fromNumber(E,N){if(isNaN(E))return N?Ee:_e;if(N){if(E<0)return Ee;if(E>=ae)return Me}else{if(E<=-ce)return Le;if(E+1>=ce)return Ne}if(E<0)return fromNumber(-E,N).neg();return fromBits(E%ie|0,E/ie|0,N)}Long.fromNumber=fromNumber;function fromBits(E,N,R){return new Long(E,N,R)}Long.fromBits=fromBits;var $=Math.pow;function fromString(E,N,R){if(E.length===0)throw Error("empty string");if(E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return _e;if(typeof N==="number"){R=N,N=false}else{N=!!N}R=R||10;if(R<2||36<R)throw RangeError("radix");var j;if((j=E.indexOf("-"))>0)throw Error("interior hyphen");else if(j===0){return fromString(E.substring(1),N,R).neg()}var q=fromNumber($(R,8));var G=_e;for(var ie=0;ie<E.length;ie+=8){var ae=Math.min(8,E.length-ie),ce=parseInt(E.substring(ie,ie+ae),R);if(ae<8){var le=fromNumber($(R,ae));G=G.mul(le).add(fromNumber(ce))}else{G=G.mul(q);G=G.add(fromNumber(ce))}}G.unsigned=N;return G}Long.fromString=fromString;function fromValue(E,N){if(typeof E==="number")return fromNumber(E,N);if(typeof E==="string")return fromString(E,N);return fromBits(E.low,E.high,typeof N==="boolean"?N:E.unsigned)}Long.fromValue=fromValue;var q=1<<16;var G=1<<24;var ie=q*q;var ae=ie*ie;var ce=ae/2;var le=fromInt(G);var _e=fromInt(0);Long.ZERO=_e;var Ee=fromInt(0,true);Long.UZERO=Ee;var Te=fromInt(1);Long.ONE=Te;var we=fromInt(1,true);Long.UONE=we;var Ie=fromInt(-1);Long.NEG_ONE=Ie;var Ne=fromBits(4294967295|0,2147483647|0,false);Long.MAX_VALUE=Ne;var Me=fromBits(4294967295|0,4294967295|0,true);Long.MAX_UNSIGNED_VALUE=Me;var Le=fromBits(0,2147483648|0,false);Long.MIN_VALUE=Le;var Be=Long.prototype;Be.toInt=function toInt(){return this.unsigned?this.low>>>0:this.low};Be.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ie+(this.low>>>0);return this.high*ie+(this.low>>>0)};Be.toString=function toString(E){E=E||10;if(E<2||36<E)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(Le)){var N=fromNumber(E),R=this.div(N),j=R.mul(N).sub(this);return R.toString(E)+j.toInt().toString(E)}else return"-"+this.neg().toString(E)}var q=fromNumber($(E,6),this.unsigned),G=this;var ie="";while(true){var ae=G.div(q),ce=G.sub(ae.mul(q)).toInt()>>>0,le=ce.toString(E);G=ae;if(G.isZero())return le+ie;else{while(le.length<6)le="0"+le;ie=""+le+ie}}};Be.getHighBits=function getHighBits(){return this.high};Be.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Be.getLowBits=function getLowBits(){return this.low};Be.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Be.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Le)?64:this.neg().getNumBitsAbs();var E=this.high!=0?this.high:this.low;for(var N=31;N>0;N--)if((E&1<<N)!=0)break;return this.high!=0?N+33:N+1};Be.isZero=function isZero(){return this.high===0&&this.low===0};Be.eqz=Be.isZero;Be.isNegative=function isNegative(){return!this.unsigned&&this.high<0};Be.isPositive=function isPositive(){return this.unsigned||this.high>=0};Be.isOdd=function isOdd(){return(this.low&1)===1};Be.isEven=function isEven(){return(this.low&1)===0};Be.equals=function equals(E){if(!isLong(E))E=fromValue(E);if(this.unsigned!==E.unsigned&&this.high>>>31===1&&E.high>>>31===1)return false;return this.high===E.high&&this.low===E.low};Be.eq=Be.equals;Be.notEquals=function notEquals(E){return!this.eq(E)};Be.neq=Be.notEquals;Be.ne=Be.notEquals;Be.lessThan=function lessThan(E){return this.comp(E)<0};Be.lt=Be.lessThan;Be.lessThanOrEqual=function lessThanOrEqual(E){return this.comp(E)<=0};Be.lte=Be.lessThanOrEqual;Be.le=Be.lessThanOrEqual;Be.greaterThan=function greaterThan(E){return this.comp(E)>0};Be.gt=Be.greaterThan;Be.greaterThanOrEqual=function greaterThanOrEqual(E){return this.comp(E)>=0};Be.gte=Be.greaterThanOrEqual;Be.ge=Be.greaterThanOrEqual;Be.compare=function compare(E){if(!isLong(E))E=fromValue(E);if(this.eq(E))return 0;var N=this.isNegative(),R=E.isNegative();if(N&&!R)return-1;if(!N&&R)return 1;if(!this.unsigned)return this.sub(E).isNegative()?-1:1;return E.high>>>0>this.high>>>0||E.high===this.high&&E.low>>>0>this.low>>>0?-1:1};Be.comp=Be.compare;Be.negate=function negate(){if(!this.unsigned&&this.eq(Le))return Le;return this.not().add(Te)};Be.neg=Be.negate;Be.add=function add(E){if(!isLong(E))E=fromValue(E);var N=this.high>>>16;var R=this.high&65535;var j=this.low>>>16;var $=this.low&65535;var q=E.high>>>16;var G=E.high&65535;var ie=E.low>>>16;var ae=E.low&65535;var ce=0,le=0,_e=0,Ee=0;Ee+=$+ae;_e+=Ee>>>16;Ee&=65535;_e+=j+ie;le+=_e>>>16;_e&=65535;le+=R+G;ce+=le>>>16;le&=65535;ce+=N+q;ce&=65535;return fromBits(_e<<16|Ee,ce<<16|le,this.unsigned)};Be.subtract=function subtract(E){if(!isLong(E))E=fromValue(E);return this.add(E.neg())};Be.sub=Be.subtract;Be.multiply=function multiply(E){if(this.isZero())return _e;if(!isLong(E))E=fromValue(E);if(N){var R=N["mul"](this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}if(E.isZero())return _e;if(this.eq(Le))return E.isOdd()?Le:_e;if(E.eq(Le))return this.isOdd()?Le:_e;if(this.isNegative()){if(E.isNegative())return this.neg().mul(E.neg());else return this.neg().mul(E).neg()}else if(E.isNegative())return this.mul(E.neg()).neg();if(this.lt(le)&&E.lt(le))return fromNumber(this.toNumber()*E.toNumber(),this.unsigned);var j=this.high>>>16;var $=this.high&65535;var q=this.low>>>16;var G=this.low&65535;var ie=E.high>>>16;var ae=E.high&65535;var ce=E.low>>>16;var Ee=E.low&65535;var Te=0,we=0,Ie=0,Ne=0;Ne+=G*Ee;Ie+=Ne>>>16;Ne&=65535;Ie+=q*Ee;we+=Ie>>>16;Ie&=65535;Ie+=G*ce;we+=Ie>>>16;Ie&=65535;we+=$*Ee;Te+=we>>>16;we&=65535;we+=q*ce;Te+=we>>>16;we&=65535;we+=G*ae;Te+=we>>>16;we&=65535;Te+=j*Ee+$*ce+q*ae+G*ie;Te&=65535;return fromBits(Ie<<16|Ne,Te<<16|we,this.unsigned)};Be.mul=Be.multiply;Be.divide=function divide(E){if(!isLong(E))E=fromValue(E);if(E.isZero())throw Error("division by zero");if(N){if(!this.unsigned&&this.high===-2147483648&&E.low===-1&&E.high===-1){return this}var R=(this.unsigned?N["div_u"]:N["div_s"])(this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?Ee:_e;var j,q,G;if(!this.unsigned){if(this.eq(Le)){if(E.eq(Te)||E.eq(Ie))return Le;else if(E.eq(Le))return Te;else{var ie=this.shr(1);j=ie.div(E).shl(1);if(j.eq(_e)){return E.isNegative()?Te:Ie}else{q=this.sub(E.mul(j));G=j.add(q.div(E));return G}}}else if(E.eq(Le))return this.unsigned?Ee:_e;if(this.isNegative()){if(E.isNegative())return this.neg().div(E.neg());return this.neg().div(E).neg()}else if(E.isNegative())return this.div(E.neg()).neg();G=_e}else{if(!E.unsigned)E=E.toUnsigned();if(E.gt(this))return Ee;if(E.gt(this.shru(1)))return we;G=Ee}q=this;while(q.gte(E)){j=Math.max(1,Math.floor(q.toNumber()/E.toNumber()));var ae=Math.ceil(Math.log(j)/Math.LN2),ce=ae<=48?1:$(2,ae-48),le=fromNumber(j),Ne=le.mul(E);while(Ne.isNegative()||Ne.gt(q)){j-=ce;le=fromNumber(j,this.unsigned);Ne=le.mul(E)}if(le.isZero())le=Te;G=G.add(le);q=q.sub(Ne)}return G};Be.div=Be.divide;Be.modulo=function modulo(E){if(!isLong(E))E=fromValue(E);if(N){var R=(this.unsigned?N["rem_u"]:N["rem_s"])(this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}return this.sub(this.div(E).mul(E))};Be.mod=Be.modulo;Be.rem=Be.modulo;Be.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Be.and=function and(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low&E.low,this.high&E.high,this.unsigned)};Be.or=function or(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low|E.low,this.high|E.high,this.unsigned)};Be.xor=function xor(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low^E.low,this.high^E.high,this.unsigned)};Be.shiftLeft=function shiftLeft(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low<<E,this.high<<E|this.low>>>32-E,this.unsigned);else return fromBits(0,this.low<<E-32,this.unsigned)};Be.shl=Be.shiftLeft;Be.shiftRight=function shiftRight(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>E,this.unsigned);else return fromBits(this.high>>E-32,this.high>=0?0:-1,this.unsigned)};Be.shr=Be.shiftRight;Be.shiftRightUnsigned=function shiftRightUnsigned(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>>E,this.unsigned);if(E===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>E-32,0,this.unsigned)};Be.shru=Be.shiftRightUnsigned;Be.shr_u=Be.shiftRightUnsigned;Be.rotateLeft=function rotateLeft(E){var N;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){N=32-E;return fromBits(this.low<<E|this.high>>>N,this.high<<E|this.low>>>N,this.unsigned)}E-=32;N=32-E;return fromBits(this.high<<E|this.low>>>N,this.low<<E|this.high>>>N,this.unsigned)};Be.rotl=Be.rotateLeft;Be.rotateRight=function rotateRight(E){var N;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){N=32-E;return fromBits(this.high<<N|this.low>>>E,this.low<<N|this.high>>>E,this.unsigned)}E-=32;N=32-E;return fromBits(this.low<<N|this.high>>>E,this.high<<N|this.low>>>E,this.unsigned)};Be.rotr=Be.rotateRight;Be.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Be.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Be.toBytes=function toBytes(E){return E?this.toBytesLE():this.toBytesBE()};Be.toBytesLE=function toBytesLE(){var E=this.high,N=this.low;return[N&255,N>>>8&255,N>>>16&255,N>>>24,E&255,E>>>8&255,E>>>16&255,E>>>24]};Be.toBytesBE=function toBytesBE(){var E=this.high,N=this.low;return[E>>>24,E>>>16&255,E>>>8&255,E&255,N>>>24,N>>>16&255,N>>>8&255,N&255]};Long.fromBytes=function fromBytes(E,N,R){return R?Long.fromBytesLE(E,N):Long.fromBytesBE(E,N)};Long.fromBytesLE=function fromBytesLE(E,N){return new Long(E[0]|E[1]<<8|E[2]<<16|E[3]<<24,E[4]|E[5]<<8|E[6]<<16|E[7]<<24,N)};Long.fromBytesBE=function fromBytesBE(E,N){return new Long(E[4]<<24|E[5]<<16|E[6]<<8|E[7],E[0]<<24|E[1]<<16|E[2]<<8|E[3],N)}},20976:function(E,N){(function(E,R){true?R(N):0})(this,(function(E){"use strict";var N={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var R="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var j={5:R,"5module":R+" export import",6:R+" const class extends export import super"};var $=/^in(stanceof)?$/;var q="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var G="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍--_";var ie=new RegExp("["+q+"]");var ae=new RegExp("["+q+G+"]");q=G=null;var ce=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var le=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(E,N){var R=65536;for(var j=0;j<N.length;j+=2){R+=N[j];if(R>E){return false}R+=N[j+1];if(R>=E){return true}}}function isIdentifierStart(E,N){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)}function isIdentifierChar(E,N){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)||isInAstralSet(E,le)}var _e=function TokenType(E,N){if(N===void 0)N={};this.label=E;this.keyword=N.keyword;this.beforeExpr=!!N.beforeExpr;this.startsExpr=!!N.startsExpr;this.isLoop=!!N.isLoop;this.isAssign=!!N.isAssign;this.prefix=!!N.prefix;this.postfix=!!N.postfix;this.binop=N.binop||null;this.updateContext=null};function binop(E,N){return new _e(E,{beforeExpr:true,binop:N})}var Ee={beforeExpr:true},Te={startsExpr:true};var we={};function kw(E,N){if(N===void 0)N={};N.keyword=E;return we[E]=new _e(E,N)}var Ie={num:new _e("num",Te),regexp:new _e("regexp",Te),string:new _e("string",Te),name:new _e("name",Te),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",Ee),semi:new _e(";",Ee),colon:new _e(":",Ee),dot:new _e("."),question:new _e("?",Ee),questionDot:new _e("?."),arrow:new _e("=>",Ee),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",Ee),backQuote:new _e("`",Te),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",Ee),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Ee),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",Ee),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Te),_if:kw("if"),_return:kw("return",Ee),_switch:kw("switch"),_throw:kw("throw",Ee),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Te),_super:kw("super",Te),_class:kw("class",Te),_extends:kw("extends",Ee),_export:kw("export"),_import:kw("import",Te),_null:kw("null",Te),_true:kw("true",Te),_false:kw("false",Te),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Me=new RegExp(Ne.source,"g");function isNewLine(E,N){return E===10||E===13||!N&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var je=Object.prototype;var Ue=je.hasOwnProperty;var ze=je.toString;function has(E,N){return Ue.call(E,N)}var We=Array.isArray||function(E){return ze.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var Je=function Position(E,N){this.line=E;this.column=N};Je.prototype.offset=function offset(E){return new Je(this.line,this.column+E)};var Ve=function SourceLocation(E,N,R){this.start=N;this.end=R;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,N){for(var R=1,j=0;;){Me.lastIndex=j;var $=Me.exec(E);if($&&$.index<N){++R;j=$.index+$[0].length}else{return new Je(R,N-j)}}}var qe={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:false,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};function getOptions(E){var N={};for(var R in qe){N[R]=E&&has(E,R)?E[R]:qe[R]}if(N.ecmaVersion>=2015){N.ecmaVersion-=2009}if(N.allowReserved==null){N.allowReserved=N.ecmaVersion<5}if(We(N.onToken)){var j=N.onToken;N.onToken=function(E){return j.push(E)}}if(We(N.onComment)){N.onComment=pushComment(N,N.onComment)}return N}function pushComment(E,N){return function(R,j,$,q,G,ie){var ae={type:R?"Block":"Line",value:j,start:$,end:q};if(E.locations){ae.loc=new Ve(this,G,ie)}if(E.ranges){ae.range=[$,q]}N.push(ae)}}var He=1,Ge=2,Ke=He|Ge,Qe=4,Xe=8,Ye=16,Ze=32,et=64,tt=128;function functionFlags(E,N){return Ge|(E?Qe:0)|(N?Xe:0)}var rt=0,nt=1,it=2,ot=3,st=4,ct=5;var ut=function Parser(E,R,$){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(j[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){for(var G=E.ecmaVersion;;G--){if(q=N[G]){break}}if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var ie=(q?q+" ":"")+N.strict;this.reservedWordsStrict=wordsRegexp(ie);this.reservedWordsStrictBind=wordsRegexp(ie+" "+N.strictBind);this.input=String(R);this.containsEsc=false;if($){this.pos=$;this.lineStart=this.input.lastIndexOf("\n",$-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ie.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(He);this.regexpState=null};var dt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};ut.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};dt.inFunction.get=function(){return(this.currentVarScope().flags&Ge)>0};dt.inGenerator.get=function(){return(this.currentVarScope().flags&Xe)>0};dt.inAsync.get=function(){return(this.currentVarScope().flags&Qe)>0};dt.allowSuper.get=function(){return(this.currentThisScope().flags&et)>0};dt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&tt)>0};dt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ut.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&Ge)>0};ut.extend=function extend(){var E=[],N=arguments.length;while(N--)E[N]=arguments[N];var R=this;for(var j=0;j<E.length;j++){R=E[j](R)}return R};ut.parse=function parse(E,N){return new this(N,E).parse()};ut.parseExpressionAt=function parseExpressionAt(E,N,R){var j=new this(R,E,N);j.nextToken();return j.parseExpression()};ut.tokenizer=function tokenizer(E,N){return new this(N,E)};Object.defineProperties(ut.prototype,dt);var pt=ut.prototype;var ft=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;pt.strictDirective=function(E){for(;;){Be.lastIndex=E;E+=Be.exec(this.input)[0].length;var N=ft.exec(this.input.slice(E));if(!N){return false}if((N[1]||N[2])==="use strict"){Be.lastIndex=E+N[0].length;var R=Be.exec(this.input),j=R.index+R[0].length;var $=this.input.charAt(j);return $===";"||$==="}"||Ne.test(R[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test($)||$==="!"&&this.input.charAt(j+1)==="=")}E+=N[0].length;Be.lastIndex=E;E+=Be.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};pt.eat=function(E){if(this.type===E){this.next();return true}else{return false}};pt.isContextual=function(E){return this.type===Ie.name&&this.value===E&&!this.containsEsc};pt.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};pt.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};pt.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};pt.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};pt.semicolon=function(){if(!this.eat(Ie.semi)&&!this.insertSemicolon()){this.unexpected()}};pt.afterTrailingComma=function(E,N){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!N){this.next()}return true}};pt.expect=function(E){this.eat(E)||this.unexpected()};pt.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}pt.checkPatternErrors=function(E,N){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var R=N?E.parenthesizedAssign:E.parenthesizedBind;if(R>-1){this.raiseRecoverable(R,"Parenthesized pattern")}};pt.checkExpressionErrors=function(E,N){if(!E){return false}var R=E.shorthandAssign;var j=E.doubleProto;if(!N){return R>=0||j>=0}if(R>=0){this.raise(R,"Shorthand property assignments are valid only in destructuring patterns")}if(j>=0){this.raiseRecoverable(j,"Redefinition of __proto__ property")}};pt.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};pt.isSimpleAssignTarget=function(E){if(E.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(E.expression)}return E.type==="Identifier"||E.type==="MemberExpression"};var mt=ut.prototype;mt.parseTopLevel=function(E){var N={};if(!E.body){E.body=[]}while(this.type!==Ie.eof){var R=this.parseStatement(null,true,N);E.body.push(R)}if(this.inModule){for(var j=0,$=Object.keys(this.undefinedExports);j<$.length;j+=1){var q=$[j];this.raiseRecoverable(this.undefinedExports[q].start,"Export '"+q+"' is not defined")}}this.adaptDirectivePrologue(E.body);this.next();E.sourceType=this.options.sourceType;return this.finishNode(E,"Program")};var ht={kind:"loop"},_t={kind:"switch"};mt.isLet=function(E){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}Be.lastIndex=this.pos;var N=Be.exec(this.input);var R=this.pos+N[0].length,j=this.input.charCodeAt(R);if(j===91){return true}if(E){return false}if(j===123){return true}if(isIdentifierStart(j,true)){var q=R+1;while(isIdentifierChar(this.input.charCodeAt(q),true)){++q}var G=this.input.slice(R,q);if(!$.test(G)){return true}}return false};mt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}Be.lastIndex=this.pos;var E=Be.exec(this.input);var N=this.pos+E[0].length;return!Ne.test(this.input.slice(this.pos,N))&&this.input.slice(N,N+8)==="function"&&(N+8===this.input.length||!isIdentifierChar(this.input.charAt(N+8)))};mt.parseStatement=function(E,N,R){var j=this.type,$=this.startNode(),q;if(this.isLet(E)){j=Ie._var;q="let"}switch(j){case Ie._break:case Ie._continue:return this.parseBreakContinueStatement($,j.keyword);case Ie._debugger:return this.parseDebuggerStatement($);case Ie._do:return this.parseDoStatement($);case Ie._for:return this.parseForStatement($);case Ie._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement($,false,!E);case Ie._class:if(E){this.unexpected()}return this.parseClass($,true);case Ie._if:return this.parseIfStatement($);case Ie._return:return this.parseReturnStatement($);case Ie._switch:return this.parseSwitchStatement($);case Ie._throw:return this.parseThrowStatement($);case Ie._try:return this.parseTryStatement($);case Ie._const:case Ie._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement($,q);case Ie._while:return this.parseWhileStatement($);case Ie._with:return this.parseWithStatement($);case Ie.braceL:return this.parseBlock(true,$);case Ie.semi:return this.parseEmptyStatement($);case Ie._export:case Ie._import:if(this.options.ecmaVersion>10&&j===Ie._import){Be.lastIndex=this.pos;var G=Be.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement($,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!N){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return j===Ie._import?this.parseImport($):this.parseExport($,R);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement($,true,!E)}var ce=this.value,le=this.parseExpression();if(j===Ie.name&&le.type==="Identifier"&&this.eat(Ie.colon)){return this.parseLabeledStatement($,ce,le,E)}else{return this.parseExpressionStatement($,le)}}};mt.parseBreakContinueStatement=function(E,N){var R=N==="break";this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ie.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var j=0;for(;j<this.labels.length;++j){var $=this.labels[j];if(E.label==null||$.name===E.label.name){if($.kind!=null&&(R||$.kind==="loop")){break}if(E.label&&R){break}}}if(j===this.labels.length){this.raise(E.start,"Unsyntactic "+N)}return this.finishNode(E,R?"BreakStatement":"ContinueStatement")};mt.parseDebuggerStatement=function(E){this.next();this.semicolon();return this.finishNode(E,"DebuggerStatement")};mt.parseDoStatement=function(E){this.next();this.labels.push(ht);E.body=this.parseStatement("do");this.labels.pop();this.expect(Ie._while);E.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(Ie.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};mt.parseForStatement=function(E){this.next();var N=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ht);this.enterScope(0);this.expect(Ie.parenL);if(this.type===Ie.semi){if(N>-1){this.unexpected(N)}return this.parseFor(E,null)}var R=this.isLet();if(this.type===Ie._var||this.type===Ie._const||R){var j=this.startNode(),$=R?"let":this.value;this.next();this.parseVar(j,true,$);this.finishNode(j,"VariableDeclaration");if((this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&j.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}return this.parseForIn(E,j)}if(N>-1){this.unexpected(N)}return this.parseFor(E,j)}var q=new DestructuringErrors;var G=this.parseExpression(true,q);if(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}this.toAssignable(G,false,q);this.checkLVal(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(N>-1){this.unexpected(N)}return this.parseFor(E,G)};mt.parseFunctionStatement=function(E,N,R){this.next();return this.parseFunction(E,vt|(R?0:bt),false,N)};mt.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ie._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};mt.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};mt.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ie.braceL);this.labels.push(_t);this.enterScope(0);var N;for(var R=false;this.type!==Ie.braceR;){if(this.type===Ie._case||this.type===Ie._default){var j=this.type===Ie._case;if(N){this.finishNode(N,"SwitchCase")}E.cases.push(N=this.startNode());N.consequent=[];this.next();if(j){N.test=this.parseExpression()}else{if(R){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}R=true;N.test=null}this.expect(Ie.colon)}else{if(!N){this.unexpected()}N.consequent.push(this.parseStatement(null))}}this.exitScope();if(N){this.finishNode(N,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};mt.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var yt=[];mt.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ie._catch){var N=this.startNode();this.next();if(this.eat(Ie.parenL)){N.param=this.parseBindingAtom();var R=N.param.type==="Identifier";this.enterScope(R?Ze:0);this.checkLVal(N.param,R?st:it);this.expect(Ie.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}N.param=null;this.enterScope(0)}N.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(N,"CatchClause")}E.finalizer=this.eat(Ie._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};mt.parseVarStatement=function(E,N){this.next();this.parseVar(E,false,N);this.semicolon();return this.finishNode(E,"VariableDeclaration")};mt.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(ht);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};mt.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};mt.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};mt.parseLabeledStatement=function(E,N,R,j){for(var $=0,q=this.labels;$<q.length;$+=1){var G=q[$];if(G.name===N){this.raise(R.start,"Label '"+N+"' is already declared")}}var ie=this.type.isLoop?"loop":this.type===Ie._switch?"switch":null;for(var ae=this.labels.length-1;ae>=0;ae--){var ce=this.labels[ae];if(ce.statementStart===E.start){ce.statementStart=this.start;ce.kind=ie}else{break}}this.labels.push({name:N,kind:ie,statementStart:this.start});E.body=this.parseStatement(j?j.indexOf("label")===-1?j+"label":j:"label");this.labels.pop();E.label=R;return this.finishNode(E,"LabeledStatement")};mt.parseExpressionStatement=function(E,N){E.expression=N;this.semicolon();return this.finishNode(E,"ExpressionStatement")};mt.parseBlock=function(E,N,R){if(E===void 0)E=true;if(N===void 0)N=this.startNode();N.body=[];this.expect(Ie.braceL);if(E){this.enterScope(0)}while(this.type!==Ie.braceR){var j=this.parseStatement(null);N.body.push(j)}if(R){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(N,"BlockStatement")};mt.parseFor=function(E,N){E.init=N;this.expect(Ie.semi);E.test=this.type===Ie.semi?null:this.parseExpression();this.expect(Ie.semi);E.update=this.type===Ie.parenR?null:this.parseExpression();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};mt.parseForIn=function(E,N){var R=this.type===Ie._in;this.next();if(N.type==="VariableDeclaration"&&N.declarations[0].init!=null&&(!R||this.options.ecmaVersion<8||this.strict||N.kind!=="var"||N.declarations[0].id.type!=="Identifier")){this.raise(N.start,(R?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(N.type==="AssignmentPattern"){this.raise(N.start,"Invalid left-hand side in for-loop")}E.left=N;E.right=R?this.parseExpression():this.parseMaybeAssign();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,R?"ForInStatement":"ForOfStatement")};mt.parseVar=function(E,N,R){E.declarations=[];E.kind=R;for(;;){var j=this.startNode();this.parseVarId(j,R);if(this.eat(Ie.eq)){j.init=this.parseMaybeAssign(N)}else if(R==="const"&&!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(j.id.type!=="Identifier"&&!(N&&(this.type===Ie._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{j.init=null}E.declarations.push(this.finishNode(j,"VariableDeclarator"));if(!this.eat(Ie.comma)){break}}return E};mt.parseVarId=function(E,N){E.id=this.parseBindingAtom();this.checkLVal(E.id,N==="var"?nt:it,false)};var vt=1,bt=2,xt=4;mt.parseFunction=function(E,N,R,j){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!j){if(this.type===Ie.star&&N&bt){this.unexpected()}E.generator=this.eat(Ie.star)}if(this.options.ecmaVersion>=8){E.async=!!j}if(N&vt){E.id=N&xt&&this.type!==Ie.name?null:this.parseIdent();if(E.id&&!(N&bt)){this.checkLVal(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?nt:it:ot)}}var $=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(N&vt)){E.id=this.type===Ie.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,R,false);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,N&vt?"FunctionDeclaration":"FunctionExpression")};mt.parseFunctionParams=function(E){this.expect(Ie.parenL);E.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};mt.parseClass=function(E,N){this.next();var R=this.strict;this.strict=true;this.parseClassId(E,N);this.parseClassSuper(E);var j=this.startNode();var $=false;j.body=[];this.expect(Ie.braceL);while(this.type!==Ie.braceR){var q=this.parseClassElement(E.superClass!==null);if(q){j.body.push(q);if(q.type==="MethodDefinition"&&q.kind==="constructor"){if($){this.raise(q.start,"Duplicate constructor in the same class")}$=true}}}this.strict=R;this.next();E.body=this.finishNode(j,"ClassBody");return this.finishNode(E,N?"ClassDeclaration":"ClassExpression")};mt.parseClassElement=function(E){var N=this;if(this.eat(Ie.semi)){return null}var R=this.startNode();var tryContextual=function(E,j){if(j===void 0)j=false;var $=N.start,q=N.startLoc;if(!N.eatContextual(E)){return false}if(N.type!==Ie.parenL&&(!j||!N.canInsertSemicolon())){return true}if(R.key){N.unexpected()}R.computed=false;R.key=N.startNodeAt($,q);R.key.name=E;N.finishNode(R.key,"Identifier");return false};R.kind="method";R.static=tryContextual("static");var j=this.eat(Ie.star);var $=false;if(!j){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star)}else if(tryContextual("get")){R.kind="get"}else if(tryContextual("set")){R.kind="set"}}if(!R.key){this.parsePropertyName(R)}var q=R.key;var G=false;if(!R.computed&&!R.static&&(q.type==="Identifier"&&q.name==="constructor"||q.type==="Literal"&&q.value==="constructor")){if(R.kind!=="method"){this.raise(q.start,"Constructor can't have get/set modifier")}if(j){this.raise(q.start,"Constructor can't be a generator")}if($){this.raise(q.start,"Constructor can't be an async method")}R.kind="constructor";G=E}else if(R.static&&q.type==="Identifier"&&q.name==="prototype"){this.raise(q.start,"Classes may not have a static property named prototype")}this.parseClassMethod(R,j,$,G);if(R.kind==="get"&&R.value.params.length!==0){this.raiseRecoverable(R.value.start,"getter should have no params")}if(R.kind==="set"&&R.value.params.length!==1){this.raiseRecoverable(R.value.start,"setter should have exactly one param")}if(R.kind==="set"&&R.value.params[0].type==="RestElement"){this.raiseRecoverable(R.value.params[0].start,"Setter cannot use rest params")}return R};mt.parseClassMethod=function(E,N,R,j){E.value=this.parseMethod(N,R,j);return this.finishNode(E,"MethodDefinition")};mt.parseClassId=function(E,N){if(this.type===Ie.name){E.id=this.parseIdent();if(N){this.checkLVal(E.id,it,false)}}else{if(N===true){this.unexpected()}E.id=null}};mt.parseClassSuper=function(E){E.superClass=this.eat(Ie._extends)?this.parseExprSubscripts():null};mt.parseExport=function(E,N){this.next();if(this.eat(Ie.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ie._default)){this.checkExport(N,"default",this.lastTokStart);var R;if(this.type===Ie._function||(R=this.isAsyncFunction())){var j=this.startNode();this.next();if(R){this.next()}E.declaration=this.parseFunction(j,vt|xt,false,R)}else if(this.type===Ie._class){var $=this.startNode();E.declaration=this.parseClass($,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q<G.length;q+=1){var ie=G[q];this.checkUnreserved(ie.local);this.checkLocalExport(ie.local)}E.source=null}this.semicolon()}return this.finishNode(E,"ExportNamedDeclaration")};mt.checkExport=function(E,N,R){if(!E){return}if(has(E,N)){this.raiseRecoverable(R,"Duplicate export '"+N+"'")}E[N]=true};mt.checkPatternExport=function(E,N){var R=N.type;if(R==="Identifier"){this.checkExport(E,N.name,N.start)}else if(R==="ObjectPattern"){for(var j=0,$=N.properties;j<$.length;j+=1){var q=$[j];this.checkPatternExport(E,q)}}else if(R==="ArrayPattern"){for(var G=0,ie=N.elements;G<ie.length;G+=1){var ae=ie[G];if(ae){this.checkPatternExport(E,ae)}}}else if(R==="Property"){this.checkPatternExport(E,N.value)}else if(R==="AssignmentPattern"){this.checkPatternExport(E,N.left)}else if(R==="RestElement"){this.checkPatternExport(E,N.argument)}else if(R==="ParenthesizedExpression"){this.checkPatternExport(E,N.expression)}};mt.checkVariableExport=function(E,N){if(!E){return}for(var R=0,j=N;R<j.length;R+=1){var $=j[R];this.checkPatternExport(E,$.id)}};mt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};mt.parseExportSpecifiers=function(E){var N=[],R=true;this.expect(Ie.braceL);while(!this.eat(Ie.braceR)){if(!R){this.expect(Ie.comma);if(this.afterTrailingComma(Ie.braceR)){break}}else{R=false}var j=this.startNode();j.local=this.parseIdent(true);j.exported=this.eatContextual("as")?this.parseIdent(true):j.local;this.checkExport(E,j.exported.name,j.exported.start);N.push(this.finishNode(j,"ExportSpecifier"))}return N};mt.parseImport=function(E){this.next();if(this.type===Ie.string){E.specifiers=yt;E.source=this.parseExprAtom()}else{E.specifiers=this.parseImportSpecifiers();this.expectContextual("from");E.source=this.type===Ie.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(E,"ImportDeclaration")};mt.parseImportSpecifiers=function(){var E=[],N=true;if(this.type===Ie.name){var R=this.startNode();R.local=this.parseIdent();this.checkLVal(R.local,it);E.push(this.finishNode(R,"ImportDefaultSpecifier"));if(!this.eat(Ie.comma)){return E}}if(this.type===Ie.star){var j=this.startNode();this.next();this.expectContextual("as");j.local=this.parseIdent();this.checkLVal(j.local,it);E.push(this.finishNode(j,"ImportNamespaceSpecifier"));return E}this.expect(Ie.braceL);while(!this.eat(Ie.braceR)){if(!N){this.expect(Ie.comma);if(this.afterTrailingComma(Ie.braceR)){break}}else{N=false}var $=this.startNode();$.imported=this.parseIdent(true);if(this.eatContextual("as")){$.local=this.parseIdent()}else{this.checkUnreserved($.imported);$.local=$.imported}this.checkLVal($.local,it);E.push(this.finishNode($,"ImportSpecifier"))}return E};mt.adaptDirectivePrologue=function(E){for(var N=0;N<E.length&&this.isDirectiveCandidate(E[N]);++N){E[N].directive=E[N].expression.raw.slice(1,-1)}};mt.isDirectiveCandidate=function(E){return E.type==="ExpressionStatement"&&E.expression.type==="Literal"&&typeof E.expression.value==="string"&&(this.input[E.start]==='"'||this.input[E.start]==="'")};var St=ut.prototype;St.toAssignable=function(E,N,R){if(this.options.ecmaVersion>=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(R){this.checkPatternErrors(R,true)}for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.toAssignable(q,N);if(q.type==="RestElement"&&(q.argument.type==="ArrayPattern"||q.argument.type==="ObjectPattern")){this.raise(q.argument.start,"Unexpected token")}}break;case"Property":if(E.kind!=="init"){this.raise(E.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(E.value,N);break;case"ArrayExpression":E.type="ArrayPattern";if(R){this.checkPatternErrors(R,true)}this.toAssignableList(E.elements,N);break;case"SpreadElement":E.type="RestElement";this.toAssignable(E.argument,N);if(E.argument.type==="AssignmentPattern"){this.raise(E.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(E.operator!=="="){this.raise(E.left.end,"Only '=' operator can be used for specifying default value.")}E.type="AssignmentPattern";delete E.operator;this.toAssignable(E.left,N);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(E.expression,N,R);break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!N){break}default:this.raise(E.start,"Assigning to rvalue")}}else if(R){this.checkPatternErrors(R,true)}return E};St.toAssignableList=function(E,N){var R=E.length;for(var j=0;j<R;j++){var $=E[j];if($){this.toAssignable($,N)}}if(R){var q=E[R-1];if(this.options.ecmaVersion===6&&N&&q&&q.type==="RestElement"&&q.argument.type!=="Identifier"){this.unexpected(q.argument.start)}}return E};St.parseSpread=function(E){var N=this.startNode();this.next();N.argument=this.parseMaybeAssign(false,E);return this.finishNode(N,"SpreadElement")};St.parseRestBinding=function(){var E=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==Ie.name){this.unexpected()}E.argument=this.parseBindingAtom();return this.finishNode(E,"RestElement")};St.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case Ie.bracketL:var E=this.startNode();this.next();E.elements=this.parseBindingList(Ie.bracketR,true,true);return this.finishNode(E,"ArrayPattern");case Ie.braceL:return this.parseObj(true)}}return this.parseIdent()};St.parseBindingList=function(E,N,R){var j=[],$=true;while(!this.eat(E)){if($){$=false}else{this.expect(Ie.comma)}if(N&&this.type===Ie.comma){j.push(null)}else if(R&&this.afterTrailingComma(E)){break}else if(this.type===Ie.ellipsis){var q=this.parseRestBinding();this.parseBindingListItem(q);j.push(q);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(E);break}else{var G=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(G);j.push(G)}}return j};St.parseBindingListItem=function(E){return E};St.parseMaybeDefault=function(E,N,R){R=R||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(Ie.eq)){return R}var j=this.startNodeAt(E,N);j.left=R;j.right=this.parseMaybeAssign();return this.finishNode(j,"AssignmentPattern")};St.checkLVal=function(E,N,R){if(N===void 0)N=rt;switch(E.type){case"Identifier":if(N===it&&E.name==="let"){this.raiseRecoverable(E.start,"let is disallowed as a lexically bound name")}if(this.strict&&this.reservedWordsStrictBind.test(E.name)){this.raiseRecoverable(E.start,(N?"Binding ":"Assigning to ")+E.name+" in strict mode")}if(R){if(has(R,E.name)){this.raiseRecoverable(E.start,"Argument name clash")}R[E.name]=true}if(N!==rt&&N!==ct){this.declareName(E.name,N,E.start)}break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(N){this.raiseRecoverable(E.start,"Binding member expression")}break;case"ObjectPattern":for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.checkLVal(q,N,R)}break;case"Property":this.checkLVal(E.value,N,R);break;case"ArrayPattern":for(var G=0,ie=E.elements;G<ie.length;G+=1){var ae=ie[G];if(ae){this.checkLVal(ae,N,R)}}break;case"AssignmentPattern":this.checkLVal(E.left,N,R);break;case"RestElement":this.checkLVal(E.argument,N,R);break;case"ParenthesizedExpression":this.checkLVal(E.expression,N,R);break;default:this.raise(E.start,(N?"Binding":"Assigning to")+" rvalue")}};var Et=ut.prototype;Et.checkPropClash=function(E,N,R){if(this.options.ecmaVersion>=9&&E.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(E.computed||E.method||E.shorthand)){return}var j=E.key;var $;switch(j.type){case"Identifier":$=j.name;break;case"Literal":$=String(j.value);break;default:return}var q=E.kind;if(this.options.ecmaVersion>=6){if($==="__proto__"&&q==="init"){if(N.proto){if(R){if(R.doubleProto<0){R.doubleProto=j.start}}else{this.raiseRecoverable(j.start,"Redefinition of __proto__ property")}}N.proto=true}return}$="$"+$;var G=N[$];if(G){var ie;if(q==="init"){ie=this.strict&&G.init||G.get||G.set}else{ie=G.init||G[q]}if(ie){this.raiseRecoverable(j.start,"Redefinition of property")}}else{G=N[$]={init:false,get:false,set:false}}G[q]=true};Et.parseExpression=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeAssign(E,N);if(this.type===Ie.comma){var q=this.startNodeAt(R,j);q.expressions=[$];while(this.eat(Ie.comma)){q.expressions.push(this.parseMaybeAssign(E,N))}return this.finishNode(q,"SequenceExpression")}return $};Et.parseMaybeAssign=function(E,N,R){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(E)}else{this.exprAllowed=false}}var j=false,$=-1,q=-1;if(N){$=N.parenthesizedAssign;q=N.trailingComma;N.parenthesizedAssign=N.trailingComma=-1}else{N=new DestructuringErrors;j=true}var G=this.start,ie=this.startLoc;if(this.type===Ie.parenL||this.type===Ie.name){this.potentialArrowAt=this.start}var ae=this.parseMaybeConditional(E,N);if(R){ae=R.call(this,ae,G,ie)}if(this.type.isAssign){var ce=this.startNodeAt(G,ie);ce.operator=this.value;ce.left=this.type===Ie.eq?this.toAssignable(ae,false,N):ae;if(!j){N.parenthesizedAssign=N.trailingComma=N.doubleProto=-1}if(N.shorthandAssign>=ce.left.start){N.shorthandAssign=-1}this.checkLVal(ae);this.next();ce.right=this.parseMaybeAssign(E);return this.finishNode(ce,"AssignmentExpression")}else{if(j){this.checkExpressionErrors(N,true)}}if($>-1){N.parenthesizedAssign=$}if(q>-1){N.trailingComma=q}return ae};Et.parseMaybeConditional=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseExprOps(E,N);if(this.checkExpressionErrors(N)){return $}if(this.eat(Ie.question)){var q=this.startNodeAt(R,j);q.test=$;q.consequent=this.parseMaybeAssign();this.expect(Ie.colon);q.alternate=this.parseMaybeAssign(E);return this.finishNode(q,"ConditionalExpression")}return $};Et.parseExprOps=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeUnary(N,false);if(this.checkExpressionErrors(N)){return $}return $.start===R&&$.type==="ArrowFunctionExpression"?$:this.parseExprOp($,R,j,-1,E)};Et.parseExprOp=function(E,N,R,j,$){var q=this.type.binop;if(q!=null&&(!$||this.type!==Ie._in)){if(q>j){var G=this.type===Ie.logicalOR||this.type===Ie.logicalAND;var ie=this.type===Ie.coalesce;if(ie){q=Ie.logicalAND.binop}var ae=this.value;this.next();var ce=this.start,le=this.startLoc;var _e=this.parseExprOp(this.parseMaybeUnary(null,false),ce,le,q,$);var Ee=this.buildBinary(N,R,E,_e,ae,G||ie);if(G&&this.type===Ie.coalesce||ie&&(this.type===Ie.logicalOR||this.type===Ie.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(Ee,N,R,j,$)}}return E};Et.buildBinary=function(E,N,R,j,$,q){var G=this.startNodeAt(E,N);G.left=R;G.operator=$;G.right=j;return this.finishNode(G,q?"LogicalExpression":"BinaryExpression")};Et.parseMaybeUnary=function(E,N){var R=this.start,j=this.startLoc,$;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)){$=this.parseAwait();N=true}else if(this.type.prefix){var q=this.startNode(),G=this.type===Ie.incDec;q.operator=this.value;q.prefix=true;this.next();q.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(E,true);if(G){this.checkLVal(q.argument)}else if(this.strict&&q.operator==="delete"&&q.argument.type==="Identifier"){this.raiseRecoverable(q.start,"Deleting local variable in strict mode")}else{N=true}$=this.finishNode(q,G?"UpdateExpression":"UnaryExpression")}else{$=this.parseExprSubscripts(E);if(this.checkExpressionErrors(E)){return $}while(this.type.postfix&&!this.canInsertSemicolon()){var ie=this.startNodeAt(R,j);ie.operator=this.value;ie.prefix=false;ie.argument=$;this.checkLVal($);this.next();$=this.finishNode(ie,"UpdateExpression")}}if(!N&&this.eat(Ie.starstar)){return this.buildBinary(R,j,$,this.parseMaybeUnary(null,false),"**",false)}else{return $}};Et.parseExprSubscripts=function(E){var N=this.start,R=this.startLoc;var j=this.parseExprAtom(E);if(j.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return j}var $=this.parseSubscripts(j,N,R);if(E&&$.type==="MemberExpression"){if(E.parenthesizedAssign>=$.start){E.parenthesizedAssign=-1}if(E.parenthesizedBind>=$.start){E.parenthesizedBind=-1}}return $};Et.parseSubscripts=function(E,N,R,j){var $=this.options.ecmaVersion>=8&&E.type==="Identifier"&&E.name==="async"&&this.lastTokEnd===E.end&&!this.canInsertSemicolon()&&E.end-E.start===5&&this.potentialArrowAt===E.start;var q=false;while(true){var G=this.parseSubscript(E,N,R,j,$,q);if(G.optional){q=true}if(G===E||G.type==="ArrowFunctionExpression"){if(q){var ie=this.startNodeAt(N,R);ie.expression=G;G=this.finishNode(ie,"ChainExpression")}return G}E=G}};Et.parseSubscript=function(E,N,R,j,$,q){var G=this.options.ecmaVersion>=11;var ie=G&&this.eat(Ie.questionDot);if(j&&ie){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var ae=this.eat(Ie.bracketL);if(ae||ie&&this.type!==Ie.parenL&&this.type!==Ie.backQuote||this.eat(Ie.dot)){var ce=this.startNodeAt(N,R);ce.object=E;ce.property=ae?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never");ce.computed=!!ae;if(ae){this.expect(Ie.bracketR)}if(G){ce.optional=ie}E=this.finishNode(ce,"MemberExpression")}else if(!j&&this.eat(Ie.parenL)){var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var we=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false,le);if($&&!ie&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=_e;this.awaitPos=Ee;this.awaitIdentPos=Te;return this.parseArrowExpression(this.startNodeAt(N,R),we,true)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;this.awaitIdentPos=Te||this.awaitIdentPos;var Ne=this.startNodeAt(N,R);Ne.callee=E;Ne.arguments=we;if(G){Ne.optional=ie}E=this.finishNode(Ne,"CallExpression")}else if(this.type===Ie.backQuote){if(ie||q){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var Me=this.startNodeAt(N,R);Me.tag=E;Me.quasi=this.parseTemplate({isTagged:true});E=this.finishNode(Me,"TaggedTemplateExpression")}return E};Et.parseExprAtom=function(E){if(this.type===Ie.slash){this.readRegexp()}var N,R=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}N=this.startNode();this.next();if(this.type===Ie.parenL&&!this.allowDirectSuper){this.raise(N.start,"super() call outside constructor of a subclass")}if(this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL){this.unexpected()}return this.finishNode(N,"Super");case Ie._this:N=this.startNode();this.next();return this.finishNode(N,"ThisExpression");case Ie.name:var j=this.start,$=this.startLoc,q=this.containsEsc;var G=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ie._function)){return this.parseFunction(this.startNodeAt(j,$),0,false,true)}if(R&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow)){return this.parseArrowExpression(this.startNodeAt(j,$),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Ie.name&&!q){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ie.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(j,$),[G],true)}}return G;case Ie.regexp:var ie=this.value;N=this.parseLiteral(ie.value);N.regex={pattern:ie.pattern,flags:ie.flags};return N;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:N=this.startNode();N.value=this.type===Ie._null?null:this.type===Ie._true;N.raw=this.type.keyword;this.next();return this.finishNode(N,"Literal");case Ie.parenL:var ae=this.start,ce=this.parseParenAndDistinguishExpression(R);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ce)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return ce;case Ie.bracketL:N=this.startNode();this.next();N.elements=this.parseExprList(Ie.bracketR,true,true,E);return this.finishNode(N,"ArrayExpression");case Ie.braceL:return this.parseObj(false,E);case Ie._function:N=this.startNode();this.next();return this.parseFunction(N,0);case Ie._class:return this.parseClass(this.startNode(),false);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();case Ie._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Et.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var N=this.parseIdent(true);switch(this.type){case Ie.parenL:return this.parseDynamicImport(E);case Ie.dot:E.meta=N;return this.parseImportMeta(E);default:this.unexpected()}};Et.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ie.parenR)){var N=this.start;if(this.eat(Ie.comma)&&this.eat(Ie.parenR)){this.raiseRecoverable(N,"Trailing comma is not allowed in import()")}else{this.unexpected(N)}}return this.finishNode(E,"ImportExpression")};Et.parseImportMeta=function(E){this.next();var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(N){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Et.parseLiteral=function(E){var N=this.startNode();N.value=E;N.raw=this.input.slice(this.start,this.end);if(N.raw.charCodeAt(N.raw.length-1)===110){N.bigint=N.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(N,"Literal")};Et.parseParenExpression=function(){this.expect(Ie.parenL);var E=this.parseExpression();this.expect(Ie.parenR);return E};Et.parseParenAndDistinguishExpression=function(E){var N=this.start,R=this.startLoc,j,$=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,ce=false;var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ie.parenR){ae?ae=false:this.expect(Ie.comma);if($&&this.afterTrailingComma(Ie.parenR,true)){ce=true;break}else if(this.type===Ie.ellipsis){Te=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,le,this.parseParenItem))}}var we=this.start,Ne=this.startLoc;this.expect(Ie.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=Ee;return this.parseParenArrowList(N,R,ie)}if(!ie.length||ce){this.unexpected(this.lastTokStart)}if(Te){this.unexpected(Te)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;if(ie.length>1){j=this.startNodeAt(q,G);j.expressions=ie;this.finishNodeAt(j,"SequenceExpression",we,Ne)}else{j=ie[0]}}else{j=this.parseParenExpression()}if(this.options.preserveParens){var Me=this.startNodeAt(N,R);Me.expression=j;return this.finishNode(Me,"ParenthesizedExpression")}else{return j}};Et.parseParenItem=function(E){return E};Et.parseParenArrowList=function(E,N,R){return this.parseArrowExpression(this.startNodeAt(E,N),R)};var Tt=[];Et.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var N=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){E.meta=N;var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(R){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var j=this.start,$=this.startLoc,q=this.type===Ie._import;E.callee=this.parseSubscripts(this.parseExprAtom(),j,$,true);if(q&&E.callee.type==="ImportExpression"){this.raise(j,"Cannot use new with import()")}if(this.eat(Ie.parenL)){E.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=Tt}return this.finishNode(E,"NewExpression")};Et.parseTemplateElement=function(E){var N=E.isTagged;var R=this.startNode();if(this.type===Ie.invalidTemplate){if(!N){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}R.value={raw:this.value,cooked:null}}else{R.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();R.tail=this.type===Ie.backQuote;return this.finishNode(R,"TemplateElement")};Et.parseTemplate=function(E){if(E===void 0)E={};var N=E.isTagged;if(N===void 0)N=false;var R=this.startNode();this.next();R.expressions=[];var j=this.parseTemplateElement({isTagged:N});R.quasis=[j];while(!j.tail){if(this.type===Ie.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ie.dollarBraceL);R.expressions.push(this.parseExpression());this.expect(Ie.braceR);R.quasis.push(j=this.parseTemplateElement({isTagged:N}))}this.next();return this.finishNode(R,"TemplateLiteral")};Et.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Et.parseObj=function(E,N){var R=this.startNode(),j=true,$={};R.properties=[];this.next();while(!this.eat(Ie.braceR)){if(!j){this.expect(Ie.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ie.braceR)){break}}else{j=false}var q=this.parseProperty(E,N);if(!E){this.checkPropClash(q,$,N)}R.properties.push(q)}return this.finishNode(R,E?"ObjectPattern":"ObjectExpression")};Et.parseProperty=function(E,N){var R=this.startNode(),j,$,q,G;if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis)){if(E){R.argument=this.parseIdent(false);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(R,"RestElement")}if(this.type===Ie.parenL&&N){if(N.parenthesizedAssign<0){N.parenthesizedAssign=this.start}if(N.parenthesizedBind<0){N.parenthesizedBind=this.start}}R.argument=this.parseMaybeAssign(false,N);if(this.type===Ie.comma&&N&&N.trailingComma<0){N.trailingComma=this.start}return this.finishNode(R,"SpreadElement")}if(this.options.ecmaVersion>=6){R.method=false;R.shorthand=false;if(E||N){q=this.start;G=this.startLoc}if(!E){j=this.eat(Ie.star)}}var ie=this.containsEsc;this.parsePropertyName(R);if(!E&&!ie&&this.options.ecmaVersion>=8&&!j&&this.isAsyncProp(R)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star);this.parsePropertyName(R,N)}else{$=false}this.parsePropertyValue(R,E,j,$,q,G,N,ie);return this.finishNode(R,"Property")};Et.parsePropertyValue=function(E,N,R,j,$,q,G,ie){if((R||j)&&this.type===Ie.colon){this.unexpected()}if(this.eat(Ie.colon)){E.value=N?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL){if(N){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(R,j)}else if(!N&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ie.comma&&this.type!==Ie.braceR&&this.type!==Ie.eq)){if(R||j){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var ce=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ce,"getter should have no params")}else{this.raiseRecoverable(ce,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(R||j){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=$}E.kind="init";if(N){E.value=this.parseMaybeDefault($,q,E.key)}else if(this.type===Ie.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault($,q,E.key)}else{E.value=E.key}E.shorthand=true}else{this.unexpected()}};Et.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ie.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Et.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Et.parseMethod=function(E,N,R){var j=this.startNode(),$=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction(j);if(this.options.ecmaVersion>=6){j.generator=E}if(this.options.ecmaVersion>=8){j.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(N,j.generator)|et|(R?tt:0));this.expect(Ie.parenL);j.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(j,false,true);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(j,"FunctionExpression")};Et.parseArrowExpression=function(E,N,R){var j=this.yieldPos,$=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(R,false)|Ye);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(N,true);this.parseFunctionBody(E,true,false);this.yieldPos=j;this.awaitPos=$;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};Et.parseFunctionBody=function(E,N,R){var j=N&&this.type!==Ie.braceL;var $=this.strict,q=false;if(j){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!$||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!$&&!q&&!N&&!R&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLVal(E.id,ct)}E.body=this.parseBlock(false,undefined,q&&!$);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};Et.isSimpleParamList=function(E){for(var N=0,R=E;N<R.length;N+=1){var j=R[N];if(j.type!=="Identifier"){return false}}return true};Et.checkParams=function(E,N){var R={};for(var j=0,$=E.params;j<$.length;j+=1){var q=$[j];this.checkLVal(q,nt,N?null:R)}};Et.parseExprList=function(E,N,R,j){var $=[],q=true;while(!this.eat(E)){if(!q){this.expect(Ie.comma);if(N&&this.afterTrailingComma(E)){break}}else{q=false}var G=void 0;if(R&&this.type===Ie.comma){G=null}else if(this.type===Ie.ellipsis){G=this.parseSpread(j);if(j&&this.type===Ie.comma&&j.trailingComma<0){j.trailingComma=this.start}}else{G=this.parseMaybeAssign(false,j)}$.push(G)}return $};Et.checkUnreserved=function(E){var N=E.start;var R=E.end;var j=E.name;if(this.inGenerator&&j==="yield"){this.raiseRecoverable(N,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&j==="await"){this.raiseRecoverable(N,"Cannot use 'await' as identifier inside an async function")}if(this.keywords.test(j)){this.raise(N,"Unexpected keyword '"+j+"'")}if(this.options.ecmaVersion<6&&this.input.slice(N,R).indexOf("\\")!==-1){return}var $=this.strict?this.reservedWordsStrict:this.reservedWords;if($.test(j)){if(!this.inAsync&&j==="await"){this.raiseRecoverable(N,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(N,"The keyword '"+j+"' is reserved")}};Et.parseIdent=function(E,N){var R=this.startNode();if(this.type===Ie.name){R.name=this.value}else if(this.type.keyword){R.name=this.type.keyword;if((R.name==="class"||R.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!E);this.finishNode(R,"Identifier");if(!E){this.checkUnreserved(R);if(R.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=R.start}}return R};Et.parseYield=function(E){if(!this.yieldPos){this.yieldPos=this.start}var N=this.startNode();this.next();if(this.type===Ie.semi||this.canInsertSemicolon()||this.type!==Ie.star&&!this.type.startsExpr){N.delegate=false;N.argument=null}else{N.delegate=this.eat(Ie.star);N.argument=this.parseMaybeAssign(E)}return this.finishNode(N,"YieldExpression")};Et.parseAwait=function(){if(!this.awaitPos){this.awaitPos=this.start}var E=this.startNode();this.next();E.argument=this.parseMaybeUnary(null,false);return this.finishNode(E,"AwaitExpression")};var kt=ut.prototype;kt.raise=function(E,N){var R=getLineInfo(this.input,E);N+=" ("+R.line+":"+R.column+")";var j=new SyntaxError(N);j.pos=E;j.loc=R;j.raisedAt=this.pos;throw j};kt.raiseRecoverable=kt.raise;kt.curPosition=function(){if(this.options.locations){return new Je(this.curLine,this.pos-this.lineStart)}};var Ct=ut.prototype;var Dt=function Scope(E){this.flags=E;this.var=[];this.lexical=[];this.functions=[]};Ct.enterScope=function(E){this.scopeStack.push(new Dt(E))};Ct.exitScope=function(){this.scopeStack.pop()};Ct.treatFunctionsAsVarInScope=function(E){return E.flags&Ge||!this.inModule&&E.flags&He};Ct.declareName=function(E,N,R){var j=false;if(N===it){var $=this.currentScope();j=$.lexical.indexOf(E)>-1||$.functions.indexOf(E)>-1||$.var.indexOf(E)>-1;$.lexical.push(E);if(this.inModule&&$.flags&He){delete this.undefinedExports[E]}}else if(N===st){var q=this.currentScope();q.lexical.push(E)}else if(N===ot){var G=this.currentScope();if(this.treatFunctionsAsVar){j=G.lexical.indexOf(E)>-1}else{j=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&Ze&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){j=true;break}ae.var.push(E);if(this.inModule&&ae.flags&He){delete this.undefinedExports[E]}if(ae.flags&Ke){break}}}if(j){this.raiseRecoverable(R,"Identifier '"+E+"' has already been declared")}};Ct.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};Ct.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ct.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Ke){return N}}};Ct.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Ke&&!(N.flags&Ye)){return N}}};var At=function Node(E,N,R){this.type="";this.start=N;this.end=0;if(E.options.locations){this.loc=new Ve(E,R)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[N,0]}};var wt=ut.prototype;wt.startNode=function(){return new At(this,this.start,this.startLoc)};wt.startNodeAt=function(E,N){return new At(this,E,N)};function finishNodeAt(E,N,R,j){E.type=N;E.end=R;if(this.options.locations){E.loc.end=j}if(this.options.ranges){E.range[1]=R}return E}wt.finishNode=function(E,N){return finishNodeAt.call(this,E,N,this.lastTokEnd,this.lastTokEndLoc)};wt.finishNodeAt=function(E,N,R,j){return finishNodeAt.call(this,E,N,R,j)};var Pt=function TokContext(E,N,R,j,$){this.token=E;this.isExpr=!!N;this.preserveSpace=!!R;this.override=j;this.generator=!!$};var Ft={b_stat:new Pt("{",false),b_expr:new Pt("{",true),b_tmpl:new Pt("${",false),p_stat:new Pt("(",false),p_expr:new Pt("(",true),q_tmpl:new Pt("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new Pt("function",false),f_expr:new Pt("function",true),f_expr_gen:new Pt("function",true,false,null,true),f_gen:new Pt("function",false,false,null,true)};var It=ut.prototype;It.initialContext=function(){return[Ft.b_stat]};It.braceIsBlock=function(E){var N=this.curContext();if(N===Ft.f_expr||N===Ft.f_stat){return true}if(E===Ie.colon&&(N===Ft.b_stat||N===Ft.b_expr)){return!N.isExpr}if(E===Ie._return||E===Ie.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Ie._else||E===Ie.semi||E===Ie.eof||E===Ie.parenR||E===Ie.arrow){return true}if(E===Ie.braceL){return N===Ft.b_stat}if(E===Ie._var||E===Ie._const||E===Ie.name){return false}return!this.exprAllowed};It.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var N=this.context[E];if(N.token==="function"){return N.generator}}return false};It.updateContext=function(E){var N,R=this.type;if(R.keyword&&E===Ie.dot){this.exprAllowed=false}else if(N=R.updateContext){N.call(this,E)}else{this.exprAllowed=R.beforeExpr}};Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===Ft.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ie.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?Ft.b_stat:Ft.b_expr);this.exprAllowed=true};Ie.dollarBraceL.updateContext=function(){this.context.push(Ft.b_tmpl);this.exprAllowed=true};Ie.parenL.updateContext=function(E){var N=E===Ie._if||E===Ie._for||E===Ie._with||E===Ie._while;this.context.push(N?Ft.p_stat:Ft.p_expr);this.exprAllowed=true};Ie.incDec.updateContext=function(){};Ie._function.updateContext=Ie._class.updateContext=function(E){if(E.beforeExpr&&E!==Ie.semi&&E!==Ie._else&&!(E===Ie._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ie.colon||E===Ie.braceL)&&this.curContext()===Ft.b_stat)){this.context.push(Ft.f_expr)}else{this.context.push(Ft.f_stat)}this.exprAllowed=false};Ie.backQuote.updateContext=function(){if(this.curContext()===Ft.q_tmpl){this.context.pop()}else{this.context.push(Ft.q_tmpl)}this.exprAllowed=false};Ie.star.updateContext=function(E){if(E===Ie._function){var N=this.context.length-1;if(this.context[N]===Ft.f_expr){this.context[N]=Ft.f_expr_gen}else{this.context[N]=Ft.f_gen}}this.exprAllowed=true};Ie.name.updateContext=function(E){var N=false;if(this.options.ecmaVersion>=6&&E!==Ie.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){N=true}}this.exprAllowed=N};var Nt="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Ot=Nt+" Extended_Pictographic";var Mt=Ot;var Rt={9:Nt,10:Ot,11:Mt};var Lt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Bt="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var jt=Bt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ut=jt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var zt={9:Bt,10:jt,11:Ut};var Wt={};function buildUnicodeData(E){var N=Wt[E]={binary:wordsRegexp(Rt[E]+" "+Lt),nonBinary:{General_Category:wordsRegexp(Lt),Script:wordsRegexp(zt[E])}};N.nonBinary.Script_Extensions=N.nonBinary.Script;N.nonBinary.gc=N.nonBinary.General_Category;N.nonBinary.sc=N.nonBinary.Script;N.nonBinary.scx=N.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var $t=ut.prototype;var Jt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"");this.unicodeProperties=Wt[E.options.ecmaVersion>=11?11:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Jt.prototype.reset=function reset(E,N,R){var j=R.indexOf("u")!==-1;this.start=E|0;this.source=N+"";this.flags=R;this.switchU=j&&this.parser.options.ecmaVersion>=6;this.switchN=j&&this.parser.options.ecmaVersion>=9};Jt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Jt.prototype.at=function at(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return-1}var $=R.charCodeAt(E);if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j){return $}var q=R.charCodeAt(E+1);return q>=56320&&q<=57343?($<<10)+q-56613888:$};Jt.prototype.nextIndex=function nextIndex(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return j}var $=R.charCodeAt(E),q;if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j||(q=R.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};Jt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Jt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Jt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Jt.prototype.eat=function eat(E,N){if(N===void 0)N=false;if(this.current(N)===E){this.advance(N);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}$t.validateRegExpFlags=function(E){var N=E.validFlags;var R=E.flags;for(var j=0;j<R.length;j++){var $=R.charAt(j);if(N.indexOf($)===-1){this.raise(E.start,"Invalid regular expression flag")}if(R.indexOf($,j+1)>-1){this.raise(E.start,"Duplicate regular expression flag")}}};$t.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};$t.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var N=0,R=E.backReferenceNames;N<R.length;N+=1){var j=R[N];if(E.groupNames.indexOf(j)===-1){E.raise("Invalid named capture referenced")}}};$t.regexp_disjunction=function(E){this.regexp_alternative(E);while(E.eat(124)){this.regexp_alternative(E)}if(this.regexp_eatQuantifier(E,true)){E.raise("Nothing to repeat")}if(E.eat(123)){E.raise("Lone quantifier brackets")}};$t.regexp_alternative=function(E){while(E.pos<E.source.length&&this.regexp_eatTerm(E)){}};$t.regexp_eatTerm=function(E){if(this.regexp_eatAssertion(E)){if(E.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(E)){if(E.switchU){E.raise("Invalid quantifier")}}return true}if(E.switchU?this.regexp_eatAtom(E):this.regexp_eatExtendedAtom(E)){this.regexp_eatQuantifier(E);return true}return false};$t.regexp_eatAssertion=function(E){var N=E.pos;E.lastAssertionIsQuantifiable=false;if(E.eat(94)||E.eat(36)){return true}if(E.eat(92)){if(E.eat(66)||E.eat(98)){return true}E.pos=N}if(E.eat(40)&&E.eat(63)){var R=false;if(this.options.ecmaVersion>=9){R=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!R;return true}}E.pos=N;return false};$t.regexp_eatQuantifier=function(E,N){if(N===void 0)N=false;if(this.regexp_eatQuantifierPrefix(E,N)){E.eat(63);return true}return false};$t.regexp_eatQuantifierPrefix=function(E,N){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,N)};$t.regexp_eatBracedQuantifier=function(E,N){var R=E.pos;if(E.eat(123)){var j=0,$=-1;if(this.regexp_eatDecimalDigits(E)){j=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){$=E.lastIntValue}if(E.eat(125)){if($!==-1&&$<j&&!N){E.raise("numbers out of order in {} quantifier")}return true}}if(E.switchU&&!N){E.raise("Incomplete quantifier")}E.pos=R}return false};$t.regexp_eatAtom=function(E){return this.regexp_eatPatternCharacters(E)||E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)};$t.regexp_eatReverseSolidusAtomEscape=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatAtomEscape(E)){return true}E.pos=N}return false};$t.regexp_eatUncapturingGroup=function(E){var N=E.pos;if(E.eat(40)){if(E.eat(63)&&E.eat(58)){this.regexp_disjunction(E);if(E.eat(41)){return true}E.raise("Unterminated group")}E.pos=N}return false};$t.regexp_eatCapturingGroup=function(E){if(E.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};$t.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};$t.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};$t.regexp_eatSyntaxCharacter=function(E){var N=E.current();if(isSyntaxCharacter(N)){E.lastIntValue=N;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}$t.regexp_eatPatternCharacters=function(E){var N=E.pos;var R=0;while((R=E.current())!==-1&&!isSyntaxCharacter(R)){E.advance()}return E.pos!==N};$t.regexp_eatExtendedPatternCharacter=function(E){var N=E.current();if(N!==-1&&N!==36&&!(N>=40&&N<=43)&&N!==46&&N!==63&&N!==91&&N!==94&&N!==124){E.advance();return true}return false};$t.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};$t.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};$t.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};$t.regexp_eatRegExpIdentifierStart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierStart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}$t.regexp_eatRegExpIdentifierPart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierPart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}$t.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};$t.regexp_eatBackReference=function(E){var N=E.pos;if(this.regexp_eatDecimalEscape(E)){var R=E.lastIntValue;if(E.switchU){if(R>E.maxBackReference){E.maxBackReference=R}return true}if(R<=E.numCapturingParens){return true}E.pos=N}return false};$t.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};$t.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};$t.regexp_eatCControlLetter=function(E){var N=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=N}return false};$t.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};$t.regexp_eatControlEscape=function(E){var N=E.current();if(N===116){E.lastIntValue=9;E.advance();return true}if(N===110){E.lastIntValue=10;E.advance();return true}if(N===118){E.lastIntValue=11;E.advance();return true}if(N===102){E.lastIntValue=12;E.advance();return true}if(N===114){E.lastIntValue=13;E.advance();return true}return false};$t.regexp_eatControlLetter=function(E){var N=E.current();if(isControlLetter(N)){E.lastIntValue=N%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}$t.regexp_eatRegExpUnicodeEscapeSequence=function(E,N){if(N===void 0)N=false;var R=E.pos;var j=N||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var $=E.lastIntValue;if(j&&$>=55296&&$<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=($-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=$}return true}if(j&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(j){E.raise("Invalid unicode escape")}E.pos=R}return false};function isValidUnicode(E){return E>=0&&E<=1114111}$t.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var N=E.current();if(N!==99&&(!E.switchN||N!==107)){E.lastIntValue=N;E.advance();return true}return false};$t.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var N=E.current();if(N>=49&&N<=57){do{E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}while((N=E.current())>=48&&N<=57);return true}return false};$t.regexp_eatCharacterClassEscape=function(E){var N=E.current();if(isCharacterClassEscape(N)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(N===80||N===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}$t.regexp_eatUnicodePropertyValueExpression=function(E){var N=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var R=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,R,j);return true}}E.pos=N;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,$);return true}return false};$t.regexp_validateUnicodePropertyNameAndValue=function(E,N,R){if(!has(E.unicodeProperties.nonBinary,N)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[N].test(R)){E.raise("Invalid property value")}};$t.regexp_validateUnicodePropertyNameOrValue=function(E,N){if(!E.unicodeProperties.binary.test(N)){E.raise("Invalid property name")}};$t.regexp_eatUnicodePropertyName=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}$t.regexp_eatUnicodePropertyValue=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}$t.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};$t.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};$t.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.switchU&&(N===-1||R===-1)){E.raise("Invalid character class")}if(N!==-1&&R!==-1&&N>R){E.raise("Range out of order in character class")}}}};$t.regexp_eatClassAtom=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var R=E.current();if(R===99||isOctalDigit(R)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=N}var j=E.current();if(j!==93){E.lastIntValue=j;E.advance();return true}return false};$t.regexp_eatClassEscape=function(E){var N=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=N}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};$t.regexp_eatClassControlLetter=function(E){var N=E.current();if(isDecimalDigit(N)||N===95){E.lastIntValue=N%32;E.advance();return true}return false};$t.regexp_eatHexEscapeSequence=function(E){var N=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=N}return false};$t.regexp_eatDecimalDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isDecimalDigit(R=E.current())){E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}return E.pos!==N};function isDecimalDigit(E){return E>=48&&E<=57}$t.regexp_eatHexDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isHexDigit(R=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(R);E.advance()}return E.pos!==N};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}$t.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(N<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=N*64+R*8+E.lastIntValue}else{E.lastIntValue=N*8+R}}else{E.lastIntValue=N}return true}return false};$t.regexp_eatOctalDigit=function(E){var N=E.current();if(isOctalDigit(N)){E.lastIntValue=N-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}$t.regexp_eatFixedHexDigits=function(E,N){var R=E.pos;E.lastIntValue=0;for(var j=0;j<N;++j){var $=E.current();if(!isHexDigit($)){E.pos=R;return false}E.lastIntValue=16*E.lastIntValue+hexToInt($);E.advance()}return true};var Vt=function Token(E){this.type=E.type;this.value=E.value;this.start=E.start;this.end=E.end;if(E.options.locations){this.loc=new Ve(E,E.startLoc,E.endLoc)}if(E.options.ranges){this.range=[E.start,E.end]}};var qt=ut.prototype;qt.next=function(E){if(!E&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new Vt(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};qt.getToken=function(){this.next();return new Vt(this)};if(typeof Symbol!=="undefined"){qt[Symbol.iterator]=function(){var E=this;return{next:function(){var N=E.getToken();return{done:N.type===Ie.eof,value:N}}}}}qt.curContext=function(){return this.context[this.context.length-1]};qt.nextToken=function(){var E=this.curContext();if(!E||!E.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(Ie.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};qt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};qt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=57344){return E}var N=this.input.charCodeAt(this.pos+1);return(E<<10)+N-56613888};qt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var N=this.pos,R=this.input.indexOf("*/",this.pos+=2);if(R===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=R+2;if(this.options.locations){Me.lastIndex=N;var j;while((j=Me.exec(this.input))&&j.index<this.pos){++this.curLine;this.lineStart=j.index+j[0].length}}if(this.options.onComment){this.options.onComment(true,this.input.slice(N+2,R),N,this.pos,E,this.curPosition())}};qt.skipLineComment=function(E){var N=this.pos;var R=this.options.onComment&&this.curPosition();var j=this.input.charCodeAt(this.pos+=E);while(this.pos<this.input.length&&!isNewLine(j)){j=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(N+E,this.pos),N,this.pos,R,this.curPosition())}};qt.skipSpace=function(){e:while(this.pos<this.input.length){var E=this.input.charCodeAt(this.pos);switch(E){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(E>8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};qt.finishToken=function(E,N){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var R=this.type;this.type=E;this.value=N;this.updateContext(R)};qt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var N=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&N===46){this.pos+=3;return this.finishToken(Ie.ellipsis)}else{++this.pos;return this.finishToken(Ie.dot)}};qt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.slash,1)};qt.readToken_mult_modulo_exp=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;var j=E===42?Ie.star:Ie.modulo;if(this.options.ecmaVersion>=7&&E===42&&N===42){++R;j=Ie.starstar;N=this.input.charCodeAt(this.pos+2)}if(N===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(j,R)};qt.readToken_pipe_amp=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(this.options.ecmaVersion>=12){var R=this.input.charCodeAt(this.pos+2);if(R===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(E===124?Ie.logicalOR:Ie.logicalAND,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(E===124?Ie.bitwiseOR:Ie.bitwiseAND,1)};qt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.bitwiseXOR,1)};qt.readToken_plus_min=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(N===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ie.incDec,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.plusMin,1)};qt.readToken_lt_gt=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;if(N===E){R=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+R)===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(Ie.bitShift,R)}if(N===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(N===61){R=2}return this.finishOp(Ie.relational,R)};qt.readToken_eq_excl=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===61){return this.finishOp(Ie.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&N===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ie.arrow)}return this.finishOp(E===61?Ie.eq:Ie.prefix,1)};qt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var N=this.input.charCodeAt(this.pos+1);if(N===46){var R=this.input.charCodeAt(this.pos+2);if(R<48||R>57){return this.finishOp(Ie.questionDot,2)}}if(N===63){if(E>=12){var j=this.input.charCodeAt(this.pos+2);if(j===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(Ie.coalesce,2)}}return this.finishOp(Ie.question,1)};qt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ie.parenL);case 41:++this.pos;return this.finishToken(Ie.parenR);case 59:++this.pos;return this.finishToken(Ie.semi);case 44:++this.pos;return this.finishToken(Ie.comma);case 91:++this.pos;return this.finishToken(Ie.bracketL);case 93:++this.pos;return this.finishToken(Ie.bracketR);case 123:++this.pos;return this.finishToken(Ie.braceL);case 125:++this.pos;return this.finishToken(Ie.braceR);case 58:++this.pos;return this.finishToken(Ie.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ie.backQuote);case 48:var N=this.input.charCodeAt(this.pos+1);if(N===120||N===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(N===111||N===79){return this.readRadixNumber(8)}if(N===98||N===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Ie.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};qt.finishOp=function(E,N){var R=this.input.slice(this.pos,this.pos+N);this.pos+=N;return this.finishToken(E,R)};qt.readRegexp=function(){var E,N,R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(R,"Unterminated regular expression")}var j=this.input.charAt(this.pos);if(Ne.test(j)){this.raise(R,"Unterminated regular expression")}if(!E){if(j==="["){N=true}else if(j==="]"&&N){N=false}else if(j==="/"&&!N){break}E=j==="\\"}else{E=false}++this.pos}var $=this.input.slice(R,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new Jt(this));ie.reset(R,$,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp($,G)}catch(E){}return this.finishToken(Ie.regexp,{pattern:$,flags:G,value:ae})};qt.readInt=function(E,N,R){var j=this.options.ecmaVersion>=12&&N===undefined;var $=R&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,ce=N==null?Infinity:N;ae<ce;++ae,++this.pos){var le=this.input.charCodeAt(this.pos),_e=void 0;if(j&&le===95){if($){this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals")}if(ie===95){this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore")}if(ae===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}ie=le;continue}if(le>=97){_e=le-97+10}else if(le>=65){_e=le-65+10}else if(le>=48&&le<=57){_e=le-48}else{_e=Infinity}if(_e>=E){break}ie=le;G=G*E+_e}if(j&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||N!=null&&this.pos-q!==N){return null}return G};function stringToNumber(E,N){if(N){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}qt.readRadixNumber=function(E){var N=this.pos;this.pos+=2;var R=this.readInt(E);if(R==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){R=stringToBigInt(this.input.slice(N,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,R)};qt.readNumber=function(E){var N=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(N,"Invalid number")}var R=this.pos-N>=2&&this.input.charCodeAt(N)===48;if(R&&this.strict){this.raise(N,"Invalid number")}var j=this.input.charCodeAt(this.pos);if(!R&&!E&&this.options.ecmaVersion>=11&&j===110){var $=stringToBigInt(this.input.slice(N,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,$)}if(R&&/[89]/.test(this.input.slice(N,this.pos))){R=false}if(j===46&&!R){++this.pos;this.readInt(10);j=this.input.charCodeAt(this.pos)}if((j===69||j===101)&&!R){j=this.input.charCodeAt(++this.pos);if(j===43||j===45){++this.pos}if(this.readInt(10)===null){this.raise(N,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(N,this.pos),R);return this.finishToken(Ie.num,q)};qt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),N;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var R=++this.pos;N=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(N>1114111){this.invalidStringToken(R,"Code point out of bounds")}}else{N=this.readHexChar(4)}return N};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}qt.readString=function(E){var N="",R=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var j=this.input.charCodeAt(this.pos);if(j===E){break}if(j===92){N+=this.input.slice(R,this.pos);N+=this.readEscapedChar(false);R=this.pos}else{if(isNewLine(j,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}N+=this.input.slice(R,this.pos++);return this.finishToken(Ie.string,N)};var Ht={};qt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Ht){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};qt.invalidStringToken=function(E,N){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ht}else{this.raise(E,N)}};qt.readTmplToken=function(){var E="",N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var R=this.input.charCodeAt(this.pos);if(R===96||R===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ie.template||this.type===Ie.invalidTemplate)){if(R===36){this.pos+=2;return this.finishToken(Ie.dollarBraceL)}else{++this.pos;return this.finishToken(Ie.backQuote)}}E+=this.input.slice(N,this.pos);return this.finishToken(Ie.template,E)}if(R===92){E+=this.input.slice(N,this.pos);E+=this.readEscapedChar(true);N=this.pos}else if(isNewLine(R)){E+=this.input.slice(N,this.pos);++this.pos;switch(R){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(R);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}N=this.pos}else{++this.pos}}};qt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(Ie.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};qt.readEscapedChar=function(E){var N=this.input.charCodeAt(++this.pos);++this.pos;switch(N){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString$1(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(E){var R=this.pos-1;this.invalidStringToken(R,"Invalid escape sequence in template string");return null}default:if(N>=48&&N<=55){var j=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var $=parseInt(j,8);if($>255){j=j.slice(0,-1);$=parseInt(j,8)}this.pos+=j.length-1;N=this.input.charCodeAt(this.pos);if((j!=="0"||N===56||N===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-j.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode($)}if(isNewLine(N)){return""}return String.fromCharCode(N)}};qt.readHexChar=function(E){var N=this.pos;var R=this.readInt(16,E);if(R===null){this.invalidStringToken(N,"Bad character escape sequence")}return R};qt.readWord1=function(){this.containsEsc=false;var E="",N=true,R=this.pos;var j=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var $=this.fullCharCodeAtPos();if(isIdentifierChar($,j)){this.pos+=$<=65535?1:2}else if($===92){this.containsEsc=true;E+=this.input.slice(R,this.pos);var q=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var G=this.readCodePoint();if(!(N?isIdentifierStart:isIdentifierChar)(G,j)){this.invalidStringToken(q,"Invalid Unicode escape")}E+=codePointToString$1(G);R=this.pos}else{break}N=false}return E+this.input.slice(R,this.pos)};qt.readWord=function(){var E=this.readWord1();var N=Ie.name;if(this.keywords.test(E)){N=we[E]}return this.finishToken(N,E)};var Gt="7.4.1";ut.acorn={Parser:ut,version:Gt,defaultOptions:qe,Position:Je,SourceLocation:Ve,getLineInfo:getLineInfo,Node:At,TokenType:_e,tokTypes:Ie,keywordTypes:we,TokContext:Pt,tokContexts:Ft,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:Vt,isNewLine:isNewLine,lineBreak:Ne,lineBreakG:Me,nonASCIIwhitespace:Le};function parse(E,N){return ut.parse(E,N)}function parseExpressionAt(E,N,R){return ut.parseExpressionAt(E,N,R)}function tokenizer(E,N){return ut.tokenizer(E,N)}E.Node=At;E.Parser=ut;E.Position=Je;E.SourceLocation=Ve;E.TokContext=Pt;E.Token=Vt;E.TokenType=_e;E.defaultOptions=qe;E.getLineInfo=getLineInfo;E.isIdentifierChar=isIdentifierChar;E.isIdentifierStart=isIdentifierStart;E.isNewLine=isNewLine;E.keywordTypes=we;E.lineBreak=Ne;E.lineBreakG=Me;E.nonASCIIwhitespace=Le;E.parse=parse;E.parseExpressionAt=parseExpressionAt;E.tokContexts=Ft;E.tokTypes=Ie;E.tokenizer=tokenizer;E.version=Gt;Object.defineProperty(E,"__esModule",{value:true})}))},35525:(E,N,R)=>{"use strict";var j=R(62310);E.exports=defineKeywords;function defineKeywords(E,N){if(Array.isArray(N)){for(var R=0;R<N.length;R++)get(N[R])(E);return E}if(N){get(N)(E);return E}for(N in j)get(N)(E);return E}defineKeywords.get=get;function get(E){var N=j[E];if(!N)throw new Error("Unknown keyword "+E);return N}},87113:(E,N,R)=>{"use strict";var j=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var $=/t|\s/i;var q={date:compareDate,time:compareTime,"date-time":compareDateTime};var G={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};E.exports=function(E){var N="format"+E;return function defFunc(j){defFunc.definition={type:"string",inline:R(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},G]}};j.addKeyword(N,defFunc.definition);j.addKeyword("formatExclusive"+E,{dependencies:["format"+E],metaSchema:{anyOf:[{type:"boolean"},G]}});extendFormats(j);return j}};function extendFormats(E){var N=E._formats;for(var R in q){var j=N[R];if(typeof j!="object"||j instanceof RegExp||!j.validate)j=N[R]={validate:j};if(!j.compare)j.compare=q[R]}}function compareDate(E,N){if(!(E&&N))return;if(E>N)return 1;if(E<N)return-1;if(E===N)return 0}function compareTime(E,N){if(!(E&&N))return;E=E.match(j);N=N.match(j);if(!(E&&N))return;E=E[1]+E[2]+E[3]+(E[4]||"");N=N[1]+N[2]+N[3]+(N[4]||"");if(E>N)return 1;if(E<N)return-1;if(E===N)return 0}function compareDateTime(E,N){if(!(E&&N))return;E=E.split($);N=N.split($);var R=compareDate(E[0],N[0]);if(R===undefined)return;return R||compareTime(E[1],N[1])}},54630:E=>{"use strict";E.exports={metaSchemaRef:metaSchemaRef};var N="http://json-schema.org/draft-07/schema";function metaSchemaRef(E){var R=E._opts.defaultMeta;if(typeof R=="string")return{$ref:R};if(E.getSchema(N))return{$ref:N};console.warn("meta schema not defined");return{}}},96216:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E,N){if(!E)return true;var R=Object.keys(N.properties);if(R.length==0)return true;return{required:R}},metaSchema:{type:"boolean"},dependencies:["properties"]};E.addKeyword("allRequired",defFunc.definition);return E}},1611:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var N=E.map((function(E){return{required:[E]}}));return{anyOf:N}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("anyRequired",defFunc.definition);return E}},49494:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){var N=[];for(var R in E)N.push(getSchema(R,E[R]));return{allOf:N}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:j.metaSchemaRef(E)}};E.addKeyword("deepProperties",defFunc.definition);return E};function getSchema(E,N){var R=E.split("/");var j={};var $=j;for(var q=1;q<R.length;q++){var G=R[q];var ie=q==R.length-1;G=unescapeJsonPointer(G);var ae=$.properties={};var ce=undefined;if(/[0-9]+/.test(G)){var le=+G;ce=$.items=[];while(le--)ce.push({})}$=ie?N:{};ae[G]=$;if(ce)ce.push($)}return j}function unescapeJsonPointer(E){return E.replace(/~1/g,"/").replace(/~0/g,"~")}},23023:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:function(E,N,R){var j="";for(var $=0;$<R.length;$++){if($)j+=" && ";j+="("+getData(R[$],E.dataLevel)+" !== undefined)"}return j},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}};E.addKeyword("deepRequired",defFunc.definition);return E};function getData(E,N){var R="data"+(N||"");if(!E)return R;var j=R;var $=E.split("/");for(var q=1;q<$.length;q++){var G=$[q];R+=getProperty(unescapeJsonPointer(G));j+=" && "+R}return j}var N=/^[a-z$_][a-z$_0-9]*$/i;var R=/^[0-9]+$/;var j=/'|\\/g;function getProperty(E){return R.test(E)?"["+E+"]":N.test(E)?"."+E:"['"+E.replace(j,"\\$&")+"']"}function unescapeJsonPointer(E){return E.replace(/~1/g,"/").replace(/~0/g,"~")}},2543:E=>{"use strict";E.exports=function generate__formatLimit(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee="valid"+$;j+="var "+Ee+" = undefined;";if(E.opts.format===false){j+=" "+Ee+" = true; ";return j}var Te=E.schema.format,we=E.opts.$data&&Te.$data,Ie="";if(we){var Ne=E.util.getData(Te.$data,q,E.dataPathArr),Me="format"+$,Le="compare"+$;j+=" var "+Me+" = formats["+Ne+"] , "+Le+" = "+Me+" && "+Me+".compare;"}else{var Me=E.formats[Te];if(!(Me&&Me.compare)){j+=" "+Ee+" = true; ";return j}var Le="formats"+E.util.getProperty(Te)+".compare"}var Be=N=="formatMaximum",je="formatExclusive"+(Be?"Maximum":"Minimum"),Ue=E.schema[je],ze=E.opts.$data&&Ue&&Ue.$data,We=Be?"<":">",Je="result"+$;var Ve=E.opts.$data&&G&&G.$data,qe;if(Ve){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";qe="schema"+$}else{qe=G}if(ze){var He=E.util.getData(Ue.$data,q,E.dataPathArr),Ge="exclusive"+$,Ke="op"+$,Qe="' + "+Ke+" + '";j+=" var schemaExcl"+$+" = "+He+"; ";He="schemaExcl"+$;j+=" if (typeof "+He+" != 'boolean' && "+He+" !== undefined) { "+Ee+" = false; ";var le=je;var Xe=Xe||[];Xe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: '"+je+" should be boolean' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ye=j;j=Xe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ye+"]); "}else{j+=" validate.errors = ["+Ye+"]; return false; "}}else{j+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){Ie+="}";j+=" else { "}if(Ve){j+=" if ("+qe+" === undefined) "+Ee+" = true; else if (typeof "+qe+" != 'string') "+Ee+" = false; else { ";Ie+="}"}if(we){j+=" if (!"+Le+") "+Ee+" = true; else { ";Ie+="}"}j+=" var "+Je+" = "+Le+"("+_e+", ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" ); if ("+Je+" === undefined) "+Ee+" = false; var "+Ge+" = "+He+" === true; if ("+Ee+" === undefined) { "+Ee+" = "+Ge+" ? "+Je+" "+We+" 0 : "+Je+" "+We+"= 0; } if (!"+Ee+") var op"+$+" = "+Ge+" ? '"+We+"' : '"+We+"=';"}else{var Ge=Ue===true,Qe=We;if(!Ge)Qe+="=";var Ke="'"+Qe+"'";if(Ve){j+=" if ("+qe+" === undefined) "+Ee+" = true; else if (typeof "+qe+" != 'string') "+Ee+" = false; else { ";Ie+="}"}if(we){j+=" if (!"+Le+") "+Ee+" = true; else { ";Ie+="}"}j+=" var "+Je+" = "+Le+"("+_e+", ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" ); if ("+Je+" === undefined) "+Ee+" = false; if ("+Ee+" === undefined) "+Ee+" = "+Je+" "+We;if(!Ge){j+="="}j+=" 0;"}j+=""+Ie+"if (!"+Ee+") { ";var le=N;var Xe=Xe||[];Xe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_formatLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Ke+", limit: ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" , exclusive: "+Ge+" } ";if(E.opts.messages!==false){j+=" , message: 'should be "+Qe+' "';if(Ve){j+="' + "+qe+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(Ve){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ye=j;j=Xe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ye+"]); "}else{j+=" validate.errors = ["+Ye+"]; return false; "}}else{j+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="}";return j}},98632:E=>{"use strict";E.exports=function generate_patternRequired(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="key"+$,Te="idx"+$,we="patternMatched"+$,Ie="dataProperties"+$,Ne="",Me=E.opts.ownProperties;j+="var "+_e+" = true;";if(Me){j+=" var "+Ie+" = undefined;"}var Le=G;if(Le){var Be,je=-1,Ue=Le.length-1;while(je<Ue){Be=Le[je+=1];j+=" var "+we+" = false; ";if(Me){j+=" "+Ie+" = "+Ie+" || Object.keys("+le+"); for (var "+Te+"=0; "+Te+"<"+Ie+".length; "+Te+"++) { var "+Ee+" = "+Ie+"["+Te+"]; "}else{j+=" for (var "+Ee+" in "+le+") { "}j+=" "+we+" = "+E.usePattern(Be)+".test("+Ee+"); if ("+we+") break; } ";var ze=E.util.escapeQuotes(Be);j+=" if (!"+we+") { "+_e+" = false; var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"patternRequired"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingPattern: '"+ze+"' } ";if(E.opts.messages!==false){j+=" , message: 'should have property matching pattern \\'"+ze+"\\'' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ";if(ce){Ne+="}";j+=" else { "}}}j+=""+Ne;return j}},34657:E=>{"use strict";E.exports=function generate_switch(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="ifPassed"+E.level,Me=Te.baseId,Le;j+="var "+Ne+";";var Be=G;if(Be){var je,Ue=-1,ze=Be.length-1;while(Ue<ze){je=Be[Ue+=1];if(Ue&&!Le){j+=" if (!"+Ne+") { ";we+="}"}if(je.if&&(E.opts.strictKeywords?typeof je.if=="object"&&Object.keys(je.if).length>0:E.util.schemaHasRules(je.if,E.RULES.all))){j+=" var "+Ee+" = errors; ";var We=E.compositeRule;E.compositeRule=Te.compositeRule=true;Te.createErrors=false;Te.schema=je.if;Te.schemaPath=ie+"["+Ue+"].if";Te.errSchemaPath=ae+"/"+Ue+"/if";j+=" "+E.validate(Te)+" ";Te.baseId=Me;Te.createErrors=true;E.compositeRule=Te.compositeRule=We;j+=" "+Ne+" = "+Ie+"; if ("+Ne+") { ";if(typeof je.then=="boolean"){if(je.then===false){var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" var "+Ie+" = "+je.then+"; "}else{Te.schema=je.then;Te.schemaPath=ie+"["+Ue+"].then";Te.errSchemaPath=ae+"/"+Ue+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Me}j+=" } else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } } "}else{j+=" "+Ne+" = true; ";if(typeof je.then=="boolean"){if(je.then===false){var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" var "+Ie+" = "+je.then+"; "}else{Te.schema=je.then;Te.schemaPath=ie+"["+Ue+"].then";Te.errSchemaPath=ae+"/"+Ue+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Me}}Le=je.continue}}j+=""+we+"var "+_e+" = "+Ie+";";return j}},41835:E=>{"use strict";var N={};var R={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(E){var N=E&&E.max||2;return function(){return Math.floor(Math.random()*N)}},seq:function(E){var R=E&&E.name||"";N[R]=N[R]||0;return function(){return N[R]++}}};E.exports=function defFunc(E){defFunc.definition={compile:function(E,N,R){var j={};for(var $ in E){var q=E[$];var G=getDefault(typeof q=="string"?q:q.func);j[$]=G.length?G(q.args):G}return R.opts.useDefaults&&!R.compositeRule?assignDefaults:noop;function assignDefaults(N){for(var $ in E){if(N[$]===undefined||R.opts.useDefaults=="empty"&&(N[$]===null||N[$]===""))N[$]=j[$]()}return true}function noop(){return true}},DEFAULTS:R,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};E.addKeyword("dynamicDefaults",defFunc.definition);return E;function getDefault(E){var N=R[E];if(N)return N;throw new Error('invalid "dynamicDefaults" keyword property value: '+E)}}},69513:(E,N,R)=>{"use strict";E.exports=R(87113)("Maximum")},50581:(E,N,R)=>{"use strict";E.exports=R(87113)("Minimum")},62310:(E,N,R)=>{"use strict";E.exports={instanceof:R(94236),range:R(5332),regexp:R(85829),typeof:R(77189),dynamicDefaults:R(41835),allRequired:R(96216),anyRequired:R(1611),oneRequired:R(82233),prohibited:R(47431),uniqueItemProperties:R(69536),deepProperties:R(49494),deepRequired:R(23023),formatMinimum:R(50581),formatMaximum:R(69513),patternRequired:R(89042),switch:R(65305),select:R(9821),transform:R(62111)}},94236:E=>{"use strict";var N={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};E.exports=function defFunc(E){if(typeof Buffer!="undefined")N.Buffer=Buffer;if(typeof Promise!="undefined")N.Promise=Promise;defFunc.definition={compile:function(E){if(typeof E=="string"){var N=getConstructor(E);return function(E){return E instanceof N}}var R=E.map(getConstructor);return function(E){for(var N=0;N<R.length;N++)if(E instanceof R[N])return true;return false}},CONSTRUCTORS:N,metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}};E.addKeyword("instanceof",defFunc.definition);return E;function getConstructor(E){var R=N[E];if(R)return R;throw new Error('invalid "instanceof" keyword value '+E)}}},82233:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var N=E.map((function(E){return{required:[E]}}));return{oneOf:N}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("oneRequired",defFunc.definition);return E}},89042:(E,N,R)=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:R(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};E.addKeyword("patternRequired",defFunc.definition);return E}},47431:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{not:{required:E}};var N=E.map((function(E){return{required:[E]}}));return{not:{anyOf:N}}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("prohibited",defFunc.definition);return E}},5332:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"number",macro:function(E,N){var R=E[0],j=E[1],$=N.exclusiveRange;validateRangeSchema(R,j,$);return $===true?{exclusiveMinimum:R,exclusiveMaximum:j}:{minimum:R,maximum:j}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};E.addKeyword("range",defFunc.definition);E.addKeyword("exclusiveRange");return E;function validateRangeSchema(E,N,R){if(R!==undefined&&typeof R!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(E>N||R&&E==N)throw new Error("There are no numbers in range")}}},85829:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"string",inline:function(E,N,R){return getRegExp()+".test(data"+(E.dataLevel||"")+")";function getRegExp(){try{if(typeof R=="object")return new RegExp(R.pattern,R.flags);var E=R.match(/^\/(.*)\/([gimuy]*)$/);if(E)return new RegExp(E[1],E[2]);throw new Error("cannot parse string into RegExp")}catch(E){console.error("regular expression",R,"is invalid");throw E}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};E.addKeyword("regexp",defFunc.definition);return E}},9821:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){if(!E._opts.$data){console.warn("keyword select requires $data option");return E}var N=j.metaSchemaRef(E);var R=[];defFunc.definition={validate:function v(E,N,R){if(R.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var j=getCompiledSchemas(R,false);var $=j.cases[E];if($===undefined)$=j.default;if(typeof $=="boolean")return $;var q=$(N);if(!q)v.errors=$.errors;return q},$data:true,metaSchema:{type:["string","number","boolean","null"]}};E.addKeyword("select",defFunc.definition);E.addKeyword("selectCases",{compile:function(E,N){var R=getCompiledSchemas(N);for(var j in E)R.cases[j]=compileOrBoolean(E[j]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:N}});E.addKeyword("selectDefault",{compile:function(E,N){var R=getCompiledSchemas(N);R.default=compileOrBoolean(E);return function(){return true}},valid:true,metaSchema:N});return E;function getCompiledSchemas(E,N){var j;R.some((function(N){if(N.parentSchema===E){j=N;return true}}));if(!j&&N!==false){j={parentSchema:E,cases:{},default:true};R.push(j)}return j}function compileOrBoolean(N){return typeof N=="boolean"?N:E.compile(N)}}},65305:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){if(E.RULES.keywords.switch&&E.RULES.keywords.if)return;var N=j.metaSchemaRef(E);defFunc.definition={inline:R(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:N,then:{anyOf:[{type:"boolean"},N]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};E.addKeyword("switch",defFunc.definition);return E}},62111:E=>{"use strict";E.exports=function defFunc(E){var N={trimLeft:function(E){return E.replace(/^[\s]+/,"")},trimRight:function(E){return E.replace(/[\s]+$/,"")},trim:function(E){return E.trim()},toLowerCase:function(E){return E.toLowerCase()},toUpperCase:function(E){return E.toUpperCase()},toEnumCase:function(E,N){return N.hash[makeHashTableKey(E)]||E}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(E,R){var j;if(E.indexOf("toEnumCase")!==-1){j={hash:{}};if(!R.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var $=R.enum.length;$--;$){var q=R.enum[$];if(typeof q!=="string")continue;var G=makeHashTableKey(q);if(j.hash[G])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');j.hash[G]=q}}return function(R,$,q,G){if(!q)return;for(var ie=0,ae=E.length;ie<ae;ie++)R=N[E[ie]](R,j);q[G]=R}},metaSchema:{type:"array",items:{type:"string",enum:["trimLeft","trimRight","trim","toLowerCase","toUpperCase","toEnumCase"]}}};E.addKeyword("transform",defFunc.definition);return E;function makeHashTableKey(E){return E.toLowerCase()}}},77189:E=>{"use strict";var N=["undefined","string","number","object","function","boolean","symbol"];E.exports=function defFunc(E){defFunc.definition={inline:function(E,N,R){var j="data"+(E.dataLevel||"");if(typeof R=="string")return"typeof "+j+' == "'+R+'"';R="validate.schema"+E.schemaPath+"."+N;return R+".indexOf(typeof "+j+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:N},{type:"array",items:{type:"string",enum:N}}]}};E.addKeyword("typeof",defFunc.definition);return E}},69536:E=>{"use strict";var N=["number","integer","string","boolean","null"];E.exports=function defFunc(E){defFunc.definition={type:"array",compile:function(E,N,R){var j=R.util.equal;var $=getScalarKeys(E,N);return function(N){if(N.length>1){for(var R=0;R<E.length;R++){var q,G=E[R];if($[R]){var ie={};for(q=N.length;q--;){if(!N[q]||typeof N[q]!="object")continue;var ae=N[q][G];if(ae&&typeof ae=="object")continue;if(typeof ae=="string")ae='"'+ae;if(ie[ae])return false;ie[ae]=true}}else{for(q=N.length;q--;){if(!N[q]||typeof N[q]!="object")continue;for(var ce=q;ce--;){if(N[ce]&&typeof N[ce]=="object"&&j(N[q][G],N[ce][G]))return false}}}}}return true}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("uniqueItemProperties",defFunc.definition);return E};function getScalarKeys(E,R){return E.map((function(E){var j=R.items&&R.items.properties;var $=j&&j[E]&&j[E].type;return Array.isArray($)?$.indexOf("object")<0&&$.indexOf("array")<0:N.indexOf($)>=0}))}},33866:(E,N,R)=>{"use strict";var j=R(69579),$=R(82253),q=R(32183),G=R(38868),ie=R(75986),ae=R(10698),ce=R(75041),le=R(30398),_e=R(778);E.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=R(18840);var Ee=R(3811);Ajv.prototype.addKeyword=Ee.add;Ajv.prototype.getKeyword=Ee.get;Ajv.prototype.removeKeyword=Ee.remove;Ajv.prototype.validateKeyword=Ee.validate;var Te=R(29411);Ajv.ValidationError=Te.Validation;Ajv.MissingRefError=Te.MissingRef;Ajv.$dataMetaSchema=le;var we="http://json-schema.org/draft-07/schema";var Ie=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var Ne=["/properties"];function Ajv(E){if(!(this instanceof Ajv))return new Ajv(E);E=this._opts=_e.copy(E)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=ae(E.format);this._cache=E.cache||new q;this._loadingSchemas={};this._compilations=[];this.RULES=ce();this._getId=chooseGetId(E);E.loopRequired=E.loopRequired||Infinity;if(E.errorDataPath=="property")E._errorDataPathProperty=true;if(E.serialize===undefined)E.serialize=ie;this._metaOpts=getMetaSchemaOptions(this);if(E.formats)addInitialFormats(this);if(E.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof E.meta=="object")this.addMetaSchema(E.meta);if(E.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(E,N){var R;if(typeof E=="string"){R=this.getSchema(E);if(!R)throw new Error('no schema with key or ref "'+E+'"')}else{var j=this._addSchema(E);R=j.validate||this._compile(j)}var $=R(N);if(R.$async!==true)this.errors=R.errors;return $}function compile(E,N){var R=this._addSchema(E,undefined,N);return R.validate||this._compile(R)}function addSchema(E,N,R,j){if(Array.isArray(E)){for(var q=0;q<E.length;q++)this.addSchema(E[q],undefined,R,j);return this}var G=this._getId(E);if(G!==undefined&&typeof G!="string")throw new Error("schema id must be string");N=$.normalizeId(N||G);checkUnique(this,N);this._schemas[N]=this._addSchema(E,R,j,true);return this}function addMetaSchema(E,N,R){this.addSchema(E,N,R,true);return this}function validateSchema(E,N){var R=E.$schema;if(R!==undefined&&typeof R!="string")throw new Error("$schema must be a string");R=R||this._opts.defaultMeta||defaultMeta(this);if(!R){this.logger.warn("meta-schema not available");this.errors=null;return true}var j=this.validate(R,E);if(!j&&N){var $="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error($);else throw new Error($)}return j}function defaultMeta(E){var N=E._opts.meta;E._opts.defaultMeta=typeof N=="object"?E._getId(N)||N:E.getSchema(we)?we:undefined;return E._opts.defaultMeta}function getSchema(E){var N=_getSchemaObj(this,E);switch(typeof N){case"object":return N.validate||this._compile(N);case"string":return this.getSchema(N);case"undefined":return _getSchemaFragment(this,E)}}function _getSchemaFragment(E,N){var R=$.schema.call(E,{schema:{}},N);if(R){var q=R.schema,ie=R.root,ae=R.baseId;var ce=j.call(E,q,ie,undefined,ae);E._fragments[N]=new G({ref:N,fragment:true,schema:q,root:ie,baseId:ae,validate:ce});return ce}}function _getSchemaObj(E,N){N=$.normalizeId(N);return E._schemas[N]||E._refs[N]||E._fragments[N]}function removeSchema(E){if(E instanceof RegExp){_removeAllSchemas(this,this._schemas,E);_removeAllSchemas(this,this._refs,E);return this}switch(typeof E){case"undefined":_removeAllSchemas(this,this._schemas);_removeAllSchemas(this,this._refs);this._cache.clear();return this;case"string":var N=_getSchemaObj(this,E);if(N)this._cache.del(N.cacheKey);delete this._schemas[E];delete this._refs[E];return this;case"object":var R=this._opts.serialize;var j=R?R(E):E;this._cache.del(j);var q=this._getId(E);if(q){q=$.normalizeId(q);delete this._schemas[q];delete this._refs[q]}}return this}function _removeAllSchemas(E,N,R){for(var j in N){var $=N[j];if(!$.meta&&(!R||R.test(j))){E._cache.del($.cacheKey);delete N[j]}}}function _addSchema(E,N,R,j){if(typeof E!="object"&&typeof E!="boolean")throw new Error("schema should be object or boolean");var q=this._opts.serialize;var ie=q?q(E):E;var ae=this._cache.get(ie);if(ae)return ae;j=j||this._opts.addUsedSchema!==false;var ce=$.normalizeId(this._getId(E));if(ce&&j)checkUnique(this,ce);var le=this._opts.validateSchema!==false&&!N;var _e;if(le&&!(_e=ce&&ce==$.normalizeId(E.$schema)))this.validateSchema(E,true);var Ee=$.ids.call(this,E);var Te=new G({id:ce,schema:E,localRefs:Ee,cacheKey:ie,meta:R});if(ce[0]!="#"&&j)this._refs[ce]=Te;this._cache.put(ie,Te);if(le&&_e)this.validateSchema(E,true);return Te}function _compile(E,N){if(E.compiling){E.validate=callValidate;callValidate.schema=E.schema;callValidate.errors=null;callValidate.root=N?N:callValidate;if(E.schema.$async===true)callValidate.$async=true;return callValidate}E.compiling=true;var R;if(E.meta){R=this._opts;this._opts=this._metaOpts}var $;try{$=j.call(this,E.schema,N,E.localRefs)}catch(N){delete E.validate;throw N}finally{E.compiling=false;if(E.meta)this._opts=R}E.validate=$;E.refs=$.refs;E.refVal=$.refVal;E.root=$.root;return $;function callValidate(){var N=E.validate;var R=N.apply(this,arguments);callValidate.errors=N.errors;return R}}function chooseGetId(E){switch(E.schemaId){case"auto":return _get$IdOrId;case"id":return _getId;default:return _get$Id}}function _getId(E){if(E.$id)this.logger.warn("schema $id ignored",E.$id);return E.id}function _get$Id(E){if(E.id)this.logger.warn("schema id ignored",E.id);return E.$id}function _get$IdOrId(E){if(E.$id&&E.id&&E.$id!=E.id)throw new Error("schema $id is different from id");return E.$id||E.id}function errorsText(E,N){E=E||this.errors;if(!E)return"No errors";N=N||{};var R=N.separator===undefined?", ":N.separator;var j=N.dataVar===undefined?"data":N.dataVar;var $="";for(var q=0;q<E.length;q++){var G=E[q];if(G)$+=j+G.dataPath+" "+G.message+R}return $.slice(0,-R.length)}function addFormat(E,N){if(typeof N=="string")N=new RegExp(N);this._formats[E]=N;return this}function addDefaultMetaSchema(E){var N;if(E._opts.$data){N=R(894);E.addMetaSchema(N,N.$id,true)}if(E._opts.meta===false)return;var j=R(6680);if(E._opts.$data)j=le(j,Ne);E.addMetaSchema(j,we,true);E._refs["http://json-schema.org/schema"]=we}function addInitialSchemas(E){var N=E._opts.schemas;if(!N)return;if(Array.isArray(N))E.addSchema(N);else for(var R in N)E.addSchema(N[R],R)}function addInitialFormats(E){for(var N in E._opts.formats){var R=E._opts.formats[N];E.addFormat(N,R)}}function addInitialKeywords(E){for(var N in E._opts.keywords){var R=E._opts.keywords[N];E.addKeyword(N,R)}}function checkUnique(E,N){if(E._schemas[N]||E._refs[N])throw new Error('schema with key or id "'+N+'" already exists')}function getMetaSchemaOptions(E){var N=_e.copy(E._opts);for(var R=0;R<Ie.length;R++)delete N[Ie[R]];return N}function setLogger(E){var N=E._opts.logger;if(N===false){E.logger={log:noop,warn:noop,error:noop}}else{if(N===undefined)N=console;if(!(typeof N=="object"&&N.log&&N.warn&&N.error))throw new Error("logger must implement log, warn and error methods");E.logger=N}}function noop(){}},32183:E=>{"use strict";var N=E.exports=function Cache(){this._cache={}};N.prototype.put=function Cache_put(E,N){this._cache[E]=N};N.prototype.get=function Cache_get(E){return this._cache[E]};N.prototype.del=function Cache_del(E){delete this._cache[E]};N.prototype.clear=function Cache_clear(){this._cache={}}},18840:(E,N,R)=>{"use strict";var j=R(29411).MissingRef;E.exports=compileAsync;function compileAsync(E,N,R){var $=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof N=="function"){R=N;N=undefined}var q=loadMetaSchemaOf(E).then((function(){var R=$._addSchema(E,undefined,N);return R.validate||_compileAsync(R)}));if(R){q.then((function(E){R(null,E)}),R)}return q;function loadMetaSchemaOf(E){var N=E.$schema;return N&&!$.getSchema(N)?compileAsync.call($,{$ref:N},true):Promise.resolve()}function _compileAsync(E){try{return $._compile(E)}catch(E){if(E instanceof j)return loadMissingSchema(E);throw E}function loadMissingSchema(R){var j=R.missingSchema;if(added(j))throw new Error("Schema "+j+" is loaded but "+R.missingRef+" cannot be resolved");var q=$._loadingSchemas[j];if(!q){q=$._loadingSchemas[j]=$._opts.loadSchema(j);q.then(removePromise,removePromise)}return q.then((function(E){if(!added(j)){return loadMetaSchemaOf(E).then((function(){if(!added(j))$.addSchema(E,j,undefined,N)}))}})).then((function(){return _compileAsync(E)}));function removePromise(){delete $._loadingSchemas[j]}function added(E){return $._refs[E]||$._schemas[E]}}}}},29411:(E,N,R)=>{"use strict";var j=R(82253);E.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(E){this.message="validation failed";this.errors=E;this.ajv=this.validation=true}MissingRefError.message=function(E,N){return"can't resolve reference "+N+" from id "+E};function MissingRefError(E,N,R){this.message=R||MissingRefError.message(E,N);this.missingRef=j.url(E,N);this.missingSchema=j.normalizeId(j.fullPath(this.missingRef))}function errorSubclass(E){E.prototype=Object.create(Error.prototype);E.prototype.constructor=E;return E}},10698:(E,N,R)=>{"use strict";var j=R(778);var $=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var q=[0,31,28,31,30,31,30,31,31,30,31,30,31];var G=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ie=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var ae=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var ce=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var le=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var _e=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var Ee=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Te=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var we=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Ie=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;E.exports=formats;function formats(E){E=E=="full"?"full":"fast";return j.copy(formats[E])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":le,url:_e,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:Ee,"json-pointer":Te,"json-pointer-uri-fragment":we,"relative-json-pointer":Ie};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":ce,"uri-template":le,url:_e,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:Ee,"json-pointer":Te,"json-pointer-uri-fragment":we,"relative-json-pointer":Ie};function isLeapYear(E){return E%4===0&&(E%100!==0||E%400===0)}function date(E){var N=E.match($);if(!N)return false;var R=+N[1];var j=+N[2];var G=+N[3];return j>=1&&j<=12&&G>=1&&G<=(j==2&&isLeapYear(R)?29:q[j])}function time(E,N){var R=E.match(G);if(!R)return false;var j=R[1];var $=R[2];var q=R[3];var ie=R[5];return(j<=23&&$<=59&&q<=59||j==23&&$==59&&q==60)&&(!N||ie)}var Ne=/t|\s/i;function date_time(E){var N=E.split(Ne);return N.length==2&&date(N[0])&&time(N[1],true)}var Me=/\/|:/;function uri(E){return Me.test(E)&&ae.test(E)}var Le=/[^\\]\\Z/;function regex(E){if(Le.test(E))return false;try{new RegExp(E);return true}catch(E){return false}}},69579:(E,N,R)=>{"use strict";var j=R(82253),$=R(778),q=R(29411),G=R(75986);var ie=R(85061);var ae=$.ucs2length;var ce=R(55245);var le=q.Validation;E.exports=compile;function compile(E,N,R,_e){var Ee=this,Te=this._opts,we=[undefined],Ie={},Ne=[],Me={},Le=[],Be={},je=[];N=N||{schema:E,refVal:we,refs:Ie};var Ue=checkCompiling.call(this,E,N,_e);var ze=this._compilations[Ue.index];if(Ue.compiling)return ze.callValidate=callValidate;var We=this._formats;var Je=this.RULES;try{var Ve=localCompile(E,N,R,_e);ze.validate=Ve;var qe=ze.callValidate;if(qe){qe.schema=Ve.schema;qe.errors=null;qe.refs=Ve.refs;qe.refVal=Ve.refVal;qe.root=Ve.root;qe.$async=Ve.$async;if(Te.sourceCode)qe.source=Ve.source}return Ve}finally{endCompiling.call(this,E,N,_e)}function callValidate(){var E=ze.validate;var N=E.apply(this,arguments);callValidate.errors=E.errors;return N}function localCompile(E,R,G,_e){var Me=!R||R&&R.schema==E;if(R.schema!=N.schema)return compile.call(Ee,E,R,G,_e);var Be=E.$async===true;var Ue=ie({isTop:true,schema:E,isRoot:Me,baseId:_e,root:R,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:q.MissingRef,RULES:Je,validate:ie,util:$,resolve:j,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Te,formats:We,logger:Ee.logger,self:Ee});Ue=vars(we,refValCode)+vars(Ne,patternCode)+vars(Le,defaultCode)+vars(je,customRuleCode)+Ue;if(Te.processCode)Ue=Te.processCode(Ue,E);var ze;try{var Ve=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Ue);ze=Ve(Ee,Je,We,N,we,Le,je,ce,ae,le);we[0]=ze}catch(E){Ee.logger.error("Error compiling schema, function code:",Ue);throw E}ze.schema=E;ze.errors=null;ze.refs=Ie;ze.refVal=we;ze.root=Me?ze:R;if(Be)ze.$async=true;if(Te.sourceCode===true){ze.source={code:Ue,patterns:Ne,defaults:Le}}return ze}function resolveRef(E,$,q){$=j.url(E,$);var G=Ie[$];var ie,ae;if(G!==undefined){ie=we[G];ae="refVal["+G+"]";return resolvedRef(ie,ae)}if(!q&&N.refs){var ce=N.refs[$];if(ce!==undefined){ie=N.refVal[ce];ae=addLocalRef($,ie);return resolvedRef(ie,ae)}}ae=addLocalRef($);var le=j.call(Ee,localCompile,N,$);if(le===undefined){var _e=R&&R[$];if(_e){le=j.inlineRef(_e,Te.inlineRefs)?_e:compile.call(Ee,_e,N,R,E)}}if(le===undefined){removeLocalRef($)}else{replaceLocalRef($,le);return resolvedRef(le,ae)}}function addLocalRef(E,N){var R=we.length;we[R]=N;Ie[E]=R;return"refVal"+R}function removeLocalRef(E){delete Ie[E]}function replaceLocalRef(E,N){var R=Ie[E];we[R]=N}function resolvedRef(E,N){return typeof E=="object"||typeof E=="boolean"?{code:N,schema:E,inline:true}:{code:N,$async:E&&!!E.$async}}function usePattern(E){var N=Me[E];if(N===undefined){N=Me[E]=Ne.length;Ne[N]=E}return"pattern"+N}function useDefault(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return $.toQuotedString(E);case"object":if(E===null)return"null";var N=G(E);var R=Be[N];if(R===undefined){R=Be[N]=Le.length;Le[R]=E}return"default"+R}}function useCustomRule(E,N,R,j){if(Ee._opts.validateSchema!==false){var $=E.definition.dependencies;if($&&!$.every((function(E){return Object.prototype.hasOwnProperty.call(R,E)})))throw new Error("parent schema must have all required keywords: "+$.join(","));var q=E.definition.validateSchema;if(q){var G=q(N);if(!G){var ie="keyword schema is invalid: "+Ee.errorsText(q.errors);if(Ee._opts.validateSchema=="log")Ee.logger.error(ie);else throw new Error(ie)}}}var ae=E.definition.compile,ce=E.definition.inline,le=E.definition.macro;var _e;if(ae){_e=ae.call(Ee,N,R,j)}else if(le){_e=le.call(Ee,N,R,j);if(Te.validateSchema!==false)Ee.validateSchema(_e,true)}else if(ce){_e=ce.call(Ee,j,E.keyword,N,R)}else{_e=E.definition.validate;if(!_e)return}if(_e===undefined)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var we=je.length;je[we]=_e;return{code:"customRule"+we,validate:_e}}}function checkCompiling(E,N,R){var j=compIndex.call(this,E,N,R);if(j>=0)return{index:j,compiling:true};j=this._compilations.length;this._compilations[j]={schema:E,root:N,baseId:R};return{index:j,compiling:false}}function endCompiling(E,N,R){var j=compIndex.call(this,E,N,R);if(j>=0)this._compilations.splice(j,1)}function compIndex(E,N,R){for(var j=0;j<this._compilations.length;j++){var $=this._compilations[j];if($.schema==E&&$.root==N&&$.baseId==R)return j}return-1}function patternCode(E,N){return"var pattern"+E+" = new RegExp("+$.toQuotedString(N[E])+");"}function defaultCode(E){return"var default"+E+" = defaults["+E+"];"}function refValCode(E,N){return N[E]===undefined?"":"var refVal"+E+" = refVal["+E+"];"}function customRuleCode(E){return"var customRule"+E+" = customRules["+E+"];"}function vars(E,N){if(!E.length)return"";var R="";for(var j=0;j<E.length;j++)R+=N(j,E);return R}},82253:(E,N,R)=>{"use strict";var j=R(30823),$=R(55245),q=R(778),G=R(38868),ie=R(46833);E.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(E,N,R){var j=this._refs[R];if(typeof j=="string"){if(this._refs[j])j=this._refs[j];else return resolve.call(this,E,N,j)}j=j||this._schemas[R];if(j instanceof G){return inlineRef(j.schema,this._opts.inlineRefs)?j.schema:j.validate||this._compile(j)}var $=resolveSchema.call(this,N,R);var q,ie,ae;if($){q=$.schema;N=$.root;ae=$.baseId}if(q instanceof G){ie=q.validate||E.call(this,q.schema,N,undefined,ae)}else if(q!==undefined){ie=inlineRef(q,this._opts.inlineRefs)?q:E.call(this,q,N,undefined,ae)}return ie}function resolveSchema(E,N){var R=j.parse(N),$=_getFullPath(R),q=getFullPath(this._getId(E.schema));if(Object.keys(E.schema).length===0||$!==q){var ie=normalizeId($);var ae=this._refs[ie];if(typeof ae=="string"){return resolveRecursive.call(this,E,ae,R)}else if(ae instanceof G){if(!ae.validate)this._compile(ae);E=ae}else{ae=this._schemas[ie];if(ae instanceof G){if(!ae.validate)this._compile(ae);if(ie==normalizeId(N))return{schema:ae,root:E,baseId:q};E=ae}else{return}}if(!E.schema)return;q=getFullPath(this._getId(E.schema))}return getJsonPointer.call(this,R,q,E.schema,E)}function resolveRecursive(E,N,R){var j=resolveSchema.call(this,E,N);if(j){var $=j.schema;var q=j.baseId;E=j.root;var G=this._getId($);if(G)q=resolveUrl(q,G);return getJsonPointer.call(this,R,q,$,E)}}var ae=q.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(E,N,R,j){E.fragment=E.fragment||"";if(E.fragment.slice(0,1)!="/")return;var $=E.fragment.split("/");for(var G=1;G<$.length;G++){var ie=$[G];if(ie){ie=q.unescapeFragment(ie);R=R[ie];if(R===undefined)break;var ce;if(!ae[ie]){ce=this._getId(R);if(ce)N=resolveUrl(N,ce);if(R.$ref){var le=resolveUrl(N,R.$ref);var _e=resolveSchema.call(this,j,le);if(_e){R=_e.schema;j=_e.root;N=_e.baseId}}}}}if(R!==undefined&&R!==j.schema)return{schema:R,root:j,baseId:N}}var ce=q.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function inlineRef(E,N){if(N===false)return false;if(N===undefined||N===true)return checkNoRef(E);else if(N)return countKeys(E)<=N}function checkNoRef(E){var N;if(Array.isArray(E)){for(var R=0;R<E.length;R++){N=E[R];if(typeof N=="object"&&!checkNoRef(N))return false}}else{for(var j in E){if(j=="$ref")return false;N=E[j];if(typeof N=="object"&&!checkNoRef(N))return false}}return true}function countKeys(E){var N=0,R;if(Array.isArray(E)){for(var j=0;j<E.length;j++){R=E[j];if(typeof R=="object")N+=countKeys(R);if(N==Infinity)return Infinity}}else{for(var $ in E){if($=="$ref")return Infinity;if(ce[$]){N++}else{R=E[$];if(typeof R=="object")N+=countKeys(R)+1;if(N==Infinity)return Infinity}}}return N}function getFullPath(E,N){if(N!==false)E=normalizeId(E);var R=j.parse(E);return _getFullPath(R)}function _getFullPath(E){return j.serialize(E).split("#")[0]+"#"}var le=/#\/?$/;function normalizeId(E){return E?E.replace(le,""):""}function resolveUrl(E,N){N=normalizeId(N);return j.resolve(E,N)}function resolveIds(E){var N=normalizeId(this._getId(E));var R={"":N};var G={"":getFullPath(N,false)};var ae={};var ce=this;ie(E,{allKeys:true},(function(E,N,ie,le,_e,Ee,Te){if(N==="")return;var we=ce._getId(E);var Ie=R[le];var Ne=G[le]+"/"+_e;if(Te!==undefined)Ne+="/"+(typeof Te=="number"?Te:q.escapeFragment(Te));if(typeof we=="string"){we=Ie=normalizeId(Ie?j.resolve(Ie,we):we);var Me=ce._refs[we];if(typeof Me=="string")Me=ce._refs[Me];if(Me&&Me.schema){if(!$(E,Me.schema))throw new Error('id "'+we+'" resolves to more than one schema')}else if(we!=normalizeId(Ne)){if(we[0]=="#"){if(ae[we]&&!$(E,ae[we]))throw new Error('id "'+we+'" resolves to more than one schema');ae[we]=E}else{ce._refs[we]=Ne}}}R[N]=Ie;G[N]=Ne}));return ae}},75041:(E,N,R)=>{"use strict";var j=R(71001),$=R(778).toHash;E.exports=function rules(){var E=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var N=["type","$comment"];var R=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var q=["number","integer","string","array","object","boolean","null"];E.all=$(N);E.types=$(q);E.forEach((function(R){R.rules=R.rules.map((function(R){var $;if(typeof R=="object"){var q=Object.keys(R)[0];$=R[q];R=q;$.forEach((function(R){N.push(R);E.all[R]=true}))}N.push(R);var G=E.all[R]={keyword:R,code:j[R],implements:$};return G}));E.all.$comment={keyword:"$comment",code:j.$comment};if(R.type)E.types[R.type]=R}));E.keywords=$(N.concat(R));E.custom={};return E}},38868:(E,N,R)=>{"use strict";var j=R(778);E.exports=SchemaObject;function SchemaObject(E){j.copy(E,this)}},15512:E=>{"use strict";E.exports=function ucs2length(E){var N=0,R=E.length,j=0,$;while(j<R){N++;$=E.charCodeAt(j++);if($>=55296&&$<=56319&&j<R){$=E.charCodeAt(j);if(($&64512)==56320)j++}}return N}},778:(E,N,R)=>{"use strict";E.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:R(55245),ucs2length:R(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(E,N){N=N||{};for(var R in E)N[R]=E[R];return N}function checkDataType(E,N,R,j){var $=j?" !== ":" === ",q=j?" || ":" && ",G=j?"!":"",ie=j?"":"!";switch(E){case"null":return N+$+"null";case"array":return G+"Array.isArray("+N+")";case"object":return"("+G+N+q+"typeof "+N+$+'"object"'+q+ie+"Array.isArray("+N+"))";case"integer":return"(typeof "+N+$+'"number"'+q+ie+"("+N+" % 1)"+q+N+$+N+(R?q+G+"isFinite("+N+")":"")+")";case"number":return"(typeof "+N+$+'"'+E+'"'+(R?q+G+"isFinite("+N+")":"")+")";default:return"typeof "+N+$+'"'+E+'"'}}function checkDataTypes(E,N,R){switch(E.length){case 1:return checkDataType(E[0],N,R,true);default:var j="";var $=toHash(E);if($.array&&$.object){j=$.null?"(":"(!"+N+" || ";j+="typeof "+N+' !== "object")';delete $.null;delete $.array;delete $.object}if($.number)delete $.integer;for(var q in $)j+=(j?" && ":"")+checkDataType(q,N,R,true);return j}}var j=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(E,N){if(Array.isArray(N)){var R=[];for(var $=0;$<N.length;$++){var q=N[$];if(j[q])R[R.length]=q;else if(E==="array"&&q==="array")R[R.length]=q}if(R.length)return R}else if(j[N]){return[N]}else if(E==="array"&&N==="array"){return["array"]}}function toHash(E){var N={};for(var R=0;R<E.length;R++)N[E[R]]=true;return N}var $=/^[a-z$_][a-z$_0-9]*$/i;var q=/'|\\/g;function getProperty(E){return typeof E=="number"?"["+E+"]":$.test(E)?"."+E:"['"+escapeQuotes(E)+"']"}function escapeQuotes(E){return E.replace(q,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function varOccurences(E,N){N+="[^0-9]";var R=E.match(new RegExp(N,"g"));return R?R.length:0}function varReplace(E,N,R){N+="([^0-9])";R=R.replace(/\$/g,"$$$$");return E.replace(new RegExp(N,"g"),R+"$1")}function schemaHasRules(E,N){if(typeof E=="boolean")return!E;for(var R in E)if(N[R])return true}function schemaHasRulesExcept(E,N,R){if(typeof E=="boolean")return!E&&R!="not";for(var j in E)if(j!=R&&N[j])return true}function schemaUnknownRules(E,N){if(typeof E=="boolean")return;for(var R in E)if(!N[R])return R}function toQuotedString(E){return"'"+escapeQuotes(E)+"'"}function getPathExpr(E,N,R,j){var $=R?"'/' + "+N+(j?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):j?"'[' + "+N+" + ']'":"'[\\'' + "+N+" + '\\']'";return joinPaths(E,$)}function getPath(E,N,R){var j=R?toQuotedString("/"+escapeJsonPointer(N)):toQuotedString(getProperty(N));return joinPaths(E,j)}var G=/^\/(?:[^~]|~0|~1)*$/;var ie=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(E,N,R){var j,$,q,ae;if(E==="")return"rootData";if(E[0]=="/"){if(!G.test(E))throw new Error("Invalid JSON-pointer: "+E);$=E;q="rootData"}else{ae=E.match(ie);if(!ae)throw new Error("Invalid JSON-pointer: "+E);j=+ae[1];$=ae[2];if($=="#"){if(j>=N)throw new Error("Cannot access property/index "+j+" levels up, current level is "+N);return R[N-j]}if(j>N)throw new Error("Cannot access data "+j+" levels up, current level is "+N);q="data"+(N-j||"");if(!$)return q}var ce=q;var le=$.split("/");for(var _e=0;_e<le.length;_e++){var Ee=le[_e];if(Ee){q+=getProperty(unescapeJsonPointer(Ee));ce+=" && "+q}}return ce}function joinPaths(E,N){if(E=='""')return N;return(E+" + "+N).replace(/([^\\])' \+ '/g,"$1")}function unescapeFragment(E){return unescapeJsonPointer(decodeURIComponent(E))}function escapeFragment(E){return encodeURIComponent(escapeJsonPointer(E))}function escapeJsonPointer(E){return E.replace(/~/g,"~0").replace(/\//g,"~1")}function unescapeJsonPointer(E){return E.replace(/~1/g,"/").replace(/~0/g,"~")}},30398:E=>{"use strict";var N=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];E.exports=function(E,R){for(var j=0;j<R.length;j++){E=JSON.parse(JSON.stringify(E));var $=R[j].split("/");var q=E;var G;for(G=1;G<$.length;G++)q=q[$[G]];for(G=0;G<N.length;G++){var ie=N[G];var ae=q[ie];if(ae){q[ie]={anyOf:[ae,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}}}return E}},86205:(E,N,R)=>{"use strict";var j=R(6680);E.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:j.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:j.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:E=>{"use strict";E.exports=function generate__limit(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we=N=="maximum",Ie=we?"exclusiveMaximum":"exclusiveMinimum",Ne=E.schema[Ie],Me=E.opts.$data&&Ne&&Ne.$data,Le=we?"<":">",Be=we?">":"<",le=undefined;if(!(Ee||typeof G=="number"||G===undefined)){throw new Error(N+" must be number")}if(!(Me||Ne===undefined||typeof Ne=="number"||typeof Ne=="boolean")){throw new Error(Ie+" must be number or boolean")}if(Me){var je=E.util.getData(Ne.$data,q,E.dataPathArr),Ue="exclusive"+$,ze="exclType"+$,We="exclIsNumber"+$,Je="op"+$,Ve="' + "+Je+" + '";j+=" var schemaExcl"+$+" = "+je+"; ";je="schemaExcl"+$;j+=" var "+Ue+"; var "+ze+" = typeof "+je+"; if ("+ze+" != 'boolean' && "+ze+" != 'undefined' && "+ze+" != 'number') { ";var le=Ie;var qe=qe||[];qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: '"+Ie+" should be boolean' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var He=j;j=qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+He+"]); "}else{j+=" validate.errors = ["+He+"]; return false; "}}else{j+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+ze+" == 'number' ? ( ("+Ue+" = "+Te+" === undefined || "+je+" "+Le+"= "+Te+") ? "+_e+" "+Be+"= "+je+" : "+_e+" "+Be+" "+Te+" ) : ( ("+Ue+" = "+je+" === true) ? "+_e+" "+Be+"= "+Te+" : "+_e+" "+Be+" "+Te+" ) || "+_e+" !== "+_e+") { var op"+$+" = "+Ue+" ? '"+Le+"' : '"+Le+"='; ";if(G===undefined){le=Ie;ae=E.errSchemaPath+"/"+Ie;Te=je;Ee=Me}}else{var We=typeof Ne=="number",Ve=Le;if(We&&Ee){var Je="'"+Ve+"'";j+=" if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" ( "+Te+" === undefined || "+Ne+" "+Le+"= "+Te+" ? "+_e+" "+Be+"= "+Ne+" : "+_e+" "+Be+" "+Te+" ) || "+_e+" !== "+_e+") { "}else{if(We&&G===undefined){Ue=true;le=Ie;ae=E.errSchemaPath+"/"+Ie;Te=Ne;Be+="="}else{if(We)Te=Math[we?"min":"max"](Ne,G);if(Ne===(We?Te:true)){Ue=true;le=Ie;ae=E.errSchemaPath+"/"+Ie;Be+="="}else{Ue=false;Ve+="="}}var Je="'"+Ve+"'";j+=" if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+_e+" "+Be+" "+Te+" || "+_e+" !== "+_e+") { "}}le=le||N;var qe=qe||[];qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Je+", limit: "+Te+", exclusive: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should be "+Ve+" ";if(Ee){j+="' + "+Te}else{j+=""+Te+"'"}}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var He=j;j=qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+He+"]); "}else{j+=" validate.errors = ["+He+"]; return false; "}}else{j+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}return j}},6958:E=>{"use strict";E.exports=function generate__limitItems(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxItems"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+_e+".length "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitItems")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have ";if(N=="maxItems"){j+="more"}else{j+="fewer"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" items' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},41363:E=>{"use strict";E.exports=function generate__limitLength(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxLength"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}if(E.opts.unicode===false){j+=" "+_e+".length "}else{j+=" ucs2length("+_e+") "}j+=" "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitLength")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT be ";if(N=="maxLength"){j+="longer"}else{j+="shorter"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" characters' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},25569:E=>{"use strict";E.exports=function generate__limitProperties(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxProperties"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" Object.keys("+_e+").length "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitProperties")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have ";if(N=="maxProperties"){j+="more"}else{j+="fewer"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" properties' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},30081:E=>{"use strict";E.exports=function generate_allOf(E,N,R){var j=" ";var $=E.schema[N];var q=E.schemaPath+E.util.getProperty(N);var G=E.errSchemaPath+"/"+N;var ie=!E.opts.allErrors;var ae=E.util.copy(E);var ce="";ae.level++;var le="valid"+ae.level;var _e=ae.baseId,Ee=true;var Te=$;if(Te){var we,Ie=-1,Ne=Te.length-1;while(Ie<Ne){we=Te[Ie+=1];if(E.opts.strictKeywords?typeof we=="object"&&Object.keys(we).length>0||we===false:E.util.schemaHasRules(we,E.RULES.all)){Ee=false;ae.schema=we;ae.schemaPath=q+"["+Ie+"]";ae.errSchemaPath=G+"/"+Ie;j+=" "+E.validate(ae)+" ";ae.baseId=_e;if(ie){j+=" if ("+le+") { ";ce+="}"}}}}if(ie){if(Ee){j+=" if (true) { "}else{j+=" "+ce.slice(0,-1)+" "}}return j}},70019:E=>{"use strict";E.exports=function generate_anyOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne=G.every((function(N){return E.opts.strictKeywords?typeof N=="object"&&Object.keys(N).length>0||N===false:E.util.schemaHasRules(N,E.RULES.all)}));if(Ne){var Me=Te.baseId;j+=" var "+Ee+" = errors; var "+_e+" = false; ";var Le=E.compositeRule;E.compositeRule=Te.compositeRule=true;var Be=G;if(Be){var je,Ue=-1,ze=Be.length-1;while(Ue<ze){je=Be[Ue+=1];Te.schema=je;Te.schemaPath=ie+"["+Ue+"]";Te.errSchemaPath=ae+"/"+Ue;j+=" "+E.validate(Te)+" ";Te.baseId=Me;j+=" "+_e+" = "+_e+" || "+Ie+"; if (!"+_e+") { ";we+="}"}}E.compositeRule=Te.compositeRule=Le;j+=" "+we+" if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"anyOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should match some schema in anyOf' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+=" } else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } ";if(E.opts.allErrors){j+=" } "}}else{if(ce){j+=" if (true) { "}}return j}},79878:E=>{"use strict";E.exports=function generate_comment(E,N,R){var j=" ";var $=E.schema[N];var q=E.errSchemaPath+"/"+N;var G=!E.opts.allErrors;var ie=E.util.toQuotedString($);if(E.opts.$comment===true){j+=" console.log("+ie+");"}else if(typeof E.opts.$comment=="function"){j+=" self._opts.$comment("+ie+", "+E.util.toQuotedString(q)+", validate.root.schema);"}return j}},23404:E=>{"use strict";E.exports=function generate_const(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!Ee){j+=" var schema"+$+" = validate.schema"+ie+";"}j+="var "+_e+" = equal("+le+", schema"+$+"); if (!"+_e+") { ";var we=we||[];we.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValue: schema"+$+" } ";if(E.opts.messages!==false){j+=" , message: 'should be equal to constant' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ie=j;j=we.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ie+"]); "}else{j+=" validate.errors = ["+Ie+"]; return false; "}}else{j+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" }";if(ce){j+=" else { "}return j}},33224:E=>{"use strict";E.exports=function generate_contains(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="i"+$,Me=Te.dataLevel=E.dataLevel+1,Le="data"+Me,Be=E.baseId,je=E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all);j+="var "+Ee+" = errors;var "+_e+";";if(je){var Ue=E.compositeRule;E.compositeRule=Te.compositeRule=true;Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" var "+Ie+" = false; for (var "+Ne+" = 0; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var ze=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var We=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(We,Le)<2){j+=" "+E.util.varReplace(We,Le,ze)+" "}else{j+=" var "+Le+" = "+ze+"; "+We+" "}j+=" if ("+Ie+") break; } ";E.compositeRule=Te.compositeRule=Ue;j+=" "+we+" if (!"+Ie+") {"}else{j+=" if ("+le+".length == 0) {"}var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should contain a valid item' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { ";if(je){j+=" errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } "}if(E.opts.allErrors){j+=" } "}return j}},99819:E=>{"use strict";E.exports=function generate_custom(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee="valid"+$;var Te="errs__"+$;var we=E.opts.$data&&G&&G.$data,Ie;if(we){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+$}else{Ie=G}var Ne=this,Me="definition"+$,Le=Ne.definition,Be="";var je,Ue,ze,We,Je;if(we&&Le.$data){Je="keywordValidate"+$;var Ve=Le.validateSchema;j+=" var "+Me+" = RULES.custom['"+N+"'].definition; var "+Je+" = "+Me+".validate;"}else{We=E.useCustomRule(Ne,G,E.schema,E);if(!We)return;Ie="validate.schema"+ie;Je=We.code;je=Le.compile;Ue=Le.inline;ze=Le.macro}var qe=Je+".errors",He="i"+$,Ge="ruleErr"+$,Ke=Le.async;if(Ke&&!E.async)throw new Error("async keyword in sync schema");if(!(Ue||ze)){j+=""+qe+" = null;"}j+="var "+Te+" = errors;var "+Ee+";";if(we&&Le.$data){Be+="}";j+=" if ("+Ie+" === undefined) { "+Ee+" = true; } else { ";if(Ve){Be+="}";j+=" "+Ee+" = "+Me+".validateSchema("+Ie+"); if ("+Ee+") { "}}if(Ue){if(Le.statements){j+=" "+We.validate+" "}else{j+=" "+Ee+" = "+We.validate+"; "}}else if(ze){var Qe=E.util.copy(E);var Be="";Qe.level++;var Xe="valid"+Qe.level;Qe.schema=We.validate;Qe.schemaPath="";var Ye=E.compositeRule;E.compositeRule=Qe.compositeRule=true;var Ze=E.validate(Qe).replace(/validate\.schema/g,Je);E.compositeRule=Qe.compositeRule=Ye;j+=" "+Ze}else{var et=et||[];et.push(j);j="";j+=" "+Je+".call( ";if(E.opts.passContext){j+="this"}else{j+="self"}if(je||Le.schema===false){j+=" , "+_e+" "}else{j+=" , "+Ie+" , "+_e+" , validate.schema"+E.schemaPath+" "}j+=" , (dataPath || '')";if(E.errorPath!='""'){j+=" + "+E.errorPath}var tt=q?"data"+(q-1||""):"parentData",rt=q?E.dataPathArr[q]:"parentDataProperty";j+=" , "+tt+" , "+rt+" , rootData ) ";var nt=j;j=et.pop();if(Le.errors===false){j+=" "+Ee+" = ";if(Ke){j+="await "}j+=""+nt+"; "}else{if(Ke){qe="customErrors"+$;j+=" var "+qe+" = null; try { "+Ee+" = await "+nt+"; } catch (e) { "+Ee+" = false; if (e instanceof ValidationError) "+qe+" = e.errors; else throw e; } "}else{j+=" "+qe+" = null; "+Ee+" = "+nt+"; "}}}if(Le.modifying){j+=" if ("+tt+") "+_e+" = "+tt+"["+rt+"];"}j+=""+Be;if(Le.valid){if(ce){j+=" if (true) { "}}else{j+=" if ( ";if(Le.valid===undefined){j+=" !";if(ze){j+=""+Xe}else{j+=""+Ee}}else{j+=" "+!Le.valid+" "}j+=") { ";le=Ne.keyword;var et=et||[];et.push(j);j="";var et=et||[];et.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { keyword: '"+Ne.keyword+"' } ";if(E.opts.messages!==false){j+=" , message: 'should pass \""+Ne.keyword+"\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var it=j;j=et.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+it+"]); "}else{j+=" validate.errors = ["+it+"]; return false; "}}else{j+=" var err = "+it+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var ot=j;j=et.pop();if(Ue){if(Le.errors){if(Le.errors!="full"){j+=" for (var "+He+"="+Te+"; "+He+"<errors; "+He+"++) { var "+Ge+" = vErrors["+He+"]; if ("+Ge+".dataPath === undefined) "+Ge+".dataPath = (dataPath || '') + "+E.errorPath+"; if ("+Ge+".schemaPath === undefined) { "+Ge+'.schemaPath = "'+ae+'"; } ';if(E.opts.verbose){j+=" "+Ge+".schema = "+Ie+"; "+Ge+".data = "+_e+"; "}j+=" } "}}else{if(Le.errors===false){j+=" "+ot+" "}else{j+=" if ("+Te+" == errors) { "+ot+" } else { for (var "+He+"="+Te+"; "+He+"<errors; "+He+"++) { var "+Ge+" = vErrors["+He+"]; if ("+Ge+".dataPath === undefined) "+Ge+".dataPath = (dataPath || '') + "+E.errorPath+"; if ("+Ge+".schemaPath === undefined) { "+Ge+'.schemaPath = "'+ae+'"; } ';if(E.opts.verbose){j+=" "+Ge+".schema = "+Ie+"; "+Ge+".data = "+_e+"; "}j+=" } } "}}}else if(ze){j+=" var err = ";if(E.createErrors!==false){j+=" { keyword: '"+(le||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { keyword: '"+Ne.keyword+"' } ";if(E.opts.messages!==false){j+=" , message: 'should pass \""+Ne.keyword+"\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}}else{if(Le.errors===false){j+=" "+ot+" "}else{j+=" if (Array.isArray("+qe+")) { if (vErrors === null) vErrors = "+qe+"; else vErrors = vErrors.concat("+qe+"); errors = vErrors.length; for (var "+He+"="+Te+"; "+He+"<errors; "+He+"++) { var "+Ge+" = vErrors["+He+"]; if ("+Ge+".dataPath === undefined) "+Ge+".dataPath = (dataPath || '') + "+E.errorPath+"; "+Ge+'.schemaPath = "'+ae+'"; ';if(E.opts.verbose){j+=" "+Ge+".schema = "+Ie+"; "+Ge+".data = "+_e+"; "}j+=" } } else { "+ot+" } "}}j+=" } ";if(ce){j+=" else { "}}return j}},19493:E=>{"use strict";E.exports=function generate_dependencies(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;var Ie={},Ne={},Me=E.opts.ownProperties;for(Ue in G){if(Ue=="__proto__")continue;var Le=G[Ue];var Be=Array.isArray(Le)?Ne:Ie;Be[Ue]=Le}j+="var "+_e+" = errors;";var je=E.errorPath;j+="var missing"+$+";";for(var Ue in Ne){Be=Ne[Ue];if(Be.length){j+=" if ( "+le+E.util.getProperty(Ue)+" !== undefined ";if(Me){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Ue)+"') "}if(ce){j+=" && ( ";var ze=Be;if(ze){var We,Je=-1,Ve=ze.length-1;while(Je<Ve){We=ze[Je+=1];if(Je){j+=" || "}var qe=E.util.getProperty(We),He=le+qe;j+=" ( ( "+He+" === undefined ";if(Me){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(We)+"') "}j+=") && (missing"+$+" = "+E.util.toQuotedString(E.opts.jsonPointers?We:qe)+") ) "}}j+=")) { ";var Ge="missing"+$,Ke="' + "+Ge+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.opts.jsonPointers?E.util.getPathExpr(je,Ge,true):je+" + "+Ge}var Qe=Qe||[];Qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { property: '"+E.util.escapeQuotes(Ue)+"', missingProperty: '"+Ke+"', depsCount: "+Be.length+", deps: '"+E.util.escapeQuotes(Be.length==1?Be[0]:Be.join(", "))+"' } ";if(E.opts.messages!==false){j+=" , message: 'should have ";if(Be.length==1){j+="property "+E.util.escapeQuotes(Be[0])}else{j+="properties "+E.util.escapeQuotes(Be.join(", "))}j+=" when property "+E.util.escapeQuotes(Ue)+" is present' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Xe=j;j=Qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Xe+"]); "}else{j+=" validate.errors = ["+Xe+"]; return false; "}}else{j+=" var err = "+Xe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{j+=" ) { ";var Ye=Be;if(Ye){var We,Ze=-1,et=Ye.length-1;while(Ze<et){We=Ye[Ze+=1];var qe=E.util.getProperty(We),Ke=E.util.escapeQuotes(We),He=le+qe;if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(je,We,E.opts.jsonPointers)}j+=" if ( "+He+" === undefined ";if(Me){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(We)+"') "}j+=") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { property: '"+E.util.escapeQuotes(Ue)+"', missingProperty: '"+Ke+"', depsCount: "+Be.length+", deps: '"+E.util.escapeQuotes(Be.length==1?Be[0]:Be.join(", "))+"' } ";if(E.opts.messages!==false){j+=" , message: 'should have ";if(Be.length==1){j+="property "+E.util.escapeQuotes(Be[0])}else{j+="properties "+E.util.escapeQuotes(Be.join(", "))}j+=" when property "+E.util.escapeQuotes(Ue)+" is present' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}j+=" } ";if(ce){Te+="}";j+=" else { "}}}E.errorPath=je;var tt=Ee.baseId;for(var Ue in Ie){var Le=Ie[Ue];if(E.opts.strictKeywords?typeof Le=="object"&&Object.keys(Le).length>0||Le===false:E.util.schemaHasRules(Le,E.RULES.all)){j+=" "+we+" = true; if ( "+le+E.util.getProperty(Ue)+" !== undefined ";if(Me){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Ue)+"') "}j+=") { ";Ee.schema=Le;Ee.schemaPath=ie+E.util.getProperty(Ue);Ee.errSchemaPath=ae+"/"+E.util.escapeFragment(Ue);j+=" "+E.validate(Ee)+" ";Ee.baseId=tt;j+=" } ";if(ce){j+=" if ("+we+") { ";Te+="}"}}}if(ce){j+=" "+Te+" if ("+_e+" == errors) {"}return j}},20489:E=>{"use strict";E.exports=function generate_enum(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we="i"+$,Ie="schema"+$;if(!Ee){j+=" var "+Ie+" = validate.schema"+ie+";"}j+="var "+_e+";";if(Ee){j+=" if (schema"+$+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+$+")) "+_e+" = false; else {"}j+=""+_e+" = false;for (var "+we+"=0; "+we+"<"+Ie+".length; "+we+"++) if (equal("+le+", "+Ie+"["+we+"])) { "+_e+" = true; break; }";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var Ne=Ne||[];Ne.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValues: schema"+$+" } ";if(E.opts.messages!==false){j+=" , message: 'should be equal to one of the allowed values' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Me=j;j=Ne.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Me+"]); "}else{j+=" validate.errors = ["+Me+"]; return false; "}}else{j+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" }";if(ce){j+=" else { "}return j}},69090:E=>{"use strict";E.exports=function generate_format(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");if(E.opts.format===false){if(ce){j+=" if (true) { "}return j}var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var Te=E.opts.unknownFormats,we=Array.isArray(Te);if(_e){var Ie="format"+$,Ne="isObject"+$,Me="formatType"+$;j+=" var "+Ie+" = formats["+Ee+"]; var "+Ne+" = typeof "+Ie+" == 'object' && !("+Ie+" instanceof RegExp) && "+Ie+".validate; var "+Me+" = "+Ne+" && "+Ie+".type || 'string'; if ("+Ne+") { ";if(E.async){j+=" var async"+$+" = "+Ie+".async; "}j+=" "+Ie+" = "+Ie+".validate; } if ( ";if(_e){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'string') || "}j+=" (";if(Te!="ignore"){j+=" ("+Ee+" && !"+Ie+" ";if(we){j+=" && self._opts.unknownFormats.indexOf("+Ee+") == -1 "}j+=") || "}j+=" ("+Ie+" && "+Me+" == '"+R+"' && !(typeof "+Ie+" == 'function' ? ";if(E.async){j+=" (async"+$+" ? await "+Ie+"("+le+") : "+Ie+"("+le+")) "}else{j+=" "+Ie+"("+le+") "}j+=" : "+Ie+".test("+le+"))))) {"}else{var Ie=E.formats[G];if(!Ie){if(Te=="ignore"){E.logger.warn('unknown format "'+G+'" ignored in schema at path "'+E.errSchemaPath+'"');if(ce){j+=" if (true) { "}return j}else if(we&&Te.indexOf(G)>=0){if(ce){j+=" if (true) { "}return j}else{throw new Error('unknown format "'+G+'" is used in schema at path "'+E.errSchemaPath+'"')}}var Ne=typeof Ie=="object"&&!(Ie instanceof RegExp)&&Ie.validate;var Me=Ne&&Ie.type||"string";if(Ne){var Le=Ie.async===true;Ie=Ie.validate}if(Me!=R){if(ce){j+=" if (true) { "}return j}if(Le){if(!E.async)throw new Error("async format in sync schema");var Be="formats"+E.util.getProperty(G)+".validate";j+=" if (!(await "+Be+"("+le+"))) { "}else{j+=" if (! ";var Be="formats"+E.util.getProperty(G);if(Ne)Be+=".validate";if(typeof Ie=="function"){j+=" "+Be+"("+le+") "}else{j+=" "+Be+".test("+le+") "}j+=") { "}}var je=je||[];je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { format: ";if(_e){j+=""+Ee}else{j+=""+E.util.toQuotedString(G)}j+=" } ";if(E.opts.messages!==false){j+=" , message: 'should match format \"";if(_e){j+="' + "+Ee+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ue=j;j=je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ue+"]); "}else{j+=" validate.errors = ["+Ue+"]; return false; "}}else{j+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}return j}},1636:E=>{"use strict";E.exports=function generate_if(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);Te.level++;var we="valid"+Te.level;var Ie=E.schema["then"],Ne=E.schema["else"],Me=Ie!==undefined&&(E.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===false:E.util.schemaHasRules(Ie,E.RULES.all)),Le=Ne!==undefined&&(E.opts.strictKeywords?typeof Ne=="object"&&Object.keys(Ne).length>0||Ne===false:E.util.schemaHasRules(Ne,E.RULES.all)),Be=Te.baseId;if(Me||Le){var je;Te.createErrors=false;Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" var "+Ee+" = errors; var "+_e+" = true; ";var Ue=E.compositeRule;E.compositeRule=Te.compositeRule=true;j+=" "+E.validate(Te)+" ";Te.baseId=Be;Te.createErrors=true;j+=" errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } ";E.compositeRule=Te.compositeRule=Ue;if(Me){j+=" if ("+we+") { ";Te.schema=E.schema["then"];Te.schemaPath=E.schemaPath+".then";Te.errSchemaPath=E.errSchemaPath+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Be;j+=" "+_e+" = "+we+"; ";if(Me&&Le){je="ifClause"+$;j+=" var "+je+" = 'then'; "}else{je="'then'"}j+=" } ";if(Le){j+=" else { "}}else{j+=" if (!"+we+") { "}if(Le){Te.schema=E.schema["else"];Te.schemaPath=E.schemaPath+".else";Te.errSchemaPath=E.errSchemaPath+"/else";j+=" "+E.validate(Te)+" ";Te.baseId=Be;j+=" "+_e+" = "+we+"; ";if(Me&&Le){je="ifClause"+$;j+=" var "+je+" = 'else'; "}else{je="'else'"}j+=" } "}j+=" if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { failingKeyword: "+je+" } ";if(E.opts.messages!==false){j+=" , message: 'should match \"' + "+je+" + '\" schema' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+=" } ";if(ce){j+=" else { "}}else{if(ce){j+=" if (true) { "}}return j}},71001:(E,N,R)=>{"use strict";E.exports={$ref:R(41944),allOf:R(30081),anyOf:R(70019),$comment:R(79878),const:R(23404),contains:R(33224),dependencies:R(19493),enum:R(20489),format:R(69090),if:R(1636),items:R(6060),maximum:R(70507),minimum:R(70507),maxItems:R(6958),minItems:R(6958),maxLength:R(41363),minLength:R(41363),maxProperties:R(25569),minProperties:R(25569),multipleOf:R(54841),not:R(74881),oneOf:R(77675),pattern:R(98676),properties:R(99306),propertyNames:R(28014),required:R(16372),uniqueItems:R(37270),validate:R(85061)}},6060:E=>{"use strict";E.exports=function generate_items(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="i"+$,Me=Te.dataLevel=E.dataLevel+1,Le="data"+Me,Be=E.baseId;j+="var "+Ee+" = errors;var "+_e+";";if(Array.isArray(G)){var je=E.schema.additionalItems;if(je===false){j+=" "+_e+" = "+le+".length <= "+G.length+"; ";var Ue=ae;ae=E.errSchemaPath+"/additionalItems";j+=" if (!"+_e+") { ";var ze=ze||[];ze.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+G.length+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have more than "+G.length+" items' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var We=j;j=ze.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+We+"]); "}else{j+=" validate.errors = ["+We+"]; return false; "}}else{j+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";ae=Ue;if(ce){we+="}";j+=" else { "}}var Je=G;if(Je){var Ve,qe=-1,He=Je.length-1;while(qe<He){Ve=Je[qe+=1];if(E.opts.strictKeywords?typeof Ve=="object"&&Object.keys(Ve).length>0||Ve===false:E.util.schemaHasRules(Ve,E.RULES.all)){j+=" "+Ie+" = true; if ("+le+".length > "+qe+") { ";var Ge=le+"["+qe+"]";Te.schema=Ve;Te.schemaPath=ie+"["+qe+"]";Te.errSchemaPath=ae+"/"+qe;Te.errorPath=E.util.getPathExpr(E.errorPath,qe,E.opts.jsonPointers,true);Te.dataPathArr[Me]=qe;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}j+=" } ";if(ce){j+=" if ("+Ie+") { ";we+="}"}}}}if(typeof je=="object"&&(E.opts.strictKeywords?typeof je=="object"&&Object.keys(je).length>0||je===false:E.util.schemaHasRules(je,E.RULES.all))){Te.schema=je;Te.schemaPath=E.schemaPath+".additionalItems";Te.errSchemaPath=E.errSchemaPath+"/additionalItems";j+=" "+Ie+" = true; if ("+le+".length > "+G.length+") { for (var "+Ne+" = "+G.length+"; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Ge=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}if(ce){j+=" if (!"+Ie+") break; "}j+=" } } ";if(ce){j+=" if ("+Ie+") { ";we+="}"}}}else if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" for (var "+Ne+" = "+0+"; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Ge=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}if(ce){j+=" if (!"+Ie+") break; "}j+=" }"}if(ce){j+=" "+we+" if ("+Ee+" == errors) {"}return j}},54841:E=>{"use strict";E.exports=function generate_multipleOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}if(!(_e||typeof G=="number")){throw new Error(N+" must be number")}j+="var division"+$+";if (";if(_e){j+=" "+Ee+" !== undefined && ( typeof "+Ee+" != 'number' || "}j+=" (division"+$+" = "+le+" / "+Ee+", ";if(E.opts.multipleOfPrecision){j+=" Math.abs(Math.round(division"+$+") - division"+$+") > 1e-"+E.opts.multipleOfPrecision+" "}else{j+=" division"+$+" !== parseInt(division"+$+") "}j+=" ) ";if(_e){j+=" ) "}j+=" ) { ";var Te=Te||[];Te.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { multipleOf: "+Ee+" } ";if(E.opts.messages!==false){j+=" , message: 'should be multiple of ";if(_e){j+="' + "+Ee}else{j+=""+Ee+"'"}}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var we=j;j=Te.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+we+"]); "}else{j+=" validate.errors = ["+we+"]; return false; "}}else{j+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},74881:E=>{"use strict";E.exports=function generate_not(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);Ee.level++;var Te="valid"+Ee.level;if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;j+=" var "+_e+" = errors; ";var we=E.compositeRule;E.compositeRule=Ee.compositeRule=true;Ee.createErrors=false;var Ie;if(Ee.opts.allErrors){Ie=Ee.opts.allErrors;Ee.opts.allErrors=false}j+=" "+E.validate(Ee)+" ";Ee.createErrors=true;if(Ie)Ee.opts.allErrors=Ie;E.compositeRule=Ee.compositeRule=we;j+=" if ("+Te+") { ";var Ne=Ne||[];Ne.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should NOT be valid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Me=j;j=Ne.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Me+"]); "}else{j+=" validate.errors = ["+Me+"]; return false; "}}else{j+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { errors = "+_e+"; if (vErrors !== null) { if ("+_e+") vErrors.length = "+_e+"; else vErrors = null; } ";if(E.opts.allErrors){j+=" } "}}else{j+=" var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should NOT be valid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(ce){j+=" if (false) { "}}return j}},77675:E=>{"use strict";E.exports=function generate_oneOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne=Te.baseId,Me="prevValid"+$,Le="passingSchemas"+$;j+="var "+Ee+" = errors , "+Me+" = false , "+_e+" = false , "+Le+" = null; ";var Be=E.compositeRule;E.compositeRule=Te.compositeRule=true;var je=G;if(je){var Ue,ze=-1,We=je.length-1;while(ze<We){Ue=je[ze+=1];if(E.opts.strictKeywords?typeof Ue=="object"&&Object.keys(Ue).length>0||Ue===false:E.util.schemaHasRules(Ue,E.RULES.all)){Te.schema=Ue;Te.schemaPath=ie+"["+ze+"]";Te.errSchemaPath=ae+"/"+ze;j+=" "+E.validate(Te)+" ";Te.baseId=Ne}else{j+=" var "+Ie+" = true; "}if(ze){j+=" if ("+Ie+" && "+Me+") { "+_e+" = false; "+Le+" = ["+Le+", "+ze+"]; } else { ";we+="}"}j+=" if ("+Ie+") { "+_e+" = "+Me+" = true; "+Le+" = "+ze+"; }"}}E.compositeRule=Te.compositeRule=Be;j+=""+we+"if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { passingSchemas: "+Le+" } ";if(E.opts.messages!==false){j+=" , message: 'should match exactly one schema in oneOf' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+="} else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; }";if(E.opts.allErrors){j+=" } "}return j}},98676:E=>{"use strict";E.exports=function generate_pattern(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var Te=_e?"(new RegExp("+Ee+"))":E.usePattern(G);j+="if ( ";if(_e){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'string') || "}j+=" !"+Te+".test("+le+") ) { ";var we=we||[];we.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { pattern: ";if(_e){j+=""+Ee}else{j+=""+E.util.toQuotedString(G)}j+=" } ";if(E.opts.messages!==false){j+=" , message: 'should match pattern \"";if(_e){j+="' + "+Ee+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ie=j;j=we.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ie+"]); "}else{j+=" validate.errors = ["+Ie+"]; return false; "}}else{j+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},99306:E=>{"use strict";E.exports=function generate_properties(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;var Ie="key"+$,Ne="idx"+$,Me=Ee.dataLevel=E.dataLevel+1,Le="data"+Me,Be="dataProperties"+$;var je=Object.keys(G||{}).filter(notProto),Ue=E.schema.patternProperties||{},ze=Object.keys(Ue).filter(notProto),We=E.schema.additionalProperties,Je=je.length||ze.length,Ve=We===false,qe=typeof We=="object"&&Object.keys(We).length,He=E.opts.removeAdditional,Ge=Ve||qe||He,Ke=E.opts.ownProperties,Qe=E.baseId;var Xe=E.schema.required;if(Xe&&!(E.opts.$data&&Xe.$data)&&Xe.length<E.opts.loopRequired){var Ye=E.util.toHash(Xe)}function notProto(E){return E!=="__proto__"}j+="var "+_e+" = errors;var "+we+" = true;";if(Ke){j+=" var "+Be+" = undefined;"}if(Ge){if(Ke){j+=" "+Be+" = "+Be+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Be+".length; "+Ne+"++) { var "+Ie+" = "+Be+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}if(Je){j+=" var isAdditional"+$+" = !(false ";if(je.length){if(je.length>8){j+=" || validate.schema"+ie+".hasOwnProperty("+Ie+") "}else{var Ze=je;if(Ze){var et,tt=-1,rt=Ze.length-1;while(tt<rt){et=Ze[tt+=1];j+=" || "+Ie+" == "+E.util.toQuotedString(et)+" "}}}}if(ze.length){var nt=ze;if(nt){var it,ot=-1,st=nt.length-1;while(ot<st){it=nt[ot+=1];j+=" || "+E.usePattern(it)+".test("+Ie+") "}}}j+=" ); if (isAdditional"+$+") { "}if(He=="all"){j+=" delete "+le+"["+Ie+"]; "}else{var ct=E.errorPath;var ut="' + "+Ie+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(E.errorPath,Ie,E.opts.jsonPointers)}if(Ve){if(He){j+=" delete "+le+"["+Ie+"]; "}else{j+=" "+we+" = false; ";var dt=ae;ae=E.errSchemaPath+"/additionalProperties";var pt=pt||[];pt.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"additionalProperties"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { additionalProperty: '"+ut+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is an invalid additional property"}else{j+="should NOT have additional properties"}j+="' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var ft=j;j=pt.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+ft+"]); "}else{j+=" validate.errors = ["+ft+"]; return false; "}}else{j+=" var err = "+ft+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}ae=dt;if(ce){j+=" break; "}}}else if(qe){if(He=="failing"){j+=" var "+_e+" = errors; ";var mt=E.compositeRule;E.compositeRule=Ee.compositeRule=true;Ee.schema=We;Ee.schemaPath=E.schemaPath+".additionalProperties";Ee.errSchemaPath=E.errSchemaPath+"/additionalProperties";Ee.errorPath=E.opts._errorDataPathProperty?E.errorPath:E.util.getPathExpr(E.errorPath,Ie,E.opts.jsonPointers);var ht=le+"["+Ie+"]";Ee.dataPathArr[Me]=Ie;var _t=E.validate(Ee);Ee.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){j+=" "+E.util.varReplace(_t,Le,ht)+" "}else{j+=" var "+Le+" = "+ht+"; "+_t+" "}j+=" if (!"+we+") { errors = "+_e+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+le+"["+Ie+"]; } ";E.compositeRule=Ee.compositeRule=mt}else{Ee.schema=We;Ee.schemaPath=E.schemaPath+".additionalProperties";Ee.errSchemaPath=E.errSchemaPath+"/additionalProperties";Ee.errorPath=E.opts._errorDataPathProperty?E.errorPath:E.util.getPathExpr(E.errorPath,Ie,E.opts.jsonPointers);var ht=le+"["+Ie+"]";Ee.dataPathArr[Me]=Ie;var _t=E.validate(Ee);Ee.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){j+=" "+E.util.varReplace(_t,Le,ht)+" "}else{j+=" var "+Le+" = "+ht+"; "+_t+" "}if(ce){j+=" if (!"+we+") break; "}}}E.errorPath=ct}if(Je){j+=" } "}j+=" } ";if(ce){j+=" if ("+we+") { ";Te+="}"}}var yt=E.opts.useDefaults&&!E.compositeRule;if(je.length){var vt=je;if(vt){var et,bt=-1,xt=vt.length-1;while(bt<xt){et=vt[bt+=1];var St=G[et];if(E.opts.strictKeywords?typeof St=="object"&&Object.keys(St).length>0||St===false:E.util.schemaHasRules(St,E.RULES.all)){var Et=E.util.getProperty(et),ht=le+Et,Tt=yt&&St.default!==undefined;Ee.schema=St;Ee.schemaPath=ie+Et;Ee.errSchemaPath=ae+"/"+E.util.escapeFragment(et);Ee.errorPath=E.util.getPath(E.errorPath,et,E.opts.jsonPointers);Ee.dataPathArr[Me]=E.util.toQuotedString(et);var _t=E.validate(Ee);Ee.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){_t=E.util.varReplace(_t,Le,ht);var kt=ht}else{var kt=Le;j+=" var "+Le+" = "+ht+"; "}if(Tt){j+=" "+_t+" "}else{if(Ye&&Ye[et]){j+=" if ( "+kt+" === undefined ";if(Ke){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=") { "+we+" = false; ";var ct=E.errorPath,dt=ae,Ct=E.util.escapeQuotes(et);if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(ct,et,E.opts.jsonPointers)}ae=E.errSchemaPath+"/required";var pt=pt||[];pt.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+Ct+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+Ct+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var ft=j;j=pt.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+ft+"]); "}else{j+=" validate.errors = ["+ft+"]; return false; "}}else{j+=" var err = "+ft+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}ae=dt;E.errorPath=ct;j+=" } else { "}else{if(ce){j+=" if ( "+kt+" === undefined ";if(Ke){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=") { "+we+" = true; } else { "}else{j+=" if ("+kt+" !== undefined ";if(Ke){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=" ) { "}}j+=" "+_t+" } "}}if(ce){j+=" if ("+we+") { ";Te+="}"}}}}if(ze.length){var Dt=ze;if(Dt){var it,At=-1,wt=Dt.length-1;while(At<wt){it=Dt[At+=1];var St=Ue[it];if(E.opts.strictKeywords?typeof St=="object"&&Object.keys(St).length>0||St===false:E.util.schemaHasRules(St,E.RULES.all)){Ee.schema=St;Ee.schemaPath=E.schemaPath+".patternProperties"+E.util.getProperty(it);Ee.errSchemaPath=E.errSchemaPath+"/patternProperties/"+E.util.escapeFragment(it);if(Ke){j+=" "+Be+" = "+Be+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Be+".length; "+Ne+"++) { var "+Ie+" = "+Be+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}j+=" if ("+E.usePattern(it)+".test("+Ie+")) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Ie,E.opts.jsonPointers);var ht=le+"["+Ie+"]";Ee.dataPathArr[Me]=Ie;var _t=E.validate(Ee);Ee.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){j+=" "+E.util.varReplace(_t,Le,ht)+" "}else{j+=" var "+Le+" = "+ht+"; "+_t+" "}if(ce){j+=" if (!"+we+") break; "}j+=" } ";if(ce){j+=" else "+we+" = true; "}j+=" } ";if(ce){j+=" if ("+we+") { ";Te+="}"}}}}}if(ce){j+=" "+Te+" if ("+_e+" == errors) {"}return j}},28014:E=>{"use strict";E.exports=function generate_propertyNames(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;j+="var "+_e+" = errors;";if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;var Ie="key"+$,Ne="idx"+$,Me="i"+$,Le="' + "+Ie+" + '",Be=Ee.dataLevel=E.dataLevel+1,je="data"+Be,Ue="dataProperties"+$,ze=E.opts.ownProperties,We=E.baseId;if(ze){j+=" var "+Ue+" = undefined; "}if(ze){j+=" "+Ue+" = "+Ue+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Ue+".length; "+Ne+"++) { var "+Ie+" = "+Ue+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}j+=" var startErrs"+$+" = errors; ";var Je=Ie;var Ve=E.compositeRule;E.compositeRule=Ee.compositeRule=true;var qe=E.validate(Ee);Ee.baseId=We;if(E.util.varOccurences(qe,je)<2){j+=" "+E.util.varReplace(qe,je,Je)+" "}else{j+=" var "+je+" = "+Je+"; "+qe+" "}E.compositeRule=Ee.compositeRule=Ve;j+=" if (!"+we+") { for (var "+Me+"=startErrs"+$+"; "+Me+"<errors; "+Me+"++) { vErrors["+Me+"].propertyName = "+Ie+"; } var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"propertyNames"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { propertyName: '"+Le+"' } ";if(E.opts.messages!==false){j+=" , message: 'property name \\'"+Le+"\\' is invalid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}if(ce){j+=" break; "}j+=" } }"}if(ce){j+=" "+Te+" if ("+_e+" == errors) {"}return j}},41944:E=>{"use strict";E.exports=function generate_ref(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.errSchemaPath+"/"+N;var ae=!E.opts.allErrors;var ce="data"+(q||"");var le="valid"+$;var _e,Ee;if(G=="#"||G=="#/"){if(E.isRoot){_e=E.async;Ee="validate"}else{_e=E.root.schema.$async===true;Ee="root.refVal[0]"}}else{var Te=E.resolveRef(E.baseId,G,E.isRoot);if(Te===undefined){var we=E.MissingRefError.message(E.baseId,G);if(E.opts.missingRefs=="fail"){E.logger.error(we);var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ie)+" , params: { ref: '"+E.util.escapeQuotes(G)+"' } ";if(E.opts.messages!==false){j+=" , message: 'can\\'t resolve reference "+E.util.escapeQuotes(G)+"' "}if(E.opts.verbose){j+=" , schema: "+E.util.toQuotedString(G)+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ce+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ae){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(ae){j+=" if (false) { "}}else if(E.opts.missingRefs=="ignore"){E.logger.warn(we);if(ae){j+=" if (true) { "}}else{throw new E.MissingRefError(E.baseId,G,we)}}else if(Te.inline){var Me=E.util.copy(E);Me.level++;var Le="valid"+Me.level;Me.schema=Te.schema;Me.schemaPath="";Me.errSchemaPath=G;var Be=E.validate(Me).replace(/validate\.schema/g,Te.code);j+=" "+Be+" ";if(ae){j+=" if ("+Le+") { "}}else{_e=Te.$async===true||E.async&&Te.$async!==false;Ee=Te.code}}if(Ee){var Ie=Ie||[];Ie.push(j);j="";if(E.opts.passContext){j+=" "+Ee+".call(this, "}else{j+=" "+Ee+"( "}j+=" "+ce+", (dataPath || '')";if(E.errorPath!='""'){j+=" + "+E.errorPath}var je=q?"data"+(q-1||""):"parentData",Ue=q?E.dataPathArr[q]:"parentDataProperty";j+=" , "+je+" , "+Ue+", rootData) ";var ze=j;j=Ie.pop();if(_e){if(!E.async)throw new Error("async schema referenced by sync schema");if(ae){j+=" var "+le+"; "}j+=" try { await "+ze+"; ";if(ae){j+=" "+le+" = true; "}j+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(ae){j+=" "+le+" = false; "}j+=" } ";if(ae){j+=" if ("+le+") { "}}else{j+=" if (!"+ze+") { if (vErrors === null) vErrors = "+Ee+".errors; else vErrors = vErrors.concat("+Ee+".errors); errors = vErrors.length; } ";if(ae){j+=" else { "}}}return j}},16372:E=>{"use strict";E.exports=function generate_required(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we="schema"+$;if(!Ee){if(G.length<E.opts.loopRequired&&E.schema.properties&&Object.keys(E.schema.properties).length){var Ie=[];var Ne=G;if(Ne){var Me,Le=-1,Be=Ne.length-1;while(Le<Be){Me=Ne[Le+=1];var je=E.schema.properties[Me];if(!(je&&(E.opts.strictKeywords?typeof je=="object"&&Object.keys(je).length>0||je===false:E.util.schemaHasRules(je,E.RULES.all)))){Ie[Ie.length]=Me}}}}else{var Ie=G}}if(Ee||Ie.length){var Ue=E.errorPath,ze=Ee||Ie.length>=E.opts.loopRequired,We=E.opts.ownProperties;if(ce){j+=" var missing"+$+"; ";if(ze){if(!Ee){j+=" var "+we+" = validate.schema"+ie+"; "}var Je="i"+$,Ve="schema"+$+"["+Je+"]",qe="' + "+Ve+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Ue,Ve,E.opts.jsonPointers)}j+=" var "+_e+" = true; ";if(Ee){j+=" if (schema"+$+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+$+")) "+_e+" = false; else {"}j+=" for (var "+Je+" = 0; "+Je+" < "+we+".length; "+Je+"++) { "+_e+" = "+le+"["+we+"["+Je+"]] !== undefined ";if(We){j+=" && Object.prototype.hasOwnProperty.call("+le+", "+we+"["+Je+"]) "}j+="; if (!"+_e+") break; } ";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var He=He||[];He.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+qe+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+qe+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ge=j;j=He.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ge+"]); "}else{j+=" validate.errors = ["+Ge+"]; return false; "}}else{j+=" var err = "+Ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { "}else{j+=" if ( ";var Ke=Ie;if(Ke){var Qe,Je=-1,Xe=Ke.length-1;while(Je<Xe){Qe=Ke[Je+=1];if(Je){j+=" || "}var Ye=E.util.getProperty(Qe),Ze=le+Ye;j+=" ( ( "+Ze+" === undefined ";if(We){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Qe)+"') "}j+=") && (missing"+$+" = "+E.util.toQuotedString(E.opts.jsonPointers?Qe:Ye)+") ) "}}j+=") { ";var Ve="missing"+$,qe="' + "+Ve+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.opts.jsonPointers?E.util.getPathExpr(Ue,Ve,true):Ue+" + "+Ve}var He=He||[];He.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+qe+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+qe+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ge=j;j=He.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ge+"]); "}else{j+=" validate.errors = ["+Ge+"]; return false; "}}else{j+=" var err = "+Ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { "}}else{if(ze){if(!Ee){j+=" var "+we+" = validate.schema"+ie+"; "}var Je="i"+$,Ve="schema"+$+"["+Je+"]",qe="' + "+Ve+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Ue,Ve,E.opts.jsonPointers)}if(Ee){j+=" if ("+we+" && !Array.isArray("+we+")) { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+qe+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+qe+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+we+" !== undefined) { "}j+=" for (var "+Je+" = 0; "+Je+" < "+we+".length; "+Je+"++) { if ("+le+"["+we+"["+Je+"]] === undefined ";if(We){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", "+we+"["+Je+"]) "}j+=") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+qe+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+qe+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ";if(Ee){j+=" } "}}else{var et=Ie;if(et){var Qe,tt=-1,rt=et.length-1;while(tt<rt){Qe=et[tt+=1];var Ye=E.util.getProperty(Qe),qe=E.util.escapeQuotes(Qe),Ze=le+Ye;if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(Ue,Qe,E.opts.jsonPointers)}j+=" if ( "+Ze+" === undefined ";if(We){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Qe)+"') "}j+=") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+qe+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+qe+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}}E.errorPath=Ue}else if(ce){j+=" if (true) {"}return j}},37270:E=>{"use strict";E.exports=function generate_uniqueItems(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if((G||Ee)&&E.opts.uniqueItems!==false){if(Ee){j+=" var "+_e+"; if ("+Te+" === false || "+Te+" === undefined) "+_e+" = true; else if (typeof "+Te+" != 'boolean') "+_e+" = false; else { "}j+=" var i = "+le+".length , "+_e+" = true , j; if (i > 1) { ";var we=E.schema.items&&E.schema.items.type,Ie=Array.isArray(we);if(!we||we=="object"||we=="array"||Ie&&(we.indexOf("object")>=0||we.indexOf("array")>=0)){j+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+le+"[i], "+le+"[j])) { "+_e+" = false; break outer; } } } "}else{j+=" var itemIndices = {}, item; for (;i--;) { var item = "+le+"[i]; ";var Ne="checkDataType"+(Ie?"s":"");j+=" if ("+E.util[Ne](we,"item",E.opts.strictNumbers,true)+") continue; ";if(Ie){j+=" if (typeof item == 'string') item = '\"' + item; "}j+=" if (typeof itemIndices[item] == 'number') { "+_e+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}j+=" } ";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var Me=Me||[];Me.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { i: i, j: j } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Le=j;j=Me.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Le+"]); "}else{j+=" validate.errors = ["+Le+"]; return false; "}}else{j+=" var err = "+Le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}}else{if(ce){j+=" if (true) { "}}return j}},85061:E=>{"use strict";E.exports=function generate_validate(E,N,R){var j="";var $=E.schema.$async===true,q=E.util.schemaHasRulesExcept(E.schema,E.RULES.all,"$ref"),G=E.self._getId(E.schema);if(E.opts.strictKeywords){var ie=E.util.schemaUnknownRules(E.schema,E.RULES.keywords);if(ie){var ae="unknown keyword: "+ie;if(E.opts.strictKeywords==="log")E.logger.warn(ae);else throw new Error(ae)}}if(E.isTop){j+=" var validate = ";if($){E.async=true;j+="async "}j+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(G&&(E.opts.sourceCode||E.opts.processCode)){j+=" "+("/*# sourceURL="+G+" */")+" "}}if(typeof E.schema=="boolean"||!(q||E.schema.$ref)){var N="false schema";var ce=E.level;var le=E.dataLevel;var _e=E.schema[N];var Ee=E.schemaPath+E.util.getProperty(N);var Te=E.errSchemaPath+"/"+N;var we=!E.opts.allErrors;var Ie;var Ne="data"+(le||"");var Me="valid"+ce;if(E.schema===false){if(E.isTop){we=true}else{j+=" var "+Me+" = false; "}var Le=Le||[];Le.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(Ie||"false schema")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Te)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'boolean schema is false' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}j+=" } "}else{j+=" {} "}var Be=j;j=Le.pop();if(!E.compositeRule&&we){if(E.async){j+=" throw new ValidationError(["+Be+"]); "}else{j+=" validate.errors = ["+Be+"]; return false; "}}else{j+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(E.isTop){if($){j+=" return data; "}else{j+=" validate.errors = null; return true; "}}else{j+=" var "+Me+" = true; "}}if(E.isTop){j+=" }; return validate; "}return j}if(E.isTop){var je=E.isTop,ce=E.level=0,le=E.dataLevel=0,Ne="data";E.rootId=E.resolve.fullPath(E.self._getId(E.root.schema));E.baseId=E.baseId||E.rootId;delete E.isTop;E.dataPathArr=[""];if(E.schema.default!==undefined&&E.opts.useDefaults&&E.opts.strictDefaults){var Ue="default is ignored in the schema root";if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}j+=" var vErrors = null; ";j+=" var errors = 0; ";j+=" if (rootData === undefined) rootData = data; "}else{var ce=E.level,le=E.dataLevel,Ne="data"+(le||"");if(G)E.baseId=E.resolve.url(E.baseId,G);if($&&!E.async)throw new Error("async schema in sync schema");j+=" var errs_"+ce+" = errors;"}var Me="valid"+ce,we=!E.opts.allErrors,ze="",We="";var Ie;var Je=E.schema.type,Ve=Array.isArray(Je);if(Je&&E.opts.nullable&&E.schema.nullable===true){if(Ve){if(Je.indexOf("null")==-1)Je=Je.concat("null")}else if(Je!="null"){Je=[Je,"null"];Ve=true}}if(Ve&&Je.length==1){Je=Je[0];Ve=false}if(E.schema.$ref&&q){if(E.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+E.errSchemaPath+'" (see option extendRefs)')}else if(E.opts.extendRefs!==true){q=false;E.logger.warn('$ref: keywords ignored in schema at path "'+E.errSchemaPath+'"')}}if(E.schema.$comment&&E.opts.$comment){j+=" "+E.RULES.all.$comment.code(E,"$comment")}if(Je){if(E.opts.coerceTypes){var qe=E.util.coerceToTypes(E.opts.coerceTypes,Je)}var He=E.RULES.types[Je];if(qe||Ve||He===true||He&&!$shouldUseGroup(He)){var Ee=E.schemaPath+".type",Te=E.errSchemaPath+"/type";var Ee=E.schemaPath+".type",Te=E.errSchemaPath+"/type",Ge=Ve?"checkDataTypes":"checkDataType";j+=" if ("+E.util[Ge](Je,Ne,E.opts.strictNumbers,true)+") { ";if(qe){var Ke="dataType"+ce,Qe="coerced"+ce;j+=" var "+Ke+" = typeof "+Ne+"; var "+Qe+" = undefined; ";if(E.opts.coerceTypes=="array"){j+=" if ("+Ke+" == 'object' && Array.isArray("+Ne+") && "+Ne+".length == 1) { "+Ne+" = "+Ne+"[0]; "+Ke+" = typeof "+Ne+"; if ("+E.util.checkDataType(E.schema.type,Ne,E.opts.strictNumbers)+") "+Qe+" = "+Ne+"; } "}j+=" if ("+Qe+" !== undefined) ; ";var Xe=qe;if(Xe){var Ye,Ze=-1,et=Xe.length-1;while(Ze<et){Ye=Xe[Ze+=1];if(Ye=="string"){j+=" else if ("+Ke+" == 'number' || "+Ke+" == 'boolean') "+Qe+" = '' + "+Ne+"; else if ("+Ne+" === null) "+Qe+" = ''; "}else if(Ye=="number"||Ye=="integer"){j+=" else if ("+Ke+" == 'boolean' || "+Ne+" === null || ("+Ke+" == 'string' && "+Ne+" && "+Ne+" == +"+Ne+" ";if(Ye=="integer"){j+=" && !("+Ne+" % 1)"}j+=")) "+Qe+" = +"+Ne+"; "}else if(Ye=="boolean"){j+=" else if ("+Ne+" === 'false' || "+Ne+" === 0 || "+Ne+" === null) "+Qe+" = false; else if ("+Ne+" === 'true' || "+Ne+" === 1) "+Qe+" = true; "}else if(Ye=="null"){j+=" else if ("+Ne+" === '' || "+Ne+" === 0 || "+Ne+" === false) "+Qe+" = null; "}else if(E.opts.coerceTypes=="array"&&Ye=="array"){j+=" else if ("+Ke+" == 'string' || "+Ke+" == 'number' || "+Ke+" == 'boolean' || "+Ne+" == null) "+Qe+" = ["+Ne+"]; "}}}j+=" else { ";var Le=Le||[];Le.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(Ie||"type")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Te)+" , params: { type: '";if(Ve){j+=""+Je.join(",")}else{j+=""+Je}j+="' } ";if(E.opts.messages!==false){j+=" , message: 'should be ";if(Ve){j+=""+Je.join(",")}else{j+=""+Je}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+Ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}j+=" } "}else{j+=" {} "}var Be=j;j=Le.pop();if(!E.compositeRule&&we){if(E.async){j+=" throw new ValidationError(["+Be+"]); "}else{j+=" validate.errors = ["+Be+"]; return false; "}}else{j+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } if ("+Qe+" !== undefined) { ";var tt=le?"data"+(le-1||""):"parentData",rt=le?E.dataPathArr[le]:"parentDataProperty";j+=" "+Ne+" = "+Qe+"; ";if(!le){j+="if ("+tt+" !== undefined)"}j+=" "+tt+"["+rt+"] = "+Qe+"; } "}else{var Le=Le||[];Le.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(Ie||"type")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Te)+" , params: { type: '";if(Ve){j+=""+Je.join(",")}else{j+=""+Je}j+="' } ";if(E.opts.messages!==false){j+=" , message: 'should be ";if(Ve){j+=""+Je.join(",")}else{j+=""+Je}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+Ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}j+=" } "}else{j+=" {} "}var Be=j;j=Le.pop();if(!E.compositeRule&&we){if(E.async){j+=" throw new ValidationError(["+Be+"]); "}else{j+=" validate.errors = ["+Be+"]; return false; "}}else{j+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" } "}}if(E.schema.$ref&&!q){j+=" "+E.RULES.all.$ref.code(E,"$ref")+" ";if(we){j+=" } if (errors === ";if(je){j+="0"}else{j+="errs_"+ce}j+=") { ";We+="}"}}else{var nt=E.RULES;if(nt){var He,it=-1,ot=nt.length-1;while(it<ot){He=nt[it+=1];if($shouldUseGroup(He)){if(He.type){j+=" if ("+E.util.checkDataType(He.type,Ne,E.opts.strictNumbers)+") { "}if(E.opts.useDefaults){if(He.type=="object"&&E.schema.properties){var _e=E.schema.properties,st=Object.keys(_e);var ct=st;if(ct){var ut,dt=-1,pt=ct.length-1;while(dt<pt){ut=ct[dt+=1];var ft=_e[ut];if(ft.default!==undefined){var mt=Ne+E.util.getProperty(ut);if(E.compositeRule){if(E.opts.strictDefaults){var Ue="default is ignored for: "+mt;if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}}else{j+=" if ("+mt+" === undefined ";if(E.opts.useDefaults=="empty"){j+=" || "+mt+" === null || "+mt+" === '' "}j+=" ) "+mt+" = ";if(E.opts.useDefaults=="shared"){j+=" "+E.useDefault(ft.default)+" "}else{j+=" "+JSON.stringify(ft.default)+" "}j+="; "}}}}}else if(He.type=="array"&&Array.isArray(E.schema.items)){var ht=E.schema.items;if(ht){var ft,Ze=-1,_t=ht.length-1;while(Ze<_t){ft=ht[Ze+=1];if(ft.default!==undefined){var mt=Ne+"["+Ze+"]";if(E.compositeRule){if(E.opts.strictDefaults){var Ue="default is ignored for: "+mt;if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}}else{j+=" if ("+mt+" === undefined ";if(E.opts.useDefaults=="empty"){j+=" || "+mt+" === null || "+mt+" === '' "}j+=" ) "+mt+" = ";if(E.opts.useDefaults=="shared"){j+=" "+E.useDefault(ft.default)+" "}else{j+=" "+JSON.stringify(ft.default)+" "}j+="; "}}}}}}var yt=He.rules;if(yt){var vt,bt=-1,xt=yt.length-1;while(bt<xt){vt=yt[bt+=1];if($shouldUseRule(vt)){var St=vt.code(E,vt.keyword,He.type);if(St){j+=" "+St+" ";if(we){ze+="}"}}}}}if(we){j+=" "+ze+" ";ze=""}if(He.type){j+=" } ";if(Je&&Je===He.type&&!qe){j+=" else { ";var Ee=E.schemaPath+".type",Te=E.errSchemaPath+"/type";var Le=Le||[];Le.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(Ie||"type")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Te)+" , params: { type: '";if(Ve){j+=""+Je.join(",")}else{j+=""+Je}j+="' } ";if(E.opts.messages!==false){j+=" , message: 'should be ";if(Ve){j+=""+Je.join(",")}else{j+=""+Je}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+Ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}j+=" } "}else{j+=" {} "}var Be=j;j=Le.pop();if(!E.compositeRule&&we){if(E.async){j+=" throw new ValidationError(["+Be+"]); "}else{j+=" validate.errors = ["+Be+"]; return false; "}}else{j+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } "}}if(we){j+=" if (errors === ";if(je){j+="0"}else{j+="errs_"+ce}j+=") { ";We+="}"}}}}}if(we){j+=" "+We+" "}if(je){if($){j+=" if (errors === 0) return data; ";j+=" else throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; ";j+=" return errors === 0; "}j+=" }; return validate;"}else{j+=" var "+Me+" = errors === errs_"+ce+";"}function $shouldUseGroup(E){var N=E.rules;for(var R=0;R<N.length;R++)if($shouldUseRule(N[R]))return true}function $shouldUseRule(N){return E.schema[N.keyword]!==undefined||N.implements&&$ruleImplementsSomeKeyword(N)}function $ruleImplementsSomeKeyword(N){var R=N.implements;for(var j=0;j<R.length;j++)if(E.schema[R[j]]!==undefined)return true}return j}},3811:(E,N,R)=>{"use strict";var j=/^[a-z_$][a-z0-9_$-]*$/i;var $=R(99819);var q=R(86205);E.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(E,N){var R=this.RULES;if(R.keywords[E])throw new Error("Keyword "+E+" is already defined");if(!j.test(E))throw new Error("Keyword "+E+" is not a valid identifier");if(N){this.validateKeyword(N,true);var q=N.type;if(Array.isArray(q)){for(var G=0;G<q.length;G++)_addRule(E,q[G],N)}else{_addRule(E,q,N)}var ie=N.metaSchema;if(ie){if(N.$data&&this._opts.$data){ie={anyOf:[ie,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}N.validateSchema=this.compile(ie,true)}}R.keywords[E]=R.all[E]=true;function _addRule(E,N,j){var q;for(var G=0;G<R.length;G++){var ie=R[G];if(ie.type==N){q=ie;break}}if(!q){q={type:N,rules:[]};R.push(q)}var ae={keyword:E,definition:j,custom:true,code:$,implements:j.implements};q.rules.push(ae);R.custom[E]=ae}return this}function getKeyword(E){var N=this.RULES.custom[E];return N?N.definition:this.RULES.keywords[E]||false}function removeKeyword(E){var N=this.RULES;delete N.keywords[E];delete N.all[E];delete N.custom[E];for(var R=0;R<N.length;R++){var j=N[R].rules;for(var $=0;$<j.length;$++){if(j[$].keyword==E){j.splice($,1);break}}}return this}function validateKeyword(E,N){validateKeyword.errors=null;var R=this._validateKeyword=this._validateKeyword||this.compile(q,true);if(R(E))return true;validateKeyword.errors=R.errors;if(N)throw new Error("custom keyword definition is invalid: "+this.errorsText(R.errors));else return false}},11207:(E,N,R)=>{"use strict";E=R.nmd(E);const wrapAnsi16=(E,N)=>(...R)=>{const j=E(...R);return`[${j+N}m`};const wrapAnsi256=(E,N)=>(...R)=>{const j=E(...R);return`[${38+N};5;${j}m`};const wrapAnsi16m=(E,N)=>(...R)=>{const j=E(...R);return`[${38+N};2;${j[0]};${j[1]};${j[2]}m`};const ansi2ansi=E=>E;const rgb2rgb=(E,N,R)=>[E,N,R];const setLazyProperty=(E,N,R)=>{Object.defineProperty(E,N,{get:()=>{const j=R();Object.defineProperty(E,N,{value:j,enumerable:true,configurable:true});return j},enumerable:true,configurable:true})};let j;const makeDynamicStyles=(E,N,$,q)=>{if(j===undefined){j=R(76843)}const G=q?10:0;const ie={};for(const[R,q]of Object.entries(j)){const j=R==="ansi16"?"ansi":R;if(R===N){ie[j]=E($,G)}else if(typeof q==="object"){ie[j]=E(q[N],G)}}return ie};function assembleStyles(){const E=new Map;const N={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};N.color.gray=N.color.blackBright;N.bgColor.bgGray=N.bgColor.bgBlackBright;N.color.grey=N.color.blackBright;N.bgColor.bgGrey=N.bgColor.bgBlackBright;for(const[R,j]of Object.entries(N)){for(const[R,$]of Object.entries(j)){N[R]={open:`[${$[0]}m`,close:`[${$[1]}m`};j[R]=N[R];E.set($[0],$[1])}Object.defineProperty(N,R,{value:j,enumerable:false})}Object.defineProperty(N,"codes",{value:E,enumerable:false});N.color.close="";N.bgColor.close="";setLazyProperty(N.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(N.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(N.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(N.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(N.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(N.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return N}Object.defineProperty(E,"exports",{enumerable:true,get:assembleStyles})},33775:(E,N,R)=>{const j=R(24253);const $={};for(const E of Object.keys(j)){$[j[E]]=E}const q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};E.exports=q;for(const E of Object.keys(q)){if(!("channels"in q[E])){throw new Error("missing channels property: "+E)}if(!("labels"in q[E])){throw new Error("missing channel labels property: "+E)}if(q[E].labels.length!==q[E].channels){throw new Error("channel and label counts mismatch: "+E)}const{channels:N,labels:R}=q[E];delete q[E].channels;delete q[E].labels;Object.defineProperty(q[E],"channels",{value:N});Object.defineProperty(q[E],"labels",{value:R})}q.rgb.hsl=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.min(N,R,j);const q=Math.max(N,R,j);const G=q-$;let ie;let ae;if(q===$){ie=0}else if(N===q){ie=(R-j)/G}else if(R===q){ie=2+(j-N)/G}else if(j===q){ie=4+(N-R)/G}ie=Math.min(ie*60,360);if(ie<0){ie+=360}const ce=($+q)/2;if(q===$){ae=0}else if(ce<=.5){ae=G/(q+$)}else{ae=G/(2-q-$)}return[ie,ae*100,ce*100]};q.rgb.hsv=function(E){let N;let R;let j;let $;let q;const G=E[0]/255;const ie=E[1]/255;const ae=E[2]/255;const ce=Math.max(G,ie,ae);const le=ce-Math.min(G,ie,ae);const diffc=function(E){return(ce-E)/6/le+1/2};if(le===0){$=0;q=0}else{q=le/ce;N=diffc(G);R=diffc(ie);j=diffc(ae);if(G===ce){$=j-R}else if(ie===ce){$=1/3+N-j}else if(ae===ce){$=2/3+R-N}if($<0){$+=1}else if($>1){$-=1}}return[$*360,q*100,ce*100]};q.rgb.hwb=function(E){const N=E[0];const R=E[1];let j=E[2];const $=q.rgb.hsl(E)[0];const G=1/255*Math.min(N,Math.min(R,j));j=1-1/255*Math.max(N,Math.max(R,j));return[$,G*100,j*100]};q.rgb.cmyk=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.min(1-N,1-R,1-j);const q=(1-N-$)/(1-$)||0;const G=(1-R-$)/(1-$)||0;const ie=(1-j-$)/(1-$)||0;return[q*100,G*100,ie*100,$*100]};function comparativeDistance(E,N){return(E[0]-N[0])**2+(E[1]-N[1])**2+(E[2]-N[2])**2}q.rgb.keyword=function(E){const N=$[E];if(N){return N}let R=Infinity;let q;for(const N of Object.keys(j)){const $=j[N];const G=comparativeDistance(E,$);if(G<R){R=G;q=N}}return q};q.keyword.rgb=function(E){return j[E]};q.rgb.xyz=function(E){let N=E[0]/255;let R=E[1]/255;let j=E[2]/255;N=N>.04045?((N+.055)/1.055)**2.4:N/12.92;R=R>.04045?((R+.055)/1.055)**2.4:R/12.92;j=j>.04045?((j+.055)/1.055)**2.4:j/12.92;const $=N*.4124+R*.3576+j*.1805;const q=N*.2126+R*.7152+j*.0722;const G=N*.0193+R*.1192+j*.9505;return[$*100,q*100,G*100]};q.rgb.lab=function(E){const N=q.rgb.xyz(E);let R=N[0];let j=N[1];let $=N[2];R/=95.047;j/=100;$/=108.883;R=R>.008856?R**(1/3):7.787*R+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;const G=116*j-16;const ie=500*(R-j);const ae=200*(j-$);return[G,ie,ae]};q.hsl.rgb=function(E){const N=E[0]/360;const R=E[1]/100;const j=E[2]/100;let $;let q;let G;if(R===0){G=j*255;return[G,G,G]}if(j<.5){$=j*(1+R)}else{$=j+R-j*R}const ie=2*j-$;const ae=[0,0,0];for(let E=0;E<3;E++){q=N+1/3*-(E-1);if(q<0){q++}if(q>1){q--}if(6*q<1){G=ie+($-ie)*6*q}else if(2*q<1){G=$}else if(3*q<2){G=ie+($-ie)*(2/3-q)*6}else{G=ie}ae[E]=G*255}return ae};q.hsl.hsv=function(E){const N=E[0];let R=E[1]/100;let j=E[2]/100;let $=R;const q=Math.max(j,.01);j*=2;R*=j<=1?j:2-j;$*=q<=1?q:2-q;const G=(j+R)/2;const ie=j===0?2*$/(q+$):2*R/(j+R);return[N,ie*100,G*100]};q.hsv.rgb=function(E){const N=E[0]/60;const R=E[1]/100;let j=E[2]/100;const $=Math.floor(N)%6;const q=N-Math.floor(N);const G=255*j*(1-R);const ie=255*j*(1-R*q);const ae=255*j*(1-R*(1-q));j*=255;switch($){case 0:return[j,ae,G];case 1:return[ie,j,G];case 2:return[G,j,ae];case 3:return[G,ie,j];case 4:return[ae,G,j];case 5:return[j,G,ie]}};q.hsv.hsl=function(E){const N=E[0];const R=E[1]/100;const j=E[2]/100;const $=Math.max(j,.01);let q;let G;G=(2-R)*j;const ie=(2-R)*$;q=R*$;q/=ie<=1?ie:2-ie;q=q||0;G/=2;return[N,q*100,G*100]};q.hwb.rgb=function(E){const N=E[0]/360;let R=E[1]/100;let j=E[2]/100;const $=R+j;let q;if($>1){R/=$;j/=$}const G=Math.floor(6*N);const ie=1-j;q=6*N-G;if((G&1)!==0){q=1-q}const ae=R+q*(ie-R);let ce;let le;let _e;switch(G){default:case 6:case 0:ce=ie;le=ae;_e=R;break;case 1:ce=ae;le=ie;_e=R;break;case 2:ce=R;le=ie;_e=ae;break;case 3:ce=R;le=ae;_e=ie;break;case 4:ce=ae;le=R;_e=ie;break;case 5:ce=ie;le=R;_e=ae;break}return[ce*255,le*255,_e*255]};q.cmyk.rgb=function(E){const N=E[0]/100;const R=E[1]/100;const j=E[2]/100;const $=E[3]/100;const q=1-Math.min(1,N*(1-$)+$);const G=1-Math.min(1,R*(1-$)+$);const ie=1-Math.min(1,j*(1-$)+$);return[q*255,G*255,ie*255]};q.xyz.rgb=function(E){const N=E[0]/100;const R=E[1]/100;const j=E[2]/100;let $;let q;let G;$=N*3.2406+R*-1.5372+j*-.4986;q=N*-.9689+R*1.8758+j*.0415;G=N*.0557+R*-.204+j*1.057;$=$>.0031308?1.055*$**(1/2.4)-.055:$*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;G=G>.0031308?1.055*G**(1/2.4)-.055:G*12.92;$=Math.min(Math.max(0,$),1);q=Math.min(Math.max(0,q),1);G=Math.min(Math.max(0,G),1);return[$*255,q*255,G*255]};q.xyz.lab=function(E){let N=E[0];let R=E[1];let j=E[2];N/=95.047;R/=100;j/=108.883;N=N>.008856?N**(1/3):7.787*N+16/116;R=R>.008856?R**(1/3):7.787*R+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;const $=116*R-16;const q=500*(N-R);const G=200*(R-j);return[$,q,G]};q.lab.xyz=function(E){const N=E[0];const R=E[1];const j=E[2];let $;let q;let G;q=(N+16)/116;$=R/500+q;G=q-j/200;const ie=q**3;const ae=$**3;const ce=G**3;q=ie>.008856?ie:(q-16/116)/7.787;$=ae>.008856?ae:($-16/116)/7.787;G=ce>.008856?ce:(G-16/116)/7.787;$*=95.047;q*=100;G*=108.883;return[$,q,G]};q.lab.lch=function(E){const N=E[0];const R=E[1];const j=E[2];let $;const q=Math.atan2(j,R);$=q*360/2/Math.PI;if($<0){$+=360}const G=Math.sqrt(R*R+j*j);return[N,G,$]};q.lch.lab=function(E){const N=E[0];const R=E[1];const j=E[2];const $=j/360*2*Math.PI;const q=R*Math.cos($);const G=R*Math.sin($);return[N,q,G]};q.rgb.ansi16=function(E,N=null){const[R,j,$]=E;let G=N===null?q.rgb.hsv(E)[2]:N;G=Math.round(G/50);if(G===0){return 30}let ie=30+(Math.round($/255)<<2|Math.round(j/255)<<1|Math.round(R/255));if(G===2){ie+=60}return ie};q.hsv.ansi16=function(E){return q.rgb.ansi16(q.hsv.rgb(E),E[2])};q.rgb.ansi256=function(E){const N=E[0];const R=E[1];const j=E[2];if(N===R&&R===j){if(N<8){return 16}if(N>248){return 231}return Math.round((N-8)/247*24)+232}const $=16+36*Math.round(N/255*5)+6*Math.round(R/255*5)+Math.round(j/255*5);return $};q.ansi16.rgb=function(E){let N=E%10;if(N===0||N===7){if(E>50){N+=3.5}N=N/10.5*255;return[N,N,N]}const R=(~~(E>50)+1)*.5;const j=(N&1)*R*255;const $=(N>>1&1)*R*255;const q=(N>>2&1)*R*255;return[j,$,q]};q.ansi256.rgb=function(E){if(E>=232){const N=(E-232)*10+8;return[N,N,N]}E-=16;let N;const R=Math.floor(E/36)/5*255;const j=Math.floor((N=E%36)/6)/5*255;const $=N%6/5*255;return[R,j,$]};q.rgb.hex=function(E){const N=((Math.round(E[0])&255)<<16)+((Math.round(E[1])&255)<<8)+(Math.round(E[2])&255);const R=N.toString(16).toUpperCase();return"000000".substring(R.length)+R};q.hex.rgb=function(E){const N=E.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!N){return[0,0,0]}let R=N[0];if(N[0].length===3){R=R.split("").map((E=>E+E)).join("")}const j=parseInt(R,16);const $=j>>16&255;const q=j>>8&255;const G=j&255;return[$,q,G]};q.rgb.hcg=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.max(Math.max(N,R),j);const q=Math.min(Math.min(N,R),j);const G=$-q;let ie;let ae;if(G<1){ie=q/(1-G)}else{ie=0}if(G<=0){ae=0}else if($===N){ae=(R-j)/G%6}else if($===R){ae=2+(j-N)/G}else{ae=4+(N-R)/G}ae/=6;ae%=1;return[ae*360,G*100,ie*100]};q.hsl.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=R<.5?2*N*R:2*N*(1-R);let $=0;if(j<1){$=(R-.5*j)/(1-j)}return[E[0],j*100,$*100]};q.hsv.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=N*R;let $=0;if(j<1){$=(R-j)/(1-j)}return[E[0],j*100,$*100]};q.hcg.rgb=function(E){const N=E[0]/360;const R=E[1]/100;const j=E[2]/100;if(R===0){return[j*255,j*255,j*255]}const $=[0,0,0];const q=N%1*6;const G=q%1;const ie=1-G;let ae=0;switch(Math.floor(q)){case 0:$[0]=1;$[1]=G;$[2]=0;break;case 1:$[0]=ie;$[1]=1;$[2]=0;break;case 2:$[0]=0;$[1]=1;$[2]=G;break;case 3:$[0]=0;$[1]=ie;$[2]=1;break;case 4:$[0]=G;$[1]=0;$[2]=1;break;default:$[0]=1;$[1]=0;$[2]=ie}ae=(1-R)*j;return[(R*$[0]+ae)*255,(R*$[1]+ae)*255,(R*$[2]+ae)*255]};q.hcg.hsv=function(E){const N=E[1]/100;const R=E[2]/100;const j=N+R*(1-N);let $=0;if(j>0){$=N/j}return[E[0],$*100,j*100]};q.hcg.hsl=function(E){const N=E[1]/100;const R=E[2]/100;const j=R*(1-N)+.5*N;let $=0;if(j>0&&j<.5){$=N/(2*j)}else if(j>=.5&&j<1){$=N/(2*(1-j))}return[E[0],$*100,j*100]};q.hcg.hwb=function(E){const N=E[1]/100;const R=E[2]/100;const j=N+R*(1-N);return[E[0],(j-N)*100,(1-j)*100]};q.hwb.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=1-R;const $=j-N;let q=0;if($<1){q=(j-$)/(1-$)}return[E[0],$*100,q*100]};q.apple.rgb=function(E){return[E[0]/65535*255,E[1]/65535*255,E[2]/65535*255]};q.rgb.apple=function(E){return[E[0]/255*65535,E[1]/255*65535,E[2]/255*65535]};q.gray.rgb=function(E){return[E[0]/100*255,E[0]/100*255,E[0]/100*255]};q.gray.hsl=function(E){return[0,0,E[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(E){return[0,100,E[0]]};q.gray.cmyk=function(E){return[0,0,0,E[0]]};q.gray.lab=function(E){return[E[0],0,0]};q.gray.hex=function(E){const N=Math.round(E[0]/100*255)&255;const R=(N<<16)+(N<<8)+N;const j=R.toString(16).toUpperCase();return"000000".substring(j.length)+j};q.rgb.gray=function(E){const N=(E[0]+E[1]+E[2])/3;return[N/255*100]}},76843:(E,N,R)=>{const j=R(33775);const $=R(2581);const q={};const G=Object.keys(j);function wrapRaw(E){const wrappedFn=function(...N){const R=N[0];if(R===undefined||R===null){return R}if(R.length>1){N=R}return E(N)};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}function wrapRounded(E){const wrappedFn=function(...N){const R=N[0];if(R===undefined||R===null){return R}if(R.length>1){N=R}const j=E(N);if(typeof j==="object"){for(let E=j.length,N=0;N<E;N++){j[N]=Math.round(j[N])}}return j};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}G.forEach((E=>{q[E]={};Object.defineProperty(q[E],"channels",{value:j[E].channels});Object.defineProperty(q[E],"labels",{value:j[E].labels});const N=$(E);const R=Object.keys(N);R.forEach((R=>{const j=N[R];q[E][R]=wrapRounded(j);q[E][R].raw=wrapRaw(j)}))}));E.exports=q},2581:(E,N,R)=>{const j=R(33775);function buildGraph(){const E={};const N=Object.keys(j);for(let R=N.length,j=0;j<R;j++){E[N[j]]={distance:-1,parent:null}}return E}function deriveBFS(E){const N=buildGraph();const R=[E];N[E].distance=0;while(R.length){const E=R.pop();const $=Object.keys(j[E]);for(let j=$.length,q=0;q<j;q++){const j=$[q];const G=N[j];if(G.distance===-1){G.distance=N[E].distance+1;G.parent=E;R.unshift(j)}}}return N}function link(E,N){return function(R){return N(E(R))}}function wrapConversion(E,N){const R=[N[E].parent,E];let $=j[N[E].parent][E];let q=N[E].parent;while(N[q].parent){R.unshift(N[q].parent);$=link(j[N[q].parent][q],$);q=N[q].parent}$.conversion=R;return $}E.exports=function(E){const N=deriveBFS(E);const R={};const j=Object.keys(N);for(let E=j.length,$=0;$<E;$++){const E=j[$];const q=N[E];if(q.parent===null){continue}R[E]=wrapConversion(E,N)}return R}},72464:E=>{function BrowserslistError(E){this.name="BrowserslistError";this.message=E;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;E.exports=BrowserslistError},69328:(E,N,R)=>{var j=R(76052);var $=R(92406).D;var q=R(78864);var G=R(71017);var ie=R(46233);var ae=R(72464);var ce=R(81886);var le=365.259641*24*60*60*1e3;var _e=37;var Ee=1;var Te=2;function isVersionsMatch(E,N){return(E+".").indexOf(N+".")===0}function isEolReleased(E){var N=E.slice(1);return j.some((function(E){return isVersionsMatch(E.version,N)}))}function normalize(E){return E.filter((function(E){return typeof E==="string"}))}function normalizeElectron(E){var N=E;if(E.split(".").length===3){N=E.split(".").slice(0,-1).join(".")}return N}function nameMapper(E){return function mapName(N){return E+" "+N}}function getMajor(E){return parseInt(E.split(".")[0])}function getMajorVersions(E,N){if(E.length===0)return[];var R=uniq(E.map(getMajor));var j=R[R.length-N];if(!j){return E}var $=[];for(var q=E.length-1;q>=0;q--){if(j>getMajor(E[q]))break;$.unshift(E[q])}return $}function uniq(E){var N=[];for(var R=0;R<E.length;R++){if(N.indexOf(E[R])===-1)N.push(E[R])}return N}function fillUsage(E,N,R){for(var j in R){E[N+" "+j]=R[j]}}function generateFilter(E,N){N=parseFloat(N);if(E===">"){return function(E){return parseFloat(E)>N}}else if(E===">="){return function(E){return parseFloat(E)>=N}}else if(E==="<"){return function(E){return parseFloat(E)<N}}else{return function(E){return parseFloat(E)<=N}}}function generateSemverFilter(E,N){N=N.split(".").map(parseSimpleInt);N[1]=N[1]||0;N[2]=N[2]||0;if(E===">"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,N)>0}}else if(E===">="){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,N)>=0}}else if(E==="<"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(N,E)>0}}else{return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(N,E)>=0}}}function parseSimpleInt(E){return parseInt(E)}function compare(E,N){if(E<N)return-1;if(E>N)return+1;return 0}function compareSemver(E,N){return compare(parseInt(E[0]),parseInt(N[0]))||compare(parseInt(E[1]||"0"),parseInt(N[1]||"0"))||compare(parseInt(E[2]||"0"),parseInt(N[2]||"0"))}function semverFilterLoose(E,N){N=N.split(".").map(parseSimpleInt);if(typeof N[1]==="undefined"){N[1]="x"}switch(E){case"<=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,N)<=0};default:case">=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,N)>=0}}}function compareSemverLoose(E,N){if(E[0]!==N[0]){return E[0]<N[0]?-1:+1}if(N[1]==="x"){return 0}if(E[1]!==N[1]){return E[1]<N[1]?-1:+1}return 0}function resolveVersion(E,N){if(E.versions.indexOf(N)!==-1){return N}else if(browserslist.versionAliases[E.name][N]){return browserslist.versionAliases[E.name][N]}else{return false}}function normalizeVersion(E,N){var R=resolveVersion(E,N);if(R){return R}else if(E.versions.length===1){return E.versions[0]}else{return false}}function filterByYear(E,N){E=E/1e3;return Object.keys($).reduce((function(R,j){var $=byName(j,N);if(!$)return R;var q=Object.keys($.releaseDate).filter((function(N){return $.releaseDate[N]>=E}));return R.concat(q.map(nameMapper($.name)))}),[])}function cloneData(E){return{name:E.name,versions:E.versions,released:E.released,releaseDate:E.releaseDate}}function mapVersions(E,N){E.versions=E.versions.map((function(E){return N[E]||E}));E.released=E.versions.map((function(E){return N[E]||E}));var R={};for(var j in E.releaseDate){R[N[j]||j]=E.releaseDate[j]}E.releaseDate=R;return E}function byName(E,N){E=E.toLowerCase();E=browserslist.aliases[E]||E;if(N.mobileToDesktop&&browserslist.desktopNames[E]){var R=browserslist.data[browserslist.desktopNames[E]];if(E==="android"){return normalizeAndroidData(cloneData(browserslist.data[E]),R)}else{var j=cloneData(R);j.name=E;if(E==="op_mob"){j=mapVersions(j,{"10.0-10.1":"10"})}return j}}return browserslist.data[E]}function normalizeAndroidVersions(E,N){var R=_e;var j=N[N.length-1];return E.filter((function(E){return/^(?:[2-4]\.|[34]$)/.test(E)})).concat(N.slice(R-j-1))}function normalizeAndroidData(E,N){E.released=normalizeAndroidVersions(E.released,N.released);E.versions=normalizeAndroidVersions(E.versions,N.versions);return E}function checkName(E,N){var R=byName(E,N);if(!R)throw new ae("Unknown browser "+E);return R}function unknownQuery(E){return new ae("Unknown browser query `"+E+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(E,N,R){if(R.mobileToDesktop)return E;var j=browserslist.data.android.released;var $=j[j.length-1];var q=$-_e-N;if(q>0){return E.slice(-1)}else{return E.slice(q-1)}}function resolve(E,N){if(Array.isArray(E)){E=flatten(E.map(parse))}else{E=parse(E)}return E.reduce((function(E,R,j){var $=R.queryString;var q=$.indexOf("not ")===0;if(q){if(j===0){throw new ae("Write any browsers query (for instance, `defaults`) "+"before `"+$+"`")}$=$.slice(4)}for(var G=0;G<Ie.length;G++){var ie=Ie[G];var ce=$.match(ie.regexp);if(ce){var le=[N].concat(ce.slice(1));var _e=ie.select.apply(browserslist,le).map((function(E){var R=E.split(" ");if(R[1]==="0"){return R[0]+" "+byName(R[0],N).versions[0]}else{return E}}));switch(R.type){case Te:if(q){return E.filter((function(E){return _e.indexOf(E)===-1}))}else{return E.filter((function(E){return _e.indexOf(E)!==-1}))}case Ee:default:if(q){var we={};_e.forEach((function(E){we[E]=true}));return E.filter((function(E){return!we[E]}))}return E.concat(_e)}}}throw unknownQuery($)}),[])}var we={};function browserslist(E,N){if(typeof N==="undefined")N={};if(typeof N.path==="undefined"){N.path=G.resolve?G.resolve("."):"."}if(typeof E==="undefined"||E===null){var R=browserslist.loadConfig(N);if(R){E=R}else{E=browserslist.defaults}}if(!(typeof E==="string"||Array.isArray(E))){throw new ae("Browser queries must be an array or string. Got "+typeof E+".")}var j={ignoreUnknownVersions:N.ignoreUnknownVersions,dangerousExtend:N.dangerousExtend,mobileToDesktop:N.mobileToDesktop,path:N.path,env:N.env};ce.oldDataWarning(browserslist.data);var $=ce.getStat(N,browserslist.data);if($){j.customUsage={};for(var q in $){fillUsage(j.customUsage,q,$[q])}}var ie=JSON.stringify([E,j]);if(we[ie])return we[ie];var le=uniq(resolve(E,j)).sort((function(E,N){E=E.split(" ");N=N.split(" ");if(E[0]===N[0]){var R=E[1].split("-")[0];var j=N[1].split("-")[0];return compareSemver(j.split("."),R.split("."))}else{return compare(E[0],N[0])}}));if(!process.env.BROWSERSLIST_DISABLE_CACHE){we[ie]=le}return le}function parse(E){var N=[];do{E=doMatch(E,N)}while(E);return N}function doMatch(E,N){var R=/^(?:,\s*|\s+or\s+)(.*)/i;var j=/^\s+and\s+(.*)/i;return find(E,(function(E,$,q){if(j.test(E)){N.unshift({type:Te,queryString:E.match(j)[1]});return true}else if(R.test(E)){N.unshift({type:Ee,queryString:E.match(R)[1]});return true}else if($===q){N.unshift({type:Ee,queryString:E.trim()});return true}return false}))}function find(E,N){for(var R=1,j=E.length;R<=j;R++){var $=E.substr(-R,R);if(N($,R,j)){return E.slice(0,-R)}}return""}function flatten(E){if(!Array.isArray(E))return[E];return E.reduce((function(E,N){return E.concat(flatten(N))}),[])}browserslist.cache={};browserslist.data={};browserslist.usage={global:{},custom:null};browserslist.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=ce.clearCaches;browserslist.parseConfig=ce.parseConfig;browserslist.readConfig=ce.readConfig;browserslist.findConfig=ce.findConfig;browserslist.loadConfig=ce.loadConfig;browserslist.coverage=function(E,N){var R;if(typeof N==="undefined"){R=browserslist.usage.global}else if(N==="my stats"){var j={};j.path=G.resolve?G.resolve("."):".";var $=ce.getStat(j);if(!$){throw new ae("Custom usage statistics was not provided")}R={};for(var q in $){fillUsage(R,q,$[q])}}else if(typeof N==="string"){if(N.length>2){N=N.toLowerCase()}else{N=N.toUpperCase()}ce.loadCountry(browserslist.usage,N,browserslist.data);R=browserslist.usage[N]}else{if("dataByBrowser"in N){N=N.dataByBrowser}R={};for(var ie in N){for(var le in N[ie]){R[ie+" "+le]=N[ie][le]}}}return E.reduce((function(E,N){var j=R[N];if(j===undefined){j=R[N.replace(/ \S+$/," 0")]}return E+(j||0)}),0)};function nodeQuery(E,N){var R=j.filter((function(E){return E.name==="nodejs"}));var $=R.filter((function(E){return isVersionsMatch(E.version,N)}));if($.length===0){if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+N+" of Node.js")}}return["node "+$[$.length-1].version]}function sinceQuery(E,N,R,j){N=parseInt(N);R=parseInt(R||"01")-1;j=parseInt(j||"01");return filterByYear(Date.UTC(N,R,j,0,0,0),E)}function coverQuery(E,N,R){N=parseFloat(N);var j=browserslist.usage.global;if(R){if(R.match(/^my\s+stats$/)){if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}j=E.customUsage}else{var $;if(R.length===2){$=R.toUpperCase()}else{$=R.toLowerCase()}ce.loadCountry(browserslist.usage,$,browserslist.data);j=browserslist.usage[$]}}var q=Object.keys(j).sort((function(E,N){return j[N]-j[E]}));var G=0;var ie=[];var le;for(var _e=0;_e<=q.length;_e++){le=q[_e];if(j[le]===0)break;G+=j[le];ie.push(le);if(G>=N)break}return ie}var Ie=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(E,N){return Object.keys($).reduce((function(R,j){var $=byName(j,E);if(!$)return R;var q=getMajorVersions($.released,N);q=q.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,N,E)}return R.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(E,N){return Object.keys($).reduce((function(R,j){var $=byName(j,E);if(!$)return R;var q=$.released.slice(-N);q=q.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,N,E)}return R.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(E,N){var R=getMajorVersions(Object.keys(ie),N);return R.map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(E,N,R){var j=checkName(R,E);var $=getMajorVersions(j.released,N);var q=$.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,N,E)}return q}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(E,N){return Object.keys(ie).slice(-N).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(E,N,R){var j=checkName(R,E);var $=j.released.slice(-N).map(nameMapper(j.name));if(j.name==="android"){$=filterAndroid($,N,E)}return $}},{regexp:/^unreleased\s+versions$/i,select:function(E){return Object.keys($).reduce((function(N,R){var j=byName(R,E);if(!j)return N;var $=j.versions.filter((function(E){return j.released.indexOf(E)===-1}));$=$.map(nameMapper(j.name));return N.concat($)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(E,N){var R=checkName(N,E);return R.versions.filter((function(E){return R.released.indexOf(E)===-1})).map(nameMapper(R.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(E,N){return filterByYear(Date.now()-le*N,E)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(E,N,R){R=parseFloat(R);var j=browserslist.usage.global;return Object.keys(j).reduce((function(E,$){if(N===">"){if(j[$]>R){E.push($)}}else if(N==="<"){if(j[$]<R){E.push($)}}else if(N==="<="){if(j[$]<=R){E.push($)}}else if(j[$]>=R){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(E,N,R){R=parseFloat(R);if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var j=E.customUsage;return Object.keys(j).reduce((function(E,$){if(N===">"){if(j[$]>R){E.push($)}}else if(N==="<"){if(j[$]<R){E.push($)}}else if(N==="<="){if(j[$]<=R){E.push($)}}else if(j[$]>=R){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(E,N,R,j){R=parseFloat(R);var $=ce.loadStat(E,j,browserslist.data);if($){E.customUsage={};for(var q in $){fillUsage(E.customUsage,q,$[q])}}if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var G=E.customUsage;return Object.keys(G).reduce((function(E,j){if(N===">"){if(G[j]>R){E.push(j)}}else if(N==="<"){if(G[j]<R){E.push(j)}}else if(N==="<="){if(G[j]<=R){E.push(j)}}else if(G[j]>=R){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(E,N,R,j){R=parseFloat(R);if(j.length===2){j=j.toUpperCase()}else{j=j.toLowerCase()}ce.loadCountry(browserslist.usage,j,browserslist.data);var $=browserslist.usage[j];return Object.keys($).reduce((function(E,j){if(N===">"){if($[j]>R){E.push(j)}}else if(N==="<"){if($[j]<R){E.push(j)}}else if(N==="<="){if($[j]<=R){E.push(j)}}else if($[j]>=R){E.push(j)}return E}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(E,N){ce.loadFeature(browserslist.cache,N);var R=browserslist.cache[N];return Object.keys(R).reduce((function(E,N){var j=R[N];if(j.indexOf("y")>=0||j.indexOf("a")>=0){E.push(N)}return E}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R){var j=normalizeElectron(N);var $=normalizeElectron(R);if(!ie[j]){throw new ae("Unknown version "+N+" of electron")}if(!ie[$]){throw new ae("Unknown version "+R+" of electron")}N=parseFloat(N);R=parseFloat(R);return Object.keys(ie).filter((function(E){var j=parseFloat(E);return j>=N&&j<=R})).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R){var $=j.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return $.filter(semverFilterLoose(">=",N)).filter(semverFilterLoose("<=",R)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R,j){var $=checkName(N,E);R=parseFloat(normalizeVersion($,R)||R);j=parseFloat(normalizeVersion($,j)||j);function filter(E){var N=parseFloat(E);return N>=R&&N<=j}return $.released.filter(filter).map(nameMapper($.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,N,R){var j=normalizeElectron(R);return Object.keys(ie).filter(generateFilter(N,j)).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,N,R){var $=j.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return $.filter(generateSemverFilter(N,R)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(E,N,R,j){var $=checkName(N,E);var q=browserslist.versionAliases[$.name][j];if(q){j=q}return $.released.filter(generateFilter(R,j)).map((function(E){return $.name+" "+E}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(E,N){var R=normalizeElectron(N);var j=ie[R];if(!j){throw new ae("Unknown version "+N+" of electron")}return["chrome "+j]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(E){return[ce.currentNode(resolve,E)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(E){var N=Date.now();var R=Object.keys(q).filter((function(E){return N<Date.parse(q[E].end)&&N>Date.parse(q[E].start)&&isEolReleased(E)})).map((function(E){return"node "+E.slice(1)}));return resolve(R,E)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(E,N,R){if(/^tp$/i.test(R))R="TP";var j=checkName(N,E);var $=normalizeVersion(j,R);if($){R=$}else{if(R.indexOf(".")===-1){$=R+".0"}else{$=R.replace(/\.0$/,"")}$=normalizeVersion(j,$);if($){R=$}else if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+R+" of "+N)}}return[j.name+" "+R]}},{regexp:/^browserslist config$/i,select:function(E){return browserslist(undefined,E)}},{regexp:/^extends (.+)$/i,select:function(E,N){return resolve(ce.loadQueries(E,N),E)}},{regexp:/^defaults$/i,select:function(E){return resolve(browserslist.defaults,E)}},{regexp:/^dead$/i,select:function(E){var N=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(N,E)}},{regexp:/^(\w+)$/i,select:function(E,N){if(byName(N,E)){throw new ae("Specify versions in Browserslist query for browser "+N)}else{throw unknownQuery(N)}}}];(function(){for(var E in $){var N=$[E];browserslist.data[E]={name:E,versions:normalize($[E].versions),released:normalize($[E].versions.slice(0,-3)),releaseDate:$[E].release_date};fillUsage(browserslist.usage.global,E,N.usage_global);browserslist.versionAliases[E]={};for(var R=0;R<N.versions.length;R++){var j=N.versions[R];if(!j)continue;if(j.indexOf("-")!==-1){var q=j.split("-");for(var G=0;G<q.length;G++){browserslist.versionAliases[E][q[G]]=j}}}}browserslist.versionAliases.op_mob["59"]="58"})();E.exports=browserslist},81886:(E,N,R)=>{var j=R(30048)["default"];var $=R(24356)["default"];var q=R(71017);var G=R(57147);var ie=R(72464);var ae=/^\s*\[(.+)]\s*$/;var ce=/^browserslist-config-/;var le=/@[^/]+\/browserslist-config(-|$|\/)/;var _e=6*30*24*60*60*1e3;var Ee="Browserslist config should be a string or an array "+"of strings with browser queries";var Te=false;var we={};var Ie={};function checkExtend(E){var N=" Use `dangerousExtend` option to disable.";if(!ce.test(E)&&!le.test(E)){throw new ie("Browserslist config needs `browserslist-config-` prefix. "+N)}if(E.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ie("`.` not allowed in Browserslist config name. "+N)}if(E.indexOf("node_modules")!==-1){throw new ie("`node_modules` not allowed in Browserslist config."+N)}}function isFile(E){if(E in we){return we[E]}var N=G.existsSync(E)&&G.statSync(E).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){we[E]=N}return N}function eachParent(E,N){var R=isFile(E)?q.dirname(E):E;var j=q.resolve(R);do{var $=N(j);if(typeof $!=="undefined")return $}while(j!==(j=q.dirname(j)));return undefined}function check(E){if(Array.isArray(E)){for(var N=0;N<E.length;N++){if(typeof E[N]!=="string"){throw new ie(Ee)}}}else if(typeof E!=="string"){throw new ie(Ee)}}function pickEnv(E,N){if(typeof E!=="object")return E;var R;if(typeof N.env==="string"){R=N.env}else if(process.env.BROWSERSLIST_ENV){R=process.env.BROWSERSLIST_ENV}else if(process.env.NODE_ENV){R=process.env.NODE_ENV}else{R="production"}return E[R]||E.defaults}function parsePackage(E){var N=JSON.parse(G.readFileSync(E));if(N.browserlist&&!N.browserslist){throw new ie("`browserlist` key instead of `browserslist` in "+E)}var R=N.browserslist;if(Array.isArray(R)||typeof R==="string"){R={defaults:R}}for(var j in R){check(R[j])}return R}function latestReleaseTime(E){var N=0;for(var R in E){var j=E[R].releaseDate||{};for(var $ in j){if(N<j[$]){N=j[$]}}}return N*1e3}function normalizeStats(E,N){if(N&&"dataByBrowser"in N){N=N.dataByBrowser}if(typeof N!=="object")return undefined;var R={};for(var j in N){var $=Object.keys(N[j]);if($.length===1&&E[j]&&E[j].versions.length===1){var q=E[j].versions[0];R[j]={};R[j][q]=N[j][$[0]]}else{R[j]=N[j]}}return R}function normalizeUsageData(E,N){for(var R in E){var j=E[R];if("0"in j){var $=N[R].versions;j[$[$.length-1]]=j[0];delete j[0]}}}E.exports={loadQueries:function loadQueries(E,N){if(!E.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(N)}var j=require(R(28440).resolve(N,{paths:["."]}));if(j){if(Array.isArray(j)){return j}else if(typeof j==="object"){if(!j.defaults)j.defaults=[];return pickEnv(j,E,N)}}throw new ie("`"+N+"` config exports not an array of queries"+" or an object of envs")},loadStat:function loadStat(E,N,j){if(!E.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(N)}var $=require(R(28440).resolve(q.join(N,"browserslist-stats.json"),{paths:["."]}));return normalizeStats(j,$)},getStat:function getStat(E,N){var R;if(E.stats){R=E.stats}else if(process.env.BROWSERSLIST_STATS){R=process.env.BROWSERSLIST_STATS}else if(E.path&&q.resolve&&G.existsSync){R=eachParent(E.path,(function(E){var N=q.join(E,"browserslist-stats.json");return isFile(N)?N:undefined}))}if(typeof R==="string"){try{R=JSON.parse(G.readFileSync(R))}catch(E){throw new ie("Can't read "+R)}}return normalizeStats(N,R)},loadConfig:function loadConfig(N){if(process.env.BROWSERSLIST){return process.env.BROWSERSLIST}else if(N.config||process.env.BROWSERSLIST_CONFIG){var R=N.config||process.env.BROWSERSLIST_CONFIG;if(q.basename(R)==="package.json"){return pickEnv(parsePackage(R),N)}else{return pickEnv(E.exports.readConfig(R),N)}}else if(N.path){return pickEnv(E.exports.findConfig(N.path),N)}else{return undefined}},loadCountry:function loadCountry(E,N,R){var j=N.replace(/[^\w-]/g,"");if(!E[j]){var q=require("caniuse-lite/data/regions/"+j+".js");var G=$(q);normalizeUsageData(G,R);E[N]={};for(var ie in G){for(var ae in G[ie]){E[N][ie+" "+ae]=G[ie][ae]}}}},loadFeature:function loadFeature(E,N){N=N.replace(/[^\w-]/g,"");if(E[N])return;var R=require("caniuse-lite/data/features/"+N+".js");var $=j(R).stats;E[N]={};for(var q in $){for(var G in $[q]){E[N][q+" "+G]=$[q][G]}}},parseConfig:function parseConfig(E){var N={defaults:[]};var R=["defaults"];E.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map((function(E){return E.trim()})).filter((function(E){return E!==""})).forEach((function(E){if(ae.test(E)){R=E.match(ae)[1].trim().split(" ");R.forEach((function(E){if(N[E]){throw new ie("Duplicate section "+E+" in Browserslist config")}N[E]=[]}))}else{R.forEach((function(R){N[R].push(E)}))}}));return N},readConfig:function readConfig(N){if(!isFile(N)){throw new ie("Can't read "+N+" config")}return E.exports.parseConfig(G.readFileSync(N))},findConfig:function findConfig(N){N=q.resolve(N);var R=[];var j=eachParent(N,(function(N){if(N in Ie){return Ie[N]}R.push(N);var j=q.join(N,"browserslist");var $=q.join(N,"package.json");var G=q.join(N,".browserslistrc");var ae;if(isFile($)){try{ae=parsePackage($)}catch(E){if(E.name==="BrowserslistError")throw E;console.warn("[Browserslist] Could not parse "+$+". Ignoring it.")}}if(isFile(j)&&ae){throw new ie(N+" contains both browserslist and package.json with browsers")}else if(isFile(G)&&ae){throw new ie(N+" contains both .browserslistrc and package.json with browsers")}else if(isFile(j)&&isFile(G)){throw new ie(N+" contains both .browserslistrc and browserslist")}else if(isFile(j)){return E.exports.readConfig(j)}else if(isFile(G)){return E.exports.readConfig(G)}else{return ae}}));if(!process.env.BROWSERSLIST_DISABLE_CACHE){R.forEach((function(E){Ie[E]=j}))}return j},clearCaches:function clearCaches(){Te=false;we={};Ie={};this.cache={}},oldDataWarning:function oldDataWarning(E){if(Te)return;Te=true;if(process.env.BROWSERSLIST_IGNORE_OLD_DATA)return;var N=latestReleaseTime(E);var R=Date.now()-_e;if(N!==0&&N<R){console.warn("Browserslist: caniuse-lite is outdated. Please run:\n"+"npx browserslist@latest --update-db\n"+"\n"+"Why you should do it regularly:\n"+"https://github.com/browserslist/browserslist#browsers-data-updating")}},currentNode:function currentNode(){return"node "+process.versions.node}}},86650:E=>{var N=Object.prototype.toString;var R=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(E){return N.call(E).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(E,N,j){N>>>=0;var $=E.byteLength-N;if($<0){throw new RangeError("'offset' is out of bounds")}if(j===undefined){j=$}else{j>>>=0;if(j>$){throw new RangeError("'length' is out of bounds")}}return R?Buffer.from(E.slice(N,N+j)):new Buffer(new Uint8Array(E.slice(N,N+j)))}function fromString(E,N){if(typeof N!=="string"||N===""){N="utf8"}if(!Buffer.isEncoding(N)){throw new TypeError('"encoding" must be a valid string encoding')}return R?Buffer.from(E,N):new Buffer(E,N)}function bufferFrom(E,N,j){if(typeof E==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(E)){return fromArrayBuffer(E,N,j)}if(typeof E==="string"){return fromString(E,N)}return R?Buffer.from(E):new Buffer(E)}E.exports=bufferFrom},12161:E=>{E.exports={A:{A:{J:.0131217,D:.00621152,E:.0199047,F:.0928884,A:.0132698,B:.849265,gB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","J","D","E","F","A","B","","",""],E:"IE",F:{gB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008408,K:.004267,L:.004204,G:.004204,M:.008408,N:.033632,O:.092488,R:0,S:.004298,T:.00944,U:.00415,V:.008408,W:.008408,X:.012612,Y:.012612,Z:.016816,P:.079876,a:3.01006,H:.2102},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","R","S","T","U","V","W","X","Y","Z","P","a","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,R:1579046400,S:1581033600,T:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,P:1614816e3,a:1618358400,H:1622073600},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.058856,1:.004204,2:.004204,3:.004525,4:.004271,5:.008408,6:.004538,7:.004267,8:.004204,9:.071468,hB:.012813,YB:.004271,I:.02102,b:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.008408,C:.004471,K:.004486,L:.00453,G:.008542,M:.004417,N:.004425,O:.008542,c:.004443,d:.004283,e:.008542,f:.013698,g:.008542,h:.008786,i:.017084,j:.004317,k:.004393,l:.004418,m:.008834,n:.008542,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.004271,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.004204,CB:.004204,DB:.012612,EB:.004425,FB:.004204,ZB:.004204,GB:.008408,aB:.00472,Q:.004425,HB:.02102,IB:.00415,JB:.004267,KB:.008408,LB:.004267,MB:.012612,NB:.00415,OB:.004204,PB:.004425,QB:.008408,RB:.00415,SB:.00415,TB:.008542,UB:.004298,VB:.004204,bB:.14714,R:.008408,S:.008408,T:.012612,iB:.016816,U:.012612,V:.025224,W:.02102,X:.033632,Y:.071468,Z:2.3122,P:.029428,a:0,H:0,jB:.008786,kB:.00487},B:"moz",C:["hB","YB","jB","kB","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","iB","U","V","W","X","Y","Z","P","a","H",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,hB:1161648e3,YB:1213660800,jB:124632e4,kB:1264032e3,I:1300752e3,b:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,ZB:1520985600,GB:1525824e3,aB:1529971200,Q:1536105600,HB:1540252800,IB:1544486400,JB:154872e4,KB:1552953600,LB:1558396800,MB:1562630400,NB:1567468800,OB:1571788800,PB:1575331200,QB:1578355200,RB:1581379200,SB:1583798400,TB:1586304e3,UB:1588636800,VB:1591056e3,bB:1593475200,R:1595894400,S:1598313600,T:1600732800,iB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,P:1622505600,a:null,H:null}},D:{A:{0:.008408,1:.004465,2:.004642,3:.004891,4:.008408,5:.02102,6:.214404,7:.004204,8:.016816,9:.004204,I:.004706,b:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,c:.008542,d:.004393,e:.004317,f:.012612,g:.008786,h:.008408,i:.004461,j:.004298,k:.004326,l:.0047,m:.004538,n:.008542,o:.008596,p:.004566,q:.004204,r:.008408,s:.012612,t:.004335,u:.004464,v:.025224,w:.004464,x:.012612,y:.0236,z:.004403,AB:.058856,BB:.008408,CB:.012612,DB:.04204,EB:.008408,FB:.008408,ZB:.008408,GB:.016816,aB:.121916,Q:.008408,HB:.02102,IB:.025224,JB:.02102,KB:.02102,LB:.033632,MB:.029428,NB:.067264,OB:.071468,PB:.025224,QB:.058856,RB:.02102,SB:.113508,TB:.092488,UB:.067264,VB:.029428,bB:.075672,R:.18918,S:.1051,T:.079876,U:.130324,V:.100896,W:.243832,X:.16816,Y:.311096,Z:.344728,P:1.0468,a:21.4866,H:.790352,lB:.025224,mB:.004204,nB:0},B:"webkit",C:["","","","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","U","V","W","X","Y","Z","P","a","H","lB","mB","nB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,I:1264377600,b:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,ZB:1496707200,GB:1500940800,aB:1504569600,Q:1508198400,HB:1512518400,IB:1516752e3,JB:1520294400,KB:1523923200,LB:1527552e3,MB:1532390400,NB:1536019200,OB:1539648e3,PB:1543968e3,QB:154872e4,RB:1552348800,SB:1555977600,TB:1559606400,UB:1564444800,VB:1568073600,bB:1571702400,R:1575936e3,S:1580860800,T:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,P:1614556800,a:1618272e3,H:1621987200,lB:null,mB:null,nB:null}},E:{A:{I:0,b:.008542,J:.004656,D:.004465,E:.218608,F:.004891,A:.004425,B:.008408,C:.012612,K:.088284,L:2.26175,G:0,oB:0,cB:.008692,pB:.109304,qB:.00456,rB:.004283,sB:.02102,dB:.02102,WB:.058856,XB:.088284,tB:.395176,uB:.748312,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","cB","I","b","pB","J","qB","D","rB","E","F","sB","A","dB","B","WB","C","XB","K","tB","L","uB","G","vB",""],E:"Safari",F:{oB:1205798400,cB:1226534400,I:1244419200,b:1275868800,pB:131112e4,J:1343174400,qB:13824e5,D:13824e5,rB:1410998400,E:1413417600,F:1443657600,sB:1458518400,A:1474329600,dB:1490572800,B:1505779200,WB:1522281600,C:1537142400,XB:1553472e3,K:1568851200,tB:1585008e3,L:1600214400,uB:1619395200,G:null,vB:null}},F:{A:{0:.008542,1:.004227,2:.004725,3:.008408,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008408,u:.004283,v:.004367,w:.004534,x:.008408,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,GB:.00472,Q:.004532,HB:.004566,IB:.02283,JB:.00867,KB:.004656,LB:.004642,MB:.004298,NB:.00944,OB:.00415,PB:.004271,QB:.004298,RB:.096692,SB:.008408,TB:.433012,UB:.437216,VB:0,wB:.00685,xB:0,yB:.008392,zB:.004706,WB:.006229,eB:.004879,"0B":.008786,XB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","F","wB","xB","yB","zB","B","WB","eB","0B","C","XB","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,F:1150761600,wB:1223424e3,xB:1251763200,yB:1267488e3,zB:1277942400,B:1292457600,WB:1302566400,eB:1309219200,"0B":1323129600,C:1323129600,XB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,GB:1554768e3,Q:1561593600,HB:1566259200,IB:1570406400,JB:1573689600,KB:1578441600,LB:1583971200,MB:1587513600,NB:1592956800,OB:1595894400,PB:1600128e3,QB:1603238400,RB:161352e4,SB:1612224e3,TB:1616544e3,UB:1619568e3,VB:1623715200},D:{F:"o",B:"o",C:"o",wB:"o",xB:"o",yB:"o",zB:"o",WB:"o",eB:"o","0B":"o",XB:"o"}},G:{A:{E:.00144955,cB:0,"1B":0,fB:.00289911,"2B":.00869732,"3B":.0449361,"4B":.0304406,"5B":.0202937,"6B":.0217433,"7B":.147854,"8B":.0347893,"9B":.149304,AC:.0855236,BC:.0739272,CC:.0768263,DC:.246424,EC:.0666794,FC:.0333397,GC:.172497,HC:.572573,IC:10.1498,JC:1.93225},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cB","1B","fB","2B","3B","4B","E","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","","",""],E:"Safari on iOS",F:{cB:1270252800,"1B":1283904e3,fB:1299628800,"2B":1331078400,"3B":1359331200,"4B":1394409600,E:1410912e3,"5B":1413763200,"6B":1442361600,"7B":1458518400,"8B":1473724800,"9B":1490572800,AC:1505779200,BC:1522281600,CC:1537142400,DC:1553472e3,EC:1568851200,FC:1572220800,GC:1580169600,HC:1585008e3,IC:1600214400,JC:1619395200}},H:{A:{KC:1.18546},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KC","","",""],E:"Opera Mini",F:{KC:1426464e3}},I:{A:{YB:0,I:.0263634,H:0,LC:0,MC:0,NC:0,OC:.0301296,fB:.0979213,PC:0,QC:.43688},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","MC","NC","YB","I","OC","fB","PC","QC","H","","",""],E:"Android Browser",F:{LC:1256515200,MC:1274313600,NC:1291593600,YB:1298332800,I:1318896e3,OC:1341792e3,fB:1374624e3,PC:1386547200,QC:1401667200,H:1621987200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,Q:.0111391,WB:0,eB:0,XB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","WB","eB","C","XB","Q","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,WB:1314835200,eB:1318291200,C:1330300800,XB:1349740800,Q:1613433600},D:{Q:"webkit"}},L:{A:{H:38.7167},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1621987200}},M:{A:{P:.278256},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","P","","",""],E:"Firefox for Android",F:{P:1622505600}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{RC:1.36809},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"UC Browser for Android",F:{RC:1471392e3},D:{RC:"webkit"}},P:{A:{I:.309232,SC:.0103543,TC:.010304,UC:.0824619,VC:.0103584,WC:.0721541,dB:.0412309,XC:.164924,YC:.113385,ZC:.412309,aC:2.19555},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","SC","TC","UC","VC","WC","dB","XC","YC","ZC","aC","","",""],E:"Samsung Internet",F:{I:1461024e3,SC:1481846400,TC:1509408e3,UC:1528329600,VC:1546128e3,WC:1554163200,dB:1567900800,XC:1582588800,YC:1593475200,ZC:1605657600,aC:1618531200}},Q:{A:{bC:.185504},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"QQ Browser",F:{bC:1589846400}},R:{A:{cC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Baidu Browser",F:{cC:1491004800}},S:{A:{dC:.098549},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","","",""],E:"KaiOS Browser",F:{dC:1527811200}}}},5682:E=>{E.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"91",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"89",Q:"62",R:"79",S:"80",T:"81",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"90",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"60",HB:"63",IB:"64",JB:"65",KB:"66",LB:"67",MB:"68",NB:"69",OB:"70",PB:"71",QB:"72",RB:"73",SB:"74",TB:"75",UB:"76",VB:"77",WB:"11.1",XB:"12.1",YB:"3",ZB:"59",aB:"61",bB:"78",cB:"3.2",dB:"10.1",eB:"11.5",fB:"4.2-4.3",gB:"5.5",hB:"2",iB:"82",jB:"3.5",kB:"3.6",lB:"92",mB:"93",nB:"94",oB:"3.1",pB:"5.1",qB:"6.1",rB:"7.1",sB:"9.1",tB:"13.1",uB:"14.1",vB:"TP",wB:"9.5-9.6",xB:"10.0-10.1",yB:"10.5",zB:"10.6","0B":"11.6","1B":"4.0-4.1","2B":"5.0-5.1","3B":"6.0-6.1","4B":"7.0-7.1","5B":"8.1-8.4","6B":"9.0-9.2","7B":"9.3","8B":"10.0-10.2","9B":"10.3",AC:"11.0-11.2",BC:"11.3-11.4",CC:"12.0-12.1",DC:"12.2-12.4",EC:"13.0-13.1",FC:"13.2",GC:"13.3",HC:"13.4-13.7",IC:"14.0-14.4",JC:"14.5-14.6",KC:"all",LC:"2.1",MC:"2.2",NC:"2.3",OC:"4.1",PC:"4.4",QC:"4.4.3-4.4.4",RC:"12.12",SC:"5.0-5.4",TC:"6.2-6.4",UC:"7.2-7.4",VC:"8.2",WC:"9.2",XC:"11.1-11.2",YC:"12.0",ZC:"13.0",aC:"14.0",bC:"10.4",cC:"7.12",dC:"2.5"}},73238:E=>{E.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:E=>{E.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:E=>{E.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(E,N,R)=>{const{browsers:j}=R(59307);const $=R(57917).browserVersions;const q=R(12161);function unpackBrowserVersions(E){return Object.keys(E).reduce(((N,R)=>{N[$[R]]=E[R];return N}),{})}E.exports.D=Object.keys(q).reduce(((E,N)=>{let R=q[N];E[j[N]]=Object.keys(R).reduce(((E,N)=>{if(N==="A"){E.usage_global=unpackBrowserVersions(R[N])}else if(N==="C"){E.versions=R[N].reduce(((E,N)=>{if(N===""){E.push(null)}else{E.push($[N])}return E}),[])}else if(N==="D"){E.prefix_exceptions=unpackBrowserVersions(R[N])}else if(N==="E"){E.browser=R[N]}else if(N==="F"){E.release_date=Object.keys(R[N]).reduce(((E,j)=>{E[$[j]]=R[N][j];return E}),{})}else{E.prefix=R[N]}return E}),{});return E}),{})},57917:(E,N,R)=>{E.exports.browserVersions=R(5682)},59307:(E,N,R)=>{E.exports.browsers=R(73238)},30048:(E,N,R)=>{const j=R(54994);const $=R(44909);const{browsers:q}=R(59307);const G=R(57917).browserVersions;const ie=Math.log(2);function unpackSupport(E){let N=Object.keys($).reduce(((N,R)=>{if(E&$[R])N.push(R);return N}),[]);let R=E>>7;let j=[];while(R){let E=Math.floor(Math.log(R)/ie)+1;j.unshift(`#${E}`);R-=Math.pow(2,E-1)}return N.concat(j).join(" ")}function unpackFeature(E){let N={status:j[E.B],title:E.C};N.stats=Object.keys(E.A).reduce(((N,R)=>{let j=E.A[R];N[q[R]]=Object.keys(j).reduce(((E,N)=>{let R=j[N].split(" ");let $=unpackSupport(N);R.forEach((N=>E[G[N]]=$));return E}),{});return N}),{});return N}E.exports=unpackFeature;E.exports["default"]=unpackFeature},24356:(E,N,R)=>{const{browsers:j}=R(59307);function unpackRegion(E){return Object.keys(E).reduce(((N,R)=>{let $=E[R];N[j[R]]=Object.keys($).reduce(((E,N)=>{let R=$[N];if(N==="_"){R.split(" ").forEach((N=>E[N]=null))}else{E[N]=R}return E}),{});return N}),{})}E.exports=unpackRegion;E.exports["default"]=unpackRegion},57347:(E,N,R)=>{"use strict";const j=R(11207);const{stdout:$,stderr:q}=R(96204);const{stringReplaceAll:G,stringEncaseCRLFWithFirstIndex:ie}=R(88445);const{isArray:ae}=Array;const ce=["ansi","ansi","ansi256","ansi16m"];const le=Object.create(null);const applyOptions=(E,N={})=>{if(N.level&&!(Number.isInteger(N.level)&&N.level>=0&&N.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const R=$?$.level:0;E.level=N.level===undefined?R:N.level};class ChalkClass{constructor(E){return chalkFactory(E)}}const chalkFactory=E=>{const N={};applyOptions(N,E);N.template=(...E)=>chalkTag(N.template,...E);Object.setPrototypeOf(N,Chalk.prototype);Object.setPrototypeOf(N.template,N);N.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};N.template.Instance=ChalkClass;return N.template};function Chalk(E){return chalkFactory(E)}for(const[E,N]of Object.entries(j)){le[E]={get(){const R=createBuilder(this,createStyler(N.open,N.close,this._styler),this._isEmpty);Object.defineProperty(this,E,{value:R});return R}}}le.visible={get(){const E=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:E});return E}};const _e=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of _e){le[E]={get(){const{level:N}=this;return function(...R){const $=createStyler(j.color[ce[N]][E](...R),j.color.close,this._styler);return createBuilder(this,$,this._isEmpty)}}}}for(const E of _e){const N="bg"+E[0].toUpperCase()+E.slice(1);le[N]={get(){const{level:N}=this;return function(...R){const $=createStyler(j.bgColor[ce[N]][E](...R),j.bgColor.close,this._styler);return createBuilder(this,$,this._isEmpty)}}}}const Ee=Object.defineProperties((()=>{}),{...le,level:{enumerable:true,get(){return this._generator.level},set(E){this._generator.level=E}}});const createStyler=(E,N,R)=>{let j;let $;if(R===undefined){j=E;$=N}else{j=R.openAll+E;$=N+R.closeAll}return{open:E,close:N,openAll:j,closeAll:$,parent:R}};const createBuilder=(E,N,R)=>{const builder=(...E)=>{if(ae(E[0])&&ae(E[0].raw)){return applyStyle(builder,chalkTag(builder,...E))}return applyStyle(builder,E.length===1?""+E[0]:E.join(" "))};Object.setPrototypeOf(builder,Ee);builder._generator=E;builder._styler=N;builder._isEmpty=R;return builder};const applyStyle=(E,N)=>{if(E.level<=0||!N){return E._isEmpty?"":N}let R=E._styler;if(R===undefined){return N}const{openAll:j,closeAll:$}=R;if(N.indexOf("")!==-1){while(R!==undefined){N=G(N,R.close,R.open);R=R.parent}}const q=N.indexOf("\n");if(q!==-1){N=ie(N,$,j,q)}return j+N+$};let Te;const chalkTag=(E,...N)=>{const[j]=N;if(!ae(j)||!ae(j.raw)){return N.join(" ")}const $=N.slice(1);const q=[j.raw[0]];for(let E=1;E<j.length;E++){q.push(String($[E-1]).replace(/[{}\\]/g,"\\$&"),String(j.raw[E]))}if(Te===undefined){Te=R(35702)}return Te(E,q.join(""))};Object.defineProperties(Chalk.prototype,le);const we=Chalk();we.supportsColor=$;we.stderr=Chalk({level:q?q.level:0});we.stderr.supportsColor=q;E.exports=we},35702:E=>{"use strict";const N=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const R=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const j=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const $=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const q=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(E){const N=E[0]==="u";const R=E[1]==="{";if(N&&!R&&E.length===5||E[0]==="x"&&E.length===3){return String.fromCharCode(parseInt(E.slice(1),16))}if(N&&R){return String.fromCodePoint(parseInt(E.slice(2,-1),16))}return q.get(E)||E}function parseArguments(E,N){const R=[];const q=N.trim().split(/\s*,\s*/g);let G;for(const N of q){const q=Number(N);if(!Number.isNaN(q)){R.push(q)}else if(G=N.match(j)){R.push(G[2].replace($,((E,N,R)=>N?unescape(N):R)))}else{throw new Error(`Invalid Chalk template style argument: ${N} (in style '${E}')`)}}return R}function parseStyle(E){R.lastIndex=0;const N=[];let j;while((j=R.exec(E))!==null){const E=j[1];if(j[2]){const R=parseArguments(E,j[2]);N.push([E].concat(R))}else{N.push([E])}}return N}function buildStyle(E,N){const R={};for(const E of N){for(const N of E.styles){R[N[0]]=E.inverse?null:N.slice(1)}}let j=E;for(const[E,N]of Object.entries(R)){if(!Array.isArray(N)){continue}if(!(E in j)){throw new Error(`Unknown Chalk style: ${E}`)}j=N.length>0?j[E](...N):j[E]}return j}E.exports=(E,R)=>{const j=[];const $=[];let q=[];R.replace(N,((N,R,G,ie,ae,ce)=>{if(R){q.push(unescape(R))}else if(ie){const N=q.join("");q=[];$.push(j.length===0?N:buildStyle(E,j)(N));j.push({inverse:G,styles:parseStyle(ie)})}else if(ae){if(j.length===0){throw new Error("Found extraneous } in Chalk template literal")}$.push(buildStyle(E,j)(q.join("")));q=[];j.pop()}else{q.push(ce)}}));$.push(q.join(""));if(j.length>0){const E=`Chalk template literal is missing ${j.length} closing bracket${j.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return $.join("")}},88445:E=>{"use strict";const stringReplaceAll=(E,N,R)=>{let j=E.indexOf(N);if(j===-1){return E}const $=N.length;let q=0;let G="";do{G+=E.substr(q,j-q)+N+R;q=j+$;j=E.indexOf(N,q)}while(j!==-1);G+=E.substr(q);return G};const stringEncaseCRLFWithFirstIndex=(E,N,R,j)=>{let $=0;let q="";do{const G=E[j-1]==="\r";q+=E.substr($,(G?j-1:j)-$)+N+(G?"\r\n":"\n")+R;$=j+1;j=E.indexOf("\n",$)}while(j!==-1);q+=E.substr($);return q};E.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});var j=R(5115);var $=R(12781);function evCommon(){var E=process.hrtime();var N=E[0]*1e6+Math.round(E[1]/1e3);return{ts:N,pid:process.pid,tid:process.pid}}var q=function(E){j.__extends(Tracer,E);function Tracer(N){if(N===void 0){N={}}var R=E.call(this)||this;R.noStream=false;R.events=[];if(typeof N!=="object"){throw new Error("Invalid options passed (must be an object)")}if(N.parent!=null&&typeof N.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(N.fields!=null&&typeof N.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(N.objectMode!=null&&(N.objectMode!==true&&N.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}R.noStream=N.noStream||false;R.parent=N.parent;if(R.parent){R.fields=Object.assign({},N.parent&&N.parent.fields)}else{R.fields={}}if(N.fields){Object.assign(R.fields,N.fields)}if(!R.fields.cat){R.fields.cat="default"}else if(Array.isArray(R.fields.cat)){R.fields.cat=R.fields.cat.join(",")}if(!R.fields.args){R.fields.args={}}if(R.parent){R._push=R.parent._push.bind(R.parent)}else{R._objectMode=Boolean(N.objectMode);var j={objectMode:R._objectMode};if(R._objectMode){R._push=R.push}else{R._push=R._pushString;j.encoding="utf8"}$.Readable.call(R,j)}return R}Tracer.prototype.flush=function(){if(this.noStream===true){for(var E=0,N=this.events;E<N.length;E++){var R=N[E];this._push(R)}this._flush()}};Tracer.prototype._read=function(E){};Tracer.prototype._pushString=function(E){var N="";if(!this.firstPush){this.push("[");this.firstPush=true}else{N=",\n"}this.push(N+JSON.stringify(E),"utf8")};Tracer.prototype._flush=function(){if(!this._objectMode){this.push("]")}};Tracer.prototype.child=function(E){return new Tracer({parent:this,fields:E})};Tracer.prototype.begin=function(E){return this.mkEventFunc("b")(E)};Tracer.prototype.end=function(E){return this.mkEventFunc("e")(E)};Tracer.prototype.completeEvent=function(E){return this.mkEventFunc("X")(E)};Tracer.prototype.instantEvent=function(E){return this.mkEventFunc("I")(E)};Tracer.prototype.mkEventFunc=function(E){var N=this;return function(R){var j=evCommon();j.ph=E;if(R){if(typeof R==="string"){j.name=R}else{for(var $=0,q=Object.keys(R);$<q.length;$++){var G=q[$];if(G==="cat"){j.cat=R.cat.join(",")}else{j[G]=R[G]}}}}if(!N.noStream){N._push(j)}else{N.events.push(j)}}};return Tracer}($.Readable);N.Tracer=q},24253:E=>{"use strict";E.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},46233:E=>{E.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87","12.0":"89","13.0":"91",13.1:"91","14.0":"93"}},31356:E=>{E.exports=["🀄️","🃏","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂️","🈚️","🈯️","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶️","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖️","🎗️","🎙️","🎚️","🎛️","🎞️","🎟️","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋️","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌️","🏍️","🏎️","🏏","🏐","🏑","🏒","🏓","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳️","🏴‍☠️","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🏴","🏵️","🏷️","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕‍🦺","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿️","👀","👁‍🗨","👁️","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍🦯","👨🏻‍🦰","👨🏻‍🦱","👨🏻‍🦲","👨🏻‍🦳","👨🏻‍🦼","👨🏻‍🦽","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍🤝‍👨🏻","👨🏼‍🦯","👨🏼‍🦰","👨🏼‍🦱","👨🏼‍🦲","👨🏼‍🦳","👨🏼‍🦼","👨🏼‍🦽","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍🤝‍👨🏻","👨🏽‍🤝‍👨🏼","👨🏽‍🦯","👨🏽‍🦰","👨🏽‍🦱","👨🏽‍🦲","👨🏽‍🦳","👨🏽‍🦼","👨🏽‍🦽","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍🤝‍👨🏻","👨🏾‍🤝‍👨🏼","👨🏾‍🤝‍👨🏽","👨🏾‍🦯","👨🏾‍🦰","👨🏾‍🦱","👨🏾‍🦲","👨🏾‍🦳","👨🏾‍🦼","👨🏾‍🦽","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍🤝‍👨🏻","👨🏿‍🤝‍👨🏼","👨🏿‍🤝‍👨🏽","👨🏿‍🤝‍👨🏾","👨🏿‍🦯","👨🏿‍🦰","👨🏿‍🦱","👨🏿‍🦲","👨🏿‍🦳","👨🏿‍🦼","👨🏿‍🦽","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍🦯","👨‍🦰","👨‍🦱","👨‍🦲","👨‍🦳","👨‍🦼","👨‍🦽","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍🤝‍👨🏼","👩🏻‍🤝‍👨🏽","👩🏻‍🤝‍👨🏾","👩🏻‍🤝‍👨🏿","👩🏻‍🦯","👩🏻‍🦰","👩🏻‍🦱","👩🏻‍🦲","👩🏻‍🦳","👩🏻‍🦼","👩🏻‍🦽","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍🤝‍👨🏻","👩🏼‍🤝‍👨🏽","👩🏼‍🤝‍👨🏾","👩🏼‍🤝‍👨🏿","👩🏼‍🤝‍👩🏻","👩🏼‍🦯","👩🏼‍🦰","👩🏼‍🦱","👩🏼‍🦲","👩🏼‍🦳","👩🏼‍🦼","👩🏼‍🦽","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍🤝‍👨🏻","👩🏽‍🤝‍👨🏼","👩🏽‍🤝‍👨🏾","👩🏽‍🤝‍👨🏿","👩🏽‍🤝‍👩🏻","👩🏽‍🤝‍👩🏼","👩🏽‍🦯","👩🏽‍🦰","👩🏽‍🦱","👩🏽‍🦲","👩🏽‍🦳","👩🏽‍🦼","👩🏽‍🦽","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍🤝‍👨🏻","👩🏾‍🤝‍👨🏼","👩🏾‍🤝‍👨🏽","👩🏾‍🤝‍👨🏿","👩🏾‍🤝‍👩🏻","👩🏾‍🤝‍👩🏼","👩🏾‍🤝‍👩🏽","👩🏾‍🦯","👩🏾‍🦰","👩🏾‍🦱","👩🏾‍🦲","👩🏾‍🦳","👩🏾‍🦼","👩🏾‍🦽","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍🤝‍👨🏻","👩🏿‍🤝‍👨🏼","👩🏿‍🤝‍👨🏽","👩🏿‍🤝‍👨🏾","👩🏿‍🤝‍👩🏻","👩🏿‍🤝‍👩🏼","👩🏿‍🤝‍👩🏽","👩🏿‍🤝‍👩🏾","👩🏿‍🦯","👩🏿‍🦰","👩🏿‍🦱","👩🏿‍🦲","👩🏿‍🦳","👩🏿‍🦼","👩🏿‍🦽","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍🦯","👩‍🦰","👩‍🦱","👩‍🦲","👩‍🦳","👩‍🦼","👩‍🦽","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽️","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕊️","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯️","🕰️","🕳️","🕴🏻‍♀️","🕴🏻‍♂️","🕴🏻","🕴🏼‍♀️","🕴🏼‍♂️","🕴🏼","🕴🏽‍♀️","🕴🏽‍♂️","🕴🏽","🕴🏾‍♀️","🕴🏾‍♂️","🕴🏾","🕴🏿‍♀️","🕴🏿‍♂️","🕴🏿","🕴️‍♀️","🕴️‍♂️","🕴️","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵️","🕶️","🕷️","🕸️","🕹️","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇️","🖊️","🖋️","🖌️","🖍️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥️","🖨️","🖱️","🖲️","🖼️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗣️","🗨️","🗯️","🗳️","🗺️","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋️","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍️","🛎️","🛏️","🛐","🛑","🛒","🛕","🛠️","🛡️","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛷","🛸","🛹","🛺","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫","🤍","🤎","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤱","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤲","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻‍♀️","🤵🏻‍♂️","🤵🏻","🤵🏼‍♀️","🤵🏼‍♂️","🤵🏼","🤵🏽‍♀️","🤵🏽‍♂️","🤵🏽","🤵🏾‍♀️","🤵🏾‍♂️","🤵🏾","🤵🏿‍♀️","🤵🏿‍♂️","🤵🏿","🤵‍♀️","🤵‍♂️","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🤿","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🥰","🥱","🥳","🥴","🥵","🥶","🥺","🥻","🥼","🥽","🥾","🥿","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦞","🦟","🦠","🦡","🦢","🦥","🦦","🦧","🦨","🦩","🦪","🦮","🦯","🦰","🦱","🦲","🦳","🦴","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦵","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦶","🦷","🦸🏻‍♀️","🦸🏻‍♂️","🦸🏻","🦸🏼‍♀️","🦸🏼‍♂️","🦸🏼","🦸🏽‍♀️","🦸🏽‍♂️","🦸🏽","🦸🏾‍♀️","🦸🏾‍♂️","🦸🏾","🦸🏿‍♀️","🦸🏿‍♂️","🦸🏿","🦸‍♀️","🦸‍♂️","🦸","🦹🏻‍♀️","🦹🏻‍♂️","🦹🏻","🦹🏼‍♀️","🦹🏼‍♂️","🦹🏼","🦹🏽‍♀️","🦹🏽‍♂️","🦹🏽","🦹🏾‍♀️","🦹🏾‍♂️","🦹🏾","🦹🏿‍♀️","🦹🏿‍♂️","🦹🏿","🦹‍♀️","🦹‍♂️","🦹","🦺","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦻","🦼","🦽","🦾","🦿","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧍🏻‍♀️","🧍🏻‍♂️","🧍🏻","🧍🏼‍♀️","🧍🏼‍♂️","🧍🏼","🧍🏽‍♀️","🧍🏽‍♂️","🧍🏽","🧍🏾‍♀️","🧍🏾‍♂️","🧍🏾","🧍🏿‍♀️","🧍🏿‍♂️","🧍🏿","🧍‍♀️","🧍‍♂️","🧍","🧎🏻‍♀️","🧎🏻‍♂️","🧎🏻","🧎🏼‍♀️","🧎🏼‍♂️","🧎🏼","🧎🏽‍♀️","🧎🏽‍♂️","🧎🏽","🧎🏾‍♀️","🧎🏾‍♂️","🧎🏾","🧎🏿‍♀️","🧎🏿‍♂️","🧎🏿","🧎‍♀️","🧎‍♂️","🧎","🧏🏻‍♀️","🧏🏻‍♂️","🧏🏻","🧏🏼‍♀️","🧏🏼‍♂️","🧏🏼","🧏🏽‍♀️","🧏🏽‍♂️","🧏🏽","🧏🏾‍♀️","🧏🏾‍♂️","🧏🏾","🧏🏿‍♀️","🧏🏿‍♂️","🧏🏿","🧏‍♀️","🧏‍♂️","🧏","🧐","🧑🏻‍🤝‍🧑🏻","🧑🏻","🧑🏼‍🤝‍🧑🏻","🧑🏼‍🤝‍🧑🏼","🧑🏼","🧑🏽‍🤝‍🧑🏻","🧑🏽‍🤝‍🧑🏼","🧑🏽‍🤝‍🧑🏽","🧑🏽","🧑🏾‍🤝‍🧑🏻","🧑🏾‍🤝‍🧑🏼","🧑🏾‍🤝‍🧑🏽","🧑🏾‍🤝‍🧑🏾","🧑🏾","🧑🏿‍🤝‍🧑🏻","🧑🏿‍🤝‍🧑🏼","🧑🏿‍🤝‍🧑🏽","🧑🏿‍🤝‍🧑🏾","🧑🏿‍🤝‍🧑🏿","🧑🏿","🧑‍🤝‍🧑","🧑","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧒","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧓","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧕","🧖🏻‍♀️","🧖🏻‍♂️","🧖🏻","🧖🏼‍♀️","🧖🏼‍♂️","🧖🏼","🧖🏽‍♀️","🧖🏽‍♂️","🧖🏽","🧖🏾‍♀️","🧖🏾‍♂️","🧖🏾","🧖🏿‍♀️","🧖🏿‍♂️","🧖🏿","🧖‍♀️","🧖‍♂️","🧖","🧗🏻‍♀️","🧗🏻‍♂️","🧗🏻","🧗🏼‍♀️","🧗🏼‍♂️","🧗🏼","🧗🏽‍♀️","🧗🏽‍♂️","🧗🏽","🧗🏾‍♀️","🧗🏾‍♂️","🧗🏾","🧗🏿‍♀️","🧗🏿‍♂️","🧗🏿","🧗‍♀️","🧗‍♂️","🧗","🧘🏻‍♀️","🧘🏻‍♂️","🧘🏻","🧘🏼‍♀️","🧘🏼‍♂️","🧘🏼","🧘🏽‍♀️","🧘🏽‍♂️","🧘🏽","🧘🏾‍♀️","🧘🏾‍♂️","🧘🏾","🧘🏿‍♀️","🧘🏿‍♂️","🧘🏿","🧘‍♀️","🧘‍♂️","🧘","🧙🏻‍♀️","🧙🏻‍♂️","🧙🏻","🧙🏼‍♀️","🧙🏼‍♂️","🧙🏼","🧙🏽‍♀️","🧙🏽‍♂️","🧙🏽","🧙🏾‍♀️","🧙🏾‍♂️","🧙🏾","🧙🏿‍♀️","🧙🏿‍♂️","🧙🏿","🧙‍♀️","🧙‍♂️","🧙","🧚🏻‍♀️","🧚🏻‍♂️","🧚🏻","🧚🏼‍♀️","🧚🏼‍♂️","🧚🏼","🧚🏽‍♀️","🧚🏽‍♂️","🧚🏽","🧚🏾‍♀️","🧚🏾‍♂️","🧚🏾","🧚🏿‍♀️","🧚🏿‍♂️","🧚🏿","🧚‍♀️","🧚‍♂️","🧚","🧛🏻‍♀️","🧛🏻‍♂️","🧛🏻","🧛🏼‍♀️","🧛🏼‍♂️","🧛🏼","🧛🏽‍♀️","🧛🏽‍♂️","🧛🏽","🧛🏾‍♀️","🧛🏾‍♂️","🧛🏾","🧛🏿‍♀️","🧛🏿‍♂️","🧛🏿","🧛‍♀️","🧛‍♂️","🧛","🧜🏻‍♀️","🧜🏻‍♂️","🧜🏻","🧜🏼‍♀️","🧜🏼‍♂️","🧜🏼","🧜🏽‍♀️","🧜🏽‍♂️","🧜🏽","🧜🏾‍♀️","🧜🏾‍♂️","🧜🏾","🧜🏿‍♀️","🧜🏿‍♂️","🧜🏿","🧜‍♀️","🧜‍♂️","🧜","🧝🏻‍♀️","🧝🏻‍♂️","🧝🏻","🧝🏼‍♀️","🧝🏼‍♂️","🧝🏼","🧝🏽‍♀️","🧝🏽‍♂️","🧝🏽","🧝🏾‍♀️","🧝🏾‍♂️","🧝🏾","🧝🏿‍♀️","🧝🏿‍♂️","🧝🏿","🧝‍♀️","🧝‍♂️","🧝","🧞‍♀️","🧞‍♂️","🧞","🧟‍♀️","🧟‍♂️","🧟","🧠","🧡","🧢","🧣","🧤","🧥","🧦","🧧","🧨","🧩","🧪","🧫","🧬","🧭","🧮","🧯","🧰","🧱","🧲","🧳","🧴","🧵","🧶","🧷","🧸","🧹","🧺","🧻","🧼","🧽","🧾","🧿","🩰","🩱","🩲","🩳","🩸","🩹","🩺","🪀","🪁","🪂","🪐","🪑","🪒","🪓","🪔","🪕","‼️","⁉️","™️","","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","#⃣","⌚️","⌛️","⌨️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏰","⏱️","⏲️","⏳","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽️","◾️","☀️","☁️","☂️","☃️","☄️","☎️","☑️","☔️","☕️","☘️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","☠️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","☹️","☺️","♀️","♂️","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","♟️","♠️","♣️","♥️","♦️","♨️","♻️","♾","♿️","⚒️","⚓️","⚔️","⚕️","⚖️","⚗️","⚙️","⚛️","⚜️","⚠️","⚡️","⚪️","⚫️","⚰️","⚱️","⚽️","⚾️","⛄️","⛅️","⛈️","⛎","⛏️","⛑️","⛓️","⛔️","⛩️","⛪️","⛰️","⛱️","⛲️","⛳️","⛴️","⛵️","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷️","⛸️","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹️","⛺️","⛽️","✂️","✅","✈️","✉️","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","✏️","✒️","✔️","✖️","✝️","✡️","✨","✳️","✴️","❄️","❇️","❌","❎","❓","❔","❕","❗️","❣️","❤️","","","➗","➡️","➰","➿","⤴️","⤵️","*⃣","⬅️","⬆️","⬇️","⬛️","⬜️","⭐️","⭕️","0⃣","〰️","〽️","1⃣","2⃣","㊗️","㊙️","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©️","®️",""]},57235:(E,N,R)=>{"use strict";const j=R(83881);const $=R(22471);E.exports=class AliasFieldPlugin{constructor(E,N,R){this.source=E;this.field=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((R,q,G)=>{if(!R.descriptionFileData)return G();const ie=$(E,R);if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const ce=ae[ie];const le=ae[ie.replace(/^\.\//,"")];const _e=typeof ce!=="undefined"?ce:le;if(_e===ie)return G();if(_e===undefined)return G();if(_e===false){const E={...R,path:false};return G(null,E)}const Ee={...R,path:R.descriptionFileRoot,request:_e,fullySpecified:false};E.doResolve(N,Ee,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ie+"' to '"+_e+"'",q,((E,N)=>{if(E)return G(E);if(N===undefined)return G(null,null);G(null,N)}))}))}}},22002:(E,N,R)=>{"use strict";const j=R(43556);E.exports=class AliasPlugin{constructor(E,N,R){this.source=E;this.options=Array.isArray(N)?N:[N];this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasPlugin",((R,$,q)=>{const G=R.request||R.path;if(!G)return q();j(this.options,((q,ie)=>{let ae=false;if(G===q.name||!q.onlyModule&&G.startsWith(q.name+"/")){const ce=G.substr(q.name.length);const resolveWithAlias=(j,ie)=>{if(j===false){const E={...R,path:false};return ie(null,E)}if(G!==j&&!G.startsWith(j+"/")){ae=true;const G=j+ce;const le={...R,request:G,fullySpecified:false};return E.doResolve(N,le,"aliased with mapping '"+q.name+"': '"+j+"' to '"+G+"'",$,((E,N)=>{if(E)return ie(E);if(N)return ie(null,N);return ie()}))}return ie()};const stoppingCallback=(E,N)=>{if(E)return ie(E);if(N)return ie(null,N);if(ae)return ie(null,null);return ie()};if(Array.isArray(q.alias)){return j(q.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(q.alias,stoppingCallback)}}return ie()}),q)}))}}},40803:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((R,j,$)=>{const q={...R,path:R.path+this.appending,relativePath:R.relativePath&&R.relativePath+this.appending};E.doResolve(N,q,this.appending,j,$)}))}}},67703:(E,N,R)=>{"use strict";const j=R(77282).nextTick;const dirname=E=>{let N=E.length-1;while(N>=0){const R=E.charCodeAt(N);if(R===47||R===92)break;N--}if(N<0)return"";return E.slice(0,N)};const runCallbacks=(E,N,R)=>{if(E.length===1){E[0](N,R);E.length=0;return}let j;for(const $ of E){try{$(N,R)}catch(E){if(!j)j=E}}E.length=0;if(j)throw j};class OperationMergerBackend{constructor(E,N,R){this._provider=E;this._syncProvider=N;this._providerContext=R;this._activeAsyncOperations=new Map;this.provide=this._provider?(N,R,j)=>{if(typeof R==="function"){j=R;R=undefined}if(R){return this._provider.call(this._providerContext,N,R,j)}if(typeof N!=="string"){j(new TypeError("path must be a string"));return}let $=this._activeAsyncOperations.get(N);if($){$.push(j);return}this._activeAsyncOperations.set(N,$=[j]);E(N,((E,R)=>{this._activeAsyncOperations.delete(N);runCallbacks($,E,R)}))}:null;this.provideSync=this._syncProvider?(E,N)=>this._syncProvider.call(this._providerContext,E,N):null}purge(){}purgeParent(){}}const $=0;const q=1;const G=2;class CacheBackend{constructor(E,N,R,j){this._duration=E;this._provider=N;this._syncProvider=R;this._providerContext=j;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let E=0;E<10;E++)this._levels.push(new Set);for(let N=5e3;N<E;N+=500)this._levels.push(new Set);this._currentLevel=0;this._tickInterval=Math.floor(E/this._levels.length);this._mode=$;this._timeout=undefined;this._nextDecay=undefined;this.provide=N?this.provide.bind(this):null;this.provideSync=R?this.provideSync.bind(this):null}provide(E,N,R){if(typeof N==="function"){R=N;N=undefined}if(typeof E!=="string"){R(new TypeError("path must be a string"));return}if(N){return this._provider.call(this._providerContext,E,N,R)}if(this._mode===q){this._enterAsyncMode()}let $=this._data.get(E);if($!==undefined){if($.err)return j(R,$.err);return j(R,null,$.result)}let G=this._activeAsyncOperations.get(E);if(G!==undefined){G.push(R);return}this._activeAsyncOperations.set(E,G=[R]);this._provider.call(this._providerContext,E,((N,R)=>{this._activeAsyncOperations.delete(E);this._storeResult(E,N,R);this._enterAsyncMode();runCallbacks(G,N,R)}))}provideSync(E,N){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(N){return this._syncProvider.call(this._providerContext,E,N)}if(this._mode===q){this._runDecays()}let R=this._data.get(E);if(R!==undefined){if(R.err)throw R.err;return R.result}const j=this._activeAsyncOperations.get(E);this._activeAsyncOperations.delete(E);let $;try{$=this._syncProvider.call(this._providerContext,E)}catch(N){this._storeResult(E,N,undefined);this._enterSyncModeWhenIdle();if(j)runCallbacks(j,N,undefined);throw N}this._storeResult(E,undefined,$);this._enterSyncModeWhenIdle();if(j)runCallbacks(j,undefined,$);return $}purge(E){if(!E){if(this._mode!==$){this._data.clear();for(const E of this._levels){E.clear()}this._enterIdleMode()}}else if(typeof E==="string"){for(let[N,R]of this._data){if(N.startsWith(E)){this._data.delete(N);R.level.delete(N)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[N,R]of this._data){for(const j of E){if(N.startsWith(j)){this._data.delete(N);R.level.delete(N);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(E){if(!E){this.purge()}else if(typeof E==="string"){this.purge(dirname(E))}else{const N=new Set;for(const R of E){N.add(dirname(R))}this.purge(N)}}_storeResult(E,N,R){if(this._data.has(E))return;const j=this._levels[this._currentLevel];this._data.set(E,{err:N,result:R,level:j});j.add(E)}_decayLevel(){const E=(this._currentLevel+1)%this._levels.length;const N=this._levels[E];this._currentLevel=E;for(let E of N){this._data.delete(E)}N.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==$){this._decayLevel()}}_enterAsyncMode(){let E=0;switch(this._mode){case G:return;case $:this._nextDecay=Date.now()+this._tickInterval;E=this._tickInterval;break;case q:this._runDecays();if(this._mode===$)return;E=Math.max(0,this._nextDecay-Date.now());break}this._mode=G;const N=setTimeout((()=>{this._mode=q;this._runDecays()}),E);if(N.unref)N.unref();this._timeout=N}_enterSyncModeWhenIdle(){if(this._mode===$){this._mode=q;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=$;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(E,N,R,j)=>{if(E>0){return new CacheBackend(E,N,R,j)}return new OperationMergerBackend(N,R,j)};E.exports=class CachedInputFileSystem{constructor(E,N){this.fileSystem=E;this._lstatBackend=createBackend(N,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const R=this._lstatBackend.provide;this.lstat=R;const j=this._lstatBackend.provideSync;this.lstatSync=j;this._statBackend=createBackend(N,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const $=this._statBackend.provide;this.stat=$;const q=this._statBackend.provideSync;this.statSync=q;this._readdirBackend=createBackend(N,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const G=this._readdirBackend.provide;this.readdir=G;const ie=this._readdirBackend.provideSync;this.readdirSync=ie;this._readFileBackend=createBackend(N,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const ce=this._readFileBackend.provideSync;this.readFileSync=ce;this._readJsonBackend=createBackend(N,this.fileSystem.readJson||this.readFile&&((E,N)=>{this.readFile(E,((E,R)=>{if(E)return N(E);if(!R||R.length===0)return N(new Error("No file content"));let j;try{j=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}N(null,j)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(E=>{const N=this.readFileSync(E);const R=JSON.parse(N.toString("utf-8"));return R}),this.fileSystem);const le=this._readJsonBackend.provide;this.readJson=le;const _e=this._readJsonBackend.provideSync;this.readJsonSync=_e;this._readlinkBackend=createBackend(N,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const Ee=this._readlinkBackend.provide;this.readlink=Ee;const Te=this._readlinkBackend.provideSync;this.readlinkSync=Te}purge(E){this._statBackend.purge(E);this._lstatBackend.purge(E);this._readdirBackend.purgeParent(E);this._readFileBackend.purge(E);this._readlinkBackend.purge(E);this._readJsonBackend.purge(E)}}},94511:(E,N,R)=>{"use strict";const j=R(69835).basename;E.exports=class CloneBasenamePlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("CloneBasenamePlugin",((R,$,q)=>{const G=j(R.path);const ie=E.join(R.path,G);const ae={...R,path:ie,relativePath:R.relativePath&&E.join(R.relativePath,G)};E.doResolve(N,ae,"using path: "+ie,$,q)}))}}},61770:E=>{"use strict";E.exports=class ConditionalPlugin{constructor(E,N,R,j,$){this.source=E;this.test=N;this.message=R;this.allowAlternatives=j;this.target=$}apply(E){const N=E.ensureHook(this.target);const{test:R,message:j,allowAlternatives:$}=this;const q=Object.keys(R);E.getHook(this.source).tapAsync("ConditionalPlugin",((G,ie,ae)=>{for(const E of q){if(G[E]!==R[E])return ae()}E.doResolve(N,G,j,ie,$?ae:(E,N)=>{if(E)return ae(E);if(N===undefined)return ae(null,null);ae(null,N)})}))}}},65943:(E,N,R)=>{"use strict";const j=R(83881);E.exports=class DescriptionFilePlugin{constructor(E,N,R,j){this.source=E;this.filenames=N;this.pathIsFile=R;this.target=j}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((R,$,q)=>{const G=R.path;if(!G)return q();const ie=this.pathIsFile?j.cdUp(G):G;if(!ie)return q();j.loadDescriptionFile(E,ie,this.filenames,R.descriptionFilePath?{path:R.descriptionFilePath,content:R.descriptionFileData,directory:R.descriptionFileRoot}:undefined,$,((j,ae)=>{if(j)return q(j);if(!ae){if($.log)$.log(`No description file found in ${ie} or above`);return q()}const ce="."+G.substr(ae.directory.length).replace(/\\/g,"/");const le={...R,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:ce};E.doResolve(N,le,"using description file: "+ae.path+" (relative path: "+ce+")",$,((E,N)=>{if(E)return q(E);if(N===undefined)return q(null,null);q(null,N)}))}))}))}}},83881:(E,N,R)=>{"use strict";const j=R(43556);function loadDescriptionFile(E,N,R,$,q,G){(function findDescriptionFile(){if($&&$.directory===N){return G(null,$)}j(R,((R,j)=>{const $=E.join(N,R);if(E.fileSystem.readJson){E.fileSystem.readJson($,((E,N)=>{if(E){if(typeof E.code!=="undefined"){if(q.missingDependencies){q.missingDependencies.add($)}return j()}if(q.fileDependencies){q.fileDependencies.add($)}return onJson(E)}if(q.fileDependencies){q.fileDependencies.add($)}onJson(null,N)}))}else{E.fileSystem.readFile($,((E,N)=>{if(E){if(q.missingDependencies){q.missingDependencies.add($)}return j()}if(q.fileDependencies){q.fileDependencies.add($)}let R;if(N){try{R=JSON.parse(N.toString())}catch(E){return onJson(E)}}else{return onJson(new Error("No content in file"))}onJson(null,R)}))}function onJson(E,R){if(E){if(q.log)q.log($+" (directory description file): "+E);else E.message=$+" (directory description file): "+E;return j(E)}j(null,{content:R,directory:N,path:$})}}),((E,R)=>{if(E)return G(E);if(R){return G(null,R)}else{const E=cdUp(N);if(!E){return G()}else{N=E;return findDescriptionFile()}}}))})()}function getField(E,N){if(!E)return undefined;if(Array.isArray(N)){let R=E;for(let E=0;E<N.length;E++){if(R===null||typeof R!=="object"){R=null;break}R=R[N[E]]}return R}else{return E[N]}}function cdUp(E){if(E==="/")return null;const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N<R?R:N;if(j<0)return null;return E.substr(0,j||1)}N.loadDescriptionFile=loadDescriptionFile;N.getField=getField;N.cdUp=cdUp},32575:E=>{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((R,j,$)=>{const q=E.fileSystem;const G=R.path;if(!G)return $();q.stat(G,((q,ie)=>{if(q||!ie){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" doesn't exist");return $()}if(!ie.isDirectory()){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" is not a directory");return $()}if(j.fileDependencies)j.fileDependencies.add(G);E.doResolve(N,R,`existing directory ${G}`,j,$)}))}))}}},5109:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=R(43556);const{processExportsField:G}=R(4077);const{parseIdentifier:ie}=R(48366);const{checkExportsFieldTarget:ae}=R(67411);E.exports=class ExportsFieldPlugin{constructor(E,N,R,j){this.source=E;this.target=j;this.conditionNames=N;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ExportsFieldPlugin",((R,ce,le)=>{if(!R.descriptionFilePath)return le();if(R.relativePath!=="."||R.request===undefined)return le();const _e=R.query||R.fragment?(R.request==="."?"./":R.request)+R.query+R.fragment:R.request;const Ee=$.getField(R.descriptionFileData,this.fieldName);if(!Ee)return le();if(R.directory){return le(new Error(`Resolving to directories is not possible with the exports field (request was ${_e}/)`))}let Te;try{let E=this.fieldProcessorCache.get(R.descriptionFileData);if(E===undefined){E=G(Ee);this.fieldProcessorCache.set(R.descriptionFileData,E)}Te=E(_e,this.conditionNames)}catch(E){if(ce.log){ce.log(`Exports field in ${R.descriptionFilePath} can't be processed: ${E}`)}return le(E)}if(Te.length===0){return le(new Error(`Package path ${_e} is not exported from package ${R.descriptionFileRoot} (see exports field in ${R.descriptionFilePath})`))}q(Te,(($,q)=>{const G=ie($);if(!G)return q();const[le,_e,Ee]=G;const Te=ae(le);if(Te){return q(Te)}const we={...R,request:undefined,path:j.join(R.descriptionFileRoot,le),relativePath:le,query:_e,fragment:Ee};E.doResolve(N,we,"using exports field: "+$,ce,q)}),((E,N)=>le(E,N||null)))}))}}},87876:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",((j,$,q)=>{const G=j.path;if(!G)return q();R.stat(G,((R,ie)=>{if(R||!ie){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" doesn't exist");return q()}if(!ie.isFile()){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" is not a file");return q()}if($.fileDependencies)$.fileDependencies.add(G);E.doResolve(N,j,"existing file: "+G,$,q)}))}))}}},1825:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=R(43556);const{processImportsField:G}=R(4077);const{parseIdentifier:ie}=R(48366);const ae=".".charCodeAt(0);E.exports=class ImportsFieldPlugin{constructor(E,N,R,j,$){this.source=E;this.targetFile=j;this.targetPackage=$;this.conditionNames=N;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(E){const N=E.ensureHook(this.targetFile);const R=E.ensureHook(this.targetPackage);E.getHook(this.source).tapAsync("ImportsFieldPlugin",((ce,le,_e)=>{if(!ce.descriptionFilePath||ce.request===undefined){return _e()}const Ee=ce.request+ce.query+ce.fragment;const Te=$.getField(ce.descriptionFileData,this.fieldName);if(!Te)return _e();if(ce.directory){return _e(new Error(`Resolving to directories is not possible with the imports field (request was ${Ee}/)`))}let we;try{let E=this.fieldProcessorCache.get(ce.descriptionFileData);if(E===undefined){E=G(Te);this.fieldProcessorCache.set(ce.descriptionFileData,E)}we=E(Ee,this.conditionNames)}catch(E){if(le.log){le.log(`Imports field in ${ce.descriptionFilePath} can't be processed: ${E}`)}return _e(E)}if(we.length===0){return _e(new Error(`Package import ${Ee} is not imported from package ${ce.descriptionFileRoot} (see imports field in ${ce.descriptionFilePath})`))}q(we,(($,q)=>{const G=ie($);if(!G)return q();const[_e,Ee,Te]=G;switch(_e.charCodeAt(0)){case ae:{const R={...ce,request:undefined,path:j.join(ce.descriptionFileRoot,_e),relativePath:_e,query:Ee,fragment:Te};E.doResolve(N,R,"using imports field: "+$,le,q);break}default:{const N={...ce,request:_e,relativePath:_e,fullySpecified:true,query:Ee,fragment:Te};E.doResolve(R,N,"using imports field: "+$,le,q)}}}),((E,N)=>_e(E,N||null)))}))}}},91521:E=>{"use strict";const N="@".charCodeAt(0);E.exports=class JoinRequestPartPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPartPlugin",((j,$,q)=>{const G=j.request||"";let ie=G.indexOf("/",3);if(ie>=0&&G.charCodeAt(2)===N){ie=G.indexOf("/",ie+1)}let ae,ce,le;if(ie<0){ae=G;ce=".";le=false}else{ae=G.slice(0,ie);ce="."+G.slice(ie);le=j.fullySpecified}const _e={...j,path:E.join(j.path,ae),relativePath:j.relativePath&&E.join(j.relativePath,ae),request:ce,fullySpecified:le};E.doResolve(R,_e,null,$,q)}))}}},88277:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((R,j,$)=>{const q={...R,path:E.join(R.path,R.request),relativePath:R.relativePath&&E.join(R.relativePath,R.request),request:undefined};E.doResolve(N,q,null,j,$)}))}}},74934:E=>{"use strict";E.exports=class LogInfoPlugin{constructor(E){this.source=E}apply(E){const N=this.source;E.getHook(this.source).tapAsync("LogInfoPlugin",((E,R,j)=>{if(!R.log)return j();const $=R.log;const q="["+N+"] ";if(E.path)$(q+"Resolving in directory: "+E.path);if(E.request)$(q+"Resolving request: "+E.request);if(E.module)$(q+"Request is an module request.");if(E.directory)$(q+"Request is a directory request.");if(E.query)$(q+"Resolving request query: "+E.query);if(E.fragment)$(q+"Resolving request fragment: "+E.fragment);if(E.descriptionFilePath)$(q+"Has description data from "+E.descriptionFilePath);if(E.relativePath)$(q+"Relative path from description file is: "+E.relativePath);j()}))}}},26713:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=Symbol("alreadyTriedMainField");E.exports=class MainFieldPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((R,G,ie)=>{if(R.path!==R.descriptionFileRoot||R[q]===R.descriptionFilePath||!R.descriptionFilePath)return ie();const ae=j.basename(R.descriptionFilePath);let ce=$.getField(R.descriptionFileData,this.options.name);if(!ce||typeof ce!=="string"||ce==="."||ce==="./"){return ie()}if(this.options.forceRelative&&!/^\.\.?\//.test(ce))ce="./"+ce;const le={...R,request:ce,module:false,directory:ce.endsWith("/"),[q]:R.descriptionFilePath};return E.doResolve(N,le,"use "+ce+" from "+this.options.name+" in "+ae,G,ie)}))}}},76067:(E,N,R)=>{"use strict";const j=R(43556);const $=R(69835);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,N,R){this.source=E;this.directories=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((R,q,G)=>{const ie=E.fileSystem;const ae=$(R.path).paths.map((N=>this.directories.map((R=>E.join(N,R))))).reduce(((E,N)=>{E.push.apply(E,N);return E}),[]);j(ae,((j,$)=>{ie.stat(j,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G={...R,path:j,request:"./"+R.request,module:false};const ie="looking for modules in "+j;return E.doResolve(N,G,ie,q,$)}if(q.log)q.log(j+" doesn't exist or is not a directory");if(q.missingDependencies)q.missingDependencies.add(j);return $()}))}),G)}))}}},22433:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,N,R){this.source=E;this.path=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((R,j,$)=>{const q={...R,path:this.path,request:"./"+R.request,module:false};E.doResolve(N,q,"looking for modules in "+this.path,j,$)}))}}},12276:E=>{"use strict";E.exports=class NextPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((R,j,$)=>{E.doResolve(N,R,null,j,$)}))}}},71121:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,N,R){this.source=E;this.requestOptions=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((R,j,$)=>{const q=E.parse(R.request);const G={...R,...q,...this.requestOptions};if(R.query&&!q.query){G.query=R.query}if(R.fragment&&!q.fragment){G.fragment=R.fragment}if(q&&j.log){if(q.module)j.log("Parsed request is a module");if(q.directory)j.log("Parsed request is a directory")}if(G.request&&!G.query&&G.fragment){const R=G.fragment.endsWith("/");const q={...G,directory:R,request:G.request+(G.directory?"/":"")+(R?G.fragment.slice(0,-1):G.fragment),fragment:""};E.doResolve(N,q,null,j,((R,q)=>{if(R)return $(R);if(q)return $(null,q);E.doResolve(N,G,null,j,$)}));return}E.doResolve(N,G,null,j,$)}))}}},10232:E=>{"use strict";E.exports=class PnpPlugin{constructor(E,N,R){this.source=E;this.pnpApi=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("PnpPlugin",((R,j,$)=>{const q=R.request;if(!q)return $();const G=`${R.path}/`;const ie=/^(@[^/]+\/)?[^/]+/.exec(q);if(!ie)return $();const ae=ie[0];const ce=`.${q.slice(ae.length)}`;let le;let _e;try{le=this.pnpApi.resolveToUnqualified(ae,G,{considerBuiltins:false});if(j.fileDependencies){_e=this.pnpApi.resolveToUnqualified("pnpapi",G,{considerBuiltins:false})}}catch(E){if(E.code==="MODULE_NOT_FOUND"&&E.pnpCode==="UNDECLARED_DEPENDENCY"){if(j.log){j.log(`request is not managed by the pnpapi`);for(const N of E.message.split("\n").filter(Boolean))j.log(` ${N}`)}return $()}return $(E)}if(le===ae)return $();if(_e&&j.fileDependencies){j.fileDependencies.add(_e)}const Ee={...R,path:le,request:ce,ignoreSymlinks:true,fullySpecified:R.fullySpecified&&ce!=="."};E.doResolve(N,Ee,`resolved by pnp to ${le}`,j,((E,N)=>{if(E)return $(E);if(N)return $(null,N);return $(null,null)}))}))}}},33679:(E,N,R)=>{"use strict";const{AsyncSeriesBailHook:j,AsyncSeriesHook:$,SyncHook:q}=R(92960);const G=R(52227);const{parseIdentifier:ie}=R(48366);const{normalize:ae,cachedJoin:ce,getType:le,PathType:_e}=R(67411);function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}class Resolver{static createStackEntry(E,N){return E.name+": ("+N.path+") "+(N.request||"")+(N.query||"")+(N.fragment||"")+(N.directory?" directory":"")+(N.module?" module":"")}constructor(E,N){this.fileSystem=E;this.options=N;this.hooks={resolveStep:new q(["hook","request"],"resolveStep"),noResolve:new q(["request","error"],"noResolve"),resolve:new j(["request","resolveContext"],"resolve"),result:new $(["result","resolveContext"],"result")}}ensureHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){return this.hooks[E]=new j(["request","resolveContext"],E)}return N}getHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){throw new Error(`Hook ${E} doesn't exist`)}return N}resolveSync(E,N,R){let j=undefined;let $=undefined;let q=false;this.resolve(E,N,R,{},((E,N)=>{j=E;$=N;q=true}));if(!q){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(j)throw j;if($===undefined)throw new Error("No result");return $}resolve(E,N,R,j,$){if(!E||typeof E!=="object")return $(new Error("context argument is not an object"));if(typeof N!=="string")return $(new Error("path argument is not a string"));if(typeof R!=="string")return $(new Error("path argument is not a string"));if(!j)return $(new Error("resolveContext argument is not set"));const q={context:E,path:N,request:R};const G=`resolve '${R}' in '${N}'`;const finishResolved=E=>$(null,E.path===false?false:`${E.path.replace(/#/g,"\0#")}${E.query?E.query.replace(/#/g,"\0#"):""}${E.fragment||""}`,E);const finishWithoutResolve=E=>{const N=new Error("Can't "+G);N.details=E.join("\n");this.hooks.noResolve.call(q,N);return $(N)};if(j.log){const E=j.log;const N=[];return this.doResolve(this.hooks.resolve,q,G,{log:R=>{E(R);N.push(R)},fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:j.stack},((E,R)=>{if(E)return $(E);if(R)return finishResolved(R);return finishWithoutResolve(N)}))}else{return this.doResolve(this.hooks.resolve,q,G,{log:undefined,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:j.stack},((E,N)=>{if(E)return $(E);if(N)return finishResolved(N);const R=[];return this.doResolve(this.hooks.resolve,q,G,{log:E=>R.push(E),stack:j.stack},((E,N)=>{if(E)return $(E);return finishWithoutResolve(R)}))}))}}doResolve(E,N,R,j,$){const q=Resolver.createStackEntry(E,N);let ie;if(j.stack){ie=new Set(j.stack);if(j.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(ie).join("\n "));E.recursion=true;if(j.log)j.log("abort resolving because of recursion");return $(E)}ie.add(q)}else{ie=new Set([q])}this.hooks.resolveStep.call(E,N);if(E.isUsed()){const q=G({log:j.log,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:ie},R);return E.callAsync(N,q,((E,N)=>{if(E)return $(E);if(N)return $(null,N);$()}))}else{$()}}parse(E){const N={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const R=ie(E);if(!R)return N;[N.request,N.query,N.fragment]=R;if(N.request.length>0){N.internal=this.isPrivate(E);N.module=this.isModule(N.request);N.directory=this.isDirectory(N.request);if(N.directory){N.request=N.request.substr(0,N.request.length-1)}}return N}isModule(E){return le(E)===_e.Normal}isPrivate(E){return le(E)===_e.Internal}isDirectory(E){return E.endsWith("/")}join(E,N){return ce(E,N)}normalize(E){return ae(E)}}E.exports=Resolver},57934:(E,N,R)=>{"use strict";const j=R(77282).versions;const $=R(33679);const{getType:q,PathType:G}=R(67411);const ie=R(64407);const ae=R(57235);const ce=R(22002);const le=R(40803);const _e=R(61770);const Ee=R(65943);const Te=R(32575);const we=R(5109);const Ie=R(87876);const Ne=R(1825);const Me=R(91521);const Le=R(88277);const Be=R(26713);const je=R(76067);const Ue=R(22433);const ze=R(12276);const We=R(71121);const Je=R(10232);const Ve=R(77398);const qe=R(46182);const He=R(89609);const Ge=R(68285);const Ke=R(44362);const Qe=R(68029);const Xe=R(62216);const Ye=R(55187);function processPnpApiOption(E){if(E===undefined&&j.pnp){return R(35125)}return E||null}function normalizeAlias(E){return typeof E==="object"&&!Array.isArray(E)&&E!==null?Object.keys(E).map((N=>{const R={name:N,onlyModule:false,alias:E[N]};if(/\$$/.test(N)){R.onlyModule=true;R.name=N.substr(0,N.length-1)}return R})):E||[]}function createOptions(E){const N=new Set(E.mainFields||["main"]);const R=[];for(const E of N){if(typeof E==="string"){R.push({name:[E],forceRelative:true})}else if(Array.isArray(E)){R.push({name:E,forceRelative:true})}else{R.push({name:Array.isArray(E.name)?E.name:[E.name],forceRelative:E.forceRelative})}}return{alias:normalizeAlias(E.alias),fallback:normalizeAlias(E.fallback),aliasFields:new Set(E.aliasFields),cachePredicate:E.cachePredicate||function(){return true},cacheWithContext:typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true,exportsFields:new Set(E.exportsFields||["exports"]),importsFields:new Set(E.importsFields||["imports"]),conditionNames:new Set(E.conditionNames),descriptionFiles:Array.from(new Set(E.descriptionFiles||["package.json"])),enforceExtension:E.enforceExtension===undefined?E.extensions&&E.extensions.includes("")?true:false:E.enforceExtension,extensions:new Set(E.extensions||[".js",".json",".node"]),fileSystem:E.useSyncFileSystemCalls?new ie(E.fileSystem):E.fileSystem,unsafeCache:E.unsafeCache&&typeof E.unsafeCache!=="object"?{}:E.unsafeCache||false,symlinks:typeof E.symlinks!=="undefined"?E.symlinks:true,resolver:E.resolver,modules:mergeFilteredToArray(Array.isArray(E.modules)?E.modules:E.modules?[E.modules]:["node_modules"],(E=>{const N=q(E);return N===G.Normal||N===G.Relative})),mainFields:R,mainFiles:new Set(E.mainFiles||["index"]),plugins:E.plugins||[],pnpApi:processPnpApiOption(E.pnpApi),roots:new Set(E.roots||undefined),fullySpecified:E.fullySpecified||false,resolveToContext:E.resolveToContext||false,preferRelative:E.preferRelative||false,preferAbsolute:E.preferAbsolute||false,restrictions:new Set(E.restrictions)}}N.createResolver=function(E){const N=createOptions(E);const{alias:R,fallback:j,aliasFields:q,cachePredicate:G,cacheWithContext:ie,conditionNames:Ze,descriptionFiles:et,enforceExtension:tt,exportsFields:rt,importsFields:nt,extensions:it,fileSystem:ot,fullySpecified:st,mainFields:ct,mainFiles:ut,modules:dt,plugins:pt,pnpApi:ft,resolveToContext:mt,preferRelative:ht,preferAbsolute:_t,symlinks:yt,unsafeCache:vt,resolver:bt,restrictions:xt,roots:St}=N;const Et=pt.slice();const Tt=bt?bt:new $(ot,N);Tt.ensureHook("resolve");Tt.ensureHook("internalResolve");Tt.ensureHook("newInteralResolve");Tt.ensureHook("parsedResolve");Tt.ensureHook("describedResolve");Tt.ensureHook("internal");Tt.ensureHook("rawModule");Tt.ensureHook("module");Tt.ensureHook("resolveAsModule");Tt.ensureHook("undescribedResolveInPackage");Tt.ensureHook("resolveInPackage");Tt.ensureHook("resolveInExistingDirectory");Tt.ensureHook("relative");Tt.ensureHook("describedRelative");Tt.ensureHook("directory");Tt.ensureHook("undescribedExistingDirectory");Tt.ensureHook("existingDirectory");Tt.ensureHook("undescribedRawFile");Tt.ensureHook("rawFile");Tt.ensureHook("file");Tt.ensureHook("finalFile");Tt.ensureHook("existingFile");Tt.ensureHook("resolved");for(const{source:E,resolveOptions:N}of[{source:"resolve",resolveOptions:{fullySpecified:st}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(vt){Et.push(new Xe(E,G,vt,ie,`new-${E}`));Et.push(new We(`new-${E}`,N,"parsed-resolve"))}else{Et.push(new We(E,N,"parsed-resolve"))}}Et.push(new Ee("parsed-resolve",et,false,"described-resolve"));Et.push(new ze("after-parsed-resolve","described-resolve"));Et.push(new ze("described-resolve","normal-resolve"));if(j.length>0){Et.push(new ce("described-resolve",j,"internal-resolve"))}if(R.length>0)Et.push(new ce("normal-resolve",R,"internal-resolve"));q.forEach((E=>{Et.push(new ae("normal-resolve",E,"internal-resolve"))}));if(ht){Et.push(new Le("after-normal-resolve","relative"))}Et.push(new _e("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Et.push(new _e("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(_t){Et.push(new Le("after-normal-resolve","relative"))}if(St.size>0){Et.push(new He("after-normal-resolve",St,"relative"))}if(!ht&&!_t){Et.push(new Le("after-normal-resolve","relative"))}nt.forEach((E=>{Et.push(new Ne("internal",Ze,E,"relative","internal-resolve"))}));rt.forEach((E=>{Et.push(new Ge("raw-module",E,"resolve-as-module"))}));dt.forEach((E=>{if(Array.isArray(E)){if(E.includes("node_modules")&&ft){Et.push(new je("raw-module",E.filter((E=>E!=="node_modules")),"module"));Et.push(new Je("raw-module",ft,"undescribed-resolve-in-package"))}else{Et.push(new je("raw-module",E,"module"))}}else{Et.push(new Ue("raw-module",E,"module"))}}));Et.push(new Me("module","resolve-as-module"));if(!mt){Et.push(new _e("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Et.push(new Te("resolve-as-module","undescribed-resolve-in-package"));Et.push(new Ee("undescribed-resolve-in-package",et,false,"resolve-in-package"));Et.push(new ze("after-undescribed-resolve-in-package","resolve-in-package"));rt.forEach((E=>{Et.push(new we("resolve-in-package",Ze,E,"relative"))}));Et.push(new ze("resolve-in-package","resolve-in-existing-directory"));Et.push(new Le("resolve-in-existing-directory","relative"));Et.push(new Ee("relative",et,true,"described-relative"));Et.push(new ze("after-relative","described-relative"));if(mt){Et.push(new ze("described-relative","directory"))}else{Et.push(new _e("described-relative",{directory:false},null,true,"raw-file"));Et.push(new _e("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Et.push(new Te("directory","undescribed-existing-directory"));if(mt){Et.push(new ze("undescribed-existing-directory","resolved"))}else{Et.push(new Ee("undescribed-existing-directory",et,false,"existing-directory"));ut.forEach((E=>{Et.push(new Ye("undescribed-existing-directory",E,"undescribed-raw-file"))}));ct.forEach((E=>{Et.push(new Be("existing-directory",E,"resolve-in-existing-directory"))}));ut.forEach((E=>{Et.push(new Ye("existing-directory",E,"undescribed-raw-file"))}));Et.push(new Ee("undescribed-raw-file",et,true,"raw-file"));Et.push(new ze("after-undescribed-raw-file","raw-file"));Et.push(new _e("raw-file",{fullySpecified:true},null,false,"file"));if(!tt){Et.push(new Qe("raw-file","no extension","file"))}it.forEach((E=>{Et.push(new le("raw-file",E,"file"))}));if(R.length>0)Et.push(new ce("file",R,"internal-resolve"));q.forEach((E=>{Et.push(new ae("file",E,"internal-resolve"))}));Et.push(new ze("file","final-file"));Et.push(new Ie("final-file","existing-file"));if(yt)Et.push(new Ke("existing-file","existing-file"));Et.push(new ze("existing-file","resolved"))}if(xt.size>0){Et.push(new Ve(Tt.hooks.resolved,xt))}Et.push(new qe(Tt.hooks.resolved));for(const E of Et){if(typeof E==="function"){E.call(Tt,Tt)}else{E.apply(Tt)}}return Tt};function mergeFilteredToArray(E,N){const R=[];const j=new Set(E);for(const E of j){if(N(E)){const N=R.length>0?R[R.length-1]:undefined;if(Array.isArray(N)){N.push(E)}else{R.push([E])}}else{R.push(E)}}return R}},77398:E=>{"use strict";const N="/".charCodeAt(0);const R="\\".charCodeAt(0);const isInside=(E,j)=>{if(!E.startsWith(j))return false;if(E.length===j.length)return true;const $=E.charCodeAt(j.length);return $===N||$===R};E.exports=class RestrictionsPlugin{constructor(E,N){this.source=E;this.restrictions=N}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,N,R)=>{if(typeof E.path==="string"){const j=E.path;for(const E of this.restrictions){if(typeof E==="string"){if(!isInside(j,E)){if(N.log){N.log(`${j} is not inside of the restriction ${E}`)}return R(null,null)}}else if(!E.test(j)){if(N.log){N.log(`${j} doesn't match the restriction ${E}`)}return R(null,null)}}}R()}))}}},46182:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((N,R,j)=>{const $={...N};if(R.log)R.log("reporting result "+$.path);E.hooks.result.callAsync($,R,(E=>{if(E)return j(E);j(null,$)}))}))}}},89609:(E,N,R)=>{"use strict";const j=R(43556);class RootsPlugin{constructor(E,N,R){this.roots=Array.from(N);this.source=E;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootsPlugin",((R,$,q)=>{const G=R.request;if(!G)return q();if(!G.startsWith("/"))return q();j(this.roots,((j,q)=>{const ie=E.join(j,G.slice(1));const ae={...R,path:ie,relativePath:R.relativePath&&ie};E.doResolve(N,ae,`root path ${j}`,$,q)}),q)}))}}E.exports=RootsPlugin},68285:(E,N,R)=>{"use strict";const j=R(83881);const $="/".charCodeAt(0);E.exports=class SelfReferencePlugin{constructor(E,N,R){this.source=E;this.target=R;this.fieldName=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("SelfReferencePlugin",((R,q,G)=>{if(!R.descriptionFilePath)return G();const ie=R.request;if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.fieldName);if(!ae)return G();const ce=j.getField(R.descriptionFileData,"name");if(typeof ce!=="string")return G();if(ie.startsWith(ce)&&(ie.length===ce.length||ie.charCodeAt(ce.length)===$)){const j=`.${ie.slice(ce.length)}`;const $={...R,request:j,path:R.descriptionFileRoot,relativePath:"."};E.doResolve(N,$,"self reference",q,G)}else{return G()}}))}}},44362:(E,N,R)=>{"use strict";const j=R(43556);const $=R(69835);const{getType:q,PathType:G}=R(67411);E.exports=class SymlinkPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((ie,ae,ce)=>{if(ie.ignoreSymlinks)return ce();const le=$(ie.path);const _e=le.seqments;const Ee=le.paths;let Te=false;let we=-1;j(Ee,((E,N)=>{we++;if(ae.fileDependencies)ae.fileDependencies.add(E);R.readlink(E,((E,R)=>{if(!E&&R){_e[we]=R;Te=true;const E=q(R.toString());if(E===G.AbsoluteWin||E===G.AbsolutePosix){return N(null,we)}}N()}))}),((R,j)=>{if(!Te)return ce();const $=typeof j==="number"?_e.slice(0,j+1):_e.slice();const q=$.reduceRight(((N,R)=>E.join(N,R)));const G={...ie,path:q};E.doResolve(N,G,"resolved symlink to "+q,ae,ce)}))}))}}},64407:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;this.lstat=undefined;this.lstatSync=undefined;const N=E.lstatSync;if(N){this.lstat=(R,j,$)=>{let q;try{q=N.call(E,R)}catch(E){return($||j)(E)}($||j)(null,q)};this.lstatSync=(R,j)=>N.call(E,R,j)}this.stat=(N,R,j)=>{let $;try{$=j?E.statSync(N,R):E.statSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.statSync=(N,R)=>E.statSync(N,R);this.readdir=(N,R,j)=>{let $;try{$=E.readdirSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readdirSync=(N,R)=>E.readdirSync(N,R);this.readFile=(N,R,j)=>{let $;try{$=E.readFileSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readFileSync=(N,R)=>E.readFileSync(N,R);this.readlink=(N,R,j)=>{let $;try{$=E.readlinkSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readlinkSync=(N,R)=>E.readlinkSync(N,R);this.readJson=undefined;this.readJsonSync=undefined;const R=E.readJsonSync;if(R){this.readJson=(N,j,$)=>{let q;try{q=R.call(E,N)}catch(E){return($||j)(E)}($||j)(null,q)};this.readJsonSync=(N,j)=>R.call(E,N,j)}}E.exports=SyncAsyncFileSystemDecorator},68029:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,N,R){this.source=E;this.message=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((R,j,$)=>{E.doResolve(N,R,this.message,j,$)}))}}},62216:E=>{"use strict";function getCacheId(E,N){return JSON.stringify({context:N?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,N,R,j,$){this.source=E;this.filterPredicate=N;this.withContext=j;this.cache=R;this.target=$}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((R,j,$)=>{if(!this.filterPredicate(R))return $();const q=getCacheId(R,this.withContext);const G=this.cache[q];if(G){return $(null,G)}E.doResolve(N,R,null,j,((E,N)=>{if(E)return $(E);if(N)return $(null,this.cache[q]=N);$()}))}))}}},55187:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,N,R){this.source=E;this.filename=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((R,j,$)=>{const q=E.join(R.path,this.filename);const G={...R,path:q,relativePath:R.relativePath&&E.join(R.relativePath,this.filename)};E.doResolve(N,G,"using path: "+q,j,$)}))}}},52227:E=>{"use strict";E.exports=function createInnerContext(E,N,R){let j=false;let $=undefined;if(E.log){if(N){$=R=>{if(!j){E.log(N);j=true}E.log(" "+R)}}else{$=E.log}}const q={log:$,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return q}},43556:E=>{"use strict";E.exports=function forEachBail(E,N,R){if(E.length===0)return R();let j=0;const next=()=>{let $=undefined;N(E[j++],((N,q)=>{if(N||q!==undefined||j>=E.length){return R(N,q)}if($===false)while(next());$=true}));if(!$)$=false;return $};while(next());}},22471:E=>{"use strict";E.exports=function getInnerRequest(E,N){if(typeof N.__innerRequest==="string"&&N.__innerRequest_request===N.request&&N.__innerRequest_relativePath===N.relativePath)return N.__innerRequest;let R;if(N.request){R=N.request;if(/^\.\.?(?:\/|$)/.test(R)&&N.relativePath){R=E.join(N.relativePath,R)}}else{R=N.relativePath}N.__innerRequest_request=N.request;N.__innerRequest_relativePath=N.relativePath;return N.__innerRequest=R}},69835:E=>{"use strict";E.exports=function getPaths(E){const N=E.split(/(.*?[\\/]+)/);const R=[E];const j=[N[N.length-1]];let $=N[N.length-1];E=E.substr(0,E.length-$.length-1);for(let q=N.length-2;q>2;q-=2){R.push(E);$=N[q];E=E.substr(0,E.length-$.length)||"/";j.push($.substr(0,$.length-1))}$=N[1];j.push($);R.push($);return{paths:R,seqments:j}};E.exports.basename=function basename(E){const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N<R?R:N;if(j<0)return null;const $=E.substr(j+1);return $}},17583:(E,N,R)=>{"use strict";const j=R(15808);const $=R(67703);const q=R(57934);const G=new $(j,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:G});function resolve(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}ae.resolve(E,N,R,j,$)}const ce=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});function resolveSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return ce.resolveSync(E,N,R)}function create(E){E={fileSystem:G,...E};const N=q.createResolver(E);return function(E,R,j,$,q){if(typeof E==="string"){q=$;$=j;j=R;R=E;E=ie}if(typeof q!=="function"){q=$}N.resolve(E,R,j,$,q)}}function createSync(E){E={useSyncFileSystemCalls:true,fileSystem:G,...E};const N=q.createResolver(E);return function(E,R,j){if(typeof E==="string"){j=R;R=E;E=ie}return N.resolveSync(E,R,j)}}const mergeExports=(E,N)=>{const R=Object.getOwnPropertyDescriptors(N);Object.defineProperties(E,R);return Object.freeze(E)};E.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:q,CachedInputFileSystem:$,get CloneBasenamePlugin(){return R(94511)},get LogInfoPlugin(){return R(74934)},get forEachBail(){return R(43556)}})},4077:E=>{"use strict";const N="/".charCodeAt(0);const R=".".charCodeAt(0);const j="#".charCodeAt(0);E.exports.processExportsField=function processExportsField(E){return createFieldProcessor(buildExportsFieldPathTree(E),assertExportsFieldRequest,assertExportTarget)};E.exports.processImportsField=function processImportsField(E){return createFieldProcessor(buildImportsFieldPathTree(E),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(E,N,R){return function fieldProcessor(j,$){j=N(j);const q=findMatch(j,E);if(q===null)return[];const[G,ie]=q;let ae=null;if(isConditionalMapping(G)){ae=conditionalMapping(G,$);if(ae===null)return[]}else{ae=G}const ce=ie===j.length+1?undefined:ie<0?j.slice(-ie-1):j.slice(ie);return directMapping(ce,ie<0,ae,$,R)}}function assertExportsFieldRequest(E){if(E.charCodeAt(0)!==R){throw new Error('Request should be relative path and start with "."')}if(E.length===1)return"";if(E.charCodeAt(1)!==N){throw new Error('Request should be relative path and start with "./"')}if(E.charCodeAt(E.length-1)===N){throw new Error("Only requesting file allowed")}return E.slice(2)}function assertImportsFieldRequest(E){if(E.charCodeAt(0)!==j){throw new Error('Request should start with "#"')}if(E.length===1){throw new Error("Request should have at least 2 characters")}if(E.charCodeAt(1)===N){throw new Error('Request should not start with "#/"')}if(E.charCodeAt(E.length-1)===N){throw new Error("Only requesting file allowed")}return E.slice(1)}function assertExportTarget(E,j){if(E.charCodeAt(0)===N||E.charCodeAt(0)===R&&E.charCodeAt(1)!==N){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(E)}.`)}const $=E.charCodeAt(E.length-1)===N;if($!==j){throw new Error(j?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function assertImportTarget(E,R){const j=E.charCodeAt(E.length-1)===N;if(j!==R){throw new Error(R?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function findMatch(E,N){if(E.length===0){const E=N.files.get("");return E?[E,1]:null}if(N.children===null&&N.folder===null&&N.wildcards===null){const R=N.files.get(E);return R?[R,E.length+1]:null}let R=N;let j=0;let $=E.indexOf("/",0);let q=null;const applyFolderMapping=()=>{const E=R.folder;if(E){if(q){q[0]=E;q[1]=-j-1}else{q=[E,-j-1]}}};const applyWildcardMappings=(E,N)=>{if(E){for(const[R,$]of E){if(N.startsWith(R)){if(!q){q=[$,j+R.length]}else if(q[1]<j+R.length){q[0]=$;q[1]=j+R.length}}}}};while($!==-1){applyFolderMapping();const N=R.wildcards;if(!N&&R.children===null)return q;const G=E.slice(j,$);applyWildcardMappings(N,G);if(R.children===null)return q;const ie=R.children.get(G);if(!ie){return q}R=ie;j=$+1;$=E.indexOf("/",j)}const G=j>0?E.slice(j):E;const ie=R.files.get(G);if(ie){return[ie,E.length+1]}applyFolderMapping();applyWildcardMappings(R.wildcards,G);return q}function isConditionalMapping(E){return E!==null&&typeof E==="object"&&!Array.isArray(E)}function directMapping(E,N,R,j,$){if(R===null)return[];if(typeof R==="string"){return[targetMapping(E,N,R,$)]}const q=[];for(const G of R){if(typeof G==="string"){q.push(targetMapping(E,N,G,$));continue}const R=conditionalMapping(G,j);if(!R)continue;const ie=directMapping(E,N,R,j,$);for(const E of ie){q.push(E)}}return q}function targetMapping(E,N,R,j){if(E===undefined){j(R,false);return R}if(N){j(R,true);return R+E}j(R,false);return R.replace(/\*/g,E.replace(/\$/g,"$$"))}function conditionalMapping(E,N){let R=[[E,Object.keys(E),0]];e:while(R.length>0){const[E,j,$]=R[R.length-1];const q=j.length-1;for(let G=$;G<j.length;G++){const $=j[G];if(G!==q){if($==="default"){throw new Error("Default condition should be last one")}}else if($==="default"){const N=E[$];if(isConditionalMapping(N)){const E=N;R[R.length-1][2]=G+1;R.push([E,Object.keys(E),0]);continue e}return N}if(N.has($)){const N=E[$];if(isConditionalMapping(N)){const E=N;R[R.length-1][2]=G+1;R.push([E,Object.keys(E),0]);continue e}return N}}R.pop()}return null}function createNode(){return{children:null,folder:null,wildcards:null,files:new Map}}function walkPath(E,N,R){if(N.length===0){E.folder=R;return}let j=E;let $=0;let q=N.indexOf("/",0);while(q!==-1){const E=N.slice($,q);let R;if(j.children===null){R=createNode();j.children=new Map;j.children.set(E,R)}else{R=j.children.get(E);if(!R){R=createNode();j.children.set(E,R)}}j=R;$=q+1;q=N.indexOf("/",$)}if($>=N.length){j.folder=R}else{const E=$>0?N.slice($):N;if(E.endsWith("*")){if(j.wildcards===null)j.wildcards=new Map;j.wildcards.set(E.slice(0,-1),R)}else{j.files.set(E,R)}}}function buildExportsFieldPathTree(E){const j=createNode();if(typeof E==="string"){j.files.set("",E);return j}else if(Array.isArray(E)){j.files.set("",E.slice());return j}const $=Object.keys(E);for(let q=0;q<$.length;q++){const G=$[q];if(G.charCodeAt(0)!==R){if(q===0){while(q<$.length){const E=$[q].charCodeAt(0);if(E===R||E===N){throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(G)})`)}q++}j.files.set("",E);return j}throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(G)})`)}if(G.length===1){j.files.set("",E[G]);continue}if(G.charCodeAt(1)!==N){throw new Error(`Exports field key should be relative path and start with "./" (key: ${JSON.stringify(G)})`)}walkPath(j,G.slice(2),E[G])}return j}function buildImportsFieldPathTree(E){const R=createNode();const $=Object.keys(E);for(let q=0;q<$.length;q++){const G=$[q];if(G.charCodeAt(0)!==j){throw new Error(`Imports field key should start with "#" (key: ${JSON.stringify(G)})`)}if(G.length===1){throw new Error(`Imports field key should have at least 2 characters (key: ${JSON.stringify(G)})`)}if(G.charCodeAt(1)===N){throw new Error(`Imports field key should not start with "#/" (key: ${JSON.stringify(G)})`)}walkPath(R,G.slice(1),E[G])}return R}},48366:E=>{"use strict";const N=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(E){const R=N.exec(E);if(!R)return null;return[R[1].replace(/\0(.)/g,"$1"),R[2]?R[2].replace(/\0(.)/g,"$1"):"",R[3]||""]}E.exports.parseIdentifier=parseIdentifier},67411:(E,N,R)=>{"use strict";const j=R(71017);const $="#".charCodeAt(0);const q="/".charCodeAt(0);const G="\\".charCodeAt(0);const ie="A".charCodeAt(0);const ae="Z".charCodeAt(0);const ce="a".charCodeAt(0);const le="z".charCodeAt(0);const _e=".".charCodeAt(0);const Ee=":".charCodeAt(0);const Te=j.posix.normalize;const we=j.win32.normalize;const Ie=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});N.PathType=Ie;const getType=E=>{switch(E.length){case 0:return Ie.Empty;case 1:{const N=E.charCodeAt(0);switch(N){case _e:return Ie.Relative;case q:return Ie.AbsolutePosix;case $:return Ie.Internal}return Ie.Normal}case 2:{const N=E.charCodeAt(0);switch(N){case _e:{const N=E.charCodeAt(1);switch(N){case _e:case q:return Ie.Relative}return Ie.Normal}case q:return Ie.AbsolutePosix;case $:return Ie.Internal}const R=E.charCodeAt(1);if(R===Ee){if(N>=ie&&N<=ae||N>=ce&&N<=le){return Ie.AbsoluteWin}}return Ie.Normal}}const N=E.charCodeAt(0);switch(N){case _e:{const N=E.charCodeAt(1);switch(N){case q:return Ie.Relative;case _e:{const N=E.charCodeAt(2);if(N===q)return Ie.Relative;return Ie.Normal}}return Ie.Normal}case q:return Ie.AbsolutePosix;case $:return Ie.Internal}const R=E.charCodeAt(1);if(R===Ee){const R=E.charCodeAt(2);if((R===G||R===q)&&(N>=ie&&N<=ae||N>=ce&&N<=le)){return Ie.AbsoluteWin}}return Ie.Normal};N.getType=getType;const normalize=E=>{switch(getType(E)){case Ie.Empty:return E;case Ie.AbsoluteWin:return we(E);case Ie.Relative:{const N=Te(E);return getType(N)===Ie.Relative?N:`./${N}`}}return Te(E)};N.normalize=normalize;const join=(E,N)=>{if(!N)return normalize(E);const R=getType(N);switch(R){case Ie.AbsolutePosix:return Te(N);case Ie.AbsoluteWin:return we(N)}switch(getType(E)){case Ie.Normal:case Ie.Relative:case Ie.AbsolutePosix:return Te(`${E}/${N}`);case Ie.AbsoluteWin:return we(`${E}\\${N}`)}switch(R){case Ie.Empty:return E;case Ie.Relative:{const N=Te(E);return getType(N)===Ie.Relative?N:`./${N}`}}return Te(E)};N.join=join;const Ne=new Map;const cachedJoin=(E,N)=>{let R;let j=Ne.get(E);if(j===undefined){Ne.set(E,j=new Map)}else{R=j.get(N);if(R!==undefined)return R}R=join(E,N);j.set(N,R);return R};N.cachedJoin=cachedJoin;const checkExportsFieldTarget=E=>{let N=2;let R=E.indexOf("/",2);let j=0;while(R!==-1){const $=E.slice(N,R);switch($){case"..":{j--;if(j<0)return new Error(`Trying to access out of package scope. Requesting ${E}`);break}default:j++;break}N=R+1;R=E.indexOf("/",N)}};N.checkExportsFieldTarget=checkExportsFieldTarget},16950:(E,N,R)=>{"use strict";const j=R(78120);class Definition{constructor(E,N,R,j,$,q){this.type=E;this.name=N;this.node=R;this.parent=j;this.index=$;this.kind=q}}class ParameterDefinition extends Definition{constructor(E,N,R,$){super(j.Parameter,E,N,null,R,null);this.rest=$}}E.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(E,N,R)=>{"use strict";const j=R(39491);const $=R(60018);const q=R(36337);const G=R(24552);const ie=R(78120);const ae=R(98699).Scope;const ce=R(83196).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(E,N){function isHashObject(E){return typeof E==="object"&&E instanceof Object&&!(E instanceof Array)&&!(E instanceof RegExp)}for(const R in N){if(Object.prototype.hasOwnProperty.call(N,R)){const j=N[R];if(isHashObject(j)){if(isHashObject(E[R])){updateDeeply(E[R],j)}else{E[R]=updateDeeply({},j)}}else{E[R]=j}}}return E}function analyze(E,N){const R=updateDeeply(defaultOptions(),N);const G=new $(R);const ie=new q(R,G);ie.visit(E);j(G.__currentScope===null,"currentScope should be null.");return G}E.exports={version:ce,Reference:G,Variable:ie,Scope:ae,ScopeManager:$,analyze:analyze}},29630:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(49112);function getLast(E){return E[E.length-1]||null}class PatternVisitor extends $.Visitor{static isPattern(E){const N=E.type;return N===j.Identifier||N===j.ObjectPattern||N===j.ArrayPattern||N===j.SpreadElement||N===j.RestElement||N===j.AssignmentPattern}constructor(E,N,R){super(null,E);this.rootPattern=N;this.callback=R;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(E){const N=getLast(this.restElements);this.callback(E,{topLevel:E===this.rootPattern,rest:N!==null&&N!==undefined&&N.argument===E,assignments:this.assignments})}Property(E){if(E.computed){this.rightHandNodes.push(E.key)}this.visit(E.value)}ArrayPattern(E){for(let N=0,R=E.elements.length;N<R;++N){const R=E.elements[N];this.visit(R)}}AssignmentPattern(E){this.assignments.push(E);this.visit(E.left);this.rightHandNodes.push(E.right);this.assignments.pop()}RestElement(E){this.restElements.push(E);this.visit(E.argument);this.restElements.pop()}MemberExpression(E){if(E.computed){this.rightHandNodes.push(E.property)}this.rightHandNodes.push(E.object)}SpreadElement(E){this.visit(E.argument)}ArrayExpression(E){E.elements.forEach(this.visit,this)}AssignmentExpression(E){this.assignments.push(E);this.visit(E.left);this.rightHandNodes.push(E.right);this.assignments.pop()}CallExpression(E){E.arguments.forEach((E=>{this.rightHandNodes.push(E)}));this.visit(E.callee)}}E.exports=PatternVisitor},24552:E=>{"use strict";const N=1;const R=2;const j=N|R;class Reference{constructor(E,N,R,j,$,q,G){this.identifier=E;this.from=N;this.tainted=false;this.resolved=null;this.flag=R;if(this.isWrite()){this.writeExpr=j;this.partial=q;this.init=G}this.__maybeImplicitGlobal=$}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=N;Reference.WRITE=R;Reference.RW=j;E.exports=Reference},36337:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(49112);const q=R(24552);const G=R(78120);const ie=R(29630);const ae=R(16950);const ce=R(39491);const le=ae.ParameterDefinition;const _e=ae.Definition;function traverseIdentifierInPattern(E,N,R,j){const $=new ie(E,N,j);$.visit(N);if(R!==null&&R!==undefined){$.rightHandNodes.forEach(R.visit,R)}}class Importer extends $.Visitor{constructor(E,N){super(null,N.options);this.declaration=E;this.referencer=N}visitImport(E,N){this.referencer.visitPattern(E,(E=>{this.referencer.currentScope().__define(E,new _e(G.ImportBinding,E,N,this.declaration,null,null))}))}ImportNamespaceSpecifier(E){const N=E.local||E.id;if(N){this.visitImport(N,E)}}ImportDefaultSpecifier(E){const N=E.local||E.id;this.visitImport(N,E)}ImportSpecifier(E){const N=E.local||E.id;if(E.name){this.visitImport(E.name,E)}else{this.visitImport(N,E)}}}class Referencer extends $.Visitor{constructor(E,N){super(null,E);this.options=E;this.scopeManager=N;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(E){while(this.currentScope()&&E===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(E){const N=this.isInnerMethodDefinition;this.isInnerMethodDefinition=E;return N}popInnerMethodDefinition(E){this.isInnerMethodDefinition=E}referencingDefaultValue(E,N,R,j){const $=this.currentScope();N.forEach((N=>{$.__referencing(E,q.WRITE,N.right,R,E!==N.left,j)}))}visitPattern(E,N,R){let j=N;let $=R;if(typeof N==="function"){$=N;j={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,E,j.processRightHandNodes?this:null,$)}visitFunction(E){let N,R;if(E.type===j.FunctionDeclaration){this.currentScope().__define(E.id,new _e(G.FunctionName,E.id,E,null,null,null))}if(E.type===j.FunctionExpression&&E.id){this.scopeManager.__nestFunctionExpressionNameScope(E)}this.scopeManager.__nestFunctionScope(E,this.isInnerMethodDefinition);const $=this;function visitPatternCallback(R,j){$.currentScope().__define(R,new le(R,E,N,j.rest));$.referencingDefaultValue(R,j.assignments,null,true)}for(N=0,R=E.params.length;N<R;++N){this.visitPattern(E.params[N],{processRightHandNodes:true},visitPatternCallback)}if(E.rest){this.visitPattern({type:"RestElement",argument:E.rest},(N=>{this.currentScope().__define(N,new le(N,E,E.params.length,true))}))}if(E.body){if(E.body.type===j.BlockStatement){this.visitChildren(E.body)}else{this.visit(E.body)}}this.close(E)}visitClass(E){if(E.type===j.ClassDeclaration){this.currentScope().__define(E.id,new _e(G.ClassName,E.id,E,null,null,null))}this.visit(E.superClass);this.scopeManager.__nestClassScope(E);if(E.id){this.currentScope().__define(E.id,new _e(G.ClassName,E.id,E))}this.visit(E.body);this.close(E)}visitProperty(E){let N;if(E.computed){this.visit(E.key)}const R=E.type===j.MethodDefinition;if(R){N=this.pushInnerMethodDefinition(true)}this.visit(E.value);if(R){this.popInnerMethodDefinition(N)}}visitForIn(E){if(E.left.type===j.VariableDeclaration&&E.left.kind!=="var"){this.scopeManager.__nestForScope(E)}if(E.left.type===j.VariableDeclaration){this.visit(E.left);this.visitPattern(E.left.declarations[0].id,(N=>{this.currentScope().__referencing(N,q.WRITE,E.right,null,true,true)}))}else{this.visitPattern(E.left,{processRightHandNodes:true},((N,R)=>{let j=null;if(!this.currentScope().isStrict){j={pattern:N,node:E}}this.referencingDefaultValue(N,R.assignments,j,false);this.currentScope().__referencing(N,q.WRITE,E.right,j,true,false)}))}this.visit(E.right);this.visit(E.body);this.close(E)}visitVariableDeclaration(E,N,R,j){const $=R.declarations[j];const G=$.init;this.visitPattern($.id,{processRightHandNodes:true},((ie,ae)=>{E.__define(ie,new _e(N,ie,$,R,j,R.kind));this.referencingDefaultValue(ie,ae.assignments,null,true);if(G){this.currentScope().__referencing(ie,q.WRITE,G,null,!ae.topLevel,true)}}))}AssignmentExpression(E){if(ie.isPattern(E.left)){if(E.operator==="="){this.visitPattern(E.left,{processRightHandNodes:true},((N,R)=>{let j=null;if(!this.currentScope().isStrict){j={pattern:N,node:E}}this.referencingDefaultValue(N,R.assignments,j,false);this.currentScope().__referencing(N,q.WRITE,E.right,j,!R.topLevel,false)}))}else{this.currentScope().__referencing(E.left,q.RW,E.right)}}else{this.visit(E.left)}this.visit(E.right)}CatchClause(E){this.scopeManager.__nestCatchScope(E);this.visitPattern(E.param,{processRightHandNodes:true},((N,R)=>{this.currentScope().__define(N,new _e(G.CatchClause,E.param,E,null,null,null));this.referencingDefaultValue(N,R.assignments,null,true)}));this.visit(E.body);this.close(E)}Program(E){this.scopeManager.__nestGlobalScope(E);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(E,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(E)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(E);this.close(E)}Identifier(E){this.currentScope().__referencing(E)}UpdateExpression(E){if(ie.isPattern(E.argument)){this.currentScope().__referencing(E.argument,q.RW,null)}else{this.visitChildren(E)}}MemberExpression(E){this.visit(E.object);if(E.computed){this.visit(E.property)}}Property(E){this.visitProperty(E)}MethodDefinition(E){this.visitProperty(E)}BreakStatement(){}ContinueStatement(){}LabeledStatement(E){this.visit(E.body)}ForStatement(E){if(E.init&&E.init.type===j.VariableDeclaration&&E.init.kind!=="var"){this.scopeManager.__nestForScope(E)}this.visitChildren(E);this.close(E)}ClassExpression(E){this.visitClass(E)}ClassDeclaration(E){this.visitClass(E)}CallExpression(E){if(!this.scopeManager.__ignoreEval()&&E.callee.type===j.Identifier&&E.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(E)}BlockStatement(E){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(E)}this.visitChildren(E);this.close(E)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(E){this.visit(E.object);this.scopeManager.__nestWithScope(E);this.visit(E.body);this.close(E)}VariableDeclaration(E){const N=E.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let R=0,j=E.declarations.length;R<j;++R){const j=E.declarations[R];this.visitVariableDeclaration(N,G.Variable,E,R);if(j.init){this.visit(j.init)}}}SwitchStatement(E){this.visit(E.discriminant);if(this.scopeManager.__isES6()){this.scopeManager.__nestSwitchScope(E)}for(let N=0,R=E.cases.length;N<R;++N){this.visit(E.cases[N])}this.close(E)}FunctionDeclaration(E){this.visitFunction(E)}FunctionExpression(E){this.visitFunction(E)}ForOfStatement(E){this.visitForIn(E)}ForInStatement(E){this.visitForIn(E)}ArrowFunctionExpression(E){this.visitFunction(E)}ImportDeclaration(E){ce(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context.");const N=new Importer(E,this);N.visit(E)}visitExportDeclaration(E){if(E.source){return}if(E.declaration){this.visit(E.declaration);return}this.visitChildren(E)}ExportDeclaration(E){this.visitExportDeclaration(E)}ExportAllDeclaration(E){this.visitExportDeclaration(E)}ExportDefaultDeclaration(E){this.visitExportDeclaration(E)}ExportNamedDeclaration(E){this.visitExportDeclaration(E)}ExportSpecifier(E){const N=E.id||E.local;this.visit(N)}MetaProperty(){}}E.exports=Referencer},60018:(E,N,R)=>{"use strict";const j=R(98699);const $=R(39491);const q=j.GlobalScope;const G=j.CatchScope;const ie=j.WithScope;const ae=j.ModuleScope;const ce=j.ClassScope;const le=j.SwitchScope;const _e=j.FunctionScope;const Ee=j.ForScope;const Te=j.FunctionExpressionNameScope;const we=j.BlockScope;class ScopeManager{constructor(E){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=E;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(E){return this.__nodeToScope.get(E)}getDeclaredVariables(E){return this.__declaredVariables.get(E)||[]}acquire(E,N){function predicate(E){if(E.type==="function"&&E.functionExpressionScope){return false}return true}const R=this.__get(E);if(!R||R.length===0){return null}if(R.length===1){return R[0]}if(N){for(let E=R.length-1;E>=0;--E){const N=R[E];if(predicate(N)){return N}}}else{for(let E=0,N=R.length;E<N;++E){const N=R[E];if(predicate(N)){return N}}}return null}acquireAll(E){return this.__get(E)}release(E,N){const R=this.__get(E);if(R&&R.length){const E=R[0].upper;if(!E){return null}return this.acquire(E.block,N)}return null}attach(){}detach(){}__nestScope(E){if(E instanceof q){$(this.__currentScope===null);this.globalScope=E}this.__currentScope=E;return E}__nestGlobalScope(E){return this.__nestScope(new q(this,E))}__nestBlockScope(E){return this.__nestScope(new we(this,this.__currentScope,E))}__nestFunctionScope(E,N){return this.__nestScope(new _e(this,this.__currentScope,E,N))}__nestForScope(E){return this.__nestScope(new Ee(this,this.__currentScope,E))}__nestCatchScope(E){return this.__nestScope(new G(this,this.__currentScope,E))}__nestWithScope(E){return this.__nestScope(new ie(this,this.__currentScope,E))}__nestClassScope(E){return this.__nestScope(new ce(this,this.__currentScope,E))}__nestSwitchScope(E){return this.__nestScope(new le(this,this.__currentScope,E))}__nestModuleScope(E){return this.__nestScope(new ae(this,this.__currentScope,E))}__nestFunctionExpressionNameScope(E){return this.__nestScope(new Te(this,this.__currentScope,E))}__isES6(){return this.__options.ecmaVersion>=6}}E.exports=ScopeManager},98699:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(24552);const q=R(78120);const G=R(16950).Definition;const ie=R(39491);function isStrictScope(E,N,R,$){let q;if(E.upper&&E.upper.isStrict){return true}if(R){return true}if(E.type==="class"||E.type==="module"){return true}if(E.type==="block"||E.type==="switch"){return false}if(E.type==="function"){if(N.type===j.ArrowFunctionExpression&&N.body.type!==j.BlockStatement){return false}if(N.type===j.Program){q=N}else{q=N.body}if(!q){return false}}else if(E.type==="global"){q=N}else{return false}if($){for(let E=0,N=q.body.length;E<N;++E){const N=q.body[E];if(N.type!==j.DirectiveStatement){break}if(N.raw==='"use strict"'||N.raw==="'use strict'"){return true}}}else{for(let E=0,N=q.body.length;E<N;++E){const N=q.body[E];if(N.type!==j.ExpressionStatement){break}const R=N.expression;if(R.type!==j.Literal||typeof R.value!=="string"){break}if(R.raw!==null&&R.raw!==undefined){if(R.raw==='"use strict"'||R.raw==="'use strict'"){return true}}else{if(R.value==="use strict"){return true}}}}return false}function registerScope(E,N){E.scopes.push(N);const R=E.__nodeToScope.get(N.block);if(R){R.push(N)}else{E.__nodeToScope.set(N.block,[N])}}function shouldBeStatically(E){return E.type===q.ClassName||E.type===q.Variable&&E.parent.kind!=="var"}class Scope{constructor(E,N,R,j,$){this.type=N;this.set=new Map;this.taints=new Map;this.dynamic=this.type==="global"||this.type==="with";this.block=j;this.through=[];this.variables=[];this.references=[];this.variableScope=this.type==="global"||this.type==="function"||this.type==="module"?this:R.variableScope;this.functionExpressionScope=false;this.directCallToEvalScope=false;this.thisFound=false;this.__left=[];this.upper=R;this.isStrict=isStrictScope(this,j,$,E.__useDirective());this.childScopes=[];if(this.upper){this.upper.childScopes.push(this)}this.__declaredVariables=E.__declaredVariables;registerScope(E,this)}__shouldStaticallyClose(E){return!this.dynamic||E.__isOptimistic()}__shouldStaticallyCloseForGlobal(E){const N=E.identifier.name;if(!this.set.has(N)){return false}const R=this.set.get(N);const j=R.defs;return j.length>0&&j.every(shouldBeStatically)}__staticCloseRef(E){if(!this.__resolve(E)){this.__delegateToUpperScope(E)}}__dynamicCloseRef(E){let N=this;do{N.through.push(E);N=N.upper}while(N)}__globalCloseRef(E){if(this.__shouldStaticallyCloseForGlobal(E)){this.__staticCloseRef(E)}else{this.__dynamicCloseRef(E)}}__close(E){let N;if(this.__shouldStaticallyClose(E)){N=this.__staticCloseRef}else if(this.type!=="global"){N=this.__dynamicCloseRef}else{N=this.__globalCloseRef}for(let E=0,R=this.__left.length;E<R;++E){const R=this.__left[E];N.call(this,R)}this.__left=null;return this.upper}__isValidResolution(E,N){return true}__resolve(E){const N=E.identifier.name;if(!this.set.has(N)){return false}const R=this.set.get(N);if(!this.__isValidResolution(E,R)){return false}R.references.push(E);R.stack=R.stack&&E.from.variableScope===this.variableScope;if(E.tainted){R.tainted=true;this.taints.set(R.name,true)}E.resolved=R;return true}__delegateToUpperScope(E){if(this.upper){this.upper.__left.push(E)}this.through.push(E)}__addDeclaredVariablesOfNode(E,N){if(N===null||N===undefined){return}let R=this.__declaredVariables.get(N);if(R===null||R===undefined){R=[];this.__declaredVariables.set(N,R)}if(R.indexOf(E)===-1){R.push(E)}}__defineGeneric(E,N,R,j,$){let G;G=N.get(E);if(!G){G=new q(E,this);N.set(E,G);R.push(G)}if($){G.defs.push($);this.__addDeclaredVariablesOfNode(G,$.node);this.__addDeclaredVariablesOfNode(G,$.parent)}if(j){G.identifiers.push(j)}}__define(E,N){if(E&&E.type===j.Identifier){this.__defineGeneric(E.name,this.set,this.variables,E,N)}}__referencing(E,N,R,q,G,ie){if(!E||E.type!==j.Identifier){return}if(E.name==="super"){return}const ae=new $(E,this,N||$.READ,R,q,!!G,!!ie);this.references.push(ae);this.__left.push(ae)}__detectEval(){let E=this;this.directCallToEvalScope=true;do{E.dynamic=true;E=E.upper}while(E)}__detectThis(){this.thisFound=true}__isClosed(){return this.__left===null}resolve(E){let N,R,$;ie(this.__isClosed(),"Scope should be closed.");ie(E.type===j.Identifier,"Target should be identifier.");for(R=0,$=this.references.length;R<$;++R){N=this.references[R];if(N.identifier===E){return N}}return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return true}isThisMaterialized(){return true}isUsedName(E){if(this.set.has(E)){return true}for(let N=0,R=this.through.length;N<R;++N){if(this.through[N].identifier.name===E){return true}}return false}}class GlobalScope extends Scope{constructor(E,N){super(E,"global",null,N,false);this.implicit={set:new Map,variables:[],left:[]}}__close(E){const N=[];for(let E=0,R=this.__left.length;E<R;++E){const R=this.__left[E];if(R.__maybeImplicitGlobal&&!this.set.has(R.identifier.name)){N.push(R.__maybeImplicitGlobal)}}for(let E=0,R=N.length;E<R;++E){const R=N[E];this.__defineImplicit(R.pattern,new G(q.ImplicitGlobalVariable,R.pattern,R.node,null,null,null))}this.implicit.left=this.__left;return super.__close(E)}__defineImplicit(E,N){if(E&&E.type===j.Identifier){this.__defineGeneric(E.name,this.implicit.set,this.implicit.variables,E,N)}}}class ModuleScope extends Scope{constructor(E,N,R){super(E,"module",N,R,false)}}class FunctionExpressionNameScope extends Scope{constructor(E,N,R){super(E,"function-expression-name",N,R,false);this.__define(R.id,new G(q.FunctionName,R.id,R,null,null,null));this.functionExpressionScope=true}}class CatchScope extends Scope{constructor(E,N,R){super(E,"catch",N,R,false)}}class WithScope extends Scope{constructor(E,N,R){super(E,"with",N,R,false)}__close(E){if(this.__shouldStaticallyClose(E)){return super.__close(E)}for(let E=0,N=this.__left.length;E<N;++E){const N=this.__left[E];N.tainted=true;this.__delegateToUpperScope(N)}this.__left=null;return this.upper}}class BlockScope extends Scope{constructor(E,N,R){super(E,"block",N,R,false)}}class SwitchScope extends Scope{constructor(E,N,R){super(E,"switch",N,R,false)}}class FunctionScope extends Scope{constructor(E,N,R,$){super(E,"function",N,R,$);if(this.block.type!==j.ArrowFunctionExpression){this.__defineArguments()}}isArgumentsMaterialized(){if(this.block.type===j.ArrowFunctionExpression){return false}if(!this.isStatic()){return true}const E=this.set.get("arguments");ie(E,"Always have arguments variable.");return E.tainted||E.references.length!==0}isThisMaterialized(){if(!this.isStatic()){return true}return this.thisFound}__defineArguments(){this.__defineGeneric("arguments",this.set,this.variables,null,null);this.taints.set("arguments",true)}__isValidResolution(E,N){if(this.block.type==="Program"){return true}const R=this.block.body.range[0];return!(N.scope===this&&E.identifier.range[0]<R&&N.defs.every((E=>E.name.range[0]>=R)))}}class ForScope extends Scope{constructor(E,N,R){super(E,"for",N,R,false)}}class ClassScope extends Scope{constructor(E,N,R){super(E,"class",N,R,false)}}E.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:E=>{"use strict";class Variable{constructor(E,N){this.name=E;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=N}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";E.exports=Variable},49112:(E,N,R)=>{(function(){"use strict";var E=R(99054);function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(N,R){return(N===E.Syntax.ObjectExpression||N===E.Syntax.ObjectPattern)&&R==="properties"}function Visitor(N,R){R=R||{};this.__visitor=N||this;this.__childVisitorKeys=R.childVisitorKeys?Object.assign({},E.VisitorKeys,R.childVisitorKeys):E.VisitorKeys;if(R.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof R.fallback==="function"){this.__fallback=R.fallback}}Visitor.prototype.visitChildren=function(N){var R,j,$,q,G,ie,ae;if(N==null){return}R=N.type||E.Syntax.Property;j=this.__childVisitorKeys[R];if(!j){if(this.__fallback){j=this.__fallback(N)}else{throw new Error("Unknown node type "+R+".")}}for($=0,q=j.length;$<q;++$){ae=N[j[$]];if(ae){if(Array.isArray(ae)){for(G=0,ie=ae.length;G<ie;++G){if(ae[G]){if(isNode(ae[G])||isProperty(R,j[$])){this.visit(ae[G])}}}}else if(isNode(ae)){this.visit(ae)}}}};Visitor.prototype.visit=function(N){var R;if(N==null){return}R=N.type||E.Syntax.Property;if(this.__visitor[R]){this.__visitor[R].call(this,N);return}this.visitChildren(N)};N.version=R(29389).version;N.Visitor=Visitor;N.visit=function(E,N,R){var j=new Visitor(N,R);j.visit(E)}})()},99054:(E,N)=>{(function clone(E){"use strict";var N,R,j,$,q,G;function deepCopy(E){var N={},R,j;for(R in E){if(E.hasOwnProperty(R)){j=E[R];if(typeof j==="object"&&j!==null){N[R]=deepCopy(j)}else{N[R]=j}}}return N}function upperBound(E,N){var R,j,$,q;j=E.length;$=0;while(j){R=j>>>1;q=$+R;if(N(E[q])){j=R}else{$=q+1;j-=R+1}}return $}N={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};j={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};$={};q={};G={};R={Break:$,Skip:q,Remove:G};function Reference(E,N){this.parent=E;this.key=N}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,N,R,j){this.node=E;this.path=N;this.wrap=R;this.ref=j}function Controller(){}Controller.prototype.path=function path(){var E,N,R,j,$,q;function addToPath(E,N){if(Array.isArray(N)){for(R=0,j=N.length;R<j;++R){E.push(N[R])}}else{E.push(N)}}if(!this.__current.path){return null}$=[];for(E=2,N=this.__leavelist.length;E<N;++E){q=this.__leavelist[E];addToPath($,q.path)}addToPath($,this.__current.path);return $};Controller.prototype.type=function(){var E=this.current();return E.type||this.__current.wrap};Controller.prototype.parents=function parents(){var E,N,R;R=[];for(E=1,N=this.__leavelist.length;E<N;++E){R.push(this.__leavelist[E].node)}return R};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(E,N){var R,j;j=undefined;R=this.__current;this.__current=N;this.__state=null;if(E){j=E.call(this,N.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=R;return j};Controller.prototype.notify=function notify(E){this.__state=E};Controller.prototype.skip=function(){this.notify(q)};Controller.prototype["break"]=function(){this.notify($)};Controller.prototype.remove=function(){this.notify(G)};Controller.prototype.__initialize=function(E,N){this.visitor=N;this.root=E;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(N.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof N.fallback==="function"){this.__fallback=N.fallback}this.__keys=j;if(N.keys){this.__keys=Object.assign(Object.create(this.__keys),N.keys)}};function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(E,R){return(E===N.ObjectExpression||E===N.ObjectPattern)&&"properties"===R}function candidateExistsInLeaveList(E,N){for(var R=E.length-1;R>=0;--R){if(E[R].node===N){return true}}return false}Controller.prototype.traverse=function traverse(E,N){var R,j,G,ie,ae,ce,le,_e,Ee,Te,we,Ie;this.__initialize(E,N);Ie={};R=this.__worklist;j=this.__leavelist;R.push(new Element(E,null,null,null));j.push(new Element(null,null,null,null));while(R.length){G=R.pop();if(G===Ie){G=j.pop();ce=this.__execute(N.leave,G);if(this.__state===$||ce===$){return}continue}if(G.node){ce=this.__execute(N.enter,G);if(this.__state===$||ce===$){return}R.push(Ie);j.push(G);if(this.__state===q||ce===q){continue}ie=G.node;ae=ie.type||G.wrap;Te=this.__keys[ae];if(!Te){if(this.__fallback){Te=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}_e=Te.length;while((_e-=1)>=0){le=Te[_e];we=ie[le];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(candidateExistsInLeaveList(j,we[Ee])){continue}if(isProperty(ae,Te[_e])){G=new Element(we[Ee],[le,Ee],"Property",null)}else if(isNode(we[Ee])){G=new Element(we[Ee],[le,Ee],null,null)}else{continue}R.push(G)}}else if(isNode(we)){if(candidateExistsInLeaveList(j,we)){continue}R.push(new Element(we,le,null,null))}}}}};Controller.prototype.replace=function replace(E,N){var R,j,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me;function removeElem(E){var N,j,$,q;if(E.ref.remove()){j=E.ref.key;q=E.ref.parent;N=R.length;while(N--){$=R[N];if($.ref&&$.ref.parent===q){if($.ref.key<j){break}--$.ref.key}}}}this.__initialize(E,N);Ie={};R=this.__worklist;j=this.__leavelist;Ne={root:E};le=new Element(E,null,null,new Reference(Ne,"root"));R.push(le);j.push(le);while(R.length){le=R.pop();if(le===Ie){le=j.pop();ce=this.__execute(N.leave,le);if(ce!==undefined&&ce!==$&&ce!==q&&ce!==G){le.ref.replace(ce)}if(this.__state===G||ce===G){removeElem(le)}if(this.__state===$||ce===$){return Ne.root}continue}ce=this.__execute(N.enter,le);if(ce!==undefined&&ce!==$&&ce!==q&&ce!==G){le.ref.replace(ce);le.node=ce}if(this.__state===G||ce===G){removeElem(le);le.node=null}if(this.__state===$||ce===$){return Ne.root}ie=le.node;if(!ie){continue}R.push(Ie);j.push(le);if(this.__state===q||ce===q){continue}ae=ie.type||le.wrap;Te=this.__keys[ae];if(!Te){if(this.__fallback){Te=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}_e=Te.length;while((_e-=1)>=0){Me=Te[_e];we=ie[Me];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){le=new Element(we[Ee],[Me,Ee],"Property",new Reference(we,Ee))}else if(isNode(we[Ee])){le=new Element(we[Ee],[Me,Ee],null,new Reference(we,Ee))}else{continue}R.push(le)}}else if(isNode(we)){R.push(new Element(we,Me,null,new Reference(ie,Me)))}}}return Ne.root};function traverse(E,N){var R=new Controller;return R.traverse(E,N)}function replace(E,N){var R=new Controller;return R.replace(E,N)}function extendCommentRange(E,N){var R;R=upperBound(N,(function search(N){return N.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(R!==N.length){E.extendedRange[1]=N[R].range[0]}R-=1;if(R>=0){E.extendedRange[0]=N[R].range[1]}return E}function attachComments(E,N,j){var $=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!j.length){if(N.length){for(ie=0,G=N.length;ie<G;ie+=1){q=deepCopy(N[ie]);q.extendedRange=[0,E.range[0]];$.push(q)}E.leadingComments=$}return E}for(ie=0,G=N.length;ie<G;ie+=1){$.push(extendCommentRange(deepCopy(N[ie]),j))}ae=0;traverse(E,{enter:function(E){var N;while(ae<$.length){N=$[ae];if(N.extendedRange[1]>E.range[0]){break}if(N.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return R.Break}if($[ae].extendedRange[0]>E.range[1]){return R.Skip}}});ae=0;traverse(E,{leave:function(E){var N;while(ae<$.length){N=$[ae];if(E.range[1]<N.extendedRange[0]){break}if(E.range[1]===N.extendedRange[0]){if(!E.trailingComments){E.trailingComments=[]}E.trailingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return R.Break}if($[ae].extendedRange[0]>E.range[1]){return R.Skip}}});return E}E.Syntax=N;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=j;E.VisitorOption=R;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(N)},92105:(E,N,R)=>{(function clone(E){"use strict";var N,j,$,q,G,ie;function deepCopy(E){var N={},R,j;for(R in E){if(E.hasOwnProperty(R)){j=E[R];if(typeof j==="object"&&j!==null){N[R]=deepCopy(j)}else{N[R]=j}}}return N}function upperBound(E,N){var R,j,$,q;j=E.length;$=0;while(j){R=j>>>1;q=$+R;if(N(E[q])){j=R}else{$=q+1;j-=R+1}}return $}N={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};q={};G={};ie={};j={Break:q,Skip:G,Remove:ie};function Reference(E,N){this.parent=E;this.key=N}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,N,R,j){this.node=E;this.path=N;this.wrap=R;this.ref=j}function Controller(){}Controller.prototype.path=function path(){var E,N,R,j,$,q;function addToPath(E,N){if(Array.isArray(N)){for(R=0,j=N.length;R<j;++R){E.push(N[R])}}else{E.push(N)}}if(!this.__current.path){return null}$=[];for(E=2,N=this.__leavelist.length;E<N;++E){q=this.__leavelist[E];addToPath($,q.path)}addToPath($,this.__current.path);return $};Controller.prototype.type=function(){var E=this.current();return E.type||this.__current.wrap};Controller.prototype.parents=function parents(){var E,N,R;R=[];for(E=1,N=this.__leavelist.length;E<N;++E){R.push(this.__leavelist[E].node)}return R};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(E,N){var R,j;j=undefined;R=this.__current;this.__current=N;this.__state=null;if(E){j=E.call(this,N.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=R;return j};Controller.prototype.notify=function notify(E){this.__state=E};Controller.prototype.skip=function(){this.notify(G)};Controller.prototype["break"]=function(){this.notify(q)};Controller.prototype.remove=function(){this.notify(ie)};Controller.prototype.__initialize=function(E,N){this.visitor=N;this.root=E;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(N.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof N.fallback==="function"){this.__fallback=N.fallback}this.__keys=$;if(N.keys){this.__keys=Object.assign(Object.create(this.__keys),N.keys)}};function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(E,R){return(E===N.ObjectExpression||E===N.ObjectPattern)&&"properties"===R}Controller.prototype.traverse=function traverse(E,N){var R,j,$,ie,ae,ce,le,_e,Ee,Te,we,Ie;this.__initialize(E,N);Ie={};R=this.__worklist;j=this.__leavelist;R.push(new Element(E,null,null,null));j.push(new Element(null,null,null,null));while(R.length){$=R.pop();if($===Ie){$=j.pop();ce=this.__execute(N.leave,$);if(this.__state===q||ce===q){return}continue}if($.node){ce=this.__execute(N.enter,$);if(this.__state===q||ce===q){return}R.push(Ie);j.push($);if(this.__state===G||ce===G){continue}ie=$.node;ae=ie.type||$.wrap;Te=this.__keys[ae];if(!Te){if(this.__fallback){Te=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}_e=Te.length;while((_e-=1)>=0){le=Te[_e];we=ie[le];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){$=new Element(we[Ee],[le,Ee],"Property",null)}else if(isNode(we[Ee])){$=new Element(we[Ee],[le,Ee],null,null)}else{continue}R.push($)}}else if(isNode(we)){R.push(new Element(we,le,null,null))}}}}};Controller.prototype.replace=function replace(E,N){var R,j,$,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me;function removeElem(E){var N,j,$,q;if(E.ref.remove()){j=E.ref.key;q=E.ref.parent;N=R.length;while(N--){$=R[N];if($.ref&&$.ref.parent===q){if($.ref.key<j){break}--$.ref.key}}}}this.__initialize(E,N);Ie={};R=this.__worklist;j=this.__leavelist;Ne={root:E};le=new Element(E,null,null,new Reference(Ne,"root"));R.push(le);j.push(le);while(R.length){le=R.pop();if(le===Ie){le=j.pop();ce=this.__execute(N.leave,le);if(ce!==undefined&&ce!==q&&ce!==G&&ce!==ie){le.ref.replace(ce)}if(this.__state===ie||ce===ie){removeElem(le)}if(this.__state===q||ce===q){return Ne.root}continue}ce=this.__execute(N.enter,le);if(ce!==undefined&&ce!==q&&ce!==G&&ce!==ie){le.ref.replace(ce);le.node=ce}if(this.__state===ie||ce===ie){removeElem(le);le.node=null}if(this.__state===q||ce===q){return Ne.root}$=le.node;if(!$){continue}R.push(Ie);j.push(le);if(this.__state===G||ce===G){continue}ae=$.type||le.wrap;Te=this.__keys[ae];if(!Te){if(this.__fallback){Te=this.__fallback($)}else{throw new Error("Unknown node type "+ae+".")}}_e=Te.length;while((_e-=1)>=0){Me=Te[_e];we=$[Me];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){le=new Element(we[Ee],[Me,Ee],"Property",new Reference(we,Ee))}else if(isNode(we[Ee])){le=new Element(we[Ee],[Me,Ee],null,new Reference(we,Ee))}else{continue}R.push(le)}}else if(isNode(we)){R.push(new Element(we,Me,null,new Reference($,Me)))}}}return Ne.root};function traverse(E,N){var R=new Controller;return R.traverse(E,N)}function replace(E,N){var R=new Controller;return R.replace(E,N)}function extendCommentRange(E,N){var R;R=upperBound(N,(function search(N){return N.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(R!==N.length){E.extendedRange[1]=N[R].range[0]}R-=1;if(R>=0){E.extendedRange[0]=N[R].range[1]}return E}function attachComments(E,N,R){var $=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!R.length){if(N.length){for(ie=0,G=N.length;ie<G;ie+=1){q=deepCopy(N[ie]);q.extendedRange=[0,E.range[0]];$.push(q)}E.leadingComments=$}return E}for(ie=0,G=N.length;ie<G;ie+=1){$.push(extendCommentRange(deepCopy(N[ie]),R))}ae=0;traverse(E,{enter:function(E){var N;while(ae<$.length){N=$[ae];if(N.extendedRange[1]>E.range[0]){break}if(N.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return j.Break}if($[ae].extendedRange[0]>E.range[1]){return j.Skip}}});ae=0;traverse(E,{leave:function(E){var N;while(ae<$.length){N=$[ae];if(E.range[1]<N.extendedRange[0]){break}if(E.range[1]===N.extendedRange[0]){if(!E.trailingComments){E.trailingComments=[]}E.trailingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return j.Break}if($[ae].extendedRange[0]>E.range[1]){return j.Skip}}});return E}E.version=R(42600).i8;E.Syntax=N;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=$;E.VisitorOption=j;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(N)},55245:E=>{"use strict";E.exports=function equal(E,N){if(E===N)return true;if(E&&N&&typeof E=="object"&&typeof N=="object"){if(E.constructor!==N.constructor)return false;var R,j,$;if(Array.isArray(E)){R=E.length;if(R!=N.length)return false;for(j=R;j--!==0;)if(!equal(E[j],N[j]))return false;return true}if(E.constructor===RegExp)return E.source===N.source&&E.flags===N.flags;if(E.valueOf!==Object.prototype.valueOf)return E.valueOf()===N.valueOf();if(E.toString!==Object.prototype.toString)return E.toString()===N.toString();$=Object.keys(E);R=$.length;if(R!==Object.keys(N).length)return false;for(j=R;j--!==0;)if(!Object.prototype.hasOwnProperty.call(N,$[j]))return false;for(j=R;j--!==0;){var q=$[j];if(!equal(E[q],N[q]))return false}return true}return E!==E&&N!==N}},75986:E=>{"use strict";E.exports=function(E,N){if(!N)N={};if(typeof N==="function")N={cmp:N};var R=typeof N.cycles==="boolean"?N.cycles:false;var j=N.cmp&&function(E){return function(N){return function(R,j){var $={key:R,value:N[R]};var q={key:j,value:N[j]};return E($,q)}}}(N.cmp);var $=[];return function stringify(E){if(E&&E.toJSON&&typeof E.toJSON==="function"){E=E.toJSON()}if(E===undefined)return;if(typeof E=="number")return isFinite(E)?""+E:"null";if(typeof E!=="object")return JSON.stringify(E);var N,q;if(Array.isArray(E)){q="[";for(N=0;N<E.length;N++){if(N)q+=",";q+=stringify(E[N])||"null"}return q+"]"}if(E===null)return"null";if($.indexOf(E)!==-1){if(R)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var G=$.push(E)-1;var ie=Object.keys(E).sort(j&&j(E));q="";for(N=0;N<ie.length;N++){var ae=ie[N];var ce=stringify(E[ae]);if(!ce)continue;if(q)q+=",";q+=JSON.stringify(ae)+":"+ce}$.splice(G,1);return"{"+q+"}"}(E)}},70554:E=>{E.exports=function(E,N){if(typeof E!=="string"){throw new TypeError("Expected a string")}var R=String(E);var j="";var $=N?!!N.extended:false;var q=N?!!N.globstar:false;var G=false;var ie=N&&typeof N.flags==="string"?N.flags:"";var ae;for(var ce=0,le=R.length;ce<le;ce++){ae=R[ce];switch(ae){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":j+="\\"+ae;break;case"?":if($){j+=".";break}case"[":case"]":if($){j+=ae;break}case"{":if($){G=true;j+="(";break}case"}":if($){G=false;j+=")";break}case",":if(G){j+="|";break}j+="\\"+ae;break;case"*":var _e=R[ce-1];var Ee=1;while(R[ce+1]==="*"){Ee++;ce++}var Te=R[ce+1];if(!q){j+=".*"}else{var we=Ee>1&&(_e==="/"||_e===undefined)&&(Te==="/"||Te===undefined);if(we){j+="((?:[^/]*(?:/|$))*)";ce++}else{j+="([^/]*)"}}break;default:j+=ae}}if(!ie||!~ie.indexOf("g")){j="^"+j+"$"}return new RegExp(j,ie)}},40858:E=>{"use strict";E.exports=clone;var N=Object.getPrototypeOf||function(E){return E.__proto__};function clone(E){if(E===null||typeof E!=="object")return E;if(E instanceof Object)var R={__proto__:N(E)};else var R=Object.create(null);Object.getOwnPropertyNames(E).forEach((function(N){Object.defineProperty(R,N,Object.getOwnPropertyDescriptor(E,N))}));return R}},15808:(E,N,R)=>{var j=R(57147);var $=R(82444);var q=R(94073);var G=R(40858);var ie=R(73837);var ae;var ce;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");ce=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";ce="___graceful-fs.previous"}function noop(){}function publishQueue(E,N){Object.defineProperty(E,ae,{get:function(){return N}})}var le=noop;if(ie.debuglog)le=ie.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))le=function(){var E=ie.format.apply(ie,arguments);E="GFS4: "+E.split(/\n/).join("\nGFS4: ");console.error(E)};if(!j[ae]){var _e=global[ae]||[];publishQueue(j,_e);j.close=function(E){function close(N,R){return E.call(j,N,(function(E){if(!E){resetQueue()}if(typeof R==="function")R.apply(this,arguments)}))}Object.defineProperty(close,ce,{value:E});return close}(j.close);j.closeSync=function(E){function closeSync(N){E.apply(j,arguments);resetQueue()}Object.defineProperty(closeSync,ce,{value:E});return closeSync}(j.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){le(j[ae]);R(39491).equal(j[ae].length,0)}))}}if(!global[ae]){publishQueue(global,j[ae])}E.exports=patch(G(j));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!j.__patched){E.exports=patch(j);j.__patched=true}function patch(E){$(E);E.gracefulify=patch;E.createReadStream=createReadStream;E.createWriteStream=createWriteStream;var N=E.readFile;E.readFile=readFile;function readFile(E,R,j){if(typeof R==="function")j=R,R=null;return go$readFile(E,R,j);function go$readFile(E,R,j,$){return N(E,R,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$readFile,[E,R,j],N,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var R=E.writeFile;E.writeFile=writeFile;function writeFile(E,N,j,$){if(typeof j==="function")$=j,j=null;return go$writeFile(E,N,j,$);function go$writeFile(E,N,j,$,q){return R(E,N,j,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$writeFile,[E,N,j,$],R,q||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var j=E.appendFile;if(j)E.appendFile=appendFile;function appendFile(E,N,R,$){if(typeof R==="function")$=R,R=null;return go$appendFile(E,N,R,$);function go$appendFile(E,N,R,$,q){return j(E,N,R,(function(j){if(j&&(j.code==="EMFILE"||j.code==="ENFILE"))enqueue([go$appendFile,[E,N,R,$],j,q||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var G=E.copyFile;if(G)E.copyFile=copyFile;function copyFile(E,N,R,j){if(typeof R==="function"){j=R;R=0}return go$copyFile(E,N,R,j);function go$copyFile(E,N,R,j,$){return G(E,N,R,(function(q){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$copyFile,[E,N,R,j],q,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var ie=E.readdir;E.readdir=readdir;function readdir(E,N,R){if(typeof N==="function")R=N,N=null;return go$readdir(E,N,R);function go$readdir(E,N,R,j){return ie(E,N,(function($,q){if($&&($.code==="EMFILE"||$.code==="ENFILE"))enqueue([go$readdir,[E,N,R],$,j||Date.now(),Date.now()]);else{if(q&&q.sort)q.sort();if(typeof R==="function")R.call(this,$,q)}}))}}if(process.version.substr(0,4)==="v0.8"){var ae=q(E);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var ce=E.ReadStream;if(ce){ReadStream.prototype=Object.create(ce.prototype);ReadStream.prototype.open=ReadStream$open}var le=E.WriteStream;if(le){WriteStream.prototype=Object.create(le.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(E,"ReadStream",{get:function(){return ReadStream},set:function(E){ReadStream=E},enumerable:true,configurable:true});Object.defineProperty(E,"WriteStream",{get:function(){return WriteStream},set:function(E){WriteStream=E},enumerable:true,configurable:true});var _e=ReadStream;Object.defineProperty(E,"FileReadStream",{get:function(){return _e},set:function(E){_e=E},enumerable:true,configurable:true});var Ee=WriteStream;Object.defineProperty(E,"FileWriteStream",{get:function(){return Ee},set:function(E){Ee=E},enumerable:true,configurable:true});function ReadStream(E,N){if(this instanceof ReadStream)return ce.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(N,R){if(N){if(E.autoClose)E.destroy();E.emit("error",N)}else{E.fd=R;E.emit("open",R);E.read()}}))}function WriteStream(E,N){if(this instanceof WriteStream)return le.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(N,R){if(N){E.destroy();E.emit("error",N)}else{E.fd=R;E.emit("open",R)}}))}function createReadStream(N,R){return new E.ReadStream(N,R)}function createWriteStream(N,R){return new E.WriteStream(N,R)}var Te=E.open;E.open=open;function open(E,N,R,j){if(typeof R==="function")j=R,R=null;return go$open(E,N,R,j);function go$open(E,N,R,j,$){return Te(E,N,R,(function(q,G){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$open,[E,N,R,j],q,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}return E}function enqueue(E){le("ENQUEUE",E[0].name,E[1]);j[ae].push(E);retry()}var Ee;function resetQueue(){var E=Date.now();for(var N=0;N<j[ae].length;++N){if(j[ae][N].length>2){j[ae][N][3]=E;j[ae][N][4]=E}}retry()}function retry(){clearTimeout(Ee);Ee=undefined;if(j[ae].length===0)return;var E=j[ae].shift();var N=E[0];var R=E[1];var $=E[2];var q=E[3];var G=E[4];if(q===undefined){le("RETRY",N.name,R);N.apply(null,R)}else if(Date.now()-q>=6e4){le("TIMEOUT",N.name,R);var ie=R.pop();if(typeof ie==="function")ie.call(null,$)}else{var ce=Date.now()-G;var _e=Math.max(G-q,1);var Te=Math.min(_e*1.2,100);if(ce>=Te){le("RETRY",N.name,R);N.apply(null,R.concat([q]))}else{j[ae].push(E)}}if(Ee===undefined){Ee=setTimeout(retry,0)}}},94073:(E,N,R)=>{var j=R(12781).Stream;E.exports=legacy;function legacy(E){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(N,R){if(!(this instanceof ReadStream))return new ReadStream(N,R);j.call(this);var $=this;this.path=N;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;R=R||{};var q=Object.keys(R);for(var G=0,ie=q.length;G<ie;G++){var ae=q[G];this[ae]=R[ae]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){$._read()}));return}E.open(this.path,this.flags,this.mode,(function(E,N){if(E){$.emit("error",E);$.readable=false;return}$.fd=N;$.emit("open",N);$._read()}))}function WriteStream(N,R){if(!(this instanceof WriteStream))return new WriteStream(N,R);j.call(this);this.path=N;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;R=R||{};var $=Object.keys(R);for(var q=0,G=$.length;q<G;q++){var ie=$[q];this[ie]=R[ie]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=E.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(E,N,R)=>{var j=R(22057);var $=process.cwd;var q=null;var G=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!q)q=$.call(process);return q};try{process.cwd()}catch(E){}if(typeof process.chdir==="function"){var ie=process.chdir;process.chdir=function(E){q=null;ie.call(process,E)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ie)}E.exports=patch;function patch(E){if(j.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(E)}if(!E.lutimes){patchLutimes(E)}E.chown=chownFix(E.chown);E.fchown=chownFix(E.fchown);E.lchown=chownFix(E.lchown);E.chmod=chmodFix(E.chmod);E.fchmod=chmodFix(E.fchmod);E.lchmod=chmodFix(E.lchmod);E.chownSync=chownFixSync(E.chownSync);E.fchownSync=chownFixSync(E.fchownSync);E.lchownSync=chownFixSync(E.lchownSync);E.chmodSync=chmodFixSync(E.chmodSync);E.fchmodSync=chmodFixSync(E.fchmodSync);E.lchmodSync=chmodFixSync(E.lchmodSync);E.stat=statFix(E.stat);E.fstat=statFix(E.fstat);E.lstat=statFix(E.lstat);E.statSync=statFixSync(E.statSync);E.fstatSync=statFixSync(E.fstatSync);E.lstatSync=statFixSync(E.lstatSync);if(!E.lchmod){E.lchmod=function(E,N,R){if(R)process.nextTick(R)};E.lchmodSync=function(){}}if(!E.lchown){E.lchown=function(E,N,R,j){if(j)process.nextTick(j)};E.lchownSync=function(){}}if(G==="win32"){E.rename=function(N){return function(R,j,$){var q=Date.now();var G=0;N(R,j,(function CB(ie){if(ie&&(ie.code==="EACCES"||ie.code==="EPERM")&&Date.now()-q<6e4){setTimeout((function(){E.stat(j,(function(E,q){if(E&&E.code==="ENOENT")N(R,j,CB);else $(ie)}))}),G);if(G<100)G+=10;return}if($)$(ie)}))}}(E.rename)}E.read=function(N){function read(R,j,$,q,G,ie){var ae;if(ie&&typeof ie==="function"){var ce=0;ae=function(le,_e,Ee){if(le&&le.code==="EAGAIN"&&ce<10){ce++;return N.call(E,R,j,$,q,G,ae)}ie.apply(this,arguments)}}return N.call(E,R,j,$,q,G,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,N);return read}(E.read);E.readSync=function(N){return function(R,j,$,q,G){var ie=0;while(true){try{return N.call(E,R,j,$,q,G)}catch(E){if(E.code==="EAGAIN"&&ie<10){ie++;continue}throw E}}}}(E.readSync);function patchLchmod(E){E.lchmod=function(N,R,$){E.open(N,j.O_WRONLY|j.O_SYMLINK,R,(function(N,j){if(N){if($)$(N);return}E.fchmod(j,R,(function(N){E.close(j,(function(E){if($)$(N||E)}))}))}))};E.lchmodSync=function(N,R){var $=E.openSync(N,j.O_WRONLY|j.O_SYMLINK,R);var q=true;var G;try{G=E.fchmodSync($,R);q=false}finally{if(q){try{E.closeSync($)}catch(E){}}else{E.closeSync($)}}return G}}function patchLutimes(E){if(j.hasOwnProperty("O_SYMLINK")){E.lutimes=function(N,R,$,q){E.open(N,j.O_SYMLINK,(function(N,j){if(N){if(q)q(N);return}E.futimes(j,R,$,(function(N){E.close(j,(function(E){if(q)q(N||E)}))}))}))};E.lutimesSync=function(N,R,$){var q=E.openSync(N,j.O_SYMLINK);var G;var ie=true;try{G=E.futimesSync(q,R,$);ie=false}finally{if(ie){try{E.closeSync(q)}catch(E){}}else{E.closeSync(q)}}return G}}else{E.lutimes=function(E,N,R,j){if(j)process.nextTick(j)};E.lutimesSync=function(){}}}function chmodFix(N){if(!N)return N;return function(R,j,$){return N.call(E,R,j,(function(E){if(chownErOk(E))E=null;if($)$.apply(this,arguments)}))}}function chmodFixSync(N){if(!N)return N;return function(R,j){try{return N.call(E,R,j)}catch(E){if(!chownErOk(E))throw E}}}function chownFix(N){if(!N)return N;return function(R,j,$,q){return N.call(E,R,j,$,(function(E){if(chownErOk(E))E=null;if(q)q.apply(this,arguments)}))}}function chownFixSync(N){if(!N)return N;return function(R,j,$){try{return N.call(E,R,j,$)}catch(E){if(!chownErOk(E))throw E}}}function statFix(N){if(!N)return N;return function(R,j,$){if(typeof j==="function"){$=j;j=null}function callback(E,N){if(N){if(N.uid<0)N.uid+=4294967296;if(N.gid<0)N.gid+=4294967296}if($)$.apply(this,arguments)}return j?N.call(E,R,j,callback):N.call(E,R,callback)}}function statFixSync(N){if(!N)return N;return function(R,j){var $=j?N.call(E,R,j):N.call(E,R);if($.uid<0)$.uid+=4294967296;if($.gid<0)$.gid+=4294967296;return $}}function chownErOk(E){if(!E)return true;if(E.code==="ENOSYS")return true;var N=!process.getuid||process.getuid()!==0;if(N){if(E.code==="EINVAL"||E.code==="EPERM")return true}return false}}},86811:E=>{"use strict";E.exports=(E,N=process.argv)=>{const R=E.startsWith("-")?"":E.length===1?"-":"--";const j=N.indexOf(R+E);const $=N.indexOf("--");return j!==-1&&($===-1||j<$)}},15986:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(62483));var $=R(42195);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class Farm{constructor(E,N,R={}){var $,q;this._numOfWorkers=E;this._callback=N;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=R.computeWorkerKey;this._workerSchedulingPolicy=($=R.workerSchedulingPolicy)!==null&&$!==void 0?$:"round-robin";this._taskQueue=(q=R.taskQueue)!==null&&q!==void 0?q:new j.default}doWork(E,...N){const R=new Set;const addCustomMessageListener=E=>{R.add(E);return()=>{R.delete(E)}};const onCustomMessage=E=>{R.forEach((N=>N(E)))};const j=new Promise(((N,j,q)=>{const G=this._computeWorkerKey;const ie=[$.CHILD_MESSAGE_CALL,false,E,N];let ae=null;let ce=null;if(G){ce=G.call(this,E,...N);ae=ce==null?null:this._cacheKeys[ce]}const onStart=E=>{if(ce!=null){this._cacheKeys[ce]=E}};const onEnd=(E,N)=>{R.clear();if(E){q(E)}else{j(N)}};const le={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ie};if(ae){this._taskQueue.enqueue(le,ae.getWorkerId());this._process(ae.getWorkerId())}else{this._push(le)}}).bind(null,N));j.UNSTABLE_onCustomMessage=addCustomMessageListener;return j}_process(E){if(this._isLocked(E)){return this}const N=this._taskQueue.dequeue(E);if(!N){return this}if(N.request[1]){throw new Error("Queue implementation returned processed task")}const R=N.onEnd;const onEnd=(N,j)=>{R(N,j);this._unlock(E);this._process(E)};N.request[1]=true;this._lock(E);this._callback(E,N.request,N.onStart,onEnd,N.onCustomMessage);return this}_push(E){this._taskQueue.enqueue(E);const N=this._getNextWorkerOffset();for(let R=0;R<this._numOfWorkers;R++){this._process((N+R)%this._numOfWorkers);if(E.request[1]){break}}return this}_getNextWorkerOffset(){switch(this._workerSchedulingPolicy){case"in-order":return 0;case"round-robin":return this._offset++}}_lock(E){this._locks[E]=true}_unlock(E){this._locks[E]=false}_isLocked(E){return this._locks[E]}}N["default"]=Farm},62483:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(E,N){if(N==null){this._sharedQueue.enqueue(E);return}let R=this._workerQueues[N];if(R==null){R=this._workerQueues[N]=new InternalQueue}const j=this._sharedQueue.peekLast();const $={previousSharedTask:j,task:E};R.enqueue($)}dequeue(E){var N,R,j;const $=(N=this._workerQueues[E])===null||N===void 0?void 0:N.peek();const q=(R=$===null||$===void 0?void 0:(j=$.previousSharedTask)===null||j===void 0?void 0:j.request[1])!==null&&R!==void 0?R:true;if($!=null&&q){var G,ie,ae;return(G=(ie=this._workerQueues[E])===null||ie===void 0?void 0:(ae=ie.dequeue())===null||ae===void 0?void 0:ae.task)!==null&&G!==void 0?G:null}return this._sharedQueue.dequeue()}}N["default"]=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(E){const N={next:null,value:E};if(this._last==null){this._head=N}else{this._last.next=N}this._last=N}dequeue(){if(this._head==null){return null}const E=this._head;this._head=E.next;if(this._head==null){this._last=null}return E.value}peek(){var E,N;return(E=(N=this._head)===null||N===void 0?void 0:N.value)!==null&&E!==void 0?E:null}peekLast(){var E,N;return(E=(N=this._last)===null||N===void 0?void 0:N.value)!==null&&E!==void 0?E:null}}},25739:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class PriorityQueue{constructor(E){this._computePriority=E;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(E,N){if(N==null){this._enqueue(E,this._sharedQueue)}else{const R=this._getWorkerQueue(N);this._enqueue(E,R)}}_enqueue(E,N){const R={priority:this._computePriority(E.request[2],...E.request[3]),task:E};N.add(R)}dequeue(E){const N=this._getWorkerQueue(E);const R=N.peek();const j=this._sharedQueue.peek();if(j==null||R!=null&&R.priority<=j.priority){var $,q;return($=(q=N.poll())===null||q===void 0?void 0:q.task)!==null&&$!==void 0?$:null}return this._sharedQueue.poll().task}_getWorkerQueue(E){let N=this._queue[E];if(N==null){N=this._queue[E]=new MinHeap}return N}}N["default"]=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var E;return(E=this._heap[0])!==null&&E!==void 0?E:null}add(E){const N=this._heap;N.push(E);if(N.length===1){return}let R=N.length-1;while(R>0){const j=Math.floor((R+1)/2)-1;const $=N[j];if($.priority<=E.priority){break}N[R]=$;N[j]=E;R=j}}poll(){const E=this._heap;const N=E[0];const R=E.pop();if(N==null||E.length===0){return N!==null&&N!==void 0?N:null}let j=0;E[0]=R!==null&&R!==void 0?R:null;const $=E[0];while(true){let N=null;const R=(j+1)*2;const q=R-1;const G=E[R];const ie=E[q];if(ie!=null&&ie.priority<$.priority){N=q}if(G!=null&&G.priority<(N==null?$:ie).priority){N=R}if(N==null){break}E[j]=E[N];E[N]=$;j=N}return N}}},61315:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(68189));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const canUseWorkerThreads=()=>{try{R(71267);return true}catch{return false}};class WorkerPool extends j.default{send(E,N,R,j,$){this.getWorkerById(E).send(N,R,j,$)}createWorker(E){let N;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){N=R(12295).Z}else{N=R(17164).Z}return new N(E)}}var $=WorkerPool;N["default"]=$},68189:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function path(){const E=_interopRequireWildcard(R(71017));path=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}const j=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(E,N){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=N;this._workers=new Array(N.numWorkers);if(!path().isAbsolute(E)){E=require.resolve(E)}const R=(0,_mergeStream().default)();const j=(0,_mergeStream().default)();const{forkOptions:$,maxRetries:q,resourceLimits:G,setupArgs:ie}=N;for(let ae=0;ae<N.numWorkers;ae++){const N={forkOptions:$,maxRetries:q,resourceLimits:G,setupArgs:ie,workerId:ae,workerPath:E};const ce=this.createWorker(N);const le=ce.getStdout();const _e=ce.getStderr();if(le){R.add(le)}if(_e){j.add(_e)}this._workers[ae]=ce}this._stdout=R;this._stderr=j}getStderr(){return this._stderr}getStdout(){return this._stdout}getWorkers(){return this._workers}getWorkerById(E){return this._workers[E]}createWorker(E){throw Error("Missing method createWorker in WorkerPool")}async end(){const E=this._workers.map((async E=>{E.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let N=false;const R=setTimeout((()=>{E.forceExit();N=true}),j);await E.waitForExit();clearTimeout(R);return N}));const N=await Promise.all(E);return N.reduce(((E,N)=>({forceExited:E.forceExited||N})),{forceExited:false})}}N["default"]=BaseWorkerPool},69419:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"PriorityQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(N,"FifoQueue",{enumerable:true,get:function(){return G.default}});Object.defineProperty(N,"messageParent",{enumerable:true,get:function(){return ie.default}});N.Worker=void 0;function _os(){const E=R(22037);_os=function(){return E};return E}var j=_interopRequireDefault(R(15986));var $=_interopRequireDefault(R(61315));var q=_interopRequireDefault(R(25739));var G=_interopRequireDefault(R(62483));var ie=_interopRequireDefault(R(27008));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}function getExposedMethods(E,N){let R=N.exposedMethods;if(!R){const N=require(E);R=Object.keys(N).filter((E=>typeof N[E]==="function"));if(typeof N==="function"){R=[...R,"default"]}}return R}class Worker{constructor(E,N){var R,q,G,ie,ae,ce;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...N};this._ending=false;const le={enableWorkerThreads:(R=this._options.enableWorkerThreads)!==null&&R!==void 0?R:false,forkOptions:(q=this._options.forkOptions)!==null&&q!==void 0?q:{},maxRetries:(G=this._options.maxRetries)!==null&&G!==void 0?G:3,numWorkers:(ie=this._options.numWorkers)!==null&&ie!==void 0?ie:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(ae=this._options.resourceLimits)!==null&&ae!==void 0?ae:{},setupArgs:(ce=this._options.setupArgs)!==null&&ce!==void 0?ce:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(E,le)}else{this._workerPool=new $.default(E,le)}this._farm=new j.default(le.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(E,this._options)}_bindExposedWorkerMethods(E,N){getExposedMethods(E,N).forEach((E=>{if(E.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(E)){throw new TypeError("Cannot define a method called "+E)}this[E]=this._callFunctionWithArgs.bind(this,E)}))}_callFunctionWithArgs(E,...N){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(E,...N)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}N.Worker=Worker},42195:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.PARENT_MESSAGE_CUSTOM=N.PARENT_MESSAGE_SETUP_ERROR=N.PARENT_MESSAGE_CLIENT_ERROR=N.PARENT_MESSAGE_OK=N.CHILD_MESSAGE_END=N.CHILD_MESSAGE_CALL=N.CHILD_MESSAGE_INITIALIZE=void 0;const R=0;N.CHILD_MESSAGE_INITIALIZE=R;const j=1;N.CHILD_MESSAGE_CALL=j;const $=2;N.CHILD_MESSAGE_END=$;const q=0;N.PARENT_MESSAGE_OK=q;const G=1;N.PARENT_MESSAGE_CLIENT_ERROR=G;const ie=2;N.PARENT_MESSAGE_SETUP_ERROR=ie;const ae=3;N.PARENT_MESSAGE_CUSTOM=ae},17164:(E,N,R)=>{"use strict";var j;j={value:true};N.Z=void 0;function _child_process(){const E=R(32081);_child_process=function(){return E};return E}function _stream(){const E=R(12781);_stream=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _supportsColor(){const E=R(24467);_supportsColor=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}const $=128;const q=$+9;const G=$+15;const ie=500;class ChildProcessWorker{constructor(E){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this.initialize()}initialize(){const E=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const N=(0,_child_process().fork)(R.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...E},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions});if(N.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(N.stdout)}if(N.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(N.stderr)}N.on("message",this._onMessage.bind(this));N.on("exit",this._onExit.bind(this));N.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=N;this._retries++;if(this._retries>this._options.maxRetries){const E=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let N;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:N=E[4];if(N!=null&&typeof N==="object"){const R=N;const j=global[E[1]];const $=typeof j==="function"?j:Error;N=new $(E[2]);N.type=E[1];N.stack=E[3];for(const E in R){N[E]=R[E]}}this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:N=new Error("Error when calling setup: "+E[2]);N.type=E[1];N.stack=E[3];this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&E!==null&&E!==G&&E!==q){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(E,N,R,j){N(this);this._onProcessEnd=(...E)=>{this._request=null;return R(...E)};this._onCustomMessage=(...E)=>j(...E);this._request=E;this._retries=0;this._child.send(E,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const E=setTimeout((()=>this._child.kill("SIGKILL")),ie);this._exitPromise.then((()=>clearTimeout(E)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}N.Z=ChildProcessWorker},12295:(E,N,R)=>{"use strict";var j;j={value:true};N.Z=void 0;function path(){const E=_interopRequireWildcard(R(71017));path=function(){return E};return E}function _stream(){const E=R(12781);_stream=function(){return E};return E}function _worker_threads(){const E=R(71267);_worker_threads=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class ExperimentalWorker{constructor(E){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const E=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let N;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:N=E[4];if(N!=null&&typeof N==="object"){const R=N;const j=global[E[1]];const $=typeof j==="function"?j:Error;N=new $(E[2]);N.type=E[1];N.stack=E[3];for(const E in R){N[E]=R[E]}}this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:N=new Error("Error when calling setup: "+E[2]);N.type=E[1];N.stack=E[3];this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(E,N,R,j){N(this);this._onProcessEnd=(...E)=>{var N;this._request=null;const j=(N=R)===null||N===void 0?void 0:N(...E);R=null;return j};this._onCustomMessage=(...E)=>j(...E);this._request=E;this._retries=0;this._worker.postMessage(E)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}N.Z=ExperimentalWorker},27008:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=messageParent;function _types(){const E=R(42195);_types=function(){return E};return E}const j=(()=>{try{const{isMainThread:E,parentPort:N}=R(71267);return!E&&N!=null}catch{return false}})();function messageParent(E,N=process){if(j){const{parentPort:N}=R(71267);N.postMessage([_types().PARENT_MESSAGE_CUSTOM,E])}else if(typeof N.send==="function"){N.send([_types().PARENT_MESSAGE_CUSTOM,E])}else{throw new Error('"messageParent" can only be used inside a worker')}}},24467:(E,N,R)=>{"use strict";const j=R(22037);const $=R(76224);const q=R(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}function envForceColor(){if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){return 1}if(G.FORCE_COLOR==="false"){return 0}return G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,{streamIsTTY:N,sniffFlags:R=true}={}){const $=envForceColor();if($!==undefined){ie=$}const ae=R?ie:$;if(ae===0){return 0}if(R){if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}}if(E&&!N&&ae===undefined){return 0}const ce=ae||0;if(G.TERM==="dumb"){return ce}if(process.platform==="win32"){const E=j.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return ce}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return ce}function getSupportLevel(E,N={}){const R=supportsColor(E,{streamIsTTY:E&&E.isTTY,...N});return translateLevel(R)}E.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:$.isatty(1)}),stderr:getSupportLevel({isTTY:$.isatty(2)})}},78688:E=>{"use strict";E.exports=parseJson;function parseJson(E,N,R){R=R||20;try{return JSON.parse(E,N)}catch(N){if(typeof E!=="string"){const N=Array.isArray(E)&&E.length===0;const R="Cannot parse "+(N?"an empty array":String(E));throw new TypeError(R)}const j=N.message.match(/^Unexpected token.*position\s+(\d+)/i);const $=j?+j[1]:N.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;if($!=null){const j=$<=R?0:$-R;const q=$+R>=E.length?E.length:$+R;N.message+=` while parsing near '${j===0?"":"..."}${E.slice(j,q)}${q===E.length?"":"..."}'`}else{N.message+=` while parsing '${E.slice(0,R*2)}'`}throw N}}},46833:E=>{"use strict";var N=E.exports=function(E,N,R){if(typeof N=="function"){R=N;N={}}R=N.cb||R;var j=typeof R=="function"?R:R.pre||function(){};var $=R.post||function(){};_traverse(N,j,$,E,"",E)};N.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};N.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};N.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};N.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(E,R,j,$,q,G,ie,ae,ce,le){if($&&typeof $=="object"&&!Array.isArray($)){R($,q,G,ie,ae,ce,le);for(var _e in $){var Ee=$[_e];if(Array.isArray(Ee)){if(_e in N.arrayKeywords){for(var Te=0;Te<Ee.length;Te++)_traverse(E,R,j,Ee[Te],q+"/"+_e+"/"+Te,G,q,_e,$,Te)}}else if(_e in N.propsKeywords){if(Ee&&typeof Ee=="object"){for(var we in Ee)_traverse(E,R,j,Ee[we],q+"/"+_e+"/"+escapeJsonPtr(we),G,q,_e,$,we)}}else if(_e in N.keywords||E.allKeys&&!(_e in N.skipKeywords)){_traverse(E,R,j,Ee,q+"/"+_e,G,q,_e,$)}}j($,q,G,ie,ae,ce,le)}}function escapeJsonPtr(E){return E.replace(/~/g,"~0").replace(/\//g,"~1")}},5278:(E,N,R)=>{const j=R(14465);const $=R(59977);const q={parse:j,stringify:$};E.exports=q},14465:(E,N,R)=>{const j=R(58034);let $;let q;let G;let ie;let ae;let ce;let le;let _e;let Ee;E.exports=function parse(E,N){$=String(E);q="start";G=[];ie=0;ae=1;ce=0;le=undefined;_e=undefined;Ee=undefined;do{le=lex();Be[q]()}while(le.type!=="eof");if(typeof N==="function"){return internalize({"":Ee},"",N)}return Ee};function internalize(E,N,R){const j=E[N];if(j!=null&&typeof j==="object"){for(const E in j){const N=internalize(j,E,R);if(N===undefined){delete j[E]}else{j[E]=N}}}return R.call(E,N,j)}let Te;let we;let Ie;let Ne;let Me;function lex(){Te="default";we="";Ie=false;Ne=1;for(;;){Me=peek();const E=Le[Te]();if(E){return E}}}function peek(){if($[ie]){return String.fromCodePoint($.codePointAt(ie))}}function read(){const E=peek();if(E==="\n"){ae++;ce=0}else if(E){ce+=E.length}else{ce++}if(E){ie+=E.length}return E}const Le={default(){switch(Me){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();Te="comment";return;case undefined:read();return newToken("eof")}if(j.isSpaceSeparator(Me)){read();return}return Le[q]()},comment(){switch(Me){case"*":read();Te="multiLineComment";return;case"/":read();Te="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(Me){case"*":read();Te="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(Me){case"*":read();return;case"/":read();Te="default";return;case undefined:throw invalidChar(read())}read();Te="multiLineComment"},singleLineComment(){switch(Me){case"\n":case"\r":case"\u2028":case"\u2029":read();Te="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(Me){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){Ne=-1}Te="sign";return;case".":we=read();Te="decimalPointLeading";return;case"0":we=read();Te="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":we=read();Te="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":Ie=read()==='"';we="";Te="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(Me!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":break;default:if(!j.isIdStartChar(E)){throw invalidIdentifier()}break}we+=E;Te="identifierName"},identifierName(){switch(Me){case"$":case"_":case"":case"":we+=read();return;case"\\":read();Te="identifierNameEscape";return}if(j.isIdContinueChar(Me)){we+=read();return}return newToken("identifier",we)},identifierNameEscape(){if(Me!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":case"":case"":break;default:if(!j.isIdContinueChar(E)){throw invalidIdentifier()}break}we+=E;Te="identifierName"},sign(){switch(Me){case".":we=read();Te="decimalPointLeading";return;case"0":we=read();Te="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":we=read();Te="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Ne*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(Me){case".":we+=read();Te="decimalPoint";return;case"e":case"E":we+=read();Te="decimalExponent";return;case"x":case"X":we+=read();Te="hexadecimal";return}return newToken("numeric",Ne*0)},decimalInteger(){switch(Me){case".":we+=read();Te="decimalPoint";return;case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},decimalPointLeading(){if(j.isDigit(Me)){we+=read();Te="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(Me){case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();Te="decimalFraction";return}return newToken("numeric",Ne*Number(we))},decimalFraction(){switch(Me){case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},decimalExponent(){switch(Me){case"+":case"-":we+=read();Te="decimalExponentSign";return}if(j.isDigit(Me)){we+=read();Te="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(j.isDigit(Me)){we+=read();Te="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},hexadecimal(){if(j.isHexDigit(Me)){we+=read();Te="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(j.isHexDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},string(){switch(Me){case"\\":read();we+=escape();return;case'"':if(Ie){read();return newToken("string",we)}we+=read();return;case"'":if(!Ie){read();return newToken("string",we)}we+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(Me);break;case undefined:throw invalidChar(read())}we+=read()},start(){switch(Me){case"{":case"[":return newToken("punctuator",read())}Te="value"},beforePropertyName(){switch(Me){case"$":case"_":we=read();Te="identifierName";return;case"\\":read();Te="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":Ie=read()==='"';Te="string";return}if(j.isIdStartChar(Me)){we+=read();Te="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(Me===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){Te="value"},afterPropertyValue(){switch(Me){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(Me==="]"){return newToken("punctuator",read())}Te="value"},afterArrayValue(){switch(Me){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(E,N){return{type:E,value:N,line:ae,column:ce}}function literal(E){for(const N of E){const E=peek();if(E!==N){throw invalidChar(read())}read()}}function escape(){const E=peek();switch(E){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(j.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let E="";let N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read();N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read();return String.fromCodePoint(parseInt(E,16))}function unicodeEscape(){let E="";let N=4;while(N-- >0){const N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read()}return String.fromCodePoint(parseInt(E,16))}const Be={start(){if(le.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(le.type){case"identifier":case"string":_e=le.value;q="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(le.type==="eof"){throw invalidEOF()}q="beforePropertyValue"},beforePropertyValue(){if(le.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(le.type==="eof"){throw invalidEOF()}if(le.type==="punctuator"&&le.value==="]"){pop();return}push()},afterPropertyValue(){if(le.type==="eof"){throw invalidEOF()}switch(le.value){case",":q="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(le.type==="eof"){throw invalidEOF()}switch(le.value){case",":q="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let E;switch(le.type){case"punctuator":switch(le.value){case"{":E={};break;case"[":E=[];break}break;case"null":case"boolean":case"numeric":case"string":E=le.value;break}if(Ee===undefined){Ee=E}else{const N=G[G.length-1];if(Array.isArray(N)){N.push(E)}else{N[_e]=E}}if(E!==null&&typeof E==="object"){G.push(E);if(Array.isArray(E)){q="beforeArrayValue"}else{q="beforePropertyName"}}else{const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}}function pop(){G.pop();const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}function invalidChar(E){if(E===undefined){return syntaxError(`JSON5: invalid end of input at ${ae}:${ce}`)}return syntaxError(`JSON5: invalid character '${formatChar(E)}' at ${ae}:${ce}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${ae}:${ce}`)}function invalidIdentifier(){ce-=5;return syntaxError(`JSON5: invalid identifier character at ${ae}:${ce}`)}function separatorChar(E){console.warn(`JSON5: '${formatChar(E)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(E){const N={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(N[E]){return N[E]}if(E<" "){const N=E.charCodeAt(0).toString(16);return"\\x"+("00"+N).substring(N.length)}return E}function syntaxError(E){const N=new SyntaxError(E);N.lineNumber=ae;N.columnNumber=ce;return N}},59977:(E,N,R)=>{const j=R(58034);E.exports=function stringify(E,N,R){const $=[];let q="";let G;let ie;let ae="";let ce;if(N!=null&&typeof N==="object"&&!Array.isArray(N)){R=N.space;ce=N.quote;N=N.replacer}if(typeof N==="function"){ie=N}else if(Array.isArray(N)){G=[];for(const E of N){let N;if(typeof E==="string"){N=E}else if(typeof E==="number"||E instanceof String||E instanceof Number){N=String(E)}if(N!==undefined&&G.indexOf(N)<0){G.push(N)}}}if(R instanceof Number){R=Number(R)}else if(R instanceof String){R=String(R)}if(typeof R==="number"){if(R>0){R=Math.min(10,Math.floor(R));ae=" ".substr(0,R)}}else if(typeof R==="string"){ae=R.substr(0,10)}return serializeProperty("",{"":E});function serializeProperty(E,N){let R=N[E];if(R!=null){if(typeof R.toJSON5==="function"){R=R.toJSON5(E)}else if(typeof R.toJSON==="function"){R=R.toJSON(E)}}if(ie){R=ie.call(N,E,R)}if(R instanceof Number){R=Number(R)}else if(R instanceof String){R=String(R)}else if(R instanceof Boolean){R=R.valueOf()}switch(R){case null:return"null";case true:return"true";case false:return"false"}if(typeof R==="string"){return quoteString(R,false)}if(typeof R==="number"){return String(R)}if(typeof R==="object"){return Array.isArray(R)?serializeArray(R):serializeObject(R)}return undefined}function quoteString(E){const N={"'":.1,'"':.2};const R={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let $="";for(let q=0;q<E.length;q++){const G=E[q];switch(G){case"'":case'"':N[G]++;$+=G;continue;case"\0":if(j.isDigit(E[q+1])){$+="\\x00";continue}}if(R[G]){$+=R[G];continue}if(G<" "){let E=G.charCodeAt(0).toString(16);$+="\\x"+("00"+E).substring(E.length);continue}$+=G}const q=ce||Object.keys(N).reduce(((E,R)=>N[E]<N[R]?E:R));$=$.replace(new RegExp(q,"g"),R[q]);return q+$+q}function serializeObject(E){if($.indexOf(E)>=0){throw TypeError("Converting circular structure to JSON5")}$.push(E);let N=q;q=q+ae;let R=G||Object.keys(E);let j=[];for(const N of R){const R=serializeProperty(N,E);if(R!==undefined){let E=serializeKey(N)+":";if(ae!==""){E+=" "}E+=R;j.push(E)}}let ie;if(j.length===0){ie="{}"}else{let E;if(ae===""){E=j.join(",");ie="{"+E+"}"}else{let R=",\n"+q;E=j.join(R);ie="{\n"+q+E+",\n"+N+"}"}}$.pop();q=N;return ie}function serializeKey(E){if(E.length===0){return quoteString(E,true)}const N=String.fromCodePoint(E.codePointAt(0));if(!j.isIdStartChar(N)){return quoteString(E,true)}for(let R=N.length;R<E.length;R++){if(!j.isIdContinueChar(String.fromCodePoint(E.codePointAt(R)))){return quoteString(E,true)}}return E}function serializeArray(E){if($.indexOf(E)>=0){throw TypeError("Converting circular structure to JSON5")}$.push(E);let N=q;q=q+ae;let R=[];for(let N=0;N<E.length;N++){const j=serializeProperty(String(N),E);R.push(j!==undefined?j:"null")}let j;if(R.length===0){j="[]"}else{if(ae===""){let E=R.join(",");j="["+E+"]"}else{let E=",\n"+q;let $=R.join(E);j="[\n"+q+$+",\n"+N+"]"}}$.pop();q=N;return j}}},14059:E=>{E.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;E.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;E.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},58034:(E,N,R)=>{const j=R(14059);E.exports={isSpaceSeparator(E){return typeof E==="string"&&j.Space_Separator.test(E)},isIdStartChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E==="$"||E==="_"||j.ID_Start.test(E))},isIdContinueChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E>="0"&&E<="9"||E==="$"||E==="_"||E===""||E===""||j.ID_Continue.test(E))},isDigit(E){return typeof E==="string"&&/[0-9]/.test(E)},isHexDigit(E){return typeof E==="string"&&/[0-9A-Fa-f]/.test(E)}}},11638:E=>{"use strict";class LoadingLoaderError extends Error{constructor(E){super(E);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}E.exports=LoadingLoaderError},60425:(E,N,R)=>{var j=R(57147);var $=j.readFile.bind(j);var q=R(45658);function utf8BufferToString(E){var N=E.toString("utf-8");if(N.charCodeAt(0)===65279){return N.substr(1)}else{return N}}const G=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(E){var N=G.exec(E);return{path:N[1].replace(/\0(.)/g,"$1"),query:N[2]?N[2].replace(/\0(.)/g,"$1"):"",fragment:N[3]||""}}function dirname(E){if(E==="/")return"/";var N=E.lastIndexOf("/");var R=E.lastIndexOf("\\");var j=E.indexOf("/");var $=E.indexOf("\\");var q=N>R?N:R;var G=N>R?j:$;if(q<0)return E;if(q===G)return E.substr(0,q+1);return E.substr(0,q)}function createLoaderObject(E){var N={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(N,"request",{enumerable:true,get:function(){return N.path.replace(/#/g,"\0#")+N.query.replace(/#/g,"\0#")+N.fragment},set:function(E){if(typeof E==="string"){var R=parsePathQueryFragment(E);N.path=R.path;N.query=R.query;N.fragment=R.fragment;N.options=undefined;N.ident=undefined}else{if(!E.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(E)+")");N.path=E.loader;N.fragment=E.fragment||"";N.type=E.type;N.options=E.options;N.ident=E.ident;if(N.options===null)N.query="";else if(N.options===undefined)N.query="";else if(typeof N.options==="string")N.query="?"+N.options;else if(N.ident)N.query="??"+N.ident;else if(typeof N.options==="object"&&N.options.ident)N.query="??"+N.options.ident;else N.query="?"+JSON.stringify(N.options)}}});N.request=E;if(Object.preventExtensions){Object.preventExtensions(N)}return N}function runSyncOrAsync(E,N,R,j){var $=true;var q=false;var G=false;var ie=false;N.async=function async(){if(q){if(ie)return;throw new Error("async(): The callback was already called.")}$=false;return ae};var ae=N.callback=function(){if(q){if(ie)return;throw new Error("callback(): The callback was already called.")}q=true;$=false;try{j.apply(null,arguments)}catch(E){G=true;throw E}};try{var ce=function LOADER_EXECUTION(){return E.apply(N,R)}();if($){q=true;if(ce===undefined)return j();if(ce&&typeof ce==="object"&&typeof ce.then==="function"){return ce.then((function(E){j(null,E)}),j)}return j(null,ce)}}catch(E){if(G)throw E;if(q){if(typeof E==="object"&&E.stack)console.error(E.stack);else console.error(E);return}q=true;ie=true;j(E)}}function convertArgs(E,N){if(!N&&Buffer.isBuffer(E[0]))E[0]=utf8BufferToString(E[0]);else if(N&&typeof E[0]==="string")E[0]=Buffer.from(E[0],"utf-8")}function iteratePitchingLoaders(E,N,R){if(N.loaderIndex>=N.loaders.length)return processResource(E,N,R);var j=N.loaders[N.loaderIndex];if(j.pitchExecuted){N.loaderIndex++;return iteratePitchingLoaders(E,N,R)}q(j,(function($){if($){N.cacheable(false);return R($)}var q=j.pitch;j.pitchExecuted=true;if(!q)return iteratePitchingLoaders(E,N,R);runSyncOrAsync(q,N,[N.remainingRequest,N.previousRequest,j.data={}],(function(j){if(j)return R(j);var $=Array.prototype.slice.call(arguments,1);var q=$.some((function(E){return E!==undefined}));if(q){N.loaderIndex--;iterateNormalLoaders(E,N,$,R)}else{iteratePitchingLoaders(E,N,R)}}))}))}function processResource(E,N,R){N.loaderIndex=N.loaders.length-1;var j=N.resourcePath;if(j){E.processResource(N,j,(function(j,$){if(j)return R(j);E.resourceBuffer=$;iterateNormalLoaders(E,N,[$],R)}))}else{iterateNormalLoaders(E,N,[null],R)}}function iterateNormalLoaders(E,N,R,j){if(N.loaderIndex<0)return j(null,R);var $=N.loaders[N.loaderIndex];if($.normalExecuted){N.loaderIndex--;return iterateNormalLoaders(E,N,R,j)}var q=$.normal;$.normalExecuted=true;if(!q){return iterateNormalLoaders(E,N,R,j)}convertArgs(R,$.raw);runSyncOrAsync(q,N,R,(function(R){if(R)return j(R);var $=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(E,N,$,j)}))}N.getContext=function getContext(E){var N=parsePathQueryFragment(E).path;return dirname(N)};N.runLoaders=function runLoaders(E,N){var R=E.resource||"";var j=E.loaders||[];var q=E.context||{};var G=E.processResource||((E,N,R,j)=>{N.addDependency(R);E(R,j)}).bind(null,E.readResource||$);var ie=R&&parsePathQueryFragment(R);var ae=ie?ie.path:undefined;var ce=ie?ie.query:undefined;var le=ie?ie.fragment:undefined;var _e=ae?dirname(ae):null;var Ee=true;var Te=[];var we=[];var Ie=[];j=j.map(createLoaderObject);q.context=_e;q.loaderIndex=0;q.loaders=j;q.resourcePath=ae;q.resourceQuery=ce;q.resourceFragment=le;q.async=null;q.callback=null;q.cacheable=function cacheable(E){if(E===false){Ee=false}};q.dependency=q.addDependency=function addDependency(E){Te.push(E)};q.addContextDependency=function addContextDependency(E){we.push(E)};q.addMissingDependency=function addMissingDependency(E){Ie.push(E)};q.getDependencies=function getDependencies(){return Te.slice()};q.getContextDependencies=function getContextDependencies(){return we.slice()};q.getMissingDependencies=function getMissingDependencies(){return Ie.slice()};q.clearDependencies=function clearDependencies(){Te.length=0;we.length=0;Ie.length=0;Ee=true};Object.defineProperty(q,"resource",{enumerable:true,get:function(){if(q.resourcePath===undefined)return undefined;return q.resourcePath.replace(/#/g,"\0#")+q.resourceQuery.replace(/#/g,"\0#")+q.resourceFragment},set:function(E){var N=E&&parsePathQueryFragment(E);q.resourcePath=N?N.path:undefined;q.resourceQuery=N?N.query:undefined;q.resourceFragment=N?N.fragment:undefined}});Object.defineProperty(q,"request",{enumerable:true,get:function(){return q.loaders.map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"remainingRequest",{enumerable:true,get:function(){if(q.loaderIndex>=q.loaders.length-1&&!q.resource)return"";return q.loaders.slice(q.loaderIndex+1).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"currentRequest",{enumerable:true,get:function(){return q.loaders.slice(q.loaderIndex).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"previousRequest",{enumerable:true,get:function(){return q.loaders.slice(0,q.loaderIndex).map((function(E){return E.request})).join("!")}});Object.defineProperty(q,"query",{enumerable:true,get:function(){var E=q.loaders[q.loaderIndex];return E.options&&typeof E.options==="object"?E.options:E.query}});Object.defineProperty(q,"data",{enumerable:true,get:function(){return q.loaders[q.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(q)}var Ne={resourceBuffer:null,processResource:G};iteratePitchingLoaders(Ne,q,(function(E,R){if(E){return N(E,{cacheable:Ee,fileDependencies:Te,contextDependencies:we,missingDependencies:Ie})}N(null,{result:R,resourceBuffer:Ne.resourceBuffer,cacheable:Ee,fileDependencies:Te,contextDependencies:we,missingDependencies:Ie})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(57310);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(E){handleResult(loader,E,callback)}),callback);return}catch(E){callback(E)}}else{try{var module=require(loader.path)}catch(E){if(E instanceof Error&&E.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(E)}return handleResult(loader,module,callback)}};function handleResult(E,N,R){if(typeof N!=="function"&&typeof N!=="object"){return R(new LoaderLoadingError("Module '"+E.path+"' is not a loader (export function or es6 module)"))}E.normal=typeof N==="function"?N:N.default;E.pitch=N.pitch;E.raw=N.raw;if(typeof E.normal!=="function"&&typeof E.pitch!=="function"){return R(new LoaderLoadingError("Module '"+E.path+"' is not a loader (must have normal or pitch function)"))}R()}},66559:E=>{"use strict";function getCurrentRequest(E){if(E.currentRequest){return E.currentRequest}const N=E.loaders.slice(E.loaderIndex).map((E=>E.request)).concat([E.resource]);return N.join("!")}E.exports=getCurrentRequest},92669:(E,N,R)=>{"use strict";const j={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(E,N){const $=j[N];if(!$){throw new Error("Unknown encoding base"+N)}const q=E.length;const G=R(82558);G.RM=G.DP=0;let ie=new G(0);for(let N=q-1;N>=0;N--){ie=ie.times(256).plus(E[N])}let ae="";while(ie.gt(0)){ae=$[ie.mod(N)]+ae;ie=ie.div(N)}G.DP=20;G.RM=1;return ae}function getHashDigest(E,N,j,$){N=N||"md4";$=$||9999;const q=R(6113).createHash(N);q.update(E);if(j==="base26"||j==="base32"||j==="base36"||j==="base49"||j==="base52"||j==="base58"||j==="base62"||j==="base64"){return encodeBufferToBase(q.digest(),j.substr(4)).substr(0,$)}else{return q.digest(j||"hex").substr(0,$)}}E.exports=getHashDigest},42245:(E,N,R)=>{"use strict";const j=R(69170);function getOptions(E){const N=E.query;if(typeof N==="string"&&N!==""){return j(E.query)}if(!N||typeof N!=="object"){return{}}return N}E.exports=getOptions},12078:E=>{"use strict";function getRemainingRequest(E){if(E.remainingRequest){return E.remainingRequest}const N=E.loaders.slice(E.loaderIndex+1).map((E=>E.request)).concat([E.resource]);return N.join("!")}E.exports=getRemainingRequest},88244:(E,N,R)=>{"use strict";const j=R(42245);const $=R(69170);const q=R(61412);const G=R(12078);const ie=R(66559);const ae=R(51077);const ce=R(64608);const le=R(5231);const _e=R(92669);const Ee=R(37872);N.getOptions=j;N.parseQuery=$;N.stringifyRequest=q;N.getRemainingRequest=G;N.getCurrentRequest=ie;N.isUrlRequest=ae;N.urlToRequest=ce;N.parseString=le;N.getHashDigest=_e;N.interpolateName=Ee},37872:(E,N,R)=>{"use strict";const j=R(71017);const $=R(31356);const q=R(92669);const G=/[\uD800-\uDFFF]./;const ie=$.filter((E=>G.test(E)));const ae={};function encodeStringToEmoji(E,N){if(ae[E]){return ae[E]}N=N||1;const R=[];do{if(!ie.length){throw new Error("Ran out of emoji")}const E=Math.floor(Math.random()*ie.length);R.push(ie[E]);ie.splice(E,1)}while(--N>0);const j=R.join("");ae[E]=j;return j}function interpolateName(E,N,R){let $;const G=E.resourceQuery&&E.resourceQuery.length>1;if(typeof N==="function"){$=N(E.resourcePath,G?E.resourceQuery:undefined)}else{$=N||"[hash].[ext]"}const ie=R.context;const ae=R.content;const ce=R.regExp;let le="bin";let _e="file";let Ee="";let Te="";let we="";if(E.resourcePath){const N=j.parse(E.resourcePath);let R=E.resourcePath;if(N.ext){le=N.ext.substr(1)}if(N.dir){_e=N.name;R=N.dir+j.sep}if(typeof ie!=="undefined"){Ee=j.relative(ie,R+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");Ee=Ee.substr(0,Ee.length-1)}else{Ee=R.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(Ee.length===1){Ee=""}else if(Ee.length>1){Te=j.basename(Ee)}}if(E.resourceQuery&&E.resourceQuery.length>1){we=E.resourceQuery;const N=we.indexOf("#");if(N>=0){we=we.substr(0,N)}}let Ie=$;if(ae){Ie=Ie.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((E,N,R,j)=>q(ae,N,R,parseInt(j,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((E,N)=>encodeStringToEmoji(ae,parseInt(N,10))))}Ie=Ie.replace(/\[ext\]/gi,(()=>le)).replace(/\[name\]/gi,(()=>_e)).replace(/\[path\]/gi,(()=>Ee)).replace(/\[folder\]/gi,(()=>Te)).replace(/\[query\]/gi,(()=>we));if(ce&&E.resourcePath){const N=E.resourcePath.match(new RegExp(ce));N&&N.forEach(((E,N)=>{Ie=Ie.replace(new RegExp("\\["+N+"\\]","ig"),E)}))}if(typeof E.options==="object"&&typeof E.options.customInterpolateName==="function"){Ie=E.options.customInterpolateName.call(E,Ie,N,R)}return Ie}E.exports=interpolateName},51077:(E,N,R)=>{"use strict";const j=R(71017);function isUrlRequest(E,N){if(/^[a-z][a-z0-9+.-]*:/i.test(E)&&!j.win32.isAbsolute(E)){return false}if(/^\/\//.test(E)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(E)){return false}if((N===undefined||N===false)&&/^\//.test(E)){return false}return true}E.exports=isUrlRequest},69170:(E,N,R)=>{"use strict";const j=R(5278);const $={null:null,true:true,false:false};function parseQuery(E){if(E.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}E=E.substr(1);if(!E){return{}}if(E.substr(0,1)==="{"&&E.substr(-1)==="}"){return j.parse(E)}const N=E.split(/[,&]/g);const R={};N.forEach((E=>{const N=E.indexOf("=");if(N>=0){let j=E.substr(0,N);let q=decodeURIComponent(E.substr(N+1));if($.hasOwnProperty(q)){q=$[q]}if(j.substr(-2)==="[]"){j=decodeURIComponent(j.substr(0,j.length-2));if(!Array.isArray(R[j])){R[j]=[]}R[j].push(q)}else{j=decodeURIComponent(j);R[j]=q}}else{if(E.substr(0,1)==="-"){R[decodeURIComponent(E.substr(1))]=false}else if(E.substr(0,1)==="+"){R[decodeURIComponent(E.substr(1))]=true}else{R[decodeURIComponent(E)]=true}}}));return R}E.exports=parseQuery},5231:E=>{"use strict";function parseString(E){try{if(E[0]==='"'){return JSON.parse(E)}if(E[0]==="'"&&E.substr(E.length-1)==="'"){return parseString(E.replace(/\\.|"/g,(E=>E==='"'?'\\"':E)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+E+'"')}catch(N){return E}}E.exports=parseString},61412:(E,N,R)=>{"use strict";const j=R(71017);const $=/^\.\.?[/\\]/;function isAbsolutePath(E){return j.posix.isAbsolute(E)||j.win32.isAbsolute(E)}function isRelativePath(E){return $.test(E)}function stringifyRequest(E,N){const R=N.split("!");const $=E.context||E.options&&E.options.context;return JSON.stringify(R.map((E=>{const N=E.match(/^(.*?)(\?.*)/);const R=N?N[2]:"";let q=N?N[1]:E;if(isAbsolutePath(q)&&$){q=j.relative($,q);if(isAbsolutePath(q)){return q+R}if(isRelativePath(q)===false){q="./"+q}}return q.replace(/\\/g,"/")+R})).join("!"))}E.exports=stringifyRequest},64608:E=>{"use strict";const N=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(E,R){if(E===""){return""}const j=/^[^?]*~/;let $;if(N.test(E)){$=E}else if(R!==undefined&&R!==false&&/^\//.test(E)){switch(typeof R){case"string":if(j.test(R)){$=R.replace(/([^~/])$/,"$1/")+E.slice(1)}else{$=R+E}break;case"boolean":$=E;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+E+", root = "+R+".")}}else if(/^\.\.?\//.test(E)){$=E}else{$="./"+E}if(j.test($)){$=$.replace(j,"")}return $}E.exports=urlToRequest},82558:function(E){(function(N){"use strict";var R,j=20,$=1,q=1e6,G=1e6,ie=-7,ae=21,ce="[big.js] ",le=ce+"Invalid ",_e=le+"decimal places",Ee=le+"rounding mode",Te=ce+"Division by zero",we={},Ie=void 0,Ne=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(E){var N=this;if(!(N instanceof Big))return E===Ie?_Big_():new Big(E);if(E instanceof Big){N.s=E.s;N.e=E.e;N.c=E.c.slice()}else{parse(N,E)}N.constructor=Big}Big.prototype=we;Big.DP=j;Big.RM=$;Big.NE=ie;Big.PE=ae;Big.version="5.2.2";return Big}function parse(E,N){var R,j,$;if(N===0&&1/N<0)N="-0";else if(!Ne.test(N+=""))throw Error(le+"number");E.s=N.charAt(0)=="-"?(N=N.slice(1),-1):1;if((R=N.indexOf("."))>-1)N=N.replace(".","");if((j=N.search(/e/i))>0){if(R<0)R=j;R+=+N.slice(j+1);N=N.substring(0,j)}else if(R<0){R=N.length}$=N.length;for(j=0;j<$&&N.charAt(j)=="0";)++j;if(j==$){E.c=[E.e=0]}else{for(;$>0&&N.charAt(--$)=="0";);E.e=R-j-1;E.c=[];for(R=0;j<=$;)E.c[R++]=+N.charAt(j++)}return E}function round(E,N,R,j){var $=E.c,q=E.e+N+1;if(q<$.length){if(R===1){j=$[q]>=5}else if(R===2){j=$[q]>5||$[q]==5&&(j||q<0||$[q+1]!==Ie||$[q-1]&1)}else if(R===3){j=j||!!$[0]}else{j=false;if(R!==0)throw Error(Ee)}if(q<1){$.length=1;if(j){E.e=-N;$[0]=1}else{$[0]=E.e=0}}else{$.length=q--;if(j){for(;++$[q]>9;){$[q]=0;if(!q--){++E.e;$.unshift(1)}}}for(q=$.length;!$[--q];)$.pop()}}else if(R<0||R>3||R!==~~R){throw Error(Ee)}return E}function stringify(E,N,R,j){var $,G,ie=E.constructor,ae=!E.c[0];if(R!==Ie){if(R!==~~R||R<(N==3)||R>q){throw Error(N==3?le+"precision":_e)}E=new ie(E);R=j-E.e;if(E.c.length>++j)round(E,R,ie.RM);if(N==2)j=E.e+R+1;for(;E.c.length<j;)E.c.push(0)}$=E.e;G=E.c.join("");R=G.length;if(N!=2&&(N==1||N==3&&j<=$||$<=ie.NE||$>=ie.PE)){G=G.charAt(0)+(R>1?"."+G.slice(1):"")+($<0?"e":"e+")+$}else if($<0){for(;++$;)G="0"+G;G="0."+G}else if($>0){if(++$>R)for($-=R;$--;)G+="0";else if($<R)G=G.slice(0,$)+"."+G.slice($)}else if(R>1){G=G.charAt(0)+"."+G.slice(1)}return E.s<0&&(!ae||N==4)?"-"+G:G}we.abs=function(){var E=new this.constructor(this);E.s=1;return E};we.cmp=function(E){var N,R=this,j=R.c,$=(E=new R.constructor(E)).c,q=R.s,G=E.s,ie=R.e,ae=E.e;if(!j[0]||!$[0])return!j[0]?!$[0]?0:-G:q;if(q!=G)return q;N=q<0;if(ie!=ae)return ie>ae^N?1:-1;G=(ie=j.length)<(ae=$.length)?ie:ae;for(q=-1;++q<G;){if(j[q]!=$[q])return j[q]>$[q]^N?1:-1}return ie==ae?0:ie>ae^N?1:-1};we.div=function(E){var N=this,R=N.constructor,j=N.c,$=(E=new R(E)).c,G=N.s==E.s?1:-1,ie=R.DP;if(ie!==~~ie||ie<0||ie>q)throw Error(_e);if(!$[0])throw Error(Te);if(!j[0])return new R(G*0);var ae,ce,le,Ee,we,Ne=$.slice(),Me=ae=$.length,Le=j.length,Be=j.slice(0,ae),je=Be.length,Ue=E,ze=Ue.c=[],We=0,Je=ie+(Ue.e=N.e-E.e)+1;Ue.s=G;G=Je<0?0:Je;Ne.unshift(0);for(;je++<ae;)Be.push(0);do{for(le=0;le<10;le++){if(ae!=(je=Be.length)){Ee=ae>je?1:-1}else{for(we=-1,Ee=0;++we<ae;){if($[we]!=Be[we]){Ee=$[we]>Be[we]?1:-1;break}}}if(Ee<0){for(ce=je==ae?$:Ne;je;){if(Be[--je]<ce[je]){we=je;for(;we&&!Be[--we];)Be[we]=9;--Be[we];Be[je]+=10}Be[je]-=ce[je]}for(;!Be[0];)Be.shift()}else{break}}ze[We++]=Ee?le:++le;if(Be[0]&&Ee)Be[je]=j[Me]||0;else Be=[j[Me]]}while((Me++<Le||Be[0]!==Ie)&&G--);if(!ze[0]&&We!=1){ze.shift();Ue.e--}if(We>Je)round(Ue,ie,R.RM,Be[0]!==Ie);return Ue};we.eq=function(E){return!this.cmp(E)};we.gt=function(E){return this.cmp(E)>0};we.gte=function(E){return this.cmp(E)>-1};we.lt=function(E){return this.cmp(E)<0};we.lte=function(E){return this.cmp(E)<1};we.minus=we.sub=function(E){var N,R,j,$,q=this,G=q.constructor,ie=q.s,ae=(E=new G(E)).s;if(ie!=ae){E.s=-ae;return q.plus(E)}var ce=q.c.slice(),le=q.e,_e=E.c,Ee=E.e;if(!ce[0]||!_e[0]){return _e[0]?(E.s=-ae,E):new G(ce[0]?q:0)}if(ie=le-Ee){if($=ie<0){ie=-ie;j=ce}else{Ee=le;j=_e}j.reverse();for(ae=ie;ae--;)j.push(0);j.reverse()}else{R=(($=ce.length<_e.length)?ce:_e).length;for(ie=ae=0;ae<R;ae++){if(ce[ae]!=_e[ae]){$=ce[ae]<_e[ae];break}}}if($){j=ce;ce=_e;_e=j;E.s=-E.s}if((ae=(R=_e.length)-(N=ce.length))>0)for(;ae--;)ce[N++]=0;for(ae=N;R>ie;){if(ce[--R]<_e[R]){for(N=R;N&&!ce[--N];)ce[N]=9;--ce[N];ce[R]+=10}ce[R]-=_e[R]}for(;ce[--ae]===0;)ce.pop();for(;ce[0]===0;){ce.shift();--Ee}if(!ce[0]){E.s=1;ce=[Ee=0]}E.c=ce;E.e=Ee;return E};we.mod=function(E){var N,R=this,j=R.constructor,$=R.s,q=(E=new j(E)).s;if(!E.c[0])throw Error(Te);R.s=E.s=1;N=E.cmp(R)==1;R.s=$;E.s=q;if(N)return new j(R);$=j.DP;q=j.RM;j.DP=j.RM=0;R=R.div(E);j.DP=$;j.RM=q;return this.minus(R.times(E))};we.plus=we.add=function(E){var N,R=this,j=R.constructor,$=R.s,q=(E=new j(E)).s;if($!=q){E.s=-q;return R.minus(E)}var G=R.e,ie=R.c,ae=E.e,ce=E.c;if(!ie[0]||!ce[0])return ce[0]?E:new j(ie[0]?R:$*0);ie=ie.slice();if($=G-ae){if($>0){ae=G;N=ce}else{$=-$;N=ie}N.reverse();for(;$--;)N.push(0);N.reverse()}if(ie.length-ce.length<0){N=ce;ce=ie;ie=N}$=ce.length;for(q=0;$;ie[$]%=10)q=(ie[--$]=ie[$]+ce[$]+q)/10|0;if(q){ie.unshift(q);++ae}for($=ie.length;ie[--$]===0;)ie.pop();E.c=ie;E.e=ae;return E};we.pow=function(E){var N=this,R=new N.constructor(1),j=R,$=E<0;if(E!==~~E||E<-G||E>G)throw Error(le+"exponent");if($)E=-E;for(;;){if(E&1)j=j.times(N);E>>=1;if(!E)break;N=N.times(N)}return $?R.div(j):j};we.round=function(E,N){var R=this.constructor;if(E===Ie)E=0;else if(E!==~~E||E<-q||E>q)throw Error(_e);return round(new R(this),E,N===Ie?R.RM:N)};we.sqrt=function(){var E,N,R,j=this,$=j.constructor,q=j.s,G=j.e,ie=new $(.5);if(!j.c[0])return new $(j);if(q<0)throw Error(ce+"No square root");q=Math.sqrt(j+"");if(q===0||q===1/0){N=j.c.join("");if(!(N.length+G&1))N+="0";q=Math.sqrt(N);G=((G+1)/2|0)-(G<0||G&1);E=new $((q==1/0?"1e":(q=q.toExponential()).slice(0,q.indexOf("e")+1))+G)}else{E=new $(q)}G=E.e+($.DP+=4);do{R=E;E=ie.times(R.plus(j.div(R)))}while(R.c.slice(0,G).join("")!==E.c.slice(0,G).join(""));return round(E,$.DP-=4,$.RM)};we.times=we.mul=function(E){var N,R=this,j=R.constructor,$=R.c,q=(E=new j(E)).c,G=$.length,ie=q.length,ae=R.e,ce=E.e;E.s=R.s==E.s?1:-1;if(!$[0]||!q[0])return new j(E.s*0);E.e=ae+ce;if(G<ie){N=$;$=q;q=N;ce=G;G=ie;ie=ce}for(N=new Array(ce=G+ie);ce--;)N[ce]=0;for(ae=ie;ae--;){ie=0;for(ce=G+ae;ce>ae;){ie=N[ce]+q[ae]*$[ce-ae-1]+ie;N[ce--]=ie%10;ie=ie/10|0}N[ce]=(N[ce]+ie)%10}if(ie)++E.e;else N.shift();for(ae=N.length;!N[--ae];)N.pop();E.c=N;return E};we.toExponential=function(E){return stringify(this,1,E,E)};we.toFixed=function(E){return stringify(this,2,E,this.e+E)};we.toPrecision=function(E){return stringify(this,3,E,E-1)};we.toString=function(){return stringify(this)};we.valueOf=we.toJSON=function(){return stringify(this,4)};R=_Big_();R["default"]=R.Big=R;if(typeof define==="function"&&define.amd){define((function(){return R}))}else if(true&&E.exports){E.exports=R}else{N.Big=R}})(this)},89987:(E,N,R)=>{"use strict";const j=R(48333);const $=/^[A-Z]:([\\\/]|$)/i;const q=/^\//i;E.exports=function join(E,N){if(!N)return j(E);if($.test(N))return j(N.replace(/\//g,"\\"));if(q.test(N))return j(N);if(E=="/")return j(E+N);if($.test(E))return j(E.replace(/\//g,"\\")+"\\"+N.replace(/\//g,"\\"));if(q.test(E))return j(E+"/"+N);return j(E+"/"+N)}},48333:E=>{"use strict";E.exports=function normalize(E){var N=E.split(/(\\+|\/+)/);if(N.length===1)return E;var R=[];var j=0;for(var $=0,q=false;$<N.length;$+=1,q=!q){var G=N[$];if($===0&&/^([A-Z]:)?$/i.test(G)){R.push(G);j=2}else if(q){if($===1&&N[0].length===0&&G==="\\\\"){R.push(G)}else{R.push(G[0])}}else if(G===".."){switch(R.length){case 0:R.push(G);break;case 2:if(R[0]!=="."){$+=1;q=!q;R.length=j}else{R.length=0;R.push(G)}break;case 4:if(j===0){R.length-=3}else{$+=1;q=!q;R.length=2}break;default:R.length-=3;break}}else if(G==="."){switch(R.length){case 0:R.push(G);break;case 2:if(j===0){R.length-=1}else{$+=1;q=!q}break;default:R.length-=1;break}}else if(G){R.push(G)}}if(R.length===1&&/^[A-Za-z]:$/.test(R[0]))return R[0]+"\\";return R.join("")}},33089:(E,N,R)=>{"use strict";const{PassThrough:j}=R(12781);E.exports=function(){var E=[];var N=new j({objectMode:true});N.setMaxListeners(0);N.add=add;N.isEmpty=isEmpty;N.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return N;function add(R){if(Array.isArray(R)){R.forEach(add);return this}E.push(R);R.once("end",remove.bind(null,R));R.once("error",N.emit.bind(N,"error"));R.pipe(N,{end:false});return this}function isEmpty(){return E.length==0}function remove(R){E=E.filter((function(E){return E!==R}));if(!E.length&&N.readable){N.end()}}}},22198:(E,N,R)=>{
/*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
* MIT Licensed
*/
E.exports=R(53765)},50007:(E,N,R)=>{"use strict";
/*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/var j=R(22198);var $=R(71017).extname;var q=/^\s*([^;\s]*)(?:;|\s|$)/;var G=/^text\//i;N.charset=charset;N.charsets={lookup:charset};N.contentType=contentType;N.extension=extension;N.extensions=Object.create(null);N.lookup=lookup;N.types=Object.create(null);populateMaps(N.extensions,N.types);function charset(E){if(!E||typeof E!=="string"){return false}var N=q.exec(E);var R=N&&j[N[1].toLowerCase()];if(R&&R.charset){return R.charset}if(N&&G.test(N[1])){return"UTF-8"}return false}function contentType(E){if(!E||typeof E!=="string"){return false}var R=E.indexOf("/")===-1?N.lookup(E):E;if(!R){return false}if(R.indexOf("charset")===-1){var j=N.charset(R);if(j)R+="; charset="+j.toLowerCase()}return R}function extension(E){if(!E||typeof E!=="string"){return false}var R=q.exec(E);var j=R&&N.extensions[R[1].toLowerCase()];if(!j||!j.length){return false}return j[0]}function lookup(E){if(!E||typeof E!=="string"){return false}var R=$("x."+E).toLowerCase().substr(1);if(!R){return false}return N.types[R]||false}function populateMaps(E,N){var R=["nginx","apache",undefined,"iana"];Object.keys(j).forEach((function forEachMimeType($){var q=j[$];var G=q.extensions;if(!G||!G.length){return}E[$]=G;for(var ie=0;ie<G.length;ie++){var ae=G[ie];if(N[ae]){var ce=R.indexOf(j[N[ae]].source);var le=R.indexOf(q.source);if(N[ae]!=="application/octet-stream"&&(ce>le||ce===le&&N[ae].substr(0,12)==="application/")){continue}}N[ae]=$}}))}},62355:function(E,N){(function(E,R){"use strict";true?R(N):0})(this,(function(E){"use strict";var N=function noop(){};var R=function throwError(){throw new Error("Callback was already called.")};var j=5;var $=0;var q="object";var G="function";var ie=Array.isArray;var ae=Object.keys;var ce=Array.prototype.push;var le=typeof Symbol===G&&Symbol.iterator;var _e,Ee,Te;createImmediate();var we=createEach(arrayEach,baseEach,symbolEach);var Ie=createMap(arrayEachIndex,baseEachIndex,symbolEachIndex,true);var Ne=createMap(arrayEachIndex,baseEachKey,symbolEachKey,false);var Me=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,true);var Le=createFilterSeries(true);var Be=createFilterLimit(true);var je=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,false);var Ue=createFilterSeries(false);var ze=createFilterLimit(false);var We=createDetect(arrayEachValue,baseEachValue,symbolEachValue,true);var Je=createDetectSeries(true);var Ve=createDetectLimit(true);var qe=createEvery(arrayEachValue,baseEachValue,symbolEachValue);var He=createEverySeries();var Ge=createEveryLimit();var Ke=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,true);var Qe=createPickSeries(true);var Xe=createPickLimit(true);var Ye=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,false);var Ze=createPickSeries(false);var et=createPickLimit(false);var tt=createTransform(arrayEachResult,baseEachResult,symbolEachResult);var rt=createSortBy(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue);var nt=createConcat(arrayEachIndex,baseEachIndex,symbolEachIndex);var it=createGroupBy(arrayEachValue,baseEachValue,symbolEachValue);var ot=createParallel(arrayEachFunc,baseEachFunc);var st=createApplyEach(Ie);var ct=createApplyEach(mapSeries);var ut=createLogger("log");var dt=createLogger("dir");var pt={VERSION:"2.6.2",each:we,eachSeries:eachSeries,eachLimit:eachLimit,forEach:we,forEachSeries:eachSeries,forEachLimit:eachLimit,eachOf:we,eachOfSeries:eachSeries,eachOfLimit:eachLimit,forEachOf:we,forEachOfSeries:eachSeries,forEachOfLimit:eachLimit,map:Ie,mapSeries:mapSeries,mapLimit:mapLimit,mapValues:Ne,mapValuesSeries:mapValuesSeries,mapValuesLimit:mapValuesLimit,filter:Me,filterSeries:Le,filterLimit:Be,select:Me,selectSeries:Le,selectLimit:Be,reject:je,rejectSeries:Ue,rejectLimit:ze,detect:We,detectSeries:Je,detectLimit:Ve,find:We,findSeries:Je,findLimit:Ve,pick:Ke,pickSeries:Qe,pickLimit:Xe,omit:Ye,omitSeries:Ze,omitLimit:et,reduce:reduce,inject:reduce,foldl:reduce,reduceRight:reduceRight,foldr:reduceRight,transform:tt,transformSeries:transformSeries,transformLimit:transformLimit,sortBy:rt,sortBySeries:sortBySeries,sortByLimit:sortByLimit,some:some,someSeries:someSeries,someLimit:someLimit,any:some,anySeries:someSeries,anyLimit:someLimit,every:qe,everySeries:He,everyLimit:Ge,all:qe,allSeries:He,allLimit:Ge,concat:nt,concatSeries:concatSeries,concatLimit:concatLimit,groupBy:it,groupBySeries:groupBySeries,groupByLimit:groupByLimit,parallel:ot,series:series,parallelLimit:parallelLimit,tryEach:tryEach,waterfall:waterfall,angelFall:angelFall,angelfall:angelFall,whilst:whilst,doWhilst:doWhilst,until:until,doUntil:doUntil,during:during,doDuring:doDuring,forever:forever,compose:compose,seq:seq,applyEach:st,applyEachSeries:ct,queue:queue,priorityQueue:priorityQueue,cargo:cargo,auto:auto,autoInject:autoInject,retry:retry,retryable:retryable,iterator:iterator,times:times,timesSeries:timesSeries,timesLimit:timesLimit,race:race,apply:apply,nextTick:Ee,setImmediate:Te,memoize:memoize,unmemoize:unmemoize,ensureAsync:ensureAsync,constant:constant,asyncify:asyncify,wrapSync:asyncify,log:ut,dir:dt,reflect:reflect,reflectAll:reflectAll,timeout:timeout,createLogger:createLogger,safe:safe,fast:fast};E["default"]=pt;baseEachSync(pt,(function(N,R){E[R]=N}),ae(pt));function createImmediate(E){var N=function delay(E){var N=slice(arguments,1);setTimeout((function(){E.apply(null,N)}))};Te=typeof setImmediate===G?setImmediate:N;if(typeof process===q&&typeof process.nextTick===G){_e=/^v0.10/.test(process.version)?Te:process.nextTick;Ee=/^v0/.test(process.version)?Te:process.nextTick}else{Ee=_e=Te}if(E===false){_e=function(E){E()}}}function createArray(E){var N=-1;var R=E.length;var j=Array(R);while(++N<R){j[N]=E[N]}return j}function slice(E,N){var R=E.length;var j=-1;var $=R-N;if($<=0){return[]}var q=Array($);while(++j<$){q[j]=E[j+N]}return q}function objectClone(E){var N=ae(E);var R=N.length;var j=-1;var $={};while(++j<R){var q=N[j];$[q]=E[q]}return $}function compact(E){var N=-1;var R=E.length;var j=[];while(++N<R){var $=E[N];if($){j[j.length]=$}}return j}function reverse(E){var N=-1;var R=E.length;var j=Array(R);var $=R;while(++N<R){j[--$]=E[N]}return j}function has(E,N){return E.hasOwnProperty(N)}function notInclude(E,N){var R=-1;var j=E.length;while(++R<j){if(E[R]===N){return false}}return true}function arrayEachSync(E,N){var R=-1;var j=E.length;while(++R<j){N(E[R],R)}return E}function baseEachSync(E,N,R){var j=-1;var $=R.length;while(++j<$){var q=R[j];N(E[q],q)}return E}function timesSync(E,N){var R=-1;while(++R<E){N(R)}}function sortByCriteria(E,N){var R=E.length;var j=Array(R);var $;for($=0;$<R;$++){j[$]=$}quickSort(N,0,R-1,j);var q=Array(R);for(var G=0;G<R;G++){$=j[G];q[G]=$===undefined?E[G]:E[$]}return q}function partition(E,N,R,j,$){var q=N;var G=R;while(q<=G){N=q;while(q<G&&E[q]<j){q++}while(G>=N&&E[G]>=j){G--}if(q>G){break}swap(E,$,q++,G--)}return q}function swap(E,N,R,j){var $=E[R];E[R]=E[j];E[j]=$;var q=N[R];N[R]=N[j];N[j]=q}function quickSort(E,N,R,j){if(N===R){return}var $=N;while(++$<=R&&E[N]===E[$]){var q=$-1;if(j[q]>j[$]){var G=j[q];j[q]=j[$];j[$]=G}}if($>R){return}var ie=E[N]>E[$]?N:$;$=partition(E,N,R,E[ie],j);quickSort(E,N,$-1,j);quickSort(E,$,R,j)}function makeConcatResult(E){var R=[];arrayEachSync(E,(function(E){if(E===N){return}if(ie(E)){ce.apply(R,E)}else{R.push(E)}}));return R}function arrayEach(E,N,R){var j=-1;var $=E.length;if(N.length===3){while(++j<$){N(E[j],j,onlyOnce(R))}}else{while(++j<$){N(E[j],onlyOnce(R))}}}function baseEach(E,N,R,j){var $;var q=-1;var G=j.length;if(N.length===3){while(++q<G){$=j[q];N(E[$],$,onlyOnce(R))}}else{while(++q<G){N(E[j[q]],onlyOnce(R))}}}function symbolEach(E,N,R){var j=E[le]();var $=0;var q;if(N.length===3){while((q=j.next()).done===false){N(q.value,$++,onlyOnce(R))}}else{while((q=j.next()).done===false){$++;N(q.value,onlyOnce(R))}}return $}function arrayEachResult(E,N,R,j){var $=-1;var q=E.length;if(R.length===4){while(++$<q){R(N,E[$],$,onlyOnce(j))}}else{while(++$<q){R(N,E[$],onlyOnce(j))}}}function baseEachResult(E,N,R,j,$){var q;var G=-1;var ie=$.length;if(R.length===4){while(++G<ie){q=$[G];R(N,E[q],q,onlyOnce(j))}}else{while(++G<ie){R(N,E[$[G]],onlyOnce(j))}}}function symbolEachResult(E,N,R,j){var $;var q=0;var G=E[le]();if(R.length===4){while(($=G.next()).done===false){R(N,$.value,q++,onlyOnce(j))}}else{while(($=G.next()).done===false){q++;R(N,$.value,onlyOnce(j))}}return q}function arrayEachFunc(E,N){var R=-1;var j=E.length;while(++R<j){E[R](N(R))}}function baseEachFunc(E,N,R){var j;var $=-1;var q=R.length;while(++$<q){j=R[$];E[j](N(j))}}function arrayEachIndex(E,N,R){var j=-1;var $=E.length;if(N.length===3){while(++j<$){N(E[j],j,R(j))}}else{while(++j<$){N(E[j],R(j))}}}function baseEachIndex(E,N,R,j){var $;var q=-1;var G=j.length;if(N.length===3){while(++q<G){$=j[q];N(E[$],$,R(q))}}else{while(++q<G){N(E[j[q]],R(q))}}}function symbolEachIndex(E,N,R){var j;var $=0;var q=E[le]();if(N.length===3){while((j=q.next()).done===false){N(j.value,$,R($++))}}else{while((j=q.next()).done===false){N(j.value,R($++))}}return $}function baseEachKey(E,N,R,j){var $;var q=-1;var G=j.length;if(N.length===3){while(++q<G){$=j[q];N(E[$],$,R($))}}else{while(++q<G){$=j[q];N(E[$],R($))}}}function symbolEachKey(E,N,R){var j;var $=0;var q=E[le]();if(N.length===3){while((j=q.next()).done===false){N(j.value,$,R($++))}}else{while((j=q.next()).done===false){N(j.value,R($++))}}return $}function arrayEachValue(E,N,R){var j;var $=-1;var q=E.length;if(N.length===3){while(++$<q){j=E[$];N(j,$,R(j))}}else{while(++$<q){j=E[$];N(j,R(j))}}}function baseEachValue(E,N,R,j){var $,q;var G=-1;var ie=j.length;if(N.length===3){while(++G<ie){$=j[G];q=E[$];N(q,$,R(q))}}else{while(++G<ie){q=E[j[G]];N(q,R(q))}}}function symbolEachValue(E,N,R){var j,$;var q=0;var G=E[le]();if(N.length===3){while(($=G.next()).done===false){j=$.value;N(j,q++,R(j))}}else{while(($=G.next()).done===false){q++;j=$.value;N(j,R(j))}}return q}function arrayEachIndexValue(E,N,R){var j;var $=-1;var q=E.length;if(N.length===3){while(++$<q){j=E[$];N(j,$,R($,j))}}else{while(++$<q){j=E[$];N(j,R($,j))}}}function baseEachIndexValue(E,N,R,j){var $,q;var G=-1;var ie=j.length;if(N.length===3){while(++G<ie){$=j[G];q=E[$];N(q,$,R(G,q))}}else{while(++G<ie){q=E[j[G]];N(q,R(G,q))}}}function symbolEachIndexValue(E,N,R){var j,$;var q=0;var G=E[le]();if(N.length===3){while(($=G.next()).done===false){j=$.value;N(j,q,R(q++,j))}}else{while(($=G.next()).done===false){j=$.value;N(j,R(q++,j))}}return q}function baseEachKeyValue(E,N,R,j){var $,q;var G=-1;var ie=j.length;if(N.length===3){while(++G<ie){$=j[G];q=E[$];N(q,$,R($,q))}}else{while(++G<ie){$=j[G];q=E[$];N(q,R($,q))}}}function symbolEachKeyValue(E,N,R){var j,$;var q=0;var G=E[le]();if(N.length===3){while(($=G.next()).done===false){j=$.value;N(j,q,R(q++,j))}}else{while(($=G.next()).done===false){j=$.value;N(j,R(q++,j))}}return q}function onlyOnce(E){return function(N,j){var $=E;E=R;$(N,j)}}function once(E){return function(R,j){var $=E;E=N;$(R,j)}}function createEach(E,R,j){return function each($,G,ce){ce=once(ce||N);var _e,Ee;var Te=0;if(ie($)){_e=$.length;E($,G,done)}else if(!$){}else if(le&&$[le]){_e=j($,G,done);_e&&_e===Te&&ce(null)}else if(typeof $===q){Ee=ae($);_e=Ee.length;R($,G,done,Ee)}if(!_e){ce(null)}function done(E,N){if(E){ce=once(ce);ce(E)}else if(++Te===_e){ce(null)}else if(N===false){ce=once(ce);ce(null)}}}}function createMap(E,j,$,G){var ce,_e;if(G){ce=Array;_e=createArray}else{ce=function(){return{}};_e=objectClone}return function(G,Ee,Te){Te=Te||N;var we,Ie,Ne;var Me=0;if(ie(G)){we=G.length;Ne=ce(we);E(G,Ee,createCallback)}else if(!G){}else if(le&&G[le]){Ne=ce(0);we=$(G,Ee,createCallback);we&&we===Me&&Te(null,Ne)}else if(typeof G===q){Ie=ae(G);we=Ie.length;Ne=ce(we);j(G,Ee,createCallback,Ie)}if(!we){Te(null,ce())}function createCallback(E){return function done(N,j){if(E===null){R()}if(N){E=null;Te=once(Te);Te(N,_e(Ne));return}Ne[E]=j;E=null;if(++Me===we){Te(null,Ne)}}}}}function createFilter(E,j,$,G){return function(ce,_e,Ee){Ee=Ee||N;var Te,we,Ie;var Ne=0;if(ie(ce)){Te=ce.length;Ie=Array(Te);E(ce,_e,createCallback)}else if(!ce){}else if(le&&ce[le]){Ie=[];Te=$(ce,_e,createCallback);Te&&Te===Ne&&Ee(null,compact(Ie))}else if(typeof ce===q){we=ae(ce);Te=we.length;Ie=Array(Te);j(ce,_e,createCallback,we)}if(!Te){return Ee(null,[])}function createCallback(E,N){return function done(j,$){if(E===null){R()}if(j){E=null;Ee=once(Ee);Ee(j);return}if(!!$===G){Ie[E]=N}E=null;if(++Ne===Te){Ee(null,compact(Ie))}}}}}function createFilterSeries(E){return function(j,$,G){G=onlyOnce(G||N);var ce,Ee,Te,we,Ie,Ne,Me;var Le=false;var Be=0;var je=[];if(ie(j)){ce=j.length;Me=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!j){}else if(le&&j[le]){ce=Infinity;Ie=j[le]();Me=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof j===q){we=ae(j);ce=we.length;Me=$.length===3?objectIteratorWithKey:objectIterator}if(!ce){return G(null,[])}Me();function arrayIterator(){Te=j[Be];$(Te,done)}function arrayIteratorWithIndex(){Te=j[Be];$(Te,Be,done)}function symbolIterator(){Ne=Ie.next();Te=Ne.value;Ne.done?G(null,je):$(Te,done)}function symbolIteratorWithKey(){Ne=Ie.next();Te=Ne.value;Ne.done?G(null,je):$(Te,Be,done)}function objectIterator(){Ee=we[Be];Te=j[Ee];$(Te,done)}function objectIteratorWithKey(){Ee=we[Be];Te=j[Ee];$(Te,Ee,done)}function done(N,j){if(N){G(N);return}if(!!j===E){je[je.length]=Te}if(++Be===ce){Me=R;G(null,je)}else if(Le){_e(Me)}else{Le=true;Me()}Le=false}}}function createFilterLimit(E){return function(j,$,G,ce){ce=ce||N;var Ee,Te,we,Ie,Ne,Me,Le,Be,je;var Ue=false;var ze=0;var We=0;if(ie(j)){Ee=j.length;Be=G.length===3?arrayIteratorWithIndex:arrayIterator}else if(!j){}else if(le&&j[le]){Ee=Infinity;je=[];Me=j[le]();Be=G.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof j===q){Ne=ae(j);Ee=Ne.length;Be=G.length===3?objectIteratorWithKey:objectIterator}if(!Ee||isNaN($)||$<1){return ce(null,[])}je=je||Array(Ee);timesSync($>Ee?Ee:$,Be);function arrayIterator(){Te=ze++;if(Te<Ee){Ie=j[Te];G(Ie,createCallback(Ie,Te))}}function arrayIteratorWithIndex(){Te=ze++;if(Te<Ee){Ie=j[Te];G(Ie,Te,createCallback(Ie,Te))}}function symbolIterator(){Le=Me.next();if(Le.done===false){Ie=Le.value;G(Ie,createCallback(Ie,ze++))}else if(We===ze&&G!==N){G=N;ce(null,compact(je))}}function symbolIteratorWithKey(){Le=Me.next();if(Le.done===false){Ie=Le.value;G(Ie,ze,createCallback(Ie,ze++))}else if(We===ze&&G!==N){G=N;ce(null,compact(je))}}function objectIterator(){Te=ze++;if(Te<Ee){Ie=j[Ne[Te]];G(Ie,createCallback(Ie,Te))}}function objectIteratorWithKey(){Te=ze++;if(Te<Ee){we=Ne[Te];Ie=j[we];G(Ie,we,createCallback(Ie,Te))}}function createCallback(j,$){return function(q,G){if($===null){R()}if(q){$=null;Be=N;ce=once(ce);ce(q);return}if(!!G===E){je[$]=j}$=null;if(++We===Ee){ce=onlyOnce(ce);ce(null,compact(je))}else if(Ue){_e(Be)}else{Ue=true;Be()}Ue=false}}}}function eachSeries(E,j,$){$=onlyOnce($||N);var G,ce,Ee,Te,we,Ie;var Ne=false;var Me=0;if(ie(E)){G=E.length;Ie=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){G=Infinity;Te=E[le]();Ie=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Ee=ae(E);G=Ee.length;Ie=j.length===3?objectIteratorWithKey:objectIterator}if(!G){return $(null)}Ie();function arrayIterator(){j(E[Me],done)}function arrayIteratorWithIndex(){j(E[Me],Me,done)}function symbolIterator(){we=Te.next();we.done?$(null):j(we.value,done)}function symbolIteratorWithKey(){we=Te.next();we.done?$(null):j(we.value,Me,done)}function objectIterator(){j(E[Ee[Me]],done)}function objectIteratorWithKey(){ce=Ee[Me];j(E[ce],ce,done)}function done(E,N){if(E){$(E)}else if(++Me===G||N===false){Ie=R;$(null)}else if(Ne){_e(Ie)}else{Ne=true;Ie()}Ne=false}}function eachLimit(E,j,$,G){G=G||N;var ce,Ee,Te,we,Ie,Ne,Me;var Le=false;var Be=0;var je=0;if(ie(E)){ce=E.length;Me=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Ie=E[le]();Me=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){we=ae(E);ce=we.length;Me=$.length===3?objectIteratorWithKey:objectIterator}else{return G(null)}if(!ce||isNaN(j)||j<1){return G(null)}timesSync(j>ce?ce:j,Me);function arrayIterator(){if(Be<ce){$(E[Be++],done)}}function arrayIteratorWithIndex(){Ee=Be++;if(Ee<ce){$(E[Ee],Ee,done)}}function symbolIterator(){Ne=Ie.next();if(Ne.done===false){Be++;$(Ne.value,done)}else if(je===Be&&$!==N){$=N;G(null)}}function symbolIteratorWithKey(){Ne=Ie.next();if(Ne.done===false){$(Ne.value,Be++,done)}else if(je===Be&&$!==N){$=N;G(null)}}function objectIterator(){if(Be<ce){$(E[we[Be++]],done)}}function objectIteratorWithKey(){Ee=Be++;if(Ee<ce){Te=we[Ee];$(E[Te],Te,done)}}function done(E,j){if(E||j===false){Me=N;G=once(G);G(E)}else if(++je===ce){$=N;Me=R;G=onlyOnce(G);G(null)}else if(Le){_e(Me)}else{Le=true;Me()}Le=false}}function mapSeries(E,j,$){$=$||N;var G,ce,Ee,Te,we,Ie,Ne;var Me=false;var Le=0;if(ie(E)){G=E.length;Ne=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){G=Infinity;Ie=[];Te=E[le]();Ne=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Ee=ae(E);G=Ee.length;Ne=j.length===3?objectIteratorWithKey:objectIterator}if(!G){return $(null,[])}Ie=Ie||Array(G);Ne();function arrayIterator(){j(E[Le],done)}function arrayIteratorWithIndex(){j(E[Le],Le,done)}function symbolIterator(){we=Te.next();we.done?$(null,Ie):j(we.value,done)}function symbolIteratorWithKey(){we=Te.next();we.done?$(null,Ie):j(we.value,Le,done)}function objectIterator(){j(E[Ee[Le]],done)}function objectIteratorWithKey(){ce=Ee[Le];j(E[ce],ce,done)}function done(E,N){if(E){Ne=R;$=onlyOnce($);$(E,createArray(Ie));return}Ie[Le]=N;if(++Le===G){Ne=R;$(null,Ie);$=R}else if(Me){_e(Ne)}else{Me=true;Ne()}Me=false}}function mapLimit(E,j,$,G){G=G||N;var ce,Ee,Te,we,Ie,Ne,Me,Le;var Be=false;var je=0;var Ue=0;if(ie(E)){ce=E.length;Le=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Me=[];Ie=E[le]();Le=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){we=ae(E);ce=we.length;Le=$.length===3?objectIteratorWithKey:objectIterator}if(!ce||isNaN(j)||j<1){return G(null,[])}Me=Me||Array(ce);timesSync(j>ce?ce:j,Le);function arrayIterator(){Ee=je++;if(Ee<ce){$(E[Ee],createCallback(Ee))}}function arrayIteratorWithIndex(){Ee=je++;if(Ee<ce){$(E[Ee],Ee,createCallback(Ee))}}function symbolIterator(){Ne=Ie.next();if(Ne.done===false){$(Ne.value,createCallback(je++))}else if(Ue===je&&$!==N){$=N;G(null,Me)}}function symbolIteratorWithKey(){Ne=Ie.next();if(Ne.done===false){$(Ne.value,je,createCallback(je++))}else if(Ue===je&&$!==N){$=N;G(null,Me)}}function objectIterator(){Ee=je++;if(Ee<ce){$(E[we[Ee]],createCallback(Ee))}}function objectIteratorWithKey(){Ee=je++;if(Ee<ce){Te=we[Ee];$(E[Te],Te,createCallback(Ee))}}function createCallback(E){return function(j,$){if(E===null){R()}if(j){E=null;Le=N;G=once(G);G(j,createArray(Me));return}Me[E]=$;E=null;if(++Ue===ce){Le=R;G(null,Me);G=R}else if(Be){_e(Le)}else{Be=true;Le()}Be=false}}}function mapValuesSeries(E,j,$){$=$||N;var G,ce,Ee,Te,we,Ie;var Ne=false;var Me={};var Le=0;if(ie(E)){G=E.length;Ie=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){G=Infinity;Te=E[le]();Ie=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Ee=ae(E);G=Ee.length;Ie=j.length===3?objectIteratorWithKey:objectIterator}if(!G){return $(null,Me)}Ie();function arrayIterator(){ce=Le;j(E[Le],done)}function arrayIteratorWithIndex(){ce=Le;j(E[Le],Le,done)}function symbolIterator(){ce=Le;we=Te.next();we.done?$(null,Me):j(we.value,done)}function symbolIteratorWithKey(){ce=Le;we=Te.next();we.done?$(null,Me):j(we.value,Le,done)}function objectIterator(){ce=Ee[Le];j(E[ce],done)}function objectIteratorWithKey(){ce=Ee[Le];j(E[ce],ce,done)}function done(E,N){if(E){Ie=R;$=onlyOnce($);$(E,objectClone(Me));return}Me[ce]=N;if(++Le===G){Ie=R;$(null,Me);$=R}else if(Ne){_e(Ie)}else{Ne=true;Ie()}Ne=false}}function mapValuesLimit(E,j,$,G){G=G||N;var ce,Ee,Te,we,Ie,Ne,Me;var Le=false;var Be={};var je=0;var Ue=0;if(ie(E)){ce=E.length;Me=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Ie=E[le]();Me=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){we=ae(E);ce=we.length;Me=$.length===3?objectIteratorWithKey:objectIterator}if(!ce||isNaN(j)||j<1){return G(null,Be)}timesSync(j>ce?ce:j,Me);function arrayIterator(){Ee=je++;if(Ee<ce){$(E[Ee],createCallback(Ee))}}function arrayIteratorWithIndex(){Ee=je++;if(Ee<ce){$(E[Ee],Ee,createCallback(Ee))}}function symbolIterator(){Ne=Ie.next();if(Ne.done===false){$(Ne.value,createCallback(je++))}else if(Ue===je&&$!==N){$=N;G(null,Be)}}function symbolIteratorWithKey(){Ne=Ie.next();if(Ne.done===false){$(Ne.value,je,createCallback(je++))}else if(Ue===je&&$!==N){$=N;G(null,Be)}}function objectIterator(){Ee=je++;if(Ee<ce){Te=we[Ee];$(E[Te],createCallback(Te))}}function objectIteratorWithKey(){Ee=je++;if(Ee<ce){Te=we[Ee];$(E[Te],Te,createCallback(Te))}}function createCallback(E){return function(j,$){if(E===null){R()}if(j){E=null;Me=N;G=once(G);G(j,objectClone(Be));return}Be[E]=$;E=null;if(++Ue===ce){G(null,Be)}else if(Le){_e(Me)}else{Le=true;Me()}Le=false}}}function createDetect(E,j,$,G){return function(ce,_e,Ee){Ee=Ee||N;var Te,we;var Ie=0;if(ie(ce)){Te=ce.length;E(ce,_e,createCallback)}else if(!ce){}else if(le&&ce[le]){Te=$(ce,_e,createCallback);Te&&Te===Ie&&Ee(null)}else if(typeof ce===q){we=ae(ce);Te=we.length;j(ce,_e,createCallback,we)}if(!Te){Ee(null)}function createCallback(E){var N=false;return function done(j,$){if(N){R()}N=true;if(j){Ee=once(Ee);Ee(j)}else if(!!$===G){Ee=once(Ee);Ee(null,E)}else if(++Ie===Te){Ee(null)}}}}}function createDetectSeries(E){return function(j,$,G){G=onlyOnce(G||N);var ce,Ee,Te,we,Ie,Ne,Me;var Le=false;var Be=0;if(ie(j)){ce=j.length;Me=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!j){}else if(le&&j[le]){ce=Infinity;Ie=j[le]();Me=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof j===q){we=ae(j);ce=we.length;Me=$.length===3?objectIteratorWithKey:objectIterator}if(!ce){return G(null)}Me();function arrayIterator(){Te=j[Be];$(Te,done)}function arrayIteratorWithIndex(){Te=j[Be];$(Te,Be,done)}function symbolIterator(){Ne=Ie.next();Te=Ne.value;Ne.done?G(null):$(Te,done)}function symbolIteratorWithKey(){Ne=Ie.next();Te=Ne.value;Ne.done?G(null):$(Te,Be,done)}function objectIterator(){Te=j[we[Be]];$(Te,done)}function objectIteratorWithKey(){Ee=we[Be];Te=j[Ee];$(Te,Ee,done)}function done(N,j){if(N){G(N)}else if(!!j===E){Me=R;G(null,Te)}else if(++Be===ce){Me=R;G(null)}else if(Le){_e(Me)}else{Le=true;Me()}Le=false}}}function createDetectLimit(E){return function(j,$,G,ce){ce=ce||N;var Ee,Te,we,Ie,Ne,Me,Le,Be;var je=false;var Ue=0;var ze=0;if(ie(j)){Ee=j.length;Be=G.length===3?arrayIteratorWithIndex:arrayIterator}else if(!j){}else if(le&&j[le]){Ee=Infinity;Me=j[le]();Be=G.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof j===q){Ne=ae(j);Ee=Ne.length;Be=G.length===3?objectIteratorWithKey:objectIterator}if(!Ee||isNaN($)||$<1){return ce(null)}timesSync($>Ee?Ee:$,Be);function arrayIterator(){Te=Ue++;if(Te<Ee){Ie=j[Te];G(Ie,createCallback(Ie))}}function arrayIteratorWithIndex(){Te=Ue++;if(Te<Ee){Ie=j[Te];G(Ie,Te,createCallback(Ie))}}function symbolIterator(){Le=Me.next();if(Le.done===false){Ue++;Ie=Le.value;G(Ie,createCallback(Ie))}else if(ze===Ue&&G!==N){G=N;ce(null)}}function symbolIteratorWithKey(){Le=Me.next();if(Le.done===false){Ie=Le.value;G(Ie,Ue++,createCallback(Ie))}else if(ze===Ue&&G!==N){G=N;ce(null)}}function objectIterator(){Te=Ue++;if(Te<Ee){Ie=j[Ne[Te]];G(Ie,createCallback(Ie))}}function objectIteratorWithKey(){if(Ue<Ee){we=Ne[Ue++];Ie=j[we];G(Ie,we,createCallback(Ie))}}function createCallback(j){var $=false;return function(q,G){if($){R()}$=true;if(q){Be=N;ce=once(ce);ce(q)}else if(!!G===E){Be=N;ce=once(ce);ce(null,j)}else if(++ze===Ee){ce(null)}else if(je){_e(Be)}else{je=true;Be()}je=false}}}}function createPick(E,j,$,G){return function(ce,_e,Ee){Ee=Ee||N;var Te,we;var Ie=0;var Ne={};if(ie(ce)){Te=ce.length;E(ce,_e,createCallback)}else if(!ce){}else if(le&&ce[le]){Te=$(ce,_e,createCallback);Te&&Te===Ie&&Ee(null,Ne)}else if(typeof ce===q){we=ae(ce);Te=we.length;j(ce,_e,createCallback,we)}if(!Te){return Ee(null,{})}function createCallback(E,N){return function done(j,$){if(E===null){R()}if(j){E=null;Ee=once(Ee);Ee(j,objectClone(Ne));return}if(!!$===G){Ne[E]=N}E=null;if(++Ie===Te){Ee(null,Ne)}}}}}function createPickSeries(E){return function(j,$,G){G=onlyOnce(G||N);var ce,Ee,Te,we,Ie,Ne,Me;var Le=false;var Be={};var je=0;if(ie(j)){ce=j.length;Me=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!j){}else if(le&&j[le]){ce=Infinity;Ie=j[le]();Me=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof j===q){we=ae(j);ce=we.length;Me=$.length===3?objectIteratorWithKey:objectIterator}if(!ce){return G(null,{})}Me();function arrayIterator(){Ee=je;Te=j[je];$(Te,done)}function arrayIteratorWithIndex(){Ee=je;Te=j[je];$(Te,je,done)}function symbolIterator(){Ee=je;Ne=Ie.next();Te=Ne.value;Ne.done?G(null,Be):$(Te,done)}function symbolIteratorWithKey(){Ee=je;Ne=Ie.next();Te=Ne.value;Ne.done?G(null,Be):$(Te,Ee,done)}function objectIterator(){Ee=we[je];Te=j[Ee];$(Te,done)}function objectIteratorWithKey(){Ee=we[je];Te=j[Ee];$(Te,Ee,done)}function done(N,j){if(N){G(N,Be);return}if(!!j===E){Be[Ee]=Te}if(++je===ce){Me=R;G(null,Be)}else if(Le){_e(Me)}else{Le=true;Me()}Le=false}}}function createPickLimit(E){return function(j,$,G,ce){ce=ce||N;var Ee,Te,we,Ie,Ne,Me,Le,Be;var je=false;var Ue={};var ze=0;var We=0;if(ie(j)){Ee=j.length;Be=G.length===3?arrayIteratorWithIndex:arrayIterator}else if(!j){}else if(le&&j[le]){Ee=Infinity;Me=j[le]();Be=G.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof j===q){Ne=ae(j);Ee=Ne.length;Be=G.length===3?objectIteratorWithKey:objectIterator}if(!Ee||isNaN($)||$<1){return ce(null,{})}timesSync($>Ee?Ee:$,Be);function arrayIterator(){Te=ze++;if(Te<Ee){Ie=j[Te];G(Ie,createCallback(Ie,Te))}}function arrayIteratorWithIndex(){Te=ze++;if(Te<Ee){Ie=j[Te];G(Ie,Te,createCallback(Ie,Te))}}function symbolIterator(){Le=Me.next();if(Le.done===false){Ie=Le.value;G(Ie,createCallback(Ie,ze++))}else if(We===ze&&G!==N){G=N;ce(null,Ue)}}function symbolIteratorWithKey(){Le=Me.next();if(Le.done===false){Ie=Le.value;G(Ie,ze,createCallback(Ie,ze++))}else if(We===ze&&G!==N){G=N;ce(null,Ue)}}function objectIterator(){if(ze<Ee){we=Ne[ze++];Ie=j[we];G(Ie,createCallback(Ie,we))}}function objectIteratorWithKey(){if(ze<Ee){we=Ne[ze++];Ie=j[we];G(Ie,we,createCallback(Ie,we))}}function createCallback(j,$){return function(q,G){if($===null){R()}if(q){$=null;Be=N;ce=once(ce);ce(q,objectClone(Ue));return}if(!!G===E){Ue[$]=j}$=null;if(++We===Ee){Be=R;ce=onlyOnce(ce);ce(null,Ue)}else if(je){_e(Be)}else{je=true;Be()}je=false}}}}function reduce(E,j,$,G){G=onlyOnce(G||N);var ce,Ee,Te,we,Ie,Ne;var Me=false;var Le=0;if(ie(E)){ce=E.length;Ne=$.length===4?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;we=E[le]();Ne=$.length===4?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Te=ae(E);ce=Te.length;Ne=$.length===4?objectIteratorWithKey:objectIterator}if(!ce){return G(null,j)}Ne(j);function arrayIterator(N){$(N,E[Le],done)}function arrayIteratorWithIndex(N){$(N,E[Le],Le,done)}function symbolIterator(E){Ie=we.next();Ie.done?G(null,E):$(E,Ie.value,done)}function symbolIteratorWithKey(E){Ie=we.next();Ie.done?G(null,E):$(E,Ie.value,Le,done)}function objectIterator(N){$(N,E[Te[Le]],done)}function objectIteratorWithKey(N){Ee=Te[Le];$(N,E[Ee],Ee,done)}function done(E,N){if(E){G(E,N)}else if(++Le===ce){$=R;G(null,N)}else if(Me){_e((function(){Ne(N)}))}else{Me=true;Ne(N)}Me=false}}function reduceRight(E,j,$,G){G=onlyOnce(G||N);var ce,Ee,Te,we,Ie,Ne,Me,Le;var Be=false;if(ie(E)){ce=E.length;Le=$.length===4?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){Me=[];Ie=E[le]();Ee=-1;while((Ne=Ie.next()).done===false){Me[++Ee]=Ne.value}E=Me;ce=Me.length;Le=$.length===4?arrayIteratorWithIndex:arrayIterator}else if(typeof E===q){we=ae(E);ce=we.length;Le=$.length===4?objectIteratorWithKey:objectIterator}if(!ce){return G(null,j)}Le(j);function arrayIterator(N){$(N,E[--ce],done)}function arrayIteratorWithIndex(N){$(N,E[--ce],ce,done)}function objectIterator(N){$(N,E[we[--ce]],done)}function objectIteratorWithKey(N){Te=we[--ce];$(N,E[Te],Te,done)}function done(E,N){if(E){G(E,N)}else if(ce===0){Le=R;G(null,N)}else if(Be){_e((function(){Le(N)}))}else{Be=true;Le(N)}Be=false}}function createTransform(E,R,j){return function transform($,G,ce,_e){if(arguments.length===3){_e=ce;ce=G;G=undefined}_e=_e||N;var Ee,Te,we;var Ie=0;if(ie($)){Ee=$.length;we=G!==undefined?G:[];E($,we,ce,done)}else if(!$){}else if(le&&$[le]){we=G!==undefined?G:{};Ee=j($,we,ce,done);Ee&&Ee===Ie&&_e(null,we)}else if(typeof $===q){Te=ae($);Ee=Te.length;we=G!==undefined?G:{};R($,we,ce,done,Te)}if(!Ee){_e(null,G!==undefined?G:we||{})}function done(E,N){if(E){_e=once(_e);_e(E,ie(we)?createArray(we):objectClone(we))}else if(++Ie===Ee){_e(null,we)}else if(N===false){_e=once(_e);_e(null,ie(we)?createArray(we):objectClone(we))}}}}function transformSeries(E,j,$,G){if(arguments.length===3){G=$;$=j;j=undefined}G=onlyOnce(G||N);var ce,Ee,Te,we,Ie,Ne,Me;var Le=false;var Be=0;if(ie(E)){ce=E.length;Me=j!==undefined?j:[];Ne=$.length===4?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;we=E[le]();Me=j!==undefined?j:{};Ne=$.length===4?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Te=ae(E);ce=Te.length;Me=j!==undefined?j:{};Ne=$.length===4?objectIteratorWithKey:objectIterator}if(!ce){return G(null,j!==undefined?j:Me||{})}Ne();function arrayIterator(){$(Me,E[Be],done)}function arrayIteratorWithIndex(){$(Me,E[Be],Be,done)}function symbolIterator(){Ie=we.next();Ie.done?G(null,Me):$(Me,Ie.value,done)}function symbolIteratorWithKey(){Ie=we.next();Ie.done?G(null,Me):$(Me,Ie.value,Be,done)}function objectIterator(){$(Me,E[Te[Be]],done)}function objectIteratorWithKey(){Ee=Te[Be];$(Me,E[Ee],Ee,done)}function done(E,N){if(E){G(E,Me)}else if(++Be===ce||N===false){Ne=R;G(null,Me)}else if(Le){_e(Ne)}else{Le=true;Ne()}Le=false}}function transformLimit(E,R,j,$,G){if(arguments.length===4){G=$;$=j;j=undefined}G=G||N;var ce,Ee,Te,we,Ie,Ne,Me,Le;var Be=false;var je=0;var Ue=0;if(ie(E)){ce=E.length;Le=j!==undefined?j:[];Me=$.length===4?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Ie=E[le]();Le=j!==undefined?j:{};Me=$.length===4?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){we=ae(E);ce=we.length;Le=j!==undefined?j:{};Me=$.length===4?objectIteratorWithKey:objectIterator}if(!ce||isNaN(R)||R<1){return G(null,j!==undefined?j:Le||{})}timesSync(R>ce?ce:R,Me);function arrayIterator(){Ee=je++;if(Ee<ce){$(Le,E[Ee],onlyOnce(done))}}function arrayIteratorWithIndex(){Ee=je++;if(Ee<ce){$(Le,E[Ee],Ee,onlyOnce(done))}}function symbolIterator(){Ne=Ie.next();if(Ne.done===false){je++;$(Le,Ne.value,onlyOnce(done))}else if(Ue===je&&$!==N){$=N;G(null,Le)}}function symbolIteratorWithKey(){Ne=Ie.next();if(Ne.done===false){$(Le,Ne.value,je++,onlyOnce(done))}else if(Ue===je&&$!==N){$=N;G(null,Le)}}function objectIterator(){Ee=je++;if(Ee<ce){$(Le,E[we[Ee]],onlyOnce(done))}}function objectIteratorWithKey(){Ee=je++;if(Ee<ce){Te=we[Ee];$(Le,E[Te],Te,onlyOnce(done))}}function done(E,R){if(E||R===false){Me=N;G(E||null,ie(Le)?createArray(Le):objectClone(Le));G=N}else if(++Ue===ce){$=N;G(null,Le)}else if(Be){_e(Me)}else{Be=true;Me()}Be=false}}function createSortBy(E,j,$){return function sortBy(G,ce,_e){_e=_e||N;var Ee,Te,we;var Ie=0;if(ie(G)){Ee=G.length;Te=Array(Ee);we=Array(Ee);E(G,ce,createCallback)}else if(!G){}else if(le&&G[le]){Te=[];we=[];Ee=$(G,ce,createCallback);Ee&&Ee===Ie&&_e(null,sortByCriteria(Te,we))}else if(typeof G===q){var Ne=ae(G);Ee=Ne.length;Te=Array(Ee);we=Array(Ee);j(G,ce,createCallback,Ne)}if(!Ee){_e(null,[])}function createCallback(E,N){var j=false;Te[E]=N;return function done(N,$){if(j){R()}j=true;we[E]=$;if(N){_e=once(_e);_e(N)}else if(++Ie===Ee){_e(null,sortByCriteria(Te,we))}}}}}function sortBySeries(E,j,$){$=onlyOnce($||N);var G,ce,Ee,Te,we,Ie,Ne,Me,Le;var Be=false;var je=0;if(ie(E)){G=E.length;Ne=E;Me=Array(G);Le=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){G=Infinity;Ne=[];Me=[];we=E[le]();Le=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Te=ae(E);G=Te.length;Ne=Array(G);Me=Array(G);Le=j.length===3?objectIteratorWithKey:objectIterator}if(!G){return $(null,[])}Le();function arrayIterator(){Ee=E[je];j(Ee,done)}function arrayIteratorWithIndex(){Ee=E[je];j(Ee,je,done)}function symbolIterator(){Ie=we.next();if(Ie.done){return $(null,sortByCriteria(Ne,Me))}Ee=Ie.value;Ne[je]=Ee;j(Ee,done)}function symbolIteratorWithKey(){Ie=we.next();if(Ie.done){return $(null,sortByCriteria(Ne,Me))}Ee=Ie.value;Ne[je]=Ee;j(Ee,je,done)}function objectIterator(){Ee=E[Te[je]];Ne[je]=Ee;j(Ee,done)}function objectIteratorWithKey(){ce=Te[je];Ee=E[ce];Ne[je]=Ee;j(Ee,ce,done)}function done(E,N){Me[je]=N;if(E){$(E)}else if(++je===G){Le=R;$(null,sortByCriteria(Ne,Me))}else if(Be){_e(Le)}else{Be=true;Le()}Be=false}}function sortByLimit(E,j,$,G){G=G||N;var ce,Ee,Te,we,Ie,Ne,Me,Le,Be,je;var Ue=false;var ze=0;var We=0;if(ie(E)){ce=E.length;Ie=E;je=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Me=E[le]();Ie=[];Be=[];je=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Ne=ae(E);ce=Ne.length;Ie=Array(ce);je=$.length===3?objectIteratorWithKey:objectIterator}if(!ce||isNaN(j)||j<1){return G(null,[])}Be=Be||Array(ce);timesSync(j>ce?ce:j,je);function arrayIterator(){if(ze<ce){we=E[ze];$(we,createCallback(we,ze++))}}function arrayIteratorWithIndex(){Ee=ze++;if(Ee<ce){we=E[Ee];$(we,Ee,createCallback(we,Ee))}}function symbolIterator(){Le=Me.next();if(Le.done===false){we=Le.value;Ie[ze]=we;$(we,createCallback(we,ze++))}else if(We===ze&&$!==N){$=N;G(null,sortByCriteria(Ie,Be))}}function symbolIteratorWithKey(){Le=Me.next();if(Le.done===false){we=Le.value;Ie[ze]=we;$(we,ze,createCallback(we,ze++))}else if(We===ze&&$!==N){$=N;G(null,sortByCriteria(Ie,Be))}}function objectIterator(){if(ze<ce){we=E[Ne[ze]];Ie[ze]=we;$(we,createCallback(we,ze++))}}function objectIteratorWithKey(){if(ze<ce){Te=Ne[ze];we=E[Te];Ie[ze]=we;$(we,Te,createCallback(we,ze++))}}function createCallback(E,j){var $=false;return function(E,q){if($){R()}$=true;Be[j]=q;if(E){je=N;G(E);G=N}else if(++We===ce){G(null,sortByCriteria(Ie,Be))}else if(Ue){_e(je)}else{Ue=true;je()}Ue=false}}}function some(E,R,j){j=j||N;We(E,R,done);function done(E,N){if(E){return j(E)}j(null,!!N)}}function someSeries(E,R,j){j=j||N;Je(E,R,done);function done(E,N){if(E){return j(E)}j(null,!!N)}}function someLimit(E,R,j,$){$=$||N;Ve(E,R,j,done);function done(E,N){if(E){return $(E)}$(null,!!N)}}function createEvery(E,R,j){var $=createDetect(E,R,j,false);return function every(E,R,j){j=j||N;$(E,R,done);function done(E,N){if(E){return j(E)}j(null,!N)}}}function createEverySeries(){var E=createDetectSeries(false);return function everySeries(R,j,$){$=$||N;E(R,j,done);function done(E,N){if(E){return $(E)}$(null,!N)}}}function createEveryLimit(){var E=createDetectLimit(false);return function everyLimit(R,j,$,q){q=q||N;E(R,j,$,done);function done(E,N){if(E){return q(E)}q(null,!N)}}}function createConcat(E,j,$){return function concat(G,ce,_e){_e=_e||N;var Ee,Te;var we=0;if(ie(G)){Ee=G.length;Te=Array(Ee);E(G,ce,createCallback)}else if(!G){}else if(le&&G[le]){Te=[];Ee=$(G,ce,createCallback);Ee&&Ee===we&&_e(null,Te)}else if(typeof G===q){var Ie=ae(G);Ee=Ie.length;Te=Array(Ee);j(G,ce,createCallback,Ie)}if(!Ee){_e(null,[])}function createCallback(E){return function done(j,$){if(E===null){R()}if(j){E=null;_e=once(_e);arrayEachSync(Te,(function(E,R){if(E===undefined){Te[R]=N}}));_e(j,makeConcatResult(Te));return}switch(arguments.length){case 0:case 1:Te[E]=N;break;case 2:Te[E]=$;break;default:Te[E]=slice(arguments,1);break}E=null;if(++we===Ee){_e(null,makeConcatResult(Te))}}}}}function concatSeries(E,j,$){$=onlyOnce($||N);var G,Ee,Te,we,Ie,Ne;var Me=false;var Le=[];var Be=0;if(ie(E)){G=E.length;Ne=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){G=Infinity;we=E[le]();Ne=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Te=ae(E);G=Te.length;Ne=j.length===3?objectIteratorWithKey:objectIterator}if(!G){return $(null,Le)}Ne();function arrayIterator(){j(E[Be],done)}function arrayIteratorWithIndex(){j(E[Be],Be,done)}function symbolIterator(){Ie=we.next();Ie.done?$(null,Le):j(Ie.value,done)}function symbolIteratorWithKey(){Ie=we.next();Ie.done?$(null,Le):j(Ie.value,Be,done)}function objectIterator(){j(E[Te[Be]],done)}function objectIteratorWithKey(){Ee=Te[Be];j(E[Ee],Ee,done)}function done(E,N){if(ie(N)){ce.apply(Le,N)}else if(arguments.length>=2){ce.apply(Le,slice(arguments,1))}if(E){$(E,Le)}else if(++Be===G){Ne=R;$(null,Le)}else if(Me){_e(Ne)}else{Me=true;Ne()}Me=false}}function concatLimit(E,j,$,G){G=G||N;var ce,Ee,Te,we,Ie,Ne;var Me=false;var Le=0;var Be=0;if(ie(E)){ce=E.length;Ie=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Ne=[];Te=E[le]();Ie=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){var je=ae(E);ce=je.length;Ie=$.length===3?objectIteratorWithKey:objectIterator}if(!ce||isNaN(j)||j<1){return G(null,[])}Ne=Ne||Array(ce);timesSync(j>ce?ce:j,Ie);function arrayIterator(){if(Le<ce){$(E[Le],createCallback(Le++))}}function arrayIteratorWithIndex(){if(Le<ce){$(E[Le],Le,createCallback(Le++))}}function symbolIterator(){we=Te.next();if(we.done===false){$(we.value,createCallback(Le++))}else if(Be===Le&&$!==N){$=N;G(null,makeConcatResult(Ne))}}function symbolIteratorWithKey(){we=Te.next();if(we.done===false){$(we.value,Le,createCallback(Le++))}else if(Be===Le&&$!==N){$=N;G(null,makeConcatResult(Ne))}}function objectIterator(){if(Le<ce){$(E[je[Le]],createCallback(Le++))}}function objectIteratorWithKey(){if(Le<ce){Ee=je[Le];$(E[Ee],Ee,createCallback(Le++))}}function createCallback(E){return function(j,$){if(E===null){R()}if(j){E=null;Ie=N;G=once(G);arrayEachSync(Ne,(function(E,R){if(E===undefined){Ne[R]=N}}));G(j,makeConcatResult(Ne));return}switch(arguments.length){case 0:case 1:Ne[E]=N;break;case 2:Ne[E]=$;break;default:Ne[E]=slice(arguments,1);break}E=null;if(++Be===ce){Ie=R;G(null,makeConcatResult(Ne));G=R}else if(Me){_e(Ie)}else{Me=true;Ie()}Me=false}}}function createGroupBy(E,j,$){return function groupBy(G,ce,_e){_e=_e||N;var Ee;var Te=0;var we={};if(ie(G)){Ee=G.length;E(G,ce,createCallback)}else if(!G){}else if(le&&G[le]){Ee=$(G,ce,createCallback);Ee&&Ee===Te&&_e(null,we)}else if(typeof G===q){var Ie=ae(G);Ee=Ie.length;j(G,ce,createCallback,Ie)}if(!Ee){_e(null,{})}function createCallback(E){var N=false;return function done(j,$){if(N){R()}N=true;if(j){_e=once(_e);_e(j,objectClone(we));return}var q=we[$];if(!q){we[$]=[E]}else{q.push(E)}if(++Te===Ee){_e(null,we)}}}}}function groupBySeries(E,j,$){$=onlyOnce($||N);var G,ce,Ee,Te,we,Ie,Ne;var Me=false;var Le=0;var Be={};if(ie(E)){G=E.length;Ne=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){G=Infinity;we=E[le]();Ne=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Te=ae(E);G=Te.length;Ne=j.length===3?objectIteratorWithKey:objectIterator}if(!G){return $(null,Be)}Ne();function arrayIterator(){Ee=E[Le];j(Ee,done)}function arrayIteratorWithIndex(){Ee=E[Le];j(Ee,Le,done)}function symbolIterator(){Ie=we.next();Ee=Ie.value;Ie.done?$(null,Be):j(Ee,done)}function symbolIteratorWithKey(){Ie=we.next();Ee=Ie.value;Ie.done?$(null,Be):j(Ee,Le,done)}function objectIterator(){Ee=E[Te[Le]];j(Ee,done)}function objectIteratorWithKey(){ce=Te[Le];Ee=E[ce];j(Ee,ce,done)}function done(E,N){if(E){Ne=R;$=onlyOnce($);$(E,objectClone(Be));return}var j=Be[N];if(!j){Be[N]=[Ee]}else{j.push(Ee)}if(++Le===G){Ne=R;$(null,Be)}else if(Me){_e(Ne)}else{Me=true;Ne()}Me=false}}function groupByLimit(E,j,$,G){G=G||N;var ce,Ee,Te,we,Ie,Ne,Me,Le;var Be=false;var je=0;var Ue=0;var ze={};if(ie(E)){ce=E.length;Le=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Ne=E[le]();Le=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){Ie=ae(E);ce=Ie.length;Le=$.length===3?objectIteratorWithKey:objectIterator}if(!ce||isNaN(j)||j<1){return G(null,ze)}timesSync(j>ce?ce:j,Le);function arrayIterator(){if(je<ce){we=E[je++];$(we,createCallback(we))}}function arrayIteratorWithIndex(){Ee=je++;if(Ee<ce){we=E[Ee];$(we,Ee,createCallback(we))}}function symbolIterator(){Me=Ne.next();if(Me.done===false){je++;we=Me.value;$(we,createCallback(we))}else if(Ue===je&&$!==N){$=N;G(null,ze)}}function symbolIteratorWithKey(){Me=Ne.next();if(Me.done===false){we=Me.value;$(we,je++,createCallback(we))}else if(Ue===je&&$!==N){$=N;G(null,ze)}}function objectIterator(){if(je<ce){we=E[Ie[je++]];$(we,createCallback(we))}}function objectIteratorWithKey(){if(je<ce){Te=Ie[je++];we=E[Te];$(we,Te,createCallback(we))}}function createCallback(E){var j=false;return function($,q){if(j){R()}j=true;if($){Le=N;G=once(G);G($,objectClone(ze));return}var ie=ze[q];if(!ie){ze[q]=[E]}else{ie.push(E)}if(++Ue===ce){G(null,ze)}else if(Be){_e(Le)}else{Be=true;Le()}Be=false}}}function createParallel(E,j){return function parallel($,G){G=G||N;var ce,le,_e;var Ee=0;if(ie($)){ce=$.length;_e=Array(ce);E($,createCallback)}else if($&&typeof $===q){le=ae($);ce=le.length;_e={};j($,createCallback,le)}if(!ce){G(null,_e)}function createCallback(E){return function(N,j){if(E===null){R()}if(N){E=null;G=once(G);G(N,_e);return}_e[E]=arguments.length<=2?j:slice(arguments,1);E=null;if(++Ee===ce){G(null,_e)}}}}}function series(E,j){j=j||N;var $,G,ce,le,Ee;var Te=false;var we=0;if(ie(E)){$=E.length;le=Array($);Ee=arrayIterator}else if(E&&typeof E===q){ce=ae(E);$=ce.length;le={};Ee=objectIterator}else{return j(null)}if(!$){return j(null,le)}Ee();function arrayIterator(){G=we;E[we](done)}function objectIterator(){G=ce[we];E[G](done)}function done(E,N){if(E){Ee=R;j=onlyOnce(j);j(E,le);return}le[G]=arguments.length<=2?N:slice(arguments,1);if(++we===$){Ee=R;j(null,le)}else if(Te){_e(Ee)}else{Te=true;Ee()}Te=false}}function parallelLimit(E,j,$){$=$||N;var G,ce,le,Ee,Te,we;var Ie=false;var Ne=0;var Me=0;if(ie(E)){G=E.length;Te=Array(G);we=arrayIterator}else if(E&&typeof E===q){Ee=ae(E);G=Ee.length;Te={};we=objectIterator}if(!G||isNaN(j)||j<1){return $(null,Te)}timesSync(j>G?G:j,we);function arrayIterator(){ce=Ne++;if(ce<G){E[ce](createCallback(ce))}}function objectIterator(){if(Ne<G){le=Ee[Ne++];E[le](createCallback(le))}}function createCallback(E){return function(j,q){if(E===null){R()}if(j){E=null;we=N;$=once($);$(j,Te);return}Te[E]=arguments.length<=2?q:slice(arguments,1);E=null;if(++Me===G){$(null,Te)}else if(Ie){_e(we)}else{Ie=true;we()}Ie=false}}}function tryEach(E,R){R=R||N;var j,$,G;var ce=false;var le=0;if(ie(E)){j=E.length;G=arrayIterator}else if(E&&typeof E===q){$=ae(E);j=$.length;G=objectIterator}if(!j){return R(null)}G();function arrayIterator(){E[le](done)}function objectIterator(){E[$[le]](done)}function done(E,N){if(!E){if(arguments.length<=2){R(null,N)}else{R(null,slice(arguments,1))}}else if(++le===j){R(E)}else{ce=true;G()}ce=false}}function checkWaterfallTasks(E,N){if(!ie(E)){N(new Error("First argument to waterfall must be an array of functions"));return false}if(E.length===0){N(null);return false}return true}function waterfallIterator(E,N,R){switch(N.length){case 0:case 1:return E(R);case 2:return E(N[1],R);case 3:return E(N[1],N[2],R);case 4:return E(N[1],N[2],N[3],R);case 5:return E(N[1],N[2],N[3],N[4],R);case 6:return E(N[1],N[2],N[3],N[4],N[5],R);default:N=slice(N,1);N.push(R);return E.apply(null,N)}}function waterfall(E,j){j=j||N;if(!checkWaterfallTasks(E,j)){return}var $,q,G,ie;var ae=0;var ce=E.length;waterfallIterator(E[0],[],createCallback(0));function iterate(){waterfallIterator($,q,createCallback($))}function createCallback(le){return function next(Ee,Te){if(le===undefined){j=N;R()}le=undefined;if(Ee){G=j;j=R;G(Ee);return}if(++ae===ce){G=j;j=R;if(arguments.length<=2){G(Ee,Te)}else{G.apply(null,createArray(arguments))}return}if(ie){q=arguments;$=E[ae]||R;_e(iterate)}else{ie=true;waterfallIterator(E[ae]||R,arguments,createCallback(ae))}ie=false}}}function angelFall(E,j){j=j||N;if(!checkWaterfallTasks(E,j)){return}var $=0;var q=false;var G=E.length;var ie=E[$];var ae=[];var iterate=function(){switch(ie.length){case 0:try{next(null,ie())}catch(E){next(E)}return;case 1:return ie(next);case 2:return ie(ae[1],next);case 3:return ie(ae[1],ae[2],next);case 4:return ie(ae[1],ae[2],ae[3],next);case 5:return ie(ae[1],ae[2],ae[3],ae[4],next);default:ae=slice(ae,1);ae[ie.length-1]=next;return ie.apply(null,ae)}};iterate();function next(N,ce){if(N){iterate=R;j=onlyOnce(j);j(N);return}if(++$===G){iterate=R;var le=j;j=R;if(arguments.length===2){le(N,ce)}else{le.apply(null,createArray(arguments))}return}ie=E[$];ae=arguments;if(q){_e(iterate)}else{q=true;iterate()}q=false}}function whilst(E,R,j){j=j||N;var $=false;if(E()){iterate()}else{j(null)}function iterate(){if($){_e(next)}else{$=true;R(done)}$=false}function next(){R(done)}function done(N,R){if(N){return j(N)}if(arguments.length<=2){if(E(R)){iterate()}else{j(null,R)}return}R=slice(arguments,1);if(E.apply(null,R)){iterate()}else{j.apply(null,[null].concat(R))}}}function doWhilst(E,R,j){j=j||N;var $=false;next();function iterate(){if($){_e(next)}else{$=true;E(done)}$=false}function next(){E(done)}function done(E,N){if(E){return j(E)}if(arguments.length<=2){if(R(N)){iterate()}else{j(null,N)}return}N=slice(arguments,1);if(R.apply(null,N)){iterate()}else{j.apply(null,[null].concat(N))}}}function until(E,R,j){j=j||N;var $=false;if(!E()){iterate()}else{j(null)}function iterate(){if($){_e(next)}else{$=true;R(done)}$=false}function next(){R(done)}function done(N,R){if(N){return j(N)}if(arguments.length<=2){if(!E(R)){iterate()}else{j(null,R)}return}R=slice(arguments,1);if(!E.apply(null,R)){iterate()}else{j.apply(null,[null].concat(R))}}}function doUntil(E,R,j){j=j||N;var $=false;next();function iterate(){if($){_e(next)}else{$=true;E(done)}$=false}function next(){E(done)}function done(E,N){if(E){return j(E)}if(arguments.length<=2){if(!R(N)){iterate()}else{j(null,N)}return}N=slice(arguments,1);if(!R.apply(null,N)){iterate()}else{j.apply(null,[null].concat(N))}}}function during(E,R,j){j=j||N;_test();function _test(){E(iterate)}function iterate(E,N){if(E){return j(E)}if(N){R(done)}else{j(null)}}function done(E){if(E){return j(E)}_test()}}function doDuring(E,R,j){j=j||N;iterate(null,true);function iterate(N,R){if(N){return j(N)}if(R){E(done)}else{j(null)}}function done(E,N){if(E){return j(E)}switch(arguments.length){case 0:case 1:R(iterate);break;case 2:R(N,iterate);break;default:var $=slice(arguments,1);$.push(iterate);R.apply(null,$);break}}}function forever(E,N){var R=false;iterate();function iterate(){E(next)}function next(E){if(E){if(N){return N(E)}throw E}if(R){_e(iterate)}else{R=true;iterate()}R=false}}function compose(){return seq.apply(null,reverse(arguments))}function seq(){var E=createArray(arguments);return function(){var R=this;var j=createArray(arguments);var $=j[j.length-1];if(typeof $===G){j.pop()}else{$=N}reduce(E,j,iterator,done);function iterator(E,N,j){var func=function(E){var N=slice(arguments,1);j(E,N)};E.push(func);N.apply(R,E)}function done(E,N){N=ie(N)?N:[N];N.unshift(E);$.apply(R,N)}}}function createApplyEach(E){return function applyEach(R){var go=function(){var j=this;var $=createArray(arguments);var q=$.pop()||N;return E(R,iterator,q);function iterator(E,N){E.apply(j,$.concat([N]))}};if(arguments.length>1){var j=slice(arguments,1);return go.apply(this,j)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(E){var N=E.prev;var R=E.next;if(N){N.next=R}else{this.head=R}if(R){R.prev=N}else{this.tail=N}E.prev=null;E.next=null;this.length--;return E};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(E){this.length=1;this.head=this.tail=E};DLL.prototype.insertBefore=function(E,N){N.prev=E.prev;N.next=E;if(E.prev){E.prev.next=N}else{this.head=N}E.prev=N;this.length++};DLL.prototype.unshift=function(E){if(this.head){this.insertBefore(this.head,E)}else{this._setInitial(E)}};DLL.prototype.push=function(E){var N=this.tail;if(N){E.prev=N;E.next=N.next;this.tail=E;N.next=E;this.length++}else{this._setInitial(E)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(E){var N;var R=[];while(E--&&(N=this.shift())){R.push(N)}return R};DLL.prototype.remove=function(E){var N=this.head;while(N){if(E(N)){this._removeLink(N)}N=N.next}return this};function baseQueue(E,j,$,q){if($===undefined){$=1}else if(isNaN($)||$<1){throw new Error("Concurrency must not be zero")}var G=0;var ae=[];var le,Ee;var Te={_tasks:new DLL,concurrency:$,payload:q,saturated:N,unsaturated:N,buffer:$/4,empty:N,drain:N,error:N,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:E?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:j};return Te;function push(E,N){_insert(E,N)}function unshift(E,N){_insert(E,N,true)}function _exec(E){var N={data:E,callback:le};if(Ee){Te._tasks.unshift(N)}else{Te._tasks.push(N)}_e(Te.process)}function _insert(E,R,j){if(R==null){R=N}else if(typeof R!=="function"){throw new Error("task callback must be a function")}Te.started=true;var $=ie(E)?E:[E];if(E===undefined||!$.length){if(Te.idle()){_e(Te.drain)}return}Ee=j;le=R;arrayEachSync($,_exec);le=undefined}function kill(){Te.drain=N;Te._tasks.empty()}function _next(E,N){var j=false;return function done($,q){if(j){R()}j=true;G--;var ie;var ce=-1;var le=ae.length;var _e=-1;var Ee=N.length;var Te=arguments.length>2;var we=Te&&createArray(arguments);while(++_e<Ee){ie=N[_e];while(++ce<le){if(ae[ce]===ie){if(ce===0){ae.shift()}else{ae.splice(ce,1)}ce=le;le--}}ce=-1;if(Te){ie.callback.apply(ie,we)}else{ie.callback($,q)}if($){E.error($,ie.data)}}if(G<=E.concurrency-E.buffer){E.unsaturated()}if(E._tasks.length+G===0){E.drain()}E.process()}}function runQueue(){while(!Te.paused&&G<Te.concurrency&&Te._tasks.length){var E=Te._tasks.shift();G++;ae.push(E);if(Te._tasks.length===0){Te.empty()}if(G===Te.concurrency){Te.saturated()}var N=_next(Te,[E]);j(E.data,N)}}function runCargo(){while(!Te.paused&&G<Te.concurrency&&Te._tasks.length){var E=Te._tasks.splice(Te.payload||Te._tasks.length);var N=-1;var R=E.length;var $=Array(R);while(++N<R){$[N]=E[N].data}G++;ce.apply(ae,E);if(Te._tasks.length===0){Te.empty()}if(G===Te.concurrency){Te.saturated()}var q=_next(Te,E);j($,q)}}function getLength(){return Te._tasks.length}function running(){return G}function getWorkersList(){return ae}function idle(){return Te.length()+G===0}function pause(){Te.paused=true}function _resume(){_e(Te.process)}function resume(){if(Te.paused===false){return}Te.paused=false;var E=Te.concurrency<Te._tasks.length?Te.concurrency:Te._tasks.length;timesSync(E,_resume)}function remove(E){Te._tasks.remove(E)}}function queue(E,N){return baseQueue(true,E,N)}function priorityQueue(E,R){var j=baseQueue(true,E,R);j.push=push;delete j.unshift;return j;function push(E,R,$){j.started=true;R=R||0;var q=ie(E)?E:[E];var ae=q.length;if(E===undefined||ae===0){if(j.idle()){_e(j.drain)}return}$=typeof $===G?$:N;var ce=j._tasks.head;while(ce&&R>=ce.priority){ce=ce.next}while(ae--){var le={data:q[ae],priority:R,callback:$};if(ce){j._tasks.insertBefore(ce,le)}else{j._tasks.push(le)}_e(j.process)}}}function cargo(E,N){return baseQueue(false,E,1,N)}function auto(E,j,$){if(typeof j===G){$=j;j=null}var q=ae(E);var ce=q.length;var le={};if(ce===0){return $(null,le)}var _e=0;var Ee=new DLL;var Te=Object.create(null);$=onlyOnce($||N);j=j||ce;baseEachSync(E,iterator,q);proceedQueue();function iterator(E,j){var G,ae;if(!ie(E)){G=E;ae=0;Ee.push([G,ae,done]);return}var we=E.length-1;G=E[we];ae=we;if(we===0){Ee.push([G,ae,done]);return}var Ie=-1;while(++Ie<we){var Ne=E[Ie];if(notInclude(q,Ne)){var Me="async.auto task `"+j+"` has non-existent dependency `"+Ne+"` in "+E.join(", ");throw new Error(Me)}var Le=Te[Ne];if(!Le){Le=Te[Ne]=[]}Le.push(taskListener)}function done(E,q){if(j===null){R()}q=arguments.length<=2?q:slice(arguments,1);if(E){ce=0;_e=0;Ee.length=0;var G=objectClone(le);G[j]=q;j=null;var ie=$;$=N;ie(E,G);return}_e--;ce--;le[j]=q;taskComplete(j);j=null}function taskListener(){if(--we===0){Ee.push([G,ae,done])}}}function proceedQueue(){if(Ee.length===0&&_e===0){if(ce!==0){throw new Error("async.auto task has cyclic dependencies")}return $(null,le)}while(Ee.length&&_e<j&&$!==N){_e++;var E=Ee.shift();if(E[1]===0){E[0](E[2])}else{E[0](le,E[2])}}}function taskComplete(E){var N=Te[E]||[];arrayEachSync(N,(function(E){E()}));proceedQueue()}}var ft=/^(function)?\s*[^\(]*\(\s*([^\)]*)\)/m;var mt=/,/;var ht=/(=.+)?(\s*)$/;var _t=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;function parseParams(E){E=E.toString().replace(_t,"");E=E.match(ft)[2].replace(" ","");E=E?E.split(mt):[];E=E.map((function(E){return E.replace(ht,"").trim()}));return E}function autoInject(E,N,R){var j={};baseEachSync(E,iterator,ae(E));auto(j,N,R);function iterator(E,N){var R;var $=E.length;if(ie(E)){if($===0){throw new Error("autoInject task functions require explicit parameters.")}R=createArray(E);$=R.length-1;E=R[$];if($===0){j[N]=E;return}}else if($===1){j[N]=E;return}else{R=parseParams(E);if($===0&&R.length===0){throw new Error("autoInject task functions require explicit parameters.")}$=R.length-1}R[$]=newTask;j[N]=R;function newTask(N,j){switch($){case 1:E(N[R[0]],j);break;case 2:E(N[R[0]],N[R[1]],j);break;case 3:E(N[R[0]],N[R[1]],N[R[2]],j);break;default:var q=-1;while(++q<$){R[q]=N[R[q]]}R[q]=j;E.apply(null,R);break}}}}function retry(E,R,q){var ie,ae,ce;var le=0;if(arguments.length<3&&typeof E===G){q=R||N;R=E;E=null;ie=j}else{q=q||N;switch(typeof E){case"object":if(typeof E.errorFilter===G){ce=E.errorFilter}var _e=E.interval;switch(typeof _e){case G:ae=_e;break;case"string":case"number":_e=+_e;ae=_e?function(){return _e}:function(){return $};break}ie=+E.times||j;break;case"number":ie=E||j;break;case"string":ie=+E||j;break;default:throw new Error("Invalid arguments for async.retry")}}if(typeof R!=="function"){throw new Error("Invalid arguments for async.retry")}if(ae){R(intervalCallback)}else{R(simpleCallback)}function simpleIterator(){R(simpleCallback)}function simpleCallback(E,N){if(++le===ie||!E||ce&&!ce(E)){if(arguments.length<=2){return q(E,N)}var R=createArray(arguments);return q.apply(null,R)}simpleIterator()}function intervalIterator(){R(intervalCallback)}function intervalCallback(E,N){if(++le===ie||!E||ce&&!ce(E)){if(arguments.length<=2){return q(E,N)}var R=createArray(arguments);return q.apply(null,R)}setTimeout(intervalIterator,ae(le))}}function retryable(E,N){if(!N){N=E;E=null}return done;function done(){var R;var j=createArray(arguments);var $=j.length-1;var q=j[$];switch(N.length){case 1:R=task1;break;case 2:R=task2;break;case 3:R=task3;break;default:R=task4}if(E){retry(E,R,q)}else{retry(R,q)}function task1(E){N(E)}function task2(E){N(j[0],E)}function task3(E){N(j[0],j[1],E)}function task4(E){j[$]=E;N.apply(null,j)}}}function iterator(E){var N=0;var R=[];if(ie(E)){N=E.length}else{R=ae(E);N=R.length}return makeCallback(0);function makeCallback(j){var fn=function(){if(N){var $=R[j]||j;E[$].apply(null,createArray(arguments))}return fn.next()};fn.next=function(){return j<N-1?makeCallback(j+1):null};return fn}}function apply(E){switch(arguments.length){case 0:case 1:return E;case 2:return E.bind(null,arguments[1]);case 3:return E.bind(null,arguments[1],arguments[2]);case 4:return E.bind(null,arguments[1],arguments[2],arguments[3]);case 5:return E.bind(null,arguments[1],arguments[2],arguments[3],arguments[4]);default:var N=arguments.length;var R=0;var j=Array(N);j[R]=null;while(++R<N){j[R]=arguments[R]}return E.bind.apply(E,j)}}function timeout(E,N,R){var j,$;return wrappedFunc;function wrappedFunc(){$=setTimeout(timeoutCallback,N);var R=createArray(arguments);var q=R.length-1;j=R[q];R[q]=injectedCallback;simpleApply(E,R)}function timeoutCallback(){var N=E.name||"anonymous";var q=new Error('Callback function "'+N+'" timed out.');q.code="ETIMEDOUT";if(R){q.info=R}$=null;j(q)}function injectedCallback(){if($!==null){simpleApply(j,createArray(arguments));clearTimeout($)}}function simpleApply(E,N){switch(N.length){case 0:E();break;case 1:E(N[0]);break;case 2:E(N[0],N[1]);break;default:E.apply(null,N);break}}}function times(E,j,$){$=$||N;E=+E;if(isNaN(E)||E<1){return $(null,[])}var q=Array(E);timesSync(E,iterate);function iterate(E){j(E,createCallback(E))}function createCallback(j){return function(G,ie){if(j===null){R()}q[j]=ie;j=null;if(G){$(G);$=N}else if(--E===0){$(null,q)}}}}function timesSeries(E,j,$){$=$||N;E=+E;if(isNaN(E)||E<1){return $(null,[])}var q=Array(E);var G=false;var ie=0;iterate();function iterate(){j(ie,done)}function done(N,j){q[ie]=j;if(N){$(N);$=R}else if(++ie>=E){$(null,q);$=R}else if(G){_e(iterate)}else{G=true;iterate()}G=false}}function timesLimit(E,j,$,q){q=q||N;E=+E;if(isNaN(E)||E<1||isNaN(j)||j<1){return q(null,[])}var G=Array(E);var ie=false;var ae=0;var ce=0;timesSync(j>E?E:j,iterate);function iterate(){var N=ae++;if(N<E){$(N,createCallback(N))}}function createCallback(j){return function($,ae){if(j===null){R()}G[j]=ae;j=null;if($){q($);q=N}else if(++ce>=E){q(null,G);q=R}else if(ie){_e(iterate)}else{ie=true;iterate()}ie=false}}}function race(E,R){R=once(R||N);var j,$;var G=-1;if(ie(E)){j=E.length;while(++G<j){E[G](R)}}else if(E&&typeof E===q){$=ae(E);j=$.length;while(++G<j){E[$[G]](R)}}else{return R(new TypeError("First argument to race must be a collection of functions"))}if(!j){R(null)}}function memoize(E,N){N=N||function(E){return E};var R={};var j={};var memoized=function(){var $=createArray(arguments);var q=$.pop();var G=N.apply(null,$);if(has(R,G)){_e((function(){q.apply(null,R[G])}));return}if(has(j,G)){return j[G].push(q)}j[G]=[q];$.push(done);E.apply(null,$);function done(E){var N=createArray(arguments);if(!E){R[G]=N}var $=j[G];delete j[G];var q=-1;var ie=$.length;while(++q<ie){$[q].apply(null,N)}}};memoized.memo=R;memoized.unmemoized=E;return memoized}function unmemoize(E){return function(){return(E.unmemoized||E).apply(null,arguments)}}function ensureAsync(E){return function(){var N=createArray(arguments);var R=N.length-1;var j=N[R];var $=true;N[R]=done;E.apply(this,N);$=false;function done(){var E=createArray(arguments);if($){_e((function(){j.apply(null,E)}))}else{j.apply(null,E)}}}}function constant(){var E=[null].concat(createArray(arguments));return function(N){N=arguments[arguments.length-1];N.apply(this,E)}}function asyncify(E){return function(){var N=createArray(arguments);var R=N.pop();var j;try{j=E.apply(this,N)}catch(E){return R(E)}if(j&&typeof j.then===G){j.then((function(E){invokeCallback(R,null,E)}),(function(E){invokeCallback(R,E&&E.message?E:new Error(E))}))}else{R(null,j)}}}function invokeCallback(E,N,R){try{E(N,R)}catch(E){_e(rethrow,E)}}function rethrow(E){throw E}function reflect(E){return function(){var N;switch(arguments.length){case 1:N=arguments[0];return E(done);case 2:N=arguments[1];return E(arguments[0],done);default:var R=createArray(arguments);var j=R.length-1;N=R[j];R[j]=done;E.apply(this,R)}function done(E,R){if(E){return N(null,{error:E})}if(arguments.length>2){R=slice(arguments,1)}N(null,{value:R})}}}function reflectAll(E){var N,R;if(ie(E)){N=Array(E.length);arrayEachSync(E,iterate)}else if(E&&typeof E===q){R=ae(E);N={};baseEachSync(E,iterate,R)}return N;function iterate(E,R){N[R]=reflect(E)}}function createLogger(E){return function(E){var N=slice(arguments,1);N.push(done);E.apply(null,N)};function done(N){if(typeof console===q){if(N){if(console.error){console.error(N)}return}if(console[E]){var R=slice(arguments,1);arrayEachSync(R,(function(N){console[E](N)}))}}}}function safe(){createImmediate();return E}function fast(){createImmediate(false);return E}}))},5782:(E,N,R)=>{"use strict";E.exports=R(43162)},36949:(E,N,R)=>{"use strict";const j=R(71017);const $="\\\\/";const q=`[^${$}]`;const G="\\.";const ie="\\+";const ae="\\?";const ce="\\/";const le="(?=.)";const _e="[^/]";const Ee=`(?:${ce}|$)`;const Te=`(?:^|${ce})`;const we=`${G}{1,2}${Ee}`;const Ie=`(?!${G})`;const Ne=`(?!${Te}${we})`;const Me=`(?!${G}{0,1}${Ee})`;const Le=`(?!${we})`;const Be=`[^.${ce}]`;const je=`${_e}*?`;const Ue={DOT_LITERAL:G,PLUS_LITERAL:ie,QMARK_LITERAL:ae,SLASH_LITERAL:ce,ONE_CHAR:le,QMARK:_e,END_ANCHOR:Ee,DOTS_SLASH:we,NO_DOT:Ie,NO_DOTS:Ne,NO_DOT_SLASH:Me,NO_DOTS_SLASH:Le,QMARK_NO_DOT:Be,STAR:je,START_ANCHOR:Te};const ze={...Ue,SLASH_LITERAL:`[${$}]`,QMARK:q,STAR:`${q}*?`,DOTS_SLASH:`${G}{1,2}(?:[${$}]|$)`,NO_DOT:`(?!${G})`,NO_DOTS:`(?!(?:^|[${$}])${G}{1,2}(?:[${$}]|$))`,NO_DOT_SLASH:`(?!${G}{0,1}(?:[${$}]|$))`,NO_DOTS_SLASH:`(?!${G}{1,2}(?:[${$}]|$))`,QMARK_NO_DOT:`[^.${$}]`,START_ANCHOR:`(?:^|[${$}])`,END_ANCHOR:`(?:[${$}]|$)`};const We={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};E.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:We,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:j.sep,extglobChars(E){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${E.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(E){return E===true?ze:Ue}}},19934:(E,N,R)=>{"use strict";const j=R(36949);const $=R(2661);const{MAX_LENGTH:q,POSIX_REGEX_SOURCE:G,REGEX_NON_SPECIAL_CHARS:ie,REGEX_SPECIAL_CHARS_BACKREF:ae,REPLACEMENTS:ce}=j;const expandRange=(E,N)=>{if(typeof N.expandRange==="function"){return N.expandRange(...E,N)}E.sort();const R=`[${E.join("-")}]`;try{new RegExp(R)}catch(N){return E.map((E=>$.escapeRegex(E))).join("..")}return R};const syntaxError=(E,N)=>`Missing ${E}: "${N}" - use "\\\\${N}" to match literal characters`;const parse=(E,N)=>{if(typeof E!=="string"){throw new TypeError("Expected a string")}E=ce[E]||E;const R={...N};const le=typeof R.maxLength==="number"?Math.min(q,R.maxLength):q;let _e=E.length;if(_e>le){throw new SyntaxError(`Input length: ${_e}, exceeds maximum allowed length: ${le}`)}const Ee={type:"bos",value:"",output:R.prepend||""};const Te=[Ee];const we=R.capture?"":"?:";const Ie=$.isWindows(N);const Ne=j.globChars(Ie);const Me=j.extglobChars(Ne);const{DOT_LITERAL:Le,PLUS_LITERAL:Be,SLASH_LITERAL:je,ONE_CHAR:Ue,DOTS_SLASH:ze,NO_DOT:We,NO_DOT_SLASH:Je,NO_DOTS_SLASH:Ve,QMARK:qe,QMARK_NO_DOT:He,STAR:Ge,START_ANCHOR:Ke}=Ne;const globstar=E=>`(${we}(?:(?!${Ke}${E.dot?ze:Le}).)*?)`;const Qe=R.dot?"":We;const Xe=R.dot?qe:He;let Ye=R.bash===true?globstar(R):Ge;if(R.capture){Ye=`(${Ye})`}if(typeof R.noext==="boolean"){R.noextglob=R.noext}const Ze={input:E,index:-1,start:0,dot:R.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:Te};E=$.removePrefix(E,Ze);_e=E.length;const et=[];const tt=[];const rt=[];let nt=Ee;let it;const eos=()=>Ze.index===_e-1;const ot=Ze.peek=(N=1)=>E[Ze.index+N];const st=Ze.advance=()=>E[++Ze.index];const remaining=()=>E.slice(Ze.index+1);const consume=(E="",N=0)=>{Ze.consumed+=E;Ze.index+=N};const append=E=>{Ze.output+=E.output!=null?E.output:E.value;consume(E.value)};const negate=()=>{let E=1;while(ot()==="!"&&(ot(2)!=="("||ot(3)==="?")){st();Ze.start++;E++}if(E%2===0){return false}Ze.negated=true;Ze.start++;return true};const increment=E=>{Ze[E]++;rt.push(E)};const decrement=E=>{Ze[E]--;rt.pop()};const push=E=>{if(nt.type==="globstar"){const N=Ze.braces>0&&(E.type==="comma"||E.type==="brace");const R=E.extglob===true||et.length&&(E.type==="pipe"||E.type==="paren");if(E.type!=="slash"&&E.type!=="paren"&&!N&&!R){Ze.output=Ze.output.slice(0,-nt.output.length);nt.type="star";nt.value="*";nt.output=Ye;Ze.output+=nt.output}}if(et.length&&E.type!=="paren"&&!Me[E.value]){et[et.length-1].inner+=E.value}if(E.value||E.output)append(E);if(nt&&nt.type==="text"&&E.type==="text"){nt.value+=E.value;nt.output=(nt.output||"")+E.value;return}E.prev=nt;Te.push(E);nt=E};const extglobOpen=(E,N)=>{const j={...Me[N],conditions:1,inner:""};j.prev=nt;j.parens=Ze.parens;j.output=Ze.output;const $=(R.capture?"(":"")+j.open;increment("parens");push({type:E,value:N,output:Ze.output?"":Ue});push({type:"paren",extglob:true,value:st(),output:$});et.push(j)};const extglobClose=E=>{let N=E.close+(R.capture?")":"");if(E.type==="negate"){let j=Ye;if(E.inner&&E.inner.length>1&&E.inner.includes("/")){j=globstar(R)}if(j!==Ye||eos()||/^\)+$/.test(remaining())){N=E.close=`)$))${j}`}if(E.prev.type==="bos"&&eos()){Ze.negatedExtglob=true}}push({type:"paren",extglob:true,value:it,output:N});decrement("parens")};if(R.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(E)){let j=false;let q=E.replace(ae,((E,N,R,$,q,G)=>{if($==="\\"){j=true;return E}if($==="?"){if(N){return N+$+(q?qe.repeat(q.length):"")}if(G===0){return Xe+(q?qe.repeat(q.length):"")}return qe.repeat(R.length)}if($==="."){return Le.repeat(R.length)}if($==="*"){if(N){return N+$+(q?Ye:"")}return Ye}return N?E:`\\${E}`}));if(j===true){if(R.unescape===true){q=q.replace(/\\/g,"")}else{q=q.replace(/\\+/g,(E=>E.length%2===0?"\\\\":E?"\\":""))}}if(q===E&&R.contains===true){Ze.output=E;return Ze}Ze.output=$.wrapOutput(q,Ze,N);return Ze}while(!eos()){it=st();if(it==="\0"){continue}if(it==="\\"){const E=ot();if(E==="/"&&R.bash!==true){continue}if(E==="."||E===";"){continue}if(!E){it+="\\";push({type:"text",value:it});continue}const N=/^\\+/.exec(remaining());let j=0;if(N&&N[0].length>2){j=N[0].length;Ze.index+=j;if(j%2!==0){it+="\\"}}if(R.unescape===true){it=st()||""}else{it+=st()||""}if(Ze.brackets===0){push({type:"text",value:it});continue}}if(Ze.brackets>0&&(it!=="]"||nt.value==="["||nt.value==="[^")){if(R.posix!==false&&it===":"){const E=nt.value.slice(1);if(E.includes("[")){nt.posix=true;if(E.includes(":")){const E=nt.value.lastIndexOf("[");const N=nt.value.slice(0,E);const R=nt.value.slice(E+2);const j=G[R];if(j){nt.value=N+j;Ze.backtrack=true;st();if(!Ee.output&&Te.indexOf(nt)===1){Ee.output=Ue}continue}}}}if(it==="["&&ot()!==":"||it==="-"&&ot()==="]"){it=`\\${it}`}if(it==="]"&&(nt.value==="["||nt.value==="[^")){it=`\\${it}`}if(R.posix===true&&it==="!"&&nt.value==="["){it="^"}nt.value+=it;append({value:it});continue}if(Ze.quotes===1&&it!=='"'){it=$.escapeRegex(it);nt.value+=it;append({value:it});continue}if(it==='"'){Ze.quotes=Ze.quotes===1?0:1;if(R.keepQuotes===true){push({type:"text",value:it})}continue}if(it==="("){increment("parens");push({type:"paren",value:it});continue}if(it===")"){if(Ze.parens===0&&R.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const E=et[et.length-1];if(E&&Ze.parens===E.parens+1){extglobClose(et.pop());continue}push({type:"paren",value:it,output:Ze.parens?")":"\\)"});decrement("parens");continue}if(it==="["){if(R.nobracket===true||!remaining().includes("]")){if(R.nobracket!==true&&R.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}it=`\\${it}`}else{increment("brackets")}push({type:"bracket",value:it});continue}if(it==="]"){if(R.nobracket===true||nt&&nt.type==="bracket"&&nt.value.length===1){push({type:"text",value:it,output:`\\${it}`});continue}if(Ze.brackets===0){if(R.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:it,output:`\\${it}`});continue}decrement("brackets");const E=nt.value.slice(1);if(nt.posix!==true&&E[0]==="^"&&!E.includes("/")){it=`/${it}`}nt.value+=it;append({value:it});if(R.literalBrackets===false||$.hasRegexChars(E)){continue}const N=$.escapeRegex(nt.value);Ze.output=Ze.output.slice(0,-nt.value.length);if(R.literalBrackets===true){Ze.output+=N;nt.value=N;continue}nt.value=`(${we}${N}|${nt.value})`;Ze.output+=nt.value;continue}if(it==="{"&&R.nobrace!==true){increment("braces");const E={type:"brace",value:it,output:"(",outputIndex:Ze.output.length,tokensIndex:Ze.tokens.length};tt.push(E);push(E);continue}if(it==="}"){const E=tt[tt.length-1];if(R.nobrace===true||!E){push({type:"text",value:it,output:it});continue}let N=")";if(E.dots===true){const E=Te.slice();const j=[];for(let N=E.length-1;N>=0;N--){Te.pop();if(E[N].type==="brace"){break}if(E[N].type!=="dots"){j.unshift(E[N].value)}}N=expandRange(j,R);Ze.backtrack=true}if(E.comma!==true&&E.dots!==true){const R=Ze.output.slice(0,E.outputIndex);const j=Ze.tokens.slice(E.tokensIndex);E.value=E.output="\\{";it=N="\\}";Ze.output=R;for(const E of j){Ze.output+=E.output||E.value}}push({type:"brace",value:it,output:N});decrement("braces");tt.pop();continue}if(it==="|"){if(et.length>0){et[et.length-1].conditions++}push({type:"text",value:it});continue}if(it===","){let E=it;const N=tt[tt.length-1];if(N&&rt[rt.length-1]==="braces"){N.comma=true;E="|"}push({type:"comma",value:it,output:E});continue}if(it==="/"){if(nt.type==="dot"&&Ze.index===Ze.start+1){Ze.start=Ze.index+1;Ze.consumed="";Ze.output="";Te.pop();nt=Ee;continue}push({type:"slash",value:it,output:je});continue}if(it==="."){if(Ze.braces>0&&nt.type==="dot"){if(nt.value===".")nt.output=Le;const E=tt[tt.length-1];nt.type="dots";nt.output+=it;nt.value+=it;E.dots=true;continue}if(Ze.braces+Ze.parens===0&&nt.type!=="bos"&&nt.type!=="slash"){push({type:"text",value:it,output:Le});continue}push({type:"dot",value:it,output:Le});continue}if(it==="?"){const E=nt&&nt.value==="(";if(!E&&R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){extglobOpen("qmark",it);continue}if(nt&&nt.type==="paren"){const E=ot();let N=it;if(E==="<"&&!$.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(nt.value==="("&&!/[!=<:]/.test(E)||E==="<"&&!/<([!=]|\w+>)/.test(remaining())){N=`\\${it}`}push({type:"text",value:it,output:N});continue}if(R.dot!==true&&(nt.type==="slash"||nt.type==="bos")){push({type:"qmark",value:it,output:He});continue}push({type:"qmark",value:it,output:qe});continue}if(it==="!"){if(R.noextglob!==true&&ot()==="("){if(ot(2)!=="?"||!/[!=<:]/.test(ot(3))){extglobOpen("negate",it);continue}}if(R.nonegate!==true&&Ze.index===0){negate();continue}}if(it==="+"){if(R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){extglobOpen("plus",it);continue}if(nt&&nt.value==="("||R.regex===false){push({type:"plus",value:it,output:Be});continue}if(nt&&(nt.type==="bracket"||nt.type==="paren"||nt.type==="brace")||Ze.parens>0){push({type:"plus",value:it});continue}push({type:"plus",value:Be});continue}if(it==="@"){if(R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){push({type:"at",extglob:true,value:it,output:""});continue}push({type:"text",value:it});continue}if(it!=="*"){if(it==="$"||it==="^"){it=`\\${it}`}const E=ie.exec(remaining());if(E){it+=E[0];Ze.index+=E[0].length}push({type:"text",value:it});continue}if(nt&&(nt.type==="globstar"||nt.star===true)){nt.type="star";nt.star=true;nt.value+=it;nt.output=Ye;Ze.backtrack=true;Ze.globstar=true;consume(it);continue}let N=remaining();if(R.noextglob!==true&&/^\([^?]/.test(N)){extglobOpen("star",it);continue}if(nt.type==="star"){if(R.noglobstar===true){consume(it);continue}const j=nt.prev;const $=j.prev;const q=j.type==="slash"||j.type==="bos";const G=$&&($.type==="star"||$.type==="globstar");if(R.bash===true&&(!q||N[0]&&N[0]!=="/")){push({type:"star",value:it,output:""});continue}const ie=Ze.braces>0&&(j.type==="comma"||j.type==="brace");const ae=et.length&&(j.type==="pipe"||j.type==="paren");if(!q&&j.type!=="paren"&&!ie&&!ae){push({type:"star",value:it,output:""});continue}while(N.slice(0,3)==="/**"){const R=E[Ze.index+4];if(R&&R!=="/"){break}N=N.slice(3);consume("/**",3)}if(j.type==="bos"&&eos()){nt.type="globstar";nt.value+=it;nt.output=globstar(R);Ze.output=nt.output;Ze.globstar=true;consume(it);continue}if(j.type==="slash"&&j.prev.type!=="bos"&&!G&&eos()){Ze.output=Ze.output.slice(0,-(j.output+nt.output).length);j.output=`(?:${j.output}`;nt.type="globstar";nt.output=globstar(R)+(R.strictSlashes?")":"|$)");nt.value+=it;Ze.globstar=true;Ze.output+=j.output+nt.output;consume(it);continue}if(j.type==="slash"&&j.prev.type!=="bos"&&N[0]==="/"){const E=N[1]!==void 0?"|$":"";Ze.output=Ze.output.slice(0,-(j.output+nt.output).length);j.output=`(?:${j.output}`;nt.type="globstar";nt.output=`${globstar(R)}${je}|${je}${E})`;nt.value+=it;Ze.output+=j.output+nt.output;Ze.globstar=true;consume(it+st());push({type:"slash",value:"/",output:""});continue}if(j.type==="bos"&&N[0]==="/"){nt.type="globstar";nt.value+=it;nt.output=`(?:^|${je}|${globstar(R)}${je})`;Ze.output=nt.output;Ze.globstar=true;consume(it+st());push({type:"slash",value:"/",output:""});continue}Ze.output=Ze.output.slice(0,-nt.output.length);nt.type="globstar";nt.output=globstar(R);nt.value+=it;Ze.output+=nt.output;Ze.globstar=true;consume(it);continue}const j={type:"star",value:it,output:Ye};if(R.bash===true){j.output=".*?";if(nt.type==="bos"||nt.type==="slash"){j.output=Qe+j.output}push(j);continue}if(nt&&(nt.type==="bracket"||nt.type==="paren")&&R.regex===true){j.output=it;push(j);continue}if(Ze.index===Ze.start||nt.type==="slash"||nt.type==="dot"){if(nt.type==="dot"){Ze.output+=Je;nt.output+=Je}else if(R.dot===true){Ze.output+=Ve;nt.output+=Ve}else{Ze.output+=Qe;nt.output+=Qe}if(ot()!=="*"){Ze.output+=Ue;nt.output+=Ue}}push(j)}while(Ze.brackets>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));Ze.output=$.escapeLast(Ze.output,"[");decrement("brackets")}while(Ze.parens>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));Ze.output=$.escapeLast(Ze.output,"(");decrement("parens")}while(Ze.braces>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));Ze.output=$.escapeLast(Ze.output,"{");decrement("braces")}if(R.strictSlashes!==true&&(nt.type==="star"||nt.type==="bracket")){push({type:"maybe_slash",value:"",output:`${je}?`})}if(Ze.backtrack===true){Ze.output="";for(const E of Ze.tokens){Ze.output+=E.output!=null?E.output:E.value;if(E.suffix){Ze.output+=E.suffix}}}return Ze};parse.fastpaths=(E,N)=>{const R={...N};const G=typeof R.maxLength==="number"?Math.min(q,R.maxLength):q;const ie=E.length;if(ie>G){throw new SyntaxError(`Input length: ${ie}, exceeds maximum allowed length: ${G}`)}E=ce[E]||E;const ae=$.isWindows(N);const{DOT_LITERAL:le,SLASH_LITERAL:_e,ONE_CHAR:Ee,DOTS_SLASH:Te,NO_DOT:we,NO_DOTS:Ie,NO_DOTS_SLASH:Ne,STAR:Me,START_ANCHOR:Le}=j.globChars(ae);const Be=R.dot?Ie:we;const je=R.dot?Ne:we;const Ue=R.capture?"":"?:";const ze={negated:false,prefix:""};let We=R.bash===true?".*?":Me;if(R.capture){We=`(${We})`}const globstar=E=>{if(E.noglobstar===true)return We;return`(${Ue}(?:(?!${Le}${E.dot?Te:le}).)*?)`};const create=E=>{switch(E){case"*":return`${Be}${Ee}${We}`;case".*":return`${le}${Ee}${We}`;case"*.*":return`${Be}${We}${le}${Ee}${We}`;case"*/*":return`${Be}${We}${_e}${Ee}${je}${We}`;case"**":return Be+globstar(R);case"**/*":return`(?:${Be}${globstar(R)}${_e})?${je}${Ee}${We}`;case"**/*.*":return`(?:${Be}${globstar(R)}${_e})?${je}${We}${le}${Ee}${We}`;case"**/.*":return`(?:${Be}${globstar(R)}${_e})?${le}${Ee}${We}`;default:{const N=/^(.*?)\.(\w+)$/.exec(E);if(!N)return;const R=create(N[1]);if(!R)return;return R+le+N[2]}}};const Je=$.removePrefix(E,ze);let Ve=create(Je);if(Ve&&R.strictSlashes!==true){Ve+=`${_e}?`}return Ve};E.exports=parse},43162:(E,N,R)=>{"use strict";const j=R(71017);const $=R(35788);const q=R(19934);const G=R(2661);const ie=R(36949);const isObject=E=>E&&typeof E==="object"&&!Array.isArray(E);const picomatch=(E,N,R=false)=>{if(Array.isArray(E)){const j=E.map((E=>picomatch(E,N,R)));const arrayMatcher=E=>{for(const N of j){const R=N(E);if(R)return R}return false};return arrayMatcher}const j=isObject(E)&&E.tokens&&E.input;if(E===""||typeof E!=="string"&&!j){throw new TypeError("Expected pattern to be a non-empty string")}const $=N||{};const q=G.isWindows(N);const ie=j?picomatch.compileRe(E,N):picomatch.makeRe(E,N,false,true);const ae=ie.state;delete ie.state;let isIgnored=()=>false;if($.ignore){const E={...N,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch($.ignore,E,R)}const matcher=(R,j=false)=>{const{isMatch:G,match:ce,output:le}=picomatch.test(R,ie,N,{glob:E,posix:q});const _e={glob:E,state:ae,regex:ie,posix:q,input:R,output:le,match:ce,isMatch:G};if(typeof $.onResult==="function"){$.onResult(_e)}if(G===false){_e.isMatch=false;return j?_e:false}if(isIgnored(R)){if(typeof $.onIgnore==="function"){$.onIgnore(_e)}_e.isMatch=false;return j?_e:false}if(typeof $.onMatch==="function"){$.onMatch(_e)}return j?_e:true};if(R){matcher.state=ae}return matcher};picomatch.test=(E,N,R,{glob:j,posix:$}={})=>{if(typeof E!=="string"){throw new TypeError("Expected input to be a string")}if(E===""){return{isMatch:false,output:""}}const q=R||{};const ie=q.format||($?G.toPosixSlashes:null);let ae=E===j;let ce=ae&&ie?ie(E):E;if(ae===false){ce=ie?ie(E):E;ae=ce===j}if(ae===false||q.capture===true){if(q.matchBase===true||q.basename===true){ae=picomatch.matchBase(E,N,R,$)}else{ae=N.exec(ce)}}return{isMatch:Boolean(ae),match:ae,output:ce}};picomatch.matchBase=(E,N,R,$=G.isWindows(R))=>{const q=N instanceof RegExp?N:picomatch.makeRe(N,R);return q.test(j.basename(E))};picomatch.isMatch=(E,N,R)=>picomatch(N,R)(E);picomatch.parse=(E,N)=>{if(Array.isArray(E))return E.map((E=>picomatch.parse(E,N)));return q(E,{...N,fastpaths:false})};picomatch.scan=(E,N)=>$(E,N);picomatch.compileRe=(E,N,R=false,j=false)=>{if(R===true){return E.output}const $=N||{};const q=$.contains?"":"^";const G=$.contains?"":"$";let ie=`${q}(?:${E.output})${G}`;if(E&&E.negated===true){ie=`^(?!${ie}).*$`}const ae=picomatch.toRegex(ie,N);if(j===true){ae.state=E}return ae};picomatch.makeRe=(E,N,R=false,j=false)=>{if(!E||typeof E!=="string"){throw new TypeError("Expected a non-empty string")}const $=N||{};let G={negated:false,fastpaths:true};let ie="";let ae;if(E.startsWith("./")){E=E.slice(2);ie=G.prefix="./"}if($.fastpaths!==false&&(E[0]==="."||E[0]==="*")){ae=q.fastpaths(E,N)}if(ae===undefined){G=q(E,N);G.prefix=ie+(G.prefix||"")}else{G.output=ae}return picomatch.compileRe(G,N,R,j)};picomatch.toRegex=(E,N)=>{try{const R=N||{};return new RegExp(E,R.flags||(R.nocase?"i":""))}catch(E){if(N&&N.debug===true)throw E;return/$^/}};picomatch.constants=ie;E.exports=picomatch},35788:(E,N,R)=>{"use strict";const j=R(2661);const{CHAR_ASTERISK:$,CHAR_AT:q,CHAR_BACKWARD_SLASH:G,CHAR_COMMA:ie,CHAR_DOT:ae,CHAR_EXCLAMATION_MARK:ce,CHAR_FORWARD_SLASH:le,CHAR_LEFT_CURLY_BRACE:_e,CHAR_LEFT_PARENTHESES:Ee,CHAR_LEFT_SQUARE_BRACKET:Te,CHAR_PLUS:we,CHAR_QUESTION_MARK:Ie,CHAR_RIGHT_CURLY_BRACE:Ne,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Le}=R(36949);const isPathSeparator=E=>E===le||E===G;const depth=E=>{if(E.isPrefix!==true){E.depth=E.isGlobstar?Infinity:1}};const scan=(E,N)=>{const R=N||{};const Be=E.length-1;const je=R.parts===true||R.scanToEnd===true;const Ue=[];const ze=[];const We=[];let Je=E;let Ve=-1;let qe=0;let He=0;let Ge=false;let Ke=false;let Qe=false;let Xe=false;let Ye=false;let Ze=false;let et=false;let tt=false;let rt=false;let nt=0;let it;let ot;let st={value:"",depth:0,isGlob:false};const eos=()=>Ve>=Be;const peek=()=>Je.charCodeAt(Ve+1);const advance=()=>{it=ot;return Je.charCodeAt(++Ve)};while(Ve<Be){ot=advance();let E;if(ot===G){et=st.backslashes=true;ot=advance();if(ot===_e){Ze=true}continue}if(Ze===true||ot===_e){nt++;while(eos()!==true&&(ot=advance())){if(ot===G){et=st.backslashes=true;advance();continue}if(ot===_e){nt++;continue}if(Ze!==true&&ot===ae&&(ot=advance())===ae){Ge=st.isBrace=true;Qe=st.isGlob=true;rt=true;if(je===true){continue}break}if(Ze!==true&&ot===ie){Ge=st.isBrace=true;Qe=st.isGlob=true;rt=true;if(je===true){continue}break}if(ot===Ne){nt--;if(nt===0){Ze=false;Ge=st.isBrace=true;rt=true;break}}}if(je===true){continue}break}if(ot===le){Ue.push(Ve);ze.push(st);st={value:"",depth:0,isGlob:false};if(rt===true)continue;if(it===ae&&Ve===qe+1){qe+=2;continue}He=Ve+1;continue}if(R.noext!==true){const E=ot===we||ot===q||ot===$||ot===Ie||ot===ce;if(E===true&&peek()===Ee){Qe=st.isGlob=true;Xe=st.isExtglob=true;rt=true;if(je===true){while(eos()!==true&&(ot=advance())){if(ot===G){et=st.backslashes=true;ot=advance();continue}if(ot===Me){Qe=st.isGlob=true;rt=true;break}}continue}break}}if(ot===$){if(it===$)Ye=st.isGlobstar=true;Qe=st.isGlob=true;rt=true;if(je===true){continue}break}if(ot===Ie){Qe=st.isGlob=true;rt=true;if(je===true){continue}break}if(ot===Te){while(eos()!==true&&(E=advance())){if(E===G){et=st.backslashes=true;advance();continue}if(E===Le){Ke=st.isBracket=true;Qe=st.isGlob=true;rt=true;if(je===true){continue}break}}}if(R.nonegate!==true&&ot===ce&&Ve===qe){tt=st.negated=true;qe++;continue}if(R.noparen!==true&&ot===Ee){Qe=st.isGlob=true;if(je===true){while(eos()!==true&&(ot=advance())){if(ot===Ee){et=st.backslashes=true;ot=advance();continue}if(ot===Me){rt=true;break}}continue}break}if(Qe===true){rt=true;if(je===true){continue}break}}if(R.noext===true){Xe=false;Qe=false}let ct=Je;let ut="";let dt="";if(qe>0){ut=Je.slice(0,qe);Je=Je.slice(qe);He-=qe}if(ct&&Qe===true&&He>0){ct=Je.slice(0,He);dt=Je.slice(He)}else if(Qe===true){ct="";dt=Je}else{ct=Je}if(ct&&ct!==""&&ct!=="/"&&ct!==Je){if(isPathSeparator(ct.charCodeAt(ct.length-1))){ct=ct.slice(0,-1)}}if(R.unescape===true){if(dt)dt=j.removeBackslashes(dt);if(ct&&et===true){ct=j.removeBackslashes(ct)}}const pt={prefix:ut,input:E,start:qe,base:ct,glob:dt,isBrace:Ge,isBracket:Ke,isGlob:Qe,isExtglob:Xe,isGlobstar:Ye,negated:tt};if(R.tokens===true){pt.maxDepth=0;if(!isPathSeparator(ot)){ze.push(st)}pt.tokens=ze}if(R.parts===true||R.tokens===true){let N;for(let j=0;j<Ue.length;j++){const $=N?N+1:qe;const q=Ue[j];const G=E.slice($,q);if(R.tokens){if(j===0&&qe!==0){ze[j].isPrefix=true;ze[j].value=ut}else{ze[j].value=G}depth(ze[j]);pt.maxDepth+=ze[j].depth}if(j!==0||G!==""){We.push(G)}N=q}if(N&&N+1<E.length){const j=E.slice(N+1);We.push(j);if(R.tokens){ze[ze.length-1].value=j;depth(ze[ze.length-1]);pt.maxDepth+=ze[ze.length-1].depth}}pt.slashes=Ue;pt.parts=We}return pt};E.exports=scan},2661:(E,N,R)=>{"use strict";const j=R(71017);const $=process.platform==="win32";const{REGEX_BACKSLASH:q,REGEX_REMOVE_BACKSLASH:G,REGEX_SPECIAL_CHARS:ie,REGEX_SPECIAL_CHARS_GLOBAL:ae}=R(36949);N.isObject=E=>E!==null&&typeof E==="object"&&!Array.isArray(E);N.hasRegexChars=E=>ie.test(E);N.isRegexChar=E=>E.length===1&&N.hasRegexChars(E);N.escapeRegex=E=>E.replace(ae,"\\$1");N.toPosixSlashes=E=>E.replace(q,"/");N.removeBackslashes=E=>E.replace(G,(E=>E==="\\"?"":E));N.supportsLookbehinds=()=>{const E=process.version.slice(1).split(".").map(Number);if(E.length===3&&E[0]>=9||E[0]===8&&E[1]>=10){return true}return false};N.isWindows=E=>{if(E&&typeof E.windows==="boolean"){return E.windows}return $===true||j.sep==="\\"};N.escapeLast=(E,R,j)=>{const $=E.lastIndexOf(R,j);if($===-1)return E;if(E[$-1]==="\\")return N.escapeLast(E,R,$-1);return`${E.slice(0,$)}\\${E.slice($)}`};N.removePrefix=(E,N={})=>{let R=E;if(R.startsWith("./")){R=R.slice(2);N.prefix="./"}return R};N.wrapOutput=(E,N={},R={})=>{const j=R.contains?"":"^";const $=R.contains?"":"$";let q=`${j}(?:${E})${$}`;if(N.negated===true){q=`(?:^(?!${q}).*$)`}return q}},31998:(E,N,R)=>{E.exports=R(6113).randomBytes},24672:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;const{stringHints:j,numberHints:$}=R(47961);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(E,N){const R=E.reduce(((E,R)=>Math.max(E,N(R))),0);return E.filter((E=>N(E)===R))}function filterChildren(E){let N=E;N=filterMax(N,(E=>E.dataPath?E.dataPath.length:0));N=filterMax(N,(E=>q[E.keyword]||2));return N}function findAllChildren(E,N){let R=E.length-1;const predicate=N=>E[R].schemaPath.indexOf(N)!==0;while(R>-1&&!N.every(predicate)){if(E[R].keyword==="anyOf"||E[R].keyword==="oneOf"){const N=extractRefs(E[R]);const j=findAllChildren(E.slice(0,R),N.concat(E[R].schemaPath));R=j-1}else{R-=1}}return R+1}function extractRefs(E){const{schema:N}=E;if(!Array.isArray(N)){return[]}return N.map((({$ref:E})=>E)).filter((E=>E))}function groupChildrenByFirstChild(E){const N=[];let R=E.length-1;while(R>0){const j=E[R];if(j.keyword==="anyOf"||j.keyword==="oneOf"){const $=extractRefs(j);const q=findAllChildren(E.slice(0,R),$.concat(j.schemaPath));if(q!==R){N.push(Object.assign({},j,{children:E.slice(q,R)}));R=q}else{N.push(j)}}else{N.push(j)}R-=1}if(R===0){N.push(E[R])}return N.reverse()}function indent(E,N){return E.replace(/\n(?!$)/g,`\n${N}`)}function hasNotInSchema(E){return!!E.not}function findFirstTypedSchema(E){if(hasNotInSchema(E)){return findFirstTypedSchema(E.not)}return E}function canApplyNot(E){const N=findFirstTypedSchema(E);return likeNumber(N)||likeInteger(N)||likeString(N)||likeNull(N)||likeBoolean(N)}function isObject(E){return typeof E==="object"&&E!==null}function likeNumber(E){return E.type==="number"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeInteger(E){return E.type==="integer"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeString(E){return E.type==="string"||typeof E.minLength!=="undefined"||typeof E.maxLength!=="undefined"||typeof E.pattern!=="undefined"||typeof E.format!=="undefined"||typeof E.formatMinimum!=="undefined"||typeof E.formatMaximum!=="undefined"}function likeBoolean(E){return E.type==="boolean"}function likeArray(E){return E.type==="array"||typeof E.minItems==="number"||typeof E.maxItems==="number"||typeof E.uniqueItems!=="undefined"||typeof E.items!=="undefined"||typeof E.additionalItems!=="undefined"||typeof E.contains!=="undefined"}function likeObject(E){return E.type==="object"||typeof E.minProperties!=="undefined"||typeof E.maxProperties!=="undefined"||typeof E.required!=="undefined"||typeof E.properties!=="undefined"||typeof E.patternProperties!=="undefined"||typeof E.additionalProperties!=="undefined"||typeof E.dependencies!=="undefined"||typeof E.propertyNames!=="undefined"||typeof E.patternRequired!=="undefined"}function likeNull(E){return E.type==="null"}function getArticle(E){if(/^[aeiou]/i.test(E)){return"an"}return"a"}function getSchemaNonTypes(E){if(!E){return""}if(!E.type){if(likeNumber(E)||likeInteger(E)){return" | should be any non-number"}if(likeString(E)){return" | should be any non-string"}if(likeArray(E)){return" | should be any non-array"}if(likeObject(E)){return" | should be any non-object"}}return""}function formatHints(E){return E.length>0?`(${E.join(", ")})`:""}function getHints(E,N){if(likeNumber(E)||likeInteger(E)){return $(E,N)}else if(likeString(E)){return j(E,N)}return[]}class ValidationError extends Error{constructor(E,N,R={}){super();this.name="ValidationError";this.errors=E;this.schema=N;let j;let $;if(N.title&&(!R.name||!R.baseDataPath)){const E=N.title.match(/^(.+) (.+)$/);if(E){if(!R.name){[,j]=E}if(!R.baseDataPath){[,,$]=E}}}this.headerName=R.name||j||"Object";this.baseDataPath=R.baseDataPath||$||"configuration";this.postFormatter=R.postFormatter||null;const q=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${q}${this.formatValidationErrors(E)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(E){const N=E.split("/");let R=this.schema;for(let E=1;E<N.length;E++){const j=R[N[E]];if(!j){break}R=j}return R}formatSchema(E,N=true,R=[]){let j=N;const formatInnerSchema=(N,$)=>{if(!$){return this.formatSchema(N,j,R)}if(R.includes(N)){return"(recursive)"}return this.formatSchema(N,j,R.concat(E))};if(hasNotInSchema(E)&&!likeObject(E)){if(canApplyNot(E.not)){j=!N;return formatInnerSchema(E.not)}const R=!E.not.not;const $=N?"":"non ";j=!N;return R?$+formatInnerSchema(E.not):formatInnerSchema(E.not)}if(E.instanceof){const{instanceof:N}=E;const R=!Array.isArray(N)?[N]:N;return R.map((E=>E==="Function"?"function":E)).join(" | ")}if(E.enum){return E.enum.map((E=>JSON.stringify(E))).join(" | ")}if(typeof E.const!=="undefined"){return JSON.stringify(E.const)}if(E.oneOf){return E.oneOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.anyOf){return E.anyOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.allOf){return E.allOf.map((E=>formatInnerSchema(E,true))).join(" & ")}if(E.if){const{if:N,then:R,else:j}=E;return`${N?`if ${formatInnerSchema(N)}`:""}${R?` then ${formatInnerSchema(R)}`:""}${j?` else ${formatInnerSchema(j)}`:""}`}if(E.$ref){return formatInnerSchema(this.getSchemaPart(E.$ref),true)}if(likeNumber(E)||likeInteger(E)){const[R,...j]=getHints(E,N);const $=`${R}${j.length>0?` ${formatHints(j)}`:""}`;return N?$:j.length>0?`non-${R} | ${$}`:`non-${R}`}if(likeString(E)){const[R,...j]=getHints(E,N);const $=`${R}${j.length>0?` ${formatHints(j)}`:""}`;return N?$:$==="string"?"non-string":`non-string | ${$}`}if(likeBoolean(E)){return`${N?"":"non-"}boolean`}if(likeArray(E)){j=true;const N=[];if(typeof E.minItems==="number"){N.push(`should not have fewer than ${E.minItems} item${E.minItems>1?"s":""}`)}if(typeof E.maxItems==="number"){N.push(`should not have more than ${E.maxItems} item${E.maxItems>1?"s":""}`)}if(E.uniqueItems){N.push("should not have duplicate items")}const R=typeof E.additionalItems==="undefined"||Boolean(E.additionalItems);let $="";if(E.items){if(Array.isArray(E.items)&&E.items.length>0){$=`${E.items.map((E=>formatInnerSchema(E))).join(", ")}`;if(R){if(E.additionalItems&&isObject(E.additionalItems)&&Object.keys(E.additionalItems).length>0){N.push(`additional items should be ${formatInnerSchema(E.additionalItems)}`)}}}else if(E.items&&Object.keys(E.items).length>0){$=`${formatInnerSchema(E.items)}`}else{$="any"}}else{$="any"}if(E.contains&&Object.keys(E.contains).length>0){N.push(`should contains at least one ${this.formatSchema(E.contains)} item`)}return`[${$}${R?", ...":""}]${N.length>0?` (${N.join(", ")})`:""}`}if(likeObject(E)){j=true;const N=[];if(typeof E.minProperties==="number"){N.push(`should not have fewer than ${E.minProperties} ${E.minProperties>1?"properties":"property"}`)}if(typeof E.maxProperties==="number"){N.push(`should not have more than ${E.maxProperties} ${E.minProperties&&E.minProperties>1?"properties":"property"}`)}if(E.patternProperties&&Object.keys(E.patternProperties).length>0){const R=Object.keys(E.patternProperties);N.push(`additional property names should match pattern${R.length>1?"s":""} ${R.map((E=>JSON.stringify(E))).join(" | ")}`)}const R=E.properties?Object.keys(E.properties):[];const $=E.required?E.required:[];const q=[...new Set([].concat($).concat(R))];const G=q.map((E=>{const N=$.includes(E);return`${E}${N?"":"?"}`})).concat(typeof E.additionalProperties==="undefined"||Boolean(E.additionalProperties)?E.additionalProperties&&isObject(E.additionalProperties)?[`<key>: ${formatInnerSchema(E.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ie,propertyNames:ae,patternRequired:ce}=E;if(ie){Object.keys(ie).forEach((E=>{const R=ie[E];if(Array.isArray(R)){N.push(`should have ${R.length>1?"properties":"property"} ${R.map((E=>`'${E}'`)).join(", ")} when property '${E}' is present`)}else{N.push(`should be valid according to the schema ${formatInnerSchema(R)} when property '${E}' is present`)}}))}if(ae&&Object.keys(ae).length>0){N.push(`each property name should match format ${JSON.stringify(E.propertyNames.format)}`)}if(ce&&ce.length>0){N.push(`should have property matching pattern ${ce.map((E=>JSON.stringify(E)))}`)}return`object {${G?` ${G} `:""}}${N.length>0?` (${N.join(", ")})`:""}`}if(likeNull(E)){return`${N?"":"non-"}null`}if(Array.isArray(E.type)){return`${E.type.join(" | ")}`}return JSON.stringify(E,null,2)}getSchemaPartText(E,N,R=false,j=true){if(!E){return""}if(Array.isArray(N)){for(let R=0;R<N.length;R++){const j=E[N[R]];if(j){E=j}else{break}}}while(E.$ref){E=this.getSchemaPart(E.$ref)}let $=`${this.formatSchema(E,j)}${R?".":""}`;if(E.description){$+=`\n-> ${E.description}`}if(E.link){$+=`\n-> Read more at ${E.link}`}return $}getSchemaPartDescription(E){if(!E){return""}while(E.$ref){E=this.getSchemaPart(E.$ref)}let N="";if(E.description){N+=`\n-> ${E.description}`}if(E.link){N+=`\n-> Read more at ${E.link}`}return N}formatValidationError(E){const{keyword:N,dataPath:R}=E;const j=`${this.baseDataPath}${R}`;switch(N){case"type":{const{parentSchema:N,params:R}=E;switch(R.type){case"number":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"integer":return`${j} should be an ${this.getSchemaPartText(N,false,true)}`;case"string":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"boolean":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"array":return`${j} should be an array:\n${this.getSchemaPartText(N)}`;case"object":return`${j} should be an object:\n${this.getSchemaPartText(N)}`;case"null":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;default:return`${j} should be:\n${this.getSchemaPartText(N)}`}}case"instanceof":{const{parentSchema:N}=E;return`${j} should be an instance of ${this.getSchemaPartText(N,false,true)}`}case"pattern":{const{params:N,parentSchema:R}=E;const{pattern:$}=N;return`${j} should match pattern ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"format":{const{params:N,parentSchema:R}=E;const{format:$}=N;return`${j} should match format ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"formatMinimum":case"formatMaximum":{const{params:N,parentSchema:R}=E;const{comparison:$,limit:q}=N;return`${j} should be ${$} ${JSON.stringify(q)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:N,params:R}=E;const{comparison:$,limit:q}=R;const[,...G]=getHints(N,true);if(G.length===0){G.push(`should be ${$} ${q}`)}return`${j} ${G.join(" ")}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"multipleOf":{const{params:N,parentSchema:R}=E;const{multipleOf:$}=N;return`${j} should be multiple of ${$}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"patternRequired":{const{params:N,parentSchema:R}=E;const{missingPattern:$}=N;return`${j} should have property matching pattern ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minLength":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty string${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}const q=$-1;return`${j} should be longer than ${q} character${q>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty array${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${j} should not have fewer than ${$} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minProperties":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty object${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${j} should not have fewer than ${$} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxLength":{const{params:N,parentSchema:R}=E;const{limit:$}=N;const q=$+1;return`${j} should be shorter than ${q} character${q>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxProperties":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"uniqueItems":{const{params:N,parentSchema:R}=E;const{i:$}=N;return`${j} should not contain the item '${E.data[$]}' twice${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"additionalItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} items${getSchemaNonTypes(R)}. These items are valid:\n${this.getSchemaPartText(R)}`}case"contains":{const{parentSchema:N}=E;return`${j} should contains at least one ${this.getSchemaPartText(N,["contains"])} item${getSchemaNonTypes(N)}.`}case"required":{const{parentSchema:N,params:R}=E;const $=R.missingProperty.replace(/^\./,"");const q=N&&Boolean(N.properties&&N.properties[$]);return`${j} misses the property '${$}'${getSchemaNonTypes(N)}.${q?` Should be:\n${this.getSchemaPartText(N,["properties",$])}`:this.getSchemaPartDescription(N)}`}case"additionalProperties":{const{params:N,parentSchema:R}=E;const{additionalProperty:$}=N;return`${j} has an unknown property '${$}'${getSchemaNonTypes(R)}. These properties are valid:\n${this.getSchemaPartText(R)}`}case"dependencies":{const{params:N,parentSchema:R}=E;const{property:$,deps:q}=N;const G=q.split(",").map((E=>`'${E.trim()}'`)).join(", ");return`${j} should have properties ${G} when property '${$}' is present${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"propertyNames":{const{params:N,parentSchema:R,schema:$}=E;const{propertyName:q}=N;return`${j} property name '${q}' is invalid${getSchemaNonTypes(R)}. Property names should be match format ${JSON.stringify($.format)}.${this.getSchemaPartDescription(R)}`}case"enum":{const{parentSchema:N}=E;if(N&&N.enum&&N.enum.length===1){return`${j} should be ${this.getSchemaPartText(N,false,true)}`}return`${j} should be one of these:\n${this.getSchemaPartText(N)}`}case"const":{const{parentSchema:N}=E;return`${j} should be equal to constant ${this.getSchemaPartText(N,false,true)}`}case"not":{const N=likeObject(E.parentSchema)?`\n${this.getSchemaPartText(E.parentSchema)}`:"";const R=this.getSchemaPartText(E.schema,false,false,false);if(canApplyNot(E.schema)){return`${j} should be any ${R}${N}.`}const{schema:$,parentSchema:q}=E;return`${j} should not be ${this.getSchemaPartText($,false,true)}${q&&likeObject(q)?`\n${this.getSchemaPartText(q)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:N,children:R}=E;if(R&&R.length>0){if(E.schema.length===1){const E=R[R.length-1];const j=R.slice(0,R.length-1);return this.formatValidationError(Object.assign({},E,{children:j,parentSchema:Object.assign({},N,E.parentSchema)}))}let $=filterChildren(R);if($.length===1){return this.formatValidationError($[0])}$=groupChildrenByFirstChild($);return`${j} should be one of these:\n${this.getSchemaPartText(N)}\nDetails:\n${$.map((E=>` * ${indent(this.formatValidationError(E)," ")}`)).join("\n")}`}return`${j} should be one of these:\n${this.getSchemaPartText(N)}`}case"if":{const{params:N,parentSchema:R}=E;const{failingKeyword:$}=N;return`${j} should match "${$}" schema:\n${this.getSchemaPartText(R,[$])}`}case"absolutePath":{const{message:N,parentSchema:R}=E;return`${j}: ${N}${this.getSchemaPartDescription(R)}`}default:{const{message:N,parentSchema:R}=E;const $=JSON.stringify(E,null,2);return`${j} ${N} (${$}).\n${this.getSchemaPartText(R,false)}`}}}formatValidationErrors(E){return E.map((E=>{let N=this.formatValidationError(E);if(this.postFormatter){N=this.postFormatter(N,E)}return` - ${indent(N," ")}`})).join("\n")}}var G=ValidationError;N["default"]=G},15235:(E,N,R)=>{"use strict";const{validate:j,ValidationError:$}=R(18110);E.exports={validate:j,ValidationError:$}},77102:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function errorMessage(E,N,R){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:R},message:E,parentSchema:N}}function getErrorFor(E,N,R){const j=E?`The provided value ${JSON.stringify(R)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(R)} is an absolute path!`;return errorMessage(j,N,R)}function addAbsolutePathKeyword(E){E.addKeyword("absolutePath",{errors:true,type:"string",compile(E,N){const callback=R=>{let j=true;const $=R.includes("!");if($){callback.errors=[errorMessage(`The provided value ${JSON.stringify(R)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,N,R)];j=false}const q=E===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(R);if(!q){callback.errors=[getErrorFor(E,N,R)];j=false}return j};callback.errors=[];return callback}});return E}var R=addAbsolutePathKeyword;N["default"]=R},95855:E=>{"use strict";class Range{static getOperator(E,N){if(E==="left"){return N?">":">="}return N?"<":"<="}static formatRight(E,N,R){if(N===false){return Range.formatLeft(E,!N,!R)}return`should be ${Range.getOperator("right",R)} ${E}`}static formatLeft(E,N,R){if(N===false){return Range.formatRight(E,!N,!R)}return`should be ${Range.getOperator("left",R)} ${E}`}static formatRange(E,N,R,j,$){let q="should be";q+=` ${Range.getOperator($?"left":"right",$?R:!R)} ${E} `;q+=$?"and":"or";q+=` ${Range.getOperator($?"right":"left",$?j:!j)} ${N}`;return q}static getRangeValue(E,N){let R=N?Infinity:-Infinity;let j=-1;const $=N?([E])=>E<=R:([E])=>E>=R;for(let N=0;N<E.length;N++){if($(E[N])){[R]=E[N];j=N}}if(j>-1){return E[j]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(E,N=false){this._left.push([E,N])}right(E,N=false){this._right.push([E,N])}format(E=true){const[N,R]=Range.getRangeValue(this._left,E);const[j,$]=Range.getRangeValue(this._right,!E);if(!Number.isFinite(N)&&!Number.isFinite(j)){return""}const q=R?N+1:N;const G=$?j-1:j;if(q===G){return`should be ${E?"":"!"}= ${q}`}if(Number.isFinite(N)&&!Number.isFinite(j)){return Range.formatLeft(N,E,R)}if(!Number.isFinite(N)&&Number.isFinite(j)){return Range.formatRight(j,E,$)}return Range.formatRange(N,j,R,$,E)}}E.exports=Range},47961:(E,N,R)=>{"use strict";const j=R(95855);E.exports.stringHints=function stringHints(E,N){const R=[];let j="string";const $={...E};if(!N){const E=$.minLength;const N=$.formatMinimum;const R=$.formatExclusiveMaximum;$.minLength=$.maxLength;$.maxLength=E;$.formatMinimum=$.formatMaximum;$.formatMaximum=N;$.formatExclusiveMaximum=!$.formatExclusiveMinimum;$.formatExclusiveMinimum=!R}if(typeof $.minLength==="number"){if($.minLength===1){j="non-empty string"}else{const E=Math.max($.minLength-1,0);R.push(`should be longer than ${E} character${E>1?"s":""}`)}}if(typeof $.maxLength==="number"){if($.maxLength===0){j="empty string"}else{const E=$.maxLength+1;R.push(`should be shorter than ${E} character${E>1?"s":""}`)}}if($.pattern){R.push(`should${N?"":" not"} match pattern ${JSON.stringify($.pattern)}`)}if($.format){R.push(`should${N?"":" not"} match format ${JSON.stringify($.format)}`)}if($.formatMinimum){R.push(`should be ${$.formatExclusiveMinimum?">":">="} ${JSON.stringify($.formatMinimum)}`)}if($.formatMaximum){R.push(`should be ${$.formatExclusiveMaximum?"<":"<="} ${JSON.stringify($.formatMaximum)}`)}return[j].concat(R)};E.exports.numberHints=function numberHints(E,N){const R=[E.type==="integer"?"integer":"number"];const $=new j;if(typeof E.minimum==="number"){$.left(E.minimum)}if(typeof E.exclusiveMinimum==="number"){$.left(E.exclusiveMinimum,true)}if(typeof E.maximum==="number"){$.right(E.maximum)}if(typeof E.exclusiveMaximum==="number"){$.right(E.exclusiveMaximum,true)}const q=$.format(N);if(q){R.push(q)}if(typeof E.multipleOf==="number"){R.push(`should${N?"":" not"} be multiple of ${E.multipleOf}`)}return R}},18110:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.validate=validate;Object.defineProperty(N,"ValidationError",{enumerable:true,get:function(){return $.default}});var j=_interopRequireDefault(R(77102));var $=_interopRequireDefault(R(24672));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const q=R(33866);const G=R(35525);const ie=new q({allErrors:true,verbose:true,$data:true});G(ie,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,j.default)(ie);function validate(E,N,R){let j=[];if(Array.isArray(N)){j=Array.from(N,(N=>validateObject(E,N)));j.forEach(((E,N)=>{const applyPrefix=E=>{E.dataPath=`[${N}]${E.dataPath}`;if(E.children){E.children.forEach(applyPrefix)}};E.forEach(applyPrefix)}));j=j.reduce(((E,N)=>{E.push(...N);return E}),[])}else{j=validateObject(E,N)}if(j.length>0){throw new $.default(j,E,R)}}function validateObject(E,N){const R=ie.compile(E);const j=R(N);if(j)return[];return R.errors?filterErrors(R.errors):[]}function filterErrors(E){let N=[];for(const R of E){const{dataPath:E}=R;let j=[];N=N.filter((N=>{if(N.dataPath.includes(E)){if(N.children){j=j.concat(N.children.slice(0))}N.children=undefined;j.push(N);return false}return true}));if(j.length){R.children=j}N.push(R)}return N}},22284:(E,N,R)=>{E=R.nmd(E);var j=R(99596).SourceMapConsumer;var $=R(71017);var q;try{q=R(57147);if(!q.existsSync||!q.readFileSync){q=null}}catch(E){}var G=R(86650);function dynamicRequire(E,N){return E.require(N)}var ie=false;var ae=false;var ce=false;var le="auto";var _e={};var Ee={};var Te=/^data:application\/json[^,]+base64,/;var we=[];var Ie=[];function isInBrowser(){if(le==="browser")return true;if(le==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function handlerExec(E){return function(N){for(var R=0;R<E.length;R++){var j=E[R](N);if(j){return j}}return null}}var Ne=handlerExec(we);we.push((function(E){E=E.trim();if(/^file:/.test(E)){E=E.replace(/file:\/\/\/(\w:)?/,(function(E,N){return N?"":"/"}))}if(E in _e){return _e[E]}var N="";try{if(!q){var R=new XMLHttpRequest;R.open("GET",E,false);R.send(null);if(R.readyState===4&&R.status===200){N=R.responseText}}else if(q.existsSync(E)){N=q.readFileSync(E,"utf8")}}catch(E){}return _e[E]=N}));function supportRelativeURL(E,N){if(!E)return N;var R=$.dirname(E);var j=/^\w+:\/\/[^\/]*/.exec(R);var q=j?j[0]:"";var G=R.slice(q.length);if(q&&/^\/\w\:/.test(G)){q+="/";return q+$.resolve(R.slice(q.length),N).replace(/\\/g,"/")}return q+$.resolve(R.slice(q.length),N)}function retrieveSourceMapURL(E){var N;if(isInBrowser()){try{var R=new XMLHttpRequest;R.open("GET",E,false);R.send(null);N=R.readyState===4?R.responseText:null;var j=R.getResponseHeader("SourceMap")||R.getResponseHeader("X-SourceMap");if(j){return j}}catch(E){}}N=Ne(E);var $=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;var q,G;while(G=$.exec(N))q=G;if(!q)return null;return q[1]}var Me=handlerExec(Ie);Ie.push((function(E){var N=retrieveSourceMapURL(E);if(!N)return null;var R;if(Te.test(N)){var j=N.slice(N.indexOf(",")+1);R=G(j,"base64").toString();N=E}else{N=supportRelativeURL(E,N);R=Ne(N)}if(!R){return null}return{url:N,map:R}}));function mapSourcePosition(E){var N=Ee[E.source];if(!N){var R=Me(E.source);if(R){N=Ee[E.source]={url:R.url,map:new j(R.map)};if(N.map.sourcesContent){N.map.sources.forEach((function(E,R){var j=N.map.sourcesContent[R];if(j){var $=supportRelativeURL(N.url,E);_e[$]=j}}))}}else{N=Ee[E.source]={url:null,map:null}}}if(N&&N.map&&typeof N.map.originalPositionFor==="function"){var $=N.map.originalPositionFor(E);if($.source!==null){$.source=supportRelativeURL(N.url,$.source);return $}}return E}function mapEvalOrigin(E){var N=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(E);if(N){var R=mapSourcePosition({source:N[2],line:+N[3],column:N[4]-1});return"eval at "+N[1]+" ("+R.source+":"+R.line+":"+(R.column+1)+")"}N=/^eval at ([^(]+) \((.+)\)$/.exec(E);if(N){return"eval at "+N[1]+" ("+mapEvalOrigin(N[2])+")"}return E}function CallSiteToString(){var E;var N="";if(this.isNative()){N="native"}else{E=this.getScriptNameOrSourceURL();if(!E&&this.isEval()){N=this.getEvalOrigin();N+=", "}if(E){N+=E}else{N+="<anonymous>"}var R=this.getLineNumber();if(R!=null){N+=":"+R;var j=this.getColumnNumber();if(j){N+=":"+j}}}var $="";var q=this.getFunctionName();var G=true;var ie=this.isConstructor();var ae=!(this.isToplevel()||ie);if(ae){var ce=this.getTypeName();if(ce==="[object Object]"){ce="null"}var le=this.getMethodName();if(q){if(ce&&q.indexOf(ce)!=0){$+=ce+"."}$+=q;if(le&&q.indexOf("."+le)!=q.length-le.length-1){$+=" [as "+le+"]"}}else{$+=ce+"."+(le||"<anonymous>")}}else if(ie){$+="new "+(q||"<anonymous>")}else if(q){$+=q}else{$+=N;G=false}if(G){$+=" ("+N+")"}return $}function cloneCallSite(E){var N={};Object.getOwnPropertyNames(Object.getPrototypeOf(E)).forEach((function(R){N[R]=/^(?:is|get)/.test(R)?function(){return E[R].call(E)}:E[R]}));N.toString=CallSiteToString;return N}function wrapCallSite(E,N){if(N===undefined){N={nextPosition:null,curPosition:null}}if(E.isNative()){N.curPosition=null;return E}var R=E.getFileName()||E.getScriptNameOrSourceURL();if(R){var j=E.getLineNumber();var $=E.getColumnNumber()-1;var q=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var G=q.test(process.version)?0:62;if(j===1&&$>G&&!isInBrowser()&&!E.isEval()){$-=G}var ie=mapSourcePosition({source:R,line:j,column:$});N.curPosition=ie;E=cloneCallSite(E);var ae=E.getFunctionName;E.getFunctionName=function(){if(N.nextPosition==null){return ae()}return N.nextPosition.name||ae()};E.getFileName=function(){return ie.source};E.getLineNumber=function(){return ie.line};E.getColumnNumber=function(){return ie.column+1};E.getScriptNameOrSourceURL=function(){return ie.source};return E}var ce=E.isEval()&&E.getEvalOrigin();if(ce){ce=mapEvalOrigin(ce);E=cloneCallSite(E);E.getEvalOrigin=function(){return ce};return E}return E}function prepareStackTrace(E,N){if(ce){_e={};Ee={}}var R=E.name||"Error";var j=E.message||"";var $=R+": "+j;var q={nextPosition:null,curPosition:null};var G=[];for(var ie=N.length-1;ie>=0;ie--){G.push("\n at "+wrapCallSite(N[ie],q));q.nextPosition=q.curPosition}q.curPosition=q.nextPosition=null;return $+G.reverse().join("")}function getErrorSource(E){var N=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(E.stack);if(N){var R=N[1];var j=+N[2];var $=+N[3];var G=_e[R];if(!G&&q&&q.existsSync(R)){try{G=q.readFileSync(R,"utf8")}catch(E){G=""}}if(G){var ie=G.split(/(?:\r\n|\r|\n)/)[j-1];if(ie){return R+":"+j+"\n"+ie+"\n"+new Array($).join(" ")+"^"}}}return null}function printErrorAndExit(E){var N=getErrorSource(E);if(process.stderr._handle&&process.stderr._handle.setBlocking){process.stderr._handle.setBlocking(true)}if(N){console.error();console.error(N)}console.error(E.stack);process.exit(1)}function shimEmitUncaughtException(){var E=process.emit;process.emit=function(N){if(N==="uncaughtException"){var R=arguments[1]&&arguments[1].stack;var j=this.listeners(N).length>0;if(R&&!j){return printErrorAndExit(arguments[1])}}return E.apply(this,arguments)}}var Le=we.slice(0);var Be=Ie.slice(0);N.wrapCallSite=wrapCallSite;N.getErrorSource=getErrorSource;N.mapSourcePosition=mapSourcePosition;N.retrieveSourceMap=Me;N.install=function(N){N=N||{};if(N.environment){le=N.environment;if(["node","browser","auto"].indexOf(le)===-1){throw new Error("environment "+le+" was unknown. Available options are {auto, browser, node}")}}if(N.retrieveFile){if(N.overrideRetrieveFile){we.length=0}we.unshift(N.retrieveFile)}if(N.retrieveSourceMap){if(N.overrideRetrieveSourceMap){Ie.length=0}Ie.unshift(N.retrieveSourceMap)}if(N.hookRequire&&!isInBrowser()){var R=dynamicRequire(E,"module");var j=R.prototype._compile;if(!j.__sourceMapSupport){R.prototype._compile=function(E,N){_e[N]=E;Ee[N]=undefined;return j.call(this,E,N)};R.prototype._compile.__sourceMapSupport=true}}if(!ce){ce="emptyCacheBetweenOperations"in N?N.emptyCacheBetweenOperations:false}if(!ie){ie=true;Error.prepareStackTrace=prepareStackTrace}if(!ae){var $="handleUncaughtExceptions"in N?N.handleUncaughtExceptions:true;try{var q=dynamicRequire(E,"worker_threads");if(q.isMainThread===false){$=false}}catch(E){}if($&&hasGlobalProcessEventEmitter()){ae=true;shimEmitUncaughtException()}}};N.resetRetrieveHandlers=function(){we.length=0;Ie.length=0;we=Le.slice(0);Ie=Be.slice(0);Me=handlerExec(Ie);Ne=handlerExec(we)}},26837:(E,N,R)=>{var j=R(31983);var $=Object.prototype.hasOwnProperty;var q=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=q?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,N){var R=new ArraySet;for(var j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R};ArraySet.prototype.size=function ArraySet_size(){return q?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(E,N){var R=q?E:j.toSetString(E);var G=q?this.has(E):$.call(this._set,R);var ie=this._array.length;if(!G||N){this._array.push(E)}if(!G){if(q){this._set.set(E,ie)}else{this._set[R]=ie}}};ArraySet.prototype.has=function ArraySet_has(E){if(q){return this._set.has(E)}else{var N=j.toSetString(E);return $.call(this._set,N)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(E){if(q){var N=this._set.get(E);if(N>=0){return N}}else{var R=j.toSetString(E);if($.call(this._set,R)){return this._set[R]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E<this._array.length){return this._array[E]}throw new Error("No element indexed by "+E)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};N.I=ArraySet},4215:(E,N,R)=>{var j=R(96537);var $=5;var q=1<<$;var G=q-1;var ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){var N=(E&1)===1;var R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){var N="";var R;var q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N};N.decode=function base64VLQ_decode(E,N,R){var q=E.length;var ae=0;var ce=0;var le,_e;do{if(N>=q){throw new Error("Expected more digits in base 64 VLQ value.")}_e=j.decode(E.charCodeAt(N++));if(_e===-1){throw new Error("Invalid base64 digit: "+E.charAt(N-1))}le=!!(_e&ie);_e&=G;ae=ae+(_e<<ce);ce+=$}while(le);R.value=fromVLQSigned(ae);R.rest=N}},96537:(E,N)=>{var R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E<R.length){return R[E]}throw new TypeError("Must be between 0 and 63: "+E)};N.decode=function(E){var N=65;var R=90;var j=97;var $=122;var q=48;var G=57;var ie=43;var ae=47;var ce=26;var le=52;if(N<=E&&E<=R){return E-N}if(j<=E&&E<=$){return E-j+ce}if(q<=E&&E<=G){return E-q+le}if(E==ie){return 62}if(E==ae){return 63}return-1}},53164:(E,N)=>{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){var ie=Math.floor((R-E)/2)+E;var ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}else{return ie}}else{if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}else{return E<0?-1:E}}}N.search=function search(E,R,j,$){if(R.length===0){return-1}var q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},91740:(E,N,R)=>{var j=R(31983);function generatedPositionAfter(E,N){var R=E.generatedLine;var $=N.generatedLine;var q=E.generatedColumn;var G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,N){this._array.forEach(E,N)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};N.H=MappingList},68226:(E,N)=>{function swap(E,N,R){var j=E[N];E[N]=E[R];E[R]=j}function randomIntInRange(E,N){return Math.round(E+Math.random()*(N-E))}function doQuickSort(E,N,R,j){if(R<j){var $=randomIntInRange(R,j);var q=R-1;swap(E,$,j);var G=E[j];for(var ie=R;ie<j;ie++){if(N(E[ie],G)<=0){q+=1;swap(E,q,ie)}}swap(E,q+1,ie);var ae=q+1;doQuickSort(E,N,R,ae-1);doQuickSort(E,N,ae+1,j)}}N.U=function(E,N){doQuickSort(E,N,0,E.length-1)}},86327:(E,N,R)=>{var j;var $=R(31983);var q=R(53164);var G=R(26837).I;var ie=R(4215);var ae=R(68226).U;function SourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}return R.sections!=null?new IndexedSourceMapConsumer(R,N):new BasicSourceMapConsumer(R,N)}SourceMapConsumer.fromSourceMap=function(E,N){return BasicSourceMapConsumer.fromSourceMap(E,N)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,N){var R=E.charAt(N);return R===";"||R===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,N,R){var j=N||null;var q=R||SourceMapConsumer.GENERATED_ORDER;var G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;G.map((function(E){var N=E.source===null?null:this._sources.at(E.source);N=$.computeSourceURL(ie,N,this._sourceMapURL);return{source:N,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,j)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var N=$.getArg(E,"line");var R={source:$.getArg(E,"source"),originalLine:N,originalColumn:$.getArg(E,"column",0)};R.source=this._findSourceIndex(R.source);if(R.source<0){return[]}var j=[];var G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){var ie=this._originalMappings[G];if(E.column===undefined){var ae=ie.originalLine;while(ie&&ie.originalLine===ae){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}else{var ce=ie.originalColumn;while(ie&&ie.originalLine===N&&ie.originalColumn==ce){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}}return j};N.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sources");var ie=$.getArg(R,"names",[]);var ae=$.getArg(R,"sourceRoot",null);var ce=$.getArg(R,"sourcesContent",null);var le=$.getArg(R,"mappings");var _e=$.getArg(R,"file",null);if(j!=this._version){throw new Error("Unsupported version: "+j)}if(ae){ae=$.normalize(ae)}q=q.map(String).map($.normalize).map((function(E){return ae&&$.isAbsolute(ae)&&$.isAbsolute(E)?$.relative(ae,E):E}));this._names=G.fromArray(ie.map(String),true);this._sources=G.fromArray(q,true);this._absoluteSources=this._sources.toArray().map((function(E){return $.computeSourceURL(ae,E,N)}));this.sourceRoot=ae;this.sourcesContent=ce;this._mappings=le;this._sourceMapURL=N;this.file=_e}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}var R;for(R=0;R<this._absoluteSources.length;++R){if(this._absoluteSources[R]==E){return R}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(E,N){var R=Object.create(BasicSourceMapConsumer.prototype);var j=R._names=G.fromArray(E._names.toArray(),true);var q=R._sources=G.fromArray(E._sources.toArray(),true);R.sourceRoot=E._sourceRoot;R.sourcesContent=E._generateSourcesContent(R._sources.toArray(),R.sourceRoot);R.file=E._file;R._sourceMapURL=N;R._absoluteSources=R._sources.toArray().map((function(E){return $.computeSourceURL(R.sourceRoot,E,N)}));var ie=E._mappings.toArray().slice();var ce=R.__generatedMappings=[];var le=R.__originalMappings=[];for(var _e=0,Ee=ie.length;_e<Ee;_e++){var Te=ie[_e];var we=new Mapping;we.generatedLine=Te.generatedLine;we.generatedColumn=Te.generatedColumn;if(Te.source){we.source=q.indexOf(Te.source);we.originalLine=Te.originalLine;we.originalColumn=Te.originalColumn;if(Te.name){we.name=j.indexOf(Te.name)}le.push(we)}ce.push(we)}ae(R.__originalMappings,$.compareByOriginalPositions);return R};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,N){var R=1;var j=0;var q=0;var G=0;var ce=0;var le=0;var _e=E.length;var Ee=0;var Te={};var we={};var Ie=[];var Ne=[];var Me,Le,Be,je,Ue;while(Ee<_e){if(E.charAt(Ee)===";"){R++;Ee++;j=0}else if(E.charAt(Ee)===","){Ee++}else{Me=new Mapping;Me.generatedLine=R;for(je=Ee;je<_e;je++){if(this._charIsMappingSeparator(E,je)){break}}Le=E.slice(Ee,je);Be=Te[Le];if(Be){Ee+=Le.length}else{Be=[];while(Ee<je){ie.decode(E,Ee,we);Ue=we.value;Ee=we.rest;Be.push(Ue)}if(Be.length===2){throw new Error("Found a source, but no line and column")}if(Be.length===3){throw new Error("Found a source and line, but no column")}Te[Le]=Be}Me.generatedColumn=j+Be[0];j=Me.generatedColumn;if(Be.length>1){Me.source=ce+Be[1];ce+=Be[1];Me.originalLine=q+Be[2];q=Me.originalLine;Me.originalLine+=1;Me.originalColumn=G+Be[3];G=Me.originalColumn;if(Be.length>4){Me.name=le+Be[4];le+=Be[4]}}Ne.push(Me);if(typeof Me.originalLine==="number"){Ie.push(Me)}}}ae(Ne,$.compareByGeneratedPositionsDeflated);this.__generatedMappings=Ne;ae(Ie,$.compareByOriginalPositions);this.__originalMappings=Ie};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,N,R,j,$,G){if(E[R]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[R])}if(E[j]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[j])}return q.search(E,N,$,G)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E<this._generatedMappings.length;++E){var N=this._generatedMappings[E];if(E+1<this._generatedMappings.length){var R=this._generatedMappings[E+1];if(N.generatedLine===R.generatedLine){N.lastGeneratedColumn=R.generatedColumn-1;continue}}N.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(E){var N={generatedLine:$.getArg(E,"line"),generatedColumn:$.getArg(E,"column")};var R=this._findMapping(N,this._generatedMappings,"generatedLine","generatedColumn",$.compareByGeneratedPositionsDeflated,$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(R>=0){var j=this._generatedMappings[R];if(j.generatedLine===N.generatedLine){var q=$.getArg(j,"source",null);if(q!==null){q=this._sources.at(q);q=$.computeSourceURL(this.sourceRoot,q,this._sourceMapURL)}var G=$.getArg(j,"name",null);if(G!==null){G=this._names.at(G)}return{source:q,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:G}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,N){if(!this.sourcesContent){return null}var R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}var j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}var q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){var G=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(G)){return this.sourcesContent[this._sources.indexOf(G)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}else{throw new Error('"'+j+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}var R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};var j=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(j>=0){var q=this._originalMappings[j];if(q.source===R.source){return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:$.getArg(q,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};j=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sections");if(j!=this._version){throw new Error("Unsupported version: "+j)}this._sources=new G;this._names=new G;var ie={line:-1,column:0};this._sections=q.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var R=$.getArg(E,"offset");var j=$.getArg(R,"line");var q=$.getArg(R,"column");if(j<ie.line||j===ie.line&&q<ie.column){throw new Error("Section offsets must be ordered and non-overlapping.")}ie=R;return{generatedOffset:{generatedLine:j+1,generatedColumn:q+1},consumer:new SourceMapConsumer($.getArg(E,"map"),N)}}))}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var E=[];for(var N=0;N<this._sections.length;N++){for(var R=0;R<this._sections[N].consumer.sources.length;R++){E.push(this._sections[N].consumer.sources[R])}}return E}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(E){var N={generatedLine:$.getArg(E,"line"),generatedColumn:$.getArg(E,"column")};var R=q.search(N,this._sections,(function(E,N){var R=E.generatedLine-N.generatedOffset.generatedLine;if(R){return R}return E.generatedColumn-N.generatedOffset.generatedColumn}));var j=this._sections[R];if(!j){return{source:null,line:null,column:null,name:null}}return j.consumer.originalPositionFor({line:N.generatedLine-(j.generatedOffset.generatedLine-1),column:N.generatedColumn-(j.generatedOffset.generatedLine===N.generatedLine?j.generatedOffset.generatedColumn-1:0),bias:E.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(E){return E.consumer.hasContentsOfAllSources()}))};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(E,N){for(var R=0;R<this._sections.length;R++){var j=this._sections[R];var $=j.consumer.sourceContentFor(E,true);if($){return $}}if(N){return null}else{throw new Error('"'+E+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(E){for(var N=0;N<this._sections.length;N++){var R=this._sections[N];if(R.consumer._findSourceIndex($.getArg(E,"source"))===-1){continue}var j=R.consumer.generatedPositionFor(E);if(j){var q={line:j.line+(R.generatedOffset.generatedLine-1),column:j.column+(R.generatedOffset.generatedLine===j.line?R.generatedOffset.generatedColumn-1:0)};return q}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(E,N){this.__generatedMappings=[];this.__originalMappings=[];for(var R=0;R<this._sections.length;R++){var j=this._sections[R];var q=j.consumer._generatedMappings;for(var G=0;G<q.length;G++){var ie=q[G];var ce=j.consumer._sources.at(ie.source);ce=$.computeSourceURL(j.consumer.sourceRoot,ce,this._sourceMapURL);this._sources.add(ce);ce=this._sources.indexOf(ce);var le=null;if(ie.name){le=j.consumer._names.at(ie.name);this._names.add(le);le=this._names.indexOf(le)}var _e={source:ce,generatedLine:ie.generatedLine+(j.generatedOffset.generatedLine-1),generatedColumn:ie.generatedColumn+(j.generatedOffset.generatedLine===ie.generatedLine?j.generatedOffset.generatedColumn-1:0),originalLine:ie.originalLine,originalColumn:ie.originalColumn,name:le};this.__generatedMappings.push(_e);if(typeof _e.originalLine==="number"){this.__originalMappings.push(_e)}}}ae(this.__generatedMappings,$.compareByGeneratedPositionsDeflated);ae(this.__originalMappings,$.compareByOriginalPositions)};j=IndexedSourceMapConsumer},11341:(E,N,R)=>{var j=R(4215);var $=R(31983);var q=R(26837).I;var G=R(91740).H;function SourceMapGenerator(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var N=E.sourceRoot;var R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){var j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){var q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}var G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var N=$.getArg(E,"generated");var R=$.getArg(E,"original",null);var j=$.getArg(E,"source",null);var q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,N){var R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,N,R){var j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}var G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}var ie=new q;var ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){var q=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(q.source!=null){N.source=q.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=q.line;N.originalColumn=q.column;if(q.name!=null){N.name=q.name}}}var ce=N.source;if(ce!=null&&!ie.has(ce)){ie.add(ce)}var le=N.name;if(le!=null&&!ae.has(le)){ae.add(le)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){var j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){return}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var N=1;var R=0;var q=0;var G=0;var ie=0;var ae="";var ce;var le;var _e;var Ee;var Te=this._mappings.toArray();for(var we=0,Ie=Te.length;we<Ie;we++){le=Te[we];ce="";if(le.generatedLine!==N){E=0;while(le.generatedLine!==N){ce+=";";N++}}else{if(we>0){if(!$.compareByGeneratedPositionsInflated(le,Te[we-1])){continue}ce+=","}}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Ee=this._sources.indexOf(le.source);ce+=j.encode(Ee-ie);ie=Ee;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}var R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};N.SourceMapGenerator=SourceMapGenerator},9990:(E,N,R)=>{var j=R(11341).SourceMapGenerator;var $=R(31983);var q=/(\r?\n)/;var G=10;var ie="$$$isSourceNode$$$";function SourceNode(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ie]=true;if(j!=null)this.add(j)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,N,R){var j=new SourceNode;var G=E.split(q);var ie=0;var shiftNextLine=function(){var E=getNextLine();var N=getNextLine()||"";return E+N;function getNextLine(){return ie<G.length?G[ie++]:undefined}};var ae=1,ce=0;var le=null;N.eachMapping((function(E){if(le!==null){if(ae<E.generatedLine){addMappingWithCode(le,shiftNextLine());ae++;ce=0}else{var N=G[ie]||"";var R=N.substr(0,E.generatedColumn-ce);G[ie]=N.substr(E.generatedColumn-ce);ce=E.generatedColumn;addMappingWithCode(le,R);le=E;return}}while(ae<E.generatedLine){j.add(shiftNextLine());ae++}if(ce<E.generatedColumn){var N=G[ie]||"";j.add(N.substr(0,E.generatedColumn));G[ie]=N.substr(E.generatedColumn);ce=E.generatedColumn}le=E}),this);if(ie<G.length){if(le){addMappingWithCode(le,shiftNextLine())}j.add(G.splice(ie).join(""))}N.sources.forEach((function(E){var q=N.sourceContentFor(E);if(q!=null){if(R!=null){E=$.join(R,E)}j.setSourceContent(E,q)}}));return j;function addMappingWithCode(E,N){if(E===null||E.source===undefined){j.add(N)}else{var q=R?$.join(R,E.source):E.source;j.add(new SourceNode(E.originalLine,E.originalColumn,q,N,E.name))}}};SourceNode.prototype.add=function SourceNode_add(E){if(Array.isArray(E)){E.forEach((function(E){this.add(E)}),this)}else if(E[ie]||typeof E==="string"){if(E){this.children.push(E)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(E){if(Array.isArray(E)){for(var N=E.length-1;N>=0;N--){this.prepend(E[N])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var N;for(var R=0,j=this.children.length;R<j;R++){N=this.children[R];if(N[ie]){N.walk(E)}else{if(N!==""){E(N,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(E){var N;var R;var j=this.children.length;if(j>0){N=[];for(R=0;R<j-1;R++){N.push(this.children[R]);N.push(E)}N.push(this.children[R]);this.children=N}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(E,N){var R=this.children[this.children.length-1];if(R[ie]){R.replaceRight(E,N)}else if(typeof R==="string"){this.children[this.children.length-1]=R.replace(E,N)}else{this.children.push("".replace(E,N))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(E,N){this.sourceContents[$.toSetString(E)]=N};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(E){for(var N=0,R=this.children.length;N<R;N++){if(this.children[N][ie]){this.children[N].walkSourceContents(E)}}var j=Object.keys(this.sourceContents);for(var N=0,R=j.length;N<R;N++){E($.fromSetString(j[N]),this.sourceContents[j[N]])}};SourceNode.prototype.toString=function SourceNode_toString(){var E="";this.walk((function(N){E+=N}));return E};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(E){var N={code:"",line:1,column:0};var R=new j(E);var $=false;var q=null;var ie=null;var ae=null;var ce=null;this.walk((function(E,j){N.code+=E;if(j.source!==null&&j.line!==null&&j.column!==null){if(q!==j.source||ie!==j.line||ae!==j.column||ce!==j.name){R.addMapping({source:j.source,original:{line:j.line,column:j.column},generated:{line:N.line,column:N.column},name:j.name})}q=j.source;ie=j.line;ae=j.column;ce=j.name;$=true}else if($){R.addMapping({generated:{line:N.line,column:N.column}});q=null;$=false}for(var le=0,_e=E.length;le<_e;le++){if(E.charCodeAt(le)===G){N.line++;N.column=0;if(le+1===_e){q=null;$=false}else if($){R.addMapping({source:j.source,original:{line:j.line,column:j.column},generated:{line:N.line,column:N.column},name:j.name})}}else{N.column++}}}));this.walkSourceContents((function(E,N){R.setSourceContent(E,N)}));return{code:N.code,map:R}};N.SourceNode=SourceNode},31983:(E,N)=>{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}else{throw new Error('"'+N+'" is a required argument.')}}N.getArg=getArg;var R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var j=/^data:.+\,.+$/;function urlParse(E){var N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){var N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;function normalize(E){var R=E;var j=urlParse(E);if(j){if(!j.path){return E}R=j.path}var $=N.isAbsolute(R);var q=R.split(/\/+/);for(var G,ie=0,ae=q.length-1;ae>=0;ae--){G=q[ae];if(G==="."){q.splice(ae,1)}else if(G===".."){ie++}else if(ie>0){if(G===""){q.splice(ae+1,ie);ie=0}else{q.splice(ae,2);ie--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}N.normalize=normalize;function join(E,N){if(E===""){E="."}if(N===""){N="."}var R=urlParse(N);var $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}var q=N.charAt(0)==="/"?N:normalize(E.replace(/\/+$/,"")+"/"+N);if($){$.path=q;return urlGenerate($)}return q}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");var R=0;while(N.indexOf(E+"/")!==0){var j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;var $=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=$?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=$?identity:fromSetString;function isProtoString(E){if(!E){return false}var N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(var R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){var j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){var j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){var R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){var j=urlParse(R);if(!j){throw new Error("sourceMapURL could not be parsed")}if(j.path){var $=j.path.lastIndexOf("/");if($>=0){j.path=j.path.substring(0,$+1)}}N=join(urlGenerate(j),N)}return normalize(N)}N.computeSourceURL=computeSourceURL},99596:(E,N,R)=>{N.SourceMapGenerator=R(11341).SourceMapGenerator;N.SourceMapConsumer=R(86327).SourceMapConsumer;N.SourceNode=R(9990).SourceNode},96204:(E,N,R)=>{"use strict";const j=R(22037);const $=R(76224);const q=R(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){ie=1}else if(G.FORCE_COLOR==="false"){ie=0}else{ie=G.FORCE_COLOR.length===0?1:Math.min(parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,N){if(ie===0){return 0}if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}if(E&&!N&&ie===undefined){return 0}const R=ie||0;if(G.TERM==="dumb"){return R}if(process.platform==="win32"){const E=j.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return R}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return R}function getSupportLevel(E){const N=supportsColor(E,E&&E.isTTY);return translateLevel(N)}E.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,$.isatty(1))),stderr:translateLevel(supportsColor(true,$.isatty(2)))}},78802:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncParallelBailHookCodeFactory extends ${content({onError:E,onResult:N,onDone:R}){let j="";j+=`var _results = new Array(${this.options.taps.length});\n`;j+="var _checkDone = function() {\n";j+="for(var i = 0; i < _results.length; i++) {\n";j+="var item = _results[i];\n";j+="if(item === undefined) return false;\n";j+="if(item.result !== undefined) {\n";j+=N("item.result");j+="return true;\n";j+="}\n";j+="if(item.error) {\n";j+=E("item.error");j+="return true;\n";j+="}\n";j+="}\n";j+="return false;\n";j+="}\n";j+=this.callTapsParallel({onError:(E,N,R,j)=>{let $="";$+=`if(${E} < _results.length && ((_results.length = ${E+1}), (_results[${E}] = { error: ${N} }), _checkDone())) {\n`;$+=j(true);$+="} else {\n";$+=R();$+="}\n";return $},onResult:(E,N,R,j)=>{let $="";$+=`if(${E} < _results.length && (${N} !== undefined && (_results.length = ${E+1}), (_results[${E}] = { result: ${N} }), _checkDone())) {\n`;$+=j(true);$+="} else {\n";$+=R();$+="}\n";return $},onTap:(E,N,R,j)=>{let $="";if(E>0){$+=`if(${E} >= _results.length) {\n`;$+=R();$+="} else {\n"}$+=N();if(E>0)$+="}\n";return $},onDone:R});return j}}const q=new AsyncParallelBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncParallelBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelBailHook.prototype=null;E.exports=AsyncParallelBailHook},3350:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncParallelHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsParallel({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncParallelHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncParallelHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelHook.prototype=null;E.exports=AsyncParallelHook},4953:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)}\n} else {\n${j()}}\n`,resultReturns:R,onDone:j})}}const q=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesBailHook.prototype=null;E.exports=AsyncSeriesBailHook},68152:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesHook.prototype=null;E.exports=AsyncSeriesHook},25810:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesLoopHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsLooping({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesLoopHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesLoopHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesLoopHook.prototype=null;E.exports=AsyncSeriesLoopHook},66760:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesWaterfallHookCodeFactory extends ${content({onError:E,onResult:N,onDone:R}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,N,R)=>{let j="";j+=`if(${N} !== undefined) {\n`;j+=`${this._args[0]} = ${N};\n`;j+=`}\n`;j+=R();return j},onDone:()=>N(this._args[0])})}}const q=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesWaterfallHook(E=[],N=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new j(E,N);R.constructor=AsyncSeriesWaterfallHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesWaterfallHook.prototype=null;E.exports=AsyncSeriesWaterfallHook},67332:(E,N,R)=>{"use strict";const j=R(73837);const $=j.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...E){this.call=this._createCall("sync");return this.call(...E)};const CALL_ASYNC_DELEGATE=function(...E){this.callAsync=this._createCall("async");return this.callAsync(...E)};const PROMISE_DELEGATE=function(...E){this.promise=this._createCall("promise");return this.promise(...E)};class Hook{constructor(E=[],N=undefined){this._args=E;this.name=N;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(E){throw new Error("Abstract: should be overridden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}_tap(E,N,R){if(typeof N==="string"){N={name:N.trim()}}else if(typeof N!=="object"||N===null){throw new Error("Invalid tap options")}if(typeof N.name!=="string"||N.name===""){throw new Error("Missing name for tap")}if(typeof N.context!=="undefined"){$()}N=Object.assign({type:E,fn:R},N);N=this._runRegisterInterceptors(N);this._insert(N)}tap(E,N){this._tap("sync",E,N)}tapAsync(E,N){this._tap("async",E,N)}tapPromise(E,N){this._tap("promise",E,N)}_runRegisterInterceptors(E){for(const N of this.interceptors){if(N.register){const R=N.register(E);if(R!==undefined){E=R}}}return E}withOptions(E){const mergeOptions=N=>Object.assign({},E,typeof N==="string"?{name:N}:N);return{name:this.name,tap:(E,N)=>this.tap(mergeOptions(E),N),tapAsync:(E,N)=>this.tapAsync(mergeOptions(E),N),tapPromise:(E,N)=>this.tapPromise(mergeOptions(E),N),intercept:E=>this.intercept(E),isUsed:()=>this.isUsed(),withOptions:E=>this.withOptions(mergeOptions(E))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let N=0;N<this.taps.length;N++){this.taps[N]=E.register(this.taps[N])}}}_resetCompilation(){this.call=this._call;this.callAsync=this._callAsync;this.promise=this._promise}_insert(E){this._resetCompilation();let N;if(typeof E.before==="string"){N=new Set([E.before])}else if(Array.isArray(E.before)){N=new Set(E.before)}let R=0;if(typeof E.stage==="number"){R=E.stage}let j=this.taps.length;while(j>0){j--;const E=this.taps[j];this.taps[j+1]=E;const $=E.stage||0;if(N){if(N.has(E.name)){N.delete(E.name);continue}if(N.size>0){continue}}if($>R){continue}j++;break}this.taps[j]=E}}Object.setPrototypeOf(Hook.prototype,null);E.exports=Hook},91165:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let N;switch(this.options.type){case"sync":N=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":N=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const R=this.contentWithInterceptors({onError:N=>{E=true;return`_error(${N});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let j="";j+='"use strict";\n';j+=this.header();j+="return new Promise((function(_resolve, _reject) {\n";if(E){j+="var _sync = true;\n";j+="function _error(_err) {\n";j+="if(_sync)\n";j+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";j+="else\n";j+="_reject(_err);\n";j+="};\n"}j+=R;if(E){j+="_sync = false;\n"}j+="}));\n";N=new Function(this.args(),j);break}this.deinit();return N}setup(E,N){E._x=N.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(E){if(this.options.interceptors.length>0){const N=E.onError;const R=E.onResult;const j=E.onDone;let $="";for(let E=0;E<this.options.interceptors.length;E++){const N=this.options.interceptors[E];if(N.call){$+=`${this.getInterceptor(E)}.call(${this.args({before:N.context?"_context":undefined})});\n`}}$+=this.content(Object.assign(E,{onError:N&&(E=>{let R="";for(let N=0;N<this.options.interceptors.length;N++){const j=this.options.interceptors[N];if(j.error){R+=`${this.getInterceptor(N)}.error(${E});\n`}}R+=N(E);return R}),onResult:R&&(E=>{let N="";for(let R=0;R<this.options.interceptors.length;R++){const j=this.options.interceptors[R];if(j.result){N+=`${this.getInterceptor(R)}.result(${E});\n`}}N+=R(E);return N}),onDone:j&&(()=>{let E="";for(let N=0;N<this.options.interceptors.length;N++){const R=this.options.interceptors[N];if(R.done){E+=`${this.getInterceptor(N)}.done();\n`}}E+=j();return E})}));return $}else{return this.content(E)}}header(){let E="";if(this.needContext()){E+="var _context = {};\n"}else{E+="var _context;\n"}E+="var _x = this._x;\n";if(this.options.interceptors.length>0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:N,onResult:R,onDone:j,rethrowIfPossible:$}){let q="";let G=false;for(let N=0;N<this.options.interceptors.length;N++){const R=this.options.interceptors[N];if(R.tap){if(!G){q+=`var _tap${E} = ${this.getTap(E)};\n`;G=true}q+=`${this.getInterceptor(N)}.tap(${R.context?"_context, ":""}_tap${E});\n`}}q+=`var _fn${E} = ${this.getTapFn(E)};\n`;const ie=this.options.taps[E];switch(ie.type){case"sync":if(!$){q+=`var _hasError${E} = false;\n`;q+="try {\n"}if(R){q+=`var _result${E} = _fn${E}(${this.args({before:ie.context?"_context":undefined})});\n`}else{q+=`_fn${E}(${this.args({before:ie.context?"_context":undefined})});\n`}if(!$){q+="} catch(_err) {\n";q+=`_hasError${E} = true;\n`;q+=N("_err");q+="}\n";q+=`if(!_hasError${E}) {\n`}if(R){q+=R(`_result${E}`)}if(j){q+=j()}if(!$){q+="}\n"}break;case"async":let G="";if(R)G+=`(function(_err${E}, _result${E}) {\n`;else G+=`(function(_err${E}) {\n`;G+=`if(_err${E}) {\n`;G+=N(`_err${E}`);G+="} else {\n";if(R){G+=R(`_result${E}`)}if(j){G+=j()}G+="}\n";G+="})";q+=`_fn${E}(${this.args({before:ie.context?"_context":undefined,after:G})});\n`;break;case"promise":q+=`var _hasResult${E} = false;\n`;q+=`var _promise${E} = _fn${E}(${this.args({before:ie.context?"_context":undefined})});\n`;q+=`if (!_promise${E} || !_promise${E}.then)\n`;q+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${E} + ')');\n`;q+=`_promise${E}.then((function(_result${E}) {\n`;q+=`_hasResult${E} = true;\n`;if(R){q+=R(`_result${E}`)}if(j){q+=j()}q+=`}), function(_err${E}) {\n`;q+=`if(_hasResult${E}) throw _err${E};\n`;q+=N(`_err${E}`);q+="});\n";break}return q}callTapsSeries({onError:E,onResult:N,resultReturns:R,onDone:j,doneReturns:$,rethrowIfPossible:q}){if(this.options.taps.length===0)return j();const G=this.options.taps.findIndex((E=>E.type!=="sync"));const ie=R||$;let ae="";let ce=j;let le=0;for(let R=this.options.taps.length-1;R>=0;R--){const $=R;const _e=ce!==j&&(this.options.taps[$].type!=="sync"||le++>20);if(_e){le=0;ae+=`function _next${$}() {\n`;ae+=ce();ae+=`}\n`;ce=()=>`${ie?"return ":""}_next${$}();\n`}const Ee=ce;const doneBreak=E=>{if(E)return"";return j()};const Te=this.callTap($,{onError:N=>E($,N,Ee,doneBreak),onResult:N&&(E=>N($,E,Ee,doneBreak)),onDone:!N&&Ee,rethrowIfPossible:q&&(G<0||$<G)});ce=()=>Te}ae+=ce();return ae}callTapsLooping({onError:E,onDone:N,rethrowIfPossible:R}){if(this.options.taps.length===0)return N();const j=this.options.taps.every((E=>E.type==="sync"));let $="";if(!j){$+="var _looper = (function() {\n";$+="var _loopAsync = false;\n"}$+="var _loop;\n";$+="do {\n";$+="_loop = false;\n";for(let E=0;E<this.options.interceptors.length;E++){const N=this.options.interceptors[E];if(N.loop){$+=`${this.getInterceptor(E)}.loop(${this.args({before:N.context?"_context":undefined})});\n`}}$+=this.callTapsSeries({onError:E,onResult:(E,N,R,$)=>{let q="";q+=`if(${N} !== undefined) {\n`;q+="_loop = true;\n";if(!j)q+="if(_loopAsync) _looper();\n";q+=$(true);q+=`} else {\n`;q+=R();q+=`}\n`;return q},onDone:N&&(()=>{let E="";E+="if(!_loop) {\n";E+=N();E+="}\n";return E}),rethrowIfPossible:R&&j});$+="} while(_loop);\n";if(!j){$+="_loopAsync = true;\n";$+="});\n";$+="_looper();\n"}return $}callTapsParallel({onError:E,onResult:N,onDone:R,rethrowIfPossible:j,onTap:$=((E,N)=>N())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:N,onDone:R,rethrowIfPossible:j})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(R){q+="var _done = (function() {\n";q+=R();q+="});\n"}for(let G=0;G<this.options.taps.length;G++){const done=()=>{if(R)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!R)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=$(G,(()=>this.callTap(G,{onError:N=>{let R="";R+="if(_counter > 0) {\n";R+=E(G,N,done,doneBreak);R+="}\n";return R},onResult:N&&(E=>{let R="";R+="if(_counter > 0) {\n";R+=N(G,E,done,doneBreak);R+="}\n";return R}),onDone:!N&&(()=>done()),rethrowIfPossible:j})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:N}={}){let R=this._args;if(E)R=[E].concat(R);if(N)R=R.concat(N);if(R.length===0){return""}else{return R.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},28636:(E,N,R)=>{"use strict";const j=R(73837);const defaultFactory=(E,N)=>N;class HookMap{constructor(E,N=undefined){this._map=new Map;this.name=N;this._factory=E;this._interceptors=[]}get(E){return this._map.get(E)}for(E){const N=this.get(E);if(N!==undefined){return N}let R=this._factory(E);const j=this._interceptors;for(let N=0;N<j.length;N++){R=j[N].factory(E,R)}this._map.set(E,R);return R}intercept(E){this._interceptors.push(Object.assign({factory:defaultFactory},E))}}HookMap.prototype.tap=j.deprecate((function(E,N,R){return this.for(E).tap(N,R)}),"HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.");HookMap.prototype.tapAsync=j.deprecate((function(E,N,R){return this.for(E).tapAsync(N,R)}),"HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.");HookMap.prototype.tapPromise=j.deprecate((function(E,N,R){return this.for(E).tapPromise(N,R)}),"HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.");E.exports=HookMap},20937:(E,N,R)=>{"use strict";const j=R(67332);class MultiHook{constructor(E,N=undefined){this.hooks=E;this.name=N}tap(E,N){for(const R of this.hooks){R.tap(E,N)}}tapAsync(E,N){for(const R of this.hooks){R.tapAsync(E,N)}}tapPromise(E,N){for(const R of this.hooks){R.tapPromise(E,N)}}isUsed(){for(const E of this.hooks){if(E.isUsed())return true}return false}intercept(E){for(const N of this.hooks){N.intercept(E)}}withOptions(E){return new MultiHook(this.hooks.map((N=>N.withOptions(E))),this.name)}}E.exports=MultiHook},3334:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j,rethrowIfPossible:$}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j,rethrowIfPossible:$})}}const q=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncBailHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncBailHook.prototype=null;E.exports=SyncBailHook},6728:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsSeries({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncHook.prototype=null;E.exports=SyncHook},52332:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncLoopHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsLooping({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncLoopHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncLoopHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncLoopHook.prototype=null;E.exports=SyncLoopHook},81934:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncWaterfallHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,rethrowIfPossible:j}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,N,R)=>{let j="";j+=`if(${N} !== undefined) {\n`;j+=`${this._args[0]} = ${N};\n`;j+=`}\n`;j+=R();return j},onDone:()=>N(this._args[0]),doneReturns:R,rethrowIfPossible:j})}}const q=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncWaterfallHook(E=[],N=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new j(E,N);R.constructor=SyncWaterfallHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncWaterfallHook.prototype=null;E.exports=SyncWaterfallHook},92960:(E,N,R)=>{"use strict";N.__esModule=true;N.SyncHook=R(6728);N.SyncBailHook=R(3334);N.SyncWaterfallHook=R(81934);N.SyncLoopHook=R(52332);N.AsyncParallelHook=R(3350);N.AsyncParallelBailHook=R(78802);N.AsyncSeriesHook=R(68152);N.AsyncSeriesBailHook=R(4953);N.AsyncSeriesLoopHook=R(25810);N.AsyncSeriesWaterfallHook=R(66760);N.HookMap=R(28636);N.MultiHook=R(20937)},96013:(E,N,R)=>{"use strict";const j=R(98225);E.exports=j.default},98225:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireWildcard(R(71017));var $=_interopRequireWildcard(R(22037));var q=R(99596);var G=R(15235);var ie=_interopRequireDefault(R(35764));var ae=_interopRequireWildcard(R(54703));var ce=_interopRequireDefault(R(97909));var le=R(69419);var _e=_interopRequireWildcard(R(11519));var Ee=R(6218);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}class TerserPlugin{constructor(E={}){(0,G.validate)(_e,E,{name:"Terser Plugin",baseDataPath:"options"});const{minify:N,terserOptions:R={},test:j=/\.[cm]?js(\?.*)?$/i,extractComments:$=true,parallel:q=true,include:ie,exclude:ae}=E;this.options={test:j,extractComments:$,parallel:q,include:ie,exclude:ae,minify:N,terserOptions:R}}static isSourceMap(E){return Boolean(E&&E.version&&E.sources&&Array.isArray(E.sources)&&typeof E.mappings==="string")}static buildError(E,N,R,j){if(E.line){const $=j&&j.originalPositionFor({line:E.line,column:E.col});if($&&$.source&&R){return new Error(`${N} from Terser\n${E.message} [${R.shorten($.source)}:${$.line},${$.column}][${N}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${N} from Terser\n${E.message} [${N}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}if(E.stack){return new Error(`${N} from Terser\n${E.stack}`)}return new Error(`${N} from Terser\n${E.message}`)}static getAvailableNumberOfCores(E){const N=$.cpus()||{length:1};return E===true?N.length-1:Math.min(Number(E)||0,N.length-1)}async optimize(E,N,$,G){const ae=N.getCache("TerserWebpackPlugin");let _e=0;const Te=await Promise.all(Object.keys($).filter((R=>{const{info:j}=N.getAsset(R);if(j.minimized||j.extractedComments){return false}if(!E.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(R)){return false}return true})).map((async E=>{const{info:R,source:j}=N.getAsset(E);const $=ae.getLazyHashedEtag(j);const q=ae.getItemCache(E,$);const G=await q.getPromise();if(!G){_e+=1}return{name:E,info:R,inputSource:j,output:G,cacheItem:q}})));let we;let Ie;let Ne;if(G.availableNumberOfCores>0){Ne=Math.min(_e,G.availableNumberOfCores);we=()=>{if(Ie){return Ie}Ie=new le.Worker(R.ab+"minify.js",{numWorkers:Ne,enableWorkerThreads:true});const E=Ie.getStdout();if(E){E.on("data",(E=>process.stdout.write(E)))}const N=Ie.getStderr();if(N){N.on("data",(E=>process.stderr.write(E)))}return Ie}}const Me=(0,ce.default)(we&&_e>0?Ne:Infinity);const{SourceMapSource:Le,ConcatSource:Be,RawSource:je}=E.webpack.sources;const Ue=new Map;const ze=[];for(const E of Te){ze.push(Me((async()=>{const{name:R,inputSource:$,info:G,cacheItem:ae}=E;let{output:ce}=E;if(!ce){let E;let le;const{source:_e,map:Te}=$.sourceAndMap();E=_e;if(Te){if(TerserPlugin.isSourceMap(Te)){le=Te}else{le=Te;N.warnings.push(new Error(`${R} contains invalid source map`))}}if(Buffer.isBuffer(E)){E=E.toString()}const Ie={name:R,input:E,inputSourceMap:le,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Ie.minifyOptions.module==="undefined"){if(typeof G.javascriptModule!=="undefined"){Ie.minifyOptions.module=G.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(R)){Ie.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(R)){Ie.minifyOptions.module=false}}try{ce=await(we?we().transform((0,ie.default)(Ie)):(0,Ee.minify)(Ie))}catch(E){const j=le&&TerserPlugin.isSourceMap(le);N.errors.push(TerserPlugin.buildError(E,R,j?N.requestShortener:undefined,j?new q.SourceMapConsumer(le):undefined));return}let Ne;if(this.options.extractComments.banner!==false&&ce.extractedComments&&ce.extractedComments.length>0&&ce.code.startsWith("#!")){const E=ce.code.indexOf("\n");Ne=ce.code.substring(0,E);ce.code=ce.code.substring(E+1)}if(ce.map){ce.source=new Le(ce.code,R,ce.map,E,le,true)}else{ce.source=new je(ce.code)}if(ce.extractedComments&&ce.extractedComments.length>0){const E=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let $="";let q=R;const G=q.indexOf("?");if(G>=0){$=q.substr(G);q=q.substr(0,G)}const ie=q.lastIndexOf("/");const ae=ie===-1?q:q.substr(ie+1);const le={filename:q,basename:ae,query:$};ce.commentsFilename=N.getPath(E,le);let _e;if(this.options.extractComments.banner!==false){_e=this.options.extractComments.banner||`For license information please see ${j.relative(j.dirname(R),ce.commentsFilename).replace(/\\/g,"/")}`;if(typeof _e==="function"){_e=_e(ce.commentsFilename)}if(_e){ce.source=new Be(Ne?`${Ne}\n`:"",`/*! ${_e} */\n`,ce.source)}}const Ee=ce.extractedComments.sort().join("\n\n");ce.extractedCommentsSource=new je(`${Ee}\n`)}await ae.storePromise({source:ce.source,commentsFilename:ce.commentsFilename,extractedCommentsSource:ce.extractedCommentsSource})}const le={minimized:true};const{source:_e,extractedCommentsSource:Te}=ce;if(Te){const{commentsFilename:E}=ce;le.related={license:E};Ue.set(R,{extractedCommentsSource:Te,commentsFilename:E})}N.updateAsset(R,_e,le)})))}await Promise.all(ze);if(Ie){await Ie.end()}await Array.from(Ue).sort().reduce((async(E,[R,j])=>{const $=await E;const{commentsFilename:q,extractedCommentsSource:G}=j;if($&&$.commentsFilename===q){const{from:E,source:j}=$;const ie=`${E}|${R}`;const ce=`${q}|${ie}`;const le=[j,G].map((E=>ae.getLazyHashedEtag(E))).reduce(((E,N)=>ae.mergeEtags(E,N)));let _e=await ae.getPromise(ce,le);if(!_e){_e=new Be(Array.from(new Set([...j.source().split("\n\n"),...G.source().split("\n\n")])).join("\n\n"));await ae.storePromise(ce,le,_e)}N.updateAsset(q,_e);return{source:_e,commentsFilename:q,from:ie}}const ie=N.getAsset(q);if(ie){return{source:ie.source,commentsFilename:q,from:q}}N.emitAsset(q,G,{extractedComments:true});return{source:G,commentsFilename:q,from:R}}),Promise.resolve())}static getEcmaVersion(E){if(E.arrowFunction||E.const||E.destructuring||E.forOf||E.module){return 2015}if(E.bigIntLiteral||E.dynamicImport){return 2020}return 5}apply(E){const{output:N}=E.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(N.environment||{})}const R=this.constructor.name;const j=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);E.hooks.compilation.tap(R,(N=>{const $=E.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(N);const q=(0,ie.default)({terser:ae.version,terserOptions:this.options.terserOptions});$.chunkHash.tap(R,((E,N)=>{N.update("TerserPlugin");N.update(q)}));N.hooks.processAssets.tapPromise({name:R,stage:E.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(R=>this.optimize(E,N,R,{availableNumberOfCores:j})));N.hooks.statsPrinter.tap(R,(E=>{E.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((E,{green:N,formatFlag:R})=>E?N(R("minimized")):""))}))}))}}var Te=TerserPlugin;N["default"]=Te},6218:(E,N,R)=>{"use strict";E=R.nmd(E);const{minify:j}=R(44858);function buildTerserOptions(E={}){return{...E,compress:typeof E.compress==="boolean"?E.compress:{...E.compress},mangle:E.mangle==null?true:typeof E.mangle==="boolean"?E.mangle:{...E.mangle},...E.format?{format:{beautify:false,...E.format}}:{output:{beautify:false,...E.output}},parse:{...E.parse},sourceMap:undefined}}function isObject(E){const N=typeof E;return E!=null&&(N==="object"||N==="function")}function buildComments(E,N,R){const j={};let $;if(N.format){({comments:$}=N.format)}else if(N.output){({comments:$}=N.output)}j.preserve=typeof $!=="undefined"?$:false;if(typeof E==="boolean"&&E){j.extract="some"}else if(typeof E==="string"||E instanceof RegExp){j.extract=E}else if(typeof E==="function"){j.extract=E}else if(E&&isObject(E)){j.extract=typeof E.condition==="boolean"&&E.condition?"some":typeof E.condition!=="undefined"?E.condition:"some"}else{j.preserve=typeof $!=="undefined"?$:"some";j.extract=false}["preserve","extract"].forEach((E=>{let N;let R;switch(typeof j[E]){case"boolean":j[E]=j[E]?()=>true:()=>false;break;case"function":break;case"string":if(j[E]==="all"){j[E]=()=>true;break}if(j[E]==="some"){j[E]=(E,N)=>(N.type==="comment2"||N.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(N.value);break}N=j[E];j[E]=(E,R)=>new RegExp(N).test(R.value);break;default:R=j[E];j[E]=(E,N)=>R.test(N.value)}}));return(E,N)=>{if(j.extract(E,N)){const E=N.type==="comment2"?`/*${N.value}*/`:`//${N.value}`;if(!R.includes(E)){R.push(E)}}return j.preserve(E,N)}}async function minify(E){const{name:N,input:R,inputSourceMap:$,minify:q,minifyOptions:G}=E;if(q){return q({[N]:R},$,G)}const ie=buildTerserOptions(G);if($){ie.sourceMap={asObject:true}}const ae=[];const{extractComments:ce}=E;if(ie.output){ie.output.comments=buildComments(ce,ie,ae)}else if(ie.format){ie.format.comments=buildComments(ce,ie,ae)}const le=await j({[N]:R},ie);return{...le,extractedComments:ae}}function transform(R){const j=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${R}`)(N,require,E,__filename,__dirname);return minify(j)}E.exports.minify=minify;E.exports.transform=transform},97909:(E,N,R)=>{"use strict";const j=R(74395);const pLimit=E=>{if(!((Number.isInteger(E)||E===Infinity)&&E>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const N=new j;let R=0;const next=()=>{R--;if(N.size>0){N.dequeue()()}};const run=async(E,N,...j)=>{R++;const $=(async()=>E(...j))();N($);try{await $}catch{}next()};const enqueue=(j,$,...q)=>{N.enqueue(run.bind(null,j,$,...q));(async()=>{await Promise.resolve();if(R<E&&N.size>0){N.dequeue()()}})()};const generator=(E,...N)=>new Promise((R=>{enqueue(E,R,...N)}));Object.defineProperties(generator,{activeCount:{get:()=>R},pendingCount:{get:()=>N.size},clearQueue:{value:()=>{N.clear()}}});return generator};E.exports=pLimit},35764:(E,N,R)=>{"use strict";var j=R(31998);var $=16;var q=generateUID();var G=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+q+'-(\\d+)__@"',"g");var ie=/\{\s*\[native code\]\s*\}/g;var ae=/function.*?\(/;var ce=/.*?=>.*?/;var le=/[<>\/\u2028\u2029]/g;var _e=["*","async"];var Ee={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(E){return Ee[E]}function generateUID(){var E=j($);var N="";for(var R=0;R<$;++R){N+=E[R].toString(16)}return N}function deleteFunctions(E){var N=[];for(var R in E){if(typeof E[R]==="function"){N.push(R)}}for(var j=0;j<N.length;j++){delete E[N[j]]}}E.exports=function serialize(E,N){N||(N={});if(typeof N==="number"||typeof N==="string"){N={space:N}}var R=[];var j=[];var $=[];var Ee=[];var Te=[];var we=[];var Ie=[];var Ne=[];var Me=[];var Le=[];function replacer(E,G){if(N.ignoreFunction){deleteFunctions(G)}if(!G&&G!==undefined){return G}var ie=this[E];var ae=typeof ie;if(ae==="object"){if(ie instanceof RegExp){return"@__R-"+q+"-"+(j.push(ie)-1)+"__@"}if(ie instanceof Date){return"@__D-"+q+"-"+($.push(ie)-1)+"__@"}if(ie instanceof Map){return"@__M-"+q+"-"+(Ee.push(ie)-1)+"__@"}if(ie instanceof Set){return"@__S-"+q+"-"+(Te.push(ie)-1)+"__@"}if(ie instanceof Array){var ce=ie.filter((function(){return true})).length!==ie.length;if(ce){return"@__A-"+q+"-"+(we.push(ie)-1)+"__@"}}if(ie instanceof URL){return"@__L-"+q+"-"+(Le.push(ie)-1)+"__@"}}if(ae==="function"){return"@__F-"+q+"-"+(R.push(ie)-1)+"__@"}if(ae==="undefined"){return"@__U-"+q+"-"+(Ie.push(ie)-1)+"__@"}if(ae==="number"&&!isNaN(ie)&&!isFinite(ie)){return"@__I-"+q+"-"+(Ne.push(ie)-1)+"__@"}if(ae==="bigint"){return"@__B-"+q+"-"+(Me.push(ie)-1)+"__@"}return G}function serializeFunc(E){var N=E.toString();if(ie.test(N)){throw new TypeError("Serializing native function: "+E.name)}if(ae.test(N)){return N}if(ce.test(N)){return N}var R=N.indexOf("(");var j=N.substr(0,R).trim().split(" ").filter((function(E){return E.length>0}));var $=j.filter((function(E){return _e.indexOf(E)===-1}));if($.length>0){return(j.indexOf("async")>-1?"async ":"")+"function"+(j.join("").indexOf("*")>-1?"*":"")+N.substr(R)}return N}if(N.ignoreFunction&&typeof E==="function"){E=undefined}if(E===undefined){return String(E)}var Be;if(N.isJSON&&!N.space){Be=JSON.stringify(E)}else{Be=JSON.stringify(E,N.isJSON?null:replacer,N.space)}if(typeof Be!=="string"){return String(Be)}if(N.unsafe!==true){Be=Be.replace(le,escapeUnsafeChars)}if(R.length===0&&j.length===0&&$.length===0&&Ee.length===0&&Te.length===0&&we.length===0&&Ie.length===0&&Ne.length===0&&Me.length===0&&Le.length===0){return Be}return Be.replace(G,(function(E,q,G,ie){if(q){return E}if(G==="D"){return'new Date("'+$[ie].toISOString()+'")'}if(G==="R"){return"new RegExp("+serialize(j[ie].source)+', "'+j[ie].flags+'")'}if(G==="M"){return"new Map("+serialize(Array.from(Ee[ie].entries()),N)+")"}if(G==="S"){return"new Set("+serialize(Array.from(Te[ie].values()),N)+")"}if(G==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:we[ie].length},we[ie]),N)+")"}if(G==="U"){return"undefined"}if(G==="I"){return Ne[ie]}if(G==="B"){return'BigInt("'+Me[ie]+'")'}if(G==="L"){return'new URL("'+Le[ie].toString()+'")'}var ae=R[ie];return serializeFunc(ae)}))}},85431:(E,N)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,N){const R=new ArraySet;for(let j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R}size(){return this._set.size}add(E,N){const R=this.has(E);const j=this._array.length;if(!R||N){this._array.push(E)}if(!R){this._set.set(E,j)}}has(E){return this._set.has(E)}indexOf(E){const N=this._set.get(E);if(N>=0){return N}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E<this._array.length){return this._array[E]}throw new Error("No element indexed by "+E)}toArray(){return this._array.slice()}}N.I=ArraySet},2635:(E,N,R)=>{const j=R(45210);const $=5;const q=1<<$;const G=q-1;const ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){const N=(E&1)===1;const R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){let N="";let R;let q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N}},45210:(E,N)=>{const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E<R.length){return R[E]}throw new TypeError("Must be between 0 and 63: "+E)}},31850:(E,N)=>{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){const ie=Math.floor((R-E)/2)+E;const ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}return ie}if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}return E<0?-1:E}N.search=function search(E,R,j,$){if(R.length===0){return-1}let q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},48935:(E,N,R)=>{const j=R(53033);function generatedPositionAfter(E,N){const R=E.generatedLine;const $=N.generatedLine;const q=E.generatedColumn;const G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,N){this._array.forEach(E,N)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}N.H=MappingList},92256:(E,N,R)=>{if(typeof fetch==="function"){let N=null;E.exports=function readWasm(){if(typeof N!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(N).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>N=E}else{const N=R(57147);const j=R(71017);E.exports=function readWasm(){return new Promise(((E,j)=>{const $=R.ab+"mappings.wasm";N.readFile(R.ab+"mappings.wasm",null,((N,R)=>{if(N){j(N);return}E(R.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(E,N,R)=>{var j;const $=R(53033);const q=R(31850);const G=R(85431).I;const ie=R(2635);const ae=R(92256);const ce=R(7059);const le=Symbol("smcInternal");class SourceMapConsumer{constructor(E,N){if(E==le){return Promise.resolve(this)}return _factory(E,N)}static initialize(E){ae.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,N){return _factoryBSM(E,N)}static with(E,N,R){let j=null;const $=new SourceMapConsumer(E,N);return $.then((E=>{j=E;return R(E)})).then((E=>{if(j){j.destroy()}return E}),(E=>{if(j){j.destroy()}throw E}))}_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,N,R){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;N.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,N){return super(le).then((R=>{let j=E;if(typeof E==="string"){j=$.parseSourceMapInput(E)}const q=$.getArg(j,"version");let ie=$.getArg(j,"sources");const ae=$.getArg(j,"names",[]);let le=$.getArg(j,"sourceRoot",null);const _e=$.getArg(j,"sourcesContent",null);const Ee=$.getArg(j,"mappings");const Te=$.getArg(j,"file",null);if(q!=R._version){throw new Error("Unsupported version: "+q)}if(le){le=$.normalize(le)}ie=ie.map(String).map($.normalize).map((function(E){return le&&$.isAbsolute(le)&&$.isAbsolute(E)?$.relative(le,E):E}));R._names=G.fromArray(ae.map(String),true);R._sources=G.fromArray(ie,true);R._absoluteSources=R._sources.toArray().map((function(E){return $.computeSourceURL(le,E,N)}));R.sourceRoot=le;R.sourcesContent=_e;R._mappings=Ee;R._sourceMapURL=N;R.file=Te;R._computedColumnSpans=false;R._mappingsPtr=0;R._wasm=null;return ce().then((E=>{R._wasm=E;return R}))}))}_findSourceIndex(E){let N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}for(let N=0;N<this._absoluteSources.length;++N){if(this._absoluteSources[N]==E){return N}}return-1}static fromSourceMap(E,N){return new BasicSourceMapConsumer(E.toString())}get sources(){return this._absoluteSources.slice()}_getMappingsPtr(){if(this._mappingsPtr===0){this._parseMappings(this._mappings,this.sourceRoot)}return this._mappingsPtr}_parseMappings(E,N){const R=E.length;const j=this._wasm.exports.allocate_mappings(R);const $=new Uint8Array(this._wasm.exports.memory.buffer,j,R);for(let N=0;N<R;N++){$[N]=E.charCodeAt(N)}const q=this._wasm.exports.parse_mappings(j);if(!q){const E=this._wasm.exports.get_last_error();let N=`Error parsing mappings (code ${E}): `;switch(E){case 1:N+="the mappings contained a negative line, column, source index, or name index";break;case 2:N+="the mappings contained a number larger than 2**32";break;case 3:N+="reached EOF while in the middle of parsing a VLQ";break;case 4:N+="invalid base 64 character while parsing a VLQ";break;default:N+="unknown error code";break}throw new Error(N)}this._mappingsPtr=q}eachMapping(E,N,R){const j=N||null;const q=R||SourceMapConsumer.GENERATED_ORDER;const G=this.sourceRoot;this._wasm.withMappingCallback((N=>{if(N.source!==null){N.source=this._sources.at(N.source);N.source=$.computeSourceURL(G,N.source,this._sourceMapURL);if(N.name!==null){N.name=this._names.at(N.name)}}E.call(j,N)}),(()=>{switch(q){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let N=$.getArg(E,"source");const R=$.getArg(E,"line");const j=E.column||0;N=this._findSourceIndex(N);if(N<0){return[]}if(R<1){throw new Error("Line numbers must be >= 1")}if(j<0){throw new Error("Column numbers must be >= 0")}const q=[];this._wasm.withMappingCallback((E=>{let N=E.lastGeneratedColumn;if(this._computedColumnSpans&&N===null){N=Infinity}q.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:N})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),N,R-1,"column"in E,j)}));return q}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const N={generatedLine:$.getArg(E,"line"),generatedColumn:$.getArg(E,"column")};if(N.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(N.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let R=$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(R==null){R=SourceMapConsumer.GREATEST_LOWER_BOUND}let j;this._wasm.withMappingCallback((E=>j=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),N.generatedLine-1,N.generatedColumn,R)}));if(j){if(j.generatedLine===N.generatedLine){let E=$.getArg(j,"source",null);if(E!==null){E=this._sources.at(E);E=$.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let N=$.getArg(j,"name",null);if(N!==null){N=this._names.at(N)}return{source:E,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:N}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,N){if(!this.sourcesContent){return null}const R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}let j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}let q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){const E=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}throw new Error('"'+j+'" is not in the SourceMap.')}generatedPositionFor(E){let N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}const R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};if(R.originalLine<1){throw new Error("Line numbers must be >= 1")}if(R.originalColumn<0){throw new Error("Column numbers must be >= 0")}let j=$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(j==null){j=SourceMapConsumer.GREATEST_LOWER_BOUND}let q;this._wasm.withMappingCallback((E=>q=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),R.source,R.originalLine-1,R.originalColumn,j)}));if(q){if(q.source===R.source){let E=q.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;j=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,N){return super(le).then((R=>{let j=E;if(typeof E==="string"){j=$.parseSourceMapInput(E)}const q=$.getArg(j,"version");const ie=$.getArg(j,"sections");if(q!=R._version){throw new Error("Unsupported version: "+q)}R._sources=new G;R._names=new G;R.__generatedMappings=null;R.__originalMappings=null;R.__generatedMappingsUnsorted=null;R.__originalMappingsUnsorted=null;let ae={line:-1,column:0};return Promise.all(ie.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const R=$.getArg(E,"offset");const j=$.getArg(R,"line");const q=$.getArg(R,"column");if(j<ae.line||j===ae.line&&q<ae.column){throw new Error("Section offsets must be ordered and non-overlapping.")}ae=R;const G=new SourceMapConsumer($.getArg(E,"map"),N);return G.then((E=>({generatedOffset:{generatedLine:j+1,generatedColumn:q+1},consumer:E})))}))).then((E=>{R._sections=E;return R}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort($.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort($.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let N=0;N<this._sections.length;N++){for(let R=0;R<this._sections[N].consumer.sources.length;R++){E.push(this._sections[N].consumer.sources[R])}}return E}originalPositionFor(E){const N={generatedLine:$.getArg(E,"line"),generatedColumn:$.getArg(E,"column")};const R=q.search(N,this._sections,(function(E,N){const R=E.generatedLine-N.generatedOffset.generatedLine;if(R){return R}return E.generatedColumn-N.generatedOffset.generatedColumn}));const j=this._sections[R];if(!j){return{source:null,line:null,column:null,name:null}}return j.consumer.originalPositionFor({line:N.generatedLine-(j.generatedOffset.generatedLine-1),column:N.generatedColumn-(j.generatedOffset.generatedLine===N.generatedLine?j.generatedOffset.generatedColumn-1:0),bias:E.bias})}hasContentsOfAllSources(){return this._sections.every((function(E){return E.consumer.hasContentsOfAllSources()}))}sourceContentFor(E,N){for(let N=0;N<this._sections.length;N++){const R=this._sections[N];const j=R.consumer.sourceContentFor(E,true);if(j){return j}}if(N){return null}throw new Error('"'+E+'" is not in the SourceMap.')}generatedPositionFor(E){for(let N=0;N<this._sections.length;N++){const R=this._sections[N];if(R.consumer._findSourceIndex($.getArg(E,"source"))===-1){continue}const j=R.consumer.generatedPositionFor(E);if(j){const E={line:j.line+(R.generatedOffset.generatedLine-1),column:j.column+(R.generatedOffset.generatedLine===j.line?R.generatedOffset.generatedColumn-1:0)};return E}}return{line:null,column:null}}_parseMappings(E,N){const R=this.__generatedMappingsUnsorted=[];const j=this.__originalMappingsUnsorted=[];for(let E=0;E<this._sections.length;E++){const N=this._sections[E];const q=[];N.consumer.eachMapping((E=>q.push(E)));for(let E=0;E<q.length;E++){const G=q[E];let ie=$.computeSourceURL(N.consumer.sourceRoot,null,this._sourceMapURL);this._sources.add(ie);ie=this._sources.indexOf(ie);let ae=null;if(G.name){this._names.add(G.name);ae=this._names.indexOf(G.name)}const ce={source:ie,generatedLine:G.generatedLine+(N.generatedOffset.generatedLine-1),generatedColumn:G.generatedColumn+(N.generatedOffset.generatedLine===G.generatedLine?N.generatedOffset.generatedColumn-1:0),originalLine:G.originalLine,originalColumn:G.originalColumn,name:ae};R.push(ce);if(typeof ce.originalLine==="number"){j.push(ce)}}}}eachMapping(E,N,R){const j=N||null;const q=R||SourceMapConsumer.GENERATED_ORDER;let G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}const ie=this.sourceRoot;G.map((function(E){let N=null;if(E.source!==null){N=this._sources.at(E.source);N=$.computeSourceURL(ie,N,this._sourceMapURL)}return{source:N,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,j)}_findMapping(E,N,R,j,$,G){if(E[R]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[R])}if(E[j]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[j])}return q.search(E,N,$,G)}allGeneratedPositionsFor(E){const N=$.getArg(E,"line");const R={source:$.getArg(E,"source"),originalLine:N,originalColumn:$.getArg(E,"column",0)};R.source=this._findSourceIndex(R.source);if(R.source<0){return[]}if(R.originalLine<1){throw new Error("Line numbers must be >= 1")}if(R.originalColumn<0){throw new Error("Column numbers must be >= 0")}const j=[];let G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){let R=this._originalMappings[G];if(E.column===undefined){const E=R.originalLine;while(R&&R.originalLine===E){let E=R.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:$.getArg(R,"generatedLine",null),column:$.getArg(R,"generatedColumn",null),lastColumn:E});R=this._originalMappings[++G]}}else{const E=R.originalColumn;while(R&&R.originalLine===N&&R.originalColumn==E){let E=R.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:$.getArg(R,"generatedLine",null),column:$.getArg(R,"generatedColumn",null),lastColumn:E});R=this._originalMappings[++G]}}}return j}destroy(){for(let E=0;E<this._sections.length;E++){this._sections[E].consumer.destroy()}}}j=IndexedSourceMapConsumer;function _factory(E,N){let R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}const j=R.sections!=null?new IndexedSourceMapConsumer(R,N):new BasicSourceMapConsumer(R,N);return Promise.resolve(j)}function _factoryBSM(E,N){return BasicSourceMapConsumer.fromSourceMap(E,N)}},69010:(E,N,R)=>{const j=R(2635);const $=R(53033);const q=R(85431).I;const G=R(48935).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}static fromSourceMap(E){const N=E.sourceRoot;const R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){const j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){let q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}const G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R}addMapping(E){const N=$.getArg(E,"generated");const R=$.getArg(E,"original",null);let j=$.getArg(E,"source",null);let q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})}setSourceContent(E,N){let R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,N,R){let j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}const G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}const ie=this._mappings.toArray().length>0?new q:this._sources;const ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){const j=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(j.source!=null){N.source=j.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=j.line;N.originalColumn=j.column;if(j.name!=null){N.name=j.name}}}const q=N.source;if(q!=null&&!ie.has(q)){ie.add(q)}const ce=N.name;if(ce!=null&&!ae.has(ce)){ae.add(ce)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){const j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)}_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}}_serializeMappings(){let E=0;let N=1;let R=0;let q=0;let G=0;let ie=0;let ae="";let ce;let le;let _e;let Ee;const Te=this._mappings.toArray();for(let we=0,Ie=Te.length;we<Ie;we++){le=Te[we];ce="";if(le.generatedLine!==N){E=0;while(le.generatedLine!==N){ce+=";";N++}}else if(we>0){if(!$.compareByGeneratedPositionsInflated(le,Te[we-1])){continue}ce+=","}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Ee=this._sources.indexOf(le.source);ce+=j.encode(Ee-ie);ie=Ee;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae}_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}const R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;N.SourceMapGenerator=SourceMapGenerator},98160:(E,N,R)=>{const j=R(69010).SourceMapGenerator;const $=R(53033);const q=/(\r?\n)/;const G=10;const ie="$$$isSourceNode$$$";class SourceNode{constructor(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ie]=true;if(j!=null)this.add(j)}static fromStringWithSourceMap(E,N,R){const j=new SourceNode;const G=E.split(q);let ie=0;const shiftNextLine=function(){const E=getNextLine();const N=getNextLine()||"";return E+N;function getNextLine(){return ie<G.length?G[ie++]:undefined}};let ae=1,ce=0;let le=null;let _e;N.eachMapping((function(E){if(le!==null){if(ae<E.generatedLine){addMappingWithCode(le,shiftNextLine());ae++;ce=0}else{_e=G[ie]||"";const N=_e.substr(0,E.generatedColumn-ce);G[ie]=_e.substr(E.generatedColumn-ce);ce=E.generatedColumn;addMappingWithCode(le,N);le=E;return}}while(ae<E.generatedLine){j.add(shiftNextLine());ae++}if(ce<E.generatedColumn){_e=G[ie]||"";j.add(_e.substr(0,E.generatedColumn));G[ie]=_e.substr(E.generatedColumn);ce=E.generatedColumn}le=E}),this);if(ie<G.length){if(le){addMappingWithCode(le,shiftNextLine())}j.add(G.splice(ie).join(""))}N.sources.forEach((function(E){const q=N.sourceContentFor(E);if(q!=null){if(R!=null){E=$.join(R,E)}j.setSourceContent(E,q)}}));return j;function addMappingWithCode(E,N){if(E===null||E.source===undefined){j.add(N)}else{const q=R?$.join(R,E.source):E.source;j.add(new SourceNode(E.originalLine,E.originalColumn,q,N,E.name))}}}add(E){if(Array.isArray(E)){E.forEach((function(E){this.add(E)}),this)}else if(E[ie]||typeof E==="string"){if(E){this.children.push(E)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}prepend(E){if(Array.isArray(E)){for(let N=E.length-1;N>=0;N--){this.prepend(E[N])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let N;for(let R=0,j=this.children.length;R<j;R++){N=this.children[R];if(N[ie]){N.walk(E)}else if(N!==""){E(N,{source:this.source,line:this.line,column:this.column,name:this.name})}}}join(E){let N;let R;const j=this.children.length;if(j>0){N=[];for(R=0;R<j-1;R++){N.push(this.children[R]);N.push(E)}N.push(this.children[R]);this.children=N}return this}replaceRight(E,N){const R=this.children[this.children.length-1];if(R[ie]){R.replaceRight(E,N)}else if(typeof R==="string"){this.children[this.children.length-1]=R.replace(E,N)}else{this.children.push("".replace(E,N))}return this}setSourceContent(E,N){this.sourceContents[$.toSetString(E)]=N}walkSourceContents(E){for(let N=0,R=this.children.length;N<R;N++){if(this.children[N][ie]){this.children[N].walkSourceContents(E)}}const N=Object.keys(this.sourceContents);for(let R=0,j=N.length;R<j;R++){E($.fromSetString(N[R]),this.sourceContents[N[R]])}}toString(){let E="";this.walk((function(N){E+=N}));return E}toStringWithSourceMap(E){const N={code:"",line:1,column:0};const R=new j(E);let $=false;let q=null;let ie=null;let ae=null;let ce=null;this.walk((function(E,j){N.code+=E;if(j.source!==null&&j.line!==null&&j.column!==null){if(q!==j.source||ie!==j.line||ae!==j.column||ce!==j.name){R.addMapping({source:j.source,original:{line:j.line,column:j.column},generated:{line:N.line,column:N.column},name:j.name})}q=j.source;ie=j.line;ae=j.column;ce=j.name;$=true}else if($){R.addMapping({generated:{line:N.line,column:N.column}});q=null;$=false}for(let ie=0,ae=E.length;ie<ae;ie++){if(E.charCodeAt(ie)===G){N.line++;N.column=0;if(ie+1===ae){q=null;$=false}else if($){R.addMapping({source:j.source,original:{line:j.line,column:j.column},generated:{line:N.line,column:N.column},name:j.name})}}else{N.column++}}}));this.walkSourceContents((function(E,N){R.setSourceContent(E,N)}));return{code:N.code,map:R}}}N.SourceNode=SourceNode},53033:(E,N)=>{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}throw new Error('"'+N+'" is a required argument.')}N.getArg=getArg;const R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const j=/^data:.+\,.+$/;function urlParse(E){const N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){let N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;const $=32;function lruMemoize(E){const N=[];return function(R){for(let E=0;E<N.length;E++){if(N[E].input===R){const R=N[0];N[0]=N[E];N[E]=R;return N[0].result}}const j=E(R);N.unshift({input:R,result:j});if(N.length>$){N.pop()}return j}}const q=lruMemoize((function normalize(E){let R=E;const j=urlParse(E);if(j){if(!j.path){return E}R=j.path}const $=N.isAbsolute(R);const q=[];let G=0;let ie=0;while(true){G=ie;ie=R.indexOf("/",G);if(ie===-1){q.push(R.slice(G));break}else{q.push(R.slice(G,ie));while(ie<R.length&&R[ie]==="/"){ie++}}}let ae=0;for(ie=q.length-1;ie>=0;ie--){const E=q[ie];if(E==="."){q.splice(ie,1)}else if(E===".."){ae++}else if(ae>0){if(E===""){q.splice(ie+1,ae);ae=0}else{q.splice(ie,2);ae--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}));N.normalize=q;function join(E,N){if(E===""){E="."}if(N===""){N="."}const R=urlParse(N);const $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}const G=N.charAt(0)==="/"?N:q(E.replace(/\/+$/,"")+"/"+N);if($){$.path=G;return urlGenerate($)}return G}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");let R=0;while(N.indexOf(E+"/")!==0){const j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;const G=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=G?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=G?identity:fromSetString;function isProtoString(E){if(!E){return false}const N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(let R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){let j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){let j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){let R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){const E=urlParse(R);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const N=E.path.lastIndexOf("/");if(N>=0){E.path=E.path.substring(0,N+1)}}N=join(urlGenerate(E),N)}return q(N)}N.computeSourceURL=computeSourceURL},7059:(E,N,R)=>{const j=R(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let $=null;E.exports=function wasm(){if($){return $}const E=[];$=j().then((N=>WebAssembly.instantiate(N,{env:{mapping_callback(N,R,j,$,q,G,ie,ae,ce,le){const _e=new Mapping;_e.generatedLine=N+1;_e.generatedColumn=R;if(j){_e.lastGeneratedColumn=$-1}if(q){_e.source=G;_e.originalLine=ie+1;_e.originalColumn=ae;if(ce){_e.name=le}}E[E.length-1](_e)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((N=>({exports:N.instance.exports,withMappingCallback:(N,R)=>{E.push(N);try{R()}finally{E.pop()}}}))).then(null,(E=>{$=null;throw E}));return $}},37362:(E,N,R)=>{N.SourceMapGenerator=R(69010).SourceMapGenerator;N.SourceMapConsumer=R(47532).SourceMapConsumer;N.SourceNode=R(98160).SourceNode},6619:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeAfterCompile=void 0;const j=R(71017);const $=R(69635);const q=R(90557);const G=R(38001);function makeAfterCompile(E,N){let R=true;let j=true;return($,q)=>{if($.compiler.isChild()){q();return}if(E.loaderOptions.transpileOnly){provideAssetsFromSolutionBuilderHost(E,$);q();return}removeCompilationTSLoaderErrors($,E.loaderOptions);provideCompilerOptionDiagnosticErrorsToWebpack(R,$,E,N);R=false;const G=determineModules($,E);const ie=determineFilesToCheckForErrors(j,E);j=false;const ae=new Map;provideErrorsToWebpack(ie,ae,$,G,E);provideSolutionErrorsToWebpack($,G,E);provideDeclarationFilesToWebpack(ie,E,$);provideTsBuildInfoFilesToWebpack(E,$);provideAssetsFromSolutionBuilderHost(E,$);E.filesWithErrors=ae;E.modifiedFiles=undefined;E.projectsMissingSourceMaps=new Set;q()}}N.makeAfterCompile=makeAfterCompile;function provideCompilerOptionDiagnosticErrorsToWebpack(E,N,R,j){if(E){const{languageService:E,loaderOptions:$,compiler:q,program:ie}=R;const ae=G.formatErrors(ie===undefined?E.getCompilerOptionsDiagnostics():ie.getOptionsDiagnostics(),$,R.colors,q,{file:j||"tsconfig.json"},N.compiler.context);N.errors.push(...ae)}}function determineModules(E,{filePathKeyMapper:N}){const R=new Map;E.modules.forEach((E=>{if(E.resource){const j=N(E.resource);const $=R.get(j);if($!==undefined){if(!$.includes(E)){$.push(E)}}else{R.set(j,[E])}}}));return R}function determineFilesToCheckForErrors(E,N){const{files:R,modifiedFiles:j,filesWithErrors:$,otherFiles:q}=N;const ie=new Map;if(E){for(const[E,N]of R){addFileToCheckForErrors(E,N)}for(const[E,N]of q){addFileToCheckForErrors(E,N)}}else if(j!==null&&j!==undefined&&j.size){const E=G.populateReverseDependencyGraph(N);for(const N of j.keys()){for(const j of G.collectAllDependants(E,N).keys()){const E=R.get(j)||q.get(j);addFileToCheckForErrors(j,E)}}}if($!==undefined){for(const[E,N]of $){addFileToCheckForErrors(E,N)}}return ie;function addFileToCheckForErrors(E,R){if(!G.isReferencedFile(N,E)){ie.set(E,R)}}}function provideErrorsToWebpack(E,N,R,j,q){const{compiler:ie,files:ae,loaderOptions:ce,compilerOptions:le,otherFiles:_e}=q;const Ee=le.allowJs===true?$.dtsTsTsxJsJsxRegex:$.dtsTsTsxRegex;const Te=G.ensureProgram(q);for(const[$,{fileName:le}]of E.entries()){if(le.match(Ee)===null){continue}const E=Te&&Te.getSourceFile(le);const we=[];if(Te&&E){we.push(...Te.getSyntacticDiagnostics(E),...Te.getSemanticDiagnostics(E).filter((({code:E})=>E!==6305)))}if(we.length>0){const E=ae.get($)||_e.get($);N.set($,E)}const Ie=j.get(q.filePathKeyMapper(le));if(Ie!==undefined){Ie.forEach((E=>{removeModuleTSLoaderError(E,ce);const N=G.formatErrors(we,ce,q.colors,ie,{module:E},R.compiler.context);N.forEach((N=>{if(E.addError){E.addError(N)}else{E.errors.push(N)}}));R.errors.push(...N)}))}else{const E=G.formatErrors(we,ce,q.colors,ie,{file:le},R.compiler.context);R.errors.push(...E)}}}function provideSolutionErrorsToWebpack(E,N,R){if(!R.solutionBuilderHost||!(R.solutionBuilderHost.diagnostics.global.length||R.solutionBuilderHost.diagnostics.perFile.size)){return}const{compiler:$,loaderOptions:q,solutionBuilderHost:{diagnostics:ie}}=R;for(const[ae,ce]of ie.perFile){const ie=N.get(ae);if(ie!==undefined){ie.forEach((N=>{removeModuleTSLoaderError(N,q);const j=G.formatErrors(ce,q,R.colors,$,{module:N},E.compiler.context);j.forEach((E=>{if(N.addError){N.addError(E)}else{N.errors.push(E)}}));E.errors.push(...j)}))}else{const N=G.formatErrors(ce,q,R.colors,$,{file:j.resolve(ce[0].file.fileName)},E.compiler.context);E.errors.push(...N)}}E.errors.push(...G.formatErrors(ie.global,R.loaderOptions,R.colors,R.compiler,{file:"tsconfig.json"},E.compiler.context))}function provideDeclarationFilesToWebpack(E,N,R){for(const{fileName:j}of E.values()){if(j.match($.tsTsxRegex)===null){continue}addDeclarationFilesAsAsset(q.getEmitOutput(N,j),R)}}function addDeclarationFilesAsAsset(E,N,R){outputFilesToAsset(E,N,(E=>R&&R(E)?true:!E.name.match($.dtsDtsxOrDtsDtsxMapRegex)))}function outputFileToAsset(E,N){const R=j.relative(N.compiler.outputPath,E.name);N.assets[R]={source:()=>E.text,size:()=>E.text.length}}function outputFilesToAsset(E,N,R){for(const j of E){if(!R||!R(j)){outputFileToAsset(j,N)}}}function provideTsBuildInfoFilesToWebpack(E,N){if(E.watchHost){q.getEmitFromWatchHost(E);if(E.watchHost.tsbuildinfo){outputFileToAsset(E.watchHost.tsbuildinfo,N)}E.watchHost.outputFiles.clear();E.watchHost.tsbuildinfo=undefined}}function provideAssetsFromSolutionBuilderHost(E,N){if(E.solutionBuilderHost){outputFilesToAsset(E.solutionBuilderHost.writtenFiles,N);E.solutionBuilderHost.writtenFiles.length=0}}function removeCompilationTSLoaderErrors(E,N){E.errors=E.errors.filter((E=>E.loaderSource!==G.tsLoaderSource(N)))}function removeModuleTSLoaderError(E,N){if(!!E.addError){const R=E.getWarnings();const j=E.getErrors();E.clearWarningsAndErrors();Array.from(R||[]).forEach((N=>E.addWarning(N)));Array.from(j||[]).filter((E=>E.loaderSource!==G.tsLoaderSource(N))).forEach((N=>E.addError(N)))}else{E.errors=E.errors.filter((E=>E.loaderSource!==G.tsLoaderSource(N)))}}},17464:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getCompilerOptions=N.getCompiler=void 0;const j=R(3609);function getCompiler(E,N){let R;let $;let q;let G=false;try{R=require(E.compiler)}catch(N){$=E.compiler==="typescript"?"Could not load TypeScript. Try installing with `yarn add typescript` or `npm install typescript`. If TypeScript is installed globally, try using `yarn link typescript` or `npm link typescript`.":`Could not load TypeScript compiler with NPM package name \`${E.compiler}\`. Are you sure it is correctly installed?`}if($===undefined){q=`ts-loader: Using ${E.compiler}@${R.version}`;G=false;if(E.compiler==="typescript"){if(R.version!==undefined&&j.gte(R.version,"3.6.3")){G=true}else{N.logError(`${q}. This version is incompatible with ts-loader. Please upgrade to the latest version of TypeScript.`)}}else{N.logWarning(`${q}. This version may or may not be compatible with ts-loader.`)}}return{compiler:R,compilerCompatible:G,compilerDetailsLogMessage:q,errorMessage:$}}N.getCompiler=getCompiler;function getCompilerOptions(E,N){const R=Object.assign({},E.options,{skipLibCheck:true,suppressOutputPathCheck:true});if(R.module===undefined&&R.target!==undefined&&R.target<N.ScriptTarget.ES2015){R.module=N.ModuleKind.CommonJS}if(E.options.configFile){Object.defineProperty(R,"configFile",{enumerable:false,writable:false,value:E.options.configFile})}return R}N.getCompilerOptions=getCompilerOptions},10852:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getParsedCommandLine=N.getConfigParseResult=N.getConfigFile=void 0;const j=R(71017);const $=R(17464);const q=R(38001);function getConfigFile(E,N,R,$,G,ie,ae){const ce=findConfigFile(E,j.dirname(R.resourcePath),$.configFile);let le;let _e;if(ce!==undefined){if(G){ie.logInfo(`${ae} and ${ce}`)}else{ie.logInfo(`ts-loader: Using config file at ${ce}`)}_e=E.readConfigFile(ce,E.sys.readFile);if(_e.error!==undefined){le=q.formatErrors([_e.error],$,N,E,{file:ce},R.context)[0]}}else{if(G){ie.logInfo(ae)}_e={config:{compilerOptions:{},files:[]}}}if(le===undefined){_e.config.compilerOptions=Object.assign({},_e.config.compilerOptions)}return{configFilePath:ce,configFile:_e,configFileError:le}}N.getConfigFile=getConfigFile;function findConfigFile(E,N,R){if(j.isAbsolute(R)){return E.sys.fileExists(R)?R:undefined}if(R.match(/^\.\.?(\/|\\)/)!==null){const $=j.resolve(N,R);return E.sys.fileExists($)?$:undefined}else{while(true){const $=j.join(N,R);if(E.sys.fileExists($)){return $}const q=j.dirname(N);if(q===N){break}N=q}return undefined}}function getConfigParseResult(E,N,R,j,$){const G=E.parseJsonConfigFileContent(N.config,Object.assign(Object.assign({},E.sys),{useCaseSensitiveFileNames:q.useCaseSensitiveFileNames(E,$)}),R,getCompilerOptionsToExtend(E,$,R,j||"tsconfig.json"));if(!$.projectReferences){G.projectReferences=undefined}G.options=Object.assign({},G.options,{configFilePath:j});return G}N.getConfigParseResult=getConfigParseResult;const G=new Map;function getParsedCommandLine(E,N,R){const ie=E.getParsedCommandLineOfConfigFile(R,getCompilerOptionsToExtend(E,N,j.dirname(R),R),Object.assign(Object.assign({},E.sys),{useCaseSensitiveFileNames:q.useCaseSensitiveFileNames(E,N),onUnRecoverableConfigFileDiagnostic:()=>{}}),G);if(ie){ie.options=$.getCompilerOptions(ie,E)}return ie}N.getParsedCommandLine=getParsedCommandLine;function getCompilerOptionsToExtend(E,N,R,j){return E.convertCompilerOptionsFromJson(N.compilerOptions,R,j).options}},69635:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.nodeModules=N.jsonRegex=N.jsJsxMap=N.jsJsx=N.tsTsxJsJsxRegex=N.dtsTsTsxJsJsxRegex=N.dtsTsTsxRegex=N.dtsDtsxOrDtsDtsxMapRegex=N.tsTsxRegex=N.tsxRegex=N.extensionRegex=N.LineFeedCode=N.CarriageReturnLineFeedCode=N.LineFeed=N.CarriageReturnLineFeed=N.EOL=void 0;const j=R(22037);N.EOL=j.EOL;N.CarriageReturnLineFeed="\r\n";N.LineFeed="\n";N.CarriageReturnLineFeedCode=0;N.LineFeedCode=1;N.extensionRegex=/\.[^.]+$/;N.tsxRegex=/\.tsx$/i;N.tsTsxRegex=/\.ts(x?)$/i;N.dtsDtsxOrDtsDtsxMapRegex=/\.d\.ts(x?)(\.map)?$/i;N.dtsTsTsxRegex=/(\.d)?\.ts(x?)$/i;N.dtsTsTsxJsJsxRegex=/((\.d)?\.ts(x?)|js(x?))$/i;N.tsTsxJsJsxRegex=/\.tsx?$|\.jsx?$/i;N.jsJsx=/\.js(x?)$/i;N.jsJsxMap=/\.js(x?)\.map$/i;N.jsonRegex=/\.json$/i;N.nodeModules=/node_modules/i},32956:(E,N,R)=>{"use strict";const j=R(6113);const $=R(88244);const q=R(71017);const G=R(69635);const ie=R(90557);const ae=R(38001);const ce={};function loader(E){this.cacheable&&this.cacheable();const N=this.async();const R=getLoaderOptions(this);const j=ie.getTypeScriptInstance(R,this);if(j.error!==undefined){N(new Error(j.error.message));return}const $=j.instance;ie.buildSolutionReferences($,this);successLoader(this,E,N,$)}function successLoader(E,N,R,j){ie.initializeInstance(E,j);ie.reportTranspileErrors(j,E);const $=q.normalize(E.resourcePath);const G=j.loaderOptions.appendTsSuffixTo.length>0||j.loaderOptions.appendTsxSuffixTo.length>0?ae.appendSuffixesIfMatch({".ts":j.loaderOptions.appendTsSuffixTo,".tsx":j.loaderOptions.appendTsxSuffixTo},$):$;const ce=updateFileInCache(j.loaderOptions,G,N,j);const{outputText:le,sourceMapText:_e}=j.loaderOptions.transpileOnly?getTranspilationEmit(G,N,j,E):getEmit($,G,j,E);makeSourceMapAndFinish(_e,le,G,N,E,ce,R,j)}function makeSourceMapAndFinish(E,N,R,j,$,q,G,ie){if(N===null||N===undefined){setModuleMeta($,ie,q);const E=ae.isReferencedFile(ie,R)?" The most common cause for this is having errors when building referenced projects.":!ie.loaderOptions.allowTsInNodeModules&&R.indexOf("node_modules")!==-1?" By default, ts-loader will not compile .ts files in node_modules.\n"+"You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.\n"+"See: https://github.com/Microsoft/TypeScript/issues/12358":"";G(new Error(`TypeScript emitted no output for ${R}.${E}`),N,undefined);return}const{sourceMap:ce,output:le}=makeSourceMap(E,N,R,j,$);setModuleMeta($,ie,q);G(null,le,ce)}function setModuleMeta(E,N,R){if(!N.loaderOptions.happyPackMode&&E._module.buildMeta!==undefined){E._module.buildMeta.tsLoaderFileVersion=R}}function getOptionsHash(E){const N=j.createHash("sha256");Object.keys(E).forEach((R=>{const j=E[R];if(j!==undefined){const E=typeof j==="function"?j.toString():JSON.stringify(j);N.update(R+E)}}));return N.digest("hex").substring(0,16)}function getLoaderOptions(E){const N=$.getOptions(E)||{};const R=N.instance||"default_"+getOptionsHash(N);if(!ce.hasOwnProperty(R)){ce[R]=new WeakMap}const j=ce[R];if(j.has(N)){return j.get(N)}validateLoaderOptions(N);const q=makeLoaderOptions(R,N);j.set(N,q);return q}const le=["silent","logLevel","logInfoToStdOut","instance","compiler","context","configFile","transpileOnly","ignoreDiagnostics","errorFormatter","colors","compilerOptions","appendTsSuffixTo","appendTsxSuffixTo","onlyCompileBundledFiles","happyPackMode","getCustomTransformers","reportFiles","experimentalWatchApi","allowTsInNodeModules","experimentalFileCaching","projectReferences","resolveModuleName","resolveTypeReferenceDirective","useCaseSensitiveFileNames"];function validateLoaderOptions(E){const N=Object.keys(E);for(let E=0;E<N.length;E++){const R=N[E];const j=le.indexOf(R)===-1;if(j){throw new Error(`ts-loader was supplied with an unexpected loader option: ${R}\n\nPlease take a look at the options you are supplying; the following are valid options:\n${le.join(" / ")}\n`)}}if(E.context!==undefined&&!q.isAbsolute(E.context)){throw new Error(`Option 'context' has to be an absolute path. Given '${E.context}'.`)}}function makeLoaderOptions(E,N){const R=Object.assign({},{silent:false,logLevel:"WARN",logInfoToStdOut:false,compiler:"typescript",configFile:"tsconfig.json",context:undefined,transpileOnly:false,compilerOptions:{},appendTsSuffixTo:[],appendTsxSuffixTo:[],transformers:{},happyPackMode:false,colors:true,onlyCompileBundledFiles:false,reportFiles:[],experimentalWatchApi:false,allowTsInNodeModules:false,experimentalFileCaching:true},N);R.ignoreDiagnostics=ae.arrify(R.ignoreDiagnostics).map(Number);R.logLevel=R.logLevel.toUpperCase();R.instance=E;R.transpileOnly=R.happyPackMode?true:R.transpileOnly;return R}function updateFileInCache(E,N,R,j){let $;const q=j.filePathKeyMapper(N);let G=j.files.get(q);if(G===undefined){G=j.otherFiles.get(q);if(G!==undefined){if(!ae.isReferencedFile(j,N)){j.otherFiles.delete(q);j.files.set(q,G);j.changedFilesList=true}}else{if(j.watchHost!==undefined){$=j.compiler.FileWatcherEventKind.Created}G={fileName:N,version:0};if(!ae.isReferencedFile(j,N)){j.files.set(q,G);j.changedFilesList=true}}}if(j.watchHost!==undefined&&R===undefined){$=j.compiler.FileWatcherEventKind.Deleted}if(!ae.isReferencedFile(j,N)&&!j.rootFileNames.has(N)&&(E.allowTsInNodeModules||N.indexOf("node_modules")===-1)){j.version++;j.rootFileNames.add(N)}if(G.text!==R){G.version++;G.text=R;G.modifiedTime=new Date;j.version++;if(j.watchHost!==undefined&&$===undefined){$=j.compiler.FileWatcherEventKind.Changed}}if(j.modifiedFiles&&j.modifiedFiles.get(q)){$=j.compiler.FileWatcherEventKind.Changed}if(j.watchHost!==undefined&&$!==undefined){j.hasUnaccountedModifiedFiles=j.watchHost.invokeFileWatcher(N,$)||j.hasUnaccountedModifiedFiles}if(!j.modifiedFiles){j.modifiedFiles=new Map}j.modifiedFiles.set(q,true);return G.version}function getEmit(E,N,R,j){var $;const ce=ie.getEmitOutput(R,N);j.clearDependencies();j.addDependency(E);const le=[];const addDependency=E=>{E=q.resolve(E);j.addDependency(E);le.push(E)};if(!ae.isReferencedFile(R,N)){for(const{fileName:E}of R.files.values()){if(E.match(G.dtsDtsxOrDtsDtsxMapRegex)&&!(($=R.solutionBuilderHost)===null||$===void 0?void 0:$.getOutputFileKeyFromReferencedProject(E))){addDependency(E)}}}const _e=R.dependencyGraph.get(R.filePathKeyMapper(N));if(_e){for(const{resolvedFileName:E,originalFileName:N}of _e){addDependency(ie.getInputFileNameFromOutput(R,q.resolve(E))||N)}}addDependenciesFromSolutionBuilder(R,N,addDependency);j._module.buildMeta.tsLoaderDefinitionFileVersions=le.map((E=>q.relative(j.rootContext,E)+"@"+(ae.isReferencedFile(R,E)?R.solutionBuilderHost.getInputFileStamp(E).toString():(R.files.get(R.filePathKeyMapper(E))||R.otherFiles.get(R.filePathKeyMapper(E))||{version:"?"}).version)));return getOutputAndSourceMapFromOutputFiles(ce)}function getOutputAndSourceMapFromOutputFiles(E){const N=E.filter((E=>E.name.match(G.jsJsx))).pop();const R=N===undefined?undefined:N.text;const j=E.filter((E=>E.name.match(G.jsJsxMap))).pop();const $=j===undefined?undefined:j.text;return{outputText:R,sourceMapText:$}}function addDependenciesFromSolutionBuilder(E,N,R){if(!E.solutionBuilderHost){return}const j=E.filePathKeyMapper(N);if(!ae.isReferencedFile(E,N)){if(E.configParseResult.fileNames.some((N=>E.filePathKeyMapper(N)===j))){addDependenciesFromProjectReferences(E,E.configFilePath,E.configParseResult.projectReferences,R)}return}for(const[N,$]of E.solutionBuilderHost.configFileInfo.entries()){if(!$.config||!$.config.projectReferences||!$.config.projectReferences.length){continue}if($.outputFileNames){if(!$.outputFileNames.has(j)){continue}}else if(!$.config.fileNames.some((N=>E.filePathKeyMapper(N)===j))){continue}if($.dtsFiles){$.dtsFiles.forEach(R)}addDependenciesFromProjectReferences(E,N,$.config.projectReferences,R);break}}function addDependenciesFromProjectReferences(E,N,R,j){if(!R||!R.length){return}const $=new Map;$.set(E.filePathKeyMapper(N),true);const q=R.slice();while(true){const N=q.pop();if(!N){break}const R=E.filePathKeyMapper(E.compiler.resolveProjectReferencePath(N));if($.has(R)){continue}const G=E.solutionBuilderHost.configFileInfo.get(R);if(!G){continue}$.set(R,true);if(G.config){G.config.fileNames.forEach(j);if(G.config.projectReferences){q.push(...G.config.projectReferences)}}}}function getTranspilationEmit(E,N,R,j){if(ae.isReferencedFile(R,E)){const N=R.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(E);addDependenciesFromSolutionBuilder(R,E,(E=>j.addDependency(q.resolve(E))));return getOutputAndSourceMapFromOutputFiles(N)}const{outputText:$,sourceMapText:G,diagnostics:ie}=R.compiler.transpileModule(N,{compilerOptions:Object.assign(Object.assign({},R.compilerOptions),{rootDir:undefined}),transformers:R.transformers,reportDiagnostics:true,fileName:E});const ce=j._module;addDependenciesFromSolutionBuilder(R,E,(E=>j.addDependency(q.resolve(E))));if(!R.loaderOptions.happyPackMode){const E=ae.formatErrors(ie,R.loaderOptions,R.colors,R.compiler,{module:ce},j.context);if(ce.addError){E.forEach((E=>ce.addError(E)))}else{ce.errors.push(...E)}}return{outputText:$,sourceMapText:G}}function makeSourceMap(E,N,R,j,q){if(E===undefined){return{output:N,sourceMap:undefined}}return{output:N.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm,""),sourceMap:Object.assign(JSON.parse(E),{sources:[$.getRemainingRequest(q)],file:R,sourcesContent:[j]})}}E.exports=loader},50043:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.setTSInstanceInCache=N.getTSInstanceFromCache=void 0;const R={};const j=new WeakMap;function getTSInstanceFromCache(E,N){const $=E!==null&&E!==void 0?E:R;let q=j.get($);if(!q){q=new Map;j.set($,q)}return q.get(N)}N.getTSInstanceFromCache=getTSInstanceFromCache;function setTSInstanceInCache(E,N,$){var q;const G=E!==null&&E!==void 0?E:R;const ie=(q=j.get(G))!==null&&q!==void 0?q:new Map;ie.set(N,$);j.set(G,ie)}N.setTSInstanceInCache=setTSInstanceInCache},90557:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getEmitOutput=N.getEmitFromWatchHost=N.getInputFileNameFromOutput=N.getOutputFileNames=N.forEachResolvedProjectReference=N.buildSolutionReferences=N.reportTranspileErrors=N.initializeInstance=N.getTypeScriptInstance=void 0;const j=R(57347);const $=R(57147);const q=R(71017);const G=R(86443);const ie=R(6619);const ae=R(17464);const ce=R(10852);const le=R(69635);const _e=R(50043);const Ee=R(63686);const Te=R(9674);const we=R(38001);const Ie=R(80573);const Ne=new Map;function getTypeScriptInstance(E,N){const R=_e.getTSInstanceFromCache(N._compiler,E.instance);if(R){if(!R.initialSetupPending){we.ensureProgram(R)}return{instance:R}}const $=E.colors&&j.supportsColor?j.supportsColor.level:0;const q=new j.Instance({level:$});const G=Ee.makeLogger(E,q);const ie=ae.getCompiler(E,G);if(ie.errorMessage!==undefined){return{error:we.makeError(E,q.red(ie.errorMessage),undefined)}}return successfulTypeScriptInstance(E,N,G,q,ie.compiler,ie.compilerCompatible,ie.compilerDetailsLogMessage)}N.getTypeScriptInstance=getTypeScriptInstance;function createFilePathKeyMapper(E,N){const R=new Map;const j=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;return we.useCaseSensitiveFileNames(E,N)?pathResolve:toFileNameLowerCase;function pathResolve(E){let N=R.get(E);if(!N){N=q.resolve(E);R.set(E,N)}return N}function toFileNameLowerCase(E){let N=R.get(E);if(!N){const $=pathResolve(E);N=j.test($)?$.replace(j,(E=>E.toLowerCase())):$;R.set(E,N)}return N}}function successfulTypeScriptInstance(E,N,R,j,G,ie,Ee){const Te=ce.getConfigFile(G,j,N,E,ie,R,Ee);if(Te.configFileError!==undefined){const{message:N,file:R}=Te.configFileError;return{error:we.makeError(E,j.red("error while reading tsconfig.json:"+le.EOL+N),R)}}const{configFilePath:Ie,configFile:Ne}=Te;const Me=createFilePathKeyMapper(G,E);if(Ie&&E.projectReferences){const R=Me(Ie);const j=getExistingSolutionBuilderHost(R);if(j){_e.setTSInstanceInCache(N._compiler,E.instance,j);return{instance:j}}}const Le=N._module;const Be=E.context||q.dirname(Ie||"");const je=ce.getConfigParseResult(G,Ne,Be,Ie,E);if(je.errors.length>0&&!E.happyPackMode){const R=we.formatErrors(je.errors,E,j,G,{file:Ie},N.context);if(Le.addError){R.forEach((E=>Le.addError(E)))}else{Le.errors.push(...R)}return{error:we.makeError(E,j.red("error while parsing tsconfig.json"),Ie)}}const Ue=ae.getCompilerOptions(je,G);const ze=new Set;const We=new Map;const Je=new Map;const Ve=E.appendTsSuffixTo.length>0||E.appendTsxSuffixTo.length>0?N=>we.appendSuffixesIfMatch({".ts":E.appendTsSuffixTo,".tsx":E.appendTsxSuffixTo},N):E=>E;if(E.transpileOnly){const $={compiler:G,compilerOptions:Ue,appendTsTsxSuffixesIfRequired:Ve,loaderOptions:E,rootFileNames:ze,files:We,otherFiles:Je,version:0,program:undefined,dependencyGraph:new Map,transformers:{},colors:j,initialSetupPending:true,reportTranspileErrors:true,configFilePath:Ie,configParseResult:je,log:R,filePathKeyMapper:Me};_e.setTSInstanceInCache(N._compiler,E.instance,$);return{instance:$}}let qe;try{const N=E.onlyCompileBundledFiles?je.fileNames.filter((E=>le.dtsDtsxOrDtsDtsxMapRegex.test(E))):je.fileNames;N.forEach((E=>{qe=q.normalize(E);We.set(Me(qe),{fileName:qe,text:$.readFileSync(qe,"utf-8"),version:0});ze.add(qe)}))}catch(N){return{error:we.makeError(E,j.red(`A file specified in tsconfig.json could not be found: ${qe}`),qe)}}const He={compiler:G,compilerOptions:Ue,appendTsTsxSuffixesIfRequired:Ve,loaderOptions:E,rootFileNames:ze,files:We,otherFiles:Je,languageService:null,version:0,transformers:{},dependencyGraph:new Map,colors:j,initialSetupPending:true,configFilePath:Ie,configParseResult:je,log:R,filePathKeyMapper:Me};_e.setTSInstanceInCache(N._compiler,E.instance,He);return{instance:He}}function getExistingSolutionBuilderHost(E){const N=Ne.get(E);if(N)return N;for(const N of Ne.values()){if(N.solutionBuilderHost.configFileInfo.has(E)){return N}}return undefined}const Me=!!G.version.match(/^4.*/)?(E,N)=>{E._compiler.hooks.afterCompile.tapAsync("ts-loader",ie.makeAfterCompile(N,N.configFilePath))}:(E,N)=>{const R=ie.makeAfterCompile(N,N.configFilePath);const makeAssetsCallback=E=>{E.hooks.afterProcessAssets.tap("ts-loader",(()=>R(E,(()=>null))))};makeAssetsCallback(E._compilation);E._compiler.hooks.compilation.tap("ts-loader",makeAssetsCallback)};function initializeInstance(E,N){if(!N.initialSetupPending){return}N.initialSetupPending=false;let{getCustomTransformers:R}=N.loaderOptions;let j=Function.prototype;if(typeof R==="function"){j=R}else if(typeof R==="string"){try{R=require(R)}catch(E){throw new Error(`Failed to load customTransformers from "${N.loaderOptions.getCustomTransformers}": ${E.message}`)}if(typeof R!=="function"){throw new Error(`Custom transformers in "${N.loaderOptions.getCustomTransformers}" should export a function, got ${typeof j}`)}j=R}if(N.loaderOptions.transpileOnly){const R=N.program=N.configParseResult.projectReferences!==undefined?N.compiler.createProgram({rootNames:N.configParseResult.fileNames,options:N.configParseResult.options,projectReferences:N.configParseResult.projectReferences}):N.compiler.createProgram([],N.compilerOptions);N.transformers=j(R);if(N.solutionBuilderHost){Me(E,N);E._compiler.hooks.watchRun.tapAsync("ts-loader",Ie.makeWatchRun(N,E))}}else{if(!E._compiler.hooks){throw new Error("You may be using an old version of webpack; please check you're using at least version 4")}if(N.loaderOptions.experimentalWatchApi){N.log.logInfo("Using watch api");N.watchHost=Te.makeWatchHost(getScriptRegexp(N),E,N,N.configParseResult.projectReferences);N.watchOfFilesAndCompilerOptions=N.compiler.createWatchProgram(N.watchHost);N.builderProgram=N.watchOfFilesAndCompilerOptions.getProgram();N.program=N.builderProgram.getProgram();N.transformers=j(N.program)}else{N.servicesHost=Te.makeServicesHost(getScriptRegexp(N),E,N,N.configParseResult.projectReferences);N.languageService=N.compiler.createLanguageService(N.servicesHost,N.compiler.createDocumentRegistry());N.transformers=j(N.languageService.getProgram())}Me(E,N);E._compiler.hooks.watchRun.tapAsync("ts-loader",Ie.makeWatchRun(N,E))}}N.initializeInstance=initializeInstance;function getScriptRegexp(E){if(E.configParseResult.options.resolveJsonModule){return E.configParseResult.options.allowJs===true?/\.tsx?$|\.json$|\.jsx?$/i:/\.tsx?$|\.json$/i}return E.configParseResult.options.allowJs===true?/\.tsx?$|\.jsx?$/i:/\.tsx?$/i}function reportTranspileErrors(E,N){if(!E.reportTranspileErrors){return}const R=N._module;E.reportTranspileErrors=false;if(!E.loaderOptions.happyPackMode){const j=Te.getSolutionErrors(E,N.context);const $=E.program.getOptionsDiagnostics();const q=we.formatErrors($,E.loaderOptions,E.colors,E.compiler,{file:E.configFilePath||"tsconfig.json"},N.context);if(R.addError){[...j,...q].forEach((E=>R.addError(E)))}else{R.errors.push(...j,...q)}}}N.reportTranspileErrors=reportTranspileErrors;function buildSolutionReferences(E,N){if(!we.supportsSolutionBuild(E)){return}if(!E.solutionBuilderHost){E.log.logInfo("Using SolutionBuilder api");const R=getScriptRegexp(E);E.solutionBuilderHost=Te.makeSolutionBuilderHost(R,N,E);const j=E.compiler.createSolutionBuilderWithWatch(E.solutionBuilderHost,E.configParseResult.projectReferences.map((E=>E.path)),{verbose:true});j.build();E.solutionBuilderHost.ensureAllReferenceTimestamps();Ne.set(E.filePathKeyMapper(E.configFilePath),E)}else{E.solutionBuilderHost.buildReferences()}}N.buildSolutionReferences=buildSolutionReferences;function forEachResolvedProjectReference(E,N){let R;return worker(E);function worker(E){if(E){for(const j of E){if(!j){continue}if(R&&R.some((E=>E===j))){continue}(R||(R=[])).push(j);const E=N(j)||worker(j.references);if(E){return E}}}return undefined}}N.forEachResolvedProjectReference=forEachResolvedProjectReference;function fileExtensionIs(E,N){return E.endsWith(N)}function rootDirOfOptions(E,N){return N.options.rootDir||E.compiler.getDirectoryPath(N.options.configFilePath)}function getOutputPathWithoutChangingExt(E,N,R,j,$){return $?E.compiler.resolvePath($,E.compiler.getRelativePathFromDirectory(rootDirOfOptions(E,R),N,j)):N}function getOutputJSFileName(E,N,R,j){if(R.options.emitDeclarationOnly){return undefined}const $=fileExtensionIs(N,".json");const q=E.compiler.changeExtension(getOutputPathWithoutChangingExt(E,N,R,j,R.options.outDir),$?".json":fileExtensionIs(N,".tsx")&&R.options.jsx===E.compiler.JsxEmit.Preserve?".jsx":".js");return!$||E.compiler.comparePaths(N,q,R.options.configFilePath,j)!==E.compiler.Comparison.EqualTo?q:undefined}function getOutputFileNames(E,N,R){const j=!we.useCaseSensitiveFileNames(E.compiler,E.loaderOptions);if(E.compiler.getOutputFileNames){return E.compiler.getOutputFileNames(N,R,j)}const $=[];const addOutput=E=>E&&$.push(E);const q=getOutputJSFileName(E,R,N,j);addOutput(q);if(!fileExtensionIs(R,".json")){if(q&&N.options.sourceMap){addOutput(`${q}.map`)}if((N.options.declaration||N.options.composite)&&E.compiler.hasTSFileExtension(R)){const $=E.compiler.getOutputDeclarationFileName(R,N,j);addOutput($);if(N.options.declarationMap){addOutput(`${$}.map`)}}}return $}N.getOutputFileNames=getOutputFileNames;function getInputFileNameFromOutput(E,N){if(N.match(le.tsTsxRegex)&&!fileExtensionIs(N,".d.ts")){return undefined}if(E.solutionBuilderHost){return E.solutionBuilderHost.getInputFileNameFromOutput(N)}const R=we.ensureProgram(E);return R&&R.getResolvedProjectReferences&&forEachResolvedProjectReference(R.getResolvedProjectReferences(),(({commandLine:R})=>{const{options:j,fileNames:$}=R;if(!j.outFile&&!j.out){const j=$.find((j=>getOutputFileNames(E,R,j).find((E=>q.resolve(E)===N))));return j&&q.resolve(j)}return undefined}))}N.getInputFileNameFromOutput=getInputFileNameFromOutput;function getEmitFromWatchHost(E,N){const R=we.ensureProgram(E);const j=E.builderProgram;if(j&&R){if(N){const R=E.watchHost.outputFiles.get(E.filePathKeyMapper(N));if(R){return R}}const $=[];const writeFile=(N,R,j)=>{if(N.endsWith(".tsbuildinfo")){E.watchHost.tsbuildinfo={name:N,writeByteOrderMark:j,text:R}}else{$.push({name:N,writeByteOrderMark:j,text:R})}};const q=N?R.getSourceFile(N):undefined;while(true){const N=j.emitNextAffectedFile(writeFile,undefined,false,E.transformers);if(!N){break}if(N.affected===q){E.watchHost.outputFiles.set(E.filePathKeyMapper(N.affected.fileName),$.slice());return $}}}return undefined}N.getEmitFromWatchHost=getEmitFromWatchHost;function getEmitOutput(E,N){if(fileExtensionIs(N,E.compiler.Extension.Dts)){return[]}if(we.isReferencedFile(E,N)){return E.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(N)}const R=we.ensureProgram(E);if(R!==undefined){const j=R.getSourceFile(N);const $=[];const writeFile=(E,N,R)=>$.push({name:E,writeByteOrderMark:R,text:N});const q=getEmitFromWatchHost(E,N);if(q){return q}R.emit(j,writeFile,undefined,false,E.transformers);return $}else{return E.languageService.getProgram().getSourceFile(N)===undefined?[]:E.languageService.getEmitOutput(N).outputFiles}}N.getEmitOutput=getEmitOutput},63686:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeLogger=N.LogLevel=void 0;const j=R(96206);var $;(function(E){E[E["INFO"]=1]="INFO";E[E["WARN"]=2]="WARN";E[E["ERROR"]=3]="ERROR"})($=N.LogLevel||(N.LogLevel={}));const q=new j.Console(process.stderr);const G=new j.Console(process.stdout);const doNothingLogger=E=>{};const makeLoggerFunc=E=>E.silent?(E,N)=>{}:(E,N)=>console.log.call(E,N);const makeExternalLogger=(E,N)=>R=>N(E.logInfoToStdOut?G:q,R);const makeLogInfo=(E,N,R)=>$[E.logLevel]<=$.INFO?j=>N(E.logInfoToStdOut?G:q,R(j)):doNothingLogger;const makeLogError=(E,N,R)=>$[E.logLevel]<=$.ERROR?E=>N(q,R(E)):doNothingLogger;const makeLogWarning=(E,N,R)=>$[E.logLevel]<=$.WARN?E=>N(q,R(E)):doNothingLogger;function makeLogger(E,N){const R=makeLoggerFunc(E);return{log:makeExternalLogger(E,R),logInfo:makeLogInfo(E,R,N.green),logWarning:makeLogWarning(E,R,N.yellow),logError:makeLogError(E,R,N.red)}}N.makeLogger=makeLogger},98535:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeResolver=void 0;const j=R(79921);function makeResolver(E){return j.create.sync(E.resolve)}N.makeResolver=makeResolver},9674:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getSolutionErrors=N.makeSolutionBuilderHost=N.makeWatchHost=N.updateFileWithText=N.makeServicesHost=void 0;const j=R(71017);const $=R(10852);const q=R(69635);const G=R(90557);const ie=R(98535);const ae=R(38001);function makeResolversAndModuleResolutionHost(E,N,R,j,$){const{compiler:G,compilerOptions:ce,appendTsTsxSuffixesIfRequired:le,loaderOptions:{resolveModuleName:_e,resolveTypeReferenceDirective:Ee}}=R;const Te=ce.newLine===q.CarriageReturnLineFeedCode?q.CarriageReturnLineFeed:ce.newLine===q.LineFeedCode?q.LineFeed:q.EOL;const getCurrentDirectory=()=>N.context;const we=ie.makeResolver(N._compiler.options);const Ie={trace:E=>R.log.log(E),fileExists:j,readFile:readFile,realpath:G.sys.realpath&&realpath,directoryExists:directoryExists,getCurrentDirectory:getCurrentDirectory,getDirectories:getDirectories,readDirectory:readDirectory,useCaseSensitiveFileNames:()=>ae.useCaseSensitiveFileNames(G,R.loaderOptions),getNewLine:()=>Te,getDefaultLibFileName:E=>G.getDefaultLibFilePath(E)};if($){addCache(Ie)}return makeResolvers(G,ce,Ie,Ee,_e,we,le,E,R);function readFile(E,N){return R.compiler.sys.readFile(E,N)||ae.fsReadFile(E,N)}function directoryExists(E){return G.sys.directoryExists(E)}function realpath(E){return G.sys.realpath(E)}function getDirectories(E){return G.sys.getDirectories(E)}function readDirectory(E,N,R,j,$){return G.sys.readDirectory(E,N,R,j,$)}}function makeServicesHost(E,N,R,$){const{compiler:q,compilerOptions:G,files:ie,filePathKeyMapper:ce}=R;const{moduleResolutionHost:le,resolveModuleNames:_e,resolveTypeReferenceDirectives:Ee}=makeResolversAndModuleResolutionHost(E,N,R,(E=>q.sys.fileExists(E)||ae.fsReadFile(E)!==undefined),R.loaderOptions.experimentalFileCaching);const Te=Object.assign(Object.assign({getProjectVersion:()=>`${R.version}`,getProjectReferences:()=>$,getScriptFileNames:()=>[...ie.values()].map((({fileName:E})=>E)).filter((N=>N.match(E))),getScriptVersion:E=>{var N;E=j.normalize(E);const $=ce(E);const q=ie.get($);if(q){return q.version.toString()}const G=(N=R.solutionBuilderHost)===null||N===void 0?void 0:N.getOutputFileAndKeyFromReferencedProject(E);if(G!==undefined){R.solutionBuilderHost.outputAffectingInstanceVersion.set(G.key,true)}return G&&G.outputFile?G.outputFile:""},getScriptSnapshot:E=>{E=j.normalize(E);const N=ce(E);let $=ie.get(N);if($===undefined){if(R.solutionBuilderHost){const N=R.solutionBuilderHost.getOutputFileTextAndKeyFromReferencedProject(E);if(N!==undefined){R.solutionBuilderHost.outputAffectingInstanceVersion.set(N.key,true);return N&&N.text!==undefined?q.ScriptSnapshot.fromString(N.text):undefined}}const j=le.readFile(E);if(j===undefined){return undefined}$={fileName:E,version:0,text:j};ie.set(N,$)}return q.ScriptSnapshot.fromString($.text)}},le),{getCompilationSettings:()=>G,log:le.trace,resolveTypeReferenceDirectives:Ee,resolveModuleNames:_e,getCustomTransformers:()=>R.transformers});return Te}N.makeServicesHost=makeServicesHost;function makeResolvers(E,N,R,j,$,q,G,ie,ce){const le=makeResolveModuleName(E,N,R,$,ce);const resolveModuleNames=(E,N,R,j)=>{const $=E.map((E=>resolveModule(q,le,G,ie,E,N,j)));ae.populateDependencyGraph($,ce,N);return $};const _e=makeResolveTypeReferenceDirective(E,N,R,j,ce);const resolveTypeReferenceDirectives=(E,N,R)=>E.map((E=>_e(E,N,R).resolvedTypeReferenceDirective));return{resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,resolveModuleNames:resolveModuleNames,moduleResolutionHost:R}}function createWatchFactory(E,N){const R=new Map;const $=new Map;const q=new Map;return{watchedFiles:R,watchedDirectories:$,watchedDirectoriesRecursive:q,invokeFileWatcher:invokeFileWatcher,watchFile:watchFile,watchDirectory:watchDirectory};function invokeWatcherCallbacks(N,R,j,$){var q;const G=(q=N.get(E(R)))===null||q===void 0?void 0:q.callbacks;if(G!==undefined&&G.length){const E=G.slice();for(const N of E){N(j,$)}return true}return false}function invokeFileWatcher(E,q){E=j.normalize(E);let G=invokeWatcherCallbacks(R,E,E,q);if(q!==N.FileWatcherEventKind.Changed){const N=j.dirname(E);G=invokeWatcherCallbacks($,N,E)||G;G=invokeRecursiveDirectoryWatcher(N,E)||G}return G}``;function invokeRecursiveDirectoryWatcher(E,N){E=j.normalize(E);let R=invokeWatcherCallbacks(q,E,N);const $=j.dirname(E);if(E!==$){R=invokeRecursiveDirectoryWatcher($,N)||R}return R}function createWatcher(N,R,$){const q=E(N);const G=R.get(q);if(G===undefined){R.set(q,{fileName:j.normalize(N),callbacks:[$]})}else{G.callbacks.push($)}return{close:()=>{const E=R.get(q);if(E!==undefined){ae.unorderedRemoveItem(E.callbacks,$);if(!E.callbacks.length){R.delete(q)}}}}}function watchFile(E,N,j){return createWatcher(E,R,N)}function watchDirectory(E,N,R){return createWatcher(E,R===true?q:$,N)}}function updateFileWithText(E,N,R,$){const q=j.normalize(R);const G=E.files.get(N)||E.otherFiles.get(N);if(G!==undefined){const R=$(q);if(R!==G.text){G.text=R;G.version++;G.modifiedTime=new Date;E.version++;if(!E.modifiedFiles){E.modifiedFiles=new Map}E.modifiedFiles.set(N,true);if(E.watchHost!==undefined){E.watchHost.invokeFileWatcher(q,E.compiler.FileWatcherEventKind.Changed)}}}}N.updateFileWithText=updateFileWithText;function makeWatchHost(E,N,R,$){const{compiler:q,compilerOptions:G,files:ie,otherFiles:ae,filePathKeyMapper:ce}=R;const{watchFile:le,watchDirectory:_e,invokeFileWatcher:Ee}=createWatchFactory(ce,q);const{moduleResolutionHost:Te,resolveModuleNames:we,resolveTypeReferenceDirectives:Ie}=makeResolversAndModuleResolutionHost(E,N,R,(E=>ie.has(ce(E))||q.sys.fileExists(E)),R.loaderOptions.experimentalFileCaching);const Ne=Object.assign(Object.assign({rootFiles:getRootFileNames(),options:G},Te),{readFile:readFileWithCachingText,watchFile:(E,N,j,$)=>{var q;const G=(q=R.solutionBuilderHost)===null||q===void 0?void 0:q.getOutputFileKeyFromReferencedProject(E);if(!G||G===ce(E)){return le(E,N,j,$)}const ie=R.solutionBuilderHost.realpath(E);return le(ie,((R,j)=>N(E,j)),j,$)},watchDirectory:_e,resolveTypeReferenceDirectives:Ie,resolveModuleNames:we,invokeFileWatcher:Ee,updateRootFileNames:()=>{R.changedFilesList=false;if(R.watchOfFilesAndCompilerOptions!==undefined){R.watchOfFilesAndCompilerOptions.updateRootFileNames(getRootFileNames())}},createProgram:$===undefined?q.createEmitAndSemanticDiagnosticsBuilderProgram:createBuilderProgramWithReferences,outputFiles:new Map});return Ne;function getRootFileNames(){return[...ie.values()].map((({fileName:E})=>E)).filter((N=>N.match(E)))}function readFileWithCachingText(E,N){var $;E=j.normalize(E);const q=ce(E);const G=ie.get(q)||ae.get(q);if(G!==undefined){return G.text}const le=Te.readFile(E,N);if(le===undefined){return undefined}if(!(($=R.solutionBuilderHost)===null||$===void 0?void 0:$.getOutputFileKeyFromReferencedProject(E))){ae.set(q,{fileName:E,version:0,text:le})}return le}function createBuilderProgramWithReferences(E,N,R,j,G){const ie=q.createProgram({rootNames:E,options:N,host:R,oldProgram:j&&j.getProgram(),configFileParsingDiagnostics:G,projectReferences:$});const ae=R;return q.createEmitAndSemanticDiagnosticsBuilderProgram(ie,ae,j,G)}}N.makeWatchHost=makeWatchHost;const ce=new Date(0);function identity(E){return E}function toLowerCase(E){return E.toLowerCase()}const le=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function toFileNameLowerCase(E){return le.test(E)?E.replace(le,toLowerCase):E}function createGetCanonicalFileName(E){return ae.useCaseSensitiveFileNames(E.compiler,E.loaderOptions)?identity:toFileNameLowerCase}function createModuleResolutionCache(E,N){const R=E.compiler.createModuleResolutionCache(N.getCurrentDirectory(),createGetCanonicalFileName(E),E.compilerOptions);if(!R.clear){R.clear=()=>{R.directoryToModuleNameMap.clear();R.moduleNameToDirectoryMap.clear()}}if(!R.update){R.update=E=>{if(!E.configFile)return;const N={sourceFile:E.configFile,commandLine:{options:E}};R.directoryToModuleNameMap.setOwnMap(R.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(N));R.moduleNameToDirectoryMap.setOwnMap(R.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(N));R.directoryToModuleNameMap.setOwnOptions(E);R.moduleNameToDirectoryMap.setOwnOptions(E)}}return R}function makeSolutionBuilderHost(E,N,R){const{compiler:ie,loaderOptions:{transpileOnly:ae},filePathKeyMapper:le}=R;const _e={getCurrentDirectory:ie.sys.getCurrentDirectory,getCanonicalFileName:createGetCanonicalFileName(R),getNewLine:()=>ie.sys.newLine};const Ee={global:[],perFile:new Map,transpileErrors:[]};const reportDiagnostic=E=>{if(ae){const N=E.file?le(E.file.fileName):undefined;const R=Ee.transpileErrors[Ee.transpileErrors.length-1];if(Ee.transpileErrors.length&&R[0]===N){R[1].push(E)}else{Ee.transpileErrors.push([N,[E]])}}else if(E.file){const N=le(E.file.fileName);const R=Ee.perFile.get(N);if(R){R.push(E)}else{Ee.perFile.set(N,[E])}}else{Ee.global.push(E)}R.log.logInfo(ie.formatDiagnostic(E,_e))};const reportSolutionBuilderStatus=E=>R.log.logInfo(ie.formatDiagnostic(E,_e));const reportWatchStatus=(E,N,j)=>R.log.logInfo(`${ie.flattenDiagnosticMessageText(E.messageText,ie.sys.newLine)}${N+N}`);const Te=new Map;const we=new Map;const Ie=[];const Ne=new Map;let Me;const{resolveModuleNames:Le,resolveTypeReferenceDirectives:Be,moduleResolutionHost:je}=makeResolversAndModuleResolutionHost(E,N,R,(E=>{const N=le(E);return R.files.has(N)||R.otherFiles.has(N)||ie.sys.fileExists(E)}),true);const Ue=new Map;const ze=[];const We=ie.createSolutionBuilderWithWatchHost(ie.sys,ie.createEmitAndSemanticDiagnosticsBuilderProgram,reportDiagnostic,reportSolutionBuilderStatus,reportWatchStatus);const Je=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},We),je),{createProgram:(E,N,j,$,q,G)=>{var ie,ae,ce,le;(ie=R.moduleResolutionCache)===null||ie===void 0?void 0:ie.update(N||{});(ae=R.typeReferenceResolutionCache)===null||ae===void 0?void 0:ae.update(N||{});const _e=We.createProgram(E,N,j,$,q,G);(ce=R.typeReferenceResolutionCache)===null||ce===void 0?void 0:ce.update(R.compilerOptions);(le=R.moduleResolutionCache)===null||le===void 0?void 0:le.update(R.compilerOptions);return _e},resolveModuleNames:Le,resolveTypeReferenceDirectives:Be,diagnostics:Ee}),createWatchFactory(le,ie)),{writeFile:(E,N,j)=>{var $;const q=le(E);updateFileWithText(R,q,E,(()=>N));const G=ensureOutputFile(E);const ae=hashOutputText(N);Te.set(q,ae);Ie.push({name:E,text:N,writeByteOrderMark:!!j});ie.sys.writeFile(E,N,j);($=je.fileExistsCache)===null||$===void 0?void 0:$.delete(E);if(Ne.has(q)&&(!G||G!==ae)){R.version++}if(R.watchHost&&!R.files.has(q)&&!R.otherFiles.has(q)){if(!G){R.hasUnaccountedModifiedFiles=R.watchHost.invokeFileWatcher(E,ie.FileWatcherEventKind.Created)||R.hasUnaccountedModifiedFiles}else if(G!==ae){R.hasUnaccountedModifiedFiles=R.watchHost.invokeFileWatcher(E,ie.FileWatcherEventKind.Changed)||R.hasUnaccountedModifiedFiles}}},createDirectory:We.createDirectory&&(E=>{var N;We.createDirectory(E);(N=je.directoryExistsCache)===null||N===void 0?void 0:N.delete(E)}),afterProgramEmitAndDiagnostics:ae?undefined:storeDtsFiles,setTimeout:(E,N,...R)=>{Me=[E,R];return Me},clearTimeout:E=>{Me=undefined},getParsedCommandLine:E=>{const N=$.getParsedCommandLine(ie,R.loaderOptions,E);Ue.set(le(E),{config:N});return N},writtenFiles:Ie,configFileInfo:Ue,outputAffectingInstanceVersion:Ne,getInputFileStamp:getInputFileStamp,updateSolutionBuilderInputFile:updateSolutionBuilderInputFile,getOutputFileKeyFromReferencedProject:getOutputFileKeyFromReferencedProject,getOutputFileAndKeyFromReferencedProject:getOutputFileAndKeyFromReferencedProject,getOutputFileTextAndKeyFromReferencedProject:getOutputFileTextAndKeyFromReferencedProject,getInputFileNameFromOutput:E=>{const N=getInputFileNameFromOutput(E);return typeof N==="string"?N:undefined},getOutputFilesFromReferencedProjectInput:getOutputFilesFromReferencedProjectInput,buildReferences:buildReferences,ensureAllReferenceTimestamps:ensureAllReferenceTimestamps,clearCache:clearCache,close:close});return Je;function close(){ze.slice().forEach((E=>E.close()))}function clearCache(){je.clearCache();Te.clear();we.clear()}function buildReferences(){if(!Me){ensureAllReferenceTimestamps();return}Ee.global.length=0;Ee.perFile.clear();Ee.transpileErrors.length=0;while(Me){const[E,N]=Me;Me=undefined;E(...N)}ensureAllReferenceTimestamps()}function ensureAllReferenceTimestamps(){if(we.size!==Je.watchedFiles.size){for(const{fileName:E}of R.solutionBuilderHost.watchedFiles.values()){R.solutionBuilderHost.getInputFileStamp(E)}}}function storeDtsFiles(E){const N=E.getProgram();for(const E of Ue.values()){if(!E.config||N.getRootFileNames()!==E.config.fileNames||N.getCompilerOptions()!==E.config.options||N.getProjectReferences()!==E.config.projectReferences){continue}E.dtsFiles=N.getSourceFiles().map((E=>j.resolve(E.fileName))).filter((E=>E.match(q.dtsDtsxOrDtsDtsxMapRegex)));return}}function getInputFileNameFromOutput(E){const N=le(E);for(const E of Ue.values()){ensureInputOutputInfo(E);if(E.outputFileNames){for(const{inputFileName:R,outputNames:j}of E.outputFileNames.values()){if(j.some((E=>N===le(E)))){return R}}}if(E.tsbuildInfoFile&&le(E.tsbuildInfoFile)===N){return true}}const R=Je.realpath(E);return le(R)!==N?getInputFileNameFromOutput(R):undefined}function ensureInputOutputInfo(E){if(E.outputFileNames||!E.config){return}E.outputFileNames=new Map;E.config.fileNames.forEach((N=>E.outputFileNames.set(le(N),{inputFileName:j.resolve(N),outputNames:G.getOutputFileNames(R,E.config,N)})));E.tsbuildInfoFile=R.compiler.getTsBuildInfoEmitOutputFilePath?R.compiler.getTsBuildInfoEmitOutputFilePath(E.config.options):R.compiler.getOutputPathForBuildInfo(E.config.options)}function getOutputFileAndKeyFromReferencedProject(E){const N=ensureOutputFile(E);return N!==undefined?{key:getOutputFileKeyFromReferencedProject(E),outputFile:N}:undefined}function getOutputFileTextAndKeyFromReferencedProject(E){const N=getOutputFileKeyFromReferencedProject(E);if(!N){return undefined}const R=Ie.find((E=>le(E.name)===N));if(R){return{key:N,text:R.text}}const j=Te.get(N);return{key:N,text:j!==false?ie.sys.readFile(E):undefined}}function getOutputFileKeyFromReferencedProject(E){const N=le(E);if(Te.has(N))return N;const R=le(Je.realpath(E));if(R!==N&&Te.has(R))return R;return getInputFileNameFromOutput(E)?R:undefined}function hashOutputText(E){return ie.sys.createHash?ie.sys.createHash(E):E}function ensureOutputFile(E){const N=getOutputFileKeyFromReferencedProject(E);if(!N){return undefined}const R=Te.get(N);if(R!==undefined){return R}if(!getInputFileNameFromOutput(E)){return undefined}const j=ie.sys.readFile(E);const $=j===undefined?false:hashOutputText(j);Te.set(N,$);return $}function getTypeScriptOutputFile(E){const N=le(E);const R=Ie.find((E=>le(E.name)===N));if(R)return R;const j=ie.sys.readFile(E);return j!==undefined?{name:E,text:j,writeByteOrderMark:false}:undefined}function getOutputFilesFromReferencedProjectInput(E){const N=le(E);for(const E of Ue.values()){ensureInputOutputInfo(E);if(E.outputFileNames){const R=E.outputFileNames.get(N);if(R){return R.outputNames.map(getTypeScriptOutputFile).filter((E=>!!E))}}}return[]}function getInputFileStamp(E){const N=le(E);const R=we.get(N);if(R!==undefined){return R}const j=ie.sys.getModifiedTime(E)||ce;we.set(N,j);return j}function updateSolutionBuilderInputFile(E){const N=le(E);const R=we.get(N)||ce;const j=ie.sys.getModifiedTime(E)||ce;if(R.getTime()===j.getTime()){return}const $=R==ce?ie.FileWatcherEventKind.Created:j===ce?ie.FileWatcherEventKind.Deleted:ie.FileWatcherEventKind.Changed;Je.invokeFileWatcher(E,$)}}N.makeSolutionBuilderHost=makeSolutionBuilderHost;function getSolutionErrors(E,N){const R=[];if(E.solutionBuilderHost&&E.solutionBuilderHost.diagnostics.transpileErrors.length){E.solutionBuilderHost.diagnostics.transpileErrors.forEach((([j,$])=>R.push(...ae.formatErrors($,E.loaderOptions,E.colors,E.compiler,{file:j?undefined:"tsconfig.json"},N))))}return R}N.getSolutionErrors=getSolutionErrors;function makeResolveTypeReferenceDirective(E,N,R,j,$){var q,G;if(j===undefined){if(E.createTypeReferenceDirectiveResolutionCache&&!$.typeReferenceResolutionCache){$.typeReferenceResolutionCache=E.createTypeReferenceDirectiveResolutionCache(R.getCurrentDirectory(),createGetCanonicalFileName($),$.compilerOptions,(G=(q=$.moduleResolutionCache)===null||q===void 0?void 0:q.getPackageJsonInfoCache)===null||G===void 0?void 0:G.call(q))}return(j,q,G)=>E.resolveTypeReferenceDirective(j,q,N,R,G,$.typeReferenceResolutionCache)}return($,q)=>j($,q,N,R,E.resolveTypeReferenceDirective)}function isJsImplementationOfTypings(E,N){return E.resolvedFileName.endsWith("js")&&/\.d\.ts$/.test(N.resolvedFileName)}function resolveModule(E,N,R,$,q,G,ie){let ae;try{const N=E(undefined,j.normalize(j.dirname(G)),q);const ie=R(N);if(ie.match($)!==null){ae={resolvedFileName:ie,originalFileName:N}}}catch(E){}const ce=N(q,G,ie);if(ce.resolvedModule!==undefined){const E=j.normalize(ce.resolvedModule.resolvedFileName);const N=Object.assign(Object.assign({},ce.resolvedModule),{originalFileName:E,resolvedFileName:E});return ae===undefined||ae.resolvedFileName===N.resolvedFileName||isJsImplementationOfTypings(ae,N)?N:ae}return ae}function makeResolveModuleName(E,N,R,j,$){if(j===undefined){if(!$.moduleResolutionCache){$.moduleResolutionCache=createModuleResolutionCache($,R)}return(j,q,G)=>E.resolveModuleName(j,q,N,R,$.moduleResolutionCache,G)}return($,q)=>j($,q,N,R,E.resolveModuleName)}function addCache(E){E.fileExists=createCache(E.fileExists,E.fileExistsCache=new Map);E.directoryExists=createCache(E.directoryExists,E.directoryExistsCache=new Map);E.realpath=E.realpath&&createCache(E.realpath,E.realpathCache=new Map);E.clearCache=clearCache;function createCache(E,N){return function getCached(R){let j=N.get(R);if(j!==undefined){return j}j=E(R);N.set(R,j);return j}}function clearCache(){var N,R,j;(N=E.fileExistsCache)===null||N===void 0?void 0:N.clear();(R=E.directoryExistsCache)===null||R===void 0?void 0:R.clear();(j=E.realpathCache)===null||j===void 0?void 0:j.clear()}}},38001:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.useCaseSensitiveFileNames=N.isReferencedFile=N.supportsSolutionBuild=N.ensureProgram=N.arrify=N.collectAllDependants=N.populateReverseDependencyGraph=N.populateDependencyGraph=N.unorderedRemoveItem=N.appendSuffixesIfMatch=N.appendSuffixIfMatch=N.tsLoaderSource=N.makeError=N.fsReadFile=N.formatErrors=void 0;const j=R(57147);const $=R(44930);const q=R(71017);const G=R(69635);const ie=R(90557);function defaultErrorFormatter(E,N){const R=E.severity==="warning"?N.bold.yellow:N.bold.red;return N.grey("[tsl] ")+R(E.severity.toUpperCase())+(E.file===""?"":R(" in ")+N.bold.cyan(`${E.file}(${E.line},${E.character})`))+G.EOL+R(` TS${E.code}: ${E.content}`)}function formatErrors(E,N,R,j,ie,ae){return E===undefined?[]:E.filter((E=>{if(N.ignoreDiagnostics.indexOf(E.code)!==-1){return false}if(N.reportFiles.length>0&&E.file!==undefined){const R=q.relative(ae,E.file.fileName);const j=$([R],N.reportFiles);if(j.length===0){return false}}return true})).map((E=>{const $=E.file;const{start:ce,end:le}=$===undefined||E.start===undefined?{start:undefined,end:undefined}:getFileLocations($,E.start,E.length);const _e={code:E.code,severity:j.DiagnosticCategory[E.category].toLowerCase(),content:j.flattenDiagnosticMessageText(E.messageText,G.EOL),file:$===undefined?"":q.normalize($.fileName),line:ce===undefined?0:ce.line,character:ce===undefined?0:ce.character,context:ae};const Ee=N.errorFormatter===undefined?defaultErrorFormatter(_e,R):N.errorFormatter(_e,R);const Te=makeError(N,Ee,ie.file===undefined?_e.file:ie.file,ce,le);return Object.assign(Te,ie)}))}N.formatErrors=formatErrors;function getFileLocations(E,N,R=0){const j=E.getLineAndCharacterOfPosition(N);const $={line:j.line+1,character:j.character+1};const q=R>0?E.getLineAndCharacterOfPosition(N+R):undefined;const G=q===undefined?undefined:{line:q.line+1,character:q.character+1};return{start:$,end:G}}function fsReadFile(E,N="utf8"){E=q.normalize(E);try{return j.readFileSync(E,N)}catch(E){return undefined}}N.fsReadFile=fsReadFile;function makeError(E,N,R,j,$){return{message:N,file:R,loc:j===undefined?undefined:makeWebpackLocation(j,$),location:j,loaderSource:tsLoaderSource(E)}}N.makeError=makeError;function makeWebpackLocation(E,N){const R={line:E.line,column:E.character-1};const j=N===undefined?undefined:{line:N.line,column:N.character-1};return{start:R,end:j}}function tsLoaderSource(E){return`ts-loader-${E.instance}`}N.tsLoaderSource=tsLoaderSource;function appendSuffixIfMatch(E,N,R){if(E.length>0){for(const j of E){if(N.match(j)!==null){return N+R}}}return N}N.appendSuffixIfMatch=appendSuffixIfMatch;function appendSuffixesIfMatch(E,N){let R=N;for(const N in E){R=appendSuffixIfMatch(E[N],R,N)}return R}N.appendSuffixesIfMatch=appendSuffixesIfMatch;function unorderedRemoveItem(E,N){for(let R=0;R<E.length;R++){if(E[R]===N){E[R]=E[E.length-1];E.pop();return true}}return false}N.unorderedRemoveItem=unorderedRemoveItem;function populateDependencyGraph(E,N,R){E=E.filter((E=>E!==null&&E!==undefined));if(E.length){const j=N.filePathKeyMapper(R);N.dependencyGraph.set(j,E)}}N.populateDependencyGraph=populateDependencyGraph;function populateReverseDependencyGraph(E){const N=new Map;for(const[R,j]of E.dependencyGraph.entries()){const $=E.solutionBuilderHost&&ie.getInputFileNameFromOutput(E,R);const q=$?E.filePathKeyMapper($):R;j.forEach((({resolvedFileName:R})=>{const j=E.filePathKeyMapper(E.solutionBuilderHost?ie.getInputFileNameFromOutput(E,R)||R:R);let $=N.get(j);if(!$){$=new Map;N.set(j,$)}$.set(q,true)}))}return N}N.populateReverseDependencyGraph=populateReverseDependencyGraph;function collectAllDependants(E,N,R=new Map){R.set(N,true);const j=E.get(N);if(j!==undefined){for(const N of j.keys()){if(!R.has(N)){collectAllDependants(E,N,R)}}}return R}N.collectAllDependants=collectAllDependants;function arrify(E){if(E===null||E===undefined){return[]}return Array.isArray(E)?E:[E]}N.arrify=arrify;function ensureProgram(E){if(E&&E.watchHost){if(E.hasUnaccountedModifiedFiles){if(E.changedFilesList){E.watchHost.updateRootFileNames()}if(E.watchOfFilesAndCompilerOptions){E.builderProgram=E.watchOfFilesAndCompilerOptions.getProgram();E.program=E.builderProgram.getProgram()}E.hasUnaccountedModifiedFiles=false}return E.program}if(E.languageService){return E.languageService.getProgram()}return E.program}N.ensureProgram=ensureProgram;function supportsSolutionBuild(E){return!!E.configFilePath&&!!E.loaderOptions.projectReferences&&!!E.configParseResult.projectReferences&&!!E.configParseResult.projectReferences.length}N.supportsSolutionBuild=supportsSolutionBuild;function isReferencedFile(E,N){return!!E.solutionBuilderHost&&!!E.solutionBuilderHost.watchedFiles.get(E.filePathKeyMapper(N))}N.isReferencedFile=isReferencedFile;function useCaseSensitiveFileNames(E,N){return N.useCaseSensitiveFileNames!==undefined?N.useCaseSensitiveFileNames:E.sys.useCaseSensitiveFileNames}N.useCaseSensitiveFileNames=useCaseSensitiveFileNames},80573:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeWatchRun=void 0;const j=R(71017);const $=R(69635);const q=R(9674);const G=R(38001);function makeWatchRun(E,N){const R=new Map;const j=0;const q=N.loaderIndex;return(G,ie)=>{var ae,ce,le,_e,Ee,Te;(ce=(ae=E.servicesHost)===null||ae===void 0?void 0:ae.clearCache)===null||ce===void 0?void 0:ce.call(ae);(_e=(le=E.watchHost)===null||le===void 0?void 0:le.clearCache)===null||_e===void 0?void 0:_e.call(le);(Ee=E.moduleResolutionCache)===null||Ee===void 0?void 0:Ee.clear();(Te=E.typeReferenceResolutionCache)===null||Te===void 0?void 0:Te.clear();const we=[];if(E.loaderOptions.transpileOnly){E.reportTranspileErrors=true}else{const ie=G.fileTimestamps;for(const[$,G]of ie){const ie=E.filePathKeyMapper($);const ae=R.get(ie)||j;if(G<=ae){continue}R.set(ie,G);we.push(updateFile(E,ie,$,N,q))}for(const[R,{fileName:j}]of E.files.entries()){if(j.match($.dtsDtsxOrDtsDtsxMapRegex)!==null&&j.match($.nodeModules)===null){we.push(updateFile(E,R,j,N,q))}}}if(E.solutionBuilderHost){for(const{fileName:N}of E.solutionBuilderHost.watchedFiles.values()){E.solutionBuilderHost.updateSolutionBuilderInputFile(N)}E.solutionBuilderHost.clearCache()}Promise.all(we).then((()=>ie())).catch((E=>ie(E)))}}N.makeWatchRun=makeWatchRun;function updateFile(E,N,R,$,ie){return new Promise(((ae,ce)=>{if(ie+1<$.loaders.length&&E.rootFileNames.has(j.normalize(R))){let G=`!!${j.resolve(__dirname,"stringify-loader.js")}!`;for(let E=ie+1;E<$.loaders.length;++E){G+=$.loaders[E].request+"!"}G+=R;$.loadModule(G,((j,$)=>{if(j){ce(j)}else{const j=JSON.parse($);q.updateFileWithText(E,N,R,(()=>j));ae()}}))}else{q.updateFileWithText(E,N,R,(E=>G.fsReadFile(E)||""));ae()}}))}},82070:(E,N,R)=>{var j=R(32956);E.exports=j},4822:(E,N,R)=>{"use strict";const j=R(13819);const $=R(59153);const q=R(64455);const G=R(82806);const braces=(E,N={})=>{let R=[];if(Array.isArray(E)){for(let j of E){let E=braces.create(j,N);if(Array.isArray(E)){R.push(...E)}else{R.push(E)}}}else{R=[].concat(braces.create(E,N))}if(N&&N.expand===true&&N.nodupes===true){R=[...new Set(R)]}return R};braces.parse=(E,N={})=>G(E,N);braces.stringify=(E,N={})=>{if(typeof E==="string"){return j(braces.parse(E,N),N)}return j(E,N)};braces.compile=(E,N={})=>{if(typeof E==="string"){E=braces.parse(E,N)}return $(E,N)};braces.expand=(E,N={})=>{if(typeof E==="string"){E=braces.parse(E,N)}let R=q(E,N);if(N.noempty===true){R=R.filter(Boolean)}if(N.nodupes===true){R=[...new Set(R)]}return R};braces.create=(E,N={})=>{if(E===""||E.length<3){return[E]}return N.expand!==true?braces.compile(E,N):braces.expand(E,N)};E.exports=braces},59153:(E,N,R)=>{"use strict";const j=R(12710);const $=R(82875);const compile=(E,N={})=>{let walk=(E,R={})=>{let q=$.isInvalidBrace(R);let G=E.invalid===true&&N.escapeInvalid===true;let ie=q===true||G===true;let ae=N.escapeInvalid===true?"\\":"";let ce="";if(E.isOpen===true){return ae+E.value}if(E.isClose===true){return ae+E.value}if(E.type==="open"){return ie?ae+E.value:"("}if(E.type==="close"){return ie?ae+E.value:")"}if(E.type==="comma"){return E.prev.type==="comma"?"":ie?E.value:"|"}if(E.value){return E.value}if(E.nodes&&E.ranges>0){let R=$.reduce(E.nodes);let q=j(...R,{...N,wrap:false,toRegex:true});if(q.length!==0){return R.length>1&&q.length>1?`(${q})`:q}}if(E.nodes){for(let N of E.nodes){ce+=walk(N,E)}}return ce};return walk(E)};E.exports=compile},43783:E=>{"use strict";E.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},64455:(E,N,R)=>{"use strict";const j=R(12710);const $=R(13819);const q=R(82875);const append=(E="",N="",R=false)=>{let j=[];E=[].concat(E);N=[].concat(N);if(!N.length)return E;if(!E.length){return R?q.flatten(N).map((E=>`{${E}}`)):N}for(let $ of E){if(Array.isArray($)){for(let E of $){j.push(append(E,N,R))}}else{for(let E of N){if(R===true&&typeof E==="string")E=`{${E}}`;j.push(Array.isArray(E)?append($,E,R):$+E)}}}return q.flatten(j)};const expand=(E,N={})=>{let R=N.rangeLimit===void 0?1e3:N.rangeLimit;let walk=(E,G={})=>{E.queue=[];let ie=G;let ae=G.queue;while(ie.type!=="brace"&&ie.type!=="root"&&ie.parent){ie=ie.parent;ae=ie.queue}if(E.invalid||E.dollar){ae.push(append(ae.pop(),$(E,N)));return}if(E.type==="brace"&&E.invalid!==true&&E.nodes.length===2){ae.push(append(ae.pop(),["{}"]));return}if(E.nodes&&E.ranges>0){let G=q.reduce(E.nodes);if(q.exceedsLimit(...G,N.step,R)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let ie=j(...G,N);if(ie.length===0){ie=$(E,N)}ae.push(append(ae.pop(),ie));E.nodes=[];return}let ce=q.encloseBrace(E);let le=E.queue;let _e=E;while(_e.type!=="brace"&&_e.type!=="root"&&_e.parent){_e=_e.parent;le=_e.queue}for(let N=0;N<E.nodes.length;N++){let R=E.nodes[N];if(R.type==="comma"&&E.type==="brace"){if(N===1)le.push("");le.push("");continue}if(R.type==="close"){ae.push(append(ae.pop(),le,ce));continue}if(R.value&&R.type!=="open"){le.push(append(le.pop(),R.value));continue}if(R.nodes){walk(R,E)}}return le};return q.flatten(walk(E))};E.exports=expand},82806:(E,N,R)=>{"use strict";const j=R(13819);const{MAX_LENGTH:$,CHAR_BACKSLASH:q,CHAR_BACKTICK:G,CHAR_COMMA:ie,CHAR_DOT:ae,CHAR_LEFT_PARENTHESES:ce,CHAR_RIGHT_PARENTHESES:le,CHAR_LEFT_CURLY_BRACE:_e,CHAR_RIGHT_CURLY_BRACE:Ee,CHAR_LEFT_SQUARE_BRACKET:Te,CHAR_RIGHT_SQUARE_BRACKET:we,CHAR_DOUBLE_QUOTE:Ie,CHAR_SINGLE_QUOTE:Ne,CHAR_NO_BREAK_SPACE:Me,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Le}=R(43783);const parse=(E,N={})=>{if(typeof E!=="string"){throw new TypeError("Expected a string")}let R=N||{};let Be=typeof R.maxLength==="number"?Math.min($,R.maxLength):$;if(E.length>Be){throw new SyntaxError(`Input length (${E.length}), exceeds max characters (${Be})`)}let je={type:"root",input:E,nodes:[]};let Ue=[je];let ze=je;let We=je;let Je=0;let Ve=E.length;let qe=0;let He=0;let Ge;let Ke={};const advance=()=>E[qe++];const push=E=>{if(E.type==="text"&&We.type==="dot"){We.type="text"}if(We&&We.type==="text"&&E.type==="text"){We.value+=E.value;return}ze.nodes.push(E);E.parent=ze;E.prev=We;We=E;return E};push({type:"bos"});while(qe<Ve){ze=Ue[Ue.length-1];Ge=advance();if(Ge===Le||Ge===Me){continue}if(Ge===q){push({type:"text",value:(N.keepEscaping?Ge:"")+advance()});continue}if(Ge===we){push({type:"text",value:"\\"+Ge});continue}if(Ge===Te){Je++;let E=true;let N;while(qe<Ve&&(N=advance())){Ge+=N;if(N===Te){Je++;continue}if(N===q){Ge+=advance();continue}if(N===we){Je--;if(Je===0){break}}}push({type:"text",value:Ge});continue}if(Ge===ce){ze=push({type:"paren",nodes:[]});Ue.push(ze);push({type:"text",value:Ge});continue}if(Ge===le){if(ze.type!=="paren"){push({type:"text",value:Ge});continue}ze=Ue.pop();push({type:"text",value:Ge});ze=Ue[Ue.length-1];continue}if(Ge===Ie||Ge===Ne||Ge===G){let E=Ge;let R;if(N.keepQuotes!==true){Ge=""}while(qe<Ve&&(R=advance())){if(R===q){Ge+=R+advance();continue}if(R===E){if(N.keepQuotes===true)Ge+=R;break}Ge+=R}push({type:"text",value:Ge});continue}if(Ge===_e){He++;let E=We.value&&We.value.slice(-1)==="$"||ze.dollar===true;let N={type:"brace",open:true,close:false,dollar:E,depth:He,commas:0,ranges:0,nodes:[]};ze=push(N);Ue.push(ze);push({type:"open",value:Ge});continue}if(Ge===Ee){if(ze.type!=="brace"){push({type:"text",value:Ge});continue}let E="close";ze=Ue.pop();ze.close=true;push({type:E,value:Ge});He--;ze=Ue[Ue.length-1];continue}if(Ge===ie&&He>0){if(ze.ranges>0){ze.ranges=0;let E=ze.nodes.shift();ze.nodes=[E,{type:"text",value:j(ze)}]}push({type:"comma",value:Ge});ze.commas++;continue}if(Ge===ae&&He>0&&ze.commas===0){let E=ze.nodes;if(He===0||E.length===0){push({type:"text",value:Ge});continue}if(We.type==="dot"){ze.range=[];We.value+=Ge;We.type="range";if(ze.nodes.length!==3&&ze.nodes.length!==5){ze.invalid=true;ze.ranges=0;We.type="text";continue}ze.ranges++;ze.args=[];continue}if(We.type==="range"){E.pop();let N=E[E.length-1];N.value+=We.value+Ge;We=N;ze.ranges--;continue}push({type:"dot",value:Ge});continue}push({type:"text",value:Ge})}do{ze=Ue.pop();if(ze.type!=="root"){ze.nodes.forEach((E=>{if(!E.nodes){if(E.type==="open")E.isOpen=true;if(E.type==="close")E.isClose=true;if(!E.nodes)E.type="text";E.invalid=true}}));let E=Ue[Ue.length-1];let N=E.nodes.indexOf(ze);E.nodes.splice(N,1,...ze.nodes)}}while(Ue.length>0);push({type:"eos"});return je};E.exports=parse},13819:(E,N,R)=>{"use strict";const j=R(82875);E.exports=(E,N={})=>{let stringify=(E,R={})=>{let $=N.escapeInvalid&&j.isInvalidBrace(R);let q=E.invalid===true&&N.escapeInvalid===true;let G="";if(E.value){if(($||q)&&j.isOpenOrClose(E)){return"\\"+E.value}return E.value}if(E.value){return E.value}if(E.nodes){for(let N of E.nodes){G+=stringify(N)}}return G};return stringify(E)}},82875:(E,N)=>{"use strict";N.isInteger=E=>{if(typeof E==="number"){return Number.isInteger(E)}if(typeof E==="string"&&E.trim()!==""){return Number.isInteger(Number(E))}return false};N.find=(E,N)=>E.nodes.find((E=>E.type===N));N.exceedsLimit=(E,R,j=1,$)=>{if($===false)return false;if(!N.isInteger(E)||!N.isInteger(R))return false;return(Number(R)-Number(E))/Number(j)>=$};N.escapeNode=(E,N=0,R)=>{let j=E.nodes[N];if(!j)return;if(R&&j.type===R||j.type==="open"||j.type==="close"){if(j.escaped!==true){j.value="\\"+j.value;j.escaped=true}}};N.encloseBrace=E=>{if(E.type!=="brace")return false;if(E.commas>>0+E.ranges>>0===0){E.invalid=true;return true}return false};N.isInvalidBrace=E=>{if(E.type!=="brace")return false;if(E.invalid===true||E.dollar)return true;if(E.commas>>0+E.ranges>>0===0){E.invalid=true;return true}if(E.open!==true||E.close!==true){E.invalid=true;return true}return false};N.isOpenOrClose=E=>{if(E.type==="open"||E.type==="close"){return true}return E.open===true||E.close===true};N.reduce=E=>E.reduce(((E,N)=>{if(N.type==="text")E.push(N.value);if(N.type==="range")N.type="text";return E}),[]);N.flatten=(...E)=>{const N=[];const flat=E=>{for(let R=0;R<E.length;R++){let j=E[R];Array.isArray(j)?flat(j,N):j!==void 0&&N.push(j)}return N};flat(E);return N}},36325:(E,N,R)=>{"use strict";const j=R(28194);const $=R(37575);E.exports=class AliasFieldPlugin{constructor(E,N,R){this.source=E;this.field=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((R,q,G)=>{if(!R.descriptionFileData)return G();const ie=$(E,R);if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.field);if(typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const ce=ae[ie];const le=ae[ie.replace(/^\.\//,"")];const _e=typeof ce!=="undefined"?ce:le;if(_e===ie)return G();if(_e===undefined)return G();if(_e===false){const E=Object.assign({},R,{path:false});return G(null,E)}const Ee=Object.assign({},R,{path:R.descriptionFileRoot,request:_e});E.doResolve(N,Ee,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ie+"' to '"+_e+"'",q,((E,N)=>{if(E)return G(E);if(N===undefined)return G(null,null);G(null,N)}))}))}}},71648:E=>{"use strict";function startsWith(E,N){const R=E.length;const j=N.length;if(j>R){return false}let $=-1;while(++$<j){if(E.charCodeAt($)!==N.charCodeAt($)){return false}}return true}E.exports=class AliasPlugin{constructor(E,N,R){this.source=E;this.options=Array.isArray(N)?N:[N];this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasPlugin",((R,j,$)=>{const q=R.request||R.path;if(!q)return $();for(const G of this.options){if(q===G.name||!G.onlyModule&&startsWith(q,G.name+"/")){if(q!==G.alias&&!startsWith(q,G.alias+"/")){const ie=G.alias+q.substr(G.name.length);const ae=Object.assign({},R,{request:ie});return E.doResolve(N,ae,"aliased with mapping '"+G.name+"': '"+G.alias+"' to '"+ie+"'",j,((E,N)=>{if(E)return $(E);if(N===undefined)return $(null,null);$(null,N)}))}}}return $()}))}}},63554:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:R.path+this.appending,relativePath:R.relativePath&&R.relativePath+this.appending});E.doResolve(N,q,this.appending,j,$)}))}}},87507:E=>{"use strict";class Storage{constructor(E){this.duration=E;this.running=new Map;this.data=new Map;this.levels=[];if(E>0){this.levels.push(new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set);for(let N=8e3;N<E;N+=500)this.levels.push(new Set)}this.count=0;this.interval=null;this.needTickCheck=false;this.nextTick=null;this.passive=true;this.tick=this.tick.bind(this)}ensureTick(){if(!this.interval&&this.duration>0&&!this.nextTick)this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length))}finished(E,N,R){const j=this.running.get(E);this.running.delete(E);if(this.duration>0){this.data.set(E,[N,R]);const j=this.levels[0];this.count-=j.size;j.add(E);this.count+=j.size;this.ensureTick()}for(let E=0;E<j.length;E++){j[E](N,R)}}finishedSync(E,N,R){if(this.duration>0){this.data.set(E,[N,R]);const j=this.levels[0];this.count-=j.size;j.add(E);this.count+=j.size;this.ensureTick()}}provide(E,N,R){if(typeof E!=="string"){R(new TypeError("path must be a string"));return}let j=this.running.get(E);if(j){j.push(R);return}if(this.duration>0){this.checkTicks();const N=this.data.get(E);if(N){return process.nextTick((()=>{R.apply(null,N)}))}}this.running.set(E,j=[R]);N(E,((N,R)=>{this.finished(E,N,R)}))}provideSync(E,N){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(this.duration>0){this.checkTicks();const N=this.data.get(E);if(N){if(N[0])throw N[0];return N[1]}}let R;try{R=N(E)}catch(N){this.finishedSync(E,N);throw N}this.finishedSync(E,null,R);return R}tick(){const E=this.levels.pop();for(let N of E){this.data.delete(N)}this.count-=E.size;E.clear();this.levels.unshift(E);if(this.count===0){clearInterval(this.interval);this.interval=null;this.nextTick=null;return true}else if(this.nextTick){this.nextTick+=Math.floor(this.duration/this.levels.length);const E=(new Date).getTime();if(this.nextTick>E){this.nextTick=null;this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length));return true}}else if(this.passive){clearInterval(this.interval);this.interval=null;this.nextTick=(new Date).getTime()+Math.floor(this.duration/this.levels.length)}else{this.passive=true}}checkTicks(){this.passive=false;if(this.nextTick){while(!this.tick());}}purge(E){if(!E){this.count=0;clearInterval(this.interval);this.nextTick=null;this.data.clear();this.levels.forEach((E=>{E.clear()}))}else if(typeof E==="string"){for(let N of this.data.keys()){if(N.startsWith(E))this.data.delete(N)}}else{for(let N=E.length-1;N>=0;N--){this.purge(E[N])}}}}E.exports=class CachedInputFileSystem{constructor(E,N){this.fileSystem=E;this._statStorage=new Storage(N);this._readdirStorage=new Storage(N);this._readFileStorage=new Storage(N);this._readJsonStorage=new Storage(N);this._readlinkStorage=new Storage(N);this._stat=this.fileSystem.stat?this.fileSystem.stat.bind(this.fileSystem):null;if(!this._stat)this.stat=null;this._statSync=this.fileSystem.statSync?this.fileSystem.statSync.bind(this.fileSystem):null;if(!this._statSync)this.statSync=null;this._readdir=this.fileSystem.readdir?this.fileSystem.readdir.bind(this.fileSystem):null;if(!this._readdir)this.readdir=null;this._readdirSync=this.fileSystem.readdirSync?this.fileSystem.readdirSync.bind(this.fileSystem):null;if(!this._readdirSync)this.readdirSync=null;this._readFile=this.fileSystem.readFile?this.fileSystem.readFile.bind(this.fileSystem):null;if(!this._readFile)this.readFile=null;this._readFileSync=this.fileSystem.readFileSync?this.fileSystem.readFileSync.bind(this.fileSystem):null;if(!this._readFileSync)this.readFileSync=null;if(this.fileSystem.readJson){this._readJson=this.fileSystem.readJson.bind(this.fileSystem)}else if(this.readFile){this._readJson=(E,N)=>{this.readFile(E,((E,R)=>{if(E)return N(E);let j;try{j=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}N(null,j)}))}}else{this.readJson=null}if(this.fileSystem.readJsonSync){this._readJsonSync=this.fileSystem.readJsonSync.bind(this.fileSystem)}else if(this.readFileSync){this._readJsonSync=E=>{const N=this.readFileSync(E);const R=JSON.parse(N.toString("utf-8"));return R}}else{this.readJsonSync=null}this._readlink=this.fileSystem.readlink?this.fileSystem.readlink.bind(this.fileSystem):null;if(!this._readlink)this.readlink=null;this._readlinkSync=this.fileSystem.readlinkSync?this.fileSystem.readlinkSync.bind(this.fileSystem):null;if(!this._readlinkSync)this.readlinkSync=null}stat(E,N){this._statStorage.provide(E,this._stat,N)}readdir(E,N){this._readdirStorage.provide(E,this._readdir,N)}readFile(E,N){this._readFileStorage.provide(E,this._readFile,N)}readJson(E,N){this._readJsonStorage.provide(E,this._readJson,N)}readlink(E,N){this._readlinkStorage.provide(E,this._readlink,N)}statSync(E){return this._statStorage.provideSync(E,this._statSync)}readdirSync(E){return this._readdirStorage.provideSync(E,this._readdirSync)}readFileSync(E){return this._readFileStorage.provideSync(E,this._readFileSync)}readJsonSync(E){return this._readJsonStorage.provideSync(E,this._readJsonSync)}readlinkSync(E){return this._readlinkStorage.provideSync(E,this._readlinkSync)}purge(E){this._statStorage.purge(E);this._readdirStorage.purge(E);this._readFileStorage.purge(E);this._readlinkStorage.purge(E);this._readJsonStorage.purge(E)}}},54428:(E,N,R)=>{"use strict";const j=R(34164);const $=R(28194);const q=R(13457);E.exports=class ConcordExtensionsPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordExtensionsPlugin",((R,G,ie)=>{const ae=$.getField(R.descriptionFileData,"concord");if(!ae)return ie();const ce=j.getExtensions(R.context,ae);if(!ce)return ie();q(ce,((j,$)=>{const q=Object.assign({},R,{path:R.path+j,relativePath:R.relativePath&&R.relativePath+j});E.doResolve(N,q,"concord extension: "+j,G,$)}),((E,N)=>{if(E)return ie(E);if(N===undefined)return ie(null,null);ie(null,N)}))}))}}},13483:(E,N,R)=>{"use strict";const j=R(71017);const $=R(34164);const q=R(28194);E.exports=class ConcordMainPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordMainPlugin",((R,G,ie)=>{if(R.path!==R.descriptionFileRoot)return ie();const ae=q.getField(R.descriptionFileData,"concord");if(!ae)return ie();const ce=$.getMain(R.context,ae);if(!ce)return ie();const le=Object.assign({},R,{request:ce});const _e=j.basename(R.descriptionFilePath);return E.doResolve(N,le,"use "+ce+" from "+_e,G,ie)}))}}},12379:(E,N,R)=>{"use strict";const j=R(34164);const $=R(28194);const q=R(37575);E.exports=class ConcordModulesPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordModulesPlugin",((R,G,ie)=>{const ae=q(E,R);if(!ae)return ie();const ce=$.getField(R.descriptionFileData,"concord");if(!ce)return ie();const le=j.matchModule(R.context,ce,ae);if(le===ae)return ie();if(le===undefined)return ie();if(le===false){const E=Object.assign({},R,{path:false});return ie(null,E)}const _e=Object.assign({},R,{path:R.descriptionFileRoot,request:le});E.doResolve(N,_e,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ae+"' to '"+le+"'",G,((E,N)=>{if(E)return ie(E);if(N===undefined)return ie(null,null);ie(null,N)}))}))}}},61878:(E,N,R)=>{"use strict";const j=R(28194);E.exports=class DescriptionFilePlugin{constructor(E,N,R){this.source=E;this.filenames=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((R,$,q)=>{const G=R.path;j.loadDescriptionFile(E,G,this.filenames,$,((j,ie)=>{if(j)return q(j);if(!ie){if($.missing){this.filenames.forEach((N=>{$.missing.add(E.join(G,N))}))}if($.log)$.log("No description file found");return q()}const ae="."+R.path.substr(ie.directory.length).replace(/\\/g,"/");const ce=Object.assign({},R,{descriptionFilePath:ie.path,descriptionFileData:ie.content,descriptionFileRoot:ie.directory,relativePath:ae});E.doResolve(N,ce,"using description file: "+ie.path+" (relative path: "+ae+")",$,((E,N)=>{if(E)return q(E);if(N===undefined)return q(null,null);q(null,N)}))}))}))}}},28194:(E,N,R)=>{"use strict";const j=R(13457);function loadDescriptionFile(E,N,R,$,q){(function findDescriptionFile(){j(R,((R,j)=>{const q=E.join(N,R);if(E.fileSystem.readJson){E.fileSystem.readJson(q,((E,N)=>{if(E){if(typeof E.code!=="undefined")return j();return onJson(E)}onJson(null,N)}))}else{E.fileSystem.readFile(q,((E,N)=>{if(E)return j();let R;try{R=JSON.parse(N)}catch(E){onJson(E)}onJson(null,R)}))}function onJson(E,R){if(E){if($.log)$.log(q+" (directory description file): "+E);else E.message=q+" (directory description file): "+E;return j(E)}j(null,{content:R,directory:N,path:q})}}),((E,R)=>{if(E)return q(E);if(R){return q(null,R)}else{N=cdUp(N);if(!N){return q()}else{return findDescriptionFile()}}}))})()}function getField(E,N){if(!E)return undefined;if(Array.isArray(N)){let R=E;for(let E=0;E<N.length;E++){if(R===null||typeof R!=="object"){R=null;break}R=R[N[E]]}if(typeof R==="object"){return R}}else{if(typeof E[N]==="object"){return E[N]}}}function cdUp(E){if(E==="/")return null;const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N<R?R:N;if(j<0)return null;return E.substr(0,j||1)}N.loadDescriptionFile=loadDescriptionFile;N.getField=getField;N.cdUp=cdUp},17197:E=>{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((R,j,$)=>{const q=E.fileSystem;const G=R.path;q.stat(G,((q,ie)=>{if(q||!ie){if(j.missing)j.missing.add(G);if(j.log)j.log(G+" doesn't exist");return $()}if(!ie.isDirectory()){if(j.missing)j.missing.add(G);if(j.log)j.log(G+" is not a directory");return $()}E.doResolve(N,R,"existing directory",j,$)}))}))}}},37841:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",((j,$,q)=>{const G=j.path;R.stat(G,((R,ie)=>{if(R||!ie){if($.missing)$.missing.add(G);if($.log)$.log(G+" doesn't exist");return q()}if(!ie.isFile()){if($.missing)$.missing.add(G);if($.log)$.log(G+" is not a file");return q()}E.doResolve(N,j,"existing file: "+G,$,q)}))}))}}},40530:E=>{"use strict";E.exports=class FileKindPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("FileKindPlugin",((R,j,$)=>{if(R.directory)return $();const q=Object.assign({},R);delete q.directory;E.doResolve(N,q,null,j,$)}))}}},82703:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:E.join(R.path,R.request),relativePath:R.relativePath&&E.join(R.relativePath,R.request),request:undefined});E.doResolve(N,q,null,j,$)}))}}},52265:(E,N,R)=>{"use strict";const j=R(71017);E.exports=class MainFieldPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((R,$,q)=>{if(R.path!==R.descriptionFileRoot)return q();if(R.alreadyTriedMainField===R.descriptionFilePath)return q();const G=R.descriptionFileData;const ie=j.basename(R.descriptionFilePath);let ae;const ce=this.options.name;if(Array.isArray(ce)){let E=G;for(let N=0;N<ce.length;N++){if(E===null||typeof E!=="object"){E=null;break}E=E[ce[N]]}if(typeof E==="string"){ae=E}}else{if(typeof G[ce]==="string"){ae=G[ce]}}if(!ae)return q();if(this.options.forceRelative&&!/^\.\.?\//.test(ae))ae="./"+ae;const le=Object.assign({},R,{request:ae,alreadyTriedMainField:R.descriptionFilePath});return E.doResolve(N,le,"use "+ae+" from "+this.options.name+" in "+ie,$,q)}))}}},36513:E=>{"use strict";E.exports=class ModuleAppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModuleAppendPlugin",((R,j,$)=>{const q=R.request.indexOf("/"),G=R.request.indexOf("\\");const ie=q<0?G:G<0?q:q<G?q:G;let ae,ce;if(ie<0){ae=R.request;ce=""}else{ae=R.request.substr(0,ie);ce=R.request.substr(ie)}if(ae==="."||ae==="..")return $();const le=ae+this.appending;const _e=Object.assign({},R,{request:le+ce});E.doResolve(N,_e,"module variation "+le,j,$)}))}}},70869:E=>{"use strict";E.exports=class ModuleKindPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModuleKindPlugin",((R,j,$)=>{if(!R.module)return $();const q=Object.assign({},R);delete q.module;E.doResolve(N,q,"resolve as module",j,((E,N)=>{if(E)return $(E);if(N===undefined)return $(null,null);$(null,N)}))}))}}},23401:(E,N,R)=>{"use strict";const j=R(13457);const $=R(94585);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,N,R){this.source=E;this.directories=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((R,q,G)=>{const ie=E.fileSystem;const ae=$(R.path).paths.map((N=>this.directories.map((R=>E.join(N,R))))).reduce(((E,N)=>{E.push.apply(E,N);return E}),[]);j(ae,((j,$)=>{ie.stat(j,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G=Object.assign({},R,{path:j,request:"./"+R.request});const ie="looking for modules in "+j;return E.doResolve(N,G,ie,q,$)}if(q.log)q.log(j+" doesn't exist or is not a directory");if(q.missing)q.missing.add(j);return $()}))}),G)}))}}},20735:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,N,R){this.source=E;this.path=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:this.path,request:"./"+R.request});E.doResolve(N,q,"looking for modules in "+this.path,j,$)}))}}},58467:E=>{"use strict";E.exports=class NextPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((R,j,$)=>{E.doResolve(N,R,null,j,$)}))}}},52831:(E,N,R)=>{"use strict";const j=R(15808);class NodeJsInputFileSystem{readdir(E,N){j.readdir(E,((E,R)=>{N(E,R&&R.map((E=>E.normalize?E.normalize("NFC"):E)))}))}readdirSync(E){const N=j.readdirSync(E);return N&&N.map((E=>E.normalize?E.normalize("NFC"):E))}}const $=["stat","statSync","readFile","readFileSync","readlink","readlinkSync"];for(const E of $){Object.defineProperty(NodeJsInputFileSystem.prototype,E,{configurable:true,writable:true,value:j[E].bind(j)})}E.exports=NodeJsInputFileSystem},64829:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((R,j,$)=>{const q=E.parse(R.request);const G=Object.assign({},R,q);if(R.query&&!q.query){G.query=R.query}if(q&&j.log){if(q.module)j.log("Parsed request is a module");if(q.directory)j.log("Parsed request is a directory")}E.doResolve(N,G,null,j,$)}))}}},5625:(E,N,R)=>{"use strict";const j=R(73837);const $=R(86118);const q=R(40352);const G=R(53706);const ie=R(27046);const ae=R(29591);const ce=/^\.$|^\.[\\/]|^\.\.$|^\.\.[\\/]|^\/|^[A-Z]:[\\/]/i;const le=/[\\/]$/i;const _e=R(89987);const Ee=new Map;const Te=R(48333);function withName(E,N){N.name=E;return N}function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}const we=j.deprecate(((E,N)=>{E.add(N)}),"Resolver: 'missing' is now a Set. Use add instead of push.");const Ie=j.deprecate((E=>E),"Resolver: The callback argument was splitted into resolveContext and callback.");const Ne=j.deprecate((E=>E),"Resolver#doResolve: The type arguments (string) is now a hook argument (Hook). Pass a reference to the hook instead.");class Resolver extends ${constructor(E){super();this.fileSystem=E;this.hooks={resolveStep:withName("resolveStep",new q(["hook","request"])),noResolve:withName("noResolve",new q(["request","error"])),resolve:withName("resolve",new G(["request","resolveContext"])),result:new ie(["result","resolveContext"])};this._pluginCompat.tap("Resolver: before/after",(E=>{if(/^before-/.test(E.name)){E.name=E.name.substr(7);E.stage=-10}else if(/^after-/.test(E.name)){E.name=E.name.substr(6);E.stage=10}}));this._pluginCompat.tap("Resolver: step hooks",(E=>{const N=E.name;const R=!/^resolve(-s|S)tep$|^no(-r|R)esolve$/.test(N);if(R){E.async=true;this.ensureHook(N);const R=E.fn;E.fn=(E,N,j)=>{const innerCallback=(E,N)=>{if(E)return j(E);if(N!==undefined)return j(null,N);j()};for(const E in N){innerCallback[E]=N[E]}R.call(this,E,innerCallback)}}}))}ensureHook(E){if(typeof E!=="string")return E;E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){return this.hooks[E]=withName(E,new G(["request","resolveContext"]))}return N}getHook(E){if(typeof E!=="string")return E;E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){throw new Error(`Hook ${E} doesn't exist`)}return N}resolveSync(E,N,R){let j,$,q=false;this.resolve(E,N,R,{},((E,N)=>{j=E;$=N;q=true}));if(!q)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(j)throw j;return $}resolve(E,N,R,j,$){if(typeof $!=="function"){$=Ie(j)}const q={context:E,path:N,request:R};const G="resolve '"+R+"' in '"+N+"'";return this.doResolve(this.hooks.resolve,q,G,{missing:j.missing,stack:j.stack},((E,N)=>{if(!E&&N){return $(null,N.path===false?false:N.path+(N.query||""),N)}const R=new Set;R.push=E=>we(R,E);const ie=[];return this.doResolve(this.hooks.resolve,q,G,{log:E=>{if(j.log){j.log(E)}ie.push(E)},missing:R,stack:j.stack},((E,N)=>{if(E)return $(E);const j=new Error("Can't "+G);j.details=ie.join("\n");j.missing=Array.from(R);this.hooks.noResolve.call(q,j);return $(j)}))}))}doResolve(E,N,R,j,$){if(typeof $!=="function"){$=Ie(j)}if(typeof E==="string"){const N=toCamelCase(E);E=Ne(this.hooks[N]);if(!E){throw new Error(`Hook "${N}" doesn't exist`)}}if(typeof $!=="function")throw new Error("callback is not a function "+Array.from(arguments));if(!j)throw new Error("resolveContext is not an object "+Array.from(arguments));const q=E.name+": ("+N.path+") "+(N.request||"")+(N.query||"")+(N.directory?" directory":"")+(N.module?" module":"");let G;if(j.stack){G=new Set(j.stack);if(j.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(G).join("\n "));E.recursion=true;if(j.log)j.log("abort resolving because of recursion");return $(E)}G.add(q)}else{G=new Set([q])}this.hooks.resolveStep.call(E,N);if(E.isUsed()){const q=ae({log:j.log,missing:j.missing,stack:G},R);return E.callAsync(N,q,((E,N)=>{if(E)return $(E);if(N)return $(null,N);$()}))}else{$()}}parse(E){if(E==="")return null;const N={request:"",query:"",module:false,directory:false,file:false};const R=E.indexOf("?");if(R===0){N.query=E}else if(R>0){N.request=E.slice(0,R);N.query=E.slice(R)}else{N.request=E}if(N.request){N.module=this.isModule(N.request);N.directory=this.isDirectory(N.request);if(N.directory){N.request=N.request.substr(0,N.request.length-1)}}return N}isModule(E){return!ce.test(E)}isDirectory(E){return le.test(E)}join(E,N){let R;let j=Ee.get(E);if(typeof j==="undefined"){Ee.set(E,j=new Map)}else{R=j.get(N);if(typeof R!=="undefined")return R}R=_e(E,N);j.set(N,R);return R}normalize(E){return Te(E)}}E.exports=Resolver},77e3:(E,N,R)=>{"use strict";const j=R(5625);const $=R(2627);const q=R(64829);const G=R(61878);const ie=R(58467);const ae=R(27473);const ce=R(70869);const le=R(40530);const _e=R(82703);const Ee=R(23401);const Te=R(20735);const we=R(71648);const Ie=R(36325);const Ne=R(54428);const Me=R(13483);const Le=R(12379);const Be=R(17197);const je=R(37841);const Ue=R(55098);const ze=R(52265);const We=R(6069);const Je=R(63554);const Ve=R(98573);const qe=R(76997);const He=R(36605);const Ge=R(36513);const Ke=R(35329);N.createResolver=function(E){let N=E.modules||["node_modules"];const R=E.descriptionFiles||["package.json"];const Qe=E.plugins&&E.plugins.slice()||[];let Xe=E.mainFields||["main"];const Ye=E.aliasFields||[];const Ze=E.mainFiles||["index"];let et=E.extensions||[".js",".json",".node"];const tt=E.enforceExtension||false;let rt=E.moduleExtensions||[];const nt=E.enforceModuleExtension||false;let it=E.alias||[];const ot=typeof E.symlinks!=="undefined"?E.symlinks:true;const st=E.resolveToContext||false;const ct=E.roots||[];const ut=E.ignoreRootsErrors||false;const dt=E.preferAbsolute||false;const pt=E.restrictions||[];let ft=E.unsafeCache||false;const mt=typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true;const ht=E.concord||false;const _t=E.cachePredicate||function(){return true};const yt=E.fileSystem;const vt=E.useSyncFileSystemCalls;let bt=E.resolver;if(!bt){bt=new j(vt?new $(yt):yt)}et=[].concat(et);rt=[].concat(rt);N=mergeFilteredToArray([].concat(N),(E=>!isAbsolutePath(E)));Xe=Xe.map((E=>{if(typeof E==="string"||Array.isArray(E)){E={name:E,forceRelative:true}}return E}));if(typeof it==="object"&&!Array.isArray(it)){it=Object.keys(it).map((E=>{let N=false;let R=it[E];if(/\$$/.test(E)){N=true;E=E.substr(0,E.length-1)}if(typeof R==="string"){R={alias:R}}R=Object.assign({name:E,onlyModule:N},R);return R}))}if(ft&&typeof ft!=="object"){ft={}}bt.ensureHook("resolve");bt.ensureHook("parsedResolve");bt.ensureHook("describedResolve");bt.ensureHook("rawModule");bt.ensureHook("module");bt.ensureHook("relative");bt.ensureHook("describedRelative");bt.ensureHook("directory");bt.ensureHook("existingDirectory");bt.ensureHook("undescribedRawFile");bt.ensureHook("rawFile");bt.ensureHook("file");bt.ensureHook("existingFile");bt.ensureHook("resolved");if(ft){Qe.push(new Ke("resolve",_t,ft,mt,"new-resolve"));Qe.push(new q("new-resolve","parsed-resolve"))}else{Qe.push(new q("resolve","parsed-resolve"))}Qe.push(new G("parsed-resolve",R,"described-resolve"));Qe.push(new ie("after-parsed-resolve","described-resolve"));if(it.length>0)Qe.push(new we("described-resolve",it,"resolve"));if(ht){Qe.push(new Le("described-resolve",{},"resolve"))}Ye.forEach((E=>{Qe.push(new Ie("described-resolve",E,"resolve"))}));Qe.push(new ce("after-described-resolve","raw-module"));if(dt){Qe.push(new _e("after-described-resolve","relative"))}ct.forEach((E=>{Qe.push(new Ve("after-described-resolve",E,"relative",ut))}));if(!dt){Qe.push(new _e("after-described-resolve","relative"))}rt.forEach((E=>{Qe.push(new Ge("raw-module",E,"module"))}));if(!nt)Qe.push(new ae("raw-module",null,"module"));N.forEach((E=>{if(Array.isArray(E))Qe.push(new Ee("module",E,"resolve"));else Qe.push(new Te("module",E,"resolve"))}));Qe.push(new G("relative",R,"described-relative"));Qe.push(new ie("after-relative","described-relative"));Qe.push(new le("described-relative","raw-file"));Qe.push(new ae("described-relative","as directory","directory"));Qe.push(new Be("directory","existing-directory"));if(st){Qe.push(new ie("existing-directory","resolved"))}else{if(ht){Qe.push(new Me("existing-directory",{},"resolve"))}Xe.forEach((E=>{Qe.push(new ze("existing-directory",E,"resolve"))}));Ze.forEach((E=>{Qe.push(new We("existing-directory",E,"undescribed-raw-file"))}));Qe.push(new G("undescribed-raw-file",R,"raw-file"));Qe.push(new ie("after-undescribed-raw-file","raw-file"));if(!tt){Qe.push(new ae("raw-file","no extension","file"))}if(ht){Qe.push(new Ne("raw-file",{},"file"))}et.forEach((E=>{Qe.push(new Je("raw-file",E,"file"))}));if(it.length>0)Qe.push(new we("file",it,"resolve"));if(ht){Qe.push(new Le("file",{},"resolve"))}Ye.forEach((E=>{Qe.push(new Ie("file",E,"resolve"))}));if(ot)Qe.push(new Ue("file","relative"));Qe.push(new je("file","existing-file"));Qe.push(new ie("existing-file","resolved"))}if(pt.length>0){Qe.push(new qe(bt.hooks.resolved,pt))}Qe.push(new He(bt.hooks.resolved));Qe.forEach((E=>{E.apply(bt)}));return bt};function mergeFilteredToArray(E,N){return E.reduce(((E,R)=>{if(N(R)){const N=E[E.length-1];if(Array.isArray(N)){N.push(R)}else{E.push([R])}return E}else{E.push(R);return E}}),[])}function isAbsolutePath(E){return/^[A-Z]:|^\//.test(E)}},76997:E=>{"use strict";const N="/".charCodeAt(0);const R="\\".charCodeAt(0);const isInside=(E,j)=>{if(!E.startsWith(j))return false;if(E.length===j.length)return true;const $=E.charCodeAt(j.length);return $===N||$===R};E.exports=class RestrictionsPlugin{constructor(E,N){this.source=E;this.restrictions=N}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,N,R)=>{if(typeof E.path==="string"){const j=E.path;for(let E=0;E<this.restrictions.length;E++){const $=this.restrictions[E];if(typeof $==="string"){if(!isInside(j,$)){if(N.log){N.log(`${j} is not inside of the restriction ${$}`)}return R(null,null)}}else if(!$.test(j)){if(N.log){N.log(`${j} doesn't match the restriction ${$}`)}return R(null,null)}}}R()}))}}},36605:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((N,R,j)=>{const $=Object.assign({},N);if(R.log)R.log("reporting result "+$.path);E.hooks.result.callAsync($,R,(E=>{if(E)return j(E);j(null,$)}))}))}}},98573:E=>{"use strict";class RootPlugin{constructor(E,N,R,j){this.root=N;this.source=E;this.target=R;this._ignoreErrors=j}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootPlugin",((R,j,$)=>{const q=R.request;if(!q)return $();if(!q.startsWith("/"))return $();const G=E.join(this.root,q.slice(1));const ie=Object.assign(R,{path:G,relativePath:R.relativePath&&G});E.doResolve(N,ie,`root path ${this.root}`,j,this._ignoreErrors?(E,N)=>{if(E){if(j.log){j.log(`Ignored fatal error while resolving root path:\n${E}`)}return $()}if(N)return $(null,N);$()}:$)}))}}E.exports=RootPlugin},55098:(E,N,R)=>{"use strict";const j=R(94585);const $=R(13457);E.exports=class SymlinkPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((q,G,ie)=>{const ae=j(q.path);const ce=ae.seqments;const le=ae.paths;let _e=false;$.withIndex(le,((E,N,j)=>{R.readlink(E,((E,R)=>{if(!E&&R){ce[N]=R;_e=true;if(/^(\/|[a-zA-Z]:($|\\))/.test(R))return j(null,N)}j()}))}),((R,j)=>{if(!_e)return ie();const $=typeof j==="number"?ce.slice(0,j+1):ce.slice();const ae=$.reverse().reduce(((N,R)=>E.join(N,R)));const le=Object.assign({},q,{path:ae});E.doResolve(N,le,"resolved symlink to "+ae,G,ie)}))}))}}},2627:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;if(E.statSync){this.stat=function(N,R){let j;try{j=E.statSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readdirSync){this.readdir=function(N,R){let j;try{j=E.readdirSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readFileSync){this.readFile=function(N,R){let j;try{j=E.readFileSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readlinkSync){this.readlink=function(N,R){let j;try{j=E.readlinkSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readJsonSync){this.readJson=function(N,R){let j;try{j=E.readJsonSync(N)}catch(E){return R(E)}R(null,j)}}}E.exports=SyncAsyncFileSystemDecorator},27473:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,N,R){this.source=E;this.message=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((R,j,$)=>{E.doResolve(N,R,this.message,j,$)}))}}},35329:E=>{"use strict";function getCacheId(E,N){return JSON.stringify({context:N?E.context:"",path:E.path,query:E.query,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,N,R,j,$){this.source=E;this.filterPredicate=N;this.withContext=j;this.cache=R||{};this.target=$}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((R,j,$)=>{if(!this.filterPredicate(R))return $();const q=getCacheId(R,this.withContext);const G=this.cache[q];if(G){return $(null,G)}E.doResolve(N,R,null,j,((E,N)=>{if(E)return $(E);if(N)return $(null,this.cache[q]=N);$()}))}))}}},6069:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,N,R){this.source=E;this.filename=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((R,j,$)=>{const q=E.join(R.path,this.filename);const G=Object.assign({},R,{path:q,relativePath:R.relativePath&&E.join(R.relativePath,this.filename)});E.doResolve(N,G,"using path: "+q,j,$)}))}}},34164:(E,N,R)=>{"use strict";const j=R(60129).P;function parseType(E){const N=E.split("+");const R=N.shift();return{type:R==="*"?null:R,features:N}}function isTypeMatched(E,N){if(typeof E==="string")E=parseType(E);if(typeof N==="string")N=parseType(N);if(N.type&&N.type!==E.type)return false;return N.features.every((N=>E.features.indexOf(N)>=0))}function isResourceTypeMatched(E,N){E=E.split("/");N=N.split("/");if(E.length!==N.length)return false;for(let R=0;R<E.length;R++){if(!isTypeMatched(E[R],N[R]))return false}return true}function isResourceTypeSupported(E,N){return E.supportedResourceTypes&&E.supportedResourceTypes.some((E=>isResourceTypeMatched(E,N)))}function isEnvironment(E,N){return E.environments&&E.environments.every((E=>isTypeMatched(E,N)))}const $={};function getGlobRegExp(E){const N=$[E]||($[E]=j(E));return N}function matchGlob(E,N){const R=getGlobRegExp(E);return R.exec(N)}function isGlobMatched(E,N){return!!matchGlob(E,N)}function isConditionMatched(E,N){const R=N.split("|");return R.some((function testFn(N){N=N.trim();const R=/^!/.test(N);if(R)return!testFn(N.substr(1));if(/^[a-z]+:/.test(N)){const R=/^([a-z]+):\s*/.exec(N);const j=N.substr(R[0].length);const $=R[1];switch($){case"referrer":return isGlobMatched(j,E.referrer);default:return false}}else if(N.indexOf("/")>=0){return isResourceTypeSupported(E,N)}else{return isEnvironment(E,N)}}))}function isKeyMatched(E,N){for(;;){const R=/^\[([^\]]+)\]\s*/.exec(N);if(!R)return N;N=N.substr(R[0].length);const j=R[1];if(!isConditionMatched(E,j)){return false}}}function getField(E,N,R){let j;Object.keys(N).forEach(($=>{const q=isKeyMatched(E,$);if(q===R){j=N[$]}}));return j}function getMain(E,N){return getField(E,N,"main")}function getExtensions(E,N){return getField(E,N,"extensions")}function matchModule(E,N,R){const j=getField(E,N,"modules");if(!j)return R;let $=R;const q=Object.keys(j);let G=0;let ie;let ae;for(let N=0;N<q.length;N++){const ce=q[N];const le=isKeyMatched(E,ce);ie=matchGlob(le,$);if(ie){const E=j[ce];if(typeof E!=="string"){return E}else if(/^\(.+\)$/.test(le)){$=$.replace(getGlobRegExp(le),E)}else{ae=1;$=E.replace(/(\/?\*)?\*/g,replaceMatcher)}N=-1;if(G++>q.length){throw new Error("Request '"+R+"' matches recursively")}}}return $;function replaceMatcher(E){switch(E){case"/**":{const E=ie[ae++];return E?"/"+E:""}case"**":case"*":return ie[ae++]}}}function matchType(E,N,R){const j=getField(E,N,"types");if(!j)return undefined;let $;Object.keys(j).forEach((N=>{const q=isKeyMatched(E,N);if(isGlobMatched(q,R)){const E=j[N];if(!$&&/\/\*$/.test(E))throw new Error("value ('"+E+"') of key '"+N+"' contains '*', but there is no previous value defined");$=E.replace(/\/\*$/,"/"+$)}}));return $}N.parseType=parseType;N.isTypeMatched=isTypeMatched;N.isResourceTypeSupported=isResourceTypeSupported;N.isEnvironment=isEnvironment;N.isGlobMatched=isGlobMatched;N.isConditionMatched=isConditionMatched;N.isKeyMatched=isKeyMatched;N.getField=getField;N.getMain=getMain;N.getExtensions=getExtensions;N.matchModule=matchModule;N.matchType=matchType},29591:E=>{"use strict";E.exports=function createInnerContext(E,N,R){let j=false;const $={log:(()=>{if(!E.log)return undefined;if(!N)return E.log;const logFunction=R=>{if(!j){E.log(N);j=true}E.log(" "+R)};return logFunction})(),stack:E.stack,missing:E.missing};return $}},13457:E=>{"use strict";E.exports=function forEachBail(E,N,R){if(E.length===0)return R();let j=E.length;let $;let q=[];for(let R=0;R<E.length;R++){const $=createIteratorCallback(R);N(E[R],$);if(j===0)break}function createIteratorCallback(E){return(...N)=>{if(E>=j)return;q.push(E);if(N.length>0){j=E+1;q=q.filter((N=>N<=E));$=N}if(q.length===j){R.apply(null,$);j=0}}}};E.exports.withIndex=function forEachBailWithIndex(E,N,R){if(E.length===0)return R();let j=E.length;let $;let q=[];for(let R=0;R<E.length;R++){const $=createIteratorCallback(R);N(E[R],R,$);if(j===0)break}function createIteratorCallback(E){return(...N)=>{if(E>=j)return;q.push(E);if(N.length>0){j=E+1;q=q.filter((N=>N<=E));$=N}if(q.length===j){R.apply(null,$);j=0}}}}},37575:E=>{"use strict";E.exports=function getInnerRequest(E,N){if(typeof N.__innerRequest==="string"&&N.__innerRequest_request===N.request&&N.__innerRequest_relativePath===N.relativePath)return N.__innerRequest;let R;if(N.request){R=N.request;if(/^\.\.?\//.test(R)&&N.relativePath){R=E.join(N.relativePath,R)}}else{R=N.relativePath}N.__innerRequest_request=N.request;N.__innerRequest_relativePath=N.relativePath;return N.__innerRequest=R}},94585:E=>{"use strict";E.exports=function getPaths(E){const N=E.split(/(.*?[\\/]+)/);const R=[E];const j=[N[N.length-1]];let $=N[N.length-1];E=E.substr(0,E.length-$.length-1);for(let q=N.length-2;q>2;q-=2){R.push(E);$=N[q];E=E.substr(0,E.length-$.length)||"/";j.push($.substr(0,$.length-1))}$=N[1];j.push($);R.push($);return{paths:R,seqments:j}};E.exports.basename=function basename(E){const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N<R?R:N;if(j<0)return null;const $=E.substr(j+1);return $}},60129:(E,N)=>{"use strict";function globToRegExp(E){if(/^\(.+\)$/.test(E)){return new RegExp(E.substr(1,E.length-2))}const N=tokenize(E);const R=createRoot();const j=N.map(R).join("");return new RegExp("^"+j+"$")}const R={"@(":"one","?(":"zero-one","+(":"one-many","*(":"zero-many","|":"segment-sep","/**/":"any-path-segments","**":"any-path","*":"any-path-segment","?":"any-char","{":"or","/":"path-sep",",":"comma",")":"closing-segment","}":"closing-or"};function tokenize(E){return E.split(/([@?+*]\(|\/\*\*\/|\*\*|[?*]|\[[!^]?(?:[^\]\\]|\\.)+\]|\{|,|\/|[|)}])/g).map((E=>{if(!E)return null;const N=R[E];if(N){return{type:N}}if(E[0]==="["){if(E[1]==="^"||E[1]==="!"){return{type:"inverted-char-set",value:E.substr(2,E.length-3)}}else{return{type:"char-set",value:E.substr(1,E.length-2)}}}return{type:"string",value:E}})).filter(Boolean).concat({type:"end"})}function createRoot(){const E=[];const N=createSeqment();let R=true;return function(j){switch(j.type){case"or":E.push(R);return"(";case"comma":if(E.length){R=E[E.length-1];return"|"}else{return N({type:"string",value:","},R)}case"closing-or":if(E.length===0)throw new Error("Unmatched '}'");E.pop();return")";case"end":if(E.length)throw new Error("Unmatched '{'");return N(j,R);default:{const E=N(j,R);R=false;return E}}}}function createSeqment(){const E=[];const N=createSimple();return function(R,j){switch(R.type){case"one":case"one-many":case"zero-many":case"zero-one":E.push(R.type);return"(";case"segment-sep":if(E.length){return"|"}else{return N({type:"string",value:"|"},j)}case"closing-segment":{const N=E.pop();switch(N){case"one":return")";case"one-many":return")+";case"zero-many":return")*";case"zero-one":return")?"}throw new Error("Unexcepted segment "+N)}case"end":if(E.length>0){throw new Error("Unmatched segment, missing ')'")}return N(R,j);default:return N(R,j)}}}function createSimple(){return function(E,N){switch(E.type){case"path-sep":return"[\\\\/]+";case"any-path-segments":return"[\\\\/]+(?:(.+)[\\\\/]+)?";case"any-path":return"(.*)";case"any-path-segment":if(N){return"\\.[\\\\/]+(?:.*[\\\\/]+)?([^\\\\/]+)"}else{return"([^\\\\/]*)"}case"any-char":return"[^\\\\/]";case"inverted-char-set":return"[^"+E.value+"]";case"char-set":return"["+E.value+"]";case"string":return E.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");case"end":return"";default:throw new Error("Unsupported token '"+E.type+"'")}}}N.P=globToRegExp},79921:(E,N,R)=>{"use strict";const j=R(77e3);const $=R(52831);const q=R(87507);const G=new q(new $,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=j.createResolver({extensions:[".js",".json",".node"],fileSystem:G});E.exports=function resolve(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}ae.resolve(E,N,R,j,$)};const ce=j.createResolver({extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});E.exports.sync=function resolveSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return ce.resolveSync(E,N,R)};const le=j.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,fileSystem:G});E.exports.context=function resolveContext(E,N,R,resolveContext,j){if(typeof E==="string"){j=resolveContext;resolveContext=R;R=N;N=E;E=ie}if(typeof j!=="function"){j=resolveContext}le.resolve(E,N,R,resolveContext,j)};const _e=j.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,useSyncFileSystemCalls:true,fileSystem:G});E.exports.context.sync=function resolveContextSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return _e.resolveSync(E,N,R)};const Ee=j.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],fileSystem:G});E.exports.loader=function resolveLoader(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}Ee.resolve(E,N,R,j,$)};const Te=j.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],useSyncFileSystemCalls:true,fileSystem:G});E.exports.loader.sync=function resolveLoaderSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return Te.resolveSync(E,N,R)};E.exports.create=function create(E){E=Object.assign({fileSystem:G},E);const N=j.createResolver(E);return function(E,R,j,$,q){if(typeof E==="string"){q=$;$=j;j=R;R=E;E=ie}if(typeof q!=="function"){q=$}N.resolve(E,R,j,$,q)}};E.exports.create.sync=function createSync(E){E=Object.assign({useSyncFileSystemCalls:true,fileSystem:G},E);const N=j.createResolver(E);return function(E,R,j){if(typeof E==="string"){j=R;R=E;E=ie}return N.resolveSync(E,R,j)}};E.exports.ResolverFactory=j;E.exports.NodeJsInputFileSystem=$;E.exports.CachedInputFileSystem=q},12710:(E,N,R)=>{"use strict";
/*!
* fill-range <https://github.com/jonschlinkert/fill-range>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Licensed under the MIT License.
*/const j=R(73837);const $=R(31406);const isObject=E=>E!==null&&typeof E==="object"&&!Array.isArray(E);const transform=E=>N=>E===true?Number(N):String(N);const isValidValue=E=>typeof E==="number"||typeof E==="string"&&E!=="";const isNumber=E=>Number.isInteger(+E);const zeros=E=>{let N=`${E}`;let R=-1;if(N[0]==="-")N=N.slice(1);if(N==="0")return false;while(N[++R]==="0");return R>0};const stringify=(E,N,R)=>{if(typeof E==="string"||typeof N==="string"){return true}return R.stringify===true};const pad=(E,N,R)=>{if(N>0){let R=E[0]==="-"?"-":"";if(R)E=E.slice(1);E=R+E.padStart(R?N-1:N,"0")}if(R===false){return String(E)}return E};const toMaxLen=(E,N)=>{let R=E[0]==="-"?"-":"";if(R){E=E.slice(1);N--}while(E.length<N)E="0"+E;return R?"-"+E:E};const toSequence=(E,N)=>{E.negatives.sort(((E,N)=>E<N?-1:E>N?1:0));E.positives.sort(((E,N)=>E<N?-1:E>N?1:0));let R=N.capture?"":"?:";let j="";let $="";let q;if(E.positives.length){j=E.positives.join("|")}if(E.negatives.length){$=`-(${R}${E.negatives.join("|")})`}if(j&&$){q=`${j}|${$}`}else{q=j||$}if(N.wrap){return`(${R}${q})`}return q};const toRange=(E,N,R,j)=>{if(R){return $(E,N,{wrap:false,...j})}let q=String.fromCharCode(E);if(E===N)return q;let G=String.fromCharCode(N);return`[${q}-${G}]`};const toRegex=(E,N,R)=>{if(Array.isArray(E)){let N=R.wrap===true;let j=R.capture?"":"?:";return N?`(${j}${E.join("|")})`:E.join("|")}return $(E,N,R)};const rangeError=(...E)=>new RangeError("Invalid range arguments: "+j.inspect(...E));const invalidRange=(E,N,R)=>{if(R.strictRanges===true)throw rangeError([E,N]);return[]};const invalidStep=(E,N)=>{if(N.strictRanges===true){throw new TypeError(`Expected step "${E}" to be a number`)}return[]};const fillNumbers=(E,N,R=1,j={})=>{let $=Number(E);let q=Number(N);if(!Number.isInteger($)||!Number.isInteger(q)){if(j.strictRanges===true)throw rangeError([E,N]);return[]}if($===0)$=0;if(q===0)q=0;let G=$>q;let ie=String(E);let ae=String(N);let ce=String(R);R=Math.max(Math.abs(R),1);let le=zeros(ie)||zeros(ae)||zeros(ce);let _e=le?Math.max(ie.length,ae.length,ce.length):0;let Ee=le===false&&stringify(E,N,j)===false;let Te=j.transform||transform(Ee);if(j.toRegex&&R===1){return toRange(toMaxLen(E,_e),toMaxLen(N,_e),true,j)}let we={negatives:[],positives:[]};let push=E=>we[E<0?"negatives":"positives"].push(Math.abs(E));let Ie=[];let Ne=0;while(G?$>=q:$<=q){if(j.toRegex===true&&R>1){push($)}else{Ie.push(pad(Te($,Ne),_e,Ee))}$=G?$-R:$+R;Ne++}if(j.toRegex===true){return R>1?toSequence(we,j):toRegex(Ie,null,{wrap:false,...j})}return Ie};const fillLetters=(E,N,R=1,j={})=>{if(!isNumber(E)&&E.length>1||!isNumber(N)&&N.length>1){return invalidRange(E,N,j)}let $=j.transform||(E=>String.fromCharCode(E));let q=`${E}`.charCodeAt(0);let G=`${N}`.charCodeAt(0);let ie=q>G;let ae=Math.min(q,G);let ce=Math.max(q,G);if(j.toRegex&&R===1){return toRange(ae,ce,false,j)}let le=[];let _e=0;while(ie?q>=G:q<=G){le.push($(q,_e));q=ie?q-R:q+R;_e++}if(j.toRegex===true){return toRegex(le,null,{wrap:false,options:j})}return le};const fill=(E,N,R,j={})=>{if(N==null&&isValidValue(E)){return[E]}if(!isValidValue(E)||!isValidValue(N)){return invalidRange(E,N,j)}if(typeof R==="function"){return fill(E,N,1,{transform:R})}if(isObject(R)){return fill(E,N,0,R)}let $={...j};if($.capture===true)$.wrap=true;R=R||$.step||1;if(!isNumber(R)){if(R!=null&&!isObject(R))return invalidStep(R,$);return fill(E,N,1,R)}if(isNumber(E)&&isNumber(N)){return fillNumbers(E,N,R,$)}return fillLetters(E,N,Math.max(Math.abs(R),1),$)};E.exports=fill},89459:E=>{"use strict";
/*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*/E.exports=function(E){if(typeof E==="number"){return E-E===0}if(typeof E==="string"&&E.trim()!==""){return Number.isFinite?Number.isFinite(+E):isFinite(+E)}return false}},19806:(E,N,R)=>{"use strict";const j=R(83314);const $=Symbol("max");const q=Symbol("length");const G=Symbol("lengthCalculator");const ie=Symbol("allowStale");const ae=Symbol("maxAge");const ce=Symbol("dispose");const le=Symbol("noDisposeOnSet");const _e=Symbol("lruList");const Ee=Symbol("cache");const Te=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(E){if(typeof E==="number")E={max:E};if(!E)E={};if(E.max&&(typeof E.max!=="number"||E.max<0))throw new TypeError("max must be a non-negative number");const N=this[$]=E.max||Infinity;const R=E.length||naiveLength;this[G]=typeof R!=="function"?naiveLength:R;this[ie]=E.stale||false;if(E.maxAge&&typeof E.maxAge!=="number")throw new TypeError("maxAge must be a number");this[ae]=E.maxAge||0;this[ce]=E.dispose;this[le]=E.noDisposeOnSet||false;this[Te]=E.updateAgeOnGet||false;this.reset()}set max(E){if(typeof E!=="number"||E<0)throw new TypeError("max must be a non-negative number");this[$]=E||Infinity;trim(this)}get max(){return this[$]}set allowStale(E){this[ie]=!!E}get allowStale(){return this[ie]}set maxAge(E){if(typeof E!=="number")throw new TypeError("maxAge must be a non-negative number");this[ae]=E;trim(this)}get maxAge(){return this[ae]}set lengthCalculator(E){if(typeof E!=="function")E=naiveLength;if(E!==this[G]){this[G]=E;this[q]=0;this[_e].forEach((E=>{E.length=this[G](E.value,E.key);this[q]+=E.length}))}trim(this)}get lengthCalculator(){return this[G]}get length(){return this[q]}get itemCount(){return this[_e].length}rforEach(E,N){N=N||this;for(let R=this[_e].tail;R!==null;){const j=R.prev;forEachStep(this,E,R,N);R=j}}forEach(E,N){N=N||this;for(let R=this[_e].head;R!==null;){const j=R.next;forEachStep(this,E,R,N);R=j}}keys(){return this[_e].toArray().map((E=>E.key))}values(){return this[_e].toArray().map((E=>E.value))}reset(){if(this[ce]&&this[_e]&&this[_e].length){this[_e].forEach((E=>this[ce](E.key,E.value)))}this[Ee]=new Map;this[_e]=new j;this[q]=0}dump(){return this[_e].map((E=>isStale(this,E)?false:{k:E.key,v:E.value,e:E.now+(E.maxAge||0)})).toArray().filter((E=>E))}dumpLru(){return this[_e]}set(E,N,R){R=R||this[ae];if(R&&typeof R!=="number")throw new TypeError("maxAge must be a number");const j=R?Date.now():0;const ie=this[G](N,E);if(this[Ee].has(E)){if(ie>this[$]){del(this,this[Ee].get(E));return false}const G=this[Ee].get(E);const ae=G.value;if(this[ce]){if(!this[le])this[ce](E,ae.value)}ae.now=j;ae.maxAge=R;ae.value=N;this[q]+=ie-ae.length;ae.length=ie;this.get(E);trim(this);return true}const Te=new Entry(E,N,ie,j,R);if(Te.length>this[$]){if(this[ce])this[ce](E,N);return false}this[q]+=Te.length;this[_e].unshift(Te);this[Ee].set(E,this[_e].head);trim(this);return true}has(E){if(!this[Ee].has(E))return false;const N=this[Ee].get(E).value;return!isStale(this,N)}get(E){return get(this,E,true)}peek(E){return get(this,E,false)}pop(){const E=this[_e].tail;if(!E)return null;del(this,E);return E.value}del(E){del(this,this[Ee].get(E))}load(E){this.reset();const N=Date.now();for(let R=E.length-1;R>=0;R--){const j=E[R];const $=j.e||0;if($===0)this.set(j.k,j.v);else{const E=$-N;if(E>0){this.set(j.k,j.v,E)}}}}prune(){this[Ee].forEach(((E,N)=>get(this,N,false)))}}const get=(E,N,R)=>{const j=E[Ee].get(N);if(j){const N=j.value;if(isStale(E,N)){del(E,j);if(!E[ie])return undefined}else{if(R){if(E[Te])j.value.now=Date.now();E[_e].unshiftNode(j)}}return N.value}};const isStale=(E,N)=>{if(!N||!N.maxAge&&!E[ae])return false;const R=Date.now()-N.now;return N.maxAge?R>N.maxAge:E[ae]&&R>E[ae]};const trim=E=>{if(E[q]>E[$]){for(let N=E[_e].tail;E[q]>E[$]&&N!==null;){const R=N.prev;del(E,N);N=R}}};const del=(E,N)=>{if(N){const R=N.value;if(E[ce])E[ce](R.key,R.value);E[q]-=R.length;E[Ee].delete(R.key);E[_e].removeNode(N)}};class Entry{constructor(E,N,R,j,$){this.key=E;this.value=N;this.length=R;this.now=j;this.maxAge=$||0}}const forEachStep=(E,N,R,j)=>{let $=R.value;if(isStale(E,$)){del(E,R);if(!E[ie])$=undefined}if($)N.call(j,$.value,$.key,E)};E.exports=LRUCache},44930:(E,N,R)=>{"use strict";const j=R(73837);const $=R(4822);const q=R(5782);const G=R(2661);const isEmptyString=E=>typeof E==="string"&&(E===""||E==="./");const micromatch=(E,N,R)=>{N=[].concat(N);E=[].concat(E);let j=new Set;let $=new Set;let G=new Set;let ie=0;let onResult=E=>{G.add(E.output);if(R&&R.onResult){R.onResult(E)}};for(let G=0;G<N.length;G++){let ae=q(String(N[G]),{...R,onResult:onResult},true);let ce=ae.state.negated||ae.state.negatedExtglob;if(ce)ie++;for(let N of E){let E=ae(N,true);let R=ce?!E.isMatch:E.isMatch;if(!R)continue;if(ce){j.add(E.output)}else{j.delete(E.output);$.add(E.output)}}}let ae=ie===N.length?[...G]:[...$];let ce=ae.filter((E=>!j.has(E)));if(R&&ce.length===0){if(R.failglob===true){throw new Error(`No matches found for "${N.join(", ")}"`)}if(R.nonull===true||R.nullglob===true){return R.unescape?N.map((E=>E.replace(/\\/g,""))):N}}return ce};micromatch.match=micromatch;micromatch.matcher=(E,N)=>q(E,N);micromatch.isMatch=(E,N,R)=>q(N,R)(E);micromatch.any=micromatch.isMatch;micromatch.not=(E,N,R={})=>{N=[].concat(N).map(String);let j=new Set;let $=[];let onResult=E=>{if(R.onResult)R.onResult(E);$.push(E.output)};let q=micromatch(E,N,{...R,onResult:onResult});for(let E of $){if(!q.includes(E)){j.add(E)}}return[...j]};micromatch.contains=(E,N,R)=>{if(typeof E!=="string"){throw new TypeError(`Expected a string: "${j.inspect(E)}"`)}if(Array.isArray(N)){return N.some((N=>micromatch.contains(E,N,R)))}if(typeof N==="string"){if(isEmptyString(E)||isEmptyString(N)){return false}if(E.includes(N)||E.startsWith("./")&&E.slice(2).includes(N)){return true}}return micromatch.isMatch(E,N,{...R,contains:true})};micromatch.matchKeys=(E,N,R)=>{if(!G.isObject(E)){throw new TypeError("Expected the first argument to be an object")}let j=micromatch(Object.keys(E),N,R);let $={};for(let N of j)$[N]=E[N];return $};micromatch.some=(E,N,R)=>{let j=[].concat(E);for(let E of[].concat(N)){let N=q(String(E),R);if(j.some((E=>N(E)))){return true}}return false};micromatch.every=(E,N,R)=>{let j=[].concat(E);for(let E of[].concat(N)){let N=q(String(E),R);if(!j.every((E=>N(E)))){return false}}return true};micromatch.all=(E,N,R)=>{if(typeof E!=="string"){throw new TypeError(`Expected a string: "${j.inspect(E)}"`)}return[].concat(N).every((N=>q(N,R)(E)))};micromatch.capture=(E,N,R)=>{let j=G.isWindows(R);let $=q.makeRe(String(E),{...R,capture:true});let ie=$.exec(j?G.toPosixSlashes(N):N);if(ie){return ie.slice(1).map((E=>E===void 0?"":E))}};micromatch.makeRe=(...E)=>q.makeRe(...E);micromatch.scan=(...E)=>q.scan(...E);micromatch.parse=(E,N)=>{let R=[];for(let j of[].concat(E||[])){for(let E of $(String(j),N)){R.push(q.parse(E,N))}}return R};micromatch.braces=(E,N)=>{if(typeof E!=="string")throw new TypeError("Expected a string");if(N&&N.nobrace===true||!/\{.*\}/.test(E)){return[E]}return $(E,N)};micromatch.braceExpand=(E,N)=>{if(typeof E!=="string")throw new TypeError("Expected a string");return micromatch.braces(E,{...N,expand:true})};E.exports=micromatch},6471:(E,N,R)=>{const j=Symbol("SemVer ANY");class Comparator{static get ANY(){return j}constructor(E,N){N=$(N);if(E instanceof Comparator){if(E.loose===!!N.loose){return E}else{E=E.value}}ae("comparator",E,N);this.options=N;this.loose=!!N.loose;this.parse(E);if(this.semver===j){this.value=""}else{this.value=this.operator+this.semver.version}ae("comp",this)}parse(E){const N=this.options.loose?q[G.COMPARATORLOOSE]:q[G.COMPARATOR];const R=E.match(N);if(!R){throw new TypeError(`Invalid comparator: ${E}`)}this.operator=R[1]!==undefined?R[1]:"";if(this.operator==="="){this.operator=""}if(!R[2]){this.semver=j}else{this.semver=new ce(R[2],this.options.loose)}}toString(){return this.value}test(E){ae("Comparator.test",E,this.options.loose);if(this.semver===j||E===j){return true}if(typeof E==="string"){try{E=new ce(E,this.options)}catch(E){return false}}return ie(E,this.operator,this.semver,this.options)}intersects(E,N){if(!(E instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!N||typeof N!=="object"){N={loose:!!N,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new le(E.value,N).test(this.value)}else if(E.operator===""){if(E.value===""){return true}return new le(this.value,N).test(E.semver)}const R=(this.operator===">="||this.operator===">")&&(E.operator===">="||E.operator===">");const j=(this.operator==="<="||this.operator==="<")&&(E.operator==="<="||E.operator==="<");const $=this.semver.version===E.semver.version;const q=(this.operator===">="||this.operator==="<=")&&(E.operator===">="||E.operator==="<=");const G=ie(this.semver,"<",E.semver,N)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<");const ae=ie(this.semver,">",E.semver,N)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return R||j||$&&q||G||ae}}E.exports=Comparator;const $=R(94679);const{re:q,t:G}=R(43109);const ie=R(54327);const ae=R(81320);const ce=R(5345);const le=R(282)},282:(E,N,R)=>{class Range{constructor(E,N){N=q(N);if(E instanceof Range){if(E.loose===!!N.loose&&E.includePrerelease===!!N.includePrerelease){return E}else{return new Range(E.raw,N)}}if(E instanceof G){this.raw=E.value;this.set=[[E]];this.format();return this}this.options=N;this.loose=!!N.loose;this.includePrerelease=!!N.includePrerelease;this.raw=E;this.set=E.split(/\s*\|\|\s*/).map((E=>this.parseRange(E.trim()))).filter((E=>E.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${E}`)}if(this.set.length>1){const E=this.set[0];this.set=this.set.filter((E=>!isNullSet(E[0])));if(this.set.length===0)this.set=[E];else if(this.set.length>1){for(const E of this.set){if(E.length===1&&isAny(E[0])){this.set=[E];break}}}}this.format()}format(){this.range=this.set.map((E=>E.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(E){E=E.trim();const N=Object.keys(this.options).join(",");const R=`parseRange:${N}:${E}`;const j=$.get(R);if(j)return j;const q=this.options.loose;const ae=q?ce[le.HYPHENRANGELOOSE]:ce[le.HYPHENRANGE];E=E.replace(ae,hyphenReplace(this.options.includePrerelease));ie("hyphen replace",E);E=E.replace(ce[le.COMPARATORTRIM],_e);ie("comparator trim",E,ce[le.COMPARATORTRIM]);E=E.replace(ce[le.TILDETRIM],Ee);E=E.replace(ce[le.CARETTRIM],Te);E=E.split(/\s+/).join(" ");const we=q?ce[le.COMPARATORLOOSE]:ce[le.COMPARATOR];const Ie=E.split(" ").map((E=>parseComparator(E,this.options))).join(" ").split(/\s+/).map((E=>replaceGTE0(E,this.options))).filter(this.options.loose?E=>!!E.match(we):()=>true).map((E=>new G(E,this.options)));const Ne=Ie.length;const Me=new Map;for(const E of Ie){if(isNullSet(E))return[E];Me.set(E.value,E)}if(Me.size>1&&Me.has(""))Me.delete("");const Le=[...Me.values()];$.set(R,Le);return Le}intersects(E,N){if(!(E instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((R=>isSatisfiable(R,N)&&E.set.some((E=>isSatisfiable(E,N)&&R.every((R=>E.every((E=>R.intersects(E,N)))))))))}test(E){if(!E){return false}if(typeof E==="string"){try{E=new ae(E,this.options)}catch(E){return false}}for(let N=0;N<this.set.length;N++){if(testSet(this.set[N],E,this.options)){return true}}return false}}E.exports=Range;const j=R(19806);const $=new j({max:1e3});const q=R(94679);const G=R(6471);const ie=R(81320);const ae=R(5345);const{re:ce,t:le,comparatorTrimReplace:_e,tildeTrimReplace:Ee,caretTrimReplace:Te}=R(43109);const isNullSet=E=>E.value==="<0.0.0-0";const isAny=E=>E.value==="";const isSatisfiable=(E,N)=>{let R=true;const j=E.slice();let $=j.pop();while(R&&j.length){R=j.every((E=>$.intersects(E,N)));$=j.pop()}return R};const parseComparator=(E,N)=>{ie("comp",E,N);E=replaceCarets(E,N);ie("caret",E);E=replaceTildes(E,N);ie("tildes",E);E=replaceXRanges(E,N);ie("xrange",E);E=replaceStars(E,N);ie("stars",E);return E};const isX=E=>!E||E.toLowerCase()==="x"||E==="*";const replaceTildes=(E,N)=>E.trim().split(/\s+/).map((E=>replaceTilde(E,N))).join(" ");const replaceTilde=(E,N)=>{const R=N.loose?ce[le.TILDELOOSE]:ce[le.TILDE];return E.replace(R,((N,R,j,$,q)=>{ie("tilde",E,N,R,j,$,q);let G;if(isX(R)){G=""}else if(isX(j)){G=`>=${R}.0.0 <${+R+1}.0.0-0`}else if(isX($)){G=`>=${R}.${j}.0 <${R}.${+j+1}.0-0`}else if(q){ie("replaceTilde pr",q);G=`>=${R}.${j}.${$}-${q} <${R}.${+j+1}.0-0`}else{G=`>=${R}.${j}.${$} <${R}.${+j+1}.0-0`}ie("tilde return",G);return G}))};const replaceCarets=(E,N)=>E.trim().split(/\s+/).map((E=>replaceCaret(E,N))).join(" ");const replaceCaret=(E,N)=>{ie("caret",E,N);const R=N.loose?ce[le.CARETLOOSE]:ce[le.CARET];const j=N.includePrerelease?"-0":"";return E.replace(R,((N,R,$,q,G)=>{ie("caret",E,N,R,$,q,G);let ae;if(isX(R)){ae=""}else if(isX($)){ae=`>=${R}.0.0${j} <${+R+1}.0.0-0`}else if(isX(q)){if(R==="0"){ae=`>=${R}.${$}.0${j} <${R}.${+$+1}.0-0`}else{ae=`>=${R}.${$}.0${j} <${+R+1}.0.0-0`}}else if(G){ie("replaceCaret pr",G);if(R==="0"){if($==="0"){ae=`>=${R}.${$}.${q}-${G} <${R}.${$}.${+q+1}-0`}else{ae=`>=${R}.${$}.${q}-${G} <${R}.${+$+1}.0-0`}}else{ae=`>=${R}.${$}.${q}-${G} <${+R+1}.0.0-0`}}else{ie("no pr");if(R==="0"){if($==="0"){ae=`>=${R}.${$}.${q}${j} <${R}.${$}.${+q+1}-0`}else{ae=`>=${R}.${$}.${q}${j} <${R}.${+$+1}.0-0`}}else{ae=`>=${R}.${$}.${q} <${+R+1}.0.0-0`}}ie("caret return",ae);return ae}))};const replaceXRanges=(E,N)=>{ie("replaceXRanges",E,N);return E.split(/\s+/).map((E=>replaceXRange(E,N))).join(" ")};const replaceXRange=(E,N)=>{E=E.trim();const R=N.loose?ce[le.XRANGELOOSE]:ce[le.XRANGE];return E.replace(R,((R,j,$,q,G,ae)=>{ie("xRange",E,R,j,$,q,G,ae);const ce=isX($);const le=ce||isX(q);const _e=le||isX(G);const Ee=_e;if(j==="="&&Ee){j=""}ae=N.includePrerelease?"-0":"";if(ce){if(j===">"||j==="<"){R="<0.0.0-0"}else{R="*"}}else if(j&&Ee){if(le){q=0}G=0;if(j===">"){j=">=";if(le){$=+$+1;q=0;G=0}else{q=+q+1;G=0}}else if(j==="<="){j="<";if(le){$=+$+1}else{q=+q+1}}if(j==="<")ae="-0";R=`${j+$}.${q}.${G}${ae}`}else if(le){R=`>=${$}.0.0${ae} <${+$+1}.0.0-0`}else if(_e){R=`>=${$}.${q}.0${ae} <${$}.${+q+1}.0-0`}ie("xRange return",R);return R}))};const replaceStars=(E,N)=>{ie("replaceStars",E,N);return E.trim().replace(ce[le.STAR],"")};const replaceGTE0=(E,N)=>{ie("replaceGTE0",E,N);return E.trim().replace(ce[N.includePrerelease?le.GTE0PRE:le.GTE0],"")};const hyphenReplace=E=>(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te)=>{if(isX(j)){R=""}else if(isX($)){R=`>=${j}.0.0${E?"-0":""}`}else if(isX(q)){R=`>=${j}.${$}.0${E?"-0":""}`}else if(G){R=`>=${R}`}else{R=`>=${R}${E?"-0":""}`}if(isX(ce)){ae=""}else if(isX(le)){ae=`<${+ce+1}.0.0-0`}else if(isX(_e)){ae=`<${ce}.${+le+1}.0-0`}else if(Ee){ae=`<=${ce}.${le}.${_e}-${Ee}`}else if(E){ae=`<${ce}.${le}.${+_e+1}-0`}else{ae=`<=${ae}`}return`${R} ${ae}`.trim()};const testSet=(E,N,R)=>{for(let R=0;R<E.length;R++){if(!E[R].test(N)){return false}}if(N.prerelease.length&&!R.includePrerelease){for(let R=0;R<E.length;R++){ie(E[R].semver);if(E[R].semver===G.ANY){continue}if(E[R].semver.prerelease.length>0){const j=E[R].semver;if(j.major===N.major&&j.minor===N.minor&&j.patch===N.patch){return true}}}return false}return true}},5345:(E,N,R)=>{const j=R(81320);const{MAX_LENGTH:$,MAX_SAFE_INTEGER:q}=R(30280);const{re:G,t:ie}=R(43109);const ae=R(94679);const{compareIdentifiers:ce}=R(26474);class SemVer{constructor(E,N){N=ae(N);if(E instanceof SemVer){if(E.loose===!!N.loose&&E.includePrerelease===!!N.includePrerelease){return E}else{E=E.version}}else if(typeof E!=="string"){throw new TypeError(`Invalid Version: ${E}`)}if(E.length>$){throw new TypeError(`version is longer than ${$} characters`)}j("SemVer",E,N);this.options=N;this.loose=!!N.loose;this.includePrerelease=!!N.includePrerelease;const R=E.trim().match(N.loose?G[ie.LOOSE]:G[ie.FULL]);if(!R){throw new TypeError(`Invalid Version: ${E}`)}this.raw=E;this.major=+R[1];this.minor=+R[2];this.patch=+R[3];if(this.major>q||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>q||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>q||this.patch<0){throw new TypeError("Invalid patch version")}if(!R[4]){this.prerelease=[]}else{this.prerelease=R[4].split(".").map((E=>{if(/^[0-9]+$/.test(E)){const N=+E;if(N>=0&&N<q){return N}}return E}))}this.build=R[5]?R[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(E){j("SemVer.compare",this.version,this.options,E);if(!(E instanceof SemVer)){if(typeof E==="string"&&E===this.version){return 0}E=new SemVer(E,this.options)}if(E.version===this.version){return 0}return this.compareMain(E)||this.comparePre(E)}compareMain(E){if(!(E instanceof SemVer)){E=new SemVer(E,this.options)}return ce(this.major,E.major)||ce(this.minor,E.minor)||ce(this.patch,E.patch)}comparePre(E){if(!(E instanceof SemVer)){E=new SemVer(E,this.options)}if(this.prerelease.length&&!E.prerelease.length){return-1}else if(!this.prerelease.length&&E.prerelease.length){return 1}else if(!this.prerelease.length&&!E.prerelease.length){return 0}let N=0;do{const R=this.prerelease[N];const $=E.prerelease[N];j("prerelease compare",N,R,$);if(R===undefined&&$===undefined){return 0}else if($===undefined){return 1}else if(R===undefined){return-1}else if(R===$){continue}else{return ce(R,$)}}while(++N)}compareBuild(E){if(!(E instanceof SemVer)){E=new SemVer(E,this.options)}let N=0;do{const R=this.build[N];const $=E.build[N];j("prerelease compare",N,R,$);if(R===undefined&&$===undefined){return 0}else if($===undefined){return 1}else if(R===undefined){return-1}else if(R===$){continue}else{return ce(R,$)}}while(++N)}inc(E,N){switch(E){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",N);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",N);break;case"prepatch":this.prerelease.length=0;this.inc("patch",N);this.inc("pre",N);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",N)}this.inc("pre",N);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{let E=this.prerelease.length;while(--E>=0){if(typeof this.prerelease[E]==="number"){this.prerelease[E]++;E=-2}}if(E===-1){this.prerelease.push(0)}}if(N){if(this.prerelease[0]===N){if(isNaN(this.prerelease[1])){this.prerelease=[N,0]}}else{this.prerelease=[N,0]}}break;default:throw new Error(`invalid increment argument: ${E}`)}this.format();this.raw=this.version;return this}}E.exports=SemVer},58248:(E,N,R)=>{const j=R(71788);const clean=(E,N)=>{const R=j(E.trim().replace(/^[=v]+/,""),N);return R?R.version:null};E.exports=clean},54327:(E,N,R)=>{const j=R(42956);const $=R(91025);const q=R(96390);const G=R(10739);const ie=R(69503);const ae=R(95906);const cmp=(E,N,R,ce)=>{switch(N){case"===":if(typeof E==="object")E=E.version;if(typeof R==="object")R=R.version;return E===R;case"!==":if(typeof E==="object")E=E.version;if(typeof R==="object")R=R.version;return E!==R;case"":case"=":case"==":return j(E,R,ce);case"!=":return $(E,R,ce);case">":return q(E,R,ce);case">=":return G(E,R,ce);case"<":return ie(E,R,ce);case"<=":return ae(E,R,ce);default:throw new TypeError(`Invalid operator: ${N}`)}};E.exports=cmp},46607:(E,N,R)=>{const j=R(5345);const $=R(71788);const{re:q,t:G}=R(43109);const coerce=(E,N)=>{if(E instanceof j){return E}if(typeof E==="number"){E=String(E)}if(typeof E!=="string"){return null}N=N||{};let R=null;if(!N.rtl){R=E.match(q[G.COERCE])}else{let N;while((N=q[G.COERCERTL].exec(E))&&(!R||R.index+R[0].length!==E.length)){if(!R||N.index+N[0].length!==R.index+R[0].length){R=N}q[G.COERCERTL].lastIndex=N.index+N[1].length+N[2].length}q[G.COERCERTL].lastIndex=-1}if(R===null)return null;return $(`${R[2]}.${R[3]||"0"}.${R[4]||"0"}`,N)};E.exports=coerce},42380:(E,N,R)=>{const j=R(5345);const compareBuild=(E,N,R)=>{const $=new j(E,R);const q=new j(N,R);return $.compare(q)||$.compareBuild(q)};E.exports=compareBuild},39057:(E,N,R)=>{const j=R(14064);const compareLoose=(E,N)=>j(E,N,true);E.exports=compareLoose},14064:(E,N,R)=>{const j=R(5345);const compare=(E,N,R)=>new j(E,R).compare(new j(N,R));E.exports=compare},96860:(E,N,R)=>{const j=R(71788);const $=R(42956);const diff=(E,N)=>{if($(E,N)){return null}else{const R=j(E);const $=j(N);const q=R.prerelease.length||$.prerelease.length;const G=q?"pre":"";const ie=q?"prerelease":"";for(const E in R){if(E==="major"||E==="minor"||E==="patch"){if(R[E]!==$[E]){return G+E}}}return ie}};E.exports=diff},42956:(E,N,R)=>{const j=R(14064);const eq=(E,N,R)=>j(E,N,R)===0;E.exports=eq},96390:(E,N,R)=>{const j=R(14064);const gt=(E,N,R)=>j(E,N,R)>0;E.exports=gt},10739:(E,N,R)=>{const j=R(14064);const gte=(E,N,R)=>j(E,N,R)>=0;E.exports=gte},75702:(E,N,R)=>{const j=R(5345);const inc=(E,N,R,$)=>{if(typeof R==="string"){$=R;R=undefined}try{return new j(E,R).inc(N,$).version}catch(E){return null}};E.exports=inc},69503:(E,N,R)=>{const j=R(14064);const lt=(E,N,R)=>j(E,N,R)<0;E.exports=lt},95906:(E,N,R)=>{const j=R(14064);const lte=(E,N,R)=>j(E,N,R)<=0;E.exports=lte},1146:(E,N,R)=>{const j=R(5345);const major=(E,N)=>new j(E,N).major;E.exports=major},38236:(E,N,R)=>{const j=R(5345);const minor=(E,N)=>new j(E,N).minor;E.exports=minor},91025:(E,N,R)=>{const j=R(14064);const neq=(E,N,R)=>j(E,N,R)!==0;E.exports=neq},71788:(E,N,R)=>{const{MAX_LENGTH:j}=R(30280);const{re:$,t:q}=R(43109);const G=R(5345);const ie=R(94679);const parse=(E,N)=>{N=ie(N);if(E instanceof G){return E}if(typeof E!=="string"){return null}if(E.length>j){return null}const R=N.loose?$[q.LOOSE]:$[q.FULL];if(!R.test(E)){return null}try{return new G(E,N)}catch(E){return null}};E.exports=parse},59141:(E,N,R)=>{const j=R(5345);const patch=(E,N)=>new j(E,N).patch;E.exports=patch},25694:(E,N,R)=>{const j=R(71788);const prerelease=(E,N)=>{const R=j(E,N);return R&&R.prerelease.length?R.prerelease:null};E.exports=prerelease},80339:(E,N,R)=>{const j=R(14064);const rcompare=(E,N,R)=>j(N,E,R);E.exports=rcompare},67768:(E,N,R)=>{const j=R(42380);const rsort=(E,N)=>E.sort(((E,R)=>j(R,E,N)));E.exports=rsort},51543:(E,N,R)=>{const j=R(282);const satisfies=(E,N,R)=>{try{N=new j(N,R)}catch(E){return false}return N.test(E)};E.exports=satisfies},8612:(E,N,R)=>{const j=R(42380);const sort=(E,N)=>E.sort(((E,R)=>j(E,R,N)));E.exports=sort},98018:(E,N,R)=>{const j=R(71788);const valid=(E,N)=>{const R=j(E,N);return R?R.version:null};E.exports=valid},3609:(E,N,R)=>{const j=R(43109);E.exports={re:j.re,src:j.src,tokens:j.t,SEMVER_SPEC_VERSION:R(30280).SEMVER_SPEC_VERSION,SemVer:R(5345),compareIdentifiers:R(26474).compareIdentifiers,rcompareIdentifiers:R(26474).rcompareIdentifiers,parse:R(71788),valid:R(98018),clean:R(58248),inc:R(75702),diff:R(96860),major:R(1146),minor:R(38236),patch:R(59141),prerelease:R(25694),compare:R(14064),rcompare:R(80339),compareLoose:R(39057),compareBuild:R(42380),sort:R(8612),rsort:R(67768),gt:R(96390),lt:R(69503),eq:R(42956),neq:R(91025),gte:R(10739),lte:R(95906),cmp:R(54327),coerce:R(46607),Comparator:R(6471),Range:R(282),satisfies:R(51543),toComparators:R(4817),maxSatisfying:R(13452),minSatisfying:R(57655),minVersion:R(34905),validRange:R(51952),outside:R(31492),gtr:R(96168),ltr:R(59609),intersects:R(18706),simplifyRange:R(15354),subset:R(26519)}},30280:E=>{const N="2.0.0";const R=256;const j=Number.MAX_SAFE_INTEGER||9007199254740991;const $=16;E.exports={SEMVER_SPEC_VERSION:N,MAX_LENGTH:R,MAX_SAFE_INTEGER:j,MAX_SAFE_COMPONENT_LENGTH:$}},81320:E=>{const N=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...E)=>console.error("SEMVER",...E):()=>{};E.exports=N},26474:E=>{const N=/^[0-9]+$/;const compareIdentifiers=(E,R)=>{const j=N.test(E);const $=N.test(R);if(j&&$){E=+E;R=+R}return E===R?0:j&&!$?-1:$&&!j?1:E<R?-1:1};const rcompareIdentifiers=(E,N)=>compareIdentifiers(N,E);E.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},94679:E=>{const N=["includePrerelease","loose","rtl"];const parseOptions=E=>!E?{}:typeof E!=="object"?{loose:true}:N.filter((N=>E[N])).reduce(((E,N)=>{E[N]=true;return E}),{});E.exports=parseOptions},43109:(E,N,R)=>{const{MAX_SAFE_COMPONENT_LENGTH:j}=R(30280);const $=R(81320);N=E.exports={};const q=N.re=[];const G=N.src=[];const ie=N.t={};let ae=0;const createToken=(E,N,R)=>{const j=ae++;$(j,N);ie[E]=j;G[j]=N;q[j]=new RegExp(N,R?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${G[ie.NUMERICIDENTIFIER]})\\.`+`(${G[ie.NUMERICIDENTIFIER]})\\.`+`(${G[ie.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${G[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${G[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${G[ie.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${G[ie.NUMERICIDENTIFIER]}|${G[ie.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${G[ie.NUMERICIDENTIFIERLOOSE]}|${G[ie.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${G[ie.PRERELEASEIDENTIFIER]}(?:\\.${G[ie.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${G[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${G[ie.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${G[ie.BUILDIDENTIFIER]}(?:\\.${G[ie.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${G[ie.MAINVERSION]}${G[ie.PRERELEASE]}?${G[ie.BUILD]}?`);createToken("FULL",`^${G[ie.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${G[ie.MAINVERSIONLOOSE]}${G[ie.PRERELEASELOOSE]}?${G[ie.BUILD]}?`);createToken("LOOSE",`^${G[ie.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${G[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${G[ie.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${G[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIER]})`+`(?:${G[ie.PRERELEASE]})?${G[ie.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:${G[ie.PRERELEASELOOSE]})?${G[ie.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${G[ie.GTLT]}\\s*${G[ie.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${G[ie.GTLT]}\\s*${G[ie.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${j}})`+`(?:\\.(\\d{1,${j}}))?`+`(?:\\.(\\d{1,${j}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",G[ie.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${G[ie.LONETILDE]}\\s+`,true);N.tildeTrimReplace="$1~";createToken("TILDE",`^${G[ie.LONETILDE]}${G[ie.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${G[ie.LONETILDE]}${G[ie.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${G[ie.LONECARET]}\\s+`,true);N.caretTrimReplace="$1^";createToken("CARET",`^${G[ie.LONECARET]}${G[ie.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${G[ie.LONECARET]}${G[ie.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${G[ie.GTLT]}\\s*(${G[ie.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${G[ie.GTLT]}\\s*(${G[ie.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${G[ie.GTLT]}\\s*(${G[ie.LOOSEPLAIN]}|${G[ie.XRANGEPLAIN]})`,true);N.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${G[ie.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${G[ie.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${G[ie.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${G[ie.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},96168:(E,N,R)=>{const j=R(31492);const gtr=(E,N,R)=>j(E,N,">",R);E.exports=gtr},18706:(E,N,R)=>{const j=R(282);const intersects=(E,N,R)=>{E=new j(E,R);N=new j(N,R);return E.intersects(N)};E.exports=intersects},59609:(E,N,R)=>{const j=R(31492);const ltr=(E,N,R)=>j(E,N,"<",R);E.exports=ltr},13452:(E,N,R)=>{const j=R(5345);const $=R(282);const maxSatisfying=(E,N,R)=>{let q=null;let G=null;let ie=null;try{ie=new $(N,R)}catch(E){return null}E.forEach((E=>{if(ie.test(E)){if(!q||G.compare(E)===-1){q=E;G=new j(q,R)}}}));return q};E.exports=maxSatisfying},57655:(E,N,R)=>{const j=R(5345);const $=R(282);const minSatisfying=(E,N,R)=>{let q=null;let G=null;let ie=null;try{ie=new $(N,R)}catch(E){return null}E.forEach((E=>{if(ie.test(E)){if(!q||G.compare(E)===1){q=E;G=new j(q,R)}}}));return q};E.exports=minSatisfying},34905:(E,N,R)=>{const j=R(5345);const $=R(282);const q=R(96390);const minVersion=(E,N)=>{E=new $(E,N);let R=new j("0.0.0");if(E.test(R)){return R}R=new j("0.0.0-0");if(E.test(R)){return R}R=null;for(let N=0;N<E.set.length;++N){const $=E.set[N];let G=null;$.forEach((E=>{const N=new j(E.semver.version);switch(E.operator){case">":if(N.prerelease.length===0){N.patch++}else{N.prerelease.push(0)}N.raw=N.format();case"":case">=":if(!G||q(N,G)){G=N}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${E.operator}`)}}));if(G&&(!R||q(R,G)))R=G}if(R&&E.test(R)){return R}return null};E.exports=minVersion},31492:(E,N,R)=>{const j=R(5345);const $=R(6471);const{ANY:q}=$;const G=R(282);const ie=R(51543);const ae=R(96390);const ce=R(69503);const le=R(95906);const _e=R(10739);const outside=(E,N,R,Ee)=>{E=new j(E,Ee);N=new G(N,Ee);let Te,we,Ie,Ne,Me;switch(R){case">":Te=ae;we=le;Ie=ce;Ne=">";Me=">=";break;case"<":Te=ce;we=_e;Ie=ae;Ne="<";Me="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ie(E,N,Ee)){return false}for(let R=0;R<N.set.length;++R){const j=N.set[R];let G=null;let ie=null;j.forEach((E=>{if(E.semver===q){E=new $(">=0.0.0")}G=G||E;ie=ie||E;if(Te(E.semver,G.semver,Ee)){G=E}else if(Ie(E.semver,ie.semver,Ee)){ie=E}}));if(G.operator===Ne||G.operator===Me){return false}if((!ie.operator||ie.operator===Ne)&&we(E,ie.semver)){return false}else if(ie.operator===Me&&Ie(E,ie.semver)){return false}}return true};E.exports=outside},15354:(E,N,R)=>{const j=R(51543);const $=R(14064);E.exports=(E,N,R)=>{const q=[];let G=null;let ie=null;const ae=E.sort(((E,N)=>$(E,N,R)));for(const E of ae){const $=j(E,N,R);if($){ie=E;if(!G)G=E}else{if(ie){q.push([G,ie])}ie=null;G=null}}if(G)q.push([G,null]);const ce=[];for(const[E,N]of q){if(E===N)ce.push(E);else if(!N&&E===ae[0])ce.push("*");else if(!N)ce.push(`>=${E}`);else if(E===ae[0])ce.push(`<=${N}`);else ce.push(`${E} - ${N}`)}const le=ce.join(" || ");const _e=typeof N.raw==="string"?N.raw:String(N);return le.length<_e.length?le:N}},26519:(E,N,R)=>{const j=R(282);const $=R(6471);const{ANY:q}=$;const G=R(51543);const ie=R(14064);const subset=(E,N,R={})=>{if(E===N)return true;E=new j(E,R);N=new j(N,R);let $=false;e:for(const j of E.set){for(const E of N.set){const N=simpleSubset(j,E,R);$=$||N!==null;if(N)continue e}if($)return false}return true};const simpleSubset=(E,N,R)=>{if(E===N)return true;if(E.length===1&&E[0].semver===q){if(N.length===1&&N[0].semver===q)return true;else if(R.includePrerelease)E=[new $(">=0.0.0-0")];else E=[new $(">=0.0.0")]}if(N.length===1&&N[0].semver===q){if(R.includePrerelease)return true;else N=[new $(">=0.0.0")]}const j=new Set;let ae,ce;for(const N of E){if(N.operator===">"||N.operator===">=")ae=higherGT(ae,N,R);else if(N.operator==="<"||N.operator==="<=")ce=lowerLT(ce,N,R);else j.add(N.semver)}if(j.size>1)return null;let le;if(ae&&ce){le=ie(ae.semver,ce.semver,R);if(le>0)return null;else if(le===0&&(ae.operator!==">="||ce.operator!=="<="))return null}for(const E of j){if(ae&&!G(E,String(ae),R))return null;if(ce&&!G(E,String(ce),R))return null;for(const j of N){if(!G(E,String(j),R))return false}return true}let _e,Ee;let Te,we;let Ie=ce&&!R.includePrerelease&&ce.semver.prerelease.length?ce.semver:false;let Ne=ae&&!R.includePrerelease&&ae.semver.prerelease.length?ae.semver:false;if(Ie&&Ie.prerelease.length===1&&ce.operator==="<"&&Ie.prerelease[0]===0){Ie=false}for(const E of N){we=we||E.operator===">"||E.operator===">=";Te=Te||E.operator==="<"||E.operator==="<=";if(ae){if(Ne){if(E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===Ne.major&&E.semver.minor===Ne.minor&&E.semver.patch===Ne.patch){Ne=false}}if(E.operator===">"||E.operator===">="){_e=higherGT(ae,E,R);if(_e===E&&_e!==ae)return false}else if(ae.operator===">="&&!G(ae.semver,String(E),R))return false}if(ce){if(Ie){if(E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===Ie.major&&E.semver.minor===Ie.minor&&E.semver.patch===Ie.patch){Ie=false}}if(E.operator==="<"||E.operator==="<="){Ee=lowerLT(ce,E,R);if(Ee===E&&Ee!==ce)return false}else if(ce.operator==="<="&&!G(ce.semver,String(E),R))return false}if(!E.operator&&(ce||ae)&&le!==0)return false}if(ae&&Te&&!ce&&le!==0)return false;if(ce&&we&&!ae&&le!==0)return false;if(Ne||Ie)return false;return true};const higherGT=(E,N,R)=>{if(!E)return N;const j=ie(E.semver,N.semver,R);return j>0?E:j<0?N:N.operator===">"&&E.operator===">="?N:E};const lowerLT=(E,N,R)=>{if(!E)return N;const j=ie(E.semver,N.semver,R);return j<0?E:j>0?N:N.operator==="<"&&E.operator==="<="?N:E};E.exports=subset},4817:(E,N,R)=>{const j=R(282);const toComparators=(E,N)=>new j(E,N).set.map((E=>E.map((E=>E.value)).join(" ").trim().split(" ")));E.exports=toComparators},51952:(E,N,R)=>{const j=R(282);const validRange=(E,N)=>{try{return new j(E,N).range||"*"}catch(E){return null}};E.exports=validRange},53706:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class AsyncSeriesBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j})}}const q=new AsyncSeriesBailHookCodeFactory;class AsyncSeriesBailHook extends j{compile(E){q.setup(this,E);return q.create(E)}}Object.defineProperties(AsyncSeriesBailHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});E.exports=AsyncSeriesBailHook},27046:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class AsyncSeriesHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesHookCodeFactory;class AsyncSeriesHook extends j{compile(E){q.setup(this,E);return q.create(E)}}Object.defineProperties(AsyncSeriesHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});E.exports=AsyncSeriesHook},63782:E=>{"use strict";class Hook{constructor(E){if(!Array.isArray(E))E=[];this._args=E;this.taps=[];this.interceptors=[];this.call=this._call;this.promise=this._promise;this.callAsync=this._callAsync;this._x=undefined}compile(E){throw new Error("Abstract: should be overriden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}tap(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tap(options: Object, fn: function)");E=Object.assign({type:"sync",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tap");E=this._runRegisterInterceptors(E);this._insert(E)}tapAsync(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tapAsync(options: Object, fn: function)");E=Object.assign({type:"async",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tapAsync");E=this._runRegisterInterceptors(E);this._insert(E)}tapPromise(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tapPromise(options: Object, fn: function)");E=Object.assign({type:"promise",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tapPromise");E=this._runRegisterInterceptors(E);this._insert(E)}_runRegisterInterceptors(E){for(const N of this.interceptors){if(N.register){const R=N.register(E);if(R!==undefined)E=R}}return E}withOptions(E){const mergeOptions=N=>Object.assign({},E,typeof N==="string"?{name:N}:N);E=Object.assign({},E,this._withOptions);const N=this._withOptionsBase||this;const R=Object.create(N);R.tapAsync=(E,R)=>N.tapAsync(mergeOptions(E),R),R.tap=(E,R)=>N.tap(mergeOptions(E),R);R.tapPromise=(E,R)=>N.tapPromise(mergeOptions(E),R);R._withOptions=E;R._withOptionsBase=N;return R}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let N=0;N<this.taps.length;N++)this.taps[N]=E.register(this.taps[N])}}_resetCompilation(){this.call=this._call;this.callAsync=this._callAsync;this.promise=this._promise}_insert(E){this._resetCompilation();let N;if(typeof E.before==="string")N=new Set([E.before]);else if(Array.isArray(E.before)){N=new Set(E.before)}let R=0;if(typeof E.stage==="number")R=E.stage;let j=this.taps.length;while(j>0){j--;const E=this.taps[j];this.taps[j+1]=E;const $=E.stage||0;if(N){if(N.has(E.name)){N.delete(E.name);continue}if(N.size>0){continue}}if($>R){continue}j++;break}this.taps[j]=E}}function createCompileDelegate(E,N){return function lazyCompileHook(...R){this[E]=this._createCall(N);return this[E](...R)}}Object.defineProperties(Hook.prototype,{_call:{value:createCompileDelegate("call","sync"),configurable:true,writable:true},_promise:{value:createCompileDelegate("promise","promise"),configurable:true,writable:true},_callAsync:{value:createCompileDelegate("callAsync","async"),configurable:true,writable:true}});E.exports=Hook},92070:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let N;switch(this.options.type){case"sync":N=new Function(this.args(),'"use strict";\n'+this.header()+this.content({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":N=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.content({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const R=this.content({onError:N=>{E=true;return`_error(${N});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let j="";j+='"use strict";\n';j+="return new Promise((_resolve, _reject) => {\n";if(E){j+="var _sync = true;\n";j+="function _error(_err) {\n";j+="if(_sync)\n";j+="_resolve(Promise.resolve().then(() => { throw _err; }));\n";j+="else\n";j+="_reject(_err);\n";j+="};\n"}j+=this.header();j+=R;if(E){j+="_sync = false;\n"}j+="});\n";N=new Function(this.args(),j);break}this.deinit();return N}setup(E,N){E._x=N.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}header(){let E="";if(this.needContext()){E+="var _context = {};\n"}else{E+="var _context;\n"}E+="var _x = this._x;\n";if(this.options.interceptors.length>0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}for(let N=0;N<this.options.interceptors.length;N++){const R=this.options.interceptors[N];if(R.call){E+=`${this.getInterceptor(N)}.call(${this.args({before:R.context?"_context":undefined})});\n`}}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:N,onResult:R,onDone:j,rethrowIfPossible:$}){let q="";let G=false;for(let N=0;N<this.options.interceptors.length;N++){const R=this.options.interceptors[N];if(R.tap){if(!G){q+=`var _tap${E} = ${this.getTap(E)};\n`;G=true}q+=`${this.getInterceptor(N)}.tap(${R.context?"_context, ":""}_tap${E});\n`}}q+=`var _fn${E} = ${this.getTapFn(E)};\n`;const ie=this.options.taps[E];switch(ie.type){case"sync":if(!$){q+=`var _hasError${E} = false;\n`;q+="try {\n"}if(R){q+=`var _result${E} = _fn${E}(${this.args({before:ie.context?"_context":undefined})});\n`}else{q+=`_fn${E}(${this.args({before:ie.context?"_context":undefined})});\n`}if(!$){q+="} catch(_err) {\n";q+=`_hasError${E} = true;\n`;q+=N("_err");q+="}\n";q+=`if(!_hasError${E}) {\n`}if(R){q+=R(`_result${E}`)}if(j){q+=j()}if(!$){q+="}\n"}break;case"async":let G="";if(R)G+=`(_err${E}, _result${E}) => {\n`;else G+=`_err${E} => {\n`;G+=`if(_err${E}) {\n`;G+=N(`_err${E}`);G+="} else {\n";if(R){G+=R(`_result${E}`)}if(j){G+=j()}G+="}\n";G+="}";q+=`_fn${E}(${this.args({before:ie.context?"_context":undefined,after:G})});\n`;break;case"promise":q+=`var _hasResult${E} = false;\n`;q+=`var _promise${E} = _fn${E}(${this.args({before:ie.context?"_context":undefined})});\n`;q+=`if (!_promise${E} || !_promise${E}.then)\n`;q+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${E} + ')');\n`;q+=`_promise${E}.then(_result${E} => {\n`;q+=`_hasResult${E} = true;\n`;if(R){q+=R(`_result${E}`)}if(j){q+=j()}q+=`}, _err${E} => {\n`;q+=`if(_hasResult${E}) throw _err${E};\n`;q+=N(`_err${E}`);q+="});\n";break}return q}callTapsSeries({onError:E,onResult:N,resultReturns:R,onDone:j,doneReturns:$,rethrowIfPossible:q}){if(this.options.taps.length===0)return j();const G=this.options.taps.findIndex((E=>E.type!=="sync"));const ie=R||$||false;let ae="";let ce=j;for(let R=this.options.taps.length-1;R>=0;R--){const $=R;const le=ce!==j&&this.options.taps[$].type!=="sync";if(le){ae+=`function _next${$}() {\n`;ae+=ce();ae+=`}\n`;ce=()=>`${ie?"return ":""}_next${$}();\n`}const _e=ce;const doneBreak=E=>{if(E)return"";return j()};const Ee=this.callTap($,{onError:N=>E($,N,_e,doneBreak),onResult:N&&(E=>N($,E,_e,doneBreak)),onDone:!N&&_e,rethrowIfPossible:q&&(G<0||$<G)});ce=()=>Ee}ae+=ce();return ae}callTapsLooping({onError:E,onDone:N,rethrowIfPossible:R}){if(this.options.taps.length===0)return N();const j=this.options.taps.every((E=>E.type==="sync"));let $="";if(!j){$+="var _looper = () => {\n";$+="var _loopAsync = false;\n"}$+="var _loop;\n";$+="do {\n";$+="_loop = false;\n";for(let E=0;E<this.options.interceptors.length;E++){const N=this.options.interceptors[E];if(N.loop){$+=`${this.getInterceptor(E)}.loop(${this.args({before:N.context?"_context":undefined})});\n`}}$+=this.callTapsSeries({onError:E,onResult:(E,N,R,$)=>{let q="";q+=`if(${N} !== undefined) {\n`;q+="_loop = true;\n";if(!j)q+="if(_loopAsync) _looper();\n";q+=$(true);q+=`} else {\n`;q+=R();q+=`}\n`;return q},onDone:N&&(()=>{let E="";E+="if(!_loop) {\n";E+=N();E+="}\n";return E}),rethrowIfPossible:R&&j});$+="} while(_loop);\n";if(!j){$+="_loopAsync = true;\n";$+="};\n";$+="_looper();\n"}return $}callTapsParallel({onError:E,onResult:N,onDone:R,rethrowIfPossible:j,onTap:$=((E,N)=>N())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:N,onDone:R,rethrowIfPossible:j})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(R){q+="var _done = () => {\n";q+=R();q+="};\n"}for(let G=0;G<this.options.taps.length;G++){const done=()=>{if(R)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!R)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=$(G,(()=>this.callTap(G,{onError:N=>{let R="";R+="if(_counter > 0) {\n";R+=E(G,N,done,doneBreak);R+="}\n";return R},onResult:N&&(E=>{let R="";R+="if(_counter > 0) {\n";R+=N(G,E,done,doneBreak);R+="}\n";return R}),onDone:!N&&(()=>done()),rethrowIfPossible:j})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:N}={}){let R=this._args;if(E)R=[E].concat(R);if(N)R=R.concat(N);if(R.length===0){return""}else{return R.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},54333:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class SyncBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j,rethrowIfPossible:$}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j,rethrowIfPossible:$})}}const q=new SyncBailHookCodeFactory;class SyncBailHook extends j{tapAsync(){throw new Error("tapAsync is not supported on a SyncBailHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncBailHook")}compile(E){q.setup(this,E);return q.create(E)}}E.exports=SyncBailHook},40352:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class SyncHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsSeries({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncHookCodeFactory;class SyncHook extends j{tapAsync(){throw new Error("tapAsync is not supported on a SyncHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncHook")}compile(E){q.setup(this,E);return q.create(E)}}E.exports=SyncHook},86118:(E,N,R)=>{"use strict";const j=R(73837);const $=R(54333);function Tapable(){this._pluginCompat=new $(["options"]);this._pluginCompat.tap({name:"Tapable camelCase",stage:100},(E=>{E.names.add(E.name.replace(/[- ]([a-z])/g,((E,N)=>N.toUpperCase())))}));this._pluginCompat.tap({name:"Tapable this.hooks",stage:200},(E=>{let N;for(const R of E.names){N=this.hooks[R];if(N!==undefined){break}}if(N!==undefined){const R={name:E.fn.name||"unnamed compat plugin",stage:E.stage||0};if(E.async)N.tapAsync(R,E.fn);else N.tap(R,E.fn);return true}}))}E.exports=Tapable;Tapable.addCompatLayer=function addCompatLayer(E){Tapable.call(E);E.plugin=Tapable.prototype.plugin;E.apply=Tapable.prototype.apply};Tapable.prototype.plugin=j.deprecate((function plugin(E,N){if(Array.isArray(E)){E.forEach((function(E){this.plugin(E,N)}),this);return}const R=this._pluginCompat.call({name:E,fn:N,names:new Set([E])});if(!R){throw new Error(`Plugin could not be registered at '${E}'. Hook was not found.\n`+"BREAKING CHANGE: There need to exist a hook at 'this.hooks'. "+"To create a compatibility layer for this hook, hook into 'this._pluginCompat'.")}}),"Tapable.plugin is deprecated. Use new API on `.hooks` instead");Tapable.prototype.apply=j.deprecate((function apply(){for(var E=0;E<arguments.length;E++){arguments[E].apply(this)}}),"Tapable.apply is deprecated. Call apply on the plugin directly instead")},31406:(E,N,R)=>{"use strict";
/*!
* to-regex-range <https://github.com/micromatch/to-regex-range>
*
* Copyright (c) 2015-present, Jon Schlinkert.
* Released under the MIT License.
*/const j=R(89459);const toRegexRange=(E,N,R)=>{if(j(E)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(N===void 0||E===N){return String(E)}if(j(N)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let $={relaxZeros:true,...R};if(typeof $.strictZeros==="boolean"){$.relaxZeros=$.strictZeros===false}let q=String($.relaxZeros);let G=String($.shorthand);let ie=String($.capture);let ae=String($.wrap);let ce=E+":"+N+"="+q+G+ie+ae;if(toRegexRange.cache.hasOwnProperty(ce)){return toRegexRange.cache[ce].result}let le=Math.min(E,N);let _e=Math.max(E,N);if(Math.abs(le-_e)===1){let R=E+"|"+N;if($.capture){return`(${R})`}if($.wrap===false){return R}return`(?:${R})`}let Ee=hasPadding(E)||hasPadding(N);let Te={min:E,max:N,a:le,b:_e};let we=[];let Ie=[];if(Ee){Te.isPadded=Ee;Te.maxLen=String(Te.max).length}if(le<0){let E=_e<0?Math.abs(_e):1;Ie=splitToPatterns(E,Math.abs(le),Te,$);le=Te.a=0}if(_e>=0){we=splitToPatterns(le,_e,Te,$)}Te.negatives=Ie;Te.positives=we;Te.result=collatePatterns(Ie,we,$);if($.capture===true){Te.result=`(${Te.result})`}else if($.wrap!==false&&we.length+Ie.length>1){Te.result=`(?:${Te.result})`}toRegexRange.cache[ce]=Te;return Te.result};function collatePatterns(E,N,R){let j=filterPatterns(E,N,"-",false,R)||[];let $=filterPatterns(N,E,"",false,R)||[];let q=filterPatterns(E,N,"-?",true,R)||[];let G=j.concat(q).concat($);return G.join("|")}function splitToRanges(E,N){let R=1;let j=1;let $=countNines(E,R);let q=new Set([N]);while(E<=$&&$<=N){q.add($);R+=1;$=countNines(E,R)}$=countZeros(N+1,j)-1;while(E<$&&$<=N){q.add($);j+=1;$=countZeros(N+1,j)-1}q=[...q];q.sort(compare);return q}function rangeToPattern(E,N,R){if(E===N){return{pattern:E,count:[],digits:0}}let j=zip(E,N);let $=j.length;let q="";let G=0;for(let E=0;E<$;E++){let[N,$]=j[E];if(N===$){q+=N}else if(N!=="0"||$!=="9"){q+=toCharacterClass(N,$,R)}else{G++}}if(G){q+=R.shorthand===true?"\\d":"[0-9]"}return{pattern:q,count:[G],digits:$}}function splitToPatterns(E,N,R,j){let $=splitToRanges(E,N);let q=[];let G=E;let ie;for(let E=0;E<$.length;E++){let N=$[E];let ae=rangeToPattern(String(G),String(N),j);let ce="";if(!R.isPadded&&ie&&ie.pattern===ae.pattern){if(ie.count.length>1){ie.count.pop()}ie.count.push(ae.count[0]);ie.string=ie.pattern+toQuantifier(ie.count);G=N+1;continue}if(R.isPadded){ce=padZeros(N,R,j)}ae.string=ce+ae.pattern+toQuantifier(ae.count);q.push(ae);G=N+1;ie=ae}return q}function filterPatterns(E,N,R,j,$){let q=[];for(let $ of E){let{string:E}=$;if(!j&&!contains(N,"string",E)){q.push(R+E)}if(j&&contains(N,"string",E)){q.push(R+E)}}return q}function zip(E,N){let R=[];for(let j=0;j<E.length;j++)R.push([E[j],N[j]]);return R}function compare(E,N){return E>N?1:N>E?-1:0}function contains(E,N,R){return E.some((E=>E[N]===R))}function countNines(E,N){return Number(String(E).slice(0,-N)+"9".repeat(N))}function countZeros(E,N){return E-E%Math.pow(10,N)}function toQuantifier(E){let[N=0,R=""]=E;if(R||N>1){return`{${N+(R?","+R:"")}}`}return""}function toCharacterClass(E,N,R){return`[${E}${N-E===1?"":"-"}${N}]`}function hasPadding(E){return/^-?(0+)\d/.test(E)}function padZeros(E,N,R){if(!N.isPadded){return E}let j=Math.abs(N.maxLen-String(E).length);let $=R.relaxZeros!==false;switch(j){case 0:return"";case 1:return $?"0?":"0";case 2:return $?"0{0,2}":"00";default:{return $?`0{0,${j}}`:`0{${j}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};E.exports=toRegexRange},5115:E=>{
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var N;var R;var j;var $;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;(function(N){var R=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(E){N(createExporter(R,createExporter(E)))}))}else if(true&&typeof E.exports==="object"){N(createExporter(R,createExporter(E.exports)))}else{N(createExporter(R))}function createExporter(E,N){if(E!==R){if(typeof Object.create==="function"){Object.defineProperty(E,"__esModule",{value:true})}else{E.__esModule=true}}return function(R,j){return E[R]=N?N(R,j):j}}})((function(E){var Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,N){E.__proto__=N}||function(E,N){for(var R in N)if(N.hasOwnProperty(R))E[R]=N[R]};N=function(E,N){Je(E,N);function __(){this.constructor=E}E.prototype=N===null?Object.create(N):(__.prototype=N.prototype,new __)};R=Object.assign||function(E){for(var N,R=1,j=arguments.length;R<j;R++){N=arguments[R];for(var $ in N)if(Object.prototype.hasOwnProperty.call(N,$))E[$]=N[$]}return E};j=function(E,N){var R={};for(var j in E)if(Object.prototype.hasOwnProperty.call(E,j)&&N.indexOf(j)<0)R[j]=E[j];if(E!=null&&typeof Object.getOwnPropertySymbols==="function")for(var $=0,j=Object.getOwnPropertySymbols(E);$<j.length;$++){if(N.indexOf(j[$])<0&&Object.prototype.propertyIsEnumerable.call(E,j[$]))R[j[$]]=E[j[$]]}return R};$=function(E,N,R,j){var $=arguments.length,q=$<3?N:j===null?j=Object.getOwnPropertyDescriptor(N,R):j,G;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")q=Reflect.decorate(E,N,R,j);else for(var ie=E.length-1;ie>=0;ie--)if(G=E[ie])q=($<3?G(q):$>3?G(N,R,q):G(N,R))||q;return $>3&&q&&Object.defineProperty(N,R,q),q};q=function(E,N){return function(R,j){N(R,j,E)}};G=function(E,N){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(E,N)};ie=function(E,N,R,j){function adopt(E){return E instanceof R?E:new R((function(N){N(E)}))}return new(R||(R=Promise))((function(R,$){function fulfilled(E){try{step(j.next(E))}catch(E){$(E)}}function rejected(E){try{step(j["throw"](E))}catch(E){$(E)}}function step(E){E.done?R(E.value):adopt(E.value).then(fulfilled,rejected)}step((j=j.apply(E,N||[])).next())}))};ae=function(E,N){var R={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},j,$,q,G;return G={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(G[Symbol.iterator]=function(){return this}),G;function verb(E){return function(N){return step([E,N])}}function step(G){if(j)throw new TypeError("Generator is already executing.");while(R)try{if(j=1,$&&(q=G[0]&2?$["return"]:G[0]?$["throw"]||((q=$["return"])&&q.call($),0):$.next)&&!(q=q.call($,G[1])).done)return q;if($=0,q)G=[G[0]&2,q.value];switch(G[0]){case 0:case 1:q=G;break;case 4:R.label++;return{value:G[1],done:false};case 5:R.label++;$=G[1];G=[0];continue;case 7:G=R.ops.pop();R.trys.pop();continue;default:if(!(q=R.trys,q=q.length>0&&q[q.length-1])&&(G[0]===6||G[0]===2)){R=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]<q[3])){R.label=G[1];break}if(G[0]===6&&R.label<q[1]){R.label=q[1];q=G;break}if(q&&R.label<q[2]){R.label=q[2];R.ops.push(G);break}if(q[2])R.ops.pop();R.trys.pop();continue}G=N.call(E,R)}catch(E){G=[6,E];$=0}finally{j=q=0}if(G[0]&5)throw G[1];return{value:G[0]?G[1]:void 0,done:true}}};We=function(E,N,R,j){if(j===undefined)j=R;E[j]=N[R]};ce=function(E,N){for(var R in E)if(R!=="default"&&!N.hasOwnProperty(R))N[R]=E[R]};le=function(E){var N=typeof Symbol==="function"&&Symbol.iterator,R=N&&E[N],j=0;if(R)return R.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&j>=E.length)E=void 0;return{value:E&&E[j++],done:!E}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")};_e=function(E,N){var R=typeof Symbol==="function"&&E[Symbol.iterator];if(!R)return E;var j=R.call(E),$,q=[],G;try{while((N===void 0||N-- >0)&&!($=j.next()).done)q.push($.value)}catch(E){G={error:E}}finally{try{if($&&!$.done&&(R=j["return"]))R.call(j)}finally{if(G)throw G.error}}return q};Ee=function(){for(var E=[],N=0;N<arguments.length;N++)E=E.concat(_e(arguments[N]));return E};Te=function(){for(var E=0,N=0,R=arguments.length;N<R;N++)E+=arguments[N].length;for(var j=Array(E),$=0,N=0;N<R;N++)for(var q=arguments[N],G=0,ie=q.length;G<ie;G++,$++)j[$]=q[G];return j};we=function(E){return this instanceof we?(this.v=E,this):new we(E)};Ie=function(E,N,R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j=R.apply(E,N||[]),$,q=[];return $={},verb("next"),verb("throw"),verb("return"),$[Symbol.asyncIterator]=function(){return this},$;function verb(E){if(j[E])$[E]=function(N){return new Promise((function(R,j){q.push([E,N,R,j])>1||resume(E,N)}))}}function resume(E,N){try{step(j[E](N))}catch(E){settle(q[0][3],E)}}function step(E){E.value instanceof we?Promise.resolve(E.value.v).then(fulfill,reject):settle(q[0][2],E)}function fulfill(E){resume("next",E)}function reject(E){resume("throw",E)}function settle(E,N){if(E(N),q.shift(),q.length)resume(q[0][0],q[0][1])}};Ne=function(E){var N,R;return N={},verb("next"),verb("throw",(function(E){throw E})),verb("return"),N[Symbol.iterator]=function(){return this},N;function verb(j,$){N[j]=E[j]?function(N){return(R=!R)?{value:we(E[j](N)),done:j==="return"}:$?$(N):N}:$}};Me=function(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N=E[Symbol.asyncIterator],R;return N?N.call(E):(E=typeof le==="function"?le(E):E[Symbol.iterator](),R={},verb("next"),verb("throw"),verb("return"),R[Symbol.asyncIterator]=function(){return this},R);function verb(N){R[N]=E[N]&&function(R){return new Promise((function(j,$){R=E[N](R),settle(j,$,R.done,R.value)}))}}function settle(E,N,R,j){Promise.resolve(j).then((function(N){E({value:N,done:R})}),N)}};Le=function(E,N){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:N})}else{E.raw=N}return E};Be=function(E){if(E&&E.__esModule)return E;var N={};if(E!=null)for(var R in E)if(Object.hasOwnProperty.call(E,R))N[R]=E[R];N["default"]=E;return N};je=function(E){return E&&E.__esModule?E:{default:E}};Ue=function(E,N){if(!N.has(E)){throw new TypeError("attempted to get private field on non-instance")}return N.get(E)};ze=function(E,N,R){if(!N.has(E)){throw new TypeError("attempted to set private field on non-instance")}N.set(E,R);return R};E("__extends",N);E("__assign",R);E("__rest",j);E("__decorate",$);E("__param",q);E("__metadata",G);E("__awaiter",ie);E("__generator",ae);E("__exportStar",ce);E("__createBinding",We);E("__values",le);E("__read",_e);E("__spread",Ee);E("__spreadArrays",Te);E("__await",we);E("__asyncGenerator",Ie);E("__asyncDelegator",Ne);E("__asyncValues",Me);E("__makeTemplateObject",Le);E("__importStar",Be);E("__importDefault",je);E("__classPrivateFieldGet",Ue);E("__classPrivateFieldSet",ze)}))},53779:function(E,N,R){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var j=this&&this.__spreadArray||function(E,N,R){if(R||arguments.length===2)for(var j=0,$=N.length,q;j<$;j++){if(q||!(j in N)){if(!q)q=Array.prototype.slice.call(N,0,j);q[j]=N[j]}}return E.concat(q||Array.prototype.slice.call(N))};var $=this&&this.__assign||function(){$=Object.assign||function(E){for(var N,R=1,j=arguments.length;R<j;R++){N=arguments[R];for(var $ in N)if(Object.prototype.hasOwnProperty.call(N,$))E[$]=N[$]}return E};return $.apply(this,arguments)};var q=this&&this.__makeTemplateObject||function(E,N){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:N})}else{E.raw=N}return E};var G=this&&this.__generator||function(E,N){var R={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},j,$,q,G;return G={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(G[Symbol.iterator]=function(){return this}),G;function verb(E){return function(N){return step([E,N])}}function step(G){if(j)throw new TypeError("Generator is already executing.");while(R)try{if(j=1,$&&(q=G[0]&2?$["return"]:G[0]?$["throw"]||((q=$["return"])&&q.call($),0):$.next)&&!(q=q.call($,G[1])).done)return q;if($=0,q)G=[G[0]&2,q.value];switch(G[0]){case 0:case 1:q=G;break;case 4:R.label++;return{value:G[1],done:false};case 5:R.label++;$=G[1];G=[0];continue;case 7:G=R.ops.pop();R.trys.pop();continue;default:if(!(q=R.trys,q=q.length>0&&q[q.length-1])&&(G[0]===6||G[0]===2)){R=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]<q[3])){R.label=G[1];break}if(G[0]===6&&R.label<q[1]){R.label=q[1];q=G;break}if(q&&R.label<q[2]){R.label=q[2];R.ops.push(G);break}if(q[2])R.ops.pop();R.trys.pop();continue}G=N.call(E,R)}catch(E){G=[6,E];$=0}finally{j=q=0}if(G[0]&5)throw G[1];return{value:G[0]?G[1]:void 0,done:true}}};var ie=this&&this.__rest||function(E,N){var R={};for(var j in E)if(Object.prototype.hasOwnProperty.call(E,j)&&N.indexOf(j)<0)R[j]=E[j];if(E!=null&&typeof Object.getOwnPropertySymbols==="function")for(var $=0,j=Object.getOwnPropertySymbols(E);$<j.length;$++){if(N.indexOf(j[$])<0&&Object.prototype.propertyIsEnumerable.call(E,j[$]))R[j[$]]=E[j[$]]}return R};var ae=this&&this.__extends||function(){var extendStatics=function(E,N){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,N){E.__proto__=N}||function(E,N){for(var R in N)if(Object.prototype.hasOwnProperty.call(N,R))E[R]=N[R]};return extendStatics(E,N)};return function(E,N){if(typeof N!=="function"&&N!==null)throw new TypeError("Class extends value "+String(N)+" is not a constructor or null");extendStatics(E,N);function __(){this.constructor=E}E.prototype=N===null?Object.create(N):(__.prototype=N.prototype,new __)}}();var ce;(function(E){function createMapData(){var E={};E.prev=E;return{head:E,tail:E,size:0}}function createMapEntry(E,N){return{key:E,value:N,next:undefined,prev:undefined}}function sameValueZero(E,N){return E===N||E!==E&&N!==N}function getPrev(E){var N=E.prev;if(!N||N===E)throw new Error("Illegal state");return N}function getNext(E){while(E){var N=!E.prev;E=E.next;if(N){continue}return E}}function getEntry(E,N){for(var R=E.tail;R!==E.head;R=getPrev(R)){if(sameValueZero(R.key,N)){return R}}}function addOrUpdateEntry(E,N,R){var j=getEntry(E,N);if(j){j.value=R;return}var $=createMapEntry(N,R);$.prev=E.tail;E.tail.next=$;E.tail=$;E.size++;return $}function deleteEntry(E,N){for(var R=E.tail;R!==E.head;R=getPrev(R)){if(R.prev===undefined)throw new Error("Illegal state");if(sameValueZero(R.key,N)){if(R.next){R.next.prev=R.prev}else{if(E.tail!==R)throw new Error("Illegal state");E.tail=R.prev}R.prev.next=R.next;R.next=R.prev;R.prev=undefined;E.size--;return R}}}function clearEntries(E){var N=E.tail;while(N!==E.head){var R=getPrev(N);N.next=E.head;N.prev=undefined;N=R}E.head.next=undefined;E.tail=E.head;E.size=0}function forEachEntry(E,N){var R=E.head;while(R){R=getNext(R);if(R){N(R.value,R.key)}}}function forEachIteration(E,N){if(E){for(var R=E.next();!R.done;R=E.next()){N(R.value)}}}function createIteratorData(E,N){return{current:E.head,selector:N}}function iteratorNext(E){E.current=getNext(E.current);if(E.current){return{value:E.selector(E.current.key,E.current.value),done:false}}else{return{value:undefined,done:true}}}var N;(function(E){function createMapShim(E){var N=function(){function MapIterator(E,N){this._data=createIteratorData(E,N)}MapIterator.prototype.next=function(){return iteratorNext(this._data)};return MapIterator}();return function(){function Map(N){var R=this;this._mapData=createMapData();forEachIteration(E(N),(function(E){var N=E[0],j=E[1];return R.set(N,j)}))}Object.defineProperty(Map.prototype,"size",{get:function(){return this._mapData.size},enumerable:false,configurable:true});Map.prototype.get=function(E){var N;return(N=getEntry(this._mapData,E))===null||N===void 0?void 0:N.value};Map.prototype.set=function(E,N){return addOrUpdateEntry(this._mapData,E,N),this};Map.prototype.has=function(E){return!!getEntry(this._mapData,E)};Map.prototype.delete=function(E){return!!deleteEntry(this._mapData,E)};Map.prototype.clear=function(){clearEntries(this._mapData)};Map.prototype.keys=function(){return new N(this._mapData,(function(E,N){return E}))};Map.prototype.values=function(){return new N(this._mapData,(function(E,N){return N}))};Map.prototype.entries=function(){return new N(this._mapData,(function(E,N){return[E,N]}))};Map.prototype.forEach=function(E){forEachEntry(this._mapData,E)};return Map}()}E.createMapShim=createMapShim;function createSetShim(E){var N=function(){function SetIterator(E,N){this._data=createIteratorData(E,N)}SetIterator.prototype.next=function(){return iteratorNext(this._data)};return SetIterator}();return function(){function Set(N){var R=this;this._mapData=createMapData();forEachIteration(E(N),(function(E){return R.add(E)}))}Object.defineProperty(Set.prototype,"size",{get:function(){return this._mapData.size},enumerable:false,configurable:true});Set.prototype.add=function(E){return addOrUpdateEntry(this._mapData,E,E),this};Set.prototype.has=function(E){return!!getEntry(this._mapData,E)};Set.prototype.delete=function(E){return!!deleteEntry(this._mapData,E)};Set.prototype.clear=function(){clearEntries(this._mapData)};Set.prototype.keys=function(){return new N(this._mapData,(function(E,N){return E}))};Set.prototype.values=function(){return new N(this._mapData,(function(E,N){return N}))};Set.prototype.entries=function(){return new N(this._mapData,(function(E,N){return[E,N]}))};Set.prototype.forEach=function(E){forEachEntry(this._mapData,E)};return Set}()}E.createSetShim=createSetShim})(N=E.ShimCollections||(E.ShimCollections={}))})(ce||(ce={}));var ce;(function(E){E.versionMajorMinor="4.4";E.version="4.4.2";var N;(function(E){E[E["LessThan"]=-1]="LessThan";E[E["EqualTo"]=0]="EqualTo";E[E["GreaterThan"]=1]="GreaterThan"})(N=E.Comparison||(E.Comparison={}));var R;(function(E){function tryGetNativeMap(){return typeof Map!=="undefined"&&"entries"in Map.prototype&&new Map([[0,0]]).size===1?Map:undefined}E.tryGetNativeMap=tryGetNativeMap;function tryGetNativeSet(){return typeof Set!=="undefined"&&"entries"in Set.prototype&&new Set([0]).size===1?Set:undefined}E.tryGetNativeSet=tryGetNativeSet})(R=E.NativeCollections||(E.NativeCollections={}))})(ce||(ce={}));var ce;(function(E){function getCollectionImplementation(N,R,j){var $;var q=($=E.NativeCollections[R]())!==null&&$!==void 0?$:E.ShimCollections===null||E.ShimCollections===void 0?void 0:E.ShimCollections[j](getIterator);if(q)return q;throw new Error("TypeScript requires an environment that provides a compatible native "+N+" implementation.")}E.Map=getCollectionImplementation("Map","tryGetNativeMap","createMapShim");E.Set=getCollectionImplementation("Set","tryGetNativeSet","createSetShim");function getIterator(N){if(N){if(isArray(N))return arrayIterator(N);if(N instanceof E.Map)return N.entries();if(N instanceof E.Set)return N.values();throw new Error("Iteration not supported.")}}E.getIterator=getIterator;E.emptyArray=[];E.emptyMap=new E.Map;E.emptySet=new E.Set;function createMap(){return new E.Map}E.createMap=createMap;function createMapFromTemplate(R){var j=new E.Map;for(var $ in R){if(N.call(R,$)){j.set($,R[$])}}return j}E.createMapFromTemplate=createMapFromTemplate;function length(E){return E?E.length:0}E.length=length;function forEach(E,N){if(E){for(var R=0;R<E.length;R++){var j=N(E[R],R);if(j){return j}}}return undefined}E.forEach=forEach;function forEachRight(E,N){if(E){for(var R=E.length-1;R>=0;R--){var j=N(E[R],R);if(j){return j}}}return undefined}E.forEachRight=forEachRight;function firstDefined(E,N){if(E===undefined){return undefined}for(var R=0;R<E.length;R++){var j=N(E[R],R);if(j!==undefined){return j}}return undefined}E.firstDefined=firstDefined;function firstDefinedIterator(E,N){while(true){var R=E.next();if(R.done){return undefined}var j=N(R.value);if(j!==undefined){return j}}}E.firstDefinedIterator=firstDefinedIterator;function reduceLeftIterator(E,N,R){var j=R;if(E){for(var $=E.next(),q=0;!$.done;$=E.next(),q++){j=N(j,$.value,q)}}return j}E.reduceLeftIterator=reduceLeftIterator;function zipWith(N,R,j){var $=[];E.Debug.assertEqual(N.length,R.length);for(var q=0;q<N.length;q++){$.push(j(N[q],R[q],q))}return $}E.zipWith=zipWith;function zipToIterator(N,R){E.Debug.assertEqual(N.length,R.length);var j=0;return{next:function(){if(j===N.length){return{value:undefined,done:true}}j++;return{value:[N[j-1],R[j-1]],done:false}}}}E.zipToIterator=zipToIterator;function zipToMap(N,R){E.Debug.assert(N.length===R.length);var j=new E.Map;for(var $=0;$<N.length;++$){j.set(N[$],R[$])}return j}E.zipToMap=zipToMap;function intersperse(E,N){if(E.length<=1){return E}var R=[];for(var j=0,$=E.length;j<$;j++){if(j)R.push(N);R.push(E[j])}return R}E.intersperse=intersperse;function every(E,N){if(E){for(var R=0;R<E.length;R++){if(!N(E[R],R)){return false}}}return true}E.every=every;function find(E,N){for(var R=0;R<E.length;R++){var j=E[R];if(N(j,R)){return j}}return undefined}E.find=find;function findLast(E,N){for(var R=E.length-1;R>=0;R--){var j=E[R];if(N(j,R)){return j}}return undefined}E.findLast=findLast;function findIndex(E,N,R){for(var j=R||0;j<E.length;j++){if(N(E[j],j)){return j}}return-1}E.findIndex=findIndex;function findLastIndex(E,N,R){for(var j=R===undefined?E.length-1:R;j>=0;j--){if(N(E[j],j)){return j}}return-1}E.findLastIndex=findLastIndex;function findMap(N,R){for(var j=0;j<N.length;j++){var $=R(N[j],j);if($){return $}}return E.Debug.fail()}E.findMap=findMap;function contains(E,N,R){if(R===void 0){R=equateValues}if(E){for(var j=0,$=E;j<$.length;j++){var q=$[j];if(R(q,N)){return true}}}return false}E.contains=contains;function arraysEqual(E,N,R){if(R===void 0){R=equateValues}return E.length===N.length&&E.every((function(E,j){return R(E,N[j])}))}E.arraysEqual=arraysEqual;function indexOfAnyCharCode(E,N,R){for(var j=R||0;j<E.length;j++){if(contains(N,E.charCodeAt(j))){return j}}return-1}E.indexOfAnyCharCode=indexOfAnyCharCode;function countWhere(E,N){var R=0;if(E){for(var j=0;j<E.length;j++){var $=E[j];if(N($,j)){R++}}}return R}E.countWhere=countWhere;function filter(E,N){if(E){var R=E.length;var j=0;while(j<R&&N(E[j]))j++;if(j<R){var $=E.slice(0,j);j++;while(j<R){var q=E[j];if(N(q)){$.push(q)}j++}return $}}return E}E.filter=filter;function filterMutate(E,N){var R=0;for(var j=0;j<E.length;j++){if(N(E[j],j,E)){E[R]=E[j];R++}}E.length=R}E.filterMutate=filterMutate;function clear(E){E.length=0}E.clear=clear;function map(E,N){var R;if(E){R=[];for(var j=0;j<E.length;j++){R.push(N(E[j],j))}}return R}E.map=map;function mapIterator(E,N){return{next:function(){var R=E.next();return R.done?R:{value:N(R.value),done:false}}}}E.mapIterator=mapIterator;function sameMap(E,N){if(E){for(var R=0;R<E.length;R++){var j=E[R];var $=N(j,R);if(j!==$){var q=E.slice(0,R);q.push($);for(R++;R<E.length;R++){q.push(N(E[R],R))}return q}}}return E}E.sameMap=sameMap;function flatten(E){var N=[];for(var R=0,j=E;R<j.length;R++){var $=j[R];if($){if(isArray($)){addRange(N,$)}else{N.push($)}}}return N}E.flatten=flatten;function flatMap(N,R){var j;if(N){for(var $=0;$<N.length;$++){var q=R(N[$],$);if(q){if(isArray(q)){j=addRange(j,q)}else{j=append(j,q)}}}}return j||E.emptyArray}E.flatMap=flatMap;function flatMapToMutable(E,N){var R=[];if(E){for(var j=0;j<E.length;j++){var $=N(E[j],j);if($){if(isArray($)){addRange(R,$)}else{R.push($)}}}}return R}E.flatMapToMutable=flatMapToMutable;function flatMapIterator(N,R){var j=N.next();if(j.done){return E.emptyIterator}var $=getIterator(j.value);return{next:function(){while(true){var E=$.next();if(!E.done){return E}var R=N.next();if(R.done){return R}$=getIterator(R.value)}}};function getIterator(N){var j=R(N);return j===undefined?E.emptyIterator:isArray(j)?arrayIterator(j):j}}E.flatMapIterator=flatMapIterator;function sameFlatMap(E,N){var R;if(E){for(var j=0;j<E.length;j++){var $=E[j];var q=N($,j);if(R||$!==q||isArray(q)){if(!R){R=E.slice(0,j)}if(isArray(q)){addRange(R,q)}else{R.push(q)}}}}return R||E}E.sameFlatMap=sameFlatMap;function mapAllOrFail(E,N){var R=[];for(var j=0;j<E.length;j++){var $=N(E[j],j);if($===undefined){return undefined}R.push($)}return R}E.mapAllOrFail=mapAllOrFail;function mapDefined(E,N){var R=[];if(E){for(var j=0;j<E.length;j++){var $=N(E[j],j);if($!==undefined){R.push($)}}}return R}E.mapDefined=mapDefined;function mapDefinedIterator(E,N){return{next:function(){while(true){var R=E.next();if(R.done){return R}var j=N(R.value);if(j!==undefined){return{value:j,done:false}}}}}}E.mapDefinedIterator=mapDefinedIterator;function mapDefinedEntries(N,R){if(!N){return undefined}var j=new E.Map;N.forEach((function(E,N){var $=R(N,E);if($!==undefined){var q=$[0],G=$[1];if(q!==undefined&&G!==undefined){j.set(q,G)}}}));return j}E.mapDefinedEntries=mapDefinedEntries;function mapDefinedValues(N,R){if(N){var j=new E.Set;N.forEach((function(E){var N=R(E);if(N!==undefined){j.add(N)}}));return j}}E.mapDefinedValues=mapDefinedValues;function getOrUpdate(E,N,R){if(E.has(N)){return E.get(N)}var j=R();E.set(N,j);return j}E.getOrUpdate=getOrUpdate;function tryAddToSet(E,N){if(!E.has(N)){E.add(N);return true}return false}E.tryAddToSet=tryAddToSet;E.emptyIterator={next:function(){return{value:undefined,done:true}}};function singleIterator(E){var N=false;return{next:function(){var R=N;N=true;return R?{value:undefined,done:true}:{value:E,done:false}}}}E.singleIterator=singleIterator;function spanMap(E,N,R){var j;if(E){j=[];var $=E.length;var q=void 0;var G=void 0;var ie=0;var ae=0;while(ie<$){while(ae<$){var ce=E[ae];G=N(ce,ae);if(ae===0){q=G}else if(G!==q){break}ae++}if(ie<ae){var le=R(E.slice(ie,ae),q,ie,ae);if(le){j.push(le)}ie=ae}q=G;ae++}}return j}E.spanMap=spanMap;function mapEntries(N,R){if(!N){return undefined}var j=new E.Map;N.forEach((function(E,N){var $=R(N,E),q=$[0],G=$[1];j.set(q,G)}));return j}E.mapEntries=mapEntries;function some(E,N){if(E){if(N){for(var R=0,j=E;R<j.length;R++){var $=j[R];if(N($)){return true}}}else{return E.length>0}}return false}E.some=some;function getRangesWhere(E,N,R){var j;for(var $=0;$<E.length;$++){if(N(E[$])){j=j===undefined?$:j}else{if(j!==undefined){R(j,$);j=undefined}}}if(j!==undefined)R(j,E.length)}E.getRangesWhere=getRangesWhere;function concatenate(E,N){if(!some(N))return E;if(!some(E))return N;return j(j([],E,true),N,true)}E.concatenate=concatenate;function selectIndex(E,N){return N}function indicesOf(E){return E.map(selectIndex)}E.indicesOf=indicesOf;function deduplicateRelational(E,N,R){var j=indicesOf(E);stableSortIndices(E,j,R);var $=E[j[0]];var q=[j[0]];for(var G=1;G<j.length;G++){var ie=j[G];var ae=E[ie];if(!N($,ae)){q.push(ie);$=ae}}q.sort();return q.map((function(N){return E[N]}))}function deduplicateEquality(E,N){var R=[];for(var j=0,$=E;j<$.length;j++){var q=$[j];pushIfUnique(R,q,N)}return R}function deduplicate(E,N,R){return E.length===0?[]:E.length===1?E.slice():R?deduplicateRelational(E,N,R):deduplicateEquality(E,N)}E.deduplicate=deduplicate;function deduplicateSorted(N,R){if(N.length===0)return E.emptyArray;var j=N[0];var $=[j];for(var q=1;q<N.length;q++){var G=N[q];switch(R(G,j)){case true:case 0:continue;case-1:return E.Debug.fail("Array is unsorted.")}$.push(j=G)}return $}function insertSorted(E,N,R){if(E.length===0){E.push(N);return}var j=binarySearch(E,N,identity,R);if(j<0){E.splice(~j,0,N)}}E.insertSorted=insertSorted;function sortAndDeduplicate(E,N,R){return deduplicateSorted(sort(E,N),R||N||compareStringsCaseSensitive)}E.sortAndDeduplicate=sortAndDeduplicate;function arrayIsSorted(E,N){if(E.length<2)return true;var R=E[0];for(var j=0,$=E.slice(1);j<$.length;j++){var q=$[j];if(N(R,q)===1){return false}R=q}return true}E.arrayIsSorted=arrayIsSorted;function arrayIsEqualTo(E,N,R){if(R===void 0){R=equateValues}if(!E||!N){return E===N}if(E.length!==N.length){return false}for(var j=0;j<E.length;j++){if(!R(E[j],N[j],j)){return false}}return true}E.arrayIsEqualTo=arrayIsEqualTo;function compact(E){var N;if(E){for(var R=0;R<E.length;R++){var j=E[R];if(N||!j){if(!N){N=E.slice(0,R)}if(j){N.push(j)}}}}return N||E}E.compact=compact;function relativeComplement(N,R,j){if(!R||!N||R.length===0||N.length===0)return R;var $=[];e:for(var q=0,G=0;G<R.length;G++){if(G>0){E.Debug.assertGreaterThanOrEqual(j(R[G],R[G-1]),0)}t:for(var ie=q;q<N.length;q++){if(q>ie){E.Debug.assertGreaterThanOrEqual(j(N[q],N[q-1]),0)}switch(j(R[G],N[q])){case-1:$.push(R[G]);continue e;case 0:continue e;case 1:continue t}}}return $}E.relativeComplement=relativeComplement;function sum(E,N){var R=0;for(var j=0,$=E;j<$.length;j++){var q=$[j];R+=q[N]}return R}E.sum=sum;function append(E,N){if(N===undefined)return E;if(E===undefined)return[N];E.push(N);return E}E.append=append;function combine(E,N){if(E===undefined)return N;if(N===undefined)return E;if(isArray(E))return isArray(N)?concatenate(E,N):append(E,N);if(isArray(N))return append(N,E);return[E,N]}E.combine=combine;function toOffset(E,N){return N<0?E.length+N:N}function addRange(E,N,R,j){if(N===undefined||N.length===0)return E;if(E===undefined)return N.slice(R,j);R=R===undefined?0:toOffset(N,R);j=j===undefined?N.length:toOffset(N,j);for(var $=R;$<j&&$<N.length;$++){if(N[$]!==undefined){E.push(N[$])}}return E}E.addRange=addRange;function pushIfUnique(E,N,R){if(contains(E,N,R)){return false}else{E.push(N);return true}}E.pushIfUnique=pushIfUnique;function appendIfUnique(E,N,R){if(E){pushIfUnique(E,N,R);return E}else{return[N]}}E.appendIfUnique=appendIfUnique;function stableSortIndices(E,N,R){N.sort((function(N,j){return R(E[N],E[j])||compareValues(N,j)}))}function sort(E,N){return E.length===0?E:E.slice().sort(N)}E.sort=sort;function arrayIterator(E){var N=0;return{next:function(){if(N===E.length){return{value:undefined,done:true}}else{N++;return{value:E[N-1],done:false}}}}}E.arrayIterator=arrayIterator;function arrayReverseIterator(E){var N=E.length;return{next:function(){if(N===0){return{value:undefined,done:true}}else{N--;return{value:E[N],done:false}}}}}E.arrayReverseIterator=arrayReverseIterator;function stableSort(E,N){var R=indicesOf(E);stableSortIndices(E,R,N);return R.map((function(N){return E[N]}))}E.stableSort=stableSort;function rangeEquals(E,N,R,j){while(R<j){if(E[R]!==N[R]){return false}R++}return true}E.rangeEquals=rangeEquals;function elementAt(E,N){if(E){N=toOffset(E,N);if(N<E.length){return E[N]}}return undefined}E.elementAt=elementAt;function firstOrUndefined(E){return E.length===0?undefined:E[0]}E.firstOrUndefined=firstOrUndefined;function first(N){E.Debug.assert(N.length!==0);return N[0]}E.first=first;function lastOrUndefined(E){return E.length===0?undefined:E[E.length-1]}E.lastOrUndefined=lastOrUndefined;function last(N){E.Debug.assert(N.length!==0);return N[N.length-1]}E.last=last;function singleOrUndefined(E){return E&&E.length===1?E[0]:undefined}E.singleOrUndefined=singleOrUndefined;function singleOrMany(E){return E&&E.length===1?E[0]:E}E.singleOrMany=singleOrMany;function replaceElement(E,N,R){var j=E.slice(0);j[N]=R;return j}E.replaceElement=replaceElement;function binarySearch(E,N,R,j,$){return binarySearchKey(E,R(N),R,j,$)}E.binarySearch=binarySearch;function binarySearchKey(E,N,R,j,$){if(!some(E)){return-1}var q=$||0;var G=E.length-1;while(q<=G){var ie=q+(G-q>>1);var ae=R(E[ie],ie);switch(j(ae,N)){case-1:q=ie+1;break;case 0:return ie;case 1:G=ie-1;break}}return~q}E.binarySearchKey=binarySearchKey;function reduceLeft(E,N,R,j,$){if(E&&E.length>0){var q=E.length;if(q>0){var G=j===undefined||j<0?0:j;var ie=$===undefined||G+$>q-1?q-1:G+$;var ae=void 0;if(arguments.length<=2){ae=E[G];G++}else{ae=R}while(G<=ie){ae=N(ae,E[G],G);G++}return ae}}return R}E.reduceLeft=reduceLeft;var N=Object.prototype.hasOwnProperty;function hasProperty(E,R){return N.call(E,R)}E.hasProperty=hasProperty;function getProperty(E,R){return N.call(E,R)?E[R]:undefined}E.getProperty=getProperty;function getOwnKeys(E){var R=[];for(var j in E){if(N.call(E,j)){R.push(j)}}return R}E.getOwnKeys=getOwnKeys;function getAllKeys(E){var N=[];do{var R=Object.getOwnPropertyNames(E);for(var j=0,$=R;j<$.length;j++){var q=$[j];pushIfUnique(N,q)}}while(E=Object.getPrototypeOf(E));return N}E.getAllKeys=getAllKeys;function getOwnValues(E){var R=[];for(var j in E){if(N.call(E,j)){R.push(E[j])}}return R}E.getOwnValues=getOwnValues;var R=Object.entries||function(E){var N=getOwnKeys(E);var R=Array(N.length);for(var j=0;j<N.length;j++){R[j]=[N[j],E[N[j]]]}return R};function getEntries(E){return E?R(E):[]}E.getEntries=getEntries;function arrayOf(E,N){var R=new Array(E);for(var j=0;j<E;j++){R[j]=N(j)}return R}E.arrayOf=arrayOf;function arrayFrom(E,N){var R=[];for(var j=E.next();!j.done;j=E.next()){R.push(N?N(j.value):j.value)}return R}E.arrayFrom=arrayFrom;function assign(E){var N=[];for(var R=1;R<arguments.length;R++){N[R-1]=arguments[R]}for(var j=0,$=N;j<$.length;j++){var q=$[j];if(q===undefined)continue;for(var G in q){if(hasProperty(q,G)){E[G]=q[G]}}}return E}E.assign=assign;function equalOwnProperties(E,R,j){if(j===void 0){j=equateValues}if(E===R)return true;if(!E||!R)return false;for(var $ in E){if(N.call(E,$)){if(!N.call(R,$))return false;if(!j(E[$],R[$]))return false}}for(var $ in R){if(N.call(R,$)){if(!N.call(E,$))return false}}return true}E.equalOwnProperties=equalOwnProperties;function arrayToMap(N,R,j){if(j===void 0){j=identity}var $=new E.Map;for(var q=0,G=N;q<G.length;q++){var ie=G[q];var ae=R(ie);if(ae!==undefined)$.set(ae,j(ie))}return $}E.arrayToMap=arrayToMap;function arrayToNumericMap(E,N,R){if(R===void 0){R=identity}var j=[];for(var $=0,q=E;$<q.length;$++){var G=q[$];j[N(G)]=R(G)}return j}E.arrayToNumericMap=arrayToNumericMap;function arrayToMultiMap(E,N,R){if(R===void 0){R=identity}var j=createMultiMap();for(var $=0,q=E;$<q.length;$++){var G=q[$];j.add(N(G),R(G))}return j}E.arrayToMultiMap=arrayToMultiMap;function group(E,N,R){if(R===void 0){R=identity}return arrayFrom(arrayToMultiMap(E,N).values(),R)}E.group=group;function clone(E){var R={};for(var j in E){if(N.call(E,j)){R[j]=E[j]}}return R}E.clone=clone;function extend(E,R){var j={};for(var $ in R){if(N.call(R,$)){j[$]=R[$]}}for(var $ in E){if(N.call(E,$)){j[$]=E[$]}}return j}E.extend=extend;function copyProperties(E,R){for(var j in R){if(N.call(R,j)){E[j]=R[j]}}}E.copyProperties=copyProperties;function maybeBind(E,N){return N?N.bind(E):undefined}E.maybeBind=maybeBind;function createMultiMap(){var N=new E.Map;N.add=multiMapAdd;N.remove=multiMapRemove;return N}E.createMultiMap=createMultiMap;function multiMapAdd(E,N){var R=this.get(E);if(R){R.push(N)}else{this.set(E,R=[N])}return R}function multiMapRemove(E,N){var R=this.get(E);if(R){unorderedRemoveItem(R,N);if(!R.length){this.delete(E)}}}function createUnderscoreEscapedMultiMap(){return createMultiMap()}E.createUnderscoreEscapedMultiMap=createUnderscoreEscapedMultiMap;function isArray(E){return Array.isArray?Array.isArray(E):E instanceof Array}E.isArray=isArray;function toArray(E){return isArray(E)?E:[E]}E.toArray=toArray;function isString(E){return typeof E==="string"}E.isString=isString;function isNumber(E){return typeof E==="number"}E.isNumber=isNumber;function tryCast(E,N){return E!==undefined&&N(E)?E:undefined}E.tryCast=tryCast;function cast(N,R){if(N!==undefined&&R(N))return N;return E.Debug.fail("Invalid cast. The supplied value "+N+" did not pass the test '"+E.Debug.getFunctionName(R)+"'.")}E.cast=cast;function noop(E){}E.noop=noop;function returnFalse(){return false}E.returnFalse=returnFalse;function returnTrue(){return true}E.returnTrue=returnTrue;function returnUndefined(){return undefined}E.returnUndefined=returnUndefined;function identity(E){return E}E.identity=identity;function toLowerCase(E){return E.toLowerCase()}E.toLowerCase=toLowerCase;var $=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function toFileNameLowerCase(E){return $.test(E)?E.replace($,toLowerCase):E}E.toFileNameLowerCase=toFileNameLowerCase;function notImplemented(){throw new Error("Not implemented")}E.notImplemented=notImplemented;function memoize(E){var N;return function(){if(E){N=E();E=undefined}return N}}E.memoize=memoize;function memoizeOne(N){var R=new E.Map;return function(E){var j=typeof E+":"+E;var $=R.get(j);if($===undefined&&!R.has(j)){$=N(E);R.set(j,$)}return $}}E.memoizeOne=memoizeOne;function compose(E,N,R,j,$){if(!!$){var q=[];for(var G=0;G<arguments.length;G++){q[G]=arguments[G]}return function(E){return reduceLeft(q,(function(E,N){return N(E)}),E)}}else if(j){return function($){return j(R(N(E($))))}}else if(R){return function(j){return R(N(E(j)))}}else if(N){return function(R){return N(E(R))}}else if(E){return function(N){return E(N)}}else{return function(E){return E}}}E.compose=compose;var q;(function(E){E[E["None"]=0]="None";E[E["Normal"]=1]="Normal";E[E["Aggressive"]=2]="Aggressive";E[E["VeryAggressive"]=3]="VeryAggressive"})(q=E.AssertionLevel||(E.AssertionLevel={}));function equateValues(E,N){return E===N}E.equateValues=equateValues;function equateStringsCaseInsensitive(E,N){return E===N||E!==undefined&&N!==undefined&&E.toUpperCase()===N.toUpperCase()}E.equateStringsCaseInsensitive=equateStringsCaseInsensitive;function equateStringsCaseSensitive(E,N){return equateValues(E,N)}E.equateStringsCaseSensitive=equateStringsCaseSensitive;function compareComparableValues(E,N){return E===N?0:E===undefined?-1:N===undefined?1:E<N?-1:1}function compareValues(E,N){return compareComparableValues(E,N)}E.compareValues=compareValues;function compareTextSpans(E,N){return compareValues(E===null||E===void 0?void 0:E.start,N===null||N===void 0?void 0:N.start)||compareValues(E===null||E===void 0?void 0:E.length,N===null||N===void 0?void 0:N.length)}E.compareTextSpans=compareTextSpans;function min(E,N,R){return R(E,N)===-1?E:N}E.min=min;function compareStringsCaseInsensitive(E,N){if(E===N)return 0;if(E===undefined)return-1;if(N===undefined)return 1;E=E.toUpperCase();N=N.toUpperCase();return E<N?-1:E>N?1:0}E.compareStringsCaseInsensitive=compareStringsCaseInsensitive;function compareStringsCaseSensitive(E,N){return compareComparableValues(E,N)}E.compareStringsCaseSensitive=compareStringsCaseSensitive;function getStringComparer(E){return E?compareStringsCaseInsensitive:compareStringsCaseSensitive}E.getStringComparer=getStringComparer;var G=function(){var E;var N;var R=getStringComparerFactory();return createStringComparer;function compareWithCallback(E,N,R){if(E===N)return 0;if(E===undefined)return-1;if(N===undefined)return 1;var j=R(E,N);return j<0?-1:j>0?1:0}function createIntlCollatorStringComparer(E){var N=new Intl.Collator(E,{usage:"sort",sensitivity:"variant"}).compare;return function(E,R){return compareWithCallback(E,R,N)}}function createLocaleCompareStringComparer(E){if(E!==undefined)return createFallbackStringComparer();return function(E,N){return compareWithCallback(E,N,compareStrings)};function compareStrings(E,N){return E.localeCompare(N)}}function createFallbackStringComparer(){return function(E,N){return compareWithCallback(E,N,compareDictionaryOrder)};function compareDictionaryOrder(E,N){return compareStrings(E.toUpperCase(),N.toUpperCase())||compareStrings(E,N)}function compareStrings(E,N){return E<N?-1:E>N?1:0}}function getStringComparerFactory(){if(typeof Intl==="object"&&typeof Intl.Collator==="function"){return createIntlCollatorStringComparer}if(typeof String.prototype.localeCompare==="function"&&typeof String.prototype.toLocaleUpperCase==="function"&&"a".localeCompare("B")<0){return createLocaleCompareStringComparer}return createFallbackStringComparer}function createStringComparer(j){if(j===undefined){return E||(E=R(j))}else if(j==="en-US"){return N||(N=R(j))}else{return R(j)}}}();var ie;var ae;function getUILocale(){return ae}E.getUILocale=getUILocale;function setUILocale(E){if(ae!==E){ae=E;ie=undefined}}E.setUILocale=setUILocale;function compareStringsCaseSensitiveUI(E,N){var R=ie||(ie=G(ae));return R(E,N)}E.compareStringsCaseSensitiveUI=compareStringsCaseSensitiveUI;function compareProperties(E,N,R,j){return E===N?0:E===undefined?-1:N===undefined?1:j(E[R],N[R])}E.compareProperties=compareProperties;function compareBooleans(E,N){return compareValues(E?1:0,N?1:0)}E.compareBooleans=compareBooleans;function getSpellingSuggestion(N,R,j){var $=Math.min(2,Math.floor(N.length*.34));var q=Math.floor(N.length*.4)+1;var G;for(var ie=0,ae=R;ie<ae.length;ie++){var ce=ae[ie];var le=j(ce);if(le!==undefined&&Math.abs(le.length-N.length)<=$){if(le===N){continue}if(le.length<3&&le.toLowerCase()!==N.toLowerCase()){continue}var _e=levenshteinWithMax(N,le,q-.1);if(_e===undefined){continue}E.Debug.assert(_e<q);q=_e;G=ce}}return G}E.getSpellingSuggestion=getSpellingSuggestion;function levenshteinWithMax(E,N,R){var j=new Array(N.length+1);var $=new Array(N.length+1);var q=R+.01;for(var G=0;G<=N.length;G++){j[G]=G}for(var G=1;G<=E.length;G++){var ie=E.charCodeAt(G-1);var ae=Math.ceil(G>R?G-R:1);var ce=Math.floor(N.length>R+G?R+G:N.length);$[0]=G;var le=G;for(var _e=1;_e<ae;_e++){$[_e]=q}for(var _e=ae;_e<=ce;_e++){var Ee=E[G-1].toLowerCase()===N[_e-1].toLowerCase()?j[_e-1]+.1:j[_e-1]+2;var Te=ie===N.charCodeAt(_e-1)?j[_e-1]:Math.min(j[_e]+1,$[_e-1]+1,Ee);$[_e]=Te;le=Math.min(le,Te)}for(var _e=ce+1;_e<=N.length;_e++){$[_e]=q}if(le>R){return undefined}var we=j;j=$;$=we}var Ie=j[N.length];return Ie>R?undefined:Ie}function endsWith(E,N){var R=E.length-N.length;return R>=0&&E.indexOf(N,R)===R}E.endsWith=endsWith;function removeSuffix(E,N){return endsWith(E,N)?E.slice(0,E.length-N.length):E}E.removeSuffix=removeSuffix;function tryRemoveSuffix(E,N){return endsWith(E,N)?E.slice(0,E.length-N.length):undefined}E.tryRemoveSuffix=tryRemoveSuffix;function stringContains(E,N){return E.indexOf(N)!==-1}E.stringContains=stringContains;function removeMinAndVersionNumbers(E){var N=E.length;for(var R=N-1;R>0;R--){var j=E.charCodeAt(R);if(j>=48&&j<=57){do{--R;j=E.charCodeAt(R)}while(R>0&&j>=48&&j<=57)}else if(R>4&&(j===110||j===78)){--R;j=E.charCodeAt(R);if(j!==105&&j!==73){break}--R;j=E.charCodeAt(R);if(j!==109&&j!==77){break}--R;j=E.charCodeAt(R)}else{break}if(j!==45&&j!==46){break}N=R}return N===E.length?E:E.slice(0,N)}E.removeMinAndVersionNumbers=removeMinAndVersionNumbers;function orderedRemoveItem(E,N){for(var R=0;R<E.length;R++){if(E[R]===N){orderedRemoveItemAt(E,R);return true}}return false}E.orderedRemoveItem=orderedRemoveItem;function orderedRemoveItemAt(E,N){for(var R=N;R<E.length-1;R++){E[R]=E[R+1]}E.pop()}E.orderedRemoveItemAt=orderedRemoveItemAt;function unorderedRemoveItemAt(E,N){E[N]=E[E.length-1];E.pop()}E.unorderedRemoveItemAt=unorderedRemoveItemAt;function unorderedRemoveItem(E,N){return unorderedRemoveFirstItemWhere(E,(function(E){return E===N}))}E.unorderedRemoveItem=unorderedRemoveItem;function unorderedRemoveFirstItemWhere(E,N){for(var R=0;R<E.length;R++){if(N(E[R])){unorderedRemoveItemAt(E,R);return true}}return false}function createGetCanonicalFileName(E){return E?identity:toFileNameLowerCase}E.createGetCanonicalFileName=createGetCanonicalFileName;function patternText(E){var N=E.prefix,R=E.suffix;return N+"*"+R}E.patternText=patternText;function matchedText(N,R){E.Debug.assert(isPatternMatch(N,R));return R.substring(N.prefix.length,R.length-N.suffix.length)}E.matchedText=matchedText;function findBestPatternMatch(E,N,R){var j;var $=-1;for(var q=0,G=E;q<G.length;q++){var ie=G[q];var ae=N(ie);if(isPatternMatch(ae,R)&&ae.prefix.length>$){$=ae.prefix.length;j=ie}}return j}E.findBestPatternMatch=findBestPatternMatch;function startsWith(E,N){return E.lastIndexOf(N,0)===0}E.startsWith=startsWith;function removePrefix(E,N){return startsWith(E,N)?E.substr(N.length):E}E.removePrefix=removePrefix;function tryRemovePrefix(E,N,R){if(R===void 0){R=identity}return startsWith(R(E),R(N))?E.substring(N.length):undefined}E.tryRemovePrefix=tryRemovePrefix;function isPatternMatch(E,N){var R=E.prefix,j=E.suffix;return N.length>=R.length+j.length&&startsWith(N,R)&&endsWith(N,j)}function and(E,N){return function(R){return E(R)&&N(R)}}E.and=and;function or(){var E=[];for(var N=0;N<arguments.length;N++){E[N]=arguments[N]}return function(){var N=[];for(var R=0;R<arguments.length;R++){N[R]=arguments[R]}for(var j=0,$=E;j<$.length;j++){var q=$[j];if(q.apply(void 0,N)){return true}}return false}}E.or=or;function not(E){return function(){var N=[];for(var R=0;R<arguments.length;R++){N[R]=arguments[R]}return!E.apply(void 0,N)}}E.not=not;function assertType(E){}E.assertType=assertType;function singleElementArray(E){return E===undefined?undefined:[E]}E.singleElementArray=singleElementArray;function enumerateInsertsAndDeletes(E,N,R,j,$,q){q=q||noop;var G=0;var ie=0;var ae=E.length;var ce=N.length;var le=false;while(G<ae&&ie<ce){var _e=E[G];var Ee=N[ie];var Te=R(_e,Ee);if(Te===-1){j(_e);G++;le=true}else if(Te===1){$(Ee);ie++;le=true}else{q(Ee,_e);G++;ie++}}while(G<ae){j(E[G++]);le=true}while(ie<ce){$(N[ie++]);le=true}return le}E.enumerateInsertsAndDeletes=enumerateInsertsAndDeletes;function fill(E,N){var R=Array(E);for(var j=0;j<E;j++){R[j]=N(j)}return R}E.fill=fill;function cartesianProduct(E){var N=[];cartesianProductWorker(E,N,undefined,0);return N}E.cartesianProduct=cartesianProduct;function cartesianProductWorker(E,N,R,j){for(var $=0,q=E[j];$<q.length;$++){var G=q[$];var ie=void 0;if(R){ie=R.slice();ie.push(G)}else{ie=[G]}if(j===E.length-1){N.push(ie)}else{cartesianProductWorker(E,N,ie,j+1)}}}function padLeft(E,N,R){if(R===void 0){R=" "}return N<=E.length?E:R.repeat(N-E.length)+E}E.padLeft=padLeft;function padRight(E,N,R){if(R===void 0){R=" "}return N<=E.length?E:E+R.repeat(N-E.length)}E.padRight=padRight;function takeWhile(E,N){var R=E.length;var j=0;while(j<R&&N(E[j])){j++}return E.slice(0,j)}E.takeWhile=takeWhile;E.trimString=!!String.prototype.trim?function(E){return E.trim()}:function(N){return E.trimStringEnd(E.trimStringStart(N))};E.trimStringEnd=!!String.prototype.trimEnd?function(E){return E.trimEnd()}:trimEndImpl;E.trimStringStart=!!String.prototype.trimStart?function(E){return E.trimStart()}:function(E){return E.replace(/^\s+/g,"")};function trimEndImpl(N){var R=N.length-1;while(R>=0){if(!E.isWhiteSpaceLike(N.charCodeAt(R)))break;R--}return N.slice(0,R+1)}})(ce||(ce={}));var ce;(function(E){var N;(function(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"})(N=E.LogLevel||(E.LogLevel={}));var R;(function(R){var j;var $=0;R.currentLogLevel=N.Warning;R.isDebugging=false;function getTypeScriptVersion(){return j!==null&&j!==void 0?j:j=new E.Version(E.version)}R.getTypeScriptVersion=getTypeScriptVersion;function shouldLog(E){return R.currentLogLevel<=E}R.shouldLog=shouldLog;function logMessage(E,N){if(R.loggingHost&&shouldLog(E)){R.loggingHost.log(E,N)}}function log(E){logMessage(N.Info,E)}R.log=log;(function(E){function error(E){logMessage(N.Error,E)}E.error=error;function warn(E){logMessage(N.Warning,E)}E.warn=warn;function log(E){logMessage(N.Info,E)}E.log=log;function trace(E){logMessage(N.Verbose,E)}E.trace=trace})(log=R.log||(R.log={}));var q={};function getAssertionLevel(){return $}R.getAssertionLevel=getAssertionLevel;function setAssertionLevel(N){var j=$;$=N;if(N>j){for(var G=0,ie=E.getOwnKeys(q);G<ie.length;G++){var ae=ie[G];var ce=q[ae];if(ce!==undefined&&R[ae]!==ce.assertion&&N>=ce.level){R[ae]=ce;q[ae]=undefined}}}}R.setAssertionLevel=setAssertionLevel;function shouldAssert(E){return $>=E}R.shouldAssert=shouldAssert;function shouldAssertFunction(N,j){if(!shouldAssert(N)){q[j]={level:N,assertion:R[j]};R[j]=E.noop;return false}return true}function fail(E,N){debugger;var R=new Error(E?"Debug Failure. "+E:"Debug Failure.");if(Error.captureStackTrace){Error.captureStackTrace(R,N||fail)}throw R}R.fail=fail;function failBadSyntaxKind(E,N,R){return fail((N||"Unexpected node.")+"\r\nNode "+formatSyntaxKind(E.kind)+" was unexpected.",R||failBadSyntaxKind)}R.failBadSyntaxKind=failBadSyntaxKind;function assert(E,N,R,j){if(!E){N=N?"False expression: "+N:"False expression.";if(R){N+="\r\nVerbose Debug Information: "+(typeof R==="string"?R:R())}fail(N,j||assert)}}R.assert=assert;function assertEqual(E,N,R,j,$){if(E!==N){var q=R?j?R+" "+j:R:"";fail("Expected "+E+" === "+N+". "+q,$||assertEqual)}}R.assertEqual=assertEqual;function assertLessThan(E,N,R,j){if(E>=N){fail("Expected "+E+" < "+N+". "+(R||""),j||assertLessThan)}}R.assertLessThan=assertLessThan;function assertLessThanOrEqual(E,N,R){if(E>N){fail("Expected "+E+" <= "+N,R||assertLessThanOrEqual)}}R.assertLessThanOrEqual=assertLessThanOrEqual;function assertGreaterThanOrEqual(E,N,R){if(E<N){fail("Expected "+E+" >= "+N,R||assertGreaterThanOrEqual)}}R.assertGreaterThanOrEqual=assertGreaterThanOrEqual;function assertIsDefined(E,N,R){if(E===undefined||E===null){fail(N,R||assertIsDefined)}}R.assertIsDefined=assertIsDefined;function checkDefined(E,N,R){assertIsDefined(E,N,R||checkDefined);return E}R.checkDefined=checkDefined;R.assertDefined=checkDefined;function assertEachIsDefined(E,N,R){for(var j=0,$=E;j<$.length;j++){var q=$[j];assertIsDefined(q,N,R||assertEachIsDefined)}}R.assertEachIsDefined=assertEachIsDefined;function checkEachDefined(E,N,R){assertEachIsDefined(E,N,R||checkEachDefined);return E}R.checkEachDefined=checkEachDefined;R.assertEachDefined=checkEachDefined;function assertNever(N,R,j){if(R===void 0){R="Illegal value:"}var $=typeof N==="object"&&E.hasProperty(N,"kind")&&E.hasProperty(N,"pos")&&formatSyntaxKind?"SyntaxKind: "+formatSyntaxKind(N.kind):JSON.stringify(N);return fail(R+" "+$,j||assertNever)}R.assertNever=assertNever;function assertEachNode(N,R,j,$){if(shouldAssertFunction(1,"assertEachNode")){assert(R===undefined||E.every(N,R),j||"Unexpected node.",(function(){return"Node array did not pass test '"+getFunctionName(R)+"'."}),$||assertEachNode)}}R.assertEachNode=assertEachNode;function assertNode(E,N,R,j){if(shouldAssertFunction(1,"assertNode")){assert(E!==undefined&&(N===undefined||N(E)),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" did not pass test '"+getFunctionName(N)+"'."}),j||assertNode)}}R.assertNode=assertNode;function assertNotNode(E,N,R,j){if(shouldAssertFunction(1,"assertNotNode")){assert(E===undefined||N===undefined||!N(E),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E.kind)+" should not have passed test '"+getFunctionName(N)+"'."}),j||assertNotNode)}}R.assertNotNode=assertNotNode;function assertOptionalNode(E,N,R,j){if(shouldAssertFunction(1,"assertOptionalNode")){assert(N===undefined||E===undefined||N(E),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" did not pass test '"+getFunctionName(N)+"'."}),j||assertOptionalNode)}}R.assertOptionalNode=assertOptionalNode;function assertOptionalToken(E,N,R,j){if(shouldAssertFunction(1,"assertOptionalToken")){assert(N===undefined||E===undefined||E.kind===N,R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" was not a '"+formatSyntaxKind(N)+"' token."}),j||assertOptionalToken)}}R.assertOptionalToken=assertOptionalToken;function assertMissingNode(E,N,R){if(shouldAssertFunction(1,"assertMissingNode")){assert(E===undefined,N||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E.kind)+" was unexpected'."}),R||assertMissingNode)}}R.assertMissingNode=assertMissingNode;function type(E){}R.type=type;function getFunctionName(E){if(typeof E!=="function"){return""}else if(E.hasOwnProperty("name")){return E.name}else{var N=Function.prototype.toString.call(E);var R=/^function\s+([\w\$]+)\s*\(/.exec(N);return R?R[1]:""}}R.getFunctionName=getFunctionName;function formatSymbol(N){return"{ name: "+E.unescapeLeadingUnderscores(N.escapedName)+"; flags: "+formatSymbolFlags(N.flags)+"; declarations: "+E.map(N.declarations,(function(E){return formatSyntaxKind(E.kind)}))+" }"}R.formatSymbol=formatSymbol;function formatEnum(E,N,R){if(E===void 0){E=0}var j=getEnumMembers(N);if(E===0){return j.length>0&&j[0][0]===0?j[0][1]:"0"}if(R){var $="";var q=E;for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G],ce=ae[0],le=ae[1];if(ce>E){break}if(ce!==0&&ce&E){$=""+$+($?"|":"")+le;q&=~ce}}if(q===0){return $}}else{for(var _e=0,Ee=j;_e<Ee.length;_e++){var Te=Ee[_e],ce=Te[0],le=Te[1];if(ce===E){return le}}}return E.toString()}R.formatEnum=formatEnum;function getEnumMembers(N){var R=[];for(var j in N){var $=N[j];if(typeof $==="number"){R.push([$,j])}}return E.stableSort(R,(function(N,R){return E.compareValues(N[0],R[0])}))}function formatSyntaxKind(N){return formatEnum(N,E.SyntaxKind,false)}R.formatSyntaxKind=formatSyntaxKind;function formatNodeFlags(N){return formatEnum(N,E.NodeFlags,true)}R.formatNodeFlags=formatNodeFlags;function formatModifierFlags(N){return formatEnum(N,E.ModifierFlags,true)}R.formatModifierFlags=formatModifierFlags;function formatTransformFlags(N){return formatEnum(N,E.TransformFlags,true)}R.formatTransformFlags=formatTransformFlags;function formatEmitFlags(N){return formatEnum(N,E.EmitFlags,true)}R.formatEmitFlags=formatEmitFlags;function formatSymbolFlags(N){return formatEnum(N,E.SymbolFlags,true)}R.formatSymbolFlags=formatSymbolFlags;function formatTypeFlags(N){return formatEnum(N,E.TypeFlags,true)}R.formatTypeFlags=formatTypeFlags;function formatSignatureFlags(N){return formatEnum(N,E.SignatureFlags,true)}R.formatSignatureFlags=formatSignatureFlags;function formatObjectFlags(N){return formatEnum(N,E.ObjectFlags,true)}R.formatObjectFlags=formatObjectFlags;function formatFlowFlags(N){return formatEnum(N,E.FlowFlags,true)}R.formatFlowFlags=formatFlowFlags;var G=false;var ie;function extendedDebug(){enableDebugInfo();if(!ie){throw new Error("Debugging helpers could not be loaded.")}return ie}function printControlFlowGraph(E){return console.log(formatControlFlowGraph(E))}R.printControlFlowGraph=printControlFlowGraph;function formatControlFlowGraph(E){return extendedDebug().formatControlFlowGraph(E)}R.formatControlFlowGraph=formatControlFlowGraph;var ae;function attachFlowNodeDebugInfoWorker(N){if(!("__debugFlowFlags"in N)){Object.defineProperties(N,{__tsDebuggerDisplay:{value:function(){var E=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";var N=this.flags&~(2048-1);return""+E+(N?" ("+formatFlowFlags(N)+")":"")}},__debugFlowFlags:{get:function(){return formatEnum(this.flags,E.FlowFlags,true)}},__debugToString:{value:function(){return formatControlFlowGraph(this)}}})}}function attachFlowNodeDebugInfo(E){if(G){if(typeof Object.setPrototypeOf==="function"){if(!ae){ae=Object.create(Object.prototype);attachFlowNodeDebugInfoWorker(ae)}Object.setPrototypeOf(E,ae)}else{attachFlowNodeDebugInfoWorker(E)}}}R.attachFlowNodeDebugInfo=attachFlowNodeDebugInfo;var ce;function attachNodeArrayDebugInfoWorker(E){if(!("__tsDebuggerDisplay"in E)){Object.defineProperties(E,{__tsDebuggerDisplay:{value:function(E){E=String(E).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]");return"NodeArray "+E}}})}}function attachNodeArrayDebugInfo(E){if(G){if(typeof Object.setPrototypeOf==="function"){if(!ce){ce=Object.create(Array.prototype);attachNodeArrayDebugInfoWorker(ce)}Object.setPrototypeOf(E,ce)}else{attachNodeArrayDebugInfoWorker(E)}}}R.attachNodeArrayDebugInfo=attachNodeArrayDebugInfo;function enableDebugInfo(){if(G)return;var N;var R;function getWeakTypeTextMap(){if(N===undefined){if(typeof WeakMap==="function")N=new WeakMap}return N}function getWeakNodeTextMap(){if(R===undefined){if(typeof WeakMap==="function")R=new WeakMap}return R}Object.defineProperties(E.objectAllocator.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var N=this.flags&33554432?"TransientSymbol":"Symbol";var R=this.flags&~33554432;return N+" '"+E.symbolName(this)+"'"+(R?" ("+formatSymbolFlags(R)+")":"")}},__debugFlags:{get:function(){return formatSymbolFlags(this.flags)}}});Object.defineProperties(E.objectAllocator.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var N=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&67359327?"IntrinsicType "+this.intrinsicName: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";var R=this.flags&524288?this.objectFlags&~1343:0;return""+N+(this.symbol?" '"+E.symbolName(this.symbol)+"'":"")+(R?" ("+formatObjectFlags(R)+")":"")}},__debugFlags:{get:function(){return formatTypeFlags(this.flags)}},__debugObjectFlags:{get:function(){return this.flags&524288?formatObjectFlags(this.objectFlags):""}},__debugTypeToString:{value:function(){var E=getWeakTypeTextMap();var N=E===null||E===void 0?void 0:E.get(this);if(N===undefined){N=this.checker.typeToString(this);E===null||E===void 0?void 0:E.set(this,N)}return N}}});Object.defineProperties(E.objectAllocator.getSignatureConstructor().prototype,{__debugFlags:{get:function(){return formatSignatureFlags(this.flags)}},__debugSignatureToString:{value:function(){var E;return(E=this.checker)===null||E===void 0?void 0:E.signatureToString(this)}}});var j=[E.objectAllocator.getNodeConstructor(),E.objectAllocator.getIdentifierConstructor(),E.objectAllocator.getTokenConstructor(),E.objectAllocator.getSourceFileConstructor()];for(var $=0,q=j;$<q.length;$++){var ae=q[$];if(!ae.prototype.hasOwnProperty("__debugKind")){Object.defineProperties(ae.prototype,{__tsDebuggerDisplay:{value:function(){var N=E.isGeneratedIdentifier(this)?"GeneratedIdentifier":E.isIdentifier(this)?"Identifier '"+E.idText(this)+"'":E.isPrivateIdentifier(this)?"PrivateIdentifier '"+E.idText(this)+"'":E.isStringLiteral(this)?"StringLiteral "+JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"..."):E.isNumericLiteral(this)?"NumericLiteral "+this.text:E.isBigIntLiteral(this)?"BigIntLiteral "+this.text+"n":E.isTypeParameterDeclaration(this)?"TypeParameterDeclaration":E.isParameter(this)?"ParameterDeclaration":E.isConstructorDeclaration(this)?"ConstructorDeclaration":E.isGetAccessorDeclaration(this)?"GetAccessorDeclaration":E.isSetAccessorDeclaration(this)?"SetAccessorDeclaration":E.isCallSignatureDeclaration(this)?"CallSignatureDeclaration":E.isConstructSignatureDeclaration(this)?"ConstructSignatureDeclaration":E.isIndexSignatureDeclaration(this)?"IndexSignatureDeclaration":E.isTypePredicateNode(this)?"TypePredicateNode":E.isTypeReferenceNode(this)?"TypeReferenceNode":E.isFunctionTypeNode(this)?"FunctionTypeNode":E.isConstructorTypeNode(this)?"ConstructorTypeNode":E.isTypeQueryNode(this)?"TypeQueryNode":E.isTypeLiteralNode(this)?"TypeLiteralNode":E.isArrayTypeNode(this)?"ArrayTypeNode":E.isTupleTypeNode(this)?"TupleTypeNode":E.isOptionalTypeNode(this)?"OptionalTypeNode":E.isRestTypeNode(this)?"RestTypeNode":E.isUnionTypeNode(this)?"UnionTypeNode":E.isIntersectionTypeNode(this)?"IntersectionTypeNode":E.isConditionalTypeNode(this)?"ConditionalTypeNode":E.isInferTypeNode(this)?"InferTypeNode":E.isParenthesizedTypeNode(this)?"ParenthesizedTypeNode":E.isThisTypeNode(this)?"ThisTypeNode":E.isTypeOperatorNode(this)?"TypeOperatorNode":E.isIndexedAccessTypeNode(this)?"IndexedAccessTypeNode":E.isMappedTypeNode(this)?"MappedTypeNode":E.isLiteralTypeNode(this)?"LiteralTypeNode":E.isNamedTupleMember(this)?"NamedTupleMember":E.isImportTypeNode(this)?"ImportTypeNode":formatSyntaxKind(this.kind);return""+N+(this.flags?" ("+formatNodeFlags(this.flags)+")":"")}},__debugKind:{get:function(){return formatSyntaxKind(this.kind)}},__debugNodeFlags:{get:function(){return formatNodeFlags(this.flags)}},__debugModifierFlags:{get:function(){return formatModifierFlags(E.getEffectiveModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return formatTransformFlags(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return E.isParseTreeNode(this)}},__debugEmitFlags:{get:function(){return formatEmitFlags(E.getEmitFlags(this))}},__debugGetText:{value:function(N){if(E.nodeIsSynthesized(this))return"";var R=getWeakNodeTextMap();var j=R===null||R===void 0?void 0:R.get(this);if(j===undefined){var $=E.getParseTreeNode(this);var q=$&&E.getSourceFileOfNode($);j=q?E.getSourceTextOfNodeFromSourceFile(q,$,N):"";R===null||R===void 0?void 0:R.set(this,j)}return j}}})}}try{if(E.sys&&E.sys.require){var ce=E.getDirectoryPath(E.resolvePath(E.sys.getExecutingFilePath()));var le=E.sys.require(ce,"./compiler-debug");if(!le.error){le.module.init(E);ie=le.module}}}catch(E){}G=true}R.enableDebugInfo=enableDebugInfo;function formatDeprecationMessage(N,R,j,$,q){var G=R?"DeprecationError: ":"DeprecationWarning: ";G+="'"+N+"' ";G+=$?"has been deprecated since v"+$:"is deprecated";G+=R?" and can no longer be used.":j?" and will no longer be usable after v"+j+".":".";G+=q?" "+E.formatStringFromArgs(q,[N],0):"";return G}function createErrorDeprecation(E,N,R,j){var $=formatDeprecationMessage(E,true,N,R,j);return function(){throw new TypeError($)}}function createWarningDeprecation(E,N,R,j){var $=false;return function(){if(!$){log.warn(formatDeprecationMessage(E,false,N,R,j));$=true}}}function createDeprecation(N,R){var j,$;if(R===void 0){R={}}var q=typeof R.typeScriptVersion==="string"?new E.Version(R.typeScriptVersion):(j=R.typeScriptVersion)!==null&&j!==void 0?j:getTypeScriptVersion();var G=typeof R.errorAfter==="string"?new E.Version(R.errorAfter):R.errorAfter;var ie=typeof R.warnAfter==="string"?new E.Version(R.warnAfter):R.warnAfter;var ae=typeof R.since==="string"?new E.Version(R.since):($=R.since)!==null&&$!==void 0?$:ie;var ce=R.error||G&&q.compareTo(G)<=0;var le=!ie||q.compareTo(ie)>=0;return ce?createErrorDeprecation(N,G,ae,R.message):le?createWarningDeprecation(N,G,ae,R.message):E.noop}function wrapFunction(E,N){return function(){E();return N.apply(this,arguments)}}function deprecate(E,N){var R=createDeprecation(getFunctionName(E),N);return wrapFunction(R,E)}R.deprecate=deprecate})(R=E.Debug||(E.Debug={}))})(ce||(ce={}));var ce;(function(E){var N=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i;var R=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i;var j=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;var $=/^(0|[1-9]\d*)$/;var q=function(){function Version(N,$,q,G,ie){if($===void 0){$=0}if(q===void 0){q=0}if(G===void 0){G=""}if(ie===void 0){ie=""}if(typeof N==="string"){var ae=E.Debug.checkDefined(tryParseComponents(N),"Invalid version");N=ae.major,$=ae.minor,q=ae.patch,G=ae.prerelease,ie=ae.build}E.Debug.assert(N>=0,"Invalid argument: major");E.Debug.assert($>=0,"Invalid argument: minor");E.Debug.assert(q>=0,"Invalid argument: patch");E.Debug.assert(!G||R.test(G),"Invalid argument: prerelease");E.Debug.assert(!ie||j.test(ie),"Invalid argument: build");this.major=N;this.minor=$;this.patch=q;this.prerelease=G?G.split("."):E.emptyArray;this.build=ie?ie.split("."):E.emptyArray}Version.tryParse=function(E){var N=tryParseComponents(E);if(!N)return undefined;var R=N.major,j=N.minor,$=N.patch,q=N.prerelease,G=N.build;return new Version(R,j,$,q,G)};Version.prototype.compareTo=function(N){if(this===N)return 0;if(N===undefined)return 1;return E.compareValues(this.major,N.major)||E.compareValues(this.minor,N.minor)||E.compareValues(this.patch,N.patch)||comparePrereleaseIdentifiers(this.prerelease,N.prerelease)};Version.prototype.increment=function(N){switch(N){case"major":return new Version(this.major+1,0,0);case"minor":return new Version(this.major,this.minor+1,0);case"patch":return new Version(this.major,this.minor,this.patch+1);default:return E.Debug.assertNever(N)}};Version.prototype.toString=function(){var N=this.major+"."+this.minor+"."+this.patch;if(E.some(this.prerelease))N+="-"+this.prerelease.join(".");if(E.some(this.build))N+="+"+this.build.join(".");return N};Version.zero=new Version(0,0,0);return Version}();E.Version=q;function tryParseComponents(E){var $=N.exec(E);if(!$)return undefined;var q=$[1],G=$[2],ie=G===void 0?"0":G,ae=$[3],ce=ae===void 0?"0":ae,le=$[4],_e=le===void 0?"":le,Ee=$[5],Te=Ee===void 0?"":Ee;if(_e&&!R.test(_e))return undefined;if(Te&&!j.test(Te))return undefined;return{major:parseInt(q,10),minor:parseInt(ie,10),patch:parseInt(ce,10),prerelease:_e,build:Te}}function comparePrereleaseIdentifiers(N,R){if(N===R)return 0;if(N.length===0)return R.length===0?0:1;if(R.length===0)return-1;var j=Math.min(N.length,R.length);for(var q=0;q<j;q++){var G=N[q];var ie=R[q];if(G===ie)continue;var ae=$.test(G);var ce=$.test(ie);if(ae||ce){if(ae!==ce)return ae?-1:1;var le=E.compareValues(+G,+ie);if(le)return le}else{var le=E.compareStringsCaseSensitive(G,ie);if(le)return le}}return E.compareValues(N.length,R.length)}var G=function(){function VersionRange(N){this._alternatives=N?E.Debug.checkDefined(parseRange(N),"Invalid range spec."):E.emptyArray}VersionRange.tryParse=function(E){var N=parseRange(E);if(N){var R=new VersionRange("");R._alternatives=N;return R}return undefined};VersionRange.prototype.test=function(E){if(typeof E==="string")E=new q(E);return testDisjunction(E,this._alternatives)};VersionRange.prototype.toString=function(){return formatDisjunction(this._alternatives)};return VersionRange}();E.VersionRange=G;var ie=/\|\|/g;var ae=/\s+/g;var ce=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i;var le=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i;var _e=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i;function parseRange(N){var R=[];for(var j=0,$=E.trimString(N).split(ie);j<$.length;j++){var q=$[j];if(!q)continue;var G=[];q=E.trimString(q);var ce=le.exec(q);if(ce){if(!parseHyphen(ce[1],ce[2],G))return undefined}else{for(var Ee=0,Te=q.split(ae);Ee<Te.length;Ee++){var we=Te[Ee];var Ie=_e.exec(E.trimString(we));if(!Ie||!parseComparator(Ie[1],Ie[2],G))return undefined}}R.push(G)}return R}function parsePartial(E){var N=ce.exec(E);if(!N)return undefined;var R=N[1],j=N[2],$=j===void 0?"*":j,G=N[3],ie=G===void 0?"*":G,ae=N[4],le=N[5];var _e=new q(isWildcard(R)?0:parseInt(R,10),isWildcard(R)||isWildcard($)?0:parseInt($,10),isWildcard(R)||isWildcard($)||isWildcard(ie)?0:parseInt(ie,10),ae,le);return{version:_e,major:R,minor:$,patch:ie}}function parseHyphen(E,N,R){var j=parsePartial(E);if(!j)return false;var $=parsePartial(N);if(!$)return false;if(!isWildcard(j.major)){R.push(createComparator(">=",j.version))}if(!isWildcard($.major)){R.push(isWildcard($.minor)?createComparator("<",$.version.increment("major")):isWildcard($.patch)?createComparator("<",$.version.increment("minor")):createComparator("<=",$.version))}return true}function parseComparator(E,N,R){var j=parsePartial(N);if(!j)return false;var $=j.version,G=j.major,ie=j.minor,ae=j.patch;if(!isWildcard(G)){switch(E){case"~":R.push(createComparator(">=",$));R.push(createComparator("<",$.increment(isWildcard(ie)?"major":"minor")));break;case"^":R.push(createComparator(">=",$));R.push(createComparator("<",$.increment($.major>0||isWildcard(ie)?"major":$.minor>0||isWildcard(ae)?"minor":"patch")));break;case"<":case">=":R.push(createComparator(E,$));break;case"<=":case">":R.push(isWildcard(ie)?createComparator(E==="<="?"<":">=",$.increment("major")):isWildcard(ae)?createComparator(E==="<="?"<":">=",$.increment("minor")):createComparator(E,$));break;case"=":case undefined:if(isWildcard(ie)||isWildcard(ae)){R.push(createComparator(">=",$));R.push(createComparator("<",$.increment(isWildcard(ie)?"major":"minor")))}else{R.push(createComparator("=",$))}break;default:return false}}else if(E==="<"||E===">"){R.push(createComparator("<",q.zero))}return true}function isWildcard(E){return E==="*"||E==="x"||E==="X"}function createComparator(E,N){return{operator:E,operand:N}}function testDisjunction(E,N){if(N.length===0)return true;for(var R=0,j=N;R<j.length;R++){var $=j[R];if(testAlternative(E,$))return true}return false}function testAlternative(E,N){for(var R=0,j=N;R<j.length;R++){var $=j[R];if(!testComparator(E,$.operator,$.operand))return false}return true}function testComparator(N,R,j){var $=N.compareTo(j);switch(R){case"<":return $<0;case"<=":return $<=0;case">":return $>0;case">=":return $>=0;case"=":return $===0;default:return E.Debug.assertNever(R)}}function formatDisjunction(N){return E.map(N,formatAlternative).join(" || ")||"*"}function formatAlternative(N){return E.map(N,formatComparator).join(" ")}function formatComparator(E){return""+E.operator+E.operand}})(ce||(ce={}));var ce;(function(E){function hasRequiredAPI(E,N){return typeof E==="object"&&typeof E.timeOrigin==="number"&&typeof E.mark==="function"&&typeof E.measure==="function"&&typeof E.now==="function"&&typeof N==="function"}function tryGetWebPerformanceHooks(){if(typeof performance==="object"&&typeof PerformanceObserver==="function"&&hasRequiredAPI(performance,PerformanceObserver)){return{shouldWriteNativeEvents:true,performance:performance,PerformanceObserver:PerformanceObserver}}}function tryGetNodePerformanceHooks(){if(typeof process!=="undefined"&&process.nextTick&&!process.browser&&"object"==="object"&&"function"==="function"){try{var N;var j=R(4074),$=j.performance,q=j.PerformanceObserver;if(hasRequiredAPI($,q)){N=$;var G=new E.Version(process.versions.node);var ie=new E.VersionRange("<12.16.3 || 13 <13.13");if(ie.test(G)){N={get timeOrigin(){return $.timeOrigin},now:function(){return $.now()},mark:function(E){return $.mark(E)},measure:function(E,N,R){if(N===void 0){N="nodeStart"}if(R===undefined){R="__performance.measure-fix__";$.mark(R)}$.measure(E,N,R);if(R==="__performance.measure-fix__"){$.clearMarks("__performance.measure-fix__")}}}}return{shouldWriteNativeEvents:false,performance:N,PerformanceObserver:q}}}catch(E){}}}var N=tryGetWebPerformanceHooks()||tryGetNodePerformanceHooks();var j=N===null||N===void 0?void 0:N.performance;function tryGetNativePerformanceHooks(){return N}E.tryGetNativePerformanceHooks=tryGetNativePerformanceHooks;E.timestamp=j?function(){return j.now()}:Date.now?Date.now:function(){return+new Date}})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;var j;function createTimerIf(E,R,j,$){return E?createTimer(R,j,$):N.nullTimer}N.createTimerIf=createTimerIf;function createTimer(N,R,j){var $=0;return{enter:enter,exit:exit};function enter(){if(++$===1){mark(R)}}function exit(){if(--$===0){mark(j);measure(N,R,j)}else if($<0){E.Debug.fail("enter/exit count does not match.")}}}N.createTimer=createTimer;N.nullTimer={enter:E.noop,exit:E.noop};var $=false;var q=E.timestamp();var G=new E.Map;var ie=new E.Map;var ae=new E.Map;function mark(N){var R;if($){var q=(R=ie.get(N))!==null&&R!==void 0?R:0;ie.set(N,q+1);G.set(N,E.timestamp());j===null||j===void 0?void 0:j.mark(N)}}N.mark=mark;function measure(N,R,ie){var ce,le;if($){var _e=(ce=ie!==undefined?G.get(ie):undefined)!==null&&ce!==void 0?ce:E.timestamp();var Ee=(le=R!==undefined?G.get(R):undefined)!==null&&le!==void 0?le:q;var Te=ae.get(N)||0;ae.set(N,Te+(_e-Ee));j===null||j===void 0?void 0:j.measure(N,R,ie)}}N.measure=measure;function getCount(E){return ie.get(E)||0}N.getCount=getCount;function getDuration(E){return ae.get(E)||0}N.getDuration=getDuration;function forEachMeasure(E){ae.forEach((function(N,R){return E(R,N)}))}N.forEachMeasure=forEachMeasure;function isEnabled(){return $}N.isEnabled=isEnabled;function enable(N){var G;if(N===void 0){N=E.sys}if(!$){$=true;R||(R=E.tryGetNativePerformanceHooks());if(R){q=R.performance.timeOrigin;if(R.shouldWriteNativeEvents||((G=N===null||N===void 0?void 0:N.cpuProfilingEnabled)===null||G===void 0?void 0:G.call(N))||(N===null||N===void 0?void 0:N.debugMode)){j=R.performance}}}return true}N.enable=enable;function disable(){if($){G.clear();ie.clear();ae.clear();j=undefined;$=false}}N.disable=disable})(N=E.performance||(E.performance={}))})(ce||(ce={}));var ce;(function(E){var N;var R={logEvent:E.noop,logErrEvent:E.noop,logPerfEvent:E.noop,logInfoEvent:E.noop,logStartCommand:E.noop,logStopCommand:E.noop,logStartUpdateProgram:E.noop,logStopUpdateProgram:E.noop,logStartUpdateGraph:E.noop,logStopUpdateGraph:E.noop,logStartResolveModule:E.noop,logStopResolveModule:E.noop,logStartParseSourceFile:E.noop,logStopParseSourceFile:E.noop,logStartReadFile:E.noop,logStopReadFile:E.noop,logStartBindFile:E.noop,logStopBindFile:E.noop,logStartScheduledOperation:E.noop,logStopScheduledOperation:E.noop};var j;try{var $=(N=process.env.TS_ETW_MODULE_PATH)!==null&&N!==void 0?N:"./node_modules/@microsoft/typescript-etw";j=require($)}catch(E){j=undefined}E.perfLogger=j&&j.logEvent?j:R})(ce||(ce={}));var ce;(function(E){var N;(function(N){var j;var q=0;var G=0;var ie;var ae=[];var ce;var le=[];function startTracing(_e,Ee,Te){E.Debug.assert(!E.tracing,"Tracing already started");if(j===undefined){try{j=R(57147)}catch(E){throw new Error("tracing requires having fs\n(original error: "+(E.message||E)+")")}}ie=_e;ae.length=0;if(ce===undefined){ce=E.combinePaths(Ee,"legend.json")}if(!j.existsSync(Ee)){j.mkdirSync(Ee,{recursive:true})}var we=ie==="build"?"."+process.pid+"-"+ ++q:ie==="server"?"."+process.pid:"";var Ie=E.combinePaths(Ee,"trace"+we+".json");var Ne=E.combinePaths(Ee,"types"+we+".json");le.push({configFilePath:Te,tracePath:Ie,typesPath:Ne});G=j.openSync(Ie,"w");E.tracing=N;var Me={cat:"__metadata",ph:"M",ts:1e3*E.timestamp(),pid:1,tid:1};j.writeSync(G,"[\n"+[$({name:"process_name",args:{name:"tsc"}},Me),$({name:"thread_name",args:{name:"Main"}},Me),$($({name:"TracingStartedInBrowser"},Me),{cat:"disabled-by-default-devtools.timeline"})].map((function(E){return JSON.stringify(E)})).join(",\n"))}N.startTracing=startTracing;function stopTracing(){E.Debug.assert(E.tracing,"Tracing is not in progress");E.Debug.assert(!!ae.length===(ie!=="server"));j.writeSync(G,"\n]\n");j.closeSync(G);E.tracing=undefined;if(ae.length){dumpTypes(ae)}else{le[le.length-1].typesPath=undefined}}N.stopTracing=stopTracing;function recordType(E){if(ie!=="server"){ae.push(E)}}N.recordType=recordType;var _e;(function(E){E["Parse"]="parse";E["Program"]="program";E["Bind"]="bind";E["Check"]="check";E["CheckTypes"]="checkTypes";E["Emit"]="emit";E["Session"]="session"})(_e=N.Phase||(N.Phase={}));function instant(E,N,R){writeEvent("I",E,N,R,'"s":"g"')}N.instant=instant;var Ee=[];function push(N,R,j,$){if($===void 0){$=false}if($){writeEvent("B",N,R,j)}Ee.push({phase:N,name:R,args:j,time:1e3*E.timestamp(),separateBeginAndEnd:$})}N.push=push;function pop(){E.Debug.assert(Ee.length>0);writeStackEvent(Ee.length-1,1e3*E.timestamp());Ee.length--}N.pop=pop;function popAll(){var N=1e3*E.timestamp();for(var R=Ee.length-1;R>=0;R--){writeStackEvent(R,N)}Ee.length=0}N.popAll=popAll;var Te=1e3*10;function writeStackEvent(E,N){var R=Ee[E],j=R.phase,$=R.name,q=R.args,G=R.time,ie=R.separateBeginAndEnd;if(ie){writeEvent("E",j,$,q,undefined,N)}else if(Te-G%Te<=N-G){writeEvent("X",j,$,q,'"dur":'+(N-G),G)}}function writeEvent(N,R,$,q,ae,ce){if(ce===void 0){ce=1e3*E.timestamp()}if(ie==="server"&&R==="checkTypes")return;E.performance.mark("beginTracing");j.writeSync(G,',\n{"pid":1,"tid":1,"ph":"'+N+'","cat":"'+R+'","ts":'+ce+',"name":"'+$+'"');if(ae)j.writeSync(G,","+ae);if(q)j.writeSync(G,',"args":'+JSON.stringify(q));j.writeSync(G,"}");E.performance.mark("endTracing");E.performance.measure("Tracing","beginTracing","endTracing")}function getLocation(N){var R=E.getSourceFileOfNode(N);return!R?undefined:{path:R.path,start:indexFromOne(E.getLineAndCharacterOfPosition(R,N.pos)),end:indexFromOne(E.getLineAndCharacterOfPosition(R,N.end))};function indexFromOne(E){return{line:E.line+1,character:E.character+1}}}function dumpTypes(N){var R,q,G,ie,ae,ce,_e,Ee,Te,we,Ie,Ne,Me,Le,Be,je,Ue,ze,We,Je,Ve,qe;E.performance.mark("beginDumpTypes");var He=le[le.length-1].typesPath;var Ge=j.openSync(He,"w");var Ke=new E.Map;j.writeSync(Ge,"[");var Qe=N.length;for(var Xe=0;Xe<Qe;Xe++){var Ye=N[Xe];var Ze=Ye.objectFlags;var et=(R=Ye.aliasSymbol)!==null&&R!==void 0?R:Ye.symbol;var tt=void 0;if(Ze&16|Ye.flags&2944){try{tt=(q=Ye.checker)===null||q===void 0?void 0:q.typeToString(Ye)}catch(E){tt=undefined}}var rt={};if(Ye.flags&8388608){var nt=Ye;rt={indexedAccessObjectType:(G=nt.objectType)===null||G===void 0?void 0:G.id,indexedAccessIndexType:(ie=nt.indexType)===null||ie===void 0?void 0:ie.id}}var it={};if(Ze&4){var ot=Ye;it={instantiatedType:(ae=ot.target)===null||ae===void 0?void 0:ae.id,typeArguments:(ce=ot.resolvedTypeArguments)===null||ce===void 0?void 0:ce.map((function(E){return E.id})),referenceLocation:getLocation(ot.node)}}var st={};if(Ye.flags&16777216){var ct=Ye;st={conditionalCheckType:(_e=ct.checkType)===null||_e===void 0?void 0:_e.id,conditionalExtendsType:(Ee=ct.extendsType)===null||Ee===void 0?void 0:Ee.id,conditionalTrueType:(we=(Te=ct.resolvedTrueType)===null||Te===void 0?void 0:Te.id)!==null&&we!==void 0?we:-1,conditionalFalseType:(Ne=(Ie=ct.resolvedFalseType)===null||Ie===void 0?void 0:Ie.id)!==null&&Ne!==void 0?Ne:-1}}var ut={};if(Ye.flags&33554432){var dt=Ye;ut={substitutionBaseType:(Me=dt.baseType)===null||Me===void 0?void 0:Me.id,substituteType:(Le=dt.substitute)===null||Le===void 0?void 0:Le.id}}var pt={};if(Ze&1024){var ft=Ye;pt={reverseMappedSourceType:(Be=ft.source)===null||Be===void 0?void 0:Be.id,reverseMappedMappedType:(je=ft.mappedType)===null||je===void 0?void 0:je.id,reverseMappedConstraintType:(Ue=ft.constraintType)===null||Ue===void 0?void 0:Ue.id}}var mt={};if(Ze&256){var ht=Ye;mt={evolvingArrayElementType:ht.elementType.id,evolvingArrayFinalType:(ze=ht.finalArrayType)===null||ze===void 0?void 0:ze.id}}var _t=void 0;var yt=Ye.checker.getRecursionIdentity(Ye);if(yt){_t=Ke.get(yt);if(!_t){_t=Ke.size;Ke.set(yt,_t)}}var vt=$($($($($($($({id:Ye.id,intrinsicName:Ye.intrinsicName,symbolName:(et===null||et===void 0?void 0:et.escapedName)&&E.unescapeLeadingUnderscores(et.escapedName),recursionId:_t,isTuple:Ze&8?true:undefined,unionTypes:Ye.flags&1048576?(We=Ye.types)===null||We===void 0?void 0:We.map((function(E){return E.id})):undefined,intersectionTypes:Ye.flags&2097152?Ye.types.map((function(E){return E.id})):undefined,aliasTypeArguments:(Je=Ye.aliasTypeArguments)===null||Je===void 0?void 0:Je.map((function(E){return E.id})),keyofType:Ye.flags&4194304?(Ve=Ye.type)===null||Ve===void 0?void 0:Ve.id:undefined},rt),it),st),ut),pt),mt),{destructuringPattern:getLocation(Ye.pattern),firstDeclaration:getLocation((qe=et===null||et===void 0?void 0:et.declarations)===null||qe===void 0?void 0:qe[0]),flags:E.Debug.formatTypeFlags(Ye.flags).split("|"),display:tt});j.writeSync(Ge,JSON.stringify(vt));if(Xe<Qe-1){j.writeSync(Ge,",\n")}}j.writeSync(Ge,"]\n");j.closeSync(Ge);E.performance.mark("endDumpTypes");E.performance.measure("Dump types","beginDumpTypes","endDumpTypes")}function dumpLegend(){if(!ce){return}j.writeFileSync(ce,JSON.stringify(le))}N.dumpLegend=dumpLegend})(N||(N={}));E.startTracing=N.startTracing;E.dumpTracingLegend=N.dumpLegend})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Unknown"]=0]="Unknown";E[E["EndOfFileToken"]=1]="EndOfFileToken";E[E["SingleLineCommentTrivia"]=2]="SingleLineCommentTrivia";E[E["MultiLineCommentTrivia"]=3]="MultiLineCommentTrivia";E[E["NewLineTrivia"]=4]="NewLineTrivia";E[E["WhitespaceTrivia"]=5]="WhitespaceTrivia";E[E["ShebangTrivia"]=6]="ShebangTrivia";E[E["ConflictMarkerTrivia"]=7]="ConflictMarkerTrivia";E[E["NumericLiteral"]=8]="NumericLiteral";E[E["BigIntLiteral"]=9]="BigIntLiteral";E[E["StringLiteral"]=10]="StringLiteral";E[E["JsxText"]=11]="JsxText";E[E["JsxTextAllWhiteSpaces"]=12]="JsxTextAllWhiteSpaces";E[E["RegularExpressionLiteral"]=13]="RegularExpressionLiteral";E[E["NoSubstitutionTemplateLiteral"]=14]="NoSubstitutionTemplateLiteral";E[E["TemplateHead"]=15]="TemplateHead";E[E["TemplateMiddle"]=16]="TemplateMiddle";E[E["TemplateTail"]=17]="TemplateTail";E[E["OpenBraceToken"]=18]="OpenBraceToken";E[E["CloseBraceToken"]=19]="CloseBraceToken";E[E["OpenParenToken"]=20]="OpenParenToken";E[E["CloseParenToken"]=21]="CloseParenToken";E[E["OpenBracketToken"]=22]="OpenBracketToken";E[E["CloseBracketToken"]=23]="CloseBracketToken";E[E["DotToken"]=24]="DotToken";E[E["DotDotDotToken"]=25]="DotDotDotToken";E[E["SemicolonToken"]=26]="SemicolonToken";E[E["CommaToken"]=27]="CommaToken";E[E["QuestionDotToken"]=28]="QuestionDotToken";E[E["LessThanToken"]=29]="LessThanToken";E[E["LessThanSlashToken"]=30]="LessThanSlashToken";E[E["GreaterThanToken"]=31]="GreaterThanToken";E[E["LessThanEqualsToken"]=32]="LessThanEqualsToken";E[E["GreaterThanEqualsToken"]=33]="GreaterThanEqualsToken";E[E["EqualsEqualsToken"]=34]="EqualsEqualsToken";E[E["ExclamationEqualsToken"]=35]="ExclamationEqualsToken";E[E["EqualsEqualsEqualsToken"]=36]="EqualsEqualsEqualsToken";E[E["ExclamationEqualsEqualsToken"]=37]="ExclamationEqualsEqualsToken";E[E["EqualsGreaterThanToken"]=38]="EqualsGreaterThanToken";E[E["PlusToken"]=39]="PlusToken";E[E["MinusToken"]=40]="MinusToken";E[E["AsteriskToken"]=41]="AsteriskToken";E[E["AsteriskAsteriskToken"]=42]="AsteriskAsteriskToken";E[E["SlashToken"]=43]="SlashToken";E[E["PercentToken"]=44]="PercentToken";E[E["PlusPlusToken"]=45]="PlusPlusToken";E[E["MinusMinusToken"]=46]="MinusMinusToken";E[E["LessThanLessThanToken"]=47]="LessThanLessThanToken";E[E["GreaterThanGreaterThanToken"]=48]="GreaterThanGreaterThanToken";E[E["GreaterThanGreaterThanGreaterThanToken"]=49]="GreaterThanGreaterThanGreaterThanToken";E[E["AmpersandToken"]=50]="AmpersandToken";E[E["BarToken"]=51]="BarToken";E[E["CaretToken"]=52]="CaretToken";E[E["ExclamationToken"]=53]="ExclamationToken";E[E["TildeToken"]=54]="TildeToken";E[E["AmpersandAmpersandToken"]=55]="AmpersandAmpersandToken";E[E["BarBarToken"]=56]="BarBarToken";E[E["QuestionToken"]=57]="QuestionToken";E[E["ColonToken"]=58]="ColonToken";E[E["AtToken"]=59]="AtToken";E[E["QuestionQuestionToken"]=60]="QuestionQuestionToken";E[E["BacktickToken"]=61]="BacktickToken";E[E["HashToken"]=62]="HashToken";E[E["EqualsToken"]=63]="EqualsToken";E[E["PlusEqualsToken"]=64]="PlusEqualsToken";E[E["MinusEqualsToken"]=65]="MinusEqualsToken";E[E["AsteriskEqualsToken"]=66]="AsteriskEqualsToken";E[E["AsteriskAsteriskEqualsToken"]=67]="AsteriskAsteriskEqualsToken";E[E["SlashEqualsToken"]=68]="SlashEqualsToken";E[E["PercentEqualsToken"]=69]="PercentEqualsToken";E[E["LessThanLessThanEqualsToken"]=70]="LessThanLessThanEqualsToken";E[E["GreaterThanGreaterThanEqualsToken"]=71]="GreaterThanGreaterThanEqualsToken";E[E["GreaterThanGreaterThanGreaterThanEqualsToken"]=72]="GreaterThanGreaterThanGreaterThanEqualsToken";E[E["AmpersandEqualsToken"]=73]="AmpersandEqualsToken";E[E["BarEqualsToken"]=74]="BarEqualsToken";E[E["BarBarEqualsToken"]=75]="BarBarEqualsToken";E[E["AmpersandAmpersandEqualsToken"]=76]="AmpersandAmpersandEqualsToken";E[E["QuestionQuestionEqualsToken"]=77]="QuestionQuestionEqualsToken";E[E["CaretEqualsToken"]=78]="CaretEqualsToken";E[E["Identifier"]=79]="Identifier";E[E["PrivateIdentifier"]=80]="PrivateIdentifier";E[E["BreakKeyword"]=81]="BreakKeyword";E[E["CaseKeyword"]=82]="CaseKeyword";E[E["CatchKeyword"]=83]="CatchKeyword";E[E["ClassKeyword"]=84]="ClassKeyword";E[E["ConstKeyword"]=85]="ConstKeyword";E[E["ContinueKeyword"]=86]="ContinueKeyword";E[E["DebuggerKeyword"]=87]="DebuggerKeyword";E[E["DefaultKeyword"]=88]="DefaultKeyword";E[E["DeleteKeyword"]=89]="DeleteKeyword";E[E["DoKeyword"]=90]="DoKeyword";E[E["ElseKeyword"]=91]="ElseKeyword";E[E["EnumKeyword"]=92]="EnumKeyword";E[E["ExportKeyword"]=93]="ExportKeyword";E[E["ExtendsKeyword"]=94]="ExtendsKeyword";E[E["FalseKeyword"]=95]="FalseKeyword";E[E["FinallyKeyword"]=96]="FinallyKeyword";E[E["ForKeyword"]=97]="ForKeyword";E[E["FunctionKeyword"]=98]="FunctionKeyword";E[E["IfKeyword"]=99]="IfKeyword";E[E["ImportKeyword"]=100]="ImportKeyword";E[E["InKeyword"]=101]="InKeyword";E[E["InstanceOfKeyword"]=102]="InstanceOfKeyword";E[E["NewKeyword"]=103]="NewKeyword";E[E["NullKeyword"]=104]="NullKeyword";E[E["ReturnKeyword"]=105]="ReturnKeyword";E[E["SuperKeyword"]=106]="SuperKeyword";E[E["SwitchKeyword"]=107]="SwitchKeyword";E[E["ThisKeyword"]=108]="ThisKeyword";E[E["ThrowKeyword"]=109]="ThrowKeyword";E[E["TrueKeyword"]=110]="TrueKeyword";E[E["TryKeyword"]=111]="TryKeyword";E[E["TypeOfKeyword"]=112]="TypeOfKeyword";E[E["VarKeyword"]=113]="VarKeyword";E[E["VoidKeyword"]=114]="VoidKeyword";E[E["WhileKeyword"]=115]="WhileKeyword";E[E["WithKeyword"]=116]="WithKeyword";E[E["ImplementsKeyword"]=117]="ImplementsKeyword";E[E["InterfaceKeyword"]=118]="InterfaceKeyword";E[E["LetKeyword"]=119]="LetKeyword";E[E["PackageKeyword"]=120]="PackageKeyword";E[E["PrivateKeyword"]=121]="PrivateKeyword";E[E["ProtectedKeyword"]=122]="ProtectedKeyword";E[E["PublicKeyword"]=123]="PublicKeyword";E[E["StaticKeyword"]=124]="StaticKeyword";E[E["YieldKeyword"]=125]="YieldKeyword";E[E["AbstractKeyword"]=126]="AbstractKeyword";E[E["AsKeyword"]=127]="AsKeyword";E[E["AssertsKeyword"]=128]="AssertsKeyword";E[E["AnyKeyword"]=129]="AnyKeyword";E[E["AsyncKeyword"]=130]="AsyncKeyword";E[E["AwaitKeyword"]=131]="AwaitKeyword";E[E["BooleanKeyword"]=132]="BooleanKeyword";E[E["ConstructorKeyword"]=133]="ConstructorKeyword";E[E["DeclareKeyword"]=134]="DeclareKeyword";E[E["GetKeyword"]=135]="GetKeyword";E[E["InferKeyword"]=136]="InferKeyword";E[E["IntrinsicKeyword"]=137]="IntrinsicKeyword";E[E["IsKeyword"]=138]="IsKeyword";E[E["KeyOfKeyword"]=139]="KeyOfKeyword";E[E["ModuleKeyword"]=140]="ModuleKeyword";E[E["NamespaceKeyword"]=141]="NamespaceKeyword";E[E["NeverKeyword"]=142]="NeverKeyword";E[E["ReadonlyKeyword"]=143]="ReadonlyKeyword";E[E["RequireKeyword"]=144]="RequireKeyword";E[E["NumberKeyword"]=145]="NumberKeyword";E[E["ObjectKeyword"]=146]="ObjectKeyword";E[E["SetKeyword"]=147]="SetKeyword";E[E["StringKeyword"]=148]="StringKeyword";E[E["SymbolKeyword"]=149]="SymbolKeyword";E[E["TypeKeyword"]=150]="TypeKeyword";E[E["UndefinedKeyword"]=151]="UndefinedKeyword";E[E["UniqueKeyword"]=152]="UniqueKeyword";E[E["UnknownKeyword"]=153]="UnknownKeyword";E[E["FromKeyword"]=154]="FromKeyword";E[E["GlobalKeyword"]=155]="GlobalKeyword";E[E["BigIntKeyword"]=156]="BigIntKeyword";E[E["OverrideKeyword"]=157]="OverrideKeyword";E[E["OfKeyword"]=158]="OfKeyword";E[E["QualifiedName"]=159]="QualifiedName";E[E["ComputedPropertyName"]=160]="ComputedPropertyName";E[E["TypeParameter"]=161]="TypeParameter";E[E["Parameter"]=162]="Parameter";E[E["Decorator"]=163]="Decorator";E[E["PropertySignature"]=164]="PropertySignature";E[E["PropertyDeclaration"]=165]="PropertyDeclaration";E[E["MethodSignature"]=166]="MethodSignature";E[E["MethodDeclaration"]=167]="MethodDeclaration";E[E["ClassStaticBlockDeclaration"]=168]="ClassStaticBlockDeclaration";E[E["Constructor"]=169]="Constructor";E[E["GetAccessor"]=170]="GetAccessor";E[E["SetAccessor"]=171]="SetAccessor";E[E["CallSignature"]=172]="CallSignature";E[E["ConstructSignature"]=173]="ConstructSignature";E[E["IndexSignature"]=174]="IndexSignature";E[E["TypePredicate"]=175]="TypePredicate";E[E["TypeReference"]=176]="TypeReference";E[E["FunctionType"]=177]="FunctionType";E[E["ConstructorType"]=178]="ConstructorType";E[E["TypeQuery"]=179]="TypeQuery";E[E["TypeLiteral"]=180]="TypeLiteral";E[E["ArrayType"]=181]="ArrayType";E[E["TupleType"]=182]="TupleType";E[E["OptionalType"]=183]="OptionalType";E[E["RestType"]=184]="RestType";E[E["UnionType"]=185]="UnionType";E[E["IntersectionType"]=186]="IntersectionType";E[E["ConditionalType"]=187]="ConditionalType";E[E["InferType"]=188]="InferType";E[E["ParenthesizedType"]=189]="ParenthesizedType";E[E["ThisType"]=190]="ThisType";E[E["TypeOperator"]=191]="TypeOperator";E[E["IndexedAccessType"]=192]="IndexedAccessType";E[E["MappedType"]=193]="MappedType";E[E["LiteralType"]=194]="LiteralType";E[E["NamedTupleMember"]=195]="NamedTupleMember";E[E["TemplateLiteralType"]=196]="TemplateLiteralType";E[E["TemplateLiteralTypeSpan"]=197]="TemplateLiteralTypeSpan";E[E["ImportType"]=198]="ImportType";E[E["ObjectBindingPattern"]=199]="ObjectBindingPattern";E[E["ArrayBindingPattern"]=200]="ArrayBindingPattern";E[E["BindingElement"]=201]="BindingElement";E[E["ArrayLiteralExpression"]=202]="ArrayLiteralExpression";E[E["ObjectLiteralExpression"]=203]="ObjectLiteralExpression";E[E["PropertyAccessExpression"]=204]="PropertyAccessExpression";E[E["ElementAccessExpression"]=205]="ElementAccessExpression";E[E["CallExpression"]=206]="CallExpression";E[E["NewExpression"]=207]="NewExpression";E[E["TaggedTemplateExpression"]=208]="TaggedTemplateExpression";E[E["TypeAssertionExpression"]=209]="TypeAssertionExpression";E[E["ParenthesizedExpression"]=210]="ParenthesizedExpression";E[E["FunctionExpression"]=211]="FunctionExpression";E[E["ArrowFunction"]=212]="ArrowFunction";E[E["DeleteExpression"]=213]="DeleteExpression";E[E["TypeOfExpression"]=214]="TypeOfExpression";E[E["VoidExpression"]=215]="VoidExpression";E[E["AwaitExpression"]=216]="AwaitExpression";E[E["PrefixUnaryExpression"]=217]="PrefixUnaryExpression";E[E["PostfixUnaryExpression"]=218]="PostfixUnaryExpression";E[E["BinaryExpression"]=219]="BinaryExpression";E[E["ConditionalExpression"]=220]="ConditionalExpression";E[E["TemplateExpression"]=221]="TemplateExpression";E[E["YieldExpression"]=222]="YieldExpression";E[E["SpreadElement"]=223]="SpreadElement";E[E["ClassExpression"]=224]="ClassExpression";E[E["OmittedExpression"]=225]="OmittedExpression";E[E["ExpressionWithTypeArguments"]=226]="ExpressionWithTypeArguments";E[E["AsExpression"]=227]="AsExpression";E[E["NonNullExpression"]=228]="NonNullExpression";E[E["MetaProperty"]=229]="MetaProperty";E[E["SyntheticExpression"]=230]="SyntheticExpression";E[E["TemplateSpan"]=231]="TemplateSpan";E[E["SemicolonClassElement"]=232]="SemicolonClassElement";E[E["Block"]=233]="Block";E[E["EmptyStatement"]=234]="EmptyStatement";E[E["VariableStatement"]=235]="VariableStatement";E[E["ExpressionStatement"]=236]="ExpressionStatement";E[E["IfStatement"]=237]="IfStatement";E[E["DoStatement"]=238]="DoStatement";E[E["WhileStatement"]=239]="WhileStatement";E[E["ForStatement"]=240]="ForStatement";E[E["ForInStatement"]=241]="ForInStatement";E[E["ForOfStatement"]=242]="ForOfStatement";E[E["ContinueStatement"]=243]="ContinueStatement";E[E["BreakStatement"]=244]="BreakStatement";E[E["ReturnStatement"]=245]="ReturnStatement";E[E["WithStatement"]=246]="WithStatement";E[E["SwitchStatement"]=247]="SwitchStatement";E[E["LabeledStatement"]=248]="LabeledStatement";E[E["ThrowStatement"]=249]="ThrowStatement";E[E["TryStatement"]=250]="TryStatement";E[E["DebuggerStatement"]=251]="DebuggerStatement";E[E["VariableDeclaration"]=252]="VariableDeclaration";E[E["VariableDeclarationList"]=253]="VariableDeclarationList";E[E["FunctionDeclaration"]=254]="FunctionDeclaration";E[E["ClassDeclaration"]=255]="ClassDeclaration";E[E["InterfaceDeclaration"]=256]="InterfaceDeclaration";E[E["TypeAliasDeclaration"]=257]="TypeAliasDeclaration";E[E["EnumDeclaration"]=258]="EnumDeclaration";E[E["ModuleDeclaration"]=259]="ModuleDeclaration";E[E["ModuleBlock"]=260]="ModuleBlock";E[E["CaseBlock"]=261]="CaseBlock";E[E["NamespaceExportDeclaration"]=262]="NamespaceExportDeclaration";E[E["ImportEqualsDeclaration"]=263]="ImportEqualsDeclaration";E[E["ImportDeclaration"]=264]="ImportDeclaration";E[E["ImportClause"]=265]="ImportClause";E[E["NamespaceImport"]=266]="NamespaceImport";E[E["NamedImports"]=267]="NamedImports";E[E["ImportSpecifier"]=268]="ImportSpecifier";E[E["ExportAssignment"]=269]="ExportAssignment";E[E["ExportDeclaration"]=270]="ExportDeclaration";E[E["NamedExports"]=271]="NamedExports";E[E["NamespaceExport"]=272]="NamespaceExport";E[E["ExportSpecifier"]=273]="ExportSpecifier";E[E["MissingDeclaration"]=274]="MissingDeclaration";E[E["ExternalModuleReference"]=275]="ExternalModuleReference";E[E["JsxElement"]=276]="JsxElement";E[E["JsxSelfClosingElement"]=277]="JsxSelfClosingElement";E[E["JsxOpeningElement"]=278]="JsxOpeningElement";E[E["JsxClosingElement"]=279]="JsxClosingElement";E[E["JsxFragment"]=280]="JsxFragment";E[E["JsxOpeningFragment"]=281]="JsxOpeningFragment";E[E["JsxClosingFragment"]=282]="JsxClosingFragment";E[E["JsxAttribute"]=283]="JsxAttribute";E[E["JsxAttributes"]=284]="JsxAttributes";E[E["JsxSpreadAttribute"]=285]="JsxSpreadAttribute";E[E["JsxExpression"]=286]="JsxExpression";E[E["CaseClause"]=287]="CaseClause";E[E["DefaultClause"]=288]="DefaultClause";E[E["HeritageClause"]=289]="HeritageClause";E[E["CatchClause"]=290]="CatchClause";E[E["PropertyAssignment"]=291]="PropertyAssignment";E[E["ShorthandPropertyAssignment"]=292]="ShorthandPropertyAssignment";E[E["SpreadAssignment"]=293]="SpreadAssignment";E[E["EnumMember"]=294]="EnumMember";E[E["UnparsedPrologue"]=295]="UnparsedPrologue";E[E["UnparsedPrepend"]=296]="UnparsedPrepend";E[E["UnparsedText"]=297]="UnparsedText";E[E["UnparsedInternalText"]=298]="UnparsedInternalText";E[E["UnparsedSyntheticReference"]=299]="UnparsedSyntheticReference";E[E["SourceFile"]=300]="SourceFile";E[E["Bundle"]=301]="Bundle";E[E["UnparsedSource"]=302]="UnparsedSource";E[E["InputFiles"]=303]="InputFiles";E[E["JSDocTypeExpression"]=304]="JSDocTypeExpression";E[E["JSDocNameReference"]=305]="JSDocNameReference";E[E["JSDocMemberName"]=306]="JSDocMemberName";E[E["JSDocAllType"]=307]="JSDocAllType";E[E["JSDocUnknownType"]=308]="JSDocUnknownType";E[E["JSDocNullableType"]=309]="JSDocNullableType";E[E["JSDocNonNullableType"]=310]="JSDocNonNullableType";E[E["JSDocOptionalType"]=311]="JSDocOptionalType";E[E["JSDocFunctionType"]=312]="JSDocFunctionType";E[E["JSDocVariadicType"]=313]="JSDocVariadicType";E[E["JSDocNamepathType"]=314]="JSDocNamepathType";E[E["JSDocComment"]=315]="JSDocComment";E[E["JSDocText"]=316]="JSDocText";E[E["JSDocTypeLiteral"]=317]="JSDocTypeLiteral";E[E["JSDocSignature"]=318]="JSDocSignature";E[E["JSDocLink"]=319]="JSDocLink";E[E["JSDocLinkCode"]=320]="JSDocLinkCode";E[E["JSDocLinkPlain"]=321]="JSDocLinkPlain";E[E["JSDocTag"]=322]="JSDocTag";E[E["JSDocAugmentsTag"]=323]="JSDocAugmentsTag";E[E["JSDocImplementsTag"]=324]="JSDocImplementsTag";E[E["JSDocAuthorTag"]=325]="JSDocAuthorTag";E[E["JSDocDeprecatedTag"]=326]="JSDocDeprecatedTag";E[E["JSDocClassTag"]=327]="JSDocClassTag";E[E["JSDocPublicTag"]=328]="JSDocPublicTag";E[E["JSDocPrivateTag"]=329]="JSDocPrivateTag";E[E["JSDocProtectedTag"]=330]="JSDocProtectedTag";E[E["JSDocReadonlyTag"]=331]="JSDocReadonlyTag";E[E["JSDocOverrideTag"]=332]="JSDocOverrideTag";E[E["JSDocCallbackTag"]=333]="JSDocCallbackTag";E[E["JSDocEnumTag"]=334]="JSDocEnumTag";E[E["JSDocParameterTag"]=335]="JSDocParameterTag";E[E["JSDocReturnTag"]=336]="JSDocReturnTag";E[E["JSDocThisTag"]=337]="JSDocThisTag";E[E["JSDocTypeTag"]=338]="JSDocTypeTag";E[E["JSDocTemplateTag"]=339]="JSDocTemplateTag";E[E["JSDocTypedefTag"]=340]="JSDocTypedefTag";E[E["JSDocSeeTag"]=341]="JSDocSeeTag";E[E["JSDocPropertyTag"]=342]="JSDocPropertyTag";E[E["SyntaxList"]=343]="SyntaxList";E[E["NotEmittedStatement"]=344]="NotEmittedStatement";E[E["PartiallyEmittedExpression"]=345]="PartiallyEmittedExpression";E[E["CommaListExpression"]=346]="CommaListExpression";E[E["MergeDeclarationMarker"]=347]="MergeDeclarationMarker";E[E["EndOfDeclarationMarker"]=348]="EndOfDeclarationMarker";E[E["SyntheticReferenceExpression"]=349]="SyntheticReferenceExpression";E[E["Count"]=350]="Count";E[E["FirstAssignment"]=63]="FirstAssignment";E[E["LastAssignment"]=78]="LastAssignment";E[E["FirstCompoundAssignment"]=64]="FirstCompoundAssignment";E[E["LastCompoundAssignment"]=78]="LastCompoundAssignment";E[E["FirstReservedWord"]=81]="FirstReservedWord";E[E["LastReservedWord"]=116]="LastReservedWord";E[E["FirstKeyword"]=81]="FirstKeyword";E[E["LastKeyword"]=158]="LastKeyword";E[E["FirstFutureReservedWord"]=117]="FirstFutureReservedWord";E[E["LastFutureReservedWord"]=125]="LastFutureReservedWord";E[E["FirstTypeNode"]=175]="FirstTypeNode";E[E["LastTypeNode"]=198]="LastTypeNode";E[E["FirstPunctuation"]=18]="FirstPunctuation";E[E["LastPunctuation"]=78]="LastPunctuation";E[E["FirstToken"]=0]="FirstToken";E[E["LastToken"]=158]="LastToken";E[E["FirstTriviaToken"]=2]="FirstTriviaToken";E[E["LastTriviaToken"]=7]="LastTriviaToken";E[E["FirstLiteralToken"]=8]="FirstLiteralToken";E[E["LastLiteralToken"]=14]="LastLiteralToken";E[E["FirstTemplateToken"]=14]="FirstTemplateToken";E[E["LastTemplateToken"]=17]="LastTemplateToken";E[E["FirstBinaryOperator"]=29]="FirstBinaryOperator";E[E["LastBinaryOperator"]=78]="LastBinaryOperator";E[E["FirstStatement"]=235]="FirstStatement";E[E["LastStatement"]=251]="LastStatement";E[E["FirstNode"]=159]="FirstNode";E[E["FirstJSDocNode"]=304]="FirstJSDocNode";E[E["LastJSDocNode"]=342]="LastJSDocNode";E[E["FirstJSDocTagNode"]=322]="FirstJSDocTagNode";E[E["LastJSDocTagNode"]=342]="LastJSDocTagNode";E[E["FirstContextualKeyword"]=126]="FirstContextualKeyword";E[E["LastContextualKeyword"]=158]="LastContextualKeyword"})(N=E.SyntaxKind||(E.SyntaxKind={}));var R;(function(E){E[E["None"]=0]="None";E[E["Let"]=1]="Let";E[E["Const"]=2]="Const";E[E["NestedNamespace"]=4]="NestedNamespace";E[E["Synthesized"]=8]="Synthesized";E[E["Namespace"]=16]="Namespace";E[E["OptionalChain"]=32]="OptionalChain";E[E["ExportContext"]=64]="ExportContext";E[E["ContainsThis"]=128]="ContainsThis";E[E["HasImplicitReturn"]=256]="HasImplicitReturn";E[E["HasExplicitReturn"]=512]="HasExplicitReturn";E[E["GlobalAugmentation"]=1024]="GlobalAugmentation";E[E["HasAsyncFunctions"]=2048]="HasAsyncFunctions";E[E["DisallowInContext"]=4096]="DisallowInContext";E[E["YieldContext"]=8192]="YieldContext";E[E["DecoratorContext"]=16384]="DecoratorContext";E[E["AwaitContext"]=32768]="AwaitContext";E[E["ThisNodeHasError"]=65536]="ThisNodeHasError";E[E["JavaScriptFile"]=131072]="JavaScriptFile";E[E["ThisNodeOrAnySubNodesHasError"]=262144]="ThisNodeOrAnySubNodesHasError";E[E["HasAggregatedChildData"]=524288]="HasAggregatedChildData";E[E["PossiblyContainsDynamicImport"]=1048576]="PossiblyContainsDynamicImport";E[E["PossiblyContainsImportMeta"]=2097152]="PossiblyContainsImportMeta";E[E["JSDoc"]=4194304]="JSDoc";E[E["Ambient"]=8388608]="Ambient";E[E["InWithStatement"]=16777216]="InWithStatement";E[E["JsonFile"]=33554432]="JsonFile";E[E["TypeCached"]=67108864]="TypeCached";E[E["Deprecated"]=134217728]="Deprecated";E[E["BlockScoped"]=3]="BlockScoped";E[E["ReachabilityCheckFlags"]=768]="ReachabilityCheckFlags";E[E["ReachabilityAndEmitFlags"]=2816]="ReachabilityAndEmitFlags";E[E["ContextFlags"]=25358336]="ContextFlags";E[E["TypeExcludesFlags"]=40960]="TypeExcludesFlags";E[E["PermanentlySetIncrementalFlags"]=3145728]="PermanentlySetIncrementalFlags"})(R=E.NodeFlags||(E.NodeFlags={}));var j;(function(E){E[E["None"]=0]="None";E[E["Export"]=1]="Export";E[E["Ambient"]=2]="Ambient";E[E["Public"]=4]="Public";E[E["Private"]=8]="Private";E[E["Protected"]=16]="Protected";E[E["Static"]=32]="Static";E[E["Readonly"]=64]="Readonly";E[E["Abstract"]=128]="Abstract";E[E["Async"]=256]="Async";E[E["Default"]=512]="Default";E[E["Const"]=2048]="Const";E[E["HasComputedJSDocModifiers"]=4096]="HasComputedJSDocModifiers";E[E["Deprecated"]=8192]="Deprecated";E[E["Override"]=16384]="Override";E[E["HasComputedFlags"]=536870912]="HasComputedFlags";E[E["AccessibilityModifier"]=28]="AccessibilityModifier";E[E["ParameterPropertyModifier"]=16476]="ParameterPropertyModifier";E[E["NonPublicAccessibilityModifier"]=24]="NonPublicAccessibilityModifier";E[E["TypeScriptModifier"]=18654]="TypeScriptModifier";E[E["ExportDefault"]=513]="ExportDefault";E[E["All"]=27647]="All"})(j=E.ModifierFlags||(E.ModifierFlags={}));var $;(function(E){E[E["None"]=0]="None";E[E["IntrinsicNamedElement"]=1]="IntrinsicNamedElement";E[E["IntrinsicIndexedElement"]=2]="IntrinsicIndexedElement";E[E["IntrinsicElement"]=3]="IntrinsicElement"})($=E.JsxFlags||(E.JsxFlags={}));var q;(function(E){E[E["Succeeded"]=1]="Succeeded";E[E["Failed"]=2]="Failed";E[E["Reported"]=4]="Reported";E[E["ReportsUnmeasurable"]=8]="ReportsUnmeasurable";E[E["ReportsUnreliable"]=16]="ReportsUnreliable";E[E["ReportsMask"]=24]="ReportsMask"})(q=E.RelationComparisonResult||(E.RelationComparisonResult={}));var G;(function(E){E[E["None"]=0]="None";E[E["Auto"]=1]="Auto";E[E["Loop"]=2]="Loop";E[E["Unique"]=3]="Unique";E[E["Node"]=4]="Node";E[E["KindMask"]=7]="KindMask";E[E["ReservedInNestedScopes"]=8]="ReservedInNestedScopes";E[E["Optimistic"]=16]="Optimistic";E[E["FileLevel"]=32]="FileLevel";E[E["AllowNameSubstitution"]=64]="AllowNameSubstitution"})(G=E.GeneratedIdentifierFlags||(E.GeneratedIdentifierFlags={}));var ie;(function(E){E[E["None"]=0]="None";E[E["PrecedingLineBreak"]=1]="PrecedingLineBreak";E[E["PrecedingJSDocComment"]=2]="PrecedingJSDocComment";E[E["Unterminated"]=4]="Unterminated";E[E["ExtendedUnicodeEscape"]=8]="ExtendedUnicodeEscape";E[E["Scientific"]=16]="Scientific";E[E["Octal"]=32]="Octal";E[E["HexSpecifier"]=64]="HexSpecifier";E[E["BinarySpecifier"]=128]="BinarySpecifier";E[E["OctalSpecifier"]=256]="OctalSpecifier";E[E["ContainsSeparator"]=512]="ContainsSeparator";E[E["UnicodeEscape"]=1024]="UnicodeEscape";E[E["ContainsInvalidEscape"]=2048]="ContainsInvalidEscape";E[E["BinaryOrOctalSpecifier"]=384]="BinaryOrOctalSpecifier";E[E["NumericLiteralFlags"]=1008]="NumericLiteralFlags";E[E["TemplateLiteralLikeFlags"]=2048]="TemplateLiteralLikeFlags"})(ie=E.TokenFlags||(E.TokenFlags={}));var ae;(function(E){E[E["Unreachable"]=1]="Unreachable";E[E["Start"]=2]="Start";E[E["BranchLabel"]=4]="BranchLabel";E[E["LoopLabel"]=8]="LoopLabel";E[E["Assignment"]=16]="Assignment";E[E["TrueCondition"]=32]="TrueCondition";E[E["FalseCondition"]=64]="FalseCondition";E[E["SwitchClause"]=128]="SwitchClause";E[E["ArrayMutation"]=256]="ArrayMutation";E[E["Call"]=512]="Call";E[E["ReduceLabel"]=1024]="ReduceLabel";E[E["Referenced"]=2048]="Referenced";E[E["Shared"]=4096]="Shared";E[E["Label"]=12]="Label";E[E["Condition"]=96]="Condition"})(ae=E.FlowFlags||(E.FlowFlags={}));var ce;(function(E){E[E["ExpectError"]=0]="ExpectError";E[E["Ignore"]=1]="Ignore"})(ce=E.CommentDirectiveType||(E.CommentDirectiveType={}));var le=function(){function OperationCanceledException(){}return OperationCanceledException}();E.OperationCanceledException=le;var _e;(function(E){E[E["RootFile"]=0]="RootFile";E[E["SourceFromProjectReference"]=1]="SourceFromProjectReference";E[E["OutputFromProjectReference"]=2]="OutputFromProjectReference";E[E["Import"]=3]="Import";E[E["ReferenceFile"]=4]="ReferenceFile";E[E["TypeReferenceDirective"]=5]="TypeReferenceDirective";E[E["LibFile"]=6]="LibFile";E[E["LibReferenceDirective"]=7]="LibReferenceDirective";E[E["AutomaticTypeDirectiveFile"]=8]="AutomaticTypeDirectiveFile"})(_e=E.FileIncludeKind||(E.FileIncludeKind={}));var Ee;(function(E){E[E["FilePreprocessingReferencedDiagnostic"]=0]="FilePreprocessingReferencedDiagnostic";E[E["FilePreprocessingFileExplainingDiagnostic"]=1]="FilePreprocessingFileExplainingDiagnostic"})(Ee=E.FilePreprocessingDiagnosticsKind||(E.FilePreprocessingDiagnosticsKind={}));var Te;(function(E){E[E["Not"]=0]="Not";E[E["SafeModules"]=1]="SafeModules";E[E["Completely"]=2]="Completely"})(Te=E.StructureIsReused||(E.StructureIsReused={}));var we;(function(E){E[E["Success"]=0]="Success";E[E["DiagnosticsPresent_OutputsSkipped"]=1]="DiagnosticsPresent_OutputsSkipped";E[E["DiagnosticsPresent_OutputsGenerated"]=2]="DiagnosticsPresent_OutputsGenerated";E[E["InvalidProject_OutputsSkipped"]=3]="InvalidProject_OutputsSkipped";E[E["ProjectReferenceCycle_OutputsSkipped"]=4]="ProjectReferenceCycle_OutputsSkipped";E[E["ProjectReferenceCycle_OutputsSkupped"]=4]="ProjectReferenceCycle_OutputsSkupped"})(we=E.ExitStatus||(E.ExitStatus={}));var Ie;(function(E){E[E["None"]=0]="None";E[E["Literal"]=1]="Literal";E[E["Subtype"]=2]="Subtype"})(Ie=E.UnionReduction||(E.UnionReduction={}));var Ne;(function(E){E[E["None"]=0]="None";E[E["Signature"]=1]="Signature";E[E["NoConstraints"]=2]="NoConstraints";E[E["Completions"]=4]="Completions";E[E["SkipBindingPatterns"]=8]="SkipBindingPatterns"})(Ne=E.ContextFlags||(E.ContextFlags={}));var Me;(function(E){E[E["None"]=0]="None";E[E["NoTruncation"]=1]="NoTruncation";E[E["WriteArrayAsGenericType"]=2]="WriteArrayAsGenericType";E[E["GenerateNamesForShadowedTypeParams"]=4]="GenerateNamesForShadowedTypeParams";E[E["UseStructuralFallback"]=8]="UseStructuralFallback";E[E["ForbidIndexedAccessSymbolReferences"]=16]="ForbidIndexedAccessSymbolReferences";E[E["WriteTypeArgumentsOfSignature"]=32]="WriteTypeArgumentsOfSignature";E[E["UseFullyQualifiedType"]=64]="UseFullyQualifiedType";E[E["UseOnlyExternalAliasing"]=128]="UseOnlyExternalAliasing";E[E["SuppressAnyReturnType"]=256]="SuppressAnyReturnType";E[E["WriteTypeParametersInQualifiedName"]=512]="WriteTypeParametersInQualifiedName";E[E["MultilineObjectLiterals"]=1024]="MultilineObjectLiterals";E[E["WriteClassExpressionAsTypeLiteral"]=2048]="WriteClassExpressionAsTypeLiteral";E[E["UseTypeOfFunction"]=4096]="UseTypeOfFunction";E[E["OmitParameterModifiers"]=8192]="OmitParameterModifiers";E[E["UseAliasDefinedOutsideCurrentScope"]=16384]="UseAliasDefinedOutsideCurrentScope";E[E["UseSingleQuotesForStringLiteralType"]=268435456]="UseSingleQuotesForStringLiteralType";E[E["NoTypeReduction"]=536870912]="NoTypeReduction";E[E["NoUndefinedOptionalParameterType"]=1073741824]="NoUndefinedOptionalParameterType";E[E["AllowThisInObjectLiteral"]=32768]="AllowThisInObjectLiteral";E[E["AllowQualifiedNameInPlaceOfIdentifier"]=65536]="AllowQualifiedNameInPlaceOfIdentifier";E[E["AllowQualifedNameInPlaceOfIdentifier"]=65536]="AllowQualifedNameInPlaceOfIdentifier";E[E["AllowAnonymousIdentifier"]=131072]="AllowAnonymousIdentifier";E[E["AllowEmptyUnionOrIntersection"]=262144]="AllowEmptyUnionOrIntersection";E[E["AllowEmptyTuple"]=524288]="AllowEmptyTuple";E[E["AllowUniqueESSymbolType"]=1048576]="AllowUniqueESSymbolType";E[E["AllowEmptyIndexInfoType"]=2097152]="AllowEmptyIndexInfoType";E[E["AllowNodeModulesRelativePaths"]=67108864]="AllowNodeModulesRelativePaths";E[E["DoNotIncludeSymbolChain"]=134217728]="DoNotIncludeSymbolChain";E[E["IgnoreErrors"]=70221824]="IgnoreErrors";E[E["InObjectTypeLiteral"]=4194304]="InObjectTypeLiteral";E[E["InTypeAlias"]=8388608]="InTypeAlias";E[E["InInitialEntityName"]=16777216]="InInitialEntityName"})(Me=E.NodeBuilderFlags||(E.NodeBuilderFlags={}));var Le;(function(E){E[E["None"]=0]="None";E[E["NoTruncation"]=1]="NoTruncation";E[E["WriteArrayAsGenericType"]=2]="WriteArrayAsGenericType";E[E["UseStructuralFallback"]=8]="UseStructuralFallback";E[E["WriteTypeArgumentsOfSignature"]=32]="WriteTypeArgumentsOfSignature";E[E["UseFullyQualifiedType"]=64]="UseFullyQualifiedType";E[E["SuppressAnyReturnType"]=256]="SuppressAnyReturnType";E[E["MultilineObjectLiterals"]=1024]="MultilineObjectLiterals";E[E["WriteClassExpressionAsTypeLiteral"]=2048]="WriteClassExpressionAsTypeLiteral";E[E["UseTypeOfFunction"]=4096]="UseTypeOfFunction";E[E["OmitParameterModifiers"]=8192]="OmitParameterModifiers";E[E["UseAliasDefinedOutsideCurrentScope"]=16384]="UseAliasDefinedOutsideCurrentScope";E[E["UseSingleQuotesForStringLiteralType"]=268435456]="UseSingleQuotesForStringLiteralType";E[E["NoTypeReduction"]=536870912]="NoTypeReduction";E[E["AllowUniqueESSymbolType"]=1048576]="AllowUniqueESSymbolType";E[E["AddUndefined"]=131072]="AddUndefined";E[E["WriteArrowStyleSignature"]=262144]="WriteArrowStyleSignature";E[E["InArrayType"]=524288]="InArrayType";E[E["InElementType"]=2097152]="InElementType";E[E["InFirstTypeArgument"]=4194304]="InFirstTypeArgument";E[E["InTypeAlias"]=8388608]="InTypeAlias";E[E["WriteOwnNameForAnyLike"]=0]="WriteOwnNameForAnyLike";E[E["NodeBuilderFlagsMask"]=814775659]="NodeBuilderFlagsMask"})(Le=E.TypeFormatFlags||(E.TypeFormatFlags={}));var Be;(function(E){E[E["None"]=0]="None";E[E["WriteTypeParametersOrArguments"]=1]="WriteTypeParametersOrArguments";E[E["UseOnlyExternalAliasing"]=2]="UseOnlyExternalAliasing";E[E["AllowAnyNodeKind"]=4]="AllowAnyNodeKind";E[E["UseAliasDefinedOutsideCurrentScope"]=8]="UseAliasDefinedOutsideCurrentScope";E[E["DoNotIncludeSymbolChain"]=16]="DoNotIncludeSymbolChain"})(Be=E.SymbolFormatFlags||(E.SymbolFormatFlags={}));var je;(function(E){E[E["Accessible"]=0]="Accessible";E[E["NotAccessible"]=1]="NotAccessible";E[E["CannotBeNamed"]=2]="CannotBeNamed"})(je=E.SymbolAccessibility||(E.SymbolAccessibility={}));var Ue;(function(E){E[E["UnionOrIntersection"]=0]="UnionOrIntersection";E[E["Spread"]=1]="Spread"})(Ue=E.SyntheticSymbolKind||(E.SyntheticSymbolKind={}));var ze;(function(E){E[E["This"]=0]="This";E[E["Identifier"]=1]="Identifier";E[E["AssertsThis"]=2]="AssertsThis";E[E["AssertsIdentifier"]=3]="AssertsIdentifier"})(ze=E.TypePredicateKind||(E.TypePredicateKind={}));var We;(function(E){E[E["Unknown"]=0]="Unknown";E[E["TypeWithConstructSignatureAndValue"]=1]="TypeWithConstructSignatureAndValue";E[E["VoidNullableOrNeverType"]=2]="VoidNullableOrNeverType";E[E["NumberLikeType"]=3]="NumberLikeType";E[E["BigIntLikeType"]=4]="BigIntLikeType";E[E["StringLikeType"]=5]="StringLikeType";E[E["BooleanType"]=6]="BooleanType";E[E["ArrayLikeType"]=7]="ArrayLikeType";E[E["ESSymbolType"]=8]="ESSymbolType";E[E["Promise"]=9]="Promise";E[E["TypeWithCallSignature"]=10]="TypeWithCallSignature";E[E["ObjectType"]=11]="ObjectType"})(We=E.TypeReferenceSerializationKind||(E.TypeReferenceSerializationKind={}));var Je;(function(E){E[E["None"]=0]="None";E[E["FunctionScopedVariable"]=1]="FunctionScopedVariable";E[E["BlockScopedVariable"]=2]="BlockScopedVariable";E[E["Property"]=4]="Property";E[E["EnumMember"]=8]="EnumMember";E[E["Function"]=16]="Function";E[E["Class"]=32]="Class";E[E["Interface"]=64]="Interface";E[E["ConstEnum"]=128]="ConstEnum";E[E["RegularEnum"]=256]="RegularEnum";E[E["ValueModule"]=512]="ValueModule";E[E["NamespaceModule"]=1024]="NamespaceModule";E[E["TypeLiteral"]=2048]="TypeLiteral";E[E["ObjectLiteral"]=4096]="ObjectLiteral";E[E["Method"]=8192]="Method";E[E["Constructor"]=16384]="Constructor";E[E["GetAccessor"]=32768]="GetAccessor";E[E["SetAccessor"]=65536]="SetAccessor";E[E["Signature"]=131072]="Signature";E[E["TypeParameter"]=262144]="TypeParameter";E[E["TypeAlias"]=524288]="TypeAlias";E[E["ExportValue"]=1048576]="ExportValue";E[E["Alias"]=2097152]="Alias";E[E["Prototype"]=4194304]="Prototype";E[E["ExportStar"]=8388608]="ExportStar";E[E["Optional"]=16777216]="Optional";E[E["Transient"]=33554432]="Transient";E[E["Assignment"]=67108864]="Assignment";E[E["ModuleExports"]=134217728]="ModuleExports";E[E["All"]=67108863]="All";E[E["Enum"]=384]="Enum";E[E["Variable"]=3]="Variable";E[E["Value"]=111551]="Value";E[E["Type"]=788968]="Type";E[E["Namespace"]=1920]="Namespace";E[E["Module"]=1536]="Module";E[E["Accessor"]=98304]="Accessor";E[E["FunctionScopedVariableExcludes"]=111550]="FunctionScopedVariableExcludes";E[E["BlockScopedVariableExcludes"]=111551]="BlockScopedVariableExcludes";E[E["ParameterExcludes"]=111551]="ParameterExcludes";E[E["PropertyExcludes"]=0]="PropertyExcludes";E[E["EnumMemberExcludes"]=900095]="EnumMemberExcludes";E[E["FunctionExcludes"]=110991]="FunctionExcludes";E[E["ClassExcludes"]=899503]="ClassExcludes";E[E["InterfaceExcludes"]=788872]="InterfaceExcludes";E[E["RegularEnumExcludes"]=899327]="RegularEnumExcludes";E[E["ConstEnumExcludes"]=899967]="ConstEnumExcludes";E[E["ValueModuleExcludes"]=110735]="ValueModuleExcludes";E[E["NamespaceModuleExcludes"]=0]="NamespaceModuleExcludes";E[E["MethodExcludes"]=103359]="MethodExcludes";E[E["GetAccessorExcludes"]=46015]="GetAccessorExcludes";E[E["SetAccessorExcludes"]=78783]="SetAccessorExcludes";E[E["TypeParameterExcludes"]=526824]="TypeParameterExcludes";E[E["TypeAliasExcludes"]=788968]="TypeAliasExcludes";E[E["AliasExcludes"]=2097152]="AliasExcludes";E[E["ModuleMember"]=2623475]="ModuleMember";E[E["ExportHasLocal"]=944]="ExportHasLocal";E[E["BlockScoped"]=418]="BlockScoped";E[E["PropertyOrAccessor"]=98308]="PropertyOrAccessor";E[E["ClassMember"]=106500]="ClassMember";E[E["ExportSupportsDefaultModifier"]=112]="ExportSupportsDefaultModifier";E[E["ExportDoesNotSupportDefaultModifier"]=-113]="ExportDoesNotSupportDefaultModifier";E[E["Classifiable"]=2885600]="Classifiable";E[E["LateBindingContainer"]=6256]="LateBindingContainer"})(Je=E.SymbolFlags||(E.SymbolFlags={}));var Ve;(function(E){E[E["Numeric"]=0]="Numeric";E[E["Literal"]=1]="Literal"})(Ve=E.EnumKind||(E.EnumKind={}));var qe;(function(E){E[E["Instantiated"]=1]="Instantiated";E[E["SyntheticProperty"]=2]="SyntheticProperty";E[E["SyntheticMethod"]=4]="SyntheticMethod";E[E["Readonly"]=8]="Readonly";E[E["ReadPartial"]=16]="ReadPartial";E[E["WritePartial"]=32]="WritePartial";E[E["HasNonUniformType"]=64]="HasNonUniformType";E[E["HasLiteralType"]=128]="HasLiteralType";E[E["ContainsPublic"]=256]="ContainsPublic";E[E["ContainsProtected"]=512]="ContainsProtected";E[E["ContainsPrivate"]=1024]="ContainsPrivate";E[E["ContainsStatic"]=2048]="ContainsStatic";E[E["Late"]=4096]="Late";E[E["ReverseMapped"]=8192]="ReverseMapped";E[E["OptionalParameter"]=16384]="OptionalParameter";E[E["RestParameter"]=32768]="RestParameter";E[E["DeferredType"]=65536]="DeferredType";E[E["HasNeverType"]=131072]="HasNeverType";E[E["Mapped"]=262144]="Mapped";E[E["StripOptional"]=524288]="StripOptional";E[E["Synthetic"]=6]="Synthetic";E[E["Discriminant"]=192]="Discriminant";E[E["Partial"]=48]="Partial"})(qe=E.CheckFlags||(E.CheckFlags={}));var He;(function(E){E["Call"]="__call";E["Constructor"]="__constructor";E["New"]="__new";E["Index"]="__index";E["ExportStar"]="__export";E["Global"]="__global";E["Missing"]="__missing";E["Type"]="__type";E["Object"]="__object";E["JSXAttributes"]="__jsxAttributes";E["Class"]="__class";E["Function"]="__function";E["Computed"]="__computed";E["Resolving"]="__resolving__";E["ExportEquals"]="export=";E["Default"]="default";E["This"]="this"})(He=E.InternalSymbolName||(E.InternalSymbolName={}));var Ge;(function(E){E[E["TypeChecked"]=1]="TypeChecked";E[E["LexicalThis"]=2]="LexicalThis";E[E["CaptureThis"]=4]="CaptureThis";E[E["CaptureNewTarget"]=8]="CaptureNewTarget";E[E["SuperInstance"]=256]="SuperInstance";E[E["SuperStatic"]=512]="SuperStatic";E[E["ContextChecked"]=1024]="ContextChecked";E[E["AsyncMethodWithSuper"]=2048]="AsyncMethodWithSuper";E[E["AsyncMethodWithSuperBinding"]=4096]="AsyncMethodWithSuperBinding";E[E["CaptureArguments"]=8192]="CaptureArguments";E[E["EnumValuesComputed"]=16384]="EnumValuesComputed";E[E["LexicalModuleMergesWithClass"]=32768]="LexicalModuleMergesWithClass";E[E["LoopWithCapturedBlockScopedBinding"]=65536]="LoopWithCapturedBlockScopedBinding";E[E["ContainsCapturedBlockScopeBinding"]=131072]="ContainsCapturedBlockScopeBinding";E[E["CapturedBlockScopedBinding"]=262144]="CapturedBlockScopedBinding";E[E["BlockScopedBindingInLoop"]=524288]="BlockScopedBindingInLoop";E[E["ClassWithBodyScopedClassBinding"]=1048576]="ClassWithBodyScopedClassBinding";E[E["BodyScopedClassBinding"]=2097152]="BodyScopedClassBinding";E[E["NeedsLoopOutParameter"]=4194304]="NeedsLoopOutParameter";E[E["AssignmentsMarked"]=8388608]="AssignmentsMarked";E[E["ClassWithConstructorReference"]=16777216]="ClassWithConstructorReference";E[E["ConstructorReferenceInClass"]=33554432]="ConstructorReferenceInClass";E[E["ContainsClassWithPrivateIdentifiers"]=67108864]="ContainsClassWithPrivateIdentifiers";E[E["ContainsSuperPropertyInStaticInitializer"]=134217728]="ContainsSuperPropertyInStaticInitializer"})(Ge=E.NodeCheckFlags||(E.NodeCheckFlags={}));var Ke;(function(E){E[E["Any"]=1]="Any";E[E["Unknown"]=2]="Unknown";E[E["String"]=4]="String";E[E["Number"]=8]="Number";E[E["Boolean"]=16]="Boolean";E[E["Enum"]=32]="Enum";E[E["BigInt"]=64]="BigInt";E[E["StringLiteral"]=128]="StringLiteral";E[E["NumberLiteral"]=256]="NumberLiteral";E[E["BooleanLiteral"]=512]="BooleanLiteral";E[E["EnumLiteral"]=1024]="EnumLiteral";E[E["BigIntLiteral"]=2048]="BigIntLiteral";E[E["ESSymbol"]=4096]="ESSymbol";E[E["UniqueESSymbol"]=8192]="UniqueESSymbol";E[E["Void"]=16384]="Void";E[E["Undefined"]=32768]="Undefined";E[E["Null"]=65536]="Null";E[E["Never"]=131072]="Never";E[E["TypeParameter"]=262144]="TypeParameter";E[E["Object"]=524288]="Object";E[E["Union"]=1048576]="Union";E[E["Intersection"]=2097152]="Intersection";E[E["Index"]=4194304]="Index";E[E["IndexedAccess"]=8388608]="IndexedAccess";E[E["Conditional"]=16777216]="Conditional";E[E["Substitution"]=33554432]="Substitution";E[E["NonPrimitive"]=67108864]="NonPrimitive";E[E["TemplateLiteral"]=134217728]="TemplateLiteral";E[E["StringMapping"]=268435456]="StringMapping";E[E["AnyOrUnknown"]=3]="AnyOrUnknown";E[E["Nullable"]=98304]="Nullable";E[E["Literal"]=2944]="Literal";E[E["Unit"]=109440]="Unit";E[E["StringOrNumberLiteral"]=384]="StringOrNumberLiteral";E[E["StringOrNumberLiteralOrUnique"]=8576]="StringOrNumberLiteralOrUnique";E[E["DefinitelyFalsy"]=117632]="DefinitelyFalsy";E[E["PossiblyFalsy"]=117724]="PossiblyFalsy";E[E["Intrinsic"]=67359327]="Intrinsic";E[E["Primitive"]=131068]="Primitive";E[E["StringLike"]=402653316]="StringLike";E[E["NumberLike"]=296]="NumberLike";E[E["BigIntLike"]=2112]="BigIntLike";E[E["BooleanLike"]=528]="BooleanLike";E[E["EnumLike"]=1056]="EnumLike";E[E["ESSymbolLike"]=12288]="ESSymbolLike";E[E["VoidLike"]=49152]="VoidLike";E[E["DisjointDomains"]=469892092]="DisjointDomains";E[E["UnionOrIntersection"]=3145728]="UnionOrIntersection";E[E["StructuredType"]=3670016]="StructuredType";E[E["TypeVariable"]=8650752]="TypeVariable";E[E["InstantiableNonPrimitive"]=58982400]="InstantiableNonPrimitive";E[E["InstantiablePrimitive"]=406847488]="InstantiablePrimitive";E[E["Instantiable"]=465829888]="Instantiable";E[E["StructuredOrInstantiable"]=469499904]="StructuredOrInstantiable";E[E["ObjectFlagsType"]=3899393]="ObjectFlagsType";E[E["Simplifiable"]=25165824]="Simplifiable";E[E["Singleton"]=67358815]="Singleton";E[E["Narrowable"]=536624127]="Narrowable";E[E["NotPrimitiveUnion"]=468598819]="NotPrimitiveUnion";E[E["IncludesMask"]=205258751]="IncludesMask";E[E["IncludesStructuredOrInstantiable"]=262144]="IncludesStructuredOrInstantiable";E[E["IncludesNonWideningType"]=4194304]="IncludesNonWideningType";E[E["IncludesWildcard"]=8388608]="IncludesWildcard";E[E["IncludesEmptyObject"]=16777216]="IncludesEmptyObject"})(Ke=E.TypeFlags||(E.TypeFlags={}));var Qe;(function(E){E[E["Class"]=1]="Class";E[E["Interface"]=2]="Interface";E[E["Reference"]=4]="Reference";E[E["Tuple"]=8]="Tuple";E[E["Anonymous"]=16]="Anonymous";E[E["Mapped"]=32]="Mapped";E[E["Instantiated"]=64]="Instantiated";E[E["ObjectLiteral"]=128]="ObjectLiteral";E[E["EvolvingArray"]=256]="EvolvingArray";E[E["ObjectLiteralPatternWithComputedProperties"]=512]="ObjectLiteralPatternWithComputedProperties";E[E["ReverseMapped"]=1024]="ReverseMapped";E[E["JsxAttributes"]=2048]="JsxAttributes";E[E["MarkerType"]=4096]="MarkerType";E[E["JSLiteral"]=8192]="JSLiteral";E[E["FreshLiteral"]=16384]="FreshLiteral";E[E["ArrayLiteral"]=32768]="ArrayLiteral";E[E["PrimitiveUnion"]=65536]="PrimitiveUnion";E[E["ContainsWideningType"]=131072]="ContainsWideningType";E[E["ContainsObjectOrArrayLiteral"]=262144]="ContainsObjectOrArrayLiteral";E[E["NonInferrableType"]=524288]="NonInferrableType";E[E["CouldContainTypeVariablesComputed"]=1048576]="CouldContainTypeVariablesComputed";E[E["CouldContainTypeVariables"]=2097152]="CouldContainTypeVariables";E[E["ClassOrInterface"]=3]="ClassOrInterface";E[E["RequiresWidening"]=393216]="RequiresWidening";E[E["PropagatingFlags"]=917504]="PropagatingFlags";E[E["ObjectTypeKindMask"]=1343]="ObjectTypeKindMask";E[E["ContainsSpread"]=4194304]="ContainsSpread";E[E["ObjectRestType"]=8388608]="ObjectRestType";E[E["IsClassInstanceClone"]=16777216]="IsClassInstanceClone";E[E["IdenticalBaseTypeCalculated"]=33554432]="IdenticalBaseTypeCalculated";E[E["IdenticalBaseTypeExists"]=67108864]="IdenticalBaseTypeExists";E[E["IsGenericTypeComputed"]=4194304]="IsGenericTypeComputed";E[E["IsGenericObjectType"]=8388608]="IsGenericObjectType";E[E["IsGenericIndexType"]=16777216]="IsGenericIndexType";E[E["IsGenericType"]=25165824]="IsGenericType";E[E["ContainsIntersections"]=33554432]="ContainsIntersections";E[E["IsNeverIntersectionComputed"]=33554432]="IsNeverIntersectionComputed";E[E["IsNeverIntersection"]=67108864]="IsNeverIntersection"})(Qe=E.ObjectFlags||(E.ObjectFlags={}));var Xe;(function(E){E[E["Invariant"]=0]="Invariant";E[E["Covariant"]=1]="Covariant";E[E["Contravariant"]=2]="Contravariant";E[E["Bivariant"]=3]="Bivariant";E[E["Independent"]=4]="Independent";E[E["VarianceMask"]=7]="VarianceMask";E[E["Unmeasurable"]=8]="Unmeasurable";E[E["Unreliable"]=16]="Unreliable";E[E["AllowsStructuralFallback"]=24]="AllowsStructuralFallback"})(Xe=E.VarianceFlags||(E.VarianceFlags={}));var Ye;(function(E){E[E["Required"]=1]="Required";E[E["Optional"]=2]="Optional";E[E["Rest"]=4]="Rest";E[E["Variadic"]=8]="Variadic";E[E["Fixed"]=3]="Fixed";E[E["Variable"]=12]="Variable";E[E["NonRequired"]=14]="NonRequired";E[E["NonRest"]=11]="NonRest"})(Ye=E.ElementFlags||(E.ElementFlags={}));var Ze;(function(E){E[E["None"]=0]="None";E[E["IncludeUndefined"]=1]="IncludeUndefined";E[E["NoIndexSignatures"]=2]="NoIndexSignatures";E[E["Writing"]=4]="Writing";E[E["CacheSymbol"]=8]="CacheSymbol";E[E["NoTupleBoundsCheck"]=16]="NoTupleBoundsCheck";E[E["ExpressionPosition"]=32]="ExpressionPosition";E[E["ReportDeprecated"]=64]="ReportDeprecated";E[E["SuppressNoImplicitAnyError"]=128]="SuppressNoImplicitAnyError";E[E["Contextual"]=256]="Contextual";E[E["Persistent"]=1]="Persistent"})(Ze=E.AccessFlags||(E.AccessFlags={}));var et;(function(E){E[E["Component"]=0]="Component";E[E["Function"]=1]="Function";E[E["Mixed"]=2]="Mixed"})(et=E.JsxReferenceKind||(E.JsxReferenceKind={}));var tt;(function(E){E[E["Call"]=0]="Call";E[E["Construct"]=1]="Construct"})(tt=E.SignatureKind||(E.SignatureKind={}));var rt;(function(E){E[E["None"]=0]="None";E[E["HasRestParameter"]=1]="HasRestParameter";E[E["HasLiteralTypes"]=2]="HasLiteralTypes";E[E["Abstract"]=4]="Abstract";E[E["IsInnerCallChain"]=8]="IsInnerCallChain";E[E["IsOuterCallChain"]=16]="IsOuterCallChain";E[E["IsUntypedSignatureInJSFile"]=32]="IsUntypedSignatureInJSFile";E[E["PropagatingFlags"]=39]="PropagatingFlags";E[E["CallChainFlags"]=24]="CallChainFlags"})(rt=E.SignatureFlags||(E.SignatureFlags={}));var nt;(function(E){E[E["String"]=0]="String";E[E["Number"]=1]="Number"})(nt=E.IndexKind||(E.IndexKind={}));var it;(function(E){E[E["Simple"]=0]="Simple";E[E["Array"]=1]="Array";E[E["Function"]=2]="Function";E[E["Composite"]=3]="Composite";E[E["Merged"]=4]="Merged"})(it=E.TypeMapKind||(E.TypeMapKind={}));var ot;(function(E){E[E["NakedTypeVariable"]=1]="NakedTypeVariable";E[E["SpeculativeTuple"]=2]="SpeculativeTuple";E[E["SubstituteSource"]=4]="SubstituteSource";E[E["HomomorphicMappedType"]=8]="HomomorphicMappedType";E[E["PartialHomomorphicMappedType"]=16]="PartialHomomorphicMappedType";E[E["MappedTypeConstraint"]=32]="MappedTypeConstraint";E[E["ContravariantConditional"]=64]="ContravariantConditional";E[E["ReturnType"]=128]="ReturnType";E[E["LiteralKeyof"]=256]="LiteralKeyof";E[E["NoConstraints"]=512]="NoConstraints";E[E["AlwaysStrict"]=1024]="AlwaysStrict";E[E["MaxValue"]=2048]="MaxValue";E[E["PriorityImpliesCombination"]=416]="PriorityImpliesCombination";E[E["Circularity"]=-1]="Circularity"})(ot=E.InferencePriority||(E.InferencePriority={}));var st;(function(E){E[E["None"]=0]="None";E[E["NoDefault"]=1]="NoDefault";E[E["AnyDefault"]=2]="AnyDefault";E[E["SkippedGenericFunction"]=4]="SkippedGenericFunction"})(st=E.InferenceFlags||(E.InferenceFlags={}));var ct;(function(E){E[E["False"]=0]="False";E[E["Unknown"]=1]="Unknown";E[E["Maybe"]=3]="Maybe";E[E["True"]=-1]="True"})(ct=E.Ternary||(E.Ternary={}));var ut;(function(E){E[E["None"]=0]="None";E[E["ExportsProperty"]=1]="ExportsProperty";E[E["ModuleExports"]=2]="ModuleExports";E[E["PrototypeProperty"]=3]="PrototypeProperty";E[E["ThisProperty"]=4]="ThisProperty";E[E["Property"]=5]="Property";E[E["Prototype"]=6]="Prototype";E[E["ObjectDefinePropertyValue"]=7]="ObjectDefinePropertyValue";E[E["ObjectDefinePropertyExports"]=8]="ObjectDefinePropertyExports";E[E["ObjectDefinePrototypeProperty"]=9]="ObjectDefinePrototypeProperty"})(ut=E.AssignmentDeclarationKind||(E.AssignmentDeclarationKind={}));var dt;(function(E){E[E["Warning"]=0]="Warning";E[E["Error"]=1]="Error";E[E["Suggestion"]=2]="Suggestion";E[E["Message"]=3]="Message"})(dt=E.DiagnosticCategory||(E.DiagnosticCategory={}));function diagnosticCategoryName(E,N){if(N===void 0){N=true}var R=dt[E.category];return N?R.toLowerCase():R}E.diagnosticCategoryName=diagnosticCategoryName;var pt;(function(E){E[E["Classic"]=1]="Classic";E[E["NodeJs"]=2]="NodeJs"})(pt=E.ModuleResolutionKind||(E.ModuleResolutionKind={}));var ft;(function(E){E[E["FixedPollingInterval"]=0]="FixedPollingInterval";E[E["PriorityPollingInterval"]=1]="PriorityPollingInterval";E[E["DynamicPriorityPolling"]=2]="DynamicPriorityPolling";E[E["FixedChunkSizePolling"]=3]="FixedChunkSizePolling";E[E["UseFsEvents"]=4]="UseFsEvents";E[E["UseFsEventsOnParentDirectory"]=5]="UseFsEventsOnParentDirectory"})(ft=E.WatchFileKind||(E.WatchFileKind={}));var mt;(function(E){E[E["UseFsEvents"]=0]="UseFsEvents";E[E["FixedPollingInterval"]=1]="FixedPollingInterval";E[E["DynamicPriorityPolling"]=2]="DynamicPriorityPolling";E[E["FixedChunkSizePolling"]=3]="FixedChunkSizePolling"})(mt=E.WatchDirectoryKind||(E.WatchDirectoryKind={}));var ht;(function(E){E[E["FixedInterval"]=0]="FixedInterval";E[E["PriorityInterval"]=1]="PriorityInterval";E[E["DynamicPriority"]=2]="DynamicPriority";E[E["FixedChunkSize"]=3]="FixedChunkSize"})(ht=E.PollingWatchKind||(E.PollingWatchKind={}));var _t;(function(E){E[E["None"]=0]="None";E[E["CommonJS"]=1]="CommonJS";E[E["AMD"]=2]="AMD";E[E["UMD"]=3]="UMD";E[E["System"]=4]="System";E[E["ES2015"]=5]="ES2015";E[E["ES2020"]=6]="ES2020";E[E["ESNext"]=99]="ESNext"})(_t=E.ModuleKind||(E.ModuleKind={}));var yt;(function(E){E[E["None"]=0]="None";E[E["Preserve"]=1]="Preserve";E[E["React"]=2]="React";E[E["ReactNative"]=3]="ReactNative";E[E["ReactJSX"]=4]="ReactJSX";E[E["ReactJSXDev"]=5]="ReactJSXDev"})(yt=E.JsxEmit||(E.JsxEmit={}));var vt;(function(E){E[E["Remove"]=0]="Remove";E[E["Preserve"]=1]="Preserve";E[E["Error"]=2]="Error"})(vt=E.ImportsNotUsedAsValues||(E.ImportsNotUsedAsValues={}));var bt;(function(E){E[E["CarriageReturnLineFeed"]=0]="CarriageReturnLineFeed";E[E["LineFeed"]=1]="LineFeed"})(bt=E.NewLineKind||(E.NewLineKind={}));var xt;(function(E){E[E["Unknown"]=0]="Unknown";E[E["JS"]=1]="JS";E[E["JSX"]=2]="JSX";E[E["TS"]=3]="TS";E[E["TSX"]=4]="TSX";E[E["External"]=5]="External";E[E["JSON"]=6]="JSON";E[E["Deferred"]=7]="Deferred"})(xt=E.ScriptKind||(E.ScriptKind={}));var St;(function(E){E[E["ES3"]=0]="ES3";E[E["ES5"]=1]="ES5";E[E["ES2015"]=2]="ES2015";E[E["ES2016"]=3]="ES2016";E[E["ES2017"]=4]="ES2017";E[E["ES2018"]=5]="ES2018";E[E["ES2019"]=6]="ES2019";E[E["ES2020"]=7]="ES2020";E[E["ES2021"]=8]="ES2021";E[E["ESNext"]=99]="ESNext";E[E["JSON"]=100]="JSON";E[E["Latest"]=99]="Latest"})(St=E.ScriptTarget||(E.ScriptTarget={}));var Et;(function(E){E[E["Standard"]=0]="Standard";E[E["JSX"]=1]="JSX"})(Et=E.LanguageVariant||(E.LanguageVariant={}));var Tt;(function(E){E[E["None"]=0]="None";E[E["Recursive"]=1]="Recursive"})(Tt=E.WatchDirectoryFlags||(E.WatchDirectoryFlags={}));var kt;(function(E){E[E["nullCharacter"]=0]="nullCharacter";E[E["maxAsciiCharacter"]=127]="maxAsciiCharacter";E[E["lineFeed"]=10]="lineFeed";E[E["carriageReturn"]=13]="carriageReturn";E[E["lineSeparator"]=8232]="lineSeparator";E[E["paragraphSeparator"]=8233]="paragraphSeparator";E[E["nextLine"]=133]="nextLine";E[E["space"]=32]="space";E[E["nonBreakingSpace"]=160]="nonBreakingSpace";E[E["enQuad"]=8192]="enQuad";E[E["emQuad"]=8193]="emQuad";E[E["enSpace"]=8194]="enSpace";E[E["emSpace"]=8195]="emSpace";E[E["threePerEmSpace"]=8196]="threePerEmSpace";E[E["fourPerEmSpace"]=8197]="fourPerEmSpace";E[E["sixPerEmSpace"]=8198]="sixPerEmSpace";E[E["figureSpace"]=8199]="figureSpace";E[E["punctuationSpace"]=8200]="punctuationSpace";E[E["thinSpace"]=8201]="thinSpace";E[E["hairSpace"]=8202]="hairSpace";E[E["zeroWidthSpace"]=8203]="zeroWidthSpace";E[E["narrowNoBreakSpace"]=8239]="narrowNoBreakSpace";E[E["ideographicSpace"]=12288]="ideographicSpace";E[E["mathematicalSpace"]=8287]="mathematicalSpace";E[E["ogham"]=5760]="ogham";E[E["_"]=95]="_";E[E["$"]=36]="$";E[E["_0"]=48]="_0";E[E["_1"]=49]="_1";E[E["_2"]=50]="_2";E[E["_3"]=51]="_3";E[E["_4"]=52]="_4";E[E["_5"]=53]="_5";E[E["_6"]=54]="_6";E[E["_7"]=55]="_7";E[E["_8"]=56]="_8";E[E["_9"]=57]="_9";E[E["a"]=97]="a";E[E["b"]=98]="b";E[E["c"]=99]="c";E[E["d"]=100]="d";E[E["e"]=101]="e";E[E["f"]=102]="f";E[E["g"]=103]="g";E[E["h"]=104]="h";E[E["i"]=105]="i";E[E["j"]=106]="j";E[E["k"]=107]="k";E[E["l"]=108]="l";E[E["m"]=109]="m";E[E["n"]=110]="n";E[E["o"]=111]="o";E[E["p"]=112]="p";E[E["q"]=113]="q";E[E["r"]=114]="r";E[E["s"]=115]="s";E[E["t"]=116]="t";E[E["u"]=117]="u";E[E["v"]=118]="v";E[E["w"]=119]="w";E[E["x"]=120]="x";E[E["y"]=121]="y";E[E["z"]=122]="z";E[E["A"]=65]="A";E[E["B"]=66]="B";E[E["C"]=67]="C";E[E["D"]=68]="D";E[E["E"]=69]="E";E[E["F"]=70]="F";E[E["G"]=71]="G";E[E["H"]=72]="H";E[E["I"]=73]="I";E[E["J"]=74]="J";E[E["K"]=75]="K";E[E["L"]=76]="L";E[E["M"]=77]="M";E[E["N"]=78]="N";E[E["O"]=79]="O";E[E["P"]=80]="P";E[E["Q"]=81]="Q";E[E["R"]=82]="R";E[E["S"]=83]="S";E[E["T"]=84]="T";E[E["U"]=85]="U";E[E["V"]=86]="V";E[E["W"]=87]="W";E[E["X"]=88]="X";E[E["Y"]=89]="Y";E[E["Z"]=90]="Z";E[E["ampersand"]=38]="ampersand";E[E["asterisk"]=42]="asterisk";E[E["at"]=64]="at";E[E["backslash"]=92]="backslash";E[E["backtick"]=96]="backtick";E[E["bar"]=124]="bar";E[E["caret"]=94]="caret";E[E["closeBrace"]=125]="closeBrace";E[E["closeBracket"]=93]="closeBracket";E[E["closeParen"]=41]="closeParen";E[E["colon"]=58]="colon";E[E["comma"]=44]="comma";E[E["dot"]=46]="dot";E[E["doubleQuote"]=34]="doubleQuote";E[E["equals"]=61]="equals";E[E["exclamation"]=33]="exclamation";E[E["greaterThan"]=62]="greaterThan";E[E["hash"]=35]="hash";E[E["lessThan"]=60]="lessThan";E[E["minus"]=45]="minus";E[E["openBrace"]=123]="openBrace";E[E["openBracket"]=91]="openBracket";E[E["openParen"]=40]="openParen";E[E["percent"]=37]="percent";E[E["plus"]=43]="plus";E[E["question"]=63]="question";E[E["semicolon"]=59]="semicolon";E[E["singleQuote"]=39]="singleQuote";E[E["slash"]=47]="slash";E[E["tilde"]=126]="tilde";E[E["backspace"]=8]="backspace";E[E["formFeed"]=12]="formFeed";E[E["byteOrderMark"]=65279]="byteOrderMark";E[E["tab"]=9]="tab";E[E["verticalTab"]=11]="verticalTab"})(kt=E.CharacterCodes||(E.CharacterCodes={}));var Ct;(function(E){E["Ts"]=".ts";E["Tsx"]=".tsx";E["Dts"]=".d.ts";E["Js"]=".js";E["Jsx"]=".jsx";E["Json"]=".json";E["TsBuildInfo"]=".tsbuildinfo"})(Ct=E.Extension||(E.Extension={}));var Dt;(function(E){E[E["None"]=0]="None";E[E["ContainsTypeScript"]=1]="ContainsTypeScript";E[E["ContainsJsx"]=2]="ContainsJsx";E[E["ContainsESNext"]=4]="ContainsESNext";E[E["ContainsES2021"]=8]="ContainsES2021";E[E["ContainsES2020"]=16]="ContainsES2020";E[E["ContainsES2019"]=32]="ContainsES2019";E[E["ContainsES2018"]=64]="ContainsES2018";E[E["ContainsES2017"]=128]="ContainsES2017";E[E["ContainsES2016"]=256]="ContainsES2016";E[E["ContainsES2015"]=512]="ContainsES2015";E[E["ContainsGenerator"]=1024]="ContainsGenerator";E[E["ContainsDestructuringAssignment"]=2048]="ContainsDestructuringAssignment";E[E["ContainsTypeScriptClassSyntax"]=4096]="ContainsTypeScriptClassSyntax";E[E["ContainsLexicalThis"]=8192]="ContainsLexicalThis";E[E["ContainsRestOrSpread"]=16384]="ContainsRestOrSpread";E[E["ContainsObjectRestOrSpread"]=32768]="ContainsObjectRestOrSpread";E[E["ContainsComputedPropertyName"]=65536]="ContainsComputedPropertyName";E[E["ContainsBlockScopedBinding"]=131072]="ContainsBlockScopedBinding";E[E["ContainsBindingPattern"]=262144]="ContainsBindingPattern";E[E["ContainsYield"]=524288]="ContainsYield";E[E["ContainsAwait"]=1048576]="ContainsAwait";E[E["ContainsHoistedDeclarationOrCompletion"]=2097152]="ContainsHoistedDeclarationOrCompletion";E[E["ContainsDynamicImport"]=4194304]="ContainsDynamicImport";E[E["ContainsClassFields"]=8388608]="ContainsClassFields";E[E["ContainsPossibleTopLevelAwait"]=16777216]="ContainsPossibleTopLevelAwait";E[E["ContainsLexicalSuper"]=33554432]="ContainsLexicalSuper";E[E["ContainsUpdateExpressionForIdentifier"]=67108864]="ContainsUpdateExpressionForIdentifier";E[E["HasComputedFlags"]=536870912]="HasComputedFlags";E[E["AssertTypeScript"]=1]="AssertTypeScript";E[E["AssertJsx"]=2]="AssertJsx";E[E["AssertESNext"]=4]="AssertESNext";E[E["AssertES2021"]=8]="AssertES2021";E[E["AssertES2020"]=16]="AssertES2020";E[E["AssertES2019"]=32]="AssertES2019";E[E["AssertES2018"]=64]="AssertES2018";E[E["AssertES2017"]=128]="AssertES2017";E[E["AssertES2016"]=256]="AssertES2016";E[E["AssertES2015"]=512]="AssertES2015";E[E["AssertGenerator"]=1024]="AssertGenerator";E[E["AssertDestructuringAssignment"]=2048]="AssertDestructuringAssignment";E[E["OuterExpressionExcludes"]=536870912]="OuterExpressionExcludes";E[E["PropertyAccessExcludes"]=536870912]="PropertyAccessExcludes";E[E["NodeExcludes"]=536870912]="NodeExcludes";E[E["ArrowFunctionExcludes"]=557748224]="ArrowFunctionExcludes";E[E["FunctionExcludes"]=591310848]="FunctionExcludes";E[E["ConstructorExcludes"]=591306752]="ConstructorExcludes";E[E["MethodOrAccessorExcludes"]=574529536]="MethodOrAccessorExcludes";E[E["PropertyExcludes"]=570433536]="PropertyExcludes";E[E["ClassExcludes"]=536940544]="ClassExcludes";E[E["ModuleExcludes"]=589443072]="ModuleExcludes";E[E["TypeExcludes"]=-2]="TypeExcludes";E[E["ObjectLiteralExcludes"]=536973312]="ObjectLiteralExcludes";E[E["ArrayLiteralOrCallOrNewExcludes"]=536887296]="ArrayLiteralOrCallOrNewExcludes";E[E["VariableDeclarationListExcludes"]=537165824]="VariableDeclarationListExcludes";E[E["ParameterExcludes"]=536870912]="ParameterExcludes";E[E["CatchClauseExcludes"]=536903680]="CatchClauseExcludes";E[E["BindingPatternExcludes"]=536887296]="BindingPatternExcludes";E[E["ContainsLexicalThisOrSuper"]=33562624]="ContainsLexicalThisOrSuper";E[E["PropertyNamePropagatingFlags"]=33562624]="PropertyNamePropagatingFlags"})(Dt=E.TransformFlags||(E.TransformFlags={}));var At;(function(E){E[E["None"]=0]="None";E[E["SingleLine"]=1]="SingleLine";E[E["AdviseOnEmitNode"]=2]="AdviseOnEmitNode";E[E["NoSubstitution"]=4]="NoSubstitution";E[E["CapturesThis"]=8]="CapturesThis";E[E["NoLeadingSourceMap"]=16]="NoLeadingSourceMap";E[E["NoTrailingSourceMap"]=32]="NoTrailingSourceMap";E[E["NoSourceMap"]=48]="NoSourceMap";E[E["NoNestedSourceMaps"]=64]="NoNestedSourceMaps";E[E["NoTokenLeadingSourceMaps"]=128]="NoTokenLeadingSourceMaps";E[E["NoTokenTrailingSourceMaps"]=256]="NoTokenTrailingSourceMaps";E[E["NoTokenSourceMaps"]=384]="NoTokenSourceMaps";E[E["NoLeadingComments"]=512]="NoLeadingComments";E[E["NoTrailingComments"]=1024]="NoTrailingComments";E[E["NoComments"]=1536]="NoComments";E[E["NoNestedComments"]=2048]="NoNestedComments";E[E["HelperName"]=4096]="HelperName";E[E["ExportName"]=8192]="ExportName";E[E["LocalName"]=16384]="LocalName";E[E["InternalName"]=32768]="InternalName";E[E["Indented"]=65536]="Indented";E[E["NoIndentation"]=131072]="NoIndentation";E[E["AsyncFunctionBody"]=262144]="AsyncFunctionBody";E[E["ReuseTempVariableScope"]=524288]="ReuseTempVariableScope";E[E["CustomPrologue"]=1048576]="CustomPrologue";E[E["NoHoisting"]=2097152]="NoHoisting";E[E["HasEndOfDeclarationMarker"]=4194304]="HasEndOfDeclarationMarker";E[E["Iterator"]=8388608]="Iterator";E[E["NoAsciiEscaping"]=16777216]="NoAsciiEscaping";E[E["TypeScriptClassWrapper"]=33554432]="TypeScriptClassWrapper";E[E["NeverApplyImportHelper"]=67108864]="NeverApplyImportHelper";E[E["IgnoreSourceNewlines"]=134217728]="IgnoreSourceNewlines";E[E["Immutable"]=268435456]="Immutable";E[E["IndirectCall"]=536870912]="IndirectCall"})(At=E.EmitFlags||(E.EmitFlags={}));var wt;(function(E){E[E["Extends"]=1]="Extends";E[E["Assign"]=2]="Assign";E[E["Rest"]=4]="Rest";E[E["Decorate"]=8]="Decorate";E[E["Metadata"]=16]="Metadata";E[E["Param"]=32]="Param";E[E["Awaiter"]=64]="Awaiter";E[E["Generator"]=128]="Generator";E[E["Values"]=256]="Values";E[E["Read"]=512]="Read";E[E["SpreadArray"]=1024]="SpreadArray";E[E["Await"]=2048]="Await";E[E["AsyncGenerator"]=4096]="AsyncGenerator";E[E["AsyncDelegator"]=8192]="AsyncDelegator";E[E["AsyncValues"]=16384]="AsyncValues";E[E["ExportStar"]=32768]="ExportStar";E[E["ImportStar"]=65536]="ImportStar";E[E["ImportDefault"]=131072]="ImportDefault";E[E["MakeTemplateObject"]=262144]="MakeTemplateObject";E[E["ClassPrivateFieldGet"]=524288]="ClassPrivateFieldGet";E[E["ClassPrivateFieldSet"]=1048576]="ClassPrivateFieldSet";E[E["CreateBinding"]=2097152]="CreateBinding";E[E["FirstEmitHelper"]=1]="FirstEmitHelper";E[E["LastEmitHelper"]=2097152]="LastEmitHelper";E[E["ForOfIncludes"]=256]="ForOfIncludes";E[E["ForAwaitOfIncludes"]=16384]="ForAwaitOfIncludes";E[E["AsyncGeneratorIncludes"]=6144]="AsyncGeneratorIncludes";E[E["AsyncDelegatorIncludes"]=26624]="AsyncDelegatorIncludes";E[E["SpreadIncludes"]=1536]="SpreadIncludes"})(wt=E.ExternalEmitHelpers||(E.ExternalEmitHelpers={}));var Pt;(function(E){E[E["SourceFile"]=0]="SourceFile";E[E["Expression"]=1]="Expression";E[E["IdentifierName"]=2]="IdentifierName";E[E["MappedTypeParameter"]=3]="MappedTypeParameter";E[E["Unspecified"]=4]="Unspecified";E[E["EmbeddedStatement"]=5]="EmbeddedStatement";E[E["JsxAttributeValue"]=6]="JsxAttributeValue"})(Pt=E.EmitHint||(E.EmitHint={}));var Ft;(function(E){E[E["Parentheses"]=1]="Parentheses";E[E["TypeAssertions"]=2]="TypeAssertions";E[E["NonNullAssertions"]=4]="NonNullAssertions";E[E["PartiallyEmittedExpressions"]=8]="PartiallyEmittedExpressions";E[E["Assertions"]=6]="Assertions";E[E["All"]=15]="All"})(Ft=E.OuterExpressionKinds||(E.OuterExpressionKinds={}));var It;(function(E){E[E["None"]=0]="None";E[E["InParameters"]=1]="InParameters";E[E["VariablesHoistedInParameters"]=2]="VariablesHoistedInParameters"})(It=E.LexicalEnvironmentFlags||(E.LexicalEnvironmentFlags={}));var Nt;(function(E){E["Prologue"]="prologue";E["EmitHelpers"]="emitHelpers";E["NoDefaultLib"]="no-default-lib";E["Reference"]="reference";E["Type"]="type";E["Lib"]="lib";E["Prepend"]="prepend";E["Text"]="text";E["Internal"]="internal"})(Nt=E.BundleFileSectionKind||(E.BundleFileSectionKind={}));var Ot;(function(E){E[E["None"]=0]="None";E[E["SingleLine"]=0]="SingleLine";E[E["MultiLine"]=1]="MultiLine";E[E["PreserveLines"]=2]="PreserveLines";E[E["LinesMask"]=3]="LinesMask";E[E["NotDelimited"]=0]="NotDelimited";E[E["BarDelimited"]=4]="BarDelimited";E[E["AmpersandDelimited"]=8]="AmpersandDelimited";E[E["CommaDelimited"]=16]="CommaDelimited";E[E["AsteriskDelimited"]=32]="AsteriskDelimited";E[E["DelimitersMask"]=60]="DelimitersMask";E[E["AllowTrailingComma"]=64]="AllowTrailingComma";E[E["Indented"]=128]="Indented";E[E["SpaceBetweenBraces"]=256]="SpaceBetweenBraces";E[E["SpaceBetweenSiblings"]=512]="SpaceBetweenSiblings";E[E["Braces"]=1024]="Braces";E[E["Parenthesis"]=2048]="Parenthesis";E[E["AngleBrackets"]=4096]="AngleBrackets";E[E["SquareBrackets"]=8192]="SquareBrackets";E[E["BracketsMask"]=15360]="BracketsMask";E[E["OptionalIfUndefined"]=16384]="OptionalIfUndefined";E[E["OptionalIfEmpty"]=32768]="OptionalIfEmpty";E[E["Optional"]=49152]="Optional";E[E["PreferNewLine"]=65536]="PreferNewLine";E[E["NoTrailingNewLine"]=131072]="NoTrailingNewLine";E[E["NoInterveningComments"]=262144]="NoInterveningComments";E[E["NoSpaceIfEmpty"]=524288]="NoSpaceIfEmpty";E[E["SingleElement"]=1048576]="SingleElement";E[E["SpaceAfterList"]=2097152]="SpaceAfterList";E[E["Modifiers"]=262656]="Modifiers";E[E["HeritageClauses"]=512]="HeritageClauses";E[E["SingleLineTypeLiteralMembers"]=768]="SingleLineTypeLiteralMembers";E[E["MultiLineTypeLiteralMembers"]=32897]="MultiLineTypeLiteralMembers";E[E["SingleLineTupleTypeElements"]=528]="SingleLineTupleTypeElements";E[E["MultiLineTupleTypeElements"]=657]="MultiLineTupleTypeElements";E[E["UnionTypeConstituents"]=516]="UnionTypeConstituents";E[E["IntersectionTypeConstituents"]=520]="IntersectionTypeConstituents";E[E["ObjectBindingPatternElements"]=525136]="ObjectBindingPatternElements";E[E["ArrayBindingPatternElements"]=524880]="ArrayBindingPatternElements";E[E["ObjectLiteralExpressionProperties"]=526226]="ObjectLiteralExpressionProperties";E[E["ArrayLiteralExpressionElements"]=8914]="ArrayLiteralExpressionElements";E[E["CommaListElements"]=528]="CommaListElements";E[E["CallExpressionArguments"]=2576]="CallExpressionArguments";E[E["NewExpressionArguments"]=18960]="NewExpressionArguments";E[E["TemplateExpressionSpans"]=262144]="TemplateExpressionSpans";E[E["SingleLineBlockStatements"]=768]="SingleLineBlockStatements";E[E["MultiLineBlockStatements"]=129]="MultiLineBlockStatements";E[E["VariableDeclarationList"]=528]="VariableDeclarationList";E[E["SingleLineFunctionBodyStatements"]=768]="SingleLineFunctionBodyStatements";E[E["MultiLineFunctionBodyStatements"]=1]="MultiLineFunctionBodyStatements";E[E["ClassHeritageClauses"]=0]="ClassHeritageClauses";E[E["ClassMembers"]=129]="ClassMembers";E[E["InterfaceMembers"]=129]="InterfaceMembers";E[E["EnumMembers"]=145]="EnumMembers";E[E["CaseBlockClauses"]=129]="CaseBlockClauses";E[E["NamedImportsOrExportsElements"]=525136]="NamedImportsOrExportsElements";E[E["JsxElementOrFragmentChildren"]=262144]="JsxElementOrFragmentChildren";E[E["JsxElementAttributes"]=262656]="JsxElementAttributes";E[E["CaseOrDefaultClauseStatements"]=163969]="CaseOrDefaultClauseStatements";E[E["HeritageClauseTypes"]=528]="HeritageClauseTypes";E[E["SourceFileStatements"]=131073]="SourceFileStatements";E[E["Decorators"]=2146305]="Decorators";E[E["TypeArguments"]=53776]="TypeArguments";E[E["TypeParameters"]=53776]="TypeParameters";E[E["Parameters"]=2576]="Parameters";E[E["IndexSignatureParameters"]=8848]="IndexSignatureParameters";E[E["JSDocComment"]=33]="JSDocComment"})(Ot=E.ListFormat||(E.ListFormat={}));var Mt;(function(E){E[E["None"]=0]="None";E[E["TripleSlashXML"]=1]="TripleSlashXML";E[E["SingleLine"]=2]="SingleLine";E[E["MultiLine"]=4]="MultiLine";E[E["All"]=7]="All";E[E["Default"]=7]="Default"})(Mt=E.PragmaKindFlags||(E.PragmaKindFlags={}));E.commentPragmas={reference:{args:[{name:"types",optional:true,captureSpan:true},{name:"lib",optional:true,captureSpan:true},{name:"path",optional:true,captureSpan:true},{name:"no-default-lib",optional:true}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:true}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}}})(ce||(ce={}));var ce;(function(E){E.directorySeparator="/";E.altDirectorySeparator="\\";var N="://";var R=/\\/g;function isAnyDirectorySeparator(E){return E===47||E===92}E.isAnyDirectorySeparator=isAnyDirectorySeparator;function isUrl(E){return getEncodedRootLength(E)<0}E.isUrl=isUrl;function isRootedDiskPath(E){return getEncodedRootLength(E)>0}E.isRootedDiskPath=isRootedDiskPath;function isDiskPathRoot(E){var N=getEncodedRootLength(E);return N>0&&N===E.length}E.isDiskPathRoot=isDiskPathRoot;function pathIsAbsolute(E){return getEncodedRootLength(E)!==0}E.pathIsAbsolute=pathIsAbsolute;function pathIsRelative(E){return/^\.\.?($|[\\/])/.test(E)}E.pathIsRelative=pathIsRelative;function pathIsBareSpecifier(E){return!pathIsAbsolute(E)&&!pathIsRelative(E)}E.pathIsBareSpecifier=pathIsBareSpecifier;function hasExtension(N){return E.stringContains(getBaseFileName(N),".")}E.hasExtension=hasExtension;function fileExtensionIs(N,R){return N.length>R.length&&E.endsWith(N,R)}E.fileExtensionIs=fileExtensionIs;function fileExtensionIsOneOf(E,N){for(var R=0,j=N;R<j.length;R++){var $=j[R];if(fileExtensionIs(E,$)){return true}}return false}E.fileExtensionIsOneOf=fileExtensionIsOneOf;function hasTrailingDirectorySeparator(E){return E.length>0&&isAnyDirectorySeparator(E.charCodeAt(E.length-1))}E.hasTrailingDirectorySeparator=hasTrailingDirectorySeparator;function isVolumeCharacter(E){return E>=97&&E<=122||E>=65&&E<=90}function getFileUrlVolumeSeparatorEnd(E,N){var R=E.charCodeAt(N);if(R===58)return N+1;if(R===37&&E.charCodeAt(N+1)===51){var j=E.charCodeAt(N+2);if(j===97||j===65)return N+3}return-1}function getEncodedRootLength(R){if(!R)return 0;var j=R.charCodeAt(0);if(j===47||j===92){if(R.charCodeAt(1)!==j)return 1;var $=R.indexOf(j===47?E.directorySeparator:E.altDirectorySeparator,2);if($<0)return R.length;return $+1}if(isVolumeCharacter(j)&&R.charCodeAt(1)===58){var q=R.charCodeAt(2);if(q===47||q===92)return 3;if(R.length===2)return 2}var G=R.indexOf(N);if(G!==-1){var ie=G+N.length;var ae=R.indexOf(E.directorySeparator,ie);if(ae!==-1){var ce=R.slice(0,G);var le=R.slice(ie,ae);if(ce==="file"&&(le===""||le==="localhost")&&isVolumeCharacter(R.charCodeAt(ae+1))){var _e=getFileUrlVolumeSeparatorEnd(R,ae+2);if(_e!==-1){if(R.charCodeAt(_e)===47){return~(_e+1)}if(_e===R.length){return~_e}}}return~(ae+1)}return~R.length}return 0}function getRootLength(E){var N=getEncodedRootLength(E);return N<0?~N:N}E.getRootLength=getRootLength;function getDirectoryPath(N){N=normalizeSlashes(N);var R=getRootLength(N);if(R===N.length)return N;N=removeTrailingDirectorySeparator(N);return N.slice(0,Math.max(R,N.lastIndexOf(E.directorySeparator)))}E.getDirectoryPath=getDirectoryPath;function getBaseFileName(N,R,j){N=normalizeSlashes(N);var $=getRootLength(N);if($===N.length)return"";N=removeTrailingDirectorySeparator(N);var q=N.slice(Math.max(getRootLength(N),N.lastIndexOf(E.directorySeparator)+1));var G=R!==undefined&&j!==undefined?getAnyExtensionFromPath(q,R,j):undefined;return G?q.slice(0,q.length-G.length):q}E.getBaseFileName=getBaseFileName;function tryGetExtensionFromPath(N,R,j){if(!E.startsWith(R,"."))R="."+R;if(N.length>=R.length&&N.charCodeAt(N.length-R.length)===46){var $=N.slice(N.length-R.length);if(j($,R)){return $}}}function getAnyExtensionFromPathWorker(E,N,R){if(typeof N==="string"){return tryGetExtensionFromPath(E,N,R)||""}for(var j=0,$=N;j<$.length;j++){var q=$[j];var G=tryGetExtensionFromPath(E,q,R);if(G)return G}return""}function getAnyExtensionFromPath(N,R,j){if(R){return getAnyExtensionFromPathWorker(removeTrailingDirectorySeparator(N),R,j?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive)}var $=getBaseFileName(N);var q=$.lastIndexOf(".");if(q>=0){return $.substring(q)}return""}E.getAnyExtensionFromPath=getAnyExtensionFromPath;function pathComponents(N,R){var $=N.substring(0,R);var q=N.substring(R).split(E.directorySeparator);if(q.length&&!E.lastOrUndefined(q))q.pop();return j([$],q,true)}function getPathComponents(E,N){if(N===void 0){N=""}E=combinePaths(N,E);return pathComponents(E,getRootLength(E))}E.getPathComponents=getPathComponents;function getPathFromPathComponents(N){if(N.length===0)return"";var R=N[0]&&ensureTrailingDirectorySeparator(N[0]);return R+N.slice(1).join(E.directorySeparator)}E.getPathFromPathComponents=getPathFromPathComponents;function normalizeSlashes(N){var j=N.indexOf("\\");if(j===-1){return N}R.lastIndex=j;return N.replace(R,E.directorySeparator)}E.normalizeSlashes=normalizeSlashes;function reducePathComponents(N){if(!E.some(N))return[];var R=[N[0]];for(var j=1;j<N.length;j++){var $=N[j];if(!$)continue;if($===".")continue;if($===".."){if(R.length>1){if(R[R.length-1]!==".."){R.pop();continue}}else if(R[0])continue}R.push($)}return R}E.reducePathComponents=reducePathComponents;function combinePaths(E){var N=[];for(var R=1;R<arguments.length;R++){N[R-1]=arguments[R]}if(E)E=normalizeSlashes(E);for(var j=0,$=N;j<$.length;j++){var q=$[j];if(!q)continue;q=normalizeSlashes(q);if(!E||getRootLength(q)!==0){E=q}else{E=ensureTrailingDirectorySeparator(E)+q}}return E}E.combinePaths=combinePaths;function resolvePath(N){var R=[];for(var $=1;$<arguments.length;$++){R[$-1]=arguments[$]}return normalizePath(E.some(R)?combinePaths.apply(void 0,j([N],R,false)):normalizeSlashes(N))}E.resolvePath=resolvePath;function getNormalizedPathComponents(E,N){return reducePathComponents(getPathComponents(E,N))}E.getNormalizedPathComponents=getNormalizedPathComponents;function getNormalizedAbsolutePath(E,N){return getPathFromPathComponents(getNormalizedPathComponents(E,N))}E.getNormalizedAbsolutePath=getNormalizedAbsolutePath;function normalizePath(E){E=normalizeSlashes(E);if(!$.test(E)){return E}var N=E.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(N!==E){E=N;if(!$.test(E)){return E}}var R=getPathFromPathComponents(reducePathComponents(getPathComponents(E)));return R&&hasTrailingDirectorySeparator(E)?ensureTrailingDirectorySeparator(R):R}E.normalizePath=normalizePath;function getPathWithoutRoot(N){if(N.length===0)return"";return N.slice(1).join(E.directorySeparator)}function getNormalizedAbsolutePathWithoutRoot(E,N){return getPathWithoutRoot(getNormalizedPathComponents(E,N))}E.getNormalizedAbsolutePathWithoutRoot=getNormalizedAbsolutePathWithoutRoot;function toPath(E,N,R){var j=isRootedDiskPath(E)?normalizePath(E):getNormalizedAbsolutePath(E,N);return R(j)}E.toPath=toPath;function normalizePathAndParts(N){N=normalizeSlashes(N);var R=reducePathComponents(getPathComponents(N)),j=R[0],$=R.slice(1);if($.length){var q=j+$.join(E.directorySeparator);return{path:hasTrailingDirectorySeparator(N)?ensureTrailingDirectorySeparator(q):q,parts:$}}else{return{path:j,parts:$}}}E.normalizePathAndParts=normalizePathAndParts;function removeTrailingDirectorySeparator(E){if(hasTrailingDirectorySeparator(E)){return E.substr(0,E.length-1)}return E}E.removeTrailingDirectorySeparator=removeTrailingDirectorySeparator;function ensureTrailingDirectorySeparator(N){if(!hasTrailingDirectorySeparator(N)){return N+E.directorySeparator}return N}E.ensureTrailingDirectorySeparator=ensureTrailingDirectorySeparator;function ensurePathIsNonModuleName(E){return!pathIsAbsolute(E)&&!pathIsRelative(E)?"./"+E:E}E.ensurePathIsNonModuleName=ensurePathIsNonModuleName;function changeAnyExtension(N,R,j,$){var q=j!==undefined&&$!==undefined?getAnyExtensionFromPath(N,j,$):getAnyExtensionFromPath(N);return q?N.slice(0,N.length-q.length)+(E.startsWith(R,".")?R:"."+R):N}E.changeAnyExtension=changeAnyExtension;var $=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/;function comparePathsWorker(N,R,j){if(N===R)return 0;if(N===undefined)return-1;if(R===undefined)return 1;var q=N.substring(0,getRootLength(N));var G=R.substring(0,getRootLength(R));var ie=E.compareStringsCaseInsensitive(q,G);if(ie!==0){return ie}var ae=N.substring(q.length);var ce=R.substring(G.length);if(!$.test(ae)&&!$.test(ce)){return j(ae,ce)}var le=reducePathComponents(getPathComponents(N));var _e=reducePathComponents(getPathComponents(R));var Ee=Math.min(le.length,_e.length);for(var Te=1;Te<Ee;Te++){var we=j(le[Te],_e[Te]);if(we!==0){return we}}return E.compareValues(le.length,_e.length)}function comparePathsCaseSensitive(N,R){return comparePathsWorker(N,R,E.compareStringsCaseSensitive)}E.comparePathsCaseSensitive=comparePathsCaseSensitive;function comparePathsCaseInsensitive(N,R){return comparePathsWorker(N,R,E.compareStringsCaseInsensitive)}E.comparePathsCaseInsensitive=comparePathsCaseInsensitive;function comparePaths(N,R,j,$){if(typeof j==="string"){N=combinePaths(j,N);R=combinePaths(j,R)}else if(typeof j==="boolean"){$=j}return comparePathsWorker(N,R,E.getStringComparer($))}E.comparePaths=comparePaths;function containsPath(N,R,j,$){if(typeof j==="string"){N=combinePaths(j,N);R=combinePaths(j,R)}else if(typeof j==="boolean"){$=j}if(N===undefined||R===undefined)return false;if(N===R)return true;var q=reducePathComponents(getPathComponents(N));var G=reducePathComponents(getPathComponents(R));if(G.length<q.length){return false}var ie=$?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive;for(var ae=0;ae<q.length;ae++){var ce=ae===0?E.equateStringsCaseInsensitive:ie;if(!ce(q[ae],G[ae])){return false}}return true}E.containsPath=containsPath;function startsWithDirectory(N,R,j){var $=j(N);var q=j(R);return E.startsWith($,q+"/")||E.startsWith($,q+"\\")}E.startsWithDirectory=startsWithDirectory;function getPathComponentsRelativeTo(N,R,$,q){var G=reducePathComponents(getPathComponents(N));var ie=reducePathComponents(getPathComponents(R));var ae;for(ae=0;ae<G.length&&ae<ie.length;ae++){var ce=q(G[ae]);var le=q(ie[ae]);var _e=ae===0?E.equateStringsCaseInsensitive:$;if(!_e(ce,le))break}if(ae===0){return ie}var Ee=ie.slice(ae);var Te=[];for(;ae<G.length;ae++){Te.push("..")}return j(j([""],Te,true),Ee,true)}E.getPathComponentsRelativeTo=getPathComponentsRelativeTo;function getRelativePathFromDirectory(N,R,j){E.Debug.assert(getRootLength(N)>0===getRootLength(R)>0,"Paths must either both be absolute or both be relative");var $=typeof j==="function"?j:E.identity;var q=typeof j==="boolean"?j:false;var G=getPathComponentsRelativeTo(N,R,q?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive,$);return getPathFromPathComponents(G)}E.getRelativePathFromDirectory=getRelativePathFromDirectory;function convertToRelativePath(E,N,R){return!isRootedDiskPath(E)?E:getRelativePathToDirectoryOrUrl(N,E,N,R,false)}E.convertToRelativePath=convertToRelativePath;function getRelativePathFromFile(E,N,R){return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(E),N,R))}E.getRelativePathFromFile=getRelativePathFromFile;function getRelativePathToDirectoryOrUrl(N,R,j,$,q){var G=getPathComponentsRelativeTo(resolvePath(j,N),resolvePath(j,R),E.equateStringsCaseSensitive,$);var ie=G[0];if(q&&isRootedDiskPath(ie)){var ae=ie.charAt(0)===E.directorySeparator?"file://":"file:///";G[0]=ae+ie}return getPathFromPathComponents(G)}E.getRelativePathToDirectoryOrUrl=getRelativePathToDirectoryOrUrl;function forEachAncestorDirectory(E,N){while(true){var R=N(E);if(R!==undefined){return R}var j=getDirectoryPath(E);if(j===E){return undefined}E=j}}E.forEachAncestorDirectory=forEachAncestorDirectory;function isNodeModulesDirectory(N){return E.endsWith(N,"/node_modules")}E.isNodeModulesDirectory=isNodeModulesDirectory})(ce||(ce={}));var ce;(function(E){function generateDjb2Hash(E){var N=5381;for(var R=0;R<E.length;R++){N=(N<<5)+N+E.charCodeAt(R)}return N.toString()}E.generateDjb2Hash=generateDjb2Hash;function setStackTraceLimit(){if(Error.stackTraceLimit<100){Error.stackTraceLimit=100}}E.setStackTraceLimit=setStackTraceLimit;var N;(function(E){E[E["Created"]=0]="Created";E[E["Changed"]=1]="Changed";E[E["Deleted"]=2]="Deleted"})(N=E.FileWatcherEventKind||(E.FileWatcherEventKind={}));var j;(function(E){E[E["High"]=2e3]="High";E[E["Medium"]=500]="Medium";E[E["Low"]=250]="Low"})(j=E.PollingInterval||(E.PollingInterval={}));E.missingFileModifiedTime=new Date(0);function getModifiedTime(N,R){return N.getModifiedTime(R)||E.missingFileModifiedTime}E.getModifiedTime=getModifiedTime;function createPollingIntervalBasedLevels(E){var N;return N={},N[j.Low]=E.Low,N[j.Medium]=E.Medium,N[j.High]=E.High,N}var q={Low:32,Medium:64,High:256};var G=createPollingIntervalBasedLevels(q);E.unchangedPollThresholds=createPollingIntervalBasedLevels(q);function setCustomPollingValues(N){if(!N.getEnvironmentVariable){return}var R=setCustomLevels("TSC_WATCH_POLLINGINTERVAL",j);G=getCustomPollingBasedLevels("TSC_WATCH_POLLINGCHUNKSIZE",q)||G;E.unchangedPollThresholds=getCustomPollingBasedLevels("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",q)||E.unchangedPollThresholds;function getLevel(E,R){return N.getEnvironmentVariable(E+"_"+R.toUpperCase())}function getCustomLevels(E){var N;setCustomLevel("Low");setCustomLevel("Medium");setCustomLevel("High");return N;function setCustomLevel(R){var j=getLevel(E,R);if(j){(N||(N={}))[R]=Number(j)}}}function setCustomLevels(E,N){var R=getCustomLevels(E);if(R){setLevel("Low");setLevel("Medium");setLevel("High");return true}return false;function setLevel(E){N[E]=R[E]||N[E]}}function getCustomPollingBasedLevels(E,N){var j=getCustomLevels(E);return(R||j)&&createPollingIntervalBasedLevels(j?$($({},N),j):N)}}E.setCustomPollingValues=setCustomPollingValues;function pollWatchedFileQueue(E,N,R,j,$){var q=R;for(var G=N.length;j&&G;nextPollIndex(),G--){var ie=N[R];if(!ie){continue}else if(ie.isClosed){N[R]=undefined;continue}j--;var ae=onWatchedFileStat(ie,getModifiedTime(E,ie.fileName));if(ie.isClosed){N[R]=undefined;continue}$===null||$===void 0?void 0:$(ie,R,ae);if(N[R]){if(q<R){N[q]=ie;N[R]=undefined}q++}}return R;function nextPollIndex(){R++;if(R===N.length){if(q<R){N.length=q}R=0;q=0}}}function createDynamicPriorityPollingWatchFile(N){var R=[];var $=[];var q=createPollingIntervalQueue(j.Low);var ie=createPollingIntervalQueue(j.Medium);var ae=createPollingIntervalQueue(j.High);return watchFile;function watchFile(j,$,q){var G={fileName:j,callback:$,unchangedPolls:0,mtime:getModifiedTime(N,j)};R.push(G);addToPollingIntervalQueue(G,q);return{close:function(){G.isClosed=true;E.unorderedRemoveItem(R,G)}}}function createPollingIntervalQueue(E){var N=[];N.pollingInterval=E;N.pollIndex=0;N.pollScheduled=false;return N}function pollPollingIntervalQueue(N){N.pollIndex=pollQueue(N,N.pollingInterval,N.pollIndex,G[N.pollingInterval]);if(N.length){scheduleNextPoll(N.pollingInterval)}else{E.Debug.assert(N.pollIndex===0);N.pollScheduled=false}}function pollLowPollingIntervalQueue(E){pollQueue($,j.Low,0,$.length);pollPollingIntervalQueue(E);if(!E.pollScheduled&&$.length){scheduleNextPoll(j.Low)}}function pollQueue(R,q,G,ie){return pollWatchedFileQueue(N,R,G,ie,onWatchFileStat);function onWatchFileStat(N,G,ie){if(ie){N.unchangedPolls=0;if(R!==$){R[G]=undefined;addChangedFileToLowPollingIntervalQueue(N)}}else if(N.unchangedPolls!==E.unchangedPollThresholds[q]){N.unchangedPolls++}else if(R===$){N.unchangedPolls=1;R[G]=undefined;addToPollingIntervalQueue(N,j.Low)}else if(q!==j.High){N.unchangedPolls++;R[G]=undefined;addToPollingIntervalQueue(N,q===j.Low?j.Medium:j.High)}}}function pollingIntervalQueue(E){switch(E){case j.Low:return q;case j.Medium:return ie;case j.High:return ae}}function addToPollingIntervalQueue(E,N){pollingIntervalQueue(N).push(E);scheduleNextPollIfNotAlreadyScheduled(N)}function addChangedFileToLowPollingIntervalQueue(E){$.push(E);scheduleNextPollIfNotAlreadyScheduled(j.Low)}function scheduleNextPollIfNotAlreadyScheduled(E){if(!pollingIntervalQueue(E).pollScheduled){scheduleNextPoll(E)}}function scheduleNextPoll(E){pollingIntervalQueue(E).pollScheduled=N.setTimeout(E===j.Low?pollLowPollingIntervalQueue:pollPollingIntervalQueue,E,pollingIntervalQueue(E))}}E.createDynamicPriorityPollingWatchFile=createDynamicPriorityPollingWatchFile;function createUseFsEventsOnParentDirectoryWatchFile(R,$){var q=E.createMultiMap();var G=new E.Map;var ie=E.createGetCanonicalFileName($);return nonPollingWatchFile;function nonPollingWatchFile(N,R,j,$){var ae=ie(N);q.add(ae,R);var ce=E.getDirectoryPath(ae)||".";var le=G.get(ce)||createDirectoryWatcher(E.getDirectoryPath(N)||".",ce,$);le.referenceCount++;return{close:function(){if(le.referenceCount===1){le.close();G.delete(ce)}else{le.referenceCount--}q.remove(ae,R)}}}function createDirectoryWatcher($,ae,ce){var le=R($,1,(function(R,j){if(!E.isString(j)){return}var G=E.getNormalizedAbsolutePath(j,$);var ae=G&&q.get(ie(G));if(ae){for(var ce=0,le=ae;ce<le.length;ce++){var _e=le[ce];_e(G,N.Changed)}}}),false,j.Medium,ce);le.referenceCount=0;G.set(ae,le);return le}}function createFixedChunkSizePollingWatchFile(N){var R=[];var $=0;var q;return watchFile;function watchFile(j,$){var q={fileName:j,callback:$,mtime:getModifiedTime(N,j)};R.push(q);scheduleNextPoll();return{close:function(){q.isClosed=true;E.unorderedRemoveItem(R,q)}}}function pollQueue(){q=undefined;$=pollWatchedFileQueue(N,R,$,G[j.Low]);scheduleNextPoll()}function scheduleNextPoll(){if(!R.length||q)return;q=N.setTimeout(pollQueue,j.High)}}function createSingleFileWatcherPerName(N,R){var j=new E.Map;var $=E.createMultiMap();var q=E.createGetCanonicalFileName(R);return function(R,G,ie,ae){var ce=q(R);var le=j.get(ce);if(le){le.refCount++}else{j.set(ce,{watcher:N(R,(function(N,R){return E.forEach($.get(ce),(function(E){return E(N,R)}))}),ie,ae),refCount:1})}$.add(ce,G);return{close:function(){var N=E.Debug.checkDefined(j.get(ce));$.remove(ce,G);N.refCount--;if(N.refCount)return;j.delete(ce);E.closeFileWatcherOf(N)}}}}E.createSingleFileWatcherPerName=createSingleFileWatcherPerName;function onWatchedFileStat(E,N){var R=E.mtime.getTime();var j=N.getTime();if(R!==j){E.mtime=N;E.callback(E.fileName,getFileWatcherEventKind(R,j));return true}return false}E.onWatchedFileStat=onWatchedFileStat;function getFileWatcherEventKind(E,R){return E===0?N.Created:R===0?N.Deleted:N.Changed}E.getFileWatcherEventKind=getFileWatcherEventKind;E.ignoredPaths=["/node_modules/.","/.git","/.#"];E.sysLog=E.noop;function setSysLog(N){E.sysLog=N}E.setSysLog=setSysLog;function createDirectoryWatcherSupportingRecursive(N){var R=N.watchDirectory,j=N.useCaseSensitiveFileNames,$=N.getCurrentDirectory,q=N.getAccessibleSortedChildDirectories,G=N.directoryExists,ie=N.realpath,ae=N.setTimeout,ce=N.clearTimeout;var le=new E.Map;var _e=E.createMultiMap();var Ee=new E.Map;var Te;var we=E.getStringComparer(!j);var Ie=E.createGetCanonicalFileName(j);return function(E,N,j,$){return j?createDirectoryWatcher(E,$,N):R(E,N,j,$)};function createDirectoryWatcher(N,j,$){var q=Ie(N);var G=le.get(q);if(G){G.refCount++}else{G={watcher:R(N,(function(E){if(isIgnoredPath(E,j))return;if(j===null||j===void 0?void 0:j.synchronousWatchDirectory){invokeCallbacks(q,E);updateChildWatches(N,q,j)}else{nonSyncUpdateChildWatches(N,q,E,j)}}),false,j),refCount:1,childWatches:E.emptyArray};le.set(q,G);updateChildWatches(N,q,j)}var ie=$&&{dirName:N,callback:$};if(ie){_e.add(q,ie)}return{dirName:N,close:function(){var N=E.Debug.checkDefined(le.get(q));if(ie)_e.remove(q,ie);N.refCount--;if(N.refCount)return;le.delete(q);E.closeFileWatcherOf(N);N.childWatches.forEach(E.closeFileWatcher)}}}function invokeCallbacks(N,R,j){var $;var q;if(E.isString(R)){$=R}else{q=R}_e.forEach((function(R,G){var ie;if(q&&q.get(G)===true)return;if(G===N||E.startsWith(N,G)&&N[G.length]===E.directorySeparator){if(q){if(j){var ae=q.get(G);if(ae){(ie=ae).push.apply(ie,j)}else{q.set(G,j.slice())}}else{q.set(G,true)}}else{R.forEach((function(E){var N=E.callback;return N($)}))}}}))}function nonSyncUpdateChildWatches(E,N,R,j){var $=le.get(N);if($&&G(E)){scheduleUpdateChildWatches(E,N,R,j);return}invokeCallbacks(N,R);removeChildWatches($)}function scheduleUpdateChildWatches(E,N,R,j){var $=Ee.get(N);if($){$.fileNames.push(R)}else{Ee.set(N,{dirName:E,options:j,fileNames:[R]})}if(Te){ce(Te);Te=undefined}Te=ae(onTimerToUpdateChildWatches,1e3)}function onTimerToUpdateChildWatches(){Te=undefined;E.sysLog("sysLog:: onTimerToUpdateChildWatches:: "+Ee.size);var N=E.timestamp();var R=new E.Map;while(!Te&&Ee.size){var j=Ee.entries().next();E.Debug.assert(!j.done);var $=j.value,q=$[0],G=$[1],ie=G.dirName,ae=G.options,ce=G.fileNames;Ee.delete(q);var le=updateChildWatches(ie,q,ae);invokeCallbacks(q,R,le?undefined:ce)}E.sysLog("sysLog:: invokingWatchers:: Elapsed:: "+(E.timestamp()-N)+"ms:: "+Ee.size);_e.forEach((function(N,j){var $=R.get(j);if($){N.forEach((function(N){var R=N.callback,j=N.dirName;if(E.isArray($)){$.forEach(R)}else{R(j)}}))}}));var we=E.timestamp()-N;E.sysLog("sysLog:: Elapsed:: "+we+"ms:: onTimerToUpdateChildWatches:: "+Ee.size+" "+Te)}function removeChildWatches(N){if(!N)return;var R=N.childWatches;N.childWatches=E.emptyArray;for(var j=0,$=R;j<$.length;j++){var q=$[j];q.close();removeChildWatches(le.get(Ie(q.dirName)))}}function updateChildWatches(N,R,j){var $=le.get(R);if(!$)return false;var ae;var ce=E.enumerateInsertsAndDeletes(G(N)?E.mapDefined(q(N),(function(R){var $=E.getNormalizedAbsolutePath(R,N);return!isIgnoredPath($,j)&&we($,E.normalizePath(ie($)))===0?$:undefined})):E.emptyArray,$.childWatches,(function(E,N){return we(E,N.dirName)}),createAndAddChildDirectoryWatcher,E.closeFileWatcher,addChildDirectoryWatcher);$.childWatches=ae||E.emptyArray;return ce;function createAndAddChildDirectoryWatcher(E){var N=createDirectoryWatcher(E,j);addChildDirectoryWatcher(N)}function addChildDirectoryWatcher(E){(ae||(ae=[])).push(E)}}function isIgnoredPath(N,R){return E.some(E.ignoredPaths,(function(E){return isInPath(N,E)}))||isIgnoredByWatchOptions(N,R,j,$)}function isInPath(N,R){if(E.stringContains(N,R))return true;if(j)return false;return E.stringContains(Ie(N),R)}}E.createDirectoryWatcherSupportingRecursive=createDirectoryWatcherSupportingRecursive;var ie;(function(E){E[E["File"]=0]="File";E[E["Directory"]=1]="Directory"})(ie=E.FileSystemEntryKind||(E.FileSystemEntryKind={}));function createFileWatcherCallback(E){return function(R,j){return E(j===N.Changed?"change":"rename","")}}E.createFileWatcherCallback=createFileWatcherCallback;function createFsWatchCallbackForFileWatcherCallback(E,R,j){return function($){if($==="rename"){R(E,j(E)?N.Created:N.Deleted)}else{R(E,N.Changed)}}}function isIgnoredByWatchOptions(N,R,j,$){return((R===null||R===void 0?void 0:R.excludeDirectories)||(R===null||R===void 0?void 0:R.excludeFiles))&&(E.matchesExclude(N,R===null||R===void 0?void 0:R.excludeFiles,j,$())||E.matchesExclude(N,R===null||R===void 0?void 0:R.excludeDirectories,j,$()))}function createFsWatchCallbackForDirectoryWatcherCallback(N,R,j,$,q){return function(G,ie){if(G==="rename"){var ae=!ie?N:E.normalizePath(E.combinePaths(N,ie));if(!ie||!isIgnoredByWatchOptions(ae,j,$,q)){R(ae)}}}}function createSystemWatchFunctions(N){var R=N.pollingWatchFile,$=N.getModifiedTime,q=N.setTimeout,G=N.clearTimeout,ie=N.fsWatch,ae=N.fileExists,ce=N.useCaseSensitiveFileNames,le=N.getCurrentDirectory,_e=N.fsSupportsRecursiveFsWatch,Ee=N.directoryExists,Te=N.getAccessibleSortedChildDirectories,we=N.realpath,Ie=N.tscWatchFile,Ne=N.useNonPollingWatchers,Me=N.tscWatchDirectory,Le=N.defaultWatchFileKind;var Be;var je;var Ue;var ze;return{watchFile:watchFile,watchDirectory:watchDirectory};function watchFile(N,$,q,G){G=updateOptionsForWatchFile(G,Ne);var le=E.Debug.checkDefined(G.watchFile);switch(le){case E.WatchFileKind.FixedPollingInterval:return R(N,$,j.Low,undefined);case E.WatchFileKind.PriorityPollingInterval:return R(N,$,q,undefined);case E.WatchFileKind.DynamicPriorityPolling:return ensureDynamicPollingWatchFile()(N,$,q,undefined);case E.WatchFileKind.FixedChunkSizePolling:return ensureFixedChunkSizePollingWatchFile()(N,$,undefined,undefined);case E.WatchFileKind.UseFsEvents:return ie(N,0,createFsWatchCallbackForFileWatcherCallback(N,$,ae),false,q,E.getFallbackOptions(G));case E.WatchFileKind.UseFsEventsOnParentDirectory:if(!Ue){Ue=createUseFsEventsOnParentDirectoryWatchFile(ie,ce)}return Ue(N,$,q,E.getFallbackOptions(G));default:E.Debug.assertNever(le)}}function ensureDynamicPollingWatchFile(){return Be||(Be=createDynamicPriorityPollingWatchFile({getModifiedTime:$,setTimeout:q}))}function ensureFixedChunkSizePollingWatchFile(){return je||(je=createFixedChunkSizePollingWatchFile({getModifiedTime:$,setTimeout:q}))}function updateOptionsForWatchFile(N,R){if(N&&N.watchFile!==undefined)return N;switch(Ie){case"PriorityPollingInterval":return{watchFile:E.WatchFileKind.PriorityPollingInterval};case"DynamicPriorityPolling":return{watchFile:E.WatchFileKind.DynamicPriorityPolling};case"UseFsEvents":return generateWatchFileOptions(E.WatchFileKind.UseFsEvents,E.PollingWatchKind.PriorityInterval,N);case"UseFsEventsWithFallbackDynamicPolling":return generateWatchFileOptions(E.WatchFileKind.UseFsEvents,E.PollingWatchKind.DynamicPriority,N);case"UseFsEventsOnParentDirectory":R=true;default:return R?generateWatchFileOptions(E.WatchFileKind.UseFsEventsOnParentDirectory,E.PollingWatchKind.PriorityInterval,N):{watchFile:(Le===null||Le===void 0?void 0:Le())||E.WatchFileKind.FixedPollingInterval}}}function generateWatchFileOptions(E,N,R){var j=R===null||R===void 0?void 0:R.fallbackPolling;return{watchFile:E,fallbackPolling:j===undefined?N:j}}function watchDirectory(N,R,$,ae){if(_e){return ie(N,1,createFsWatchCallbackForDirectoryWatcherCallback(N,R,ae,ce,le),$,j.Medium,E.getFallbackOptions(ae))}if(!ze){ze=createDirectoryWatcherSupportingRecursive({useCaseSensitiveFileNames:ce,getCurrentDirectory:le,directoryExists:Ee,getAccessibleSortedChildDirectories:Te,watchDirectory:nonRecursiveWatchDirectory,realpath:we,setTimeout:q,clearTimeout:G})}return ze(N,R,$,ae)}function nonRecursiveWatchDirectory(N,$,q,G){E.Debug.assert(!q);var ae=updateOptionsForWatchDirectory(G);var _e=E.Debug.checkDefined(ae.watchDirectory);switch(_e){case E.WatchDirectoryKind.FixedPollingInterval:return R(N,(function(){return $(N)}),j.Medium,undefined);case E.WatchDirectoryKind.DynamicPriorityPolling:return ensureDynamicPollingWatchFile()(N,(function(){return $(N)}),j.Medium,undefined);case E.WatchDirectoryKind.FixedChunkSizePolling:return ensureFixedChunkSizePollingWatchFile()(N,(function(){return $(N)}),undefined,undefined);case E.WatchDirectoryKind.UseFsEvents:return ie(N,1,createFsWatchCallbackForDirectoryWatcherCallback(N,$,G,ce,le),q,j.Medium,E.getFallbackOptions(ae));default:E.Debug.assertNever(_e)}}function updateOptionsForWatchDirectory(N){if(N&&N.watchDirectory!==undefined)return N;switch(Me){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:E.WatchDirectoryKind.FixedPollingInterval};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:E.WatchDirectoryKind.DynamicPriorityPolling};default:var R=N===null||N===void 0?void 0:N.fallbackPolling;return{watchDirectory:E.WatchDirectoryKind.UseFsEvents,fallbackPolling:R!==undefined?R:undefined}}}}E.createSystemWatchFunctions=createSystemWatchFunctions;function patchWriteFileEnsuringDirectory(N){var R=N.writeFile;N.writeFile=function(j,$,q){return E.writeFileEnsuringDirectories(j,$,!!q,(function(E,j,$){return R.call(N,E,j,$)}),(function(E){return N.createDirectory(E)}),(function(E){return N.directoryExists(E)}))}}E.patchWriteFileEnsuringDirectory=patchWriteFileEnsuringDirectory;function getNodeMajorVersion(){if(typeof process==="undefined"){return undefined}var E=process.version;if(!E){return undefined}var N=E.indexOf(".");if(N===-1){return undefined}return parseInt(E.substring(1,N))}E.getNodeMajorVersion=getNodeMajorVersion;E.sys=function(){var j="\ufeff";function getNodeSystem(){var q;var G=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/;var ie=R(57147);var ae=R(71017);var ce=R(22037);var le;try{le=R(6113)}catch(E){le=undefined}var _e;var Ee="./profile.cpuprofile";var Te=false;var we=R(14300).Buffer;var Ie=getNodeMajorVersion();var Ne=Ie>=4;var Me=process.platform==="linux"||process.platform==="darwin";var Le=ce.platform();var Be=isFileSystemCaseSensitive();var je=Be?(q=ie.realpathSync.native)!==null&&q!==void 0?q:ie.realpathSync:ie.realpathSync;var Ue=Ne&&(process.platform==="win32"||process.platform==="darwin");var ze=E.memoize((function(){return process.cwd()}));var We=createSystemWatchFunctions({pollingWatchFile:createSingleFileWatcherPerName(fsWatchFileWorker,Be),getModifiedTime:getModifiedTime,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatch:fsWatch,useCaseSensitiveFileNames:Be,getCurrentDirectory:ze,fileExists:fileExists,fsSupportsRecursiveFsWatch:Ue,directoryExists:directoryExists,getAccessibleSortedChildDirectories:function(E){return getAccessibleFileSystemEntries(E).directories},realpath:realpath,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,defaultWatchFileKind:function(){var E,N;return(N=(E=$).defaultWatchFileKind)===null||N===void 0?void 0:N.call(E)}}),Je=We.watchFile,Ve=We.watchDirectory;var qe={args:process.argv.slice(2),newLine:ce.EOL,useCaseSensitiveFileNames:Be,write:function(E){process.stdout.write(E)},getWidthOfTerminal:function(){return process.stdout.columns},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:readFile,writeFile:writeFile,watchFile:Je,watchDirectory:Ve,resolvePath:function(E){return ae.resolve(E)},fileExists:fileExists,directoryExists:directoryExists,createDirectory:function(E){if(!qe.directoryExists(E)){try{ie.mkdirSync(E)}catch(E){if(E.code!=="EEXIST"){throw E}}}},getExecutingFilePath:function(){return __filename},getCurrentDirectory:ze,getDirectories:getDirectories,getEnvironmentVariable:function(E){return process.env[E]||""},readDirectory:readDirectory,getModifiedTime:getModifiedTime,setModifiedTime:setModifiedTime,deleteFile:deleteFile,createHash:le?createSHA256Hash:generateDjb2Hash,createSHA256Hash:le?createSHA256Hash:undefined,getMemoryUsage:function(){if(global.gc){global.gc()}return process.memoryUsage().heapUsed},getFileSize:function(E){try{var N=statSync(E);if(N===null||N===void 0?void 0:N.isFile()){return N.size}}catch(E){}return 0},exit:function(E){disableCPUProfiler((function(){return process.exit(E)}))},enableCPUProfiler:enableCPUProfiler,disableCPUProfiler:disableCPUProfiler,cpuProfilingEnabled:function(){return!!_e||E.contains(process.execArgv,"--cpu-prof")||E.contains(process.execArgv,"--prof")},realpath:realpath,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||E.some(process.execArgv,(function(E){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(E)})),tryEnableSourceMapsForHost:function(){try{R(22284).install()}catch(E){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){process.stdout.write("c")},setBlocking:function(){if(process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking){process.stdout._handle.setBlocking(true)}},bufferFrom:bufferFrom,base64decode:function(E){return bufferFrom(E,"base64").toString("utf8")},base64encode:function(E){return bufferFrom(E).toString("base64")},require:function(N,R){try{var j=E.resolveJSModule(R,N,qe);return{module:require(j),modulePath:j,error:undefined}}catch(E){return{module:undefined,modulePath:undefined,error:E}}}};return qe;function statSync(E){return ie.statSync(E,{throwIfNoEntry:false})}function enableCPUProfiler(E,N){if(_e){N();return false}var j=R(31405);if(!j||!j.Session){N();return false}var $=new j.Session;$.connect();$.post("Profiler.enable",(function(){$.post("Profiler.start",(function(){_e=$;Ee=E;N()}))}));return true}function cleanupPaths(N){var R=0;var j=new E.Map;var $=E.normalizeSlashes(__dirname);var q="file://"+(E.getRootLength($)===1?"":"/")+$;for(var ie=0,ae=N.nodes;ie<ae.length;ie++){var ce=ae[ie];if(ce.callFrame.url){var le=E.normalizeSlashes(ce.callFrame.url);if(E.containsPath(q,le,Be)){ce.callFrame.url=E.getRelativePathToDirectoryOrUrl(q,le,q,E.createGetCanonicalFileName(Be),true)}else if(!G.test(le)){ce.callFrame.url=(j.has(le)?j:j.set(le,"external"+R+".js")).get(le);R++}}}return N}function disableCPUProfiler(E){if(_e&&_e!=="stopping"){var N=_e;_e.post("Profiler.stop",(function(R,j){var $;var q=j.profile;if(!R){try{if(($=statSync(Ee))===null||$===void 0?void 0:$.isDirectory()){Ee=ae.join(Ee,(new Date).toISOString().replace(/:/g,"-")+"+P"+process.pid+".cpuprofile")}}catch(E){}try{ie.mkdirSync(ae.dirname(Ee),{recursive:true})}catch(E){}ie.writeFileSync(Ee,JSON.stringify(cleanupPaths(q)))}_e=undefined;N.disconnect();E()}));_e="stopping";return true}else{E();return false}}function bufferFrom(E,N){return we.from&&we.from!==Int8Array.from?we.from(E,N):new we(E,N)}function isFileSystemCaseSensitive(){if(Le==="win32"||Le==="win64"){return false}return!fileExists(swapCase(__filename))}function swapCase(E){return E.replace(/\w/g,(function(E){var N=E.toUpperCase();return E===N?E.toLowerCase():N}))}function fsWatchFileWorker(E,R,j){ie.watchFile(E,{persistent:true,interval:j},fileChanged);var $;return{close:function(){return ie.unwatchFile(E,fileChanged)}};function fileChanged(j,q){var G=+q.mtime===0||$===N.Deleted;if(+j.mtime===0){if(G){return}$=N.Deleted}else if(G){$=N.Created}else if(+j.mtime===+q.mtime){return}else{$=N.Changed}R(E,$)}}function fsWatch(R,j,$,q,G,ae){var ce;var le;var _e;if(Me){le=R.substr(R.lastIndexOf(E.directorySeparator));_e=le.slice(E.directorySeparator.length)}var Ee=!fileSystemEntryExists(R,j)?watchMissingFileSystemEntry():watchPresentFileSystemEntry();return{close:function(){Ee.close();Ee=undefined}};function invokeCallbackAndUpdateWatcher(N){E.sysLog("sysLog:: "+R+":: Changing watcher to "+(N===watchPresentFileSystemEntry?"Present":"Missing")+"FileSystemEntryWatcher");$("rename","");if(Ee){Ee.close();Ee=N()}}function watchPresentFileSystemEntry(){if(ce===undefined){if(Ue){ce={persistent:true,recursive:!!q}}else{ce={persistent:true}}}if(Te){E.sysLog("sysLog:: "+R+":: Defaulting to fsWatchFile");return watchPresentFileSystemEntryWithFsWatchFile()}try{var N=ie.watch(R,ce,Me?callbackChangingToMissingFileSystemEntry:$);N.on("error",(function(){return invokeCallbackAndUpdateWatcher(watchMissingFileSystemEntry)}));return N}catch(N){Te||(Te=N.code==="ENOSPC");E.sysLog("sysLog:: "+R+":: Changing to fsWatchFile");return watchPresentFileSystemEntryWithFsWatchFile()}}function callbackChangingToMissingFileSystemEntry(E,N){return E==="rename"&&(!N||N===_e||N.lastIndexOf(le)!==-1&&N.lastIndexOf(le)===N.length-le.length)&&!fileSystemEntryExists(R,j)?invokeCallbackAndUpdateWatcher(watchMissingFileSystemEntry):$(E,N)}function watchPresentFileSystemEntryWithFsWatchFile(){return Je(R,createFileWatcherCallback($),G,ae)}function watchMissingFileSystemEntry(){return Je(R,(function(E,$){if($===N.Created&&fileSystemEntryExists(R,j)){invokeCallbackAndUpdateWatcher(watchPresentFileSystemEntry)}}),G,ae)}}function readFileWorker(E,N){var R;try{R=ie.readFileSync(E)}catch(E){return undefined}var j=R.length;if(j>=2&&R[0]===254&&R[1]===255){j&=~1;for(var $=0;$<j;$+=2){var q=R[$];R[$]=R[$+1];R[$+1]=q}return R.toString("utf16le",2)}if(j>=2&&R[0]===255&&R[1]===254){return R.toString("utf16le",2)}if(j>=3&&R[0]===239&&R[1]===187&&R[2]===191){return R.toString("utf8",3)}return R.toString("utf8")}function readFile(N,R){E.perfLogger.logStartReadFile(N);var j=readFileWorker(N,R);E.perfLogger.logStopReadFile();return j}function writeFile(N,R,$){E.perfLogger.logEvent("WriteFile: "+N);if($){R=j+R}var q;try{q=ie.openSync(N,"w");ie.writeSync(q,R,undefined,"utf8")}finally{if(q!==undefined){ie.closeSync(q)}}}function getAccessibleFileSystemEntries(N){E.perfLogger.logEvent("ReadDir: "+(N||"."));try{var R=ie.readdirSync(N||".",{withFileTypes:true});var j=[];var $=[];for(var q=0,G=R;q<G.length;q++){var ae=G[q];var ce=typeof ae==="string"?ae:ae.name;if(ce==="."||ce===".."){continue}var le=void 0;if(typeof ae==="string"||ae.isSymbolicLink()){var _e=E.combinePaths(N,ce);try{le=statSync(_e);if(!le){continue}}catch(E){continue}}else{le=ae}if(le.isFile()){j.push(ce)}else if(le.isDirectory()){$.push(ce)}}j.sort();$.sort();return{files:j,directories:$}}catch(N){return E.emptyFileSystemEntries}}function readDirectory(N,R,j,$,q){return E.matchFiles(N,R,j,$,Be,process.cwd(),q,getAccessibleFileSystemEntries,realpath,directoryExists)}function fileSystemEntryExists(E,N){var R=Error.stackTraceLimit;Error.stackTraceLimit=0;try{var j=statSync(E);if(!j){return false}switch(N){case 0:return j.isFile();case 1:return j.isDirectory();default:return false}}catch(E){return false}finally{Error.stackTraceLimit=R}}function fileExists(E){return fileSystemEntryExists(E,0)}function directoryExists(E){return fileSystemEntryExists(E,1)}function getDirectories(E){return getAccessibleFileSystemEntries(E).directories.slice()}function realpath(E){try{return je(E)}catch(N){return E}}function getModifiedTime(E){var N;try{return(N=statSync(E))===null||N===void 0?void 0:N.mtime}catch(E){return undefined}}function setModifiedTime(E,N){try{ie.utimesSync(E,N,N)}catch(E){return}}function deleteFile(E){try{return ie.unlinkSync(E)}catch(E){return}}function createSHA256Hash(E){var N=le.createHash("sha256");N.update(E);return N.digest("hex")}}var $;if(typeof process!=="undefined"&&process.nextTick&&!process.browser&&"function"!=="undefined"){$=getNodeSystem()}if($){patchWriteFileEnsuringDirectory($)}return $}();if(E.sys&&E.sys.getEnvironmentVariable){setCustomPollingValues(E.sys);E.Debug.setAssertionLevel(/^development$/i.test(E.sys.getEnvironmentVariable("NODE_ENV"))?1:0)}if(E.sys&&E.sys.debugMode){E.Debug.isDebugging=true}})(ce||(ce={}));var ce;(function(E){function diag(E,N,R,j,$,q,G){return{code:E,category:N,key:R,message:j,reportsUnnecessary:$,elidedInCompatabilityPyramid:q,reportsDeprecated:G}}E.Diagnostics={Unterminated_string_literal:diag(1002,E.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:diag(1003,E.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:diag(1005,E.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:diag(1006,E.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:diag(1007,E.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:diag(1009,E.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:diag(1010,E.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:diag(1011,E.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:diag(1012,E.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:diag(1013,E.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:diag(1014,E.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:diag(1015,E.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:diag(1016,E.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:diag(1017,E.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:diag(1018,E.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:diag(1019,E.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:diag(1020,E.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:diag(1021,E.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:diag(1022,E.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:diag(1024,E.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:diag(1025,E.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:diag(1028,E.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:diag(1029,E.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:diag(1030,E.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:diag(1031,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:diag(1034,E.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:diag(1035,E.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:diag(1036,E.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:diag(1038,E.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:diag(1039,E.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:diag(1040,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:diag(1041,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:diag(1042,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:diag(1043,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:diag(1044,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:diag(1045,E.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:diag(1046,E.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:diag(1047,E.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:diag(1048,E.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:diag(1049,E.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:diag(1051,E.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:diag(1052,E.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:diag(1053,E.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:diag(1054,E.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:diag(1055,E.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:diag(1056,E.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:diag(1057,E.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","An async function or method must have a valid awaitable return type."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1058,E.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:diag(1059,E.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:diag(1060,E.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:diag(1061,E.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:diag(1062,E.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:diag(1063,E.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:diag(1064,E.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:diag(1066,E.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:diag(1068,E.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:diag(1069,E.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:diag(1070,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:diag(1071,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:diag(1079,E.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:diag(1084,E.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:diag(1085,E.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:diag(1089,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:diag(1090,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:diag(1091,E.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:diag(1092,E.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:diag(1093,E.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:diag(1094,E.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:diag(1095,E.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:diag(1096,E.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:diag(1097,E.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:diag(1098,E.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:diag(1099,E.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:diag(1100,E.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:diag(1101,E.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:diag(1102,E.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1103,E.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:diag(1104,E.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:diag(1105,E.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:diag(1106,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:diag(1107,E.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:diag(1108,E.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:diag(1109,E.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:diag(1110,E.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:diag(1113,E.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:diag(1114,E.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:diag(1115,E.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:diag(1116,E.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:diag(1117,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:diag(1118,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:diag(1119,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:diag(1120,E.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:diag(1121,E.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:diag(1123,E.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:diag(1124,E.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:diag(1125,E.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:diag(1126,E.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:diag(1127,E.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:diag(1128,E.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:diag(1129,E.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:diag(1130,E.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:diag(1131,E.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:diag(1132,E.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:diag(1134,E.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:diag(1135,E.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:diag(1136,E.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:diag(1137,E.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:diag(1138,E.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:diag(1139,E.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:diag(1140,E.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:diag(1141,E.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:diag(1142,E.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:diag(1144,E.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:diag(1146,E.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:diag(1147,E.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:diag(1148,E.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:diag(1149,E.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:diag(1155,E.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:diag(1156,E.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:diag(1157,E.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:diag(1160,E.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:diag(1161,E.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:diag(1162,E.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:diag(1163,E.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:diag(1164,E.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1165,E.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:diag(1166,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1168,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1169,E.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1170,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:diag(1171,E.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:diag(1172,E.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:diag(1173,E.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:diag(1174,E.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:diag(1175,E.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:diag(1176,E.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:diag(1177,E.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:diag(1178,E.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:diag(1179,E.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:diag(1180,E.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:diag(1181,E.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:diag(1182,E.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:diag(1183,E.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:diag(1184,E.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:diag(1185,E.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:diag(1186,E.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:diag(1187,E.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:diag(1188,E.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:diag(1189,E.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:diag(1190,E.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:diag(1191,E.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:diag(1192,E.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:diag(1193,E.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:diag(1194,E.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:diag(1195,E.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:diag(1196,E.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:diag(1197,E.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:diag(1198,E.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:diag(1199,E.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:diag(1200,E.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:diag(1202,E.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:diag(1203,E.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:diag(1205,E.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:diag(1206,E.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:diag(1207,E.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:diag(1208,E.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:diag(1210,E.DiagnosticCategory.Error,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:diag(1211,E.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:diag(1212,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:diag(1213,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:diag(1214,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:diag(1215,E.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:diag(1216,E.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:diag(1218,E.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:diag(1219,E.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:diag(1220,E.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:diag(1221,E.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:diag(1222,E.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:diag(1223,E.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:diag(1224,E.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:diag(1225,E.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:diag(1226,E.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:diag(1227,E.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:diag(1228,E.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:diag(1229,E.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:diag(1230,E.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:diag(1231,E.DiagnosticCategory.Error,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:diag(1232,E.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:diag(1233,E.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:diag(1234,E.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:diag(1235,E.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:diag(1236,E.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:diag(1237,E.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:diag(1238,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:diag(1239,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:diag(1240,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:diag(1241,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:diag(1242,E.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:diag(1243,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:diag(1244,E.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:diag(1245,E.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:diag(1246,E.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:diag(1247,E.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:diag(1248,E.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:diag(1249,E.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:diag(1250,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:diag(1251,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:diag(1252,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:diag(1253,E.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:diag(1254,E.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:diag(1255,E.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:diag(1257,E.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:diag(1258,E.DiagnosticCategory.Error,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:diag(1259,E.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:diag(1260,E.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:diag(1261,E.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:diag(1262,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:diag(1263,E.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:diag(1264,E.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:diag(1265,E.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:diag(1266,E.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:diag(1267,E.DiagnosticCategory.Error,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:diag(1268,E.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),with_statements_are_not_allowed_in_an_async_function_block:diag(1300,E.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1308,E.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:diag(1312,E.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:diag(1313,E.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:diag(1314,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:diag(1315,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:diag(1316,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:diag(1317,E.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:diag(1318,E.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:diag(1319,E.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1320,E.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1321,E.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1322,E.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd:diag(1323,E.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:diag(1324,E.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:diag(1325,E.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:diag(1326,E.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:diag(1327,E.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:diag(1328,E.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:diag(1329,E.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:diag(1330,E.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:diag(1331,E.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:diag(1332,E.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:diag(1333,E.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:diag(1334,E.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:diag(1335,E.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:diag(1337,E.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:diag(1338,E.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:diag(1339,E.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:diag(1340,E.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:diag(1342,E.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system:diag(1343,E.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'."),A_label_is_not_allowed_here:diag(1344,E.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:diag(1345,E.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:diag(1346,E.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:diag(1347,E.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:diag(1348,E.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:diag(1349,E.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:diag(1350,E.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:diag(1351,E.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:diag(1352,E.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:diag(1353,E.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:diag(1354,E.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:diag(1355,E.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:diag(1356,E.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:diag(1357,E.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:diag(1358,E.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:diag(1359,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Did_you_mean_to_parenthesize_this_function_type:diag(1360,E.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:diag(1361,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:diag(1362,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:diag(1363,E.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:diag(1364,E.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:diag(1365,E.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:diag(1366,E.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:diag(1367,E.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:diag(1369,E.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:diag(1371,E.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:diag(1373,E.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:diag(1374,E.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1375,E.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:diag(1376,E.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:diag(1377,E.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:diag(1378,E.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:diag(1379,E.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:diag(1380,E.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:diag(1381,E.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),Unexpected_token_Did_you_mean_or_gt:diag(1382,E.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `&gt;`?"),Only_named_exports_may_use_export_type:diag(1383,E.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:diag(1384,E.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:diag(1385,E.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:diag(1386,E.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:diag(1387,E.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:diag(1388,E.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:diag(1389,E.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),Provides_a_root_package_name_when_using_outFile_with_declarations:diag(1390,E.DiagnosticCategory.Message,"Provides_a_root_package_name_when_using_outFile_with_declarations_1390","Provides a root package name when using outFile with declarations."),The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_declaration_emit:diag(1391,E.DiagnosticCategory.Error,"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391","The 'bundledPackageName' option must be provided when using outFile and node module resolution with declaration emit."),An_import_alias_cannot_use_import_type:diag(1392,E.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:diag(1393,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:diag(1394,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:diag(1395,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:diag(1396,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:diag(1397,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:diag(1398,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:diag(1399,E.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:diag(1400,E.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:diag(1401,E.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:diag(1402,E.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:diag(1403,E.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:diag(1404,E.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:diag(1405,E.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:diag(1406,E.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:diag(1407,E.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:diag(1408,E.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:diag(1409,E.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:diag(1410,E.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:diag(1411,E.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:diag(1412,E.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:diag(1413,E.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:diag(1414,E.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:diag(1415,E.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:diag(1416,E.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:diag(1417,E.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:diag(1418,E.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:diag(1419,E.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:diag(1420,E.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:diag(1421,E.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:diag(1422,E.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:diag(1423,E.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:diag(1424,E.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:diag(1425,E.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:diag(1426,E.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:diag(1427,E.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:diag(1428,E.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:diag(1429,E.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:diag(1430,E.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1431,E.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:diag(1432,E.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:diag(1433,E.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:diag(1434,E.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:diag(1435,E.DiagnosticCategory.Error,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:diag(1436,E.DiagnosticCategory.Error,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:diag(1437,E.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:diag(1438,E.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:diag(1439,E.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:diag(1440,E.DiagnosticCategory.Error,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:diag(1441,E.DiagnosticCategory.Error,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:diag(1442,E.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:diag(1443,E.DiagnosticCategory.Error,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),The_types_of_0_are_incompatible_between_these_types:diag(2200,E.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:diag(2201,E.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:diag(2202,E.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",undefined,true),Construct_signature_return_types_0_and_1_are_incompatible:diag(2203,E.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",undefined,true),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2204,E.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2205,E.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Duplicate_identifier_0:diag(2300,E.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:diag(2301,E.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:diag(2302,E.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:diag(2303,E.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:diag(2304,E.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:diag(2305,E.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:diag(2306,E.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:diag(2307,E.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:diag(2308,E.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:diag(2309,E.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:diag(2310,E.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:diag(2311,E.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2312,E.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:diag(2313,E.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:diag(2314,E.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:diag(2315,E.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:diag(2316,E.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:diag(2317,E.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:diag(2318,E.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:diag(2319,E.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:diag(2320,E.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:diag(2321,E.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:diag(2322,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:diag(2323,E.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:diag(2324,E.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:diag(2325,E.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:diag(2326,E.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:diag(2327,E.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:diag(2328,E.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:diag(2329,E.DiagnosticCategory.Error,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:diag(2330,E.DiagnosticCategory.Error,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:diag(2331,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:diag(2332,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:diag(2333,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:diag(2334,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:diag(2335,E.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:diag(2336,E.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:diag(2337,E.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:diag(2338,E.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:diag(2339,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:diag(2340,E.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:diag(2341,E.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:diag(2342,E.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:diag(2343,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:diag(2344,E.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:diag(2345,E.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:diag(2346,E.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:diag(2347,E.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:diag(2348,E.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:diag(2349,E.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:diag(2350,E.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:diag(2351,E.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:diag(2352,E.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:diag(2353,E.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:diag(2354,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:diag(2355,E.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2356,E.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:diag(2357,E.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:diag(2358,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:diag(2359,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:diag(2360,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:diag(2361,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361","The right-hand side of an 'in' expression must not be a primitive."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2362,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2363,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:diag(2364,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:diag(2365,E.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:diag(2366,E.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:diag(2367,E.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:diag(2368,E.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:diag(2369,E.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:diag(2370,E.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:diag(2371,E.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:diag(2372,E.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:diag(2373,E.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:diag(2374,E.DiagnosticCategory.Error,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:diag(2376,E.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:diag(2377,E.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:diag(2378,E.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:diag(2380,E.DiagnosticCategory.Error,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),A_signature_with_an_implementation_cannot_use_a_string_literal_type:diag(2381,E.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:diag(2382,E.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:diag(2383,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:diag(2384,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:diag(2385,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:diag(2386,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:diag(2387,E.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:diag(2388,E.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:diag(2389,E.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:diag(2390,E.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:diag(2391,E.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:diag(2392,E.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:diag(2393,E.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:diag(2394,E.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:diag(2395,E.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:diag(2396,E.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:diag(2397,E.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:diag(2398,E.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:diag(2399,E.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:diag(2400,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:diag(2401,E.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:diag(2402,E.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:diag(2403,E.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:diag(2404,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:diag(2405,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:diag(2406,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:diag(2407,E.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:diag(2408,E.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:diag(2409,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:diag(2410,E.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:diag(2411,E.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:diag(2413,E.DiagnosticCategory.Error,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:diag(2414,E.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:diag(2415,E.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:diag(2416,E.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:diag(2417,E.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:diag(2418,E.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:diag(2419,E.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:diag(2420,E.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2422,E.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:diag(2423,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2425,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2426,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:diag(2427,E.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:diag(2428,E.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:diag(2430,E.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:diag(2431,E.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:diag(2432,E.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:diag(2433,E.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:diag(2434,E.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:diag(2435,E.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:diag(2436,E.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:diag(2437,E.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:diag(2438,E.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:diag(2439,E.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:diag(2440,E.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:diag(2441,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:diag(2442,E.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:diag(2443,E.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:diag(2444,E.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:diag(2445,E.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:diag(2446,E.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:diag(2447,E.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:diag(2448,E.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:diag(2449,E.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:diag(2450,E.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:diag(2451,E.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:diag(2452,E.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:diag(2453,E.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:diag(2454,E.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:diag(2455,E.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:diag(2456,E.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:diag(2457,E.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:diag(2458,E.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:diag(2459,E.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:diag(2460,E.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:diag(2461,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:diag(2462,E.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:diag(2463,E.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:diag(2464,E.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:diag(2465,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:diag(2466,E.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:diag(2467,E.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:diag(2468,E.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:diag(2469,E.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:diag(2470,E.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:diag(2471,E.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:diag(2472,E.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:diag(2473,E.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:diag(2474,E.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:diag(2475,E.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:diag(2476,E.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:diag(2477,E.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:diag(2478,E.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:diag(2479,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:diag(2480,E.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:diag(2481,E.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:diag(2483,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:diag(2484,E.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:diag(2487,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2488,E.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:diag(2489,E.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:diag(2490,E.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:diag(2491,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:diag(2492,E.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:diag(2493,E.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:diag(2494,E.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:diag(2495,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:diag(2496,E.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:diag(2497,E.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:diag(2498,E.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2499,E.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2500,E.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:diag(2501,E.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:diag(2502,E.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:diag(2503,E.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:diag(2504,E.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:diag(2505,E.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:diag(2506,E.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:diag(2507,E.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:diag(2508,E.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2509,E.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:diag(2510,E.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:diag(2511,E.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:diag(2512,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:diag(2513,E.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:diag(2514,E.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:diag(2515,E.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:diag(2516,E.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:diag(2517,E.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:diag(2518,E.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:diag(2519,E.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:diag(2520,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:diag(2521,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:diag(2522,E.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:diag(2523,E.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:diag(2524,E.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:diag(2525,E.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:diag(2526,E.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:diag(2527,E.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:diag(2528,E.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:diag(2529,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:diag(2530,E.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:diag(2531,E.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:diag(2532,E.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:diag(2533,E.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:diag(2534,E.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:diag(2535,E.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:diag(2536,E.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:diag(2537,E.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:diag(2538,E.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:diag(2539,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:diag(2540,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:diag(2541,E.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:diag(2542,E.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:diag(2543,E.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:diag(2544,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:diag(2545,E.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:diag(2547,E.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2548,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2549,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:diag(2550,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:diag(2551,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:diag(2552,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:diag(2553,E.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:diag(2554,E.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:diag(2555,E.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:diag(2556,E.DiagnosticCategory.Error,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:diag(2558,E.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:diag(2559,E.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:diag(2560,E.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:diag(2561,E.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:diag(2562,E.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:diag(2563,E.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:diag(2564,E.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:diag(2565,E.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:diag(2566,E.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:diag(2567,E.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:diag(2568,E.DiagnosticCategory.Error,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:diag(2569,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Could_not_find_name_0_Did_you_mean_1:diag(2570,E.DiagnosticCategory.Error,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:diag(2571,E.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:diag(2572,E.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:diag(2573,E.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:diag(2574,E.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:diag(2575,E.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:diag(2576,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:diag(2577,E.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:diag(2578,E.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:diag(2580,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:diag(2581,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:diag(2582,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:diag(2583,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:diag(2584,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:diag(2585,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:diag(2586,E.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:diag(2587,E.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:diag(2588,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:diag(2589,E.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:diag(2590,E.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:diag(2591,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:diag(2592,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:diag(2593,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:diag(2594,E.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:diag(2595,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2596,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:diag(2597,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2598,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_attributes_type_0_may_not_be_a_union_type:diag(2600,E.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:diag(2601,E.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:diag(2602,E.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:diag(2603,E.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:diag(2604,E.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:diag(2605,E.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:diag(2606,E.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:diag(2607,E.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:diag(2608,E.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:diag(2609,E.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:diag(2610,E.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:diag(2611,E.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:diag(2612,E.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:diag(2613,E.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:diag(2614,E.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:diag(2615,E.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:diag(2616,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2617,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:diag(2618,E.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:diag(2619,E.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:diag(2620,E.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:diag(2621,E.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:diag(2623,E.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:diag(2624,E.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:diag(2625,E.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:diag(2626,E.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:diag(2627,E.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:diag(2628,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:diag(2629,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:diag(2630,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:diag(2631,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:diag(2632,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:diag(2633,E.DiagnosticCategory.Error,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:diag(2634,E.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:diag(2649,E.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:diag(2651,E.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:diag(2652,E.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:diag(2653,E.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:diag(2654,E.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:diag(2656,E.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:diag(2657,E.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:diag(2658,E.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:diag(2659,E.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:diag(2660,E.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:diag(2661,E.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:diag(2662,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:diag(2663,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:diag(2664,E.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:diag(2665,E.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:diag(2666,E.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:diag(2667,E.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:diag(2668,E.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:diag(2669,E.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:diag(2670,E.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:diag(2671,E.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:diag(2672,E.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:diag(2673,E.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:diag(2674,E.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:diag(2675,E.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:diag(2676,E.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:diag(2677,E.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:diag(2678,E.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:diag(2679,E.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:diag(2680,E.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:diag(2681,E.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:diag(2682,E.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:diag(2683,E.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:diag(2684,E.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:diag(2685,E.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:diag(2686,E.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:diag(2687,E.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:diag(2688,E.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:diag(2689,E.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:diag(2690,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:diag(2691,E.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:diag(2692,E.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:diag(2693,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:diag(2694,E.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:diag(2695,E.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",true),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:diag(2696,E.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2697,E.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:diag(2698,E.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:diag(2699,E.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:diag(2700,E.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:diag(2701,E.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:diag(2702,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:diag(2703,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:diag(2704,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2705,E.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:diag(2706,E.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:diag(2707,E.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:diag(2708,E.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:diag(2709,E.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:diag(2710,E.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2711,E.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2712,E.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:diag(2713,E.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:diag(2714,E.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:diag(2715,E.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:diag(2716,E.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:diag(2717,E.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:diag(2718,E.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:diag(2719,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:diag(2720,E.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:diag(2721,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:diag(2722,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:diag(2723,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:diag(2724,E.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:diag(2725,E.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:diag(2726,E.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:diag(2727,E.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:diag(2728,E.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:diag(2729,E.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:diag(2730,E.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:diag(2731,E.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:diag(2732,E.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:diag(2733,E.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:diag(2734,E.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:diag(2735,E.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:diag(2736,E.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:diag(2737,E.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:diag(2738,E.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:diag(2739,E.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:diag(2740,E.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:diag(2741,E.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:diag(2742,E.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:diag(2743,E.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:diag(2744,E.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:diag(2745,E.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:diag(2746,E.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:diag(2747,E.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:diag(2748,E.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:diag(2749,E.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:diag(2750,E.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:diag(2751,E.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:diag(2752,E.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:diag(2753,E.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:diag(2754,E.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:diag(2755,E.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:diag(2756,E.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:diag(2757,E.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2758,E.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:diag(2759,E.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:diag(2760,E.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:diag(2761,E.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2762,E.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:diag(2763,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:diag(2764,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:diag(2765,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:diag(2766,E.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:diag(2767,E.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:diag(2768,E.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:diag(2769,E.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:diag(2770,E.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:diag(2771,E.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:diag(2772,E.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:diag(2773,E.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:diag(2774,E.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:diag(2775,E.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:diag(2776,E.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:diag(2777,E.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:diag(2778,E.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:diag(2779,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:diag(2780,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:diag(2781,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:diag(2782,E.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:diag(2783,E.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:diag(2784,E.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:diag(2785,E.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:diag(2786,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:diag(2787,E.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:diag(2788,E.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:diag(2789,E.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:diag(2790,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:diag(2791,E.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:diag(2792,E.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:diag(2793,E.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:diag(2794,E.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:diag(2795,E.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:diag(2796,E.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:diag(2797,E.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:diag(2798,E.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:diag(2799,E.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:diag(2800,E.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:diag(2801,E.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:diag(2802,E.DiagnosticCategory.Error,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:diag(2803,E.DiagnosticCategory.Error,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:diag(2804,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_not_specified_with_a_target_of_esnext_Consider_adding_the_useDefineForClassFields_flag:diag(2805,E.DiagnosticCategory.Error,"Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805","Static fields with private names can't have initializers when the '--useDefineForClassFields' flag is not specified with a '--target' of 'esnext'. Consider adding the '--useDefineForClassFields' flag."),Private_accessor_was_defined_without_a_getter:diag(2806,E.DiagnosticCategory.Error,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:diag(2807,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:diag(2808,E.DiagnosticCategory.Error,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses:diag(2809,E.DiagnosticCategory.Error,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses."),Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false:diag(2810,E.DiagnosticCategory.Error,"Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810","Property '{0}' may not be used in a static property's initializer in the same class when 'target' is 'esnext' and 'useDefineForClassFields' is 'false'."),Initializer_for_property_0:diag(2811,E.DiagnosticCategory.Error,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:diag(2812,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:diag(2813,E.DiagnosticCategory.Error,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:diag(2814,E.DiagnosticCategory.Error,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:diag(2815,E.DiagnosticCategory.Error,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:diag(2816,E.DiagnosticCategory.Error,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:diag(2817,E.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:diag(2818,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:diag(2819,E.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Import_declaration_0_is_using_private_name_1:diag(4e3,E.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:diag(4002,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:diag(4004,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4006,E.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4008,E.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4010,E.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4012,E.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4014,E.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4016,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4019,E.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4020,E.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:diag(4021,E.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:diag(4022,E.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4023,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:diag(4024,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:diag(4025,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4026,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4027,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4028,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4029,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4030,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4031,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4032,E.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:diag(4033,E.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4034,E.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4035,E.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4036,E.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4037,E.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4038,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4039,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4040,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4041,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4042,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4043,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4044,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4045,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4046,E.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4047,E.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4048,E.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4049,E.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4050,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4051,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:diag(4052,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4053,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4054,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:diag(4055,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4056,E.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:diag(4057,E.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4058,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:diag(4059,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:diag(4060,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4061,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4062,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:diag(4063,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4064,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4065,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4066,E.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4067,E.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4068,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4069,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4070,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4071,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4072,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4073,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4074,E.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4075,E.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4076,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:diag(4077,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4078,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:diag(4081,E.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:diag(4082,E.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:diag(4083,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:diag(4084,E.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:diag(4090,E.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4091,E.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4092,E.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:diag(4094,E.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4095,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4096,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4097,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4098,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4099,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4100,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4101,E.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:diag(4102,E.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:diag(4103,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:diag(4104,E.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:diag(4105,E.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:diag(4106,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:diag(4107,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4108,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:diag(4109,E.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:diag(4110,E.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:diag(4111,E.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:diag(4112,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:diag(4113,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:diag(4114,E.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:diag(4115,E.DiagnosticCategory.Error,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:diag(4116,E.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:diag(4117,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:diag(4118,E.DiagnosticCategory.Error,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),The_current_host_does_not_support_the_0_option:diag(5001,E.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:diag(5009,E.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5010,E.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:diag(5012,E.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:diag(5014,E.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:diag(5023,E.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:diag(5024,E.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:diag(5025,E.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:diag(5033,E.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:diag(5042,E.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:diag(5047,E.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:diag(5048,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:diag(5051,E.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:diag(5052,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:diag(5053,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:diag(5054,E.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:diag(5055,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:diag(5056,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:diag(5057,E.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:diag(5058,E.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:diag(5059,E.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:diag(5061,E.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:diag(5062,E.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:diag(5063,E.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:diag(5064,E.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5065,E.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:diag(5066,E.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(5067,E.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:diag(5068,E.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:diag(5069,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:diag(5070,E.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:diag(5071,E.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:diag(5072,E.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:diag(5073,E.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:diag(5074,E.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:diag(5075,E.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:diag(5076,E.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:diag(5077,E.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:diag(5078,E.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:diag(5079,E.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:diag(5080,E.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:diag(5081,E.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:diag(5082,E.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:diag(5083,E.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:diag(5084,E.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:diag(5085,E.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:diag(5086,E.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:diag(5087,E.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:diag(5088,E.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:diag(5089,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:diag(5090,E.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:diag(5091,E.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),The_root_value_of_a_0_file_must_be_an_object:diag(5092,E.DiagnosticCategory.Error,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:diag(5093,E.DiagnosticCategory.Error,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:diag(5094,E.DiagnosticCategory.Error,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:diag(6e3,E.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:diag(6001,E.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:diag(6002,E.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:diag(6655,E.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:diag(6004,E.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:diag(6005,E.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:diag(6006,E.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:diag(6007,E.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:diag(6008,E.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:diag(6009,E.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:diag(6010,E.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:diag(6011,E.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:diag(6012,E.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:diag(6013,E.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:diag(6014,E.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:diag(6015,E.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:diag(6016,E.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:diag(6017,E.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:diag(6019,E.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:diag(6020,E.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:diag(6023,E.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:diag(6024,E.DiagnosticCategory.Message,"options_6024","options"),file:diag(6025,E.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:diag(6026,E.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:diag(6027,E.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:diag(6029,E.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:diag(6030,E.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:diag(6031,E.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:diag(6032,E.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:diag(6034,E.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:diag(6035,E.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:diag(6036,E.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:diag(6037,E.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:diag(6038,E.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:diag(6039,E.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:diag(6040,E.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:diag(6043,E.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:diag(6044,E.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:diag(6045,E.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:diag(6046,E.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:diag(6048,E.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'."),Unsupported_locale_0:diag(6049,E.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:diag(6050,E.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:diag(6051,E.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:diag(6052,E.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:diag(6053,E.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:diag(6054,E.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:diag(6055,E.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:diag(6056,E.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:diag(6058,E.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:diag(6059,E.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:diag(6060,E.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:diag(6061,E.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:diag(6064,E.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:diag(6065,E.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:diag(6066,E.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:diag(6068,E.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:diag(6069,E.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:diag(6070,E.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:diag(6071,E.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:diag(6072,E.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:diag(6073,E.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:diag(6074,E.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:diag(6075,E.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:diag(6076,E.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:diag(6077,E.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:diag(6078,E.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:diag(6079,E.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:diag(6080,E.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:diag(6081,E.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:diag(6082,E.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:diag(6083,E.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:diag(6084,E.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:diag(6085,E.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:diag(6086,E.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:diag(6087,E.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:diag(6088,E.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:diag(6089,E.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:diag(6090,E.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:diag(6091,E.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:diag(6092,E.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:diag(6093,E.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:diag(6094,E.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:diag(6095,E.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:diag(6096,E.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:diag(6097,E.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:diag(6098,E.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:diag(6099,E.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:diag(6100,E.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:diag(6101,E.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:diag(6102,E.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:diag(6103,E.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:diag(6104,E.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:diag(6105,E.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:diag(6106,E.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:diag(6107,E.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:diag(6108,E.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:diag(6109,E.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:diag(6110,E.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:diag(6111,E.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:diag(6112,E.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:diag(6113,E.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:diag(6114,E.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:diag(6115,E.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:diag(6116,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:diag(6117,E.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:diag(6118,E.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:diag(6119,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:diag(6120,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:diag(6121,E.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:diag(6122,E.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:diag(6123,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:diag(6124,E.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:diag(6125,E.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:diag(6126,E.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:diag(6127,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:diag(6128,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:diag(6130,E.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:diag(6131,E.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:diag(6132,E.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:diag(6133,E.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",true),Report_errors_on_unused_locals:diag(6134,E.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:diag(6135,E.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:diag(6136,E.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:diag(6137,E.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:diag(6138,E.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",true),Import_emit_helpers_from_tslib:diag(6139,E.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:diag(6140,E.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:diag(6141,E.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:diag(6142,E.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:diag(6144,E.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:diag(6145,E.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:diag(6146,E.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:diag(6147,E.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:diag(6148,E.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:diag(6149,E.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:diag(6150,E.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:diag(6151,E.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:diag(6152,E.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:diag(6153,E.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:diag(6154,E.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:diag(6155,E.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:diag(6156,E.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:diag(6157,E.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:diag(6158,E.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:diag(6159,E.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:diag(6160,E.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:diag(6161,E.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:diag(6162,E.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:diag(6163,E.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:diag(6622,E.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:diag(6165,E.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:diag(6166,E.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:diag(6167,E.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:diag(6168,E.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:diag(6169,E.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:diag(6170,E.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:diag(6171,E.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:diag(6179,E.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:diag(6180,E.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:diag(6181,E.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:diag(6182,E.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:diag(6183,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:diag(6184,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:diag(6186,E.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:diag(6187,E.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:diag(6188,E.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:diag(6189,E.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:diag(6191,E.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:diag(6192,E.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",true),Found_1_error_Watching_for_file_changes:diag(6193,E.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:diag(6194,E.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:diag(6195,E.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:diag(6196,E.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",true),Include_modules_imported_with_json_extension:diag(6197,E.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:diag(6198,E.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",true),All_variables_are_unused:diag(6199,E.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",true),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:diag(6200,E.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:diag(6201,E.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:diag(6202,E.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:diag(6203,E.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:diag(6204,E.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:diag(6205,E.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:diag(6206,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:diag(6207,E.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:diag(6208,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:diag(6209,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:diag(6210,E.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:diag(6211,E.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:diag(6212,E.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:diag(6213,E.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:diag(6214,E.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:diag(6215,E.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:diag(6216,E.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:diag(6217,E.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:diag(6218,E.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:diag(6219,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:diag(6220,E.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:diag(6221,E.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:diag(6222,E.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:diag(6223,E.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:diag(6224,E.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:diag(6225,E.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:diag(6226,E.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:diag(6227,E.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:diag(6229,E.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:diag(6230,E.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:diag(6231,E.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:diag(6232,E.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:diag(6233,E.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:diag(6234,E.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:diag(6235,E.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:diag(6236,E.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:diag(6237,E.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:diag(6238,E.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:diag(6239,E.DiagnosticCategory.Message,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:diag(6240,E.DiagnosticCategory.Message,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:diag(6241,E.DiagnosticCategory.Message,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:diag(6242,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:diag(6243,E.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:diag(6244,E.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:diag(6245,E.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:diag(6246,E.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:diag(6247,E.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:diag(6248,E.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:diag(6249,E.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:diag(6250,E.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:diag(6251,E.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:diag(6252,E.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:diag(6253,E.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:diag(6254,E.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:diag(6255,E.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:diag(6256,E.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:diag(6257,E.DiagnosticCategory.Message,"Completeness_6257","Completeness"),Projects_to_reference:diag(6300,E.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:diag(6302,E.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:diag(6304,E.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:diag(6305,E.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:diag(6306,E.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:diag(6307,E.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:diag(6308,E.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:diag(6309,E.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:diag(6310,E.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:diag(6350,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:diag(6351,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:diag(6352,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:diag(6353,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:diag(6354,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:diag(6355,E.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:diag(6356,E.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:diag(6357,E.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:diag(6358,E.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:diag(6359,E.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:diag(6360,E.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:diag(6361,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:diag(6362,E.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:diag(6363,E.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:diag(6364,E.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:diag(6365,E.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Show_what_would_be_built_or_deleted_if_specified_with_clean:diag(6367,E.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:diag(6369,E.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:diag(6370,E.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:diag(6371,E.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:diag(6372,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:diag(6373,E.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:diag(6374,E.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:diag(6375,E.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:diag(6376,E.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:diag(6377,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:diag(6378,E.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:diag(6379,E.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:diag(6380,E.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:diag(6381,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:diag(6382,E.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:diag(6383,E.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6384,E.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:diag(6385,E.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",undefined,undefined,true),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:diag(6386,E.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:diag(6387,E.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",undefined,undefined,true),Project_0_is_being_forcibly_rebuilt:diag(6388,E.DiagnosticCategory.Message,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:diag(6389,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:diag(6390,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:diag(6391,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:diag(6392,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:diag(6393,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:diag(6394,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:diag(6395,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:diag(6396,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:diag(6397,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:diag(6398,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:diag(6500,E.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:diag(6501,E.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:diag(6502,E.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:diag(6503,E.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:diag(6504,E.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:diag(6505,E.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:diag(6506,E.DiagnosticCategory.Message,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:diag(6600,E.DiagnosticCategory.Message,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:diag(6601,E.DiagnosticCategory.Message,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:diag(6602,E.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:diag(6603,E.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:diag(6604,E.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:diag(6605,E.DiagnosticCategory.Message,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6606,E.DiagnosticCategory.Message,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use `incremental` and `watch` mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:diag(6607,E.DiagnosticCategory.Message,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:diag(6608,E.DiagnosticCategory.Message,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:diag(6609,E.DiagnosticCategory.Message,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:diag(6611,E.DiagnosticCategory.Message,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:diag(6612,E.DiagnosticCategory.Message,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:diag(6613,E.DiagnosticCategory.Message,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:diag(6614,E.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:diag(6615,E.DiagnosticCategory.Message,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:diag(6616,E.DiagnosticCategory.Message,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:diag(6617,E.DiagnosticCategory.Message,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:diag(6618,E.DiagnosticCategory.Message,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:diag(6619,E.DiagnosticCategory.Message,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:diag(6620,E.DiagnosticCategory.Message,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:diag(6621,E.DiagnosticCategory.Message,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Only_output_d_ts_files_and_not_JavaScript_files:diag(6623,E.DiagnosticCategory.Message,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:diag(6624,E.DiagnosticCategory.Message,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:diag(6625,E.DiagnosticCategory.Message,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:diag(6626,E.DiagnosticCategory.Message,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility."),Filters_results_from_the_include_option:diag(6627,E.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:diag(6628,E.DiagnosticCategory.Message,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:diag(6629,E.DiagnosticCategory.Message,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_TC39_stage_2_draft_decorators:diag(6630,E.DiagnosticCategory.Message,"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630","Enable experimental support for TC39 stage 2 draft decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:diag(6631,E.DiagnosticCategory.Message,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:diag(6632,E.DiagnosticCategory.Message,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:diag(6633,E.DiagnosticCategory.Message,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:diag(6634,E.DiagnosticCategory.Message,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:diag(6635,E.DiagnosticCategory.Message,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:diag(6636,E.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date"),Ensure_that_casing_is_correct_in_imports:diag(6637,E.DiagnosticCategory.Message,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:diag(6638,E.DiagnosticCategory.Message,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:diag(6639,E.DiagnosticCategory.Message,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:diag(6641,E.DiagnosticCategory.Message,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:diag(6642,E.DiagnosticCategory.Message,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:diag(6643,E.DiagnosticCategory.Message,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:diag(6644,E.DiagnosticCategory.Message,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:diag(6645,E.DiagnosticCategory.Message,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:diag(6646,E.DiagnosticCategory.Message,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:diag(6647,E.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:diag(6648,E.DiagnosticCategory.Message,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:diag(6649,E.DiagnosticCategory.Message,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.`"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:diag(6650,E.DiagnosticCategory.Message,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:diag(6651,E.DiagnosticCategory.Message,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:diag(6652,E.DiagnosticCategory.Message,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:diag(6653,E.DiagnosticCategory.Message,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:diag(6654,E.DiagnosticCategory.Message,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:diag(6656,E.DiagnosticCategory.Message,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`."),Specify_what_module_code_is_generated:diag(6657,E.DiagnosticCategory.Message,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:diag(6658,E.DiagnosticCategory.Message,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:diag(6659,E.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:diag(6660,E.DiagnosticCategory.Message,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:diag(6661,E.DiagnosticCategory.Message,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like `__extends` in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:diag(6662,E.DiagnosticCategory.Message,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:diag(6663,E.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:diag(6664,E.DiagnosticCategory.Message,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:diag(6665,E.DiagnosticCategory.Message,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied `any` type.."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:diag(6666,E.DiagnosticCategory.Message,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:diag(6667,E.DiagnosticCategory.Message,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:diag(6668,E.DiagnosticCategory.Message,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when `this` is given the type `any`."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:diag(6669,E.DiagnosticCategory.Message,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:diag(6670,E.DiagnosticCategory.Message,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:diag(6671,E.DiagnosticCategory.Message,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:diag(6672,E.DiagnosticCategory.Message,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow `import`s, `require`s or `<reference>`s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:diag(6673,E.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:diag(6674,E.DiagnosticCategory.Message,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add `undefined` to a type when accessed using an index."),Enable_error_reporting_when_a_local_variables_aren_t_read:diag(6675,E.DiagnosticCategory.Message,"Enable_error_reporting_when_a_local_variables_aren_t_read_6675","Enable error reporting when a local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:diag(6676,E.DiagnosticCategory.Message,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read"),Deprecated_setting_Use_outFile_instead:diag(6677,E.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:diag(6678,E.DiagnosticCategory.Message,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:diag(6679,E.DiagnosticCategory.Message,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:diag(6680,E.DiagnosticCategory.Message,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:diag(6681,E.DiagnosticCategory.Message,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:diag(6682,E.DiagnosticCategory.Message,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing `const enum` declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:diag(6683,E.DiagnosticCategory.Message,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:diag(6684,E.DiagnosticCategory.Message,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:diag(6685,E.DiagnosticCategory.Message,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:diag(6686,E.DiagnosticCategory.Message,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:diag(6687,E.DiagnosticCategory.Message,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:diag(6688,E.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:diag(6689,E.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:diag(6690,E.DiagnosticCategory.Message,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:diag(6691,E.DiagnosticCategory.Message,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:diag(6692,E.DiagnosticCategory.Message,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:diag(6693,E.DiagnosticCategory.Message,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:diag(6694,E.DiagnosticCategory.Message,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:diag(6695,E.DiagnosticCategory.Message,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:diag(6697,E.DiagnosticCategory.Message,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for `bind`, `call`, and `apply` methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:diag(6698,E.DiagnosticCategory.Message,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:diag(6699,E.DiagnosticCategory.Message,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account `null` and `undefined`."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:diag(6700,E.DiagnosticCategory.Message,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:diag(6701,E.DiagnosticCategory.Message,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have `@internal` in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:diag(6702,E.DiagnosticCategory.Message,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:diag(6703,E.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress `noImplicitAny` errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:diag(6704,E.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:diag(6705,E.DiagnosticCategory.Message,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:diag(6706,E.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the `moduleResolution` process."),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:diag(6707,E.DiagnosticCategory.Message,"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707","Specify the folder for .tsbuildinfo incremental compilation files."),Specify_options_for_automatic_acquisition_of_declaration_files:diag(6709,E.DiagnosticCategory.Message,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:diag(6710,E.DiagnosticCategory.Message,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like `./node_modules/@types`."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:diag(6711,E.DiagnosticCategory.Message,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:diag(6712,E.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:diag(6713,E.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:diag(6714,E.DiagnosticCategory.Message,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:diag(6715,E.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:diag(6716,E.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6716","Include 'undefined' in index signature results"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:diag(6717,E.DiagnosticCategory.Message,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:diag(6718,E.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types"),Type_catch_clause_variables_as_unknown_instead_of_any:diag(6803,E.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:diag(6900,E.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:diag(6901,E.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:diag(6902,E.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:diag(6903,E.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:diag(6904,E.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:diag(6905,E.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:diag(6906,E.DiagnosticCategory.Message,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:diag(6907,E.DiagnosticCategory.Message,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:diag(6908,E.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:diag(6909,E.DiagnosticCategory.Message,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:diag(69010,E.DiagnosticCategory.Message,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:diag(6911,E.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:diag(6912,E.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:diag(6913,E.DiagnosticCategory.Message,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:diag(6914,E.DiagnosticCategory.Message,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:diag(6915,E.DiagnosticCategory.Message,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:diag(6916,E.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:diag(6917,E.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:diag(6918,E.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:diag(6919,E.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:diag(6920,E.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:diag(6921,E.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:diag(6922,E.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:diag(6923,E.DiagnosticCategory.Message,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:diag(6924,E.DiagnosticCategory.Message,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:diag(6925,E.DiagnosticCategory.Message,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:diag(6926,E.DiagnosticCategory.Message,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:diag(6927,E.DiagnosticCategory.Message,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:diag(6928,E.DiagnosticCategory.Message,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:diag(6929,E.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),Variable_0_implicitly_has_an_1_type:diag(7005,E.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:diag(7006,E.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:diag(7008,E.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:diag(7009,E.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:diag(7010,E.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7011,E.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7013,E.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7014,E.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:diag(7015,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:diag(7016,E.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:diag(7017,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:diag(7018,E.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:diag(7019,E.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7020,E.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:diag(7022,E.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7023,E.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7024,E.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:diag(7025,E.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:diag(7026,E.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:diag(7027,E.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",true),Unused_label:diag(7028,E.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",true),Fallthrough_case_in_switch:diag(7029,E.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:diag(7030,E.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:diag(7031,E.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:diag(7032,E.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:diag(7033,E.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:diag(7034,E.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:diag(7035,E.DiagnosticCategory.Error,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:diag(7036,E.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:diag(7037,E.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:diag(7038,E.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:diag(7039,E.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:diag(7040,E.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:diag(7041,E.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:diag(7042,E.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7043,E.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7044,E.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7045,E.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:diag(7046,E.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:diag(7047,E.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:diag(7048,E.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:diag(7049,E.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:diag(7050,E.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:diag(7051,E.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:diag(7052,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:diag(7053,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:diag(7054,E.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:diag(7055,E.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:diag(7056,E.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:diag(7057,E.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),You_cannot_rename_this_element:diag(8e3,E.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:diag(8001,E.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:diag(8002,E.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:diag(8003,E.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:diag(8004,E.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:diag(8005,E.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:diag(8006,E.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:diag(8008,E.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:diag(8009,E.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:diag(8010,E.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:diag(8011,E.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:diag(8012,E.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:diag(8013,E.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:diag(8016,E.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:diag(8017,E.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:diag(8018,E.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:diag(8019,E.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:diag(8020,E.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:diag(8021,E.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:diag(8022,E.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:diag(8023,E.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:diag(8024,E.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:diag(8025,E.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:diag(8026,E.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:diag(8027,E.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:diag(8028,E.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:diag(8029,E.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:diag(8030,E.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:diag(8031,E.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:diag(8032,E.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:diag(8033,E.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:diag(8034,E.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:diag(9002,E.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:diag(9003,E.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:diag(9004,E.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9005,E.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9006,E.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:diag(17e3,E.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:diag(17001,E.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:diag(17002,E.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:diag(17003,E.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:diag(17004,E.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:diag(17005,E.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17006,E.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17007,E.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:diag(17008,E.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:diag(17009,E.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:diag(17010,E.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:diag(17011,E.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:diag(17012,E.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:diag(17013,E.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:diag(17014,E.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:diag(17015,E.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:diag(17016,E.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:diag(17017,E.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:diag(17018,E.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:diag(18e3,E.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:diag(18001,E.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:diag(18002,E.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:diag(18003,E.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:diag(80001,E.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:diag(80002,E.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:diag(80003,E.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:diag(80004,E.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:diag(80005,E.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:diag(80006,E.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:diag(80007,E.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:diag(80008,E.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:diag(90001,E.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:diag(90002,E.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:diag(90003,E.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:diag(90004,E.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:diag(90005,E.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:diag(90006,E.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:diag(90007,E.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:diag(90008,E.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:diag(90010,E.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:diag(90011,E.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:diag(90012,E.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:diag(90013,E.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:diag(90014,E.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:diag(90015,E.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:diag(90016,E.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:diag(90017,E.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:diag(90018,E.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:diag(90019,E.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:diag(90020,E.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:diag(90021,E.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:diag(90022,E.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:diag(90023,E.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:diag(90024,E.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:diag(90025,E.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:diag(90026,E.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:diag(90027,E.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:diag(90028,E.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:diag(90029,E.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:diag(90030,E.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:diag(90031,E.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:diag(90032,E.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:diag(90033,E.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:diag(90034,E.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:diag(90035,E.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:diag(90036,E.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:diag(90037,E.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:diag(90038,E.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:diag(90039,E.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:diag(90041,E.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:diag(90053,E.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:diag(95001,E.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:diag(95002,E.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Convert_0_to_1_in_0:diag(95003,E.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:diag(95004,E.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:diag(95005,E.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:diag(95006,E.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:diag(95007,E.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:diag(95008,E.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:diag(95009,E.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:diag(95010,E.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:diag(95011,E.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:diag(95012,E.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:diag(95013,E.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:diag(95014,E.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:diag(95015,E.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:diag(95016,E.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:diag(95017,E.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:diag(95018,E.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:diag(95019,E.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:diag(95020,E.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:diag(95021,E.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:diag(95022,E.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:diag(95023,E.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:diag(95024,E.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:diag(95025,E.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:diag(95026,E.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:diag(95027,E.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:diag(95028,E.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:diag(95029,E.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:diag(95030,E.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:diag(95031,E.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:diag(95032,E.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:diag(95033,E.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:diag(95034,E.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:diag(95035,E.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:diag(95036,E.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:diag(95037,E.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:diag(95038,E.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:diag(95039,E.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:diag(95040,E.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:diag(95041,E.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:diag(95042,E.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:diag(95043,E.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:diag(95044,E.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:diag(95045,E.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:diag(95046,E.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:diag(95047,E.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:diag(95048,E.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:diag(95049,E.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:diag(95050,E.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:diag(95051,E.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:diag(95052,E.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:diag(95053,E.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:diag(95054,E.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:diag(95055,E.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:diag(95056,E.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:diag(95057,E.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:diag(95058,E.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:diag(95059,E.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:diag(95060,E.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:diag(95061,E.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:diag(95062,E.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:diag(95063,E.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:diag(95064,E.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:diag(95065,E.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:diag(95066,E.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:diag(95067,E.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:diag(95068,E.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:diag(95069,E.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:diag(95070,E.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:diag(95071,E.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:diag(95072,E.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:diag(95073,E.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:diag(95074,E.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:diag(95075,E.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:diag(95077,E.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:diag(95078,E.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:diag(95079,E.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:diag(95080,E.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:diag(95081,E.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:diag(95082,E.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:diag(95083,E.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:diag(95084,E.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:diag(95085,E.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:diag(95086,E.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:diag(95087,E.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:diag(95088,E.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:diag(95089,E.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:diag(95090,E.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:diag(95091,E.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:diag(95092,E.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:diag(95093,E.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:diag(95094,E.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:diag(95095,E.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:diag(95096,E.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:diag(95097,E.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:diag(95098,E.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:diag(95099,E.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:diag(95100,E.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:diag(95101,E.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:diag(95102,E.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:diag(95103,E.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:diag(95104,E.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:diag(95105,E.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:diag(95106,E.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:diag(95107,E.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:diag(95108,E.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:diag(95109,E.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:diag(95110,E.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:diag(95111,E.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:diag(95112,E.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:diag(95113,E.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:diag(95114,E.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:diag(95115,E.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:diag(95116,E.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:diag(95117,E.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:diag(95118,E.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:diag(95119,E.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:diag(95120,E.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:diag(95121,E.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:diag(95122,E.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:diag(95123,E.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:diag(95124,E.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:diag(95125,E.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:diag(95126,E.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:diag(95127,E.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:diag(95128,E.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:diag(95129,E.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:diag(95130,E.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:diag(95131,E.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:diag(95132,E.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:diag(95133,E.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:diag(95134,E.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:diag(95135,E.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:diag(95136,E.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:diag(95137,E.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:diag(95138,E.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:diag(95139,E.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:diag(95140,E.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:diag(95141,E.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:diag(95142,E.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:diag(95143,E.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:diag(95144,E.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:diag(95145,E.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:diag(95146,E.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:diag(95147,E.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:diag(95148,E.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:diag(95149,E.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:diag(95150,E.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:diag(95151,E.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:diag(95152,E.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:diag(95153,E.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:diag(95154,E.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:diag(95155,E.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:diag(95156,E.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:diag(95157,E.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:diag(95158,E.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:diag(95159,E.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:diag(95160,E.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:diag(95161,E.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:diag(95162,E.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:diag(95163,E.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:diag(95164,E.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:diag(95165,E.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:diag(95166,E.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:diag(95167,E.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:diag(95168,E.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:diag(18004,E.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:diag(18006,E.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:diag(18007,E.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:diag(18009,E.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:diag(18010,E.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:diag(18011,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:diag(18012,E.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:diag(18013,E.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:diag(18014,E.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:diag(18015,E.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:diag(18016,E.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:diag(18017,E.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:diag(18018,E.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:diag(18019,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:diag(18024,E.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:diag(18026,E.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:diag(18027,E.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:diag(18028,E.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:diag(18029,E.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:diag(18030,E.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:diag(18031,E.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:diag(18032,E.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:diag(18033,E.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:diag(18034,E.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(18035,E.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:diag(18036,E.DiagnosticCategory.Error,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:diag(18037,E.DiagnosticCategory.Error,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:diag(18038,E.DiagnosticCategory.Error,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:diag(18039,E.DiagnosticCategory.Error,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:diag(18041,E.DiagnosticCategory.Error,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block.")}})(ce||(ce={}));var ce;(function(E){var N;function tokenIsIdentifierOrKeyword(E){return E>=79}E.tokenIsIdentifierOrKeyword=tokenIsIdentifierOrKeyword;function tokenIsIdentifierOrKeywordOrGreaterThan(E){return E===31||tokenIsIdentifierOrKeyword(E)}E.tokenIsIdentifierOrKeywordOrGreaterThan=tokenIsIdentifierOrKeywordOrGreaterThan;E.textToKeywordObj=(N={abstract:126,any:129,as:127,asserts:128,bigint:156,boolean:132,break:81,case:82,catch:83,class:84,continue:86,const:85},N[""+"constructor"]=133,N.debugger=87,N.declare=134,N.default=88,N.delete=89,N.do=90,N.else=91,N.enum=92,N.export=93,N.extends=94,N.false=95,N.finally=96,N.for=97,N.from=154,N.function=98,N.get=135,N.if=99,N.implements=117,N.import=100,N.in=101,N.infer=136,N.instanceof=102,N.interface=118,N.intrinsic=137,N.is=138,N.keyof=139,N.let=119,N.module=140,N.namespace=141,N.never=142,N.new=103,N.null=104,N.number=145,N.object=146,N.package=120,N.private=121,N.protected=122,N.public=123,N.override=157,N.readonly=143,N.require=144,N.global=155,N.return=105,N.set=147,N.static=124,N.string=148,N.super=106,N.switch=107,N.symbol=149,N.this=108,N.throw=109,N.true=110,N.try=111,N.type=150,N.typeof=112,N.undefined=151,N.unique=152,N.unknown=153,N.var=113,N.void=114,N.while=115,N.with=116,N.yield=125,N.async=130,N.await=131,N.of=158,N);var R=new E.Map(E.getEntries(E.textToKeywordObj));var j=new E.Map(E.getEntries($($({},E.textToKeywordObj),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,"</":30,">>":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61})));var q=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var G=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ie=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ae=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ce=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101];var le=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999];var _e=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/;var Ee=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function lookupInUnicodeMap(E,N){if(E<N[0]){return false}var R=0;var j=N.length;var $;while(R+1<j){$=R+(j-R)/2;$-=$%2;if(N[$]<=E&&E<=N[$+1]){return true}if(E<N[$]){j=$}else{R=$+2}}return false}function isUnicodeIdentifierStart(E,N){return N>=2?lookupInUnicodeMap(E,ce):N===1?lookupInUnicodeMap(E,ie):lookupInUnicodeMap(E,q)}E.isUnicodeIdentifierStart=isUnicodeIdentifierStart;function isUnicodeIdentifierPart(E,N){return N>=2?lookupInUnicodeMap(E,le):N===1?lookupInUnicodeMap(E,ae):lookupInUnicodeMap(E,G)}function makeReverseMap(E){var N=[];E.forEach((function(E,R){N[E]=R}));return N}var Te=makeReverseMap(j);function tokenToString(E){return Te[E]}E.tokenToString=tokenToString;function stringToToken(E){return j.get(E)}E.stringToToken=stringToToken;function computeLineStarts(E){var N=new Array;var R=0;var j=0;while(R<E.length){var $=E.charCodeAt(R);R++;switch($){case 13:if(E.charCodeAt(R)===10){R++}case 10:N.push(j);j=R;break;default:if($>127&&isLineBreak($)){N.push(j);j=R}break}}N.push(j);return N}E.computeLineStarts=computeLineStarts;function getPositionOfLineAndCharacter(E,N,R,j){return E.getPositionOfLineAndCharacter?E.getPositionOfLineAndCharacter(N,R,j):computePositionOfLineAndCharacter(getLineStarts(E),N,R,E.text,j)}E.getPositionOfLineAndCharacter=getPositionOfLineAndCharacter;function computePositionOfLineAndCharacter(N,R,j,$,q){if(R<0||R>=N.length){if(q){R=R<0?0:R>=N.length?N.length-1:R}else{E.Debug.fail("Bad line number. Line: "+R+", lineStarts.length: "+N.length+" , line map is correct? "+($!==undefined?E.arraysEqual(N,computeLineStarts($)):"unknown"))}}var G=N[R]+j;if(q){return G>N[R+1]?N[R+1]:typeof $==="string"&&G>$.length?$.length:G}if(R<N.length-1){E.Debug.assert(G<N[R+1])}else if($!==undefined){E.Debug.assert(G<=$.length)}return G}E.computePositionOfLineAndCharacter=computePositionOfLineAndCharacter;function getLineStarts(E){return E.lineMap||(E.lineMap=computeLineStarts(E.text))}E.getLineStarts=getLineStarts;function computeLineAndCharacterOfPosition(E,N){var R=computeLineOfPosition(E,N);return{line:R,character:N-E[R]}}E.computeLineAndCharacterOfPosition=computeLineAndCharacterOfPosition;function computeLineOfPosition(N,R,j){var $=E.binarySearch(N,R,E.identity,E.compareValues,j);if($<0){$=~$-1;E.Debug.assert($!==-1,"position cannot precede the beginning of the file")}return $}E.computeLineOfPosition=computeLineOfPosition;function getLinesBetweenPositions(E,N,R){if(N===R)return 0;var j=getLineStarts(E);var $=Math.min(N,R);var q=$===R;var G=q?N:R;var ie=computeLineOfPosition(j,$);var ae=computeLineOfPosition(j,G,ie);return q?ie-ae:ae-ie}E.getLinesBetweenPositions=getLinesBetweenPositions;function getLineAndCharacterOfPosition(E,N){return computeLineAndCharacterOfPosition(getLineStarts(E),N)}E.getLineAndCharacterOfPosition=getLineAndCharacterOfPosition;function isWhiteSpaceLike(E){return isWhiteSpaceSingleLine(E)||isLineBreak(E)}E.isWhiteSpaceLike=isWhiteSpaceLike;function isWhiteSpaceSingleLine(E){return E===32||E===9||E===11||E===12||E===160||E===133||E===5760||E>=8192&&E<=8203||E===8239||E===8287||E===12288||E===65279}E.isWhiteSpaceSingleLine=isWhiteSpaceSingleLine;function isLineBreak(E){return E===10||E===13||E===8232||E===8233}E.isLineBreak=isLineBreak;function isDigit(E){return E>=48&&E<=57}function isHexDigit(E){return isDigit(E)||E>=65&&E<=70||E>=97&&E<=102}function isCodePoint(E){return E<=1114111}function isOctalDigit(E){return E>=48&&E<=55}E.isOctalDigit=isOctalDigit;function couldStartTrivia(E,N){var R=E.charCodeAt(N);switch(R){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return true;case 35:return N===0;default:return R>127}}E.couldStartTrivia=couldStartTrivia;function skipTrivia(N,R,j,$,q){if(E.positionIsSynthesized(R)){return R}var G=false;while(true){var ie=N.charCodeAt(R);switch(ie){case 13:if(N.charCodeAt(R+1)===10){R++}case 10:R++;if(j){return R}G=!!q;continue;case 9:case 11:case 12:case 32:R++;continue;case 47:if($){break}if(N.charCodeAt(R+1)===47){R+=2;while(R<N.length){if(isLineBreak(N.charCodeAt(R))){break}R++}G=false;continue}if(N.charCodeAt(R+1)===42){R+=2;while(R<N.length){if(N.charCodeAt(R)===42&&N.charCodeAt(R+1)===47){R+=2;break}R++}G=false;continue}break;case 60:case 124:case 61:case 62:if(isConflictMarkerTrivia(N,R)){R=scanConflictMarkerTrivia(N,R);G=false;continue}break;case 35:if(R===0&&isShebangTrivia(N,R)){R=scanShebangTrivia(N,R);G=false;continue}break;case 42:if(G){R++;G=false;continue}break;default:if(ie>127&&isWhiteSpaceLike(ie)){R++;continue}break}return R}}E.skipTrivia=skipTrivia;var we="<<<<<<<".length;function isConflictMarkerTrivia(N,R){E.Debug.assert(R>=0);if(R===0||isLineBreak(N.charCodeAt(R-1))){var j=N.charCodeAt(R);if(R+we<N.length){for(var $=0;$<we;$++){if(N.charCodeAt(R+$)!==j){return false}}return j===61||N.charCodeAt(R+we)===32}}return false}function scanConflictMarkerTrivia(N,R,j){if(j){j(E.Diagnostics.Merge_conflict_marker_encountered,R,we)}var $=N.charCodeAt(R);var q=N.length;if($===60||$===62){while(R<q&&!isLineBreak(N.charCodeAt(R))){R++}}else{E.Debug.assert($===124||$===61);while(R<q){var G=N.charCodeAt(R);if((G===61||G===62)&&G!==$&&isConflictMarkerTrivia(N,R)){break}R++}}return R}var Ie=/^#!.*/;function isShebangTrivia(N,R){E.Debug.assert(R===0);return Ie.test(N)}E.isShebangTrivia=isShebangTrivia;function scanShebangTrivia(E,N){var R=Ie.exec(E)[0];N=N+R.length;return N}E.scanShebangTrivia=scanShebangTrivia;function iterateCommentRanges(E,N,R,j,$,q,G){var ie;var ae;var ce;var le;var _e=false;var Ee=j;var Te=G;if(R===0){Ee=true;var we=getShebang(N);if(we){R=we.length}}e:while(R>=0&&R<N.length){var Ie=N.charCodeAt(R);switch(Ie){case 13:if(N.charCodeAt(R+1)===10){R++}case 10:R++;if(j){break e}Ee=true;if(_e){le=true}continue;case 9:case 11:case 12:case 32:R++;continue;case 47:var Ne=N.charCodeAt(R+1);var Me=false;if(Ne===47||Ne===42){var Le=Ne===47?2:3;var Be=R;R+=2;if(Ne===47){while(R<N.length){if(isLineBreak(N.charCodeAt(R))){Me=true;break}R++}}else{while(R<N.length){if(N.charCodeAt(R)===42&&N.charCodeAt(R+1)===47){R+=2;break}R++}}if(Ee){if(_e){Te=$(ie,ae,ce,le,q,Te);if(!E&&Te){return Te}}ie=Be;ae=R;ce=Le;le=Me;_e=true}continue}break e;default:if(Ie>127&&isWhiteSpaceLike(Ie)){if(_e&&isLineBreak(Ie)){le=true}R++;continue}break e}}if(_e){Te=$(ie,ae,ce,le,q,Te)}return Te}function forEachLeadingCommentRange(E,N,R,j){return iterateCommentRanges(false,E,N,false,R,j)}E.forEachLeadingCommentRange=forEachLeadingCommentRange;function forEachTrailingCommentRange(E,N,R,j){return iterateCommentRanges(false,E,N,true,R,j)}E.forEachTrailingCommentRange=forEachTrailingCommentRange;function reduceEachLeadingCommentRange(E,N,R,j,$){return iterateCommentRanges(true,E,N,false,R,j,$)}E.reduceEachLeadingCommentRange=reduceEachLeadingCommentRange;function reduceEachTrailingCommentRange(E,N,R,j,$){return iterateCommentRanges(true,E,N,true,R,j,$)}E.reduceEachTrailingCommentRange=reduceEachTrailingCommentRange;function appendCommentRange(E,N,R,j,$,q){if(!q){q=[]}q.push({kind:R,pos:E,end:N,hasTrailingNewLine:j});return q}function getLeadingCommentRanges(E,N){return reduceEachLeadingCommentRange(E,N,appendCommentRange,undefined,undefined)}E.getLeadingCommentRanges=getLeadingCommentRanges;function getTrailingCommentRanges(E,N){return reduceEachTrailingCommentRange(E,N,appendCommentRange,undefined,undefined)}E.getTrailingCommentRanges=getTrailingCommentRanges;function getShebang(E){var N=Ie.exec(E);if(N){return N[0]}}E.getShebang=getShebang;function isIdentifierStart(E,N){return E>=65&&E<=90||E>=97&&E<=122||E===36||E===95||E>127&&isUnicodeIdentifierStart(E,N)}E.isIdentifierStart=isIdentifierStart;function isIdentifierPart(E,N,R){return E>=65&&E<=90||E>=97&&E<=122||E>=48&&E<=57||E===36||E===95||(R===1?E===45||E===58:false)||E>127&&isUnicodeIdentifierPart(E,N)}E.isIdentifierPart=isIdentifierPart;function isIdentifierText(E,N,R){var j=Ne(E,0);if(!isIdentifierStart(j,N)){return false}for(var $=charSize(j);$<E.length;$+=charSize(j)){if(!isIdentifierPart(j=Ne(E,$),N,R)){return false}}return true}E.isIdentifierText=isIdentifierText;function createScanner(N,j,$,q,G,ie,ae){if($===void 0){$=0}var ce=q;var le;var Te;var we;var Ie;var Me;var Le;var Be;var je;var Ue=0;setText(ce,ie,ae);var ze={getStartPos:function(){return we},getTextPos:function(){return le},getToken:function(){return Me},getTokenPos:function(){return Ie},getTokenText:function(){return ce.substring(Ie,le)},getTokenValue:function(){return Le},hasUnicodeEscape:function(){return(Be&1024)!==0},hasExtendedUnicodeEscape:function(){return(Be&8)!==0},hasPrecedingLineBreak:function(){return(Be&1)!==0},hasPrecedingJSDocComment:function(){return(Be&2)!==0},isIdentifier:function(){return Me===79||Me>116},isReservedWord:function(){return Me>=81&&Me<=116},isUnterminated:function(){return(Be&4)!==0},getCommentDirectives:function(){return je},getNumericLiteralFlags:function(){return Be&1008},getTokenFlags:function(){return Be},reScanGreaterToken:reScanGreaterToken,reScanAsteriskEqualsToken:reScanAsteriskEqualsToken,reScanSlashToken:reScanSlashToken,reScanTemplateToken:reScanTemplateToken,reScanTemplateHeadOrNoSubstitutionTemplate:reScanTemplateHeadOrNoSubstitutionTemplate,scanJsxIdentifier:scanJsxIdentifier,scanJsxAttributeValue:scanJsxAttributeValue,reScanJsxAttributeValue:reScanJsxAttributeValue,reScanJsxToken:reScanJsxToken,reScanLessThanToken:reScanLessThanToken,reScanHashToken:reScanHashToken,reScanQuestionToken:reScanQuestionToken,reScanInvalidIdentifier:reScanInvalidIdentifier,scanJsxToken:scanJsxToken,scanJsDocToken:scanJsDocToken,scan:scan,getText:getText,clearCommentDirectives:clearCommentDirectives,setText:setText,setScriptTarget:setScriptTarget,setLanguageVariant:setLanguageVariant,setOnError:setOnError,setTextPos:setTextPos,setInJSDocType:setInJSDocType,tryScan:tryScan,lookAhead:lookAhead,scanRange:scanRange};if(E.Debug.isDebugging){Object.defineProperty(ze,"__debugShowCurrentPositionInText",{get:function(){var E=ze.getText();return E.slice(0,ze.getStartPos())+"║"+E.slice(ze.getStartPos())}})}return ze;function error(E,N,R){if(N===void 0){N=le}if(G){var j=le;le=N;G(E,R||0);le=j}}function scanNumberFragment(){var N=le;var R=false;var j=false;var $="";while(true){var q=ce.charCodeAt(le);if(q===95){Be|=512;if(R){R=false;j=true;$+=ce.substring(N,le)}else if(j){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;N=le;continue}if(isDigit(q)){R=true;j=false;le++;continue}break}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return $+ce.substring(N,le)}function scanNumber(){var N=le;var R=scanNumberFragment();var j;var $;if(ce.charCodeAt(le)===46){le++;j=scanNumberFragment()}var q=le;if(ce.charCodeAt(le)===69||ce.charCodeAt(le)===101){le++;Be|=16;if(ce.charCodeAt(le)===43||ce.charCodeAt(le)===45)le++;var G=le;var ie=scanNumberFragment();if(!ie){error(E.Diagnostics.Digit_expected)}else{$=ce.substring(q,G)+ie;q=le}}var ae;if(Be&512){ae=R;if(j){ae+="."+j}if($){ae+=$}}else{ae=ce.substring(N,q)}if(j!==undefined||Be&16){checkForIdentifierStartAfterNumericLiteral(N,j===undefined&&!!(Be&16));return{type:8,value:""+ +ae}}else{Le=ae;var _e=checkBigIntSuffix();checkForIdentifierStartAfterNumericLiteral(N);return{type:_e,value:Le}}}function checkForIdentifierStartAfterNumericLiteral(R,j){if(!isIdentifierStart(Ne(ce,le),N)){return}var $=le;var q=scanIdentifierParts().length;if(q===1&&ce[$]==="n"){if(j){error(E.Diagnostics.A_bigint_literal_cannot_use_exponential_notation,R,$-R+1)}else{error(E.Diagnostics.A_bigint_literal_must_be_an_integer,R,$-R+1)}}else{error(E.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,$,q);le=$}}function scanOctalDigits(){var E=le;while(isOctalDigit(ce.charCodeAt(le))){le++}return+ce.substring(E,le)}function scanExactNumberOfHexDigits(E,N){var R=scanHexDigits(E,false,N);return R?parseInt(R,16):-1}function scanMinimumNumberOfHexDigits(E,N){return scanHexDigits(E,true,N)}function scanHexDigits(N,R,j){var $=[];var q=false;var G=false;while($.length<N||R){var ie=ce.charCodeAt(le);if(j&&ie===95){Be|=512;if(q){q=false;G=true}else if(G){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;continue}q=j;if(ie>=65&&ie<=70){ie+=97-65}else if(!(ie>=48&&ie<=57||ie>=97&&ie<=102)){break}$.push(ie);le++;G=false}if($.length<N){$=[]}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return String.fromCharCode.apply(String,$)}function scanString(N){if(N===void 0){N=false}var R=ce.charCodeAt(le);le++;var j="";var $=le;while(true){if(le>=Te){j+=ce.substring($,le);Be|=4;error(E.Diagnostics.Unterminated_string_literal);break}var q=ce.charCodeAt(le);if(q===R){j+=ce.substring($,le);le++;break}if(q===92&&!N){j+=ce.substring($,le);j+=scanEscapeSequence();$=le;continue}if(isLineBreak(q)&&!N){j+=ce.substring($,le);Be|=4;error(E.Diagnostics.Unterminated_string_literal);break}le++}return j}function scanTemplateAndSetTokenValue(N){var R=ce.charCodeAt(le)===96;le++;var j=le;var $="";var q;while(true){if(le>=Te){$+=ce.substring(j,le);Be|=4;error(E.Diagnostics.Unterminated_template_literal);q=R?14:17;break}var G=ce.charCodeAt(le);if(G===96){$+=ce.substring(j,le);le++;q=R?14:17;break}if(G===36&&le+1<Te&&ce.charCodeAt(le+1)===123){$+=ce.substring(j,le);le+=2;q=R?15:16;break}if(G===92){$+=ce.substring(j,le);$+=scanEscapeSequence(N);j=le;continue}if(G===13){$+=ce.substring(j,le);le++;if(le<Te&&ce.charCodeAt(le)===10){le++}$+="\n";j=le;continue}le++}E.Debug.assert(q!==undefined);Le=$;return q}function scanEscapeSequence(N){var R=le;le++;if(le>=Te){error(E.Diagnostics.Unexpected_end_of_text);return""}var j=ce.charCodeAt(le);le++;switch(j){case 48:if(N&&le<Te&&isDigit(ce.charCodeAt(le))){le++;Be|=2048;return ce.substring(R,le)}return"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(N){for(var $=le;$<le+4;$++){if($<Te&&!isHexDigit(ce.charCodeAt($))&&ce.charCodeAt($)!==123){le=$;Be|=2048;return ce.substring(R,le)}}}if(le<Te&&ce.charCodeAt(le)===123){le++;if(N&&!isHexDigit(ce.charCodeAt(le))){Be|=2048;return ce.substring(R,le)}if(N){var q=le;var G=scanMinimumNumberOfHexDigits(1,false);var ie=G?parseInt(G,16):-1;if(!isCodePoint(ie)||ce.charCodeAt(le)!==125){Be|=2048;return ce.substring(R,le)}else{le=q}}Be|=8;return scanExtendedUnicodeEscape()}Be|=1024;return scanHexadecimalEscape(4);case 120:if(N){if(!isHexDigit(ce.charCodeAt(le))){Be|=2048;return ce.substring(R,le)}else if(!isHexDigit(ce.charCodeAt(le+1))){le++;Be|=2048;return ce.substring(R,le)}}return scanHexadecimalEscape(2);case 13:if(le<Te&&ce.charCodeAt(le)===10){le++}case 10:case 8232:case 8233:return"";default:return String.fromCharCode(j)}}function scanHexadecimalEscape(N){var R=scanExactNumberOfHexDigits(N,false);if(R>=0){return String.fromCharCode(R)}else{error(E.Diagnostics.Hexadecimal_digit_expected);return""}}function scanExtendedUnicodeEscape(){var N=scanMinimumNumberOfHexDigits(1,false);var R=N?parseInt(N,16):-1;var j=false;if(R<0){error(E.Diagnostics.Hexadecimal_digit_expected);j=true}else if(R>1114111){error(E.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive);j=true}if(le>=Te){error(E.Diagnostics.Unexpected_end_of_text);j=true}else if(ce.charCodeAt(le)===125){le++}else{error(E.Diagnostics.Unterminated_Unicode_escape_sequence);j=true}if(j){return""}return utf16EncodeAsString(R)}function peekUnicodeEscape(){if(le+5<Te&&ce.charCodeAt(le+1)===117){var E=le;le+=2;var N=scanExactNumberOfHexDigits(4,false);le=E;return N}return-1}function peekExtendedUnicodeEscape(){if(N>=2&&Ne(ce,le+1)===117&&Ne(ce,le+2)===123){var E=le;le+=3;var R=scanMinimumNumberOfHexDigits(1,false);var j=R?parseInt(R,16):-1;le=E;return j}return-1}function scanIdentifierParts(){var E="";var R=le;while(le<Te){var j=Ne(ce,le);if(isIdentifierPart(j,N)){le+=charSize(j)}else if(j===92){j=peekExtendedUnicodeEscape();if(j>=0&&isIdentifierPart(j,N)){le+=3;Be|=8;E+=scanExtendedUnicodeEscape();R=le;continue}j=peekUnicodeEscape();if(!(j>=0&&isIdentifierPart(j,N))){break}Be|=1024;E+=ce.substring(R,le);E+=utf16EncodeAsString(j);le+=6;R=le}else{break}}E+=ce.substring(R,le);return E}function getIdentifierToken(){var E=Le.length;if(E>=2&&E<=12){var N=Le.charCodeAt(0);if(N>=97&&N<=122){var j=R.get(Le);if(j!==undefined){return Me=j}}}return Me=79}function scanBinaryOrOctalDigits(N){var R="";var j=false;var $=false;while(true){var q=ce.charCodeAt(le);if(q===95){Be|=512;if(j){j=false;$=true}else if($){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;continue}j=true;if(!isDigit(q)||q-48>=N){break}R+=ce[le];le++;$=false}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return R}function checkBigIntSuffix(){if(ce.charCodeAt(le)===110){Le+="n";if(Be&384){Le=E.parsePseudoBigInt(Le)+"n"}le++;return 9}else{var N=Be&128?parseInt(Le.slice(2),2):Be&256?parseInt(Le.slice(2),8):+Le;Le=""+N;return 8}}function scan(){var R;we=le;Be=0;var q=false;while(true){Ie=le;if(le>=Te){return Me=1}var G=Ne(ce,le);if(G===35&&le===0&&isShebangTrivia(ce,le)){le=scanShebangTrivia(ce,le);if(j){continue}else{return Me=6}}switch(G){case 10:case 13:Be|=1;if(j){le++;continue}else{if(G===13&&le+1<Te&&ce.charCodeAt(le+1)===10){le+=2}else{le++}return Me=4}case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(j){le++;continue}else{while(le<Te&&isWhiteSpaceSingleLine(ce.charCodeAt(le))){le++}return Me=5}case 33:if(ce.charCodeAt(le+1)===61){if(ce.charCodeAt(le+2)===61){return le+=3,Me=37}return le+=2,Me=35}le++;return Me=53;case 34:case 39:Le=scanString();return Me=10;case 96:return Me=scanTemplateAndSetTokenValue(false);case 37:if(ce.charCodeAt(le+1)===61){return le+=2,Me=69}le++;return Me=44;case 38:if(ce.charCodeAt(le+1)===38){if(ce.charCodeAt(le+2)===61){return le+=3,Me=76}return le+=2,Me=55}if(ce.charCodeAt(le+1)===61){return le+=2,Me=73}le++;return Me=50;case 40:le++;return Me=20;case 41:le++;return Me=21;case 42:if(ce.charCodeAt(le+1)===61){return le+=2,Me=66}if(ce.charCodeAt(le+1)===42){if(ce.charCodeAt(le+2)===61){return le+=3,Me=67}return le+=2,Me=42}le++;if(Ue&&!q&&Be&1){q=true;continue}return Me=41;case 43:if(ce.charCodeAt(le+1)===43){return le+=2,Me=45}if(ce.charCodeAt(le+1)===61){return le+=2,Me=64}le++;return Me=39;case 44:le++;return Me=27;case 45:if(ce.charCodeAt(le+1)===45){return le+=2,Me=46}if(ce.charCodeAt(le+1)===61){return le+=2,Me=65}le++;return Me=40;case 46:if(isDigit(ce.charCodeAt(le+1))){Le=scanNumber().value;return Me=8}if(ce.charCodeAt(le+1)===46&&ce.charCodeAt(le+2)===46){return le+=3,Me=25}le++;return Me=24;case 47:if(ce.charCodeAt(le+1)===47){le+=2;while(le<Te){if(isLineBreak(ce.charCodeAt(le))){break}le++}je=appendIfCommentDirective(je,ce.slice(Ie,le),_e,Ie);if(j){continue}else{return Me=2}}if(ce.charCodeAt(le+1)===42){le+=2;if(ce.charCodeAt(le)===42&&ce.charCodeAt(le+1)!==47){Be|=2}var ie=false;var ae=Ie;while(le<Te){var ze=ce.charCodeAt(le);if(ze===42&&ce.charCodeAt(le+1)===47){le+=2;ie=true;break}le++;if(isLineBreak(ze)){ae=le;Be|=1}}je=appendIfCommentDirective(je,ce.slice(ae,le),Ee,ae);if(!ie){error(E.Diagnostics.Asterisk_Slash_expected)}if(j){continue}else{if(!ie){Be|=4}return Me=3}}if(ce.charCodeAt(le+1)===61){return le+=2,Me=68}le++;return Me=43;case 48:if(le+2<Te&&(ce.charCodeAt(le+1)===88||ce.charCodeAt(le+1)===120)){le+=2;Le=scanMinimumNumberOfHexDigits(1,true);if(!Le){error(E.Diagnostics.Hexadecimal_digit_expected);Le="0"}Le="0x"+Le;Be|=64;return Me=checkBigIntSuffix()}else if(le+2<Te&&(ce.charCodeAt(le+1)===66||ce.charCodeAt(le+1)===98)){le+=2;Le=scanBinaryOrOctalDigits(2);if(!Le){error(E.Diagnostics.Binary_digit_expected);Le="0"}Le="0b"+Le;Be|=128;return Me=checkBigIntSuffix()}else if(le+2<Te&&(ce.charCodeAt(le+1)===79||ce.charCodeAt(le+1)===111)){le+=2;Le=scanBinaryOrOctalDigits(8);if(!Le){error(E.Diagnostics.Octal_digit_expected);Le="0"}Le="0o"+Le;Be|=256;return Me=checkBigIntSuffix()}if(le+1<Te&&isOctalDigit(ce.charCodeAt(le+1))){Le=""+scanOctalDigits();Be|=32;return Me=8}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:R=scanNumber(),Me=R.type,Le=R.value;return Me;case 58:le++;return Me=58;case 59:le++;return Me=26;case 60:if(isConflictMarkerTrivia(ce,le)){le=scanConflictMarkerTrivia(ce,le,error);if(j){continue}else{return Me=7}}if(ce.charCodeAt(le+1)===60){if(ce.charCodeAt(le+2)===61){return le+=3,Me=70}return le+=2,Me=47}if(ce.charCodeAt(le+1)===61){return le+=2,Me=32}if($===1&&ce.charCodeAt(le+1)===47&&ce.charCodeAt(le+2)!==42){return le+=2,Me=30}le++;return Me=29;case 61:if(isConflictMarkerTrivia(ce,le)){le=scanConflictMarkerTrivia(ce,le,error);if(j){continue}else{return Me=7}}if(ce.charCodeAt(le+1)===61){if(ce.charCodeAt(le+2)===61){return le+=3,Me=36}return le+=2,Me=34}if(ce.charCodeAt(le+1)===62){return le+=2,Me=38}le++;return Me=63;case 62:if(isConflictMarkerTrivia(ce,le)){le=scanConflictMarkerTrivia(ce,le,error);if(j){continue}else{return Me=7}}le++;return Me=31;case 63:if(ce.charCodeAt(le+1)===46&&!isDigit(ce.charCodeAt(le+2))){return le+=2,Me=28}if(ce.charCodeAt(le+1)===63){if(ce.charCodeAt(le+2)===61){return le+=3,Me=77}return le+=2,Me=60}le++;return Me=57;case 91:le++;return Me=22;case 93:le++;return Me=23;case 94:if(ce.charCodeAt(le+1)===61){return le+=2,Me=78}le++;return Me=52;case 123:le++;return Me=18;case 124:if(isConflictMarkerTrivia(ce,le)){le=scanConflictMarkerTrivia(ce,le,error);if(j){continue}else{return Me=7}}if(ce.charCodeAt(le+1)===124){if(ce.charCodeAt(le+2)===61){return le+=3,Me=75}return le+=2,Me=56}if(ce.charCodeAt(le+1)===61){return le+=2,Me=74}le++;return Me=51;case 125:le++;return Me=19;case 126:le++;return Me=54;case 64:le++;return Me=59;case 92:var We=peekExtendedUnicodeEscape();if(We>=0&&isIdentifierStart(We,N)){le+=3;Be|=8;Le=scanExtendedUnicodeEscape()+scanIdentifierParts();return Me=getIdentifierToken()}var Je=peekUnicodeEscape();if(Je>=0&&isIdentifierStart(Je,N)){le+=6;Be|=1024;Le=String.fromCharCode(Je)+scanIdentifierParts();return Me=getIdentifierToken()}error(E.Diagnostics.Invalid_character);le++;return Me=0;case 35:if(le!==0&&ce[le+1]==="!"){error(E.Diagnostics.can_only_be_used_at_the_start_of_a_file);le++;return Me=0}if(isIdentifierStart(Ne(ce,le+1),N)){le++;scanIdentifier(Ne(ce,le),N)}else{Le=String.fromCharCode(Ne(ce,le));error(E.Diagnostics.Invalid_character,le++,charSize(G))}return Me=80;default:var Ve=scanIdentifier(G,N);if(Ve){return Me=Ve}else if(isWhiteSpaceSingleLine(G)){le+=charSize(G);continue}else if(isLineBreak(G)){Be|=1;le+=charSize(G);continue}var qe=charSize(G);error(E.Diagnostics.Invalid_character,le,qe);le+=qe;return Me=0}}}function reScanInvalidIdentifier(){E.Debug.assert(Me===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'.");le=Ie=we;Be=0;var N=Ne(ce,le);var R=scanIdentifier(N,99);if(R){return Me=R}le+=charSize(N);return Me}function scanIdentifier(E,N){var R=E;if(isIdentifierStart(R,N)){le+=charSize(R);while(le<Te&&isIdentifierPart(R=Ne(ce,le),N))le+=charSize(R);Le=ce.substring(Ie,le);if(R===92){Le+=scanIdentifierParts()}return getIdentifierToken()}}function reScanGreaterToken(){if(Me===31){if(ce.charCodeAt(le)===62){if(ce.charCodeAt(le+1)===62){if(ce.charCodeAt(le+2)===61){return le+=3,Me=72}return le+=2,Me=49}if(ce.charCodeAt(le+1)===61){return le+=2,Me=71}le++;return Me=48}if(ce.charCodeAt(le)===61){le++;return Me=33}}return Me}function reScanAsteriskEqualsToken(){E.Debug.assert(Me===66,"'reScanAsteriskEqualsToken' should only be called on a '*='");le=Ie+1;return Me=63}function reScanSlashToken(){if(Me===43||Me===68){var R=Ie+1;var j=false;var $=false;while(true){if(R>=Te){Be|=4;error(E.Diagnostics.Unterminated_regular_expression_literal);break}var q=ce.charCodeAt(R);if(isLineBreak(q)){Be|=4;error(E.Diagnostics.Unterminated_regular_expression_literal);break}if(j){j=false}else if(q===47&&!$){R++;break}else if(q===91){$=true}else if(q===92){j=true}else if(q===93){$=false}R++}while(R<Te&&isIdentifierPart(ce.charCodeAt(R),N)){R++}le=R;Le=ce.substring(Ie,le);Me=13}return Me}function appendIfCommentDirective(N,R,j,$){var q=getDirectiveFromComment(E.trimStringStart(R),j);if(q===undefined){return N}return E.append(N,{range:{pos:$,end:le},type:q})}function getDirectiveFromComment(E,N){var R=N.exec(E);if(!R){return undefined}switch(R[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}return undefined}function reScanTemplateToken(N){E.Debug.assert(Me===19,"'reScanTemplateToken' should only be called on a '}'");le=Ie;return Me=scanTemplateAndSetTokenValue(N)}function reScanTemplateHeadOrNoSubstitutionTemplate(){le=Ie;return Me=scanTemplateAndSetTokenValue(true)}function reScanJsxToken(E){if(E===void 0){E=true}le=Ie=we;return Me=scanJsxToken(E)}function reScanLessThanToken(){if(Me===47){le=Ie+1;return Me=29}return Me}function reScanHashToken(){if(Me===80){le=Ie+1;return Me=62}return Me}function reScanQuestionToken(){E.Debug.assert(Me===60,"'reScanQuestionToken' should only be called on a '??'");le=Ie+1;return Me=57}function scanJsxToken(N){if(N===void 0){N=true}we=Ie=le;if(le>=Te){return Me=1}var R=ce.charCodeAt(le);if(R===60){if(ce.charCodeAt(le+1)===47){le+=2;return Me=30}le++;return Me=29}if(R===123){le++;return Me=18}var j=0;while(le<Te){R=ce.charCodeAt(le);if(R===123){break}if(R===60){if(isConflictMarkerTrivia(ce,le)){le=scanConflictMarkerTrivia(ce,le,error);return Me=7}break}if(R===62){error(E.Diagnostics.Unexpected_token_Did_you_mean_or_gt,le,1)}if(R===125){error(E.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,le,1)}if(isLineBreak(R)&&j===0){j=-1}else if(!N&&isLineBreak(R)&&j>0){break}else if(!isWhiteSpaceLike(R)){j=le}le++}Le=ce.substring(we,le);return j===-1?12:11}function scanJsxIdentifier(){if(tokenIsIdentifierOrKeyword(Me)){var E=false;while(le<Te){var N=ce.charCodeAt(le);if(N===45){Le+="-";le++;continue}else if(N===58&&!E){Le+=":";le++;E=true;Me=79;continue}var R=le;Le+=scanIdentifierParts();if(le===R){break}}if(Le.slice(-1)===":"){Le=Le.slice(0,-1);le--}}return Me}function scanJsxAttributeValue(){we=le;switch(ce.charCodeAt(le)){case 34:case 39:Le=scanString(true);return Me=10;default:return scan()}}function reScanJsxAttributeValue(){le=Ie=we;return scanJsxAttributeValue()}function scanJsDocToken(){we=Ie=le;Be=0;if(le>=Te){return Me=1}var E=Ne(ce,le);le+=charSize(E);switch(E){case 9:case 11:case 12:case 32:while(le<Te&&isWhiteSpaceSingleLine(ce.charCodeAt(le))){le++}return Me=5;case 64:return Me=59;case 13:if(ce.charCodeAt(le)===10){le++}case 10:Be|=1;return Me=4;case 42:return Me=41;case 123:return Me=18;case 125:return Me=19;case 91:return Me=22;case 93:return Me=23;case 60:return Me=29;case 62:return Me=31;case 61:return Me=63;case 44:return Me=27;case 46:return Me=24;case 96:return Me=61;case 35:return Me=62;case 92:le--;var R=peekExtendedUnicodeEscape();if(R>=0&&isIdentifierStart(R,N)){le+=3;Be|=8;Le=scanExtendedUnicodeEscape()+scanIdentifierParts();return Me=getIdentifierToken()}var j=peekUnicodeEscape();if(j>=0&&isIdentifierStart(j,N)){le+=6;Be|=1024;Le=String.fromCharCode(j)+scanIdentifierParts();return Me=getIdentifierToken()}le++;return Me=0}if(isIdentifierStart(E,N)){var $=E;while(le<Te&&isIdentifierPart($=Ne(ce,le),N)||ce.charCodeAt(le)===45)le+=charSize($);Le=ce.substring(Ie,le);if($===92){Le+=scanIdentifierParts()}return Me=getIdentifierToken()}else{return Me=0}}function speculationHelper(E,N){var R=le;var j=we;var $=Ie;var q=Me;var G=Le;var ie=Be;var ae=E();if(!ae||N){le=R;we=j;Ie=$;Me=q;Le=G;Be=ie}return ae}function scanRange(E,N,R){var j=Te;var $=le;var q=we;var G=Ie;var ie=Me;var ae=Le;var _e=Be;var Ee=je;setText(ce,E,N);var Ne=R();Te=j;le=$;we=q;Ie=G;Me=ie;Le=ae;Be=_e;je=Ee;return Ne}function lookAhead(E){return speculationHelper(E,true)}function tryScan(E){return speculationHelper(E,false)}function getText(){return ce}function clearCommentDirectives(){je=undefined}function setText(E,N,R){ce=E||"";Te=R===undefined?ce.length:N+R;setTextPos(N||0)}function setOnError(E){G=E}function setScriptTarget(E){N=E}function setLanguageVariant(E){$=E}function setTextPos(N){E.Debug.assert(N>=0);le=N;we=N;Ie=N;Me=0;Le=undefined;Be=0}function setInJSDocType(E){Ue+=E?1:-1}}E.createScanner=createScanner;var Ne=String.prototype.codePointAt?function(E,N){return E.codePointAt(N)}:function codePointAt(E,N){var R=E.length;if(N<0||N>=R){return undefined}var j=E.charCodeAt(N);if(j>=55296&&j<=56319&&R>N+1){var $=E.charCodeAt(N+1);if($>=56320&&$<=57343){return(j-55296)*1024+$-56320+65536}}return j};function charSize(E){if(E>=65536){return 2}return 1}function utf16EncodeAsStringFallback(N){E.Debug.assert(0<=N&&N<=1114111);if(N<=65535){return String.fromCharCode(N)}var R=Math.floor((N-65536)/1024)+55296;var j=(N-65536)%1024+56320;return String.fromCharCode(R,j)}var Me=String.fromCodePoint?function(E){return String.fromCodePoint(E)}:utf16EncodeAsStringFallback;function utf16EncodeAsString(E){return Me(E)}E.utf16EncodeAsString=utf16EncodeAsString})(ce||(ce={}));var ce;(function(E){function isExternalModuleNameRelative(N){return E.pathIsRelative(N)||E.isRootedDiskPath(N)}E.isExternalModuleNameRelative=isExternalModuleNameRelative;function sortAndDeduplicateDiagnostics(N){return E.sortAndDeduplicate(N,E.compareDiagnostics)}E.sortAndDeduplicateDiagnostics=sortAndDeduplicateDiagnostics;function getDefaultLibFileName(E){switch(E.target){case 99:return"lib.esnext.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}E.getDefaultLibFileName=getDefaultLibFileName;function textSpanEnd(E){return E.start+E.length}E.textSpanEnd=textSpanEnd;function textSpanIsEmpty(E){return E.length===0}E.textSpanIsEmpty=textSpanIsEmpty;function textSpanContainsPosition(E,N){return N>=E.start&&N<textSpanEnd(E)}E.textSpanContainsPosition=textSpanContainsPosition;function textRangeContainsPositionInclusive(E,N){return N>=E.pos&&N<=E.end}E.textRangeContainsPositionInclusive=textRangeContainsPositionInclusive;function textSpanContainsTextSpan(E,N){return N.start>=E.start&&textSpanEnd(N)<=textSpanEnd(E)}E.textSpanContainsTextSpan=textSpanContainsTextSpan;function textSpanOverlapsWith(E,N){return textSpanOverlap(E,N)!==undefined}E.textSpanOverlapsWith=textSpanOverlapsWith;function textSpanOverlap(E,N){var R=textSpanIntersection(E,N);return R&&R.length===0?undefined:R}E.textSpanOverlap=textSpanOverlap;function textSpanIntersectsWithTextSpan(E,N){return decodedTextSpanIntersectsWith(E.start,E.length,N.start,N.length)}E.textSpanIntersectsWithTextSpan=textSpanIntersectsWithTextSpan;function textSpanIntersectsWith(E,N,R){return decodedTextSpanIntersectsWith(E.start,E.length,N,R)}E.textSpanIntersectsWith=textSpanIntersectsWith;function decodedTextSpanIntersectsWith(E,N,R,j){var $=E+N;var q=R+j;return R<=$&&q>=E}E.decodedTextSpanIntersectsWith=decodedTextSpanIntersectsWith;function textSpanIntersectsWithPosition(E,N){return N<=textSpanEnd(E)&&N>=E.start}E.textSpanIntersectsWithPosition=textSpanIntersectsWithPosition;function textSpanIntersection(E,N){var R=Math.max(E.start,N.start);var j=Math.min(textSpanEnd(E),textSpanEnd(N));return R<=j?createTextSpanFromBounds(R,j):undefined}E.textSpanIntersection=textSpanIntersection;function createTextSpan(E,N){if(E<0){throw new Error("start < 0")}if(N<0){throw new Error("length < 0")}return{start:E,length:N}}E.createTextSpan=createTextSpan;function createTextSpanFromBounds(E,N){return createTextSpan(E,N-E)}E.createTextSpanFromBounds=createTextSpanFromBounds;function textChangeRangeNewSpan(E){return createTextSpan(E.span.start,E.newLength)}E.textChangeRangeNewSpan=textChangeRangeNewSpan;function textChangeRangeIsUnchanged(E){return textSpanIsEmpty(E.span)&&E.newLength===0}E.textChangeRangeIsUnchanged=textChangeRangeIsUnchanged;function createTextChangeRange(E,N){if(N<0){throw new Error("newLength < 0")}return{span:E,newLength:N}}E.createTextChangeRange=createTextChangeRange;E.unchangedTextChangeRange=createTextChangeRange(createTextSpan(0,0),0);function collapseTextChangeRangesAcrossMultipleVersions(N){if(N.length===0){return E.unchangedTextChangeRange}if(N.length===1){return N[0]}var R=N[0];var j=R.span.start;var $=textSpanEnd(R.span);var q=j+R.newLength;for(var G=1;G<N.length;G++){var ie=N[G];var ae=j;var ce=$;var le=q;var _e=ie.span.start;var Ee=textSpanEnd(ie.span);var Te=_e+ie.newLength;j=Math.min(ae,_e);$=Math.max(ce,ce+(Ee-le));q=Math.max(Te,Te+(le-Ee))}return createTextChangeRange(createTextSpanFromBounds(j,$),q-j)}E.collapseTextChangeRangesAcrossMultipleVersions=collapseTextChangeRangesAcrossMultipleVersions;function getTypeParameterOwner(E){if(E&&E.kind===161){for(var N=E;N;N=N.parent){if(isFunctionLike(N)||isClassLike(N)||N.kind===256){return N}}}}E.getTypeParameterOwner=getTypeParameterOwner;function isParameterPropertyDeclaration(N,R){return E.hasSyntacticModifier(N,16476)&&R.kind===169}E.isParameterPropertyDeclaration=isParameterPropertyDeclaration;function isEmptyBindingPattern(N){if(isBindingPattern(N)){return E.every(N.elements,isEmptyBindingElement)}return false}E.isEmptyBindingPattern=isEmptyBindingPattern;function isEmptyBindingElement(N){if(E.isOmittedExpression(N)){return true}return isEmptyBindingPattern(N.name)}E.isEmptyBindingElement=isEmptyBindingElement;function walkUpBindingElementsAndPatterns(N){var R=N.parent;while(E.isBindingElement(R.parent)){R=R.parent.parent}return R.parent}E.walkUpBindingElementsAndPatterns=walkUpBindingElementsAndPatterns;function getCombinedFlags(N,R){if(E.isBindingElement(N)){N=walkUpBindingElementsAndPatterns(N)}var j=R(N);if(N.kind===252){N=N.parent}if(N&&N.kind===253){j|=R(N);N=N.parent}if(N&&N.kind===235){j|=R(N)}return j}function getCombinedModifierFlags(N){return getCombinedFlags(N,E.getEffectiveModifierFlags)}E.getCombinedModifierFlags=getCombinedModifierFlags;function getCombinedNodeFlagsAlwaysIncludeJSDoc(N){return getCombinedFlags(N,E.getEffectiveModifierFlagsAlwaysIncludeJSDoc)}E.getCombinedNodeFlagsAlwaysIncludeJSDoc=getCombinedNodeFlagsAlwaysIncludeJSDoc;function getCombinedNodeFlags(E){return getCombinedFlags(E,(function(E){return E.flags}))}E.getCombinedNodeFlags=getCombinedNodeFlags;E.supportedLocaleDirectories=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"];function validateLocaleAndSetLanguage(N,R,j){var $=N.toLowerCase();var q=/^([a-z]+)([_\-]([a-z]+))?$/.exec($);if(!q){if(j){j.push(E.createCompilerDiagnostic(E.Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"))}return}var G=q[1];var ie=q[3];if(E.contains(E.supportedLocaleDirectories,$)&&!trySetLanguageAndTerritory(G,ie,j)){trySetLanguageAndTerritory(G,undefined,j)}E.setUILocale(N);function trySetLanguageAndTerritory(N,j,$){var q=E.normalizePath(R.getExecutingFilePath());var G=E.getDirectoryPath(q);var ie=E.combinePaths(G,N);if(j){ie=ie+"-"+j}ie=R.resolvePath(E.combinePaths(ie,"diagnosticMessages.generated.json"));if(!R.fileExists(ie)){return false}var ae="";try{ae=R.readFile(ie)}catch(N){if($){$.push(E.createCompilerDiagnostic(E.Diagnostics.Unable_to_open_file_0,ie))}return false}try{E.setLocalizedDiagnosticMessages(JSON.parse(ae))}catch(N){if($){$.push(E.createCompilerDiagnostic(E.Diagnostics.Corrupted_locale_file_0,ie))}return false}return true}}E.validateLocaleAndSetLanguage=validateLocaleAndSetLanguage;function getOriginalNode(E,N){if(E){while(E.original!==undefined){E=E.original}}return!N||N(E)?E:undefined}E.getOriginalNode=getOriginalNode;function findAncestor(E,N){while(E){var R=N(E);if(R==="quit"){return undefined}else if(R){return E}E=E.parent}return undefined}E.findAncestor=findAncestor;function isParseTreeNode(E){return(E.flags&8)===0}E.isParseTreeNode=isParseTreeNode;function getParseTreeNode(E,N){if(E===undefined||isParseTreeNode(E)){return E}E=E.original;while(E){if(isParseTreeNode(E)){return!N||N(E)?E:undefined}E=E.original}}E.getParseTreeNode=getParseTreeNode;function escapeLeadingUnderscores(E){return E.length>=2&&E.charCodeAt(0)===95&&E.charCodeAt(1)===95?"_"+E:E}E.escapeLeadingUnderscores=escapeLeadingUnderscores;function unescapeLeadingUnderscores(E){var N=E;return N.length>=3&&N.charCodeAt(0)===95&&N.charCodeAt(1)===95&&N.charCodeAt(2)===95?N.substr(1):N}E.unescapeLeadingUnderscores=unescapeLeadingUnderscores;function idText(E){return unescapeLeadingUnderscores(E.escapedText)}E.idText=idText;function symbolName(E){if(E.valueDeclaration&&isPrivateIdentifierClassElementDeclaration(E.valueDeclaration)){return idText(E.valueDeclaration.name)}return unescapeLeadingUnderscores(E.escapedName)}E.symbolName=symbolName;function nameForNamelessJSDocTypedef(N){var R=N.parent.parent;if(!R){return undefined}if(isDeclaration(R)){return getDeclarationIdentifier(R)}switch(R.kind){case 235:if(R.declarationList&&R.declarationList.declarations[0]){return getDeclarationIdentifier(R.declarationList.declarations[0])}break;case 236:var j=R.expression;if(j.kind===219&&j.operatorToken.kind===63){j=j.left}switch(j.kind){case 204:return j.name;case 205:var $=j.argumentExpression;if(E.isIdentifier($)){return $}}break;case 210:{return getDeclarationIdentifier(R.expression)}case 248:{if(isDeclaration(R.statement)||isExpression(R.statement)){return getDeclarationIdentifier(R.statement)}break}}}function getDeclarationIdentifier(N){var R=getNameOfDeclaration(N);return R&&E.isIdentifier(R)?R:undefined}function nodeHasName(N,R){if(isNamedDeclaration(N)&&E.isIdentifier(N.name)&&idText(N.name)===idText(R)){return true}if(E.isVariableStatement(N)&&E.some(N.declarationList.declarations,(function(E){return nodeHasName(E,R)}))){return true}return false}E.nodeHasName=nodeHasName;function getNameOfJSDocTypedef(E){return E.name||nameForNamelessJSDocTypedef(E)}E.getNameOfJSDocTypedef=getNameOfJSDocTypedef;function isNamedDeclaration(E){return!!E.name}E.isNamedDeclaration=isNamedDeclaration;function getNonAssignedNameOfDeclaration(N){switch(N.kind){case 79:return N;case 342:case 335:{var R=N.name;if(R.kind===159){return R.right}break}case 206:case 219:{var j=N;switch(E.getAssignmentDeclarationKind(j)){case 1:case 4:case 5:case 3:return E.getElementOrPropertyAccessArgumentExpressionOrName(j.left);case 7:case 8:case 9:return j.arguments[1];default:return undefined}}case 340:return getNameOfJSDocTypedef(N);case 334:return nameForNamelessJSDocTypedef(N);case 269:{var $=N.expression;return E.isIdentifier($)?$:undefined}case 205:var q=N;if(E.isBindableStaticElementAccessExpression(q)){return q.argumentExpression}}return N.name}E.getNonAssignedNameOfDeclaration=getNonAssignedNameOfDeclaration;function getNameOfDeclaration(N){if(N===undefined)return undefined;return getNonAssignedNameOfDeclaration(N)||(E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isClassExpression(N)?getAssignedName(N):undefined)}E.getNameOfDeclaration=getNameOfDeclaration;function getAssignedName(N){if(!N.parent){return undefined}else if(E.isPropertyAssignment(N.parent)||E.isBindingElement(N.parent)){return N.parent.name}else if(E.isBinaryExpression(N.parent)&&N===N.parent.right){if(E.isIdentifier(N.parent.left)){return N.parent.left}else if(E.isAccessExpression(N.parent.left)){return E.getElementOrPropertyAccessArgumentExpressionOrName(N.parent.left)}}else if(E.isVariableDeclaration(N.parent)&&E.isIdentifier(N.parent.name)){return N.parent.name}}E.getAssignedName=getAssignedName;function getJSDocParameterTagsWorker(N,R){if(N.name){if(E.isIdentifier(N.name)){var j=N.name.escapedText;return getJSDocTagsWorker(N.parent,R).filter((function(N){return E.isJSDocParameterTag(N)&&E.isIdentifier(N.name)&&N.name.escapedText===j}))}else{var $=N.parent.parameters.indexOf(N);E.Debug.assert($>-1,"Parameters should always be in their parents' parameter list");var q=getJSDocTagsWorker(N.parent,R).filter(E.isJSDocParameterTag);if($<q.length){return[q[$]]}}}return E.emptyArray}function getJSDocParameterTags(E){return getJSDocParameterTagsWorker(E,false)}E.getJSDocParameterTags=getJSDocParameterTags;function getJSDocParameterTagsNoCache(E){return getJSDocParameterTagsWorker(E,true)}E.getJSDocParameterTagsNoCache=getJSDocParameterTagsNoCache;function getJSDocTypeParameterTagsWorker(N,R){var j=N.name.escapedText;return getJSDocTagsWorker(N.parent,R).filter((function(N){return E.isJSDocTemplateTag(N)&&N.typeParameters.some((function(E){return E.name.escapedText===j}))}))}function getJSDocTypeParameterTags(E){return getJSDocTypeParameterTagsWorker(E,false)}E.getJSDocTypeParameterTags=getJSDocTypeParameterTags;function getJSDocTypeParameterTagsNoCache(E){return getJSDocTypeParameterTagsWorker(E,true)}E.getJSDocTypeParameterTagsNoCache=getJSDocTypeParameterTagsNoCache;function hasJSDocParameterTags(N){return!!getFirstJSDocTag(N,E.isJSDocParameterTag)}E.hasJSDocParameterTags=hasJSDocParameterTags;function getJSDocAugmentsTag(N){return getFirstJSDocTag(N,E.isJSDocAugmentsTag)}E.getJSDocAugmentsTag=getJSDocAugmentsTag;function getJSDocImplementsTags(N){return getAllJSDocTags(N,E.isJSDocImplementsTag)}E.getJSDocImplementsTags=getJSDocImplementsTags;function getJSDocClassTag(N){return getFirstJSDocTag(N,E.isJSDocClassTag)}E.getJSDocClassTag=getJSDocClassTag;function getJSDocPublicTag(N){return getFirstJSDocTag(N,E.isJSDocPublicTag)}E.getJSDocPublicTag=getJSDocPublicTag;function getJSDocPublicTagNoCache(N){return getFirstJSDocTag(N,E.isJSDocPublicTag,true)}E.getJSDocPublicTagNoCache=getJSDocPublicTagNoCache;function getJSDocPrivateTag(N){return getFirstJSDocTag(N,E.isJSDocPrivateTag)}E.getJSDocPrivateTag=getJSDocPrivateTag;function getJSDocPrivateTagNoCache(N){return getFirstJSDocTag(N,E.isJSDocPrivateTag,true)}E.getJSDocPrivateTagNoCache=getJSDocPrivateTagNoCache;function getJSDocProtectedTag(N){return getFirstJSDocTag(N,E.isJSDocProtectedTag)}E.getJSDocProtectedTag=getJSDocProtectedTag;function getJSDocProtectedTagNoCache(N){return getFirstJSDocTag(N,E.isJSDocProtectedTag,true)}E.getJSDocProtectedTagNoCache=getJSDocProtectedTagNoCache;function getJSDocReadonlyTag(N){return getFirstJSDocTag(N,E.isJSDocReadonlyTag)}E.getJSDocReadonlyTag=getJSDocReadonlyTag;function getJSDocReadonlyTagNoCache(N){return getFirstJSDocTag(N,E.isJSDocReadonlyTag,true)}E.getJSDocReadonlyTagNoCache=getJSDocReadonlyTagNoCache;function getJSDocOverrideTagNoCache(N){return getFirstJSDocTag(N,E.isJSDocOverrideTag,true)}E.getJSDocOverrideTagNoCache=getJSDocOverrideTagNoCache;function getJSDocDeprecatedTag(N){return getFirstJSDocTag(N,E.isJSDocDeprecatedTag)}E.getJSDocDeprecatedTag=getJSDocDeprecatedTag;function getJSDocDeprecatedTagNoCache(N){return getFirstJSDocTag(N,E.isJSDocDeprecatedTag,true)}E.getJSDocDeprecatedTagNoCache=getJSDocDeprecatedTagNoCache;function getJSDocEnumTag(N){return getFirstJSDocTag(N,E.isJSDocEnumTag)}E.getJSDocEnumTag=getJSDocEnumTag;function getJSDocThisTag(N){return getFirstJSDocTag(N,E.isJSDocThisTag)}E.getJSDocThisTag=getJSDocThisTag;function getJSDocReturnTag(N){return getFirstJSDocTag(N,E.isJSDocReturnTag)}E.getJSDocReturnTag=getJSDocReturnTag;function getJSDocTemplateTag(N){return getFirstJSDocTag(N,E.isJSDocTemplateTag)}E.getJSDocTemplateTag=getJSDocTemplateTag;function getJSDocTypeTag(N){var R=getFirstJSDocTag(N,E.isJSDocTypeTag);if(R&&R.typeExpression&&R.typeExpression.type){return R}return undefined}E.getJSDocTypeTag=getJSDocTypeTag;function getJSDocType(N){var R=getFirstJSDocTag(N,E.isJSDocTypeTag);if(!R&&E.isParameter(N)){R=E.find(getJSDocParameterTags(N),(function(E){return!!E.typeExpression}))}return R&&R.typeExpression&&R.typeExpression.type}E.getJSDocType=getJSDocType;function getJSDocReturnType(N){var R=getJSDocReturnTag(N);if(R&&R.typeExpression){return R.typeExpression.type}var j=getJSDocTypeTag(N);if(j&&j.typeExpression){var $=j.typeExpression.type;if(E.isTypeLiteralNode($)){var q=E.find($.members,E.isCallSignatureDeclaration);return q&&q.type}if(E.isFunctionTypeNode($)||E.isJSDocFunctionType($)){return $.type}}}E.getJSDocReturnType=getJSDocReturnType;function getJSDocTagsWorker(N,R){var j=N.jsDocCache;if(j===undefined||R){var $=E.getJSDocCommentsAndTags(N,R);E.Debug.assert($.length<2||$[0]!==$[1]);j=E.flatMap($,(function(N){return E.isJSDoc(N)?N.tags:N}));if(!R){N.jsDocCache=j}}return j}function getJSDocTags(E){return getJSDocTagsWorker(E,false)}E.getJSDocTags=getJSDocTags;function getJSDocTagsNoCache(E){return getJSDocTagsWorker(E,true)}E.getJSDocTagsNoCache=getJSDocTagsNoCache;function getFirstJSDocTag(N,R,j){return E.find(getJSDocTagsWorker(N,j),R)}function getAllJSDocTags(E,N){return getJSDocTags(E).filter(N)}E.getAllJSDocTags=getAllJSDocTags;function getAllJSDocTagsOfKind(E,N){return getJSDocTags(E).filter((function(E){return E.kind===N}))}E.getAllJSDocTagsOfKind=getAllJSDocTagsOfKind;function getTextOfJSDocComment(N){return typeof N==="string"?N:N===null||N===void 0?void 0:N.map((function(N){return N.kind===316?N.text:"{@link "+(N.name?E.entityNameToString(N.name)+" ":"")+N.text+"}"})).join("")}E.getTextOfJSDocComment=getTextOfJSDocComment;function getEffectiveTypeParameterDeclarations(N){if(E.isJSDocSignature(N)){return E.emptyArray}if(E.isJSDocTypeAlias(N)){E.Debug.assert(N.parent.kind===315);return E.flatMap(N.parent.tags,(function(N){return E.isJSDocTemplateTag(N)?N.typeParameters:undefined}))}if(N.typeParameters){return N.typeParameters}if(E.isInJSFile(N)){var R=E.getJSDocTypeParameterDeclarations(N);if(R.length){return R}var j=getJSDocType(N);if(j&&E.isFunctionTypeNode(j)&&j.typeParameters){return j.typeParameters}}return E.emptyArray}E.getEffectiveTypeParameterDeclarations=getEffectiveTypeParameterDeclarations;function getEffectiveConstraintOfTypeParameter(N){return N.constraint?N.constraint:E.isJSDocTemplateTag(N.parent)&&N===N.parent.typeParameters[0]?N.parent.constraint:undefined}E.getEffectiveConstraintOfTypeParameter=getEffectiveConstraintOfTypeParameter;function isMemberName(E){return E.kind===79||E.kind===80}E.isMemberName=isMemberName;function isGetOrSetAccessorDeclaration(E){return E.kind===171||E.kind===170}E.isGetOrSetAccessorDeclaration=isGetOrSetAccessorDeclaration;function isPropertyAccessChain(N){return E.isPropertyAccessExpression(N)&&!!(N.flags&32)}E.isPropertyAccessChain=isPropertyAccessChain;function isElementAccessChain(N){return E.isElementAccessExpression(N)&&!!(N.flags&32)}E.isElementAccessChain=isElementAccessChain;function isCallChain(N){return E.isCallExpression(N)&&!!(N.flags&32)}E.isCallChain=isCallChain;function isOptionalChain(E){var N=E.kind;return!!(E.flags&32)&&(N===204||N===205||N===206||N===228)}E.isOptionalChain=isOptionalChain;function isOptionalChainRoot(N){return isOptionalChain(N)&&!E.isNonNullExpression(N)&&!!N.questionDotToken}E.isOptionalChainRoot=isOptionalChainRoot;function isExpressionOfOptionalChainRoot(E){return isOptionalChainRoot(E.parent)&&E.parent.expression===E}E.isExpressionOfOptionalChainRoot=isExpressionOfOptionalChainRoot;function isOutermostOptionalChain(E){return!isOptionalChain(E.parent)||isOptionalChainRoot(E.parent)||E!==E.parent.expression}E.isOutermostOptionalChain=isOutermostOptionalChain;function isNullishCoalesce(E){return E.kind===219&&E.operatorToken.kind===60}E.isNullishCoalesce=isNullishCoalesce;function isConstTypeReference(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="const"&&!N.typeArguments}E.isConstTypeReference=isConstTypeReference;function skipPartiallyEmittedExpressions(N){return E.skipOuterExpressions(N,8)}E.skipPartiallyEmittedExpressions=skipPartiallyEmittedExpressions;function isNonNullChain(N){return E.isNonNullExpression(N)&&!!(N.flags&32)}E.isNonNullChain=isNonNullChain;function isBreakOrContinueStatement(E){return E.kind===244||E.kind===243}E.isBreakOrContinueStatement=isBreakOrContinueStatement;function isNamedExportBindings(E){return E.kind===272||E.kind===271}E.isNamedExportBindings=isNamedExportBindings;function isUnparsedTextLike(E){switch(E.kind){case 297:case 298:return true;default:return false}}E.isUnparsedTextLike=isUnparsedTextLike;function isUnparsedNode(E){return isUnparsedTextLike(E)||E.kind===295||E.kind===299}E.isUnparsedNode=isUnparsedNode;function isJSDocPropertyLikeTag(E){return E.kind===342||E.kind===335}E.isJSDocPropertyLikeTag=isJSDocPropertyLikeTag;function isNode(E){return isNodeKind(E.kind)}E.isNode=isNode;function isNodeKind(E){return E>=159}E.isNodeKind=isNodeKind;function isTokenKind(E){return E>=0&&E<=158}E.isTokenKind=isTokenKind;function isToken(E){return isTokenKind(E.kind)}E.isToken=isToken;function isNodeArray(E){return E.hasOwnProperty("pos")&&E.hasOwnProperty("end")}E.isNodeArray=isNodeArray;function isLiteralKind(E){return 8<=E&&E<=14}E.isLiteralKind=isLiteralKind;function isLiteralExpression(E){return isLiteralKind(E.kind)}E.isLiteralExpression=isLiteralExpression;function isTemplateLiteralKind(E){return 14<=E&&E<=17}E.isTemplateLiteralKind=isTemplateLiteralKind;function isTemplateLiteralToken(E){return isTemplateLiteralKind(E.kind)}E.isTemplateLiteralToken=isTemplateLiteralToken;function isTemplateMiddleOrTemplateTail(E){var N=E.kind;return N===16||N===17}E.isTemplateMiddleOrTemplateTail=isTemplateMiddleOrTemplateTail;function isImportOrExportSpecifier(N){return E.isImportSpecifier(N)||E.isExportSpecifier(N)}E.isImportOrExportSpecifier=isImportOrExportSpecifier;function isTypeOnlyImportOrExportDeclaration(E){switch(E.kind){case 268:case 273:return E.parent.parent.isTypeOnly;case 266:return E.parent.isTypeOnly;case 265:case 263:return E.isTypeOnly;default:return false}}E.isTypeOnlyImportOrExportDeclaration=isTypeOnlyImportOrExportDeclaration;function isStringTextContainingNode(E){return E.kind===10||isTemplateLiteralKind(E.kind)}E.isStringTextContainingNode=isStringTextContainingNode;function isGeneratedIdentifier(N){return E.isIdentifier(N)&&(N.autoGenerateFlags&7)>0}E.isGeneratedIdentifier=isGeneratedIdentifier;function isPrivateIdentifierClassElementDeclaration(N){return(E.isPropertyDeclaration(N)||isMethodOrAccessor(N))&&E.isPrivateIdentifier(N.name)}E.isPrivateIdentifierClassElementDeclaration=isPrivateIdentifierClassElementDeclaration;function isPrivateIdentifierPropertyAccessExpression(N){return E.isPropertyAccessExpression(N)&&E.isPrivateIdentifier(N.name)}E.isPrivateIdentifierPropertyAccessExpression=isPrivateIdentifierPropertyAccessExpression;function isModifierKind(E){switch(E){case 126:case 130:case 85:case 134:case 88:case 93:case 123:case 121:case 122:case 143:case 124:case 157:return true}return false}E.isModifierKind=isModifierKind;function isParameterPropertyModifier(N){return!!(E.modifierToFlag(N)&16476)}E.isParameterPropertyModifier=isParameterPropertyModifier;function isClassMemberModifier(E){return isParameterPropertyModifier(E)||E===124||E===157}E.isClassMemberModifier=isClassMemberModifier;function isModifier(E){return isModifierKind(E.kind)}E.isModifier=isModifier;function isEntityName(E){var N=E.kind;return N===159||N===79}E.isEntityName=isEntityName;function isPropertyName(E){var N=E.kind;return N===79||N===80||N===10||N===8||N===160}E.isPropertyName=isPropertyName;function isBindingName(E){var N=E.kind;return N===79||N===199||N===200}E.isBindingName=isBindingName;function isFunctionLike(E){return!!E&&isFunctionLikeKind(E.kind)}E.isFunctionLike=isFunctionLike;function isFunctionLikeOrClassStaticBlockDeclaration(N){return!!N&&(isFunctionLikeKind(N.kind)||E.isClassStaticBlockDeclaration(N))}E.isFunctionLikeOrClassStaticBlockDeclaration=isFunctionLikeOrClassStaticBlockDeclaration;function isFunctionLikeDeclaration(E){return E&&isFunctionLikeDeclarationKind(E.kind)}E.isFunctionLikeDeclaration=isFunctionLikeDeclaration;function isBooleanLiteral(E){return E.kind===110||E.kind===95}E.isBooleanLiteral=isBooleanLiteral;function isFunctionLikeDeclarationKind(E){switch(E){case 254:case 167:case 169:case 170:case 171:case 211:case 212:return true;default:return false}}function isFunctionLikeKind(E){switch(E){case 166:case 172:case 318:case 173:case 174:case 177:case 312:case 178:return true;default:return isFunctionLikeDeclarationKind(E)}}E.isFunctionLikeKind=isFunctionLikeKind;function isFunctionOrModuleBlock(N){return E.isSourceFile(N)||E.isModuleBlock(N)||E.isBlock(N)&&isFunctionLike(N.parent)}E.isFunctionOrModuleBlock=isFunctionOrModuleBlock;function isClassElement(E){var N=E.kind;return N===169||N===165||N===167||N===170||N===171||N===174||N===168||N===232}E.isClassElement=isClassElement;function isClassLike(E){return E&&(E.kind===255||E.kind===224)}E.isClassLike=isClassLike;function isAccessor(E){return E&&(E.kind===170||E.kind===171)}E.isAccessor=isAccessor;function isMethodOrAccessor(E){switch(E.kind){case 167:case 170:case 171:return true;default:return false}}E.isMethodOrAccessor=isMethodOrAccessor;function isTypeElement(E){var N=E.kind;return N===173||N===172||N===164||N===166||N===174}E.isTypeElement=isTypeElement;function isClassOrTypeElement(E){return isTypeElement(E)||isClassElement(E)}E.isClassOrTypeElement=isClassOrTypeElement;function isObjectLiteralElementLike(E){var N=E.kind;return N===291||N===292||N===293||N===167||N===170||N===171}E.isObjectLiteralElementLike=isObjectLiteralElementLike;function isTypeNode(N){return E.isTypeNodeKind(N.kind)}E.isTypeNode=isTypeNode;function isFunctionOrConstructorTypeNode(E){switch(E.kind){case 177:case 178:return true}return false}E.isFunctionOrConstructorTypeNode=isFunctionOrConstructorTypeNode;function isBindingPattern(E){if(E){var N=E.kind;return N===200||N===199}return false}E.isBindingPattern=isBindingPattern;function isAssignmentPattern(E){var N=E.kind;return N===202||N===203}E.isAssignmentPattern=isAssignmentPattern;function isArrayBindingElement(E){var N=E.kind;return N===201||N===225}E.isArrayBindingElement=isArrayBindingElement;function isDeclarationBindingElement(E){switch(E.kind){case 252:case 162:case 201:return true}return false}E.isDeclarationBindingElement=isDeclarationBindingElement;function isBindingOrAssignmentPattern(E){return isObjectBindingOrAssignmentPattern(E)||isArrayBindingOrAssignmentPattern(E)}E.isBindingOrAssignmentPattern=isBindingOrAssignmentPattern;function isObjectBindingOrAssignmentPattern(E){switch(E.kind){case 199:case 203:return true}return false}E.isObjectBindingOrAssignmentPattern=isObjectBindingOrAssignmentPattern;function isObjectBindingOrAssignmentElement(E){switch(E.kind){case 201:case 291:case 292:case 293:return true}return false}E.isObjectBindingOrAssignmentElement=isObjectBindingOrAssignmentElement;function isArrayBindingOrAssignmentPattern(E){switch(E.kind){case 200:case 202:return true}return false}E.isArrayBindingOrAssignmentPattern=isArrayBindingOrAssignmentPattern;function isPropertyAccessOrQualifiedNameOrImportTypeNode(E){var N=E.kind;return N===204||N===159||N===198}E.isPropertyAccessOrQualifiedNameOrImportTypeNode=isPropertyAccessOrQualifiedNameOrImportTypeNode;function isPropertyAccessOrQualifiedName(E){var N=E.kind;return N===204||N===159}E.isPropertyAccessOrQualifiedName=isPropertyAccessOrQualifiedName;function isCallLikeExpression(E){switch(E.kind){case 278:case 277:case 206:case 207:case 208:case 163:return true;default:return false}}E.isCallLikeExpression=isCallLikeExpression;function isCallOrNewExpression(E){return E.kind===206||E.kind===207}E.isCallOrNewExpression=isCallOrNewExpression;function isTemplateLiteral(E){var N=E.kind;return N===221||N===14}E.isTemplateLiteral=isTemplateLiteral;function isLeftHandSideExpression(E){return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isLeftHandSideExpression=isLeftHandSideExpression;function isLeftHandSideExpressionKind(E){switch(E){case 204:case 205:case 207:case 206:case 276:case 277:case 280:case 208:case 202:case 210:case 203:case 224:case 211:case 79:case 13:case 8:case 9:case 10:case 14:case 221:case 95:case 104:case 108:case 110:case 106:case 228:case 229:case 100:return true;default:return false}}function isUnaryExpression(E){return isUnaryExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isUnaryExpression=isUnaryExpression;function isUnaryExpressionKind(E){switch(E){case 217:case 218:case 213:case 214:case 215:case 216:case 209:return true;default:return isLeftHandSideExpressionKind(E)}}function isUnaryExpressionWithWrite(E){switch(E.kind){case 218:return true;case 217:return E.operator===45||E.operator===46;default:return false}}E.isUnaryExpressionWithWrite=isUnaryExpressionWithWrite;function isExpression(E){return isExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isExpression=isExpression;function isExpressionKind(E){switch(E){case 220:case 222:case 212:case 219:case 223:case 227:case 225:case 346:case 345:return true;default:return isUnaryExpressionKind(E)}}function isAssertionExpression(E){var N=E.kind;return N===209||N===227}E.isAssertionExpression=isAssertionExpression;function isNotEmittedOrPartiallyEmittedNode(N){return E.isNotEmittedStatement(N)||E.isPartiallyEmittedExpression(N)}E.isNotEmittedOrPartiallyEmittedNode=isNotEmittedOrPartiallyEmittedNode;function isIterationStatement(E,N){switch(E.kind){case 240:case 241:case 242:case 238:case 239:return true;case 248:return N&&isIterationStatement(E.statement,N)}return false}E.isIterationStatement=isIterationStatement;function isScopeMarker(N){return E.isExportAssignment(N)||E.isExportDeclaration(N)}E.isScopeMarker=isScopeMarker;function hasScopeMarker(N){return E.some(N,isScopeMarker)}E.hasScopeMarker=hasScopeMarker;function needsScopeMarker(N){return!E.isAnyImportOrReExport(N)&&!E.isExportAssignment(N)&&!E.hasSyntacticModifier(N,1)&&!E.isAmbientModule(N)}E.needsScopeMarker=needsScopeMarker;function isExternalModuleIndicator(N){return E.isAnyImportOrReExport(N)||E.isExportAssignment(N)||E.hasSyntacticModifier(N,1)}E.isExternalModuleIndicator=isExternalModuleIndicator;function isForInOrOfStatement(E){return E.kind===241||E.kind===242}E.isForInOrOfStatement=isForInOrOfStatement;function isConciseBody(N){return E.isBlock(N)||isExpression(N)}E.isConciseBody=isConciseBody;function isFunctionBody(N){return E.isBlock(N)}E.isFunctionBody=isFunctionBody;function isForInitializer(N){return E.isVariableDeclarationList(N)||isExpression(N)}E.isForInitializer=isForInitializer;function isModuleBody(E){var N=E.kind;return N===260||N===259||N===79}E.isModuleBody=isModuleBody;function isNamespaceBody(E){var N=E.kind;return N===260||N===259}E.isNamespaceBody=isNamespaceBody;function isJSDocNamespaceBody(E){var N=E.kind;return N===79||N===259}E.isJSDocNamespaceBody=isJSDocNamespaceBody;function isNamedImportBindings(E){var N=E.kind;return N===267||N===266}E.isNamedImportBindings=isNamedImportBindings;function isModuleOrEnumDeclaration(E){return E.kind===259||E.kind===258}E.isModuleOrEnumDeclaration=isModuleOrEnumDeclaration;function isDeclarationKind(E){return E===212||E===201||E===255||E===224||E===168||E===169||E===258||E===294||E===273||E===254||E===211||E===170||E===265||E===263||E===268||E===256||E===283||E===167||E===166||E===259||E===262||E===266||E===272||E===162||E===291||E===165||E===164||E===171||E===292||E===257||E===161||E===252||E===340||E===333||E===342}function isDeclarationStatementKind(E){return E===254||E===274||E===255||E===256||E===257||E===258||E===259||E===264||E===263||E===270||E===269||E===262}function isStatementKindButNotDeclarationKind(E){return E===244||E===243||E===251||E===238||E===236||E===234||E===241||E===242||E===240||E===237||E===248||E===245||E===247||E===249||E===250||E===235||E===239||E===246||E===344||E===348||E===347}function isDeclaration(N){if(N.kind===161){return N.parent&&N.parent.kind!==339||E.isInJSFile(N)}return isDeclarationKind(N.kind)}E.isDeclaration=isDeclaration;function isDeclarationStatement(E){return isDeclarationStatementKind(E.kind)}E.isDeclarationStatement=isDeclarationStatement;function isStatementButNotDeclaration(E){return isStatementKindButNotDeclarationKind(E.kind)}E.isStatementButNotDeclaration=isStatementButNotDeclaration;function isStatement(E){var N=E.kind;return isStatementKindButNotDeclarationKind(N)||isDeclarationStatementKind(N)||isBlockStatement(E)}E.isStatement=isStatement;function isBlockStatement(N){if(N.kind!==233)return false;if(N.parent!==undefined){if(N.parent.kind===250||N.parent.kind===290){return false}}return!E.isFunctionBlock(N)}function isStatementOrBlock(E){var N=E.kind;return isStatementKindButNotDeclarationKind(N)||isDeclarationStatementKind(N)||N===233}E.isStatementOrBlock=isStatementOrBlock;function isModuleReference(E){var N=E.kind;return N===275||N===159||N===79}E.isModuleReference=isModuleReference;function isJsxTagNameExpression(E){var N=E.kind;return N===108||N===79||N===204}E.isJsxTagNameExpression=isJsxTagNameExpression;function isJsxChild(E){var N=E.kind;return N===276||N===286||N===277||N===11||N===280}E.isJsxChild=isJsxChild;function isJsxAttributeLike(E){var N=E.kind;return N===283||N===285}E.isJsxAttributeLike=isJsxAttributeLike;function isStringLiteralOrJsxExpression(E){var N=E.kind;return N===10||N===286}E.isStringLiteralOrJsxExpression=isStringLiteralOrJsxExpression;function isJsxOpeningLikeElement(E){var N=E.kind;return N===278||N===277}E.isJsxOpeningLikeElement=isJsxOpeningLikeElement;function isCaseOrDefaultClause(E){var N=E.kind;return N===287||N===288}E.isCaseOrDefaultClause=isCaseOrDefaultClause;function isJSDocNode(E){return E.kind>=304&&E.kind<=342}E.isJSDocNode=isJSDocNode;function isJSDocCommentContainingNode(N){return N.kind===315||N.kind===314||N.kind===316||isJSDocLinkLike(N)||isJSDocTag(N)||E.isJSDocTypeLiteral(N)||E.isJSDocSignature(N)}E.isJSDocCommentContainingNode=isJSDocCommentContainingNode;function isJSDocTag(E){return E.kind>=322&&E.kind<=342}E.isJSDocTag=isJSDocTag;function isSetAccessor(E){return E.kind===171}E.isSetAccessor=isSetAccessor;function isGetAccessor(E){return E.kind===170}E.isGetAccessor=isGetAccessor;function hasJSDocNodes(E){var N=E.jsDoc;return!!N&&N.length>0}E.hasJSDocNodes=hasJSDocNodes;function hasType(E){return!!E.type}E.hasType=hasType;function hasInitializer(E){return!!E.initializer}E.hasInitializer=hasInitializer;function hasOnlyExpressionInitializer(E){switch(E.kind){case 252:case 162:case 201:case 164:case 165:case 291:case 294:return true;default:return false}}E.hasOnlyExpressionInitializer=hasOnlyExpressionInitializer;function isObjectLiteralElement(E){return E.kind===283||E.kind===285||isObjectLiteralElementLike(E)}E.isObjectLiteralElement=isObjectLiteralElement;function isTypeReferenceType(E){return E.kind===176||E.kind===226}E.isTypeReferenceType=isTypeReferenceType;var N=1073741823;function guessIndentation(R){var j=N;for(var $=0,q=R;$<q.length;$++){var G=q[$];if(!G.length){continue}var ie=0;for(;ie<G.length&&ie<j;ie++){if(!E.isWhiteSpaceLike(G.charCodeAt(ie))){break}}if(ie<j){j=ie}if(j===0){return 0}}return j===N?undefined:j}E.guessIndentation=guessIndentation;function isStringLiteralLike(E){return E.kind===10||E.kind===14}E.isStringLiteralLike=isStringLiteralLike;function isJSDocLinkLike(E){return E.kind===319||E.kind===320||E.kind===321}E.isJSDocLinkLike=isJSDocLinkLike})(ce||(ce={}));var ce;(function(E){E.resolvingEmptyArray=[];E.externalHelpersModuleNameText="tslib";E.defaultMaximumTruncationLength=160;E.noTruncationMaximumTruncationLength=1e6;function getDeclarationOfKind(E,N){var R=E.declarations;if(R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if(q.kind===N){return q}}}return undefined}E.getDeclarationOfKind=getDeclarationOfKind;function createUnderscoreEscapedMap(){return new E.Map}E.createUnderscoreEscapedMap=createUnderscoreEscapedMap;function hasEntries(E){return!!E&&!!E.size}E.hasEntries=hasEntries;function createSymbolTable(N){var R=new E.Map;if(N){for(var j=0,$=N;j<$.length;j++){var q=$[j];R.set(q.escapedName,q)}}return R}E.createSymbolTable=createSymbolTable;function isTransientSymbol(E){return(E.flags&33554432)!==0}E.isTransientSymbol=isTransientSymbol;var N=createSingleLineStringWriter();function createSingleLineStringWriter(){var N="";var writeText=function(E){return N+=E};return{getText:function(){return N},write:writeText,rawWrite:writeText,writeKeyword:writeText,writeOperator:writeText,writePunctuation:writeText,writeSpace:writeText,writeStringLiteral:writeText,writeLiteral:writeText,writeParameter:writeText,writeProperty:writeText,writeSymbol:function(E,N){return writeText(E)},writeTrailingSemicolon:writeText,writeComment:writeText,getTextPos:function(){return N.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return false},hasTrailingComment:function(){return false},hasTrailingWhitespace:function(){return!!N.length&&E.isWhiteSpaceLike(N.charCodeAt(N.length-1))},writeLine:function(){return N+=" "},increaseIndent:E.noop,decreaseIndent:E.noop,clear:function(){return N=""},trackSymbol:function(){return false},reportInaccessibleThisError:E.noop,reportInaccessibleUniqueSymbolError:E.noop,reportPrivateInBaseOfClassExpression:E.noop}}function changesAffectModuleResolution(E,N){return E.configFilePath!==N.configFilePath||optionsHaveModuleResolutionChanges(E,N)}E.changesAffectModuleResolution=changesAffectModuleResolution;function optionsHaveModuleResolutionChanges(N,R){return optionsHaveChanges(N,R,E.moduleResolutionOptionDeclarations)}E.optionsHaveModuleResolutionChanges=optionsHaveModuleResolutionChanges;function changesAffectingProgramStructure(N,R){return optionsHaveChanges(N,R,E.optionsAffectingProgramStructure)}E.changesAffectingProgramStructure=changesAffectingProgramStructure;function optionsHaveChanges(E,N,R){return E!==N&&R.some((function(R){return!isJsonEqual(getCompilerOptionValue(E,R),getCompilerOptionValue(N,R))}))}E.optionsHaveChanges=optionsHaveChanges;function forEachAncestor(N,R){while(true){var j=R(N);if(j==="quit")return undefined;if(j!==undefined)return j;if(E.isSourceFile(N))return undefined;N=N.parent}}E.forEachAncestor=forEachAncestor;function forEachEntry(E,N){var R=E.entries();for(var j=R.next();!j.done;j=R.next()){var $=j.value,q=$[0],G=$[1];var ie=N(G,q);if(ie){return ie}}return undefined}E.forEachEntry=forEachEntry;function forEachKey(E,N){var R=E.keys();for(var j=R.next();!j.done;j=R.next()){var $=N(j.value);if($){return $}}return undefined}E.forEachKey=forEachKey;function copyEntries(E,N){E.forEach((function(E,R){N.set(R,E)}))}E.copyEntries=copyEntries;function usingSingleLineStringWriter(E){var R=N.getText();try{E(N);return N.getText()}finally{N.clear();N.writeKeyword(R)}}E.usingSingleLineStringWriter=usingSingleLineStringWriter;function getFullWidth(E){return E.end-E.pos}E.getFullWidth=getFullWidth;function getResolvedModule(E,N){return E&&E.resolvedModules&&E.resolvedModules.get(N)}E.getResolvedModule=getResolvedModule;function setResolvedModule(N,R,j){if(!N.resolvedModules){N.resolvedModules=new E.Map}N.resolvedModules.set(R,j)}E.setResolvedModule=setResolvedModule;function setResolvedTypeReferenceDirective(N,R,j){if(!N.resolvedTypeReferenceDirectiveNames){N.resolvedTypeReferenceDirectiveNames=new E.Map}N.resolvedTypeReferenceDirectiveNames.set(R,j)}E.setResolvedTypeReferenceDirective=setResolvedTypeReferenceDirective;function projectReferenceIsEqualTo(E,N){return E.path===N.path&&!E.prepend===!N.prepend&&!E.circular===!N.circular}E.projectReferenceIsEqualTo=projectReferenceIsEqualTo;function moduleResolutionIsEqualTo(E,N){return E.isExternalLibraryImport===N.isExternalLibraryImport&&E.extension===N.extension&&E.resolvedFileName===N.resolvedFileName&&E.originalPath===N.originalPath&&packageIdIsEqual(E.packageId,N.packageId)}E.moduleResolutionIsEqualTo=moduleResolutionIsEqualTo;function packageIdIsEqual(E,N){return E===N||!!E&&!!N&&E.name===N.name&&E.subModuleName===N.subModuleName&&E.version===N.version}function packageIdToString(E){var N=E.name,R=E.subModuleName,j=E.version;var $=R?N+"/"+R:N;return $+"@"+j}E.packageIdToString=packageIdToString;function typeDirectiveIsEqualTo(E,N){return E.resolvedFileName===N.resolvedFileName&&E.primary===N.primary&&E.originalPath===N.originalPath}E.typeDirectiveIsEqualTo=typeDirectiveIsEqualTo;function hasChangesInResolutions(N,R,j,$){E.Debug.assert(N.length===R.length);for(var q=0;q<N.length;q++){var G=R[q];var ie=j&&j.get(N[q]);var ae=ie?!G||!$(ie,G):G;if(ae){return true}}return false}E.hasChangesInResolutions=hasChangesInResolutions;function containsParseError(E){aggregateChildData(E);return(E.flags&262144)!==0}E.containsParseError=containsParseError;function aggregateChildData(N){if(!(N.flags&524288)){var R=(N.flags&65536)!==0||E.forEachChild(N,containsParseError);if(R){N.flags|=262144}N.flags|=524288}}function getSourceFileOfNode(E){while(E&&E.kind!==300){E=E.parent}return E}E.getSourceFileOfNode=getSourceFileOfNode;function getSourceFileOfModule(E){return getSourceFileOfNode(E.valueDeclaration||getNonAugmentationDeclaration(E))}E.getSourceFileOfModule=getSourceFileOfModule;function isStatementWithLocals(E){switch(E.kind){case 233:case 261:case 240:case 241:case 242:return true}return false}E.isStatementWithLocals=isStatementWithLocals;function getStartPositionOfLine(N,R){E.Debug.assert(N>=0);return E.getLineStarts(R)[N]}E.getStartPositionOfLine=getStartPositionOfLine;function nodePosToString(N){var R=getSourceFileOfNode(N);var j=E.getLineAndCharacterOfPosition(R,N.pos);return R.fileName+"("+(j.line+1)+","+(j.character+1)+")"}E.nodePosToString=nodePosToString;function getEndLinePosition(N,R){E.Debug.assert(N>=0);var j=E.getLineStarts(R);var $=N;var q=R.text;if($+1===j.length){return q.length-1}else{var G=j[$];var ie=j[$+1]-1;E.Debug.assert(E.isLineBreak(q.charCodeAt(ie)));while(G<=ie&&E.isLineBreak(q.charCodeAt(ie))){ie--}return ie}}E.getEndLinePosition=getEndLinePosition;function isFileLevelUniqueName(E,N,R){return!(R&&R(N))&&!E.identifiers.has(N)}E.isFileLevelUniqueName=isFileLevelUniqueName;function nodeIsMissing(E){if(E===undefined){return true}return E.pos===E.end&&E.pos>=0&&E.kind!==1}E.nodeIsMissing=nodeIsMissing;function nodeIsPresent(E){return!nodeIsMissing(E)}E.nodeIsPresent=nodeIsPresent;function insertStatementsAfterPrologue(E,N,R){if(N===undefined||N.length===0)return E;var $=0;for(;$<E.length;++$){if(!R(E[$])){break}}E.splice.apply(E,j([$,0],N,false));return E}function insertStatementAfterPrologue(E,N,R){if(N===undefined)return E;var j=0;for(;j<E.length;++j){if(!R(E[j])){break}}E.splice(j,0,N);return E}function isAnyPrologueDirective(E){return isPrologueDirective(E)||!!(getEmitFlags(E)&1048576)}function insertStatementsAfterStandardPrologue(E,N){return insertStatementsAfterPrologue(E,N,isPrologueDirective)}E.insertStatementsAfterStandardPrologue=insertStatementsAfterStandardPrologue;function insertStatementsAfterCustomPrologue(E,N){return insertStatementsAfterPrologue(E,N,isAnyPrologueDirective)}E.insertStatementsAfterCustomPrologue=insertStatementsAfterCustomPrologue;function insertStatementAfterStandardPrologue(E,N){return insertStatementAfterPrologue(E,N,isPrologueDirective)}E.insertStatementAfterStandardPrologue=insertStatementAfterStandardPrologue;function insertStatementAfterCustomPrologue(E,N){return insertStatementAfterPrologue(E,N,isAnyPrologueDirective)}E.insertStatementAfterCustomPrologue=insertStatementAfterCustomPrologue;function isRecognizedTripleSlashComment(N,R,j){if(N.charCodeAt(R+1)===47&&R+2<j&&N.charCodeAt(R+2)===47){var $=N.substring(R,j);return E.fullTripleSlashReferencePathRegEx.test($)||E.fullTripleSlashAMDReferencePathRegEx.test($)||q.test($)||G.test($)?true:false}return false}E.isRecognizedTripleSlashComment=isRecognizedTripleSlashComment;function isPinnedComment(E,N){return E.charCodeAt(N+1)===42&&E.charCodeAt(N+2)===33}E.isPinnedComment=isPinnedComment;function createCommentDirectivesMap(N,R){var j=new E.Map(R.map((function(R){return[""+E.getLineAndCharacterOfPosition(N,R.range.end).line,R]})));var $=new E.Map;return{getUnusedExpectations:getUnusedExpectations,markUsed:markUsed};function getUnusedExpectations(){return E.arrayFrom(j.entries()).filter((function(E){var N=E[0],R=E[1];return R.type===0&&!$.get(N)})).map((function(E){var N=E[0],R=E[1];return R}))}function markUsed(E){if(!j.has(""+E)){return false}$.set(""+E,true);return true}}E.createCommentDirectivesMap=createCommentDirectivesMap;function getTokenPosOfNode(N,R,j){if(nodeIsMissing(N)){return N.pos}if(E.isJSDocNode(N)||N.kind===11){return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.pos,false,true)}if(j&&E.hasJSDocNodes(N)){return getTokenPosOfNode(N.jsDoc[0],R)}if(N.kind===343&&N._children.length>0){return getTokenPosOfNode(N._children[0],R,j)}return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.pos,false,false,isInJSDoc(N))}E.getTokenPosOfNode=getTokenPosOfNode;function getNonDecoratorTokenPosOfNode(N,R){if(nodeIsMissing(N)||!N.decorators){return getTokenPosOfNode(N,R)}return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.decorators.end)}E.getNonDecoratorTokenPosOfNode=getNonDecoratorTokenPosOfNode;function getSourceTextOfNodeFromSourceFile(E,N,R){if(R===void 0){R=false}return getTextOfNodeFromSourceText(E.text,N,R)}E.getSourceTextOfNodeFromSourceFile=getSourceTextOfNodeFromSourceFile;function isJSDocTypeExpressionOrChild(N){return!!E.findAncestor(N,E.isJSDocTypeExpression)}function isExportNamespaceAsDefaultDeclaration(N){return!!(E.isExportDeclaration(N)&&N.exportClause&&E.isNamespaceExport(N.exportClause)&&N.exportClause.name.escapedText==="default")}E.isExportNamespaceAsDefaultDeclaration=isExportNamespaceAsDefaultDeclaration;function getTextOfNodeFromSourceText(N,R,j){if(j===void 0){j=false}if(nodeIsMissing(R)){return""}var $=N.substring(j?R.pos:E.skipTrivia(N,R.pos),R.end);if(isJSDocTypeExpressionOrChild(R)){$=$.split(/\r\n|\n|\r/).map((function(N){return E.trimStringStart(N.replace(/^\s*\*/,""))})).join("\n")}return $}E.getTextOfNodeFromSourceText=getTextOfNodeFromSourceText;function getTextOfNode(E,N){if(N===void 0){N=false}return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(E),E,N)}E.getTextOfNode=getTextOfNode;function getPos(E){return E.pos}function indexOfNode(N,R){return E.binarySearch(N,R,getPos,E.compareValues)}E.indexOfNode=indexOfNode;function getEmitFlags(E){var N=E.emitNode;return N&&N.flags||0}E.getEmitFlags=getEmitFlags;function getScriptTargetFeatures(){return{es2015:{Array:["find","findIndex","fill","copyWithin","entries","keys","values"],RegExp:["flags","sticky","unicode"],Reflect:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"],ArrayConstructor:["from","of"],ObjectConstructor:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],NumberConstructor:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"],Math:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"],Map:["entries","keys","values"],Set:["entries","keys","values"],Promise:E.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:E.emptyArray,AsyncIterator:E.emptyArray,String:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],StringConstructor:["fromCodePoint","raw"]},es2016:{Array:["includes"]},es2017:{Atomics:E.emptyArray,SharedArrayBuffer:E.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:E.emptyArray,AsyncIterableIterator:E.emptyArray,AsyncGenerator:E.emptyArray,AsyncGeneratorFunction:E.emptyArray},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:E.emptyArray,BigInt64Array:E.emptyArray,BigUint64Array:E.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},esnext:{NumberFormat:["formatToParts"]}}}E.getScriptTargetFeatures=getScriptTargetFeatures;var R;(function(E){E[E["None"]=0]="None";E[E["NeverAsciiEscape"]=1]="NeverAsciiEscape";E[E["JsxAttributeEscape"]=2]="JsxAttributeEscape";E[E["TerminateUnterminatedLiterals"]=4]="TerminateUnterminatedLiterals";E[E["AllowNumericSeparator"]=8]="AllowNumericSeparator"})(R=E.GetLiteralTextFlags||(E.GetLiteralTextFlags={}));function getLiteralText(N,R,j){var $;if(canUseOriginalText(N,j)){return getSourceTextOfNodeFromSourceFile(R,N)}switch(N.kind){case 10:{var q=j&2?escapeJsxAttributeString:j&1||getEmitFlags(N)&16777216?escapeString:escapeNonAsciiString;if(N.singleQuote){return"'"+q(N.text,39)+"'"}else{return'"'+q(N.text,34)+'"'}}case 14:case 15:case 16:case 17:{var q=j&1||getEmitFlags(N)&16777216?escapeString:escapeNonAsciiString;var G=($=N.rawText)!==null&&$!==void 0?$:escapeTemplateSubstitution(q(N.text,96));switch(N.kind){case 14:return"`"+G+"`";case 15:return"`"+G+"${";case 16:return"}"+G+"${";case 17:return"}"+G+"`"}break}case 8:case 9:return N.text;case 13:if(j&4&&N.isUnterminated){return N.text+(N.text.charCodeAt(N.text.length-1)===92?" /":"/")}return N.text}return E.Debug.fail("Literal kind '"+N.kind+"' not accounted for.")}E.getLiteralText=getLiteralText;function canUseOriginalText(N,R){if(nodeIsSynthesized(N)||!N.parent||R&4&&N.isUnterminated){return false}if(E.isNumericLiteral(N)&&N.numericLiteralFlags&512){return!!(R&8)}return!E.isBigIntLiteral(N)}function getTextOfConstantValue(N){return E.isString(N)?'"'+escapeNonAsciiString(N)+'"':""+N}E.getTextOfConstantValue=getTextOfConstantValue;function makeIdentifierFromModuleName(N){return E.getBaseFileName(N).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}E.makeIdentifierFromModuleName=makeIdentifierFromModuleName;function isBlockOrCatchScoped(N){return(E.getCombinedNodeFlags(N)&3)!==0||isCatchClauseVariableDeclarationOrBindingElement(N)}E.isBlockOrCatchScoped=isBlockOrCatchScoped;function isCatchClauseVariableDeclarationOrBindingElement(E){var N=getRootDeclaration(E);return N.kind===252&&N.parent.kind===290}E.isCatchClauseVariableDeclarationOrBindingElement=isCatchClauseVariableDeclarationOrBindingElement;function isAmbientModule(N){return E.isModuleDeclaration(N)&&(N.name.kind===10||isGlobalScopeAugmentation(N))}E.isAmbientModule=isAmbientModule;function isModuleWithStringLiteralName(N){return E.isModuleDeclaration(N)&&N.name.kind===10}E.isModuleWithStringLiteralName=isModuleWithStringLiteralName;function isNonGlobalAmbientModule(N){return E.isModuleDeclaration(N)&&E.isStringLiteral(N.name)}E.isNonGlobalAmbientModule=isNonGlobalAmbientModule;function isEffectiveModuleDeclaration(N){return E.isModuleDeclaration(N)||E.isIdentifier(N)}E.isEffectiveModuleDeclaration=isEffectiveModuleDeclaration;function isShorthandAmbientModuleSymbol(E){return isShorthandAmbientModule(E.valueDeclaration)}E.isShorthandAmbientModuleSymbol=isShorthandAmbientModuleSymbol;function isShorthandAmbientModule(E){return!!E&&E.kind===259&&!E.body}function isBlockScopedContainerTopLevel(N){return N.kind===300||N.kind===259||E.isFunctionLikeOrClassStaticBlockDeclaration(N)}E.isBlockScopedContainerTopLevel=isBlockScopedContainerTopLevel;function isGlobalScopeAugmentation(E){return!!(E.flags&1024)}E.isGlobalScopeAugmentation=isGlobalScopeAugmentation;function isExternalModuleAugmentation(E){return isAmbientModule(E)&&isModuleAugmentationExternal(E)}E.isExternalModuleAugmentation=isExternalModuleAugmentation;function isModuleAugmentationExternal(N){switch(N.parent.kind){case 300:return E.isExternalModule(N.parent);case 260:return isAmbientModule(N.parent.parent)&&E.isSourceFile(N.parent.parent.parent)&&!E.isExternalModule(N.parent.parent.parent)}return false}E.isModuleAugmentationExternal=isModuleAugmentationExternal;function getNonAugmentationDeclaration(N){var R;return(R=N.declarations)===null||R===void 0?void 0:R.find((function(N){return!isExternalModuleAugmentation(N)&&!(E.isModuleDeclaration(N)&&isGlobalScopeAugmentation(N))}))}E.getNonAugmentationDeclaration=getNonAugmentationDeclaration;function isEffectiveExternalModule(N,R){return E.isExternalModule(N)||R.isolatedModules||getEmitModuleKind(R)===E.ModuleKind.CommonJS&&!!N.commonJsModuleIndicator}E.isEffectiveExternalModule=isEffectiveExternalModule;function isEffectiveStrictModeSourceFile(N,R){switch(N.scriptKind){case 1:case 3:case 2:case 4:break;default:return false}if(N.isDeclarationFile){return false}if(getStrictOptionValue(R,"alwaysStrict")){return true}if(E.startsWithUseStrict(N.statements)){return true}if(E.isExternalModule(N)||R.isolatedModules){if(getEmitModuleKind(R)>=E.ModuleKind.ES2015){return true}return!R.noImplicitUseStrict}return false}E.isEffectiveStrictModeSourceFile=isEffectiveStrictModeSourceFile;function isBlockScope(N,R){switch(N.kind){case 300:case 261:case 290:case 259:case 240:case 241:case 242:case 169:case 167:case 170:case 171:case 254:case 211:case 212:case 165:case 168:return true;case 233:return!E.isFunctionLikeOrClassStaticBlockDeclaration(R)}return false}E.isBlockScope=isBlockScope;function isDeclarationWithTypeParameters(N){switch(N.kind){case 333:case 340:case 318:return true;default:E.assertType(N);return isDeclarationWithTypeParameterChildren(N)}}E.isDeclarationWithTypeParameters=isDeclarationWithTypeParameters;function isDeclarationWithTypeParameterChildren(N){switch(N.kind){case 172:case 173:case 166:case 174:case 177:case 178:case 312:case 255:case 224:case 256:case 257:case 339:case 254:case 167:case 169:case 170:case 171:case 211:case 212:return true;default:E.assertType(N);return false}}E.isDeclarationWithTypeParameterChildren=isDeclarationWithTypeParameterChildren;function isAnyImportSyntax(E){switch(E.kind){case 264:case 263:return true;default:return false}}E.isAnyImportSyntax=isAnyImportSyntax;function isLateVisibilityPaintedStatement(E){switch(E.kind){case 264:case 263:case 235:case 255:case 254:case 259:case 257:case 256:case 258:return true;default:return false}}E.isLateVisibilityPaintedStatement=isLateVisibilityPaintedStatement;function hasPossibleExternalModuleReference(N){return isAnyImportOrReExport(N)||E.isModuleDeclaration(N)||E.isImportTypeNode(N)||isImportCall(N)}E.hasPossibleExternalModuleReference=hasPossibleExternalModuleReference;function isAnyImportOrReExport(N){return isAnyImportSyntax(N)||E.isExportDeclaration(N)}E.isAnyImportOrReExport=isAnyImportOrReExport;function getEnclosingBlockScopeContainer(N){return E.findAncestor(N.parent,(function(E){return isBlockScope(E,E.parent)}))}E.getEnclosingBlockScopeContainer=getEnclosingBlockScopeContainer;function forEachEnclosingBlockScopeContainer(E,N){var R=getEnclosingBlockScopeContainer(E);while(R){N(R);R=getEnclosingBlockScopeContainer(R)}}E.forEachEnclosingBlockScopeContainer=forEachEnclosingBlockScopeContainer;function declarationNameToString(E){return!E||getFullWidth(E)===0?"(Missing)":getTextOfNode(E)}E.declarationNameToString=declarationNameToString;function getNameFromIndexInfo(E){return E.declaration?declarationNameToString(E.declaration.parameters[0].name):undefined}E.getNameFromIndexInfo=getNameFromIndexInfo;function isComputedNonLiteralName(E){return E.kind===160&&!isStringOrNumericLiteralLike(E.expression)}E.isComputedNonLiteralName=isComputedNonLiteralName;function getTextOfPropertyName(N){switch(N.kind){case 79:case 80:return N.escapedText;case 10:case 8:case 14:return E.escapeLeadingUnderscores(N.text);case 160:if(isStringOrNumericLiteralLike(N.expression))return E.escapeLeadingUnderscores(N.expression.text);return E.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return E.Debug.assertNever(N)}}E.getTextOfPropertyName=getTextOfPropertyName;function entityNameToString(N){switch(N.kind){case 108:return"this";case 80:case 79:return getFullWidth(N)===0?E.idText(N):getTextOfNode(N);case 159:return entityNameToString(N.left)+"."+entityNameToString(N.right);case 204:if(E.isIdentifier(N.name)||E.isPrivateIdentifier(N.name)){return entityNameToString(N.expression)+"."+entityNameToString(N.name)}else{return E.Debug.assertNever(N.name)}case 306:return entityNameToString(N.left)+entityNameToString(N.right);default:return E.Debug.assertNever(N)}}E.entityNameToString=entityNameToString;function createDiagnosticForNode(E,N,R,j,$,q){var G=getSourceFileOfNode(E);return createDiagnosticForNodeInSourceFile(G,E,N,R,j,$,q)}E.createDiagnosticForNode=createDiagnosticForNode;function createDiagnosticForNodeArray(N,R,j,$,q,G,ie){var ae=E.skipTrivia(N.text,R.pos);return createFileDiagnostic(N,ae,R.end-ae,j,$,q,G,ie)}E.createDiagnosticForNodeArray=createDiagnosticForNodeArray;function createDiagnosticForNodeInSourceFile(E,N,R,j,$,q,G){var ie=getErrorSpanForNode(E,N);return createFileDiagnostic(E,ie.start,ie.length,R,j,$,q,G)}E.createDiagnosticForNodeInSourceFile=createDiagnosticForNodeInSourceFile;function createDiagnosticForNodeFromMessageChain(E,N,R){var j=getSourceFileOfNode(E);var $=getErrorSpanForNode(j,E);return createFileDiagnosticFromMessageChain(j,$.start,$.length,N,R)}E.createDiagnosticForNodeFromMessageChain=createDiagnosticForNodeFromMessageChain;function assertDiagnosticLocation(N,R,j){E.Debug.assertGreaterThanOrEqual(R,0);E.Debug.assertGreaterThanOrEqual(j,0);if(N){E.Debug.assertLessThanOrEqual(R,N.text.length);E.Debug.assertLessThanOrEqual(R+j,N.text.length)}}function createFileDiagnosticFromMessageChain(E,N,R,j,$){assertDiagnosticLocation(E,N,R);return{file:E,start:N,length:R,code:j.code,category:j.category,messageText:j.next?j:j.messageText,relatedInformation:$}}E.createFileDiagnosticFromMessageChain=createFileDiagnosticFromMessageChain;function createDiagnosticForFileFromMessageChain(E,N,R){return{file:E,start:0,length:0,code:N.code,category:N.category,messageText:N.next?N:N.messageText,relatedInformation:R}}E.createDiagnosticForFileFromMessageChain=createDiagnosticForFileFromMessageChain;function createDiagnosticForRange(E,N,R){return{file:E,start:N.pos,length:N.end-N.pos,code:R.code,category:R.category,messageText:R.message}}E.createDiagnosticForRange=createDiagnosticForRange;function getSpanOfTokenAtPosition(N,R){var j=E.createScanner(N.languageVersion,true,N.languageVariant,N.text,undefined,R);j.scan();var $=j.getTokenPos();return E.createTextSpanFromBounds($,j.getTextPos())}E.getSpanOfTokenAtPosition=getSpanOfTokenAtPosition;function getErrorSpanForArrowFunction(N,R){var j=E.skipTrivia(N.text,R.pos);if(R.body&&R.body.kind===233){var $=E.getLineAndCharacterOfPosition(N,R.body.pos).line;var q=E.getLineAndCharacterOfPosition(N,R.body.end).line;if($<q){return E.createTextSpan(j,getEndLinePosition($,N)-j+1)}}return E.createTextSpanFromBounds(j,R.end)}function getErrorSpanForNode(N,R){var j=R;switch(R.kind){case 300:var $=E.skipTrivia(N.text,0,false);if($===N.text.length){return E.createTextSpan(0,0)}return getSpanOfTokenAtPosition(N,$);case 252:case 201:case 255:case 224:case 256:case 259:case 258:case 294:case 254:case 211:case 167:case 170:case 171:case 257:case 165:case 164:case 266:j=R.name;break;case 212:return getErrorSpanForArrowFunction(N,R);case 287:case 288:var q=E.skipTrivia(N.text,R.pos);var G=R.statements.length>0?R.statements[0].pos:R.end;return E.createTextSpanFromBounds(q,G)}if(j===undefined){return getSpanOfTokenAtPosition(N,R.pos)}E.Debug.assert(!E.isJSDoc(j));var ie=nodeIsMissing(j);var ae=ie||E.isJsxText(R)?j.pos:E.skipTrivia(N.text,j.pos);if(ie){E.Debug.assert(ae===j.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");E.Debug.assert(ae===j.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}else{E.Debug.assert(ae>=j.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");E.Debug.assert(ae<=j.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}return E.createTextSpanFromBounds(ae,j.end)}E.getErrorSpanForNode=getErrorSpanForNode;function isExternalOrCommonJsModule(E){return(E.externalModuleIndicator||E.commonJsModuleIndicator)!==undefined}E.isExternalOrCommonJsModule=isExternalOrCommonJsModule;function isJsonSourceFile(E){return E.scriptKind===6}E.isJsonSourceFile=isJsonSourceFile;function isEnumConst(N){return!!(E.getCombinedModifierFlags(N)&2048)}E.isEnumConst=isEnumConst;function isDeclarationReadonly(N){return!!(E.getCombinedModifierFlags(N)&64&&!E.isParameterPropertyDeclaration(N,N.parent))}E.isDeclarationReadonly=isDeclarationReadonly;function isVarConst(N){return!!(E.getCombinedNodeFlags(N)&2)}E.isVarConst=isVarConst;function isLet(N){return!!(E.getCombinedNodeFlags(N)&1)}E.isLet=isLet;function isSuperCall(E){return E.kind===206&&E.expression.kind===106}E.isSuperCall=isSuperCall;function isImportCall(E){return E.kind===206&&E.expression.kind===100}E.isImportCall=isImportCall;function isImportMeta(N){return E.isMetaProperty(N)&&N.keywordToken===100&&N.name.escapedText==="meta"}E.isImportMeta=isImportMeta;function isLiteralImportTypeNode(N){return E.isImportTypeNode(N)&&E.isLiteralTypeNode(N.argument)&&E.isStringLiteral(N.argument.literal)}E.isLiteralImportTypeNode=isLiteralImportTypeNode;function isPrologueDirective(E){return E.kind===236&&E.expression.kind===10}E.isPrologueDirective=isPrologueDirective;function isCustomPrologue(E){return!!(getEmitFlags(E)&1048576)}E.isCustomPrologue=isCustomPrologue;function isHoistedFunction(N){return isCustomPrologue(N)&&E.isFunctionDeclaration(N)}E.isHoistedFunction=isHoistedFunction;function isHoistedVariable(N){return E.isIdentifier(N.name)&&!N.initializer}function isHoistedVariableStatement(N){return isCustomPrologue(N)&&E.isVariableStatement(N)&&E.every(N.declarationList.declarations,isHoistedVariable)}E.isHoistedVariableStatement=isHoistedVariableStatement;function getLeadingCommentRangesOfNode(N,R){return N.kind!==11?E.getLeadingCommentRanges(R.text,N.pos):undefined}E.getLeadingCommentRangesOfNode=getLeadingCommentRangesOfNode;function getJSDocCommentRanges(N,R){var j=N.kind===162||N.kind===161||N.kind===211||N.kind===212||N.kind===210||N.kind===252?E.concatenate(E.getTrailingCommentRanges(R,N.pos),E.getLeadingCommentRanges(R,N.pos)):E.getLeadingCommentRanges(R,N.pos);return E.filter(j,(function(E){return R.charCodeAt(E.pos+1)===42&&R.charCodeAt(E.pos+2)===42&&R.charCodeAt(E.pos+3)!==47}))}E.getJSDocCommentRanges=getJSDocCommentRanges;E.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/;var q=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/;E.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/;var G=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/;function isPartOfTypeNode(N){if(175<=N.kind&&N.kind<=198){return true}switch(N.kind){case 129:case 153:case 145:case 156:case 148:case 132:case 149:case 146:case 151:case 142:return true;case 114:return N.parent.kind!==215;case 226:return!isExpressionWithTypeArgumentsInClassExtendsClause(N);case 161:return N.parent.kind===193||N.parent.kind===188;case 79:if(N.parent.kind===159&&N.parent.right===N){N=N.parent}else if(N.parent.kind===204&&N.parent.name===N){N=N.parent}E.Debug.assert(N.kind===79||N.kind===159||N.kind===204,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 159:case 204:case 108:{var R=N.parent;if(R.kind===179){return false}if(R.kind===198){return!R.isTypeOf}if(175<=R.kind&&R.kind<=198){return true}switch(R.kind){case 226:return!isExpressionWithTypeArgumentsInClassExtendsClause(R);case 161:return N===R.constraint;case 339:return N===R.constraint;case 165:case 164:case 162:case 252:return N===R.type;case 254:case 211:case 212:case 169:case 167:case 166:case 170:case 171:return N===R.type;case 172:case 173:case 174:return N===R.type;case 209:return N===R.type;case 206:case 207:return E.contains(R.typeArguments,N);case 208:return false}}}return false}E.isPartOfTypeNode=isPartOfTypeNode;function isChildOfNodeWithKind(E,N){while(E){if(E.kind===N){return true}E=E.parent}return false}E.isChildOfNodeWithKind=isChildOfNodeWithKind;function forEachReturnStatement(N,R){return traverse(N);function traverse(N){switch(N.kind){case 245:return R(N);case 261:case 233:case 237:case 238:case 239:case 240:case 241:case 242:case 246:case 247:case 287:case 288:case 248:case 250:case 290:return E.forEachChild(N,traverse)}}}E.forEachReturnStatement=forEachReturnStatement;function forEachYieldExpression(N,R){return traverse(N);function traverse(N){switch(N.kind){case 222:R(N);var j=N.expression;if(j){traverse(j)}return;case 258:case 256:case 259:case 257:return;default:if(E.isFunctionLike(N)){if(N.name&&N.name.kind===160){traverse(N.name.expression);return}}else if(!isPartOfTypeNode(N)){E.forEachChild(N,traverse)}}}}E.forEachYieldExpression=forEachYieldExpression;function getRestParameterElementType(N){if(N&&N.kind===181){return N.elementType}else if(N&&N.kind===176){return E.singleOrUndefined(N.typeArguments)}else{return undefined}}E.getRestParameterElementType=getRestParameterElementType;function getMembersOfDeclaration(E){switch(E.kind){case 256:case 255:case 224:case 180:return E.members;case 203:return E.properties}}E.getMembersOfDeclaration=getMembersOfDeclaration;function isVariableLike(E){if(E){switch(E.kind){case 201:case 294:case 162:case 291:case 165:case 164:case 292:case 252:return true}}return false}E.isVariableLike=isVariableLike;function isVariableLikeOrAccessor(N){return isVariableLike(N)||E.isAccessor(N)}E.isVariableLikeOrAccessor=isVariableLikeOrAccessor;function isVariableDeclarationInVariableStatement(E){return E.parent.kind===253&&E.parent.parent.kind===235}E.isVariableDeclarationInVariableStatement=isVariableDeclarationInVariableStatement;function isValidESSymbolDeclaration(N){return E.isVariableDeclaration(N)?isVarConst(N)&&E.isIdentifier(N.name)&&isVariableDeclarationInVariableStatement(N):E.isPropertyDeclaration(N)?hasEffectiveReadonlyModifier(N)&&hasStaticModifier(N):E.isPropertySignature(N)&&hasEffectiveReadonlyModifier(N)}E.isValidESSymbolDeclaration=isValidESSymbolDeclaration;function introducesArgumentsExoticObject(E){switch(E.kind){case 167:case 166:case 169:case 170:case 171:case 254:case 211:return true}return false}E.introducesArgumentsExoticObject=introducesArgumentsExoticObject;function unwrapInnermostStatementOfLabel(E,N){while(true){if(N){N(E)}if(E.statement.kind!==248){return E.statement}E=E.statement}}E.unwrapInnermostStatementOfLabel=unwrapInnermostStatementOfLabel;function isFunctionBlock(N){return N&&N.kind===233&&E.isFunctionLike(N.parent)}E.isFunctionBlock=isFunctionBlock;function isObjectLiteralMethod(E){return E&&E.kind===167&&E.parent.kind===203}E.isObjectLiteralMethod=isObjectLiteralMethod;function isObjectLiteralOrClassExpressionMethod(E){return E.kind===167&&(E.parent.kind===203||E.parent.kind===224)}E.isObjectLiteralOrClassExpressionMethod=isObjectLiteralOrClassExpressionMethod;function isIdentifierTypePredicate(E){return E&&E.kind===1}E.isIdentifierTypePredicate=isIdentifierTypePredicate;function isThisTypePredicate(E){return E&&E.kind===0}E.isThisTypePredicate=isThisTypePredicate;function getPropertyAssignment(E,N,R){return E.properties.filter((function(E){if(E.kind===291){var j=getTextOfPropertyName(E.name);return N===j||!!R&&R===j}return false}))}E.getPropertyAssignment=getPropertyAssignment;function getPropertyArrayElementValue(N,R,j){return E.firstDefined(getPropertyAssignment(N,R),(function(N){return E.isArrayLiteralExpression(N.initializer)?E.find(N.initializer.elements,(function(N){return E.isStringLiteral(N)&&N.text===j})):undefined}))}E.getPropertyArrayElementValue=getPropertyArrayElementValue;function getTsConfigObjectLiteralExpression(N){if(N&&N.statements.length){var R=N.statements[0].expression;return E.tryCast(R,E.isObjectLiteralExpression)}}E.getTsConfigObjectLiteralExpression=getTsConfigObjectLiteralExpression;function getTsConfigPropArrayElementValue(N,R,j){return E.firstDefined(getTsConfigPropArray(N,R),(function(N){return E.isArrayLiteralExpression(N.initializer)?E.find(N.initializer.elements,(function(N){return E.isStringLiteral(N)&&N.text===j})):undefined}))}E.getTsConfigPropArrayElementValue=getTsConfigPropArrayElementValue;function getTsConfigPropArray(N,R){var j=getTsConfigObjectLiteralExpression(N);return j?getPropertyAssignment(j,R):E.emptyArray}E.getTsConfigPropArray=getTsConfigPropArray;function getContainingFunction(N){return E.findAncestor(N.parent,E.isFunctionLike)}E.getContainingFunction=getContainingFunction;function getContainingFunctionDeclaration(N){return E.findAncestor(N.parent,E.isFunctionLikeDeclaration)}E.getContainingFunctionDeclaration=getContainingFunctionDeclaration;function getContainingClass(N){return E.findAncestor(N.parent,E.isClassLike)}E.getContainingClass=getContainingClass;function getContainingClassStaticBlock(N){return E.findAncestor(N.parent,(function(N){if(E.isClassLike(N)||E.isFunctionLike(N)){return"quit"}return E.isClassStaticBlockDeclaration(N)}))}E.getContainingClassStaticBlock=getContainingClassStaticBlock;function getContainingFunctionOrClassStaticBlock(N){return E.findAncestor(N.parent,E.isFunctionLikeOrClassStaticBlockDeclaration)}E.getContainingFunctionOrClassStaticBlock=getContainingFunctionOrClassStaticBlock;function getThisContainer(N,R){E.Debug.assert(N.kind!==300);while(true){N=N.parent;if(!N){return E.Debug.fail()}switch(N.kind){case 160:if(E.isClassLike(N.parent.parent)){return N}N=N.parent;break;case 163:if(N.parent.kind===162&&E.isClassElement(N.parent.parent)){N=N.parent.parent}else if(E.isClassElement(N.parent)){N=N.parent}break;case 212:if(!R){continue}case 254:case 211:case 259:case 168:case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 172:case 173:case 174:case 258:case 300:return N}}}E.getThisContainer=getThisContainer;function isInTopLevelContext(N){if(E.isIdentifier(N)&&(E.isClassDeclaration(N.parent)||E.isFunctionDeclaration(N.parent))&&N.parent.name===N){N=N.parent}var R=getThisContainer(N,true);return E.isSourceFile(R)}E.isInTopLevelContext=isInTopLevelContext;function getNewTargetContainer(E){var N=getThisContainer(E,false);if(N){switch(N.kind){case 169:case 254:case 211:return N}}return undefined}E.getNewTargetContainer=getNewTargetContainer;function getSuperContainer(N,R){while(true){N=N.parent;if(!N){return N}switch(N.kind){case 160:N=N.parent;break;case 254:case 211:case 212:if(!R){continue}case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 168:return N;case 163:if(N.parent.kind===162&&E.isClassElement(N.parent.parent)){N=N.parent.parent}else if(E.isClassElement(N.parent)){N=N.parent}break}}}E.getSuperContainer=getSuperContainer;function getImmediatelyInvokedFunctionExpression(E){if(E.kind===211||E.kind===212){var N=E;var R=E.parent;while(R.kind===210){N=R;R=R.parent}if(R.kind===206&&R.expression===N){return R}}}E.getImmediatelyInvokedFunctionExpression=getImmediatelyInvokedFunctionExpression;function isSuperOrSuperProperty(E){return E.kind===106||isSuperProperty(E)}E.isSuperOrSuperProperty=isSuperOrSuperProperty;function isSuperProperty(E){var N=E.kind;return(N===204||N===205)&&E.expression.kind===106}E.isSuperProperty=isSuperProperty;function isThisProperty(E){var N=E.kind;return(N===204||N===205)&&E.expression.kind===108}E.isThisProperty=isThisProperty;function isThisInitializedDeclaration(N){var R;return!!N&&E.isVariableDeclaration(N)&&((R=N.initializer)===null||R===void 0?void 0:R.kind)===108}E.isThisInitializedDeclaration=isThisInitializedDeclaration;function isThisInitializedObjectBindingExpression(N){return!!N&&(E.isShorthandPropertyAssignment(N)||E.isPropertyAssignment(N))&&E.isBinaryExpression(N.parent.parent)&&N.parent.parent.operatorToken.kind===63&&N.parent.parent.right.kind===108}E.isThisInitializedObjectBindingExpression=isThisInitializedObjectBindingExpression;function getEntityNameFromTypeNode(E){switch(E.kind){case 176:return E.typeName;case 226:return isEntityNameExpression(E.expression)?E.expression:undefined;case 79:case 159:return E}return undefined}E.getEntityNameFromTypeNode=getEntityNameFromTypeNode;function getInvokedExpression(E){switch(E.kind){case 208:return E.tag;case 278:case 277:return E.tagName;default:return E.expression}}E.getInvokedExpression=getInvokedExpression;function nodeCanBeDecorated(N,R,j){if(E.isNamedDeclaration(N)&&E.isPrivateIdentifier(N.name)){return false}switch(N.kind){case 255:return true;case 165:return R.kind===255;case 170:case 171:case 167:return N.body!==undefined&&R.kind===255;case 162:return R.body!==undefined&&(R.kind===169||R.kind===167||R.kind===171)&&j.kind===255}return false}E.nodeCanBeDecorated=nodeCanBeDecorated;function nodeIsDecorated(E,N,R){return E.decorators!==undefined&&nodeCanBeDecorated(E,N,R)}E.nodeIsDecorated=nodeIsDecorated;function nodeOrChildIsDecorated(E,N,R){return nodeIsDecorated(E,N,R)||childIsDecorated(E,N)}E.nodeOrChildIsDecorated=nodeOrChildIsDecorated;function childIsDecorated(N,R){switch(N.kind){case 255:return E.some(N.members,(function(E){return nodeOrChildIsDecorated(E,N,R)}));case 167:case 171:case 169:return E.some(N.parameters,(function(E){return nodeIsDecorated(E,N,R)}));default:return false}}E.childIsDecorated=childIsDecorated;function classOrConstructorParameterIsDecorated(E){if(nodeIsDecorated(E))return true;var N=getFirstConstructorWithBody(E);return!!N&&childIsDecorated(N,E)}E.classOrConstructorParameterIsDecorated=classOrConstructorParameterIsDecorated;function isJSXTagName(E){var N=E.parent;if(N.kind===278||N.kind===277||N.kind===279){return N.tagName===E}return false}E.isJSXTagName=isJSXTagName;function isExpressionNode(N){switch(N.kind){case 106:case 104:case 110:case 95:case 13:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 227:case 209:case 228:case 210:case 211:case 224:case 212:case 215:case 213:case 214:case 217:case 218:case 219:case 220:case 223:case 221:case 225:case 276:case 277:case 280:case 222:case 216:case 229:return true;case 159:while(N.parent.kind===159){N=N.parent}return N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N);case 306:while(E.isJSDocMemberName(N.parent)){N=N.parent}return N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N);case 79:if(N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N)){return true}case 8:case 9:case 10:case 14:case 108:return isInExpressionContext(N);default:return false}}E.isExpressionNode=isExpressionNode;function isInExpressionContext(E){var N=E.parent;switch(N.kind){case 252:case 162:case 165:case 164:case 294:case 291:case 201:return N.initializer===E;case 236:case 237:case 238:case 239:case 245:case 246:case 247:case 287:case 249:return N.expression===E;case 240:var R=N;return R.initializer===E&&R.initializer.kind!==253||R.condition===E||R.incrementor===E;case 241:case 242:var j=N;return j.initializer===E&&j.initializer.kind!==253||j.expression===E;case 209:case 227:return E===N.expression;case 231:return E===N.expression;case 160:return E===N.expression;case 163:case 286:case 285:case 293:return true;case 226:return N.expression===E&&isExpressionWithTypeArgumentsInClassExtendsClause(N);case 292:return N.objectAssignmentInitializer===E;default:return isExpressionNode(N)}}E.isInExpressionContext=isInExpressionContext;function isPartOfTypeQuery(E){while(E.kind===159||E.kind===79){E=E.parent}return E.kind===179}E.isPartOfTypeQuery=isPartOfTypeQuery;function isNamespaceReexportDeclaration(N){return E.isNamespaceExport(N)&&!!N.parent.moduleSpecifier}E.isNamespaceReexportDeclaration=isNamespaceReexportDeclaration;function isExternalModuleImportEqualsDeclaration(E){return E.kind===263&&E.moduleReference.kind===275}E.isExternalModuleImportEqualsDeclaration=isExternalModuleImportEqualsDeclaration;function getExternalModuleImportEqualsDeclarationExpression(N){E.Debug.assert(isExternalModuleImportEqualsDeclaration(N));return N.moduleReference.expression}E.getExternalModuleImportEqualsDeclarationExpression=getExternalModuleImportEqualsDeclarationExpression;function getExternalModuleRequireArgument(E){return isRequireVariableDeclaration(E)&&getLeftmostAccessExpression(E.initializer).arguments[0]}E.getExternalModuleRequireArgument=getExternalModuleRequireArgument;function isInternalModuleImportEqualsDeclaration(E){return E.kind===263&&E.moduleReference.kind!==275}E.isInternalModuleImportEqualsDeclaration=isInternalModuleImportEqualsDeclaration;function isSourceFileJS(E){return isInJSFile(E)}E.isSourceFileJS=isSourceFileJS;function isSourceFileNotJS(E){return!isInJSFile(E)}E.isSourceFileNotJS=isSourceFileNotJS;function isInJSFile(E){return!!E&&!!(E.flags&131072)}E.isInJSFile=isInJSFile;function isInJsonFile(E){return!!E&&!!(E.flags&33554432)}E.isInJsonFile=isInJsonFile;function isSourceFileNotJson(E){return!isJsonSourceFile(E)}E.isSourceFileNotJson=isSourceFileNotJson;function isInJSDoc(E){return!!E&&!!(E.flags&4194304)}E.isInJSDoc=isInJSDoc;function isJSDocIndexSignature(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="Object"&&N.typeArguments&&N.typeArguments.length===2&&(N.typeArguments[0].kind===148||N.typeArguments[0].kind===145)}E.isJSDocIndexSignature=isJSDocIndexSignature;function isRequireCall(N,R){if(N.kind!==206){return false}var j=N,$=j.expression,q=j.arguments;if($.kind!==79||$.escapedText!=="require"){return false}if(q.length!==1){return false}var G=q[0];return!R||E.isStringLiteralLike(G)}E.isRequireCall=isRequireCall;function isRequireVariableDeclaration(N){if(N.kind===201){N=N.parent.parent}return E.isVariableDeclaration(N)&&!!N.initializer&&isRequireCall(getLeftmostAccessExpression(N.initializer),true)}E.isRequireVariableDeclaration=isRequireVariableDeclaration;function isRequireVariableStatement(N){return E.isVariableStatement(N)&&N.declarationList.declarations.length>0&&E.every(N.declarationList.declarations,(function(E){return isRequireVariableDeclaration(E)}))}E.isRequireVariableStatement=isRequireVariableStatement;function isSingleOrDoubleQuote(E){return E===39||E===34}E.isSingleOrDoubleQuote=isSingleOrDoubleQuote;function isStringDoubleQuoted(E,N){return getSourceTextOfNodeFromSourceFile(N,E).charCodeAt(0)===34}E.isStringDoubleQuoted=isStringDoubleQuoted;function isAssignmentDeclaration(N){return E.isBinaryExpression(N)||isAccessExpression(N)||E.isIdentifier(N)||E.isCallExpression(N)}E.isAssignmentDeclaration=isAssignmentDeclaration;function getEffectiveInitializer(N){if(isInJSFile(N)&&N.initializer&&E.isBinaryExpression(N.initializer)&&(N.initializer.operatorToken.kind===56||N.initializer.operatorToken.kind===60)&&N.name&&isEntityNameExpression(N.name)&&isSameEntityName(N.name,N.initializer.left)){return N.initializer.right}return N.initializer}E.getEffectiveInitializer=getEffectiveInitializer;function getDeclaredExpandoInitializer(E){var N=getEffectiveInitializer(E);return N&&getExpandoInitializer(N,isPrototypeAccess(E.name))}E.getDeclaredExpandoInitializer=getDeclaredExpandoInitializer;function hasExpandoValueProperty(N,R){return E.forEach(N.properties,(function(N){return E.isPropertyAssignment(N)&&E.isIdentifier(N.name)&&N.name.escapedText==="value"&&N.initializer&&getExpandoInitializer(N.initializer,R)}))}function getAssignedExpandoInitializer(N){if(N&&N.parent&&E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63){var R=isPrototypeAccess(N.parent.left);return getExpandoInitializer(N.parent.right,R)||getDefaultedExpandoInitializer(N.parent.left,N.parent.right,R)}if(N&&E.isCallExpression(N)&&isBindableObjectDefinePropertyCall(N)){var j=hasExpandoValueProperty(N.arguments[2],N.arguments[1].text==="prototype");if(j){return j}}}E.getAssignedExpandoInitializer=getAssignedExpandoInitializer;function getExpandoInitializer(N,R){if(E.isCallExpression(N)){var j=skipParentheses(N.expression);return j.kind===211||j.kind===212?N:undefined}if(N.kind===211||N.kind===224||N.kind===212){return N}if(E.isObjectLiteralExpression(N)&&(N.properties.length===0||R)){return N}}E.getExpandoInitializer=getExpandoInitializer;function getDefaultedExpandoInitializer(N,R,j){var $=E.isBinaryExpression(R)&&(R.operatorToken.kind===56||R.operatorToken.kind===60)&&getExpandoInitializer(R.right,j);if($&&isSameEntityName(N,R.left)){return $}}function isDefaultedExpandoInitializer(N){var R=E.isVariableDeclaration(N.parent)?N.parent.name:E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63?N.parent.left:undefined;return R&&getExpandoInitializer(N.right,isPrototypeAccess(R))&&isEntityNameExpression(R)&&isSameEntityName(R,N.left)}E.isDefaultedExpandoInitializer=isDefaultedExpandoInitializer;function getNameOfExpando(N){if(E.isBinaryExpression(N.parent)){var R=(N.parent.operatorToken.kind===56||N.parent.operatorToken.kind===60)&&E.isBinaryExpression(N.parent.parent)?N.parent.parent:N.parent;if(R.operatorToken.kind===63&&E.isIdentifier(R.left)){return R.left}}else if(E.isVariableDeclaration(N.parent)){return N.parent.name}}E.getNameOfExpando=getNameOfExpando;function isSameEntityName(N,R){if(isPropertyNameLiteral(N)&&isPropertyNameLiteral(R)){return getTextOfIdentifierOrLiteral(N)===getTextOfIdentifierOrLiteral(R)}if(E.isIdentifier(N)&&isLiteralLikeAccess(R)&&(R.expression.kind===108||E.isIdentifier(R.expression)&&(R.expression.escapedText==="window"||R.expression.escapedText==="self"||R.expression.escapedText==="global"))){var j=getNameOrArgument(R);if(E.isPrivateIdentifier(j)){E.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access.")}return isSameEntityName(N,j)}if(isLiteralLikeAccess(N)&&isLiteralLikeAccess(R)){return getElementOrPropertyAccessName(N)===getElementOrPropertyAccessName(R)&&isSameEntityName(N.expression,R.expression)}return false}E.isSameEntityName=isSameEntityName;function getRightMostAssignedExpression(E){while(isAssignmentExpression(E,true)){E=E.right}return E}E.getRightMostAssignedExpression=getRightMostAssignedExpression;function isExportsIdentifier(N){return E.isIdentifier(N)&&N.escapedText==="exports"}E.isExportsIdentifier=isExportsIdentifier;function isModuleIdentifier(N){return E.isIdentifier(N)&&N.escapedText==="module"}E.isModuleIdentifier=isModuleIdentifier;function isModuleExportsAccessExpression(N){return(E.isPropertyAccessExpression(N)||isLiteralLikeElementAccess(N))&&isModuleIdentifier(N.expression)&&getElementOrPropertyAccessName(N)==="exports"}E.isModuleExportsAccessExpression=isModuleExportsAccessExpression;function getAssignmentDeclarationKind(E){var N=getAssignmentDeclarationKindWorker(E);return N===5||isInJSFile(E)?N:0}E.getAssignmentDeclarationKind=getAssignmentDeclarationKind;function isBindableObjectDefinePropertyCall(N){return E.length(N.arguments)===3&&E.isPropertyAccessExpression(N.expression)&&E.isIdentifier(N.expression.expression)&&E.idText(N.expression.expression)==="Object"&&E.idText(N.expression.name)==="defineProperty"&&isStringOrNumericLiteralLike(N.arguments[1])&&isBindableStaticNameExpression(N.arguments[0],true)}E.isBindableObjectDefinePropertyCall=isBindableObjectDefinePropertyCall;function isLiteralLikeAccess(N){return E.isPropertyAccessExpression(N)||isLiteralLikeElementAccess(N)}E.isLiteralLikeAccess=isLiteralLikeAccess;function isLiteralLikeElementAccess(N){return E.isElementAccessExpression(N)&&isStringOrNumericLiteralLike(N.argumentExpression)}E.isLiteralLikeElementAccess=isLiteralLikeElementAccess;function isBindableStaticAccessExpression(N,R){return E.isPropertyAccessExpression(N)&&(!R&&N.expression.kind===108||E.isIdentifier(N.name)&&isBindableStaticNameExpression(N.expression,true))||isBindableStaticElementAccessExpression(N,R)}E.isBindableStaticAccessExpression=isBindableStaticAccessExpression;function isBindableStaticElementAccessExpression(E,N){return isLiteralLikeElementAccess(E)&&(!N&&E.expression.kind===108||isEntityNameExpression(E.expression)||isBindableStaticAccessExpression(E.expression,true))}E.isBindableStaticElementAccessExpression=isBindableStaticElementAccessExpression;function isBindableStaticNameExpression(E,N){return isEntityNameExpression(E)||isBindableStaticAccessExpression(E,N)}E.isBindableStaticNameExpression=isBindableStaticNameExpression;function getNameOrArgument(N){if(E.isPropertyAccessExpression(N)){return N.name}return N.argumentExpression}E.getNameOrArgument=getNameOrArgument;function getAssignmentDeclarationKindWorker(N){if(E.isCallExpression(N)){if(!isBindableObjectDefinePropertyCall(N)){return 0}var R=N.arguments[0];if(isExportsIdentifier(R)||isModuleExportsAccessExpression(R)){return 8}if(isBindableStaticAccessExpression(R)&&getElementOrPropertyAccessName(R)==="prototype"){return 9}return 7}if(N.operatorToken.kind!==63||!isAccessExpression(N.left)||isVoidZero(getRightMostAssignedExpression(N))){return 0}if(isBindableStaticNameExpression(N.left.expression,true)&&getElementOrPropertyAccessName(N.left)==="prototype"&&E.isObjectLiteralExpression(getInitializerOfBinaryExpression(N))){return 6}return getAssignmentDeclarationPropertyAccessKind(N.left)}function isVoidZero(N){return E.isVoidExpression(N)&&E.isNumericLiteral(N.expression)&&N.expression.text==="0"}function getElementOrPropertyAccessArgumentExpressionOrName(N){if(E.isPropertyAccessExpression(N)){return N.name}var R=skipParentheses(N.argumentExpression);if(E.isNumericLiteral(R)||E.isStringLiteralLike(R)){return R}return N}E.getElementOrPropertyAccessArgumentExpressionOrName=getElementOrPropertyAccessArgumentExpressionOrName;function getElementOrPropertyAccessName(N){var R=getElementOrPropertyAccessArgumentExpressionOrName(N);if(R){if(E.isIdentifier(R)){return R.escapedText}if(E.isStringLiteralLike(R)||E.isNumericLiteral(R)){return E.escapeLeadingUnderscores(R.text)}}return undefined}E.getElementOrPropertyAccessName=getElementOrPropertyAccessName;function getAssignmentDeclarationPropertyAccessKind(N){if(N.expression.kind===108){return 4}else if(isModuleExportsAccessExpression(N)){return 2}else if(isBindableStaticNameExpression(N.expression,true)){if(isPrototypeAccess(N.expression)){return 3}var R=N;while(!E.isIdentifier(R.expression)){R=R.expression}var j=R.expression;if((j.escapedText==="exports"||j.escapedText==="module"&&getElementOrPropertyAccessName(R)==="exports")&&isBindableStaticAccessExpression(N)){return 1}if(isBindableStaticNameExpression(N,true)||E.isElementAccessExpression(N)&&isDynamicName(N)){return 5}}return 0}E.getAssignmentDeclarationPropertyAccessKind=getAssignmentDeclarationPropertyAccessKind;function getInitializerOfBinaryExpression(N){while(E.isBinaryExpression(N.right)){N=N.right}return N.right}E.getInitializerOfBinaryExpression=getInitializerOfBinaryExpression;function isPrototypePropertyAssignment(N){return E.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)===3}E.isPrototypePropertyAssignment=isPrototypePropertyAssignment;function isSpecialPropertyDeclaration(N){return isInJSFile(N)&&N.parent&&N.parent.kind===236&&(!E.isElementAccessExpression(N)||isLiteralLikeElementAccess(N))&&!!E.getJSDocTypeTag(N.parent)}E.isSpecialPropertyDeclaration=isSpecialPropertyDeclaration;function setValueDeclaration(E,N){var R=E.valueDeclaration;if(!R||!(N.flags&8388608&&!(R.flags&8388608))&&(isAssignmentDeclaration(R)&&!isAssignmentDeclaration(N))||R.kind!==N.kind&&isEffectiveModuleDeclaration(R)){E.valueDeclaration=N}}E.setValueDeclaration=setValueDeclaration;function isFunctionSymbol(N){if(!N||!N.valueDeclaration){return false}var R=N.valueDeclaration;return R.kind===254||E.isVariableDeclaration(R)&&R.initializer&&E.isFunctionLike(R.initializer)}E.isFunctionSymbol=isFunctionSymbol;function tryGetModuleSpecifierFromDeclaration(N){var R,j,$;switch(N.kind){case 252:return N.initializer.arguments[0].text;case 264:return(R=E.tryCast(N.moduleSpecifier,E.isStringLiteralLike))===null||R===void 0?void 0:R.text;case 263:return($=E.tryCast((j=E.tryCast(N.moduleReference,E.isExternalModuleReference))===null||j===void 0?void 0:j.expression,E.isStringLiteralLike))===null||$===void 0?void 0:$.text;default:E.Debug.assertNever(N)}}E.tryGetModuleSpecifierFromDeclaration=tryGetModuleSpecifierFromDeclaration;function importFromModuleSpecifier(N){return tryGetImportFromModuleSpecifier(N)||E.Debug.failBadSyntaxKind(N.parent)}E.importFromModuleSpecifier=importFromModuleSpecifier;function tryGetImportFromModuleSpecifier(N){switch(N.parent.kind){case 264:case 270:return N.parent;case 275:return N.parent.parent;case 206:return isImportCall(N.parent)||isRequireCall(N.parent,false)?N.parent:undefined;case 194:E.Debug.assert(E.isStringLiteral(N));return E.tryCast(N.parent.parent,E.isImportTypeNode);default:return undefined}}E.tryGetImportFromModuleSpecifier=tryGetImportFromModuleSpecifier;function getExternalModuleName(N){switch(N.kind){case 264:case 270:return N.moduleSpecifier;case 263:return N.moduleReference.kind===275?N.moduleReference.expression:undefined;case 198:return isLiteralImportTypeNode(N)?N.argument.literal:undefined;case 206:return N.arguments[0];case 259:return N.name.kind===10?N.name:undefined;default:return E.Debug.assertNever(N)}}E.getExternalModuleName=getExternalModuleName;function getNamespaceDeclarationNode(N){switch(N.kind){case 264:return N.importClause&&E.tryCast(N.importClause.namedBindings,E.isNamespaceImport);case 263:return N;case 270:return N.exportClause&&E.tryCast(N.exportClause,E.isNamespaceExport);default:return E.Debug.assertNever(N)}}E.getNamespaceDeclarationNode=getNamespaceDeclarationNode;function isDefaultImport(E){return E.kind===264&&!!E.importClause&&!!E.importClause.name}E.isDefaultImport=isDefaultImport;function forEachImportClauseDeclaration(N,R){if(N.name){var j=R(N);if(j)return j}if(N.namedBindings){var j=E.isNamespaceImport(N.namedBindings)?R(N.namedBindings):E.forEach(N.namedBindings.elements,R);if(j)return j}}E.forEachImportClauseDeclaration=forEachImportClauseDeclaration;function hasQuestionToken(E){if(E){switch(E.kind){case 162:case 167:case 166:case 292:case 291:case 165:case 164:return E.questionToken!==undefined}}return false}E.hasQuestionToken=hasQuestionToken;function isJSDocConstructSignature(N){var R=E.isJSDocFunctionType(N)?E.firstOrUndefined(N.parameters):undefined;var j=E.tryCast(R&&R.name,E.isIdentifier);return!!j&&j.escapedText==="new"}E.isJSDocConstructSignature=isJSDocConstructSignature;function isJSDocTypeAlias(E){return E.kind===340||E.kind===333||E.kind===334}E.isJSDocTypeAlias=isJSDocTypeAlias;function isTypeAlias(N){return isJSDocTypeAlias(N)||E.isTypeAliasDeclaration(N)}E.isTypeAlias=isTypeAlias;function getSourceOfAssignment(N){return E.isExpressionStatement(N)&&E.isBinaryExpression(N.expression)&&N.expression.operatorToken.kind===63?getRightMostAssignedExpression(N.expression):undefined}function getSourceOfDefaultedAssignment(N){return E.isExpressionStatement(N)&&E.isBinaryExpression(N.expression)&&getAssignmentDeclarationKind(N.expression)!==0&&E.isBinaryExpression(N.expression.right)&&(N.expression.right.operatorToken.kind===56||N.expression.right.operatorToken.kind===60)?N.expression.right.right:undefined}function getSingleInitializerOfVariableStatementOrPropertyDeclaration(E){switch(E.kind){case 235:var N=getSingleVariableOfVariableStatement(E);return N&&N.initializer;case 165:return E.initializer;case 291:return E.initializer}}E.getSingleInitializerOfVariableStatementOrPropertyDeclaration=getSingleInitializerOfVariableStatementOrPropertyDeclaration;function getSingleVariableOfVariableStatement(N){return E.isVariableStatement(N)?E.firstOrUndefined(N.declarationList.declarations):undefined}E.getSingleVariableOfVariableStatement=getSingleVariableOfVariableStatement;function getNestedModuleDeclaration(N){return E.isModuleDeclaration(N)&&N.body&&N.body.kind===259?N.body:undefined}function getJSDocCommentsAndTags(N,R){var j;if(isVariableLike(N)&&E.hasInitializer(N)&&E.hasJSDocNodes(N.initializer)){j=E.append(j,E.last(N.initializer.jsDoc))}var $=N;while($&&$.parent){if(E.hasJSDocNodes($)){j=E.append(j,E.last($.jsDoc))}if($.kind===162){j=E.addRange(j,(R?E.getJSDocParameterTagsNoCache:E.getJSDocParameterTags)($));break}if($.kind===161){j=E.addRange(j,(R?E.getJSDocTypeParameterTagsNoCache:E.getJSDocTypeParameterTags)($));break}$=getNextJSDocCommentLocation($)}return j||E.emptyArray}E.getJSDocCommentsAndTags=getJSDocCommentsAndTags;function getNextJSDocCommentLocation(N){var R=N.parent;if(R.kind===291||R.kind===269||R.kind===165||R.kind===236&&N.kind===204||R.kind===245||getNestedModuleDeclaration(R)||E.isBinaryExpression(N)&&N.operatorToken.kind===63){return R}else if(R.parent&&(getSingleVariableOfVariableStatement(R.parent)===N||E.isBinaryExpression(R)&&R.operatorToken.kind===63)){return R.parent}else if(R.parent&&R.parent.parent&&(getSingleVariableOfVariableStatement(R.parent.parent)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(R.parent.parent)===N||getSourceOfDefaultedAssignment(R.parent.parent))){return R.parent.parent}}E.getNextJSDocCommentLocation=getNextJSDocCommentLocation;function getParameterSymbolFromJSDoc(N){if(N.symbol){return N.symbol}if(!E.isIdentifier(N.name)){return undefined}var R=N.name.escapedText;var j=getHostSignatureFromJSDoc(N);if(!j){return undefined}var $=E.find(j.parameters,(function(E){return E.name.kind===79&&E.name.escapedText===R}));return $&&$.symbol}E.getParameterSymbolFromJSDoc=getParameterSymbolFromJSDoc;function getHostSignatureFromJSDoc(N){var R=getEffectiveJSDocHost(N);return R&&E.isFunctionLike(R)?R:undefined}E.getHostSignatureFromJSDoc=getHostSignatureFromJSDoc;function getEffectiveJSDocHost(E){var N=getJSDocHost(E);if(N){return getSourceOfDefaultedAssignment(N)||getSourceOfAssignment(N)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(N)||getSingleVariableOfVariableStatement(N)||getNestedModuleDeclaration(N)||N}}E.getEffectiveJSDocHost=getEffectiveJSDocHost;function getJSDocHost(N){var R=getJSDocRoot(N);if(!R){return undefined}var j=R.parent;if(j&&j.jsDoc&&R===E.lastOrUndefined(j.jsDoc)){return j}}E.getJSDocHost=getJSDocHost;function getJSDocRoot(N){return E.findAncestor(N.parent,E.isJSDoc)}E.getJSDocRoot=getJSDocRoot;function getTypeParameterFromJsDoc(N){var R=N.name.escapedText;var j=N.parent.parent.parent.typeParameters;return j&&E.find(j,(function(E){return E.name.escapedText===R}))}E.getTypeParameterFromJsDoc=getTypeParameterFromJsDoc;function hasRestParameter(N){var R=E.lastOrUndefined(N.parameters);return!!R&&isRestParameter(R)}E.hasRestParameter=hasRestParameter;function isRestParameter(N){var R=E.isJSDocParameterTag(N)?N.typeExpression&&N.typeExpression.type:N.type;return N.dotDotDotToken!==undefined||!!R&&R.kind===313}E.isRestParameter=isRestParameter;function hasTypeArguments(E){return!!E.typeArguments}E.hasTypeArguments=hasTypeArguments;var ie;(function(E){E[E["None"]=0]="None";E[E["Definite"]=1]="Definite";E[E["Compound"]=2]="Compound"})(ie=E.AssignmentKind||(E.AssignmentKind={}));function getAssignmentTargetKind(E){var N=E.parent;while(true){switch(N.kind){case 219:var R=N.operatorToken.kind;return isAssignmentOperator(R)&&N.left===E?R===63||isLogicalOrCoalescingAssignmentOperator(R)?1:2:0;case 217:case 218:var j=N.operator;return j===45||j===46?2:0;case 241:case 242:return N.initializer===E?1:0;case 210:case 202:case 223:case 228:E=N;break;case 293:E=N.parent;break;case 292:if(N.name!==E){return 0}E=N.parent;break;case 291:if(N.name===E){return 0}E=N.parent;break;default:return 0}N=E.parent}}E.getAssignmentTargetKind=getAssignmentTargetKind;function isAssignmentTarget(E){return getAssignmentTargetKind(E)!==0}E.isAssignmentTarget=isAssignmentTarget;function isNodeWithPossibleHoistedDeclaration(E){switch(E.kind){case 233:case 235:case 246:case 237:case 247:case 261:case 287:case 288:case 248:case 240:case 241:case 242:case 238:case 239:case 250:case 290:return true}return false}E.isNodeWithPossibleHoistedDeclaration=isNodeWithPossibleHoistedDeclaration;function isValueSignatureDeclaration(N){return E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isMethodOrAccessor(N)||E.isFunctionDeclaration(N)||E.isConstructorDeclaration(N)}E.isValueSignatureDeclaration=isValueSignatureDeclaration;function walkUp(E,N){while(E&&E.kind===N){E=E.parent}return E}function walkUpParenthesizedTypes(E){return walkUp(E,189)}E.walkUpParenthesizedTypes=walkUpParenthesizedTypes;function walkUpParenthesizedExpressions(E){return walkUp(E,210)}E.walkUpParenthesizedExpressions=walkUpParenthesizedExpressions;function walkUpParenthesizedTypesAndGetParentAndChild(E){var N;while(E&&E.kind===189){N=E;E=E.parent}return[N,E]}E.walkUpParenthesizedTypesAndGetParentAndChild=walkUpParenthesizedTypesAndGetParentAndChild;function skipParentheses(N){return E.skipOuterExpressions(N,1)}E.skipParentheses=skipParentheses;function isDeleteTarget(E){if(E.kind!==204&&E.kind!==205){return false}E=walkUpParenthesizedExpressions(E.parent);return E&&E.kind===213}E.isDeleteTarget=isDeleteTarget;function isNodeDescendantOf(E,N){while(E){if(E===N)return true;E=E.parent}return false}E.isNodeDescendantOf=isNodeDescendantOf;function isDeclarationName(N){return!E.isSourceFile(N)&&!E.isBindingPattern(N)&&E.isDeclaration(N.parent)&&N.parent.name===N}E.isDeclarationName=isDeclarationName;function getDeclarationFromName(N){var R=N.parent;switch(N.kind){case 10:case 14:case 8:if(E.isComputedPropertyName(R))return R.parent;case 79:if(E.isDeclaration(R)){return R.name===N?R:undefined}else if(E.isQualifiedName(R)){var j=R.parent;return E.isJSDocParameterTag(j)&&j.name===R?j:undefined}else{var $=R.parent;return E.isBinaryExpression($)&&getAssignmentDeclarationKind($)!==0&&($.left.symbol||$.symbol)&&E.getNameOfDeclaration($)===N?$:undefined}case 80:return E.isDeclaration(R)&&R.name===N?R:undefined;default:return undefined}}E.getDeclarationFromName=getDeclarationFromName;function isLiteralComputedPropertyDeclarationName(N){return isStringOrNumericLiteralLike(N)&&N.parent.kind===160&&E.isDeclaration(N.parent.parent)}E.isLiteralComputedPropertyDeclarationName=isLiteralComputedPropertyDeclarationName;function isIdentifierName(E){var N=E.parent;switch(N.kind){case 165:case 164:case 167:case 166:case 170:case 171:case 294:case 291:case 204:return N.name===E;case 159:return N.right===E;case 201:case 268:return N.propertyName===E;case 273:case 283:return true}return false}E.isIdentifierName=isIdentifierName;function isAliasSymbolDeclaration(N){return N.kind===263||N.kind===262||N.kind===265&&!!N.name||N.kind===266||N.kind===272||N.kind===268||N.kind===273||N.kind===269&&exportAssignmentIsAlias(N)||E.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)===2&&exportAssignmentIsAlias(N)||E.isPropertyAccessExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63&&isAliasableExpression(N.parent.right)||N.kind===292||N.kind===291&&isAliasableExpression(N.initializer)}E.isAliasSymbolDeclaration=isAliasSymbolDeclaration;function getAliasDeclarationFromName(E){switch(E.parent.kind){case 265:case 268:case 266:case 273:case 269:case 263:return E.parent;case 159:do{E=E.parent}while(E.parent.kind===159);return getAliasDeclarationFromName(E)}}E.getAliasDeclarationFromName=getAliasDeclarationFromName;function isAliasableExpression(N){return isEntityNameExpression(N)||E.isClassExpression(N)}E.isAliasableExpression=isAliasableExpression;function exportAssignmentIsAlias(E){var N=getExportAssignmentExpression(E);return isAliasableExpression(N)}E.exportAssignmentIsAlias=exportAssignmentIsAlias;function getExportAssignmentExpression(N){return E.isExportAssignment(N)?N.expression:N.right}E.getExportAssignmentExpression=getExportAssignmentExpression;function getPropertyAssignmentAliasLikeExpression(E){return E.kind===292?E.name:E.kind===291?E.initializer:E.parent.right}E.getPropertyAssignmentAliasLikeExpression=getPropertyAssignmentAliasLikeExpression;function getEffectiveBaseTypeNode(N){var R=getClassExtendsHeritageElement(N);if(R&&isInJSFile(N)){var j=E.getJSDocAugmentsTag(N);if(j){return j.class}}return R}E.getEffectiveBaseTypeNode=getEffectiveBaseTypeNode;function getClassExtendsHeritageElement(E){var N=getHeritageClause(E.heritageClauses,94);return N&&N.types.length>0?N.types[0]:undefined}E.getClassExtendsHeritageElement=getClassExtendsHeritageElement;function getEffectiveImplementsTypeNodes(N){if(isInJSFile(N)){return E.getJSDocImplementsTags(N).map((function(E){return E.class}))}else{var R=getHeritageClause(N.heritageClauses,117);return R===null||R===void 0?void 0:R.types}}E.getEffectiveImplementsTypeNodes=getEffectiveImplementsTypeNodes;function getAllSuperTypeNodes(N){return E.isInterfaceDeclaration(N)?getInterfaceBaseTypeNodes(N)||E.emptyArray:E.isClassLike(N)?E.concatenate(E.singleElementArray(getEffectiveBaseTypeNode(N)),getEffectiveImplementsTypeNodes(N))||E.emptyArray:E.emptyArray}E.getAllSuperTypeNodes=getAllSuperTypeNodes;function getInterfaceBaseTypeNodes(E){var N=getHeritageClause(E.heritageClauses,94);return N?N.types:undefined}E.getInterfaceBaseTypeNodes=getInterfaceBaseTypeNodes;function getHeritageClause(E,N){if(E){for(var R=0,j=E;R<j.length;R++){var $=j[R];if($.token===N){return $}}}return undefined}E.getHeritageClause=getHeritageClause;function getAncestor(E,N){while(E){if(E.kind===N){return E}E=E.parent}return undefined}E.getAncestor=getAncestor;function isKeyword(E){return 81<=E&&E<=158}E.isKeyword=isKeyword;function isContextualKeyword(E){return 126<=E&&E<=158}E.isContextualKeyword=isContextualKeyword;function isNonContextualKeyword(E){return isKeyword(E)&&!isContextualKeyword(E)}E.isNonContextualKeyword=isNonContextualKeyword;function isFutureReservedKeyword(E){return 117<=E&&E<=125}E.isFutureReservedKeyword=isFutureReservedKeyword;function isStringANonContextualKeyword(N){var R=E.stringToToken(N);return R!==undefined&&isNonContextualKeyword(R)}E.isStringANonContextualKeyword=isStringANonContextualKeyword;function isStringAKeyword(N){var R=E.stringToToken(N);return R!==undefined&&isKeyword(R)}E.isStringAKeyword=isStringAKeyword;function isIdentifierANonContextualKeyword(E){var N=E.originalKeywordKind;return!!N&&!isContextualKeyword(N)}E.isIdentifierANonContextualKeyword=isIdentifierANonContextualKeyword;function isTrivia(E){return 2<=E&&E<=7}E.isTrivia=isTrivia;var ae;(function(E){E[E["Normal"]=0]="Normal";E[E["Generator"]=1]="Generator";E[E["Async"]=2]="Async";E[E["Invalid"]=4]="Invalid";E[E["AsyncGenerator"]=3]="AsyncGenerator"})(ae=E.FunctionFlags||(E.FunctionFlags={}));function getFunctionFlags(E){if(!E){return 4}var N=0;switch(E.kind){case 254:case 211:case 167:if(E.asteriskToken){N|=1}case 212:if(hasSyntacticModifier(E,256)){N|=2}break}if(!E.body){N|=4}return N}E.getFunctionFlags=getFunctionFlags;function isAsyncFunction(E){switch(E.kind){case 254:case 211:case 212:case 167:return E.body!==undefined&&E.asteriskToken===undefined&&hasSyntacticModifier(E,256)}return false}E.isAsyncFunction=isAsyncFunction;function isStringOrNumericLiteralLike(N){return E.isStringLiteralLike(N)||E.isNumericLiteral(N)}E.isStringOrNumericLiteralLike=isStringOrNumericLiteralLike;function isSignedNumericLiteral(N){return E.isPrefixUnaryExpression(N)&&(N.operator===39||N.operator===40)&&E.isNumericLiteral(N.operand)}E.isSignedNumericLiteral=isSignedNumericLiteral;function hasDynamicName(N){var R=E.getNameOfDeclaration(N);return!!R&&isDynamicName(R)}E.hasDynamicName=hasDynamicName;function isDynamicName(N){if(!(N.kind===160||N.kind===205)){return false}var R=E.isElementAccessExpression(N)?skipParentheses(N.argumentExpression):N.expression;return!isStringOrNumericLiteralLike(R)&&!isSignedNumericLiteral(R)}E.isDynamicName=isDynamicName;function getPropertyNameForPropertyNameNode(N){switch(N.kind){case 79:case 80:return N.escapedText;case 10:case 8:return E.escapeLeadingUnderscores(N.text);case 160:var R=N.expression;if(isStringOrNumericLiteralLike(R)){return E.escapeLeadingUnderscores(R.text)}else if(isSignedNumericLiteral(R)){if(R.operator===40){return E.tokenToString(R.operator)+R.operand.text}return R.operand.text}return undefined;default:return E.Debug.assertNever(N)}}E.getPropertyNameForPropertyNameNode=getPropertyNameForPropertyNameNode;function isPropertyNameLiteral(E){switch(E.kind){case 79:case 10:case 14:case 8:return true;default:return false}}E.isPropertyNameLiteral=isPropertyNameLiteral;function getTextOfIdentifierOrLiteral(N){return E.isMemberName(N)?E.idText(N):N.text}E.getTextOfIdentifierOrLiteral=getTextOfIdentifierOrLiteral;function getEscapedTextOfIdentifierOrLiteral(N){return E.isMemberName(N)?N.escapedText:E.escapeLeadingUnderscores(N.text)}E.getEscapedTextOfIdentifierOrLiteral=getEscapedTextOfIdentifierOrLiteral;function getPropertyNameForUniqueESSymbol(N){return"__@"+E.getSymbolId(N)+"@"+N.escapedName}E.getPropertyNameForUniqueESSymbol=getPropertyNameForUniqueESSymbol;function getSymbolNameForPrivateIdentifier(N,R){return"__#"+E.getSymbolId(N)+"@"+R}E.getSymbolNameForPrivateIdentifier=getSymbolNameForPrivateIdentifier;function isKnownSymbol(N){return E.startsWith(N.escapedName,"__@")}E.isKnownSymbol=isKnownSymbol;function isPrivateIdentifierSymbol(N){return E.startsWith(N.escapedName,"__#")}E.isPrivateIdentifierSymbol=isPrivateIdentifierSymbol;function isESSymbolIdentifier(E){return E.kind===79&&E.escapedText==="Symbol"}E.isESSymbolIdentifier=isESSymbolIdentifier;function isPushOrUnshiftIdentifier(E){return E.escapedText==="push"||E.escapedText==="unshift"}E.isPushOrUnshiftIdentifier=isPushOrUnshiftIdentifier;function isParameterDeclaration(E){var N=getRootDeclaration(E);return N.kind===162}E.isParameterDeclaration=isParameterDeclaration;function getRootDeclaration(E){while(E.kind===201){E=E.parent.parent}return E}E.getRootDeclaration=getRootDeclaration;function nodeStartsNewLexicalEnvironment(E){var N=E.kind;return N===169||N===211||N===254||N===212||N===167||N===170||N===171||N===259||N===300}E.nodeStartsNewLexicalEnvironment=nodeStartsNewLexicalEnvironment;function nodeIsSynthesized(E){return positionIsSynthesized(E.pos)||positionIsSynthesized(E.end)}E.nodeIsSynthesized=nodeIsSynthesized;function getOriginalSourceFile(N){return E.getParseTreeNode(N,E.isSourceFile)||N}E.getOriginalSourceFile=getOriginalSourceFile;var ce;(function(E){E[E["Left"]=0]="Left";E[E["Right"]=1]="Right"})(ce=E.Associativity||(E.Associativity={}));function getExpressionAssociativity(E){var N=getOperator(E);var R=E.kind===207&&E.arguments!==undefined;return getOperatorAssociativity(E.kind,N,R)}E.getExpressionAssociativity=getExpressionAssociativity;function getOperatorAssociativity(E,N,R){switch(E){case 207:return R?0:1;case 217:case 214:case 215:case 213:case 216:case 220:case 222:return 1;case 219:switch(N){case 42:case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 1}}return 0}E.getOperatorAssociativity=getOperatorAssociativity;function getExpressionPrecedence(E){var N=getOperator(E);var R=E.kind===207&&E.arguments!==undefined;return getOperatorPrecedence(E.kind,N,R)}E.getExpressionPrecedence=getExpressionPrecedence;function getOperator(E){if(E.kind===219){return E.operatorToken.kind}else if(E.kind===217||E.kind===218){return E.operator}else{return E.kind}}E.getOperator=getOperator;var le;(function(E){E[E["Comma"]=0]="Comma";E[E["Spread"]=1]="Spread";E[E["Yield"]=2]="Yield";E[E["Assignment"]=3]="Assignment";E[E["Conditional"]=4]="Conditional";E[E["Coalesce"]=4]="Coalesce";E[E["LogicalOR"]=5]="LogicalOR";E[E["LogicalAND"]=6]="LogicalAND";E[E["BitwiseOR"]=7]="BitwiseOR";E[E["BitwiseXOR"]=8]="BitwiseXOR";E[E["BitwiseAND"]=9]="BitwiseAND";E[E["Equality"]=10]="Equality";E[E["Relational"]=11]="Relational";E[E["Shift"]=12]="Shift";E[E["Additive"]=13]="Additive";E[E["Multiplicative"]=14]="Multiplicative";E[E["Exponentiation"]=15]="Exponentiation";E[E["Unary"]=16]="Unary";E[E["Update"]=17]="Update";E[E["LeftHandSide"]=18]="LeftHandSide";E[E["Member"]=19]="Member";E[E["Primary"]=20]="Primary";E[E["Highest"]=20]="Highest";E[E["Lowest"]=0]="Lowest";E[E["Invalid"]=-1]="Invalid"})(le=E.OperatorPrecedence||(E.OperatorPrecedence={}));function getOperatorPrecedence(E,N,R){switch(E){case 346:return 0;case 223:return 1;case 222:return 2;case 220:return 4;case 219:switch(N){case 27:return 0;case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 3;default:return getBinaryOperatorPrecedence(N)}case 209:case 228:case 217:case 214:case 215:case 213:case 216:return 16;case 218:return 17;case 206:return 18;case 207:return R?19:18;case 208:case 204:case 205:case 229:return 19;case 227:return 11;case 108:case 106:case 79:case 104:case 110:case 95:case 8:case 9:case 10:case 202:case 203:case 211:case 212:case 224:case 13:case 14:case 221:case 210:case 225:case 276:case 277:case 280:return 20;default:return-1}}E.getOperatorPrecedence=getOperatorPrecedence;function getBinaryOperatorPrecedence(E){switch(E){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 102:case 101:case 127:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return-1}E.getBinaryOperatorPrecedence=getBinaryOperatorPrecedence;function getSemanticJsxChildren(N){return E.filter(N,(function(E){switch(E.kind){case 286:return!!E.expression;case 11:return!E.containsOnlyTriviaWhiteSpaces;default:return true}}))}E.getSemanticJsxChildren=getSemanticJsxChildren;function createDiagnosticCollection(){var N=[];var R=[];var j=new E.Map;var $=false;return{add:add,lookup:lookup,getGlobalDiagnostics:getGlobalDiagnostics,getDiagnostics:getDiagnostics};function lookup(R){var $;if(R.file){$=j.get(R.file.fileName)}else{$=N}if(!$){return undefined}var q=E.binarySearch($,R,E.identity,compareDiagnosticsSkipRelatedInformation);if(q>=0){return $[q]}return undefined}function add(q){var G;if(q.file){G=j.get(q.file.fileName);if(!G){G=[];j.set(q.file.fileName,G);E.insertSorted(R,q.file.fileName,E.compareStringsCaseSensitive)}}else{if($){$=false;N=N.slice()}G=N}E.insertSorted(G,q,compareDiagnostics)}function getGlobalDiagnostics(){$=true;return N}function getDiagnostics($){if($){return j.get($)||[]}var q=E.flatMapToMutable(R,(function(E){return j.get(E)}));if(!N.length){return q}q.unshift.apply(q,N);return q}}E.createDiagnosticCollection=createDiagnosticCollection;var _e=/\$\{/g;function escapeTemplateSubstitution(E){return E.replace(_e,"\\${")}function hasInvalidEscape(N){return N&&!!(E.isNoSubstitutionTemplateLiteral(N)?N.templateFlags:N.head.templateFlags||E.some(N.templateSpans,(function(E){return!!E.literal.templateFlags})))}E.hasInvalidEscape=hasInvalidEscape;var Ee=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var Te=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var we=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g;var Ie=new E.Map(E.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function encodeUtf16EscapeSequence(E){var N=E.toString(16).toUpperCase();var R=("0000"+N).slice(-4);return"\\u"+R}function getReplacement(E,N,R){if(E.charCodeAt(0)===0){var j=R.charCodeAt(N+E.length);if(j>=48&&j<=57){return"\\x00"}return"\\0"}return Ie.get(E)||encodeUtf16EscapeSequence(E.charCodeAt(0))}function escapeString(E,N){var R=N===96?we:N===39?Te:Ee;return E.replace(R,getReplacement)}E.escapeString=escapeString;var Ne=/[^\u0000-\u007F]/g;function escapeNonAsciiString(E,N){E=escapeString(E,N);return Ne.test(E)?E.replace(Ne,(function(E){return encodeUtf16EscapeSequence(E.charCodeAt(0))})):E}E.escapeNonAsciiString=escapeNonAsciiString;var Me=/[\"\u0000-\u001f\u2028\u2029\u0085]/g;var Le=/[\'\u0000-\u001f\u2028\u2029\u0085]/g;var Be=new E.Map(E.getEntries({'"':"&quot;","'":"&apos;"}));function encodeJsxCharacterEntity(E){var N=E.toString(16).toUpperCase();return"&#x"+N+";"}function getJsxAttributeStringReplacement(E){if(E.charCodeAt(0)===0){return"&#0;"}return Be.get(E)||encodeJsxCharacterEntity(E.charCodeAt(0))}function escapeJsxAttributeString(E,N){var R=N===39?Le:Me;return E.replace(R,getJsxAttributeStringReplacement)}E.escapeJsxAttributeString=escapeJsxAttributeString;function stripQuotes(E){var N=E.length;if(N>=2&&E.charCodeAt(0)===E.charCodeAt(N-1)&&isQuoteOrBacktick(E.charCodeAt(0))){return E.substring(1,N-1)}return E}E.stripQuotes=stripQuotes;function isQuoteOrBacktick(E){return E===39||E===34||E===96}function isIntrinsicJsxName(N){var R=N.charCodeAt(0);return R>=97&&R<=122||E.stringContains(N,"-")||E.stringContains(N,":")}E.isIntrinsicJsxName=isIntrinsicJsxName;var je=[""," "];function getIndentString(E){var N=je[1];for(var R=je.length;R<=E;R++){je.push(je[R-1]+N)}return je[E]}E.getIndentString=getIndentString;function getIndentSize(){return je[1].length}E.getIndentSize=getIndentSize;function createTextWriter(N){var R;var j;var $;var q;var G;var ie=false;function updateLineCountAndPosFor(N){var j=E.computeLineStarts(N);if(j.length>1){q=q+j.length-1;G=R.length-N.length+E.last(j);$=G-R.length===0}else{$=false}}function writeText(E){if(E&&E.length){if($){E=getIndentString(j)+E;$=false}R+=E;updateLineCountAndPosFor(E)}}function write(E){if(E)ie=false;writeText(E)}function writeComment(E){if(E)ie=true;writeText(E)}function reset(){R="";j=0;$=true;q=0;G=0;ie=false}function rawWrite(E){if(E!==undefined){R+=E;updateLineCountAndPosFor(E);ie=false}}function writeLiteral(E){if(E&&E.length){write(E)}}function writeLine(E){if(!$||E){R+=N;q++;G=R.length;$=true;ie=false}}function getTextPosWithWriteLine(){return $?R.length:R.length+N.length}reset();return{write:write,rawWrite:rawWrite,writeLiteral:writeLiteral,writeLine:writeLine,increaseIndent:function(){j++},decreaseIndent:function(){j--},getIndent:function(){return j},getTextPos:function(){return R.length},getLine:function(){return q},getColumn:function(){return $?j*getIndentSize():R.length-G},getText:function(){return R},isAtStartOfLine:function(){return $},hasTrailingComment:function(){return ie},hasTrailingWhitespace:function(){return!!R.length&&E.isWhiteSpaceLike(R.charCodeAt(R.length-1))},clear:reset,reportInaccessibleThisError:E.noop,reportPrivateInBaseOfClassExpression:E.noop,reportInaccessibleUniqueSymbolError:E.noop,trackSymbol:function(){return false},writeKeyword:write,writeOperator:write,writeParameter:write,writeProperty:write,writePunctuation:write,writeSpace:write,writeStringLiteral:write,writeSymbol:function(E,N){return write(E)},writeTrailingSemicolon:write,writeComment:writeComment,getTextPosWithWriteLine:getTextPosWithWriteLine}}E.createTextWriter=createTextWriter;function getTrailingSemicolonDeferringWriter(E){var N=false;function commitPendingTrailingSemicolon(){if(N){E.writeTrailingSemicolon(";");N=false}}return $($({},E),{writeTrailingSemicolon:function(){N=true},writeLiteral:function(N){commitPendingTrailingSemicolon();E.writeLiteral(N)},writeStringLiteral:function(N){commitPendingTrailingSemicolon();E.writeStringLiteral(N)},writeSymbol:function(N,R){commitPendingTrailingSemicolon();E.writeSymbol(N,R)},writePunctuation:function(N){commitPendingTrailingSemicolon();E.writePunctuation(N)},writeKeyword:function(N){commitPendingTrailingSemicolon();E.writeKeyword(N)},writeOperator:function(N){commitPendingTrailingSemicolon();E.writeOperator(N)},writeParameter:function(N){commitPendingTrailingSemicolon();E.writeParameter(N)},writeSpace:function(N){commitPendingTrailingSemicolon();E.writeSpace(N)},writeProperty:function(N){commitPendingTrailingSemicolon();E.writeProperty(N)},writeComment:function(N){commitPendingTrailingSemicolon();E.writeComment(N)},writeLine:function(){commitPendingTrailingSemicolon();E.writeLine()},increaseIndent:function(){commitPendingTrailingSemicolon();E.increaseIndent()},decreaseIndent:function(){commitPendingTrailingSemicolon();E.decreaseIndent()}})}E.getTrailingSemicolonDeferringWriter=getTrailingSemicolonDeferringWriter;function hostUsesCaseSensitiveFileNames(E){return E.useCaseSensitiveFileNames?E.useCaseSensitiveFileNames():false}E.hostUsesCaseSensitiveFileNames=hostUsesCaseSensitiveFileNames;function hostGetCanonicalFileName(N){return E.createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(N))}E.hostGetCanonicalFileName=hostGetCanonicalFileName;function getResolvedExternalModuleName(E,N,R){return N.moduleName||getExternalModuleNameFromPath(E,N.fileName,R&&R.fileName)}E.getResolvedExternalModuleName=getResolvedExternalModuleName;function getCanonicalAbsolutePath(N,R){return N.getCanonicalFileName(E.getNormalizedAbsolutePath(R,N.getCurrentDirectory()))}function getExternalModuleNameFromDeclaration(N,R,j){var $=R.getExternalModuleFileFromDeclaration(j);if(!$||$.isDeclarationFile){return undefined}var q=getExternalModuleName(j);if(q&&E.isStringLiteralLike(q)&&!E.pathIsRelative(q.text)&&getCanonicalAbsolutePath(N,$.path).indexOf(getCanonicalAbsolutePath(N,E.ensureTrailingDirectorySeparator(N.getCommonSourceDirectory())))===-1){return undefined}return getResolvedExternalModuleName(N,$)}E.getExternalModuleNameFromDeclaration=getExternalModuleNameFromDeclaration;function getExternalModuleNameFromPath(N,R,j){var getCanonicalFileName=function(E){return N.getCanonicalFileName(E)};var $=E.toPath(j?E.getDirectoryPath(j):N.getCommonSourceDirectory(),N.getCurrentDirectory(),getCanonicalFileName);var q=E.getNormalizedAbsolutePath(R,N.getCurrentDirectory());var G=E.getRelativePathToDirectoryOrUrl($,q,$,getCanonicalFileName,false);var ie=removeFileExtension(G);return j?E.ensurePathIsNonModuleName(ie):ie}E.getExternalModuleNameFromPath=getExternalModuleNameFromPath;function getOwnEmitOutputFilePath(E,N,R){var j=N.getCompilerOptions();var $;if(j.outDir){$=removeFileExtension(getSourceFilePathInNewDir(E,N,j.outDir))}else{$=removeFileExtension(E)}return $+R}E.getOwnEmitOutputFilePath=getOwnEmitOutputFilePath;function getDeclarationEmitOutputFilePath(E,N){return getDeclarationEmitOutputFilePathWorker(E,N.getCompilerOptions(),N.getCurrentDirectory(),N.getCommonSourceDirectory(),(function(E){return N.getCanonicalFileName(E)}))}E.getDeclarationEmitOutputFilePath=getDeclarationEmitOutputFilePath;function getDeclarationEmitOutputFilePathWorker(E,N,R,j,$){var q=N.declarationDir||N.outDir;var G=q?getSourceFilePathInNewDirWorker(E,q,R,j,$):E;return removeFileExtension(G)+".d.ts"}E.getDeclarationEmitOutputFilePathWorker=getDeclarationEmitOutputFilePathWorker;function outFile(E){return E.outFile||E.out}E.outFile=outFile;function getPathsBasePath(N,R){var j,$;if(!N.paths)return undefined;return(j=N.baseUrl)!==null&&j!==void 0?j:E.Debug.checkDefined(N.pathsBasePath||(($=R.getCurrentDirectory)===null||$===void 0?void 0:$.call(R)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}E.getPathsBasePath=getPathsBasePath;function getSourceFilesToEmit(N,R,j){var $=N.getCompilerOptions();if(outFile($)){var q=getEmitModuleKind($);var G=$.emitDeclarationOnly||q===E.ModuleKind.AMD||q===E.ModuleKind.System;return E.filter(N.getSourceFiles(),(function(R){return(G||!E.isExternalModule(R))&&sourceFileMayBeEmitted(R,N,j)}))}else{var ie=R===undefined?N.getSourceFiles():[R];return E.filter(ie,(function(E){return sourceFileMayBeEmitted(E,N,j)}))}}E.getSourceFilesToEmit=getSourceFilesToEmit;function sourceFileMayBeEmitted(E,N,R){var j=N.getCompilerOptions();return!(j.noEmitForJsFiles&&isSourceFileJS(E))&&!E.isDeclarationFile&&!N.isSourceFileFromExternalLibrary(E)&&(R||!(isJsonSourceFile(E)&&N.getResolvedProjectReferenceToRedirect(E.fileName))&&!N.isSourceOfProjectReferenceRedirect(E.fileName))}E.sourceFileMayBeEmitted=sourceFileMayBeEmitted;function getSourceFilePathInNewDir(E,N,R){return getSourceFilePathInNewDirWorker(E,R,N.getCurrentDirectory(),N.getCommonSourceDirectory(),(function(E){return N.getCanonicalFileName(E)}))}E.getSourceFilePathInNewDir=getSourceFilePathInNewDir;function getSourceFilePathInNewDirWorker(N,R,j,$,q){var G=E.getNormalizedAbsolutePath(N,j);var ie=q(G).indexOf(q($))===0;G=ie?G.substring($.length):G;return E.combinePaths(R,G)}E.getSourceFilePathInNewDirWorker=getSourceFilePathInNewDirWorker;function writeFile(N,R,j,$,q,G){N.writeFile(j,$,q,(function(N){R.add(createCompilerDiagnostic(E.Diagnostics.Could_not_write_file_0_Colon_1,j,N))}),G)}E.writeFile=writeFile;function ensureDirectoriesExist(N,R,j){if(N.length>E.getRootLength(N)&&!j(N)){var $=E.getDirectoryPath(N);ensureDirectoriesExist($,R,j);R(N)}}function writeFileEnsuringDirectories(N,R,j,$,q,G){try{$(N,R,j)}catch(ie){ensureDirectoriesExist(E.getDirectoryPath(E.normalizePath(N)),q,G);$(N,R,j)}}E.writeFileEnsuringDirectories=writeFileEnsuringDirectories;function getLineOfLocalPosition(N,R){var j=E.getLineStarts(N);return E.computeLineOfPosition(j,R)}E.getLineOfLocalPosition=getLineOfLocalPosition;function getLineOfLocalPositionFromLineMap(N,R){return E.computeLineOfPosition(N,R)}E.getLineOfLocalPositionFromLineMap=getLineOfLocalPositionFromLineMap;function getFirstConstructorWithBody(N){return E.find(N.members,(function(N){return E.isConstructorDeclaration(N)&&nodeIsPresent(N.body)}))}E.getFirstConstructorWithBody=getFirstConstructorWithBody;function getSetAccessorValueParameter(E){if(E&&E.parameters.length>0){var N=E.parameters.length===2&&parameterIsThisKeyword(E.parameters[0]);return E.parameters[N?1:0]}}E.getSetAccessorValueParameter=getSetAccessorValueParameter;function getSetAccessorTypeAnnotationNode(E){var N=getSetAccessorValueParameter(E);return N&&N.type}E.getSetAccessorTypeAnnotationNode=getSetAccessorTypeAnnotationNode;function getThisParameter(N){if(N.parameters.length&&!E.isJSDocSignature(N)){var R=N.parameters[0];if(parameterIsThisKeyword(R)){return R}}}E.getThisParameter=getThisParameter;function parameterIsThisKeyword(E){return isThisIdentifier(E.name)}E.parameterIsThisKeyword=parameterIsThisKeyword;function isThisIdentifier(E){return!!E&&E.kind===79&&identifierIsThisKeyword(E)}E.isThisIdentifier=isThisIdentifier;function isThisInTypeQuery(N){if(!isThisIdentifier(N)){return false}while(E.isQualifiedName(N.parent)&&N.parent.left===N){N=N.parent}return N.parent.kind===179}E.isThisInTypeQuery=isThisInTypeQuery;function identifierIsThisKeyword(E){return E.originalKeywordKind===108}E.identifierIsThisKeyword=identifierIsThisKeyword;function getAllAccessorDeclarations(N,R){var j;var $;var q;var G;if(hasDynamicName(R)){j=R;if(R.kind===170){q=R}else if(R.kind===171){G=R}else{E.Debug.fail("Accessor has wrong kind")}}else{E.forEach(N,(function(N){if(E.isAccessor(N)&&isStatic(N)===isStatic(R)){var ie=getPropertyNameForPropertyNameNode(N.name);var ae=getPropertyNameForPropertyNameNode(R.name);if(ie===ae){if(!j){j=N}else if(!$){$=N}if(N.kind===170&&!q){q=N}if(N.kind===171&&!G){G=N}}}}))}return{firstAccessor:j,secondAccessor:$,getAccessor:q,setAccessor:G}}E.getAllAccessorDeclarations=getAllAccessorDeclarations;function getEffectiveTypeAnnotationNode(N){if(!isInJSFile(N)&&E.isFunctionDeclaration(N))return undefined;var R=N.type;if(R||!isInJSFile(N))return R;return E.isJSDocPropertyLikeTag(N)?N.typeExpression&&N.typeExpression.type:E.getJSDocType(N)}E.getEffectiveTypeAnnotationNode=getEffectiveTypeAnnotationNode;function getTypeAnnotationNode(E){return E.type}E.getTypeAnnotationNode=getTypeAnnotationNode;function getEffectiveReturnTypeNode(N){return E.isJSDocSignature(N)?N.type&&N.type.typeExpression&&N.type.typeExpression.type:N.type||(isInJSFile(N)?E.getJSDocReturnType(N):undefined)}E.getEffectiveReturnTypeNode=getEffectiveReturnTypeNode;function getJSDocTypeParameterDeclarations(N){return E.flatMap(E.getJSDocTags(N),(function(E){return isNonTypeAliasTemplate(E)?E.typeParameters:undefined}))}E.getJSDocTypeParameterDeclarations=getJSDocTypeParameterDeclarations;function isNonTypeAliasTemplate(N){return E.isJSDocTemplateTag(N)&&!(N.parent.kind===315&&N.parent.tags.some(isJSDocTypeAlias))}function getEffectiveSetAccessorTypeAnnotationNode(E){var N=getSetAccessorValueParameter(E);return N&&getEffectiveTypeAnnotationNode(N)}E.getEffectiveSetAccessorTypeAnnotationNode=getEffectiveSetAccessorTypeAnnotationNode;function emitNewLineBeforeLeadingComments(E,N,R,j){emitNewLineBeforeLeadingCommentsOfPosition(E,N,R.pos,j)}E.emitNewLineBeforeLeadingComments=emitNewLineBeforeLeadingComments;function emitNewLineBeforeLeadingCommentsOfPosition(E,N,R,j){if(j&&j.length&&R!==j[0].pos&&getLineOfLocalPositionFromLineMap(E,R)!==getLineOfLocalPositionFromLineMap(E,j[0].pos)){N.writeLine()}}E.emitNewLineBeforeLeadingCommentsOfPosition=emitNewLineBeforeLeadingCommentsOfPosition;function emitNewLineBeforeLeadingCommentOfPosition(E,N,R,j){if(R!==j&&getLineOfLocalPositionFromLineMap(E,R)!==getLineOfLocalPositionFromLineMap(E,j)){N.writeLine()}}E.emitNewLineBeforeLeadingCommentOfPosition=emitNewLineBeforeLeadingCommentOfPosition;function emitComments(E,N,R,j,$,q,G,ie){if(j&&j.length>0){if($){R.writeSpace(" ")}var ae=false;for(var ce=0,le=j;ce<le.length;ce++){var _e=le[ce];if(ae){R.writeSpace(" ");ae=false}ie(E,N,R,_e.pos,_e.end,G);if(_e.hasTrailingNewLine){R.writeLine()}else{ae=true}}if(ae&&q){R.writeSpace(" ")}}}E.emitComments=emitComments;function emitDetachedComments(N,R,j,$,q,G,ie){var ae;var ce;if(ie){if(q.pos===0){ae=E.filter(E.getLeadingCommentRanges(N,q.pos),isPinnedCommentLocal)}}else{ae=E.getLeadingCommentRanges(N,q.pos)}if(ae){var le=[];var _e=void 0;for(var Ee=0,Te=ae;Ee<Te.length;Ee++){var we=Te[Ee];if(_e){var Ie=getLineOfLocalPositionFromLineMap(R,_e.end);var Ne=getLineOfLocalPositionFromLineMap(R,we.pos);if(Ne>=Ie+2){break}}le.push(we);_e=we}if(le.length){var Ie=getLineOfLocalPositionFromLineMap(R,E.last(le).end);var Me=getLineOfLocalPositionFromLineMap(R,E.skipTrivia(N,q.pos));if(Me>=Ie+2){emitNewLineBeforeLeadingComments(R,j,q,ae);emitComments(N,R,j,le,false,true,G,$);ce={nodePos:q.pos,detachedCommentEndPos:E.last(le).end}}}}return ce;function isPinnedCommentLocal(E){return isPinnedComment(N,E.pos)}}E.emitDetachedComments=emitDetachedComments;function writeCommentRange(N,R,j,$,q,G){if(N.charCodeAt($+1)===42){var ie=E.computeLineAndCharacterOfPosition(R,$);var ae=R.length;var ce=void 0;for(var le=$,_e=ie.line;le<q;_e++){var Ee=_e+1===ae?N.length+1:R[_e+1];if(le!==$){if(ce===undefined){ce=calculateIndent(N,R[ie.line],$)}var Te=j.getIndent()*getIndentSize();var we=Te-ce+calculateIndent(N,le,Ee);if(we>0){var Ie=we%getIndentSize();var Ne=getIndentString((we-Ie)/getIndentSize());j.rawWrite(Ne);while(Ie){j.rawWrite(" ");Ie--}}else{j.rawWrite("")}}writeTrimmedCurrentLine(N,q,j,G,le,Ee);le=Ee}}else{j.writeComment(N.substring($,q))}}E.writeCommentRange=writeCommentRange;function writeTrimmedCurrentLine(N,R,j,$,q,G){var ie=Math.min(R,G-1);var ae=E.trimString(N.substring(q,ie));if(ae){j.writeComment(ae);if(ie!==R){j.writeLine()}}else{j.rawWrite($)}}function calculateIndent(N,R,j){var $=0;for(;R<j&&E.isWhiteSpaceSingleLine(N.charCodeAt(R));R++){if(N.charCodeAt(R)===9){$+=getIndentSize()-$%getIndentSize()}else{$++}}return $}function hasEffectiveModifiers(E){return getEffectiveModifierFlags(E)!==0}E.hasEffectiveModifiers=hasEffectiveModifiers;function hasSyntacticModifiers(E){return getSyntacticModifierFlags(E)!==0}E.hasSyntacticModifiers=hasSyntacticModifiers;function hasEffectiveModifier(E,N){return!!getSelectedEffectiveModifierFlags(E,N)}E.hasEffectiveModifier=hasEffectiveModifier;function hasSyntacticModifier(E,N){return!!getSelectedSyntacticModifierFlags(E,N)}E.hasSyntacticModifier=hasSyntacticModifier;function isStatic(N){return E.isClassElement(N)&&hasStaticModifier(N)||E.isClassStaticBlockDeclaration(N)}E.isStatic=isStatic;function hasStaticModifier(E){return hasSyntacticModifier(E,32)}E.hasStaticModifier=hasStaticModifier;function hasOverrideModifier(E){return hasEffectiveModifier(E,16384)}E.hasOverrideModifier=hasOverrideModifier;function hasAbstractModifier(E){return hasSyntacticModifier(E,128)}E.hasAbstractModifier=hasAbstractModifier;function hasAmbientModifier(E){return hasSyntacticModifier(E,2)}E.hasAmbientModifier=hasAmbientModifier;function hasEffectiveReadonlyModifier(E){return hasEffectiveModifier(E,64)}E.hasEffectiveReadonlyModifier=hasEffectiveReadonlyModifier;function getSelectedEffectiveModifierFlags(E,N){return getEffectiveModifierFlags(E)&N}E.getSelectedEffectiveModifierFlags=getSelectedEffectiveModifierFlags;function getSelectedSyntacticModifierFlags(E,N){return getSyntacticModifierFlags(E)&N}E.getSelectedSyntacticModifierFlags=getSelectedSyntacticModifierFlags;function getModifierFlagsWorker(E,N,R){if(E.kind>=0&&E.kind<=158){return 0}if(!(E.modifierFlagsCache&536870912)){E.modifierFlagsCache=getSyntacticModifierFlagsNoCache(E)|536870912}if(N&&!(E.modifierFlagsCache&4096)&&(R||isInJSFile(E))&&E.parent){E.modifierFlagsCache|=getJSDocModifierFlagsNoCache(E)|4096}return E.modifierFlagsCache&~(536870912|4096)}function getEffectiveModifierFlags(E){return getModifierFlagsWorker(E,true)}E.getEffectiveModifierFlags=getEffectiveModifierFlags;function getEffectiveModifierFlagsAlwaysIncludeJSDoc(E){return getModifierFlagsWorker(E,true,true)}E.getEffectiveModifierFlagsAlwaysIncludeJSDoc=getEffectiveModifierFlagsAlwaysIncludeJSDoc;function getSyntacticModifierFlags(E){return getModifierFlagsWorker(E,false)}E.getSyntacticModifierFlags=getSyntacticModifierFlags;function getJSDocModifierFlagsNoCache(N){var R=0;if(!!N.parent&&!E.isParameter(N)){if(isInJSFile(N)){if(E.getJSDocPublicTagNoCache(N))R|=4;if(E.getJSDocPrivateTagNoCache(N))R|=8;if(E.getJSDocProtectedTagNoCache(N))R|=16;if(E.getJSDocReadonlyTagNoCache(N))R|=64;if(E.getJSDocOverrideTagNoCache(N))R|=16384}if(E.getJSDocDeprecatedTagNoCache(N))R|=8192}return R}function getEffectiveModifierFlagsNoCache(E){return getSyntacticModifierFlagsNoCache(E)|getJSDocModifierFlagsNoCache(E)}E.getEffectiveModifierFlagsNoCache=getEffectiveModifierFlagsNoCache;function getSyntacticModifierFlagsNoCache(E){var N=modifiersToFlags(E.modifiers);if(E.flags&4||E.kind===79&&E.isInJSDocNamespace){N|=1}return N}E.getSyntacticModifierFlagsNoCache=getSyntacticModifierFlagsNoCache;function modifiersToFlags(E){var N=0;if(E){for(var R=0,j=E;R<j.length;R++){var $=j[R];N|=modifierToFlag($.kind)}}return N}E.modifiersToFlags=modifiersToFlags;function modifierToFlag(E){switch(E){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 128;case 93:return 1;case 134:return 2;case 85:return 2048;case 88:return 512;case 130:return 256;case 143:return 64;case 157:return 16384}return 0}E.modifierToFlag=modifierToFlag;function createModifiers(N){return N?E.factory.createNodeArray(E.factory.createModifiersFromModifierFlags(N)):undefined}E.createModifiers=createModifiers;function isLogicalOperator(E){return E===56||E===55||E===53}E.isLogicalOperator=isLogicalOperator;function isLogicalOrCoalescingAssignmentOperator(E){return E===75||E===76||E===77}E.isLogicalOrCoalescingAssignmentOperator=isLogicalOrCoalescingAssignmentOperator;function isLogicalOrCoalescingAssignmentExpression(E){return isLogicalOrCoalescingAssignmentOperator(E.operatorToken.kind)}E.isLogicalOrCoalescingAssignmentExpression=isLogicalOrCoalescingAssignmentExpression;function isAssignmentOperator(E){return E>=63&&E<=78}E.isAssignmentOperator=isAssignmentOperator;function tryGetClassExtendingExpressionWithTypeArguments(E){var N=tryGetClassImplementingOrExtendingExpressionWithTypeArguments(E);return N&&!N.isImplements?N.class:undefined}E.tryGetClassExtendingExpressionWithTypeArguments=tryGetClassExtendingExpressionWithTypeArguments;function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(N){return E.isExpressionWithTypeArguments(N)&&E.isHeritageClause(N.parent)&&E.isClassLike(N.parent.parent)?{class:N.parent.parent,isImplements:N.parent.token===117}:undefined}E.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=tryGetClassImplementingOrExtendingExpressionWithTypeArguments;function isAssignmentExpression(N,R){return E.isBinaryExpression(N)&&(R?N.operatorToken.kind===63:isAssignmentOperator(N.operatorToken.kind))&&E.isLeftHandSideExpression(N.left)}E.isAssignmentExpression=isAssignmentExpression;function isLeftHandSideOfAssignment(E){return isAssignmentExpression(E.parent)&&E.parent.left===E}E.isLeftHandSideOfAssignment=isLeftHandSideOfAssignment;function isDestructuringAssignment(E){if(isAssignmentExpression(E,true)){var N=E.left.kind;return N===203||N===202}return false}E.isDestructuringAssignment=isDestructuringAssignment;function isExpressionWithTypeArgumentsInClassExtendsClause(E){return tryGetClassExtendingExpressionWithTypeArguments(E)!==undefined}E.isExpressionWithTypeArgumentsInClassExtendsClause=isExpressionWithTypeArgumentsInClassExtendsClause;function isEntityNameExpression(E){return E.kind===79||isPropertyAccessEntityNameExpression(E)}E.isEntityNameExpression=isEntityNameExpression;function getFirstIdentifier(E){switch(E.kind){case 79:return E;case 159:do{E=E.left}while(E.kind!==79);return E;case 204:do{E=E.expression}while(E.kind!==79);return E}}E.getFirstIdentifier=getFirstIdentifier;function isDottedName(E){return E.kind===79||E.kind===108||E.kind===106||E.kind===229||E.kind===204&&isDottedName(E.expression)||E.kind===210&&isDottedName(E.expression)}E.isDottedName=isDottedName;function isPropertyAccessEntityNameExpression(N){return E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)&&isEntityNameExpression(N.expression)}E.isPropertyAccessEntityNameExpression=isPropertyAccessEntityNameExpression;function tryGetPropertyAccessOrIdentifierToString(N){if(E.isPropertyAccessExpression(N)){var R=tryGetPropertyAccessOrIdentifierToString(N.expression);if(R!==undefined){return R+"."+entityNameToString(N.name)}}else if(E.isElementAccessExpression(N)){var R=tryGetPropertyAccessOrIdentifierToString(N.expression);if(R!==undefined&&E.isPropertyName(N.argumentExpression)){return R+"."+getPropertyNameForPropertyNameNode(N.argumentExpression)}}else if(E.isIdentifier(N)){return E.unescapeLeadingUnderscores(N.escapedText)}return undefined}E.tryGetPropertyAccessOrIdentifierToString=tryGetPropertyAccessOrIdentifierToString;function isPrototypeAccess(E){return isBindableStaticAccessExpression(E)&&getElementOrPropertyAccessName(E)==="prototype"}E.isPrototypeAccess=isPrototypeAccess;function isRightSideOfQualifiedNameOrPropertyAccess(E){return E.parent.kind===159&&E.parent.right===E||E.parent.kind===204&&E.parent.name===E}E.isRightSideOfQualifiedNameOrPropertyAccess=isRightSideOfQualifiedNameOrPropertyAccess;function isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(N){return E.isQualifiedName(N.parent)&&N.parent.right===N||E.isPropertyAccessExpression(N.parent)&&N.parent.name===N||E.isJSDocMemberName(N.parent)&&N.parent.right===N}E.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName;function isEmptyObjectLiteral(E){return E.kind===203&&E.properties.length===0}E.isEmptyObjectLiteral=isEmptyObjectLiteral;function isEmptyArrayLiteral(E){return E.kind===202&&E.elements.length===0}E.isEmptyArrayLiteral=isEmptyArrayLiteral;function getLocalSymbolForExportDefault(E){if(!isExportDefaultSymbol(E)||!E.declarations)return undefined;for(var N=0,R=E.declarations;N<R.length;N++){var j=R[N];if(j.localSymbol)return j.localSymbol}return undefined}E.getLocalSymbolForExportDefault=getLocalSymbolForExportDefault;function isExportDefaultSymbol(N){return N&&E.length(N.declarations)>0&&hasSyntacticModifier(N.declarations[0],512)}function tryExtractTSExtension(N){return E.find(E.supportedTSExtensionsForExtractExtension,(function(R){return E.fileExtensionIs(N,R)}))}E.tryExtractTSExtension=tryExtractTSExtension;function getExpandedCharCodes(N){var R=[];var j=N.length;for(var $=0;$<j;$++){var q=N.charCodeAt($);if(q<128){R.push(q)}else if(q<2048){R.push(q>>6|192);R.push(q&63|128)}else if(q<65536){R.push(q>>12|224);R.push(q>>6&63|128);R.push(q&63|128)}else if(q<131072){R.push(q>>18|240);R.push(q>>12&63|128);R.push(q>>6&63|128);R.push(q&63|128)}else{E.Debug.assert(false,"Unexpected code point")}}return R}var Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function convertToBase64(E){var N="";var R=getExpandedCharCodes(E);var j=0;var $=R.length;var q,G,ie,ae;while(j<$){q=R[j]>>2;G=(R[j]&3)<<4|R[j+1]>>4;ie=(R[j+1]&15)<<2|R[j+2]>>6;ae=R[j+2]&63;if(j+1>=$){ie=ae=64}else if(j+2>=$){ae=64}N+=Ue.charAt(q)+Ue.charAt(G)+Ue.charAt(ie)+Ue.charAt(ae);j+=3}return N}E.convertToBase64=convertToBase64;function getStringFromExpandedCharCodes(E){var N="";var R=0;var j=E.length;while(R<j){var $=E[R];if($<128){N+=String.fromCharCode($);R++}else if(($&192)===192){var q=$&63;R++;var G=E[R];while((G&192)===128){q=q<<6|G&63;R++;G=E[R]}N+=String.fromCharCode(q)}else{N+=String.fromCharCode($);R++}}return N}function base64encode(E,N){if(E&&E.base64encode){return E.base64encode(N)}return convertToBase64(N)}E.base64encode=base64encode;function base64decode(E,N){if(E&&E.base64decode){return E.base64decode(N)}var R=N.length;var j=[];var $=0;while($<R){if(N.charCodeAt($)===Ue.charCodeAt(64)){break}var q=Ue.indexOf(N[$]);var G=Ue.indexOf(N[$+1]);var ie=Ue.indexOf(N[$+2]);var ae=Ue.indexOf(N[$+3]);var ce=(q&63)<<2|G>>4&3;var le=(G&15)<<4|ie>>2&15;var _e=(ie&3)<<6|ae&63;if(le===0&&ie!==0){j.push(ce)}else if(_e===0&&ae!==0){j.push(ce,le)}else{j.push(ce,le,_e)}$+=4}return getStringFromExpandedCharCodes(j)}E.base64decode=base64decode;function readJson(N,R){try{var j=R.readFile(N);if(!j)return{};var $=E.parseConfigFileTextToJson(N,j);if($.error){return{}}return $.config}catch(E){return{}}}E.readJson=readJson;function directoryProbablyExists(E,N){return!N.directoryExists||N.directoryExists(E)}E.directoryProbablyExists=directoryProbablyExists;var ze="\r\n";var We="\n";function getNewLineCharacter(N,R){switch(N.newLine){case 0:return ze;case 1:return We}return R?R():E.sys?E.sys.newLine:ze}E.getNewLineCharacter=getNewLineCharacter;function createRange(N,R){if(R===void 0){R=N}E.Debug.assert(R>=N||R===-1);return{pos:N,end:R}}E.createRange=createRange;function moveRangeEnd(E,N){return createRange(E.pos,N)}E.moveRangeEnd=moveRangeEnd;function moveRangePos(E,N){return createRange(N,E.end)}E.moveRangePos=moveRangePos;function moveRangePastDecorators(E){return E.decorators&&E.decorators.length>0?moveRangePos(E,E.decorators.end):E}E.moveRangePastDecorators=moveRangePastDecorators;function moveRangePastModifiers(E){return E.modifiers&&E.modifiers.length>0?moveRangePos(E,E.modifiers.end):moveRangePastDecorators(E)}E.moveRangePastModifiers=moveRangePastModifiers;function isCollapsedRange(E){return E.pos===E.end}E.isCollapsedRange=isCollapsedRange;function createTokenRange(N,R){return createRange(N,N+E.tokenToString(R).length)}E.createTokenRange=createTokenRange;function rangeIsOnSingleLine(E,N){return rangeStartIsOnSameLineAsRangeEnd(E,E,N)}E.rangeIsOnSingleLine=rangeIsOnSingleLine;function rangeStartPositionsAreOnSameLine(E,N,R){return positionsAreOnSameLine(getStartPositionOfRange(E,R,false),getStartPositionOfRange(N,R,false),R)}E.rangeStartPositionsAreOnSameLine=rangeStartPositionsAreOnSameLine;function rangeEndPositionsAreOnSameLine(E,N,R){return positionsAreOnSameLine(E.end,N.end,R)}E.rangeEndPositionsAreOnSameLine=rangeEndPositionsAreOnSameLine;function rangeStartIsOnSameLineAsRangeEnd(E,N,R){return positionsAreOnSameLine(getStartPositionOfRange(E,R,false),N.end,R)}E.rangeStartIsOnSameLineAsRangeEnd=rangeStartIsOnSameLineAsRangeEnd;function rangeEndIsOnSameLineAsRangeStart(E,N,R){return positionsAreOnSameLine(E.end,getStartPositionOfRange(N,R,false),R)}E.rangeEndIsOnSameLineAsRangeStart=rangeEndIsOnSameLineAsRangeStart;function getLinesBetweenRangeEndAndRangeStart(N,R,j,$){var q=getStartPositionOfRange(R,j,$);return E.getLinesBetweenPositions(j,N.end,q)}E.getLinesBetweenRangeEndAndRangeStart=getLinesBetweenRangeEndAndRangeStart;function getLinesBetweenRangeEndPositions(N,R,j){return E.getLinesBetweenPositions(j,N.end,R.end)}E.getLinesBetweenRangeEndPositions=getLinesBetweenRangeEndPositions;function isNodeArrayMultiLine(E,N){return!positionsAreOnSameLine(E.pos,E.end,N)}E.isNodeArrayMultiLine=isNodeArrayMultiLine;function positionsAreOnSameLine(N,R,j){return E.getLinesBetweenPositions(j,N,R)===0}E.positionsAreOnSameLine=positionsAreOnSameLine;function getStartPositionOfRange(N,R,j){return positionIsSynthesized(N.pos)?-1:E.skipTrivia(R.text,N.pos,false,j)}E.getStartPositionOfRange=getStartPositionOfRange;function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(N,R,j,$){var q=E.skipTrivia(j.text,N,false,$);var G=getPreviousNonWhitespacePosition(q,R,j);return E.getLinesBetweenPositions(j,G!==null&&G!==void 0?G:R,q)}E.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter;function getLinesBetweenPositionAndNextNonWhitespaceCharacter(N,R,j,$){var q=E.skipTrivia(j.text,N,false,$);return E.getLinesBetweenPositions(j,N,Math.min(R,q))}E.getLinesBetweenPositionAndNextNonWhitespaceCharacter=getLinesBetweenPositionAndNextNonWhitespaceCharacter;function getPreviousNonWhitespacePosition(N,R,j){if(R===void 0){R=0}while(N-- >R){if(!E.isWhiteSpaceLike(j.text.charCodeAt(N))){return N}}}function isDeclarationNameOfEnumOrNamespace(N){var R=E.getParseTreeNode(N);if(R){switch(R.parent.kind){case 258:case 259:return R===R.parent.name}}return false}E.isDeclarationNameOfEnumOrNamespace=isDeclarationNameOfEnumOrNamespace;function getInitializedVariables(N){return E.filter(N.declarations,isInitializedVariable)}E.getInitializedVariables=getInitializedVariables;function isInitializedVariable(E){return E.initializer!==undefined}function isWatchSet(E){return E.watch&&E.hasOwnProperty("watch")}E.isWatchSet=isWatchSet;function closeFileWatcher(E){E.close()}E.closeFileWatcher=closeFileWatcher;function getCheckFlags(E){return E.flags&33554432?E.checkFlags:0}E.getCheckFlags=getCheckFlags;function getDeclarationModifierFlagsFromSymbol(N,R){if(R===void 0){R=false}if(N.valueDeclaration){var j=R&&N.declarations&&E.find(N.declarations,(function(E){return E.kind===171}))||N.valueDeclaration;var $=E.getCombinedModifierFlags(j);return N.parent&&N.parent.flags&32?$:$&~28}if(getCheckFlags(N)&6){var q=N.checkFlags;var G=q&1024?8:q&256?4:16;var ie=q&2048?32:0;return G|ie}if(N.flags&4194304){return 4|32}return 0}E.getDeclarationModifierFlagsFromSymbol=getDeclarationModifierFlagsFromSymbol;function skipAlias(E,N){return E.flags&2097152?N.getAliasedSymbol(E):E}E.skipAlias=skipAlias;function getCombinedLocalAndExportSymbolFlags(E){return E.exportSymbol?E.exportSymbol.flags|E.flags:E.flags}E.getCombinedLocalAndExportSymbolFlags=getCombinedLocalAndExportSymbolFlags;function isWriteOnlyAccess(E){return accessKind(E)===1}E.isWriteOnlyAccess=isWriteOnlyAccess;function isWriteAccess(E){return accessKind(E)!==0}E.isWriteAccess=isWriteAccess;var Je;(function(E){E[E["Read"]=0]="Read";E[E["Write"]=1]="Write";E[E["ReadWrite"]=2]="ReadWrite"})(Je||(Je={}));function accessKind(E){var N=E.parent;if(!N)return 0;switch(N.kind){case 210:return accessKind(N);case 218:case 217:var R=N.operator;return R===45||R===46?writeOrReadWrite():0;case 219:var j=N,$=j.left,q=j.operatorToken;return $===E&&isAssignmentOperator(q.kind)?q.kind===63?1:writeOrReadWrite():0;case 204:return N.name!==E?0:accessKind(N);case 291:{var G=accessKind(N.parent);return E===N.name?reverseAccessKind(G):G}case 292:return E===N.objectAssignmentInitializer?0:accessKind(N.parent);case 202:return accessKind(N);default:return 0}function writeOrReadWrite(){return N.parent&&walkUpParenthesizedExpressions(N.parent).kind===236?1:2}}function reverseAccessKind(N){switch(N){case 0:return 1;case 1:return 0;case 2:return 2;default:return E.Debug.assertNever(N)}}function compareDataObjects(E,N){if(!E||!N||Object.keys(E).length!==Object.keys(N).length){return false}for(var R in E){if(typeof E[R]==="object"){if(!compareDataObjects(E[R],N[R])){return false}}else if(typeof E[R]!=="function"){if(E[R]!==N[R]){return false}}}return true}E.compareDataObjects=compareDataObjects;function clearMap(E,N){E.forEach(N);E.clear()}E.clearMap=clearMap;function mutateMapSkippingNewValues(E,N,R){var j=R.onDeleteValue,$=R.onExistingValue;E.forEach((function(R,q){var G=N.get(q);if(G===undefined){E.delete(q);j(R,q)}else if($){$(R,G,q)}}))}E.mutateMapSkippingNewValues=mutateMapSkippingNewValues;function mutateMap(E,N,R){mutateMapSkippingNewValues(E,N,R);var j=R.createNewValue;N.forEach((function(N,R){if(!E.has(R)){E.set(R,j(R,N))}}))}E.mutateMap=mutateMap;function isAbstractConstructorSymbol(E){if(E.flags&32){var N=getClassLikeDeclarationOfSymbol(E);return!!N&&hasSyntacticModifier(N,128)}return false}E.isAbstractConstructorSymbol=isAbstractConstructorSymbol;function getClassLikeDeclarationOfSymbol(N){var R;return(R=N.declarations)===null||R===void 0?void 0:R.find(E.isClassLike)}E.getClassLikeDeclarationOfSymbol=getClassLikeDeclarationOfSymbol;function getObjectFlags(E){return E.flags&3899393?E.objectFlags:0}E.getObjectFlags=getObjectFlags;function typeHasCallOrConstructSignatures(E,N){return N.getSignaturesOfType(E,0).length!==0||N.getSignaturesOfType(E,1).length!==0}E.typeHasCallOrConstructSignatures=typeHasCallOrConstructSignatures;function forSomeAncestorDirectory(N,R){return!!E.forEachAncestorDirectory(N,(function(E){return R(E)?true:undefined}))}E.forSomeAncestorDirectory=forSomeAncestorDirectory;function isUMDExportSymbol(N){return!!N&&!!N.declarations&&!!N.declarations[0]&&E.isNamespaceExportDeclaration(N.declarations[0])}E.isUMDExportSymbol=isUMDExportSymbol;function showModuleSpecifier(N){var R=N.moduleSpecifier;return E.isStringLiteral(R)?R.text:getTextOfNode(R)}E.showModuleSpecifier=showModuleSpecifier;function getLastChild(N){var R;E.forEachChild(N,(function(E){if(nodeIsPresent(E))R=E}),(function(E){for(var N=E.length-1;N>=0;N--){if(nodeIsPresent(E[N])){R=E[N];break}}}));return R}E.getLastChild=getLastChild;function addToSeen(E,N,R){if(R===void 0){R=true}if(E.has(N)){return false}E.set(N,R);return true}E.addToSeen=addToSeen;function isObjectTypeDeclaration(N){return E.isClassLike(N)||E.isInterfaceDeclaration(N)||E.isTypeLiteralNode(N)}E.isObjectTypeDeclaration=isObjectTypeDeclaration;function isTypeNodeKind(E){return E>=175&&E<=198||E===129||E===153||E===145||E===156||E===146||E===132||E===148||E===149||E===114||E===151||E===142||E===226||E===307||E===308||E===309||E===310||E===311||E===312||E===313}E.isTypeNodeKind=isTypeNodeKind;function isAccessExpression(E){return E.kind===204||E.kind===205}E.isAccessExpression=isAccessExpression;function getNameOfAccessExpression(N){if(N.kind===204){return N.name}E.Debug.assert(N.kind===205);return N.argumentExpression}E.getNameOfAccessExpression=getNameOfAccessExpression;function isBundleFileTextLike(E){switch(E.kind){case"text":case"internal":return true;default:return false}}E.isBundleFileTextLike=isBundleFileTextLike;function isNamedImportsOrExports(E){return E.kind===267||E.kind===271}E.isNamedImportsOrExports=isNamedImportsOrExports;function getLeftmostAccessExpression(E){while(isAccessExpression(E)){E=E.expression}return E}E.getLeftmostAccessExpression=getLeftmostAccessExpression;function getLeftmostExpression(E,N){while(true){switch(E.kind){case 218:E=E.operand;continue;case 219:E=E.left;continue;case 220:E=E.condition;continue;case 208:E=E.tag;continue;case 206:if(N){return E}case 227:case 205:case 204:case 228:case 345:E=E.expression;continue}return E}}E.getLeftmostExpression=getLeftmostExpression;function Symbol(E,N){this.flags=E;this.escapedName=N;this.declarations=undefined;this.valueDeclaration=undefined;this.id=undefined;this.mergeId=undefined;this.parent=undefined}function Type(N,R){this.flags=R;if(E.Debug.isDebugging||E.tracing){this.checker=N}}function Signature(N,R){this.flags=R;if(E.Debug.isDebugging){this.checker=N}}function Node(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.original=undefined}function Token(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined}function Identifier(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined;this.original=undefined;this.flowNode=undefined}function SourceMapSource(E,N,R){this.fileName=E;this.text=N;this.skipTrivia=R||function(E){return E}}E.objectAllocator={getNodeConstructor:function(){return Node},getTokenConstructor:function(){return Token},getIdentifierConstructor:function(){return Identifier},getPrivateIdentifierConstructor:function(){return Node},getSourceFileConstructor:function(){return Node},getSymbolConstructor:function(){return Symbol},getTypeConstructor:function(){return Type},getSignatureConstructor:function(){return Signature},getSourceMapSourceConstructor:function(){return SourceMapSource}};function setObjectAllocator(N){E.objectAllocator=N}E.setObjectAllocator=setObjectAllocator;function formatStringFromArgs(N,R,j){if(j===void 0){j=0}return N.replace(/{(\d+)}/g,(function(N,$){return""+E.Debug.checkDefined(R[+$+j])}))}E.formatStringFromArgs=formatStringFromArgs;function setLocalizedDiagnosticMessages(N){E.localizedDiagnosticMessages=N}E.setLocalizedDiagnosticMessages=setLocalizedDiagnosticMessages;function getLocaleSpecificMessage(N){return E.localizedDiagnosticMessages&&E.localizedDiagnosticMessages[N.key]||N.message}E.getLocaleSpecificMessage=getLocaleSpecificMessage;function createDetachedDiagnostic(E,N,R,j){assertDiagnosticLocation(undefined,N,R);var $=getLocaleSpecificMessage(j);if(arguments.length>4){$=formatStringFromArgs($,arguments,4)}return{file:undefined,start:N,length:R,messageText:$,category:j.category,code:j.code,reportsUnnecessary:j.reportsUnnecessary,fileName:E}}E.createDetachedDiagnostic=createDetachedDiagnostic;function isDiagnosticWithDetachedLocation(E){return E.file===undefined&&E.start!==undefined&&E.length!==undefined&&typeof E.fileName==="string"}function attachFileToDiagnostic(N,R){var j=R.fileName||"";var $=R.text.length;E.Debug.assertEqual(N.fileName,j);E.Debug.assertLessThanOrEqual(N.start,$);E.Debug.assertLessThanOrEqual(N.start+N.length,$);var q={file:R,start:N.start,length:N.length,messageText:N.messageText,category:N.category,code:N.code,reportsUnnecessary:N.reportsUnnecessary};if(N.relatedInformation){q.relatedInformation=[];for(var G=0,ie=N.relatedInformation;G<ie.length;G++){var ae=ie[G];if(isDiagnosticWithDetachedLocation(ae)&&ae.fileName===j){E.Debug.assertLessThanOrEqual(ae.start,$);E.Debug.assertLessThanOrEqual(ae.start+ae.length,$);q.relatedInformation.push(attachFileToDiagnostic(ae,R))}else{q.relatedInformation.push(ae)}}}return q}function attachFileToDiagnostics(E,N){var R=[];for(var j=0,$=E;j<$.length;j++){var q=$[j];R.push(attachFileToDiagnostic(q,N))}return R}E.attachFileToDiagnostics=attachFileToDiagnostics;function createFileDiagnostic(E,N,R,j){assertDiagnosticLocation(E,N,R);var $=getLocaleSpecificMessage(j);if(arguments.length>4){$=formatStringFromArgs($,arguments,4)}return{file:E,start:N,length:R,messageText:$,category:j.category,code:j.code,reportsUnnecessary:j.reportsUnnecessary,reportsDeprecated:j.reportsDeprecated}}E.createFileDiagnostic=createFileDiagnostic;function formatMessage(E,N){var R=getLocaleSpecificMessage(N);if(arguments.length>2){R=formatStringFromArgs(R,arguments,2)}return R}E.formatMessage=formatMessage;function createCompilerDiagnostic(E){var N=getLocaleSpecificMessage(E);if(arguments.length>1){N=formatStringFromArgs(N,arguments,1)}return{file:undefined,start:undefined,length:undefined,messageText:N,category:E.category,code:E.code,reportsUnnecessary:E.reportsUnnecessary,reportsDeprecated:E.reportsDeprecated}}E.createCompilerDiagnostic=createCompilerDiagnostic;function createCompilerDiagnosticFromMessageChain(E,N){return{file:undefined,start:undefined,length:undefined,code:E.code,category:E.category,messageText:E.next?E:E.messageText,relatedInformation:N}}E.createCompilerDiagnosticFromMessageChain=createCompilerDiagnosticFromMessageChain;function chainDiagnosticMessages(E,N){var R=getLocaleSpecificMessage(N);if(arguments.length>2){R=formatStringFromArgs(R,arguments,2)}return{messageText:R,category:N.category,code:N.code,next:E===undefined||Array.isArray(E)?E:[E]}}E.chainDiagnosticMessages=chainDiagnosticMessages;function concatenateDiagnosticMessageChains(E,N){var R=E;while(R.next){R=R.next[0]}R.next=[N]}E.concatenateDiagnosticMessageChains=concatenateDiagnosticMessageChains;function getDiagnosticFilePath(E){return E.file?E.file.path:undefined}function compareDiagnostics(E,N){return compareDiagnosticsSkipRelatedInformation(E,N)||compareRelatedInformation(E,N)||0}E.compareDiagnostics=compareDiagnostics;function compareDiagnosticsSkipRelatedInformation(N,R){return E.compareStringsCaseSensitive(getDiagnosticFilePath(N),getDiagnosticFilePath(R))||E.compareValues(N.start,R.start)||E.compareValues(N.length,R.length)||E.compareValues(N.code,R.code)||compareMessageText(N.messageText,R.messageText)||0}E.compareDiagnosticsSkipRelatedInformation=compareDiagnosticsSkipRelatedInformation;function compareRelatedInformation(N,R){if(!N.relatedInformation&&!R.relatedInformation){return 0}if(N.relatedInformation&&R.relatedInformation){return E.compareValues(N.relatedInformation.length,R.relatedInformation.length)||E.forEach(N.relatedInformation,(function(E,N){var j=R.relatedInformation[N];return compareDiagnostics(E,j)}))||0}return N.relatedInformation?-1:1}function compareMessageText(N,R){if(typeof N==="string"&&typeof R==="string"){return E.compareStringsCaseSensitive(N,R)}else if(typeof N==="string"){return-1}else if(typeof R==="string"){return 1}var j=E.compareStringsCaseSensitive(N.messageText,R.messageText);if(j){return j}if(!N.next&&!R.next){return 0}if(!N.next){return-1}if(!R.next){return 1}var $=Math.min(N.next.length,R.next.length);for(var q=0;q<$;q++){j=compareMessageText(N.next[q],R.next[q]);if(j){return j}}if(N.next.length<R.next.length){return-1}else if(N.next.length>R.next.length){return 1}return 0}function getLanguageVariant(E){return E===4||E===2||E===1||E===6?1:0}E.getLanguageVariant=getLanguageVariant;function getEmitScriptTarget(E){return E.target||0}E.getEmitScriptTarget=getEmitScriptTarget;function getEmitModuleKind(N){return typeof N.module==="number"?N.module:getEmitScriptTarget(N)>=2?E.ModuleKind.ES2015:E.ModuleKind.CommonJS}E.getEmitModuleKind=getEmitModuleKind;function getEmitModuleResolutionKind(N){var R=N.moduleResolution;if(R===undefined){R=getEmitModuleKind(N)===E.ModuleKind.CommonJS?E.ModuleResolutionKind.NodeJs:E.ModuleResolutionKind.Classic}return R}E.getEmitModuleResolutionKind=getEmitModuleResolutionKind;function hasJsonModuleEmitEnabled(N){switch(getEmitModuleKind(N)){case E.ModuleKind.CommonJS:case E.ModuleKind.AMD:case E.ModuleKind.ES2015:case E.ModuleKind.ES2020:case E.ModuleKind.ESNext:return true;default:return false}}E.hasJsonModuleEmitEnabled=hasJsonModuleEmitEnabled;function unreachableCodeIsError(E){return E.allowUnreachableCode===false}E.unreachableCodeIsError=unreachableCodeIsError;function unusedLabelIsError(E){return E.allowUnusedLabels===false}E.unusedLabelIsError=unusedLabelIsError;function getAreDeclarationMapsEnabled(E){return!!(getEmitDeclarations(E)&&E.declarationMap)}E.getAreDeclarationMapsEnabled=getAreDeclarationMapsEnabled;function getAllowSyntheticDefaultImports(N){var R=getEmitModuleKind(N);return N.allowSyntheticDefaultImports!==undefined?N.allowSyntheticDefaultImports:N.esModuleInterop||R===E.ModuleKind.System}E.getAllowSyntheticDefaultImports=getAllowSyntheticDefaultImports;function getEmitDeclarations(E){return!!(E.declaration||E.composite)}E.getEmitDeclarations=getEmitDeclarations;function shouldPreserveConstEnums(E){return!!(E.preserveConstEnums||E.isolatedModules)}E.shouldPreserveConstEnums=shouldPreserveConstEnums;function isIncrementalCompilation(E){return!!(E.incremental||E.composite)}E.isIncrementalCompilation=isIncrementalCompilation;function getStrictOptionValue(E,N){return E[N]===undefined?!!E.strict:!!E[N]}E.getStrictOptionValue=getStrictOptionValue;function getAllowJSCompilerOption(E){return E.allowJs===undefined?!!E.checkJs:E.allowJs}E.getAllowJSCompilerOption=getAllowJSCompilerOption;function getUseDefineForClassFields(E){return E.useDefineForClassFields===undefined?E.target===99:E.useDefineForClassFields}E.getUseDefineForClassFields=getUseDefineForClassFields;function compilerOptionsAffectSemanticDiagnostics(N,R){return optionsHaveChanges(R,N,E.semanticDiagnosticsOptionDeclarations)}E.compilerOptionsAffectSemanticDiagnostics=compilerOptionsAffectSemanticDiagnostics;function compilerOptionsAffectEmit(N,R){return optionsHaveChanges(R,N,E.affectsEmitOptionDeclarations)}E.compilerOptionsAffectEmit=compilerOptionsAffectEmit;function getCompilerOptionValue(E,N){return N.strictFlag?getStrictOptionValue(E,N.name):E[N.name]}E.getCompilerOptionValue=getCompilerOptionValue;function getJSXTransformEnabled(E){var N=E.jsx;return N===2||N===4||N===5}E.getJSXTransformEnabled=getJSXTransformEnabled;function getJSXImplicitImportBase(N,R){var j=R===null||R===void 0?void 0:R.pragmas.get("jsximportsource");var $=E.isArray(j)?j[j.length-1]:j;return N.jsx===4||N.jsx===5||N.jsxImportSource||$?($===null||$===void 0?void 0:$.arguments.factory)||N.jsxImportSource||"react":undefined}E.getJSXImplicitImportBase=getJSXImplicitImportBase;function getJSXRuntimeImport(E,N){return E?E+"/"+(N.jsx===5?"jsx-dev-runtime":"jsx-runtime"):undefined}E.getJSXRuntimeImport=getJSXRuntimeImport;function hasZeroOrOneAsteriskCharacter(E){var N=false;for(var R=0;R<E.length;R++){if(E.charCodeAt(R)===42){if(!N){N=true}else{return false}}}return true}E.hasZeroOrOneAsteriskCharacter=hasZeroOrOneAsteriskCharacter;function createSymlinkCache(N,R){var j;var $;var q;var G=false;return{getSymlinkedFiles:function(){return q},getSymlinkedDirectories:function(){return j},getSymlinkedDirectoriesByRealpath:function(){return $},setSymlinkedFile:function(N,R){return(q||(q=new E.Map)).set(N,R)},setSymlinkedDirectory:function(q,G){var ie=E.toPath(q,N,R);if(!containsIgnoredPath(ie)){ie=E.ensureTrailingDirectorySeparator(ie);if(G!==false&&!(j===null||j===void 0?void 0:j.has(ie))){($||($=E.createMultiMap())).add(E.ensureTrailingDirectorySeparator(G.realPath),q)}(j||(j=new E.Map)).set(ie,G)}},setSymlinkedDirectoryFromSymlinkedFile:function(j,$){this.setSymlinkedFile(E.toPath(j,N,R),$);var q=guessDirectorySymlink($,j,N,R)||E.emptyArray,G=q[0],ie=q[1];if(G&&ie){this.setSymlinkedDirectory(ie,{real:G,realPath:E.toPath(G,N,R)})}},setSymlinksFromResolutions:function(N,R){var j=this;var $;E.Debug.assert(!G);G=true;for(var q=0,ie=N;q<ie.length;q++){var ae=ie[q];($=ae.resolvedModules)===null||$===void 0?void 0:$.forEach((function(E){return processResolution(j,E)}))}R===null||R===void 0?void 0:R.forEach((function(E){return processResolution(j,E)}))},hasProcessedResolutions:function(){return G}};function processResolution(j,$){if(!$||!$.originalPath||!$.resolvedFileName)return;var q=$.resolvedFileName,G=$.originalPath;j.setSymlinkedFile(E.toPath(G,N,R),q);var ie=guessDirectorySymlink(q,G,N,R)||E.emptyArray,ae=ie[0],ce=ie[1];if(ae&&ce){j.setSymlinkedDirectory(ce,{real:ae,realPath:E.toPath(ae,N,R)})}}}E.createSymlinkCache=createSymlinkCache;function guessDirectorySymlink(N,R,j,$){var q=E.getPathComponents(E.getNormalizedAbsolutePath(N,j));var G=E.getPathComponents(E.getNormalizedAbsolutePath(R,j));var ie=false;while(!isNodeModulesOrScopedPackageDirectory(q[q.length-2],$)&&!isNodeModulesOrScopedPackageDirectory(G[G.length-2],$)&&$(q[q.length-1])===$(G[G.length-1])){q.pop();G.pop();ie=true}return ie?[E.getPathFromPathComponents(q),E.getPathFromPathComponents(G)]:undefined}function isNodeModulesOrScopedPackageDirectory(N,R){return R(N)==="node_modules"||E.startsWith(N,"@")}function stripLeadingDirectorySeparator(N){return E.isAnyDirectorySeparator(N.charCodeAt(0))?N.slice(1):undefined}function tryRemoveDirectoryPrefix(N,R,j){var $=E.tryRemovePrefix(N,R,j);return $===undefined?undefined:stripLeadingDirectorySeparator($)}E.tryRemoveDirectoryPrefix=tryRemoveDirectoryPrefix;var Ve=/[^\w\s\/]/g;function regExpEscape(E){return E.replace(Ve,escapeRegExpCharacter)}E.regExpEscape=regExpEscape;function escapeRegExpCharacter(E){return"\\"+E}var qe=[42,63];E.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var He="(?!("+E.commonPackageFolders.join("|")+")(/|$))";var Ge={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/"+He+"[^/.][^/]*)*?",replaceWildcardCharacter:function(E){return replaceWildcardCharacter(E,Ge.singleAsteriskRegexFragment)}};var Ke={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/"+He+"[^/.][^/]*)*?",replaceWildcardCharacter:function(E){return replaceWildcardCharacter(E,Ke.singleAsteriskRegexFragment)}};var Qe={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(E){return replaceWildcardCharacter(E,Qe.singleAsteriskRegexFragment)}};var Xe={files:Ge,directories:Ke,exclude:Qe};function getRegularExpressionForWildcard(E,N,R){var j=getRegularExpressionsForWildcards(E,N,R);if(!j||!j.length){return undefined}var $=j.map((function(E){return"("+E+")"})).join("|");var q=R==="exclude"?"($|/)":"$";return"^("+$+")"+q}E.getRegularExpressionForWildcard=getRegularExpressionForWildcard;function getRegularExpressionsForWildcards(N,R,j){if(N===undefined||N.length===0){return undefined}return E.flatMap(N,(function(E){return E&&getSubPatternFromSpec(E,R,j,Xe[j])}))}E.getRegularExpressionsForWildcards=getRegularExpressionsForWildcards;function isImplicitGlob(E){return!/[.*?]/.test(E)}E.isImplicitGlob=isImplicitGlob;function getPatternFromSpec(E,N,R){var j=E&&getSubPatternFromSpec(E,N,R,Xe[R]);return j&&"^("+j+")"+(R==="exclude"?"($|/)":"$")}E.getPatternFromSpec=getPatternFromSpec;function getSubPatternFromSpec(N,R,j,$){var q=$.singleAsteriskRegexFragment,G=$.doubleAsteriskRegexFragment,ie=$.replaceWildcardCharacter;var ae="";var ce=false;var le=E.getNormalizedPathComponents(N,R);var _e=E.last(le);if(j!=="exclude"&&_e==="**"){return undefined}le[0]=E.removeTrailingDirectorySeparator(le[0]);if(isImplicitGlob(_e)){le.push("**","*")}var Ee=0;for(var Te=0,we=le;Te<we.length;Te++){var Ie=we[Te];if(Ie==="**"){ae+=G}else{if(j==="directories"){ae+="(";Ee++}if(ce){ae+=E.directorySeparator}if(j!=="exclude"){var Ne="";if(Ie.charCodeAt(0)===42){Ne+="([^./]"+q+")?";Ie=Ie.substr(1)}else if(Ie.charCodeAt(0)===63){Ne+="[^./]";Ie=Ie.substr(1)}Ne+=Ie.replace(Ve,ie);if(Ne!==Ie){ae+=He}ae+=Ne}else{ae+=Ie.replace(Ve,ie)}}ce=true}while(Ee>0){ae+=")?";Ee--}return ae}function replaceWildcardCharacter(E,N){return E==="*"?N:E==="?"?"[^/]":"\\"+E}function getFileMatcherPatterns(N,R,j,$,q){N=E.normalizePath(N);q=E.normalizePath(q);var G=E.combinePaths(q,N);return{includeFilePatterns:E.map(getRegularExpressionsForWildcards(j,G,"files"),(function(E){return"^"+E+"$"})),includeFilePattern:getRegularExpressionForWildcard(j,G,"files"),includeDirectoryPattern:getRegularExpressionForWildcard(j,G,"directories"),excludePattern:getRegularExpressionForWildcard(R,G,"exclude"),basePaths:getBasePaths(N,j,$)}}E.getFileMatcherPatterns=getFileMatcherPatterns;function getRegexFromPattern(E,N){return new RegExp(E,N?"":"i")}E.getRegexFromPattern=getRegexFromPattern;function matchFiles(N,R,j,$,q,G,ie,ae,ce,le){N=E.normalizePath(N);G=E.normalizePath(G);var _e=getFileMatcherPatterns(N,j,$,q,G);var Ee=_e.includeFilePatterns&&_e.includeFilePatterns.map((function(E){return getRegexFromPattern(E,q)}));var Te=_e.includeDirectoryPattern&&getRegexFromPattern(_e.includeDirectoryPattern,q);var we=_e.excludePattern&&getRegexFromPattern(_e.excludePattern,q);var Ie=Ee?Ee.map((function(){return[]})):[[]];var Ne=new E.Map;var Me=E.createGetCanonicalFileName(q);for(var Le=0,Be=_e.basePaths;Le<Be.length;Le++){var je=Be[Le];if(le(je)){visitDirectory(je,E.combinePaths(G,je),ie)}}return E.flatten(Ie);function visitDirectory(N,j,$){var q=Me(ce(j));if(Ne.has(q))return;Ne.set(q,true);var G=ae(N),ie=G.files,le=G.directories;var _loop_1=function($){var q=E.combinePaths(N,$);var G=E.combinePaths(j,$);if(R&&!E.fileExtensionIsOneOf(q,R))return"continue";if(we&&we.test(G))return"continue";if(!Ee){Ie[0].push(q)}else{var ie=E.findIndex(Ee,(function(E){return E.test(G)}));if(ie!==-1){Ie[ie].push(q)}}};for(var _e=0,Le=E.sort(ie,E.compareStringsCaseSensitive);_e<Le.length;_e++){var Be=Le[_e];_loop_1(Be)}if($!==undefined){$--;if($===0){return}}for(var je=0,Ue=E.sort(le,E.compareStringsCaseSensitive);je<Ue.length;je++){var Be=Ue[je];var ze=E.combinePaths(N,Be);var We=E.combinePaths(j,Be);if((!Te||Te.test(We))&&(!we||!we.test(We))){visitDirectory(ze,We,$)}}}}E.matchFiles=matchFiles;function getBasePaths(N,R,j){var $=[N];if(R){var q=[];for(var G=0,ie=R;G<ie.length;G++){var ae=ie[G];var ce=E.isRootedDiskPath(ae)?ae:E.normalizePath(E.combinePaths(N,ae));q.push(getIncludeBasePath(ce))}q.sort(E.getStringComparer(!j));var _loop_2=function(R){if(E.every($,(function($){return!E.containsPath($,R,N,!j)}))){$.push(R)}};for(var le=0,_e=q;le<_e.length;le++){var Ee=_e[le];_loop_2(Ee)}}return $}function getIncludeBasePath(N){var R=E.indexOfAnyCharCode(N,qe);if(R<0){return!E.hasExtension(N)?N:E.removeTrailingDirectorySeparator(E.getDirectoryPath(N))}return N.substring(0,N.lastIndexOf(E.directorySeparator,R))}function ensureScriptKind(E,N){return N||getScriptKindFromFileName(E)||3}E.ensureScriptKind=ensureScriptKind;function getScriptKindFromFileName(E){var N=E.substr(E.lastIndexOf("."));switch(N.toLowerCase()){case".js":return 1;case".jsx":return 2;case".ts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}E.getScriptKindFromFileName=getScriptKindFromFileName;E.supportedTSExtensions=[".ts",".tsx",".d.ts"];E.supportedTSExtensionsWithJson=[".ts",".tsx",".d.ts",".json"];E.supportedTSExtensionsForExtractExtension=[".d.ts",".ts",".tsx"];E.supportedJSExtensions=[".js",".jsx"];E.supportedJSAndJsonExtensions=[".js",".jsx",".json"];var Ye=j(j([],E.supportedTSExtensions,true),E.supportedJSExtensions,true);var Ze=j(j(j([],E.supportedTSExtensions,true),E.supportedJSExtensions,true),[".json"],false);function getSupportedExtensions(N,R){var $=N&&getAllowJSCompilerOption(N);if(!R||R.length===0){return $?Ye:E.supportedTSExtensions}var q=j(j([],$?Ye:E.supportedTSExtensions,true),E.mapDefined(R,(function(E){return E.scriptKind===7||$&&isJSLike(E.scriptKind)?E.extension:undefined})),true);return E.deduplicate(q,E.equateStringsCaseSensitive,E.compareStringsCaseSensitive)}E.getSupportedExtensions=getSupportedExtensions;function getSuppoertedExtensionsWithJsonIfResolveJsonModule(N,R){if(!N||!N.resolveJsonModule){return R}if(R===Ye){return Ze}if(R===E.supportedTSExtensions){return E.supportedTSExtensionsWithJson}return j(j([],R,true),[".json"],false)}E.getSuppoertedExtensionsWithJsonIfResolveJsonModule=getSuppoertedExtensionsWithJsonIfResolveJsonModule;function isJSLike(E){return E===1||E===2}function hasJSFileExtension(N){return E.some(E.supportedJSExtensions,(function(R){return E.fileExtensionIs(N,R)}))}E.hasJSFileExtension=hasJSFileExtension;function hasTSFileExtension(N){return E.some(E.supportedTSExtensions,(function(R){return E.fileExtensionIs(N,R)}))}E.hasTSFileExtension=hasTSFileExtension;function isSupportedSourceFileName(N,R,j){if(!N){return false}var $=getSupportedExtensions(R,j);for(var q=0,G=getSuppoertedExtensionsWithJsonIfResolveJsonModule(R,$);q<G.length;q++){var ie=G[q];if(E.fileExtensionIs(N,ie)){return true}}return false}E.isSupportedSourceFileName=isSupportedSourceFileName;function numberOfDirectorySeparators(E){var N=E.match(/\//g);return N?N.length:0}function compareNumberOfDirectorySeparators(N,R){return E.compareValues(numberOfDirectorySeparators(N),numberOfDirectorySeparators(R))}E.compareNumberOfDirectorySeparators=compareNumberOfDirectorySeparators;var et;(function(E){E[E["TypeScriptFiles"]=0]="TypeScriptFiles";E[E["DeclarationAndJavaScriptFiles"]=2]="DeclarationAndJavaScriptFiles";E[E["Highest"]=0]="Highest";E[E["Lowest"]=2]="Lowest"})(et=E.ExtensionPriority||(E.ExtensionPriority={}));function getExtensionPriority(N,R){for(var j=R.length-1;j>=0;j--){if(E.fileExtensionIs(N,R[j])){return adjustExtensionPriority(j,R)}}return 0}E.getExtensionPriority=getExtensionPriority;function adjustExtensionPriority(E,N){if(E<2){return 0}else if(E<N.length){return 2}else{return N.length}}E.adjustExtensionPriority=adjustExtensionPriority;function getNextLowestExtensionPriority(E,N){if(E<2){return 2}else{return N.length}}E.getNextLowestExtensionPriority=getNextLowestExtensionPriority;var tt=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function removeFileExtension(E){for(var N=0,R=tt;N<R.length;N++){var j=R[N];var $=tryRemoveExtension(E,j);if($!==undefined){return $}}return E}E.removeFileExtension=removeFileExtension;function tryRemoveExtension(N,R){return E.fileExtensionIs(N,R)?removeExtension(N,R):undefined}E.tryRemoveExtension=tryRemoveExtension;function removeExtension(E,N){return E.substring(0,E.length-N.length)}E.removeExtension=removeExtension;function changeExtension(N,R){return E.changeAnyExtension(N,R,tt,false)}E.changeExtension=changeExtension;function tryParsePattern(E){var N=E.indexOf("*");if(N===-1){return E}return E.indexOf("*",N+1)!==-1?undefined:{prefix:E.substr(0,N),suffix:E.substr(N+1)}}E.tryParsePattern=tryParsePattern;function tryParsePatterns(N){return E.mapDefined(E.getOwnKeys(N),(function(E){return tryParsePattern(E)}))}E.tryParsePatterns=tryParsePatterns;function positionIsSynthesized(E){return!(E>=0)}E.positionIsSynthesized=positionIsSynthesized;function extensionIsTS(E){return E===".ts"||E===".tsx"||E===".d.ts"}E.extensionIsTS=extensionIsTS;function resolutionExtensionIsTSOrJson(E){return extensionIsTS(E)||E===".json"}E.resolutionExtensionIsTSOrJson=resolutionExtensionIsTSOrJson;function extensionFromPath(N){var R=tryGetExtensionFromPath(N);return R!==undefined?R:E.Debug.fail("File "+N+" has unknown extension.")}E.extensionFromPath=extensionFromPath;function isAnySupportedFileExtension(E){return tryGetExtensionFromPath(E)!==undefined}E.isAnySupportedFileExtension=isAnySupportedFileExtension;function tryGetExtensionFromPath(N){return E.find(tt,(function(R){return E.fileExtensionIs(N,R)}))}E.tryGetExtensionFromPath=tryGetExtensionFromPath;function isCheckJsEnabledForFile(E,N){return E.checkJsDirective?E.checkJsDirective.enabled:N.checkJs}E.isCheckJsEnabledForFile=isCheckJsEnabledForFile;E.emptyFileSystemEntries={files:E.emptyArray,directories:E.emptyArray};function matchPatternOrExact(N,R){var j=[];for(var $=0,q=N;$<q.length;$++){var G=q[$];if(G===R){return R}if(!E.isString(G)){j.push(G)}}return E.findBestPatternMatch(j,(function(E){return E}),R)}E.matchPatternOrExact=matchPatternOrExact;function sliceAfter(N,R){var j=N.indexOf(R);E.Debug.assert(j!==-1);return N.slice(j)}E.sliceAfter=sliceAfter;function addRelatedInfo(N){var R;var j=[];for(var $=1;$<arguments.length;$++){j[$-1]=arguments[$]}if(!j.length){return N}if(!N.relatedInformation){N.relatedInformation=[]}E.Debug.assert(N.relatedInformation!==E.emptyArray,"Diagnostic had empty array singleton for related info, but is still being constructed!");(R=N.relatedInformation).push.apply(R,j);return N}E.addRelatedInfo=addRelatedInfo;function minAndMax(N,R){E.Debug.assert(N.length!==0);var j=R(N[0]);var $=j;for(var q=1;q<N.length;q++){var G=R(N[q]);if(G<j){j=G}else if(G>$){$=G}}return{min:j,max:$}}E.minAndMax=minAndMax;function rangeOfNode(E){return{pos:getTokenPosOfNode(E),end:E.end}}E.rangeOfNode=rangeOfNode;function rangeOfTypeParameters(N,R){var j=R.pos-1;var $=E.skipTrivia(N.text,R.end)+1;return{pos:j,end:$}}E.rangeOfTypeParameters=rangeOfTypeParameters;function skipTypeChecking(E,N,R){return N.skipLibCheck&&E.isDeclarationFile||N.skipDefaultLibCheck&&E.hasNoDefaultLib||R.isSourceOfProjectReferenceRedirect(E.fileName)}E.skipTypeChecking=skipTypeChecking;function isJsonEqual(N,R){return N===R||typeof N==="object"&&N!==null&&typeof R==="object"&&R!==null&&E.equalOwnProperties(N,R,isJsonEqual)}E.isJsonEqual=isJsonEqual;function parsePseudoBigInt(E){var N;switch(E.charCodeAt(1)){case 98:case 66:N=1;break;case 111:case 79:N=3;break;case 120:case 88:N=4;break;default:var R=E.length-1;var j=0;while(E.charCodeAt(j)===48){j++}return E.slice(j,R)||"0"}var $=2,q=E.length-1;var G=(q-$)*N;var ie=new Uint16Array((G>>>4)+(G&15?1:0));for(var ae=q-1,ce=0;ae>=$;ae--,ce+=N){var le=ce>>>4;var _e=E.charCodeAt(ae);var Ee=_e<=57?_e-48:10+_e-(_e<=70?65:97);var Te=Ee<<(ce&15);ie[le]|=Te;var we=Te>>>16;if(we)ie[le+1]|=we}var Ie="";var Ne=ie.length-1;var Me=true;while(Me){var Le=0;Me=false;for(var le=Ne;le>=0;le--){var Be=Le<<16|ie[le];var je=Be/10|0;ie[le]=je;Le=Be-je*10;if(je&&!Me){Ne=le;Me=true}}Ie=Le+Ie}return Ie}E.parsePseudoBigInt=parsePseudoBigInt;function pseudoBigIntToString(E){var N=E.negative,R=E.base10Value;return(N&&R!=="0"?"-":"")+R}E.pseudoBigIntToString=pseudoBigIntToString;function isValidTypeOnlyAliasUseSite(E){return!!(E.flags&8388608)||isPartOfTypeQuery(E)||isIdentifierInNonEmittingHeritageClause(E)||isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(E)||!(isExpressionNode(E)||isShorthandPropertyNameUseSite(E))}E.isValidTypeOnlyAliasUseSite=isValidTypeOnlyAliasUseSite;function typeOnlyDeclarationIsExport(E){return E.kind===273}E.typeOnlyDeclarationIsExport=typeOnlyDeclarationIsExport;function isShorthandPropertyNameUseSite(N){return E.isIdentifier(N)&&E.isShorthandPropertyAssignment(N.parent)&&N.parent.name===N}function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(E){while(E.kind===79||E.kind===204){E=E.parent}if(E.kind!==160){return false}if(hasSyntacticModifier(E.parent,128)){return true}var N=E.parent.parent.kind;return N===256||N===180}function isIdentifierInNonEmittingHeritageClause(N){if(N.kind!==79)return false;var R=E.findAncestor(N.parent,(function(E){switch(E.kind){case 289:return true;case 204:case 226:return false;default:return"quit"}}));return(R===null||R===void 0?void 0:R.token)===117||(R===null||R===void 0?void 0:R.parent.kind)===256}function isIdentifierTypeReference(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)}E.isIdentifierTypeReference=isIdentifierTypeReference;function arrayIsHomogeneous(N,R){if(R===void 0){R=E.equateValues}if(N.length<2)return true;var j=N[0];for(var $=1,q=N.length;$<q;$++){var G=N[$];if(!R(j,G))return false}return true}E.arrayIsHomogeneous=arrayIsHomogeneous;function setTextRangePos(E,N){E.pos=N;return E}E.setTextRangePos=setTextRangePos;function setTextRangeEnd(E,N){E.end=N;return E}E.setTextRangeEnd=setTextRangeEnd;function setTextRangePosEnd(E,N,R){return setTextRangeEnd(setTextRangePos(E,N),R)}E.setTextRangePosEnd=setTextRangePosEnd;function setTextRangePosWidth(E,N,R){return setTextRangePosEnd(E,N,N+R)}E.setTextRangePosWidth=setTextRangePosWidth;function setNodeFlags(E,N){if(E){E.flags=N}return E}E.setNodeFlags=setNodeFlags;function setParent(E,N){if(E&&N){E.parent=N}return E}E.setParent=setParent;function setEachParent(E,N){if(E){for(var R=0,j=E;R<j.length;R++){var $=j[R];setParent($,N)}}return E}E.setEachParent=setEachParent;function setParentRecursive(N,R){if(!N)return N;E.forEachChildRecursively(N,E.isJSDocNode(N)?bindParentToChildIgnoringJSDoc:bindParentToChild);return N;function bindParentToChildIgnoringJSDoc(E,N){if(R&&E.parent===N){return"skip"}setParent(E,N)}function bindJSDoc(N){if(E.hasJSDocNodes(N)){for(var R=0,j=N.jsDoc;R<j.length;R++){var $=j[R];bindParentToChildIgnoringJSDoc($,N);E.forEachChildRecursively($,bindParentToChildIgnoringJSDoc)}}}function bindParentToChild(E,N){return bindParentToChildIgnoringJSDoc(E,N)||bindJSDoc(E)}}E.setParentRecursive=setParentRecursive;function isPackedElement(N){return!E.isOmittedExpression(N)}function isPackedArrayLiteral(N){return E.isArrayLiteralExpression(N)&&E.every(N.elements,isPackedElement)}E.isPackedArrayLiteral=isPackedArrayLiteral;function expressionResultIsUnused(N){E.Debug.assertIsDefined(N.parent);while(true){var R=N.parent;if(E.isParenthesizedExpression(R)){N=R;continue}if(E.isExpressionStatement(R)||E.isVoidExpression(R)||E.isForStatement(R)&&(R.initializer===N||R.incrementor===N)){return true}if(E.isCommaListExpression(R)){if(N!==E.last(R.elements))return true;N=R;continue}if(E.isBinaryExpression(R)&&R.operatorToken.kind===27){if(N===R.left)return true;N=R;continue}return false}}E.expressionResultIsUnused=expressionResultIsUnused;function containsIgnoredPath(N){return E.some(E.ignoredPaths,(function(R){return E.stringContains(N,R)}))}E.containsIgnoredPath=containsIgnoredPath;function getContainingNodeArray(N){if(!N.parent)return undefined;switch(N.kind){case 161:var R=N.parent;return R.kind===188?undefined:R.typeParameters;case 162:return N.parent.parameters;case 197:return N.parent.templateSpans;case 231:return N.parent.templateSpans;case 163:return N.parent.decorators;case 289:return N.parent.heritageClauses}var j=N.parent;if(E.isJSDocTag(N)){return E.isJSDocTypeLiteral(N.parent)?undefined:N.parent.tags}switch(j.kind){case 180:case 256:return E.isTypeElement(N)?j.members:undefined;case 185:case 186:return j.types;case 182:case 202:case 346:case 267:case 271:return j.elements;case 203:case 284:return j.properties;case 206:case 207:return E.isTypeNode(N)?j.typeArguments:j.expression===N?undefined:j.arguments;case 276:case 280:return E.isJsxChild(N)?j.children:undefined;case 278:case 277:return E.isTypeNode(N)?j.typeArguments:undefined;case 233:case 287:case 288:case 260:return j.statements;case 261:return j.clauses;case 255:case 224:return E.isClassElement(N)?j.members:undefined;case 258:return E.isEnumMember(N)?j.members:undefined;case 300:return j.statements}}E.getContainingNodeArray=getContainingNodeArray;function hasContextSensitiveParameters(N){if(!N.typeParameters){if(E.some(N.parameters,(function(E){return!getEffectiveTypeAnnotationNode(E)}))){return true}if(N.kind!==212){var R=E.firstOrUndefined(N.parameters);if(!(R&&parameterIsThisKeyword(R))){return true}}}return false}E.hasContextSensitiveParameters=hasContextSensitiveParameters;function isInfinityOrNaNString(E){return E==="Infinity"||E==="-Infinity"||E==="NaN"}E.isInfinityOrNaNString=isInfinityOrNaNString})(ce||(ce={}));var ce;(function(E){function createBaseNodeFactory(){var N;var R;var j;var $;var q;return{createBaseSourceFileNode:createBaseSourceFileNode,createBaseIdentifierNode:createBaseIdentifierNode,createBasePrivateIdentifierNode:createBasePrivateIdentifierNode,createBaseTokenNode:createBaseTokenNode,createBaseNode:createBaseNode};function createBaseSourceFileNode(N){return new(q||(q=E.objectAllocator.getSourceFileConstructor()))(N,-1,-1)}function createBaseIdentifierNode(N){return new(j||(j=E.objectAllocator.getIdentifierConstructor()))(N,-1,-1)}function createBasePrivateIdentifierNode(N){return new($||($=E.objectAllocator.getPrivateIdentifierConstructor()))(N,-1,-1)}function createBaseTokenNode(N){return new(R||(R=E.objectAllocator.getTokenConstructor()))(N,-1,-1)}function createBaseNode(R){return new(N||(N=E.objectAllocator.getNodeConstructor()))(R,-1,-1)}}E.createBaseNodeFactory=createBaseNodeFactory})(ce||(ce={}));var ce;(function(E){function createParenthesizerRules(N){var R;var j;return{getParenthesizeLeftSideOfBinaryForOperator:getParenthesizeLeftSideOfBinaryForOperator,getParenthesizeRightSideOfBinaryForOperator:getParenthesizeRightSideOfBinaryForOperator,parenthesizeLeftSideOfBinary:parenthesizeLeftSideOfBinary,parenthesizeRightSideOfBinary:parenthesizeRightSideOfBinary,parenthesizeExpressionOfComputedPropertyName:parenthesizeExpressionOfComputedPropertyName,parenthesizeConditionOfConditionalExpression:parenthesizeConditionOfConditionalExpression,parenthesizeBranchOfConditionalExpression:parenthesizeBranchOfConditionalExpression,parenthesizeExpressionOfExportDefault:parenthesizeExpressionOfExportDefault,parenthesizeExpressionOfNew:parenthesizeExpressionOfNew,parenthesizeLeftSideOfAccess:parenthesizeLeftSideOfAccess,parenthesizeOperandOfPostfixUnary:parenthesizeOperandOfPostfixUnary,parenthesizeOperandOfPrefixUnary:parenthesizeOperandOfPrefixUnary,parenthesizeExpressionsOfCommaDelimitedList:parenthesizeExpressionsOfCommaDelimitedList,parenthesizeExpressionForDisallowedComma:parenthesizeExpressionForDisallowedComma,parenthesizeExpressionOfExpressionStatement:parenthesizeExpressionOfExpressionStatement,parenthesizeConciseBodyOfArrowFunction:parenthesizeConciseBodyOfArrowFunction,parenthesizeMemberOfConditionalType:parenthesizeMemberOfConditionalType,parenthesizeMemberOfElementType:parenthesizeMemberOfElementType,parenthesizeElementTypeOfArrayType:parenthesizeElementTypeOfArrayType,parenthesizeConstituentTypesOfUnionOrIntersectionType:parenthesizeConstituentTypesOfUnionOrIntersectionType,parenthesizeTypeArguments:parenthesizeTypeArguments};function getParenthesizeLeftSideOfBinaryForOperator(N){R||(R=new E.Map);var j=R.get(N);if(!j){j=function(E){return parenthesizeLeftSideOfBinary(N,E)};R.set(N,j)}return j}function getParenthesizeRightSideOfBinaryForOperator(N){j||(j=new E.Map);var R=j.get(N);if(!R){R=function(E){return parenthesizeRightSideOfBinary(N,undefined,E)};j.set(N,R)}return R}function binaryOperandNeedsParentheses(N,R,j,$){var q=E.getOperatorPrecedence(219,N);var G=E.getOperatorAssociativity(219,N);var ie=E.skipPartiallyEmittedExpressions(R);if(!j&&R.kind===212&&q>3){return true}var ae=E.getExpressionPrecedence(ie);switch(E.compareValues(ae,q)){case-1:if(!j&&G===1&&R.kind===222){return false}return true;case 1:return false;case 0:if(j){return G===1}else{if(E.isBinaryExpression(ie)&&ie.operatorToken.kind===N){if(operatorHasAssociativeProperty(N)){return false}if(N===39){var ce=$?getLiteralKindOfBinaryPlusOperand($):0;if(E.isLiteralKind(ce)&&ce===getLiteralKindOfBinaryPlusOperand(ie)){return false}}}var le=E.getExpressionAssociativity(ie);return le===0}}}function operatorHasAssociativeProperty(E){return E===41||E===51||E===50||E===52}function getLiteralKindOfBinaryPlusOperand(N){N=E.skipPartiallyEmittedExpressions(N);if(E.isLiteralKind(N.kind)){return N.kind}if(N.kind===219&&N.operatorToken.kind===39){if(N.cachedLiteralKind!==undefined){return N.cachedLiteralKind}var R=getLiteralKindOfBinaryPlusOperand(N.left);var j=E.isLiteralKind(R)&&R===getLiteralKindOfBinaryPlusOperand(N.right)?R:0;N.cachedLiteralKind=j;return j}return 0}function parenthesizeBinaryOperand(R,j,$,q){var G=E.skipPartiallyEmittedExpressions(j);if(G.kind===210){return j}return binaryOperandNeedsParentheses(R,j,$,q)?N.createParenthesizedExpression(j):j}function parenthesizeLeftSideOfBinary(E,N){return parenthesizeBinaryOperand(E,N,true)}function parenthesizeRightSideOfBinary(E,N,R){return parenthesizeBinaryOperand(E,R,false,N)}function parenthesizeExpressionOfComputedPropertyName(R){return E.isCommaSequence(R)?N.createParenthesizedExpression(R):R}function parenthesizeConditionOfConditionalExpression(R){var j=E.getOperatorPrecedence(220,57);var $=E.skipPartiallyEmittedExpressions(R);var q=E.getExpressionPrecedence($);if(E.compareValues(q,j)!==1){return N.createParenthesizedExpression(R)}return R}function parenthesizeBranchOfConditionalExpression(R){var j=E.skipPartiallyEmittedExpressions(R);return E.isCommaSequence(j)?N.createParenthesizedExpression(R):R}function parenthesizeExpressionOfExportDefault(R){var j=E.skipPartiallyEmittedExpressions(R);var $=E.isCommaSequence(j);if(!$){switch(E.getLeftmostExpression(j,false).kind){case 224:case 211:$=true}}return $?N.createParenthesizedExpression(R):R}function parenthesizeExpressionOfNew(R){var j=E.getLeftmostExpression(R,true);switch(j.kind){case 206:return N.createParenthesizedExpression(R);case 207:return!j.arguments?N.createParenthesizedExpression(R):R}return parenthesizeLeftSideOfAccess(R)}function parenthesizeLeftSideOfAccess(R){var j=E.skipPartiallyEmittedExpressions(R);if(E.isLeftHandSideExpression(j)&&(j.kind!==207||j.arguments)){return R}return E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeOperandOfPostfixUnary(R){return E.isLeftHandSideExpression(R)?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeOperandOfPrefixUnary(R){return E.isUnaryExpression(R)?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeExpressionsOfCommaDelimitedList(R){var j=E.sameMap(R,parenthesizeExpressionForDisallowedComma);return E.setTextRange(N.createNodeArray(j,R.hasTrailingComma),R)}function parenthesizeExpressionForDisallowedComma(R){var j=E.skipPartiallyEmittedExpressions(R);var $=E.getExpressionPrecedence(j);var q=E.getOperatorPrecedence(219,27);return $>q?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeExpressionOfExpressionStatement(R){var j=E.skipPartiallyEmittedExpressions(R);if(E.isCallExpression(j)){var $=j.expression;var q=E.skipPartiallyEmittedExpressions($).kind;if(q===211||q===212){var G=N.updateCallExpression(j,E.setTextRange(N.createParenthesizedExpression($),$),j.typeArguments,j.arguments);return N.restoreOuterExpressions(R,G,8)}}var ie=E.getLeftmostExpression(j,false).kind;if(ie===203||ie===211){return E.setTextRange(N.createParenthesizedExpression(R),R)}return R}function parenthesizeConciseBodyOfArrowFunction(R){if(!E.isBlock(R)&&(E.isCommaSequence(R)||E.getLeftmostExpression(R,false).kind===203)){return E.setTextRange(N.createParenthesizedExpression(R),R)}return R}function parenthesizeMemberOfConditionalType(E){return E.kind===187?N.createParenthesizedType(E):E}function parenthesizeMemberOfElementType(E){switch(E.kind){case 185:case 186:case 177:case 178:return N.createParenthesizedType(E)}return parenthesizeMemberOfConditionalType(E)}function parenthesizeElementTypeOfArrayType(E){switch(E.kind){case 179:case 191:case 188:return N.createParenthesizedType(E)}return parenthesizeMemberOfElementType(E)}function parenthesizeConstituentTypesOfUnionOrIntersectionType(R){return N.createNodeArray(E.sameMap(R,parenthesizeMemberOfElementType))}function parenthesizeOrdinalTypeArgument(R,j){return j===0&&E.isFunctionOrConstructorTypeNode(R)&&R.typeParameters?N.createParenthesizedType(R):R}function parenthesizeTypeArguments(R){if(E.some(R)){return N.createNodeArray(E.sameMap(R,parenthesizeOrdinalTypeArgument))}}}E.createParenthesizerRules=createParenthesizerRules;E.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(N){return E.identity},getParenthesizeRightSideOfBinaryForOperator:function(N){return E.identity},parenthesizeLeftSideOfBinary:function(E,N){return N},parenthesizeRightSideOfBinary:function(E,N,R){return R},parenthesizeExpressionOfComputedPropertyName:E.identity,parenthesizeConditionOfConditionalExpression:E.identity,parenthesizeBranchOfConditionalExpression:E.identity,parenthesizeExpressionOfExportDefault:E.identity,parenthesizeExpressionOfNew:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(N){return E.cast(N,E.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(N){return E.cast(N,E.isNodeArray)},parenthesizeExpressionForDisallowedComma:E.identity,parenthesizeExpressionOfExpressionStatement:E.identity,parenthesizeConciseBodyOfArrowFunction:E.identity,parenthesizeMemberOfConditionalType:E.identity,parenthesizeMemberOfElementType:E.identity,parenthesizeElementTypeOfArrayType:E.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(N){return E.cast(N,E.isNodeArray)},parenthesizeTypeArguments:function(N){return N&&E.cast(N,E.isNodeArray)}}})(ce||(ce={}));var ce;(function(E){function createNodeConverters(N){return{convertToFunctionBlock:convertToFunctionBlock,convertToFunctionExpression:convertToFunctionExpression,convertToArrayAssignmentElement:convertToArrayAssignmentElement,convertToObjectAssignmentElement:convertToObjectAssignmentElement,convertToAssignmentPattern:convertToAssignmentPattern,convertToObjectAssignmentPattern:convertToObjectAssignmentPattern,convertToArrayAssignmentPattern:convertToArrayAssignmentPattern,convertToAssignmentElementTarget:convertToAssignmentElementTarget};function convertToFunctionBlock(R,j){if(E.isBlock(R))return R;var $=N.createReturnStatement(R);E.setTextRange($,R);var q=N.createBlock([$],j);E.setTextRange(q,R);return q}function convertToFunctionExpression(R){if(!R.body)return E.Debug.fail("Cannot convert a FunctionDeclaration without a body");var j=N.createFunctionExpression(R.modifiers,R.asteriskToken,R.name,R.typeParameters,R.parameters,R.type,R.body);E.setOriginalNode(j,R);E.setTextRange(j,R);if(E.getStartsOnNewLine(R)){E.setStartsOnNewLine(j,true)}return j}function convertToArrayAssignmentElement(R){if(E.isBindingElement(R)){if(R.dotDotDotToken){E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createSpreadElement(R.name),R),R)}var j=convertToAssignmentElementTarget(R.name);return R.initializer?E.setOriginalNode(E.setTextRange(N.createAssignment(j,R.initializer),R),R):j}return E.cast(R,E.isExpression)}function convertToObjectAssignmentElement(R){if(E.isBindingElement(R)){if(R.dotDotDotToken){E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createSpreadAssignment(R.name),R),R)}if(R.propertyName){var j=convertToAssignmentElementTarget(R.name);return E.setOriginalNode(E.setTextRange(N.createPropertyAssignment(R.propertyName,R.initializer?N.createAssignment(j,R.initializer):j),R),R)}E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createShorthandPropertyAssignment(R.name,R.initializer),R),R)}return E.cast(R,E.isObjectLiteralElementLike)}function convertToAssignmentPattern(E){switch(E.kind){case 200:case 202:return convertToArrayAssignmentPattern(E);case 199:case 203:return convertToObjectAssignmentPattern(E)}}function convertToObjectAssignmentPattern(R){if(E.isObjectBindingPattern(R)){return E.setOriginalNode(E.setTextRange(N.createObjectLiteralExpression(E.map(R.elements,convertToObjectAssignmentElement)),R),R)}return E.cast(R,E.isObjectLiteralExpression)}function convertToArrayAssignmentPattern(R){if(E.isArrayBindingPattern(R)){return E.setOriginalNode(E.setTextRange(N.createArrayLiteralExpression(E.map(R.elements,convertToArrayAssignmentElement)),R),R)}return E.cast(R,E.isArrayLiteralExpression)}function convertToAssignmentElementTarget(N){if(E.isBindingPattern(N)){return convertToAssignmentPattern(N)}return E.cast(N,E.isExpression)}}E.createNodeConverters=createNodeConverters;E.nullNodeConverters={convertToFunctionBlock:E.notImplemented,convertToFunctionExpression:E.notImplemented,convertToArrayAssignmentElement:E.notImplemented,convertToObjectAssignmentElement:E.notImplemented,convertToAssignmentPattern:E.notImplemented,convertToObjectAssignmentPattern:E.notImplemented,convertToArrayAssignmentPattern:E.notImplemented,convertToAssignmentElementTarget:E.notImplemented}})(ce||(ce={}));var ce;(function(E){var N=0;var R;(function(E){E[E["None"]=0]="None";E[E["NoParenthesizerRules"]=1]="NoParenthesizerRules";E[E["NoNodeConverters"]=2]="NoNodeConverters";E[E["NoIndentationOnFreshPropertyAccess"]=4]="NoIndentationOnFreshPropertyAccess";E[E["NoOriginalNode"]=8]="NoOriginalNode"})(R=E.NodeFactoryFlags||(E.NodeFactoryFlags={}));function createNodeFactory(R,$){var q=R&8?updateWithoutOriginal:updateWithOriginal;var G=E.memoize((function(){return R&1?E.nullParenthesizerRules:E.createParenthesizerRules(Le)}));var ie=E.memoize((function(){return R&2?E.nullNodeConverters:E.createNodeConverters(Le)}));var ae=E.memoizeOne((function(E){return function(N,R){return createBinaryExpression(N,E,R)}}));var ce=E.memoizeOne((function(E){return function(N){return createPrefixUnaryExpression(E,N)}}));var le=E.memoizeOne((function(E){return function(N){return createPostfixUnaryExpression(N,E)}}));var _e=E.memoizeOne((function(E){return function(){return createJSDocPrimaryTypeWorker(E)}}));var Ee=E.memoizeOne((function(E){return function(N){return createJSDocUnaryTypeWorker(E,N)}}));var Te=E.memoizeOne((function(E){return function(N,R){return updateJSDocUnaryTypeWorker(E,N,R)}}));var we=E.memoizeOne((function(E){return function(N,R){return createJSDocSimpleTagWorker(E,N,R)}}));var Ie=E.memoizeOne((function(E){return function(N,R,j){return updateJSDocSimpleTagWorker(E,N,R,j)}}));var Ne=E.memoizeOne((function(E){return function(N,R,j){return createJSDocTypeLikeTagWorker(E,N,R,j)}}));var Me=E.memoizeOne((function(E){return function(N,R,j,$){return updateJSDocTypeLikeTagWorker(E,N,R,j,$)}}));var Le={get parenthesizer(){return G()},get converters(){return ie()},createNodeArray:createNodeArray,createNumericLiteral:createNumericLiteral,createBigIntLiteral:createBigIntLiteral,createStringLiteral:createStringLiteral,createStringLiteralFromNode:createStringLiteralFromNode,createRegularExpressionLiteral:createRegularExpressionLiteral,createLiteralLikeNode:createLiteralLikeNode,createIdentifier:createIdentifier,updateIdentifier:updateIdentifier,createTempVariable:createTempVariable,createLoopVariable:createLoopVariable,createUniqueName:createUniqueName,getGeneratedNameForNode:getGeneratedNameForNode,createPrivateIdentifier:createPrivateIdentifier,createToken:createToken,createSuper:createSuper,createThis:createThis,createNull:createNull,createTrue:createTrue,createFalse:createFalse,createModifier:createModifier,createModifiersFromModifierFlags:createModifiersFromModifierFlags,createQualifiedName:createQualifiedName,updateQualifiedName:updateQualifiedName,createComputedPropertyName:createComputedPropertyName,updateComputedPropertyName:updateComputedPropertyName,createTypeParameterDeclaration:createTypeParameterDeclaration,updateTypeParameterDeclaration:updateTypeParameterDeclaration,createParameterDeclaration:createParameterDeclaration,updateParameterDeclaration:updateParameterDeclaration,createDecorator:createDecorator,updateDecorator:updateDecorator,createPropertySignature:createPropertySignature,updatePropertySignature:updatePropertySignature,createPropertyDeclaration:createPropertyDeclaration,updatePropertyDeclaration:updatePropertyDeclaration,createMethodSignature:createMethodSignature,updateMethodSignature:updateMethodSignature,createMethodDeclaration:createMethodDeclaration,updateMethodDeclaration:updateMethodDeclaration,createConstructorDeclaration:createConstructorDeclaration,updateConstructorDeclaration:updateConstructorDeclaration,createGetAccessorDeclaration:createGetAccessorDeclaration,updateGetAccessorDeclaration:updateGetAccessorDeclaration,createSetAccessorDeclaration:createSetAccessorDeclaration,updateSetAccessorDeclaration:updateSetAccessorDeclaration,createCallSignature:createCallSignature,updateCallSignature:updateCallSignature,createConstructSignature:createConstructSignature,updateConstructSignature:updateConstructSignature,createIndexSignature:createIndexSignature,updateIndexSignature:updateIndexSignature,createClassStaticBlockDeclaration:createClassStaticBlockDeclaration,updateClassStaticBlockDeclaration:updateClassStaticBlockDeclaration,createTemplateLiteralTypeSpan:createTemplateLiteralTypeSpan,updateTemplateLiteralTypeSpan:updateTemplateLiteralTypeSpan,createKeywordTypeNode:createKeywordTypeNode,createTypePredicateNode:createTypePredicateNode,updateTypePredicateNode:updateTypePredicateNode,createTypeReferenceNode:createTypeReferenceNode,updateTypeReferenceNode:updateTypeReferenceNode,createFunctionTypeNode:createFunctionTypeNode,updateFunctionTypeNode:updateFunctionTypeNode,createConstructorTypeNode:createConstructorTypeNode,updateConstructorTypeNode:updateConstructorTypeNode,createTypeQueryNode:createTypeQueryNode,updateTypeQueryNode:updateTypeQueryNode,createTypeLiteralNode:createTypeLiteralNode,updateTypeLiteralNode:updateTypeLiteralNode,createArrayTypeNode:createArrayTypeNode,updateArrayTypeNode:updateArrayTypeNode,createTupleTypeNode:createTupleTypeNode,updateTupleTypeNode:updateTupleTypeNode,createNamedTupleMember:createNamedTupleMember,updateNamedTupleMember:updateNamedTupleMember,createOptionalTypeNode:createOptionalTypeNode,updateOptionalTypeNode:updateOptionalTypeNode,createRestTypeNode:createRestTypeNode,updateRestTypeNode:updateRestTypeNode,createUnionTypeNode:createUnionTypeNode,updateUnionTypeNode:updateUnionTypeNode,createIntersectionTypeNode:createIntersectionTypeNode,updateIntersectionTypeNode:updateIntersectionTypeNode,createConditionalTypeNode:createConditionalTypeNode,updateConditionalTypeNode:updateConditionalTypeNode,createInferTypeNode:createInferTypeNode,updateInferTypeNode:updateInferTypeNode,createImportTypeNode:createImportTypeNode,updateImportTypeNode:updateImportTypeNode,createParenthesizedType:createParenthesizedType,updateParenthesizedType:updateParenthesizedType,createThisTypeNode:createThisTypeNode,createTypeOperatorNode:createTypeOperatorNode,updateTypeOperatorNode:updateTypeOperatorNode,createIndexedAccessTypeNode:createIndexedAccessTypeNode,updateIndexedAccessTypeNode:updateIndexedAccessTypeNode,createMappedTypeNode:createMappedTypeNode,updateMappedTypeNode:updateMappedTypeNode,createLiteralTypeNode:createLiteralTypeNode,updateLiteralTypeNode:updateLiteralTypeNode,createTemplateLiteralType:createTemplateLiteralType,updateTemplateLiteralType:updateTemplateLiteralType,createObjectBindingPattern:createObjectBindingPattern,updateObjectBindingPattern:updateObjectBindingPattern,createArrayBindingPattern:createArrayBindingPattern,updateArrayBindingPattern:updateArrayBindingPattern,createBindingElement:createBindingElement,updateBindingElement:updateBindingElement,createArrayLiteralExpression:createArrayLiteralExpression,updateArrayLiteralExpression:updateArrayLiteralExpression,createObjectLiteralExpression:createObjectLiteralExpression,updateObjectLiteralExpression:updateObjectLiteralExpression,createPropertyAccessExpression:R&4?function(N,R){return E.setEmitFlags(createPropertyAccessExpression(N,R),131072)}:createPropertyAccessExpression,updatePropertyAccessExpression:updatePropertyAccessExpression,createPropertyAccessChain:R&4?function(N,R,j){return E.setEmitFlags(createPropertyAccessChain(N,R,j),131072)}:createPropertyAccessChain,updatePropertyAccessChain:updatePropertyAccessChain,createElementAccessExpression:createElementAccessExpression,updateElementAccessExpression:updateElementAccessExpression,createElementAccessChain:createElementAccessChain,updateElementAccessChain:updateElementAccessChain,createCallExpression:createCallExpression,updateCallExpression:updateCallExpression,createCallChain:createCallChain,updateCallChain:updateCallChain,createNewExpression:createNewExpression,updateNewExpression:updateNewExpression,createTaggedTemplateExpression:createTaggedTemplateExpression,updateTaggedTemplateExpression:updateTaggedTemplateExpression,createTypeAssertion:createTypeAssertion,updateTypeAssertion:updateTypeAssertion,createParenthesizedExpression:createParenthesizedExpression,updateParenthesizedExpression:updateParenthesizedExpression,createFunctionExpression:createFunctionExpression,updateFunctionExpression:updateFunctionExpression,createArrowFunction:createArrowFunction,updateArrowFunction:updateArrowFunction,createDeleteExpression:createDeleteExpression,updateDeleteExpression:updateDeleteExpression,createTypeOfExpression:createTypeOfExpression,updateTypeOfExpression:updateTypeOfExpression,createVoidExpression:createVoidExpression,updateVoidExpression:updateVoidExpression,createAwaitExpression:createAwaitExpression,updateAwaitExpression:updateAwaitExpression,createPrefixUnaryExpression:createPrefixUnaryExpression,updatePrefixUnaryExpression:updatePrefixUnaryExpression,createPostfixUnaryExpression:createPostfixUnaryExpression,updatePostfixUnaryExpression:updatePostfixUnaryExpression,createBinaryExpression:createBinaryExpression,updateBinaryExpression:updateBinaryExpression,createConditionalExpression:createConditionalExpression,updateConditionalExpression:updateConditionalExpression,createTemplateExpression:createTemplateExpression,updateTemplateExpression:updateTemplateExpression,createTemplateHead:createTemplateHead,createTemplateMiddle:createTemplateMiddle,createTemplateTail:createTemplateTail,createNoSubstitutionTemplateLiteral:createNoSubstitutionTemplateLiteral,createTemplateLiteralLikeNode:createTemplateLiteralLikeNode,createYieldExpression:createYieldExpression,updateYieldExpression:updateYieldExpression,createSpreadElement:createSpreadElement,updateSpreadElement:updateSpreadElement,createClassExpression:createClassExpression,updateClassExpression:updateClassExpression,createOmittedExpression:createOmittedExpression,createExpressionWithTypeArguments:createExpressionWithTypeArguments,updateExpressionWithTypeArguments:updateExpressionWithTypeArguments,createAsExpression:createAsExpression,updateAsExpression:updateAsExpression,createNonNullExpression:createNonNullExpression,updateNonNullExpression:updateNonNullExpression,createNonNullChain:createNonNullChain,updateNonNullChain:updateNonNullChain,createMetaProperty:createMetaProperty,updateMetaProperty:updateMetaProperty,createTemplateSpan:createTemplateSpan,updateTemplateSpan:updateTemplateSpan,createSemicolonClassElement:createSemicolonClassElement,createBlock:createBlock,updateBlock:updateBlock,createVariableStatement:createVariableStatement,updateVariableStatement:updateVariableStatement,createEmptyStatement:createEmptyStatement,createExpressionStatement:createExpressionStatement,updateExpressionStatement:updateExpressionStatement,createIfStatement:createIfStatement,updateIfStatement:updateIfStatement,createDoStatement:createDoStatement,updateDoStatement:updateDoStatement,createWhileStatement:createWhileStatement,updateWhileStatement:updateWhileStatement,createForStatement:createForStatement,updateForStatement:updateForStatement,createForInStatement:createForInStatement,updateForInStatement:updateForInStatement,createForOfStatement:createForOfStatement,updateForOfStatement:updateForOfStatement,createContinueStatement:createContinueStatement,updateContinueStatement:updateContinueStatement,createBreakStatement:createBreakStatement,updateBreakStatement:updateBreakStatement,createReturnStatement:createReturnStatement,updateReturnStatement:updateReturnStatement,createWithStatement:createWithStatement,updateWithStatement:updateWithStatement,createSwitchStatement:createSwitchStatement,updateSwitchStatement:updateSwitchStatement,createLabeledStatement:createLabeledStatement,updateLabeledStatement:updateLabeledStatement,createThrowStatement:createThrowStatement,updateThrowStatement:updateThrowStatement,createTryStatement:createTryStatement,updateTryStatement:updateTryStatement,createDebuggerStatement:createDebuggerStatement,createVariableDeclaration:createVariableDeclaration,updateVariableDeclaration:updateVariableDeclaration,createVariableDeclarationList:createVariableDeclarationList,updateVariableDeclarationList:updateVariableDeclarationList,createFunctionDeclaration:createFunctionDeclaration,updateFunctionDeclaration:updateFunctionDeclaration,createClassDeclaration:createClassDeclaration,updateClassDeclaration:updateClassDeclaration,createInterfaceDeclaration:createInterfaceDeclaration,updateInterfaceDeclaration:updateInterfaceDeclaration,createTypeAliasDeclaration:createTypeAliasDeclaration,updateTypeAliasDeclaration:updateTypeAliasDeclaration,createEnumDeclaration:createEnumDeclaration,updateEnumDeclaration:updateEnumDeclaration,createModuleDeclaration:createModuleDeclaration,updateModuleDeclaration:updateModuleDeclaration,createModuleBlock:createModuleBlock,updateModuleBlock:updateModuleBlock,createCaseBlock:createCaseBlock,updateCaseBlock:updateCaseBlock,createNamespaceExportDeclaration:createNamespaceExportDeclaration,updateNamespaceExportDeclaration:updateNamespaceExportDeclaration,createImportEqualsDeclaration:createImportEqualsDeclaration,updateImportEqualsDeclaration:updateImportEqualsDeclaration,createImportDeclaration:createImportDeclaration,updateImportDeclaration:updateImportDeclaration,createImportClause:createImportClause,updateImportClause:updateImportClause,createNamespaceImport:createNamespaceImport,updateNamespaceImport:updateNamespaceImport,createNamespaceExport:createNamespaceExport,updateNamespaceExport:updateNamespaceExport,createNamedImports:createNamedImports,updateNamedImports:updateNamedImports,createImportSpecifier:createImportSpecifier,updateImportSpecifier:updateImportSpecifier,createExportAssignment:createExportAssignment,updateExportAssignment:updateExportAssignment,createExportDeclaration:createExportDeclaration,updateExportDeclaration:updateExportDeclaration,createNamedExports:createNamedExports,updateNamedExports:updateNamedExports,createExportSpecifier:createExportSpecifier,updateExportSpecifier:updateExportSpecifier,createMissingDeclaration:createMissingDeclaration,createExternalModuleReference:createExternalModuleReference,updateExternalModuleReference:updateExternalModuleReference,get createJSDocAllType(){return _e(307)},get createJSDocUnknownType(){return _e(308)},get createJSDocNonNullableType(){return Ee(310)},get updateJSDocNonNullableType(){return Te(310)},get createJSDocNullableType(){return Ee(309)},get updateJSDocNullableType(){return Te(309)},get createJSDocOptionalType(){return Ee(311)},get updateJSDocOptionalType(){return Te(311)},get createJSDocVariadicType(){return Ee(313)},get updateJSDocVariadicType(){return Te(313)},get createJSDocNamepathType(){return Ee(314)},get updateJSDocNamepathType(){return Te(314)},createJSDocFunctionType:createJSDocFunctionType,updateJSDocFunctionType:updateJSDocFunctionType,createJSDocTypeLiteral:createJSDocTypeLiteral,updateJSDocTypeLiteral:updateJSDocTypeLiteral,createJSDocTypeExpression:createJSDocTypeExpression,updateJSDocTypeExpression:updateJSDocTypeExpression,createJSDocSignature:createJSDocSignature,updateJSDocSignature:updateJSDocSignature,createJSDocTemplateTag:createJSDocTemplateTag,updateJSDocTemplateTag:updateJSDocTemplateTag,createJSDocTypedefTag:createJSDocTypedefTag,updateJSDocTypedefTag:updateJSDocTypedefTag,createJSDocParameterTag:createJSDocParameterTag,updateJSDocParameterTag:updateJSDocParameterTag,createJSDocPropertyTag:createJSDocPropertyTag,updateJSDocPropertyTag:updateJSDocPropertyTag,createJSDocCallbackTag:createJSDocCallbackTag,updateJSDocCallbackTag:updateJSDocCallbackTag,createJSDocAugmentsTag:createJSDocAugmentsTag,updateJSDocAugmentsTag:updateJSDocAugmentsTag,createJSDocImplementsTag:createJSDocImplementsTag,updateJSDocImplementsTag:updateJSDocImplementsTag,createJSDocSeeTag:createJSDocSeeTag,updateJSDocSeeTag:updateJSDocSeeTag,createJSDocNameReference:createJSDocNameReference,updateJSDocNameReference:updateJSDocNameReference,createJSDocMemberName:createJSDocMemberName,updateJSDocMemberName:updateJSDocMemberName,createJSDocLink:createJSDocLink,updateJSDocLink:updateJSDocLink,createJSDocLinkCode:createJSDocLinkCode,updateJSDocLinkCode:updateJSDocLinkCode,createJSDocLinkPlain:createJSDocLinkPlain,updateJSDocLinkPlain:updateJSDocLinkPlain,get createJSDocTypeTag(){return Ne(338)},get updateJSDocTypeTag(){return Me(338)},get createJSDocReturnTag(){return Ne(336)},get updateJSDocReturnTag(){return Me(336)},get createJSDocThisTag(){return Ne(337)},get updateJSDocThisTag(){return Me(337)},get createJSDocEnumTag(){return Ne(334)},get updateJSDocEnumTag(){return Me(334)},get createJSDocAuthorTag(){return we(325)},get updateJSDocAuthorTag(){return Ie(325)},get createJSDocClassTag(){return we(327)},get updateJSDocClassTag(){return Ie(327)},get createJSDocPublicTag(){return we(328)},get updateJSDocPublicTag(){return Ie(328)},get createJSDocPrivateTag(){return we(329)},get updateJSDocPrivateTag(){return Ie(329)},get createJSDocProtectedTag(){return we(330)},get updateJSDocProtectedTag(){return Ie(330)},get createJSDocReadonlyTag(){return we(331)},get updateJSDocReadonlyTag(){return Ie(331)},get createJSDocOverrideTag(){return we(332)},get updateJSDocOverrideTag(){return Ie(332)},get createJSDocDeprecatedTag(){return we(326)},get updateJSDocDeprecatedTag(){return Ie(326)},createJSDocUnknownTag:createJSDocUnknownTag,updateJSDocUnknownTag:updateJSDocUnknownTag,createJSDocText:createJSDocText,updateJSDocText:updateJSDocText,createJSDocComment:createJSDocComment,updateJSDocComment:updateJSDocComment,createJsxElement:createJsxElement,updateJsxElement:updateJsxElement,createJsxSelfClosingElement:createJsxSelfClosingElement,updateJsxSelfClosingElement:updateJsxSelfClosingElement,createJsxOpeningElement:createJsxOpeningElement,updateJsxOpeningElement:updateJsxOpeningElement,createJsxClosingElement:createJsxClosingElement,updateJsxClosingElement:updateJsxClosingElement,createJsxFragment:createJsxFragment,createJsxText:createJsxText,updateJsxText:updateJsxText,createJsxOpeningFragment:createJsxOpeningFragment,createJsxJsxClosingFragment:createJsxJsxClosingFragment,updateJsxFragment:updateJsxFragment,createJsxAttribute:createJsxAttribute,updateJsxAttribute:updateJsxAttribute,createJsxAttributes:createJsxAttributes,updateJsxAttributes:updateJsxAttributes,createJsxSpreadAttribute:createJsxSpreadAttribute,updateJsxSpreadAttribute:updateJsxSpreadAttribute,createJsxExpression:createJsxExpression,updateJsxExpression:updateJsxExpression,createCaseClause:createCaseClause,updateCaseClause:updateCaseClause,createDefaultClause:createDefaultClause,updateDefaultClause:updateDefaultClause,createHeritageClause:createHeritageClause,updateHeritageClause:updateHeritageClause,createCatchClause:createCatchClause,updateCatchClause:updateCatchClause,createPropertyAssignment:createPropertyAssignment,updatePropertyAssignment:updatePropertyAssignment,createShorthandPropertyAssignment:createShorthandPropertyAssignment,updateShorthandPropertyAssignment:updateShorthandPropertyAssignment,createSpreadAssignment:createSpreadAssignment,updateSpreadAssignment:updateSpreadAssignment,createEnumMember:createEnumMember,updateEnumMember:updateEnumMember,createSourceFile:createSourceFile,updateSourceFile:updateSourceFile,createBundle:createBundle,updateBundle:updateBundle,createUnparsedSource:createUnparsedSource,createUnparsedPrologue:createUnparsedPrologue,createUnparsedPrepend:createUnparsedPrepend,createUnparsedTextLike:createUnparsedTextLike,createUnparsedSyntheticReference:createUnparsedSyntheticReference,createInputFiles:createInputFiles,createSyntheticExpression:createSyntheticExpression,createSyntaxList:createSyntaxList,createNotEmittedStatement:createNotEmittedStatement,createPartiallyEmittedExpression:createPartiallyEmittedExpression,updatePartiallyEmittedExpression:updatePartiallyEmittedExpression,createCommaListExpression:createCommaListExpression,updateCommaListExpression:updateCommaListExpression,createEndOfDeclarationMarker:createEndOfDeclarationMarker,createMergeDeclarationMarker:createMergeDeclarationMarker,createSyntheticReferenceExpression:createSyntheticReferenceExpression,updateSyntheticReferenceExpression:updateSyntheticReferenceExpression,cloneNode:cloneNode,get createComma(){return ae(27)},get createAssignment(){return ae(63)},get createLogicalOr(){return ae(56)},get createLogicalAnd(){return ae(55)},get createBitwiseOr(){return ae(51)},get createBitwiseXor(){return ae(52)},get createBitwiseAnd(){return ae(50)},get createStrictEquality(){return ae(36)},get createStrictInequality(){return ae(37)},get createEquality(){return ae(34)},get createInequality(){return ae(35)},get createLessThan(){return ae(29)},get createLessThanEquals(){return ae(32)},get createGreaterThan(){return ae(31)},get createGreaterThanEquals(){return ae(33)},get createLeftShift(){return ae(47)},get createRightShift(){return ae(48)},get createUnsignedRightShift(){return ae(49)},get createAdd(){return ae(39)},get createSubtract(){return ae(40)},get createMultiply(){return ae(41)},get createDivide(){return ae(43)},get createModulo(){return ae(44)},get createExponent(){return ae(42)},get createPrefixPlus(){return ce(39)},get createPrefixMinus(){return ce(40)},get createPrefixIncrement(){return ce(45)},get createPrefixDecrement(){return ce(46)},get createBitwiseNot(){return ce(54)},get createLogicalNot(){return ce(53)},get createPostfixIncrement(){return le(45)},get createPostfixDecrement(){return le(46)},createImmediatelyInvokedFunctionExpression:createImmediatelyInvokedFunctionExpression,createImmediatelyInvokedArrowFunction:createImmediatelyInvokedArrowFunction,createVoidZero:createVoidZero,createExportDefault:createExportDefault,createExternalModuleExport:createExternalModuleExport,createTypeCheck:createTypeCheck,createMethodCall:createMethodCall,createGlobalMethodCall:createGlobalMethodCall,createFunctionBindCall:createFunctionBindCall,createFunctionCallCall:createFunctionCallCall,createFunctionApplyCall:createFunctionApplyCall,createArraySliceCall:createArraySliceCall,createArrayConcatCall:createArrayConcatCall,createObjectDefinePropertyCall:createObjectDefinePropertyCall,createReflectGetCall:createReflectGetCall,createReflectSetCall:createReflectSetCall,createPropertyDescriptor:createPropertyDescriptor,createCallBinding:createCallBinding,createAssignmentTargetWrapper:createAssignmentTargetWrapper,inlineExpressions:inlineExpressions,getInternalName:getInternalName,getLocalName:getLocalName,getExportName:getExportName,getDeclarationName:getDeclarationName,getNamespaceMemberName:getNamespaceMemberName,getExternalModuleOrNamespaceExportName:getExternalModuleOrNamespaceExportName,restoreOuterExpressions:restoreOuterExpressions,restoreEnclosingLabel:restoreEnclosingLabel,createUseStrictPrologue:createUseStrictPrologue,copyPrologue:copyPrologue,copyStandardPrologue:copyStandardPrologue,copyCustomPrologue:copyCustomPrologue,ensureUseStrict:ensureUseStrict,liftToBlock:liftToBlock,mergeLexicalEnvironment:mergeLexicalEnvironment,updateModifiers:updateModifiers};return Le;function createNodeArray(N,R){if(N===undefined||N===E.emptyArray){N=[]}else if(E.isNodeArray(N)){if(R===undefined||N.hasTrailingComma===R){if(N.transformFlags===undefined){aggregateChildrenFlags(N)}E.Debug.attachNodeArrayDebugInfo(N);return N}var j=N.slice();j.pos=N.pos;j.end=N.end;j.hasTrailingComma=R;j.transformFlags=N.transformFlags;E.Debug.attachNodeArrayDebugInfo(j);return j}var $=N.length;var q=$>=1&&$<=4?N.slice():N;E.setTextRangePosEnd(q,-1,-1);q.hasTrailingComma=!!R;aggregateChildrenFlags(q);E.Debug.attachNodeArrayDebugInfo(q);return q}function createBaseNode(E){return $.createBaseNode(E)}function createBaseDeclaration(E,N,R){var j=createBaseNode(E);j.decorators=asNodeArray(N);j.modifiers=asNodeArray(R);j.transformFlags|=propagateChildrenFlags(j.decorators)|propagateChildrenFlags(j.modifiers);j.symbol=undefined;j.localSymbol=undefined;j.locals=undefined;j.nextContainer=undefined;return j}function createBaseNamedDeclaration(N,R,j,$){var q=createBaseDeclaration(N,R,j);$=asName($);q.name=$;if($){switch(q.kind){case 167:case 170:case 171:case 165:case 291:if(E.isIdentifier($)){q.transformFlags|=propagateIdentifierNameFlags($);break}default:q.transformFlags|=propagateChildFlags($);break}}return q}function createBaseGenericNamedDeclaration(E,N,R,j,$){var q=createBaseNamedDeclaration(E,N,R,j);q.typeParameters=asNodeArray($);q.transformFlags|=propagateChildrenFlags(q.typeParameters);if($)q.transformFlags|=1;return q}function createBaseSignatureDeclaration(E,N,R,j,$,q,G){var ie=createBaseGenericNamedDeclaration(E,N,R,j,$);ie.parameters=createNodeArray(q);ie.type=G;ie.transformFlags|=propagateChildrenFlags(ie.parameters)|propagateChildFlags(ie.type);if(G)ie.transformFlags|=1;return ie}function updateBaseSignatureDeclaration(E,N){if(N.typeArguments)E.typeArguments=N.typeArguments;return q(E,N)}function createBaseFunctionLikeDeclaration(E,N,R,j,$,q,G,ie){var ae=createBaseSignatureDeclaration(E,N,R,j,$,q,G);ae.body=ie;ae.transformFlags|=propagateChildFlags(ae.body)&~16777216;if(!ie)ae.transformFlags|=1;return ae}function updateBaseFunctionLikeDeclaration(E,N){if(N.exclamationToken)E.exclamationToken=N.exclamationToken;if(N.typeArguments)E.typeArguments=N.typeArguments;return updateBaseSignatureDeclaration(E,N)}function createBaseInterfaceOrClassLikeDeclaration(E,N,R,j,$,q){var G=createBaseGenericNamedDeclaration(E,N,R,j,$);G.heritageClauses=asNodeArray(q);G.transformFlags|=propagateChildrenFlags(G.heritageClauses);return G}function createBaseClassLikeDeclaration(E,N,R,j,$,q,G){var ie=createBaseInterfaceOrClassLikeDeclaration(E,N,R,j,$,q);ie.members=createNodeArray(G);ie.transformFlags|=propagateChildrenFlags(ie.members);return ie}function createBaseBindingLikeDeclaration(E,N,R,j,$){var q=createBaseNamedDeclaration(E,N,R,j);q.initializer=$;q.transformFlags|=propagateChildFlags(q.initializer);return q}function createBaseVariableLikeDeclaration(E,N,R,j,$,q){var G=createBaseBindingLikeDeclaration(E,N,R,j,q);G.type=$;G.transformFlags|=propagateChildFlags($);if($)G.transformFlags|=1;return G}function createBaseLiteral(E,N){var R=createBaseToken(E);R.text=N;return R}function createNumericLiteral(E,N){if(N===void 0){N=0}var R=createBaseLiteral(8,typeof E==="number"?E+"":E);R.numericLiteralFlags=N;if(N&384)R.transformFlags|=512;return R}function createBigIntLiteral(N){var R=createBaseLiteral(9,typeof N==="string"?N:E.pseudoBigIntToString(N)+"n");R.transformFlags|=4;return R}function createBaseStringLiteral(E,N){var R=createBaseLiteral(10,E);R.singleQuote=N;return R}function createStringLiteral(E,N,R){var j=createBaseStringLiteral(E,N);j.hasExtendedUnicodeEscape=R;if(R)j.transformFlags|=512;return j}function createStringLiteralFromNode(N){var R=createBaseStringLiteral(E.getTextOfIdentifierOrLiteral(N),undefined);R.textSourceNode=N;return R}function createRegularExpressionLiteral(E){var N=createBaseLiteral(13,E);return N}function createLiteralLikeNode(E,N){switch(E){case 8:return createNumericLiteral(N,0);case 9:return createBigIntLiteral(N);case 10:return createStringLiteral(N,undefined);case 11:return createJsxText(N,false);case 12:return createJsxText(N,true);case 13:return createRegularExpressionLiteral(N);case 14:return createTemplateLiteralLikeNode(E,N,undefined,0)}}function createBaseIdentifier(N,R){if(R===undefined&&N){R=E.stringToToken(N)}if(R===79){R=undefined}var j=$.createBaseIdentifierNode(79);j.originalKeywordKind=R;j.escapedText=E.escapeLeadingUnderscores(N);return j}function createBaseGeneratedIdentifier(E,R){var j=createBaseIdentifier(E,undefined);j.autoGenerateFlags=R;j.autoGenerateId=N;N++;return j}function createIdentifier(E,N,R){var j=createBaseIdentifier(E,R);if(N){j.typeArguments=createNodeArray(N)}if(j.originalKeywordKind===131){j.transformFlags|=16777216}return j}function updateIdentifier(N,R){return N.typeArguments!==R?q(createIdentifier(E.idText(N),R),N):N}function createTempVariable(E,N){var R=1;if(N)R|=8;var j=createBaseGeneratedIdentifier("",R);if(E){E(j)}return j}function createLoopVariable(E){var N=2;if(E)N|=8;return createBaseGeneratedIdentifier("",N)}function createUniqueName(N,R){if(R===void 0){R=0}E.Debug.assert(!(R&7),"Argument out of range: flags");E.Debug.assert((R&(16|32))!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic");return createBaseGeneratedIdentifier(N,3|R)}function getGeneratedNameForNode(N,R){if(R===void 0){R=0}E.Debug.assert(!(R&7),"Argument out of range: flags");var j=createBaseGeneratedIdentifier(N&&E.isIdentifier(N)?E.idText(N):"",4|R);j.original=N;return j}function createPrivateIdentifier(N){if(!E.startsWith(N,"#"))E.Debug.fail("First character of private identifier must be #: "+N);var R=$.createBasePrivateIdentifierNode(80);R.escapedText=E.escapeLeadingUnderscores(N);R.transformFlags|=8388608;return R}function createBaseToken(E){return $.createBaseTokenNode(E)}function createToken(N){E.Debug.assert(N>=0&&N<=158,"Invalid token");E.Debug.assert(N<=14||N>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.");E.Debug.assert(N<=8||N>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals.");E.Debug.assert(N!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var R=createBaseToken(N);var j=0;switch(N){case 130:j=128|64;break;case 123:case 121:case 122:case 143:case 126:case 134:case 85:case 129:case 145:case 156:case 142:case 146:case 157:case 148:case 132:case 149:case 114:case 153:case 151:j=1;break;case 106:j=512|33554432;break;case 124:j=512;break;case 108:j=8192;break}if(j){R.transformFlags|=j}return R}function createSuper(){return createToken(106)}function createThis(){return createToken(108)}function createNull(){return createToken(104)}function createTrue(){return createToken(110)}function createFalse(){return createToken(95)}function createModifier(E){return createToken(E)}function createModifiersFromModifierFlags(E){var N=[];if(E&1){N.push(createModifier(93))}if(E&2){N.push(createModifier(134))}if(E&512){N.push(createModifier(88))}if(E&2048){N.push(createModifier(85))}if(E&4){N.push(createModifier(123))}if(E&8){N.push(createModifier(121))}if(E&16){N.push(createModifier(122))}if(E&128){N.push(createModifier(126))}if(E&32){N.push(createModifier(124))}if(E&16384){N.push(createModifier(157))}if(E&64){N.push(createModifier(143))}if(E&256){N.push(createModifier(130))}return N}function createQualifiedName(E,N){var R=createBaseNode(159);R.left=E;R.right=asName(N);R.transformFlags|=propagateChildFlags(R.left)|propagateIdentifierNameFlags(R.right);return R}function updateQualifiedName(E,N,R){return E.left!==N||E.right!==R?q(createQualifiedName(N,R),E):E}function createComputedPropertyName(E){var N=createBaseNode(160);N.expression=G().parenthesizeExpressionOfComputedPropertyName(E);N.transformFlags|=propagateChildFlags(N.expression)|512|65536;return N}function updateComputedPropertyName(E,N){return E.expression!==N?q(createComputedPropertyName(N),E):E}function createTypeParameterDeclaration(E,N,R){var j=createBaseNamedDeclaration(161,undefined,undefined,E);j.constraint=N;j.default=R;j.transformFlags=1;return j}function updateTypeParameterDeclaration(E,N,R,j){return E.name!==N||E.constraint!==R||E.default!==j?q(createTypeParameterDeclaration(N,R,j),E):E}function createParameterDeclaration(N,R,j,$,q,ie,ae){var ce=createBaseVariableLikeDeclaration(162,N,R,$,ie,ae&&G().parenthesizeExpressionForDisallowedComma(ae));ce.dotDotDotToken=j;ce.questionToken=q;if(E.isThisIdentifier(ce.name)){ce.transformFlags=1}else{ce.transformFlags|=propagateChildFlags(ce.dotDotDotToken)|propagateChildFlags(ce.questionToken);if(q)ce.transformFlags|=1;if(E.modifiersToFlags(ce.modifiers)&16476)ce.transformFlags|=4096;if(ae||j)ce.transformFlags|=512}return ce}function updateParameterDeclaration(E,N,R,j,$,G,ie,ae){return E.decorators!==N||E.modifiers!==R||E.dotDotDotToken!==j||E.name!==$||E.questionToken!==G||E.type!==ie||E.initializer!==ae?q(createParameterDeclaration(N,R,j,$,G,ie,ae),E):E}function createDecorator(E){var N=createBaseNode(163);N.expression=G().parenthesizeLeftSideOfAccess(E);N.transformFlags|=propagateChildFlags(N.expression)|1|4096;return N}function updateDecorator(E,N){return E.expression!==N?q(createDecorator(N),E):E}function createPropertySignature(E,N,R,j){var $=createBaseNamedDeclaration(164,undefined,E,N);$.type=j;$.questionToken=R;$.transformFlags=1;return $}function updatePropertySignature(E,N,R,j,$){return E.modifiers!==N||E.name!==R||E.questionToken!==j||E.type!==$?q(createPropertySignature(N,R,j,$),E):E}function createPropertyDeclaration(N,R,j,$,q,G){var ie=createBaseVariableLikeDeclaration(165,N,R,j,q,G);ie.questionToken=$&&E.isQuestionToken($)?$:undefined;ie.exclamationToken=$&&E.isExclamationToken($)?$:undefined;ie.transformFlags|=propagateChildFlags(ie.questionToken)|propagateChildFlags(ie.exclamationToken)|8388608;if(E.isComputedPropertyName(ie.name)||E.hasStaticModifier(ie)&&ie.initializer){ie.transformFlags|=4096}if($||E.modifiersToFlags(ie.modifiers)&2){ie.transformFlags|=1}return ie}function updatePropertyDeclaration(N,R,j,$,G,ie,ae){return N.decorators!==R||N.modifiers!==j||N.name!==$||N.questionToken!==(G!==undefined&&E.isQuestionToken(G)?G:undefined)||N.exclamationToken!==(G!==undefined&&E.isExclamationToken(G)?G:undefined)||N.type!==ie||N.initializer!==ae?q(createPropertyDeclaration(R,j,$,G,ie,ae),N):N}function createMethodSignature(E,N,R,j,$,q){var G=createBaseSignatureDeclaration(166,undefined,E,N,j,$,q);G.questionToken=R;G.transformFlags=1;return G}function updateMethodSignature(E,N,R,j,$,q,G){return E.modifiers!==N||E.name!==R||E.questionToken!==j||E.typeParameters!==$||E.parameters!==q||E.type!==G?updateBaseSignatureDeclaration(createMethodSignature(N,R,j,$,q,G),E):E}function createMethodDeclaration(N,R,j,$,q,G,ie,ae,ce){var le=createBaseFunctionLikeDeclaration(167,N,R,$,G,ie,ae,ce);le.asteriskToken=j;le.questionToken=q;le.transformFlags|=propagateChildFlags(le.asteriskToken)|propagateChildFlags(le.questionToken)|512;if(q){le.transformFlags|=1}if(E.modifiersToFlags(le.modifiers)&256){if(j){le.transformFlags|=64}else{le.transformFlags|=128}}else if(j){le.transformFlags|=1024}return le}function updateMethodDeclaration(E,N,R,j,$,q,G,ie,ae,ce){return E.decorators!==N||E.modifiers!==R||E.asteriskToken!==j||E.name!==$||E.questionToken!==q||E.typeParameters!==G||E.parameters!==ie||E.type!==ae||E.body!==ce?updateBaseFunctionLikeDeclaration(createMethodDeclaration(N,R,j,$,q,G,ie,ae,ce),E):E}function createClassStaticBlockDeclaration(E,N,R){var j=createBaseGenericNamedDeclaration(168,E,N,undefined,undefined);j.body=R;j.transformFlags=propagateChildFlags(R)|8388608;return j}function updateClassStaticBlockDeclaration(E,N,R,j){return E.decorators!==N||E.modifier!==R||E.body!==j?q(createClassStaticBlockDeclaration(N,R,j),E):E}function createConstructorDeclaration(E,N,R,j){var $=createBaseFunctionLikeDeclaration(169,E,N,undefined,undefined,R,undefined,j);$.transformFlags|=512;return $}function updateConstructorDeclaration(E,N,R,j,$){return E.decorators!==N||E.modifiers!==R||E.parameters!==j||E.body!==$?updateBaseFunctionLikeDeclaration(createConstructorDeclaration(N,R,j,$),E):E}function createGetAccessorDeclaration(E,N,R,j,$,q){return createBaseFunctionLikeDeclaration(170,E,N,R,undefined,j,$,q)}function updateGetAccessorDeclaration(E,N,R,j,$,q,G){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.parameters!==$||E.type!==q||E.body!==G?updateBaseFunctionLikeDeclaration(createGetAccessorDeclaration(N,R,j,$,q,G),E):E}function createSetAccessorDeclaration(E,N,R,j,$){return createBaseFunctionLikeDeclaration(171,E,N,R,undefined,j,undefined,$)}function updateSetAccessorDeclaration(E,N,R,j,$,q){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.parameters!==$||E.body!==q?updateBaseFunctionLikeDeclaration(createSetAccessorDeclaration(N,R,j,$,q),E):E}function createCallSignature(E,N,R){var j=createBaseSignatureDeclaration(172,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateCallSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createCallSignature(N,R,j),E):E}function createConstructSignature(E,N,R){var j=createBaseSignatureDeclaration(173,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateConstructSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createConstructSignature(N,R,j),E):E}function createIndexSignature(E,N,R,j){var $=createBaseSignatureDeclaration(174,E,N,undefined,undefined,R,j);$.transformFlags=1;return $}function updateIndexSignature(E,N,R,j,$){return E.parameters!==j||E.type!==$||E.decorators!==N||E.modifiers!==R?updateBaseSignatureDeclaration(createIndexSignature(N,R,j,$),E):E}function createTemplateLiteralTypeSpan(E,N){var R=createBaseNode(197);R.type=E;R.literal=N;R.transformFlags=1;return R}function updateTemplateLiteralTypeSpan(E,N,R){return E.type!==N||E.literal!==R?q(createTemplateLiteralTypeSpan(N,R),E):E}function createKeywordTypeNode(E){return createToken(E)}function createTypePredicateNode(E,N,R){var j=createBaseNode(175);j.assertsModifier=E;j.parameterName=asName(N);j.type=R;j.transformFlags=1;return j}function updateTypePredicateNode(E,N,R,j){return E.assertsModifier!==N||E.parameterName!==R||E.type!==j?q(createTypePredicateNode(N,R,j),E):E}function createTypeReferenceNode(E,N){var R=createBaseNode(176);R.typeName=asName(E);R.typeArguments=N&&G().parenthesizeTypeArguments(createNodeArray(N));R.transformFlags=1;return R}function updateTypeReferenceNode(E,N,R){return E.typeName!==N||E.typeArguments!==R?q(createTypeReferenceNode(N,R),E):E}function createFunctionTypeNode(E,N,R){var j=createBaseSignatureDeclaration(177,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateFunctionTypeNode(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createFunctionTypeNode(N,R,j),E):E}function createConstructorTypeNode(){var N=[];for(var R=0;R<arguments.length;R++){N[R]=arguments[R]}return N.length===4?createConstructorTypeNode1.apply(void 0,N):N.length===3?createConstructorTypeNode2.apply(void 0,N):E.Debug.fail("Incorrect number of arguments specified.")}function createConstructorTypeNode1(E,N,R,j){var $=createBaseSignatureDeclaration(178,undefined,E,undefined,N,R,j);$.transformFlags=1;return $}function createConstructorTypeNode2(E,N,R){return createConstructorTypeNode1(undefined,E,N,R)}function updateConstructorTypeNode(){var N=[];for(var R=0;R<arguments.length;R++){N[R]=arguments[R]}return N.length===5?updateConstructorTypeNode1.apply(void 0,N):N.length===4?updateConstructorTypeNode2.apply(void 0,N):E.Debug.fail("Incorrect number of arguments specified.")}function updateConstructorTypeNode1(E,N,R,j,$){return E.modifiers!==N||E.typeParameters!==R||E.parameters!==j||E.type!==$?updateBaseSignatureDeclaration(createConstructorTypeNode(N,R,j,$),E):E}function updateConstructorTypeNode2(E,N,R,j){return updateConstructorTypeNode1(E,E.modifiers,N,R,j)}function createTypeQueryNode(E){var N=createBaseNode(179);N.exprName=E;N.transformFlags=1;return N}function updateTypeQueryNode(E,N){return E.exprName!==N?q(createTypeQueryNode(N),E):E}function createTypeLiteralNode(E){var N=createBaseNode(180);N.members=createNodeArray(E);N.transformFlags=1;return N}function updateTypeLiteralNode(E,N){return E.members!==N?q(createTypeLiteralNode(N),E):E}function createArrayTypeNode(E){var N=createBaseNode(181);N.elementType=G().parenthesizeElementTypeOfArrayType(E);N.transformFlags=1;return N}function updateArrayTypeNode(E,N){return E.elementType!==N?q(createArrayTypeNode(N),E):E}function createTupleTypeNode(E){var N=createBaseNode(182);N.elements=createNodeArray(E);N.transformFlags=1;return N}function updateTupleTypeNode(E,N){return E.elements!==N?q(createTupleTypeNode(N),E):E}function createNamedTupleMember(E,N,R,j){var $=createBaseNode(195);$.dotDotDotToken=E;$.name=N;$.questionToken=R;$.type=j;$.transformFlags=1;return $}function updateNamedTupleMember(E,N,R,j,$){return E.dotDotDotToken!==N||E.name!==R||E.questionToken!==j||E.type!==$?q(createNamedTupleMember(N,R,j,$),E):E}function createOptionalTypeNode(E){var N=createBaseNode(183);N.type=G().parenthesizeElementTypeOfArrayType(E);N.transformFlags=1;return N}function updateOptionalTypeNode(E,N){return E.type!==N?q(createOptionalTypeNode(N),E):E}function createRestTypeNode(E){var N=createBaseNode(184);N.type=E;N.transformFlags=1;return N}function updateRestTypeNode(E,N){return E.type!==N?q(createRestTypeNode(N),E):E}function createUnionOrIntersectionTypeNode(E,N){var R=createBaseNode(E);R.types=G().parenthesizeConstituentTypesOfUnionOrIntersectionType(N);R.transformFlags=1;return R}function updateUnionOrIntersectionTypeNode(E,N){return E.types!==N?q(createUnionOrIntersectionTypeNode(E.kind,N),E):E}function createUnionTypeNode(E){return createUnionOrIntersectionTypeNode(185,E)}function updateUnionTypeNode(E,N){return updateUnionOrIntersectionTypeNode(E,N)}function createIntersectionTypeNode(E){return createUnionOrIntersectionTypeNode(186,E)}function updateIntersectionTypeNode(E,N){return updateUnionOrIntersectionTypeNode(E,N)}function createConditionalTypeNode(E,N,R,j){var $=createBaseNode(187);$.checkType=G().parenthesizeMemberOfConditionalType(E);$.extendsType=G().parenthesizeMemberOfConditionalType(N);$.trueType=R;$.falseType=j;$.transformFlags=1;return $}function updateConditionalTypeNode(E,N,R,j,$){return E.checkType!==N||E.extendsType!==R||E.trueType!==j||E.falseType!==$?q(createConditionalTypeNode(N,R,j,$),E):E}function createInferTypeNode(E){var N=createBaseNode(188);N.typeParameter=E;N.transformFlags=1;return N}function updateInferTypeNode(E,N){return E.typeParameter!==N?q(createInferTypeNode(N),E):E}function createTemplateLiteralType(E,N){var R=createBaseNode(196);R.head=E;R.templateSpans=createNodeArray(N);R.transformFlags=1;return R}function updateTemplateLiteralType(E,N,R){return E.head!==N||E.templateSpans!==R?q(createTemplateLiteralType(N,R),E):E}function createImportTypeNode(E,N,R,j){if(j===void 0){j=false}var $=createBaseNode(198);$.argument=E;$.qualifier=N;$.typeArguments=R&&G().parenthesizeTypeArguments(R);$.isTypeOf=j;$.transformFlags=1;return $}function updateImportTypeNode(E,N,R,j,$){if($===void 0){$=E.isTypeOf}return E.argument!==N||E.qualifier!==R||E.typeArguments!==j||E.isTypeOf!==$?q(createImportTypeNode(N,R,j,$),E):E}function createParenthesizedType(E){var N=createBaseNode(189);N.type=E;N.transformFlags=1;return N}function updateParenthesizedType(E,N){return E.type!==N?q(createParenthesizedType(N),E):E}function createThisTypeNode(){var E=createBaseNode(190);E.transformFlags=1;return E}function createTypeOperatorNode(E,N){var R=createBaseNode(191);R.operator=E;R.type=G().parenthesizeMemberOfElementType(N);R.transformFlags=1;return R}function updateTypeOperatorNode(E,N){return E.type!==N?q(createTypeOperatorNode(E.operator,N),E):E}function createIndexedAccessTypeNode(E,N){var R=createBaseNode(192);R.objectType=G().parenthesizeMemberOfElementType(E);R.indexType=N;R.transformFlags=1;return R}function updateIndexedAccessTypeNode(E,N,R){return E.objectType!==N||E.indexType!==R?q(createIndexedAccessTypeNode(N,R),E):E}function createMappedTypeNode(E,N,R,j,$){var q=createBaseNode(193);q.readonlyToken=E;q.typeParameter=N;q.nameType=R;q.questionToken=j;q.type=$;q.transformFlags=1;return q}function updateMappedTypeNode(E,N,R,j,$,G){return E.readonlyToken!==N||E.typeParameter!==R||E.nameType!==j||E.questionToken!==$||E.type!==G?q(createMappedTypeNode(N,R,j,$,G),E):E}function createLiteralTypeNode(E){var N=createBaseNode(194);N.literal=E;N.transformFlags=1;return N}function updateLiteralTypeNode(E,N){return E.literal!==N?q(createLiteralTypeNode(N),E):E}function createObjectBindingPattern(E){var N=createBaseNode(199);N.elements=createNodeArray(E);N.transformFlags|=propagateChildrenFlags(N.elements)|512|262144;if(N.transformFlags&16384){N.transformFlags|=64|32768}return N}function updateObjectBindingPattern(E,N){return E.elements!==N?q(createObjectBindingPattern(N),E):E}function createArrayBindingPattern(E){var N=createBaseNode(200);N.elements=createNodeArray(E);N.transformFlags|=propagateChildrenFlags(N.elements)|512|262144;return N}function updateArrayBindingPattern(E,N){return E.elements!==N?q(createArrayBindingPattern(N),E):E}function createBindingElement(N,R,j,$){var q=createBaseBindingLikeDeclaration(201,undefined,undefined,j,$&&G().parenthesizeExpressionForDisallowedComma($));q.propertyName=asName(R);q.dotDotDotToken=N;q.transformFlags|=propagateChildFlags(q.dotDotDotToken)|512;if(q.propertyName){q.transformFlags|=E.isIdentifier(q.propertyName)?propagateIdentifierNameFlags(q.propertyName):propagateChildFlags(q.propertyName)}if(N)q.transformFlags|=16384;return q}function updateBindingElement(E,N,R,j,$){return E.propertyName!==R||E.dotDotDotToken!==N||E.name!==j||E.initializer!==$?q(createBindingElement(N,R,j,$),E):E}function createBaseExpression(E){var N=createBaseNode(E);return N}function createArrayLiteralExpression(N,R){var j=createBaseExpression(202);var $=N&&E.lastOrUndefined(N);var q=createNodeArray(N,$&&E.isOmittedExpression($)?true:undefined);j.elements=G().parenthesizeExpressionsOfCommaDelimitedList(q);j.multiLine=R;j.transformFlags|=propagateChildrenFlags(j.elements);return j}function updateArrayLiteralExpression(E,N){return E.elements!==N?q(createArrayLiteralExpression(N,E.multiLine),E):E}function createObjectLiteralExpression(E,N){var R=createBaseExpression(203);R.properties=createNodeArray(E);R.multiLine=N;R.transformFlags|=propagateChildrenFlags(R.properties);return R}function updateObjectLiteralExpression(E,N){return E.properties!==N?q(createObjectLiteralExpression(N,E.multiLine),E):E}function createPropertyAccessExpression(N,R){var j=createBaseExpression(204);j.expression=G().parenthesizeLeftSideOfAccess(N);j.name=asName(R);j.transformFlags=propagateChildFlags(j.expression)|(E.isIdentifier(j.name)?propagateIdentifierNameFlags(j.name):propagateChildFlags(j.name));if(E.isSuperKeyword(N)){j.transformFlags|=128|64}return j}function updatePropertyAccessExpression(N,R,j){if(E.isPropertyAccessChain(N)){return updatePropertyAccessChain(N,R,N.questionDotToken,E.cast(j,E.isIdentifier))}return N.expression!==R||N.name!==j?q(createPropertyAccessExpression(R,j),N):N}function createPropertyAccessChain(N,R,j){var $=createBaseExpression(204);$.flags|=32;$.expression=G().parenthesizeLeftSideOfAccess(N);$.questionDotToken=R;$.name=asName(j);$.transformFlags|=16|propagateChildFlags($.expression)|propagateChildFlags($.questionDotToken)|(E.isIdentifier($.name)?propagateIdentifierNameFlags($.name):propagateChildFlags($.name));return $}function updatePropertyAccessChain(N,R,j,$){E.Debug.assert(!!(N.flags&32),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead.");return N.expression!==R||N.questionDotToken!==j||N.name!==$?q(createPropertyAccessChain(R,j,$),N):N}function createElementAccessExpression(N,R){var j=createBaseExpression(205);j.expression=G().parenthesizeLeftSideOfAccess(N);j.argumentExpression=asExpression(R);j.transformFlags|=propagateChildFlags(j.expression)|propagateChildFlags(j.argumentExpression);if(E.isSuperKeyword(N)){j.transformFlags|=128|64}return j}function updateElementAccessExpression(N,R,j){if(E.isElementAccessChain(N)){return updateElementAccessChain(N,R,N.questionDotToken,j)}return N.expression!==R||N.argumentExpression!==j?q(createElementAccessExpression(R,j),N):N}function createElementAccessChain(E,N,R){var j=createBaseExpression(205);j.flags|=32;j.expression=G().parenthesizeLeftSideOfAccess(E);j.questionDotToken=N;j.argumentExpression=asExpression(R);j.transformFlags|=propagateChildFlags(j.expression)|propagateChildFlags(j.questionDotToken)|propagateChildFlags(j.argumentExpression)|16;return j}function updateElementAccessChain(N,R,j,$){E.Debug.assert(!!(N.flags&32),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead.");return N.expression!==R||N.questionDotToken!==j||N.argumentExpression!==$?q(createElementAccessChain(R,j,$),N):N}function createCallExpression(N,R,j){var $=createBaseExpression(206);$.expression=G().parenthesizeLeftSideOfAccess(N);$.typeArguments=asNodeArray(R);$.arguments=G().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray(j));$.transformFlags|=propagateChildFlags($.expression)|propagateChildrenFlags($.typeArguments)|propagateChildrenFlags($.arguments);if($.typeArguments){$.transformFlags|=1}if(E.isImportKeyword($.expression)){$.transformFlags|=4194304}else if(E.isSuperProperty($.expression)){$.transformFlags|=8192}return $}function updateCallExpression(N,R,j,$){if(E.isCallChain(N)){return updateCallChain(N,R,N.questionDotToken,j,$)}return N.expression!==R||N.typeArguments!==j||N.arguments!==$?q(createCallExpression(R,j,$),N):N}function createCallChain(N,R,j,$){var q=createBaseExpression(206);q.flags|=32;q.expression=G().parenthesizeLeftSideOfAccess(N);q.questionDotToken=R;q.typeArguments=asNodeArray(j);q.arguments=G().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray($));q.transformFlags|=propagateChildFlags(q.expression)|propagateChildFlags(q.questionDotToken)|propagateChildrenFlags(q.typeArguments)|propagateChildrenFlags(q.arguments)|16;if(q.typeArguments){q.transformFlags|=1}if(E.isSuperProperty(q.expression)){q.transformFlags|=8192}return q}function updateCallChain(N,R,j,$,G){E.Debug.assert(!!(N.flags&32),"Cannot update a CallExpression using updateCallChain. Use updateCall instead.");return N.expression!==R||N.questionDotToken!==j||N.typeArguments!==$||N.arguments!==G?q(createCallChain(R,j,$,G),N):N}function createNewExpression(E,N,R){var j=createBaseExpression(207);j.expression=G().parenthesizeExpressionOfNew(E);j.typeArguments=asNodeArray(N);j.arguments=R?G().parenthesizeExpressionsOfCommaDelimitedList(R):undefined;j.transformFlags|=propagateChildFlags(j.expression)|propagateChildrenFlags(j.typeArguments)|propagateChildrenFlags(j.arguments)|16;if(j.typeArguments){j.transformFlags|=1}return j}function updateNewExpression(E,N,R,j){return E.expression!==N||E.typeArguments!==R||E.arguments!==j?q(createNewExpression(N,R,j),E):E}function createTaggedTemplateExpression(N,R,j){var $=createBaseExpression(208);$.tag=G().parenthesizeLeftSideOfAccess(N);$.typeArguments=asNodeArray(R);$.template=j;$.transformFlags|=propagateChildFlags($.tag)|propagateChildrenFlags($.typeArguments)|propagateChildFlags($.template)|512;if($.typeArguments){$.transformFlags|=1}if(E.hasInvalidEscape($.template)){$.transformFlags|=64}return $}function updateTaggedTemplateExpression(E,N,R,j){return E.tag!==N||E.typeArguments!==R||E.template!==j?q(createTaggedTemplateExpression(N,R,j),E):E}function createTypeAssertion(E,N){var R=createBaseExpression(209);R.expression=G().parenthesizeOperandOfPrefixUnary(N);R.type=E;R.transformFlags|=propagateChildFlags(R.expression)|propagateChildFlags(R.type)|1;return R}function updateTypeAssertion(E,N,R){return E.type!==N||E.expression!==R?q(createTypeAssertion(N,R),E):E}function createParenthesizedExpression(E){var N=createBaseExpression(210);N.expression=E;N.transformFlags=propagateChildFlags(N.expression);return N}function updateParenthesizedExpression(E,N){return E.expression!==N?q(createParenthesizedExpression(N),E):E}function createFunctionExpression(N,R,j,$,q,G,ie){var ae=createBaseFunctionLikeDeclaration(211,undefined,N,j,$,q,G,ie);ae.asteriskToken=R;ae.transformFlags|=propagateChildFlags(ae.asteriskToken);if(ae.typeParameters){ae.transformFlags|=1}if(E.modifiersToFlags(ae.modifiers)&256){if(ae.asteriskToken){ae.transformFlags|=64}else{ae.transformFlags|=128}}else if(ae.asteriskToken){ae.transformFlags|=1024}return ae}function updateFunctionExpression(E,N,R,j,$,q,G,ie){return E.name!==j||E.modifiers!==N||E.asteriskToken!==R||E.typeParameters!==$||E.parameters!==q||E.type!==G||E.body!==ie?updateBaseFunctionLikeDeclaration(createFunctionExpression(N,R,j,$,q,G,ie),E):E}function createArrowFunction(N,R,j,$,q,ie){var ae=createBaseFunctionLikeDeclaration(212,undefined,N,undefined,R,j,$,G().parenthesizeConciseBodyOfArrowFunction(ie));ae.equalsGreaterThanToken=q!==null&&q!==void 0?q:createToken(38);ae.transformFlags|=propagateChildFlags(ae.equalsGreaterThanToken)|512;if(E.modifiersToFlags(ae.modifiers)&256){ae.transformFlags|=128|8192}return ae}function updateArrowFunction(E,N,R,j,$,q,G){return E.modifiers!==N||E.typeParameters!==R||E.parameters!==j||E.type!==$||E.equalsGreaterThanToken!==q||E.body!==G?updateBaseFunctionLikeDeclaration(createArrowFunction(N,R,j,$,q,G),E):E}function createDeleteExpression(E){var N=createBaseExpression(213);N.expression=G().parenthesizeOperandOfPrefixUnary(E);N.transformFlags|=propagateChildFlags(N.expression);return N}function updateDeleteExpression(E,N){return E.expression!==N?q(createDeleteExpression(N),E):E}function createTypeOfExpression(E){var N=createBaseExpression(214);N.expression=G().parenthesizeOperandOfPrefixUnary(E);N.transformFlags|=propagateChildFlags(N.expression);return N}function updateTypeOfExpression(E,N){return E.expression!==N?q(createTypeOfExpression(N),E):E}function createVoidExpression(E){var N=createBaseExpression(215);N.expression=G().parenthesizeOperandOfPrefixUnary(E);N.transformFlags|=propagateChildFlags(N.expression);return N}function updateVoidExpression(E,N){return E.expression!==N?q(createVoidExpression(N),E):E}function createAwaitExpression(E){var N=createBaseExpression(216);N.expression=G().parenthesizeOperandOfPrefixUnary(E);N.transformFlags|=propagateChildFlags(N.expression)|128|64|1048576;return N}function updateAwaitExpression(E,N){return E.expression!==N?q(createAwaitExpression(N),E):E}function createPrefixUnaryExpression(N,R){var j=createBaseExpression(217);j.operator=N;j.operand=G().parenthesizeOperandOfPrefixUnary(R);j.transformFlags|=propagateChildFlags(j.operand);if((N===45||N===46)&&E.isIdentifier(j.operand)&&!E.isGeneratedIdentifier(j.operand)&&!E.isLocalName(j.operand)){j.transformFlags|=67108864}return j}function updatePrefixUnaryExpression(E,N){return E.operand!==N?q(createPrefixUnaryExpression(E.operator,N),E):E}function createPostfixUnaryExpression(N,R){var j=createBaseExpression(218);j.operator=R;j.operand=G().parenthesizeOperandOfPostfixUnary(N);j.transformFlags|=propagateChildFlags(j.operand);if(E.isIdentifier(j.operand)&&!E.isGeneratedIdentifier(j.operand)&&!E.isLocalName(j.operand)){j.transformFlags|=67108864}return j}function updatePostfixUnaryExpression(E,N){return E.operand!==N?q(createPostfixUnaryExpression(N,E.operator),E):E}function createBinaryExpression(N,R,j){var $=createBaseExpression(219);var q=asToken(R);var ie=q.kind;$.left=G().parenthesizeLeftSideOfBinary(ie,N);$.operatorToken=q;$.right=G().parenthesizeRightSideOfBinary(ie,$.left,j);$.transformFlags|=propagateChildFlags($.left)|propagateChildFlags($.operatorToken)|propagateChildFlags($.right);if(ie===60){$.transformFlags|=16}else if(ie===63){if(E.isObjectLiteralExpression($.left)){$.transformFlags|=512|64|2048|propagateAssignmentPatternFlags($.left)}else if(E.isArrayLiteralExpression($.left)){$.transformFlags|=512|2048|propagateAssignmentPatternFlags($.left)}}else if(ie===42||ie===67){$.transformFlags|=256}else if(E.isLogicalOrCoalescingAssignmentOperator(ie)){$.transformFlags|=8}return $}function propagateAssignmentPatternFlags(N){if(N.transformFlags&32768)return 32768;if(N.transformFlags&64){for(var R=0,j=E.getElementsOfBindingOrAssignmentPattern(N);R<j.length;R++){var $=j[R];var q=E.getTargetOfBindingOrAssignmentElement($);if(q&&E.isAssignmentPattern(q)){if(q.transformFlags&32768){return 32768}if(q.transformFlags&64){var G=propagateAssignmentPatternFlags(q);if(G)return G}}}}return 0}function updateBinaryExpression(E,N,R,j){return E.left!==N||E.operatorToken!==R||E.right!==j?q(createBinaryExpression(N,R,j),E):E}function createConditionalExpression(E,N,R,j,$){var q=createBaseExpression(220);q.condition=G().parenthesizeConditionOfConditionalExpression(E);q.questionToken=N!==null&&N!==void 0?N:createToken(57);q.whenTrue=G().parenthesizeBranchOfConditionalExpression(R);q.colonToken=j!==null&&j!==void 0?j:createToken(58);q.whenFalse=G().parenthesizeBranchOfConditionalExpression($);q.transformFlags|=propagateChildFlags(q.condition)|propagateChildFlags(q.questionToken)|propagateChildFlags(q.whenTrue)|propagateChildFlags(q.colonToken)|propagateChildFlags(q.whenFalse);return q}function updateConditionalExpression(E,N,R,j,$,G){return E.condition!==N||E.questionToken!==R||E.whenTrue!==j||E.colonToken!==$||E.whenFalse!==G?q(createConditionalExpression(N,R,j,$,G),E):E}function createTemplateExpression(E,N){var R=createBaseExpression(221);R.head=E;R.templateSpans=createNodeArray(N);R.transformFlags|=propagateChildFlags(R.head)|propagateChildrenFlags(R.templateSpans)|512;return R}function updateTemplateExpression(E,N,R){return E.head!==N||E.templateSpans!==R?q(createTemplateExpression(N,R),E):E}function createTemplateLiteralLikeNodeChecked(N,R,j,$){if($===void 0){$=0}E.Debug.assert(!($&~2048),"Unsupported template flags.");var q=undefined;if(j!==undefined&&j!==R){q=getCookedText(N,j);if(typeof q==="object"){return E.Debug.fail("Invalid raw text")}}if(R===undefined){if(q===undefined){return E.Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.")}R=q}else if(q!==undefined){E.Debug.assert(R===q,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.")}return createTemplateLiteralLikeNode(N,R,j,$)}function createTemplateLiteralLikeNode(E,N,R,j){var $=createBaseToken(E);$.text=N;$.rawText=R;$.templateFlags=j&2048;$.transformFlags|=512;if($.templateFlags){$.transformFlags|=64}return $}function createTemplateHead(E,N,R){return createTemplateLiteralLikeNodeChecked(15,E,N,R)}function createTemplateMiddle(E,N,R){return createTemplateLiteralLikeNodeChecked(16,E,N,R)}function createTemplateTail(E,N,R){return createTemplateLiteralLikeNodeChecked(17,E,N,R)}function createNoSubstitutionTemplateLiteral(E,N,R){return createTemplateLiteralLikeNodeChecked(14,E,N,R)}function createYieldExpression(N,R){E.Debug.assert(!N||!!R,"A `YieldExpression` with an asteriskToken must have an expression.");var j=createBaseExpression(222);j.expression=R&&G().parenthesizeExpressionForDisallowedComma(R);j.asteriskToken=N;j.transformFlags|=propagateChildFlags(j.expression)|propagateChildFlags(j.asteriskToken)|512|64|524288;return j}function updateYieldExpression(E,N,R){return E.expression!==R||E.asteriskToken!==N?q(createYieldExpression(N,R),E):E}function createSpreadElement(E){var N=createBaseExpression(223);N.expression=G().parenthesizeExpressionForDisallowedComma(E);N.transformFlags|=propagateChildFlags(N.expression)|512|16384;return N}function updateSpreadElement(E,N){return E.expression!==N?q(createSpreadElement(N),E):E}function createClassExpression(E,N,R,j,$,q){var G=createBaseClassLikeDeclaration(224,E,N,R,j,$,q);G.transformFlags|=512;return G}function updateClassExpression(E,N,R,j,$,G,ie){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.typeParameters!==$||E.heritageClauses!==G||E.members!==ie?q(createClassExpression(N,R,j,$,G,ie),E):E}function createOmittedExpression(){return createBaseExpression(225)}function createExpressionWithTypeArguments(E,N){var R=createBaseNode(226);R.expression=G().parenthesizeLeftSideOfAccess(E);R.typeArguments=N&&G().parenthesizeTypeArguments(N);R.transformFlags|=propagateChildFlags(R.expression)|propagateChildrenFlags(R.typeArguments)|512;return R}function updateExpressionWithTypeArguments(E,N,R){return E.expression!==N||E.typeArguments!==R?q(createExpressionWithTypeArguments(N,R),E):E}function createAsExpression(E,N){var R=createBaseExpression(227);R.expression=E;R.type=N;R.transformFlags|=propagateChildFlags(R.expression)|propagateChildFlags(R.type)|1;return R}function updateAsExpression(E,N,R){return E.expression!==N||E.type!==R?q(createAsExpression(N,R),E):E}function createNonNullExpression(E){var N=createBaseExpression(228);N.expression=G().parenthesizeLeftSideOfAccess(E);N.transformFlags|=propagateChildFlags(N.expression)|1;return N}function updateNonNullExpression(N,R){if(E.isNonNullChain(N)){return updateNonNullChain(N,R)}return N.expression!==R?q(createNonNullExpression(R),N):N}function createNonNullChain(E){var N=createBaseExpression(228);N.flags|=32;N.expression=G().parenthesizeLeftSideOfAccess(E);N.transformFlags|=propagateChildFlags(N.expression)|1;return N}function updateNonNullChain(N,R){E.Debug.assert(!!(N.flags&32),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead.");return N.expression!==R?q(createNonNullChain(R),N):N}function createMetaProperty(N,R){var j=createBaseExpression(229);j.keywordToken=N;j.name=R;j.transformFlags|=propagateChildFlags(j.name);switch(N){case 103:j.transformFlags|=512;break;case 100:j.transformFlags|=4;break;default:return E.Debug.assertNever(N)}return j}function updateMetaProperty(E,N){return E.name!==N?q(createMetaProperty(E.keywordToken,N),E):E}function createTemplateSpan(E,N){var R=createBaseNode(231);R.expression=E;R.literal=N;R.transformFlags|=propagateChildFlags(R.expression)|propagateChildFlags(R.literal)|512;return R}function updateTemplateSpan(E,N,R){return E.expression!==N||E.literal!==R?q(createTemplateSpan(N,R),E):E}function createSemicolonClassElement(){var E=createBaseNode(232);E.transformFlags|=512;return E}function createBlock(E,N){var R=createBaseNode(233);R.statements=createNodeArray(E);R.multiLine=N;R.transformFlags|=propagateChildrenFlags(R.statements);return R}function updateBlock(E,N){return E.statements!==N?q(createBlock(N,E.multiLine),E):E}function createVariableStatement(N,R){var j=createBaseDeclaration(235,undefined,N);j.declarationList=E.isArray(R)?createVariableDeclarationList(R):R;j.transformFlags|=propagateChildFlags(j.declarationList);if(E.modifiersToFlags(j.modifiers)&2){j.transformFlags=1}return j}function updateVariableStatement(E,N,R){return E.modifiers!==N||E.declarationList!==R?q(createVariableStatement(N,R),E):E}function createEmptyStatement(){return createBaseNode(234)}function createExpressionStatement(E){var N=createBaseNode(236);N.expression=G().parenthesizeExpressionOfExpressionStatement(E);N.transformFlags|=propagateChildFlags(N.expression);return N}function updateExpressionStatement(E,N){return E.expression!==N?q(createExpressionStatement(N),E):E}function createIfStatement(E,N,R){var j=createBaseNode(237);j.expression=E;j.thenStatement=asEmbeddedStatement(N);j.elseStatement=asEmbeddedStatement(R);j.transformFlags|=propagateChildFlags(j.expression)|propagateChildFlags(j.thenStatement)|propagateChildFlags(j.elseStatement);return j}function updateIfStatement(E,N,R,j){return E.expression!==N||E.thenStatement!==R||E.elseStatement!==j?q(createIfStatement(N,R,j),E):E}function createDoStatement(E,N){var R=createBaseNode(238);R.statement=asEmbeddedStatement(E);R.expression=N;R.transformFlags|=propagateChildFlags(R.statement)|propagateChildFlags(R.expression);return R}function updateDoStatement(E,N,R){return E.statement!==N||E.expression!==R?q(createDoStatement(N,R),E):E}function createWhileStatement(E,N){var R=createBaseNode(239);R.expression=E;R.statement=asEmbeddedStatement(N);R.transformFlags|=propagateChildFlags(R.expression)|propagateChildFlags(R.statement);return R}function updateWhileStatement(E,N,R){return E.expression!==N||E.statement!==R?q(createWhileStatement(N,R),E):E}function createForStatement(E,N,R,j){var $=createBaseNode(240);$.initializer=E;$.condition=N;$.incrementor=R;$.statement=asEmbeddedStatement(j);$.transformFlags|=propagateChildFlags($.initializer)|propagateChildFlags($.condition)|propagateChildFlags($.incrementor)|propagateChildFlags($.statement);return $}function updateForStatement(E,N,R,j,$){return E.initializer!==N||E.condition!==R||E.incrementor!==j||E.statement!==$?q(createForStatement(N,R,j,$),E):E}function createForInStatement(E,N,R){var j=createBaseNode(241);j.initializer=E;j.expression=N;j.statement=asEmbeddedStatement(R);j.transformFlags|=propagateChildFlags(j.initializer)|propagateChildFlags(j.expression)|propagateChildFlags(j.statement);return j}function updateForInStatement(E,N,R,j){return E.initializer!==N||E.expression!==R||E.statement!==j?q(createForInStatement(N,R,j),E):E}function createForOfStatement(E,N,R,j){var $=createBaseNode(242);$.awaitModifier=E;$.initializer=N;$.expression=G().parenthesizeExpressionForDisallowedComma(R);$.statement=asEmbeddedStatement(j);$.transformFlags|=propagateChildFlags($.awaitModifier)|propagateChildFlags($.initializer)|propagateChildFlags($.expression)|propagateChildFlags($.statement)|512;if(E)$.transformFlags|=64;return $}function updateForOfStatement(E,N,R,j,$){return E.awaitModifier!==N||E.initializer!==R||E.expression!==j||E.statement!==$?q(createForOfStatement(N,R,j,$),E):E}function createContinueStatement(E){var N=createBaseNode(243);N.label=asName(E);N.transformFlags|=propagateChildFlags(N.label)|2097152;return N}function updateContinueStatement(E,N){return E.label!==N?q(createContinueStatement(N),E):E}function createBreakStatement(E){var N=createBaseNode(244);N.label=asName(E);N.transformFlags|=propagateChildFlags(N.label)|2097152;return N}function updateBreakStatement(E,N){return E.label!==N?q(createBreakStatement(N),E):E}function createReturnStatement(E){var N=createBaseNode(245);N.expression=E;N.transformFlags|=propagateChildFlags(N.expression)|64|2097152;return N}function updateReturnStatement(E,N){return E.expression!==N?q(createReturnStatement(N),E):E}function createWithStatement(E,N){var R=createBaseNode(246);R.expression=E;R.statement=asEmbeddedStatement(N);R.transformFlags|=propagateChildFlags(R.expression)|propagateChildFlags(R.statement);return R}function updateWithStatement(E,N,R){return E.expression!==N||E.statement!==R?q(createWithStatement(N,R),E):E}function createSwitchStatement(E,N){var R=createBaseNode(247);R.expression=G().parenthesizeExpressionForDisallowedComma(E);R.caseBlock=N;R.transformFlags|=propagateChildFlags(R.expression)|propagateChildFlags(R.caseBlock);return R}function updateSwitchStatement(E,N,R){return E.expression!==N||E.caseBlock!==R?q(createSwitchStatement(N,R),E):E}function createLabeledStatement(E,N){var R=createBaseNode(248);R.label=asName(E);R.statement=asEmbeddedStatement(N);R.transformFlags|=propagateChildFlags(R.label)|propagateChildFlags(R.statement);return R}function updateLabeledStatement(E,N,R){return E.label!==N||E.statement!==R?q(createLabeledStatement(N,R),E):E}function createThrowStatement(E){var N=createBaseNode(249);N.expression=E;N.transformFlags|=propagateChildFlags(N.expression);return N}function updateThrowStatement(E,N){return E.expression!==N?q(createThrowStatement(N),E):E}function createTryStatement(E,N,R){var j=createBaseNode(250);j.tryBlock=E;j.catchClause=N;j.finallyBlock=R;j.transformFlags|=propagateChildFlags(j.tryBlock)|propagateChildFlags(j.catchClause)|propagateChildFlags(j.finallyBlock);return j}function updateTryStatement(E,N,R,j){return E.tryBlock!==N||E.catchClause!==R||E.finallyBlock!==j?q(createTryStatement(N,R,j),E):E}function createDebuggerStatement(){return createBaseNode(251)}function createVariableDeclaration(E,N,R,j){var $=createBaseVariableLikeDeclaration(252,undefined,undefined,E,R,j&&G().parenthesizeExpressionForDisallowedComma(j));$.exclamationToken=N;$.transformFlags|=propagateChildFlags($.exclamationToken);if(N){$.transformFlags|=1}return $}function updateVariableDeclaration(E,N,R,j,$){return E.name!==N||E.type!==j||E.exclamationToken!==R||E.initializer!==$?q(createVariableDeclaration(N,R,j,$),E):E}function createVariableDeclarationList(E,N){if(N===void 0){N=0}var R=createBaseNode(253);R.flags|=N&3;R.declarations=createNodeArray(E);R.transformFlags|=propagateChildrenFlags(R.declarations)|2097152;if(N&3){R.transformFlags|=512|131072}return R}function updateVariableDeclarationList(E,N){return E.declarations!==N?q(createVariableDeclarationList(N,E.flags),E):E}function createFunctionDeclaration(N,R,j,$,q,G,ie,ae){var ce=createBaseFunctionLikeDeclaration(254,N,R,$,q,G,ie,ae);ce.asteriskToken=j;if(!ce.body||E.modifiersToFlags(ce.modifiers)&2){ce.transformFlags=1}else{ce.transformFlags|=propagateChildFlags(ce.asteriskToken)|2097152;if(E.modifiersToFlags(ce.modifiers)&256){if(ce.asteriskToken){ce.transformFlags|=64}else{ce.transformFlags|=128}}else if(ce.asteriskToken){ce.transformFlags|=1024}}return ce}function updateFunctionDeclaration(E,N,R,j,$,q,G,ie,ae){return E.decorators!==N||E.modifiers!==R||E.asteriskToken!==j||E.name!==$||E.typeParameters!==q||E.parameters!==G||E.type!==ie||E.body!==ae?updateBaseFunctionLikeDeclaration(createFunctionDeclaration(N,R,j,$,q,G,ie,ae),E):E}function createClassDeclaration(N,R,j,$,q,G){var ie=createBaseClassLikeDeclaration(255,N,R,j,$,q,G);if(E.modifiersToFlags(ie.modifiers)&2){ie.transformFlags=1}else{ie.transformFlags|=512;if(ie.transformFlags&4096){ie.transformFlags|=1}}return ie}function updateClassDeclaration(E,N,R,j,$,G,ie){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.typeParameters!==$||E.heritageClauses!==G||E.members!==ie?q(createClassDeclaration(N,R,j,$,G,ie),E):E}function createInterfaceDeclaration(E,N,R,j,$,q){var G=createBaseInterfaceOrClassLikeDeclaration(256,E,N,R,j,$);G.members=createNodeArray(q);G.transformFlags=1;return G}function updateInterfaceDeclaration(E,N,R,j,$,G,ie){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.typeParameters!==$||E.heritageClauses!==G||E.members!==ie?q(createInterfaceDeclaration(N,R,j,$,G,ie),E):E}function createTypeAliasDeclaration(E,N,R,j,$){var q=createBaseGenericNamedDeclaration(257,E,N,R,j);q.type=$;q.transformFlags=1;return q}function updateTypeAliasDeclaration(E,N,R,j,$,G){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.typeParameters!==$||E.type!==G?q(createTypeAliasDeclaration(N,R,j,$,G),E):E}function createEnumDeclaration(E,N,R,j){var $=createBaseNamedDeclaration(258,E,N,R);$.members=createNodeArray(j);$.transformFlags|=propagateChildrenFlags($.members)|1;$.transformFlags&=~16777216;return $}function updateEnumDeclaration(E,N,R,j,$){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.members!==$?q(createEnumDeclaration(N,R,j,$),E):E}function createModuleDeclaration(N,R,j,$,q){if(q===void 0){q=0}var G=createBaseDeclaration(259,N,R);G.flags|=q&(16|4|1024);G.name=j;G.body=$;if(E.modifiersToFlags(G.modifiers)&2){G.transformFlags=1}else{G.transformFlags|=propagateChildFlags(G.name)|propagateChildFlags(G.body)|1}G.transformFlags&=~16777216;return G}function updateModuleDeclaration(E,N,R,j,$){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.body!==$?q(createModuleDeclaration(N,R,j,$,E.flags),E):E}function createModuleBlock(E){var N=createBaseNode(260);N.statements=createNodeArray(E);N.transformFlags|=propagateChildrenFlags(N.statements);return N}function updateModuleBlock(E,N){return E.statements!==N?q(createModuleBlock(N),E):E}function createCaseBlock(E){var N=createBaseNode(261);N.clauses=createNodeArray(E);N.transformFlags|=propagateChildrenFlags(N.clauses);return N}function updateCaseBlock(E,N){return E.clauses!==N?q(createCaseBlock(N),E):E}function createNamespaceExportDeclaration(E){var N=createBaseNamedDeclaration(262,undefined,undefined,E);N.transformFlags=1;return N}function updateNamespaceExportDeclaration(E,N){return E.name!==N?q(createNamespaceExportDeclaration(N),E):E}function createImportEqualsDeclaration(N,R,j,$,q){var G=createBaseNamedDeclaration(263,N,R,$);G.isTypeOnly=j;G.moduleReference=q;G.transformFlags|=propagateChildFlags(G.moduleReference);if(!E.isExternalModuleReference(G.moduleReference))G.transformFlags|=1;G.transformFlags&=~16777216;return G}function updateImportEqualsDeclaration(E,N,R,j,$,G){return E.decorators!==N||E.modifiers!==R||E.isTypeOnly!==j||E.name!==$||E.moduleReference!==G?q(createImportEqualsDeclaration(N,R,j,$,G),E):E}function createImportDeclaration(E,N,R,j){var $=createBaseDeclaration(264,E,N);$.importClause=R;$.moduleSpecifier=j;$.transformFlags|=propagateChildFlags($.importClause)|propagateChildFlags($.moduleSpecifier);$.transformFlags&=~16777216;return $}function updateImportDeclaration(E,N,R,j,$){return E.decorators!==N||E.modifiers!==R||E.importClause!==j||E.moduleSpecifier!==$?q(createImportDeclaration(N,R,j,$),E):E}function createImportClause(E,N,R){var j=createBaseNode(265);j.isTypeOnly=E;j.name=N;j.namedBindings=R;j.transformFlags|=propagateChildFlags(j.name)|propagateChildFlags(j.namedBindings);if(E){j.transformFlags|=1}j.transformFlags&=~16777216;return j}function updateImportClause(E,N,R,j){return E.isTypeOnly!==N||E.name!==R||E.namedBindings!==j?q(createImportClause(N,R,j),E):E}function createNamespaceImport(E){var N=createBaseNode(266);N.name=E;N.transformFlags|=propagateChildFlags(N.name);N.transformFlags&=~16777216;return N}function updateNamespaceImport(E,N){return E.name!==N?q(createNamespaceImport(N),E):E}function createNamespaceExport(E){var N=createBaseNode(272);N.name=E;N.transformFlags|=propagateChildFlags(N.name)|4;N.transformFlags&=~16777216;return N}function updateNamespaceExport(E,N){return E.name!==N?q(createNamespaceExport(N),E):E}function createNamedImports(E){var N=createBaseNode(267);N.elements=createNodeArray(E);N.transformFlags|=propagateChildrenFlags(N.elements);N.transformFlags&=~16777216;return N}function updateNamedImports(E,N){return E.elements!==N?q(createNamedImports(N),E):E}function createImportSpecifier(E,N){var R=createBaseNode(268);R.propertyName=E;R.name=N;R.transformFlags|=propagateChildFlags(R.propertyName)|propagateChildFlags(R.name);R.transformFlags&=~16777216;return R}function updateImportSpecifier(E,N,R){return E.propertyName!==N||E.name!==R?q(createImportSpecifier(N,R),E):E}function createExportAssignment(E,N,R,j){var $=createBaseDeclaration(269,E,N);$.isExportEquals=R;$.expression=R?G().parenthesizeRightSideOfBinary(63,undefined,j):G().parenthesizeExpressionOfExportDefault(j);$.transformFlags|=propagateChildFlags($.expression);$.transformFlags&=~16777216;return $}function updateExportAssignment(E,N,R,j){return E.decorators!==N||E.modifiers!==R||E.expression!==j?q(createExportAssignment(N,R,E.isExportEquals,j),E):E}function createExportDeclaration(E,N,R,j,$){var q=createBaseDeclaration(270,E,N);q.isTypeOnly=R;q.exportClause=j;q.moduleSpecifier=$;q.transformFlags|=propagateChildFlags(q.exportClause)|propagateChildFlags(q.moduleSpecifier);q.transformFlags&=~16777216;return q}function updateExportDeclaration(E,N,R,j,$,G){return E.decorators!==N||E.modifiers!==R||E.isTypeOnly!==j||E.exportClause!==$||E.moduleSpecifier!==G?q(createExportDeclaration(N,R,j,$,G),E):E}function createNamedExports(E){var N=createBaseNode(271);N.elements=createNodeArray(E);N.transformFlags|=propagateChildrenFlags(N.elements);N.transformFlags&=~16777216;return N}function updateNamedExports(E,N){return E.elements!==N?q(createNamedExports(N),E):E}function createExportSpecifier(E,N){var R=createBaseNode(273);R.propertyName=asName(E);R.name=asName(N);R.transformFlags|=propagateChildFlags(R.propertyName)|propagateChildFlags(R.name);R.transformFlags&=~16777216;return R}function updateExportSpecifier(E,N,R){return E.propertyName!==N||E.name!==R?q(createExportSpecifier(N,R),E):E}function createMissingDeclaration(){var E=createBaseDeclaration(274,undefined,undefined);return E}function createExternalModuleReference(E){var N=createBaseNode(275);N.expression=E;N.transformFlags|=propagateChildFlags(N.expression);N.transformFlags&=~16777216;return N}function updateExternalModuleReference(E,N){return E.expression!==N?q(createExternalModuleReference(N),E):E}function createJSDocPrimaryTypeWorker(E){return createBaseNode(E)}function createJSDocUnaryTypeWorker(E,N){var R=createBaseNode(E);R.type=N;return R}function updateJSDocUnaryTypeWorker(E,N,R){return N.type!==R?q(createJSDocUnaryTypeWorker(E,R),N):N}function createJSDocFunctionType(E,N){var R=createBaseSignatureDeclaration(312,undefined,undefined,undefined,undefined,E,N);return R}function updateJSDocFunctionType(E,N,R){return E.parameters!==N||E.type!==R?q(createJSDocFunctionType(N,R),E):E}function createJSDocTypeLiteral(E,N){if(N===void 0){N=false}var R=createBaseNode(317);R.jsDocPropertyTags=asNodeArray(E);R.isArrayType=N;return R}function updateJSDocTypeLiteral(E,N,R){return E.jsDocPropertyTags!==N||E.isArrayType!==R?q(createJSDocTypeLiteral(N,R),E):E}function createJSDocTypeExpression(E){var N=createBaseNode(304);N.type=E;return N}function updateJSDocTypeExpression(E,N){return E.type!==N?q(createJSDocTypeExpression(N),E):E}function createJSDocSignature(E,N,R){var j=createBaseNode(318);j.typeParameters=asNodeArray(E);j.parameters=createNodeArray(N);j.type=R;return j}function updateJSDocSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?q(createJSDocSignature(N,R,j),E):E}function getDefaultTagName(N){var R=getDefaultTagNameForKind(N.kind);return N.tagName.escapedText===E.escapeLeadingUnderscores(R)?N.tagName:createIdentifier(R)}function createBaseJSDocTag(E,N,R){var j=createBaseNode(E);j.tagName=N;j.comment=R;return j}function createJSDocTemplateTag(E,N,R,j){var $=createBaseJSDocTag(339,E!==null&&E!==void 0?E:createIdentifier("template"),j);$.constraint=N;$.typeParameters=createNodeArray(R);return $}function updateJSDocTemplateTag(E,N,R,j,$){if(N===void 0){N=getDefaultTagName(E)}return E.tagName!==N||E.constraint!==R||E.typeParameters!==j||E.comment!==$?q(createJSDocTemplateTag(N,R,j,$),E):E}function createJSDocTypedefTag(N,R,j,$){var q=createBaseJSDocTag(340,N!==null&&N!==void 0?N:createIdentifier("typedef"),$);q.typeExpression=R;q.fullName=j;q.name=E.getJSDocTypeAliasName(j);return q}function updateJSDocTypedefTag(E,N,R,j,$){if(N===void 0){N=getDefaultTagName(E)}return E.tagName!==N||E.typeExpression!==R||E.fullName!==j||E.comment!==$?q(createJSDocTypedefTag(N,R,j,$),E):E}function createJSDocParameterTag(E,N,R,j,$,q){var G=createBaseJSDocTag(335,E!==null&&E!==void 0?E:createIdentifier("param"),q);G.typeExpression=j;G.name=N;G.isNameFirst=!!$;G.isBracketed=R;return G}function updateJSDocParameterTag(E,N,R,j,$,G,ie){if(N===void 0){N=getDefaultTagName(E)}return E.tagName!==N||E.name!==R||E.isBracketed!==j||E.typeExpression!==$||E.isNameFirst!==G||E.comment!==ie?q(createJSDocParameterTag(N,R,j,$,G,ie),E):E}function createJSDocPropertyTag(E,N,R,j,$,q){var G=createBaseJSDocTag(342,E!==null&&E!==void 0?E:createIdentifier("prop"),q);G.typeExpression=j;G.name=N;G.isNameFirst=!!$;G.isBracketed=R;return G}function updateJSDocPropertyTag(E,N,R,j,$,G,ie){if(N===void 0){N=getDefaultTagName(E)}return E.tagName!==N||E.name!==R||E.isBracketed!==j||E.typeExpression!==$||E.isNameFirst!==G||E.comment!==ie?q(createJSDocPropertyTag(N,R,j,$,G,ie),E):E}function createJSDocCallbackTag(N,R,j,$){var q=createBaseJSDocTag(333,N!==null&&N!==void 0?N:createIdentifier("callback"),$);q.typeExpression=R;q.fullName=j;q.name=E.getJSDocTypeAliasName(j);return q}function updateJSDocCallbackTag(E,N,R,j,$){if(N===void 0){N=getDefaultTagName(E)}return E.tagName!==N||E.typeExpression!==R||E.fullName!==j||E.comment!==$?q(createJSDocCallbackTag(N,R,j,$),E):E}function createJSDocAugmentsTag(E,N,R){var j=createBaseJSDocTag(323,E!==null&&E!==void 0?E:createIdentifier("augments"),R);j.class=N;return j}function updateJSDocAugmentsTag(E,N,R,j){if(N===void 0){N=getDefaultTagName(E)}return E.tagName!==N||E.class!==R||E.comment!==j?q(createJSDocAugmentsTag(N,R,j),E):E}function createJSDocImplementsTag(E,N,R){var j=createBaseJSDocTag(324,E!==null&&E!==void 0?E:createIdentifier("implements"),R);j.class=N;return j}function createJSDocSeeTag(E,N,R){var j=createBaseJSDocTag(341,E!==null&&E!==void 0?E:createIdentifier("see"),R);j.name=N;return j}function updateJSDocSeeTag(E,N,R,j){return E.tagName!==N||E.name!==R||E.comment!==j?q(createJSDocSeeTag(N,R,j),E):E}function createJSDocNameReference(E){var N=createBaseNode(305);N.name=E;return N}function updateJSDocNameReference(E,N){return E.name!==N?q(createJSDocNameReference(N),E):E}function createJSDocMemberName(E,N){var R=createBaseNode(306);R.left=E;R.right=N;R.transformFlags|=propagateChildFlags(R.left)|propagateChildFlags(R.right);return R}function updateJSDocMemberName(E,N,R){return E.left!==N||E.right!==R?q(createJSDocMemberName(N,R),E):E}function createJSDocLink(E,N){var R=createBaseNode(319);R.name=E;R.text=N;return R}function updateJSDocLink(E,N,R){return E.name!==N?q(createJSDocLink(N,R),E):E}function createJSDocLinkCode(E,N){var R=createBaseNode(320);R.name=E;R.text=N;return R}function updateJSDocLinkCode(E,N,R){return E.name!==N?q(createJSDocLinkCode(N,R),E):E}function createJSDocLinkPlain(E,N){var R=createBaseNode(321);R.name=E;R.text=N;return R}function updateJSDocLinkPlain(E,N,R){return E.name!==N?q(createJSDocLinkPlain(N,R),E):E}function updateJSDocImplementsTag(E,N,R,j){if(N===void 0){N=getDefaultTagName(E)}return E.tagName!==N||E.class!==R||E.comment!==j?q(createJSDocImplementsTag(N,R,j),E):E}function createJSDocSimpleTagWorker(E,N,R){var j=createBaseJSDocTag(E,N!==null&&N!==void 0?N:createIdentifier(getDefaultTagNameForKind(E)),R);return j}function updateJSDocSimpleTagWorker(E,N,R,j){if(R===void 0){R=getDefaultTagName(N)}return N.tagName!==R||N.comment!==j?q(createJSDocSimpleTagWorker(E,R,j),N):N}function createJSDocTypeLikeTagWorker(E,N,R,j){var $=createBaseJSDocTag(E,N!==null&&N!==void 0?N:createIdentifier(getDefaultTagNameForKind(E)),j);$.typeExpression=R;return $}function updateJSDocTypeLikeTagWorker(E,N,R,j,$){if(R===void 0){R=getDefaultTagName(N)}return N.tagName!==R||N.typeExpression!==j||N.comment!==$?q(createJSDocTypeLikeTagWorker(E,R,j,$),N):N}function createJSDocUnknownTag(E,N){var R=createBaseJSDocTag(322,E,N);return R}function updateJSDocUnknownTag(E,N,R){return E.tagName!==N||E.comment!==R?q(createJSDocUnknownTag(N,R),E):E}function createJSDocText(E){var N=createBaseNode(316);N.text=E;return N}function updateJSDocText(E,N){return E.text!==N?q(createJSDocText(N),E):E}function createJSDocComment(E,N){var R=createBaseNode(315);R.comment=E;R.tags=asNodeArray(N);return R}function updateJSDocComment(E,N,R){return E.comment!==N||E.tags!==R?q(createJSDocComment(N,R),E):E}function createJsxElement(E,N,R){var j=createBaseNode(276);j.openingElement=E;j.children=createNodeArray(N);j.closingElement=R;j.transformFlags|=propagateChildFlags(j.openingElement)|propagateChildrenFlags(j.children)|propagateChildFlags(j.closingElement)|2;return j}function updateJsxElement(E,N,R,j){return E.openingElement!==N||E.children!==R||E.closingElement!==j?q(createJsxElement(N,R,j),E):E}function createJsxSelfClosingElement(E,N,R){var j=createBaseNode(277);j.tagName=E;j.typeArguments=asNodeArray(N);j.attributes=R;j.transformFlags|=propagateChildFlags(j.tagName)|propagateChildrenFlags(j.typeArguments)|propagateChildFlags(j.attributes)|2;if(j.typeArguments){j.transformFlags|=1}return j}function updateJsxSelfClosingElement(E,N,R,j){return E.tagName!==N||E.typeArguments!==R||E.attributes!==j?q(createJsxSelfClosingElement(N,R,j),E):E}function createJsxOpeningElement(E,N,R){var j=createBaseNode(278);j.tagName=E;j.typeArguments=asNodeArray(N);j.attributes=R;j.transformFlags|=propagateChildFlags(j.tagName)|propagateChildrenFlags(j.typeArguments)|propagateChildFlags(j.attributes)|2;if(N){j.transformFlags|=1}return j}function updateJsxOpeningElement(E,N,R,j){return E.tagName!==N||E.typeArguments!==R||E.attributes!==j?q(createJsxOpeningElement(N,R,j),E):E}function createJsxClosingElement(E){var N=createBaseNode(279);N.tagName=E;N.transformFlags|=propagateChildFlags(N.tagName)|2;return N}function updateJsxClosingElement(E,N){return E.tagName!==N?q(createJsxClosingElement(N),E):E}function createJsxFragment(E,N,R){var j=createBaseNode(280);j.openingFragment=E;j.children=createNodeArray(N);j.closingFragment=R;j.transformFlags|=propagateChildFlags(j.openingFragment)|propagateChildrenFlags(j.children)|propagateChildFlags(j.closingFragment)|2;return j}function updateJsxFragment(E,N,R,j){return E.openingFragment!==N||E.children!==R||E.closingFragment!==j?q(createJsxFragment(N,R,j),E):E}function createJsxText(E,N){var R=createBaseNode(11);R.text=E;R.containsOnlyTriviaWhiteSpaces=!!N;R.transformFlags|=2;return R}function updateJsxText(E,N,R){return E.text!==N||E.containsOnlyTriviaWhiteSpaces!==R?q(createJsxText(N,R),E):E}function createJsxOpeningFragment(){var E=createBaseNode(281);E.transformFlags|=2;return E}function createJsxJsxClosingFragment(){var E=createBaseNode(282);E.transformFlags|=2;return E}function createJsxAttribute(E,N){var R=createBaseNode(283);R.name=E;R.initializer=N;R.transformFlags|=propagateChildFlags(R.name)|propagateChildFlags(R.initializer)|2;return R}function updateJsxAttribute(E,N,R){return E.name!==N||E.initializer!==R?q(createJsxAttribute(N,R),E):E}function createJsxAttributes(E){var N=createBaseNode(284);N.properties=createNodeArray(E);N.transformFlags|=propagateChildrenFlags(N.properties)|2;return N}function updateJsxAttributes(E,N){return E.properties!==N?q(createJsxAttributes(N),E):E}function createJsxSpreadAttribute(E){var N=createBaseNode(285);N.expression=E;N.transformFlags|=propagateChildFlags(N.expression)|2;return N}function updateJsxSpreadAttribute(E,N){return E.expression!==N?q(createJsxSpreadAttribute(N),E):E}function createJsxExpression(E,N){var R=createBaseNode(286);R.dotDotDotToken=E;R.expression=N;R.transformFlags|=propagateChildFlags(R.dotDotDotToken)|propagateChildFlags(R.expression)|2;return R}function updateJsxExpression(E,N){return E.expression!==N?q(createJsxExpression(E.dotDotDotToken,N),E):E}function createCaseClause(E,N){var R=createBaseNode(287);R.expression=G().parenthesizeExpressionForDisallowedComma(E);R.statements=createNodeArray(N);R.transformFlags|=propagateChildFlags(R.expression)|propagateChildrenFlags(R.statements);return R}function updateCaseClause(E,N,R){return E.expression!==N||E.statements!==R?q(createCaseClause(N,R),E):E}function createDefaultClause(E){var N=createBaseNode(288);N.statements=createNodeArray(E);N.transformFlags=propagateChildrenFlags(N.statements);return N}function updateDefaultClause(E,N){return E.statements!==N?q(createDefaultClause(N),E):E}function createHeritageClause(N,R){var j=createBaseNode(289);j.token=N;j.types=createNodeArray(R);j.transformFlags|=propagateChildrenFlags(j.types);switch(N){case 94:j.transformFlags|=512;break;case 117:j.transformFlags|=1;break;default:return E.Debug.assertNever(N)}return j}function updateHeritageClause(E,N){return E.types!==N?q(createHeritageClause(E.token,N),E):E}function createCatchClause(N,R){var j=createBaseNode(290);N=!E.isString(N)?N:createVariableDeclaration(N,undefined,undefined,undefined);j.variableDeclaration=N;j.block=R;j.transformFlags|=propagateChildFlags(j.variableDeclaration)|propagateChildFlags(j.block);if(!N)j.transformFlags|=32;return j}function updateCatchClause(E,N,R){return E.variableDeclaration!==N||E.block!==R?q(createCatchClause(N,R),E):E}function createPropertyAssignment(E,N){var R=createBaseNamedDeclaration(291,undefined,undefined,E);R.initializer=G().parenthesizeExpressionForDisallowedComma(N);R.transformFlags|=propagateChildFlags(R.name)|propagateChildFlags(R.initializer);return R}function finishUpdatePropertyAssignment(E,N){if(N.decorators)E.decorators=N.decorators;if(N.modifiers)E.modifiers=N.modifiers;if(N.questionToken)E.questionToken=N.questionToken;if(N.exclamationToken)E.exclamationToken=N.exclamationToken;return q(E,N)}function updatePropertyAssignment(E,N,R){return E.name!==N||E.initializer!==R?finishUpdatePropertyAssignment(createPropertyAssignment(N,R),E):E}function createShorthandPropertyAssignment(E,N){var R=createBaseNamedDeclaration(292,undefined,undefined,E);R.objectAssignmentInitializer=N&&G().parenthesizeExpressionForDisallowedComma(N);R.transformFlags|=propagateChildFlags(R.objectAssignmentInitializer)|512;return R}function finishUpdateShorthandPropertyAssignment(E,N){if(N.decorators)E.decorators=N.decorators;if(N.modifiers)E.modifiers=N.modifiers;if(N.equalsToken)E.equalsToken=N.equalsToken;if(N.questionToken)E.questionToken=N.questionToken;if(N.exclamationToken)E.exclamationToken=N.exclamationToken;return q(E,N)}function updateShorthandPropertyAssignment(E,N,R){return E.name!==N||E.objectAssignmentInitializer!==R?finishUpdateShorthandPropertyAssignment(createShorthandPropertyAssignment(N,R),E):E}function createSpreadAssignment(E){var N=createBaseNode(293);N.expression=G().parenthesizeExpressionForDisallowedComma(E);N.transformFlags|=propagateChildFlags(N.expression)|64|32768;return N}function updateSpreadAssignment(E,N){return E.expression!==N?q(createSpreadAssignment(N),E):E}function createEnumMember(E,N){var R=createBaseNode(294);R.name=asName(E);R.initializer=N&&G().parenthesizeExpressionForDisallowedComma(N);R.transformFlags|=propagateChildFlags(R.name)|propagateChildFlags(R.initializer)|1;return R}function updateEnumMember(E,N,R){return E.name!==N||E.initializer!==R?q(createEnumMember(N,R),E):E}function createSourceFile(E,N,R){var j=$.createBaseSourceFileNode(300);j.statements=createNodeArray(E);j.endOfFileToken=N;j.flags|=R;j.fileName="";j.text="";j.languageVersion=0;j.languageVariant=0;j.scriptKind=0;j.isDeclarationFile=false;j.hasNoDefaultLib=false;j.transformFlags|=propagateChildrenFlags(j.statements)|propagateChildFlags(j.endOfFileToken);return j}function cloneSourceFileWithChanges(N,R,j,q,G,ie,ae){var ce=$.createBaseSourceFileNode(300);for(var le in N){if(le==="emitNode"||E.hasProperty(ce,le)||!E.hasProperty(N,le))continue;ce[le]=N[le]}ce.flags|=N.flags;ce.statements=createNodeArray(R);ce.endOfFileToken=N.endOfFileToken;ce.isDeclarationFile=j;ce.referencedFiles=q;ce.typeReferenceDirectives=G;ce.hasNoDefaultLib=ie;ce.libReferenceDirectives=ae;ce.transformFlags=propagateChildrenFlags(ce.statements)|propagateChildFlags(ce.endOfFileToken);return ce}function updateSourceFile(E,N,R,j,$,G,ie){if(R===void 0){R=E.isDeclarationFile}if(j===void 0){j=E.referencedFiles}if($===void 0){$=E.typeReferenceDirectives}if(G===void 0){G=E.hasNoDefaultLib}if(ie===void 0){ie=E.libReferenceDirectives}return E.statements!==N||E.isDeclarationFile!==R||E.referencedFiles!==j||E.typeReferenceDirectives!==$||E.hasNoDefaultLib!==G||E.libReferenceDirectives!==ie?q(cloneSourceFileWithChanges(E,N,R,j,$,G,ie),E):E}function createBundle(N,R){if(R===void 0){R=E.emptyArray}var j=createBaseNode(301);j.prepends=R;j.sourceFiles=N;return j}function updateBundle(N,R,j){if(j===void 0){j=E.emptyArray}return N.sourceFiles!==R||N.prepends!==j?q(createBundle(R,j),N):N}function createUnparsedSource(N,R,j){var $=createBaseNode(302);$.prologues=N;$.syntheticReferences=R;$.texts=j;$.fileName="";$.text="";$.referencedFiles=E.emptyArray;$.libReferenceDirectives=E.emptyArray;$.getLineAndCharacterOfPosition=function(N){return E.getLineAndCharacterOfPosition($,N)};return $}function createBaseUnparsedNode(E,N){var R=createBaseNode(E);R.data=N;return R}function createUnparsedPrologue(E){return createBaseUnparsedNode(295,E)}function createUnparsedPrepend(E,N){var R=createBaseUnparsedNode(296,E);R.texts=N;return R}function createUnparsedTextLike(E,N){return createBaseUnparsedNode(N?298:297,E)}function createUnparsedSyntheticReference(E){var N=createBaseNode(299);N.data=E.data;N.section=E;return N}function createInputFiles(){var E=createBaseNode(303);E.javascriptText="";E.declarationText="";return E}function createSyntheticExpression(E,N,R){if(N===void 0){N=false}var j=createBaseNode(230);j.type=E;j.isSpread=N;j.tupleNameSource=R;return j}function createSyntaxList(E){var N=createBaseNode(343);N._children=E;return N}function createNotEmittedStatement(N){var R=createBaseNode(344);R.original=N;E.setTextRange(R,N);return R}function createPartiallyEmittedExpression(N,R){var j=createBaseNode(345);j.expression=N;j.original=R;j.transformFlags|=propagateChildFlags(j.expression)|1;E.setTextRange(j,R);return j}function updatePartiallyEmittedExpression(E,N){return E.expression!==N?q(createPartiallyEmittedExpression(N,E.original),E):E}function flattenCommaElements(N){if(E.nodeIsSynthesized(N)&&!E.isParseTreeNode(N)&&!N.original&&!N.emitNode&&!N.id){if(E.isCommaListExpression(N)){return N.elements}if(E.isBinaryExpression(N)&&E.isCommaToken(N.operatorToken)){return[N.left,N.right]}}return N}function createCommaListExpression(N){var R=createBaseNode(346);R.elements=createNodeArray(E.sameFlatMap(N,flattenCommaElements));R.transformFlags|=propagateChildrenFlags(R.elements);return R}function updateCommaListExpression(E,N){return E.elements!==N?q(createCommaListExpression(N),E):E}function createEndOfDeclarationMarker(E){var N=createBaseNode(348);N.emitNode={};N.original=E;return N}function createMergeDeclarationMarker(E){var N=createBaseNode(347);N.emitNode={};N.original=E;return N}function createSyntheticReferenceExpression(E,N){var R=createBaseNode(349);R.expression=E;R.thisArg=N;R.transformFlags|=propagateChildFlags(R.expression)|propagateChildFlags(R.thisArg);return R}function updateSyntheticReferenceExpression(E,N,R){return E.expression!==N||E.thisArg!==R?q(createSyntheticReferenceExpression(N,R),E):E}function cloneNode(N){if(N===undefined){return N}var R=E.isSourceFile(N)?$.createBaseSourceFileNode(300):E.isIdentifier(N)?$.createBaseIdentifierNode(79):E.isPrivateIdentifier(N)?$.createBasePrivateIdentifierNode(80):!E.isNodeKind(N.kind)?$.createBaseTokenNode(N.kind):$.createBaseNode(N.kind);R.flags|=N.flags&~8;R.transformFlags=N.transformFlags;setOriginalNode(R,N);for(var j in N){if(R.hasOwnProperty(j)||!N.hasOwnProperty(j)){continue}R[j]=N[j]}return R}function createImmediatelyInvokedFunctionExpression(E,N,R){return createCallExpression(createFunctionExpression(undefined,undefined,undefined,undefined,N?[N]:[],undefined,createBlock(E,true)),undefined,R?[R]:[])}function createImmediatelyInvokedArrowFunction(E,N,R){return createCallExpression(createArrowFunction(undefined,undefined,N?[N]:[],undefined,undefined,createBlock(E,true)),undefined,R?[R]:[])}function createVoidZero(){return createVoidExpression(createNumericLiteral("0"))}function createExportDefault(E){return createExportAssignment(undefined,undefined,false,E)}function createExternalModuleExport(E){return createExportDeclaration(undefined,undefined,false,createNamedExports([createExportSpecifier(undefined,E)]))}function createTypeCheck(E,N){return N==="undefined"?Le.createStrictEquality(E,createVoidZero()):Le.createStrictEquality(createTypeOfExpression(E),createStringLiteral(N))}function createMethodCall(N,R,j){if(E.isCallChain(N)){return createCallChain(createPropertyAccessChain(N,undefined,R),undefined,undefined,j)}return createCallExpression(createPropertyAccessExpression(N,R),undefined,j)}function createFunctionBindCall(E,N,R){return createMethodCall(E,"bind",j([N],R,true))}function createFunctionCallCall(E,N,R){return createMethodCall(E,"call",j([N],R,true))}function createFunctionApplyCall(E,N,R){return createMethodCall(E,"apply",[N,R])}function createGlobalMethodCall(E,N,R){return createMethodCall(createIdentifier(E),N,R)}function createArraySliceCall(E,N){return createMethodCall(E,"slice",N===undefined?[]:[asExpression(N)])}function createArrayConcatCall(E,N){return createMethodCall(E,"concat",N)}function createObjectDefinePropertyCall(E,N,R){return createGlobalMethodCall("Object","defineProperty",[E,asExpression(N),R])}function createReflectGetCall(E,N,R){return createGlobalMethodCall("Reflect","get",R?[E,N,R]:[E,N])}function createReflectSetCall(E,N,R,j){return createGlobalMethodCall("Reflect","set",j?[E,N,R,j]:[E,N,R])}function tryAddPropertyAssignment(E,N,R){if(R){E.push(createPropertyAssignment(N,R));return true}return false}function createPropertyDescriptor(N,R){var j=[];tryAddPropertyAssignment(j,"enumerable",asExpression(N.enumerable));tryAddPropertyAssignment(j,"configurable",asExpression(N.configurable));var $=tryAddPropertyAssignment(j,"writable",asExpression(N.writable));$=tryAddPropertyAssignment(j,"value",N.value)||$;var q=tryAddPropertyAssignment(j,"get",N.get);q=tryAddPropertyAssignment(j,"set",N.set)||q;E.Debug.assert(!($&&q),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor.");return createObjectLiteralExpression(j,!R)}function updateOuterExpression(E,N){switch(E.kind){case 210:return updateParenthesizedExpression(E,N);case 209:return updateTypeAssertion(E,E.type,N);case 227:return updateAsExpression(E,N,E.type);case 228:return updateNonNullExpression(E,N);case 345:return updatePartiallyEmittedExpression(E,N)}}function isIgnorableParen(N){return E.isParenthesizedExpression(N)&&E.nodeIsSynthesized(N)&&E.nodeIsSynthesized(E.getSourceMapRange(N))&&E.nodeIsSynthesized(E.getCommentRange(N))&&!E.some(E.getSyntheticLeadingComments(N))&&!E.some(E.getSyntheticTrailingComments(N))}function restoreOuterExpressions(N,R,j){if(j===void 0){j=15}if(N&&E.isOuterExpression(N,j)&&!isIgnorableParen(N)){return updateOuterExpression(N,restoreOuterExpressions(N.expression,R))}return R}function restoreEnclosingLabel(N,R,j){if(!R){return N}var $=updateLabeledStatement(R,R.label,E.isLabeledStatement(R.statement)?restoreEnclosingLabel(N,R.statement):N);if(j){j(R)}return $}function shouldBeCapturedInTempVariable(N,R){var j=E.skipParentheses(N);switch(j.kind){case 79:return R;case 108:case 8:case 9:case 10:return false;case 202:var $=j.elements;if($.length===0){return false}return true;case 203:return j.properties.length>0;default:return true}}function createCallBinding(N,R,j,$){if($===void 0){$=false}var q=E.skipOuterExpressions(N,15);var ie;var ae;if(E.isSuperProperty(q)){ie=createThis();ae=q}else if(E.isSuperKeyword(q)){ie=createThis();ae=j!==undefined&&j<2?E.setTextRange(createIdentifier("_super"),q):q}else if(E.getEmitFlags(q)&4096){ie=createVoidZero();ae=G().parenthesizeLeftSideOfAccess(q)}else if(E.isPropertyAccessExpression(q)){if(shouldBeCapturedInTempVariable(q.expression,$)){ie=createTempVariable(R);ae=createPropertyAccessExpression(E.setTextRange(Le.createAssignment(ie,q.expression),q.expression),q.name);E.setTextRange(ae,q)}else{ie=q.expression;ae=q}}else if(E.isElementAccessExpression(q)){if(shouldBeCapturedInTempVariable(q.expression,$)){ie=createTempVariable(R);ae=createElementAccessExpression(E.setTextRange(Le.createAssignment(ie,q.expression),q.expression),q.argumentExpression);E.setTextRange(ae,q)}else{ie=q.expression;ae=q}}else{ie=createVoidZero();ae=G().parenthesizeLeftSideOfAccess(N)}return{target:ae,thisArg:ie}}function createAssignmentTargetWrapper(E,N){return createPropertyAccessExpression(createParenthesizedExpression(createObjectLiteralExpression([createSetAccessorDeclaration(undefined,undefined,"value",[createParameterDeclaration(undefined,undefined,undefined,E,undefined,undefined,undefined)],createBlock([createExpressionStatement(N)]))])),"value")}function inlineExpressions(N){return N.length>10?createCommaListExpression(N):E.reduceLeft(N,Le.createComma)}function getName(N,R,j,$){if($===void 0){$=0}var q=E.getNameOfDeclaration(N);if(q&&E.isIdentifier(q)&&!E.isGeneratedIdentifier(q)){var G=E.setParent(E.setTextRange(cloneNode(q),q),q.parent);$|=E.getEmitFlags(q);if(!j)$|=48;if(!R)$|=1536;if($)E.setEmitFlags(G,$);return G}return getGeneratedNameForNode(N)}function getInternalName(E,N,R){return getName(E,N,R,16384|32768)}function getLocalName(E,N,R){return getName(E,N,R,16384)}function getExportName(E,N,R){return getName(E,N,R,8192)}function getDeclarationName(E,N,R){return getName(E,N,R)}function getNamespaceMemberName(N,R,j,$){var q=createPropertyAccessExpression(N,E.nodeIsSynthesized(R)?R:cloneNode(R));E.setTextRange(q,R);var G=0;if(!$)G|=48;if(!j)G|=1536;if(G)E.setEmitFlags(q,G);return q}function getExternalModuleOrNamespaceExportName(N,R,j,$){if(N&&E.hasSyntacticModifier(R,1)){return getNamespaceMemberName(N,getName(R),j,$)}return getExportName(R,j,$)}function copyPrologue(E,N,R,j){var $=copyStandardPrologue(E,N,R);return copyCustomPrologue(E,N,$,j)}function isUseStrictPrologue(N){return E.isStringLiteral(N.expression)&&N.expression.text==="use strict"}function createUseStrictPrologue(){return E.startOnNewLine(createExpressionStatement(createStringLiteral("use strict")))}function copyStandardPrologue(N,R,j){E.Debug.assert(R.length===0,"Prologue directives should be at the first statement in the target statements array");var $=false;var q=0;var G=N.length;while(q<G){var ie=N[q];if(E.isPrologueDirective(ie)){if(isUseStrictPrologue(ie)){$=true}R.push(ie)}else{break}q++}if(j&&!$){R.push(createUseStrictPrologue())}return q}function copyCustomPrologue(N,R,j,$,q){if(q===void 0){q=E.returnTrue}var G=N.length;while(j!==undefined&&j<G){var ie=N[j];if(E.getEmitFlags(ie)&1048576&&q(ie)){E.append(R,$?E.visitNode(ie,$,E.isStatement):ie)}else{break}j++}return j}function ensureUseStrict(N){var R=E.findUseStrictPrologue(N);if(!R){return E.setTextRange(createNodeArray(j([createUseStrictPrologue()],N,true)),N)}return N}function liftToBlock(N){E.Debug.assert(E.every(N,E.isStatementOrBlock),"Cannot lift nodes to a Block.");return E.singleOrUndefined(N)||createBlock(N)}function findSpanEnd(E,N,R){var j=R;while(j<E.length&&N(E[j])){j++}return j}function mergeLexicalEnvironment(N,R){if(!E.some(R)){return N}var $=findSpanEnd(N,E.isPrologueDirective,0);var q=findSpanEnd(N,E.isHoistedFunction,$);var G=findSpanEnd(N,E.isHoistedVariableStatement,q);var ie=findSpanEnd(R,E.isPrologueDirective,0);var ae=findSpanEnd(R,E.isHoistedFunction,ie);var ce=findSpanEnd(R,E.isHoistedVariableStatement,ae);var le=findSpanEnd(R,E.isCustomPrologue,ce);E.Debug.assert(le===R.length,"Expected declarations to be valid standard or custom prologues");var _e=E.isNodeArray(N)?N.slice():N;if(le>ce){_e.splice.apply(_e,j([G,0],R.slice(ce,le),false))}if(ce>ae){_e.splice.apply(_e,j([q,0],R.slice(ae,ce),false))}if(ae>ie){_e.splice.apply(_e,j([$,0],R.slice(ie,ae),false))}if(ie>0){if($===0){_e.splice.apply(_e,j([0,0],R.slice(0,ie),false))}else{var Ee=new E.Map;for(var Te=0;Te<$;Te++){var we=N[Te];Ee.set(we.expression.text,true)}for(var Te=ie-1;Te>=0;Te--){var Ie=R[Te];if(!Ee.has(Ie.expression.text)){_e.unshift(Ie)}}}}if(E.isNodeArray(N)){return E.setTextRange(createNodeArray(_e,N.hasTrailingComma),N)}return N}function updateModifiers(N,R){var j;if(typeof R==="number"){R=createModifiersFromModifierFlags(R)}return E.isParameter(N)?updateParameterDeclaration(N,N.decorators,R,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):E.isPropertySignature(N)?updatePropertySignature(N,R,N.name,N.questionToken,N.type):E.isPropertyDeclaration(N)?updatePropertyDeclaration(N,N.decorators,R,N.name,(j=N.questionToken)!==null&&j!==void 0?j:N.exclamationToken,N.type,N.initializer):E.isMethodSignature(N)?updateMethodSignature(N,R,N.name,N.questionToken,N.typeParameters,N.parameters,N.type):E.isMethodDeclaration(N)?updateMethodDeclaration(N,N.decorators,R,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):E.isConstructorDeclaration(N)?updateConstructorDeclaration(N,N.decorators,R,N.parameters,N.body):E.isGetAccessorDeclaration(N)?updateGetAccessorDeclaration(N,N.decorators,R,N.name,N.parameters,N.type,N.body):E.isSetAccessorDeclaration(N)?updateSetAccessorDeclaration(N,N.decorators,R,N.name,N.parameters,N.body):E.isIndexSignatureDeclaration(N)?updateIndexSignature(N,N.decorators,R,N.parameters,N.type):E.isFunctionExpression(N)?updateFunctionExpression(N,R,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):E.isArrowFunction(N)?updateArrowFunction(N,R,N.typeParameters,N.parameters,N.type,N.equalsGreaterThanToken,N.body):E.isClassExpression(N)?updateClassExpression(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isVariableStatement(N)?updateVariableStatement(N,R,N.declarationList):E.isFunctionDeclaration(N)?updateFunctionDeclaration(N,N.decorators,R,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):E.isClassDeclaration(N)?updateClassDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isInterfaceDeclaration(N)?updateInterfaceDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isTypeAliasDeclaration(N)?updateTypeAliasDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.type):E.isEnumDeclaration(N)?updateEnumDeclaration(N,N.decorators,R,N.name,N.members):E.isModuleDeclaration(N)?updateModuleDeclaration(N,N.decorators,R,N.name,N.body):E.isImportEqualsDeclaration(N)?updateImportEqualsDeclaration(N,N.decorators,R,N.isTypeOnly,N.name,N.moduleReference):E.isImportDeclaration(N)?updateImportDeclaration(N,N.decorators,R,N.importClause,N.moduleSpecifier):E.isExportAssignment(N)?updateExportAssignment(N,N.decorators,R,N.expression):E.isExportDeclaration(N)?updateExportDeclaration(N,N.decorators,R,N.isTypeOnly,N.exportClause,N.moduleSpecifier):E.Debug.assertNever(N)}function asNodeArray(E){return E?createNodeArray(E):undefined}function asName(E){return typeof E==="string"?createIdentifier(E):E}function asExpression(E){return typeof E==="string"?createStringLiteral(E):typeof E==="number"?createNumericLiteral(E):typeof E==="boolean"?E?createTrue():createFalse():E}function asToken(E){return typeof E==="number"?createToken(E):E}function asEmbeddedStatement(N){return N&&E.isNotEmittedStatement(N)?E.setTextRange(setOriginalNode(createEmptyStatement(),N),N):N}}E.createNodeFactory=createNodeFactory;function updateWithoutOriginal(N,R){if(N!==R){E.setTextRange(N,R)}return N}function updateWithOriginal(N,R){if(N!==R){setOriginalNode(N,R);E.setTextRange(N,R)}return N}function getDefaultTagNameForKind(N){switch(N){case 338:return"type";case 336:return"returns";case 337:return"this";case 334:return"enum";case 325:return"author";case 327:return"class";case 328:return"public";case 329:return"private";case 330:return"protected";case 331:return"readonly";case 332:return"override";case 339:return"template";case 340:return"typedef";case 335:return"param";case 342:return"prop";case 333:return"callback";case 323:return"augments";case 324:return"implements";default:return E.Debug.fail("Unsupported kind: "+E.Debug.formatSyntaxKind(N))}}var $;var q={};function getCookedText(N,R){if(!$){$=E.createScanner(99,false,0)}switch(N){case 14:$.setText("`"+R+"`");break;case 15:$.setText("`"+R+"${");break;case 16:$.setText("}"+R+"${");break;case 17:$.setText("}"+R+"`");break}var j=$.scan();if(j===19){j=$.reScanTemplateToken(false)}if($.isUnterminated()){$.setText(undefined);return q}var G;switch(j){case 14:case 15:case 16:case 17:G=$.getTokenValue();break}if(G===undefined||$.scan()!==1){$.setText(undefined);return q}$.setText(undefined);return G}function propagateIdentifierNameFlags(E){return propagateChildFlags(E)&~16777216}function propagatePropertyNameFlagsOfChild(E,N){return N|E.transformFlags&33562624}function propagateChildFlags(N){if(!N)return 0;var R=N.transformFlags&~getTransformFlagsSubtreeExclusions(N.kind);return E.isNamedDeclaration(N)&&E.isPropertyName(N.name)?propagatePropertyNameFlagsOfChild(N.name,R):R}function propagateChildrenFlags(E){return E?E.transformFlags:0}function aggregateChildrenFlags(E){var N=0;for(var R=0,j=E;R<j.length;R++){var $=j[R];N|=propagateChildFlags($)}E.transformFlags=N}function getTransformFlagsSubtreeExclusions(E){if(E>=175&&E<=198){return-2}switch(E){case 206:case 207:case 202:return 536887296;case 259:return 589443072;case 162:return 536870912;case 212:return 557748224;case 211:case 254:return 591310848;case 253:return 537165824;case 255:case 224:return 536940544;case 169:return 591306752;case 165:return 570433536;case 167:case 170:case 171:return 574529536;case 129:case 145:case 156:case 142:case 148:case 146:case 132:case 149:case 114:case 161:case 164:case 166:case 172:case 173:case 174:case 256:case 257:return-2;case 203:return 536973312;case 290:return 536903680;case 199:case 200:return 536887296;case 209:case 227:case 345:case 210:case 106:return 536870912;case 204:case 205:return 536870912;default:return 536870912}}E.getTransformFlagsSubtreeExclusions=getTransformFlagsSubtreeExclusions;var G=E.createBaseNodeFactory();function makeSynthetic(E){E.flags|=8;return E}var ie={createBaseSourceFileNode:function(E){return makeSynthetic(G.createBaseSourceFileNode(E))},createBaseIdentifierNode:function(E){return makeSynthetic(G.createBaseIdentifierNode(E))},createBasePrivateIdentifierNode:function(E){return makeSynthetic(G.createBasePrivateIdentifierNode(E))},createBaseTokenNode:function(E){return makeSynthetic(G.createBaseTokenNode(E))},createBaseNode:function(E){return makeSynthetic(G.createBaseNode(E))}};E.factory=createNodeFactory(4,ie);function createUnparsedSourceFile(N,R,j){var $;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;if(!E.isString(N)){E.Debug.assert(R==="js"||R==="dts");G=(R==="js"?N.javascriptPath:N.declarationPath)||"";ce=R==="js"?N.javascriptMapPath:N.declarationMapPath;_e=function(){return R==="js"?N.javascriptText:N.declarationText};Ee=function(){return R==="js"?N.javascriptMapText:N.declarationMapText};ae=function(){return _e().length};if(N.buildInfo&&N.buildInfo.bundle){E.Debug.assert(j===undefined||typeof j==="boolean");$=j;q=R==="js"?N.buildInfo.bundle.js:N.buildInfo.bundle.dts;Te=N.oldFileOfCurrentEmit}}else{G="";ie=N;ae=N.length;ce=R;le=j}var we=Te?parseOldFileOfCurrentEmit(E.Debug.assertDefined(q)):parseUnparsedSourceFile(q,$,ae);we.fileName=G;we.sourceMapPath=ce;we.oldFileOfCurrentEmit=Te;if(_e&&Ee){Object.defineProperty(we,"text",{get:_e});Object.defineProperty(we,"sourceMapText",{get:Ee})}else{E.Debug.assert(!Te);we.text=ie!==null&&ie!==void 0?ie:"";we.sourceMapText=le}return we}E.createUnparsedSourceFile=createUnparsedSourceFile;function parseUnparsedSourceFile(N,R,j){var $;var q;var G;var ie;var ae;var ce;var le;var _e;for(var Ee=0,Te=N?N.sections:E.emptyArray;Ee<Te.length;Ee++){var we=Te[Ee];switch(we.kind){case"prologue":$=E.append($,E.setTextRange(E.factory.createUnparsedPrologue(we.data),we));break;case"emitHelpers":q=E.append(q,E.getAllUnscopedEmitHelpers().get(we.data));break;case"no-default-lib":_e=true;break;case"reference":G=E.append(G,{pos:-1,end:-1,fileName:we.data});break;case"type":ie=E.append(ie,we.data);break;case"lib":ae=E.append(ae,{pos:-1,end:-1,fileName:we.data});break;case"prepend":var Ie=void 0;for(var Ne=0,Me=we.texts;Ne<Me.length;Ne++){var Le=Me[Ne];if(!R||Le.kind!=="internal"){Ie=E.append(Ie,E.setTextRange(E.factory.createUnparsedTextLike(Le.data,Le.kind==="internal"),Le))}}ce=E.addRange(ce,Ie);le=E.append(le,E.factory.createUnparsedPrepend(we.data,Ie!==null&&Ie!==void 0?Ie:E.emptyArray));break;case"internal":if(R){if(!le)le=[];break}case"text":le=E.append(le,E.setTextRange(E.factory.createUnparsedTextLike(we.data,we.kind==="internal"),we));break;default:E.Debug.assertNever(we)}}if(!le){var Be=E.factory.createUnparsedTextLike(undefined,false);E.setTextRangePosWidth(Be,0,typeof j==="function"?j():j);le=[Be]}var je=E.parseNodeFactory.createUnparsedSource($!==null&&$!==void 0?$:E.emptyArray,undefined,le);E.setEachParent($,je);E.setEachParent(le,je);E.setEachParent(ce,je);je.hasNoDefaultLib=_e;je.helpers=q;je.referencedFiles=G||E.emptyArray;je.typeReferenceDirectives=ie;je.libReferenceDirectives=ae||E.emptyArray;return je}function parseOldFileOfCurrentEmit(N){var R;var j;for(var $=0,q=N.sections;$<q.length;$++){var G=q[$];switch(G.kind){case"internal":case"text":R=E.append(R,E.setTextRange(E.factory.createUnparsedTextLike(G.data,G.kind==="internal"),G));break;case"no-default-lib":case"reference":case"type":case"lib":j=E.append(j,E.setTextRange(E.factory.createUnparsedSyntheticReference(G),G));break;case"prologue":case"emitHelpers":case"prepend":break;default:E.Debug.assertNever(G)}}var ie=E.factory.createUnparsedSource(E.emptyArray,j,R!==null&&R!==void 0?R:E.emptyArray);E.setEachParent(j,ie);E.setEachParent(R,ie);ie.helpers=E.map(N.sources&&N.sources.helpers,(function(N){return E.getAllUnscopedEmitHelpers().get(N)}));return ie}function createInputFiles(N,R,j,$,q,G,ie,ae,ce,le,_e){var Ee=E.parseNodeFactory.createInputFiles();if(!E.isString(N)){var Te=new E.Map;var textGetter_1=function(E){if(E===undefined)return undefined;var R=Te.get(E);if(R===undefined){R=N(E);Te.set(E,R!==undefined?R:false)}return R!==false?R:undefined};var definedTextGetter_1=function(E){var N=textGetter_1(E);return N!==undefined?N:"/* Input file "+E+" was missing */\r\n"};var we;var getAndCacheBuildInfo_1=function(N){if(we===undefined){var R=N();we=R!==undefined?E.getBuildInfo(R):false}return we||undefined};Ee.javascriptPath=R;Ee.javascriptMapPath=j;Ee.declarationPath=E.Debug.assertDefined($);Ee.declarationMapPath=q;Ee.buildInfoPath=G;Object.defineProperties(Ee,{javascriptText:{get:function(){return definedTextGetter_1(R)}},javascriptMapText:{get:function(){return textGetter_1(j)}},declarationText:{get:function(){return definedTextGetter_1(E.Debug.assertDefined($))}},declarationMapText:{get:function(){return textGetter_1(q)}},buildInfo:{get:function(){return getAndCacheBuildInfo_1((function(){return textGetter_1(G)}))}}})}else{Ee.javascriptText=N;Ee.javascriptMapPath=j;Ee.javascriptMapText=$;Ee.declarationText=R;Ee.declarationMapPath=q;Ee.declarationMapText=G;Ee.javascriptPath=ie;Ee.declarationPath=ae;Ee.buildInfoPath=ce;Ee.buildInfo=le;Ee.oldFileOfCurrentEmit=_e}return Ee}E.createInputFiles=createInputFiles;var ae;function createSourceMapSource(N,R,j){return new(ae||(ae=E.objectAllocator.getSourceMapSourceConstructor()))(N,R,j)}E.createSourceMapSource=createSourceMapSource;function setOriginalNode(E,N){E.original=N;if(N){var R=N.emitNode;if(R)E.emitNode=mergeEmitNode(R,E.emitNode)}return E}E.setOriginalNode=setOriginalNode;function mergeEmitNode(N,R){var j=N.flags,$=N.leadingComments,q=N.trailingComments,G=N.commentRange,ie=N.sourceMapRange,ae=N.tokenSourceMapRanges,ce=N.constantValue,le=N.helpers,_e=N.startsOnNewLine;if(!R)R={};if($)R.leadingComments=E.addRange($.slice(),R.leadingComments);if(q)R.trailingComments=E.addRange(q.slice(),R.trailingComments);if(j)R.flags=j&~268435456;if(G)R.commentRange=G;if(ie)R.sourceMapRange=ie;if(ae)R.tokenSourceMapRanges=mergeTokenSourceMapRanges(ae,R.tokenSourceMapRanges);if(ce!==undefined)R.constantValue=ce;if(le){for(var Ee=0,Te=le;Ee<Te.length;Ee++){var we=Te[Ee];R.helpers=E.appendIfUnique(R.helpers,we)}}if(_e!==undefined)R.startsOnNewLine=_e;return R}function mergeTokenSourceMapRanges(E,N){if(!N)N=[];for(var R in E){N[R]=E[R]}return N}})(ce||(ce={}));var ce;(function(E){function getOrCreateEmitNode(N){var R;if(!N.emitNode){if(E.isParseTreeNode(N)){if(N.kind===300){return N.emitNode={annotatedNodes:[N]}}var j=(R=E.getSourceFileOfNode(E.getParseTreeNode(E.getSourceFileOfNode(N))))!==null&&R!==void 0?R:E.Debug.fail("Could not determine parsed source file.");getOrCreateEmitNode(j).annotatedNodes.push(N)}N.emitNode={}}else{E.Debug.assert(!(N.emitNode.flags&268435456),"Invalid attempt to mutate an immutable node.")}return N.emitNode}E.getOrCreateEmitNode=getOrCreateEmitNode;function disposeEmitNodes(N){var R,j;var $=(j=(R=E.getSourceFileOfNode(E.getParseTreeNode(N)))===null||R===void 0?void 0:R.emitNode)===null||j===void 0?void 0:j.annotatedNodes;if($){for(var q=0,G=$;q<G.length;q++){var ie=G[q];ie.emitNode=undefined}}}E.disposeEmitNodes=disposeEmitNodes;function removeAllComments(E){var N=getOrCreateEmitNode(E);N.flags|=1536;N.leadingComments=undefined;N.trailingComments=undefined;return E}E.removeAllComments=removeAllComments;function setEmitFlags(E,N){getOrCreateEmitNode(E).flags=N;return E}E.setEmitFlags=setEmitFlags;function addEmitFlags(E,N){var R=getOrCreateEmitNode(E);R.flags=R.flags|N;return E}E.addEmitFlags=addEmitFlags;function getSourceMapRange(E){var N,R;return(R=(N=E.emitNode)===null||N===void 0?void 0:N.sourceMapRange)!==null&&R!==void 0?R:E}E.getSourceMapRange=getSourceMapRange;function setSourceMapRange(E,N){getOrCreateEmitNode(E).sourceMapRange=N;return E}E.setSourceMapRange=setSourceMapRange;function getTokenSourceMapRange(E,N){var R,j;return(j=(R=E.emitNode)===null||R===void 0?void 0:R.tokenSourceMapRanges)===null||j===void 0?void 0:j[N]}E.getTokenSourceMapRange=getTokenSourceMapRange;function setTokenSourceMapRange(E,N,R){var j;var $=getOrCreateEmitNode(E);var q=(j=$.tokenSourceMapRanges)!==null&&j!==void 0?j:$.tokenSourceMapRanges=[];q[N]=R;return E}E.setTokenSourceMapRange=setTokenSourceMapRange;function getStartsOnNewLine(E){var N;return(N=E.emitNode)===null||N===void 0?void 0:N.startsOnNewLine}E.getStartsOnNewLine=getStartsOnNewLine;function setStartsOnNewLine(E,N){getOrCreateEmitNode(E).startsOnNewLine=N;return E}E.setStartsOnNewLine=setStartsOnNewLine;function getCommentRange(E){var N,R;return(R=(N=E.emitNode)===null||N===void 0?void 0:N.commentRange)!==null&&R!==void 0?R:E}E.getCommentRange=getCommentRange;function setCommentRange(E,N){getOrCreateEmitNode(E).commentRange=N;return E}E.setCommentRange=setCommentRange;function getSyntheticLeadingComments(E){var N;return(N=E.emitNode)===null||N===void 0?void 0:N.leadingComments}E.getSyntheticLeadingComments=getSyntheticLeadingComments;function setSyntheticLeadingComments(E,N){getOrCreateEmitNode(E).leadingComments=N;return E}E.setSyntheticLeadingComments=setSyntheticLeadingComments;function addSyntheticLeadingComment(N,R,j,$){return setSyntheticLeadingComments(N,E.append(getSyntheticLeadingComments(N),{kind:R,pos:-1,end:-1,hasTrailingNewLine:$,text:j}))}E.addSyntheticLeadingComment=addSyntheticLeadingComment;function getSyntheticTrailingComments(E){var N;return(N=E.emitNode)===null||N===void 0?void 0:N.trailingComments}E.getSyntheticTrailingComments=getSyntheticTrailingComments;function setSyntheticTrailingComments(E,N){getOrCreateEmitNode(E).trailingComments=N;return E}E.setSyntheticTrailingComments=setSyntheticTrailingComments;function addSyntheticTrailingComment(N,R,j,$){return setSyntheticTrailingComments(N,E.append(getSyntheticTrailingComments(N),{kind:R,pos:-1,end:-1,hasTrailingNewLine:$,text:j}))}E.addSyntheticTrailingComment=addSyntheticTrailingComment;function moveSyntheticComments(E,N){setSyntheticLeadingComments(E,getSyntheticLeadingComments(N));setSyntheticTrailingComments(E,getSyntheticTrailingComments(N));var R=getOrCreateEmitNode(N);R.leadingComments=undefined;R.trailingComments=undefined;return E}E.moveSyntheticComments=moveSyntheticComments;function getConstantValue(E){var N;return(N=E.emitNode)===null||N===void 0?void 0:N.constantValue}E.getConstantValue=getConstantValue;function setConstantValue(E,N){var R=getOrCreateEmitNode(E);R.constantValue=N;return E}E.setConstantValue=setConstantValue;function addEmitHelper(N,R){var j=getOrCreateEmitNode(N);j.helpers=E.append(j.helpers,R);return N}E.addEmitHelper=addEmitHelper;function addEmitHelpers(N,R){if(E.some(R)){var j=getOrCreateEmitNode(N);for(var $=0,q=R;$<q.length;$++){var G=q[$];j.helpers=E.appendIfUnique(j.helpers,G)}}return N}E.addEmitHelpers=addEmitHelpers;function removeEmitHelper(N,R){var j;var $=(j=N.emitNode)===null||j===void 0?void 0:j.helpers;if($){return E.orderedRemoveItem($,R)}return false}E.removeEmitHelper=removeEmitHelper;function getEmitHelpers(E){var N;return(N=E.emitNode)===null||N===void 0?void 0:N.helpers}E.getEmitHelpers=getEmitHelpers;function moveEmitHelpers(N,R,j){var $=N.emitNode;var q=$&&$.helpers;if(!E.some(q))return;var G=getOrCreateEmitNode(R);var ie=0;for(var ae=0;ae<q.length;ae++){var ce=q[ae];if(j(ce)){ie++;G.helpers=E.appendIfUnique(G.helpers,ce)}else if(ie>0){q[ae-ie]=ce}}if(ie>0){q.length-=ie}}E.moveEmitHelpers=moveEmitHelpers;function ignoreSourceNewlines(E){getOrCreateEmitNode(E).flags|=134217728;return E}E.ignoreSourceNewlines=ignoreSourceNewlines})(ce||(ce={}));var ce;(function(E){function createEmitHelperFactory(N){var R=N.factory;var $=E.memoize((function(){return E.setEmitFlags(R.createTrue(),268435456)}));var q=E.memoize((function(){return E.setEmitFlags(R.createFalse(),268435456)}));return{getUnscopedHelperName:getUnscopedHelperName,createDecorateHelper:createDecorateHelper,createMetadataHelper:createMetadataHelper,createParamHelper:createParamHelper,createAssignHelper:createAssignHelper,createAwaitHelper:createAwaitHelper,createAsyncGeneratorHelper:createAsyncGeneratorHelper,createAsyncDelegatorHelper:createAsyncDelegatorHelper,createAsyncValuesHelper:createAsyncValuesHelper,createRestHelper:createRestHelper,createAwaiterHelper:createAwaiterHelper,createExtendsHelper:createExtendsHelper,createTemplateObjectHelper:createTemplateObjectHelper,createSpreadArrayHelper:createSpreadArrayHelper,createValuesHelper:createValuesHelper,createReadHelper:createReadHelper,createGeneratorHelper:createGeneratorHelper,createCreateBindingHelper:createCreateBindingHelper,createImportStarHelper:createImportStarHelper,createImportStarCallbackHelper:createImportStarCallbackHelper,createImportDefaultHelper:createImportDefaultHelper,createExportStarHelper:createExportStarHelper,createClassPrivateFieldGetHelper:createClassPrivateFieldGetHelper,createClassPrivateFieldSetHelper:createClassPrivateFieldSetHelper};function getUnscopedHelperName(N){return E.setEmitFlags(R.createIdentifier(N),4096|2)}function createDecorateHelper(j,$,q,G){N.requestEmitHelper(E.decorateHelper);var ie=[];ie.push(R.createArrayLiteralExpression(j,true));ie.push($);if(q){ie.push(q);if(G){ie.push(G)}}return R.createCallExpression(getUnscopedHelperName("__decorate"),undefined,ie)}function createMetadataHelper(j,$){N.requestEmitHelper(E.metadataHelper);return R.createCallExpression(getUnscopedHelperName("__metadata"),undefined,[R.createStringLiteral(j),$])}function createParamHelper(j,$,q){N.requestEmitHelper(E.paramHelper);return E.setTextRange(R.createCallExpression(getUnscopedHelperName("__param"),undefined,[R.createNumericLiteral($+""),j]),q)}function createAssignHelper(j){if(N.getCompilerOptions().target>=2){return R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("Object"),"assign"),undefined,j)}N.requestEmitHelper(E.assignHelper);return R.createCallExpression(getUnscopedHelperName("__assign"),undefined,j)}function createAwaitHelper(j){N.requestEmitHelper(E.awaitHelper);return R.createCallExpression(getUnscopedHelperName("__await"),undefined,[j])}function createAsyncGeneratorHelper(j,$){N.requestEmitHelper(E.awaitHelper);N.requestEmitHelper(E.asyncGeneratorHelper);(j.emitNode||(j.emitNode={})).flags|=262144|524288;return R.createCallExpression(getUnscopedHelperName("__asyncGenerator"),undefined,[$?R.createThis():R.createVoidZero(),R.createIdentifier("arguments"),j])}function createAsyncDelegatorHelper(j){N.requestEmitHelper(E.awaitHelper);N.requestEmitHelper(E.asyncDelegator);return R.createCallExpression(getUnscopedHelperName("__asyncDelegator"),undefined,[j])}function createAsyncValuesHelper(j){N.requestEmitHelper(E.asyncValues);return R.createCallExpression(getUnscopedHelperName("__asyncValues"),undefined,[j])}function createRestHelper(j,$,q,G){N.requestEmitHelper(E.restHelper);var ie=[];var ae=0;for(var ce=0;ce<$.length-1;ce++){var le=E.getPropertyNameOfBindingOrAssignmentElement($[ce]);if(le){if(E.isComputedPropertyName(le)){E.Debug.assertIsDefined(q,"Encountered computed property name but 'computedTempVariables' argument was not provided.");var _e=q[ae];ae++;ie.push(R.createConditionalExpression(R.createTypeCheck(_e,"symbol"),undefined,_e,undefined,R.createAdd(_e,R.createStringLiteral(""))))}else{ie.push(R.createStringLiteralFromNode(le))}}}return R.createCallExpression(getUnscopedHelperName("__rest"),undefined,[j,E.setTextRange(R.createArrayLiteralExpression(ie),G)])}function createAwaiterHelper(j,$,q,G){N.requestEmitHelper(E.awaiterHelper);var ie=R.createFunctionExpression(undefined,R.createToken(41),undefined,undefined,[],undefined,G);(ie.emitNode||(ie.emitNode={})).flags|=262144|524288;return R.createCallExpression(getUnscopedHelperName("__awaiter"),undefined,[j?R.createThis():R.createVoidZero(),$?R.createIdentifier("arguments"):R.createVoidZero(),q?E.createExpressionFromEntityName(R,q):R.createVoidZero(),ie])}function createExtendsHelper(j){N.requestEmitHelper(E.extendsHelper);return R.createCallExpression(getUnscopedHelperName("__extends"),undefined,[j,R.createUniqueName("_super",16|32)])}function createTemplateObjectHelper(j,$){N.requestEmitHelper(E.templateObjectHelper);return R.createCallExpression(getUnscopedHelperName("__makeTemplateObject"),undefined,[j,$])}function createSpreadArrayHelper(j,G,ie){N.requestEmitHelper(E.spreadArrayHelper);return R.createCallExpression(getUnscopedHelperName("__spreadArray"),undefined,[j,G,ie?$():q()])}function createValuesHelper(j){N.requestEmitHelper(E.valuesHelper);return R.createCallExpression(getUnscopedHelperName("__values"),undefined,[j])}function createReadHelper(j,$){N.requestEmitHelper(E.readHelper);return R.createCallExpression(getUnscopedHelperName("__read"),undefined,$!==undefined?[j,R.createNumericLiteral($+"")]:[j])}function createGeneratorHelper(j){N.requestEmitHelper(E.generatorHelper);return R.createCallExpression(getUnscopedHelperName("__generator"),undefined,[R.createThis(),j])}function createCreateBindingHelper($,q,G){N.requestEmitHelper(E.createBindingHelper);return R.createCallExpression(getUnscopedHelperName("__createBinding"),undefined,j([R.createIdentifier("exports"),$,q],G?[G]:[],true))}function createImportStarHelper(j){N.requestEmitHelper(E.importStarHelper);return R.createCallExpression(getUnscopedHelperName("__importStar"),undefined,[j])}function createImportStarCallbackHelper(){N.requestEmitHelper(E.importStarHelper);return getUnscopedHelperName("__importStar")}function createImportDefaultHelper(j){N.requestEmitHelper(E.importDefaultHelper);return R.createCallExpression(getUnscopedHelperName("__importDefault"),undefined,[j])}function createExportStarHelper(j,$){if($===void 0){$=R.createIdentifier("exports")}N.requestEmitHelper(E.exportStarHelper);N.requestEmitHelper(E.createBindingHelper);return R.createCallExpression(getUnscopedHelperName("__exportStar"),undefined,[j,$])}function createClassPrivateFieldGetHelper(j,$,q,G){N.requestEmitHelper(E.classPrivateFieldGetHelper);var ie;if(!G){ie=[j,$,R.createStringLiteral(q)]}else{ie=[j,$,R.createStringLiteral(q),G]}return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldGet"),undefined,ie)}function createClassPrivateFieldSetHelper(j,$,q,G,ie){N.requestEmitHelper(E.classPrivateFieldSetHelper);var ae;if(!ie){ae=[j,$,q,R.createStringLiteral(G)]}else{ae=[j,$,q,R.createStringLiteral(G),ie]}return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldSet"),undefined,ae)}}E.createEmitHelperFactory=createEmitHelperFactory;function compareEmitHelpers(N,R){if(N===R)return 0;if(N.priority===R.priority)return 0;if(N.priority===undefined)return 1;if(R.priority===undefined)return-1;return E.compareValues(N.priority,R.priority)}E.compareEmitHelpers=compareEmitHelpers;function helperString(E){var N=[];for(var R=1;R<arguments.length;R++){N[R-1]=arguments[R]}return function(R){var j="";for(var $=0;$<N.length;$++){j+=E[$];j+=R(N[$])}j+=E[E.length-1];return j}}E.helperString=helperString;E.decorateHelper={name:"typescript:decorate",importName:"__decorate",scoped:false,priority:2,text:'\n var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'};E.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:false,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'};E.paramHelper={name:"typescript:param",importName:"__param",scoped:false,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"};E.assignHelper={name:"typescript:assign",importName:"__assign",scoped:false,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"};E.awaitHelper={name:"typescript:await",importName:"__await",scoped:false,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"};E.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:false,dependencies:[E.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'};E.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:false,dependencies:[E.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'};E.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:false,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'};E.restHelper={name:"typescript:rest",importName:"__rest",scoped:false,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'};E.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:false,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};E.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:false,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'};E.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:false,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'};E.readHelper={name:"typescript:read",importName:"__read",scoped:false,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'};E.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:false,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"};E.valuesHelper={name:"typescript:values",importName:"__values",scoped:false,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'};E.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:false,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'};E.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:false,priority:1,text:"\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));"};E.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:false,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'};E.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:false,dependencies:[E.createBindingHelper,E.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'};E.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:false,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'};E.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:false,dependencies:[E.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'};E.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:false,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'};E.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:false,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'};var N;function getAllUnscopedEmitHelpers(){return N||(N=E.arrayToMap([E.decorateHelper,E.metadataHelper,E.paramHelper,E.assignHelper,E.awaitHelper,E.asyncGeneratorHelper,E.asyncDelegator,E.asyncValues,E.restHelper,E.awaiterHelper,E.extendsHelper,E.templateObjectHelper,E.spreadArrayHelper,E.valuesHelper,E.readHelper,E.generatorHelper,E.importStarHelper,E.importDefaultHelper,E.exportStarHelper,E.classPrivateFieldGetHelper,E.classPrivateFieldSetHelper,E.createBindingHelper,E.setModuleDefaultHelper],(function(E){return E.name})))}E.getAllUnscopedEmitHelpers=getAllUnscopedEmitHelpers;E.asyncSuperHelper={name:"typescript:async-super",scoped:true,text:helperString(q(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")};E.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:true,text:helperString(q(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")};function isCallToHelper(N,R){return E.isCallExpression(N)&&E.isIdentifier(N.expression)&&(E.getEmitFlags(N.expression)&4096)!==0&&N.expression.escapedText===R}E.isCallToHelper=isCallToHelper})(ce||(ce={}));var ce;(function(E){function isNumericLiteral(E){return E.kind===8}E.isNumericLiteral=isNumericLiteral;function isBigIntLiteral(E){return E.kind===9}E.isBigIntLiteral=isBigIntLiteral;function isStringLiteral(E){return E.kind===10}E.isStringLiteral=isStringLiteral;function isJsxText(E){return E.kind===11}E.isJsxText=isJsxText;function isRegularExpressionLiteral(E){return E.kind===13}E.isRegularExpressionLiteral=isRegularExpressionLiteral;function isNoSubstitutionTemplateLiteral(E){return E.kind===14}E.isNoSubstitutionTemplateLiteral=isNoSubstitutionTemplateLiteral;function isTemplateHead(E){return E.kind===15}E.isTemplateHead=isTemplateHead;function isTemplateMiddle(E){return E.kind===16}E.isTemplateMiddle=isTemplateMiddle;function isTemplateTail(E){return E.kind===17}E.isTemplateTail=isTemplateTail;function isDotDotDotToken(E){return E.kind===25}E.isDotDotDotToken=isDotDotDotToken;function isCommaToken(E){return E.kind===27}E.isCommaToken=isCommaToken;function isPlusToken(E){return E.kind===39}E.isPlusToken=isPlusToken;function isMinusToken(E){return E.kind===40}E.isMinusToken=isMinusToken;function isAsteriskToken(E){return E.kind===41}E.isAsteriskToken=isAsteriskToken;function isExclamationToken(E){return E.kind===53}E.isExclamationToken=isExclamationToken;function isQuestionToken(E){return E.kind===57}E.isQuestionToken=isQuestionToken;function isColonToken(E){return E.kind===58}E.isColonToken=isColonToken;function isQuestionDotToken(E){return E.kind===28}E.isQuestionDotToken=isQuestionDotToken;function isEqualsGreaterThanToken(E){return E.kind===38}E.isEqualsGreaterThanToken=isEqualsGreaterThanToken;function isIdentifier(E){return E.kind===79}E.isIdentifier=isIdentifier;function isPrivateIdentifier(E){return E.kind===80}E.isPrivateIdentifier=isPrivateIdentifier;function isExportModifier(E){return E.kind===93}E.isExportModifier=isExportModifier;function isAsyncModifier(E){return E.kind===130}E.isAsyncModifier=isAsyncModifier;function isAssertsKeyword(E){return E.kind===128}E.isAssertsKeyword=isAssertsKeyword;function isAwaitKeyword(E){return E.kind===131}E.isAwaitKeyword=isAwaitKeyword;function isReadonlyKeyword(E){return E.kind===143}E.isReadonlyKeyword=isReadonlyKeyword;function isStaticModifier(E){return E.kind===124}E.isStaticModifier=isStaticModifier;function isAbstractModifier(E){return E.kind===126}E.isAbstractModifier=isAbstractModifier;function isSuperKeyword(E){return E.kind===106}E.isSuperKeyword=isSuperKeyword;function isImportKeyword(E){return E.kind===100}E.isImportKeyword=isImportKeyword;function isQualifiedName(E){return E.kind===159}E.isQualifiedName=isQualifiedName;function isComputedPropertyName(E){return E.kind===160}E.isComputedPropertyName=isComputedPropertyName;function isTypeParameterDeclaration(E){return E.kind===161}E.isTypeParameterDeclaration=isTypeParameterDeclaration;function isParameter(E){return E.kind===162}E.isParameter=isParameter;function isDecorator(E){return E.kind===163}E.isDecorator=isDecorator;function isPropertySignature(E){return E.kind===164}E.isPropertySignature=isPropertySignature;function isPropertyDeclaration(E){return E.kind===165}E.isPropertyDeclaration=isPropertyDeclaration;function isMethodSignature(E){return E.kind===166}E.isMethodSignature=isMethodSignature;function isMethodDeclaration(E){return E.kind===167}E.isMethodDeclaration=isMethodDeclaration;function isClassStaticBlockDeclaration(E){return E.kind===168}E.isClassStaticBlockDeclaration=isClassStaticBlockDeclaration;function isConstructorDeclaration(E){return E.kind===169}E.isConstructorDeclaration=isConstructorDeclaration;function isGetAccessorDeclaration(E){return E.kind===170}E.isGetAccessorDeclaration=isGetAccessorDeclaration;function isSetAccessorDeclaration(E){return E.kind===171}E.isSetAccessorDeclaration=isSetAccessorDeclaration;function isCallSignatureDeclaration(E){return E.kind===172}E.isCallSignatureDeclaration=isCallSignatureDeclaration;function isConstructSignatureDeclaration(E){return E.kind===173}E.isConstructSignatureDeclaration=isConstructSignatureDeclaration;function isIndexSignatureDeclaration(E){return E.kind===174}E.isIndexSignatureDeclaration=isIndexSignatureDeclaration;function isTypePredicateNode(E){return E.kind===175}E.isTypePredicateNode=isTypePredicateNode;function isTypeReferenceNode(E){return E.kind===176}E.isTypeReferenceNode=isTypeReferenceNode;function isFunctionTypeNode(E){return E.kind===177}E.isFunctionTypeNode=isFunctionTypeNode;function isConstructorTypeNode(E){return E.kind===178}E.isConstructorTypeNode=isConstructorTypeNode;function isTypeQueryNode(E){return E.kind===179}E.isTypeQueryNode=isTypeQueryNode;function isTypeLiteralNode(E){return E.kind===180}E.isTypeLiteralNode=isTypeLiteralNode;function isArrayTypeNode(E){return E.kind===181}E.isArrayTypeNode=isArrayTypeNode;function isTupleTypeNode(E){return E.kind===182}E.isTupleTypeNode=isTupleTypeNode;function isNamedTupleMember(E){return E.kind===195}E.isNamedTupleMember=isNamedTupleMember;function isOptionalTypeNode(E){return E.kind===183}E.isOptionalTypeNode=isOptionalTypeNode;function isRestTypeNode(E){return E.kind===184}E.isRestTypeNode=isRestTypeNode;function isUnionTypeNode(E){return E.kind===185}E.isUnionTypeNode=isUnionTypeNode;function isIntersectionTypeNode(E){return E.kind===186}E.isIntersectionTypeNode=isIntersectionTypeNode;function isConditionalTypeNode(E){return E.kind===187}E.isConditionalTypeNode=isConditionalTypeNode;function isInferTypeNode(E){return E.kind===188}E.isInferTypeNode=isInferTypeNode;function isParenthesizedTypeNode(E){return E.kind===189}E.isParenthesizedTypeNode=isParenthesizedTypeNode;function isThisTypeNode(E){return E.kind===190}E.isThisTypeNode=isThisTypeNode;function isTypeOperatorNode(E){return E.kind===191}E.isTypeOperatorNode=isTypeOperatorNode;function isIndexedAccessTypeNode(E){return E.kind===192}E.isIndexedAccessTypeNode=isIndexedAccessTypeNode;function isMappedTypeNode(E){return E.kind===193}E.isMappedTypeNode=isMappedTypeNode;function isLiteralTypeNode(E){return E.kind===194}E.isLiteralTypeNode=isLiteralTypeNode;function isImportTypeNode(E){return E.kind===198}E.isImportTypeNode=isImportTypeNode;function isTemplateLiteralTypeSpan(E){return E.kind===197}E.isTemplateLiteralTypeSpan=isTemplateLiteralTypeSpan;function isTemplateLiteralTypeNode(E){return E.kind===196}E.isTemplateLiteralTypeNode=isTemplateLiteralTypeNode;function isObjectBindingPattern(E){return E.kind===199}E.isObjectBindingPattern=isObjectBindingPattern;function isArrayBindingPattern(E){return E.kind===200}E.isArrayBindingPattern=isArrayBindingPattern;function isBindingElement(E){return E.kind===201}E.isBindingElement=isBindingElement;function isArrayLiteralExpression(E){return E.kind===202}E.isArrayLiteralExpression=isArrayLiteralExpression;function isObjectLiteralExpression(E){return E.kind===203}E.isObjectLiteralExpression=isObjectLiteralExpression;function isPropertyAccessExpression(E){return E.kind===204}E.isPropertyAccessExpression=isPropertyAccessExpression;function isElementAccessExpression(E){return E.kind===205}E.isElementAccessExpression=isElementAccessExpression;function isCallExpression(E){return E.kind===206}E.isCallExpression=isCallExpression;function isNewExpression(E){return E.kind===207}E.isNewExpression=isNewExpression;function isTaggedTemplateExpression(E){return E.kind===208}E.isTaggedTemplateExpression=isTaggedTemplateExpression;function isTypeAssertionExpression(E){return E.kind===209}E.isTypeAssertionExpression=isTypeAssertionExpression;function isParenthesizedExpression(E){return E.kind===210}E.isParenthesizedExpression=isParenthesizedExpression;function isFunctionExpression(E){return E.kind===211}E.isFunctionExpression=isFunctionExpression;function isArrowFunction(E){return E.kind===212}E.isArrowFunction=isArrowFunction;function isDeleteExpression(E){return E.kind===213}E.isDeleteExpression=isDeleteExpression;function isTypeOfExpression(E){return E.kind===214}E.isTypeOfExpression=isTypeOfExpression;function isVoidExpression(E){return E.kind===215}E.isVoidExpression=isVoidExpression;function isAwaitExpression(E){return E.kind===216}E.isAwaitExpression=isAwaitExpression;function isPrefixUnaryExpression(E){return E.kind===217}E.isPrefixUnaryExpression=isPrefixUnaryExpression;function isPostfixUnaryExpression(E){return E.kind===218}E.isPostfixUnaryExpression=isPostfixUnaryExpression;function isBinaryExpression(E){return E.kind===219}E.isBinaryExpression=isBinaryExpression;function isConditionalExpression(E){return E.kind===220}E.isConditionalExpression=isConditionalExpression;function isTemplateExpression(E){return E.kind===221}E.isTemplateExpression=isTemplateExpression;function isYieldExpression(E){return E.kind===222}E.isYieldExpression=isYieldExpression;function isSpreadElement(E){return E.kind===223}E.isSpreadElement=isSpreadElement;function isClassExpression(E){return E.kind===224}E.isClassExpression=isClassExpression;function isOmittedExpression(E){return E.kind===225}E.isOmittedExpression=isOmittedExpression;function isExpressionWithTypeArguments(E){return E.kind===226}E.isExpressionWithTypeArguments=isExpressionWithTypeArguments;function isAsExpression(E){return E.kind===227}E.isAsExpression=isAsExpression;function isNonNullExpression(E){return E.kind===228}E.isNonNullExpression=isNonNullExpression;function isMetaProperty(E){return E.kind===229}E.isMetaProperty=isMetaProperty;function isSyntheticExpression(E){return E.kind===230}E.isSyntheticExpression=isSyntheticExpression;function isPartiallyEmittedExpression(E){return E.kind===345}E.isPartiallyEmittedExpression=isPartiallyEmittedExpression;function isCommaListExpression(E){return E.kind===346}E.isCommaListExpression=isCommaListExpression;function isTemplateSpan(E){return E.kind===231}E.isTemplateSpan=isTemplateSpan;function isSemicolonClassElement(E){return E.kind===232}E.isSemicolonClassElement=isSemicolonClassElement;function isBlock(E){return E.kind===233}E.isBlock=isBlock;function isVariableStatement(E){return E.kind===235}E.isVariableStatement=isVariableStatement;function isEmptyStatement(E){return E.kind===234}E.isEmptyStatement=isEmptyStatement;function isExpressionStatement(E){return E.kind===236}E.isExpressionStatement=isExpressionStatement;function isIfStatement(E){return E.kind===237}E.isIfStatement=isIfStatement;function isDoStatement(E){return E.kind===238}E.isDoStatement=isDoStatement;function isWhileStatement(E){return E.kind===239}E.isWhileStatement=isWhileStatement;function isForStatement(E){return E.kind===240}E.isForStatement=isForStatement;function isForInStatement(E){return E.kind===241}E.isForInStatement=isForInStatement;function isForOfStatement(E){return E.kind===242}E.isForOfStatement=isForOfStatement;function isContinueStatement(E){return E.kind===243}E.isContinueStatement=isContinueStatement;function isBreakStatement(E){return E.kind===244}E.isBreakStatement=isBreakStatement;function isReturnStatement(E){return E.kind===245}E.isReturnStatement=isReturnStatement;function isWithStatement(E){return E.kind===246}E.isWithStatement=isWithStatement;function isSwitchStatement(E){return E.kind===247}E.isSwitchStatement=isSwitchStatement;function isLabeledStatement(E){return E.kind===248}E.isLabeledStatement=isLabeledStatement;function isThrowStatement(E){return E.kind===249}E.isThrowStatement=isThrowStatement;function isTryStatement(E){return E.kind===250}E.isTryStatement=isTryStatement;function isDebuggerStatement(E){return E.kind===251}E.isDebuggerStatement=isDebuggerStatement;function isVariableDeclaration(E){return E.kind===252}E.isVariableDeclaration=isVariableDeclaration;function isVariableDeclarationList(E){return E.kind===253}E.isVariableDeclarationList=isVariableDeclarationList;function isFunctionDeclaration(E){return E.kind===254}E.isFunctionDeclaration=isFunctionDeclaration;function isClassDeclaration(E){return E.kind===255}E.isClassDeclaration=isClassDeclaration;function isInterfaceDeclaration(E){return E.kind===256}E.isInterfaceDeclaration=isInterfaceDeclaration;function isTypeAliasDeclaration(E){return E.kind===257}E.isTypeAliasDeclaration=isTypeAliasDeclaration;function isEnumDeclaration(E){return E.kind===258}E.isEnumDeclaration=isEnumDeclaration;function isModuleDeclaration(E){return E.kind===259}E.isModuleDeclaration=isModuleDeclaration;function isModuleBlock(E){return E.kind===260}E.isModuleBlock=isModuleBlock;function isCaseBlock(E){return E.kind===261}E.isCaseBlock=isCaseBlock;function isNamespaceExportDeclaration(E){return E.kind===262}E.isNamespaceExportDeclaration=isNamespaceExportDeclaration;function isImportEqualsDeclaration(E){return E.kind===263}E.isImportEqualsDeclaration=isImportEqualsDeclaration;function isImportDeclaration(E){return E.kind===264}E.isImportDeclaration=isImportDeclaration;function isImportClause(E){return E.kind===265}E.isImportClause=isImportClause;function isNamespaceImport(E){return E.kind===266}E.isNamespaceImport=isNamespaceImport;function isNamespaceExport(E){return E.kind===272}E.isNamespaceExport=isNamespaceExport;function isNamedImports(E){return E.kind===267}E.isNamedImports=isNamedImports;function isImportSpecifier(E){return E.kind===268}E.isImportSpecifier=isImportSpecifier;function isExportAssignment(E){return E.kind===269}E.isExportAssignment=isExportAssignment;function isExportDeclaration(E){return E.kind===270}E.isExportDeclaration=isExportDeclaration;function isNamedExports(E){return E.kind===271}E.isNamedExports=isNamedExports;function isExportSpecifier(E){return E.kind===273}E.isExportSpecifier=isExportSpecifier;function isMissingDeclaration(E){return E.kind===274}E.isMissingDeclaration=isMissingDeclaration;function isNotEmittedStatement(E){return E.kind===344}E.isNotEmittedStatement=isNotEmittedStatement;function isSyntheticReference(E){return E.kind===349}E.isSyntheticReference=isSyntheticReference;function isMergeDeclarationMarker(E){return E.kind===347}E.isMergeDeclarationMarker=isMergeDeclarationMarker;function isEndOfDeclarationMarker(E){return E.kind===348}E.isEndOfDeclarationMarker=isEndOfDeclarationMarker;function isExternalModuleReference(E){return E.kind===275}E.isExternalModuleReference=isExternalModuleReference;function isJsxElement(E){return E.kind===276}E.isJsxElement=isJsxElement;function isJsxSelfClosingElement(E){return E.kind===277}E.isJsxSelfClosingElement=isJsxSelfClosingElement;function isJsxOpeningElement(E){return E.kind===278}E.isJsxOpeningElement=isJsxOpeningElement;function isJsxClosingElement(E){return E.kind===279}E.isJsxClosingElement=isJsxClosingElement;function isJsxFragment(E){return E.kind===280}E.isJsxFragment=isJsxFragment;function isJsxOpeningFragment(E){return E.kind===281}E.isJsxOpeningFragment=isJsxOpeningFragment;function isJsxClosingFragment(E){return E.kind===282}E.isJsxClosingFragment=isJsxClosingFragment;function isJsxAttribute(E){return E.kind===283}E.isJsxAttribute=isJsxAttribute;function isJsxAttributes(E){return E.kind===284}E.isJsxAttributes=isJsxAttributes;function isJsxSpreadAttribute(E){return E.kind===285}E.isJsxSpreadAttribute=isJsxSpreadAttribute;function isJsxExpression(E){return E.kind===286}E.isJsxExpression=isJsxExpression;function isCaseClause(E){return E.kind===287}E.isCaseClause=isCaseClause;function isDefaultClause(E){return E.kind===288}E.isDefaultClause=isDefaultClause;function isHeritageClause(E){return E.kind===289}E.isHeritageClause=isHeritageClause;function isCatchClause(E){return E.kind===290}E.isCatchClause=isCatchClause;function isPropertyAssignment(E){return E.kind===291}E.isPropertyAssignment=isPropertyAssignment;function isShorthandPropertyAssignment(E){return E.kind===292}E.isShorthandPropertyAssignment=isShorthandPropertyAssignment;function isSpreadAssignment(E){return E.kind===293}E.isSpreadAssignment=isSpreadAssignment;function isEnumMember(E){return E.kind===294}E.isEnumMember=isEnumMember;function isUnparsedPrepend(E){return E.kind===296}E.isUnparsedPrepend=isUnparsedPrepend;function isSourceFile(E){return E.kind===300}E.isSourceFile=isSourceFile;function isBundle(E){return E.kind===301}E.isBundle=isBundle;function isUnparsedSource(E){return E.kind===302}E.isUnparsedSource=isUnparsedSource;function isJSDocTypeExpression(E){return E.kind===304}E.isJSDocTypeExpression=isJSDocTypeExpression;function isJSDocNameReference(E){return E.kind===305}E.isJSDocNameReference=isJSDocNameReference;function isJSDocMemberName(E){return E.kind===306}E.isJSDocMemberName=isJSDocMemberName;function isJSDocLink(E){return E.kind===319}E.isJSDocLink=isJSDocLink;function isJSDocLinkCode(E){return E.kind===320}E.isJSDocLinkCode=isJSDocLinkCode;function isJSDocLinkPlain(E){return E.kind===321}E.isJSDocLinkPlain=isJSDocLinkPlain;function isJSDocAllType(E){return E.kind===307}E.isJSDocAllType=isJSDocAllType;function isJSDocUnknownType(E){return E.kind===308}E.isJSDocUnknownType=isJSDocUnknownType;function isJSDocNullableType(E){return E.kind===309}E.isJSDocNullableType=isJSDocNullableType;function isJSDocNonNullableType(E){return E.kind===310}E.isJSDocNonNullableType=isJSDocNonNullableType;function isJSDocOptionalType(E){return E.kind===311}E.isJSDocOptionalType=isJSDocOptionalType;function isJSDocFunctionType(E){return E.kind===312}E.isJSDocFunctionType=isJSDocFunctionType;function isJSDocVariadicType(E){return E.kind===313}E.isJSDocVariadicType=isJSDocVariadicType;function isJSDocNamepathType(E){return E.kind===314}E.isJSDocNamepathType=isJSDocNamepathType;function isJSDoc(E){return E.kind===315}E.isJSDoc=isJSDoc;function isJSDocTypeLiteral(E){return E.kind===317}E.isJSDocTypeLiteral=isJSDocTypeLiteral;function isJSDocSignature(E){return E.kind===318}E.isJSDocSignature=isJSDocSignature;function isJSDocAugmentsTag(E){return E.kind===323}E.isJSDocAugmentsTag=isJSDocAugmentsTag;function isJSDocAuthorTag(E){return E.kind===325}E.isJSDocAuthorTag=isJSDocAuthorTag;function isJSDocClassTag(E){return E.kind===327}E.isJSDocClassTag=isJSDocClassTag;function isJSDocCallbackTag(E){return E.kind===333}E.isJSDocCallbackTag=isJSDocCallbackTag;function isJSDocPublicTag(E){return E.kind===328}E.isJSDocPublicTag=isJSDocPublicTag;function isJSDocPrivateTag(E){return E.kind===329}E.isJSDocPrivateTag=isJSDocPrivateTag;function isJSDocProtectedTag(E){return E.kind===330}E.isJSDocProtectedTag=isJSDocProtectedTag;function isJSDocReadonlyTag(E){return E.kind===331}E.isJSDocReadonlyTag=isJSDocReadonlyTag;function isJSDocOverrideTag(E){return E.kind===332}E.isJSDocOverrideTag=isJSDocOverrideTag;function isJSDocDeprecatedTag(E){return E.kind===326}E.isJSDocDeprecatedTag=isJSDocDeprecatedTag;function isJSDocSeeTag(E){return E.kind===341}E.isJSDocSeeTag=isJSDocSeeTag;function isJSDocEnumTag(E){return E.kind===334}E.isJSDocEnumTag=isJSDocEnumTag;function isJSDocParameterTag(E){return E.kind===335}E.isJSDocParameterTag=isJSDocParameterTag;function isJSDocReturnTag(E){return E.kind===336}E.isJSDocReturnTag=isJSDocReturnTag;function isJSDocThisTag(E){return E.kind===337}E.isJSDocThisTag=isJSDocThisTag;function isJSDocTypeTag(E){return E.kind===338}E.isJSDocTypeTag=isJSDocTypeTag;function isJSDocTemplateTag(E){return E.kind===339}E.isJSDocTemplateTag=isJSDocTemplateTag;function isJSDocTypedefTag(E){return E.kind===340}E.isJSDocTypedefTag=isJSDocTypedefTag;function isJSDocUnknownTag(E){return E.kind===322}E.isJSDocUnknownTag=isJSDocUnknownTag;function isJSDocPropertyTag(E){return E.kind===342}E.isJSDocPropertyTag=isJSDocPropertyTag;function isJSDocImplementsTag(E){return E.kind===324}E.isJSDocImplementsTag=isJSDocImplementsTag;function isSyntaxList(E){return E.kind===343}E.isSyntaxList=isSyntaxList})(ce||(ce={}));var ce;(function(E){function createEmptyExports(E){return E.createExportDeclaration(undefined,undefined,false,E.createNamedExports([]),undefined)}E.createEmptyExports=createEmptyExports;function createMemberAccessForPropertyName(N,R,j,$){if(E.isComputedPropertyName(j)){return E.setTextRange(N.createElementAccessExpression(R,j.expression),$)}else{var q=E.setTextRange(E.isMemberName(j)?N.createPropertyAccessExpression(R,j):N.createElementAccessExpression(R,j),j);E.getOrCreateEmitNode(q).flags|=64;return q}}E.createMemberAccessForPropertyName=createMemberAccessForPropertyName;function createReactNamespace(N,R){var j=E.parseNodeFactory.createIdentifier(N||"React");E.setParent(j,E.getParseTreeNode(R));return j}function createJsxFactoryExpressionFromEntityName(N,R,j){if(E.isQualifiedName(R)){var $=createJsxFactoryExpressionFromEntityName(N,R.left,j);var q=N.createIdentifier(E.idText(R.right));q.escapedText=R.right.escapedText;return N.createPropertyAccessExpression($,q)}else{return createReactNamespace(E.idText(R),j)}}function createJsxFactoryExpression(E,N,R,j){return N?createJsxFactoryExpressionFromEntityName(E,N,j):E.createPropertyAccessExpression(createReactNamespace(R,j),"createElement")}E.createJsxFactoryExpression=createJsxFactoryExpression;function createJsxFragmentFactoryExpression(E,N,R,j){return N?createJsxFactoryExpressionFromEntityName(E,N,j):E.createPropertyAccessExpression(createReactNamespace(R,j),"Fragment")}function createExpressionForJsxElement(N,R,j,$,q,G){var ie=[j];if($){ie.push($)}if(q&&q.length>0){if(!$){ie.push(N.createNull())}if(q.length>1){for(var ae=0,ce=q;ae<ce.length;ae++){var le=ce[ae];startOnNewLine(le);ie.push(le)}}else{ie.push(q[0])}}return E.setTextRange(N.createCallExpression(R,undefined,ie),G)}E.createExpressionForJsxElement=createExpressionForJsxElement;function createExpressionForJsxFragment(N,R,j,$,q,G,ie){var ae=createJsxFragmentFactoryExpression(N,j,$,G);var ce=[ae,N.createNull()];if(q&&q.length>0){if(q.length>1){for(var le=0,_e=q;le<_e.length;le++){var Ee=_e[le];startOnNewLine(Ee);ce.push(Ee)}}else{ce.push(q[0])}}return E.setTextRange(N.createCallExpression(createJsxFactoryExpression(N,R,$,G),undefined,ce),ie)}E.createExpressionForJsxFragment=createExpressionForJsxFragment;function createForOfBindingStatement(N,R,j){if(E.isVariableDeclarationList(R)){var $=E.first(R.declarations);var q=N.updateVariableDeclaration($,$.name,undefined,undefined,j);return E.setTextRange(N.createVariableStatement(undefined,N.updateVariableDeclarationList(R,[q])),R)}else{var G=E.setTextRange(N.createAssignment(R,j),R);return E.setTextRange(N.createExpressionStatement(G),R)}}E.createForOfBindingStatement=createForOfBindingStatement;function insertLeadingStatement(N,R,$){if(E.isBlock(R)){return N.updateBlock(R,E.setTextRange(N.createNodeArray(j([$],R.statements,true)),R.statements))}else{return N.createBlock(N.createNodeArray([R,$]),true)}}E.insertLeadingStatement=insertLeadingStatement;function createExpressionFromEntityName(N,R){if(E.isQualifiedName(R)){var j=createExpressionFromEntityName(N,R.left);var $=E.setParent(E.setTextRange(N.cloneNode(R.right),R.right),R.right.parent);return E.setTextRange(N.createPropertyAccessExpression(j,$),R)}else{return E.setParent(E.setTextRange(N.cloneNode(R),R),R.parent)}}E.createExpressionFromEntityName=createExpressionFromEntityName;function createExpressionForPropertyName(N,R){if(E.isIdentifier(R)){return N.createStringLiteralFromNode(R)}else if(E.isComputedPropertyName(R)){return E.setParent(E.setTextRange(N.cloneNode(R.expression),R.expression),R.expression.parent)}else{return E.setParent(E.setTextRange(N.cloneNode(R),R),R.parent)}}E.createExpressionForPropertyName=createExpressionForPropertyName;function createExpressionForAccessorDeclaration(N,R,j,$,q){var G=E.getAllAccessorDeclarations(R,j),ie=G.firstAccessor,ae=G.getAccessor,ce=G.setAccessor;if(j===ie){return E.setTextRange(N.createObjectDefinePropertyCall($,createExpressionForPropertyName(N,j.name),N.createPropertyDescriptor({enumerable:N.createFalse(),configurable:true,get:ae&&E.setTextRange(E.setOriginalNode(N.createFunctionExpression(ae.modifiers,undefined,undefined,undefined,ae.parameters,undefined,ae.body),ae),ae),set:ce&&E.setTextRange(E.setOriginalNode(N.createFunctionExpression(ce.modifiers,undefined,undefined,undefined,ce.parameters,undefined,ce.body),ce),ce)},!q)),ie)}return undefined}function createExpressionForPropertyAssignment(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),R.initializer),R),R)}function createExpressionForShorthandPropertyAssignment(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),N.cloneNode(R.name)),R),R)}function createExpressionForMethodDeclaration(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),E.setOriginalNode(E.setTextRange(N.createFunctionExpression(R.modifiers,R.asteriskToken,undefined,undefined,R.parameters,undefined,R.body),R),R)),R),R)}function createExpressionForObjectLiteralElementLike(N,R,j,$){if(j.name&&E.isPrivateIdentifier(j.name)){E.Debug.failBadSyntaxKind(j.name,"Private identifiers are not allowed in object literals.")}switch(j.kind){case 170:case 171:return createExpressionForAccessorDeclaration(N,R.properties,j,$,!!R.multiLine);case 291:return createExpressionForPropertyAssignment(N,j,$);case 292:return createExpressionForShorthandPropertyAssignment(N,j,$);case 167:return createExpressionForMethodDeclaration(N,j,$)}}E.createExpressionForObjectLiteralElementLike=createExpressionForObjectLiteralElementLike;function expandPreOrPostfixIncrementOrDecrementExpression(N,R,j,$,q){var G=R.operator;E.Debug.assert(G===45||G===46,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");var ie=N.createTempVariable($);j=N.createAssignment(ie,j);E.setTextRange(j,R.operand);var ae=E.isPrefixUnaryExpression(R)?N.createPrefixUnaryExpression(G,ie):N.createPostfixUnaryExpression(ie,G);E.setTextRange(ae,R);if(q){ae=N.createAssignment(q,ae);E.setTextRange(ae,R)}j=N.createComma(j,ae);E.setTextRange(j,R);if(E.isPostfixUnaryExpression(R)){j=N.createComma(j,ie);E.setTextRange(j,R)}return j}E.expandPreOrPostfixIncrementOrDecrementExpression=expandPreOrPostfixIncrementOrDecrementExpression;function isInternalName(N){return(E.getEmitFlags(N)&32768)!==0}E.isInternalName=isInternalName;function isLocalName(N){return(E.getEmitFlags(N)&16384)!==0}E.isLocalName=isLocalName;function isExportName(N){return(E.getEmitFlags(N)&8192)!==0}E.isExportName=isExportName;function isUseStrictPrologue(N){return E.isStringLiteral(N.expression)&&N.expression.text==="use strict"}function findUseStrictPrologue(N){for(var R=0,j=N;R<j.length;R++){var $=j[R];if(E.isPrologueDirective($)){if(isUseStrictPrologue($)){return $}}else{break}}return undefined}E.findUseStrictPrologue=findUseStrictPrologue;function startsWithUseStrict(N){var R=E.firstOrUndefined(N);return R!==undefined&&E.isPrologueDirective(R)&&isUseStrictPrologue(R)}E.startsWithUseStrict=startsWithUseStrict;function isCommaSequence(E){return E.kind===219&&E.operatorToken.kind===27||E.kind===346}E.isCommaSequence=isCommaSequence;function isOuterExpression(E,N){if(N===void 0){N=15}switch(E.kind){case 210:return(N&1)!==0;case 209:case 227:return(N&2)!==0;case 228:return(N&4)!==0;case 345:return(N&8)!==0}return false}E.isOuterExpression=isOuterExpression;function skipOuterExpressions(E,N){if(N===void 0){N=15}while(isOuterExpression(E,N)){E=E.expression}return E}E.skipOuterExpressions=skipOuterExpressions;function skipAssertions(E){return skipOuterExpressions(E,6)}E.skipAssertions=skipAssertions;function startOnNewLine(N){return E.setStartsOnNewLine(N,true)}E.startOnNewLine=startOnNewLine;function getExternalHelpersModuleName(N){var R=E.getOriginalNode(N,E.isSourceFile);var j=R&&R.emitNode;return j&&j.externalHelpersModuleName}E.getExternalHelpersModuleName=getExternalHelpersModuleName;function hasRecordedExternalHelpers(N){var R=E.getOriginalNode(N,E.isSourceFile);var j=R&&R.emitNode;return!!j&&(!!j.externalHelpersModuleName||!!j.externalHelpers)}E.hasRecordedExternalHelpers=hasRecordedExternalHelpers;function createExternalHelpersImportDeclarationIfNeeded(N,R,j,$,q,G,ie){if($.importHelpers&&E.isEffectiveExternalModule(j,$)){var ae=void 0;var ce=E.getEmitModuleKind($);if(ce>=E.ModuleKind.ES2015&&ce<=E.ModuleKind.ESNext){var le=E.getEmitHelpers(j);if(le){var _e=[];for(var Ee=0,Te=le;Ee<Te.length;Ee++){var we=Te[Ee];if(!we.scoped){var Ie=we.importName;if(Ie){E.pushIfUnique(_e,Ie)}}}if(E.some(_e)){_e.sort(E.compareStringsCaseSensitive);ae=N.createNamedImports(E.map(_e,(function($){return E.isFileLevelUniqueName(j,$)?N.createImportSpecifier(undefined,N.createIdentifier($)):N.createImportSpecifier(N.createIdentifier($),R.getUnscopedHelperName($))})));var Ne=E.getOriginalNode(j,E.isSourceFile);var Me=E.getOrCreateEmitNode(Ne);Me.externalHelpers=true}}}else{var Le=getOrCreateExternalHelpersModuleNameIfNeeded(N,j,$,q,G||ie);if(Le){ae=N.createNamespaceImport(Le)}}if(ae){var Be=N.createImportDeclaration(undefined,undefined,N.createImportClause(false,undefined,ae),N.createStringLiteral(E.externalHelpersModuleNameText));E.addEmitFlags(Be,67108864);return Be}}}E.createExternalHelpersImportDeclarationIfNeeded=createExternalHelpersImportDeclarationIfNeeded;function getOrCreateExternalHelpersModuleNameIfNeeded(N,R,j,$,q){if(j.importHelpers&&E.isEffectiveExternalModule(R,j)){var G=getExternalHelpersModuleName(R);if(G){return G}var ie=E.getEmitModuleKind(j);var ae=($||j.esModuleInterop&&q)&&ie!==E.ModuleKind.System&&ie<E.ModuleKind.ES2015;if(!ae){var ce=E.getEmitHelpers(R);if(ce){for(var le=0,_e=ce;le<_e.length;le++){var Ee=_e[le];if(!Ee.scoped){ae=true;break}}}}if(ae){var Te=E.getOriginalNode(R,E.isSourceFile);var we=E.getOrCreateEmitNode(Te);return we.externalHelpersModuleName||(we.externalHelpersModuleName=N.createUniqueName(E.externalHelpersModuleNameText))}}}E.getOrCreateExternalHelpersModuleNameIfNeeded=getOrCreateExternalHelpersModuleNameIfNeeded;function getLocalNameForExternalImport(N,R,j){var $=E.getNamespaceDeclarationNode(R);if($&&!E.isDefaultImport(R)&&!E.isExportNamespaceAsDefaultDeclaration(R)){var q=$.name;return E.isGeneratedIdentifier(q)?q:N.createIdentifier(E.getSourceTextOfNodeFromSourceFile(j,q)||E.idText(q))}if(R.kind===264&&R.importClause){return N.getGeneratedNameForNode(R)}if(R.kind===270&&R.moduleSpecifier){return N.getGeneratedNameForNode(R)}return undefined}E.getLocalNameForExternalImport=getLocalNameForExternalImport;function getExternalModuleNameLiteral(N,R,j,$,q,G){var ie=E.getExternalModuleName(R);if(ie&&E.isStringLiteral(ie)){return tryGetModuleNameFromDeclaration(R,$,N,q,G)||tryRenameExternalModule(N,ie,j)||N.cloneNode(ie)}return undefined}E.getExternalModuleNameLiteral=getExternalModuleNameLiteral;function tryRenameExternalModule(E,N,R){var j=R.renamedDependencies&&R.renamedDependencies.get(N.text);return j?E.createStringLiteral(j):undefined}function tryGetModuleNameFromFile(N,R,j,$){if(!R){return undefined}if(R.moduleName){return N.createStringLiteral(R.moduleName)}if(!R.isDeclarationFile&&E.outFile($)){return N.createStringLiteral(E.getExternalModuleNameFromPath(j,R.fileName))}return undefined}E.tryGetModuleNameFromFile=tryGetModuleNameFromFile;function tryGetModuleNameFromDeclaration(E,N,R,j,$){return tryGetModuleNameFromFile(R,j.getExternalModuleFileFromDeclaration(E),N,$)}function getInitializerOfBindingOrAssignmentElement(N){if(E.isDeclarationBindingElement(N)){return N.initializer}if(E.isPropertyAssignment(N)){var R=N.initializer;return E.isAssignmentExpression(R,true)?R.right:undefined}if(E.isShorthandPropertyAssignment(N)){return N.objectAssignmentInitializer}if(E.isAssignmentExpression(N,true)){return N.right}if(E.isSpreadElement(N)){return getInitializerOfBindingOrAssignmentElement(N.expression)}}E.getInitializerOfBindingOrAssignmentElement=getInitializerOfBindingOrAssignmentElement;function getTargetOfBindingOrAssignmentElement(N){if(E.isDeclarationBindingElement(N)){return N.name}if(E.isObjectLiteralElementLike(N)){switch(N.kind){case 291:return getTargetOfBindingOrAssignmentElement(N.initializer);case 292:return N.name;case 293:return getTargetOfBindingOrAssignmentElement(N.expression)}return undefined}if(E.isAssignmentExpression(N,true)){return getTargetOfBindingOrAssignmentElement(N.left)}if(E.isSpreadElement(N)){return getTargetOfBindingOrAssignmentElement(N.expression)}return N}E.getTargetOfBindingOrAssignmentElement=getTargetOfBindingOrAssignmentElement;function getRestIndicatorOfBindingOrAssignmentElement(E){switch(E.kind){case 162:case 201:return E.dotDotDotToken;case 223:case 293:return E}return undefined}E.getRestIndicatorOfBindingOrAssignmentElement=getRestIndicatorOfBindingOrAssignmentElement;function getPropertyNameOfBindingOrAssignmentElement(N){var R=tryGetPropertyNameOfBindingOrAssignmentElement(N);E.Debug.assert(!!R||E.isSpreadAssignment(N),"Invalid property name for binding element.");return R}E.getPropertyNameOfBindingOrAssignmentElement=getPropertyNameOfBindingOrAssignmentElement;function tryGetPropertyNameOfBindingOrAssignmentElement(N){switch(N.kind){case 201:if(N.propertyName){var R=N.propertyName;if(E.isPrivateIdentifier(R)){return E.Debug.failBadSyntaxKind(R)}return E.isComputedPropertyName(R)&&isStringOrNumericLiteral(R.expression)?R.expression:R}break;case 291:if(N.name){var R=N.name;if(E.isPrivateIdentifier(R)){return E.Debug.failBadSyntaxKind(R)}return E.isComputedPropertyName(R)&&isStringOrNumericLiteral(R.expression)?R.expression:R}break;case 293:if(N.name&&E.isPrivateIdentifier(N.name)){return E.Debug.failBadSyntaxKind(N.name)}return N.name}var j=getTargetOfBindingOrAssignmentElement(N);if(j&&E.isPropertyName(j)){return j}}E.tryGetPropertyNameOfBindingOrAssignmentElement=tryGetPropertyNameOfBindingOrAssignmentElement;function isStringOrNumericLiteral(E){var N=E.kind;return N===10||N===8}function getElementsOfBindingOrAssignmentPattern(E){switch(E.kind){case 199:case 200:case 202:return E.elements;case 203:return E.properties}}E.getElementsOfBindingOrAssignmentPattern=getElementsOfBindingOrAssignmentPattern;function getJSDocTypeAliasName(N){if(N){var R=N;while(true){if(E.isIdentifier(R)||!R.body){return E.isIdentifier(R)?R:R.name}R=R.body}}}E.getJSDocTypeAliasName=getJSDocTypeAliasName;function canHaveModifiers(E){var N=E.kind;return N===162||N===164||N===165||N===166||N===167||N===169||N===170||N===171||N===174||N===211||N===212||N===224||N===235||N===254||N===255||N===256||N===257||N===258||N===259||N===263||N===264||N===269||N===270}E.canHaveModifiers=canHaveModifiers;E.isTypeNodeOrTypeParameterDeclaration=E.or(E.isTypeNode,E.isTypeParameterDeclaration);E.isQuestionOrExclamationToken=E.or(E.isQuestionToken,E.isExclamationToken);E.isIdentifierOrThisTypeNode=E.or(E.isIdentifier,E.isThisTypeNode);E.isReadonlyKeywordOrPlusOrMinusToken=E.or(E.isReadonlyKeyword,E.isPlusToken,E.isMinusToken);E.isQuestionOrPlusOrMinusToken=E.or(E.isQuestionToken,E.isPlusToken,E.isMinusToken);E.isModuleName=E.or(E.isIdentifier,E.isStringLiteral);function isLiteralTypeLikeExpression(N){var R=N.kind;return R===104||R===110||R===95||E.isLiteralExpression(N)||E.isPrefixUnaryExpression(N)}E.isLiteralTypeLikeExpression=isLiteralTypeLikeExpression;function isExponentiationOperator(E){return E===42}function isMultiplicativeOperator(E){return E===41||E===43||E===44}function isMultiplicativeOperatorOrHigher(E){return isExponentiationOperator(E)||isMultiplicativeOperator(E)}function isAdditiveOperator(E){return E===39||E===40}function isAdditiveOperatorOrHigher(E){return isAdditiveOperator(E)||isMultiplicativeOperatorOrHigher(E)}function isShiftOperator(E){return E===47||E===48||E===49}function isShiftOperatorOrHigher(E){return isShiftOperator(E)||isAdditiveOperatorOrHigher(E)}function isRelationalOperator(E){return E===29||E===32||E===31||E===33||E===102||E===101}function isRelationalOperatorOrHigher(E){return isRelationalOperator(E)||isShiftOperatorOrHigher(E)}function isEqualityOperator(E){return E===34||E===36||E===35||E===37}function isEqualityOperatorOrHigher(E){return isEqualityOperator(E)||isRelationalOperatorOrHigher(E)}function isBitwiseOperator(E){return E===50||E===51||E===52}function isBitwiseOperatorOrHigher(E){return isBitwiseOperator(E)||isEqualityOperatorOrHigher(E)}function isLogicalOperator(E){return E===55||E===56}function isLogicalOperatorOrHigher(E){return isLogicalOperator(E)||isBitwiseOperatorOrHigher(E)}function isAssignmentOperatorOrHigher(N){return N===60||isLogicalOperatorOrHigher(N)||E.isAssignmentOperator(N)}function isBinaryOperator(E){return isAssignmentOperatorOrHigher(E)||E===27}function isBinaryOperatorToken(E){return isBinaryOperator(E.kind)}E.isBinaryOperatorToken=isBinaryOperatorToken;var N;(function(N){function enter(N,R,j,$,q,G,ie){var ae=R>0?q[R-1]:undefined;E.Debug.assertEqual(j[R],enter);q[R]=N.onEnter($[R],ae,ie);j[R]=nextState(N,enter);return R}N.enter=enter;function left(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],left);E.Debug.assertIsDefined(N.onLeft);j[R]=nextState(N,left);var ae=N.onLeft($[R].left,q[R],$[R]);if(ae){checkCircularity(R,$,ae);return pushStack(R,j,$,q,ae)}return R}N.left=left;function operator(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],operator);E.Debug.assertIsDefined(N.onOperator);j[R]=nextState(N,operator);N.onOperator($[R].operatorToken,q[R],$[R]);return R}N.operator=operator;function right(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],right);E.Debug.assertIsDefined(N.onRight);j[R]=nextState(N,right);var ae=N.onRight($[R].right,q[R],$[R]);if(ae){checkCircularity(R,$,ae);return pushStack(R,j,$,q,ae)}return R}N.right=right;function exit(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],exit);j[R]=nextState(N,exit);var ae=N.onExit($[R],q[R]);if(R>0){R--;if(N.foldState){var ce=j[R]===exit?"right":"left";q[R]=N.foldState(q[R],ae,ce)}}else{G.value=ae}return R}N.exit=exit;function done(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],done);return R}N.done=done;function nextState(N,R){switch(R){case enter:if(N.onLeft)return left;case left:if(N.onOperator)return operator;case operator:if(N.onRight)return right;case right:return exit;case exit:return done;case done:return done;default:E.Debug.fail("Invalid state")}}N.nextState=nextState;function pushStack(E,N,R,j,$){E++;N[E]=enter;R[E]=$;j[E]=undefined;return E}function checkCircularity(N,R,j){if(E.Debug.shouldAssert(2)){while(N>=0){E.Debug.assert(R[N]!==j,"Circular traversal detected.");N--}}}})(N||(N={}));var R=function(){function BinaryExpressionStateMachine(E,N,R,j,$,q){this.onEnter=E;this.onLeft=N;this.onOperator=R;this.onRight=j;this.onExit=$;this.foldState=q}return BinaryExpressionStateMachine}();function createBinaryExpressionTrampoline(j,$,q,G,ie,ae){var ce=new R(j,$,q,G,ie,ae);return trampoline;function trampoline(R,j){var $={value:undefined};var q=[N.enter];var G=[R];var ie=[undefined];var ae=0;while(q[ae]!==N.done){ae=q[ae](ce,ae,q,G,ie,$,j)}E.Debug.assertEqual(ae,0);return $.value}}E.createBinaryExpressionTrampoline=createBinaryExpressionTrampoline})(ce||(ce={}));var ce;(function(E){function setTextRange(N,R){return R?E.setTextRangePosEnd(N,R.pos,R.end):N}E.setTextRange=setTextRange})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["None"]=0]="None";E[E["Yield"]=1]="Yield";E[E["Await"]=2]="Await";E[E["Type"]=4]="Type";E[E["IgnoreMissingOpenBrace"]=16]="IgnoreMissingOpenBrace";E[E["JSDoc"]=32]="JSDoc"})(N||(N={}));var R;(function(E){E[E["TryParse"]=0]="TryParse";E[E["Lookahead"]=1]="Lookahead";E[E["Reparse"]=2]="Reparse"})(R||(R={}));var $;var q;var G;var ie;var ae;E.parseBaseNodeFactory={createBaseSourceFileNode:function(N){return new(ae||(ae=E.objectAllocator.getSourceFileConstructor()))(N,-1,-1)},createBaseIdentifierNode:function(N){return new(G||(G=E.objectAllocator.getIdentifierConstructor()))(N,-1,-1)},createBasePrivateIdentifierNode:function(N){return new(ie||(ie=E.objectAllocator.getPrivateIdentifierConstructor()))(N,-1,-1)},createBaseTokenNode:function(N){return new(q||(q=E.objectAllocator.getTokenConstructor()))(N,-1,-1)},createBaseNode:function(N){return new($||($=E.objectAllocator.getNodeConstructor()))(N,-1,-1)}};E.parseNodeFactory=E.createNodeFactory(1,E.parseBaseNodeFactory);function visitNode(E,N){return N&&E(N)}function visitNodes(E,N,R){if(R){if(N){return N(R)}for(var j=0,$=R;j<$.length;j++){var q=$[j];var G=E(q);if(G){return G}}}}function isJSDocLikeText(E,N){return E.charCodeAt(N+1)===42&&E.charCodeAt(N+2)===42&&E.charCodeAt(N+3)!==47}E.isJSDocLikeText=isJSDocLikeText;function forEachChild(N,R,j){if(!N||N.kind<=158){return}switch(N.kind){case 159:return visitNode(R,N.left)||visitNode(R,N.right);case 161:return visitNode(R,N.name)||visitNode(R,N.constraint)||visitNode(R,N.default)||visitNode(R,N.expression);case 292:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNode(R,N.equalsToken)||visitNode(R,N.objectAssignmentInitializer);case 293:return visitNode(R,N.expression);case 162:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.dotDotDotToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 165:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 164:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 291:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.initializer);case 252:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.exclamationToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 201:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.dotDotDotToken)||visitNode(R,N.propertyName)||visitNode(R,N.name)||visitNode(R,N.initializer);case 177:case 178:case 172:case 173:case 174:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.parameters)||visitNode(R,N.type);case 167:case 166:case 169:case 170:case 171:case 211:case 254:case 212:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.asteriskToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.parameters)||visitNode(R,N.type)||visitNode(R,N.equalsGreaterThanToken)||visitNode(R,N.body);case 168:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.body);case 176:return visitNode(R,N.typeName)||visitNodes(R,j,N.typeArguments);case 175:return visitNode(R,N.assertsModifier)||visitNode(R,N.parameterName)||visitNode(R,N.type);case 179:return visitNode(R,N.exprName);case 180:return visitNodes(R,j,N.members);case 181:return visitNode(R,N.elementType);case 182:return visitNodes(R,j,N.elements);case 185:case 186:return visitNodes(R,j,N.types);case 187:return visitNode(R,N.checkType)||visitNode(R,N.extendsType)||visitNode(R,N.trueType)||visitNode(R,N.falseType);case 188:return visitNode(R,N.typeParameter);case 198:return visitNode(R,N.argument)||visitNode(R,N.qualifier)||visitNodes(R,j,N.typeArguments);case 189:case 191:return visitNode(R,N.type);case 192:return visitNode(R,N.objectType)||visitNode(R,N.indexType);case 193:return visitNode(R,N.readonlyToken)||visitNode(R,N.typeParameter)||visitNode(R,N.nameType)||visitNode(R,N.questionToken)||visitNode(R,N.type);case 194:return visitNode(R,N.literal);case 195:return visitNode(R,N.dotDotDotToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type);case 199:case 200:return visitNodes(R,j,N.elements);case 202:return visitNodes(R,j,N.elements);case 203:return visitNodes(R,j,N.properties);case 204:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNode(R,N.name);case 205:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNode(R,N.argumentExpression);case 206:case 207:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNodes(R,j,N.typeArguments)||visitNodes(R,j,N.arguments);case 208:return visitNode(R,N.tag)||visitNode(R,N.questionDotToken)||visitNodes(R,j,N.typeArguments)||visitNode(R,N.template);case 209:return visitNode(R,N.type)||visitNode(R,N.expression);case 210:return visitNode(R,N.expression);case 213:return visitNode(R,N.expression);case 214:return visitNode(R,N.expression);case 215:return visitNode(R,N.expression);case 217:return visitNode(R,N.operand);case 222:return visitNode(R,N.asteriskToken)||visitNode(R,N.expression);case 216:return visitNode(R,N.expression);case 218:return visitNode(R,N.operand);case 219:return visitNode(R,N.left)||visitNode(R,N.operatorToken)||visitNode(R,N.right);case 227:return visitNode(R,N.expression)||visitNode(R,N.type);case 228:return visitNode(R,N.expression);case 229:return visitNode(R,N.name);case 220:return visitNode(R,N.condition)||visitNode(R,N.questionToken)||visitNode(R,N.whenTrue)||visitNode(R,N.colonToken)||visitNode(R,N.whenFalse);case 223:return visitNode(R,N.expression);case 233:case 260:return visitNodes(R,j,N.statements);case 300:return visitNodes(R,j,N.statements)||visitNode(R,N.endOfFileToken);case 235:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.declarationList);case 253:return visitNodes(R,j,N.declarations);case 236:return visitNode(R,N.expression);case 237:return visitNode(R,N.expression)||visitNode(R,N.thenStatement)||visitNode(R,N.elseStatement);case 238:return visitNode(R,N.statement)||visitNode(R,N.expression);case 239:return visitNode(R,N.expression)||visitNode(R,N.statement);case 240:return visitNode(R,N.initializer)||visitNode(R,N.condition)||visitNode(R,N.incrementor)||visitNode(R,N.statement);case 241:return visitNode(R,N.initializer)||visitNode(R,N.expression)||visitNode(R,N.statement);case 242:return visitNode(R,N.awaitModifier)||visitNode(R,N.initializer)||visitNode(R,N.expression)||visitNode(R,N.statement);case 243:case 244:return visitNode(R,N.label);case 245:return visitNode(R,N.expression);case 246:return visitNode(R,N.expression)||visitNode(R,N.statement);case 247:return visitNode(R,N.expression)||visitNode(R,N.caseBlock);case 261:return visitNodes(R,j,N.clauses);case 287:return visitNode(R,N.expression)||visitNodes(R,j,N.statements);case 288:return visitNodes(R,j,N.statements);case 248:return visitNode(R,N.label)||visitNode(R,N.statement);case 249:return visitNode(R,N.expression);case 250:return visitNode(R,N.tryBlock)||visitNode(R,N.catchClause)||visitNode(R,N.finallyBlock);case 290:return visitNode(R,N.variableDeclaration)||visitNode(R,N.block);case 163:return visitNode(R,N.expression);case 255:case 224:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.heritageClauses)||visitNodes(R,j,N.members);case 256:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.heritageClauses)||visitNodes(R,j,N.members);case 257:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNode(R,N.type);case 258:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.members);case 294:return visitNode(R,N.name)||visitNode(R,N.initializer);case 259:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.body);case 263:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.moduleReference);case 264:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.importClause)||visitNode(R,N.moduleSpecifier);case 265:return visitNode(R,N.name)||visitNode(R,N.namedBindings);case 262:return visitNode(R,N.name);case 266:return visitNode(R,N.name);case 272:return visitNode(R,N.name);case 267:case 271:return visitNodes(R,j,N.elements);case 270:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.exportClause)||visitNode(R,N.moduleSpecifier);case 268:case 273:return visitNode(R,N.propertyName)||visitNode(R,N.name);case 269:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.expression);case 221:return visitNode(R,N.head)||visitNodes(R,j,N.templateSpans);case 231:return visitNode(R,N.expression)||visitNode(R,N.literal);case 196:return visitNode(R,N.head)||visitNodes(R,j,N.templateSpans);case 197:return visitNode(R,N.type)||visitNode(R,N.literal);case 160:return visitNode(R,N.expression);case 289:return visitNodes(R,j,N.types);case 226:return visitNode(R,N.expression)||visitNodes(R,j,N.typeArguments);case 275:return visitNode(R,N.expression);case 274:return visitNodes(R,j,N.decorators);case 346:return visitNodes(R,j,N.elements);case 276:return visitNode(R,N.openingElement)||visitNodes(R,j,N.children)||visitNode(R,N.closingElement);case 280:return visitNode(R,N.openingFragment)||visitNodes(R,j,N.children)||visitNode(R,N.closingFragment);case 277:case 278:return visitNode(R,N.tagName)||visitNodes(R,j,N.typeArguments)||visitNode(R,N.attributes);case 284:return visitNodes(R,j,N.properties);case 283:return visitNode(R,N.name)||visitNode(R,N.initializer);case 285:return visitNode(R,N.expression);case 286:return visitNode(R,N.dotDotDotToken)||visitNode(R,N.expression);case 279:return visitNode(R,N.tagName);case 183:case 184:case 304:case 310:case 309:case 311:case 313:return visitNode(R,N.type);case 312:return visitNodes(R,j,N.parameters)||visitNode(R,N.type);case 315:return(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment))||visitNodes(R,j,N.tags);case 341:return visitNode(R,N.tagName)||visitNode(R,N.name)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 305:return visitNode(R,N.name);case 306:return visitNode(R,N.left)||visitNode(R,N.right);case 335:case 342:return visitNode(R,N.tagName)||(N.isNameFirst?visitNode(R,N.name)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)):visitNode(R,N.typeExpression)||visitNode(R,N.name)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)));case 325:return visitNode(R,N.tagName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 324:return visitNode(R,N.tagName)||visitNode(R,N.class)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 323:return visitNode(R,N.tagName)||visitNode(R,N.class)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 339:return visitNode(R,N.tagName)||visitNode(R,N.constraint)||visitNodes(R,j,N.typeParameters)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 340:return visitNode(R,N.tagName)||(N.typeExpression&&N.typeExpression.kind===304?visitNode(R,N.typeExpression)||visitNode(R,N.fullName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)):visitNode(R,N.fullName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)));case 333:return visitNode(R,N.tagName)||visitNode(R,N.fullName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 336:case 338:case 337:case 334:return visitNode(R,N.tagName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 318:return E.forEach(N.typeParameters,R)||E.forEach(N.parameters,R)||visitNode(R,N.type);case 319:case 320:case 321:return visitNode(R,N.name);case 317:return E.forEach(N.jsDocPropertyTags,R);case 322:case 327:case 328:case 329:case 330:case 331:case 326:return visitNode(R,N.tagName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 345:return visitNode(R,N.expression)}}E.forEachChild=forEachChild;function forEachChildRecursively(N,R,j){var $=gatherPossibleChildren(N);var q=[];while(q.length<$.length){q.push(N)}while($.length!==0){var G=$.pop();var ie=q.pop();if(E.isArray(G)){if(j){var ae=j(G,ie);if(ae){if(ae==="skip")continue;return ae}}for(var ce=G.length-1;ce>=0;--ce){$.push(G[ce]);q.push(ie)}}else{var ae=R(G,ie);if(ae){if(ae==="skip")continue;return ae}if(G.kind>=159){for(var le=0,_e=gatherPossibleChildren(G);le<_e.length;le++){var Ee=_e[le];$.push(Ee);q.push(G)}}}}}E.forEachChildRecursively=forEachChildRecursively;function gatherPossibleChildren(E){var N=[];forEachChild(E,addWorkItem,addWorkItem);return N;function addWorkItem(E){N.unshift(E)}}function createSourceFile(N,R,j,$,q){if($===void 0){$=false}E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("parse","createSourceFile",{path:N},true);E.performance.mark("beforeParse");var G;E.perfLogger.logStartParseSourceFile(N);if(j===100){G=ce.parseSourceFile(N,R,j,undefined,$,6)}else{G=ce.parseSourceFile(N,R,j,undefined,$,q)}E.perfLogger.logStopParseSourceFile();E.performance.mark("afterParse");E.performance.measure("Parse","beforeParse","afterParse");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}E.createSourceFile=createSourceFile;function parseIsolatedEntityName(E,N){return ce.parseIsolatedEntityName(E,N)}E.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(E,N){return ce.parseJsonText(E,N)}E.parseJsonText=parseJsonText;function isExternalModule(E){return E.externalModuleIndicator!==undefined}E.isExternalModule=isExternalModule;function updateSourceFile(E,N,R,j){if(j===void 0){j=false}var $=le.updateSourceFile(E,N,R,j);$.flags|=E.flags&3145728;return $}E.updateSourceFile=updateSourceFile;function parseIsolatedJSDocComment(E,N,R){var j=ce.JSDocParser.parseIsolatedJSDocComment(E,N,R);if(j&&j.jsDoc){ce.fixupParentReferences(j.jsDoc)}return j}E.parseIsolatedJSDocComment=parseIsolatedJSDocComment;function parseJSDocTypeExpressionForTests(E,N,R){return ce.JSDocParser.parseJSDocTypeExpressionForTests(E,N,R)}E.parseJSDocTypeExpressionForTests=parseJSDocTypeExpressionForTests;var ce;(function(N){var R=E.createScanner(99,true);var $=4096|16384;var q;var G;var ie;var ae;var ce;function countNode(E){We++;return E}var _e={createBaseSourceFileNode:function(E){return countNode(new ce(E,0,0))},createBaseIdentifierNode:function(E){return countNode(new ie(E,0,0))},createBasePrivateIdentifierNode:function(E){return countNode(new ae(E,0,0))},createBaseTokenNode:function(E){return countNode(new G(E,0,0))},createBaseNode:function(E){return countNode(new q(E,0,0))}};var Ee=E.createNodeFactory(1|2|8,_e);var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve;var qe;var He;var Ge;var Ke;var Qe=true;var Xe=false;function parseSourceFile(N,R,j,$,q,G){var ie;if(q===void 0){q=false}G=E.ensureScriptKind(N,G);if(G===6){var ae=parseJsonText(N,R,j,$,q);E.convertToObjectWorker(ae,(ie=ae.statements[0])===null||ie===void 0?void 0:ie.expression,ae.parseDiagnostics,false,undefined,undefined);ae.referencedFiles=E.emptyArray;ae.typeReferenceDirectives=E.emptyArray;ae.libReferenceDirectives=E.emptyArray;ae.amdDependencies=E.emptyArray;ae.hasNoDefaultLib=false;ae.pragmas=E.emptyMap;return ae}initializeState(N,R,j,$,G);var ce=parseSourceFileWorker(j,q,G);clearState();return ce}N.parseSourceFile=parseSourceFile;function parseIsolatedEntityName(E,N){initializeState("",E,N,undefined,1);nextToken();var R=parseEntityName(true);var j=token()===1&&!Be.length;clearState();return j?R:undefined}N.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(N,R,j,$,q){if(j===void 0){j=2}if(q===void 0){q=false}initializeState(N,R,j,$,6);we=Ke;nextToken();var G=getNodePos();var ie,ae;if(token()===1){ie=createNodeArray([],G,G);ae=parseTokenNode()}else{var ce=void 0;while(token()!==1){var le=void 0;switch(token()){case 22:le=parseArrayLiteralExpression();break;case 110:case 95:case 104:le=parseTokenNode();break;case 40:if(lookAhead((function(){return nextToken()===8&&nextToken()!==58}))){le=parsePrefixUnaryExpression()}else{le=parseObjectLiteralExpression()}break;case 8:case 10:if(lookAhead((function(){return nextToken()!==58}))){le=parseLiteralNode();break}default:le=parseObjectLiteralExpression();break}if(ce&&E.isArray(ce)){ce.push(le)}else if(ce){ce=[ce,le]}else{ce=le;if(token()!==1){parseErrorAtCurrentToken(E.Diagnostics.Unexpected_token)}}}var _e=E.isArray(ce)?finishNode(Ee.createArrayLiteralExpression(ce),G):E.Debug.checkDefined(ce);var Te=Ee.createExpressionStatement(_e);finishNode(Te,G);ie=createNodeArray([Te],G);ae=parseExpectedToken(1,E.Diagnostics.Unexpected_token)}var Ie=createSourceFile(N,2,6,false,ie,ae,we);if(q){fixupParentReferences(Ie)}Ie.nodeCount=We;Ie.identifierCount=qe;Ie.identifiers=Je;Ie.parseDiagnostics=E.attachFileToDiagnostics(Be,Ie);if(je){Ie.jsDocDiagnostics=E.attachFileToDiagnostics(je,Ie)}var Ne=Ie;clearState();return Ne}N.parseJsonText=parseJsonText;function initializeState(N,j,$,le,_e){q=E.objectAllocator.getNodeConstructor();G=E.objectAllocator.getTokenConstructor();ie=E.objectAllocator.getIdentifierConstructor();ae=E.objectAllocator.getPrivateIdentifierConstructor();ce=E.objectAllocator.getSourceFileConstructor();Te=E.normalizePath(N);Ie=j;Ne=$;Ue=le;Me=_e;Le=E.getLanguageVariant(_e);Be=[];He=0;Je=new E.Map;Ve=new E.Map;qe=0;We=0;we=0;Qe=true;switch(Me){case 1:case 2:Ke=131072;break;case 6:Ke=131072|33554432;break;default:Ke=0;break}Xe=false;R.setText(Ie);R.setOnError(scanError);R.setScriptTarget(Ne);R.setLanguageVariant(Le)}function clearState(){R.clearCommentDirectives();R.setText("");R.setOnError(undefined);Ie=undefined;Ne=undefined;Ue=undefined;Me=undefined;Le=undefined;we=0;Be=undefined;je=undefined;He=0;Je=undefined;Ge=undefined;Qe=true}function parseSourceFileWorker(N,j,$){var q=isDeclarationFileName(Te);if(q){Ke|=8388608}we=Ke;nextToken();var G=parseList(0,parseStatement);E.Debug.assert(token()===1);var ie=addJSDocComment(parseTokenNode());var ae=createSourceFile(Te,N,$,q,G,ie,we);processCommentPragmas(ae,Ie);processPragmasIntoFields(ae,reportPragmaDiagnostic);ae.commentDirectives=R.getCommentDirectives();ae.nodeCount=We;ae.identifierCount=qe;ae.identifiers=Je;ae.parseDiagnostics=E.attachFileToDiagnostics(Be,ae);if(je){ae.jsDocDiagnostics=E.attachFileToDiagnostics(je,ae)}if(j){fixupParentReferences(ae)}return ae;function reportPragmaDiagnostic(N,R,j){Be.push(E.createDetachedDiagnostic(Te,N,R,j))}}function withJSDoc(E,N){return N?addJSDocComment(E):E}var Ye=false;function addJSDocComment(N){E.Debug.assert(!N.jsDoc);var R=E.mapDefined(E.getJSDocCommentRanges(N,Ie),(function(E){return rt.parseJSDocComment(N,E.pos,E.end-E.pos)}));if(R.length)N.jsDoc=R;if(Ye){Ye=false;N.flags|=134217728}return N}function reparseTopLevelAwait(N){var j=Ue;var $=le.createSyntaxCursor(N);Ue={currentNode:currentNode};var q=[];var G=Be;Be=[];var ie=0;var ae=findNextStatementWithAwait(N.statements,0);var _loop_3=function(){var j=N.statements[ie];var $=N.statements[ae];E.addRange(q,N.statements,ie,ae);ie=findNextStatementWithoutAwait(N.statements,ae);var ce=E.findIndex(G,(function(E){return E.start>=j.pos}));var le=ce>=0?E.findIndex(G,(function(E){return E.start>=$.pos}),ce):-1;if(ce>=0){E.addRange(Be,G,ce,le>=0?le:undefined)}speculationHelper((function(){var E=Ke;Ke|=32768;R.setTextPos($.pos);nextToken();while(token()!==1){var j=R.getStartPos();var G=parseListElement(0,parseStatement);q.push(G);if(j===R.getStartPos()){nextToken()}if(ie>=0){var ae=N.statements[ie];if(G.end===ae.pos){break}if(G.end>ae.pos){ie=findNextStatementWithoutAwait(N.statements,ie+1)}}}Ke=E}),2);ae=ie>=0?findNextStatementWithAwait(N.statements,ie):-1};while(ae!==-1){_loop_3()}if(ie>=0){var ce=N.statements[ie];E.addRange(q,N.statements,ie);var _e=E.findIndex(G,(function(E){return E.start>=ce.pos}));if(_e>=0){E.addRange(Be,G,_e)}}Ue=j;return Ee.updateSourceFile(N,E.setTextRange(Ee.createNodeArray(q),N.statements));function containsPossibleTopLevelAwait(E){return!(E.flags&32768)&&!!(E.transformFlags&16777216)}function findNextStatementWithAwait(E,N){for(var R=N;R<E.length;R++){if(containsPossibleTopLevelAwait(E[R])){return R}}return-1}function findNextStatementWithoutAwait(E,N){for(var R=N;R<E.length;R++){if(!containsPossibleTopLevelAwait(E[R])){return R}}return-1}function currentNode(E){var N=$.currentNode(E);if(Qe&&N&&containsPossibleTopLevelAwait(N)){N.intersectsChange=true}return N}}function fixupParentReferences(N){E.setParentRecursive(N,true)}N.fixupParentReferences=fixupParentReferences;function createSourceFile(N,R,j,$,q,G,ie){var ae=Ee.createSourceFile(q,G,ie);E.setTextRangePosWidth(ae,0,Ie.length);setExternalModuleIndicator(ae);if(!$&&isExternalModule(ae)&&ae.transformFlags&16777216){ae=reparseTopLevelAwait(ae)}ae.text=Ie;ae.bindDiagnostics=[];ae.bindSuggestionDiagnostics=undefined;ae.languageVersion=R;ae.fileName=N;ae.languageVariant=E.getLanguageVariant(j);ae.isDeclarationFile=$;ae.scriptKind=j;return ae}function setContextFlag(E,N){if(E){Ke|=N}else{Ke&=~N}}function setDisallowInContext(E){setContextFlag(E,4096)}function setYieldContext(E){setContextFlag(E,8192)}function setDecoratorContext(E){setContextFlag(E,16384)}function setAwaitContext(E){setContextFlag(E,32768)}function doOutsideOfContext(E,N){var R=E&Ke;if(R){setContextFlag(false,R);var j=N();setContextFlag(true,R);return j}return N()}function doInsideOfContext(E,N){var R=E&~Ke;if(R){setContextFlag(true,R);var j=N();setContextFlag(false,R);return j}return N()}function allowInAnd(E){return doOutsideOfContext(4096,E)}function disallowInAnd(E){return doInsideOfContext(4096,E)}function doInYieldContext(E){return doInsideOfContext(8192,E)}function doInDecoratorContext(E){return doInsideOfContext(16384,E)}function doInAwaitContext(E){return doInsideOfContext(32768,E)}function doOutsideOfAwaitContext(E){return doOutsideOfContext(32768,E)}function doInYieldAndAwaitContext(E){return doInsideOfContext(8192|32768,E)}function doOutsideOfYieldAndAwaitContext(E){return doOutsideOfContext(8192|32768,E)}function inContext(E){return(Ke&E)!==0}function inYieldContext(){return inContext(8192)}function inDisallowInContext(){return inContext(4096)}function inDecoratorContext(){return inContext(16384)}function inAwaitContext(){return inContext(32768)}function parseErrorAtCurrentToken(E,N){parseErrorAt(R.getTokenPos(),R.getTextPos(),E,N)}function parseErrorAtPosition(N,R,j,$){var q=E.lastOrUndefined(Be);if(!q||N!==q.start){Be.push(E.createDetachedDiagnostic(Te,N,R,j,$))}Xe=true}function parseErrorAt(E,N,R,j){parseErrorAtPosition(E,N-E,R,j)}function parseErrorAtRange(E,N,R){parseErrorAt(E.pos,E.end,N,R)}function scanError(E,N){parseErrorAtPosition(R.getTextPos(),N,E)}function getNodePos(){return R.getStartPos()}function hasPrecedingJSDocComment(){return R.hasPrecedingJSDocComment()}function token(){return ze}function nextTokenWithoutCheck(){return ze=R.scan()}function nextTokenAnd(E){nextToken();return E()}function nextToken(){if(E.isKeyword(ze)&&(R.hasUnicodeEscape()||R.hasExtendedUnicodeEscape())){parseErrorAt(R.getTokenPos(),R.getTextPos(),E.Diagnostics.Keywords_cannot_contain_escape_characters)}return nextTokenWithoutCheck()}function nextTokenJSDoc(){return ze=R.scanJsDocToken()}function reScanGreaterToken(){return ze=R.reScanGreaterToken()}function reScanSlashToken(){return ze=R.reScanSlashToken()}function reScanTemplateToken(E){return ze=R.reScanTemplateToken(E)}function reScanTemplateHeadOrNoSubstitutionTemplate(){return ze=R.reScanTemplateHeadOrNoSubstitutionTemplate()}function reScanLessThanToken(){return ze=R.reScanLessThanToken()}function reScanHashToken(){return ze=R.reScanHashToken()}function scanJsxIdentifier(){return ze=R.scanJsxIdentifier()}function scanJsxText(){return ze=R.scanJsxToken()}function scanJsxAttributeValue(){return ze=R.scanJsxAttributeValue()}function speculationHelper(N,j){var $=ze;var q=Be.length;var G=Xe;var ie=Ke;var ae=j!==0?R.lookAhead(N):R.tryScan(N);E.Debug.assert(ie===Ke);if(!ae||j!==0){ze=$;if(j!==2){Be.length=q}Xe=G}return ae}function lookAhead(E){return speculationHelper(E,1)}function tryParse(E){return speculationHelper(E,0)}function isBindingIdentifier(){if(token()===79){return true}return token()>116}function isIdentifier(){if(token()===79){return true}if(token()===125&&inYieldContext()){return false}if(token()===131&&inAwaitContext()){return false}return token()>116}function parseExpected(N,R,j){if(j===void 0){j=true}if(token()===N){if(j){nextToken()}return true}if(R){parseErrorAtCurrentToken(R)}else{parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(N))}return false}var Ze=Object.keys(E.textToKeywordObj).filter((function(E){return E.length>2}));function parseErrorForMissingSemicolonAfter(N){var j;if(E.isTaggedTemplateExpression(N)){parseErrorAt(E.skipTrivia(Ie,N.template.pos),N.template.end,E.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var $=E.isIdentifier(N)?E.idText(N):undefined;if(!$||!E.isIdentifierText($,Ne)){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26));return}var q=E.skipTrivia(Ie,N.pos);switch($){case"const":case"let":case"var":parseErrorAt(q,N.end,E.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":parseErrorForInvalidName(E.Diagnostics.Interface_name_cannot_be_0,E.Diagnostics.Interface_must_be_given_a_name,18);return;case"is":parseErrorAt(q,R.getTextPos(),E.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":parseErrorForInvalidName(E.Diagnostics.Namespace_name_cannot_be_0,E.Diagnostics.Namespace_must_be_given_a_name,18);return;case"type":parseErrorForInvalidName(E.Diagnostics.Type_alias_name_cannot_be_0,E.Diagnostics.Type_alias_must_be_given_a_name,63);return}var G=(j=E.getSpellingSuggestion($,Ze,(function(E){return E})))!==null&&j!==void 0?j:getSpaceSuggestion($);if(G){parseErrorAt(q,N.end,E.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,G);return}if(token()===0){return}parseErrorAt(q,N.end,E.Diagnostics.Unexpected_keyword_or_identifier)}function parseErrorForInvalidName(N,R,j){if(token()===j){parseErrorAtCurrentToken(R)}else{parseErrorAtCurrentToken(N,E.tokenToString(token()))}}function getSpaceSuggestion(N){for(var R=0,j=Ze;R<j.length;R++){var $=j[R];if(N.length>$.length+2&&E.startsWith(N,$)){return $+" "+N.slice($.length)}}return undefined}function parseSemicolonAfterPropertyName(N,j,$){if(token()===59&&!R.hasPrecedingLineBreak()){parseErrorAtCurrentToken(E.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(token()===20){parseErrorAtCurrentToken(E.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation);nextToken();return}if(j&&!canParseSemicolon()){if($){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26))}else{parseErrorAtCurrentToken(E.Diagnostics.Expected_for_property_initializer)}return}if(tryParseSemicolon()){return}if($){if(token()===18){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26))}return}parseErrorForMissingSemicolonAfter(N)}function parseExpectedJSDoc(N){if(token()===N){nextTokenJSDoc();return true}parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(N));return false}function parseOptional(E){if(token()===E){nextToken();return true}return false}function parseOptionalToken(E){if(token()===E){return parseTokenNode()}return undefined}function parseOptionalTokenJSDoc(E){if(token()===E){return parseTokenNodeJSDoc()}return undefined}function parseExpectedToken(N,R,j){return parseOptionalToken(N)||createMissingNode(N,false,R||E.Diagnostics._0_expected,j||E.tokenToString(N))}function parseExpectedTokenJSDoc(N){return parseOptionalTokenJSDoc(N)||createMissingNode(N,false,E.Diagnostics._0_expected,E.tokenToString(N))}function parseTokenNode(){var E=getNodePos();var N=token();nextToken();return finishNode(Ee.createToken(N),E)}function parseTokenNodeJSDoc(){var E=getNodePos();var N=token();nextTokenJSDoc();return finishNode(Ee.createToken(N),E)}function canParseSemicolon(){if(token()===26){return true}return token()===19||token()===1||R.hasPrecedingLineBreak()}function tryParseSemicolon(){if(!canParseSemicolon()){return false}if(token()===26){nextToken()}return true}function parseSemicolon(){return tryParseSemicolon()||parseExpected(26)}function createNodeArray(N,j,$,q){var G=Ee.createNodeArray(N,q);E.setTextRangePosEnd(G,j,$!==null&&$!==void 0?$:R.getStartPos());return G}function finishNode(N,j,$){E.setTextRangePosEnd(N,j,$!==null&&$!==void 0?$:R.getStartPos());if(Ke){N.flags|=Ke}if(Xe){Xe=false;N.flags|=65536}return N}function createMissingNode(N,j,$,q){if(j){parseErrorAtPosition(R.getStartPos(),0,$,q)}else if($){parseErrorAtCurrentToken($,q)}var G=getNodePos();var ie=N===79?Ee.createIdentifier("",undefined,undefined):E.isTemplateLiteralKind(N)?Ee.createTemplateLiteralLikeNode(N,"","",undefined):N===8?Ee.createNumericLiteral("",undefined):N===10?Ee.createStringLiteral("",undefined):N===274?Ee.createMissingDeclaration():Ee.createToken(N);return finishNode(ie,G)}function internIdentifier(E){var N=Je.get(E);if(N===undefined){Je.set(E,N=E)}return N}function createIdentifier(N,j,$){if(N){qe++;var q=getNodePos();var G=token();var ie=internIdentifier(R.getTokenValue());nextTokenWithoutCheck();return finishNode(Ee.createIdentifier(ie,undefined,G),q)}if(token()===80){parseErrorAtCurrentToken($||E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return createIdentifier(true)}if(token()===0&&R.tryScan((function(){return R.reScanInvalidIdentifier()===79}))){return createIdentifier(true)}qe++;var ae=token()===1;var ce=R.isReservedWord();var le=R.getTokenText();var _e=ce?E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:E.Diagnostics.Identifier_expected;return createMissingNode(79,ae,j||_e,le)}function parseBindingIdentifier(E){return createIdentifier(isBindingIdentifier(),undefined,E)}function parseIdentifier(E,N){return createIdentifier(isIdentifier(),E,N)}function parseIdentifierName(N){return createIdentifier(E.tokenIsIdentifierOrKeyword(token()),N)}function isLiteralPropertyName(){return E.tokenIsIdentifierOrKeyword(token())||token()===10||token()===8}function parsePropertyNameWorker(E){if(token()===10||token()===8){var N=parseLiteralNode();N.text=internIdentifier(N.text);return N}if(E&&token()===22){return parseComputedPropertyName()}if(token()===80){return parsePrivateIdentifier()}return parseIdentifierName()}function parsePropertyName(){return parsePropertyNameWorker(true)}function parseComputedPropertyName(){var E=getNodePos();parseExpected(22);var N=allowInAnd(parseExpression);parseExpected(23);return finishNode(Ee.createComputedPropertyName(N),E)}function internPrivateIdentifier(E){var N=Ve.get(E);if(N===undefined){Ve.set(E,N=E)}return N}function parsePrivateIdentifier(){var E=getNodePos();var N=Ee.createPrivateIdentifier(internPrivateIdentifier(R.getTokenText()));nextToken();return finishNode(N,E)}function parseContextualModifier(E){return token()===E&&tryParse(nextTokenCanFollowModifier)}function nextTokenIsOnSameLineAndCanFollowModifier(){nextToken();if(R.hasPrecedingLineBreak()){return false}return canFollowModifier()}function nextTokenCanFollowModifier(){switch(token()){case 85:return nextToken()===92;case 93:nextToken();if(token()===88){return lookAhead(nextTokenCanFollowDefaultKeyword)}if(token()===150){return lookAhead(nextTokenCanFollowExportModifier)}return canFollowExportModifier();case 88:return nextTokenCanFollowDefaultKeyword();case 124:return nextTokenIsOnSameLineAndCanFollowModifier();case 135:case 147:nextToken();return canFollowModifier();default:return nextTokenIsOnSameLineAndCanFollowModifier()}}function canFollowExportModifier(){return token()!==41&&token()!==127&&token()!==18&&canFollowModifier()}function nextTokenCanFollowExportModifier(){nextToken();return canFollowExportModifier()}function parseAnyContextualModifier(){return E.isModifierKind(token())&&tryParse(nextTokenCanFollowModifier)}function canFollowModifier(){return token()===22||token()===18||token()===41||token()===25||isLiteralPropertyName()}function nextTokenCanFollowDefaultKeyword(){nextToken();return token()===84||token()===98||token()===118||token()===126&&lookAhead(nextTokenIsClassKeywordOnSameLine)||token()===130&&lookAhead(nextTokenIsFunctionKeywordOnSameLine)}function isListElement(N,R){var j=currentNode(N);if(j){return true}switch(N){case 0:case 1:case 3:return!(token()===26&&R)&&isStartOfStatement();case 2:return token()===82||token()===88;case 4:return lookAhead(isTypeMemberStart);case 5:return lookAhead(isClassMemberStart)||token()===26&&!R;case 6:return token()===22||isLiteralPropertyName();case 12:switch(token()){case 22:case 41:case 25:case 24:return true;default:return isLiteralPropertyName()}case 18:return isLiteralPropertyName();case 9:return token()===22||token()===25||isLiteralPropertyName();case 7:if(token()===18){return lookAhead(isValidHeritageClauseObjectLiteral)}if(!R){return isStartOfLeftHandSideExpression()&&!isHeritageClauseExtendsOrImplementsKeyword()}else{return isIdentifier()&&!isHeritageClauseExtendsOrImplementsKeyword()}case 8:return isBindingIdentifierOrPrivateIdentifierOrPattern();case 10:return token()===27||token()===25||isBindingIdentifierOrPrivateIdentifierOrPattern();case 19:return isIdentifier();case 15:switch(token()){case 27:case 24:return true}case 11:return token()===25||isStartOfExpression();case 16:return isStartOfParameter(false);case 17:return isStartOfParameter(true);case 20:case 21:return token()===27||isStartOfType();case 22:return isHeritageClause();case 23:return E.tokenIsIdentifierOrKeyword(token());case 13:return E.tokenIsIdentifierOrKeyword(token())||token()===18;case 14:return true}return E.Debug.fail("Non-exhaustive case in 'isListElement'.")}function isValidHeritageClauseObjectLiteral(){E.Debug.assert(token()===18);if(nextToken()===19){var N=nextToken();return N===27||N===18||N===94||N===117}return true}function nextTokenIsIdentifier(){nextToken();return isIdentifier()}function nextTokenIsIdentifierOrKeyword(){nextToken();return E.tokenIsIdentifierOrKeyword(token())}function nextTokenIsIdentifierOrKeywordOrGreaterThan(){nextToken();return E.tokenIsIdentifierOrKeywordOrGreaterThan(token())}function isHeritageClauseExtendsOrImplementsKeyword(){if(token()===117||token()===94){return lookAhead(nextTokenIsStartOfExpression)}return false}function nextTokenIsStartOfExpression(){nextToken();return isStartOfExpression()}function nextTokenIsStartOfType(){nextToken();return isStartOfType()}function isListTerminator(E){if(token()===1){return true}switch(E){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return token()===19;case 3:return token()===19||token()===82||token()===88;case 7:return token()===18||token()===94||token()===117;case 8:return isVariableDeclaratorListTerminator();case 19:return token()===31||token()===20||token()===18||token()===94||token()===117;case 11:return token()===21||token()===26;case 15:case 21:case 10:return token()===23;case 17:case 16:case 18:return token()===21||token()===23;case 20:return token()!==27;case 22:return token()===18||token()===19;case 13:return token()===31||token()===43;case 14:return token()===29&&lookAhead(nextTokenIsSlash);default:return false}}function isVariableDeclaratorListTerminator(){if(canParseSemicolon()){return true}if(isInOrOfKeyword(token())){return true}if(token()===38){return true}return false}function isInSomeParsingContext(){for(var E=0;E<24;E++){if(He&1<<E){if(isListElement(E,true)||isListTerminator(E)){return true}}}return false}function parseList(E,N){var R=He;He|=1<<E;var j=[];var $=getNodePos();while(!isListTerminator(E)){if(isListElement(E,false)){j.push(parseListElement(E,N));continue}if(abortParsingListOrMoveToNextToken(E)){break}}He=R;return createNodeArray(j,$)}function parseListElement(E,N){var R=currentNode(E);if(R){return consumeNode(R)}return N()}function currentNode(N){if(!Ue||!isReusableParsingContext(N)||Xe){return undefined}var j=Ue.currentNode(R.getStartPos());if(E.nodeIsMissing(j)||j.intersectsChange||E.containsParseError(j)){return undefined}var $=j.flags&25358336;if($!==Ke){return undefined}if(!canReuseNode(j,N)){return undefined}if(j.jsDocCache){j.jsDocCache=undefined}return j}function consumeNode(E){R.setTextPos(E.end);nextToken();return E}function isReusableParsingContext(E){switch(E){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return true}return false}function canReuseNode(E,N){switch(N){case 5:return isReusableClassMember(E);case 2:return isReusableSwitchClause(E);case 0:case 1:case 3:return isReusableStatement(E);case 6:return isReusableEnumMember(E);case 4:return isReusableTypeMember(E);case 8:return isReusableVariableDeclaration(E);case 17:case 16:return isReusableParameter(E)}return false}function isReusableClassMember(E){if(E){switch(E.kind){case 169:case 174:case 170:case 171:case 165:case 232:return true;case 167:var N=E;var R=N.name.kind===79&&N.name.originalKeywordKind===133;return!R}}return false}function isReusableSwitchClause(E){if(E){switch(E.kind){case 287:case 288:return true}}return false}function isReusableStatement(E){if(E){switch(E.kind){case 254:case 235:case 233:case 237:case 236:case 249:case 245:case 247:case 244:case 243:case 241:case 242:case 240:case 239:case 246:case 234:case 250:case 248:case 238:case 251:case 264:case 263:case 270:case 269:case 259:case 255:case 256:case 258:case 257:return true}}return false}function isReusableEnumMember(E){return E.kind===294}function isReusableTypeMember(E){if(E){switch(E.kind){case 173:case 166:case 174:case 164:case 172:return true}}return false}function isReusableVariableDeclaration(E){if(E.kind!==252){return false}var N=E;return N.initializer===undefined}function isReusableParameter(E){if(E.kind!==162){return false}var N=E;return N.initializer===undefined}function abortParsingListOrMoveToNextToken(E){parsingContextErrors(E);if(isInSomeParsingContext()){return true}nextToken();return false}function parsingContextErrors(N){switch(N){case 0:return token()===88?parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(93)):parseErrorAtCurrentToken(E.Diagnostics.Declaration_or_statement_expected);case 1:return parseErrorAtCurrentToken(E.Diagnostics.Declaration_or_statement_expected);case 2:return parseErrorAtCurrentToken(E.Diagnostics.case_or_default_expected);case 3:return parseErrorAtCurrentToken(E.Diagnostics.Statement_expected);case 18:case 4:return parseErrorAtCurrentToken(E.Diagnostics.Property_or_signature_expected);case 5:return parseErrorAtCurrentToken(E.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return parseErrorAtCurrentToken(E.Diagnostics.Enum_member_expected);case 7:return parseErrorAtCurrentToken(E.Diagnostics.Expression_expected);case 8:return E.isKeyword(token())?parseErrorAtCurrentToken(E.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name,E.tokenToString(token())):parseErrorAtCurrentToken(E.Diagnostics.Variable_declaration_expected);case 9:return parseErrorAtCurrentToken(E.Diagnostics.Property_destructuring_pattern_expected);case 10:return parseErrorAtCurrentToken(E.Diagnostics.Array_element_destructuring_pattern_expected);case 11:return parseErrorAtCurrentToken(E.Diagnostics.Argument_expression_expected);case 12:return parseErrorAtCurrentToken(E.Diagnostics.Property_assignment_expected);case 15:return parseErrorAtCurrentToken(E.Diagnostics.Expression_or_comma_expected);case 17:return parseErrorAtCurrentToken(E.Diagnostics.Parameter_declaration_expected);case 16:return parseErrorAtCurrentToken(E.Diagnostics.Parameter_declaration_expected);case 19:return parseErrorAtCurrentToken(E.Diagnostics.Type_parameter_declaration_expected);case 20:return parseErrorAtCurrentToken(E.Diagnostics.Type_argument_expected);case 21:return parseErrorAtCurrentToken(E.Diagnostics.Type_expected);case 22:return parseErrorAtCurrentToken(E.Diagnostics.Unexpected_token_expected);case 23:return parseErrorAtCurrentToken(E.Diagnostics.Identifier_expected);case 13:return parseErrorAtCurrentToken(E.Diagnostics.Identifier_expected);case 14:return parseErrorAtCurrentToken(E.Diagnostics.Identifier_expected);default:return[undefined]}}function parseDelimitedList(E,N,j){var $=He;He|=1<<E;var q=[];var G=getNodePos();var ie=-1;while(true){if(isListElement(E,false)){var ae=R.getStartPos();q.push(parseListElement(E,N));ie=R.getTokenPos();if(parseOptional(27)){continue}ie=-1;if(isListTerminator(E)){break}parseExpected(27,getExpectedCommaDiagnostic(E));if(j&&token()===26&&!R.hasPrecedingLineBreak()){nextToken()}if(ae===R.getStartPos()){nextToken()}continue}if(isListTerminator(E)){break}if(abortParsingListOrMoveToNextToken(E)){break}}He=$;return createNodeArray(q,G,undefined,ie>=0)}function getExpectedCommaDiagnostic(N){return N===6?E.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:undefined}function createMissingList(){var E=createNodeArray([],getNodePos());E.isMissingList=true;return E}function isMissingList(E){return!!E.isMissingList}function parseBracketedList(E,N,R,j){if(parseExpected(R)){var $=parseDelimitedList(E,N);parseExpected(j);return $}return createMissingList()}function parseEntityName(E,N){var R=getNodePos();var j=E?parseIdentifierName(N):parseIdentifier(N);var $=getNodePos();while(parseOptional(24)){if(token()===29){j.jsdocDotPos=$;break}$=getNodePos();j=finishNode(Ee.createQualifiedName(j,parseRightSideOfDot(E,false)),R)}return j}function createQualifiedName(E,N){return finishNode(Ee.createQualifiedName(E,N),E.pos)}function parseRightSideOfDot(N,j){if(R.hasPrecedingLineBreak()&&E.tokenIsIdentifierOrKeyword(token())){var $=lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);if($){return createMissingNode(79,true,E.Diagnostics.Identifier_expected)}}if(token()===80){var q=parsePrivateIdentifier();return j?q:createMissingNode(79,true,E.Diagnostics.Identifier_expected)}return N?parseIdentifierName():parseIdentifier()}function parseTemplateSpans(E){var N=getNodePos();var R=[];var j;do{j=parseTemplateSpan(E);R.push(j)}while(j.literal.kind===16);return createNodeArray(R,N)}function parseTemplateExpression(E){var N=getNodePos();return finishNode(Ee.createTemplateExpression(parseTemplateHead(E),parseTemplateSpans(E)),N)}function parseTemplateType(){var E=getNodePos();return finishNode(Ee.createTemplateLiteralType(parseTemplateHead(false),parseTemplateTypeSpans()),E)}function parseTemplateTypeSpans(){var E=getNodePos();var N=[];var R;do{R=parseTemplateTypeSpan();N.push(R)}while(R.literal.kind===16);return createNodeArray(N,E)}function parseTemplateTypeSpan(){var E=getNodePos();return finishNode(Ee.createTemplateLiteralTypeSpan(parseType(),parseLiteralOfTemplateSpan(false)),E)}function parseLiteralOfTemplateSpan(N){if(token()===19){reScanTemplateToken(N);return parseTemplateMiddleOrTemplateTail()}else{return parseExpectedToken(17,E.Diagnostics._0_expected,E.tokenToString(19))}}function parseTemplateSpan(E){var N=getNodePos();return finishNode(Ee.createTemplateSpan(allowInAnd(parseExpression),parseLiteralOfTemplateSpan(E)),N)}function parseLiteralNode(){return parseLiteralLikeNode(token())}function parseTemplateHead(N){if(N){reScanTemplateHeadOrNoSubstitutionTemplate()}var R=parseLiteralLikeNode(token());E.Debug.assert(R.kind===15,"Template head has wrong token kind");return R}function parseTemplateMiddleOrTemplateTail(){var N=parseLiteralLikeNode(token());E.Debug.assert(N.kind===16||N.kind===17,"Template fragment has wrong token kind");return N}function getTemplateLiteralRawText(E){var N=E===14||E===17;var j=R.getTokenText();return j.substring(1,j.length-(R.isUnterminated()?0:N?1:2))}function parseLiteralLikeNode(N){var j=getNodePos();var $=E.isTemplateLiteralKind(N)?Ee.createTemplateLiteralLikeNode(N,R.getTokenValue(),getTemplateLiteralRawText(N),R.getTokenFlags()&2048):N===8?Ee.createNumericLiteral(R.getTokenValue(),R.getNumericLiteralFlags()):N===10?Ee.createStringLiteral(R.getTokenValue(),undefined,R.hasExtendedUnicodeEscape()):E.isLiteralKind(N)?Ee.createLiteralLikeNode(N,R.getTokenValue()):E.Debug.fail();if(R.hasExtendedUnicodeEscape()){$.hasExtendedUnicodeEscape=true}if(R.isUnterminated()){$.isUnterminated=true}nextToken();return finishNode($,j)}function parseEntityNameOfTypeReference(){return parseEntityName(true,E.Diagnostics.Type_expected)}function parseTypeArgumentsOfTypeReference(){if(!R.hasPrecedingLineBreak()&&reScanLessThanToken()===29){return parseBracketedList(20,parseType,29,31)}}function parseTypeReference(){var E=getNodePos();return finishNode(Ee.createTypeReferenceNode(parseEntityNameOfTypeReference(),parseTypeArgumentsOfTypeReference()),E)}function typeHasArrowFunctionBlockingParseError(N){switch(N.kind){case 176:return E.nodeIsMissing(N.typeName);case 177:case 178:{var R=N,j=R.parameters,$=R.type;return isMissingList(j)||typeHasArrowFunctionBlockingParseError($)}case 189:return typeHasArrowFunctionBlockingParseError(N.type);default:return false}}function parseThisTypePredicate(E){nextToken();return finishNode(Ee.createTypePredicateNode(undefined,E,parseType()),E.pos)}function parseThisTypeNode(){var E=getNodePos();nextToken();return finishNode(Ee.createThisTypeNode(),E)}function parseJSDocAllType(){var E=getNodePos();nextToken();return finishNode(Ee.createJSDocAllType(),E)}function parseJSDocNonNullableType(){var E=getNodePos();nextToken();return finishNode(Ee.createJSDocNonNullableType(parseNonArrayType()),E)}function parseJSDocUnknownOrNullableType(){var E=getNodePos();nextToken();if(token()===27||token()===19||token()===21||token()===31||token()===63||token()===51){return finishNode(Ee.createJSDocUnknownType(),E)}else{return finishNode(Ee.createJSDocNullableType(parseType()),E)}}function parseJSDocFunctionType(){var E=getNodePos();var N=hasPrecedingJSDocComment();if(lookAhead(nextTokenIsOpenParen)){nextToken();var R=parseParameters(4|32);var j=parseReturnType(58,false);return withJSDoc(finishNode(Ee.createJSDocFunctionType(R,j),E),N)}return finishNode(Ee.createTypeReferenceNode(parseIdentifierName(),undefined),E)}function parseJSDocParameter(){var E=getNodePos();var N;if(token()===108||token()===103){N=parseIdentifierName();parseExpected(58)}return finishNode(Ee.createParameterDeclaration(undefined,undefined,undefined,N,undefined,parseJSDocType(),undefined),E)}function parseJSDocType(){R.setInJSDocType(true);var E=getNodePos();if(parseOptional(140)){var N=Ee.createJSDocNamepathType(undefined);e:while(true){switch(token()){case 19:case 1:case 27:case 5:break e;default:nextTokenJSDoc()}}R.setInJSDocType(false);return finishNode(N,E)}var j=parseOptional(25);var $=parseTypeOrTypePredicate();R.setInJSDocType(false);if(j){$=finishNode(Ee.createJSDocVariadicType($),E)}if(token()===63){nextToken();return finishNode(Ee.createJSDocOptionalType($),E)}return $}function parseTypeQuery(){var E=getNodePos();parseExpected(112);return finishNode(Ee.createTypeQueryNode(parseEntityName(true)),E)}function parseTypeParameter(){var E=getNodePos();var N=parseIdentifier();var R;var j;if(parseOptional(94)){if(isStartOfType()||!isStartOfExpression()){R=parseType()}else{j=parseUnaryExpressionOrHigher()}}var $=parseOptional(63)?parseType():undefined;var q=Ee.createTypeParameterDeclaration(N,R,$);q.expression=j;return finishNode(q,E)}function parseTypeParameters(){if(token()===29){return parseBracketedList(19,parseTypeParameter,29,31)}}function isStartOfParameter(N){return token()===25||isBindingIdentifierOrPrivateIdentifierOrPattern()||E.isModifierKind(token())||token()===59||isStartOfType(!N)}function parseNameOfParameter(N){var R=parseIdentifierOrPattern(E.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);if(E.getFullWidth(R)===0&&!E.some(N)&&E.isModifierKind(token())){nextToken()}return R}function parseParameterInOuterAwaitContext(){return parseParameterWorker(true)}function parseParameter(){return parseParameterWorker(false)}function parseParameterWorker(N){var R=getNodePos();var j=hasPrecedingJSDocComment();var $=N?doInAwaitContext(parseDecorators):parseDecorators();if(token()===108){var q=Ee.createParameterDeclaration($,undefined,undefined,createIdentifier(true),undefined,parseTypeAnnotation(),undefined);if($){parseErrorAtRange($[0],E.Diagnostics.Decorators_may_not_be_applied_to_this_parameters)}return withJSDoc(finishNode(q,R),j)}var G=Qe;Qe=false;var ie=parseModifiers();var ae=withJSDoc(finishNode(Ee.createParameterDeclaration($,ie,parseOptionalToken(25),parseNameOfParameter(ie),parseOptionalToken(57),parseTypeAnnotation(),parseInitializer()),R),j);Qe=G;return ae}function parseReturnType(E,N){if(shouldParseReturnType(E,N)){return parseTypeOrTypePredicate()}}function shouldParseReturnType(N,R){if(N===38){parseExpected(N);return true}else if(parseOptional(58)){return true}else if(R&&token()===38){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(58));nextToken();return true}return false}function parseParametersWorker(E){var N=inYieldContext();var R=inAwaitContext();setYieldContext(!!(E&1));setAwaitContext(!!(E&2));var j=E&32?parseDelimitedList(17,parseJSDocParameter):parseDelimitedList(16,R?parseParameterInOuterAwaitContext:parseParameter);setYieldContext(N);setAwaitContext(R);return j}function parseParameters(E){if(!parseExpected(20)){return createMissingList()}var N=parseParametersWorker(E);parseExpected(21);return N}function parseTypeMemberSemicolon(){if(parseOptional(27)){return}parseSemicolon()}function parseSignatureMember(E){var N=getNodePos();var R=hasPrecedingJSDocComment();if(E===173){parseExpected(103)}var j=parseTypeParameters();var $=parseParameters(4);var q=parseReturnType(58,true);parseTypeMemberSemicolon();var G=E===172?Ee.createCallSignature(j,$,q):Ee.createConstructSignature(j,$,q);return withJSDoc(finishNode(G,N),R)}function isIndexSignature(){return token()===22&&lookAhead(isUnambiguouslyIndexSignature)}function isUnambiguouslyIndexSignature(){nextToken();if(token()===25||token()===23){return true}if(E.isModifierKind(token())){nextToken();if(isIdentifier()){return true}}else if(!isIdentifier()){return false}else{nextToken()}if(token()===58||token()===27){return true}if(token()!==57){return false}nextToken();return token()===58||token()===27||token()===23}function parseIndexSignatureDeclaration(E,N,R,j){var $=parseBracketedList(16,parseParameter,22,23);var q=parseTypeAnnotation();parseTypeMemberSemicolon();var G=Ee.createIndexSignature(R,j,$,q);return withJSDoc(finishNode(G,E),N)}function parsePropertyOrMethodSignature(E,N,R){var j=parsePropertyName();var $=parseOptionalToken(57);var q;if(token()===20||token()===29){var G=parseTypeParameters();var ie=parseParameters(4);var ae=parseReturnType(58,true);q=Ee.createMethodSignature(R,j,$,G,ie,ae)}else{var ae=parseTypeAnnotation();q=Ee.createPropertySignature(R,j,$,ae);if(token()===63)q.initializer=parseInitializer()}parseTypeMemberSemicolon();return withJSDoc(finishNode(q,E),N)}function isTypeMemberStart(){if(token()===20||token()===29||token()===135||token()===147){return true}var N=false;while(E.isModifierKind(token())){N=true;nextToken()}if(token()===22){return true}if(isLiteralPropertyName()){N=true;nextToken()}if(N){return token()===20||token()===29||token()===57||token()===58||token()===27||canParseSemicolon()}return false}function parseTypeMember(){if(token()===20||token()===29){return parseSignatureMember(172)}if(token()===103&&lookAhead(nextTokenIsOpenParenOrLessThan)){return parseSignatureMember(173)}var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseModifiers();if(parseContextualModifier(135)){return parseAccessorDeclaration(E,N,undefined,R,170)}if(parseContextualModifier(147)){return parseAccessorDeclaration(E,N,undefined,R,171)}if(isIndexSignature()){return parseIndexSignatureDeclaration(E,N,undefined,R)}return parsePropertyOrMethodSignature(E,N,R)}function nextTokenIsOpenParenOrLessThan(){nextToken();return token()===20||token()===29}function nextTokenIsDot(){return nextToken()===24}function nextTokenIsOpenParenOrLessThanOrDot(){switch(nextToken()){case 20:case 29:case 24:return true}return false}function parseTypeLiteral(){var E=getNodePos();return finishNode(Ee.createTypeLiteralNode(parseObjectTypeMembers()),E)}function parseObjectTypeMembers(){var E;if(parseExpected(18)){E=parseList(4,parseTypeMember);parseExpected(19)}else{E=createMissingList()}return E}function isStartOfMappedType(){nextToken();if(token()===39||token()===40){return nextToken()===143}if(token()===143){nextToken()}return token()===22&&nextTokenIsIdentifier()&&nextToken()===101}function parseMappedTypeParameter(){var E=getNodePos();var N=parseIdentifierName();parseExpected(101);var R=parseType();return finishNode(Ee.createTypeParameterDeclaration(N,R,undefined),E)}function parseMappedType(){var E=getNodePos();parseExpected(18);var N;if(token()===143||token()===39||token()===40){N=parseTokenNode();if(N.kind!==143){parseExpected(143)}}parseExpected(22);var R=parseMappedTypeParameter();var j=parseOptional(127)?parseType():undefined;parseExpected(23);var $;if(token()===57||token()===39||token()===40){$=parseTokenNode();if($.kind!==57){parseExpected(57)}}var q=parseTypeAnnotation();parseSemicolon();parseExpected(19);return finishNode(Ee.createMappedTypeNode(N,R,j,$,q),E)}function parseTupleElementType(){var N=getNodePos();if(parseOptional(25)){return finishNode(Ee.createRestTypeNode(parseType()),N)}var R=parseType();if(E.isJSDocNullableType(R)&&R.pos===R.type.pos){var j=Ee.createOptionalTypeNode(R.type);E.setTextRange(j,R);j.flags=R.flags;return j}return R}function isNextTokenColonOrQuestionColon(){return nextToken()===58||token()===57&&nextToken()===58}function isTupleElementName(){if(token()===25){return E.tokenIsIdentifierOrKeyword(nextToken())&&isNextTokenColonOrQuestionColon()}return E.tokenIsIdentifierOrKeyword(token())&&isNextTokenColonOrQuestionColon()}function parseTupleElementNameOrTupleElementType(){if(lookAhead(isTupleElementName)){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseOptionalToken(25);var j=parseIdentifierName();var $=parseOptionalToken(57);parseExpected(58);var q=parseTupleElementType();var G=Ee.createNamedTupleMember(R,j,$,q);return withJSDoc(finishNode(G,E),N)}return parseTupleElementType()}function parseTupleType(){var E=getNodePos();return finishNode(Ee.createTupleTypeNode(parseBracketedList(21,parseTupleElementNameOrTupleElementType,22,23)),E)}function parseParenthesizedType(){var E=getNodePos();parseExpected(20);var N=parseType();parseExpected(21);return finishNode(Ee.createParenthesizedType(N),E)}function parseModifiersForConstructorType(){var E;if(token()===126){var N=getNodePos();nextToken();var R=finishNode(Ee.createToken(126),N);E=createNodeArray([R],N)}return E}function parseFunctionOrConstructorType(){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseModifiersForConstructorType();var j=parseOptional(103);var $=parseTypeParameters();var q=parseParameters(4);var G=parseReturnType(38,false);var ie=j?Ee.createConstructorTypeNode(R,$,q,G):Ee.createFunctionTypeNode($,q,G);if(!j)ie.modifiers=R;return withJSDoc(finishNode(ie,E),N)}function parseKeywordAndNoDot(){var E=parseTokenNode();return token()===24?undefined:E}function parseLiteralTypeNode(E){var N=getNodePos();if(E){nextToken()}var R=token()===110||token()===95||token()===104?parseTokenNode():parseLiteralLikeNode(token());if(E){R=finishNode(Ee.createPrefixUnaryExpression(40,R),N)}return finishNode(Ee.createLiteralTypeNode(R),N)}function isStartOfTypeOfImportType(){nextToken();return token()===100}function parseImportType(){we|=1048576;var E=getNodePos();var N=parseOptional(112);parseExpected(100);parseExpected(20);var R=parseType();parseExpected(21);var j=parseOptional(24)?parseEntityNameOfTypeReference():undefined;var $=parseTypeArgumentsOfTypeReference();return finishNode(Ee.createImportTypeNode(R,j,$,N),E)}function nextTokenIsNumericOrBigIntLiteral(){nextToken();return token()===8||token()===9}function parseNonArrayType(){switch(token()){case 129:case 153:case 148:case 145:case 156:case 149:case 132:case 151:case 142:case 146:return tryParse(parseKeywordAndNoDot)||parseTypeReference();case 66:R.reScanAsteriskEqualsToken();case 41:return parseJSDocAllType();case 60:R.reScanQuestionToken();case 57:return parseJSDocUnknownOrNullableType();case 98:return parseJSDocFunctionType();case 53:return parseJSDocNonNullableType();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return parseLiteralTypeNode();case 40:return lookAhead(nextTokenIsNumericOrBigIntLiteral)?parseLiteralTypeNode(true):parseTypeReference();case 114:return parseTokenNode();case 108:{var E=parseThisTypeNode();if(token()===138&&!R.hasPrecedingLineBreak()){return parseThisTypePredicate(E)}else{return E}}case 112:return lookAhead(isStartOfTypeOfImportType)?parseImportType():parseTypeQuery();case 18:return lookAhead(isStartOfMappedType)?parseMappedType():parseTypeLiteral();case 22:return parseTupleType();case 20:return parseParenthesizedType();case 100:return parseImportType();case 128:return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine)?parseAssertsTypePredicate():parseTypeReference();case 15:return parseTemplateType();default:return parseTypeReference()}}function isStartOfType(E){switch(token()){case 129:case 153:case 148:case 145:case 156:case 132:case 143:case 149:case 152:case 114:case 151:case 104:case 108:case 112:case 142:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 146:case 41:case 57:case 53:case 25:case 136:case 100:case 128:case 14:case 15:return true;case 98:return!E;case 40:return!E&&lookAhead(nextTokenIsNumericOrBigIntLiteral);case 20:return!E&&lookAhead(isStartOfParenthesizedOrFunctionType);default:return isIdentifier()}}function isStartOfParenthesizedOrFunctionType(){nextToken();return token()===21||isStartOfParameter(false)||isStartOfType()}function parsePostfixTypeOrHigher(){var E=getNodePos();var N=parseNonArrayType();while(!R.hasPrecedingLineBreak()){switch(token()){case 53:nextToken();N=finishNode(Ee.createJSDocNonNullableType(N),E);break;case 57:if(lookAhead(nextTokenIsStartOfType)){return N}nextToken();N=finishNode(Ee.createJSDocNullableType(N),E);break;case 22:parseExpected(22);if(isStartOfType()){var j=parseType();parseExpected(23);N=finishNode(Ee.createIndexedAccessTypeNode(N,j),E)}else{parseExpected(23);N=finishNode(Ee.createArrayTypeNode(N),E)}break;default:return N}}return N}function parseTypeOperator(E){var N=getNodePos();parseExpected(E);return finishNode(Ee.createTypeOperatorNode(E,parseTypeOperatorOrHigher()),N)}function parseTypeParameterOfInferType(){var E=getNodePos();return finishNode(Ee.createTypeParameterDeclaration(parseIdentifier(),undefined,undefined),E)}function parseInferType(){var E=getNodePos();parseExpected(136);return finishNode(Ee.createInferTypeNode(parseTypeParameterOfInferType()),E)}function parseTypeOperatorOrHigher(){var E=token();switch(E){case 139:case 152:case 143:return parseTypeOperator(E);case 136:return parseInferType()}return parsePostfixTypeOrHigher()}function parseFunctionOrConstructorTypeToError(N){if(isStartOfFunctionTypeOrConstructorType()){var R=parseFunctionOrConstructorType();var j=void 0;if(E.isFunctionTypeNode(R)){j=N?E.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:E.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type}else{j=N?E.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:E.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type}parseErrorAtRange(R,j);return R}return undefined}function parseUnionOrIntersectionType(E,N,R){var j=getNodePos();var $=E===51;var q=parseOptional(E);var G=q&&parseFunctionOrConstructorTypeToError($)||N();if(token()===E||q){var ie=[G];while(parseOptional(E)){ie.push(parseFunctionOrConstructorTypeToError($)||N())}G=finishNode(R(createNodeArray(ie,j)),j)}return G}function parseIntersectionTypeOrHigher(){return parseUnionOrIntersectionType(50,parseTypeOperatorOrHigher,Ee.createIntersectionTypeNode)}function parseUnionTypeOrHigher(){return parseUnionOrIntersectionType(51,parseIntersectionTypeOrHigher,Ee.createUnionTypeNode)}function nextTokenIsNewKeyword(){nextToken();return token()===103}function isStartOfFunctionTypeOrConstructorType(){if(token()===29){return true}if(token()===20&&lookAhead(isUnambiguouslyStartOfFunctionType)){return true}return token()===103||token()===126&&lookAhead(nextTokenIsNewKeyword)}function skipParameterStart(){if(E.isModifierKind(token())){parseModifiers()}if(isIdentifier()||token()===108){nextToken();return true}if(token()===22||token()===18){var N=Be.length;parseIdentifierOrPattern();return N===Be.length}return false}function isUnambiguouslyStartOfFunctionType(){nextToken();if(token()===21||token()===25){return true}if(skipParameterStart()){if(token()===58||token()===27||token()===57||token()===63){return true}if(token()===21){nextToken();if(token()===38){return true}}}return false}function parseTypeOrTypePredicate(){var E=getNodePos();var N=isIdentifier()&&tryParse(parseTypePredicatePrefix);var R=parseType();if(N){return finishNode(Ee.createTypePredicateNode(undefined,N,R),E)}else{return R}}function parseTypePredicatePrefix(){var E=parseIdentifier();if(token()===138&&!R.hasPrecedingLineBreak()){nextToken();return E}}function parseAssertsTypePredicate(){var E=getNodePos();var N=parseExpectedToken(128);var R=token()===108?parseThisTypeNode():parseIdentifier();var j=parseOptional(138)?parseType():undefined;return finishNode(Ee.createTypePredicateNode(N,R,j),E)}function parseType(){return doOutsideOfContext(40960,parseTypeWorker)}function parseTypeWorker(E){if(isStartOfFunctionTypeOrConstructorType()){return parseFunctionOrConstructorType()}var N=getNodePos();var j=parseUnionTypeOrHigher();if(!E&&!R.hasPrecedingLineBreak()&&parseOptional(94)){var $=parseTypeWorker(true);parseExpected(57);var q=parseTypeWorker();parseExpected(58);var G=parseTypeWorker();return finishNode(Ee.createConditionalTypeNode(j,$,q,G),N)}return j}function parseTypeAnnotation(){return parseOptional(58)?parseType():undefined}function isStartOfLeftHandSideExpression(){switch(token()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return true;case 100:return lookAhead(nextTokenIsOpenParenOrLessThanOrDot);default:return isIdentifier()}}function isStartOfExpression(){if(isStartOfLeftHandSideExpression()){return true}switch(token()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 131:case 125:case 80:return true;default:if(isBinaryOperator()){return true}return isIdentifier()}}function isStartOfExpressionStatement(){return token()!==18&&token()!==98&&token()!==84&&token()!==59&&isStartOfExpression()}function parseExpression(){var E=inDecoratorContext();if(E){setDecoratorContext(false)}var N=getNodePos();var R=parseAssignmentExpressionOrHigher();var j;while(j=parseOptionalToken(27)){R=makeBinaryExpression(R,j,parseAssignmentExpressionOrHigher(),N)}if(E){setDecoratorContext(true)}return R}function parseInitializer(){return parseOptional(63)?parseAssignmentExpressionOrHigher():undefined}function parseAssignmentExpressionOrHigher(){if(isYieldExpression()){return parseYieldExpression()}var N=tryParseParenthesizedArrowFunctionExpression()||tryParseAsyncSimpleArrowFunctionExpression();if(N){return N}var R=getNodePos();var j=parseBinaryExpressionOrHigher(0);if(j.kind===79&&token()===38){return parseSimpleArrowFunctionExpression(R,j,undefined)}if(E.isLeftHandSideExpression(j)&&E.isAssignmentOperator(reScanGreaterToken())){return makeBinaryExpression(j,parseTokenNode(),parseAssignmentExpressionOrHigher(),R)}return parseConditionalExpressionRest(j,R)}function isYieldExpression(){if(token()===125){if(inYieldContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function nextTokenIsIdentifierOnSameLine(){nextToken();return!R.hasPrecedingLineBreak()&&isIdentifier()}function parseYieldExpression(){var E=getNodePos();nextToken();if(!R.hasPrecedingLineBreak()&&(token()===41||isStartOfExpression())){return finishNode(Ee.createYieldExpression(parseOptionalToken(41),parseAssignmentExpressionOrHigher()),E)}else{return finishNode(Ee.createYieldExpression(undefined,undefined),E)}}function parseSimpleArrowFunctionExpression(N,R,j){E.Debug.assert(token()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var $=Ee.createParameterDeclaration(undefined,undefined,undefined,R,undefined,undefined,undefined);finishNode($,R.pos);var q=createNodeArray([$],$.pos,$.end);var G=parseExpectedToken(38);var ie=parseArrowFunctionExpressionBody(!!j);var ae=Ee.createArrowFunction(j,undefined,q,undefined,G,ie);return addJSDocComment(finishNode(ae,N))}function tryParseParenthesizedArrowFunctionExpression(){var E=isParenthesizedArrowFunctionExpression();if(E===0){return undefined}return E===1?parseParenthesizedArrowFunctionExpression(true):tryParse(parsePossibleParenthesizedArrowFunctionExpression)}function isParenthesizedArrowFunctionExpression(){if(token()===20||token()===29||token()===130){return lookAhead(isParenthesizedArrowFunctionExpressionWorker)}if(token()===38){return 1}return 0}function isParenthesizedArrowFunctionExpressionWorker(){if(token()===130){nextToken();if(R.hasPrecedingLineBreak()){return 0}if(token()!==20&&token()!==29){return 0}}var N=token();var j=nextToken();if(N===20){if(j===21){var $=nextToken();switch($){case 38:case 58:case 18:return 1;default:return 0}}if(j===22||j===18){return 2}if(j===25){return 1}if(E.isModifierKind(j)&&j!==130&&lookAhead(nextTokenIsIdentifier)){return 1}if(!isIdentifier()&&j!==108){return 0}switch(nextToken()){case 58:return 1;case 57:nextToken();if(token()===58||token()===27||token()===63||token()===21){return 1}return 0;case 27:case 63:case 21:return 2}return 0}else{E.Debug.assert(N===29);if(!isIdentifier()){return 0}if(Le===1){var q=lookAhead((function(){var E=nextToken();if(E===94){var N=nextToken();switch(N){case 63:case 31:return false;default:return true}}else if(E===27){return true}return false}));if(q){return 1}return 0}return 2}}function parsePossibleParenthesizedArrowFunctionExpression(){var N=R.getTokenPos();if(Ge===null||Ge===void 0?void 0:Ge.has(N)){return undefined}var j=parseParenthesizedArrowFunctionExpression(false);if(!j){(Ge||(Ge=new E.Set)).add(N)}return j}function tryParseAsyncSimpleArrowFunctionExpression(){if(token()===130){if(lookAhead(isUnParenthesizedAsyncArrowFunctionWorker)===1){var E=getNodePos();var N=parseModifiersForArrowFunction();var R=parseBinaryExpressionOrHigher(0);return parseSimpleArrowFunctionExpression(E,R,N)}}return undefined}function isUnParenthesizedAsyncArrowFunctionWorker(){if(token()===130){nextToken();if(R.hasPrecedingLineBreak()||token()===38){return 0}var E=parseBinaryExpressionOrHigher(0);if(!R.hasPrecedingLineBreak()&&E.kind===79&&token()===38){return 1}}return 0}function parseParenthesizedArrowFunctionExpression(N){var R=getNodePos();var j=hasPrecedingJSDocComment();var $=parseModifiersForArrowFunction();var q=E.some($,E.isAsyncModifier)?2:0;var G=parseTypeParameters();var ie;if(!parseExpected(20)){if(!N){return undefined}ie=createMissingList()}else{ie=parseParametersWorker(q);if(!parseExpected(21)&&!N){return undefined}}var ae=parseReturnType(58,false);if(ae&&!N&&typeHasArrowFunctionBlockingParseError(ae)){return undefined}var ce=ae&&E.isJSDocFunctionType(ae);if(!N&&token()!==38&&(ce||token()!==18)){return undefined}var le=token();var _e=parseExpectedToken(38);var Te=le===38||le===18?parseArrowFunctionExpressionBody(E.some($,E.isAsyncModifier)):parseIdentifier();var we=Ee.createArrowFunction($,G,ie,ae,_e,Te);return withJSDoc(finishNode(we,R),j)}function parseArrowFunctionExpressionBody(E){if(token()===18){return parseFunctionBlock(E?2:0)}if(token()!==26&&token()!==98&&token()!==84&&isStartOfStatement()&&!isStartOfExpressionStatement()){return parseFunctionBlock(16|(E?2:0))}var N=Qe;Qe=false;var R=E?doInAwaitContext(parseAssignmentExpressionOrHigher):doOutsideOfAwaitContext(parseAssignmentExpressionOrHigher);Qe=N;return R}function parseConditionalExpressionRest(N,R){var j=parseOptionalToken(57);if(!j){return N}var q;return finishNode(Ee.createConditionalExpression(N,j,doOutsideOfContext($,parseAssignmentExpressionOrHigher),q=parseExpectedToken(58),E.nodeIsPresent(q)?parseAssignmentExpressionOrHigher():createMissingNode(79,false,E.Diagnostics._0_expected,E.tokenToString(58))),R)}function parseBinaryExpressionOrHigher(E){var N=getNodePos();var R=parseUnaryExpressionOrHigher();return parseBinaryExpressionRest(E,R,N)}function isInOrOfKeyword(E){return E===101||E===158}function parseBinaryExpressionRest(N,j,$){while(true){reScanGreaterToken();var q=E.getBinaryOperatorPrecedence(token());var G=token()===42?q>=N:q>N;if(!G){break}if(token()===101&&inDisallowInContext()){break}if(token()===127){if(R.hasPrecedingLineBreak()){break}else{nextToken();j=makeAsExpression(j,parseType())}}else{j=makeBinaryExpression(j,parseTokenNode(),parseBinaryExpressionOrHigher(q),$)}}return j}function isBinaryOperator(){if(inDisallowInContext()&&token()===101){return false}return E.getBinaryOperatorPrecedence(token())>0}function makeBinaryExpression(E,N,R,j){return finishNode(Ee.createBinaryExpression(E,N,R),j)}function makeAsExpression(E,N){return finishNode(Ee.createAsExpression(E,N),E.pos)}function parsePrefixUnaryExpression(){var E=getNodePos();return finishNode(Ee.createPrefixUnaryExpression(token(),nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseDeleteExpression(){var E=getNodePos();return finishNode(Ee.createDeleteExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseTypeOfExpression(){var E=getNodePos();return finishNode(Ee.createTypeOfExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseVoidExpression(){var E=getNodePos();return finishNode(Ee.createVoidExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function isAwaitExpression(){if(token()===131){if(inAwaitContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function parseAwaitExpression(){var E=getNodePos();return finishNode(Ee.createAwaitExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseUnaryExpressionOrHigher(){if(isUpdateExpression()){var N=getNodePos();var R=parseUpdateExpression();return token()===42?parseBinaryExpressionRest(E.getBinaryOperatorPrecedence(token()),R,N):R}var j=token();var $=parseSimpleUnaryExpression();if(token()===42){var N=E.skipTrivia(Ie,$.pos);var q=$.end;if($.kind===209){parseErrorAt(N,q,E.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses)}else{parseErrorAt(N,q,E.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,E.tokenToString(j))}}return $}function parseSimpleUnaryExpression(){switch(token()){case 39:case 40:case 54:case 53:return parsePrefixUnaryExpression();case 89:return parseDeleteExpression();case 112:return parseTypeOfExpression();case 114:return parseVoidExpression();case 29:return parseTypeAssertion();case 131:if(isAwaitExpression()){return parseAwaitExpression()}default:return parseUpdateExpression()}}function isUpdateExpression(){switch(token()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 131:return false;case 29:if(Le!==1){return false}default:return true}}function parseUpdateExpression(){if(token()===45||token()===46){var N=getNodePos();return finishNode(Ee.createPrefixUnaryExpression(token(),nextTokenAnd(parseLeftHandSideExpressionOrHigher)),N)}else if(Le===1&&token()===29&&lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)){return parseJsxElementOrSelfClosingElementOrFragment(true)}var j=parseLeftHandSideExpressionOrHigher();E.Debug.assert(E.isLeftHandSideExpression(j));if((token()===45||token()===46)&&!R.hasPrecedingLineBreak()){var $=token();nextToken();return finishNode(Ee.createPostfixUnaryExpression(j,$),j.pos)}return j}function parseLeftHandSideExpressionOrHigher(){var E=getNodePos();var N;if(token()===100){if(lookAhead(nextTokenIsOpenParenOrLessThan)){we|=1048576;N=parseTokenNode()}else if(lookAhead(nextTokenIsDot)){nextToken();nextToken();N=finishNode(Ee.createMetaProperty(100,parseIdentifierName()),E);we|=2097152}else{N=parseMemberExpressionOrHigher()}}else{N=token()===106?parseSuperExpression():parseMemberExpressionOrHigher()}return parseCallExpressionRest(E,N)}function parseMemberExpressionOrHigher(){var E=getNodePos();var N=parsePrimaryExpression();return parseMemberExpressionRest(E,N,true)}function parseSuperExpression(){var N=getNodePos();var R=parseTokenNode();if(token()===29){var j=getNodePos();var $=tryParse(parseTypeArgumentsInExpression);if($!==undefined){parseErrorAt(j,getNodePos(),E.Diagnostics.super_may_not_use_type_arguments)}}if(token()===20||token()===24||token()===22){return R}parseExpectedToken(24,E.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access);return finishNode(Ee.createPropertyAccessExpression(R,parseRightSideOfDot(true,true)),N)}function parseJsxElementOrSelfClosingElementOrFragment(N,R,$){var q=getNodePos();var G=parseJsxOpeningOrSelfClosingElementOrOpeningFragment(N);var ie;if(G.kind===278){var ae=parseJsxChildren(G);var ce=void 0;var le=ae[ae.length-1];if((le===null||le===void 0?void 0:le.kind)===276&&!tagNamesAreEquivalent(le.openingElement.tagName,le.closingElement.tagName)&&tagNamesAreEquivalent(G.tagName,le.closingElement.tagName)){var _e=le.openingElement.end;var Te=finishNode(Ee.createJsxElement(le.openingElement,createNodeArray([],_e,_e),finishNode(Ee.createJsxClosingElement(finishNode(Ee.createIdentifier(""),_e,_e)),_e,_e)),le.openingElement.pos,_e);ae=createNodeArray(j(j([],ae.slice(0,ae.length-1),true),[Te],false),ae.pos,_e);ce=le.closingElement}else{ce=parseJsxClosingElement(G,N);if(!tagNamesAreEquivalent(G.tagName,ce.tagName)){if($&&E.isJsxOpeningElement($)&&tagNamesAreEquivalent(ce.tagName,$.tagName)){parseErrorAtRange(G.tagName,E.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,E.getTextOfNodeFromSourceText(Ie,G.tagName))}else{parseErrorAtRange(ce.tagName,E.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,E.getTextOfNodeFromSourceText(Ie,G.tagName))}}}ie=finishNode(Ee.createJsxElement(G,ae,ce),q)}else if(G.kind===281){ie=finishNode(Ee.createJsxFragment(G,parseJsxChildren(G),parseJsxClosingFragment(N)),q)}else{E.Debug.assert(G.kind===277);ie=G}if(N&&token()===29){var we=typeof R==="undefined"?ie.pos:R;var Ne=tryParse((function(){return parseJsxElementOrSelfClosingElementOrFragment(true,we)}));if(Ne){var Me=createMissingNode(27,false);E.setTextRangePosWidth(Me,Ne.pos,0);parseErrorAt(E.skipTrivia(Ie,we),Ne.end,E.Diagnostics.JSX_expressions_must_have_one_parent_element);return finishNode(Ee.createBinaryExpression(ie,Me,Ne),q)}}return ie}function parseJsxText(){var E=getNodePos();var N=Ee.createJsxText(R.getTokenValue(),ze===12);ze=R.scanJsxToken();return finishNode(N,E)}function parseJsxChild(N,R){switch(R){case 1:if(E.isJsxOpeningFragment(N)){parseErrorAtRange(N,E.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag)}else{var j=N.tagName;var $=E.skipTrivia(Ie,j.pos);parseErrorAt($,j.end,E.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,E.getTextOfNodeFromSourceText(Ie,N.tagName))}return undefined;case 30:case 7:return undefined;case 11:case 12:return parseJsxText();case 18:return parseJsxExpression(false);case 29:return parseJsxElementOrSelfClosingElementOrFragment(false,undefined,N);default:return E.Debug.assertNever(R)}}function parseJsxChildren(N){var j=[];var $=getNodePos();var q=He;He|=1<<14;while(true){var G=parseJsxChild(N,ze=R.reScanJsxToken());if(!G)break;j.push(G);if(E.isJsxOpeningElement(N)&&(G===null||G===void 0?void 0:G.kind)===276&&!tagNamesAreEquivalent(G.openingElement.tagName,G.closingElement.tagName)&&tagNamesAreEquivalent(N.tagName,G.closingElement.tagName)){break}}He=q;return createNodeArray(j,$)}function parseJsxAttributes(){var E=getNodePos();return finishNode(Ee.createJsxAttributes(parseList(13,parseJsxAttribute)),E)}function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(E){var N=getNodePos();parseExpected(29);if(token()===31){scanJsxText();return finishNode(Ee.createJsxOpeningFragment(),N)}var R=parseJsxElementName();var j=(Ke&131072)===0?tryParseTypeArguments():undefined;var $=parseJsxAttributes();var q;if(token()===31){scanJsxText();q=Ee.createJsxOpeningElement(R,j,$)}else{parseExpected(43);if(parseExpected(31,undefined,false)){if(E){nextToken()}else{scanJsxText()}}q=Ee.createJsxSelfClosingElement(R,j,$)}return finishNode(q,N)}function parseJsxElementName(){var E=getNodePos();scanJsxIdentifier();var N=token()===108?parseTokenNode():parseIdentifierName();while(parseOptional(24)){N=finishNode(Ee.createPropertyAccessExpression(N,parseRightSideOfDot(true,false)),E)}return N}function parseJsxExpression(E){var N=getNodePos();if(!parseExpected(18)){return undefined}var R;var j;if(token()!==19){R=parseOptionalToken(25);j=parseExpression()}if(E){parseExpected(19)}else{if(parseExpected(19,undefined,false)){scanJsxText()}}return finishNode(Ee.createJsxExpression(R,j),N)}function parseJsxAttribute(){if(token()===18){return parseJsxSpreadAttribute()}scanJsxIdentifier();var E=getNodePos();return finishNode(Ee.createJsxAttribute(parseIdentifierName(),token()!==63?undefined:scanJsxAttributeValue()===10?parseLiteralNode():parseJsxExpression(true)),E)}function parseJsxSpreadAttribute(){var E=getNodePos();parseExpected(18);parseExpected(25);var N=parseExpression();parseExpected(19);return finishNode(Ee.createJsxSpreadAttribute(N),E)}function parseJsxClosingElement(E,N){var R=getNodePos();parseExpected(30);var j=parseJsxElementName();if(parseExpected(31,undefined,false)){if(N||!tagNamesAreEquivalent(E.tagName,j)){nextToken()}else{scanJsxText()}}return finishNode(Ee.createJsxClosingElement(j),R)}function parseJsxClosingFragment(N){var R=getNodePos();parseExpected(30);if(E.tokenIsIdentifierOrKeyword(token())){parseErrorAtRange(parseJsxElementName(),E.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment)}if(parseExpected(31,undefined,false)){if(N){nextToken()}else{scanJsxText()}}return finishNode(Ee.createJsxJsxClosingFragment(),R)}function parseTypeAssertion(){var E=getNodePos();parseExpected(29);var N=parseType();parseExpected(31);var R=parseSimpleUnaryExpression();return finishNode(Ee.createTypeAssertion(N,R),E)}function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate(){nextToken();return E.tokenIsIdentifierOrKeyword(token())||token()===22||isTemplateStartOfTaggedTemplate()}function isStartOfOptionalPropertyOrElementAccessChain(){return token()===28&&lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate)}function tryReparseOptionalChain(N){if(N.flags&32){return true}if(E.isNonNullExpression(N)){var R=N.expression;while(E.isNonNullExpression(R)&&!(R.flags&32)){R=R.expression}if(R.flags&32){while(E.isNonNullExpression(N)){N.flags|=32;N=N.expression}return true}}return false}function parsePropertyAccessExpressionRest(N,R,j){var $=parseRightSideOfDot(true,true);var q=j||tryReparseOptionalChain(R);var G=q?Ee.createPropertyAccessChain(R,j,$):Ee.createPropertyAccessExpression(R,$);if(q&&E.isPrivateIdentifier(G.name)){parseErrorAtRange(G.name,E.Diagnostics.An_optional_chain_cannot_contain_private_identifiers)}return finishNode(G,N)}function parseElementAccessExpressionRest(N,R,j){var $;if(token()===23){$=createMissingNode(79,true,E.Diagnostics.An_element_access_expression_should_take_an_argument)}else{var q=allowInAnd(parseExpression);if(E.isStringOrNumericLiteralLike(q)){q.text=internIdentifier(q.text)}$=q}parseExpected(23);var G=j||tryReparseOptionalChain(R)?Ee.createElementAccessChain(R,j,$):Ee.createElementAccessExpression(R,$);return finishNode(G,N)}function parseMemberExpressionRest(N,j,$){while(true){var q=void 0;var G=false;if($&&isStartOfOptionalPropertyOrElementAccessChain()){q=parseExpectedToken(28);G=E.tokenIsIdentifierOrKeyword(token())}else{G=parseOptional(24)}if(G){j=parsePropertyAccessExpressionRest(N,j,q);continue}if(!q&&token()===53&&!R.hasPrecedingLineBreak()){nextToken();j=finishNode(Ee.createNonNullExpression(j),N);continue}if((q||!inDecoratorContext())&&parseOptional(22)){j=parseElementAccessExpressionRest(N,j,q);continue}if(isTemplateStartOfTaggedTemplate()){j=parseTaggedTemplateRest(N,j,q,undefined);continue}return j}}function isTemplateStartOfTaggedTemplate(){return token()===14||token()===15}function parseTaggedTemplateRest(E,N,R,j){var $=Ee.createTaggedTemplateExpression(N,j,token()===14?(reScanTemplateHeadOrNoSubstitutionTemplate(),parseLiteralNode()):parseTemplateExpression(true));if(R||N.flags&32){$.flags|=32}$.questionDotToken=R;return finishNode($,E)}function parseCallExpressionRest(N,R){while(true){R=parseMemberExpressionRest(N,R,true);var j=parseOptionalToken(28);if((Ke&131072)===0&&(token()===29||token()===47)){var $=tryParse(parseTypeArgumentsInExpression);if($){if(isTemplateStartOfTaggedTemplate()){R=parseTaggedTemplateRest(N,R,j,$);continue}var q=parseArgumentList();var G=j||tryReparseOptionalChain(R)?Ee.createCallChain(R,j,$,q):Ee.createCallExpression(R,$,q);R=finishNode(G,N);continue}}else if(token()===20){var q=parseArgumentList();var G=j||tryReparseOptionalChain(R)?Ee.createCallChain(R,j,undefined,q):Ee.createCallExpression(R,undefined,q);R=finishNode(G,N);continue}if(j){var ie=createMissingNode(79,false,E.Diagnostics.Identifier_expected);R=finishNode(Ee.createPropertyAccessChain(R,j,ie),N)}break}return R}function parseArgumentList(){parseExpected(20);var E=parseDelimitedList(11,parseArgumentExpression);parseExpected(21);return E}function parseTypeArgumentsInExpression(){if((Ke&131072)!==0){return undefined}if(reScanLessThanToken()!==29){return undefined}nextToken();var E=parseDelimitedList(20,parseType);if(!parseExpected(31)){return undefined}return E&&canFollowTypeArgumentsInExpression()?E:undefined}function canFollowTypeArgumentsInExpression(){switch(token()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return true;case 27:case 18:default:return false}}function parsePrimaryExpression(){switch(token()){case 8:case 9:case 10:case 14:return parseLiteralNode();case 108:case 106:case 104:case 110:case 95:return parseTokenNode();case 20:return parseParenthesizedExpression();case 22:return parseArrayLiteralExpression();case 18:return parseObjectLiteralExpression();case 130:if(!lookAhead(nextTokenIsFunctionKeywordOnSameLine)){break}return parseFunctionExpression();case 84:return parseClassExpression();case 98:return parseFunctionExpression();case 103:return parseNewExpressionOrNewDotTarget();case 43:case 68:if(reScanSlashToken()===13){return parseLiteralNode()}break;case 15:return parseTemplateExpression(false)}return parseIdentifier(E.Diagnostics.Expression_expected)}function parseParenthesizedExpression(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);return withJSDoc(finishNode(Ee.createParenthesizedExpression(R),E),N)}function parseSpreadElement(){var E=getNodePos();parseExpected(25);var N=parseAssignmentExpressionOrHigher();return finishNode(Ee.createSpreadElement(N),E)}function parseArgumentOrArrayLiteralElement(){return token()===25?parseSpreadElement():token()===27?finishNode(Ee.createOmittedExpression(),getNodePos()):parseAssignmentExpressionOrHigher()}function parseArgumentExpression(){return doOutsideOfContext($,parseArgumentOrArrayLiteralElement)}function parseArrayLiteralExpression(){var E=getNodePos();parseExpected(22);var N=R.hasPrecedingLineBreak();var j=parseDelimitedList(15,parseArgumentOrArrayLiteralElement);parseExpected(23);return finishNode(Ee.createArrayLiteralExpression(j,N),E)}function parseObjectLiteralElement(){var E=getNodePos();var N=hasPrecedingJSDocComment();if(parseOptionalToken(25)){var R=parseAssignmentExpressionOrHigher();return withJSDoc(finishNode(Ee.createSpreadAssignment(R),E),N)}var j=parseDecorators();var $=parseModifiers();if(parseContextualModifier(135)){return parseAccessorDeclaration(E,N,j,$,170)}if(parseContextualModifier(147)){return parseAccessorDeclaration(E,N,j,$,171)}var q=parseOptionalToken(41);var G=isIdentifier();var ie=parsePropertyName();var ae=parseOptionalToken(57);var ce=parseOptionalToken(53);if(q||token()===20||token()===29){return parseMethodDeclaration(E,N,j,$,q,ie,ae,ce)}var le;var _e=G&&token()!==58;if(_e){var Te=parseOptionalToken(63);var we=Te?allowInAnd(parseAssignmentExpressionOrHigher):undefined;le=Ee.createShorthandPropertyAssignment(ie,we);le.equalsToken=Te}else{parseExpected(58);var Ie=allowInAnd(parseAssignmentExpressionOrHigher);le=Ee.createPropertyAssignment(ie,Ie)}le.decorators=j;le.modifiers=$;le.questionToken=ae;le.exclamationToken=ce;return withJSDoc(finishNode(le,E),N)}function parseObjectLiteralExpression(){var N=getNodePos();var j=R.getTokenPos();parseExpected(18);var $=R.hasPrecedingLineBreak();var q=parseDelimitedList(12,parseObjectLiteralElement,true);if(!parseExpected(19)){var G=E.lastOrUndefined(Be);if(G&&G.code===E.Diagnostics._0_expected.code){E.addRelatedInfo(G,E.createDetachedDiagnostic(Te,j,1,E.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}return finishNode(Ee.createObjectLiteralExpression(q,$),N)}function parseFunctionExpression(){var N=inDecoratorContext();setDecoratorContext(false);var R=getNodePos();var j=hasPrecedingJSDocComment();var $=parseModifiers();parseExpected(98);var q=parseOptionalToken(41);var G=q?1:0;var ie=E.some($,E.isAsyncModifier)?2:0;var ae=G&&ie?doInYieldAndAwaitContext(parseOptionalBindingIdentifier):G?doInYieldContext(parseOptionalBindingIdentifier):ie?doInAwaitContext(parseOptionalBindingIdentifier):parseOptionalBindingIdentifier();var ce=parseTypeParameters();var le=parseParameters(G|ie);var _e=parseReturnType(58,false);var Te=parseFunctionBlock(G|ie);setDecoratorContext(N);var we=Ee.createFunctionExpression($,q,ae,ce,le,_e,Te);return withJSDoc(finishNode(we,R),j)}function parseOptionalBindingIdentifier(){return isBindingIdentifier()?parseBindingIdentifier():undefined}function parseNewExpressionOrNewDotTarget(){var N=getNodePos();parseExpected(103);if(parseOptional(24)){var j=parseIdentifierName();return finishNode(Ee.createMetaProperty(103,j),N)}var $=getNodePos();var q=parsePrimaryExpression();var G;while(true){q=parseMemberExpressionRest($,q,false);G=tryParse(parseTypeArgumentsInExpression);if(isTemplateStartOfTaggedTemplate()){E.Debug.assert(!!G,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'");q=parseTaggedTemplateRest($,q,undefined,G);G=undefined}break}var ie;if(token()===20){ie=parseArgumentList()}else if(G){parseErrorAt(N,R.getStartPos(),E.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list)}return finishNode(Ee.createNewExpression(q,G,ie),N)}function parseBlock(N,j){var $=getNodePos();var q=hasPrecedingJSDocComment();var G=R.getTokenPos();if(parseExpected(18,j)||N){var ie=R.hasPrecedingLineBreak();var ae=parseList(1,parseStatement);if(!parseExpected(19)){var ce=E.lastOrUndefined(Be);if(ce&&ce.code===E.Diagnostics._0_expected.code){E.addRelatedInfo(ce,E.createDetachedDiagnostic(Te,G,1,E.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}var le=withJSDoc(finishNode(Ee.createBlock(ae,ie),$),q);if(token()===63){parseErrorAtCurrentToken(E.Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses);nextToken()}return le}else{var ae=createMissingList();return withJSDoc(finishNode(Ee.createBlock(ae,undefined),$),q)}}function parseFunctionBlock(E,N){var R=inYieldContext();setYieldContext(!!(E&1));var j=inAwaitContext();setAwaitContext(!!(E&2));var $=Qe;Qe=false;var q=inDecoratorContext();if(q){setDecoratorContext(false)}var G=parseBlock(!!(E&16),N);if(q){setDecoratorContext(true)}Qe=$;setYieldContext(R);setAwaitContext(j);return G}function parseEmptyStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(26);return withJSDoc(finishNode(Ee.createEmptyStatement(),E),N)}function parseIfStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(99);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseStatement();var $=parseOptional(91)?parseStatement():undefined;return withJSDoc(finishNode(Ee.createIfStatement(R,j,$),E),N)}function parseDoStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(90);var R=parseStatement();parseExpected(115);parseExpected(20);var j=allowInAnd(parseExpression);parseExpected(21);parseOptional(26);return withJSDoc(finishNode(Ee.createDoStatement(R,j),E),N)}function parseWhileStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(115);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseStatement();return withJSDoc(finishNode(Ee.createWhileStatement(R,j),E),N)}function parseForOrForInOrForOfStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(97);var R=parseOptionalToken(131);parseExpected(20);var j;if(token()!==26){if(token()===113||token()===119||token()===85){j=parseVariableDeclarationList(true)}else{j=disallowInAnd(parseExpression)}}var $;if(R?parseExpected(158):parseOptional(158)){var q=allowInAnd(parseAssignmentExpressionOrHigher);parseExpected(21);$=Ee.createForOfStatement(R,j,q,parseStatement())}else if(parseOptional(101)){var q=allowInAnd(parseExpression);parseExpected(21);$=Ee.createForInStatement(j,q,parseStatement())}else{parseExpected(26);var G=token()!==26&&token()!==21?allowInAnd(parseExpression):undefined;parseExpected(26);var ie=token()!==21?allowInAnd(parseExpression):undefined;parseExpected(21);$=Ee.createForStatement(j,G,ie,parseStatement())}return withJSDoc(finishNode($,E),N)}function parseBreakOrContinueStatement(E){var N=getNodePos();var R=hasPrecedingJSDocComment();parseExpected(E===244?81:86);var j=canParseSemicolon()?undefined:parseIdentifier();parseSemicolon();var $=E===244?Ee.createBreakStatement(j):Ee.createContinueStatement(j);return withJSDoc(finishNode($,N),R)}function parseReturnStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(105);var R=canParseSemicolon()?undefined:allowInAnd(parseExpression);parseSemicolon();return withJSDoc(finishNode(Ee.createReturnStatement(R),E),N)}function parseWithStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(116);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=doInsideOfContext(16777216,parseStatement);return withJSDoc(finishNode(Ee.createWithStatement(R,j),E),N)}function parseCaseClause(){var E=getNodePos();parseExpected(82);var N=allowInAnd(parseExpression);parseExpected(58);var R=parseList(3,parseStatement);return finishNode(Ee.createCaseClause(N,R),E)}function parseDefaultClause(){var E=getNodePos();parseExpected(88);parseExpected(58);var N=parseList(3,parseStatement);return finishNode(Ee.createDefaultClause(N),E)}function parseCaseOrDefaultClause(){return token()===82?parseCaseClause():parseDefaultClause()}function parseCaseBlock(){var E=getNodePos();parseExpected(18);var N=parseList(2,parseCaseOrDefaultClause);parseExpected(19);return finishNode(Ee.createCaseBlock(N),E)}function parseSwitchStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(107);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseCaseBlock();return withJSDoc(finishNode(Ee.createSwitchStatement(R,j),E),N)}function parseThrowStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(109);var j=R.hasPrecedingLineBreak()?undefined:allowInAnd(parseExpression);if(j===undefined){qe++;j=finishNode(Ee.createIdentifier(""),getNodePos())}if(!tryParseSemicolon()){parseErrorForMissingSemicolonAfter(j)}return withJSDoc(finishNode(Ee.createThrowStatement(j),E),N)}function parseTryStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(111);var R=parseBlock(false);var j=token()===83?parseCatchClause():undefined;var $;if(!j||token()===96){parseExpected(96);$=parseBlock(false)}return withJSDoc(finishNode(Ee.createTryStatement(R,j,$),E),N)}function parseCatchClause(){var E=getNodePos();parseExpected(83);var N;if(parseOptional(20)){N=parseVariableDeclaration();parseExpected(21)}else{N=undefined}var R=parseBlock(false);return finishNode(Ee.createCatchClause(N,R),E)}function parseDebuggerStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(87);parseSemicolon();return withJSDoc(finishNode(Ee.createDebuggerStatement(),E),N)}function parseExpressionOrLabeledStatement(){var N=getNodePos();var R=hasPrecedingJSDocComment();var j;var $=token()===20;var q=allowInAnd(parseExpression);if(E.isIdentifier(q)&&parseOptional(58)){j=Ee.createLabeledStatement(q,parseStatement())}else{if(!tryParseSemicolon()){parseErrorForMissingSemicolonAfter(q)}j=Ee.createExpressionStatement(q);if($){R=false}}return withJSDoc(finishNode(j,N),R)}function nextTokenIsIdentifierOrKeywordOnSameLine(){nextToken();return E.tokenIsIdentifierOrKeyword(token())&&!R.hasPrecedingLineBreak()}function nextTokenIsClassKeywordOnSameLine(){nextToken();return token()===84&&!R.hasPrecedingLineBreak()}function nextTokenIsFunctionKeywordOnSameLine(){nextToken();return token()===98&&!R.hasPrecedingLineBreak()}function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine(){nextToken();return(E.tokenIsIdentifierOrKeyword(token())||token()===8||token()===9||token()===10)&&!R.hasPrecedingLineBreak()}function isDeclaration(){while(true){switch(token()){case 113:case 119:case 85:case 98:case 84:case 92:return true;case 118:case 150:return nextTokenIsIdentifierOnSameLine();case 140:case 141:return nextTokenIsIdentifierOrStringLiteralOnSameLine();case 126:case 130:case 134:case 121:case 122:case 123:case 143:nextToken();if(R.hasPrecedingLineBreak()){return false}continue;case 155:nextToken();return token()===18||token()===79||token()===93;case 100:nextToken();return token()===10||token()===41||token()===18||E.tokenIsIdentifierOrKeyword(token());case 93:var N=nextToken();if(N===150){N=lookAhead(nextToken)}if(N===63||N===41||N===18||N===88||N===127){return true}continue;case 124:nextToken();continue;default:return false}}}function isStartOfDeclaration(){return lookAhead(isDeclaration)}function isStartOfStatement(){switch(token()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return true;case 100:return isStartOfDeclaration()||lookAhead(nextTokenIsOpenParenOrLessThanOrDot);case 85:case 93:return isStartOfDeclaration();case 130:case 134:case 118:case 140:case 141:case 150:case 155:return true;case 123:case 121:case 122:case 124:case 143:return isStartOfDeclaration()||!lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);default:return isStartOfExpression()}}function nextTokenIsBindingIdentifierOrStartOfDestructuring(){nextToken();return isBindingIdentifier()||token()===18||token()===22}function isLetDeclaration(){return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring)}function parseStatement(){switch(token()){case 26:return parseEmptyStatement();case 18:return parseBlock(false);case 113:return parseVariableStatement(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 119:if(isLetDeclaration()){return parseVariableStatement(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined)}break;case 98:return parseFunctionDeclaration(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 84:return parseClassDeclaration(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 99:return parseIfStatement();case 90:return parseDoStatement();case 115:return parseWhileStatement();case 97:return parseForOrForInOrForOfStatement();case 86:return parseBreakOrContinueStatement(243);case 81:return parseBreakOrContinueStatement(244);case 105:return parseReturnStatement();case 116:return parseWithStatement();case 107:return parseSwitchStatement();case 109:return parseThrowStatement();case 111:case 83:case 96:return parseTryStatement();case 87:return parseDebuggerStatement();case 59:return parseDeclaration();case 130:case 118:case 150:case 140:case 141:case 134:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 143:case 155:if(isStartOfDeclaration()){return parseDeclaration()}break}return parseExpressionOrLabeledStatement()}function isDeclareModifier(E){return E.kind===134}function parseDeclaration(){var N=E.some(lookAhead((function(){return parseDecorators(),parseModifiers()})),isDeclareModifier);if(N){var R=tryReuseAmbientDeclaration();if(R){return R}}var j=getNodePos();var $=hasPrecedingJSDocComment();var q=parseDecorators();var G=parseModifiers();if(N){for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];ce.flags|=8388608}return doInsideOfContext(8388608,(function(){return parseDeclarationWorker(j,$,q,G)}))}else{return parseDeclarationWorker(j,$,q,G)}}function tryReuseAmbientDeclaration(){return doInsideOfContext(8388608,(function(){var E=currentNode(He);if(E){return consumeNode(E)}}))}function parseDeclarationWorker(N,R,j,$){switch(token()){case 113:case 119:case 85:return parseVariableStatement(N,R,j,$);case 98:return parseFunctionDeclaration(N,R,j,$);case 84:return parseClassDeclaration(N,R,j,$);case 118:return parseInterfaceDeclaration(N,R,j,$);case 150:return parseTypeAliasDeclaration(N,R,j,$);case 92:return parseEnumDeclaration(N,R,j,$);case 155:case 140:case 141:return parseModuleDeclaration(N,R,j,$);case 100:return parseImportDeclarationOrImportEqualsDeclaration(N,R,j,$);case 93:nextToken();switch(token()){case 88:case 63:return parseExportAssignment(N,R,j,$);case 127:return parseNamespaceExportDeclaration(N,R,j,$);default:return parseExportDeclaration(N,R,j,$)}default:if(j||$){var q=createMissingNode(274,true,E.Diagnostics.Declaration_expected);E.setTextRangePos(q,N);q.decorators=j;q.modifiers=$;return q}return undefined}}function nextTokenIsIdentifierOrStringLiteralOnSameLine(){nextToken();return!R.hasPrecedingLineBreak()&&(isIdentifier()||token()===10)}function parseFunctionBlockOrSemicolon(E,N){if(token()!==18&&canParseSemicolon()){parseSemicolon();return}return parseFunctionBlock(E,N)}function parseArrayBindingElement(){var E=getNodePos();if(token()===27){return finishNode(Ee.createOmittedExpression(),E)}var N=parseOptionalToken(25);var R=parseIdentifierOrPattern();var j=parseInitializer();return finishNode(Ee.createBindingElement(N,undefined,R,j),E)}function parseObjectBindingElement(){var E=getNodePos();var N=parseOptionalToken(25);var R=isBindingIdentifier();var j=parsePropertyName();var $;if(R&&token()!==58){$=j;j=undefined}else{parseExpected(58);$=parseIdentifierOrPattern()}var q=parseInitializer();return finishNode(Ee.createBindingElement(N,j,$,q),E)}function parseObjectBindingPattern(){var E=getNodePos();parseExpected(18);var N=parseDelimitedList(9,parseObjectBindingElement);parseExpected(19);return finishNode(Ee.createObjectBindingPattern(N),E)}function parseArrayBindingPattern(){var E=getNodePos();parseExpected(22);var N=parseDelimitedList(10,parseArrayBindingElement);parseExpected(23);return finishNode(Ee.createArrayBindingPattern(N),E)}function isBindingIdentifierOrPrivateIdentifierOrPattern(){return token()===18||token()===22||token()===80||isBindingIdentifier()}function parseIdentifierOrPattern(E){if(token()===22){return parseArrayBindingPattern()}if(token()===18){return parseObjectBindingPattern()}return parseBindingIdentifier(E)}function parseVariableDeclarationAllowExclamation(){return parseVariableDeclaration(true)}function parseVariableDeclaration(N){var j=getNodePos();var $=hasPrecedingJSDocComment();var q=parseIdentifierOrPattern(E.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations);var G;if(N&&q.kind===79&&token()===53&&!R.hasPrecedingLineBreak()){G=parseTokenNode()}var ie=parseTypeAnnotation();var ae=isInOrOfKeyword(token())?undefined:parseInitializer();var ce=Ee.createVariableDeclaration(q,G,ie,ae);return withJSDoc(finishNode(ce,j),$)}function parseVariableDeclarationList(N){var R=getNodePos();var j=0;switch(token()){case 113:break;case 119:j|=1;break;case 85:j|=2;break;default:E.Debug.fail()}nextToken();var $;if(token()===158&&lookAhead(canFollowContextualOfKeyword)){$=createMissingList()}else{var q=inDisallowInContext();setDisallowInContext(N);$=parseDelimitedList(8,N?parseVariableDeclaration:parseVariableDeclarationAllowExclamation);setDisallowInContext(q)}return finishNode(Ee.createVariableDeclarationList($,j),R)}function canFollowContextualOfKeyword(){return nextTokenIsIdentifier()&&nextToken()===21}function parseVariableStatement(E,N,R,j){var $=parseVariableDeclarationList(false);parseSemicolon();var q=Ee.createVariableStatement(j,$);q.decorators=R;return withJSDoc(finishNode(q,E),N)}function parseFunctionDeclaration(N,R,j,$){var q=inAwaitContext();var G=E.modifiersToFlags($);parseExpected(98);var ie=parseOptionalToken(41);var ae=G&512?parseOptionalBindingIdentifier():parseBindingIdentifier();var ce=ie?1:0;var le=G&256?2:0;var _e=parseTypeParameters();if(G&1)setAwaitContext(true);var Te=parseParameters(ce|le);var we=parseReturnType(58,false);var Ie=parseFunctionBlockOrSemicolon(ce|le,E.Diagnostics.or_expected);setAwaitContext(q);var Ne=Ee.createFunctionDeclaration(j,$,ie,ae,_e,Te,we,Ie);return withJSDoc(finishNode(Ne,N),R)}function parseConstructorName(){if(token()===133){return parseExpected(133)}if(token()===10&&lookAhead(nextToken)===20){return tryParse((function(){var E=parseLiteralNode();return E.text==="constructor"?E:undefined}))}}function tryParseConstructorDeclaration(N,R,j,$){return tryParse((function(){if(parseConstructorName()){var q=parseTypeParameters();var G=parseParameters(0);var ie=parseReturnType(58,false);var ae=parseFunctionBlockOrSemicolon(0,E.Diagnostics.or_expected);var ce=Ee.createConstructorDeclaration(j,$,G,ae);ce.typeParameters=q;ce.type=ie;return withJSDoc(finishNode(ce,N),R)}}))}function parseMethodDeclaration(N,R,j,$,q,G,ie,ae,ce){var le=q?1:0;var _e=E.some($,E.isAsyncModifier)?2:0;var Te=parseTypeParameters();var we=parseParameters(le|_e);var Ie=parseReturnType(58,false);var Ne=parseFunctionBlockOrSemicolon(le|_e,ce);var Me=Ee.createMethodDeclaration(j,$,q,G,ie,Te,we,Ie,Ne);Me.exclamationToken=ae;return withJSDoc(finishNode(Me,N),R)}function parsePropertyDeclaration(E,N,j,$,q,G){var ie=!G&&!R.hasPrecedingLineBreak()?parseOptionalToken(53):undefined;var ae=parseTypeAnnotation();var ce=doOutsideOfContext(8192|32768|4096,parseInitializer);parseSemicolonAfterPropertyName(q,ae,ce);var le=Ee.createPropertyDeclaration(j,$,q,G||ie,ae,ce);return withJSDoc(finishNode(le,E),N)}function parsePropertyOrMethodDeclaration(N,R,j,$){var q=parseOptionalToken(41);var G=parsePropertyName();var ie=parseOptionalToken(57);if(q||token()===20||token()===29){return parseMethodDeclaration(N,R,j,$,q,G,ie,undefined,E.Diagnostics.or_expected)}return parsePropertyDeclaration(N,R,j,$,G,ie)}function parseAccessorDeclaration(E,N,R,j,$){var q=parsePropertyName();var G=parseTypeParameters();var ie=parseParameters(0);var ae=parseReturnType(58,false);var ce=parseFunctionBlockOrSemicolon(0);var le=$===170?Ee.createGetAccessorDeclaration(R,j,q,ie,ae,ce):Ee.createSetAccessorDeclaration(R,j,q,ie,ce);le.typeParameters=G;if(ae&&le.kind===171)le.type=ae;return withJSDoc(finishNode(le,E),N)}function isClassMemberStart(){var N;if(token()===59){return true}while(E.isModifierKind(token())){N=token();if(E.isClassMemberModifier(N)){return true}nextToken()}if(token()===41){return true}if(isLiteralPropertyName()){N=token();nextToken()}if(token()===22){return true}if(N!==undefined){if(!E.isKeyword(N)||N===147||N===135){return true}switch(token()){case 20:case 29:case 53:case 58:case 63:case 57:return true;default:return canParseSemicolon()}}return false}function parseClassStaticBlockDeclaration(E,N,R,j){parseExpectedToken(124);var $=parseClassStaticBlockBody();return withJSDoc(finishNode(Ee.createClassStaticBlockDeclaration(R,j,$),E),N)}function parseClassStaticBlockBody(){var E=inYieldContext();var N=inAwaitContext();setYieldContext(false);setAwaitContext(true);var R=parseBlock(false);setYieldContext(E);setAwaitContext(N);return R}function parseDecoratorExpression(){if(inAwaitContext()&&token()===131){var N=getNodePos();var R=parseIdentifier(E.Diagnostics.Expression_expected);nextToken();var j=parseMemberExpressionRest(N,R,true);return parseCallExpressionRest(N,j)}return parseLeftHandSideExpressionOrHigher()}function tryParseDecorator(){var E=getNodePos();if(!parseOptional(59)){return undefined}var N=doInDecoratorContext(parseDecoratorExpression);return finishNode(Ee.createDecorator(N),E)}function parseDecorators(){var N=getNodePos();var R,j;while(j=tryParseDecorator()){R=E.append(R,j)}return R&&createNodeArray(R,N)}function tryParseModifier(E,N){var R=getNodePos();var j=token();if(token()===85&&E){if(!tryParse(nextTokenIsOnSameLineAndCanFollowModifier)){return undefined}}else if(N&&token()===124&&lookAhead(nextTokenIsOpenBrace)){return undefined}else{if(!parseAnyContextualModifier()){return undefined}}return finishNode(Ee.createToken(j),R)}function parseModifiers(N,R){var j=getNodePos();var $,q;while(q=tryParseModifier(N,R)){$=E.append($,q)}return $&&createNodeArray($,j)}function parseModifiersForArrowFunction(){var E;if(token()===130){var N=getNodePos();nextToken();var R=finishNode(Ee.createToken(130),N);E=createNodeArray([R],N)}return E}function parseClassElement(){var N=getNodePos();if(token()===26){nextToken();return finishNode(Ee.createSemicolonClassElement(),N)}var R=hasPrecedingJSDocComment();var j=parseDecorators();var $=parseModifiers(true,true);if(token()===124&&lookAhead(nextTokenIsOpenBrace)){return parseClassStaticBlockDeclaration(N,R,j,$)}if(parseContextualModifier(135)){return parseAccessorDeclaration(N,R,j,$,170)}if(parseContextualModifier(147)){return parseAccessorDeclaration(N,R,j,$,171)}if(token()===133||token()===10){var q=tryParseConstructorDeclaration(N,R,j,$);if(q){return q}}if(isIndexSignature()){return parseIndexSignatureDeclaration(N,R,j,$)}if(E.tokenIsIdentifierOrKeyword(token())||token()===10||token()===8||token()===41||token()===22){var G=E.some($,isDeclareModifier);if(G){for(var ie=0,ae=$;ie<ae.length;ie++){var ce=ae[ie];ce.flags|=8388608}return doInsideOfContext(8388608,(function(){return parsePropertyOrMethodDeclaration(N,R,j,$)}))}else{return parsePropertyOrMethodDeclaration(N,R,j,$)}}if(j||$){var le=createMissingNode(79,true,E.Diagnostics.Declaration_expected);return parsePropertyDeclaration(N,R,j,$,le,undefined)}return E.Debug.fail("Should not have attempted to parse class member declaration.")}function parseClassExpression(){return parseClassDeclarationOrExpression(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined,224)}function parseClassDeclaration(E,N,R,j){return parseClassDeclarationOrExpression(E,N,R,j,255)}function parseClassDeclarationOrExpression(N,R,j,$,q){var G=inAwaitContext();parseExpected(84);var ie=parseNameOfClassDeclarationOrExpression();var ae=parseTypeParameters();if(E.some($,E.isExportModifier))setAwaitContext(true);var ce=parseHeritageClauses();var le;if(parseExpected(18)){le=parseClassMembers();parseExpected(19)}else{le=createMissingList()}setAwaitContext(G);var _e=q===255?Ee.createClassDeclaration(j,$,ie,ae,ce,le):Ee.createClassExpression(j,$,ie,ae,ce,le);return withJSDoc(finishNode(_e,N),R)}function parseNameOfClassDeclarationOrExpression(){return isBindingIdentifier()&&!isImplementsClause()?createIdentifier(isBindingIdentifier()):undefined}function isImplementsClause(){return token()===117&&lookAhead(nextTokenIsIdentifierOrKeyword)}function parseHeritageClauses(){if(isHeritageClause()){return parseList(22,parseHeritageClause)}return undefined}function parseHeritageClause(){var N=getNodePos();var R=token();E.Debug.assert(R===94||R===117);nextToken();var j=parseDelimitedList(7,parseExpressionWithTypeArguments);return finishNode(Ee.createHeritageClause(R,j),N)}function parseExpressionWithTypeArguments(){var E=getNodePos();var N=parseLeftHandSideExpressionOrHigher();var R=tryParseTypeArguments();return finishNode(Ee.createExpressionWithTypeArguments(N,R),E)}function tryParseTypeArguments(){return token()===29?parseBracketedList(20,parseType,29,31):undefined}function isHeritageClause(){return token()===94||token()===117}function parseClassMembers(){return parseList(5,parseClassElement)}function parseInterfaceDeclaration(E,N,R,j){parseExpected(118);var $=parseIdentifier();var q=parseTypeParameters();var G=parseHeritageClauses();var ie=parseObjectTypeMembers();var ae=Ee.createInterfaceDeclaration(R,j,$,q,G,ie);return withJSDoc(finishNode(ae,E),N)}function parseTypeAliasDeclaration(E,N,R,j){parseExpected(150);var $=parseIdentifier();var q=parseTypeParameters();parseExpected(63);var G=token()===137&&tryParse(parseKeywordAndNoDot)||parseType();parseSemicolon();var ie=Ee.createTypeAliasDeclaration(R,j,$,q,G);return withJSDoc(finishNode(ie,E),N)}function parseEnumMember(){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parsePropertyName();var j=allowInAnd(parseInitializer);return withJSDoc(finishNode(Ee.createEnumMember(R,j),E),N)}function parseEnumDeclaration(E,N,R,j){parseExpected(92);var $=parseIdentifier();var q;if(parseExpected(18)){q=doOutsideOfYieldAndAwaitContext((function(){return parseDelimitedList(6,parseEnumMember)}));parseExpected(19)}else{q=createMissingList()}var G=Ee.createEnumDeclaration(R,j,$,q);return withJSDoc(finishNode(G,E),N)}function parseModuleBlock(){var E=getNodePos();var N;if(parseExpected(18)){N=parseList(1,parseStatement);parseExpected(19)}else{N=createMissingList()}return finishNode(Ee.createModuleBlock(N),E)}function parseModuleOrNamespaceDeclaration(E,N,R,j,$){var q=$&16;var G=parseIdentifier();var ie=parseOptional(24)?parseModuleOrNamespaceDeclaration(getNodePos(),false,undefined,undefined,4|q):parseModuleBlock();var ae=Ee.createModuleDeclaration(R,j,G,ie,$);return withJSDoc(finishNode(ae,E),N)}function parseAmbientExternalModuleDeclaration(E,N,R,j){var $=0;var q;if(token()===155){q=parseIdentifier();$|=1024}else{q=parseLiteralNode();q.text=internIdentifier(q.text)}var G;if(token()===18){G=parseModuleBlock()}else{parseSemicolon()}var ie=Ee.createModuleDeclaration(R,j,q,G,$);return withJSDoc(finishNode(ie,E),N)}function parseModuleDeclaration(E,N,R,j){var $=0;if(token()===155){return parseAmbientExternalModuleDeclaration(E,N,R,j)}else if(parseOptional(141)){$|=16}else{parseExpected(140);if(token()===10){return parseAmbientExternalModuleDeclaration(E,N,R,j)}}return parseModuleOrNamespaceDeclaration(E,N,R,j,$)}function isExternalModuleReference(){return token()===144&&lookAhead(nextTokenIsOpenParen)}function nextTokenIsOpenParen(){return nextToken()===20}function nextTokenIsOpenBrace(){return nextToken()===18}function nextTokenIsSlash(){return nextToken()===43}function parseNamespaceExportDeclaration(E,N,R,j){parseExpected(127);parseExpected(141);var $=parseIdentifier();parseSemicolon();var q=Ee.createNamespaceExportDeclaration($);q.decorators=R;q.modifiers=j;return withJSDoc(finishNode(q,E),N)}function parseImportDeclarationOrImportEqualsDeclaration(E,N,j,$){parseExpected(100);var q=R.getStartPos();var G;if(isIdentifier()){G=parseIdentifier()}var ie=false;if(token()!==154&&(G===null||G===void 0?void 0:G.escapedText)==="type"&&(isIdentifier()||tokenAfterImportDefinitelyProducesImportDeclaration())){ie=true;G=isIdentifier()?parseIdentifier():undefined}if(G&&!tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration()){return parseImportEqualsDeclaration(E,N,j,$,G,ie)}var ae;if(G||token()===41||token()===18){ae=parseImportClause(G,q,ie);parseExpected(154)}var ce=parseModuleSpecifier();parseSemicolon();var le=Ee.createImportDeclaration(j,$,ae,ce);return withJSDoc(finishNode(le,E),N)}function tokenAfterImportDefinitelyProducesImportDeclaration(){return token()===41||token()===18}function tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration(){return token()===27||token()===154}function parseImportEqualsDeclaration(E,N,R,j,$,q){parseExpected(63);var G=parseModuleReference();parseSemicolon();var ie=Ee.createImportEqualsDeclaration(R,j,q,$,G);var ae=withJSDoc(finishNode(ie,E),N);return ae}function parseImportClause(E,N,R){var j;if(!E||parseOptional(27)){j=token()===41?parseNamespaceImport():parseNamedImportsOrExports(267)}return finishNode(Ee.createImportClause(R,E,j),N)}function parseModuleReference(){return isExternalModuleReference()?parseExternalModuleReference():parseEntityName(false)}function parseExternalModuleReference(){var E=getNodePos();parseExpected(144);parseExpected(20);var N=parseModuleSpecifier();parseExpected(21);return finishNode(Ee.createExternalModuleReference(N),E)}function parseModuleSpecifier(){if(token()===10){var E=parseLiteralNode();E.text=internIdentifier(E.text);return E}else{return parseExpression()}}function parseNamespaceImport(){var E=getNodePos();parseExpected(41);parseExpected(127);var N=parseIdentifier();return finishNode(Ee.createNamespaceImport(N),E)}function parseNamedImportsOrExports(E){var N=getNodePos();var R=E===267?Ee.createNamedImports(parseBracketedList(23,parseImportSpecifier,18,19)):Ee.createNamedExports(parseBracketedList(23,parseExportSpecifier,18,19));return finishNode(R,N)}function parseExportSpecifier(){return parseImportOrExportSpecifier(273)}function parseImportSpecifier(){return parseImportOrExportSpecifier(268)}function parseImportOrExportSpecifier(N){var j=getNodePos();var $=E.isKeyword(token())&&!isIdentifier();var q=R.getTokenPos();var G=R.getTextPos();var ie=parseIdentifierName();var ae;var ce;if(token()===127){ae=ie;parseExpected(127);$=E.isKeyword(token())&&!isIdentifier();q=R.getTokenPos();G=R.getTextPos();ce=parseIdentifierName()}else{ce=ie}if(N===268&&$){parseErrorAt(q,G,E.Diagnostics.Identifier_expected)}var le=N===268?Ee.createImportSpecifier(ae,ce):Ee.createExportSpecifier(ae,ce);return finishNode(le,j)}function parseNamespaceExport(E){return finishNode(Ee.createNamespaceExport(parseIdentifierName()),E)}function parseExportDeclaration(E,N,j,$){var q=inAwaitContext();setAwaitContext(true);var G;var ie;var ae=parseOptional(150);var ce=getNodePos();if(parseOptional(41)){if(parseOptional(127)){G=parseNamespaceExport(ce)}parseExpected(154);ie=parseModuleSpecifier()}else{G=parseNamedImportsOrExports(271);if(token()===154||token()===10&&!R.hasPrecedingLineBreak()){parseExpected(154);ie=parseModuleSpecifier()}}parseSemicolon();setAwaitContext(q);var le=Ee.createExportDeclaration(j,$,ae,G,ie);return withJSDoc(finishNode(le,E),N)}function parseExportAssignment(E,N,R,j){var $=inAwaitContext();setAwaitContext(true);var q;if(parseOptional(63)){q=true}else{parseExpected(88)}var G=parseAssignmentExpressionOrHigher();parseSemicolon();setAwaitContext($);var ie=Ee.createExportAssignment(R,j,q,G);return withJSDoc(finishNode(ie,E),N)}function setExternalModuleIndicator(N){N.externalModuleIndicator=E.forEach(N.statements,isAnExternalModuleIndicatorNode)||getImportMetaIfNecessary(N)}function isAnExternalModuleIndicatorNode(N){return hasModifierOfKind(N,93)||E.isImportEqualsDeclaration(N)&&E.isExternalModuleReference(N.moduleReference)||E.isImportDeclaration(N)||E.isExportAssignment(N)||E.isExportDeclaration(N)?N:undefined}function getImportMetaIfNecessary(E){return E.flags&2097152?walkTreeForExternalModuleIndicators(E):undefined}function walkTreeForExternalModuleIndicators(E){return isImportMeta(E)?E:forEachChild(E,walkTreeForExternalModuleIndicators)}function hasModifierOfKind(N,R){return E.some(N.modifiers,(function(E){return E.kind===R}))}function isImportMeta(N){return E.isMetaProperty(N)&&N.keywordToken===100&&N.name.escapedText==="meta"}var et;(function(E){E[E["SourceElements"]=0]="SourceElements";E[E["BlockStatements"]=1]="BlockStatements";E[E["SwitchClauses"]=2]="SwitchClauses";E[E["SwitchClauseStatements"]=3]="SwitchClauseStatements";E[E["TypeMembers"]=4]="TypeMembers";E[E["ClassMembers"]=5]="ClassMembers";E[E["EnumMembers"]=6]="EnumMembers";E[E["HeritageClauseElement"]=7]="HeritageClauseElement";E[E["VariableDeclarations"]=8]="VariableDeclarations";E[E["ObjectBindingElements"]=9]="ObjectBindingElements";E[E["ArrayBindingElements"]=10]="ArrayBindingElements";E[E["ArgumentExpressions"]=11]="ArgumentExpressions";E[E["ObjectLiteralMembers"]=12]="ObjectLiteralMembers";E[E["JsxAttributes"]=13]="JsxAttributes";E[E["JsxChildren"]=14]="JsxChildren";E[E["ArrayLiteralMembers"]=15]="ArrayLiteralMembers";E[E["Parameters"]=16]="Parameters";E[E["JSDocParameters"]=17]="JSDocParameters";E[E["RestProperties"]=18]="RestProperties";E[E["TypeParameters"]=19]="TypeParameters";E[E["TypeArguments"]=20]="TypeArguments";E[E["TupleElementTypes"]=21]="TupleElementTypes";E[E["HeritageClauses"]=22]="HeritageClauses";E[E["ImportOrExportSpecifiers"]=23]="ImportOrExportSpecifiers";E[E["Count"]=24]="Count"})(et||(et={}));var tt;(function(E){E[E["False"]=0]="False";E[E["True"]=1]="True";E[E["Unknown"]=2]="Unknown"})(tt||(tt={}));var rt;(function(N){function parseJSDocTypeExpressionForTests(N,j,$){initializeState("file.js",N,99,undefined,1);R.setText(N,j,$);ze=R.scan();var q=parseJSDocTypeExpression();var G=createSourceFile("file.js",99,1,false,[],Ee.createToken(1),0);var ie=E.attachFileToDiagnostics(Be,G);if(je){G.jsDocDiagnostics=E.attachFileToDiagnostics(je,G)}clearState();return q?{jsDocTypeExpression:q,diagnostics:ie}:undefined}N.parseJSDocTypeExpressionForTests=parseJSDocTypeExpressionForTests;function parseJSDocTypeExpression(E){var N=getNodePos();var R=(E?parseOptional:parseExpected)(18);var j=doInsideOfContext(4194304,parseJSDocType);if(!E||R){parseExpectedJSDoc(19)}var $=Ee.createJSDocTypeExpression(j);fixupParentReferences($);return finishNode($,N)}N.parseJSDocTypeExpression=parseJSDocTypeExpression;function parseJSDocNameReference(){var E=getNodePos();var N=parseOptional(18);var R=getNodePos();var j=parseEntityName(false);while(token()===80){reScanHashToken();nextTokenJSDoc();j=finishNode(Ee.createJSDocMemberName(j,parseIdentifier()),R)}if(N){parseExpectedJSDoc(19)}var $=Ee.createJSDocNameReference(j);fixupParentReferences($);return finishNode($,E)}N.parseJSDocNameReference=parseJSDocNameReference;function parseIsolatedJSDocComment(N,R,j){initializeState("",N,99,undefined,1);var $=doInsideOfContext(4194304,(function(){return parseJSDocCommentWorker(R,j)}));var q={languageVariant:0,text:N};var G=E.attachFileToDiagnostics(Be,q);clearState();return $?{jsDoc:$,diagnostics:G}:undefined}N.parseIsolatedJSDocComment=parseIsolatedJSDocComment;function parseJSDocComment(N,R,j){var $=ze;var q=Be.length;var G=Xe;var ie=doInsideOfContext(4194304,(function(){return parseJSDocCommentWorker(R,j)}));E.setParent(ie,N);if(Ke&131072){if(!je){je=[]}je.push.apply(je,Be)}ze=$;Be.length=q;Xe=G;return ie}N.parseJSDocComment=parseJSDocComment;var j;(function(E){E[E["BeginningOfLine"]=0]="BeginningOfLine";E[E["SawAsterisk"]=1]="SawAsterisk";E[E["SavingComments"]=2]="SavingComments";E[E["SavingBackticks"]=3]="SavingBackticks"})(j||(j={}));var $;(function(E){E[E["Property"]=1]="Property";E[E["Parameter"]=2]="Parameter";E[E["CallbackParameter"]=4]="CallbackParameter"})($||($={}));function parseJSDocCommentWorker(N,j){if(N===void 0){N=0}var $=Ie;var q=j===undefined?$.length:N+j;j=q-N;E.Debug.assert(N>=0);E.Debug.assert(N<=q);E.Debug.assert(q<=$.length);if(!isJSDocLikeText($,N)){return undefined}var G;var ie;var ae;var ce;var le;var _e=[];var we=[];return R.scanRange(N+3,j-5,(function(){var j=1;var Te;var Ie=N-($.lastIndexOf("\n",N)+1)+4;function pushComment(E){if(!Te){Te=Ie}_e.push(E);Ie+=E.length}nextTokenJSDoc();while(parseOptionalJsdoc(5));if(parseOptionalJsdoc(4)){j=0;Ie=0}e:while(true){switch(token()){case 59:if(j===0||j===1){removeTrailingWhitespace(_e);if(!le)le=getNodePos();addTag(parseTag(Ie));j=0;Te=undefined}else{pushComment(R.getTokenText())}break;case 4:_e.push(R.getTokenText());j=0;Ie=0;break;case 41:var Ne=R.getTokenText();if(j===1||j===2){j=2;pushComment(Ne)}else{j=1;Ie+=Ne.length}break;case 5:var Me=R.getTokenText();if(j===2){_e.push(Me)}else if(Te!==undefined&&Ie+Me.length>Te){_e.push(Me.slice(Te-Ie))}Ie+=Me.length;break;case 1:break e;case 18:j=2;var Le=R.getStartPos();var Be=R.getTextPos()-1;var je=parseJSDocLink(Be);if(je){if(!ce){removeLeadingNewlines(_e)}we.push(finishNode(Ee.createJSDocText(_e.join("")),ce!==null&&ce!==void 0?ce:N,Le));we.push(je);_e=[];ce=R.getTextPos();break}default:j=2;pushComment(R.getTokenText());break}nextTokenJSDoc()}removeTrailingWhitespace(_e);if(we.length&&_e.length){we.push(finishNode(Ee.createJSDocText(_e.join("")),ce!==null&&ce!==void 0?ce:N,le))}if(we.length&&G)E.Debug.assertIsDefined(le,"having parsed tags implies that the end of the comment span should be set");var Ue=G&&createNodeArray(G,ie,ae);return finishNode(Ee.createJSDocComment(we.length?createNodeArray(we,N,le):_e.length?_e.join(""):undefined,Ue),N,q)}));function removeLeadingNewlines(E){while(E.length&&(E[0]==="\n"||E[0]==="\r")){E.shift()}}function removeTrailingWhitespace(E){while(E.length&&E[E.length-1].trim()===""){E.pop()}}function isNextNonwhitespaceTokenEndOfFile(){while(true){nextTokenJSDoc();if(token()===1){return true}if(!(token()===5||token()===4)){return false}}}function skipWhitespace(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return}}while(token()===5||token()===4){nextTokenJSDoc()}}function skipWhitespaceOrAsterisk(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return""}}var E=R.hasPrecedingLineBreak();var N=false;var j="";while(E&&token()===41||token()===5||token()===4){j+=R.getTokenText();if(token()===4){E=true;N=true;j=""}else if(token()===41){E=false}nextTokenJSDoc()}return N?j:""}function parseTag(N){E.Debug.assert(token()===59);var j=R.getTokenPos();nextTokenJSDoc();var $=parseJSDocIdentifierName(undefined);var q=skipWhitespaceOrAsterisk();var G;switch($.escapedText){case"author":G=parseAuthorTag(j,$,N,q);break;case"implements":G=parseImplementsTag(j,$,N,q);break;case"augments":case"extends":G=parseAugmentsTag(j,$,N,q);break;case"class":case"constructor":G=parseSimpleTag(j,Ee.createJSDocClassTag,$,N,q);break;case"public":G=parseSimpleTag(j,Ee.createJSDocPublicTag,$,N,q);break;case"private":G=parseSimpleTag(j,Ee.createJSDocPrivateTag,$,N,q);break;case"protected":G=parseSimpleTag(j,Ee.createJSDocProtectedTag,$,N,q);break;case"readonly":G=parseSimpleTag(j,Ee.createJSDocReadonlyTag,$,N,q);break;case"override":G=parseSimpleTag(j,Ee.createJSDocOverrideTag,$,N,q);break;case"deprecated":Ye=true;G=parseSimpleTag(j,Ee.createJSDocDeprecatedTag,$,N,q);break;case"this":G=parseThisTag(j,$,N,q);break;case"enum":G=parseEnumTag(j,$,N,q);break;case"arg":case"argument":case"param":return parseParameterOrPropertyTag(j,$,2,N);case"return":case"returns":G=parseReturnTag(j,$,N,q);break;case"template":G=parseTemplateTag(j,$,N,q);break;case"type":G=parseTypeTag(j,$,N,q);break;case"typedef":G=parseTypedefTag(j,$,N,q);break;case"callback":G=parseCallbackTag(j,$,N,q);break;case"see":G=parseSeeTag(j,$,N,q);break;default:G=parseUnknownTag(j,$,N,q);break}return G}function parseTrailingTagComments(E,N,R,j){if(!j){R+=N-E}return parseTagComments(R,j.slice(R))}function parseTagComments(E,N){var j=getNodePos();var $=[];var q=[];var G;var ie=0;var ae=true;var ce;function pushComment(N){if(!ce){ce=E}$.push(N);E+=N.length}if(N!==undefined){if(N!==""){pushComment(N)}ie=1}var le=token();e:while(true){switch(le){case 4:ie=0;$.push(R.getTokenText());E=0;break;case 59:if(ie===3||ie===2&&(!ae||lookAhead(isNextJSDocTokenWhitespace))){$.push(R.getTokenText());break}R.setTextPos(R.getTextPos()-1);case 1:break e;case 5:if(ie===2||ie===3){pushComment(R.getTokenText())}else{var _e=R.getTokenText();if(ce!==undefined&&E+_e.length>ce){$.push(_e.slice(ce-E))}E+=_e.length}break;case 18:ie=2;var Te=R.getStartPos();var we=R.getTextPos()-1;var Ie=parseJSDocLink(we);if(Ie){q.push(finishNode(Ee.createJSDocText($.join("")),G!==null&&G!==void 0?G:j,Te));q.push(Ie);$=[];G=R.getTextPos()}else{pushComment(R.getTokenText())}break;case 61:if(ie===3){ie=2}else{ie=3}pushComment(R.getTokenText());break;case 41:if(ie===0){ie=1;E+=1;break}default:if(ie!==3){ie=2}pushComment(R.getTokenText());break}ae=token()===5;le=nextTokenJSDoc()}removeLeadingNewlines($);removeTrailingWhitespace($);if(q.length){if($.length){q.push(finishNode(Ee.createJSDocText($.join("")),G!==null&&G!==void 0?G:j))}return createNodeArray(q,j,R.getTextPos())}else if($.length){return $.join("")}}function isNextJSDocTokenWhitespace(){var E=nextTokenJSDoc();return E===5||E===4}function parseJSDocLink(N){var j=tryParse(parseJSDocLinkPrefix);if(!j){return undefined}nextTokenJSDoc();skipWhitespace();var $=getNodePos();var q=E.tokenIsIdentifierOrKeyword(token())?parseEntityName(true):undefined;if(q){while(token()===80){reScanHashToken();nextTokenJSDoc();q=finishNode(Ee.createJSDocMemberName(q,parseIdentifier()),$)}}var G=[];while(token()!==19&&token()!==4&&token()!==1){G.push(R.getTokenText());nextTokenJSDoc()}var ie=j==="link"?Ee.createJSDocLink:j==="linkcode"?Ee.createJSDocLinkCode:Ee.createJSDocLinkPlain;return finishNode(ie(q,G.join("")),N,R.getTextPos())}function parseJSDocLinkPrefix(){skipWhitespaceOrAsterisk();if(token()===18&&nextTokenJSDoc()===59&&E.tokenIsIdentifierOrKeyword(nextTokenJSDoc())){var N=R.getTokenValue();if(N==="link"||N==="linkcode"||N==="linkplain"){return N}}}function parseUnknownTag(E,N,R,j){return finishNode(Ee.createJSDocUnknownTag(N,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function addTag(E){if(!E){return}if(!G){G=[E];ie=E.pos}else{G.push(E)}ae=E.end}function tryParseTypeExpression(){skipWhitespaceOrAsterisk();return token()===18?parseJSDocTypeExpression():undefined}function parseBracketNameInPropertyAndParamTag(){var E=parseOptionalJsdoc(22);if(E){skipWhitespace()}var N=parseOptionalJsdoc(61);var R=parseJSDocEntityName();if(N){parseExpectedTokenJSDoc(61)}if(E){skipWhitespace();if(parseOptionalToken(63)){parseExpression()}parseExpected(23)}return{name:R,isBracketed:E}}function isObjectOrObjectArrayTypeReference(N){switch(N.kind){case 146:return true;case 181:return isObjectOrObjectArrayTypeReference(N.elementType);default:return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="Object"&&!N.typeArguments}}function parseParameterOrPropertyTag(E,N,R,j){var $=tryParseTypeExpression();var q=!$;skipWhitespaceOrAsterisk();var G=parseBracketNameInPropertyAndParamTag(),ie=G.name,ae=G.isBracketed;var ce=skipWhitespaceOrAsterisk();if(q&&!lookAhead(parseJSDocLinkPrefix)){$=tryParseTypeExpression()}var le=parseTrailingTagComments(E,getNodePos(),j,ce);var _e=R!==4&&parseNestedTypeLiteral($,ie,R,j);if(_e){$=_e;q=true}var Te=R===1?Ee.createJSDocPropertyTag(N,ie,ae,$,q,le):Ee.createJSDocParameterTag(N,ie,ae,$,q,le);return finishNode(Te,E)}function parseNestedTypeLiteral(N,R,j,$){if(N&&isObjectOrObjectArrayTypeReference(N.type)){var q=getNodePos();var G=void 0;var ie=void 0;while(G=tryParse((function(){return parseChildParameterOrPropertyTag(j,$,R)}))){if(G.kind===335||G.kind===342){ie=E.append(ie,G)}}if(ie){var ae=finishNode(Ee.createJSDocTypeLiteral(ie,N.type.kind===181),q);return finishNode(Ee.createJSDocTypeExpression(ae),q)}}}function parseReturnTag(N,j,$,q){if(E.some(G,E.isJSDocReturnTag)){parseErrorAt(j.pos,R.getTokenPos(),E.Diagnostics._0_tag_already_specified,j.escapedText)}var ie=tryParseTypeExpression();return finishNode(Ee.createJSDocReturnTag(j,ie,parseTrailingTagComments(N,getNodePos(),$,q)),N)}function parseTypeTag(N,j,$,q){if(E.some(G,E.isJSDocTypeTag)){parseErrorAt(j.pos,R.getTokenPos(),E.Diagnostics._0_tag_already_specified,j.escapedText)}var ie=parseJSDocTypeExpression(true);var ae=$!==undefined&&q!==undefined?parseTrailingTagComments(N,getNodePos(),$,q):undefined;return finishNode(Ee.createJSDocTypeTag(j,ie,ae),N)}function parseSeeTag(N,j,$,q){var G=lookAhead((function(){return nextTokenJSDoc()===59&&E.tokenIsIdentifierOrKeyword(nextTokenJSDoc())&&R.getTokenValue()==="link"}));var ie=G?undefined:parseJSDocNameReference();var ae=$!==undefined&&q!==undefined?parseTrailingTagComments(N,getNodePos(),$,q):undefined;return finishNode(Ee.createJSDocSeeTag(j,ie,ae),N)}function parseAuthorTag(N,j,$,q){var G=getNodePos();var ie=parseAuthorNameAndEmail();var ae=R.getStartPos();var ce=parseTrailingTagComments(N,ae,$,q);if(!ce){ae=R.getStartPos()}var le=typeof ce!=="string"?createNodeArray(E.concatenate([finishNode(ie,G,ae)],ce),G):ie.text+ce;return finishNode(Ee.createJSDocAuthorTag(j,le),N)}function parseAuthorNameAndEmail(){var E=[];var N=false;var j=R.getToken();while(j!==1&&j!==4){if(j===29){N=true}else if(j===59&&!N){break}else if(j===31&&N){E.push(R.getTokenText());R.setTextPos(R.getTokenPos()+1);break}E.push(R.getTokenText());j=nextTokenJSDoc()}return Ee.createJSDocText(E.join(""))}function parseImplementsTag(E,N,R,j){var $=parseExpressionWithTypeArgumentsForAugments();return finishNode(Ee.createJSDocImplementsTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseAugmentsTag(E,N,R,j){var $=parseExpressionWithTypeArgumentsForAugments();return finishNode(Ee.createJSDocAugmentsTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseExpressionWithTypeArgumentsForAugments(){var E=parseOptional(18);var N=getNodePos();var R=parsePropertyAccessEntityNameExpression();var j=tryParseTypeArguments();var $=Ee.createExpressionWithTypeArguments(R,j);var q=finishNode($,N);if(E){parseExpected(19)}return q}function parsePropertyAccessEntityNameExpression(){var E=getNodePos();var N=parseJSDocIdentifierName();while(parseOptional(24)){var R=parseJSDocIdentifierName();N=finishNode(Ee.createPropertyAccessExpression(N,R),E)}return N}function parseSimpleTag(E,N,R,j,$){return finishNode(N(R,parseTrailingTagComments(E,getNodePos(),j,$)),E)}function parseThisTag(E,N,R,j){var $=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(Ee.createJSDocThisTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseEnumTag(E,N,R,j){var $=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(Ee.createJSDocEnumTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseTypedefTag(N,R,j,$){var q;var G=tryParseTypeExpression();skipWhitespaceOrAsterisk();var ie=parseJSDocTypeNameWithNamespace();skipWhitespace();var ae=parseTagComments(j);var ce;if(!G||isObjectOrObjectArrayTypeReference(G.type)){var le=void 0;var _e=void 0;var we=void 0;var Ie=false;while(le=tryParse((function(){return parseChildPropertyTag(j)}))){Ie=true;if(le.kind===338){if(_e){parseErrorAtCurrentToken(E.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var Ne=E.lastOrUndefined(Be);if(Ne){E.addRelatedInfo(Ne,E.createDetachedDiagnostic(Te,0,0,E.Diagnostics.The_tag_was_first_specified_here))}break}else{_e=le}}else{we=E.append(we,le)}}if(Ie){var Me=G&&G.type.kind===181;var Le=Ee.createJSDocTypeLiteral(we,Me);G=_e&&_e.typeExpression&&!isObjectOrObjectArrayTypeReference(_e.typeExpression.type)?_e.typeExpression:finishNode(Le,N);ce=G.end}}ce=ce||ae!==undefined?getNodePos():((q=ie!==null&&ie!==void 0?ie:G)!==null&&q!==void 0?q:R).end;if(!ae){ae=parseTrailingTagComments(N,ce,j,$)}var je=Ee.createJSDocTypedefTag(R,G,ie,ae);return finishNode(je,N,ce)}function parseJSDocTypeNameWithNamespace(N){var j=R.getTokenPos();if(!E.tokenIsIdentifierOrKeyword(token())){return undefined}var $=parseJSDocIdentifierName();if(parseOptional(24)){var q=parseJSDocTypeNameWithNamespace(true);var G=Ee.createModuleDeclaration(undefined,undefined,$,q,N?4:undefined);return finishNode(G,j)}if(N){$.isInJSDocNamespace=true}return $}function parseCallbackTagParameters(N){var R=getNodePos();var j;var $;while(j=tryParse((function(){return parseChildParameterOrPropertyTag(4,N)}))){$=E.append($,j)}return createNodeArray($||[],R)}function parseCallbackTag(E,N,R,j){var $=parseJSDocTypeNameWithNamespace();skipWhitespace();var q=parseTagComments(R);var G=parseCallbackTagParameters(R);var ie=tryParse((function(){if(parseOptionalJsdoc(59)){var E=parseTag(R);if(E&&E.kind===336){return E}}}));var ae=finishNode(Ee.createJSDocSignature(undefined,G,ie),E);if(!q){q=parseTrailingTagComments(E,getNodePos(),R,j)}return finishNode(Ee.createJSDocCallbackTag(N,ae,$,q),E)}function escapedTextsEqual(N,R){while(!E.isIdentifier(N)||!E.isIdentifier(R)){if(!E.isIdentifier(N)&&!E.isIdentifier(R)&&N.right.escapedText===R.right.escapedText){N=N.left;R=R.left}else{return false}}return N.escapedText===R.escapedText}function parseChildPropertyTag(E){return parseChildParameterOrPropertyTag(1,E)}function parseChildParameterOrPropertyTag(N,R,j){var $=true;var q=false;while(true){switch(nextTokenJSDoc()){case 59:if($){var G=tryParseChildTag(N,R);if(G&&(G.kind===335||G.kind===342)&&N!==4&&j&&(E.isIdentifier(G.name)||!escapedTextsEqual(j,G.name.left))){return false}return G}q=false;break;case 4:$=true;q=false;break;case 41:if(q){$=false}q=true;break;case 79:$=false;break;case 1:return false}}}function tryParseChildTag(N,j){E.Debug.assert(token()===59);var $=R.getStartPos();nextTokenJSDoc();var q=parseJSDocIdentifierName();skipWhitespace();var G;switch(q.escapedText){case"type":return N===1&&parseTypeTag($,q);case"prop":case"property":G=1;break;case"arg":case"argument":case"param":G=2|4;break;default:return false}if(!(N&G)){return false}return parseParameterOrPropertyTag($,q,N,j)}function parseTemplateTagTypeParameter(){var N=getNodePos();var R=parseJSDocIdentifierName(E.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(E.nodeIsMissing(R)){return undefined}return finishNode(Ee.createTypeParameterDeclaration(R,undefined,undefined),N)}function parseTemplateTagTypeParameters(){var E=getNodePos();var N=[];do{skipWhitespace();var R=parseTemplateTagTypeParameter();if(R!==undefined){N.push(R)}skipWhitespaceOrAsterisk()}while(parseOptionalJsdoc(27));return createNodeArray(N,E)}function parseTemplateTag(E,N,R,j){var $=token()===18?parseJSDocTypeExpression():undefined;var q=parseTemplateTagTypeParameters();return finishNode(Ee.createJSDocTemplateTag(N,$,q,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseOptionalJsdoc(E){if(token()===E){nextTokenJSDoc();return true}return false}function parseJSDocEntityName(){var E=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}while(parseOptional(24)){var N=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}E=createQualifiedName(E,N)}return E}function parseJSDocIdentifierName(N){if(!E.tokenIsIdentifierOrKeyword(token())){return createMissingNode(79,!N,N||E.Diagnostics.Identifier_expected)}qe++;var j=R.getTokenPos();var $=R.getTextPos();var q=token();var G=internIdentifier(R.getTokenValue());var ie=finishNode(Ee.createIdentifier(G,undefined,q),j,$);nextTokenJSDoc();return ie}}})(rt=N.JSDocParser||(N.JSDocParser={}))})(ce||(ce={}));var le;(function(N){function updateSourceFile(N,R,j,$){$=$||E.Debug.shouldAssert(2);checkChangeRange(N,R,j,$);if(E.textChangeRangeIsUnchanged(j)){return N}if(N.statements.length===0){return ce.parseSourceFile(N.fileName,R,N.languageVersion,undefined,true,N.scriptKind)}var q=N;E.Debug.assert(!q.hasBeenIncrementallyParsed);q.hasBeenIncrementallyParsed=true;ce.fixupParentReferences(q);var G=N.text;var ie=createSyntaxCursor(N);var ae=extendToAffectedRange(N,j);checkChangeRange(N,R,ae,$);E.Debug.assert(ae.span.start<=j.span.start);E.Debug.assert(E.textSpanEnd(ae.span)===E.textSpanEnd(j.span));E.Debug.assert(E.textSpanEnd(E.textChangeRangeNewSpan(ae))===E.textSpanEnd(E.textChangeRangeNewSpan(j)));var le=E.textChangeRangeNewSpan(ae).length-ae.span.length;updateTokenPositionsAndMarkElements(q,ae.span.start,E.textSpanEnd(ae.span),E.textSpanEnd(E.textChangeRangeNewSpan(ae)),le,G,R,$);var _e=ce.parseSourceFile(N.fileName,R,N.languageVersion,ie,true,N.scriptKind);_e.commentDirectives=getNewCommentDirectives(N.commentDirectives,_e.commentDirectives,ae.span.start,E.textSpanEnd(ae.span),le,G,R,$);return _e}N.updateSourceFile=updateSourceFile;function getNewCommentDirectives(N,R,j,$,q,G,ie,ae){if(!N)return R;var ce;var le=false;for(var _e=0,Ee=N;_e<Ee.length;_e++){var Te=Ee[_e];var we=Te.range,Ie=Te.type;if(we.end<j){ce=E.append(ce,Te)}else if(we.pos>$){addNewlyScannedDirectives();var Ne={range:{pos:we.pos+q,end:we.end+q},type:Ie};ce=E.append(ce,Ne);if(ae){E.Debug.assert(G.substring(we.pos,we.end)===ie.substring(Ne.range.pos,Ne.range.end))}}}addNewlyScannedDirectives();return ce;function addNewlyScannedDirectives(){if(le)return;le=true;if(!ce){ce=R}else if(R){ce.push.apply(ce,R)}}}function moveElementEntirelyPastChangeRange(N,R,j,$,q,G){if(R){visitArray(N)}else{visitNode(N)}return;function visitNode(N){var R="";if(G&&shouldCheckNode(N)){R=$.substring(N.pos,N.end)}if(N._children){N._children=undefined}E.setTextRangePosEnd(N,N.pos+j,N.end+j);if(G&&shouldCheckNode(N)){E.Debug.assert(R===q.substring(N.pos,N.end))}forEachChild(N,visitNode,visitArray);if(E.hasJSDocNodes(N)){for(var ie=0,ae=N.jsDoc;ie<ae.length;ie++){var ce=ae[ie];visitNode(ce)}}checkNodePositions(N,G)}function visitArray(N){N._children=undefined;E.setTextRangePosEnd(N,N.pos+j,N.end+j);for(var R=0,$=N;R<$.length;R++){var q=$[R];visitNode(q)}}}function shouldCheckNode(E){switch(E.kind){case 10:case 8:case 79:return true}return false}function adjustIntersectingElement(N,R,j,$,q){E.Debug.assert(N.end>=R,"Adjusting an element that was entirely before the change range");E.Debug.assert(N.pos<=j,"Adjusting an element that was entirely after the change range");E.Debug.assert(N.pos<=N.end);var G=Math.min(N.pos,$);var ie=N.end>=j?N.end+q:Math.min(N.end,$);E.Debug.assert(G<=ie);if(N.parent){E.Debug.assertGreaterThanOrEqual(G,N.parent.pos);E.Debug.assertLessThanOrEqual(ie,N.parent.end)}E.setTextRangePosEnd(N,G,ie)}function checkNodePositions(N,R){if(R){var j=N.pos;var visitNode_1=function(N){E.Debug.assert(N.pos>=j);j=N.end};if(E.hasJSDocNodes(N)){for(var $=0,q=N.jsDoc;$<q.length;$++){var G=q[$];visitNode_1(G)}}forEachChild(N,visitNode_1);E.Debug.assert(j<=N.end)}}function updateTokenPositionsAndMarkElements(N,R,j,$,q,G,ie,ae){visitNode(N);return;function visitNode(N){E.Debug.assert(N.pos<=N.end);if(N.pos>j){moveElementEntirelyPastChangeRange(N,false,q,G,ie,ae);return}var ce=N.end;if(ce>=R){N.intersectsChange=true;N._children=undefined;adjustIntersectingElement(N,R,j,$,q);forEachChild(N,visitNode,visitArray);if(E.hasJSDocNodes(N)){for(var le=0,_e=N.jsDoc;le<_e.length;le++){var Ee=_e[le];visitNode(Ee)}}checkNodePositions(N,ae);return}E.Debug.assert(ce<R)}function visitArray(N){E.Debug.assert(N.pos<=N.end);if(N.pos>j){moveElementEntirelyPastChangeRange(N,true,q,G,ie,ae);return}var ce=N.end;if(ce>=R){N.intersectsChange=true;N._children=undefined;adjustIntersectingElement(N,R,j,$,q);for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];visitNode(Ee)}return}E.Debug.assert(ce<R)}}function extendToAffectedRange(N,R){var j=1;var $=R.span.start;for(var q=0;$>0&&q<=j;q++){var G=findNearestNodeStartingBeforeOrAtPosition(N,$);E.Debug.assert(G.pos<=$);var ie=G.pos;$=Math.max(0,ie-1)}var ae=E.createTextSpanFromBounds($,E.textSpanEnd(R.span));var ce=R.newLength+(R.span.start-$);return E.createTextChangeRange(ae,ce)}function findNearestNodeStartingBeforeOrAtPosition(N,R){var j=N;var $;forEachChild(N,visit);if($){var q=getLastDescendant($);if(q.pos>j.pos){j=q}}return j;function getLastDescendant(N){while(true){var R=E.getLastChild(N);if(R){N=R}else{return N}}}function visit(N){if(E.nodeIsMissing(N)){return}if(N.pos<=R){if(N.pos>=j.pos){j=N}if(R<N.end){forEachChild(N,visit);return true}else{E.Debug.assert(N.end<=R);$=N}}else{E.Debug.assert(N.pos>R);return true}}}function checkChangeRange(N,R,j,$){var q=N.text;if(j){E.Debug.assert(q.length-j.span.length+j.newLength===R.length);if($||E.Debug.shouldAssert(3)){var G=q.substr(0,j.span.start);var ie=R.substr(0,j.span.start);E.Debug.assert(G===ie);var ae=q.substring(E.textSpanEnd(j.span),q.length);var ce=R.substring(E.textSpanEnd(E.textChangeRangeNewSpan(j)),R.length);E.Debug.assert(ae===ce)}}}function createSyntaxCursor(N){var R=N.statements;var j=0;E.Debug.assert(j<R.length);var $=R[j];var q=-1;return{currentNode:function(N){if(N!==q){if($&&$.end===N&&j<R.length-1){j++;$=R[j]}if(!$||$.pos!==N){findHighestListElementThatStartsAtPosition(N)}}q=N;E.Debug.assert(!$||$.pos===N);return $}};function findHighestListElementThatStartsAtPosition(E){R=undefined;j=-1;$=undefined;forEachChild(N,visitNode,visitArray);return;function visitNode(N){if(E>=N.pos&&E<N.end){forEachChild(N,visitNode,visitArray);return true}return false}function visitArray(N){if(E>=N.pos&&E<N.end){for(var q=0;q<N.length;q++){var G=N[q];if(G){if(G.pos===E){R=N;j=q;$=G;return true}else{if(G.pos<E&&E<G.end){forEachChild(G,visitNode,visitArray);return true}}}}}return false}}}N.createSyntaxCursor=createSyntaxCursor;var R;(function(E){E[E["Value"]=-1]="Value"})(R||(R={}))})(le||(le={}));function isDeclarationFileName(N){return E.fileExtensionIs(N,".d.ts")}E.isDeclarationFileName=isDeclarationFileName;function processCommentPragmas(N,R){var j=[];for(var $=0,q=E.getLeadingCommentRanges(R,0)||E.emptyArray;$<q.length;$++){var G=q[$];var ie=R.substring(G.pos,G.end);extractPragmas(j,G,ie)}N.pragmas=new E.Map;for(var ae=0,ce=j;ae<ce.length;ae++){var le=ce[ae];if(N.pragmas.has(le.name)){var _e=N.pragmas.get(le.name);if(_e instanceof Array){_e.push(le.args)}else{N.pragmas.set(le.name,[_e,le.args])}continue}N.pragmas.set(le.name,le.args)}}E.processCommentPragmas=processCommentPragmas;function processPragmasIntoFields(N,R){N.checkJsDirective=undefined;N.referencedFiles=[];N.typeReferenceDirectives=[];N.libReferenceDirectives=[];N.amdDependencies=[];N.hasNoDefaultLib=false;N.pragmas.forEach((function(j,$){switch($){case"reference":{var q=N.referencedFiles;var G=N.typeReferenceDirectives;var ie=N.libReferenceDirectives;E.forEach(E.toArray(j),(function(j){var $=j.arguments,ae=$.types,ce=$.lib,le=$.path;if(j.arguments["no-default-lib"]){N.hasNoDefaultLib=true}else if(ae){G.push({pos:ae.pos,end:ae.end,fileName:ae.value})}else if(ce){ie.push({pos:ce.pos,end:ce.end,fileName:ce.value})}else if(le){q.push({pos:le.pos,end:le.end,fileName:le.value})}else{R(j.range.pos,j.range.end-j.range.pos,E.Diagnostics.Invalid_reference_directive_syntax)}}));break}case"amd-dependency":{N.amdDependencies=E.map(E.toArray(j),(function(E){return{name:E.arguments.name,path:E.arguments.path}}));break}case"amd-module":{if(j instanceof Array){for(var ae=0,ce=j;ae<ce.length;ae++){var le=ce[ae];if(N.moduleName){R(le.range.pos,le.range.end-le.range.pos,E.Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments)}N.moduleName=le.arguments.name}}else{N.moduleName=j.arguments.name}break}case"ts-nocheck":case"ts-check":{E.forEach(E.toArray(j),(function(E){if(!N.checkJsDirective||E.range.pos>N.checkJsDirective.pos){N.checkJsDirective={enabled:$==="ts-check",end:E.range.end,pos:E.range.pos}}}));break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:E.Debug.fail("Unhandled pragma kind")}}))}E.processPragmasIntoFields=processPragmasIntoFields;var _e=new E.Map;function getNamedArgRegEx(E){if(_e.has(E)){return _e.get(E)}var N=new RegExp("(\\s"+E+"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))","im");_e.set(E,N);return N}var Ee=/^\/\/\/\s*<(\S+)\s.*?\/>/im;var Te=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function extractPragmas(N,R,j){var $=R.kind===2&&Ee.exec(j);if($){var q=$[1].toLowerCase();var G=E.commentPragmas[q];if(!G||!(G.kind&1)){return}if(G.args){var ie={};for(var ae=0,ce=G.args;ae<ce.length;ae++){var le=ce[ae];var _e=getNamedArgRegEx(le.name);var we=_e.exec(j);if(!we&&!le.optional){return}else if(we){var Ie=we[2]||we[3];if(le.captureSpan){var Ne=R.pos+we.index+we[1].length+1;ie[le.name]={value:Ie,pos:Ne,end:Ne+Ie.length}}else{ie[le.name]=Ie}}}N.push({name:q,args:{arguments:ie,range:R}})}else{N.push({name:q,args:{arguments:{},range:R}})}return}var Me=R.kind===2&&Te.exec(j);if(Me){return addPragmaForMatch(N,R,2,Me)}if(R.kind===3){var Le=/@(\S+)(\s+.*)?$/gim;var Be=void 0;while(Be=Le.exec(j)){addPragmaForMatch(N,R,4,Be)}}}function addPragmaForMatch(N,R,j,$){if(!$)return;var q=$[1].toLowerCase();var G=E.commentPragmas[q];if(!G||!(G.kind&j)){return}var ie=$[2];var ae=getNamedPragmaArguments(G,ie);if(ae==="fail")return;N.push({name:q,args:{arguments:ae,range:R}});return}function getNamedPragmaArguments(N,R){if(!R)return{};if(!N.args)return{};var j=E.trimString(R).split(/\s+/);var $={};for(var q=0;q<N.args.length;q++){var G=N.args[q];if(!j[q]&&!G.optional){return"fail"}if(G.captureSpan){return E.Debug.fail("Capture spans not yet implemented for non-xml pragmas")}$[G.name]=j[q]}return $}function tagNamesAreEquivalent(E,N){if(E.kind!==N.kind){return false}if(E.kind===79){return E.escapedText===N.escapedText}if(E.kind===108){return true}return E.name.escapedText===N.name.escapedText&&tagNamesAreEquivalent(E.expression,N.expression)}E.tagNamesAreEquivalent=tagNamesAreEquivalent})(ce||(ce={}));var ce;(function(E){E.compileOnSaveCommandLineOption={name:"compileOnSave",type:"boolean"};var N=new E.Map(E.getEntries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5}));E.inverseJsxOptionMap=new E.Map(E.arrayFrom(E.mapIterator(N.entries(),(function(E){var N=E[0],R=E[1];return[""+R,N]}))));var R=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.sharedmemory","lib.es2020.sharedmemory.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["esnext.array","lib.es2019.array.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2021.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"]];E.libs=R.map((function(E){return E[0]}));E.libMap=new E.Map(R);E.optionsForWatch=[{name:"watchFile",type:new E.Map(E.getEntries({fixedpollinginterval:E.WatchFileKind.FixedPollingInterval,prioritypollinginterval:E.WatchFileKind.PriorityPollingInterval,dynamicprioritypolling:E.WatchFileKind.DynamicPriorityPolling,fixedchunksizepolling:E.WatchFileKind.FixedChunkSizePolling,usefsevents:E.WatchFileKind.UseFsEvents,usefseventsonparentdirectory:E.WatchFileKind.UseFsEventsOnParentDirectory})),category:E.Diagnostics.Watch_and_Build_Modes,description:E.Diagnostics.Specify_how_the_TypeScript_watch_mode_works},{name:"watchDirectory",type:new E.Map(E.getEntries({usefsevents:E.WatchDirectoryKind.UseFsEvents,fixedpollinginterval:E.WatchDirectoryKind.FixedPollingInterval,dynamicprioritypolling:E.WatchDirectoryKind.DynamicPriorityPolling,fixedchunksizepolling:E.WatchDirectoryKind.FixedChunkSizePolling})),category:E.Diagnostics.Watch_and_Build_Modes,description:E.Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality},{name:"fallbackPolling",type:new E.Map(E.getEntries({fixedinterval:E.PollingWatchKind.FixedInterval,priorityinterval:E.PollingWatchKind.PriorityInterval,dynamicpriority:E.PollingWatchKind.DynamicPriority,fixedchunksize:E.PollingWatchKind.FixedChunkSize})),category:E.Diagnostics.Watch_and_Build_Modes,description:E.Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers},{name:"synchronousWatchDirectory",type:"boolean",category:E.Diagnostics.Watch_and_Build_Modes,description:E.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:true,extraValidation:specToDiagnostic},category:E.Diagnostics.Watch_and_Build_Modes,description:E.Diagnostics.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:true,extraValidation:specToDiagnostic},category:E.Diagnostics.Watch_and_Build_Modes,description:E.Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing}];E.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:true,isCommandLineOnly:true,category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:false,category:E.Diagnostics.Output_Formatting,description:E.Diagnostics.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:"n/a"},{name:"listFiles",type:"boolean",category:E.Diagnostics.Compiler_Diagnostics,description:E.Diagnostics.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:"false"},{name:"explainFiles",type:"boolean",category:E.Diagnostics.Compiler_Diagnostics,description:E.Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included},{name:"listEmittedFiles",type:"boolean",category:E.Diagnostics.Compiler_Diagnostics,description:E.Diagnostics.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:"false"},{name:"pretty",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.Output_Formatting,description:E.Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:"true"},{name:"traceResolution",type:"boolean",category:E.Diagnostics.Compiler_Diagnostics,description:E.Diagnostics.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:"false"},{name:"diagnostics",type:"boolean",category:E.Diagnostics.Compiler_Diagnostics,description:E.Diagnostics.Output_compiler_performance_information_after_building,defaultValueDescription:"false"},{name:"extendedDiagnostics",type:"boolean",category:E.Diagnostics.Compiler_Diagnostics,description:E.Diagnostics.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:"false"},{name:"generateCpuProfile",type:"string",isFilePath:true,paramType:E.Diagnostics.FILE_OR_DIRECTORY,category:E.Diagnostics.Compiler_Diagnostics,description:E.Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:true,isCommandLineOnly:true,paramType:E.Diagnostics.DIRECTORY,category:E.Diagnostics.Compiler_Diagnostics,description:E.Diagnostics.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:E.Diagnostics.Projects,description:E.Diagnostics.Enable_incremental_compilation,transpileOptionValue:undefined,defaultValueDescription:E.Diagnostics.false_unless_composite_is_set},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:true,affectsEmit:true,category:E.Diagnostics.Watch_and_Build_Modes,description:E.Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it},{name:"locale",type:"string",category:E.Diagnostics.Command_line_Options,isCommandLineOnly:true,description:E.Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:E.Diagnostics.Platform_specific}];E.targetOptionDeclaration={name:"target",shortName:"t",type:new E.Map(E.getEntries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,esnext:99})),affectsSourceFile:true,affectsModuleResolution:true,affectsEmit:true,paramType:E.Diagnostics.VERSION,showInSimplifiedHelpView:true,category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:"ES3"};var q=[{name:"all",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Command_line_Options,paramType:E.Diagnostics.FILE_OR_DIRECTORY,description:E.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:true,category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.Command_line_Options,isCommandLineOnly:true,description:E.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"listFilesOnly",type:"boolean",category:E.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:true,affectsEmit:true,isCommandLineOnly:true,description:E.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing},E.targetOptionDeclaration,{name:"module",shortName:"m",type:new E.Map(E.getEntries({none:E.ModuleKind.None,commonjs:E.ModuleKind.CommonJS,amd:E.ModuleKind.AMD,system:E.ModuleKind.System,umd:E.ModuleKind.UMD,es6:E.ModuleKind.ES2015,es2015:E.ModuleKind.ES2015,es2020:E.ModuleKind.ES2020,esnext:E.ModuleKind.ESNext})),affectsModuleResolution:true,affectsEmit:true,paramType:E.Diagnostics.KIND,showInSimplifiedHelpView:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Specify_what_module_code_is_generated},{name:"lib",type:"list",element:{name:"lib",type:E.libMap},affectsProgramStructure:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:undefined},{name:"allowJs",type:"boolean",affectsModuleResolution:true,showInSimplifiedHelpView:true,category:E.Diagnostics.JavaScript_Support,description:E.Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:"false"},{name:"checkJs",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.JavaScript_Support,description:E.Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:"false"},{name:"jsx",type:N,affectsSourceFile:true,affectsEmit:true,affectsModuleResolution:true,paramType:E.Diagnostics.KIND,showInSimplifiedHelpView:true,category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Specify_what_JSX_code_is_generated,defaultValueDescription:"undefined"},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Emit,transpileOptionValue:undefined,description:E.Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:E.Diagnostics.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsEmit:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Emit,transpileOptionValue:undefined,defaultValueDescription:"false",description:E.Diagnostics.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:undefined,defaultValueDescription:"false"},{name:"sourceMap",type:"boolean",affectsEmit:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Emit,defaultValueDescription:"false",description:E.Diagnostics.Create_source_map_files_for_emitted_JavaScript_files},{name:"outFile",type:"string",affectsEmit:true,isFilePath:true,paramType:E.Diagnostics.FILE,showInSimplifiedHelpView:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,transpileOptionValue:undefined,defaultValueDescription:"n/a"},{name:"outDir",type:"string",affectsEmit:true,isFilePath:true,paramType:E.Diagnostics.DIRECTORY,showInSimplifiedHelpView:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Specify_an_output_folder_for_all_emitted_files,defaultValueDescription:"n/a"},{name:"rootDir",type:"string",affectsEmit:true,isFilePath:true,paramType:E.Diagnostics.LOCATION,category:E.Diagnostics.Modules,description:E.Diagnostics.Specify_the_root_folder_within_your_source_files,defaultValueDescription:E.Diagnostics.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsEmit:true,isTSConfigOnly:true,category:E.Diagnostics.Projects,transpileOptionValue:undefined,defaultValueDescription:"false",description:E.Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:true,isFilePath:true,paramType:E.Diagnostics.FILE,category:E.Diagnostics.Projects,transpileOptionValue:undefined,defaultValueDescription:".tsbuildinfo",description:E.Diagnostics.Specify_the_folder_for_tsbuildinfo_incremental_compilation_files},{name:"removeComments",type:"boolean",affectsEmit:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Emit,defaultValueDescription:"false",description:E.Diagnostics.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Disable_emitting_files_from_a_compilation,transpileOptionValue:undefined,defaultValueDescription:"false"},{name:"importHelpers",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:"false"},{name:"importsNotUsedAsValues",type:new E.Map(E.getEntries({remove:0,preserve:1,error:2})),affectsEmit:true,affectsSemanticDiagnostics:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types},{name:"downlevelIteration",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:"false"},{name:"isolatedModules",type:"boolean",category:E.Diagnostics.Interop_Constraints,description:E.Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:true,defaultValueDescription:"false"},{name:"strict",type:"boolean",showInSimplifiedHelpView:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Enable_all_strict_type_checking_options,defaultValueDescription:"false"},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:true,strictFlag:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:E.Diagnostics.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:true,strictFlag:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:E.Diagnostics.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",strictFlag:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:E.Diagnostics.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",strictFlag:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:E.Diagnostics.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:true,strictFlag:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:E.Diagnostics.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:true,strictFlag:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:E.Diagnostics.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:true,strictFlag:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Type_catch_clause_variables_as_unknown_instead_of_any},{name:"alwaysStrict",type:"boolean",affectsSourceFile:true,strictFlag:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Ensure_use_strict_is_always_emitted,defaultValueDescription:E.Diagnostics.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Enable_error_reporting_when_a_local_variables_aren_t_read,defaultValueDescription:"false"},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:"false"},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:"false"},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:true,affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Include_undefined_in_index_signature_results},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier},{name:"noPropertyAccessFromIndexSignature",type:"boolean",showInSimplifiedHelpView:false,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:"false"},{name:"moduleResolution",type:new E.Map(E.getEntries({node:E.ModuleResolutionKind.NodeJs,classic:E.ModuleResolutionKind.Classic})),affectsModuleResolution:true,paramType:E.Diagnostics.STRATEGY,category:E.Diagnostics.Modules,description:E.Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:E.Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:true,isFilePath:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:true,isTSConfigOnly:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:undefined},{name:"rootDirs",type:"list",isTSConfigOnly:true,element:{name:"rootDirs",type:"string",isFilePath:true},affectsModuleResolution:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:undefined,defaultValueDescription:E.Diagnostics.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:true},affectsModuleResolution:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:undefined},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Interop_Constraints,description:E.Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:E.Diagnostics.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:true,affectsEmit:true,showInSimplifiedHelpView:true,category:E.Diagnostics.Interop_Constraints,description:E.Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:"false"},{name:"preserveSymlinks",type:"boolean",category:E.Diagnostics.Interop_Constraints,description:E.Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:"n/a"},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:"false"},{name:"sourceRoot",type:"string",affectsEmit:true,paramType:E.Diagnostics.LOCATION,category:E.Diagnostics.Emit,description:E.Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:true,paramType:E.Diagnostics.LOCATION,category:E.Diagnostics.Emit,description:E.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:"false"},{name:"inlineSources",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:"false"},{name:"experimentalDecorators",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:true,affectsEmit:true,category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files},{name:"jsxFactory",type:"string",category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:true,affectsEmit:true,affectsModuleResolution:true,category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Enable_importing_json_files,defaultValueDescription:"false"},{name:"out",type:"string",affectsEmit:true,isFilePath:false,category:E.Diagnostics.Backwards_Compatibility,paramType:E.Diagnostics.FILE,transpileOptionValue:undefined,defaultValueDescription:"n/a",description:E.Diagnostics.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:true,category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",category:E.Diagnostics.Completeness,description:E.Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:"false"},{name:"charset",type:"string",category:E.Diagnostics.Backwards_Compatibility,description:E.Diagnostics.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:"false"},{name:"newLine",type:new E.Map(E.getEntries({crlf:0,lf:1})),affectsEmit:true,paramType:E.Diagnostics.NEWLINE,category:E.Diagnostics.Emit,description:E.Diagnostics.Set_the_newline_character_for_emitting_files,defaultValueDescription:E.Diagnostics.Platform_specific},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Output_Formatting,description:E.Diagnostics.Disable_truncating_types_in_error_messages,defaultValueDescription:"false"},{name:"noLib",type:"boolean",category:E.Diagnostics.Language_and_Environment,affectsProgramStructure:true,description:E.Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:true,defaultValueDescription:"false"},{name:"noResolve",type:"boolean",affectsModuleResolution:true,category:E.Diagnostics.Modules,description:E.Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:true,defaultValueDescription:"false"},{name:"stripInternal",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:true,category:E.Diagnostics.Editor_Support,description:E.Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:"false"},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:true,category:E.Diagnostics.Projects,description:E.Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:true,category:E.Diagnostics.Projects,description:E.Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:true,category:E.Diagnostics.Projects,description:E.Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Backwards_Compatibility,description:E.Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:"false"},{name:"noEmitHelpers",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:"false"},{name:"noEmitOnError",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,transpileOptionValue:undefined,description:E.Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:"false"},{name:"preserveConstEnums",type:"boolean",affectsEmit:true,category:E.Diagnostics.Emit,description:E.Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:"n/a"},{name:"declarationDir",type:"string",affectsEmit:true,isFilePath:true,paramType:E.Diagnostics.DIRECTORY,category:E.Diagnostics.Emit,transpileOptionValue:undefined,description:E.Diagnostics.Specify_the_output_directory_for_generated_declaration_files,defaultValueDescription:"n/a"},{name:"skipLibCheck",type:"boolean",category:E.Diagnostics.Completeness,description:E.Diagnostics.Skip_type_checking_all_d_ts_files,defaultValueDescription:"false"},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:true,affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Disable_error_reporting_for_unused_labels,defaultValueDescription:"undefined"},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:true,affectsSemanticDiagnostics:true,category:E.Diagnostics.Type_Checking,description:E.Diagnostics.Disable_error_reporting_for_unreachable_code,defaultValueDescription:"undefined"},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Backwards_Compatibility,description:E.Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:"false"},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Backwards_Compatibility,description:E.Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:"false"},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:true,category:E.Diagnostics.Interop_Constraints,description:E.Diagnostics.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:"false"},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:true,category:E.Diagnostics.JavaScript_Support,description:E.Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:"0"},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:true,category:E.Diagnostics.Backwards_Compatibility,description:E.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:"false"},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:true,affectsEmit:true,category:E.Diagnostics.Language_and_Environment,description:E.Diagnostics.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:"false"},{name:"keyofStringsOnly",type:"boolean",category:E.Diagnostics.Backwards_Compatibility,description:E.Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:"false"},{name:"plugins",type:"list",isTSConfigOnly:true,element:{name:"plugin",type:"object"},description:E.Diagnostics.List_of_language_service_plugins,category:E.Diagnostics.Editor_Support}];E.optionDeclarations=j(j([],E.commonOptionsWithBuild,true),q,true);E.semanticDiagnosticsOptionDeclarations=E.optionDeclarations.filter((function(E){return!!E.affectsSemanticDiagnostics}));E.affectsEmitOptionDeclarations=E.optionDeclarations.filter((function(E){return!!E.affectsEmit}));E.moduleResolutionOptionDeclarations=E.optionDeclarations.filter((function(E){return!!E.affectsModuleResolution}));E.sourceFileAffectingCompilerOptions=E.optionDeclarations.filter((function(E){return!!E.affectsSourceFile||!!E.affectsModuleResolution||!!E.affectsBindDiagnostics}));E.optionsAffectingProgramStructure=E.optionDeclarations.filter((function(E){return!!E.affectsProgramStructure}));E.transpileOptionValueCompilerOptions=E.optionDeclarations.filter((function(N){return E.hasProperty(N,"transpileOptionValue")}));E.optionsForBuild=[{name:"verbose",shortName:"v",category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:E.Diagnostics.Command_line_Options,description:E.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}];E.buildOpts=j(j([],E.commonOptionsWithBuild,true),E.optionsForBuild,true);E.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean"}];function createOptionNameMap(N){var R=new E.Map;var j=new E.Map;E.forEach(N,(function(E){R.set(E.name.toLowerCase(),E);if(E.shortName){j.set(E.shortName,E.name)}}));return{optionsNameMap:R,shortOptionNames:j}}E.createOptionNameMap=createOptionNameMap;var G;function getOptionsNameMap(){return G||(G=createOptionNameMap(E.optionDeclarations))}E.getOptionsNameMap=getOptionsNameMap;var ie={diagnostic:E.Diagnostics.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:getBuildOptionsNameMap};E.defaultInitCompilerOptions={module:E.ModuleKind.CommonJS,target:1,strict:true,esModuleInterop:true,forceConsistentCasingInFileNames:true,skipLibCheck:true};function convertEnableAutoDiscoveryToEnable(E){if(E&&E.enableAutoDiscovery!==undefined&&E.enable===undefined){return{enable:E.enableAutoDiscovery,include:E.include||[],exclude:E.exclude||[]}}return E}E.convertEnableAutoDiscoveryToEnable=convertEnableAutoDiscoveryToEnable;function createCompilerDiagnosticForInvalidCustomType(N){return createDiagnosticForInvalidCustomType(N,E.createCompilerDiagnostic)}E.createCompilerDiagnosticForInvalidCustomType=createCompilerDiagnosticForInvalidCustomType;function createDiagnosticForInvalidCustomType(N,R){var j=E.arrayFrom(N.type.keys()).map((function(E){return"'"+E+"'"})).join(", ");return R(E.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--"+N.name,j)}function parseCustomTypeOption(N,R,j){return convertJsonOptionOfCustomType(N,E.trimString(R||""),j)}E.parseCustomTypeOption=parseCustomTypeOption;function parseListTypeOption(N,R,j){if(R===void 0){R=""}R=E.trimString(R);if(E.startsWith(R,"-")){return undefined}if(R===""){return[]}var $=R.split(",");switch(N.element.type){case"number":return E.mapDefined($,(function(E){return validateJsonOptionValue(N.element,parseInt(E),j)}));case"string":return E.mapDefined($,(function(E){return validateJsonOptionValue(N.element,E||"",j)}));default:return E.mapDefined($,(function(E){return parseCustomTypeOption(N.element,E,j)}))}}E.parseListTypeOption=parseListTypeOption;function getOptionName(E){return E.name}function createUnknownOptionError(N,R,j,$){var q;if((q=R.alternateMode)===null||q===void 0?void 0:q.getOptionsNameMap().optionsNameMap.has(N.toLowerCase())){return j(R.alternateMode.diagnostic,N)}var G=E.getSpellingSuggestion(N,R.optionDeclarations,getOptionName);return G?j(R.unknownDidYouMeanDiagnostic,$||N,G.name):j(R.unknownOptionDiagnostic,$||N)}function parseCommandLineWorker(N,R,j){var $={};var q;var G=[];var ie=[];parseStrings(R);return{options:$,watchOptions:q,fileNames:G,errors:ie};function parseStrings(R){var j=0;while(j<R.length){var ae=R[j];j++;if(ae.charCodeAt(0)===64){parseResponseFile(ae.slice(1))}else if(ae.charCodeAt(0)===45){var ce=ae.slice(ae.charCodeAt(1)===45?2:1);var le=getOptionDeclarationFromName(N.getOptionsNameMap,ce,true);if(le){j=parseOptionValue(R,j,N,le,$,ie)}else{var _e=getOptionDeclarationFromName(Te.getOptionsNameMap,ce,true);if(_e){j=parseOptionValue(R,j,Te,_e,q||(q={}),ie)}else{ie.push(createUnknownOptionError(ce,N,E.createCompilerDiagnostic,ae))}}}else{G.push(ae)}}}function parseResponseFile(N){var R=tryReadFile(N,j||function(N){return E.sys.readFile(N)});if(!E.isString(R)){ie.push(R);return}var $=[];var q=0;while(true){while(q<R.length&&R.charCodeAt(q)<=32)q++;if(q>=R.length)break;var G=q;if(R.charCodeAt(G)===34){q++;while(q<R.length&&R.charCodeAt(q)!==34)q++;if(q<R.length){$.push(R.substring(G+1,q));q++}else{ie.push(E.createCompilerDiagnostic(E.Diagnostics.Unterminated_quoted_string_in_response_file_0,N))}}else{while(R.charCodeAt(q)>32)q++;$.push(R.substring(G,q))}}parseStrings($)}}E.parseCommandLineWorker=parseCommandLineWorker;function parseOptionValue(N,R,j,$,q,G){if($.isTSConfigOnly){var ie=N[R];if(ie==="null"){q[$.name]=undefined;R++}else if($.type==="boolean"){if(ie==="false"){q[$.name]=validateJsonOptionValue($,false,G);R++}else{if(ie==="true")R++;G.push(E.createCompilerDiagnostic(E.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,$.name))}}else{G.push(E.createCompilerDiagnostic(E.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,$.name));if(ie&&!E.startsWith(ie,"-"))R++}}else{if(!N[R]&&$.type!=="boolean"){G.push(E.createCompilerDiagnostic(j.optionTypeMismatchDiagnostic,$.name,getCompilerOptionValueTypeString($)))}if(N[R]!=="null"){switch($.type){case"number":q[$.name]=validateJsonOptionValue($,parseInt(N[R]),G);R++;break;case"boolean":var ie=N[R];q[$.name]=validateJsonOptionValue($,ie!=="false",G);if(ie==="false"||ie==="true"){R++}break;case"string":q[$.name]=validateJsonOptionValue($,N[R]||"",G);R++;break;case"list":var ae=parseListTypeOption($,N[R],G);q[$.name]=ae||[];if(ae){R++}break;default:q[$.name]=parseCustomTypeOption($,N[R],G);R++;break}}else{q[$.name]=undefined;R++}}return R}E.compilerOptionsDidYouMeanDiagnostics={alternateMode:ie,getOptionsNameMap:getOptionsNameMap,optionDeclarations:E.optionDeclarations,unknownOptionDiagnostic:E.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Compiler_option_0_expects_an_argument};function parseCommandLine(N,R){return parseCommandLineWorker(E.compilerOptionsDidYouMeanDiagnostics,N,R)}E.parseCommandLine=parseCommandLine;function getOptionFromName(E,N){return getOptionDeclarationFromName(getOptionsNameMap,E,N)}E.getOptionFromName=getOptionFromName;function getOptionDeclarationFromName(E,N,R){if(R===void 0){R=false}N=N.toLowerCase();var j=E(),$=j.optionsNameMap,q=j.shortOptionNames;if(R){var G=q.get(N);if(G!==undefined){N=G}}return $.get(N)}var ae;function getBuildOptionsNameMap(){return ae||(ae=createOptionNameMap(E.buildOpts))}var ce={diagnostic:E.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:getOptionsNameMap};var le={alternateMode:ce,getOptionsNameMap:getBuildOptionsNameMap,optionDeclarations:E.buildOpts,unknownOptionDiagnostic:E.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Build_option_0_requires_a_value_of_type_1};function parseBuildCommand(N){var R=parseCommandLineWorker(le,N),j=R.options,$=R.watchOptions,q=R.fileNames,G=R.errors;var ie=j;if(q.length===0){q.push(".")}if(ie.clean&&ie.force){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force"))}if(ie.clean&&ie.verbose){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose"))}if(ie.clean&&ie.watch){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch"))}if(ie.watch&&ie.dry){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry"))}return{buildOptions:ie,watchOptions:$,projects:q,errors:G}}E.parseBuildCommand=parseBuildCommand;function getDiagnosticText(N){var R=[];for(var j=1;j<arguments.length;j++){R[j-1]=arguments[j]}var $=E.createCompilerDiagnostic.apply(undefined,arguments);return $.messageText}E.getDiagnosticText=getDiagnosticText;function getParsedCommandLineOfConfigFile(N,R,j,$,q,G){var ie=tryReadFile(N,(function(E){return j.readFile(E)}));if(!E.isString(ie)){j.onUnRecoverableConfigFileDiagnostic(ie);return undefined}var ae=E.parseJsonText(N,ie);var ce=j.getCurrentDirectory();ae.path=E.toPath(N,ce,E.createGetCanonicalFileName(j.useCaseSensitiveFileNames));ae.resolvedPath=ae.path;ae.originalFileName=ae.fileName;return parseJsonSourceFileConfigFileContent(ae,j,E.getNormalizedAbsolutePath(E.getDirectoryPath(N),ce),R,E.getNormalizedAbsolutePath(N,ce),undefined,G,$,q)}E.getParsedCommandLineOfConfigFile=getParsedCommandLineOfConfigFile;function readConfigFile(N,R){var j=tryReadFile(N,R);return E.isString(j)?parseConfigFileTextToJson(N,j):{config:{},error:j}}E.readConfigFile=readConfigFile;function parseConfigFileTextToJson(N,R){var j=E.parseJsonText(N,R);return{config:convertConfigFileToObject(j,j.parseDiagnostics,false,undefined),error:j.parseDiagnostics.length?j.parseDiagnostics[0]:undefined}}E.parseConfigFileTextToJson=parseConfigFileTextToJson;function readJsonConfigFile(N,R){var j=tryReadFile(N,R);return E.isString(j)?E.parseJsonText(N,j):{fileName:N,parseDiagnostics:[j]}}E.readJsonConfigFile=readJsonConfigFile;function tryReadFile(N,R){var j;try{j=R(N)}catch(R){return E.createCompilerDiagnostic(E.Diagnostics.Cannot_read_file_0_Colon_1,N,R.message)}return j===undefined?E.createCompilerDiagnostic(E.Diagnostics.Cannot_read_file_0,N):j}E.tryReadFile=tryReadFile;function commandLineOptionsToMap(N){return E.arrayToMap(N,getOptionName)}var _e={optionDeclarations:E.typeAcquisitionDeclarations,unknownOptionDiagnostic:E.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1};var Ee;function getWatchOptionsNameMap(){return Ee||(Ee=createOptionNameMap(E.optionsForWatch))}var Te={getOptionsNameMap:getWatchOptionsNameMap,optionDeclarations:E.optionsForWatch,unknownOptionDiagnostic:E.Diagnostics.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Watch_option_0_requires_a_value_of_type_1};var we;function getCommandLineCompilerOptionsMap(){return we||(we=commandLineOptionsToMap(E.optionDeclarations))}var Ie;function getCommandLineWatchOptionsMap(){return Ie||(Ie=commandLineOptionsToMap(E.optionsForWatch))}var Ne;function getCommandLineTypeAcquisitionMap(){return Ne||(Ne=commandLineOptionsToMap(E.typeAcquisitionDeclarations))}var Me;function getTsconfigRootOptionsMap(){if(Me===undefined){Me={name:undefined,type:"object",elementOptions:commandLineOptionsToMap([{name:"compilerOptions",type:"object",elementOptions:getCommandLineCompilerOptionsMap(),extraKeyDiagnostics:E.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:getCommandLineWatchOptionsMap(),extraKeyDiagnostics:Te},{name:"typingOptions",type:"object",elementOptions:getCommandLineTypeAcquisitionMap(),extraKeyDiagnostics:_e},{name:"typeAcquisition",type:"object",elementOptions:getCommandLineTypeAcquisitionMap(),extraKeyDiagnostics:_e},{name:"extends",type:"string",category:E.Diagnostics.File_Management},{name:"references",type:"list",element:{name:"references",type:"object"},category:E.Diagnostics.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:E.Diagnostics.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:E.Diagnostics.File_Management,defaultValueDescription:E.Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:E.Diagnostics.File_Management,defaultValueDescription:E.Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},E.compileOnSaveCommandLineOption])}}return Me}function convertConfigFileToObject(N,R,j,$){var q;var G=(q=N.statements[0])===null||q===void 0?void 0:q.expression;var ie=j?getTsconfigRootOptionsMap():undefined;if(G&&G.kind!==203){R.push(E.createDiagnosticForNodeInSourceFile(N,G,E.Diagnostics.The_root_value_of_a_0_file_must_be_an_object,E.getBaseFileName(N.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json"));if(E.isArrayLiteralExpression(G)){var ae=E.find(G.elements,E.isObjectLiteralExpression);if(ae){return convertToObjectWorker(N,ae,R,true,ie,$)}}return{}}return convertToObjectWorker(N,G,R,true,ie,$)}function convertToObject(E,N){var R;return convertToObjectWorker(E,(R=E.statements[0])===null||R===void 0?void 0:R.expression,N,true,undefined,undefined)}E.convertToObject=convertToObject;function convertToObjectWorker(N,R,$,q,G,ie){if(!R){return q?{}:undefined}return convertPropertyValueToJson(R,G);function isRootOptionMap(E){return G&&G.elementOptions===E}function convertObjectLiteralExpressionToJson(R,j,G,ae){var ce=q?{}:undefined;var _loop_4=function(R){if(R.kind!==291){$.push(E.createDiagnosticForNodeInSourceFile(N,R,E.Diagnostics.Property_assignment_expected));return"continue"}if(R.questionToken){$.push(E.createDiagnosticForNodeInSourceFile(N,R.questionToken,E.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?"))}if(!isDoubleQuotedString(R.name)){$.push(E.createDiagnosticForNodeInSourceFile(N,R.name,E.Diagnostics.String_literal_with_double_quotes_expected))}var le=E.isComputedNonLiteralName(R.name)?undefined:E.getTextOfPropertyName(R.name);var _e=le&&E.unescapeLeadingUnderscores(le);var Ee=_e&&j?j.get(_e):undefined;if(_e&&G&&!Ee){if(j){$.push(createUnknownOptionError(_e,G,(function(j,$,q){return E.createDiagnosticForNodeInSourceFile(N,R.name,j,$,q)})))}else{$.push(E.createDiagnosticForNodeInSourceFile(N,R.name,G.unknownOptionDiagnostic,_e))}}var Te=convertPropertyValueToJson(R.initializer,Ee);if(typeof _e!=="undefined"){if(q){ce[_e]=Te}if(ie&&(ae||isRootOptionMap(j))){var we=isCompilerOptionsValue(Ee,Te);if(ae){if(we){ie.onSetValidOptionKeyValueInParent(ae,Ee,Te)}}else if(isRootOptionMap(j)){if(we){ie.onSetValidOptionKeyValueInRoot(_e,R.name,Te,R.initializer)}else if(!Ee){ie.onSetUnknownOptionKeyValueInRoot(_e,R.name,Te,R.initializer)}}}}};for(var le=0,_e=R.properties;le<_e.length;le++){var Ee=_e[le];_loop_4(Ee)}return ce}function convertArrayLiteralExpressionToJson(N,R){if(!q){N.forEach((function(E){return convertPropertyValueToJson(E,R)}));return undefined}return E.filter(N.map((function(E){return convertPropertyValueToJson(E,R)})),(function(E){return E!==undefined}))}function convertPropertyValueToJson(R,q){var G;switch(R.kind){case 110:reportInvalidOptionValue(q&&q.type!=="boolean");return validateValue(true);case 95:reportInvalidOptionValue(q&&q.type!=="boolean");return validateValue(false);case 104:reportInvalidOptionValue(q&&q.name==="extends");return validateValue(null);case 10:if(!isDoubleQuotedString(R)){$.push(E.createDiagnosticForNodeInSourceFile(N,R,E.Diagnostics.String_literal_with_double_quotes_expected))}reportInvalidOptionValue(q&&(E.isString(q.type)&&q.type!=="string"));var ie=R.text;if(q&&!E.isString(q.type)){var ae=q;if(!ae.type.has(ie.toLowerCase())){$.push(createDiagnosticForInvalidCustomType(ae,(function(j,$,q){return E.createDiagnosticForNodeInSourceFile(N,R,j,$,q)})));G=true}}return validateValue(ie);case 8:reportInvalidOptionValue(q&&q.type!=="number");return validateValue(Number(R.text));case 217:if(R.operator!==40||R.operand.kind!==8){break}reportInvalidOptionValue(q&&q.type!=="number");return validateValue(-Number(R.operand.text));case 203:reportInvalidOptionValue(q&&q.type!=="object");var ce=R;if(q){var le=q,_e=le.elementOptions,Ee=le.extraKeyDiagnostics,Te=le.name;return validateValue(convertObjectLiteralExpressionToJson(ce,_e,Ee,Te))}else{return validateValue(convertObjectLiteralExpressionToJson(ce,undefined,undefined,undefined))}case 202:reportInvalidOptionValue(q&&q.type!=="list");return validateValue(convertArrayLiteralExpressionToJson(R.elements,q&&q.element))}if(q){reportInvalidOptionValue(true)}else{$.push(E.createDiagnosticForNodeInSourceFile(N,R,E.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}return undefined;function validateValue(ie){var ae;if(!G){var ce=(ae=q===null||q===void 0?void 0:q.extraValidation)===null||ae===void 0?void 0:ae.call(q,ie);if(ce){$.push(E.createDiagnosticForNodeInSourceFile.apply(void 0,j([N,R],ce,false)));return undefined}}return ie}function reportInvalidOptionValue(j){if(j){$.push(E.createDiagnosticForNodeInSourceFile(N,R,E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,q.name,getCompilerOptionValueTypeString(q)));G=true}}}function isDoubleQuotedString(R){return E.isStringLiteral(R)&&E.isStringDoubleQuoted(R,N)}}E.convertToObjectWorker=convertToObjectWorker;function getCompilerOptionValueTypeString(N){return N.type==="list"?"Array":E.isString(N.type)?N.type:"string"}function isCompilerOptionsValue(N,R){if(N){if(isNullOrUndefined(R))return true;if(N.type==="list"){return E.isArray(R)}var j=E.isString(N.type)?N.type:"string";return typeof R===j}return false}function convertToTSConfig(N,R,j){var q,G,ie;var ae=E.createGetCanonicalFileName(j.useCaseSensitiveFileNames);var ce=E.map(E.filter(N.fileNames,!((G=(q=N.options.configFile)===null||q===void 0?void 0:q.configFileSpecs)===null||G===void 0?void 0:G.validatedIncludeSpecs)?E.returnTrue:matchesSpecs(R,N.options.configFile.configFileSpecs.validatedIncludeSpecs,N.options.configFile.configFileSpecs.validatedExcludeSpecs,j)),(function(N){return E.getRelativePathFromFile(E.getNormalizedAbsolutePath(R,j.getCurrentDirectory()),E.getNormalizedAbsolutePath(N,j.getCurrentDirectory()),ae)}));var le=serializeCompilerOptions(N.options,{configFilePath:E.getNormalizedAbsolutePath(R,j.getCurrentDirectory()),useCaseSensitiveFileNames:j.useCaseSensitiveFileNames});var _e=N.watchOptions&&serializeWatchOptions(N.watchOptions);var Ee=$($({compilerOptions:$($({},optionMapToObject(le)),{showConfig:undefined,configFile:undefined,configFilePath:undefined,help:undefined,init:undefined,listFiles:undefined,listEmittedFiles:undefined,project:undefined,build:undefined,version:undefined}),watchOptions:_e&&optionMapToObject(_e),references:E.map(N.projectReferences,(function(E){return $($({},E),{path:E.originalPath?E.originalPath:"",originalPath:undefined})})),files:E.length(ce)?ce:undefined},((ie=N.options.configFile)===null||ie===void 0?void 0:ie.configFileSpecs)?{include:filterSameAsDefaultInclude(N.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:N.options.configFile.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!N.compileOnSave?true:undefined});return Ee}E.convertToTSConfig=convertToTSConfig;function optionMapToObject(N){return $({},E.arrayFrom(N.entries()).reduce((function(E,N){var R;return $($({},E),(R={},R[N[0]]=N[1],R))}),{}))}function filterSameAsDefaultInclude(N){if(!E.length(N))return undefined;if(E.length(N)!==1)return N;if(N[0]==="**/*")return undefined;return N}function matchesSpecs(N,R,j,$){if(!R)return E.returnTrue;var q=E.getFileMatcherPatterns(N,j,R,$.useCaseSensitiveFileNames,$.getCurrentDirectory());var G=q.excludePattern&&E.getRegexFromPattern(q.excludePattern,$.useCaseSensitiveFileNames);var ie=q.includeFilePattern&&E.getRegexFromPattern(q.includeFilePattern,$.useCaseSensitiveFileNames);if(ie){if(G){return function(E){return!(ie.test(E)&&!G.test(E))}}return function(E){return!ie.test(E)}}if(G){return function(E){return G.test(E)}}return E.returnTrue}function getCustomTypeMapOfCommandLineOption(E){if(E.type==="string"||E.type==="number"||E.type==="boolean"||E.type==="object"){return undefined}else if(E.type==="list"){return getCustomTypeMapOfCommandLineOption(E.element)}else{return E.type}}function getNameOfCompilerOptionValue(N,R){return E.forEachEntry(R,(function(E,R){if(E===N){return R}}))}function serializeCompilerOptions(E,N){return serializeOptionBaseObject(E,getOptionsNameMap(),N)}function serializeWatchOptions(E){return serializeOptionBaseObject(E,getWatchOptionsNameMap())}function serializeOptionBaseObject(N,R,j){var $=R.optionsNameMap;var q=new E.Map;var G=j&&E.createGetCanonicalFileName(j.useCaseSensitiveFileNames);var _loop_5=function(R){if(E.hasProperty(N,R)){if($.has(R)&&($.get(R).category===E.Diagnostics.Command_line_Options||$.get(R).category===E.Diagnostics.Output_Formatting)){return"continue"}var ie=N[R];var ae=$.get(R.toLowerCase());if(ae){var ce=getCustomTypeMapOfCommandLineOption(ae);if(!ce){if(j&&ae.isFilePath){q.set(R,E.getRelativePathFromFile(j.configFilePath,E.getNormalizedAbsolutePath(ie,E.getDirectoryPath(j.configFilePath)),G))}else{q.set(R,ie)}}else{if(ae.type==="list"){q.set(R,ie.map((function(E){return getNameOfCompilerOptionValue(E,ce)})))}else{q.set(R,getNameOfCompilerOptionValue(ie,ce))}}}}};for(var ie in N){_loop_5(ie)}return q}function generateTSConfig(N,R,j){var $=E.extend(N,E.defaultInitCompilerOptions);var q=serializeCompilerOptions($);return writeConfigurations();function getDefaultValueForOption(N){switch(N.type){case"number":return 1;case"boolean":return true;case"string":return N.isFilePath?"./":"";case"list":return[];case"object":return{};default:var R=N.type.keys().next();if(!R.done)return R.value;return E.Debug.fail("Expected 'option.type' to have entries.")}}function makePadding(E){return Array(E+1).join(" ")}function isAllowedOptionForOutput(N){var R=N.category,j=N.name,$=N.isCommandLineOnly;var G=[E.Diagnostics.Command_line_Options,E.Diagnostics.Editor_Support,E.Diagnostics.Compiler_Diagnostics,E.Diagnostics.Backwards_Compatibility,E.Diagnostics.Watch_and_Build_Modes,E.Diagnostics.Output_Formatting];return!$&&R!==undefined&&(!G.includes(R)||q.has(j))}function writeConfigurations(){var N=E.createMultiMap();for(var $=0,G=E.optionDeclarations;$<G.length;$++){var ie=G[$];var ae=ie.category;if(isAllowedOptionForOutput(ie)){N.add(E.getLocaleSpecificMessage(ae),ie)}}var ce=0;var le=0;var _e=[];N.forEach((function(N,R){if(_e.length!==0){_e.push({value:""})}_e.push({value:"/* "+R+" */"});for(var j=0,$=N;j<$.length;j++){var G=$[j];var ie=void 0;if(q.has(G.name)){ie='"'+G.name+'": '+JSON.stringify(q.get(G.name))+((le+=1)===q.size?"":",")}else{ie='// "'+G.name+'": '+JSON.stringify(getDefaultValueForOption(G))+","}_e.push({value:ie,description:"/* "+(G.description&&E.getLocaleSpecificMessage(G.description)||G.name)+" */"});ce=Math.max(ie.length,ce)}}));var Ee=makePadding(2);var Te=[];Te.push("{");Te.push(Ee+'"compilerOptions": {');Te.push(""+Ee+Ee+"/* "+E.getLocaleSpecificMessage(E.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file)+" */");Te.push("");for(var we=0,Ie=_e;we<Ie.length;we++){var Ne=Ie[we];var Me=Ne.value,Le=Ne.description,Be=Le===void 0?"":Le;Te.push(Me&&""+Ee+Ee+Me+(Be&&makePadding(ce-Me.length+2)+Be))}if(R.length){Te.push(Ee+"},");Te.push(Ee+'"files": [');for(var je=0;je<R.length;je++){Te.push(""+Ee+Ee+JSON.stringify(R[je])+(je===R.length-1?"":","))}Te.push(Ee+"]")}else{Te.push(Ee+"}")}Te.push("}");return Te.join(j)+j}}E.generateTSConfig=generateTSConfig;function convertToOptionsWithAbsolutePaths(N,R){var j={};var $=getOptionsNameMap().optionsNameMap;for(var q in N){if(E.hasProperty(N,q)){j[q]=convertToOptionValueWithAbsolutePaths($.get(q.toLowerCase()),N[q],R)}}if(j.configFilePath){j.configFilePath=R(j.configFilePath)}return j}E.convertToOptionsWithAbsolutePaths=convertToOptionsWithAbsolutePaths;function convertToOptionValueWithAbsolutePaths(E,N,R){if(E&&!isNullOrUndefined(N)){if(E.type==="list"){var j=N;if(E.element.isFilePath&&j.length){return j.map(R)}}else if(E.isFilePath){return R(N)}}return N}function parseJsonConfigFileContent(E,N,R,j,$,q,G,ie,ae){return parseJsonConfigFileContentWorker(E,undefined,N,R,j,ae,$,q,G,ie)}E.parseJsonConfigFileContent=parseJsonConfigFileContent;function parseJsonSourceFileConfigFileContent(E,N,R,j,$,q,G,ie,ae){return parseJsonConfigFileContentWorker(undefined,E,N,R,j,ae,$,q,G,ie)}E.parseJsonSourceFileConfigFileContent=parseJsonSourceFileConfigFileContent;function setConfigFileInOptions(E,N){if(N){Object.defineProperty(E,"configFile",{enumerable:false,writable:false,value:N})}}E.setConfigFileInOptions=setConfigFileInOptions;function isNullOrUndefined(E){return E===undefined||E===null}function directoryOfCombinedPath(N,R){return E.getDirectoryPath(E.getNormalizedAbsolutePath(N,R))}function parseJsonConfigFileContentWorker(N,R,j,$,q,G,ie,ae,ce,le){if(q===void 0){q={}}if(ae===void 0){ae=[]}if(ce===void 0){ce=[]}E.Debug.assert(N===undefined&&R!==undefined||N!==undefined&&R===undefined);var _e=[];var Ee=parseConfig(N,R,j,$,ie,ae,_e,le);var Te=Ee.raw;var we=E.extend(q,Ee.options||{});var Ie=G&&Ee.watchOptions?E.extend(G,Ee.watchOptions):Ee.watchOptions||G;we.configFilePath=ie&&E.normalizeSlashes(ie);var Ne=getConfigFileSpecs();if(R)R.configFileSpecs=Ne;setConfigFileInOptions(we,R);var Me=E.normalizePath(ie?directoryOfCombinedPath(ie,$):$);return{options:we,watchOptions:Ie,fileNames:getFileNames(Me),projectReferences:getProjectReferences(Me),typeAcquisition:Ee.typeAcquisition||getDefaultTypeAcquisition(),raw:Te,errors:_e,wildcardDirectories:getWildcardDirectories(Ne,Me,j.useCaseSensitiveFileNames),compileOnSave:!!Te.compileOnSave};function getConfigFileSpecs(){var N=getPropFromRaw("references",(function(E){return typeof E==="object"}),"object");var j=toPropValue(getSpecsFromRaw("files"));if(j){var $=N==="no-prop"||E.isArray(N)&&N.length===0;var q=E.hasProperty(Te,"extends");if(j.length===0&&$&&!q){if(R){var G=ie||"tsconfig.json";var ae=E.Diagnostics.The_files_list_in_config_file_0_is_empty;var ce=E.firstDefined(E.getTsConfigPropArray(R,"files"),(function(E){return E.initializer}));var le=ce?E.createDiagnosticForNodeInSourceFile(R,ce,ae,G):E.createCompilerDiagnostic(ae,G);_e.push(le)}else{createCompilerDiagnosticOnlyIfJson(E.Diagnostics.The_files_list_in_config_file_0_is_empty,ie||"tsconfig.json")}}}var Ee=toPropValue(getSpecsFromRaw("include"));var we=getSpecsFromRaw("exclude");var Ie=toPropValue(we);if(we==="no-prop"&&Te.compilerOptions){var Ne=Te.compilerOptions.outDir;var Me=Te.compilerOptions.declarationDir;if(Ne||Me){Ie=[Ne,Me].filter((function(E){return!!E}))}}if(j===undefined&&Ee===undefined){Ee=["**/*"]}var Le,Be;if(Ee){Le=validateSpecs(Ee,_e,true,R,"include")}if(Ie){Be=validateSpecs(Ie,_e,false,R,"exclude")}return{filesSpecs:j,includeSpecs:Ee,excludeSpecs:Ie,validatedFilesSpec:E.filter(j,E.isString),validatedIncludeSpecs:Le,validatedExcludeSpecs:Be,pathPatterns:undefined}}function getFileNames(E){var N=getFileNamesFromConfigSpecs(Ne,E,we,j,ce);if(shouldReportNoInputFiles(N,canJsonReportNoInputFiles(Te),ae)){_e.push(getErrorForNoInputFiles(Ne,ie))}return N}function getProjectReferences(N){var R;var j=getPropFromRaw("references",(function(E){return typeof E==="object"}),"object");if(E.isArray(j)){for(var $=0,q=j;$<q.length;$++){var G=q[$];if(typeof G.path!=="string"){createCompilerDiagnosticOnlyIfJson(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string")}else{(R||(R=[])).push({path:E.getNormalizedAbsolutePath(G.path,N),originalPath:G.path,prepend:G.prepend,circular:G.circular})}}}return R}function toPropValue(N){return E.isArray(N)?N:undefined}function getSpecsFromRaw(N){return getPropFromRaw(N,E.isString,"string")}function getPropFromRaw(N,j,$){if(E.hasProperty(Te,N)&&!isNullOrUndefined(Te[N])){if(E.isArray(Te[N])){var q=Te[N];if(!R&&!E.every(q,j)){_e.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,N,$))}return q}else{createCompilerDiagnosticOnlyIfJson(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,N,"Array");return"not-array"}}return"no-prop"}function createCompilerDiagnosticOnlyIfJson(N,j,$){if(!R){_e.push(E.createCompilerDiagnostic(N,j,$))}}}function isErrorNoInputFiles(N){return N.code===E.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}function getErrorForNoInputFiles(N,R){var j=N.includeSpecs,$=N.excludeSpecs;return E.createCompilerDiagnostic(E.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,R||"tsconfig.json",JSON.stringify(j||[]),JSON.stringify($||[]))}function shouldReportNoInputFiles(E,N,R){return E.length===0&&N&&(!R||R.length===0)}function canJsonReportNoInputFiles(N){return!E.hasProperty(N,"files")&&!E.hasProperty(N,"references")}E.canJsonReportNoInputFiles=canJsonReportNoInputFiles;function updateErrorForNoInputFiles(N,R,j,$,q){var G=$.length;if(shouldReportNoInputFiles(N,q)){$.push(getErrorForNoInputFiles(j,R))}else{E.filterMutate($,(function(E){return!isErrorNoInputFiles(E)}))}return G!==$.length}E.updateErrorForNoInputFiles=updateErrorForNoInputFiles;function isSuccessfulParsedTsconfig(E){return!!E.options}function parseConfig(N,R,$,q,G,ie,ae,ce){var le;q=E.normalizeSlashes(q);var _e=E.getNormalizedAbsolutePath(G||"",q);if(ie.indexOf(_e)>=0){ae.push(E.createCompilerDiagnostic(E.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,j(j([],ie,true),[_e],false).join(" -> ")));return{raw:N||convertToObject(R,ae)}}var Ee=N?parseOwnConfigOfJson(N,$,q,G,ae):parseOwnConfigOfJsonSourceFile(R,$,q,G,ae);if((le=Ee.options)===null||le===void 0?void 0:le.paths){Ee.options.pathsBasePath=q}if(Ee.extendedConfigPath){ie=ie.concat([_e]);var Te=getExtendedConfig(R,Ee.extendedConfigPath,$,ie,ae,ce);if(Te&&isSuccessfulParsedTsconfig(Te)){var we=Te.raw;var Ie=Ee.raw;var Ne;var setPropertyInRawIfNotUndefined=function(N){if(!Ie[N]&&we[N]){Ie[N]=E.map(we[N],(function(N){return E.isRootedDiskPath(N)?N:E.combinePaths(Ne||(Ne=E.convertToRelativePath(E.getDirectoryPath(Ee.extendedConfigPath),q,E.createGetCanonicalFileName($.useCaseSensitiveFileNames))),N)}))}};setPropertyInRawIfNotUndefined("include");setPropertyInRawIfNotUndefined("exclude");setPropertyInRawIfNotUndefined("files");if(Ie.compileOnSave===undefined){Ie.compileOnSave=we.compileOnSave}Ee.options=E.assign({},Te.options,Ee.options);Ee.watchOptions=Ee.watchOptions&&Te.watchOptions?E.assign({},Te.watchOptions,Ee.watchOptions):Ee.watchOptions||Te.watchOptions}}return Ee}function parseOwnConfigOfJson(N,R,j,$,q){if(E.hasProperty(N,"excludes")){q.push(E.createCompilerDiagnostic(E.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}var G=convertCompilerOptionsFromJsonWorker(N.compilerOptions,j,q,$);var ie=convertTypeAcquisitionFromJsonWorker(N.typeAcquisition||N.typingOptions,j,q,$);var ae=convertWatchOptionsFromJsonWorker(N.watchOptions,j,q);N.compileOnSave=convertCompileOnSaveOptionFromJson(N,j,q);var ce;if(N.extends){if(!E.isString(N.extends)){q.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"))}else{var le=$?directoryOfCombinedPath($,j):j;ce=getExtendsConfigPath(N.extends,R,le,q,E.createCompilerDiagnostic)}}return{raw:N,options:G,watchOptions:ae,typeAcquisition:ie,extendedConfigPath:ce}}function parseOwnConfigOfJsonSourceFile(N,R,j,$,q){var G=getDefaultCompilerOptions($);var ie,ae;var ce;var le;var _e={onSetValidOptionKeyValueInParent:function(N,R,q){var le;switch(N){case"compilerOptions":le=G;break;case"watchOptions":le=ce||(ce={});break;case"typeAcquisition":le=ie||(ie=getDefaultTypeAcquisition($));break;case"typingOptions":le=ae||(ae=getDefaultTypeAcquisition($));break;default:E.Debug.fail("Unknown option")}le[R.name]=normalizeOptionValue(R,j,q)},onSetValidOptionKeyValueInRoot:function(G,ie,ae,ce){switch(G){case"extends":var _e=$?directoryOfCombinedPath($,j):j;le=getExtendsConfigPath(ae,R,_e,q,(function(R,j){return E.createDiagnosticForNodeInSourceFile(N,ce,R,j)}));return}},onSetUnknownOptionKeyValueInRoot:function(R,j,$,G){if(R==="excludes"){q.push(E.createDiagnosticForNodeInSourceFile(N,j,E.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}}};var Ee=convertConfigFileToObject(N,q,true,_e);if(!ie){if(ae){ie=ae.enableAutoDiscovery!==undefined?{enable:ae.enableAutoDiscovery,include:ae.include,exclude:ae.exclude}:ae}else{ie=getDefaultTypeAcquisition($)}}return{raw:Ee,options:G,watchOptions:ce,typeAcquisition:ie,extendedConfigPath:le}}function getExtendsConfigPath(N,R,j,$,q){N=E.normalizeSlashes(N);if(E.isRootedDiskPath(N)||E.startsWith(N,"./")||E.startsWith(N,"../")){var G=E.getNormalizedAbsolutePath(N,j);if(!R.fileExists(G)&&!E.endsWith(G,".json")){G=G+".json";if(!R.fileExists(G)){$.push(q(E.Diagnostics.File_0_not_found,N));return undefined}}return G}var ie=E.nodeModuleNameResolver(N,E.combinePaths(j,"tsconfig.json"),{moduleResolution:E.ModuleResolutionKind.NodeJs},R,undefined,undefined,true);if(ie.resolvedModule){return ie.resolvedModule.resolvedFileName}$.push(q(E.Diagnostics.File_0_not_found,N));return undefined}function getExtendedConfig(N,R,j,$,q,G){var ie;var ae=j.useCaseSensitiveFileNames?R:E.toFileNameLowerCase(R);var ce;var le;var _e;if(G&&(ce=G.get(ae))){le=ce.extendedResult,_e=ce.extendedConfig}else{le=readJsonConfigFile(R,(function(E){return j.readFile(E)}));if(!le.parseDiagnostics.length){_e=parseConfig(undefined,le,j,E.getDirectoryPath(R),E.getBaseFileName(R),$,q,G)}if(G){G.set(ae,{extendedResult:le,extendedConfig:_e})}}if(N){N.extendedSourceFiles=[le.fileName];if(le.extendedSourceFiles){(ie=N.extendedSourceFiles).push.apply(ie,le.extendedSourceFiles)}}if(le.parseDiagnostics.length){q.push.apply(q,le.parseDiagnostics);return undefined}return _e}function convertCompileOnSaveOptionFromJson(N,R,j){if(!E.hasProperty(N,E.compileOnSaveCommandLineOption.name)){return false}var $=convertJsonOption(E.compileOnSaveCommandLineOption,N.compileOnSave,R,j);return typeof $==="boolean"&&$}function convertCompilerOptionsFromJson(E,N,R){var j=[];var $=convertCompilerOptionsFromJsonWorker(E,N,j,R);return{options:$,errors:j}}E.convertCompilerOptionsFromJson=convertCompilerOptionsFromJson;function convertTypeAcquisitionFromJson(E,N,R){var j=[];var $=convertTypeAcquisitionFromJsonWorker(E,N,j,R);return{options:$,errors:j}}E.convertTypeAcquisitionFromJson=convertTypeAcquisitionFromJson;function getDefaultCompilerOptions(N){var R=N&&E.getBaseFileName(N)==="jsconfig.json"?{allowJs:true,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:true,skipLibCheck:true,noEmit:true}:{};return R}function convertCompilerOptionsFromJsonWorker(N,R,j,$){var q=getDefaultCompilerOptions($);convertOptionsFromJson(getCommandLineCompilerOptionsMap(),N,R,q,E.compilerOptionsDidYouMeanDiagnostics,j);if($){q.configFilePath=E.normalizeSlashes($)}return q}function getDefaultTypeAcquisition(N){return{enable:!!N&&E.getBaseFileName(N)==="jsconfig.json",include:[],exclude:[]}}function convertTypeAcquisitionFromJsonWorker(E,N,R,j){var $=getDefaultTypeAcquisition(j);var q=convertEnableAutoDiscoveryToEnable(E);convertOptionsFromJson(getCommandLineTypeAcquisitionMap(),q,N,$,_e,R);return $}function convertWatchOptionsFromJsonWorker(E,N,R){return convertOptionsFromJson(getCommandLineWatchOptionsMap(),E,N,undefined,Te,R)}function convertOptionsFromJson(N,R,j,$,q,G){if(!R){return}for(var ie in R){var ae=N.get(ie);if(ae){($||($={}))[ae.name]=convertJsonOption(ae,R[ie],j,G)}else{G.push(createUnknownOptionError(ie,q,E.createCompilerDiagnostic))}}return $}function convertJsonOption(N,R,j,$){if(isCompilerOptionsValue(N,R)){var q=N.type;if(q==="list"&&E.isArray(R)){return convertJsonOptionOfListType(N,R,j,$)}else if(!E.isString(q)){return convertJsonOptionOfCustomType(N,R,$)}var G=validateJsonOptionValue(N,R,$);return isNullOrUndefined(G)?G:normalizeNonListOptionValue(N,j,G)}else{$.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,N.name,getCompilerOptionValueTypeString(N)))}}E.convertJsonOption=convertJsonOption;function normalizeOptionValue(N,R,j){if(isNullOrUndefined(j))return undefined;if(N.type==="list"){var $=N;if($.element.isFilePath||!E.isString($.element.type)){return E.filter(E.map(j,(function(E){return normalizeOptionValue($.element,R,E)})),(function(E){return!!E}))}return j}else if(!E.isString(N.type)){return N.type.get(E.isString(j)?j.toLowerCase():j)}return normalizeNonListOptionValue(N,R,j)}function normalizeNonListOptionValue(N,R,j){if(N.isFilePath){j=E.getNormalizedAbsolutePath(j,R);if(j===""){j="."}}return j}function validateJsonOptionValue(N,R,j){var $;if(isNullOrUndefined(R))return undefined;var q=($=N.extraValidation)===null||$===void 0?void 0:$.call(N,R);if(!q)return R;j.push(E.createCompilerDiagnostic.apply(void 0,q));return undefined}function convertJsonOptionOfCustomType(E,N,R){if(isNullOrUndefined(N))return undefined;var j=N.toLowerCase();var $=E.type.get(j);if($!==undefined){return validateJsonOptionValue(E,$,R)}else{R.push(createCompilerDiagnosticForInvalidCustomType(E))}}function convertJsonOptionOfListType(N,R,j,$){return E.filter(E.map(R,(function(E){return convertJsonOption(N.element,E,j,$)})),(function(E){return!!E}))}var Le=/(^|\/)\*\*\/?$/;var Be=/^[^*?]*(?=\/[^/]*[*?])/;function getFileNamesFromConfigSpecs(N,R,j,$,q){if(q===void 0){q=E.emptyArray}R=E.normalizePath(R);var G=E.createGetCanonicalFileName($.useCaseSensitiveFileNames);var ie=new E.Map;var ae=new E.Map;var ce=new E.Map;var le=N.validatedFilesSpec,_e=N.validatedIncludeSpecs,Ee=N.validatedExcludeSpecs;var Te=E.getSupportedExtensions(j,q);var we=E.getSuppoertedExtensionsWithJsonIfResolveJsonModule(j,Te);if(le){for(var Ie=0,Ne=le;Ie<Ne.length;Ie++){var Me=Ne[Ie];var Le=E.getNormalizedAbsolutePath(Me,R);ie.set(G(Le),Le)}}var Be;if(_e&&_e.length>0){var _loop_6=function(N){if(E.fileExtensionIs(N,".json")){if(!Be){var j=_e.filter((function(N){return E.endsWith(N,".json")}));var q=E.map(E.getRegularExpressionsForWildcards(j,R,"files"),(function(E){return"^"+E+"$"}));Be=q?q.map((function(N){return E.getRegexFromPattern(N,$.useCaseSensitiveFileNames)})):E.emptyArray}var le=E.findIndex(Be,(function(E){return E.test(N)}));if(le!==-1){var Ee=G(N);if(!ie.has(Ee)&&!ce.has(Ee)){ce.set(Ee,N)}}return"continue"}if(hasFileWithHigherPriorityExtension(N,ie,ae,Te,G)){return"continue"}removeWildcardFilesWithLowerPriorityExtension(N,ae,Te,G);var we=G(N);if(!ie.has(we)&&!ae.has(we)){ae.set(we,N)}};for(var je=0,Ue=$.readDirectory(R,we,Ee,_e,undefined);je<Ue.length;je++){var Le=Ue[je];_loop_6(Le)}}var ze=E.arrayFrom(ie.values());var We=E.arrayFrom(ae.values());return ze.concat(We,E.arrayFrom(ce.values()))}E.getFileNamesFromConfigSpecs=getFileNamesFromConfigSpecs;function isExcludedFile(N,R,j,$,q){var G=R.validatedFilesSpec,ie=R.validatedIncludeSpecs,ae=R.validatedExcludeSpecs;if(!E.length(ie)||!E.length(ae))return false;j=E.normalizePath(j);var ce=E.createGetCanonicalFileName($);if(G){for(var le=0,_e=G;le<_e.length;le++){var Ee=_e[le];if(ce(E.getNormalizedAbsolutePath(Ee,j))===N)return false}}return matchesExcludeWorker(N,ae,$,q,j)}E.isExcludedFile=isExcludedFile;function invalidDotDotAfterRecursiveWildcard(N){var R=E.startsWith(N,"**/")?0:N.indexOf("/**/");if(R===-1){return false}var j=E.endsWith(N,"/..")?N.length:N.lastIndexOf("/../");return j>R}function matchesExclude(N,R,j,$){return matchesExcludeWorker(N,E.filter(R,(function(E){return!invalidDotDotAfterRecursiveWildcard(E)})),j,$)}E.matchesExclude=matchesExclude;function matchesExcludeWorker(N,R,j,$,q){var G=E.getRegularExpressionForWildcard(R,E.combinePaths(E.normalizePath($),q),"exclude");var ie=G&&E.getRegexFromPattern(G,j);if(!ie)return false;if(ie.test(N))return true;return!E.hasExtension(N)&&ie.test(E.ensureTrailingDirectorySeparator(N))}function validateSpecs(N,R,j,$,q){return N.filter((function(N){if(!E.isString(N))return false;var $=specToDiagnostic(N,j);if($!==undefined){R.push(createDiagnostic.apply(void 0,$))}return $===undefined}));function createDiagnostic(N,R){var j=E.getTsConfigPropArrayElementValue($,q,R);return j?E.createDiagnosticForNodeInSourceFile($,j,N,R):E.createCompilerDiagnostic(N,R)}}function specToDiagnostic(N,R){if(R&&Le.test(N)){return[E.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,N]}else if(invalidDotDotAfterRecursiveWildcard(N)){return[E.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,N]}}function getWildcardDirectories(N,R,j){var $=N.validatedIncludeSpecs,q=N.validatedExcludeSpecs;var G=E.getRegularExpressionForWildcard(q,R,"exclude");var ie=G&&new RegExp(G,j?"":"i");var ae={};if($!==undefined){var ce=[];for(var le=0,_e=$;le<_e.length;le++){var Ee=_e[le];var Te=E.normalizePath(E.combinePaths(R,Ee));if(ie&&ie.test(Te)){continue}var we=getWildcardDirectoryFromSpec(Te,j);if(we){var Ie=we.key,Ne=we.flags;var Me=ae[Ie];if(Me===undefined||Me<Ne){ae[Ie]=Ne;if(Ne===1){ce.push(Ie)}}}}for(var Ie in ae){if(E.hasProperty(ae,Ie)){for(var Le=0,Be=ce;Le<Be.length;Le++){var je=Be[Le];if(Ie!==je&&E.containsPath(je,Ie,R,!j)){delete ae[Ie]}}}}}return ae}function getWildcardDirectoryFromSpec(N,R){var j=Be.exec(N);if(j){var $=N.indexOf("?");var q=N.indexOf("*");var G=N.lastIndexOf(E.directorySeparator);return{key:R?j[0]:E.toFileNameLowerCase(j[0]),flags:$!==-1&&$<G||q!==-1&&q<G?1:0}}if(E.isImplicitGlob(N)){return{key:R?N:E.toFileNameLowerCase(N),flags:1}}return undefined}function hasFileWithHigherPriorityExtension(N,R,j,$,q){var G=E.getExtensionPriority(N,$);var ie=E.adjustExtensionPriority(G,$);for(var ae=0;ae<ie;ae++){var ce=$[ae];var le=q(E.changeExtension(N,ce));if(R.has(le)||j.has(le)){return true}}return false}function removeWildcardFilesWithLowerPriorityExtension(N,R,j,$){var q=E.getExtensionPriority(N,j);var G=E.getNextLowestExtensionPriority(q,j);for(var ie=G;ie<j.length;ie++){var ae=j[ie];var ce=$(E.changeExtension(N,ae));R.delete(ce)}}function convertCompilerOptionsForTelemetry(E){var N={};for(var R in E){if(E.hasOwnProperty(R)){var j=getOptionFromName(R);if(j!==undefined){N[R]=getOptionValueWithEmptyStrings(E[R],j)}}}return N}E.convertCompilerOptionsForTelemetry=convertCompilerOptionsForTelemetry;function getOptionValueWithEmptyStrings(N,R){switch(R.type){case"object":return"";case"string":return"";case"number":return typeof N==="number"?N:"";case"boolean":return typeof N==="boolean"?N:"";case"list":var j=R.element;return E.isArray(N)?N.map((function(E){return getOptionValueWithEmptyStrings(E,j)})):"";default:return E.forEachEntry(R.type,(function(E,R){if(E===N){return R}}))}}})(ce||(ce={}));var ce;(function(E){function trace(N){N.trace(E.formatMessage.apply(undefined,arguments))}E.trace=trace;function isTraceEnabled(E,N){return!!E.traceResolution&&N.trace!==undefined}E.isTraceEnabled=isTraceEnabled;function withPackageId(N,R){var j;if(R&&N){var $=N.packageJsonContent;if(typeof $.name==="string"&&typeof $.version==="string"){j={name:$.name,subModuleName:R.path.slice(N.packageDirectory.length+E.directorySeparator.length),version:$.version}}}return R&&{path:R.path,extension:R.ext,packageId:j}}function noPackageId(E){return withPackageId(undefined,E)}function removeIgnoredPackageId(N){if(N){E.Debug.assert(N.packageId===undefined);return{path:N.path,ext:N.extension}}}var N;(function(E){E[E["TypeScript"]=0]="TypeScript";E[E["JavaScript"]=1]="JavaScript";E[E["Json"]=2]="Json";E[E["TSConfig"]=3]="TSConfig";E[E["DtsOnly"]=4]="DtsOnly"})(N||(N={}));function resolvedTypeScriptOnly(N){if(!N){return undefined}E.Debug.assert(E.extensionIsTS(N.extension));return{fileName:N.path,packageId:N.packageId}}function createResolvedModuleWithFailedLookupLocations(E,N,R,j){var $;if(j){($=j.failedLookupLocations).push.apply($,R);return j}return{resolvedModule:E&&{resolvedFileName:E.path,originalPath:E.originalPath===true?undefined:E.originalPath,extension:E.extension,isExternalLibraryImport:N,packageId:E.packageId},failedLookupLocations:R}}function readPackageJsonField(N,R,j,$){if(!E.hasProperty(N,R)){if($.traceEnabled){trace($.host,E.Diagnostics.package_json_does_not_have_a_0_field,R)}return}var q=N[R];if(typeof q!==j||q===null){if($.traceEnabled){trace($.host,E.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,R,j,q===null?"null":typeof q)}return}return q}function readPackageJsonPathField(N,R,j,$){var q=readPackageJsonField(N,R,"string",$);if(q===undefined){return}if(!q){if($.traceEnabled){trace($.host,E.Diagnostics.package_json_had_a_falsy_0_field,R)}return}var G=E.normalizePath(E.combinePaths(j,q));if($.traceEnabled){trace($.host,E.Diagnostics.package_json_has_0_field_1_that_references_2,R,q,G)}return G}function readPackageJsonTypesFields(E,N,R){return readPackageJsonPathField(E,"typings",N,R)||readPackageJsonPathField(E,"types",N,R)}function readPackageJsonTSConfigField(E,N,R){return readPackageJsonPathField(E,"tsconfig",N,R)}function readPackageJsonMainField(E,N,R){return readPackageJsonPathField(E,"main",N,R)}function readPackageJsonTypesVersionsField(N,R){var j=readPackageJsonField(N,"typesVersions","object",R);if(j===undefined)return;if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings)}return j}function readPackageJsonTypesVersionPaths(N,R){var j=readPackageJsonTypesVersionsField(N,R);if(j===undefined)return;if(R.traceEnabled){for(var $ in j){if(E.hasProperty(j,$)&&!E.VersionRange.tryParse($)){trace(R.host,E.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,$)}}}var q=getPackageJsonTypesVersionsPaths(j);if(!q){if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,E.versionMajorMinor)}return}var G=q.version,ie=q.paths;if(typeof ie!=="object"){if(R.traceEnabled){trace(R.host,E.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['"+G+"']","object",typeof ie)}return}return q}var R;function getPackageJsonTypesVersionsPaths(N){if(!R)R=new E.Version(E.version);for(var j in N){if(!E.hasProperty(N,j))continue;var $=E.VersionRange.tryParse(j);if($===undefined){continue}if($.test(R)){return{version:j,paths:N[j]}}}}E.getPackageJsonTypesVersionsPaths=getPackageJsonTypesVersionsPaths;function getEffectiveTypeRoots(N,R){if(N.typeRoots){return N.typeRoots}var j;if(N.configFilePath){j=E.getDirectoryPath(N.configFilePath)}else if(R.getCurrentDirectory){j=R.getCurrentDirectory()}if(j!==undefined){return getDefaultTypeRoots(j,R)}}E.getEffectiveTypeRoots=getEffectiveTypeRoots;function getDefaultTypeRoots(N,R){if(!R.directoryExists){return[E.combinePaths(N,q)]}var j;E.forEachAncestorDirectory(E.normalizePath(N),(function(N){var $=E.combinePaths(N,q);if(R.directoryExists($)){(j||(j=[])).push($)}return undefined}));return j}var q=E.combinePaths("node_modules","@types");function resolveTypeReferenceDirective(R,j,$,q,G,ie){var ae=isTraceEnabled($,q);if(G){$=G.commandLine.options}var ce=j?E.getDirectoryPath(j):undefined;var le=ce?ie&&ie.getOrCreateCacheForDirectory(ce,G):undefined;var _e=le&&le.get(R);if(_e){if(ae){trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,R,j);if(G)trace(q,E.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,G.sourceFile.fileName);trace(q,E.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,R,ce);traceResult(_e)}return _e}var Ee=getEffectiveTypeRoots($,q);if(ae){if(j===undefined){if(Ee===undefined){trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,R)}else{trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,R,Ee)}}else{if(Ee===undefined){trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,R,j)}else{trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,R,j,Ee)}}if(G){trace(q,E.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,G.sourceFile.fileName)}}var Te=[];var we={compilerOptions:$,host:q,traceEnabled:ae,failedLookupLocations:Te,packageJsonInfoCache:ie};var Ie=primaryLookup();var Ne=true;if(!Ie){Ie=secondaryLookup();Ne=false}var Me;if(Ie){var Le=Ie.fileName,Be=Ie.packageId;var je=$.preserveSymlinks?Le:realPath(Le,q,ae);Me={primary:Ne,resolvedFileName:je,originalPath:Le===je?undefined:Le,packageId:Be,isExternalLibraryImport:pathContainsNodeModules(Le)}}_e={resolvedTypeReferenceDirective:Me,failedLookupLocations:Te};le===null||le===void 0?void 0:le.set(R,_e);if(ae)traceResult(_e);return _e;function traceResult(N){var j;if(!((j=N.resolvedTypeReferenceDirective)===null||j===void 0?void 0:j.resolvedFileName)){trace(q,E.Diagnostics.Type_reference_directive_0_was_not_resolved,R)}else if(N.resolvedTypeReferenceDirective.packageId){trace(q,E.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,R,N.resolvedTypeReferenceDirective.resolvedFileName,E.packageIdToString(N.resolvedTypeReferenceDirective.packageId),N.resolvedTypeReferenceDirective.primary)}else{trace(q,E.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,R,N.resolvedTypeReferenceDirective.resolvedFileName,N.resolvedTypeReferenceDirective.primary)}}function primaryLookup(){if(Ee&&Ee.length){if(ae){trace(q,E.Diagnostics.Resolving_with_primary_search_path_0,Ee.join(", "))}return E.firstDefined(Ee,(function(j){var $=E.combinePaths(j,R);var G=E.getDirectoryPath($);var ie=E.directoryProbablyExists(G,q);if(!ie&&ae){trace(q,E.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,G)}return resolvedTypeScriptOnly(loadNodeModuleFromDirectory(N.DtsOnly,$,!ie,we))}))}else{if(ae){trace(q,E.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}}}function secondaryLookup(){var $=j&&E.getDirectoryPath(j);if($!==undefined){if(ae){trace(q,E.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,$)}var G;if(!E.isExternalModuleNameRelative(R)){var ie=loadModuleFromNearestNodeModulesDirectory(N.DtsOnly,R,$,we,undefined,undefined);G=ie&&ie.value}else{var ce=E.normalizePathAndParts(E.combinePaths($,R)).path;G=nodeLoadModuleByRelativeName(N.DtsOnly,ce,false,we,true)}return resolvedTypeScriptOnly(G)}else{if(ae){trace(q,E.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}}}E.resolveTypeReferenceDirective=resolveTypeReferenceDirective;function getAutomaticTypeDirectiveNames(N,R){if(N.types){return N.types}var j=[];if(R.directoryExists&&R.getDirectories){var $=getEffectiveTypeRoots(N,R);if($){for(var q=0,G=$;q<G.length;q++){var ie=G[q];if(R.directoryExists(ie)){for(var ae=0,ce=R.getDirectories(ie);ae<ce.length;ae++){var le=ce[ae];var _e=E.normalizePath(le);var Ee=E.combinePaths(ie,_e,"package.json");var Te=R.fileExists(Ee)&&E.readJson(Ee,R).typings===null;if(!Te){var we=E.getBaseFileName(_e);if(we.charCodeAt(0)!==46){j.push(we)}}}}}}}return j}E.getAutomaticTypeDirectiveNames=getAutomaticTypeDirectiveNames;function createCacheWithRedirects(N){var R=new E.Map;var j=new E.Map;return{getOwnMap:getOwnMap,redirectsMap:j,getOrCreateMapOfCacheRedirects:getOrCreateMapOfCacheRedirects,clear:clear,setOwnOptions:setOwnOptions,setOwnMap:setOwnMap};function getOwnMap(){return R}function setOwnOptions(E){N=E}function setOwnMap(E){R=E}function getOrCreateMapOfCacheRedirects($){if(!$){return R}var q=$.sourceFile.path;var G=j.get(q);if(!G){G=!N||E.optionsHaveModuleResolutionChanges(N,$.commandLine.options)?new E.Map:R;j.set(q,G)}return G}function clear(){R.clear();j.clear()}}E.createCacheWithRedirects=createCacheWithRedirects;function createPackageJsonInfoCache(N,R){var j;return{getPackageJsonInfo:getPackageJsonInfo,setPackageJsonInfo:setPackageJsonInfo,clear:clear,entries:entries};function getPackageJsonInfo($){return j===null||j===void 0?void 0:j.get(E.toPath($,N,R))}function setPackageJsonInfo($,q){(j||(j=new E.Map)).set(E.toPath($,N,R),q)}function clear(){j=undefined}function entries(){var N=j===null||j===void 0?void 0:j.entries();return N?E.arrayFrom(N):[]}}function getOrCreateCache(E,N,R,j){var $=E.getOrCreateMapOfCacheRedirects(N);var q=$.get(R);if(!q){q=j();$.set(R,q)}return q}function updateRedirectsMap(N,R,j){if(!N.configFile)return;if(R.redirectsMap.size===0){E.Debug.assert(!j||j.redirectsMap.size===0);E.Debug.assert(R.getOwnMap().size===0);E.Debug.assert(!j||j.getOwnMap().size===0);R.redirectsMap.set(N.configFile.path,R.getOwnMap());j===null||j===void 0?void 0:j.redirectsMap.set(N.configFile.path,j.getOwnMap())}else{E.Debug.assert(!j||j.redirectsMap.size>0);var $={sourceFile:N.configFile,commandLine:{options:N}};R.setOwnMap(R.getOrCreateMapOfCacheRedirects($));j===null||j===void 0?void 0:j.setOwnMap(j.getOrCreateMapOfCacheRedirects($))}R.setOwnOptions(N);j===null||j===void 0?void 0:j.setOwnOptions(N)}function createPerDirectoryResolutionCache(N,R,j){return{getOrCreateCacheForDirectory:getOrCreateCacheForDirectory,clear:clear,update:update};function clear(){j.clear()}function update(E){updateRedirectsMap(E,j)}function getOrCreateCacheForDirectory($,q){var G=E.toPath($,N,R);return getOrCreateCache(j,q,G,(function(){return new E.Map}))}}function createModuleResolutionCache(N,R,j,q,G){var ie=createPerDirectoryResolutionCache(N,R,q||(q=createCacheWithRedirects(j)));G||(G=createCacheWithRedirects(j));var ae=createPackageJsonInfoCache(N,R);return $($($({},ae),ie),{getOrCreateCacheForModuleName:getOrCreateCacheForModuleName,clear:clear,update:update,getPackageJsonInfoCache:function(){return ae}});function clear(){ie.clear();G.clear();ae.clear()}function update(E){updateRedirectsMap(E,q,G)}function getOrCreateCacheForModuleName(N,R){E.Debug.assert(!E.isExternalModuleNameRelative(N));return getOrCreateCache(G,R,N,createPerModuleNameCache)}function createPerModuleNameCache(){var j=new E.Map;return{get:get,set:set};function get($){return j.get(E.toPath($,N,R))}function set($,q){var G=E.toPath($,N,R);if(j.has(G)){return}j.set(G,q);var ie=q.resolvedModule&&(q.resolvedModule.originalPath||q.resolvedModule.resolvedFileName);var ae=ie&&getCommonPrefix(G,ie);var ce=G;while(ce!==ae){var le=E.getDirectoryPath(ce);if(le===ce||j.has(le)){break}j.set(le,q);ce=le}}function getCommonPrefix(j,$){var q=E.toPath(E.getDirectoryPath($),N,R);var G=0;var ie=Math.min(j.length,q.length);while(G<ie&&j.charCodeAt(G)===q.charCodeAt(G)){G++}if(G===j.length&&(q.length===G||q[G]===E.directorySeparator)){return j}var ae=E.getRootLength(j);if(G<ae){return undefined}var ce=j.lastIndexOf(E.directorySeparator,G-1);if(ce===-1){return undefined}return j.substr(0,Math.max(ce,ae))}}}E.createModuleResolutionCache=createModuleResolutionCache;function createTypeReferenceDirectiveResolutionCache(E,N,R,j,q){var G=createPerDirectoryResolutionCache(E,N,q||(q=createCacheWithRedirects(R)));j||(j=createPackageJsonInfoCache(E,N));return $($($({},j),G),{clear:clear});function clear(){G.clear();j.clear()}}E.createTypeReferenceDirectiveResolutionCache=createTypeReferenceDirectiveResolutionCache;function resolveModuleNameFromCache(N,R,j){var $=E.getDirectoryPath(R);var q=j&&j.getOrCreateCacheForDirectory($);return q&&q.get(N)}E.resolveModuleNameFromCache=resolveModuleNameFromCache;function resolveModuleName(N,R,j,$,q,G){var ie=isTraceEnabled(j,$);if(G){j=G.commandLine.options}if(ie){trace($,E.Diagnostics.Resolving_module_0_from_1,N,R);if(G){trace($,E.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,G.sourceFile.fileName)}}var ae=E.getDirectoryPath(R);var ce=q&&q.getOrCreateCacheForDirectory(ae,G);var le=ce&&ce.get(N);if(le){if(ie){trace($,E.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,N,ae)}}else{var _e=j.moduleResolution;if(_e===undefined){_e=E.getEmitModuleKind(j)===E.ModuleKind.CommonJS?E.ModuleResolutionKind.NodeJs:E.ModuleResolutionKind.Classic;if(ie){trace($,E.Diagnostics.Module_resolution_kind_is_not_specified_using_0,E.ModuleResolutionKind[_e])}}else{if(ie){trace($,E.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,E.ModuleResolutionKind[_e])}}E.perfLogger.logStartResolveModule(N);switch(_e){case E.ModuleResolutionKind.NodeJs:le=nodeModuleNameResolver(N,R,j,$,q,G);break;case E.ModuleResolutionKind.Classic:le=classicNameResolver(N,R,j,$,q,G);break;default:return E.Debug.fail("Unexpected moduleResolution: "+_e)}if(le&&le.resolvedModule)E.perfLogger.logInfoEvent('Module "'+N+'" resolved to "'+le.resolvedModule.resolvedFileName+'"');E.perfLogger.logStopResolveModule(le&&le.resolvedModule?""+le.resolvedModule.resolvedFileName:"null");if(ce){ce.set(N,le);if(!E.isExternalModuleNameRelative(N)){q.getOrCreateCacheForModuleName(N,G).set(ae,le)}}}if(ie){if(le.resolvedModule){if(le.resolvedModule.packageId){trace($,E.Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,N,le.resolvedModule.resolvedFileName,E.packageIdToString(le.resolvedModule.packageId))}else{trace($,E.Diagnostics.Module_name_0_was_successfully_resolved_to_1,N,le.resolvedModule.resolvedFileName)}}else{trace($,E.Diagnostics.Module_name_0_was_not_resolved,N)}}return le}E.resolveModuleName=resolveModuleName;function tryLoadModuleUsingOptionalResolutionSettings(N,R,j,$,q){var G=tryLoadModuleUsingPathsIfEligible(N,R,$,q);if(G)return G.value;if(!E.isExternalModuleNameRelative(R)){return tryLoadModuleUsingBaseUrl(N,R,$,q)}else{return tryLoadModuleUsingRootDirs(N,R,j,$,q)}}function tryLoadModuleUsingPathsIfEligible(N,R,j,$){var q;var G=$.compilerOptions,ie=G.baseUrl,ae=G.paths,ce=G.configFile;if(ae&&!E.pathIsRelative(R)){if($.traceEnabled){if(ie){trace($.host,E.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,ie,R)}trace($.host,E.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,R)}var le=E.getPathsBasePath($.compilerOptions,$.host);var _e=(ce===null||ce===void 0?void 0:ce.configFileSpecs)?(q=ce.configFileSpecs).pathPatterns||(q.pathPatterns=E.tryParsePatterns(ae)):undefined;return tryLoadModuleUsingPaths(N,R,le,ae,_e,j,false,$)}}function tryLoadModuleUsingRootDirs(N,R,j,$,q){if(!q.compilerOptions.rootDirs){return undefined}if(q.traceEnabled){trace(q.host,E.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,R)}var G=E.normalizePath(E.combinePaths(j,R));var ie;var ae;for(var ce=0,le=q.compilerOptions.rootDirs;ce<le.length;ce++){var _e=le[ce];var Ee=E.normalizePath(_e);if(!E.endsWith(Ee,E.directorySeparator)){Ee+=E.directorySeparator}var Te=E.startsWith(G,Ee)&&(ae===undefined||ae.length<Ee.length);if(q.traceEnabled){trace(q.host,E.Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2,Ee,G,Te)}if(Te){ae=Ee;ie=_e}}if(ae){if(q.traceEnabled){trace(q.host,E.Diagnostics.Longest_matching_prefix_for_0_is_1,G,ae)}var we=G.substr(ae.length);if(q.traceEnabled){trace(q.host,E.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,we,ae,G)}var Ie=$(N,G,!E.directoryProbablyExists(j,q.host),q);if(Ie){return Ie}if(q.traceEnabled){trace(q.host,E.Diagnostics.Trying_other_entries_in_rootDirs)}for(var Ne=0,Me=q.compilerOptions.rootDirs;Ne<Me.length;Ne++){var _e=Me[Ne];if(_e===ie){continue}var Le=E.combinePaths(E.normalizePath(_e),we);if(q.traceEnabled){trace(q.host,E.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,we,_e,Le)}var Be=E.getDirectoryPath(Le);var je=$(N,Le,!E.directoryProbablyExists(Be,q.host),q);if(je){return je}}if(q.traceEnabled){trace(q.host,E.Diagnostics.Module_resolution_using_rootDirs_has_failed)}}return undefined}function tryLoadModuleUsingBaseUrl(N,R,j,$){var q=$.compilerOptions.baseUrl;if(!q){return undefined}if($.traceEnabled){trace($.host,E.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,q,R)}var G=E.normalizePath(E.combinePaths(q,R));if($.traceEnabled){trace($.host,E.Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2,R,q,G)}return j(N,G,!E.directoryProbablyExists(E.getDirectoryPath(G),$.host),$)}function resolveJSModule(E,N,R){var j=tryResolveJSModuleWorker(E,N,R),$=j.resolvedModule,q=j.failedLookupLocations;if(!$){throw new Error("Could not resolve JS module '"+E+"' starting at '"+N+"'. Looked in: "+q.join(", "))}return $.resolvedFileName}E.resolveJSModule=resolveJSModule;function tryResolveJSModule(E,N,R){var j=tryResolveJSModuleWorker(E,N,R).resolvedModule;return j&&j.resolvedFileName}E.tryResolveJSModule=tryResolveJSModule;var G=[N.JavaScript];var ie=[N.TypeScript,N.JavaScript];var ae=j(j([],ie,true),[N.Json],false);var ce=[N.TSConfig];function tryResolveJSModuleWorker(N,R,j){return nodeModuleNameResolverWorker(N,R,{moduleResolution:E.ModuleResolutionKind.NodeJs,allowJs:true},j,undefined,G,undefined)}function nodeModuleNameResolver(N,R,j,$,q,G,le){return nodeModuleNameResolverWorker(N,E.getDirectoryPath(R),j,$,q,le?ce:j.resolveJsonModule?ae:ie,G)}E.nodeModuleNameResolver=nodeModuleNameResolver;function nodeModuleNameResolverWorker(R,j,q,G,ie,ae,ce){var le,_e;var Ee=isTraceEnabled(q,G);var Te=[];var we={compilerOptions:q,host:G,traceEnabled:Ee,failedLookupLocations:Te,packageJsonInfoCache:ie};var Ie=E.forEach(ae,(function(E){return tryResolve(E)}));return createResolvedModuleWithFailedLookupLocations((le=Ie===null||Ie===void 0?void 0:Ie.value)===null||le===void 0?void 0:le.resolved,(_e=Ie===null||Ie===void 0?void 0:Ie.value)===null||_e===void 0?void 0:_e.isExternalLibraryImport,Te,we.resultFromCache);function tryResolve(ae){var loader=function(E,N,R,j){return nodeLoadModuleByRelativeName(E,N,R,j,true)};var le=tryLoadModuleUsingOptionalResolutionSettings(ae,R,j,loader,we);if(le){return toSearchResult({resolved:le,isExternalLibraryImport:pathContainsNodeModules(le.path)})}if(!E.isExternalModuleNameRelative(R)){if(Ee){trace(G,E.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,R,N[ae])}var _e=loadModuleFromNearestNodeModulesDirectory(ae,R,j,we,ie,ce);if(!_e)return undefined;var Te=_e.value;if(!q.preserveSymlinks&&Te&&!Te.originalPath){var Ie=realPath(Te.path,G,Ee);var Ne=Ie===Te.path?undefined:Te.path;Te=$($({},Te),{path:Ie,originalPath:Ne})}return{value:Te&&{resolved:Te,isExternalLibraryImport:true}}}else{var Me=E.normalizePathAndParts(E.combinePaths(j,R)),Le=Me.path,Be=Me.parts;var je=nodeLoadModuleByRelativeName(ae,Le,false,we,true);return je&&toSearchResult({resolved:je,isExternalLibraryImport:E.contains(Be,"node_modules")})}}}function realPath(N,R,j){if(!R.realpath){return N}var $=E.normalizePath(R.realpath(N));if(j){trace(R,E.Diagnostics.Resolving_real_path_for_0_result_1,N,$)}E.Debug.assert(R.fileExists($),N+" linked to nonexistent file "+$);return $}function nodeLoadModuleByRelativeName(R,j,$,q,G){if(q.traceEnabled){trace(q.host,E.Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1,j,N[R])}if(!E.hasTrailingDirectorySeparator(j)){if(!$){var ie=E.getDirectoryPath(j);if(!E.directoryProbablyExists(ie,q.host)){if(q.traceEnabled){trace(q.host,E.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,ie)}$=true}}var ae=loadModuleFromFile(R,j,$,q);if(ae){var ce=G?parseNodeModuleFromPath(ae.path):undefined;var le=ce?getPackageJsonInfo(ce,false,q):undefined;return withPackageId(le,ae)}}if(!$){var _e=E.directoryProbablyExists(j,q.host);if(!_e){if(q.traceEnabled){trace(q.host,E.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,j)}$=true}}return loadNodeModuleFromDirectory(R,j,$,q,G)}E.nodeModulesPathPart="/node_modules/";function pathContainsNodeModules(N){return E.stringContains(N,E.nodeModulesPathPart)}E.pathContainsNodeModules=pathContainsNodeModules;function parseNodeModuleFromPath(N){var R=E.normalizePath(N);var j=R.lastIndexOf(E.nodeModulesPathPart);if(j===-1){return undefined}var $=j+E.nodeModulesPathPart.length;var q=moveToNextDirectorySeparatorIfAvailable(R,$);if(R.charCodeAt($)===64){q=moveToNextDirectorySeparatorIfAvailable(R,q)}return R.slice(0,q)}E.parseNodeModuleFromPath=parseNodeModuleFromPath;function moveToNextDirectorySeparatorIfAvailable(N,R){var j=N.indexOf(E.directorySeparator,R+1);return j===-1?R:j}function loadModuleFromFileNoPackageId(E,N,R,j){return noPackageId(loadModuleFromFile(E,N,R,j))}function loadModuleFromFile(R,j,$,q){if(R===N.Json||R===N.TSConfig){var G=E.tryRemoveExtension(j,".json");return G===undefined&&R===N.Json?undefined:tryAddingExtensions(G||j,R,$,q)}var ie=tryAddingExtensions(j,R,$,q);if(ie){return ie}if(E.hasJSFileExtension(j)){var ae=E.removeFileExtension(j);if(q.traceEnabled){var ce=j.substring(ae.length);trace(q.host,E.Diagnostics.File_name_0_has_a_1_extension_stripping_it,j,ce)}return tryAddingExtensions(ae,R,$,q)}}function tryAddingExtensions(R,j,$,q){if(!$){var G=E.getDirectoryPath(R);if(G){$=!E.directoryProbablyExists(G,q.host)}}switch(j){case N.DtsOnly:return tryExtension(".d.ts");case N.TypeScript:return tryExtension(".ts")||tryExtension(".tsx")||tryExtension(".d.ts");case N.JavaScript:return tryExtension(".js")||tryExtension(".jsx");case N.TSConfig:case N.Json:return tryExtension(".json")}function tryExtension(E){var N=tryFile(R+E,$,q);return N===undefined?undefined:{path:N,ext:E}}}function tryFile(N,R,j){if(!R){if(j.host.fileExists(N)){if(j.traceEnabled){trace(j.host,E.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,N)}return N}else{if(j.traceEnabled){trace(j.host,E.Diagnostics.File_0_does_not_exist,N)}}}j.failedLookupLocations.push(N);return undefined}function loadNodeModuleFromDirectory(E,N,R,j,$){if($===void 0){$=true}var q=$?getPackageJsonInfo(N,R,j):undefined;var G=q&&q.packageJsonContent;var ie=q&&q.versionPaths;return withPackageId(q,loadNodeModuleFromDirectoryWorker(E,N,R,j,G,ie))}function getPackageJsonInfo(N,R,j){var $,q,G;var ie=j.host,ae=j.traceEnabled;var ce=E.combinePaths(N,"package.json");if(R){j.failedLookupLocations.push(ce);return undefined}var le=($=j.packageJsonInfoCache)===null||$===void 0?void 0:$.getPackageJsonInfo(ce);if(le!==undefined){if(typeof le!=="boolean"){if(ae)trace(ie,E.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,ce);return le}else{if(le&&ae)trace(ie,E.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,ce);j.failedLookupLocations.push(ce);return undefined}}var _e=E.directoryProbablyExists(N,ie);if(_e&&ie.fileExists(ce)){var Ee=E.readJson(ce,ie);if(ae){trace(ie,E.Diagnostics.Found_package_json_at_0,ce)}var Te=readPackageJsonTypesVersionPaths(Ee,j);var we={packageDirectory:N,packageJsonContent:Ee,versionPaths:Te};(q=j.packageJsonInfoCache)===null||q===void 0?void 0:q.setPackageJsonInfo(ce,we);return we}else{if(_e&&ae){trace(ie,E.Diagnostics.File_0_does_not_exist,ce)}(G=j.packageJsonInfoCache)===null||G===void 0?void 0:G.setPackageJsonInfo(ce,_e);j.failedLookupLocations.push(ce)}}function loadNodeModuleFromDirectoryWorker(R,j,$,q,G,ie){var ae;if(G){switch(R){case N.JavaScript:case N.Json:ae=readPackageJsonMainField(G,j,q);break;case N.TypeScript:ae=readPackageJsonTypesFields(G,j,q)||readPackageJsonMainField(G,j,q);break;case N.DtsOnly:ae=readPackageJsonTypesFields(G,j,q);break;case N.TSConfig:ae=readPackageJsonTSConfigField(G,j,q);break;default:return E.Debug.assertNever(R)}}var loader=function(R,j,$,q){var G=tryFile(j,$,q);if(G){var ie=resolvedIfExtensionMatches(R,G);if(ie){return noPackageId(ie)}if(q.traceEnabled){trace(q.host,E.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,G)}}var ae=R===N.DtsOnly?N.TypeScript:R;return nodeLoadModuleByRelativeName(ae,j,$,q,false)};var ce=ae?!E.directoryProbablyExists(E.getDirectoryPath(ae),q.host):undefined;var le=$||!E.directoryProbablyExists(j,q.host);var _e=E.combinePaths(j,R===N.TSConfig?"tsconfig":"index");if(ie&&(!ae||E.containsPath(j,ae))){var Ee=E.getRelativePathFromDirectory(j,ae||_e,false);if(q.traceEnabled){trace(q.host,E.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,ie.version,E.version,Ee)}var Te=tryLoadModuleUsingPaths(R,Ee,j,ie.paths,undefined,loader,ce||le,q);if(Te){return removeIgnoredPackageId(Te.value)}}var we=ae&&removeIgnoredPackageId(loader(R,ae,ce,q));if(we)return we;return loadModuleFromFile(R,_e,le,q)}function resolvedIfExtensionMatches(N,R){var j=E.tryGetExtensionFromPath(R);return j!==undefined&&extensionIsOk(N,j)?{path:R,ext:j}:undefined}function extensionIsOk(E,R){switch(E){case N.JavaScript:return R===".js"||R===".jsx";case N.TSConfig:case N.Json:return R===".json";case N.TypeScript:return R===".ts"||R===".tsx"||R===".d.ts";case N.DtsOnly:return R===".d.ts"}}function parsePackageName(N){var R=N.indexOf(E.directorySeparator);if(N[0]==="@"){R=N.indexOf(E.directorySeparator,R+1)}return R===-1?{packageName:N,rest:""}:{packageName:N.slice(0,R),rest:N.slice(R+1)}}E.parsePackageName=parsePackageName;function loadModuleFromNearestNodeModulesDirectory(E,N,R,j,$,q){return loadModuleFromNearestNodeModulesDirectoryWorker(E,N,R,j,false,$,q)}function loadModuleFromNearestNodeModulesDirectoryTypesScope(E,R,j){return loadModuleFromNearestNodeModulesDirectoryWorker(N.DtsOnly,E,R,j,true,undefined,undefined)}function loadModuleFromNearestNodeModulesDirectoryWorker(N,R,j,$,q,G,ie){var ae=G&&G.getOrCreateCacheForModuleName(R,ie);return E.forEachAncestorDirectory(E.normalizeSlashes(j),(function(j){if(E.getBaseFileName(j)!=="node_modules"){var G=tryFindNonRelativeModuleNameInCache(ae,R,j,$);if(G){return G}return toSearchResult(loadModuleFromImmediateNodeModulesDirectory(N,R,j,$,q))}}))}function loadModuleFromImmediateNodeModulesDirectory(R,j,$,q,G){var ie=E.combinePaths($,"node_modules");var ae=E.directoryProbablyExists(ie,q.host);if(!ae&&q.traceEnabled){trace(q.host,E.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,ie)}var ce=G?undefined:loadModuleFromSpecificNodeModulesDirectory(R,j,ie,ae,q);if(ce){return ce}if(R===N.TypeScript||R===N.DtsOnly){var le=E.combinePaths(ie,"@types");var _e=ae;if(ae&&!E.directoryProbablyExists(le,q.host)){if(q.traceEnabled){trace(q.host,E.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,le)}_e=false}return loadModuleFromSpecificNodeModulesDirectory(N.DtsOnly,mangleScopedPackageNameWithTrace(j,q),le,_e,q)}}function loadModuleFromSpecificNodeModulesDirectory(N,R,j,$,q){var G=E.normalizePath(E.combinePaths(j,R));var ie=getPackageJsonInfo(G,!$,q);if(ie){var ae=loadModuleFromFile(N,G,!$,q);if(ae){return noPackageId(ae)}var ce=loadNodeModuleFromDirectoryWorker(N,G,!$,q,ie.packageJsonContent,ie.versionPaths);return withPackageId(ie,ce)}var loader=function(E,N,R,j){var $=loadModuleFromFile(E,N,R,j)||loadNodeModuleFromDirectoryWorker(E,N,R,j,ie&&ie.packageJsonContent,ie&&ie.versionPaths);return withPackageId(ie,$)};var le=parsePackageName(R),_e=le.packageName,Ee=le.rest;if(Ee!==""){var Te=E.combinePaths(j,_e);ie=getPackageJsonInfo(Te,!$,q);if(ie&&ie.versionPaths){if(q.traceEnabled){trace(q.host,E.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,ie.versionPaths.version,E.version,Ee)}var we=$&&E.directoryProbablyExists(Te,q.host);var Ie=tryLoadModuleUsingPaths(N,Ee,Te,ie.versionPaths.paths,undefined,loader,!we,q);if(Ie){return Ie.value}}}return loader(N,G,!$,q)}function tryLoadModuleUsingPaths(N,R,j,$,q,G,ie,ae){q||(q=E.tryParsePatterns($));var ce=E.matchPatternOrExact(q,R);if(ce){var le=E.isString(ce)?undefined:E.matchedText(ce,R);var _e=E.isString(ce)?ce:E.patternText(ce);if(ae.traceEnabled){trace(ae.host,E.Diagnostics.Module_name_0_matched_pattern_1,R,_e)}var Ee=E.forEach($[_e],(function(R){var $=le?R.replace("*",le):R;var q=E.normalizePath(E.combinePaths(j,$));if(ae.traceEnabled){trace(ae.host,E.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,R,$)}var ce=E.tryGetExtensionFromPath(R);if(ce!==undefined){var _e=tryFile(q,ie,ae);if(_e!==undefined){return noPackageId({path:_e,ext:ce})}}return G(N,q,ie||!E.directoryProbablyExists(E.getDirectoryPath(q),ae.host),ae)}));return{value:Ee}}}var le="__";function mangleScopedPackageNameWithTrace(N,R){var j=mangleScopedPackageName(N);if(R.traceEnabled&&j!==N){trace(R.host,E.Diagnostics.Scoped_package_detected_looking_in_0,j)}return j}function getTypesPackageName(E){return"@types/"+mangleScopedPackageName(E)}E.getTypesPackageName=getTypesPackageName;function mangleScopedPackageName(N){if(E.startsWith(N,"@")){var R=N.replace(E.directorySeparator,le);if(R!==N){return R.slice(1)}}return N}E.mangleScopedPackageName=mangleScopedPackageName;function getPackageNameFromTypesPackageName(N){var R=E.removePrefix(N,"@types/");if(R!==N){return unmangleScopedPackageName(R)}return N}E.getPackageNameFromTypesPackageName=getPackageNameFromTypesPackageName;function unmangleScopedPackageName(N){return E.stringContains(N,le)?"@"+N.replace(le,E.directorySeparator):N}E.unmangleScopedPackageName=unmangleScopedPackageName;function tryFindNonRelativeModuleNameInCache(N,R,j,$){var q=N&&N.get(j);if(q){if($.traceEnabled){trace($.host,E.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,R,j)}$.resultFromCache=q;return{value:q.resolvedModule&&{path:q.resolvedModule.resolvedFileName,originalPath:q.resolvedModule.originalPath||true,extension:q.resolvedModule.extension,packageId:q.resolvedModule.packageId}}}}function classicNameResolver(R,j,$,q,G,ie){var ae=isTraceEnabled($,q);var ce=[];var le={compilerOptions:$,host:q,traceEnabled:ae,failedLookupLocations:ce,packageJsonInfoCache:G};var _e=E.getDirectoryPath(j);var Ee=tryResolve(N.TypeScript)||tryResolve(N.JavaScript);return createResolvedModuleWithFailedLookupLocations(Ee&&Ee.value,false,ce,le.resultFromCache);function tryResolve(j){var $=tryLoadModuleUsingOptionalResolutionSettings(j,R,_e,loadModuleFromFileNoPackageId,le);if($){return{value:$}}if(!E.isExternalModuleNameRelative(R)){var q=G&&G.getOrCreateCacheForModuleName(R,ie);var ae=E.forEachAncestorDirectory(_e,(function(N){var $=tryFindNonRelativeModuleNameInCache(q,R,N,le);if($){return $}var G=E.normalizePath(E.combinePaths(N,R));return toSearchResult(loadModuleFromFileNoPackageId(j,G,false,le))}));if(ae){return ae}if(j===N.TypeScript){return loadModuleFromNearestNodeModulesDirectoryTypesScope(R,_e,le)}}else{var ce=E.normalizePath(E.combinePaths(_e,R));return toSearchResult(loadModuleFromFileNoPackageId(j,ce,false,le))}}}E.classicNameResolver=classicNameResolver;function loadModuleFromGlobalCache(R,j,$,q,G,ie){var ae=isTraceEnabled($,q);if(ae){trace(q,E.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,j,R,G)}var ce=[];var le={compilerOptions:$,host:q,traceEnabled:ae,failedLookupLocations:ce,packageJsonInfoCache:ie};var _e=loadModuleFromImmediateNodeModulesDirectory(N.DtsOnly,R,G,le,false);return createResolvedModuleWithFailedLookupLocations(_e,true,ce,le.resultFromCache)}E.loadModuleFromGlobalCache=loadModuleFromGlobalCache;function toSearchResult(E){return E!==undefined?{value:E}:undefined}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["NonInstantiated"]=0]="NonInstantiated";E[E["Instantiated"]=1]="Instantiated";E[E["ConstEnumOnly"]=2]="ConstEnumOnly"})(N=E.ModuleInstanceState||(E.ModuleInstanceState={}));function getModuleInstanceState(N,R){if(N.body&&!N.body.parent){E.setParent(N.body,N);E.setParentRecursive(N.body,false)}return N.body?getModuleInstanceStateCached(N.body,R):1}E.getModuleInstanceState=getModuleInstanceState;function getModuleInstanceStateCached(N,R){if(R===void 0){R=new E.Map}var j=E.getNodeId(N);if(R.has(j)){return R.get(j)||0}R.set(j,undefined);var $=getModuleInstanceStateWorker(N,R);R.set(j,$);return $}function getModuleInstanceStateWorker(N,R){switch(N.kind){case 256:case 257:return 0;case 258:if(E.isEnumConst(N)){return 2}break;case 264:case 263:if(!E.hasSyntacticModifier(N,1)){return 0}break;case 270:var j=N;if(!j.moduleSpecifier&&j.exportClause&&j.exportClause.kind===271){var $=0;for(var q=0,G=j.exportClause.elements;q<G.length;q++){var ie=G[q];var ae=getModuleInstanceStateForAliasTarget(ie,R);if(ae>$){$=ae}if($===1){return $}}return $}break;case 260:{var ce=0;E.forEachChild(N,(function(N){var j=getModuleInstanceStateCached(N,R);switch(j){case 0:return;case 2:ce=2;return;case 1:ce=1;return true;default:E.Debug.assertNever(j)}}));return ce}case 259:return getModuleInstanceState(N,R);case 79:if(N.isInJSDocNamespace){return 0}}return 1}function getModuleInstanceStateForAliasTarget(N,R){var j=N.propertyName||N.name;var $=N.parent;while($){if(E.isBlock($)||E.isModuleBlock($)||E.isSourceFile($)){var q=$.statements;var G=void 0;for(var ie=0,ae=q;ie<ae.length;ie++){var ce=ae[ie];if(E.nodeHasName(ce,j)){if(!ce.parent){E.setParent(ce,$);E.setParentRecursive(ce,false)}var le=getModuleInstanceStateCached(ce,R);if(G===undefined||le>G){G=le}if(G===1){return G}}}if(G!==undefined){return G}}$=$.parent}return 1}var R;(function(E){E[E["None"]=0]="None";E[E["IsContainer"]=1]="IsContainer";E[E["IsBlockScopedContainer"]=2]="IsBlockScopedContainer";E[E["IsControlFlowContainer"]=4]="IsControlFlowContainer";E[E["IsFunctionLike"]=8]="IsFunctionLike";E[E["IsFunctionExpression"]=16]="IsFunctionExpression";E[E["HasLocals"]=32]="HasLocals";E[E["IsInterface"]=64]="IsInterface";E[E["IsObjectLiteralOrClassExpressionMethod"]=128]="IsObjectLiteralOrClassExpressionMethod"})(R||(R={}));function initFlowNode(N){E.Debug.attachFlowNodeDebugInfo(N);return N}var q=createBinder();function bindSourceFile(N,R){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("bind","bindSourceFile",{path:N.path},true);E.performance.mark("beforeBind");E.perfLogger.logStartBindFile(""+N.fileName);q(N,R);E.perfLogger.logStopBindFile();E.performance.mark("afterBind");E.performance.measure("Bind","beforeBind","afterBind");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}E.bindSourceFile=bindSourceFile;function createBinder(){var N;var R;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve=false;var qe=0;var He;var Ge;var Ke={flags:1};var Qe={flags:1};var Xe=createBindBinaryExpressionFlow();function createDiagnosticForNode(R,j,$,q,G){return E.createDiagnosticForNodeInSourceFile(E.getSourceFileOfNode(R)||N,R,j,$,q,G)}function bindSourceFile(j,$){N=j;R=$;q=E.getEmitScriptTarget(R);Je=bindInStrictMode(N,$);Ge=new E.Set;qe=0;He=E.objectAllocator.getSymbolConstructor();E.Debug.attachFlowNodeDebugInfo(Ke);E.Debug.attachFlowNodeDebugInfo(Qe);if(!N.locals){bind(N);N.symbolCount=qe;N.classifiableNames=Ge;delayedBindJSDocTypedefTag()}N=undefined;R=undefined;q=undefined;G=undefined;ie=undefined;ae=undefined;ce=undefined;le=undefined;_e=undefined;Ee=false;Te=undefined;we=undefined;Ie=undefined;Ne=undefined;Me=undefined;Le=undefined;Be=undefined;Ue=undefined;ze=false;Ve=false;We=0}return bindSourceFile;function bindInStrictMode(N,R){if(E.getStrictOptionValue(R,"alwaysStrict")&&!N.isDeclarationFile){return true}else{return!!N.externalModuleIndicator}}function createSymbol(E,N){qe++;return new He(E,N)}function addDeclarationToSymbol(N,R,j){N.flags|=j;R.symbol=N;N.declarations=E.appendIfUnique(N.declarations,R);if(j&(32|384|1536|3)&&!N.exports){N.exports=E.createSymbolTable()}if(j&(32|64|2048|4096)&&!N.members){N.members=E.createSymbolTable()}if(N.constEnumOnlyModule&&N.flags&(16|32|256)){N.constEnumOnlyModule=false}if(j&111551){E.setValueDeclaration(N,R)}}function getDeclarationName(N){if(N.kind===269){return N.isExportEquals?"export=":"default"}var R=E.getNameOfDeclaration(N);if(R){if(E.isAmbientModule(N)){var j=E.getTextOfIdentifierOrLiteral(R);return E.isGlobalScopeAugmentation(N)?"__global":'"'+j+'"'}if(R.kind===160){var $=R.expression;if(E.isStringOrNumericLiteralLike($)){return E.escapeLeadingUnderscores($.text)}if(E.isSignedNumericLiteral($)){return E.tokenToString($.operator)+$.operand.text}else{E.Debug.fail("Only computed properties with literal names have declaration names")}}if(E.isPrivateIdentifier(R)){var q=E.getContainingClass(N);if(!q){return undefined}var G=q.symbol;return E.getSymbolNameForPrivateIdentifier(G,R.escapedText)}return E.isPropertyNameLiteral(R)?E.getEscapedTextOfIdentifierOrLiteral(R):undefined}switch(N.kind){case 169:return"__constructor";case 177:case 172:case 318:return"__call";case 178:case 173:return"__new";case 174:return"__index";case 270:return"__export";case 300:return"export=";case 219:if(E.getAssignmentDeclarationKind(N)===2){return"export="}E.Debug.fail("Unknown binary declaration kind");break;case 312:return E.isJSDocConstructSignature(N)?"__new":"__call";case 162:E.Debug.assert(N.parent.kind===312,"Impossible parameter parent kind",(function(){return"parent is: "+(E.SyntaxKind?E.SyntaxKind[N.parent.kind]:N.parent.kind)+", expected JSDocFunctionType"}));var ie=N.parent;var ae=ie.parameters.indexOf(N);return"arg"+ae}}function getDisplayName(N){return E.isNamedDeclaration(N)?E.declarationNameToString(N.name):E.unescapeLeadingUnderscores(E.Debug.checkDefined(getDeclarationName(N)))}function declareSymbol(R,$,q,G,ie,ae,ce){E.Debug.assert(ce||!E.hasDynamicName(q));var le=E.hasSyntacticModifier(q,512)||E.isExportSpecifier(q)&&q.name.escapedText==="default";var _e=ce?"__computed":le&&$?"default":getDeclarationName(q);var Ee;if(_e===undefined){Ee=createSymbol(0,"__missing")}else{Ee=R.get(_e);if(G&2885600){Ge.add(_e)}if(!Ee){R.set(_e,Ee=createSymbol(0,_e));if(ae)Ee.isReplaceableByMethod=true}else if(ae&&!Ee.isReplaceableByMethod){return Ee}else if(Ee.flags&ie){if(Ee.isReplaceableByMethod){R.set(_e,Ee=createSymbol(0,_e))}else if(!(G&3&&Ee.flags&67108864)){if(E.isNamedDeclaration(q)){E.setParent(q.name,q)}var Te=Ee.flags&2?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;var we=true;if(Ee.flags&384||G&384){Te=E.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations;we=false}var Ie=false;if(E.length(Ee.declarations)){if(le){Te=E.Diagnostics.A_module_cannot_have_multiple_default_exports;we=false;Ie=true}else{if(Ee.declarations&&Ee.declarations.length&&(q.kind===269&&!q.isExportEquals)){Te=E.Diagnostics.A_module_cannot_have_multiple_default_exports;we=false;Ie=true}}}var Ne=[];if(E.isTypeAliasDeclaration(q)&&E.nodeIsMissing(q.type)&&E.hasSyntacticModifier(q,1)&&Ee.flags&(2097152|788968|1920)){Ne.push(createDiagnosticForNode(q,E.Diagnostics.Did_you_mean_0,"export type { "+E.unescapeLeadingUnderscores(q.name.escapedText)+" }"))}var Me=E.getNameOfDeclaration(q)||q;E.forEach(Ee.declarations,(function(R,j){var $=E.getNameOfDeclaration(R)||R;var q=createDiagnosticForNode($,Te,we?getDisplayName(R):undefined);N.bindDiagnostics.push(Ie?E.addRelatedInfo(q,createDiagnosticForNode(Me,j===0?E.Diagnostics.Another_export_default_is_here:E.Diagnostics.and_here)):q);if(Ie){Ne.push(createDiagnosticForNode($,E.Diagnostics.The_first_export_default_is_here))}}));var Le=createDiagnosticForNode(Me,Te,we?getDisplayName(q):undefined);N.bindDiagnostics.push(E.addRelatedInfo.apply(void 0,j([Le],Ne,false)));Ee=createSymbol(0,_e)}}}addDeclarationToSymbol(Ee,q,G);if(Ee.parent){E.Debug.assert(Ee.parent===$,"Existing symbol parent should match new one")}else{Ee.parent=$}return Ee}function declareModuleMember(N,R,j){var $=!!(E.getCombinedModifierFlags(N)&1)||jsdocTreatAsExported(N);if(R&2097152){if(N.kind===273||N.kind===263&&$){return declareSymbol(ie.symbol.exports,ie.symbol,N,R,j)}else{return declareSymbol(ie.locals,undefined,N,R,j)}}else{if(E.isJSDocTypeAlias(N))E.Debug.assert(E.isInJSFile(N));if(!E.isAmbientModule(N)&&($||ie.flags&64)){if(!ie.locals||E.hasSyntacticModifier(N,512)&&!getDeclarationName(N)){return declareSymbol(ie.symbol.exports,ie.symbol,N,R,j)}var q=R&111551?1048576:0;var G=declareSymbol(ie.locals,undefined,N,q,j);G.exportSymbol=declareSymbol(ie.symbol.exports,ie.symbol,N,R,j);N.localSymbol=G;return G}else{return declareSymbol(ie.locals,undefined,N,R,j)}}}function jsdocTreatAsExported(N){if(N.parent&&E.isModuleDeclaration(N)){N=N.parent}if(!E.isJSDocTypeAlias(N))return false;if(!E.isJSDocEnumTag(N)&&!!N.fullName)return true;var R=E.getNameOfDeclaration(N);if(!R)return false;if(E.isPropertyAccessEntityNameExpression(R.parent)&&isTopLevelNamespaceAssignment(R.parent))return true;if(E.isDeclaration(R.parent)&&E.getCombinedModifierFlags(R.parent)&1)return true;return false}function bindContainer(N,R){var j=ie;var $=ae;var q=ce;if(R&1){if(N.kind!==212){ae=ie}ie=ce=N;if(R&32){ie.locals=E.createSymbolTable()}addToContainerChain(ie)}else if(R&2){ce=N;ce.locals=undefined}if(R&4){var G=Te;var le=we;var _e=Ie;var Me=Ne;var Le=Be;var je=Ue;var Je=ze;var Ve=R&16&&!E.hasSyntacticModifier(N,256)&&!N.asteriskToken&&!!E.getImmediatelyInvokedFunctionExpression(N);if(!Ve){Te=initFlowNode({flags:2});if(R&(16|128)){Te.node=N}}Ne=Ve||N.kind===169||N.kind===168||E.isInJSFile(N)&&(N.kind===254||N.kind===211)?createBranchLabel():undefined;Be=undefined;we=undefined;Ie=undefined;Ue=undefined;ze=false;bindChildren(N);N.flags&=~2816;if(!(Te.flags&1)&&R&8&&E.nodeIsPresent(N.body)){N.flags|=256;if(ze)N.flags|=512;N.endFlowNode=Te}if(N.kind===300){N.flags|=We;N.endFlowNode=Te}if(Ne){addAntecedent(Ne,Te);Te=finishFlowLabel(Ne);if(N.kind===169||N.kind===168||E.isInJSFile(N)&&(N.kind===254||N.kind===211)){N.returnFlowNode=Te}}if(!Ve){Te=G}we=le;Ie=_e;Ne=Me;Be=Le;Ue=je;ze=Je}else if(R&64){Ee=false;bindChildren(N);N.flags=Ee?N.flags|128:N.flags&~128}else{bindChildren(N)}ie=j;ae=$;ce=q}function bindEachFunctionsFirst(E){bindEach(E,(function(E){return E.kind===254?bind(E):undefined}));bindEach(E,(function(E){return E.kind!==254?bind(E):undefined}))}function bindEach(N,R){if(R===void 0){R=bind}if(N===undefined){return}E.forEach(N,R)}function bindEachChild(N){E.forEachChild(N,bind,bindEach)}function bindChildren(N){var j=Ve;Ve=false;if(checkUnreachable(N)){bindEachChild(N);bindJSDoc(N);Ve=j;return}if(N.kind>=235&&N.kind<=251&&!R.allowUnreachableCode){N.flowNode=Te}switch(N.kind){case 239:bindWhileStatement(N);break;case 238:bindDoStatement(N);break;case 240:bindForStatement(N);break;case 241:case 242:bindForInOrForOfStatement(N);break;case 237:bindIfStatement(N);break;case 245:case 249:bindReturnOrThrow(N);break;case 244:case 243:bindBreakOrContinueStatement(N);break;case 250:bindTryStatement(N);break;case 247:bindSwitchStatement(N);break;case 261:bindCaseBlock(N);break;case 287:bindCaseClause(N);break;case 236:bindExpressionStatement(N);break;case 248:bindLabeledStatement(N);break;case 217:bindPrefixUnaryExpressionFlow(N);break;case 218:bindPostfixUnaryExpressionFlow(N);break;case 219:if(E.isDestructuringAssignment(N)){Ve=j;bindDestructuringAssignmentFlow(N);return}Xe(N);break;case 213:bindDeleteExpressionFlow(N);break;case 220:bindConditionalExpressionFlow(N);break;case 252:bindVariableDeclarationFlow(N);break;case 204:case 205:bindAccessExpressionFlow(N);break;case 206:bindCallExpressionFlow(N);break;case 228:bindNonNullExpressionFlow(N);break;case 340:case 333:case 334:bindJSDocTypeAlias(N);break;case 300:{bindEachFunctionsFirst(N.statements);bind(N.endOfFileToken);break}case 233:case 260:bindEachFunctionsFirst(N.statements);break;case 201:bindBindingElementFlow(N);break;case 203:case 202:case 291:case 223:Ve=j;default:bindEachChild(N);break}bindJSDoc(N);Ve=j}function isNarrowingExpression(E){switch(E.kind){case 79:case 80:case 108:case 204:case 205:return containsNarrowableReference(E);case 206:return hasNarrowableArgument(E);case 210:case 228:return isNarrowingExpression(E.expression);case 219:return isNarrowingBinaryExpression(E);case 217:return E.operator===53&&isNarrowingExpression(E.operand);case 214:return isNarrowingExpression(E.expression)}return false}function isNarrowableReference(N){return E.isDottedName(N)||(E.isPropertyAccessExpression(N)||E.isNonNullExpression(N)||E.isParenthesizedExpression(N))&&isNarrowableReference(N.expression)||E.isBinaryExpression(N)&&N.operatorToken.kind===27&&isNarrowableReference(N.right)||E.isElementAccessExpression(N)&&E.isStringOrNumericLiteralLike(N.argumentExpression)&&isNarrowableReference(N.expression)||E.isAssignmentExpression(N)&&isNarrowableReference(N.left)}function containsNarrowableReference(N){return isNarrowableReference(N)||E.isOptionalChain(N)&&containsNarrowableReference(N.expression)}function hasNarrowableArgument(E){if(E.arguments){for(var N=0,R=E.arguments;N<R.length;N++){var j=R[N];if(containsNarrowableReference(j)){return true}}}if(E.expression.kind===204&&containsNarrowableReference(E.expression.expression)){return true}return false}function isNarrowingTypeofOperands(N,R){return E.isTypeOfExpression(N)&&isNarrowableOperand(N.expression)&&E.isStringLiteralLike(R)}function isNarrowingBinaryExpression(E){switch(E.operatorToken.kind){case 63:case 75:case 76:case 77:return containsNarrowableReference(E.left);case 34:case 35:case 36:case 37:return isNarrowableOperand(E.left)||isNarrowableOperand(E.right)||isNarrowingTypeofOperands(E.right,E.left)||isNarrowingTypeofOperands(E.left,E.right);case 102:return isNarrowableOperand(E.left);case 101:return isNarrowingExpression(E.right);case 27:return isNarrowingExpression(E.right)}return false}function isNarrowableOperand(E){switch(E.kind){case 210:return isNarrowableOperand(E.expression);case 219:switch(E.operatorToken.kind){case 63:return isNarrowableOperand(E.left);case 27:return isNarrowableOperand(E.right)}}return containsNarrowableReference(E)}function createBranchLabel(){return initFlowNode({flags:4,antecedents:undefined})}function createLoopLabel(){return initFlowNode({flags:8,antecedents:undefined})}function createReduceLabel(E,N,R){return initFlowNode({flags:1024,target:E,antecedents:N,antecedent:R})}function setFlowNodeReferenced(E){E.flags|=E.flags&2048?4096:2048}function addAntecedent(N,R){if(!(R.flags&1)&&!E.contains(N.antecedents,R)){(N.antecedents||(N.antecedents=[])).push(R);setFlowNodeReferenced(R)}}function createFlowCondition(N,R,j){if(R.flags&1){return R}if(!j){return N&32?R:Ke}if((j.kind===110&&N&64||j.kind===95&&N&32)&&!E.isExpressionOfOptionalChainRoot(j)&&!E.isNullishCoalesce(j.parent)){return Ke}if(!isNarrowingExpression(j)){return R}setFlowNodeReferenced(R);return initFlowNode({flags:N,antecedent:R,node:j})}function createFlowSwitchClause(E,N,R,j){setFlowNodeReferenced(E);return initFlowNode({flags:128,antecedent:E,switchStatement:N,clauseStart:R,clauseEnd:j})}function createFlowMutation(E,N,R){setFlowNodeReferenced(N);var j=initFlowNode({flags:E,antecedent:N,node:R});if(Be){addAntecedent(Be,j)}return j}function createFlowCall(E,N){setFlowNodeReferenced(E);return initFlowNode({flags:512,antecedent:E,node:N})}function finishFlowLabel(E){var N=E.antecedents;if(!N){return Ke}if(N.length===1){return N[0]}return E}function isStatementCondition(E){var N=E.parent;switch(N.kind){case 237:case 239:case 238:return N.expression===E;case 240:case 220:return N.condition===E}return false}function isLogicalExpression(E){while(true){if(E.kind===210){E=E.expression}else if(E.kind===217&&E.operator===53){E=E.operand}else{return E.kind===219&&(E.operatorToken.kind===55||E.operatorToken.kind===56||E.operatorToken.kind===60)}}}function isLogicalAssignmentExpression(N){N=E.skipParentheses(N);return E.isBinaryExpression(N)&&E.isLogicalOrCoalescingAssignmentOperator(N.operatorToken.kind)}function isTopLevelLogicalExpression(N){while(E.isParenthesizedExpression(N.parent)||E.isPrefixUnaryExpression(N.parent)&&N.parent.operator===53){N=N.parent}return!isStatementCondition(N)&&!isLogicalAssignmentExpression(N.parent)&&!isLogicalExpression(N.parent)&&!(E.isOptionalChain(N.parent)&&N.parent.expression===N)}function doWithConditionalBranches(E,N,R,j){var $=Me;var q=Le;Me=R;Le=j;E(N);Me=$;Le=q}function bindCondition(N,R,j){doWithConditionalBranches(bind,N,R,j);if(!N||!isLogicalAssignmentExpression(N)&&!isLogicalExpression(N)&&!(E.isOptionalChain(N)&&E.isOutermostOptionalChain(N))){addAntecedent(R,createFlowCondition(32,Te,N));addAntecedent(j,createFlowCondition(64,Te,N))}}function bindIterativeStatement(E,N,R){var j=we;var $=Ie;we=N;Ie=R;bind(E);we=j;Ie=$}function setContinueTarget(E,N){var R=Ue;while(R&&E.parent.kind===248){R.continueTarget=N;R=R.next;E=E.parent}return N}function bindWhileStatement(E){var N=setContinueTarget(E,createLoopLabel());var R=createBranchLabel();var j=createBranchLabel();addAntecedent(N,Te);Te=N;bindCondition(E.expression,R,j);Te=finishFlowLabel(R);bindIterativeStatement(E.statement,j,N);addAntecedent(N,Te);Te=finishFlowLabel(j)}function bindDoStatement(E){var N=createLoopLabel();var R=setContinueTarget(E,createBranchLabel());var j=createBranchLabel();addAntecedent(N,Te);Te=N;bindIterativeStatement(E.statement,j,R);addAntecedent(R,Te);Te=finishFlowLabel(R);bindCondition(E.expression,N,j);Te=finishFlowLabel(j)}function bindForStatement(E){var N=setContinueTarget(E,createLoopLabel());var R=createBranchLabel();var j=createBranchLabel();bind(E.initializer);addAntecedent(N,Te);Te=N;bindCondition(E.condition,R,j);Te=finishFlowLabel(R);bindIterativeStatement(E.statement,j,N);bind(E.incrementor);addAntecedent(N,Te);Te=finishFlowLabel(j)}function bindForInOrForOfStatement(E){var N=setContinueTarget(E,createLoopLabel());var R=createBranchLabel();bind(E.expression);addAntecedent(N,Te);Te=N;if(E.kind===242){bind(E.awaitModifier)}addAntecedent(R,Te);bind(E.initializer);if(E.initializer.kind!==253){bindAssignmentTargetFlow(E.initializer)}bindIterativeStatement(E.statement,R,N);addAntecedent(N,Te);Te=finishFlowLabel(R)}function bindIfStatement(E){var N=createBranchLabel();var R=createBranchLabel();var j=createBranchLabel();bindCondition(E.expression,N,R);Te=finishFlowLabel(N);bind(E.thenStatement);addAntecedent(j,Te);Te=finishFlowLabel(R);bind(E.elseStatement);addAntecedent(j,Te);Te=finishFlowLabel(j)}function bindReturnOrThrow(E){bind(E.expression);if(E.kind===245){ze=true;if(Ne){addAntecedent(Ne,Te)}}Te=Ke}function findActiveLabel(E){for(var N=Ue;N;N=N.next){if(N.name===E){return N}}return undefined}function bindBreakOrContinueFlow(E,N,R){var j=E.kind===244?N:R;if(j){addAntecedent(j,Te);Te=Ke}}function bindBreakOrContinueStatement(E){bind(E.label);if(E.label){var N=findActiveLabel(E.label.escapedText);if(N){N.referenced=true;bindBreakOrContinueFlow(E,N.breakTarget,N.continueTarget)}}else{bindBreakOrContinueFlow(E,we,Ie)}}function bindTryStatement(N){var R=Ne;var j=Be;var $=createBranchLabel();var q=createBranchLabel();var G=createBranchLabel();if(N.finallyBlock){Ne=q}addAntecedent(G,Te);Be=G;bind(N.tryBlock);addAntecedent($,Te);if(N.catchClause){Te=finishFlowLabel(G);G=createBranchLabel();addAntecedent(G,Te);Be=G;bind(N.catchClause);addAntecedent($,Te)}Ne=R;Be=j;if(N.finallyBlock){var ie=createBranchLabel();ie.antecedents=E.concatenate(E.concatenate($.antecedents,G.antecedents),q.antecedents);Te=ie;bind(N.finallyBlock);if(Te.flags&1){Te=Ke}else{if(Ne&&q.antecedents){addAntecedent(Ne,createReduceLabel(ie,q.antecedents,Te))}if(Be&&G.antecedents){addAntecedent(Be,createReduceLabel(ie,G.antecedents,Te))}Te=$.antecedents?createReduceLabel(ie,$.antecedents,Te):Ke}}else{Te=finishFlowLabel($)}}function bindSwitchStatement(N){var R=createBranchLabel();bind(N.expression);var j=we;var $=je;we=R;je=Te;bind(N.caseBlock);addAntecedent(R,Te);var q=E.forEach(N.caseBlock.clauses,(function(E){return E.kind===288}));N.possiblyExhaustive=!q&&!R.antecedents;if(!q){addAntecedent(R,createFlowSwitchClause(je,N,0,0))}we=j;je=$;Te=finishFlowLabel(R)}function bindCaseBlock(E){var N=E.clauses;var j=isNarrowingExpression(E.parent.expression);var $=Ke;for(var q=0;q<N.length;q++){var G=q;while(!N[q].statements.length&&q+1<N.length){bind(N[q]);q++}var ie=createBranchLabel();addAntecedent(ie,j?createFlowSwitchClause(je,E.parent,G,q+1):je);addAntecedent(ie,$);Te=finishFlowLabel(ie);var ae=N[q];bind(ae);$=Te;if(!(Te.flags&1)&&q!==N.length-1&&R.noFallthroughCasesInSwitch){ae.fallthroughFlowNode=Te}}}function bindCaseClause(E){var N=Te;Te=je;bind(E.expression);Te=N;bindEach(E.statements)}function bindExpressionStatement(E){bind(E.expression);maybeBindExpressionFlowIfCall(E.expression)}function maybeBindExpressionFlowIfCall(N){if(N.kind===206){var R=N;if(R.expression.kind!==106&&E.isDottedName(R.expression)){Te=createFlowCall(Te,R)}}}function bindLabeledStatement(N){var j=createBranchLabel();Ue={next:Ue,name:N.label.escapedText,breakTarget:j,continueTarget:undefined,referenced:false};bind(N.label);bind(N.statement);if(!Ue.referenced&&!R.allowUnusedLabels){errorOrSuggestionOnNode(E.unusedLabelIsError(R),N.label,E.Diagnostics.Unused_label)}Ue=Ue.next;addAntecedent(j,Te);Te=finishFlowLabel(j)}function bindDestructuringTargetFlow(E){if(E.kind===219&&E.operatorToken.kind===63){bindAssignmentTargetFlow(E.left)}else{bindAssignmentTargetFlow(E)}}function bindAssignmentTargetFlow(E){if(isNarrowableReference(E)){Te=createFlowMutation(16,Te,E)}else if(E.kind===202){for(var N=0,R=E.elements;N<R.length;N++){var j=R[N];if(j.kind===223){bindAssignmentTargetFlow(j.expression)}else{bindDestructuringTargetFlow(j)}}}else if(E.kind===203){for(var $=0,q=E.properties;$<q.length;$++){var G=q[$];if(G.kind===291){bindDestructuringTargetFlow(G.initializer)}else if(G.kind===292){bindAssignmentTargetFlow(G.name)}else if(G.kind===293){bindAssignmentTargetFlow(G.expression)}}}}function bindLogicalLikeExpression(N,R,j){var $=createBranchLabel();if(N.operatorToken.kind===55||N.operatorToken.kind===76){bindCondition(N.left,$,j)}else{bindCondition(N.left,R,$)}Te=finishFlowLabel($);bind(N.operatorToken);if(E.isLogicalOrCoalescingAssignmentOperator(N.operatorToken.kind)){doWithConditionalBranches(bind,N.right,R,j);bindAssignmentTargetFlow(N.left);addAntecedent(R,createFlowCondition(32,Te,N));addAntecedent(j,createFlowCondition(64,Te,N))}else{bindCondition(N.right,R,j)}}function bindPrefixUnaryExpressionFlow(E){if(E.operator===53){var N=Me;Me=Le;Le=N;bindEachChild(E);Le=Me;Me=N}else{bindEachChild(E);if(E.operator===45||E.operator===46){bindAssignmentTargetFlow(E.operand)}}}function bindPostfixUnaryExpressionFlow(E){bindEachChild(E);if(E.operator===45||E.operator===46){bindAssignmentTargetFlow(E.operand)}}function bindDestructuringAssignmentFlow(E){if(Ve){Ve=false;bind(E.operatorToken);bind(E.right);Ve=true;bind(E.left)}else{Ve=true;bind(E.left);Ve=false;bind(E.operatorToken);bind(E.right)}bindAssignmentTargetFlow(E.left)}function createBindBinaryExpressionFlow(){return E.createBinaryExpressionTrampoline(onEnter,onLeft,onOperator,onRight,onExit,undefined);function onEnter(N,R){if(R){R.stackIndex++;E.setParent(N,G);var j=Je;bindWorker(N);var $=G;G=N;R.skip=false;R.inStrictModeStack[R.stackIndex]=j;R.parentStack[R.stackIndex]=$}else{R={stackIndex:0,skip:false,inStrictModeStack:[undefined],parentStack:[undefined]}}var q=N.operatorToken.kind;if(q===55||q===56||q===60||E.isLogicalOrCoalescingAssignmentOperator(q)){if(isTopLevelLogicalExpression(N)){var ie=createBranchLabel();bindLogicalLikeExpression(N,ie,ie);Te=finishFlowLabel(ie)}else{bindLogicalLikeExpression(N,Me,Le)}R.skip=true}return R}function onLeft(E,N,R){if(!N.skip){return maybeBind(E)}}function onOperator(E,N,R){if(!N.skip){if(E.kind===27){maybeBindExpressionFlowIfCall(R.left)}bind(E)}}function onRight(E,N,R){if(!N.skip){return maybeBind(E)}}function onExit(N,R){if(!R.skip){var j=N.operatorToken.kind;if(E.isAssignmentOperator(j)&&!E.isAssignmentTarget(N)){bindAssignmentTargetFlow(N.left);if(j===63&&N.left.kind===205){var $=N.left;if(isNarrowableOperand($.expression)){Te=createFlowMutation(256,Te,N)}}}}var q=R.inStrictModeStack[R.stackIndex];var ie=R.parentStack[R.stackIndex];if(q!==undefined){Je=q}if(ie!==undefined){G=ie}R.skip=false;R.stackIndex--}function maybeBind(N){if(N&&E.isBinaryExpression(N)&&!E.isDestructuringAssignment(N)){return N}bind(N)}}function bindDeleteExpressionFlow(E){bindEachChild(E);if(E.expression.kind===204){bindAssignmentTargetFlow(E.expression)}}function bindConditionalExpressionFlow(E){var N=createBranchLabel();var R=createBranchLabel();var j=createBranchLabel();bindCondition(E.condition,N,R);Te=finishFlowLabel(N);bind(E.questionToken);bind(E.whenTrue);addAntecedent(j,Te);Te=finishFlowLabel(R);bind(E.colonToken);bind(E.whenFalse);addAntecedent(j,Te);Te=finishFlowLabel(j)}function bindInitializedVariableFlow(N){var R=!E.isOmittedExpression(N)?N.name:undefined;if(E.isBindingPattern(R)){for(var j=0,$=R.elements;j<$.length;j++){var q=$[j];bindInitializedVariableFlow(q)}}else{Te=createFlowMutation(16,Te,N)}}function bindVariableDeclarationFlow(N){bindEachChild(N);if(N.initializer||E.isForInOrOfStatement(N.parent.parent)){bindInitializedVariableFlow(N)}}function bindBindingElementFlow(N){if(E.isBindingPattern(N.name)){bindEach(N.decorators);bindEach(N.modifiers);bind(N.dotDotDotToken);bind(N.propertyName);bind(N.initializer);bind(N.name)}else{bindEachChild(N)}}function bindJSDocTypeAlias(N){bind(N.tagName);if(N.kind!==334&&N.fullName){E.setParent(N.fullName,N);E.setParentRecursive(N.fullName,false)}if(typeof N.comment!=="string"){bindEach(N.comment)}}function bindJSDocClassTag(N){bindEachChild(N);var R=E.getHostSignatureFromJSDoc(N);if(R&&R.kind!==167){addDeclarationToSymbol(R.symbol,R,32)}}function bindOptionalExpression(N,R,j){doWithConditionalBranches(bind,N,R,j);if(!E.isOptionalChain(N)||E.isOutermostOptionalChain(N)){addAntecedent(R,createFlowCondition(32,Te,N));addAntecedent(j,createFlowCondition(64,Te,N))}}function bindOptionalChainRest(E){switch(E.kind){case 204:bind(E.questionDotToken);bind(E.name);break;case 205:bind(E.questionDotToken);bind(E.argumentExpression);break;case 206:bind(E.questionDotToken);bindEach(E.typeArguments);bindEach(E.arguments);break}}function bindOptionalChain(N,R,j){var $=E.isOptionalChainRoot(N)?createBranchLabel():undefined;bindOptionalExpression(N.expression,$||R,j);if($){Te=finishFlowLabel($)}doWithConditionalBranches(bindOptionalChainRest,N,R,j);if(E.isOutermostOptionalChain(N)){addAntecedent(R,createFlowCondition(32,Te,N));addAntecedent(j,createFlowCondition(64,Te,N))}}function bindOptionalChainFlow(E){if(isTopLevelLogicalExpression(E)){var N=createBranchLabel();bindOptionalChain(E,N,N);Te=finishFlowLabel(N)}else{bindOptionalChain(E,Me,Le)}}function bindNonNullExpressionFlow(N){if(E.isOptionalChain(N)){bindOptionalChainFlow(N)}else{bindEachChild(N)}}function bindAccessExpressionFlow(N){if(E.isOptionalChain(N)){bindOptionalChainFlow(N)}else{bindEachChild(N)}}function bindCallExpressionFlow(N){if(E.isOptionalChain(N)){bindOptionalChainFlow(N)}else{var R=E.skipParentheses(N.expression);if(R.kind===211||R.kind===212){bindEach(N.typeArguments);bindEach(N.arguments);bind(N.expression)}else{bindEachChild(N);if(N.expression.kind===106){Te=createFlowCall(Te,N)}}}if(N.expression.kind===204){var j=N.expression;if(E.isIdentifier(j.name)&&isNarrowableOperand(j.expression)&&E.isPushOrUnshiftIdentifier(j.name)){Te=createFlowMutation(256,Te,N)}}}function getContainerFlags(N){switch(N.kind){case 224:case 255:case 258:case 203:case 180:case 317:case 284:return 1;case 256:return 1|64;case 259:case 257:case 193:return 1|32;case 300:return 1|4|32;case 167:if(E.isObjectLiteralOrClassExpressionMethod(N)){return 1|4|32|8|128}case 169:case 254:case 166:case 170:case 171:case 172:case 318:case 312:case 177:case 173:case 174:case 178:case 168:return 1|4|32|8;case 211:case 212:return 1|4|32|8|16;case 260:return 4;case 165:return N.initializer?4:0;case 290:case 240:case 241:case 242:case 261:return 2;case 233:return E.isFunctionLike(N.parent)||E.isClassStaticBlockDeclaration(N.parent)?0:2}return 0}function addToContainerChain(E){if(le){le.nextContainer=E}le=E}function declareSymbolAndAddToSymbolTable(E,N,R){switch(ie.kind){case 259:return declareModuleMember(E,N,R);case 300:return declareSourceFileMember(E,N,R);case 224:case 255:return declareClassMember(E,N,R);case 258:return declareSymbol(ie.symbol.exports,ie.symbol,E,N,R);case 180:case 317:case 203:case 256:case 284:return declareSymbol(ie.symbol.members,ie.symbol,E,N,R);case 177:case 178:case 172:case 173:case 318:case 174:case 167:case 166:case 169:case 170:case 171:case 254:case 211:case 212:case 312:case 340:case 333:case 168:case 257:case 193:return declareSymbol(ie.locals,undefined,E,N,R)}}function declareClassMember(N,R,j){return E.isStatic(N)?declareSymbol(ie.symbol.exports,ie.symbol,N,R,j):declareSymbol(ie.symbol.members,ie.symbol,N,R,j)}function declareSourceFileMember(R,j,$){return E.isExternalModule(N)?declareModuleMember(R,j,$):declareSymbol(N.locals,undefined,R,j,$)}function hasExportDeclarations(N){var R=E.isSourceFile(N)?N:E.tryCast(N.body,E.isModuleBlock);return!!R&&R.statements.some((function(N){return E.isExportDeclaration(N)||E.isExportAssignment(N)}))}function setExportContextFlag(E){if(E.flags&8388608&&!hasExportDeclarations(E)){E.flags|=64}else{E.flags&=~64}}function bindModuleDeclaration(R){setExportContextFlag(R);if(E.isAmbientModule(R)){if(E.hasSyntacticModifier(R,1)){errorOnFirstToken(R,E.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible)}if(E.isModuleAugmentationExternal(R)){declareModuleSymbol(R)}else{var j=void 0;if(R.name.kind===10){var $=R.name.text;j=E.tryParsePattern($);if(j===undefined){errorOnFirstToken(R.name,E.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,$)}}var q=declareSymbolAndAddToSymbolTable(R,512,110735);N.patternAmbientModules=E.append(N.patternAmbientModules,j&&!E.isString(j)?{pattern:j,symbol:q}:undefined)}}else{var G=declareModuleSymbol(R);if(G!==0){var q=R.symbol;q.constEnumOnlyModule=!(q.flags&(16|32|256))&&G===2&&q.constEnumOnlyModule!==false}}}function declareModuleSymbol(E){var N=getModuleInstanceState(E);var R=N!==0;declareSymbolAndAddToSymbolTable(E,R?512:1024,R?110735:0);return N}function bindFunctionOrConstructorType(N){var R=createSymbol(131072,getDeclarationName(N));addDeclarationToSymbol(R,N,131072);var j=createSymbol(2048,"__type");addDeclarationToSymbol(j,N,2048);j.members=E.createSymbolTable();j.members.set(R.escapedName,R)}function bindObjectLiteralExpression(R){var j;(function(E){E[E["Property"]=1]="Property";E[E["Accessor"]=2]="Accessor"})(j||(j={}));if(Je&&!E.isAssignmentTarget(R)){var $=new E.Map;for(var q=0,G=R.properties;q<G.length;q++){var ie=G[q];if(ie.kind===293||ie.name.kind!==79){continue}var ae=ie.name;var ce=ie.kind===291||ie.kind===292||ie.kind===167?1:2;var le=$.get(ae.escapedText);if(!le){$.set(ae.escapedText,ce);continue}if(ce===1&&le===1){var _e=E.getErrorSpanForNode(N,ae);N.bindDiagnostics.push(E.createFileDiagnostic(N,_e.start,_e.length,E.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode))}}}return bindAnonymousDeclaration(R,4096,"__object")}function bindJsxAttributes(E){return bindAnonymousDeclaration(E,4096,"__jsxAttributes")}function bindJsxAttribute(E,N,R){return declareSymbolAndAddToSymbolTable(E,N,R)}function bindAnonymousDeclaration(E,N,R){var j=createSymbol(N,R);if(N&(8|106500)){j.parent=ie.symbol}addDeclarationToSymbol(j,E,N);return j}function bindBlockScopedDeclaration(N,R,j){switch(ce.kind){case 259:declareModuleMember(N,R,j);break;case 300:if(E.isExternalOrCommonJsModule(ie)){declareModuleMember(N,R,j);break}default:if(!ce.locals){ce.locals=E.createSymbolTable();addToContainerChain(ce)}declareSymbol(ce.locals,undefined,N,R,j)}}function delayedBindJSDocTypedefTag(){if(!_e){return}var R=ie;var j=le;var $=ce;var q=G;var ae=Te;for(var Ee=0,we=_e;Ee<we.length;Ee++){var Ie=we[Ee];var Ne=Ie.parent.parent;ie=E.findAncestor(Ne.parent,(function(E){return!!(getContainerFlags(E)&1)}))||N;ce=E.getEnclosingBlockScopeContainer(Ne)||N;Te=initFlowNode({flags:2});G=Ie;bind(Ie.typeExpression);var Me=E.getNameOfDeclaration(Ie);if((E.isJSDocEnumTag(Ie)||!Ie.fullName)&&Me&&E.isPropertyAccessEntityNameExpression(Me.parent)){var Le=isTopLevelNamespaceAssignment(Me.parent);if(Le){bindPotentiallyMissingNamespaces(N.symbol,Me.parent,Le,!!E.findAncestor(Me,(function(N){return E.isPropertyAccessExpression(N)&&N.name.escapedText==="prototype"})),false);var Be=ie;switch(E.getAssignmentDeclarationPropertyAccessKind(Me.parent)){case 1:case 2:if(!E.isExternalOrCommonJsModule(N)){ie=undefined}else{ie=N}break;case 4:ie=Me.parent.expression;break;case 3:ie=Me.parent.expression.name;break;case 5:ie=isExportsOrModuleExportsOrAlias(N,Me.parent.expression)?N:E.isPropertyAccessExpression(Me.parent.expression)?Me.parent.expression.name:Me.parent.expression;break;case 0:return E.Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}if(ie){declareModuleMember(Ie,524288,788968)}ie=Be}}else if(E.isJSDocEnumTag(Ie)||!Ie.fullName||Ie.fullName.kind===79){G=Ie.parent;bindBlockScopedDeclaration(Ie,524288,788968)}else{bind(Ie.fullName)}}ie=R;le=j;ce=$;G=q;Te=ae}function checkContextualIdentifier(R){if(!N.parseDiagnostics.length&&!(R.flags&8388608)&&!(R.flags&4194304)&&!E.isIdentifierName(R)){if(Je&&R.originalKeywordKind>=117&&R.originalKeywordKind<=125){N.bindDiagnostics.push(createDiagnosticForNode(R,getStrictModeIdentifierMessage(R),E.declarationNameToString(R)))}else if(R.originalKeywordKind===131){if(E.isExternalModule(N)&&E.isInTopLevelContext(R)){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,E.declarationNameToString(R)))}else if(R.flags&32768){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,E.declarationNameToString(R)))}}else if(R.originalKeywordKind===125&&R.flags&8192){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,E.declarationNameToString(R)))}}}function getStrictModeIdentifierMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function checkPrivateIdentifier(R){if(R.escapedText==="#constructor"){if(!N.parseDiagnostics.length){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.constructor_is_a_reserved_word,E.declarationNameToString(R)))}}}function checkStrictModeBinaryExpression(N){if(Je&&E.isLeftHandSideExpression(N.left)&&E.isAssignmentOperator(N.operatorToken.kind)){checkStrictModeEvalOrArguments(N,N.left)}}function checkStrictModeCatchClause(E){if(Je&&E.variableDeclaration){checkStrictModeEvalOrArguments(E,E.variableDeclaration.name)}}function checkStrictModeDeleteExpression(R){if(Je&&R.expression.kind===79){var j=E.getErrorSpanForNode(N,R.expression);N.bindDiagnostics.push(E.createFileDiagnostic(N,j.start,j.length,E.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function isEvalOrArgumentsIdentifier(N){return E.isIdentifier(N)&&(N.escapedText==="eval"||N.escapedText==="arguments")}function checkStrictModeEvalOrArguments(R,j){if(j&&j.kind===79){var $=j;if(isEvalOrArgumentsIdentifier($)){var q=E.getErrorSpanForNode(N,j);N.bindDiagnostics.push(E.createFileDiagnostic(N,q.start,q.length,getStrictModeEvalOrArgumentsMessage(R),E.idText($)))}}}function getStrictModeEvalOrArgumentsMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Invalid_use_of_0_in_strict_mode}function checkStrictModeFunctionName(E){if(Je){checkStrictModeEvalOrArguments(E,E.name)}}function getStrictModeBlockScopeFunctionDeclarationMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function checkStrictModeFunctionDeclaration(R){if(q<2){if(ce.kind!==300&&ce.kind!==259&&!E.isFunctionLikeOrClassStaticBlockDeclaration(ce)){var j=E.getErrorSpanForNode(N,R);N.bindDiagnostics.push(E.createFileDiagnostic(N,j.start,j.length,getStrictModeBlockScopeFunctionDeclarationMessage(R)))}}}function checkStrictModeNumericLiteral(R){if(Je&&R.numericLiteralFlags&32){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}}function checkStrictModePostfixUnaryExpression(E){if(Je){checkStrictModeEvalOrArguments(E,E.operand)}}function checkStrictModePrefixUnaryExpression(E){if(Je){if(E.operator===45||E.operator===46){checkStrictModeEvalOrArguments(E,E.operand)}}}function checkStrictModeWithStatement(N){if(Je){errorOnFirstToken(N,E.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}}function checkStrictModeLabeledStatement(N){if(Je&&R.target>=2){if(E.isDeclarationStatement(N.statement)||E.isVariableStatement(N.statement)){errorOnFirstToken(N.label,E.Diagnostics.A_label_is_not_allowed_here)}}}function errorOnFirstToken(R,j,$,q,G){var ie=E.getSpanOfTokenAtPosition(N,R.pos);N.bindDiagnostics.push(E.createFileDiagnostic(N,ie.start,ie.length,j,$,q,G))}function errorOrSuggestionOnNode(E,N,R){errorOrSuggestionOnRange(E,N,N,R)}function errorOrSuggestionOnRange(R,j,$,q){addErrorOrSuggestionDiagnostic(R,{pos:E.getTokenPosOfNode(j,N),end:$.end},q)}function addErrorOrSuggestionDiagnostic(R,j,q){var G=E.createFileDiagnostic(N,j.pos,j.end-j.pos,q);if(R){N.bindDiagnostics.push(G)}else{N.bindSuggestionDiagnostics=E.append(N.bindSuggestionDiagnostics,$($({},G),{category:E.DiagnosticCategory.Suggestion}))}}function bind(N){if(!N){return}E.setParent(N,G);var R=Je;bindWorker(N);if(N.kind>158){var j=G;G=N;var $=getContainerFlags(N);if($===0){bindChildren(N)}else{bindContainer(N,$)}G=j}else{var j=G;if(N.kind===1)G=N;bindJSDoc(N);G=j}Je=R}function bindJSDoc(N){if(E.hasJSDocNodes(N)){if(E.isInJSFile(N)){for(var R=0,j=N.jsDoc;R<j.length;R++){var $=j[R];bind($)}}else{for(var q=0,G=N.jsDoc;q<G.length;q++){var $=G[q];E.setParent($,N);E.setParentRecursive($,false)}}}}function updateStrictModeStatementList(N){if(!Je){for(var R=0,j=N;R<j.length;R++){var $=j[R];if(!E.isPrologueDirective($)){return}if(isUseStrictPrologueDirective($)){Je=true;return}}}}function isUseStrictPrologueDirective(R){var j=E.getSourceTextOfNodeFromSourceFile(N,R.expression);return j==='"use strict"'||j==="'use strict'"}function bindWorker(R){switch(R.kind){case 79:if(R.isInJSDocNamespace){var j=R.parent;while(j&&!E.isJSDocTypeAlias(j)){j=j.parent}bindBlockScopedDeclaration(j,524288,788968);break}case 108:if(Te&&(E.isExpression(R)||G.kind===292)){R.flowNode=Te}return checkContextualIdentifier(R);case 159:if(Te&&E.isPartOfTypeQuery(R)){R.flowNode=Te}break;case 229:case 106:R.flowNode=Te;break;case 80:return checkPrivateIdentifier(R);case 204:case 205:var $=R;if(Te&&isNarrowableReference($)){$.flowNode=Te}if(E.isSpecialPropertyDeclaration($)){bindSpecialPropertyDeclaration($)}if(E.isInJSFile($)&&N.commonJsModuleIndicator&&E.isModuleExportsAccessExpression($)&&!lookupSymbolForName(ce,"module")){declareSymbol(N.locals,undefined,$.expression,1|134217728,111550)}break;case 219:var q=E.getAssignmentDeclarationKind(R);switch(q){case 1:bindExportsPropertyAssignment(R);break;case 2:bindModuleExportsAssignment(R);break;case 3:bindPrototypePropertyAssignment(R.left,R);break;case 6:bindPrototypeAssignment(R);break;case 4:bindThisPropertyAssignment(R);break;case 5:var ie=R.left.expression;if(E.isInJSFile(R)&&E.isIdentifier(ie)){var ae=lookupSymbolForName(ce,ie.escapedText);if(E.isThisInitializedDeclaration(ae===null||ae===void 0?void 0:ae.valueDeclaration)){bindThisPropertyAssignment(R);break}}bindSpecialPropertyAssignment(R);break;case 0:break;default:E.Debug.fail("Unknown binary expression special property assignment kind")}return checkStrictModeBinaryExpression(R);case 290:return checkStrictModeCatchClause(R);case 213:return checkStrictModeDeleteExpression(R);case 8:return checkStrictModeNumericLiteral(R);case 218:return checkStrictModePostfixUnaryExpression(R);case 217:return checkStrictModePrefixUnaryExpression(R);case 246:return checkStrictModeWithStatement(R);case 248:return checkStrictModeLabeledStatement(R);case 190:Ee=true;return;case 175:break;case 161:return bindTypeParameter(R);case 162:return bindParameter(R);case 252:return bindVariableDeclarationOrBindingElement(R);case 201:R.flowNode=Te;return bindVariableDeclarationOrBindingElement(R);case 165:case 164:return bindPropertyWorker(R);case 291:case 292:return bindPropertyOrMethodOrAccessor(R,4,0);case 294:return bindPropertyOrMethodOrAccessor(R,8,900095);case 172:case 173:case 174:return declareSymbolAndAddToSymbolTable(R,131072,0);case 167:case 166:return bindPropertyOrMethodOrAccessor(R,8192|(R.questionToken?16777216:0),E.isObjectLiteralMethod(R)?0:103359);case 254:return bindFunctionDeclaration(R);case 169:return declareSymbolAndAddToSymbolTable(R,16384,0);case 170:return bindPropertyOrMethodOrAccessor(R,32768,46015);case 171:return bindPropertyOrMethodOrAccessor(R,65536,78783);case 177:case 312:case 318:case 178:return bindFunctionOrConstructorType(R);case 180:case 317:case 193:return bindAnonymousTypeWorker(R);case 327:return bindJSDocClassTag(R);case 203:return bindObjectLiteralExpression(R);case 211:case 212:return bindFunctionExpression(R);case 206:var le=E.getAssignmentDeclarationKind(R);switch(le){case 7:return bindObjectDefinePropertyAssignment(R);case 8:return bindObjectDefinePropertyExport(R);case 9:return bindObjectDefinePrototypeProperty(R);case 0:break;default:return E.Debug.fail("Unknown call expression assignment declaration kind")}if(E.isInJSFile(R)){bindCallExpression(R)}break;case 224:case 255:Je=true;return bindClassLikeDeclaration(R);case 256:return bindBlockScopedDeclaration(R,64,788872);case 257:return bindBlockScopedDeclaration(R,524288,788968);case 258:return bindEnumDeclaration(R);case 259:return bindModuleDeclaration(R);case 284:return bindJsxAttributes(R);case 283:return bindJsxAttribute(R,4,0);case 263:case 266:case 268:case 273:return declareSymbolAndAddToSymbolTable(R,2097152,2097152);case 262:return bindNamespaceExportDeclaration(R);case 265:return bindImportClause(R);case 270:return bindExportDeclaration(R);case 269:return bindExportAssignment(R);case 300:updateStrictModeStatementList(R.statements);return bindSourceFileIfExternalModule();case 233:if(!E.isFunctionLikeOrClassStaticBlockDeclaration(R.parent)){return}case 260:return updateStrictModeStatementList(R.statements);case 335:if(R.parent.kind===318){return bindParameter(R)}if(R.parent.kind!==317){break}case 342:var we=R;var Ie=we.isBracketed||we.typeExpression&&we.typeExpression.type.kind===311?4|16777216:4;return declareSymbolAndAddToSymbolTable(we,Ie,0);case 340:case 333:case 334:return(_e||(_e=[])).push(R)}}function bindPropertyWorker(E){return bindPropertyOrMethodOrAccessor(E,4|(E.questionToken?16777216:0),0)}function bindAnonymousTypeWorker(E){return bindAnonymousDeclaration(E,2048,"__type")}function bindSourceFileIfExternalModule(){setExportContextFlag(N);if(E.isExternalModule(N)){bindSourceFileAsExternalModule()}else if(E.isJsonSourceFile(N)){bindSourceFileAsExternalModule();var R=N.symbol;declareSymbol(N.symbol.exports,N.symbol,N,4,67108863);N.symbol=R}}function bindSourceFileAsExternalModule(){bindAnonymousDeclaration(N,512,'"'+E.removeFileExtension(N.fileName)+'"')}function bindExportAssignment(N){if(!ie.symbol||!ie.symbol.exports){bindAnonymousDeclaration(N,111551,getDeclarationName(N))}else{var R=E.exportAssignmentIsAlias(N)?2097152:4;var j=declareSymbol(ie.symbol.exports,ie.symbol,N,R,67108863);if(N.isExportEquals){E.setValueDeclaration(j,N)}}}function bindNamespaceExportDeclaration(R){if(R.modifiers&&R.modifiers.length){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Modifiers_cannot_appear_here))}var j=!E.isSourceFile(R.parent)?E.Diagnostics.Global_module_exports_may_only_appear_at_top_level:!E.isExternalModule(R.parent)?E.Diagnostics.Global_module_exports_may_only_appear_in_module_files:!R.parent.isDeclarationFile?E.Diagnostics.Global_module_exports_may_only_appear_in_declaration_files:undefined;if(j){N.bindDiagnostics.push(createDiagnosticForNode(R,j))}else{N.symbol.globalExports=N.symbol.globalExports||E.createSymbolTable();declareSymbol(N.symbol.globalExports,N.symbol,R,2097152,2097152)}}function bindExportDeclaration(N){if(!ie.symbol||!ie.symbol.exports){bindAnonymousDeclaration(N,8388608,getDeclarationName(N))}else if(!N.exportClause){declareSymbol(ie.symbol.exports,ie.symbol,N,8388608,0)}else if(E.isNamespaceExport(N.exportClause)){E.setParent(N.exportClause,N);declareSymbol(ie.symbol.exports,ie.symbol,N.exportClause,2097152,2097152)}}function bindImportClause(E){if(E.name){declareSymbolAndAddToSymbolTable(E,2097152,2097152)}}function setCommonJsModuleIndicator(E){if(N.externalModuleIndicator){return false}if(!N.commonJsModuleIndicator){N.commonJsModuleIndicator=E;bindSourceFileAsExternalModule()}return true}function bindObjectDefinePropertyExport(E){if(!setCommonJsModuleIndicator(E)){return}var N=forEachIdentifierInEntityName(E.arguments[0],undefined,(function(E,N){if(N){addDeclarationToSymbol(N,E,1536|67108864)}return N}));if(N){var R=4|1048576;declareSymbol(N.exports,N,E,R,0)}}function bindExportsPropertyAssignment(N){if(!setCommonJsModuleIndicator(N)){return}var R=forEachIdentifierInEntityName(N.left.expression,undefined,(function(E,N){if(N){addDeclarationToSymbol(N,E,1536|67108864)}return N}));if(R){var j=E.isAliasableExpression(N.right)&&(E.isExportsIdentifier(N.left.expression)||E.isModuleExportsAccessExpression(N.left.expression));var $=j?2097152:4|1048576;E.setParent(N.left,N);declareSymbol(R.exports,R,N.left,$,0)}}function bindModuleExportsAssignment(R){if(!setCommonJsModuleIndicator(R)){return}var j=E.getRightMostAssignedExpression(R.right);if(E.isEmptyObjectLiteral(j)||ie===N&&isExportsOrModuleExportsOrAlias(N,j)){return}if(E.isObjectLiteralExpression(j)&&E.every(j.properties,E.isShorthandPropertyAssignment)){E.forEach(j.properties,bindExportAssignedObjectMemberAlias);return}var $=E.exportAssignmentIsAlias(R)?2097152:4|1048576|512;var q=declareSymbol(N.symbol.exports,N.symbol,R,$|67108864,0);E.setValueDeclaration(q,R)}function bindExportAssignedObjectMemberAlias(E){declareSymbol(N.symbol.exports,N.symbol,E,2097152|67108864,0)}function bindThisPropertyAssignment(N){E.Debug.assert(E.isInJSFile(N));var R=E.isBinaryExpression(N)&&E.isPropertyAccessExpression(N.left)&&E.isPrivateIdentifier(N.left.name)||E.isPropertyAccessExpression(N)&&E.isPrivateIdentifier(N.name);if(R){return}var j=E.getThisContainer(N,false);switch(j.kind){case 254:case 211:var $=j.symbol;if(E.isBinaryExpression(j.parent)&&j.parent.operatorToken.kind===63){var q=j.parent.left;if(E.isBindableStaticAccessExpression(q)&&E.isPrototypeAccess(q.expression)){$=lookupSymbolForPropertyAccess(q.expression.expression,ae)}}if($&&$.valueDeclaration){$.members=$.members||E.createSymbolTable();if(E.hasDynamicName(N)){bindDynamicallyNamedThisPropertyAssignment(N,$,$.members)}else{declareSymbol($.members,$,N,4|67108864,0&~4)}addDeclarationToSymbol($,$.valueDeclaration,32)}break;case 169:case 165:case 167:case 170:case 171:var G=j.parent;var ie=E.isStatic(j)?G.symbol.exports:G.symbol.members;if(E.hasDynamicName(N)){bindDynamicallyNamedThisPropertyAssignment(N,G.symbol,ie)}else{declareSymbol(ie,G.symbol,N,4|67108864,0,true)}break;case 300:if(E.hasDynamicName(N)){break}else if(j.commonJsModuleIndicator){declareSymbol(j.symbol.exports,j.symbol,N,4|1048576,0)}else{declareSymbolAndAddToSymbolTable(N,1,111550)}break;default:E.Debug.failBadSyntaxKind(j)}}function bindDynamicallyNamedThisPropertyAssignment(E,N,R){declareSymbol(R,N,E,4,0,true,true);addLateBoundAssignmentDeclarationToSymbol(E,N)}function addLateBoundAssignmentDeclarationToSymbol(N,R){if(R){(R.assignmentDeclarationMembers||(R.assignmentDeclarationMembers=new E.Map)).set(E.getNodeId(N),N)}}function bindSpecialPropertyDeclaration(N){if(N.expression.kind===108){bindThisPropertyAssignment(N)}else if(E.isBindableStaticAccessExpression(N)&&N.parent.parent.kind===300){if(E.isPrototypeAccess(N.expression)){bindPrototypePropertyAssignment(N,N.parent)}else{bindStaticPropertyAssignment(N)}}}function bindPrototypeAssignment(N){E.setParent(N.left,N);E.setParent(N.right,N);bindPropertyAssignment(N.left.expression,N.left,false,true)}function bindObjectDefinePrototypeProperty(E){var N=lookupSymbolForPropertyAccess(E.arguments[0].expression);if(N&&N.valueDeclaration){addDeclarationToSymbol(N,N.valueDeclaration,32)}bindPotentiallyNewExpandoMemberToNamespace(E,N,true)}function bindPrototypePropertyAssignment(N,R){var j=N.expression;var $=j.expression;E.setParent($,j);E.setParent(j,N);E.setParent(N,R);bindPropertyAssignment($,N,true,true)}function bindObjectDefinePropertyAssignment(E){var N=lookupSymbolForPropertyAccess(E.arguments[0]);var R=E.parent.parent.kind===300;N=bindPotentiallyMissingNamespaces(N,E.arguments[0],R,false,false);bindPotentiallyNewExpandoMemberToNamespace(E,N,false)}function bindSpecialPropertyAssignment(R){var j;var $=lookupSymbolForPropertyAccess(R.left.expression,ie)||lookupSymbolForPropertyAccess(R.left.expression,ce);if(!E.isInJSFile(R)&&!E.isFunctionSymbol($)){return}var q=E.getLeftmostAccessExpression(R.left);if(E.isIdentifier(q)&&((j=lookupSymbolForName(ie,q.escapedText))===null||j===void 0?void 0:j.flags)&2097152){return}E.setParent(R.left,R);E.setParent(R.right,R);if(E.isIdentifier(R.left.expression)&&ie===N&&isExportsOrModuleExportsOrAlias(N,R.left.expression)){bindExportsPropertyAssignment(R)}else if(E.hasDynamicName(R)){bindAnonymousDeclaration(R,4|67108864,"__computed");var G=bindPotentiallyMissingNamespaces($,R.left.expression,isTopLevelNamespaceAssignment(R.left),false,false);addLateBoundAssignmentDeclarationToSymbol(R,G)}else{bindStaticPropertyAssignment(E.cast(R.left,E.isBindableStaticNameExpression))}}function bindStaticPropertyAssignment(N){E.Debug.assert(!E.isIdentifier(N));E.setParent(N.expression,N);bindPropertyAssignment(N.expression,N,false,false)}function bindPotentiallyMissingNamespaces(R,j,$,q,G){if((R===null||R===void 0?void 0:R.flags)&2097152){return R}if($&&!q){var ie=1536|67108864;var ae=110735&~67108864;R=forEachIdentifierInEntityName(j,R,(function(R,j,$){if(j){addDeclarationToSymbol(j,R,ie);return j}else{var q=$?$.exports:N.jsGlobalAugmentations||(N.jsGlobalAugmentations=E.createSymbolTable());return declareSymbol(q,$,R,ie,ae)}}))}if(G&&R&&R.valueDeclaration){addDeclarationToSymbol(R,R.valueDeclaration,32)}return R}function bindPotentiallyNewExpandoMemberToNamespace(N,R,j){if(!R||!isExpandoSymbol(R)){return}var $=j?R.members||(R.members=E.createSymbolTable()):R.exports||(R.exports=E.createSymbolTable());var q=0;var G=0;if(E.isFunctionLikeDeclaration(E.getAssignedExpandoInitializer(N))){q=8192;G=103359}else if(E.isCallExpression(N)&&E.isBindableObjectDefinePropertyCall(N)){if(E.some(N.arguments[2].properties,(function(N){var R=E.getNameOfDeclaration(N);return!!R&&E.isIdentifier(R)&&E.idText(R)==="set"}))){q|=65536|4;G|=78783}if(E.some(N.arguments[2].properties,(function(N){var R=E.getNameOfDeclaration(N);return!!R&&E.isIdentifier(R)&&E.idText(R)==="get"}))){q|=32768|4;G|=46015}}if(q===0){q=4;G=0}declareSymbol($,R,N,q|67108864,G&~67108864)}function isTopLevelNamespaceAssignment(N){return E.isBinaryExpression(N.parent)?getParentOfBinaryExpression(N.parent).parent.kind===300:N.parent.parent.kind===300}function bindPropertyAssignment(E,N,R,j){var $=lookupSymbolForPropertyAccess(E,ie)||lookupSymbolForPropertyAccess(E,ce);var q=isTopLevelNamespaceAssignment(N);$=bindPotentiallyMissingNamespaces($,N.expression,q,R,j);bindPotentiallyNewExpandoMemberToNamespace(N,$,R)}function isExpandoSymbol(N){if(N.flags&(16|32|1024)){return true}var R=N.valueDeclaration;if(R&&E.isCallExpression(R)){return!!E.getAssignedExpandoInitializer(R)}var j=!R?undefined:E.isVariableDeclaration(R)?R.initializer:E.isBinaryExpression(R)?R.right:E.isPropertyAccessExpression(R)&&E.isBinaryExpression(R.parent)?R.parent.right:undefined;j=j&&E.getRightMostAssignedExpression(j);if(j){var $=E.isPrototypeAccess(E.isVariableDeclaration(R)?R.name:E.isBinaryExpression(R)?R.left:R);return!!E.getExpandoInitializer(E.isBinaryExpression(j)&&(j.operatorToken.kind===56||j.operatorToken.kind===60)?j.right:j,$)}return false}function getParentOfBinaryExpression(N){while(E.isBinaryExpression(N.parent)){N=N.parent}return N.parent}function lookupSymbolForPropertyAccess(N,R){if(R===void 0){R=ie}if(E.isIdentifier(N)){return lookupSymbolForName(R,N.escapedText)}else{var j=lookupSymbolForPropertyAccess(N.expression);return j&&j.exports&&j.exports.get(E.getElementOrPropertyAccessName(N))}}function forEachIdentifierInEntityName(R,j,$){if(isExportsOrModuleExportsOrAlias(N,R)){return N.symbol}else if(E.isIdentifier(R)){return $(R,lookupSymbolForPropertyAccess(R),j)}else{var q=forEachIdentifierInEntityName(R.expression,j,$);var G=E.getNameOrArgument(R);if(E.isPrivateIdentifier(G)){E.Debug.fail("unexpected PrivateIdentifier")}return $(G,q&&q.exports&&q.exports.get(E.getElementOrPropertyAccessName(R)),q)}}function bindCallExpression(R){if(!N.commonJsModuleIndicator&&E.isRequireCall(R,false)){setCommonJsModuleIndicator(R)}}function bindClassLikeDeclaration(R){if(R.kind===255){bindBlockScopedDeclaration(R,32,899503)}else{var j=R.name?R.name.escapedText:"__class";bindAnonymousDeclaration(R,32,j);if(R.name){Ge.add(R.name.escapedText)}}var $=R.symbol;var q=createSymbol(4|4194304,"prototype");var G=$.exports.get(q.escapedName);if(G){if(R.name){E.setParent(R.name,R)}N.bindDiagnostics.push(createDiagnosticForNode(G.declarations[0],E.Diagnostics.Duplicate_identifier_0,E.symbolName(q)))}$.exports.set(q.escapedName,q);q.parent=$}function bindEnumDeclaration(N){return E.isEnumConst(N)?bindBlockScopedDeclaration(N,128,899967):bindBlockScopedDeclaration(N,256,899327)}function bindVariableDeclarationOrBindingElement(N){if(Je){checkStrictModeEvalOrArguments(N,N.name)}if(!E.isBindingPattern(N.name)){if(E.isInJSFile(N)&&E.isRequireVariableDeclaration(N)&&!E.getJSDocTypeTag(N)){declareSymbolAndAddToSymbolTable(N,2097152,2097152)}else if(E.isBlockOrCatchScoped(N)){bindBlockScopedDeclaration(N,2,111551)}else if(E.isParameterDeclaration(N)){declareSymbolAndAddToSymbolTable(N,1,111551)}else{declareSymbolAndAddToSymbolTable(N,1,111550)}}}function bindParameter(N){if(N.kind===335&&ie.kind!==318){return}if(Je&&!(N.flags&8388608)){checkStrictModeEvalOrArguments(N,N.name)}if(E.isBindingPattern(N.name)){bindAnonymousDeclaration(N,1,"__"+N.parent.parameters.indexOf(N))}else{declareSymbolAndAddToSymbolTable(N,1,111551)}if(E.isParameterPropertyDeclaration(N,N.parent)){var R=N.parent.parent;declareSymbol(R.symbol.members,R.symbol,N,4|(N.questionToken?16777216:0),0)}}function bindFunctionDeclaration(R){if(!N.isDeclarationFile&&!(R.flags&8388608)){if(E.isAsyncFunction(R)){We|=2048}}checkStrictModeFunctionName(R);if(Je){checkStrictModeFunctionDeclaration(R);bindBlockScopedDeclaration(R,16,110991)}else{declareSymbolAndAddToSymbolTable(R,16,110991)}}function bindFunctionExpression(R){if(!N.isDeclarationFile&&!(R.flags&8388608)){if(E.isAsyncFunction(R)){We|=2048}}if(Te){R.flowNode=Te}checkStrictModeFunctionName(R);var j=R.name?R.name.escapedText:"__function";return bindAnonymousDeclaration(R,16,j)}function bindPropertyOrMethodOrAccessor(R,j,$){if(!N.isDeclarationFile&&!(R.flags&8388608)&&E.isAsyncFunction(R)){We|=2048}if(Te&&E.isObjectLiteralOrClassExpressionMethod(R)){R.flowNode=Te}return E.hasDynamicName(R)?bindAnonymousDeclaration(R,j,"__computed"):declareSymbolAndAddToSymbolTable(R,j,$)}function getInferTypeContainer(N){var R=E.findAncestor(N,(function(N){return N.parent&&E.isConditionalTypeNode(N.parent)&&N.parent.extendsType===N}));return R&&R.parent}function bindTypeParameter(N){if(E.isJSDocTemplateTag(N.parent)){var R=E.find(N.parent.parent.tags,E.isJSDocTypeAlias)||E.getHostSignatureFromJSDoc(N.parent);if(R){if(!R.locals){R.locals=E.createSymbolTable()}declareSymbol(R.locals,undefined,N,262144,526824)}else{declareSymbolAndAddToSymbolTable(N,262144,526824)}}else if(N.parent.kind===188){var j=getInferTypeContainer(N.parent);if(j){if(!j.locals){j.locals=E.createSymbolTable()}declareSymbol(j.locals,undefined,N,262144,526824)}else{bindAnonymousDeclaration(N,262144,getDeclarationName(N))}}else{declareSymbolAndAddToSymbolTable(N,262144,526824)}}function shouldReportErrorOnModuleDeclaration(N){var j=getModuleInstanceState(N);return j===1||j===2&&E.shouldPreserveConstEnums(R)}function checkUnreachable(N){if(!(Te.flags&1)){return false}if(Te===Ke){var j=E.isStatementButNotDeclaration(N)&&N.kind!==234||N.kind===255||N.kind===259&&shouldReportErrorOnModuleDeclaration(N);if(j){Te=Qe;if(!R.allowUnreachableCode){var $=E.unreachableCodeIsError(R)&&!(N.flags&8388608)&&(!E.isVariableStatement(N)||!!(E.getCombinedNodeFlags(N.declarationList)&3)||N.declarationList.declarations.some((function(E){return!!E.initializer})));eachUnreachableRange(N,(function(N,R){return errorOrSuggestionOnRange($,N,R,E.Diagnostics.Unreachable_code_detected)}))}}}return true}}function eachUnreachableRange(N,R){if(E.isStatement(N)&&isExecutableStatement(N)&&E.isBlock(N.parent)){var j=N.parent.statements;var $=E.sliceAfter(j,N);E.getRangesWhere($,isExecutableStatement,(function(E,N){return R($[E],$[N-1])}))}else{R(N,N)}}function isExecutableStatement(N){return!E.isFunctionDeclaration(N)&&!isPurelyTypeDeclaration(N)&&!E.isEnumDeclaration(N)&&!(E.isVariableStatement(N)&&!(E.getCombinedNodeFlags(N)&(1|2))&&N.declarationList.declarations.some((function(E){return!E.initializer})))}function isPurelyTypeDeclaration(N){switch(N.kind){case 256:case 257:return true;case 259:return getModuleInstanceState(N)!==1;case 258:return E.hasSyntacticModifier(N,2048);default:return false}}function isExportsOrModuleExportsOrAlias(N,R){var j=0;var $=[R];while($.length&&j<100){j++;R=$.shift();if(E.isExportsIdentifier(R)||E.isModuleExportsAccessExpression(R)){return true}else if(E.isIdentifier(R)){var q=lookupSymbolForName(N,R.escapedText);if(!!q&&!!q.valueDeclaration&&E.isVariableDeclaration(q.valueDeclaration)&&!!q.valueDeclaration.initializer){var G=q.valueDeclaration.initializer;$.push(G);if(E.isAssignmentExpression(G,true)){$.push(G.left);$.push(G.right)}}}}return false}E.isExportsOrModuleExportsOrAlias=isExportsOrModuleExportsOrAlias;function lookupSymbolForName(N,R){var j=N.locals&&N.locals.get(R);if(j){return j.exportSymbol||j}if(E.isSourceFile(N)&&N.jsGlobalAugmentations&&N.jsGlobalAugmentations.has(R)){return N.jsGlobalAugmentations.get(R)}return N.symbol&&N.symbol.exports&&N.symbol.exports.get(R)}})(ce||(ce={}));var ce;(function(E){function createGetSymbolWalker(N,R,j,$,q,G,ie,ae,ce,le){return getSymbolWalker;function getSymbolWalker(_e){if(_e===void 0){_e=function(){return true}}var Ee=[];var Te=[];return{walkType:function(N){try{visitType(N);return{visitedTypes:E.getOwnValues(Ee),visitedSymbols:E.getOwnValues(Te)}}finally{E.clear(Ee);E.clear(Te)}},walkSymbol:function(N){try{visitSymbol(N);return{visitedTypes:E.getOwnValues(Ee),visitedSymbols:E.getOwnValues(Te)}}finally{E.clear(Ee);E.clear(Te)}}};function visitType(E){if(!E){return}if(Ee[E.id]){return}Ee[E.id]=E;var N=visitSymbol(E.symbol);if(N)return;if(E.flags&524288){var R=E;var j=R.objectFlags;if(j&4){visitTypeReference(E)}if(j&32){visitMappedType(E)}if(j&(1|2)){visitInterfaceType(E)}if(j&(8|16)){visitObjectType(R)}}if(E.flags&262144){visitTypeParameter(E)}if(E.flags&3145728){visitUnionOrIntersectionType(E)}if(E.flags&4194304){visitIndexType(E)}if(E.flags&8388608){visitIndexedAccessType(E)}}function visitTypeReference(N){visitType(N.target);E.forEach(le(N),visitType)}function visitTypeParameter(E){visitType(ae(E))}function visitUnionOrIntersectionType(N){E.forEach(N.types,visitType)}function visitIndexType(E){visitType(E.type)}function visitIndexedAccessType(E){visitType(E.objectType);visitType(E.indexType);visitType(E.constraint)}function visitMappedType(E){visitType(E.typeParameter);visitType(E.constraintType);visitType(E.templateType);visitType(E.modifiersType)}function visitSignature($){var q=R($);if(q){visitType(q.type)}E.forEach($.typeParameters,visitType);for(var G=0,ie=$.parameters;G<ie.length;G++){var ae=ie[G];visitSymbol(ae)}visitType(N($));visitType(j($))}function visitInterfaceType(N){visitObjectType(N);E.forEach(N.typeParameters,visitType);E.forEach($(N),visitType);visitType(N.thisType)}function visitObjectType(E){var N=q(E);for(var R=0,j=N.indexInfos;R<j.length;R++){var $=j[R];visitType($.keyType);visitType($.type)}for(var G=0,ie=N.callSignatures;G<ie.length;G++){var ae=ie[G];visitSignature(ae)}for(var ce=0,le=N.constructSignatures;ce<le.length;ce++){var ae=le[ce];visitSignature(ae)}for(var _e=0,Ee=N.properties;_e<Ee.length;_e++){var Te=Ee[_e];visitSymbol(Te)}}function visitSymbol(N){if(!N){return false}var R=E.getSymbolId(N);if(Te[R]){return false}Te[R]=N;if(!_e(N)){return true}var j=G(N);visitType(j);if(N.exports){N.exports.forEach(visitSymbol)}E.forEach(N.declarations,(function(E){if(E.type&&E.type.kind===179){var N=E.type;var R=ie(ce(N.exprName));visitSymbol(R)}}));return false}}}E.createGetSymbolWalker=createGetSymbolWalker})(ce||(ce={}));var ce;(function(E){var N=/^".+"$/;var R="(anonymous)";var q=1;var ie=1;var ae=1;var ce=1;var le;(function(E){E[E["AllowsSyncIterablesFlag"]=1]="AllowsSyncIterablesFlag";E[E["AllowsAsyncIterablesFlag"]=2]="AllowsAsyncIterablesFlag";E[E["AllowsStringInputFlag"]=4]="AllowsStringInputFlag";E[E["ForOfFlag"]=8]="ForOfFlag";E[E["YieldStarFlag"]=16]="YieldStarFlag";E[E["SpreadFlag"]=32]="SpreadFlag";E[E["DestructuringFlag"]=64]="DestructuringFlag";E[E["PossiblyOutOfBounds"]=128]="PossiblyOutOfBounds";E[E["Element"]=1]="Element";E[E["Spread"]=33]="Spread";E[E["Destructuring"]=65]="Destructuring";E[E["ForOf"]=13]="ForOf";E[E["ForAwaitOf"]=15]="ForAwaitOf";E[E["YieldStar"]=17]="YieldStar";E[E["AsyncYieldStar"]=19]="AsyncYieldStar";E[E["GeneratorReturnType"]=1]="GeneratorReturnType";E[E["AsyncGeneratorReturnType"]=2]="AsyncGeneratorReturnType"})(le||(le={}));var _e;(function(E){E[E["Yield"]=0]="Yield";E[E["Return"]=1]="Return";E[E["Next"]=2]="Next"})(_e||(_e={}));var Ee;(function(E){E[E["Normal"]=0]="Normal";E[E["FunctionReturn"]=1]="FunctionReturn";E[E["GeneratorNext"]=2]="GeneratorNext";E[E["GeneratorYield"]=3]="GeneratorYield"})(Ee||(Ee={}));var Te;(function(E){E[E["None"]=0]="None";E[E["TypeofEQString"]=1]="TypeofEQString";E[E["TypeofEQNumber"]=2]="TypeofEQNumber";E[E["TypeofEQBigInt"]=4]="TypeofEQBigInt";E[E["TypeofEQBoolean"]=8]="TypeofEQBoolean";E[E["TypeofEQSymbol"]=16]="TypeofEQSymbol";E[E["TypeofEQObject"]=32]="TypeofEQObject";E[E["TypeofEQFunction"]=64]="TypeofEQFunction";E[E["TypeofEQHostObject"]=128]="TypeofEQHostObject";E[E["TypeofNEString"]=256]="TypeofNEString";E[E["TypeofNENumber"]=512]="TypeofNENumber";E[E["TypeofNEBigInt"]=1024]="TypeofNEBigInt";E[E["TypeofNEBoolean"]=2048]="TypeofNEBoolean";E[E["TypeofNESymbol"]=4096]="TypeofNESymbol";E[E["TypeofNEObject"]=8192]="TypeofNEObject";E[E["TypeofNEFunction"]=16384]="TypeofNEFunction";E[E["TypeofNEHostObject"]=32768]="TypeofNEHostObject";E[E["EQUndefined"]=65536]="EQUndefined";E[E["EQNull"]=131072]="EQNull";E[E["EQUndefinedOrNull"]=262144]="EQUndefinedOrNull";E[E["NEUndefined"]=524288]="NEUndefined";E[E["NENull"]=1048576]="NENull";E[E["NEUndefinedOrNull"]=2097152]="NEUndefinedOrNull";E[E["Truthy"]=4194304]="Truthy";E[E["Falsy"]=8388608]="Falsy";E[E["All"]=16777215]="All";E[E["BaseStringStrictFacts"]=3735041]="BaseStringStrictFacts";E[E["BaseStringFacts"]=12582401]="BaseStringFacts";E[E["StringStrictFacts"]=16317953]="StringStrictFacts";E[E["StringFacts"]=16776705]="StringFacts";E[E["EmptyStringStrictFacts"]=12123649]="EmptyStringStrictFacts";E[E["EmptyStringFacts"]=12582401]="EmptyStringFacts";E[E["NonEmptyStringStrictFacts"]=7929345]="NonEmptyStringStrictFacts";E[E["NonEmptyStringFacts"]=16776705]="NonEmptyStringFacts";E[E["BaseNumberStrictFacts"]=3734786]="BaseNumberStrictFacts";E[E["BaseNumberFacts"]=12582146]="BaseNumberFacts";E[E["NumberStrictFacts"]=16317698]="NumberStrictFacts";E[E["NumberFacts"]=16776450]="NumberFacts";E[E["ZeroNumberStrictFacts"]=12123394]="ZeroNumberStrictFacts";E[E["ZeroNumberFacts"]=12582146]="ZeroNumberFacts";E[E["NonZeroNumberStrictFacts"]=7929090]="NonZeroNumberStrictFacts";E[E["NonZeroNumberFacts"]=16776450]="NonZeroNumberFacts";E[E["BaseBigIntStrictFacts"]=3734276]="BaseBigIntStrictFacts";E[E["BaseBigIntFacts"]=12581636]="BaseBigIntFacts";E[E["BigIntStrictFacts"]=16317188]="BigIntStrictFacts";E[E["BigIntFacts"]=16775940]="BigIntFacts";E[E["ZeroBigIntStrictFacts"]=12122884]="ZeroBigIntStrictFacts";E[E["ZeroBigIntFacts"]=12581636]="ZeroBigIntFacts";E[E["NonZeroBigIntStrictFacts"]=7928580]="NonZeroBigIntStrictFacts";E[E["NonZeroBigIntFacts"]=16775940]="NonZeroBigIntFacts";E[E["BaseBooleanStrictFacts"]=3733256]="BaseBooleanStrictFacts";E[E["BaseBooleanFacts"]=12580616]="BaseBooleanFacts";E[E["BooleanStrictFacts"]=16316168]="BooleanStrictFacts";E[E["BooleanFacts"]=16774920]="BooleanFacts";E[E["FalseStrictFacts"]=12121864]="FalseStrictFacts";E[E["FalseFacts"]=12580616]="FalseFacts";E[E["TrueStrictFacts"]=7927560]="TrueStrictFacts";E[E["TrueFacts"]=16774920]="TrueFacts";E[E["SymbolStrictFacts"]=7925520]="SymbolStrictFacts";E[E["SymbolFacts"]=16772880]="SymbolFacts";E[E["ObjectStrictFacts"]=7888800]="ObjectStrictFacts";E[E["ObjectFacts"]=16736160]="ObjectFacts";E[E["FunctionStrictFacts"]=7880640]="FunctionStrictFacts";E[E["FunctionFacts"]=16728e3]="FunctionFacts";E[E["UndefinedFacts"]=9830144]="UndefinedFacts";E[E["NullFacts"]=9363232]="NullFacts";E[E["EmptyObjectStrictFacts"]=16318463]="EmptyObjectStrictFacts";E[E["AllTypeofNE"]=556800]="AllTypeofNE";E[E["EmptyObjectFacts"]=16777215]="EmptyObjectFacts"})(Te||(Te={}));var we=new E.Map(E.getEntries({string:1,number:2,bigint:4,boolean:8,symbol:16,undefined:65536,object:32,function:64}));var Ie=new E.Map(E.getEntries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384}));var Ne;(function(E){E[E["Type"]=0]="Type";E[E["ResolvedBaseConstructorType"]=1]="ResolvedBaseConstructorType";E[E["DeclaredType"]=2]="DeclaredType";E[E["ResolvedReturnType"]=3]="ResolvedReturnType";E[E["ImmediateBaseConstraint"]=4]="ImmediateBaseConstraint";E[E["EnumTagType"]=5]="EnumTagType";E[E["ResolvedTypeArguments"]=6]="ResolvedTypeArguments";E[E["ResolvedBaseTypes"]=7]="ResolvedBaseTypes"})(Ne||(Ne={}));var Me;(function(E){E[E["Normal"]=0]="Normal";E[E["Contextual"]=1]="Contextual";E[E["Inferential"]=2]="Inferential";E[E["SkipContextSensitive"]=4]="SkipContextSensitive";E[E["SkipGenericFunctions"]=8]="SkipGenericFunctions";E[E["IsForSignatureHelp"]=16]="IsForSignatureHelp"})(Me||(Me={}));var Le;(function(E){E[E["BivariantCallback"]=1]="BivariantCallback";E[E["StrictCallback"]=2]="StrictCallback";E[E["IgnoreReturnTypes"]=4]="IgnoreReturnTypes";E[E["StrictArity"]=8]="StrictArity";E[E["Callback"]=3]="Callback"})(Le||(Le={}));var Be;(function(E){E[E["None"]=0]="None";E[E["Source"]=1]="Source";E[E["Target"]=2]="Target";E[E["PropertyCheck"]=4]="PropertyCheck";E[E["UnionIntersectionCheck"]=8]="UnionIntersectionCheck";E[E["InPropertyCheck"]=16]="InPropertyCheck"})(Be||(Be={}));var je;(function(E){E[E["IncludeReadonly"]=1]="IncludeReadonly";E[E["ExcludeReadonly"]=2]="ExcludeReadonly";E[E["IncludeOptional"]=4]="IncludeOptional";E[E["ExcludeOptional"]=8]="ExcludeOptional"})(je||(je={}));var Ue;(function(E){E[E["None"]=0]="None";E[E["Source"]=1]="Source";E[E["Target"]=2]="Target";E[E["Both"]=3]="Both"})(Ue||(Ue={}));var ze;(function(E){E["resolvedExports"]="resolvedExports";E["resolvedMembers"]="resolvedMembers"})(ze||(ze={}));var We;(function(E){E[E["Local"]=0]="Local";E[E["Parameter"]=1]="Parameter"})(We||(We={}));var Je=E.and(isNotOverload,isNotAccessor);var Ve;(function(E){E[E["GetAccessor"]=1]="GetAccessor";E[E["SetAccessor"]=2]="SetAccessor";E[E["PropertyAssignment"]=4]="PropertyAssignment";E[E["Method"]=8]="Method";E[E["PrivateStatic"]=16]="PrivateStatic";E[E["GetOrSetAccessor"]=3]="GetOrSetAccessor";E[E["PropertyAssignmentOrMethod"]=12]="PropertyAssignmentOrMethod"})(Ve||(Ve={}));var qe;(function(E){E[E["None"]=0]="None";E[E["ExportValue"]=1]="ExportValue";E[E["ExportType"]=2]="ExportType";E[E["ExportNamespace"]=4]="ExportNamespace"})(qe||(qe={}));var He;(function(E){E[E["None"]=0]="None";E[E["StrongArityForUntypedJS"]=1]="StrongArityForUntypedJS";E[E["VoidIsNonOptional"]=2]="VoidIsNonOptional"})(He||(He={}));var Ge;(function(E){E[E["Uppercase"]=0]="Uppercase";E[E["Lowercase"]=1]="Lowercase";E[E["Capitalize"]=2]="Capitalize";E[E["Uncapitalize"]=3]="Uncapitalize"})(Ge||(Ge={}));var Ke=new E.Map(E.getEntries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3}));function SymbolLinks(){}function NodeLinks(){this.flags=0}function getNodeId(E){if(!E.id){E.id=ie;ie++}return E.id}E.getNodeId=getNodeId;function getSymbolId(E){if(!E.id){E.id=q;q++}return E.id}E.getSymbolId=getSymbolId;function isInstantiatedModule(N,R){var j=E.getModuleInstanceState(N);return j===1||R&&j===2}E.isInstantiatedModule=isInstantiatedModule;function createTypeChecker(q,ie){var le=E.memoize((function(){var N=new E.Set;q.getSourceFiles().forEach((function(R){if(!R.resolvedModules)return;E.forEachEntry(R.resolvedModules,(function(E){if(E&&E.packageId)N.add(E.packageId.name)}))}));return N}));var _e;var Ee;var Te;var Ne=E.objectAllocator.getSymbolConstructor();var Me=E.objectAllocator.getTypeConstructor();var Le=E.objectAllocator.getSignatureConstructor();var Be=0;var je=0;var Ue=0;var ze=0;var We=0;var Ve=0;var qe;var He=E.createSymbolTable();var Ge=[1];var Xe=q.getCompilerOptions();var Ye=E.getEmitScriptTarget(Xe);var Ze=E.getEmitModuleKind(Xe);var et=E.getUseDefineForClassFields(Xe);var tt=E.getAllowSyntheticDefaultImports(Xe);var rt=E.getStrictOptionValue(Xe,"strictNullChecks");var nt=E.getStrictOptionValue(Xe,"strictFunctionTypes");var it=E.getStrictOptionValue(Xe,"strictBindCallApply");var ot=E.getStrictOptionValue(Xe,"strictPropertyInitialization");var st=E.getStrictOptionValue(Xe,"noImplicitAny");var ct=E.getStrictOptionValue(Xe,"noImplicitThis");var ut=E.getStrictOptionValue(Xe,"useUnknownInCatchVariables");var dt=!!Xe.keyofStringsOnly;var pt=Xe.suppressExcessPropertyErrors?0:16384;var ft=Xe.exactOptionalPropertyTypes;var mt=createCheckBinaryExpression();var ht=createResolver();var _t=createNodeBuilder();var yt=E.createSymbolTable();var vt=createSymbol(4,"undefined");vt.declarations=[];var bt=createSymbol(1536,"globalThis",8);bt.exports=yt;bt.declarations=[];yt.set(bt.escapedName,bt);var xt=createSymbol(4,"arguments");var St=createSymbol(4,"require");var Et;var Tt={getNodeCount:function(){return E.sum(q.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return E.sum(q.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return E.sum(q.getSourceFiles(),"symbolCount")+je},getTypeCount:function(){return Be},getInstantiationCount:function(){return ze},getRelationCacheSizes:function(){return{assignable:Pi.size,identity:Ii.size,subtype:Ai.size,strictSubtype:wi.size}},isUndefinedSymbol:function(E){return E===vt},isArgumentsSymbol:function(E){return E===xt},isUnknownSymbol:function(E){return E===jt},getMergedSymbol:getMergedSymbol,getDiagnostics:getDiagnostics,getGlobalDiagnostics:getGlobalDiagnostics,getRecursionIdentity:getRecursionIdentity,getUnmatchedProperties:getUnmatchedProperties,getTypeOfSymbolAtLocation:function(N,R){var j=E.getParseTreeNode(R);return j?getTypeOfSymbolAtLocation(N,j):Jt},getSymbolsOfParameterPropertyDeclaration:function(N,R){var j=E.getParseTreeNode(N,E.isParameter);if(j===undefined)return E.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node.");return getSymbolsOfParameterPropertyDeclaration(j,E.escapeLeadingUnderscores(R))},getDeclaredTypeOfSymbol:getDeclaredTypeOfSymbol,getPropertiesOfType:getPropertiesOfType,getPropertyOfType:function(N,R){return getPropertyOfType(N,E.escapeLeadingUnderscores(R))},getPrivateIdentifierPropertyOfType:function(N,R,j){var $=E.getParseTreeNode(j);if(!$){return undefined}var q=E.escapeLeadingUnderscores(R);var G=lookupSymbolForPrivateIdentifierDeclaration(q,$);return G?getPrivateIdentifierPropertyOfType(N,G):undefined},getTypeOfPropertyOfType:function(N,R){return getTypeOfPropertyOfType(N,E.escapeLeadingUnderscores(R))},getIndexInfoOfType:function(E,N){return getIndexInfoOfType(E,N===0?er:tr)},getIndexInfosOfType:getIndexInfosOfType,getSignaturesOfType:getSignaturesOfType,getIndexTypeOfType:function(E,N){return getIndexTypeOfType(E,N===0?er:tr)},getBaseTypes:getBaseTypes,getBaseTypeOfLiteralType:getBaseTypeOfLiteralType,getWidenedType:getWidenedType,getTypeFromTypeNode:function(N){var R=E.getParseTreeNode(N,E.isTypeNode);return R?getTypeFromTypeNode(R):Jt},getParameterType:getTypeAtPosition,getParameterIdentifierNameAtPosition:getParameterIdentifierNameAtPosition,getPromisedTypeOfPromise:getPromisedTypeOfPromise,getAwaitedType:function(E){return getAwaitedType(E)},getReturnTypeOfSignature:getReturnTypeOfSignature,isNullableType:isNullableType,getNullableType:getNullableType,getNonNullableType:getNonNullableType,getNonOptionalType:removeOptionalTypeMarker,getTypeArguments:getTypeArguments,typeToTypeNode:_t.typeToTypeNode,indexInfoToIndexSignatureDeclaration:_t.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:_t.signatureToSignatureDeclaration,symbolToEntityName:_t.symbolToEntityName,symbolToExpression:_t.symbolToExpression,symbolToTypeParameterDeclarations:_t.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:_t.symbolToParameterDeclaration,typeParameterToDeclaration:_t.typeParameterToDeclaration,getSymbolsInScope:function(N,R){var j=E.getParseTreeNode(N);return j?getSymbolsInScope(j,R):[]},getSymbolAtLocation:function(N){var R=E.getParseTreeNode(N);return R?getSymbolAtLocation(R,true):undefined},getIndexInfosAtLocation:function(N){var R=E.getParseTreeNode(N);return R?getIndexInfosAtLocation(R):undefined},getShorthandAssignmentValueSymbol:function(N){var R=E.getParseTreeNode(N);return R?getShorthandAssignmentValueSymbol(R):undefined},getExportSpecifierLocalTargetSymbol:function(N){var R=E.getParseTreeNode(N,E.isExportSpecifier);return R?getExportSpecifierLocalTargetSymbol(R):undefined},getExportSymbolOfSymbol:function(E){return getMergedSymbol(E.exportSymbol||E)},getTypeAtLocation:function(N){var R=E.getParseTreeNode(N);return R?getTypeOfNode(R):Jt},getTypeOfAssignmentPattern:function(N){var R=E.getParseTreeNode(N,E.isAssignmentPattern);return R&&getTypeOfAssignmentPattern(R)||Jt},getPropertySymbolOfDestructuringAssignment:function(N){var R=E.getParseTreeNode(N,E.isIdentifier);return R?getPropertySymbolOfDestructuringAssignment(R):undefined},signatureToString:function(N,R,j,$){return signatureToString(N,E.getParseTreeNode(R),j,$)},typeToString:function(N,R,j){return typeToString(N,E.getParseTreeNode(R),j)},symbolToString:function(N,R,j,$){return symbolToString(N,E.getParseTreeNode(R),j,$)},typePredicateToString:function(N,R,j){return typePredicateToString(N,E.getParseTreeNode(R),j)},writeSignature:function(N,R,j,$,q){return signatureToString(N,E.getParseTreeNode(R),j,$,q)},writeType:function(N,R,j,$){return typeToString(N,E.getParseTreeNode(R),j,$)},writeSymbol:function(N,R,j,$,q){return symbolToString(N,E.getParseTreeNode(R),j,$,q)},writeTypePredicate:function(N,R,j,$){return typePredicateToString(N,E.getParseTreeNode(R),j,$)},getAugmentedPropertiesOfType:getAugmentedPropertiesOfType,getRootSymbols:getRootSymbols,getSymbolOfExpando:getSymbolOfExpando,getContextualType:function(N,R){var j=E.getParseTreeNode(N,E.isExpression);if(!j){return undefined}var $=E.findAncestor(j,E.isCallLikeExpression);var q=$&&getNodeLinks($).resolvedSignature;if(R&4&&$){var G=j;do{getNodeLinks(G).skipDirectInference=true;G=G.parent}while(G&&G!==$);getNodeLinks($).resolvedSignature=undefined}var ie=getContextualType(j,R);if(R&4&&$){var G=j;do{getNodeLinks(G).skipDirectInference=undefined;G=G.parent}while(G&&G!==$);getNodeLinks($).resolvedSignature=q}return ie},getContextualTypeForObjectLiteralElement:function(N){var R=E.getParseTreeNode(N,E.isObjectLiteralElementLike);return R?getContextualTypeForObjectLiteralElement(R):undefined},getContextualTypeForArgumentAtIndex:function(N,R){var j=E.getParseTreeNode(N,E.isCallLikeExpression);return j&&getContextualTypeForArgumentAtIndex(j,R)},getContextualTypeForJsxAttribute:function(N){var R=E.getParseTreeNode(N,E.isJsxAttributeLike);return R&&getContextualTypeForJsxAttribute(R)},isContextSensitive:isContextSensitive,getTypeOfPropertyOfContextualType:getTypeOfPropertyOfContextualType,getFullyQualifiedName:getFullyQualifiedName,getResolvedSignature:function(E,N,R){return getResolvedSignatureWorker(E,N,R,0)},getResolvedSignatureForSignatureHelp:function(E,N,R){return getResolvedSignatureWorker(E,N,R,16)},getExpandedParameters:getExpandedParameters,hasEffectiveRestParameter:hasEffectiveRestParameter,containsArgumentsReference:containsArgumentsReference,getConstantValue:function(N){var R=E.getParseTreeNode(N,canHaveConstantValue);return R?getConstantValue(R):undefined},isValidPropertyAccess:function(N,R){var j=E.getParseTreeNode(N,E.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!j&&isValidPropertyAccess(j,E.escapeLeadingUnderscores(R))},isValidPropertyAccessForCompletions:function(N,R,j){var $=E.getParseTreeNode(N,E.isPropertyAccessExpression);return!!$&&isValidPropertyAccessForCompletions($,R,j)},getSignatureFromDeclaration:function(N){var R=E.getParseTreeNode(N,E.isFunctionLike);return R?getSignatureFromDeclaration(R):undefined},isImplementationOfOverload:function(N){var R=E.getParseTreeNode(N,E.isFunctionLike);return R?isImplementationOfOverload(R):undefined},getImmediateAliasedSymbol:getImmediateAliasedSymbol,getAliasedSymbol:resolveAlias,getEmitResolver:getEmitResolver,getExportsOfModule:getExportsOfModuleAsArray,getExportsAndPropertiesOfModule:getExportsAndPropertiesOfModule,forEachExportAndPropertyOfModule:forEachExportAndPropertyOfModule,getSymbolWalker:E.createGetSymbolWalker(getRestTypeOfSignature,getTypePredicateOfSignature,getReturnTypeOfSignature,getBaseTypes,resolveStructuredTypeMembers,getTypeOfSymbol,getResolvedSymbol,getConstraintOfTypeParameter,E.getFirstIdentifier,getTypeArguments),getAmbientModules:getAmbientModules,getJsxIntrinsicTagNamesAt:getJsxIntrinsicTagNamesAt,isOptionalParameter:function(N){var R=E.getParseTreeNode(N,E.isParameter);return R?isOptionalParameter(R):false},tryGetMemberInModuleExports:function(N,R){return tryGetMemberInModuleExports(E.escapeLeadingUnderscores(N),R)},tryGetMemberInModuleExportsAndProperties:function(N,R){return tryGetMemberInModuleExportsAndProperties(E.escapeLeadingUnderscores(N),R)},tryFindAmbientModule:function(E){return tryFindAmbientModule(E,true)},tryFindAmbientModuleWithoutAugmentations:function(E){return tryFindAmbientModule(E,false)},getApparentType:getApparentType,getUnionType:getUnionType,isTypeAssignableTo:isTypeAssignableTo,createAnonymousType:createAnonymousType,createSignature:createSignature,createSymbol:createSymbol,createIndexInfo:createIndexInfo,getAnyType:function(){return zt},getStringType:function(){return er},getNumberType:function(){return tr},createPromiseType:createPromiseType,createArrayType:createArrayType,getElementTypeOfArrayType:getElementTypeOfArrayType,getBooleanType:function(){return cr},getFalseType:function(E){return E?nr:ir},getTrueType:function(E){return E?ar:sr},getVoidType:function(){return ur},getUndefinedType:function(){return Gt},getNullType:function(){return Yt},getESSymbolType:function(){return lr},getNeverType:function(){return dr},getOptionalType:function(){return Qt},isSymbolAccessible:isSymbolAccessible,isArrayType:isArrayType,isTupleType:isTupleType,isArrayLikeType:isArrayLikeType,isTypeInvalidDueToUnionDiscriminant:isTypeInvalidDueToUnionDiscriminant,getAllPossiblePropertiesOfTypes:getAllPossiblePropertiesOfTypes,getSuggestedSymbolForNonexistentProperty:getSuggestedSymbolForNonexistentProperty,getSuggestionForNonexistentProperty:getSuggestionForNonexistentProperty,getSuggestedSymbolForNonexistentJSXAttribute:getSuggestedSymbolForNonexistentJSXAttribute,getSuggestedSymbolForNonexistentSymbol:function(N,R,j){return getSuggestedSymbolForNonexistentSymbol(N,E.escapeLeadingUnderscores(R),j)},getSuggestionForNonexistentSymbol:function(N,R,j){return getSuggestionForNonexistentSymbol(N,E.escapeLeadingUnderscores(R),j)},getSuggestedSymbolForNonexistentModule:getSuggestedSymbolForNonexistentModule,getSuggestionForNonexistentExport:getSuggestionForNonexistentExport,getSuggestedSymbolForNonexistentClassMember:getSuggestedSymbolForNonexistentClassMember,getBaseConstraintOfType:getBaseConstraintOfType,getDefaultFromTypeParameter:function(E){return E&&E.flags&262144?getDefaultFromTypeParameter(E):undefined},resolveName:function(N,R,j,$){return resolveName(R,E.escapeLeadingUnderscores(N),j,undefined,undefined,false,$)},getJsxNamespace:function(N){return E.unescapeLeadingUnderscores(getJsxNamespace(N))},getJsxFragmentFactory:function(N){var R=getJsxFragmentFactoryEntity(N);return R&&E.unescapeLeadingUnderscores(E.getFirstIdentifier(R).escapedText)},getAccessibleSymbolChain:getAccessibleSymbolChain,getTypePredicateOfSignature:getTypePredicateOfSignature,resolveExternalModuleName:function(N){var R=E.getParseTreeNode(N,E.isExpression);return R&&resolveExternalModuleName(R,R,true)},resolveExternalModuleSymbol:resolveExternalModuleSymbol,tryGetThisTypeAt:function(N,R){var j=E.getParseTreeNode(N);return j&&tryGetThisTypeAt(j,R)},getTypeArgumentConstraint:function(N){var R=E.getParseTreeNode(N,E.isTypeNode);return R&&getTypeArgumentConstraint(R)},getSuggestionDiagnostics:function(N,R){var j=E.getParseTreeNode(N,E.isSourceFile)||E.Debug.fail("Could not determine parsed source file.");if(E.skipTypeChecking(j,Xe,q)){return E.emptyArray}var G;try{_e=R;checkSourceFile(j);E.Debug.assert(!!(getNodeLinks(j).flags&1));G=E.addRange(G,Si.getDiagnostics(j.fileName));checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(j),(function(N,R,j){if(!E.containsParseError(N)&&!unusedIsError(R,!!(N.flags&8388608))){(G||(G=[])).push($($({},j),{category:E.DiagnosticCategory.Suggestion}))}}));return G||E.emptyArray}finally{_e=undefined}},runWithCancellationToken:function(E,N){try{_e=E;return N(Tt)}finally{_e=undefined}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:getLocalTypeParametersOfClassOrInterfaceOrTypeAlias,isDeclarationVisible:isDeclarationVisible};function getResolvedSignatureWorker(N,R,j,$){var q=E.getParseTreeNode(N,E.isCallLikeExpression);Et=j;var G=q?getResolvedSignature(q,R,$):undefined;Et=undefined;return G}var kt=new E.Map;var Ct=new E.Map;var Dt=new E.Map;var At=new E.Map;var wt=new E.Map;var Pt=new E.Map;var Ft=new E.Map;var It=new E.Map;var Nt=new E.Map;var Ot=new E.Map;var Mt=new E.Map;var Rt=new E.Map;var Lt=[];var Bt=new E.Map;var jt=createSymbol(4,"unknown");var Ut=createSymbol(0,"__resolving__");var zt=createIntrinsicType(1,"any");var Wt=createIntrinsicType(1,"any");var $t=createIntrinsicType(1,"any");var Jt=createIntrinsicType(1,"error");var Vt=createIntrinsicType(1,"any",131072);var qt=createIntrinsicType(1,"intrinsic");var Ht=createIntrinsicType(2,"unknown");var Gt=createIntrinsicType(32768,"undefined");var Kt=rt?Gt:createIntrinsicType(32768,"undefined",131072);var Qt=createIntrinsicType(32768,"undefined");var Xt=ft?createIntrinsicType(32768,"undefined"):Gt;var Yt=createIntrinsicType(65536,"null");var Zt=rt?Yt:createIntrinsicType(65536,"null",131072);var er=createIntrinsicType(4,"string");var tr=createIntrinsicType(8,"number");var rr=createIntrinsicType(64,"bigint");var nr=createIntrinsicType(512,"false");var ir=createIntrinsicType(512,"false");var ar=createIntrinsicType(512,"true");var sr=createIntrinsicType(512,"true");ar.regularType=sr;ar.freshType=ar;sr.regularType=sr;sr.freshType=ar;nr.regularType=ir;nr.freshType=nr;ir.regularType=ir;ir.freshType=nr;var cr=getUnionType([ir,sr]);var lr=createIntrinsicType(4096,"symbol");var ur=createIntrinsicType(16384,"void");var dr=createIntrinsicType(131072,"never");var pr=createIntrinsicType(131072,"never");var fr=createIntrinsicType(131072,"never",524288);var mr=createIntrinsicType(131072,"never");var gr=createIntrinsicType(131072,"never");var hr=createIntrinsicType(67108864,"object");var _r=getUnionType([er,tr]);var yr=getUnionType([er,tr,lr]);var vr=dt?er:yr;var br=getUnionType([tr,rr]);var xr=getUnionType([er,tr,cr,rr,Yt,Gt]);var Sr=makeFunctionTypeMapper((function(E){return E.flags&262144?getRestrictiveTypeParameter(E):E}));var Er=makeFunctionTypeMapper((function(E){return E.flags&262144?$t:E}));var Tr=createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,E.emptyArray);var kr=createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,E.emptyArray);kr.objectFlags|=2048;var Cr=createSymbol(2048,"__type");Cr.members=E.createSymbolTable();var Dr=createAnonymousType(Cr,He,E.emptyArray,E.emptyArray,E.emptyArray);var Ar=createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,E.emptyArray);Ar.instantiations=new E.Map;var wr=createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,E.emptyArray);wr.objectFlags|=524288;var Pr=createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,E.emptyArray);var Fr=createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,E.emptyArray);var Ir=createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,E.emptyArray);var Nr=createTypeParameter();var Or=createTypeParameter();Or.constraint=Nr;var Mr=createTypeParameter();var Rr=createTypePredicate(1,"<<unresolved>>",0,zt);var Lr=createSignature(undefined,undefined,undefined,E.emptyArray,zt,undefined,0,0);var Br=createSignature(undefined,undefined,undefined,E.emptyArray,Jt,undefined,0,0);var jr=createSignature(undefined,undefined,undefined,E.emptyArray,zt,undefined,0,0);var Ur=createSignature(undefined,undefined,undefined,E.emptyArray,pr,undefined,0,0);var zr=createIndexInfo(tr,er,true);var Wr=new E.Map;var $r={get yieldType(){return E.Debug.fail("Not supported")},get returnType(){return E.Debug.fail("Not supported")},get nextType(){return E.Debug.fail("Not supported")}};var Jr=createIterationTypes(zt,zt,zt);var Vr=createIterationTypes(zt,zt,Ht);var qr=createIterationTypes(dr,zt,Gt);var Hr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:getGlobalAsyncIteratorType,getGlobalIterableType:getGlobalAsyncIterableType,getGlobalIterableIteratorType:getGlobalAsyncIterableIteratorType,getGlobalGeneratorType:getGlobalAsyncGeneratorType,resolveIterationType:getAwaitedType,mustHaveANextMethodDiagnostic:E.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:E.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:E.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property};var Gr={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:getGlobalIteratorType,getGlobalIterableType:getGlobalIterableType,getGlobalIterableIteratorType:getGlobalIterableIteratorType,getGlobalGeneratorType:getGlobalGeneratorType,resolveIterationType:function(E,N){return E},mustHaveANextMethodDiagnostic:E.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:E.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:E.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property};var Kr;var Qr=new E.Map;var Xr=false;var Yr;var Zr;var en;var tn;var rn;var nn;var an;var on;var sn;var cn;var ln;var un;var dn;var pn;var mn;var gn;var hn;var _n;var yn;var vn;var bn;var xn;var Sn;var En;var Tn;var kn;var Cn;var Dn;var An;var wn;var Pn;var Fn;var In;var Nn;var On;var Mn;var Rn;var Ln;var Bn;var jn;var Un;var zn;var Wn=new E.Map;var $n=0;var Jn=0;var Vn=0;var qn=false;var Hn=0;var Gn;var Kn;var Qn;var Xn=getStringLiteralType("");var Yn=getNumberLiteralType(0);var Zn=getBigIntLiteralType({negative:false,base10Value:"0"});var ei=[];var ti=[];var ri=[];var ni=0;var ii=10;var ai=[];var oi=[];var si=[];var ci=[];var li=[];var ui=[];var di=[];var pi=[];var fi=[];var mi=[];var gi=[];var hi=[];var _i=[];var yi=[];var vi=[];var bi=[];var xi=E.createDiagnosticCollection();var Si=E.createDiagnosticCollection();var Ei=new E.Map(E.getEntries({string:er,number:tr,bigint:rr,boolean:cr,symbol:lr,undefined:Gt}));var Ti=createTypeofType();var ki;var Ci;var Di;var Ai=new E.Map;var wi=new E.Map;var Pi=new E.Map;var Fi=new E.Map;var Ii=new E.Map;var Ni=new E.Map;var Oi=E.createSymbolTable();Oi.set(vt.escapedName,vt);initializeTypeChecker();return Tt;function getJsxNamespace(N){if(N){var R=E.getSourceFileOfNode(N);if(R){if(E.isJsxOpeningFragment(N)){if(R.localJsxFragmentNamespace){return R.localJsxFragmentNamespace}var j=R.pragmas.get("jsxfrag");if(j){var $=E.isArray(j)?j[0]:j;R.localJsxFragmentFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);E.visitNode(R.localJsxFragmentFactory,markAsSynthetic);if(R.localJsxFragmentFactory){return R.localJsxFragmentNamespace=E.getFirstIdentifier(R.localJsxFragmentFactory).escapedText}}var q=getJsxFragmentFactoryEntity(N);if(q){R.localJsxFragmentFactory=q;return R.localJsxFragmentNamespace=E.getFirstIdentifier(q).escapedText}}else{if(R.localJsxNamespace){return R.localJsxNamespace}var G=R.pragmas.get("jsx");if(G){var $=E.isArray(G)?G[0]:G;R.localJsxFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);E.visitNode(R.localJsxFactory,markAsSynthetic);if(R.localJsxFactory){return R.localJsxNamespace=E.getFirstIdentifier(R.localJsxFactory).escapedText}}}}}if(!ki){ki="React";if(Xe.jsxFactory){Ci=E.parseIsolatedEntityName(Xe.jsxFactory,Ye);E.visitNode(Ci,markAsSynthetic);if(Ci){ki=E.getFirstIdentifier(Ci).escapedText}}else if(Xe.reactNamespace){ki=E.escapeLeadingUnderscores(Xe.reactNamespace)}}if(!Ci){Ci=E.factory.createQualifiedName(E.factory.createIdentifier(E.unescapeLeadingUnderscores(ki)),"createElement")}return ki;function markAsSynthetic(N){E.setTextRangePosEnd(N,-1,-1);return E.visitEachChild(N,markAsSynthetic,E.nullTransformationContext)}}function getEmitResolver(E,N){getDiagnostics(E,N);return ht}function lookupOrIssueError(N,R,j,$,q,G){var ie=N?E.createDiagnosticForNode(N,R,j,$,q,G):E.createCompilerDiagnostic(R,j,$,q,G);var ae=xi.lookup(ie);if(ae){return ae}else{xi.add(ie);return ie}}function errorSkippedOn(E,N,R,j,$,q,G){var ie=error(N,R,j,$,q,G);ie.skippedOn=E;return ie}function createError(N,R,j,$,q,G){return N?E.createDiagnosticForNode(N,R,j,$,q,G):E.createCompilerDiagnostic(R,j,$,q,G)}function error(E,N,R,j,$,q){var G=createError(E,N,R,j,$,q);xi.add(G);return G}function addErrorOrSuggestion(N,R){if(N){xi.add(R)}else{Si.add($($({},R),{category:E.DiagnosticCategory.Suggestion}))}}function errorOrSuggestion(N,R,j,$,q,G,ie){if(R.pos<0||R.end<0){if(!N){return}var ae=E.getSourceFileOfNode(R);addErrorOrSuggestion(N,"message"in j?E.createFileDiagnostic(ae,0,0,j,$,q,G,ie):E.createDiagnosticForFileFromMessageChain(ae,j));return}addErrorOrSuggestion(N,"message"in j?E.createDiagnosticForNode(R,j,$,q,G,ie):E.createDiagnosticForNodeFromMessageChain(R,j))}function errorAndMaybeSuggestAwait(N,R,j,$,q,G,ie){var ae=error(N,j,$,q,G,ie);if(R){var ce=E.createDiagnosticForNode(N,E.Diagnostics.Did_you_forget_to_use_await);E.addRelatedInfo(ae,ce)}return ae}function addDeprecatedSuggestionWorker(N,R){var j=Array.isArray(N)?E.forEach(N,E.getJSDocDeprecatedTag):E.getJSDocDeprecatedTag(N);if(j){E.addRelatedInfo(R,E.createDiagnosticForNode(j,E.Diagnostics.The_declaration_was_marked_as_deprecated_here))}Si.add(R);return R}function addDeprecatedSuggestion(N,R,j){var $=E.createDiagnosticForNode(N,E.Diagnostics._0_is_deprecated,j);return addDeprecatedSuggestionWorker(R,$)}function addDeprecatedSuggestionWithSignature(N,R,j,$){var q=j?E.createDiagnosticForNode(N,E.Diagnostics.The_signature_0_of_1_is_deprecated,$,j):E.createDiagnosticForNode(N,E.Diagnostics._0_is_deprecated,$);return addDeprecatedSuggestionWorker(R,q)}function createSymbol(E,N,R){je++;var j=new Ne(E|33554432,N);j.checkFlags=R||0;return j}function getExcludedSymbolFlags(E){var N=0;if(E&2)N|=111551;if(E&1)N|=111550;if(E&4)N|=0;if(E&8)N|=900095;if(E&16)N|=110991;if(E&32)N|=899503;if(E&64)N|=788872;if(E&256)N|=899327;if(E&128)N|=899967;if(E&512)N|=110735;if(E&8192)N|=103359;if(E&32768)N|=46015;if(E&65536)N|=78783;if(E&262144)N|=526824;if(E&524288)N|=788968;if(E&2097152)N|=2097152;return N}function recordMergedSymbol(E,N){if(!N.mergeId){N.mergeId=ae;ae++}ai[N.mergeId]=E}function cloneSymbol(N){var R=createSymbol(N.flags,N.escapedName);R.declarations=N.declarations?N.declarations.slice():[];R.parent=N.parent;if(N.valueDeclaration)R.valueDeclaration=N.valueDeclaration;if(N.constEnumOnlyModule)R.constEnumOnlyModule=true;if(N.members)R.members=new E.Map(N.members);if(N.exports)R.exports=new E.Map(N.exports);recordMergedSymbol(R,N);return R}function mergeSymbol(N,R,j){if(j===void 0){j=false}if(!(N.flags&getExcludedSymbolFlags(R.flags))||(R.flags|N.flags)&67108864){if(R===N){return N}if(!(N.flags&33554432)){var $=resolveSymbol(N);if($===jt){return R}N=cloneSymbol($)}if(R.flags&512&&N.flags&512&&N.constEnumOnlyModule&&!R.constEnumOnlyModule){N.constEnumOnlyModule=false}N.flags|=R.flags;if(R.valueDeclaration){E.setValueDeclaration(N,R.valueDeclaration)}E.addRange(N.declarations,R.declarations);if(R.members){if(!N.members)N.members=E.createSymbolTable();mergeSymbolTable(N.members,R.members,j)}if(R.exports){if(!N.exports)N.exports=E.createSymbolTable();mergeSymbolTable(N.exports,R.exports,j)}if(!j){recordMergedSymbol(N,R)}}else if(N.flags&1024){if(N!==bt){error(R.declarations&&E.getNameOfDeclaration(R.declarations[0]),E.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,symbolToString(N))}}else{var q=!!(N.flags&384||R.flags&384);var G=!!(N.flags&2||R.flags&2);var ie=q?E.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:G?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;var ae=R.declarations&&E.getSourceFileOfNode(R.declarations[0]);var ce=N.declarations&&E.getSourceFileOfNode(N.declarations[0]);var le=symbolToString(R);if(ae&&ce&&Kr&&!q&&ae!==ce){var _e=E.comparePaths(ae.path,ce.path)===-1?ae:ce;var Ee=_e===ae?ce:ae;var Te=E.getOrUpdate(Kr,_e.path+"|"+Ee.path,(function(){return{firstFile:_e,secondFile:Ee,conflictingSymbols:new E.Map}}));var we=E.getOrUpdate(Te.conflictingSymbols,le,(function(){return{isBlockScoped:G,firstFileLocations:[],secondFileLocations:[]}}));addDuplicateLocations(we.firstFileLocations,R);addDuplicateLocations(we.secondFileLocations,N)}else{addDuplicateDeclarationErrorsForSymbols(R,ie,le,N);addDuplicateDeclarationErrorsForSymbols(N,ie,le,R)}}return N;function addDuplicateLocations(N,R){if(R.declarations){for(var j=0,$=R.declarations;j<$.length;j++){var q=$[j];E.pushIfUnique(N,q)}}}}function addDuplicateDeclarationErrorsForSymbols(N,R,j,$){E.forEach(N.declarations,(function(E){addDuplicateDeclarationError(E,R,j,$.declarations)}))}function addDuplicateDeclarationError(N,R,j,$){var q=(E.getExpandoInitializer(N,false)?E.getNameOfExpando(N):E.getNameOfDeclaration(N))||N;var G=lookupOrIssueError(q,R,j);var _loop_7=function(N){var R=(E.getExpandoInitializer(N,false)?E.getNameOfExpando(N):E.getNameOfDeclaration(N))||N;if(R===q)return"continue";G.relatedInformation=G.relatedInformation||[];var $=E.createDiagnosticForNode(R,E.Diagnostics._0_was_also_declared_here,j);var ie=E.createDiagnosticForNode(R,E.Diagnostics.and_here);if(E.length(G.relatedInformation)>=5||E.some(G.relatedInformation,(function(N){return E.compareDiagnostics(N,ie)===0||E.compareDiagnostics(N,$)===0})))return"continue";E.addRelatedInfo(G,!E.length(G.relatedInformation)?$:ie)};for(var ie=0,ae=$||E.emptyArray;ie<ae.length;ie++){var ce=ae[ie];_loop_7(ce)}}function combineSymbolTables(N,R){if(!(N===null||N===void 0?void 0:N.size))return R;if(!(R===null||R===void 0?void 0:R.size))return N;var j=E.createSymbolTable();mergeSymbolTable(j,N);mergeSymbolTable(j,R);return j}function mergeSymbolTable(E,N,R){if(R===void 0){R=false}N.forEach((function(N,j){var $=E.get(j);E.set(j,$?mergeSymbol($,N,R):N)}))}function mergeModuleAugmentation(N){var R,j,$;var q=N.parent;if(((R=q.symbol.declarations)===null||R===void 0?void 0:R[0])!==q){E.Debug.assert(q.symbol.declarations.length>1);return}if(E.isGlobalScopeAugmentation(q)){mergeSymbolTable(yt,q.symbol.exports)}else{var G=!(N.parent.parent.flags&8388608)?E.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found:undefined;var ie=resolveExternalModuleNameWorker(N,N,G,true);if(!ie){return}ie=resolveExternalModuleSymbol(ie);if(ie.flags&1920){if(E.some(Zr,(function(E){return ie===E.symbol}))){var ae=mergeSymbol(q.symbol,ie,true);if(!en){en=new E.Map}en.set(N.text,ae)}else{if(((j=ie.exports)===null||j===void 0?void 0:j.get("__export"))&&(($=q.symbol.exports)===null||$===void 0?void 0:$.size)){var ce=getResolvedMembersOrExportsOfSymbol(ie,"resolvedExports");for(var le=0,_e=E.arrayFrom(q.symbol.exports.entries());le<_e.length;le++){var Ee=_e[le],Te=Ee[0],we=Ee[1];if(ce.has(Te)&&!ie.exports.has(Te)){mergeSymbol(ce.get(Te),we)}}}mergeSymbol(ie,q.symbol)}}else{error(N,E.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,N.text)}}}function addToSymbolTable(N,R,j){R.forEach((function(R,$){var q=N.get($);if(q){E.forEach(q.declarations,addDeclarationDiagnostic(E.unescapeLeadingUnderscores($),j))}else{N.set($,R)}}));function addDeclarationDiagnostic(N,R){return function(j){return xi.add(E.createDiagnosticForNode(j,R,N))}}}function getSymbolLinks(E){if(E.flags&33554432)return E;var N=getSymbolId(E);return oi[N]||(oi[N]=new SymbolLinks)}function getNodeLinks(E){var N=getNodeId(E);return si[N]||(si[N]=new NodeLinks)}function isGlobalSourceFile(N){return N.kind===300&&!E.isExternalOrCommonJsModule(N)}function getSymbol(N,R,j){if(j){var $=getMergedSymbol(N.get(R));if($){E.Debug.assert((E.getCheckFlags($)&1)===0,"Should never get an instantiated symbol here.");if($.flags&j){return $}if($.flags&2097152){var q=resolveAlias($);if(q===jt||q.flags&j){return $}}}}}function getSymbolsOfParameterPropertyDeclaration(N,R){var j=N.parent;var $=N.parent.parent;var q=getSymbol(j.locals,R,111551);var G=getSymbol(getMembersOfSymbol($.symbol),R,111551);if(q&&G){return[q,G]}return E.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function isBlockScopedNameDeclaredBeforeUse(N,R){var j=E.getSourceFileOfNode(N);var $=E.getSourceFileOfNode(R);var G=E.getEnclosingBlockScopeContainer(N);if(j!==$){if(Ze&&(j.externalModuleIndicator||$.externalModuleIndicator)||!E.outFile(Xe)||isInTypeQuery(R)||N.flags&8388608){return true}if(isUsedInFunctionOrInstanceProperty(R,N)){return true}var ie=q.getSourceFiles();return ie.indexOf(j)<=ie.indexOf($)}if(N.pos<=R.pos&&!(E.isPropertyDeclaration(N)&&E.isThisProperty(R.parent)&&!N.initializer&&!N.exclamationToken)){if(N.kind===201){var ae=E.getAncestor(R,201);if(ae){return E.findAncestor(ae,E.isBindingElement)!==E.findAncestor(N,E.isBindingElement)||N.pos<ae.pos}return isBlockScopedNameDeclaredBeforeUse(E.getAncestor(N,252),R)}else if(N.kind===252){return!isImmediatelyUsedInInitializerOfBlockScopedVariable(N,R)}else if(E.isClassDeclaration(N)){return!E.findAncestor(R,(function(R){return E.isComputedPropertyName(R)&&R.parent.parent===N}))}else if(E.isPropertyDeclaration(N)){return!isPropertyImmediatelyReferencedWithinDeclaration(N,R,false)}else if(E.isParameterPropertyDeclaration(N,N.parent)){return!(Xe.target===99&&et&&E.getContainingClass(N)===E.getContainingClass(R)&&isUsedInFunctionOrInstanceProperty(R,N))}return true}if(R.parent.kind===273||R.parent.kind===269&&R.parent.isExportEquals){return true}if(R.kind===269&&R.isExportEquals){return true}if(!!(R.flags&4194304)||isInTypeQuery(R)||usageInTypeDeclaration()){return true}if(isUsedInFunctionOrInstanceProperty(R,N)){if(Xe.target===99&&et&&E.getContainingClass(N)&&(E.isPropertyDeclaration(N)||E.isParameterPropertyDeclaration(N,N.parent))){return!isPropertyImmediatelyReferencedWithinDeclaration(N,R,true)}else{return true}}return false;function usageInTypeDeclaration(){return!!E.findAncestor(R,(function(N){return E.isInterfaceDeclaration(N)||E.isTypeAliasDeclaration(N)}))}function isImmediatelyUsedInInitializerOfBlockScopedVariable(N,R){switch(N.parent.parent.kind){case 235:case 240:case 242:if(isSameScopeDescendentOf(R,N,G)){return true}break}var j=N.parent.parent;return E.isForInOrOfStatement(j)&&isSameScopeDescendentOf(R,j.expression,G)}function isUsedInFunctionOrInstanceProperty(N,R){return!!E.findAncestor(N,(function(j){if(j===G){return"quit"}if(E.isFunctionLike(j)){return true}if(E.isClassStaticBlockDeclaration(j)){return R.pos<N.pos}var $=E.tryCast(j.parent,E.isPropertyDeclaration);if($){var q=$.initializer===j;if(q){if(E.isStatic(j.parent)){if(R.kind===167){return true}if(E.isPropertyDeclaration(R)&&E.getContainingClass(N)===E.getContainingClass(R)){var ie=R.name;if(E.isIdentifier(ie)||E.isPrivateIdentifier(ie)){var ae=getTypeOfSymbol(getSymbolOfNode(R));var ce=E.filter(R.parent.members,E.isClassStaticBlockDeclaration);if(isPropertyInitializedInStaticBlocks(ie,ae,ce,R.parent.pos,j.pos)){return true}}}}else{var le=R.kind===165&&!E.isStatic(R);if(!le||E.getContainingClass(N)!==E.getContainingClass(R)){return true}}}}return false}))}function isPropertyImmediatelyReferencedWithinDeclaration(N,R,j){if(R.end>N.end){return false}var $=E.findAncestor(R,(function(R){if(R===N){return"quit"}switch(R.kind){case 212:return true;case 165:return j&&(E.isPropertyDeclaration(N)&&R.parent===N.parent||E.isParameterPropertyDeclaration(N,N.parent)&&R.parent===N.parent.parent)?"quit":true;case 233:switch(R.parent.kind){case 170:case 167:case 171:return true;default:return false}default:return false}}));return $===undefined}}function useOuterVariableScopeInParameter(N,R,j){var $=E.getEmitScriptTarget(Xe);var q=R;if(E.isParameter(j)&&q.body&&N.valueDeclaration&&N.valueDeclaration.pos>=q.body.pos&&N.valueDeclaration.end<=q.body.end){if($>=2){var G=getNodeLinks(q);if(G.declarationRequiresScopeChange===undefined){G.declarationRequiresScopeChange=E.forEach(q.parameters,requiresScopeChange)||false}return!G.declarationRequiresScopeChange}}return false;function requiresScopeChange(E){return requiresScopeChangeWorker(E.name)||!!E.initializer&&requiresScopeChangeWorker(E.initializer)}function requiresScopeChangeWorker(N){switch(N.kind){case 212:case 211:case 254:case 169:return false;case 167:case 170:case 171:case 291:return requiresScopeChangeWorker(N.name);case 165:if(E.hasStaticModifier(N)){return $<99||!et}return requiresScopeChangeWorker(N.name);default:if(E.isNullishCoalesce(N)||E.isOptionalChain(N)){return $<7}if(E.isBindingElement(N)&&N.dotDotDotToken&&E.isObjectBindingPattern(N.parent)){return $<4}if(E.isTypeNode(N))return false;return E.forEachChild(N,requiresScopeChangeWorker)||false}}}function resolveName(E,N,R,j,$,q,G,ie){if(G===void 0){G=false}return resolveNameHelper(E,N,R,j,$,q,G,getSymbol,ie)}function resolveNameHelper(N,R,j,$,q,G,ie,ae,ce){var le;var _e=N;var Ee;var Te;var we;var Ie;var Ne;var Me=false;var Le=N;var Be;var je=false;e:while(N){if(N.locals&&!isGlobalSourceFile(N)){if(Ee=ae(N.locals,R,j)){var Ue=true;if(E.isFunctionLike(N)&&Te&&Te!==N.body){if(j&Ee.flags&788968&&Te.kind!==315){Ue=Ee.flags&262144?Te===N.type||Te.kind===162||Te.kind===161:false}if(j&Ee.flags&3){if(useOuterVariableScopeInParameter(Ee,N,Te)){Ue=false}else if(Ee.flags&1){Ue=Te.kind===162||Te===N.type&&!!E.findAncestor(Ee.valueDeclaration,E.isParameter)}}}else if(N.kind===187){Ue=Te===N.trueType}if(Ue){break e}else{Ee=undefined}}}Me=Me||getIsDeferredContext(N,Te);switch(N.kind){case 300:if(!E.isExternalOrCommonJsModule(N))break;je=true;case 259:var ze=getSymbolOfNode(N).exports||He;if(N.kind===300||E.isModuleDeclaration(N)&&N.flags&8388608&&!E.isGlobalScopeAugmentation(N)){if(Ee=ze.get("default")){var We=E.getLocalSymbolForExportDefault(Ee);if(We&&Ee.flags&j&&We.escapedName===R){break e}Ee=undefined}var Je=ze.get(R);if(Je&&Je.flags===2097152&&(E.getDeclarationOfKind(Je,273)||E.getDeclarationOfKind(Je,272))){break}}if(R!=="default"&&(Ee=ae(ze,R,j&2623475))){if(E.isSourceFile(N)&&N.commonJsModuleIndicator&&!((le=Ee.declarations)===null||le===void 0?void 0:le.some(E.isJSDocTypeAlias))){Ee=undefined}else{break e}}break;case 258:if(Ee=ae(getSymbolOfNode(N).exports,R,j&8)){break e}break;case 165:if(!E.isStatic(N)){var Ve=findConstructorDeclaration(N.parent);if(Ve&&Ve.locals){if(ae(Ve.locals,R,j&111551)){Ie=N}}}break;case 255:case 224:case 256:if(Ee=ae(getSymbolOfNode(N).members||He,R,j&788968)){if(!isTypeParameterSymbolDeclaredInContainer(Ee,N)){Ee=undefined;break}if(Te&&E.isStatic(Te)){error(Le,E.Diagnostics.Static_members_cannot_reference_class_type_parameters);return undefined}break e}if(N.kind===224&&j&32){var qe=N.name;if(qe&&R===qe.escapedText){Ee=N.symbol;break e}}break;case 226:if(Te===N.expression&&N.parent.token===94){var Ge=N.parent.parent;if(E.isClassLike(Ge)&&(Ee=ae(getSymbolOfNode(Ge).members,R,j&788968))){if($){error(Le,E.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters)}return undefined}}break;case 160:Be=N.parent.parent;if(E.isClassLike(Be)||Be.kind===256){if(Ee=ae(getSymbolOfNode(Be).members,R,j&788968)){error(Le,E.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return undefined}}break;case 212:if(Xe.target>=2){break}case 167:case 169:case 170:case 171:case 254:if(j&3&&R==="arguments"){Ee=xt;break e}break;case 211:if(j&3&&R==="arguments"){Ee=xt;break e}if(j&16){var Ke=N.name;if(Ke&&R===Ke.escapedText){Ee=N.symbol;break e}}break;case 163:if(N.parent&&N.parent.kind===162){N=N.parent}if(N.parent&&(E.isClassElement(N.parent)||N.parent.kind===255)){N=N.parent}break;case 340:case 333:case 334:var Qe=E.getJSDocRoot(N);if(Qe){N=Qe.parent}break;case 162:if(Te&&(Te===N.initializer||Te===N.name&&E.isBindingPattern(Te))){if(!Ne){Ne=N}}break;case 201:if(Te&&(Te===N.initializer||Te===N.name&&E.isBindingPattern(Te))){if(E.isParameterDeclaration(N)&&!Ne){Ne=N}}break;case 188:if(j&262144){var Ye=N.typeParameter.name;if(Ye&&R===Ye.escapedText){Ee=N.typeParameter.symbol;break e}}break}if(isSelfReferenceLocation(N)){we=N}Te=N;N=N.parent}if(G&&Ee&&(!we||Ee!==we.symbol)){Ee.isReferenced|=j}if(!Ee){if(Te){E.Debug.assert(Te.kind===300);if(Te.commonJsModuleIndicator&&R==="exports"&&j&Te.symbol.flags){return Te.symbol}}if(!ie){Ee=ae(yt,R,j)}}if(!Ee){if(_e&&E.isInJSFile(_e)&&_e.parent){if(E.isRequireCall(_e.parent,false)){return St}}}if(!Ee){if($){if(!Le||!checkAndReportErrorForMissingPrefix(Le,R,q)&&!checkAndReportErrorForExtendingInterface(Le)&&!checkAndReportErrorForUsingTypeAsNamespace(Le,R,j)&&!checkAndReportErrorForExportingPrimitiveType(Le,R)&&!checkAndReportErrorForUsingTypeAsValue(Le,R,j)&&!checkAndReportErrorForUsingNamespaceModuleAsValue(Le,R,j)&&!checkAndReportErrorForUsingValueAsType(Le,R,j)){var Ze=void 0;if(ce&&ni<ii){Ze=getSuggestedSymbolForNonexistentSymbol(_e,R,j);var tt=(Ze===null||Ze===void 0?void 0:Ze.valueDeclaration)&&E.isAmbientModule(Ze.valueDeclaration)&&E.isGlobalScopeAugmentation(Ze.valueDeclaration);if(tt){Ze=undefined}if(Ze){var rt=symbolToString(Ze);var nt=isUncheckedJSSuggestion(_e,Ze,false);var it=nt?E.Diagnostics.Could_not_find_name_0_Did_you_mean_1:E.Diagnostics.Cannot_find_name_0_Did_you_mean_1;var ot=createError(Le,it,diagnosticName(q),rt);addErrorOrSuggestion(!nt,ot);if(Ze.valueDeclaration){E.addRelatedInfo(ot,E.createDiagnosticForNode(Ze.valueDeclaration,E.Diagnostics._0_is_declared_here,rt))}}}if(!Ze){if(q){var st=getSuggestedLibForNonExistentName(q);if(st){error(Le,$,diagnosticName(q),st)}else{error(Le,$,diagnosticName(q))}}}ni++}}return undefined}if($){if(Ie&&!(Xe.target===99&&et)){var ct=Ie.name;error(Le,E.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,E.declarationNameToString(ct),diagnosticName(q));return undefined}if(Le&&(j&2||(j&32||j&384)&&(j&111551)===111551)){var ut=getExportSymbolOfValueSymbolIfExported(Ee);if(ut.flags&2||ut.flags&32||ut.flags&384){checkResolvedBlockScopedVariable(ut,Le)}}if(Ee&&je&&(j&111551)===111551&&!(_e.flags&4194304)){var dt=getMergedSymbol(Ee);if(E.length(dt.declarations)&&E.every(dt.declarations,(function(N){return E.isNamespaceExportDeclaration(N)||E.isSourceFile(N)&&!!N.symbol.globalExports}))){errorOrSuggestion(!Xe.allowUmdGlobalAccess,Le,E.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,E.unescapeLeadingUnderscores(R))}}if(Ee&&Ne&&!Me&&(j&111551)===111551){var pt=getMergedSymbol(getLateBoundSymbol(Ee));var Qe=E.getRootDeclaration(Ne);if(pt===getSymbolOfNode(Ne)){error(Le,E.Diagnostics.Parameter_0_cannot_reference_itself,E.declarationNameToString(Ne.name))}else if(pt.valueDeclaration&&pt.valueDeclaration.pos>Ne.pos&&Qe.parent.locals&&ae(Qe.parent.locals,pt.escapedName,j)===pt){error(Le,E.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,E.declarationNameToString(Ne.name),E.declarationNameToString(Le))}}if(Ee&&Le&&j&111551&&Ee.flags&2097152){checkSymbolUsageInExpressionContext(Ee,R,Le)}}return Ee}function checkSymbolUsageInExpressionContext(N,R,j){if(!E.isValidTypeOnlyAliasUseSite(j)){var $=getTypeOnlyAliasDeclaration(N);if($){var q=E.typeOnlyDeclarationIsExport($);var G=q?E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;var ie=q?E.Diagnostics._0_was_exported_here:E.Diagnostics._0_was_imported_here;var ae=E.unescapeLeadingUnderscores(R);E.addRelatedInfo(error(j,G,ae),E.createDiagnosticForNode($,ie,ae))}}}function getIsDeferredContext(N,R){if(N.kind!==212&&N.kind!==211){return E.isTypeQueryNode(N)||(E.isFunctionLikeDeclaration(N)||N.kind===165&&!E.isStatic(N))&&(!R||R!==N.name)}if(R&&R===N.name){return false}if(N.asteriskToken||E.hasSyntacticModifier(N,256)){return true}return!E.getImmediatelyInvokedFunctionExpression(N)}function isSelfReferenceLocation(E){switch(E.kind){case 254:case 255:case 256:case 258:case 257:case 259:return true;default:return false}}function diagnosticName(N){return E.isString(N)?E.unescapeLeadingUnderscores(N):E.declarationNameToString(N)}function isTypeParameterSymbolDeclaredInContainer(N,R){if(N.declarations){for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(q.kind===161){var G=E.isJSDocTemplateTag(q.parent)?E.getJSDocHost(q.parent):q.parent;if(G===R){return!(E.isJSDocTemplateTag(q.parent)&&E.find(q.parent.parent.tags,E.isJSDocTypeAlias))}}}}return false}function checkAndReportErrorForMissingPrefix(N,R,j){if(!E.isIdentifier(N)||N.escapedText!==R||isTypeReferenceIdentifier(N)||isInTypeQuery(N)){return false}var $=E.getThisContainer(N,false);var q=$;while(q){if(E.isClassLike(q.parent)){var G=getSymbolOfNode(q.parent);if(!G){break}var ie=getTypeOfSymbol(G);if(getPropertyOfType(ie,R)){error(N,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,diagnosticName(j),symbolToString(G));return true}if(q===$&&!E.isStatic(q)){var ae=getDeclaredTypeOfSymbol(G).thisType;if(getPropertyOfType(ae,R)){error(N,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,diagnosticName(j));return true}}}q=q.parent}return false}function checkAndReportErrorForExtendingInterface(N){var R=getEntityNameForExtendingInterface(N);if(R&&resolveEntityName(R,64,true)){error(N,E.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,E.getTextOfNode(R));return true}return false}function getEntityNameForExtendingInterface(N){switch(N.kind){case 79:case 204:return N.parent?getEntityNameForExtendingInterface(N.parent):undefined;case 226:if(E.isEntityNameExpression(N.expression)){return N.expression}default:return undefined}}function checkAndReportErrorForUsingTypeAsNamespace(N,R,j){var $=1920|(E.isInJSFile(N)?111551:0);if(j===$){var q=resolveSymbol(resolveName(N,R,788968&~$,undefined,undefined,false));var G=N.parent;if(q){if(E.isQualifiedName(G)){E.Debug.assert(G.left===N,"Should only be resolving left side of qualified name as a namespace");var ie=G.right.escapedText;var ae=getPropertyOfType(getDeclaredTypeOfSymbol(q),ie);if(ae){error(G,E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,E.unescapeLeadingUnderscores(R),E.unescapeLeadingUnderscores(ie));return true}}error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,E.unescapeLeadingUnderscores(R));return true}}return false}function checkAndReportErrorForUsingValueAsType(N,R,j){if(j&(788968&~1920)){var $=resolveSymbol(resolveName(N,R,~788968&111551,undefined,undefined,false));if($&&!($.flags&1920)){error(N,E.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,E.unescapeLeadingUnderscores(R));return true}}return false}function isPrimitiveTypeName(E){return E==="any"||E==="string"||E==="number"||E==="boolean"||E==="never"||E==="unknown"}function checkAndReportErrorForExportingPrimitiveType(N,R){if(isPrimitiveTypeName(R)&&N.parent.kind===273){error(N,E.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,R);return true}return false}function checkAndReportErrorForUsingTypeAsValue(N,R,j){if(j&(111551&~1024)){if(isPrimitiveTypeName(R)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,E.unescapeLeadingUnderscores(R));return true}var $=resolveSymbol(resolveName(N,R,788968&~111551,undefined,undefined,false));if($&&!($.flags&1024)){var q=E.unescapeLeadingUnderscores(R);if(isES2015OrLaterConstructorName(R)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,q)}else if(maybeMappedType(N,$)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,q,q==="K"?"P":"K")}else{error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,q)}return true}}return false}function maybeMappedType(N,R){var j=E.findAncestor(N.parent,(function(N){return E.isComputedPropertyName(N)||E.isPropertySignature(N)?false:E.isTypeLiteralNode(N)||"quit"}));if(j&&j.members.length===1){var $=getDeclaredTypeOfSymbol(R);return!!($.flags&1048576)&&allTypesAssignableToKind($,384,true)}return false}function isES2015OrLaterConstructorName(E){switch(E){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return true}return false}function checkAndReportErrorForUsingNamespaceModuleAsValue(N,R,j){if(j&(111551&~1024&~788968)){var $=resolveSymbol(resolveName(N,R,1024&~111551,undefined,undefined,false));if($){error(N,E.Diagnostics.Cannot_use_namespace_0_as_a_value,E.unescapeLeadingUnderscores(R));return true}}else if(j&(788968&~1024&~111551)){var $=resolveSymbol(resolveName(N,R,(512|1024)&~788968,undefined,undefined,false));if($){error(N,E.Diagnostics.Cannot_use_namespace_0_as_a_type,E.unescapeLeadingUnderscores(R));return true}}return false}function checkResolvedBlockScopedVariable(N,R){var j;E.Debug.assert(!!(N.flags&2||N.flags&32||N.flags&384));if(N.flags&(16|1|67108864)&&N.flags&32){return}var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(N){return E.isBlockOrCatchScoped(N)||E.isClassLike(N)||N.kind===258}));if($===undefined)return E.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!($.flags&8388608)&&!isBlockScopedNameDeclaredBeforeUse($,R)){var q=void 0;var G=E.declarationNameToString(E.getNameOfDeclaration($));if(N.flags&2){q=error(R,E.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,G)}else if(N.flags&32){q=error(R,E.Diagnostics.Class_0_used_before_its_declaration,G)}else if(N.flags&256){q=error(R,E.Diagnostics.Enum_0_used_before_its_declaration,G)}else{E.Debug.assert(!!(N.flags&128));if(E.shouldPreserveConstEnums(Xe)){q=error(R,E.Diagnostics.Enum_0_used_before_its_declaration,G)}}if(q){E.addRelatedInfo(q,E.createDiagnosticForNode($,E.Diagnostics._0_is_declared_here,G))}}}function isSameScopeDescendentOf(N,R,j){return!!R&&!!E.findAncestor(N,(function(N){return N===j||E.isFunctionLike(N)?"quit":N===R}))}function getAnyImportSyntax(E){switch(E.kind){case 263:return E;case 265:return E.parent;case 266:return E.parent.parent;case 268:return E.parent.parent.parent;default:return undefined}}function getDeclarationOfAliasSymbol(N){return N.declarations&&E.findLast(N.declarations,isAliasSymbolDeclaration)}function isAliasSymbolDeclaration(N){return N.kind===263||N.kind===262||N.kind===265&&!!N.name||N.kind===266||N.kind===272||N.kind===268||N.kind===273||N.kind===269&&E.exportAssignmentIsAlias(N)||E.isBinaryExpression(N)&&E.getAssignmentDeclarationKind(N)===2&&E.exportAssignmentIsAlias(N)||E.isAccessExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63&&isAliasableOrJsExpression(N.parent.right)||N.kind===292||N.kind===291&&isAliasableOrJsExpression(N.initializer)||E.isRequireVariableDeclaration(N)}function isAliasableOrJsExpression(N){return E.isAliasableExpression(N)||E.isFunctionExpression(N)&&isJSConstructor(N)}function getTargetOfImportEqualsDeclaration(N,R){var j=getCommonJSPropertyAccess(N);if(j){var $=E.getLeftmostAccessExpression(j.expression).arguments[0];return E.isIdentifier(j.name)?resolveSymbol(getPropertyOfType(resolveExternalModuleTypeByLiteral($),j.name.escapedText)):undefined}if(E.isVariableDeclaration(N)||N.moduleReference.kind===275){var q=resolveExternalModuleName(N,E.getExternalModuleRequireArgument(N)||E.getExternalModuleImportEqualsDeclarationExpression(N));var G=resolveExternalModuleSymbol(q);markSymbolOfAliasDeclarationIfTypeOnly(N,q,G,false);return G}var ie=getSymbolOfPartOfRightHandSideOfImportEquals(N.moduleReference,R);checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(N,ie);return ie}function checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(N,R){if(markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,R,false)&&!N.isTypeOnly){var j=getTypeOnlyAliasDeclaration(getSymbolOfNode(N));var $=E.typeOnlyDeclarationIsExport(j);var q=$?E.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:E.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type;var G=$?E.Diagnostics._0_was_exported_here:E.Diagnostics._0_was_imported_here;var ie=E.unescapeLeadingUnderscores(j.name.escapedText);E.addRelatedInfo(error(N.moduleReference,q),E.createDiagnosticForNode(j,G,ie))}}function resolveExportByName(E,N,R,j){var $=E.exports.get("export=");var q=$?getPropertyOfType(getTypeOfSymbol($),N):E.exports.get(N);var G=resolveSymbol(q,j);markSymbolOfAliasDeclarationIfTypeOnly(R,q,G,false);return G}function isSyntacticDefault(N){return E.isExportAssignment(N)&&!N.isExportEquals||E.hasSyntacticModifier(N,512)||E.isExportSpecifier(N)}function canHaveSyntheticDefault(N,R,j){if(!tt){return false}if(!N||N.isDeclarationFile){var $=resolveExportByName(R,"default",undefined,true);if($&&E.some($.declarations,isSyntacticDefault)){return false}if(resolveExportByName(R,E.escapeLeadingUnderscores("__esModule"),undefined,j)){return false}return true}if(!E.isSourceFileJS(N)){return hasExportAssignmentSymbol(R)}return!N.externalModuleIndicator&&!resolveExportByName(R,E.escapeLeadingUnderscores("__esModule"),undefined,j)}function getTargetOfImportClause(N,R){var j;var $=resolveExternalModuleName(N,N.parent.moduleSpecifier);if($){var q=void 0;if(E.isShorthandAmbientModuleSymbol($)){q=$}else{q=resolveExportByName($,"default",N,R)}var G=(j=$.declarations)===null||j===void 0?void 0:j.find(E.isSourceFile);var ie=canHaveSyntheticDefault(G,$,R);if(!q&&!ie){if(hasExportAssignmentSymbol($)){var ae=Ze>=E.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";var ce=$.exports.get("export=");var le=ce.valueDeclaration;var _e=error(N.name,E.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,symbolToString($),ae);if(le){E.addRelatedInfo(_e,E.createDiagnosticForNode(le,E.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ae))}}else{reportNonDefaultExport($,N)}}else if(ie){var Ee=resolveExternalModuleSymbol($,R)||resolveSymbol($,R);markSymbolOfAliasDeclarationIfTypeOnly(N,$,Ee,false);return Ee}markSymbolOfAliasDeclarationIfTypeOnly(N,q,undefined,false);return q}}function reportNonDefaultExport(N,R){var j,$,q;if((j=N.exports)===null||j===void 0?void 0:j.has(R.symbol.escapedName)){error(R.name,E.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,symbolToString(N),symbolToString(R.symbol))}else{var G=error(R.name,E.Diagnostics.Module_0_has_no_default_export,symbolToString(N));var ie=($=N.exports)===null||$===void 0?void 0:$.get("__export");if(ie){var ae=(q=ie.declarations)===null||q===void 0?void 0:q.find((function(N){var R,j;return!!(E.isExportDeclaration(N)&&N.moduleSpecifier&&((j=(R=resolveExternalModuleName(N,N.moduleSpecifier))===null||R===void 0?void 0:R.exports)===null||j===void 0?void 0:j.has("default")))}));if(ae){E.addRelatedInfo(G,E.createDiagnosticForNode(ae,E.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}}function getTargetOfNamespaceImport(E,N){var R=E.parent.parent.moduleSpecifier;var j=resolveExternalModuleName(E,R);var $=resolveESModuleSymbol(j,R,N,false);markSymbolOfAliasDeclarationIfTypeOnly(E,j,$,false);return $}function getTargetOfNamespaceExport(E,N){var R=E.parent.moduleSpecifier;var j=R&&resolveExternalModuleName(E,R);var $=R&&resolveESModuleSymbol(j,R,N,false);markSymbolOfAliasDeclarationIfTypeOnly(E,j,$,false);return $}function combineValueAndTypeSymbols(N,R){if(N===jt&&R===jt){return jt}if(N.flags&(788968|1920)){return N}var j=createSymbol(N.flags|R.flags,N.escapedName);j.declarations=E.deduplicate(E.concatenate(N.declarations,R.declarations),E.equateValues);j.parent=N.parent||R.parent;if(N.valueDeclaration)j.valueDeclaration=N.valueDeclaration;if(R.members)j.members=new E.Map(R.members);if(N.exports)j.exports=new E.Map(N.exports);return j}function getExportOfModule(E,N,R,j){if(E.flags&1536){var $=getExportsOfSymbol(E).get(N.escapedText);var q=resolveSymbol($,j);markSymbolOfAliasDeclarationIfTypeOnly(R,$,q,false);return q}}function getPropertyOfVariable(E,N){if(E.flags&3){var R=E.valueDeclaration.type;if(R){return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(R),N))}}}function getExternalModuleMember(N,R,j){var $,q;if(j===void 0){j=false}var G=E.getExternalModuleRequireArgument(N)||N.moduleSpecifier;var ie=resolveExternalModuleName(N,G);var ae=!E.isPropertyAccessExpression(R)&&R.propertyName||R.name;if(!E.isIdentifier(ae)){return undefined}var ce=ae.escapedText==="default"&&!!(Xe.allowSyntheticDefaultImports||Xe.esModuleInterop);var le=resolveESModuleSymbol(ie,G,false,ce);if(le){if(ae.escapedText){if(E.isShorthandAmbientModuleSymbol(ie)){return ie}var _e=void 0;if(ie&&ie.exports&&ie.exports.get("export=")){_e=getPropertyOfType(getTypeOfSymbol(le),ae.escapedText,true)}else{_e=getPropertyOfVariable(le,ae.escapedText)}_e=resolveSymbol(_e,j);var Ee=getExportOfModule(le,ae,R,j);if(Ee===undefined&&ae.escapedText==="default"){var Te=($=ie.declarations)===null||$===void 0?void 0:$.find(E.isSourceFile);if(canHaveSyntheticDefault(Te,ie,j)){Ee=resolveExternalModuleSymbol(ie,j)||resolveSymbol(ie,j)}}var we=Ee&&_e&&Ee!==_e?combineValueAndTypeSymbols(_e,Ee):Ee||_e;if(!we){var Ie=getFullyQualifiedName(ie,N);var Ne=E.declarationNameToString(ae);var Me=getSuggestedSymbolForNonexistentModule(ae,le);if(Me!==undefined){var Le=symbolToString(Me);var Be=error(ae,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Ie,Ne,Le);if(Me.valueDeclaration){E.addRelatedInfo(Be,E.createDiagnosticForNode(Me.valueDeclaration,E.Diagnostics._0_is_declared_here,Le))}}else{if((q=ie.exports)===null||q===void 0?void 0:q.has("default")){error(ae,E.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Ie,Ne)}else{reportNonExportedMember(N,ae,Ne,ie,Ie)}}}return we}}}function reportNonExportedMember(N,R,$,q,G){var ie,ae;var ce=(ae=(ie=q.valueDeclaration)===null||ie===void 0?void 0:ie.locals)===null||ae===void 0?void 0:ae.get(R.escapedText);var le=q.exports;if(ce){var _e=le===null||le===void 0?void 0:le.get("export=");if(_e){getSymbolIfSameReference(_e,ce)?reportInvalidImportEqualsExportMember(N,R,$,G):error(R,E.Diagnostics.Module_0_has_no_exported_member_1,G,$)}else{var Ee=le?E.find(symbolsToArray(le),(function(E){return!!getSymbolIfSameReference(E,ce)})):undefined;var Te=Ee?error(R,E.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,G,$,symbolToString(Ee)):error(R,E.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,G,$);if(ce.declarations){E.addRelatedInfo.apply(void 0,j([Te],E.map(ce.declarations,(function(N,R){return E.createDiagnosticForNode(N,R===0?E.Diagnostics._0_is_declared_here:E.Diagnostics.and_here,$)})),false))}}}else{error(R,E.Diagnostics.Module_0_has_no_exported_member_1,G,$)}}function reportInvalidImportEqualsExportMember(N,R,j,$){if(Ze>=E.ModuleKind.ES2015){var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_a_default_import:E.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j)}else{if(E.isInJSFile(N)){var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:E.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j)}else{var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:E.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j,j,$)}}}function getTargetOfImportSpecifier(N,R){var j=E.isBindingElement(N)?E.getRootDeclaration(N):N.parent.parent.parent;var $=getCommonJSPropertyAccess(j);var q=getExternalModuleMember(j,$||N,R);var G=N.propertyName||N.name;if($&&q&&E.isIdentifier(G)){return resolveSymbol(getPropertyOfType(getTypeOfSymbol(q),G.escapedText),R)}markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,q,false);return q}function getCommonJSPropertyAccess(N){if(E.isVariableDeclaration(N)&&N.initializer&&E.isPropertyAccessExpression(N.initializer)){return N.initializer}}function getTargetOfNamespaceExportDeclaration(E,N){var R=resolveExternalModuleSymbol(E.parent.symbol,N);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,R,false);return R}function getTargetOfExportSpecifier(E,N,R){var j=E.parent.parent.moduleSpecifier?getExternalModuleMember(E.parent.parent,E,R):resolveEntityName(E.propertyName||E.name,N,false,R);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,j,false);return j}function getTargetOfExportAssignment(N,R){var j=E.isExportAssignment(N)?N.expression:N.right;var $=getTargetOfAliasLikeExpression(j,R);markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,$,false);return $}function getTargetOfAliasLikeExpression(N,R){if(E.isClassExpression(N)){return checkExpressionCached(N).symbol}if(!E.isEntityName(N)&&!E.isEntityNameExpression(N)){return undefined}var j=resolveEntityName(N,111551|788968|1920,true,R);if(j){return j}checkExpressionCached(N);return getNodeLinks(N).resolvedSymbol}function getTargetOfPropertyAssignment(E,N){var R=E.initializer;return getTargetOfAliasLikeExpression(R,N)}function getTargetOfAccessExpression(N,R){if(!(E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63)){return undefined}return getTargetOfAliasLikeExpression(N.parent.right,R)}function getTargetOfAliasDeclaration(N,R){if(R===void 0){R=false}switch(N.kind){case 263:case 252:return getTargetOfImportEqualsDeclaration(N,R);case 265:return getTargetOfImportClause(N,R);case 266:return getTargetOfNamespaceImport(N,R);case 272:return getTargetOfNamespaceExport(N,R);case 268:case 201:return getTargetOfImportSpecifier(N,R);case 273:return getTargetOfExportSpecifier(N,111551|788968|1920,R);case 269:case 219:return getTargetOfExportAssignment(N,R);case 262:return getTargetOfNamespaceExportDeclaration(N,R);case 292:return resolveEntityName(N.name,111551|788968|1920,true,R);case 291:return getTargetOfPropertyAssignment(N,R);case 205:case 204:return getTargetOfAccessExpression(N,R);default:return E.Debug.fail()}}function isNonLocalAlias(E,N){if(N===void 0){N=111551|788968|1920}if(!E)return false;return(E.flags&(2097152|N))===2097152||!!(E.flags&2097152&&E.flags&67108864)}function resolveSymbol(E,N){return!N&&isNonLocalAlias(E)?resolveAlias(E):E}function resolveAlias(N){E.Debug.assert((N.flags&2097152)!==0,"Should only get Alias here.");var R=getSymbolLinks(N);if(!R.target){R.target=Ut;var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();var $=getTargetOfAliasDeclaration(j);if(R.target===Ut){R.target=$||jt}else{error(j,E.Diagnostics.Circular_definition_of_import_alias_0,symbolToString(N))}}else if(R.target===Ut){R.target=jt}return R.target}function tryResolveAlias(E){var N=getSymbolLinks(E);if(N.target!==Ut){return resolveAlias(E)}return undefined}function markSymbolOfAliasDeclarationIfTypeOnly(N,R,j,$){if(!N||E.isPropertyAccessExpression(N))return false;var q=getSymbolOfNode(N);if(E.isTypeOnlyImportOrExportDeclaration(N)){var G=getSymbolLinks(q);G.typeOnlyDeclaration=N;return true}var ie=getSymbolLinks(q);return markSymbolOfAliasDeclarationIfTypeOnlyWorker(ie,R,$)||markSymbolOfAliasDeclarationIfTypeOnlyWorker(ie,j,$)}function markSymbolOfAliasDeclarationIfTypeOnlyWorker(N,R,j){var $,q,G;if(R&&(N.typeOnlyDeclaration===undefined||j&&N.typeOnlyDeclaration===false)){var ie=(q=($=R.exports)===null||$===void 0?void 0:$.get("export="))!==null&&q!==void 0?q:R;var ae=ie.declarations&&E.find(ie.declarations,E.isTypeOnlyImportOrExportDeclaration);N.typeOnlyDeclaration=(G=ae!==null&&ae!==void 0?ae:getSymbolLinks(ie).typeOnlyDeclaration)!==null&&G!==void 0?G:false}return!!N.typeOnlyDeclaration}function getTypeOnlyAliasDeclaration(E){if(!(E.flags&2097152)){return undefined}var N=getSymbolLinks(E);return N.typeOnlyDeclaration||undefined}function markExportAsReferenced(E){var N=getSymbolOfNode(E);var R=resolveAlias(N);if(R){var j=R===jt||R.flags&111551&&!isConstEnumOrConstEnumOnlyModule(R)&&!getTypeOnlyAliasDeclaration(N);if(j){markAliasSymbolAsReferenced(N)}}}function markAliasSymbolAsReferenced(N){var R=getSymbolLinks(N);if(!R.referenced){R.referenced=true;var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();if(E.isInternalModuleImportEqualsDeclaration(j)){var $=resolveSymbol(N);if($===jt||$.flags&111551){checkExpressionCached(j.moduleReference)}}}}function markConstEnumAliasAsReferenced(E){var N=getSymbolLinks(E);if(!N.constEnumReferenced){N.constEnumReferenced=true}}function getSymbolOfPartOfRightHandSideOfImportEquals(N,R){if(N.kind===79&&E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}if(N.kind===79||N.parent.kind===159){return resolveEntityName(N,1920,false,R)}else{E.Debug.assert(N.parent.kind===263);return resolveEntityName(N,111551|788968|1920,false,R)}}function getFullyQualifiedName(E,N){return E.parent?getFullyQualifiedName(E.parent,N)+"."+symbolToString(E):symbolToString(E,N,undefined,16|4)}function resolveEntityName(N,R,j,$,q){if(E.nodeIsMissing(N)){return undefined}var G=1920|(E.isInJSFile(N)?R&111551:0);var ie;if(N.kind===79){var ae=R===G||E.nodeIsSynthesized(N)?E.Diagnostics.Cannot_find_namespace_0:getCannotFindNameDiagnosticForName(E.getFirstIdentifier(N));var ce=E.isInJSFile(N)&&!E.nodeIsSynthesized(N)?resolveEntityNameFromAssignmentDeclaration(N,R):undefined;ie=getMergedSymbol(resolveName(q||N,N.escapedText,R,j||ce?undefined:ae,N,true));if(!ie){return getMergedSymbol(ce)}}else if(N.kind===159||N.kind===204){var le=N.kind===159?N.left:N.expression;var _e=N.kind===159?N.right:N.name;var Ee=resolveEntityName(le,G,j,false,q);if(!Ee||E.nodeIsMissing(_e)){return undefined}else if(Ee===jt){return Ee}if(Ee.valueDeclaration&&E.isInJSFile(Ee.valueDeclaration)&&E.isVariableDeclaration(Ee.valueDeclaration)&&Ee.valueDeclaration.initializer&&isCommonJsRequire(Ee.valueDeclaration.initializer)){var Te=Ee.valueDeclaration.initializer.arguments[0];var we=resolveExternalModuleName(Te,Te);if(we){var Ie=resolveExternalModuleSymbol(we);if(Ie){Ee=Ie}}}ie=getMergedSymbol(getSymbol(getExportsOfSymbol(Ee),_e.escapedText,R));if(!ie){if(!j){var Ne=getFullyQualifiedName(Ee);var Me=E.declarationNameToString(_e);var Le=getSuggestedSymbolForNonexistentModule(_e,Ee);Le?error(_e,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Ne,Me,symbolToString(Le)):error(_e,E.Diagnostics.Namespace_0_has_no_exported_member_1,Ne,Me)}return undefined}}else{throw E.Debug.assertNever(N,"Unknown entity name kind.")}E.Debug.assert((E.getCheckFlags(ie)&1)===0,"Should never get an instantiated symbol here.");if(!E.nodeIsSynthesized(N)&&E.isEntityName(N)&&(ie.flags&2097152||N.parent.kind===269)){markSymbolOfAliasDeclarationIfTypeOnly(E.getAliasDeclarationFromName(N),ie,undefined,true)}return ie.flags&R||$?ie:resolveAlias(ie)}function resolveEntityNameFromAssignmentDeclaration(E,N){if(isJSDocTypeReference(E.parent)){var R=getAssignmentDeclarationLocation(E.parent);if(R){return resolveName(R,E.escapedText,N,undefined,E,true)}}}function getAssignmentDeclarationLocation(N){var R=E.findAncestor(N,(function(N){return!(E.isJSDocNode(N)||N.flags&4194304)?"quit":E.isJSDocTypeAlias(N)}));if(R){return}var j=E.getJSDocHost(N);if(j&&E.isExpressionStatement(j)&&E.isBinaryExpression(j.expression)&&E.getAssignmentDeclarationKind(j.expression)===3){var $=getSymbolOfNode(j.expression.left);if($){return getDeclarationOfJSPrototypeContainer($)}}if(j&&(E.isObjectLiteralMethod(j)||E.isPropertyAssignment(j))&&E.isBinaryExpression(j.parent.parent)&&E.getAssignmentDeclarationKind(j.parent.parent)===6){var $=getSymbolOfNode(j.parent.parent.left);if($){return getDeclarationOfJSPrototypeContainer($)}}var q=E.getEffectiveJSDocHost(N);if(q&&E.isFunctionLike(q)){var $=getSymbolOfNode(q);return $&&$.valueDeclaration}}function getDeclarationOfJSPrototypeContainer(N){var R=N.parent.valueDeclaration;if(!R){return undefined}var j=E.isAssignmentDeclaration(R)?E.getAssignedExpandoInitializer(R):E.hasOnlyExpressionInitializer(R)?E.getDeclaredExpandoInitializer(R):undefined;return j||R}function getExpandoSymbol(N){var R=N.valueDeclaration;if(!R||!E.isInJSFile(R)||N.flags&524288||E.getExpandoInitializer(R,false)){return undefined}var j=E.isVariableDeclaration(R)?E.getDeclaredExpandoInitializer(R):E.getAssignedExpandoInitializer(R);if(j){var $=getSymbolOfNode(j);if($){return mergeJSSymbols($,N)}}}function resolveExternalModuleName(N,R,j){var $=E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.Classic;var q=$?E.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:E.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return resolveExternalModuleNameWorker(N,R,j?undefined:q)}function resolveExternalModuleNameWorker(N,R,j,$){if($===void 0){$=false}return E.isStringLiteralLike(R)?resolveExternalModule(N,R.text,j,R,$):undefined}function resolveExternalModule(N,R,j,$,G){if(G===void 0){G=false}if(E.startsWith(R,"@types/")){var ie=E.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;var ae=E.removePrefix(R,"@types/");error($,ie,ae,R)}var ce=tryFindAmbientModule(R,true);if(ce){return ce}var le=E.getSourceFileOfNode(N);var _e=E.getResolvedModule(le,R);var Ee=_e&&E.getResolutionDiagnostic(Xe,_e);var Te=_e&&!Ee&&q.getSourceFile(_e.resolvedFileName);if(Te){if(Te.symbol){if(_e.isExternalLibraryImport&&!E.resolutionExtensionIsTSOrJson(_e.extension)){errorOnImplicitAnyModule(false,$,_e,R)}return getMergedSymbol(Te.symbol)}if(j){error($,E.Diagnostics.File_0_is_not_a_module,Te.fileName)}return undefined}if(Zr){var we=E.findBestPatternMatch(Zr,(function(E){return E.pattern}),R);if(we){var Ie=en&&en.get(R);if(Ie){return getMergedSymbol(Ie)}return getMergedSymbol(we.symbol)}}if(_e&&!E.resolutionExtensionIsTSOrJson(_e.extension)&&Ee===undefined||Ee===E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(G){var ie=E.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;error($,ie,R,_e.resolvedFileName)}else{errorOnImplicitAnyModule(st&&!!j,$,_e,R)}return undefined}if(j){if(_e){var Ne=q.getProjectReferenceRedirect(_e.resolvedFileName);if(Ne){error($,E.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,Ne,_e.resolvedFileName);return undefined}}if(Ee){error($,Ee,R,_e.resolvedFileName)}else{var Me=E.tryExtractTSExtension(R);if(Me){var ie=E.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;var Le=E.removeExtension(R,Me);var Be=Le;var je=E.getEmitModuleKind(Xe);if(je>=E.ModuleKind.ES2015){Be+=".js"}error($,ie,Me,Be)}else if(!Xe.resolveJsonModule&&E.fileExtensionIs(R,".json")&&E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.NodeJs&&E.hasJsonModuleEmitEnabled(Xe)){error($,E.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,R)}else{error($,j,R)}}}return undefined}function errorOnImplicitAnyModule(N,R,j,$){var q=j.packageId,G=j.resolvedFileName;var ie=!E.isExternalModuleNameRelative($)&&q?typesPackageExists(q.name)?E.chainDiagnosticMessages(undefined,E.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,q.name,E.mangleScopedPackageName(q.name)):E.chainDiagnosticMessages(undefined,E.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,$,E.mangleScopedPackageName(q.name)):undefined;errorOrSuggestion(N,R,E.chainDiagnosticMessages(ie,E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,$,G))}function typesPackageExists(N){return le().has(E.getTypesPackageName(N))}function resolveExternalModuleSymbol(E,N){if(E===null||E===void 0?void 0:E.exports){var R=resolveSymbol(E.exports.get("export="),N);var j=getCommonJsExportEquals(getMergedSymbol(R),getMergedSymbol(E));return getMergedSymbol(j)||E}return undefined}function getCommonJsExportEquals(N,R){if(!N||N===jt||N===R||R.exports.size===1||N.flags&2097152){return N}var j=getSymbolLinks(N);if(j.cjsExportMerged){return j.cjsExportMerged}var $=N.flags&33554432?N:cloneSymbol(N);$.flags=$.flags|512;if($.exports===undefined){$.exports=E.createSymbolTable()}R.exports.forEach((function(E,N){if(N==="export=")return;$.exports.set(N,$.exports.has(N)?mergeSymbol($.exports.get(N),E):E)}));getSymbolLinks($).cjsExportMerged=$;return j.cjsExportMerged=$}function resolveESModuleSymbol(N,R,j,$){var q=resolveExternalModuleSymbol(N,j);if(!j&&q){if(!$&&!(q.flags&(1536|3))&&!E.getDeclarationOfKind(q,300)){var G=Ze>=E.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";error(R,E.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,G);return q}if(Xe.esModuleInterop){var ie=R.parent;if(E.isImportDeclaration(ie)&&E.getNamespaceDeclarationNode(ie)||E.isImportCall(ie)){var ae=getTypeOfSymbol(q);var ce=getSignaturesOfStructuredType(ae,0);if(!ce||!ce.length){ce=getSignaturesOfStructuredType(ae,1)}if(ce&&ce.length){var le=getTypeWithSyntheticDefaultImportType(ae,q,N);var _e=createSymbol(q.flags,q.escapedName);_e.declarations=q.declarations?q.declarations.slice():[];_e.parent=q.parent;_e.target=q;_e.originatingImport=ie;if(q.valueDeclaration)_e.valueDeclaration=q.valueDeclaration;if(q.constEnumOnlyModule)_e.constEnumOnlyModule=true;if(q.members)_e.members=new E.Map(q.members);if(q.exports)_e.exports=new E.Map(q.exports);var Ee=resolveStructuredTypeMembers(le);_e.type=createAnonymousType(_e,Ee.members,E.emptyArray,E.emptyArray,Ee.indexInfos);return _e}}}}return q}function hasExportAssignmentSymbol(E){return E.exports.get("export=")!==undefined}function getExportsOfModuleAsArray(E){return symbolsToArray(getExportsOfModule(E))}function getExportsAndPropertiesOfModule(N){var R=getExportsOfModuleAsArray(N);var j=resolveExternalModuleSymbol(N);if(j!==N){var $=getTypeOfSymbol(j);if(shouldTreatPropertiesOfExternalModuleAsExports($)){E.addRange(R,getPropertiesOfType($))}}return R}function forEachExportAndPropertyOfModule(E,N){var R=getExportsOfModule(E);R.forEach((function(E,R){if(!isReservedMemberName(R)){N(E,R)}}));var j=resolveExternalModuleSymbol(E);if(j!==E){var $=getTypeOfSymbol(j);if(shouldTreatPropertiesOfExternalModuleAsExports($)){getPropertiesOfType($).forEach((function(E){N(E,E.escapedName)}))}}}function tryGetMemberInModuleExports(E,N){var R=getExportsOfModule(N);if(R){return R.get(E)}}function tryGetMemberInModuleExportsAndProperties(E,N){var R=tryGetMemberInModuleExports(E,N);if(R){return R}var j=resolveExternalModuleSymbol(N);if(j===N){return undefined}var $=getTypeOfSymbol(j);return shouldTreatPropertiesOfExternalModuleAsExports($)?getPropertyOfType($,E):undefined}function shouldTreatPropertiesOfExternalModuleAsExports(N){return!(N.flags&131068||E.getObjectFlags(N)&1||isArrayType(N)||isTupleType(N))}function getExportsOfSymbol(E){return E.flags&6256?getResolvedMembersOrExportsOfSymbol(E,"resolvedExports"):E.flags&1536?getExportsOfModule(E):E.exports||He}function getExportsOfModule(E){var N=getSymbolLinks(E);return N.resolvedExports||(N.resolvedExports=getExportsOfModuleWorker(E))}function extendExportSymbols(N,R,j,$){if(!R)return;R.forEach((function(R,q){if(q==="default")return;var G=N.get(q);if(!G){N.set(q,R);if(j&&$){j.set(q,{specifierText:E.getTextOfNode($.moduleSpecifier)})}}else if(j&&$&&G&&resolveSymbol(G)!==resolveSymbol(R)){var ie=j.get(q);if(!ie.exportsWithDuplicate){ie.exportsWithDuplicate=[$]}else{ie.exportsWithDuplicate.push($)}}}))}function getExportsOfModuleWorker(N){var R=[];N=resolveExternalModuleSymbol(N);return visit(N)||He;function visit(N){if(!(N&&N.exports&&E.pushIfUnique(R,N))){return}var j=new E.Map(N.exports);var $=N.exports.get("__export");if($){var q=E.createSymbolTable();var G=new E.Map;if($.declarations){for(var ie=0,ae=$.declarations;ie<ae.length;ie++){var ce=ae[ie];var le=resolveExternalModuleName(ce,ce.moduleSpecifier);var _e=visit(le);extendExportSymbols(q,_e,G,ce)}}G.forEach((function(N,R){var $=N.exportsWithDuplicate;if(R==="export="||!($&&$.length)||j.has(R)){return}for(var q=0,ie=$;q<ie.length;q++){var ae=ie[q];xi.add(E.createDiagnosticForNode(ae,E.Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,G.get(R).specifierText,E.unescapeLeadingUnderscores(R)))}}));extendExportSymbols(j,q)}return j}}function getMergedSymbol(E){var N;return E&&E.mergeId&&(N=ai[E.mergeId])?N:E}function getSymbolOfNode(E){return getMergedSymbol(E.symbol&&getLateBoundSymbol(E.symbol))}function getParentOfSymbol(E){return getMergedSymbol(E.parent&&getLateBoundSymbol(E.parent))}function getAlternativeContainingModules(N,R){var j=E.getSourceFileOfNode(R);var $=getNodeId(j);var G=getSymbolLinks(N);var ie;if(G.extendedContainersByFile&&(ie=G.extendedContainersByFile.get($))){return ie}if(j&&j.imports){for(var ae=0,ce=j.imports;ae<ce.length;ae++){var le=ce[ae];if(E.nodeIsSynthesized(le))continue;var _e=resolveExternalModuleName(R,le,true);if(!_e)continue;var Ee=getAliasForSymbolInContainer(_e,N);if(!Ee)continue;ie=E.append(ie,_e)}if(E.length(ie)){(G.extendedContainersByFile||(G.extendedContainersByFile=new E.Map)).set($,ie);return ie}}if(G.extendedContainers){return G.extendedContainers}var Te=q.getSourceFiles();for(var we=0,Ie=Te;we<Ie.length;we++){var Ne=Ie[we];if(!E.isExternalModule(Ne))continue;var Me=getSymbolOfNode(Ne);var Ee=getAliasForSymbolInContainer(Me,N);if(!Ee)continue;ie=E.append(ie,Me)}return G.extendedContainers=ie||E.emptyArray}function getContainersOfSymbol(N,R,$){var q=getParentOfSymbol(N);if(q&&!(N.flags&262144)){var G=E.mapDefined(q.declarations,fileSymbolIfFileSymbolExportEqualsContainer);var ie=R&&getAlternativeContainingModules(N,R);var ae=getVariableDeclarationOfObjectLiteral(q,$);if(R&&q.flags&getQualifiedLeftMeaning($)&&getAccessibleSymbolChain(q,R,1920,false)){return E.append(E.concatenate(E.concatenate([q],G),ie),ae)}var ce=!(q.flags&getQualifiedLeftMeaning($))&&q.flags&788968&&getDeclaredTypeOfSymbol(q).flags&524288&&$===111551?forEachSymbolTableInScope(R,(function(N){return E.forEachEntry(N,(function(E){if(E.flags&getQualifiedLeftMeaning($)&&getTypeOfSymbol(E)===getDeclaredTypeOfSymbol(q)){return E}}))})):undefined;var le=ce?j(j([ce],G,true),[q],false):j(j([],G,true),[q],false);le=E.append(le,ae);le=E.addRange(le,ie);return le}var _e=E.mapDefined(N.declarations,(function(N){if(!E.isAmbientModule(N)&&N.parent&&hasNonGlobalAugmentationExternalModuleSymbol(N.parent)){return getSymbolOfNode(N.parent)}if(E.isClassExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63&&E.isAccessExpression(N.parent.left)&&E.isEntityNameExpression(N.parent.left.expression)){if(E.isModuleExportsAccessExpression(N.parent.left)||E.isExportsIdentifier(N.parent.left.expression)){return getSymbolOfNode(E.getSourceFileOfNode(N))}checkExpressionCached(N.parent.left.expression);return getNodeLinks(N.parent.left.expression).resolvedSymbol}}));if(!E.length(_e)){return undefined}return E.mapDefined(_e,(function(E){return getAliasForSymbolInContainer(E,N)?E:undefined}));function fileSymbolIfFileSymbolExportEqualsContainer(E){return q&&getFileSymbolIfFileSymbolExportEqualsContainer(E,q)}}function getVariableDeclarationOfObjectLiteral(N,R){var j=!!E.length(N.declarations)&&E.first(N.declarations);if(R&111551&&j&&j.parent&&E.isVariableDeclaration(j.parent)){if(E.isObjectLiteralExpression(j)&&j===j.parent.initializer||E.isTypeLiteralNode(j)&&j===j.parent.type){return getSymbolOfNode(j.parent)}}}function getFileSymbolIfFileSymbolExportEqualsContainer(E,N){var R=getExternalModuleContainer(E);var j=R&&R.exports&&R.exports.get("export=");return j&&getSymbolIfSameReference(j,N)?R:undefined}function getAliasForSymbolInContainer(N,R){if(N===getParentOfSymbol(R)){return R}var j=N.exports&&N.exports.get("export=");if(j&&getSymbolIfSameReference(j,R)){return N}var $=getExportsOfSymbol(N);var q=$.get(R.escapedName);if(q&&getSymbolIfSameReference(q,R)){return q}return E.forEachEntry($,(function(E){if(getSymbolIfSameReference(E,R)){return E}}))}function getSymbolIfSameReference(E,N){if(getMergedSymbol(resolveSymbol(getMergedSymbol(E)))===getMergedSymbol(resolveSymbol(getMergedSymbol(N)))){return E}}function getExportSymbolOfValueSymbolIfExported(E){return getMergedSymbol(E&&(E.flags&1048576)!==0?E.exportSymbol:E)}function symbolIsValue(E){return!!(E.flags&111551||E.flags&2097152&&resolveAlias(E).flags&111551&&!getTypeOnlyAliasDeclaration(E))}function findConstructorDeclaration(N){var R=N.members;for(var j=0,$=R;j<$.length;j++){var q=$[j];if(q.kind===169&&E.nodeIsPresent(q.body)){return q}}}function createType(N){var R=new Me(Tt,N);Be++;R.id=Be;if(ie){E.tracing===null||E.tracing===void 0?void 0:E.tracing.recordType(R)}return R}function createOriginType(E){return new Me(Tt,E)}function createIntrinsicType(E,N,R){if(R===void 0){R=0}var j=createType(E);j.intrinsicName=N;j.objectFlags=R;return j}function createObjectType(E,N){var R=createType(524288);R.objectFlags=E;R.symbol=N;R.members=undefined;R.properties=undefined;R.callSignatures=undefined;R.constructSignatures=undefined;R.indexInfos=undefined;return R}function createTypeofType(){return getUnionType(E.arrayFrom(we.keys(),getStringLiteralType))}function createTypeParameter(E){var N=createType(262144);if(E)N.symbol=E;return N}function isReservedMemberName(E){return E.charCodeAt(0)===95&&E.charCodeAt(1)===95&&E.charCodeAt(2)!==95&&E.charCodeAt(2)!==64&&E.charCodeAt(2)!==35}function getNamedMembers(N){var R;N.forEach((function(E,N){if(!isReservedMemberName(N)&&symbolIsValue(E)){(R||(R=[])).push(E)}}));return R||E.emptyArray}function getNamedOrIndexSignatureMembers(N){var R=getNamedMembers(N);var j=getIndexSymbolFromSymbolTable(N);return j?E.concatenate(R,[j]):R}function setStructuredTypeMembers(N,R,j,$,q){var G=N;G.members=R;G.properties=E.emptyArray;G.callSignatures=j;G.constructSignatures=$;G.indexInfos=q;if(R!==He)G.properties=getNamedMembers(R);return G}function createAnonymousType(E,N,R,j,$){return setStructuredTypeMembers(createObjectType(16,E),N,R,j,$)}function getResolvedTypeWithoutAbstractConstructSignatures(N){if(N.constructSignatures.length===0)return N;if(N.objectTypeWithoutAbstractConstructSignatures)return N.objectTypeWithoutAbstractConstructSignatures;var R=E.filter(N.constructSignatures,(function(E){return!(E.flags&4)}));if(N.constructSignatures===R)return N;var j=createAnonymousType(N.symbol,N.members,N.callSignatures,E.some(R)?R:E.emptyArray,N.indexInfos);N.objectTypeWithoutAbstractConstructSignatures=j;j.objectTypeWithoutAbstractConstructSignatures=j;return j}function forEachSymbolTableInScope(N,R){var j;var _loop_8=function(N){if(N.locals&&!isGlobalSourceFile(N)){if(j=R(N.locals,undefined,true,N)){return{value:j}}}switch(N.kind){case 300:if(!E.isExternalOrCommonJsModule(N)){break}case 259:var $=getSymbolOfNode(N);if(j=R(($===null||$===void 0?void 0:$.exports)||He,undefined,true,N)){return{value:j}}break;case 255:case 224:case 256:var q;(getSymbolOfNode(N).members||He).forEach((function(N,R){if(N.flags&(788968&~67108864)){(q||(q=E.createSymbolTable())).set(R,N)}}));if(q&&(j=R(q,undefined,false,N))){return{value:j}}break}};for(var $=N;$;$=$.parent){var q=_loop_8($);if(typeof q==="object")return q.value}return R(yt,undefined,true)}function getQualifiedLeftMeaning(E){return E===111551?111551:1920}function getAccessibleSymbolChain(N,R,j,$,q){if(q===void 0){q=new E.Map}if(!(N&&!isPropertyOrMethodDeclarationSymbol(N))){return undefined}var G=getSymbolLinks(N);var ie=G.accessibleChainCache||(G.accessibleChainCache=new E.Map);var ae=forEachSymbolTableInScope(R,(function(E,N,R,j){return j}));var ce=($?0:1)+"|"+(ae&&getNodeId(ae))+"|"+j;if(ie.has(ce)){return ie.get(ce)}var le=getSymbolId(N);var _e=q.get(le);if(!_e){q.set(le,_e=[])}var Ee=forEachSymbolTableInScope(R,getAccessibleSymbolChainFromSymbolTable);ie.set(ce,Ee);return Ee;function getAccessibleSymbolChainFromSymbolTable(N,R,j){if(!E.pushIfUnique(_e,N)){return undefined}var $=trySymbolTable(N,R,j);_e.pop();return $}function canQualifySymbol(E,N){return!needsQualification(E,R,N)||!!getAccessibleSymbolChain(E.parent,R,getQualifiedLeftMeaning(N),$,q)}function isAccessible(R,$,q){return(N===($||R)||getMergedSymbol(N)===getMergedSymbol($||R))&&!E.some(R.declarations,hasNonGlobalAugmentationExternalModuleSymbol)&&(q||canQualifySymbol(getMergedSymbol(R),j))}function trySymbolTable(j,q,G){if(isAccessible(j.get(N.escapedName),undefined,q)){return[N]}var ie=E.forEachEntry(j,(function(j){if(j.flags&2097152&&j.escapedName!=="export="&&j.escapedName!=="default"&&!(E.isUMDExportSymbol(j)&&R&&E.isExternalModule(E.getSourceFileOfNode(R)))&&(!$||E.some(j.declarations,E.isExternalModuleImportEqualsDeclaration))&&(G?!E.some(j.declarations,E.isNamespaceReexportDeclaration):true)&&(q||!E.getDeclarationOfKind(j,273))){var ie=resolveAlias(j);var ae=getCandidateListForSymbol(j,ie,q);if(ae){return ae}}if(j.escapedName===N.escapedName&&j.exportSymbol){if(isAccessible(getMergedSymbol(j.exportSymbol),undefined,q)){return[N]}}}));return ie||(j===yt?getCandidateListForSymbol(bt,bt,q):undefined)}function getCandidateListForSymbol(E,N,R){if(isAccessible(E,N,R)){return[E]}var $=getExportsOfSymbol(N);var q=$&&getAccessibleSymbolChainFromSymbolTable($,true);if(q&&canQualifySymbol(E,getQualifiedLeftMeaning(j))){return[E].concat(q)}}}function needsQualification(N,R,j){var $=false;forEachSymbolTableInScope(R,(function(R){var q=getMergedSymbol(R.get(N.escapedName));if(!q){return false}if(q===N){return true}q=q.flags&2097152&&!E.getDeclarationOfKind(q,273)?resolveAlias(q):q;if(q.flags&j){$=true;return true}return false}));return $}function isPropertyOrMethodDeclarationSymbol(E){if(E.declarations&&E.declarations.length){for(var N=0,R=E.declarations;N<R.length;N++){var j=R[N];switch(j.kind){case 165:case 167:case 170:case 171:continue;default:return false}}return true}return false}function isTypeSymbolAccessible(E,N){var R=isSymbolAccessibleWorker(E,N,788968,false,true);return R.accessibility===0}function isValueSymbolAccessible(E,N){var R=isSymbolAccessibleWorker(E,N,111551,false,true);return R.accessibility===0}function isSymbolAccessibleByFlags(E,N,R){var j=isSymbolAccessibleWorker(E,N,R,false,false);return j.accessibility===0}function isAnySymbolAccessible(N,R,j,$,q,G){if(!E.length(N))return;var ie;var ae=false;for(var ce=0,le=N;ce<le.length;ce++){var _e=le[ce];var Ee=getAccessibleSymbolChain(_e,R,$,false);if(Ee){ie=_e;var Te=hasVisibleDeclarations(Ee[0],q);if(Te){return Te}}if(G){if(E.some(_e.declarations,hasNonGlobalAugmentationExternalModuleSymbol)){if(q){ae=true;continue}return{accessibility:0}}}var we=getContainersOfSymbol(_e,R,$);var Ie=isAnySymbolAccessible(we,R,j,j===_e?getQualifiedLeftMeaning($):$,q,G);if(Ie){return Ie}}if(ae){return{accessibility:0}}if(ie){return{accessibility:1,errorSymbolName:symbolToString(j,R,$),errorModuleName:ie!==j?symbolToString(ie,R,1920):undefined}}}function isSymbolAccessible(E,N,R,j){return isSymbolAccessibleWorker(E,N,R,j,true)}function isSymbolAccessibleWorker(N,R,j,$,q){if(N&&R){var G=isAnySymbolAccessible([N],R,N,j,$,q);if(G){return G}var ie=E.forEach(N.declarations,getExternalModuleContainer);if(ie){var ae=getExternalModuleContainer(R);if(ie!==ae){return{accessibility:2,errorSymbolName:symbolToString(N,R,j),errorModuleName:symbolToString(ie),errorNode:E.isInJSFile(R)?R:undefined}}}return{accessibility:1,errorSymbolName:symbolToString(N,R,j)}}return{accessibility:0}}function getExternalModuleContainer(N){var R=E.findAncestor(N,hasExternalModuleSymbol);return R&&getSymbolOfNode(R)}function hasExternalModuleSymbol(N){return E.isAmbientModule(N)||N.kind===300&&E.isExternalOrCommonJsModule(N)}function hasNonGlobalAugmentationExternalModuleSymbol(N){return E.isModuleWithStringLiteralName(N)||N.kind===300&&E.isExternalOrCommonJsModule(N)}function hasVisibleDeclarations(N,R){var j;if(!E.every(E.filter(N.declarations,(function(E){return E.kind!==79})),getIsDeclarationVisible)){return undefined}return{accessibility:0,aliasesToMakeVisible:j};function getIsDeclarationVisible(R){var j,$;if(!isDeclarationVisible(R)){var q=getAnyImportSyntax(R);if(q&&!E.hasSyntacticModifier(q,1)&&isDeclarationVisible(q.parent)){return addVisibleAlias(R,q)}else if(E.isVariableDeclaration(R)&&E.isVariableStatement(R.parent.parent)&&!E.hasSyntacticModifier(R.parent.parent,1)&&isDeclarationVisible(R.parent.parent.parent)){return addVisibleAlias(R,R.parent.parent)}else if(E.isLateVisibilityPaintedStatement(R)&&!E.hasSyntacticModifier(R,1)&&isDeclarationVisible(R.parent)){return addVisibleAlias(R,R)}else if(N.flags&2097152&&E.isBindingElement(R)&&E.isInJSFile(R)&&((j=R.parent)===null||j===void 0?void 0:j.parent)&&E.isVariableDeclaration(R.parent.parent)&&(($=R.parent.parent.parent)===null||$===void 0?void 0:$.parent)&&E.isVariableStatement(R.parent.parent.parent.parent)&&!E.hasSyntacticModifier(R.parent.parent.parent.parent,1)&&R.parent.parent.parent.parent.parent&&isDeclarationVisible(R.parent.parent.parent.parent.parent)){return addVisibleAlias(R,R.parent.parent.parent.parent)}return false}return true}function addVisibleAlias(N,$){if(R){getNodeLinks(N).isVisible=true;j=E.appendIfUnique(j,$)}return true}}function isEntityNameVisible(N,R){var j;if(N.parent.kind===179||E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)||N.parent.kind===160){j=111551|1048576}else if(N.kind===159||N.kind===204||N.parent.kind===263){j=1920}else{j=788968}var $=E.getFirstIdentifier(N);var q=resolveName(R,$.escapedText,j,undefined,undefined,false);if(q&&q.flags&262144&&j&788968){return{accessibility:0}}return q&&hasVisibleDeclarations(q,true)||{accessibility:1,errorSymbolName:E.getTextOfNode($),errorNode:$}}function symbolToString(N,R,j,$,q){if($===void 0){$=4}var G=70221824;if($&2){G|=128}if($&1){G|=512}if($&8){G|=16384}if($&16){G|=134217728}var ie=$&4?_t.symbolToExpression:_t.symbolToEntityName;return q?symbolToStringWorker(q).getText():E.usingSingleLineStringWriter(symbolToStringWorker);function symbolToStringWorker($){var q=ie(N,j,R,G);var ae=(R===null||R===void 0?void 0:R.kind)===300?E.createPrinter({removeComments:true,neverAsciiEscape:true}):E.createPrinter({removeComments:true});var ce=R&&E.getSourceFileOfNode(R);ae.writeNode(4,q,ce,$);return $}}function signatureToString(N,R,j,$,q){if(j===void 0){j=0}return q?signatureToStringWorker(q).getText():E.usingSingleLineStringWriter(signatureToStringWorker);function signatureToStringWorker(q){var G;if(j&262144){G=$===1?178:177}else{G=$===1?173:172}var ie=_t.signatureToSignatureDeclaration(N,G,R,toNodeBuilderFlags(j)|70221824|512);var ae=E.createPrinter({removeComments:true,omitTrailingSemicolon:true});var ce=R&&E.getSourceFileOfNode(R);ae.writeNode(4,ie,ce,E.getTrailingSemicolonDeferringWriter(q));return q}}function typeToString(N,R,j,$){if(j===void 0){j=1048576|16384}if($===void 0){$=E.createTextWriter("")}var q=Xe.noErrorTruncation||j&1;var G=_t.typeToTypeNode(N,R,toNodeBuilderFlags(j)|70221824|(q?1:0),$);if(G===undefined)return E.Debug.fail("should always get typenode");var ie={removeComments:true};var ae=E.createPrinter(ie);var ce=R&&E.getSourceFileOfNode(R);ae.writeNode(4,G,ce,$);var le=$.getText();var _e=q?E.noTruncationMaximumTruncationLength*2:E.defaultMaximumTruncationLength*2;if(_e&&le&&le.length>=_e){return le.substr(0,_e-"...".length)+"..."}return le}function getTypeNamesForErrorDisplay(E,N){var R=symbolValueDeclarationIsContextSensitive(E.symbol)?typeToString(E,E.symbol.valueDeclaration):typeToString(E);var j=symbolValueDeclarationIsContextSensitive(N.symbol)?typeToString(N,N.symbol.valueDeclaration):typeToString(N);if(R===j){R=getTypeNameForErrorDisplay(E);j=getTypeNameForErrorDisplay(N)}return[R,j]}function getTypeNameForErrorDisplay(E){return typeToString(E,undefined,64)}function symbolValueDeclarationIsContextSensitive(N){return N&&!!N.valueDeclaration&&E.isExpression(N.valueDeclaration)&&!isContextSensitive(N.valueDeclaration)}function toNodeBuilderFlags(E){if(E===void 0){E=0}return E&814775659}function isClassInstanceSide(N){return!!N.symbol&&!!(N.symbol.flags&32)&&(N===getDeclaredTypeOfClassOrInterface(N.symbol)||!!(N.flags&524288)&&!!(E.getObjectFlags(N)&16777216))}function createNodeBuilder(){return{typeToTypeNode:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeToTypeNodeHelper(E,N)}))},indexInfoToIndexSignatureDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return indexInfoToIndexSignatureDeclarationHelper(E,N,undefined)}))},signatureToSignatureDeclaration:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return signatureToSignatureDeclarationHelper(E,N,R)}))},symbolToEntityName:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return symbolToName(E,R,N,false)}))},symbolToExpression:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return symbolToExpression(E,R,N)}))},symbolToTypeParameterDeclarations:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeParametersToTypeParameterDeclarations(E,N)}))},symbolToParameterDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return symbolToParameterDeclaration(E,N)}))},typeParameterToDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeParameterToDeclaration(E,N)}))},symbolTableToDeclarationStatements:function(E,N,R,j,$){return withContext(N,R,j,(function(N){return symbolTableToDeclarationStatements(E,N,$)}))}};function withContext(N,R,j,$){var G,ie;E.Debug.assert(N===undefined||(N.flags&8)===0);var ae={enclosingDeclaration:N,flags:R||0,tracker:j&&j.trackSymbol?j:{trackSymbol:function(){return false},moduleResolverHost:R&134217728?{getCommonSourceDirectory:!!q.getCommonSourceDirectory?function(){return q.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return q.getCurrentDirectory()},getSymlinkCache:E.maybeBind(q,q.getSymlinkCache),useCaseSensitiveFileNames:E.maybeBind(q,q.useCaseSensitiveFileNames),redirectTargetsMap:q.redirectTargetsMap,getProjectReferenceRedirect:function(E){return q.getProjectReferenceRedirect(E)},isSourceOfProjectReferenceRedirect:function(E){return q.isSourceOfProjectReferenceRedirect(E)},fileExists:function(E){return q.fileExists(E)},getFileIncludeReasons:function(){return q.getFileIncludeReasons()}}:undefined},encounteredError:false,reportedDiagnostic:false,visitedTypes:undefined,symbolDepth:undefined,inferTypeParameters:undefined,approximateLength:0};ae.tracker=wrapSymbolTrackerToReportForContext(ae,ae.tracker);var ce=$(ae);if(ae.truncating&&ae.flags&1){(ie=(G=ae.tracker)===null||G===void 0?void 0:G.reportTruncationError)===null||ie===void 0?void 0:ie.call(G)}return ae.encounteredError?undefined:ce}function wrapSymbolTrackerToReportForContext(E,N){var R=N.trackSymbol;return $($({},N),{reportCyclicStructureError:wrapReportedDiagnostic(N.reportCyclicStructureError),reportInaccessibleThisError:wrapReportedDiagnostic(N.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:wrapReportedDiagnostic(N.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:wrapReportedDiagnostic(N.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:wrapReportedDiagnostic(N.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:wrapReportedDiagnostic(N.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:wrapReportedDiagnostic(N.reportNonSerializableProperty),trackSymbol:R&&function(){var N=[];for(var j=0;j<arguments.length;j++){N[j]=arguments[j]}var $=R.apply(void 0,N);if($){E.reportedDiagnostic=true}return $}});function wrapReportedDiagnostic(N){if(!N){return N}return function(){var R=[];for(var j=0;j<arguments.length;j++){R[j]=arguments[j]}E.reportedDiagnostic=true;return N.apply(void 0,R)}}}function checkTruncationLength(N){if(N.truncating)return N.truncating;return N.truncating=N.approximateLength>(N.flags&1?E.noTruncationMaximumTruncationLength:E.defaultMaximumTruncationLength)}function typeToTypeNodeHelper(N,R){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var j=R.flags&8388608;R.flags&=~8388608;if(!N){if(!(R.flags&262144)){R.encounteredError=true;return undefined}R.approximateLength+=3;return E.factory.createKeywordTypeNode(129)}if(!(R.flags&536870912)){N=getReducedType(N)}if(N.flags&1){R.approximateLength+=3;return E.factory.createKeywordTypeNode(N===qt?137:129)}if(N.flags&2){return E.factory.createKeywordTypeNode(153)}if(N.flags&4){R.approximateLength+=6;return E.factory.createKeywordTypeNode(148)}if(N.flags&8){R.approximateLength+=6;return E.factory.createKeywordTypeNode(145)}if(N.flags&64){R.approximateLength+=6;return E.factory.createKeywordTypeNode(156)}if(N.flags&16&&!N.aliasSymbol){R.approximateLength+=7;return E.factory.createKeywordTypeNode(132)}if(N.flags&1024&&!(N.flags&1048576)){var $=getParentOfSymbol(N.symbol);var q=symbolToTypeNode($,R,788968);if(getDeclaredTypeOfSymbol($)===N){return q}var G=E.symbolName(N.symbol);if(E.isIdentifierText(G,0)){return appendReferenceToType(q,E.factory.createTypeReferenceNode(G,undefined))}if(E.isImportTypeNode(q)){q.isTypeOf=true;return E.factory.createIndexedAccessTypeNode(q,E.factory.createLiteralTypeNode(E.factory.createStringLiteral(G)))}else if(E.isTypeReferenceNode(q)){return E.factory.createIndexedAccessTypeNode(E.factory.createTypeQueryNode(q.typeName),E.factory.createLiteralTypeNode(E.factory.createStringLiteral(G)))}else{return E.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}}if(N.flags&1056){return symbolToTypeNode(N.symbol,R,788968)}if(N.flags&128){R.approximateLength+=N.value.length+2;return E.factory.createLiteralTypeNode(E.setEmitFlags(E.factory.createStringLiteral(N.value,!!(R.flags&268435456)),16777216))}if(N.flags&256){var ie=N.value;R.approximateLength+=(""+ie).length;return E.factory.createLiteralTypeNode(ie<0?E.factory.createPrefixUnaryExpression(40,E.factory.createNumericLiteral(-ie)):E.factory.createNumericLiteral(ie))}if(N.flags&2048){R.approximateLength+=E.pseudoBigIntToString(N.value).length+1;return E.factory.createLiteralTypeNode(E.factory.createBigIntLiteral(N.value))}if(N.flags&512){R.approximateLength+=N.intrinsicName.length;return E.factory.createLiteralTypeNode(N.intrinsicName==="true"?E.factory.createTrue():E.factory.createFalse())}if(N.flags&8192){if(!(R.flags&1048576)){if(isValueSymbolAccessible(N.symbol,R.enclosingDeclaration)){R.approximateLength+=6;return symbolToTypeNode(N.symbol,R,111551)}if(R.tracker.reportInaccessibleUniqueSymbolError){R.tracker.reportInaccessibleUniqueSymbolError()}}R.approximateLength+=13;return E.factory.createTypeOperatorNode(152,E.factory.createKeywordTypeNode(149))}if(N.flags&16384){R.approximateLength+=4;return E.factory.createKeywordTypeNode(114)}if(N.flags&32768){R.approximateLength+=9;return E.factory.createKeywordTypeNode(151)}if(N.flags&65536){R.approximateLength+=4;return E.factory.createLiteralTypeNode(E.factory.createNull())}if(N.flags&131072){R.approximateLength+=5;return E.factory.createKeywordTypeNode(142)}if(N.flags&4096){R.approximateLength+=6;return E.factory.createKeywordTypeNode(149)}if(N.flags&67108864){R.approximateLength+=6;return E.factory.createKeywordTypeNode(146)}if(isThisTypeParameter(N)){if(R.flags&4194304){if(!R.encounteredError&&!(R.flags&32768)){R.encounteredError=true}if(R.tracker.reportInaccessibleThisError){R.tracker.reportInaccessibleThisError()}}R.approximateLength+=4;return E.factory.createThisTypeNode()}if(!j&&N.aliasSymbol&&(R.flags&16384||isTypeSymbolAccessible(N.aliasSymbol,R.enclosingDeclaration))){var ae=mapToTypeNodes(N.aliasTypeArguments,R);if(isReservedMemberName(N.aliasSymbol.escapedName)&&!(N.aliasSymbol.flags&32))return E.factory.createTypeReferenceNode(E.factory.createIdentifier(""),ae);return symbolToTypeNode(N.aliasSymbol,R,788968,ae)}var ce=E.getObjectFlags(N);if(ce&4){E.Debug.assert(!!(N.flags&524288));return N.node?visitAndTransformType(N,typeReferenceToTypeNode):typeReferenceToTypeNode(N)}if(N.flags&262144||ce&3){if(N.flags&262144&&E.contains(R.inferTypeParameters,N)){R.approximateLength+=E.symbolName(N.symbol).length+6;return E.factory.createInferTypeNode(typeParameterToDeclarationWithConstraint(N,R,undefined))}if(R.flags&4&&N.flags&262144&&!isTypeSymbolAccessible(N.symbol,R.enclosingDeclaration)){var le=typeParameterToName(N,R);R.approximateLength+=E.idText(le).length;return E.factory.createTypeReferenceNode(E.factory.createIdentifier(E.idText(le)),undefined)}return N.symbol?symbolToTypeNode(N.symbol,R,788968):E.factory.createTypeReferenceNode(E.factory.createIdentifier("?"),undefined)}if(N.flags&1048576&&N.origin){N=N.origin}if(N.flags&(1048576|2097152)){var Ee=N.flags&1048576?formatUnionTypes(N.types):N.types;if(E.length(Ee)===1){return typeToTypeNodeHelper(Ee[0],R)}var Te=mapToTypeNodes(Ee,R,true);if(Te&&Te.length>0){return N.flags&1048576?E.factory.createUnionTypeNode(Te):E.factory.createIntersectionTypeNode(Te)}else{if(!R.encounteredError&&!(R.flags&262144)){R.encounteredError=true}return undefined}}if(ce&(16|32)){E.Debug.assert(!!(N.flags&524288));return createAnonymousTypeNode(N)}if(N.flags&4194304){var we=N.type;R.approximateLength+=6;var Ie=typeToTypeNodeHelper(we,R);return E.factory.createTypeOperatorNode(139,Ie)}if(N.flags&134217728){var Ne=N.texts;var Me=N.types;var Le=E.factory.createTemplateHead(Ne[0]);var Be=E.factory.createNodeArray(E.map(Me,(function(N,j){return E.factory.createTemplateLiteralTypeSpan(typeToTypeNodeHelper(N,R),(j<Me.length-1?E.factory.createTemplateMiddle:E.factory.createTemplateTail)(Ne[j+1]))})));R.approximateLength+=2;return E.factory.createTemplateLiteralType(Le,Be)}if(N.flags&268435456){var je=typeToTypeNodeHelper(N.type,R);return symbolToTypeNode(N.symbol,R,788968,[je])}if(N.flags&8388608){var Ue=typeToTypeNodeHelper(N.objectType,R);var Ie=typeToTypeNodeHelper(N.indexType,R);R.approximateLength+=2;return E.factory.createIndexedAccessTypeNode(Ue,Ie)}if(N.flags&16777216){return visitAndTransformType(N,(function(E){return conditionalTypeToTypeNode(E)}))}if(N.flags&33554432){return typeToTypeNodeHelper(N.baseType,R)}return E.Debug.fail("Should be unreachable.");function conditionalTypeToTypeNode(N){var j=typeToTypeNodeHelper(N.checkType,R);var $=R.inferTypeParameters;R.inferTypeParameters=N.root.inferTypeParameters;var q=typeToTypeNodeHelper(N.extendsType,R);R.inferTypeParameters=$;var G=typeToTypeNodeOrCircularityElision(getTrueTypeFromConditionalType(N));var ie=typeToTypeNodeOrCircularityElision(getFalseTypeFromConditionalType(N));R.approximateLength+=15;return E.factory.createConditionalTypeNode(j,q,G,ie)}function typeToTypeNodeOrCircularityElision(E){var N,j,$;if(E.flags&1048576){if((N=R.visitedTypes)===null||N===void 0?void 0:N.has(getTypeId(E))){if(!(R.flags&131072)){R.encounteredError=true;($=(j=R.tracker)===null||j===void 0?void 0:j.reportCyclicStructureError)===null||$===void 0?void 0:$.call(j)}return createElidedInformationPlaceholder(R)}return visitAndTransformType(E,(function(E){return typeToTypeNodeHelper(E,R)}))}return typeToTypeNodeHelper(E,R)}function createMappedTypeNodeFromType(N){E.Debug.assert(!!(N.flags&524288));var j=N.declaration.readonlyToken?E.factory.createToken(N.declaration.readonlyToken.kind):undefined;var $=N.declaration.questionToken?E.factory.createToken(N.declaration.questionToken.kind):undefined;var q;if(isMappedTypeWithKeyofConstraintDeclaration(N)){q=E.factory.createTypeOperatorNode(139,typeToTypeNodeHelper(getModifiersTypeFromMappedType(N),R))}else{q=typeToTypeNodeHelper(getConstraintTypeFromMappedType(N),R)}var G=typeParameterToDeclarationWithConstraint(getTypeParameterFromMappedType(N),R,q);var ie=N.declaration.nameType?typeToTypeNodeHelper(getNameTypeFromMappedType(N),R):undefined;var ae=typeToTypeNodeHelper(removeMissingType(getTemplateTypeFromMappedType(N),!!(getMappedTypeModifiers(N)&4)),R);var ce=E.factory.createMappedTypeNode(j,G,ie,$,ae);R.approximateLength+=10;return E.setEmitFlags(ce,1)}function createAnonymousTypeNode(N){var j;var $=N.id;var q=N.symbol;if(q){var G=isClassInstanceSide(N)?788968:111551;if(isJSConstructor(q.valueDeclaration)){return symbolToTypeNode(q,R,G)}else if(q.flags&32&&!getBaseTypeVariableOfClass(q)&&!(q.valueDeclaration&&q.valueDeclaration.kind===224&&R.flags&2048)||q.flags&(384|512)||shouldWriteTypeOfFunctionSymbol()){return symbolToTypeNode(q,R,G)}else if((j=R.visitedTypes)===null||j===void 0?void 0:j.has($)){var ie=getTypeAliasForTypeLiteral(N);if(ie){return symbolToTypeNode(ie,R,788968)}else{return createElidedInformationPlaceholder(R)}}else{return visitAndTransformType(N,createTypeNodeFromObjectType)}}else{return createTypeNodeFromObjectType(N)}function shouldWriteTypeOfFunctionSymbol(){var N;var j=!!(q.flags&8192)&&E.some(q.declarations,(function(N){return E.isStatic(N)}));var G=!!(q.flags&16)&&(q.parent||E.forEach(q.declarations,(function(E){return E.parent.kind===300||E.parent.kind===260})));if(j||G){return(!!(R.flags&4096)||((N=R.visitedTypes)===null||N===void 0?void 0:N.has($)))&&(!(R.flags&8)||isValueSymbolAccessible(q,R.enclosingDeclaration))}}}function visitAndTransformType(N,j){var $,q;var G=N.id;var ie=E.getObjectFlags(N)&16&&N.symbol&&N.symbol.flags&32;var ae=E.getObjectFlags(N)&4&&N.node?"N"+getNodeId(N.node):N.flags&16777216?"N"+getNodeId(N.root.node):N.symbol?(ie?"+":"")+getSymbolId(N.symbol):undefined;if(!R.visitedTypes){R.visitedTypes=new E.Set}if(ae&&!R.symbolDepth){R.symbolDepth=new E.Map}var ce=R.enclosingDeclaration&&getNodeLinks(R.enclosingDeclaration);var le=getTypeId(N)+"|"+R.flags;if(ce){ce.serializedTypes||(ce.serializedTypes=new E.Map)}var _e=($=ce===null||ce===void 0?void 0:ce.serializedTypes)===null||$===void 0?void 0:$.get(le);if(_e){if(_e.truncating){R.truncating=true}R.approximateLength+=_e.addedLength;return deepCloneOrReuseNode(_e)}var Ee;if(ae){Ee=R.symbolDepth.get(ae)||0;if(Ee>10){return createElidedInformationPlaceholder(R)}R.symbolDepth.set(ae,Ee+1)}R.visitedTypes.add(G);var Te=R.approximateLength;var we=j(N);var Ie=R.approximateLength-Te;if(!R.reportedDiagnostic&&!R.encounteredError){if(R.truncating){we.truncating=true}we.addedLength=Ie;(q=ce===null||ce===void 0?void 0:ce.serializedTypes)===null||q===void 0?void 0:q.set(le,we)}R.visitedTypes.delete(G);if(ae){R.symbolDepth.set(ae,Ee)}return we;function deepCloneOrReuseNode(N){if(!E.nodeIsSynthesized(N)&&E.getParseTreeNode(N)===N){return N}return E.setTextRange(E.factory.cloneNode(E.visitEachChild(N,deepCloneOrReuseNode,E.nullTransformationContext)),N)}}function createTypeNodeFromObjectType(N){if(isGenericMappedType(N)||N.containsError){return createMappedTypeNodeFromType(N)}var j=resolveStructuredTypeMembers(N);if(!j.properties.length&&!j.indexInfos.length){if(!j.callSignatures.length&&!j.constructSignatures.length){R.approximateLength+=2;return E.setEmitFlags(E.factory.createTypeLiteralNode(undefined),1)}if(j.callSignatures.length===1&&!j.constructSignatures.length){var $=j.callSignatures[0];var q=signatureToSignatureDeclarationHelper($,177,R);return q}if(j.constructSignatures.length===1&&!j.callSignatures.length){var $=j.constructSignatures[0];var q=signatureToSignatureDeclarationHelper($,178,R);return q}}var G=E.filter(j.constructSignatures,(function(E){return!!(E.flags&4)}));if(E.some(G)){var ie=E.map(G,getOrCreateTypeFromSignature);var ae=j.callSignatures.length+(j.constructSignatures.length-G.length)+j.indexInfos.length+(R.flags&2048?E.countWhere(j.properties,(function(E){return!(E.flags&4194304)})):E.length(j.properties));if(ae){ie.push(getResolvedTypeWithoutAbstractConstructSignatures(j))}return typeToTypeNodeHelper(getIntersectionType(ie),R)}var ce=R.flags;R.flags|=4194304;var le=createTypeNodesFromResolvedType(j);R.flags=ce;var _e=E.factory.createTypeLiteralNode(le);R.approximateLength+=2;E.setEmitFlags(_e,R.flags&1024?0:1);return _e}function typeReferenceToTypeNode(N){var j=getTypeArguments(N);if(N.target===on||N.target===sn){if(R.flags&2){var $=typeToTypeNodeHelper(j[0],R);return E.factory.createTypeReferenceNode(N.target===on?"Array":"ReadonlyArray",[$])}var q=typeToTypeNodeHelper(j[0],R);var G=E.factory.createArrayTypeNode(q);return N.target===on?G:E.factory.createTypeOperatorNode(143,G)}else if(N.target.objectFlags&8){j=E.sameMap(j,(function(E,R){return removeMissingType(E,!!(N.target.elementFlags[R]&2))}));if(j.length>0){var ie=getTypeReferenceArity(N);var ae=mapToTypeNodes(j.slice(0,ie),R);if(ae){if(N.target.labeledElementDeclarations){for(var ce=0;ce<ae.length;ce++){var le=N.target.elementFlags[ce];ae[ce]=E.factory.createNamedTupleMember(le&12?E.factory.createToken(25):undefined,E.factory.createIdentifier(E.unescapeLeadingUnderscores(getTupleElementLabel(N.target.labeledElementDeclarations[ce]))),le&2?E.factory.createToken(57):undefined,le&4?E.factory.createArrayTypeNode(ae[ce]):ae[ce])}}else{for(var ce=0;ce<Math.min(ie,ae.length);ce++){var le=N.target.elementFlags[ce];ae[ce]=le&12?E.factory.createRestTypeNode(le&4?E.factory.createArrayTypeNode(ae[ce]):ae[ce]):le&2?E.factory.createOptionalTypeNode(ae[ce]):ae[ce]}}var _e=E.setEmitFlags(E.factory.createTupleTypeNode(ae),1);return N.target.readonly?E.factory.createTypeOperatorNode(143,_e):_e}}if(R.encounteredError||R.flags&524288){var _e=E.setEmitFlags(E.factory.createTupleTypeNode([]),1);return N.target.readonly?E.factory.createTypeOperatorNode(143,_e):_e}R.encounteredError=true;return undefined}else if(R.flags&2048&&N.symbol.valueDeclaration&&E.isClassLike(N.symbol.valueDeclaration)&&!isValueSymbolAccessible(N.symbol,R.enclosingDeclaration)){return createAnonymousTypeNode(N)}else{var Ee=N.target.outerTypeParameters;var ce=0;var Te=void 0;if(Ee){var we=Ee.length;while(ce<we){var Ie=ce;var Ne=getParentSymbolOfTypeParameter(Ee[ce]);do{ce++}while(ce<we&&getParentSymbolOfTypeParameter(Ee[ce])===Ne);if(!E.rangeEquals(Ee,j,Ie,ce)){var Me=mapToTypeNodes(j.slice(Ie,ce),R);var Le=R.flags;R.flags|=16;var Be=symbolToTypeNode(Ne,R,788968,Me);R.flags=Le;Te=!Te?Be:appendReferenceToType(Te,Be)}}}var je=void 0;if(j.length>0){var Ue=(N.target.typeParameters||E.emptyArray).length;je=mapToTypeNodes(j.slice(ce,Ue),R)}var le=R.flags;R.flags|=16;var ze=symbolToTypeNode(N.symbol,R,788968,je);R.flags=le;return!Te?ze:appendReferenceToType(Te,ze)}}function appendReferenceToType(N,R){if(E.isImportTypeNode(N)){var j=N.typeArguments;var $=N.qualifier;if($){if(E.isIdentifier($)){$=E.factory.updateIdentifier($,j)}else{$=E.factory.updateQualifiedName($,$.left,E.factory.updateIdentifier($.right,j))}}j=R.typeArguments;var q=getAccessStack(R);for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];$=$?E.factory.createQualifiedName($,ae):ae}return E.factory.updateImportTypeNode(N,N.argument,$,j,N.isTypeOf)}else{var j=N.typeArguments;var ce=N.typeName;if(E.isIdentifier(ce)){ce=E.factory.updateIdentifier(ce,j)}else{ce=E.factory.updateQualifiedName(ce,ce.left,E.factory.updateIdentifier(ce.right,j))}j=R.typeArguments;var q=getAccessStack(R);for(var le=0,_e=q;le<_e.length;le++){var ae=_e[le];ce=E.factory.createQualifiedName(ce,ae)}return E.factory.updateTypeReferenceNode(N,ce,j)}}function getAccessStack(N){var R=N.typeName;var j=[];while(!E.isIdentifier(R)){j.unshift(R.right);R=R.left}j.unshift(R);return j}function createTypeNodesFromResolvedType(N){if(checkTruncationLength(R)){return[E.factory.createPropertySignature(undefined,"...",undefined,undefined)]}var j=[];for(var $=0,q=N.callSignatures;$<q.length;$++){var G=q[$];j.push(signatureToSignatureDeclarationHelper(G,172,R))}for(var ie=0,ae=N.constructSignatures;ie<ae.length;ie++){var G=ae[ie];if(G.flags&4)continue;j.push(signatureToSignatureDeclarationHelper(G,173,R))}for(var ce=0,le=N.indexInfos;ce<le.length;ce++){var _e=le[ce];j.push(indexInfoToIndexSignatureDeclarationHelper(_e,R,N.objectFlags&1024?createElidedInformationPlaceholder(R):undefined))}var Ee=N.properties;if(!Ee){return j}var Te=0;for(var we=0,Ie=Ee;we<Ie.length;we++){var Ne=Ie[we];Te++;if(R.flags&2048){if(Ne.flags&4194304){continue}if(E.getDeclarationModifierFlagsFromSymbol(Ne)&(8|16)&&R.tracker.reportPrivateInBaseOfClassExpression){R.tracker.reportPrivateInBaseOfClassExpression(E.unescapeLeadingUnderscores(Ne.escapedName))}}if(checkTruncationLength(R)&&Te+2<Ee.length-1){j.push(E.factory.createPropertySignature(undefined,"... "+(Ee.length-Te)+" more ...",undefined,undefined));addPropertyToElementList(Ee[Ee.length-1],R,j);break}addPropertyToElementList(Ne,R,j)}return j.length?j:undefined}}function createElidedInformationPlaceholder(N){N.approximateLength+=3;if(!(N.flags&1)){return E.factory.createTypeReferenceNode(E.factory.createIdentifier("..."),undefined)}return E.factory.createKeywordTypeNode(129)}function shouldUsePlaceholderForProperty(N,R){var j;return!!(E.getCheckFlags(N)&8192)&&(E.contains(R.reverseMappedStack,N)||((j=R.reverseMappedStack)===null||j===void 0?void 0:j[0])&&!(E.getObjectFlags(E.last(R.reverseMappedStack).propertyType)&16))}function addPropertyToElementList(N,R,j){var $,q;var G=!!(E.getCheckFlags(N)&8192);var ie=shouldUsePlaceholderForProperty(N,R)?zt:getNonMissingTypeOfSymbol(N);var ae=R.enclosingDeclaration;R.enclosingDeclaration=undefined;if(R.tracker.trackSymbol&&E.getCheckFlags(N)&4096&&isLateBoundName(N.escapedName)){if(N.declarations){var ce=E.first(N.declarations);if(hasLateBindableName(ce)){if(E.isBinaryExpression(ce)){var le=E.getNameOfDeclaration(ce);if(le&&E.isElementAccessExpression(le)&&E.isPropertyAccessEntityNameExpression(le.argumentExpression)){trackComputedName(le.argumentExpression,ae,R)}}else{trackComputedName(ce.name.expression,ae,R)}}}else if(($=R.tracker)===null||$===void 0?void 0:$.reportNonSerializableProperty){R.tracker.reportNonSerializableProperty(symbolToString(N))}}R.enclosingDeclaration=N.valueDeclaration||((q=N.declarations)===null||q===void 0?void 0:q[0])||ae;var _e=getPropertyNameNodeForSymbol(N,R);R.enclosingDeclaration=ae;R.approximateLength+=E.symbolName(N).length+1;var Ee=N.flags&16777216?E.factory.createToken(57):undefined;if(N.flags&(16|8192)&&!getPropertiesOfObjectType(ie).length&&!isReadonlySymbol(N)){var Te=getSignaturesOfType(filterType(ie,(function(E){return!(E.flags&32768)})),0);for(var we=0,Ie=Te;we<Ie.length;we++){var Ne=Ie[we];var Me=signatureToSignatureDeclarationHelper(Ne,166,R,{name:_e,questionToken:Ee});j.push(preserveCommentsOn(Me))}}else{var Le=void 0;if(shouldUsePlaceholderForProperty(N,R)){Le=createElidedInformationPlaceholder(R)}else{if(G){R.reverseMappedStack||(R.reverseMappedStack=[]);R.reverseMappedStack.push(N)}Le=ie?serializeTypeForDeclaration(R,ie,N,ae):E.factory.createKeywordTypeNode(129);if(G){R.reverseMappedStack.pop()}}var Be=isReadonlySymbol(N)?[E.factory.createToken(143)]:undefined;if(Be){R.approximateLength+=9}var je=E.factory.createPropertySignature(Be,_e,Ee,Le);j.push(preserveCommentsOn(je))}function preserveCommentsOn(R){var j;if(E.some(N.declarations,(function(E){return E.kind===342}))){var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(E){return E.kind===342}));var q=E.getTextOfJSDocComment($.comment);if(q){E.setSyntheticLeadingComments(R,[{kind:3,text:"*\n * "+q.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:true}])}}else if(N.valueDeclaration){E.setCommentRange(R,N.valueDeclaration)}return R}}function mapToTypeNodes(N,R,j){if(E.some(N)){if(checkTruncationLength(R)){if(!j){return[E.factory.createTypeReferenceNode("...",undefined)]}else if(N.length>2){return[typeToTypeNodeHelper(N[0],R),E.factory.createTypeReferenceNode("... "+(N.length-2)+" more ...",undefined),typeToTypeNodeHelper(N[N.length-1],R)]}}var $=!(R.flags&64);var q=$?E.createUnderscoreEscapedMultiMap():undefined;var G=[];var ie=0;for(var ae=0,ce=N;ae<ce.length;ae++){var le=ce[ae];ie++;if(checkTruncationLength(R)&&ie+2<N.length-1){G.push(E.factory.createTypeReferenceNode("... "+(N.length-ie)+" more ...",undefined));var _e=typeToTypeNodeHelper(N[N.length-1],R);if(_e){G.push(_e)}break}R.approximateLength+=2;var Ee=typeToTypeNodeHelper(le,R);if(Ee){G.push(Ee);if(q&&E.isIdentifierTypeReference(Ee)){q.add(Ee.typeName.escapedText,[le,G.length-1])}}}if(q){var Te=R.flags;R.flags|=64;q.forEach((function(N){if(!E.arrayIsHomogeneous(N,(function(E,N){var R=E[0];var j=N[0];return typesAreSameReference(R,j)}))){for(var j=0,$=N;j<$.length;j++){var q=$[j],ie=q[0],ae=q[1];G[ae]=typeToTypeNodeHelper(ie,R)}}}));R.flags=Te}return G}}function typesAreSameReference(E,N){return E===N||!!E.symbol&&E.symbol===N.symbol||!!E.aliasSymbol&&E.aliasSymbol===N.aliasSymbol}function indexInfoToIndexSignatureDeclarationHelper(N,R,j){var $=E.getNameFromIndexInfo(N)||"x";var q=typeToTypeNodeHelper(N.keyType,R);var G=E.factory.createParameterDeclaration(undefined,undefined,undefined,$,undefined,q,undefined);if(!j){j=typeToTypeNodeHelper(N.type||zt,R)}if(!N.type&&!(R.flags&2097152)){R.encounteredError=true}R.approximateLength+=$.length+4;return E.factory.createIndexSignature(undefined,N.isReadonly?[E.factory.createToken(143)]:undefined,[G],j)}function signatureToSignatureDeclarationHelper(N,R,j,$){var q,G,ie,ae;var ce=j.flags&256;if(ce)j.flags&=~256;j.approximateLength+=3;var le;var _e;if(j.flags&32&&N.target&&N.mapper&&N.target.typeParameters){_e=N.target.typeParameters.map((function(E){return typeToTypeNodeHelper(instantiateType(E,N.mapper),j)}))}else{le=N.typeParameters&&N.typeParameters.map((function(E){return typeParameterToDeclaration(E,j)}))}var Ee=getExpandedParameters(N,true)[0];var Te=(E.some(Ee,(function(N){return N!==Ee[Ee.length-1]&&!!(E.getCheckFlags(N)&32768)}))?N.parameters:Ee).map((function(E){return symbolToParameterDeclaration(E,j,R===169,$===null||$===void 0?void 0:$.privateSymbolVisitor,$===null||$===void 0?void 0:$.bundledImports)}));if(N.thisParameter){var we=symbolToParameterDeclaration(N.thisParameter,j);Te.unshift(we)}var Ie;var Ne=getTypePredicateOfSignature(N);if(Ne){var Me=Ne.kind===2||Ne.kind===3?E.factory.createToken(128):undefined;var Le=Ne.kind===1||Ne.kind===3?E.setEmitFlags(E.factory.createIdentifier(Ne.parameterName),16777216):E.factory.createThisTypeNode();var Be=Ne.type&&typeToTypeNodeHelper(Ne.type,j);Ie=E.factory.createTypePredicateNode(Me,Le,Be)}else{var je=getReturnTypeOfSignature(N);if(je&&!(ce&&isTypeAny(je))){Ie=serializeReturnTypeForSignature(j,je,N,$===null||$===void 0?void 0:$.privateSymbolVisitor,$===null||$===void 0?void 0:$.bundledImports)}else if(!ce){Ie=E.factory.createKeywordTypeNode(129)}}var Ue=$===null||$===void 0?void 0:$.modifiers;if(R===178&&N.flags&4){var ze=E.modifiersToFlags(Ue);Ue=E.factory.createModifiersFromModifierFlags(ze|128)}var We=R===172?E.factory.createCallSignature(le,Te,Ie):R===173?E.factory.createConstructSignature(le,Te,Ie):R===166?E.factory.createMethodSignature(Ue,(q=$===null||$===void 0?void 0:$.name)!==null&&q!==void 0?q:E.factory.createIdentifier(""),$===null||$===void 0?void 0:$.questionToken,le,Te,Ie):R===167?E.factory.createMethodDeclaration(undefined,Ue,undefined,(G=$===null||$===void 0?void 0:$.name)!==null&&G!==void 0?G:E.factory.createIdentifier(""),undefined,le,Te,Ie,undefined):R===169?E.factory.createConstructorDeclaration(undefined,Ue,Te,undefined):R===170?E.factory.createGetAccessorDeclaration(undefined,Ue,(ie=$===null||$===void 0?void 0:$.name)!==null&&ie!==void 0?ie:E.factory.createIdentifier(""),Te,Ie,undefined):R===171?E.factory.createSetAccessorDeclaration(undefined,Ue,(ae=$===null||$===void 0?void 0:$.name)!==null&&ae!==void 0?ae:E.factory.createIdentifier(""),Te,undefined):R===174?E.factory.createIndexSignature(undefined,Ue,Te,Ie):R===312?E.factory.createJSDocFunctionType(Te,Ie):R===177?E.factory.createFunctionTypeNode(le,Te,Ie!==null&&Ie!==void 0?Ie:E.factory.createTypeReferenceNode(E.factory.createIdentifier(""))):R===178?E.factory.createConstructorTypeNode(Ue,le,Te,Ie!==null&&Ie!==void 0?Ie:E.factory.createTypeReferenceNode(E.factory.createIdentifier(""))):R===254?E.factory.createFunctionDeclaration(undefined,Ue,undefined,($===null||$===void 0?void 0:$.name)?E.cast($.name,E.isIdentifier):E.factory.createIdentifier(""),le,Te,Ie,undefined):R===211?E.factory.createFunctionExpression(Ue,undefined,($===null||$===void 0?void 0:$.name)?E.cast($.name,E.isIdentifier):E.factory.createIdentifier(""),le,Te,Ie,E.factory.createBlock([])):R===212?E.factory.createArrowFunction(Ue,le,Te,Ie,undefined,E.factory.createBlock([])):E.Debug.assertNever(R);if(_e){We.typeArguments=E.factory.createNodeArray(_e)}return We}function typeParameterToDeclarationWithConstraint(N,R,j){var $=R.flags;R.flags&=~512;var q=typeParameterToName(N,R);var G=getDefaultFromTypeParameter(N);var ie=G&&typeToTypeNodeHelper(G,R);R.flags=$;return E.factory.createTypeParameterDeclaration(q,j,ie)}function typeParameterToDeclaration(E,N,R){if(R===void 0){R=getConstraintOfTypeParameter(E)}var j=R&&typeToTypeNodeHelper(R,N);return typeParameterToDeclarationWithConstraint(E,N,j)}function symbolToParameterDeclaration(N,R,j,$,q){var G=E.getDeclarationOfKind(N,162);if(!G&&!E.isTransientSymbol(N)){G=E.getDeclarationOfKind(N,335)}var ie=getTypeOfSymbol(N);if(G&&isRequiredInitializedParameter(G)){ie=getOptionalType(ie)}if(R.flags&1073741824&&G&&!E.isJSDocParameterTag(G)&&isOptionalUninitializedParameter(G)){ie=getTypeWithFacts(ie,524288)}var ae=serializeTypeForDeclaration(R,ie,N,R.enclosingDeclaration,$,q);var ce=!(R.flags&8192)&&j&&G&&G.modifiers?G.modifiers.map(E.factory.cloneNode):undefined;var le=G&&E.isRestParameter(G)||E.getCheckFlags(N)&32768;var _e=le?E.factory.createToken(25):undefined;var Ee=G?G.name?G.name.kind===79?E.setEmitFlags(E.factory.cloneNode(G.name),16777216):G.name.kind===159?E.setEmitFlags(E.factory.cloneNode(G.name.right),16777216):cloneBindingName(G.name):E.symbolName(N):E.symbolName(N);var Te=G&&isOptionalParameter(G)||E.getCheckFlags(N)&16384;var we=Te?E.factory.createToken(57):undefined;var Ie=E.factory.createParameterDeclaration(undefined,ce,_e,Ee,we,ae,undefined);R.approximateLength+=E.symbolName(N).length+3;return Ie;function cloneBindingName(N){return elideInitializerAndSetEmitFlags(N);function elideInitializerAndSetEmitFlags(N){if(R.tracker.trackSymbol&&E.isComputedPropertyName(N)&&isLateBindableName(N)){trackComputedName(N.expression,R.enclosingDeclaration,R)}var j=E.visitEachChild(N,elideInitializerAndSetEmitFlags,E.nullTransformationContext,undefined,elideInitializerAndSetEmitFlags);if(E.isBindingElement(j)){j=E.factory.updateBindingElement(j,j.dotDotDotToken,j.propertyName,j.name,undefined)}if(!E.nodeIsSynthesized(j)){j=E.factory.cloneNode(j)}return E.setEmitFlags(j,1|16777216)}}}function trackComputedName(N,R,j){if(!j.tracker.trackSymbol)return;var $=E.getFirstIdentifier(N);var q=resolveName($,$.escapedText,111551|1048576,undefined,undefined,true);if(q){j.tracker.trackSymbol(q,R,111551)}}function lookupSymbolChain(E,N,R,j){N.tracker.trackSymbol(E,N.enclosingDeclaration,R);return lookupSymbolChainWorker(E,N,R,j)}function lookupSymbolChainWorker(N,R,j,$){var q;var G=N.flags&262144;if(!G&&(R.enclosingDeclaration||R.flags&64)&&!(R.flags&134217728)){q=E.Debug.checkDefined(getSymbolChain(N,j,true));E.Debug.assert(q&&q.length>0)}else{q=[N]}return q;function getSymbolChain(N,j,q){var G=getAccessibleSymbolChain(N,R.enclosingDeclaration,j,!!(R.flags&128));var ie;if(!G||needsQualification(G[0],R.enclosingDeclaration,G.length===1?j:getQualifiedLeftMeaning(j))){var ae=getContainersOfSymbol(G?G[0]:N,R.enclosingDeclaration,j);if(E.length(ae)){ie=ae.map((function(N){return E.some(N.declarations,hasNonGlobalAugmentationExternalModuleSymbol)?getSpecifierForModuleSymbol(N,R):undefined}));var ce=ae.map((function(E,N){return N}));ce.sort(sortByBestName);var le=ce.map((function(E){return ae[E]}));for(var _e=0,Ee=le;_e<Ee.length;_e++){var Te=Ee[_e];var we=getSymbolChain(Te,getQualifiedLeftMeaning(j),false);if(we){if(Te.exports&&Te.exports.get("export=")&&getSymbolIfSameReference(Te.exports.get("export="),N)){G=we;break}G=we.concat(G||[getAliasForSymbolInContainer(Te,N)||N]);break}}}}if(G){return G}if(q||!(N.flags&(2048|4096))){if(!q&&!$&&!!E.forEach(N.declarations,hasNonGlobalAugmentationExternalModuleSymbol)){return}return[N]}function sortByBestName(N,R){var j=ie[N];var $=ie[R];if(j&&$){var q=E.pathIsRelative($);if(E.pathIsRelative(j)===q){return E.moduleSpecifiers.countPathComponents(j)-E.moduleSpecifiers.countPathComponents($)}if(q){return-1}return 1}return 0}}}function typeParametersToTypeParameterDeclarations(N,R){var j;var $=getTargetSymbol(N);if($.flags&(32|64|524288)){j=E.factory.createNodeArray(E.map(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N),(function(E){return typeParameterToDeclaration(E,R)})))}return j}function lookupTypeParameterNodes(N,R,j){var $;E.Debug.assert(N&&0<=R&&R<N.length);var q=N[R];var G=getSymbolId(q);if(($=j.typeParameterSymbolList)===null||$===void 0?void 0:$.has(G)){return undefined}(j.typeParameterSymbolList||(j.typeParameterSymbolList=new E.Set)).add(G);var ie;if(j.flags&512&&R<N.length-1){var ae=q;var ce=N[R+1];if(E.getCheckFlags(ce)&1){var le=getTypeParametersOfClassOrInterface(ae.flags&2097152?resolveAlias(ae):ae);ie=mapToTypeNodes(E.map(le,(function(E){return getMappedType(E,ce.mapper)})),j)}else{ie=typeParametersToTypeParameterDeclarations(q,j)}}return ie}function getTopmostIndexedAccessType(N){if(E.isIndexedAccessTypeNode(N.objectType)){return getTopmostIndexedAccessType(N.objectType)}return N}function getSpecifierForModuleSymbol(R,j){var q;var G=E.getDeclarationOfKind(R,300);if(!G){var ie=E.firstDefined(R.declarations,(function(E){return getFileSymbolIfFileSymbolExportEqualsContainer(E,R)}));if(ie){G=E.getDeclarationOfKind(ie,300)}}if(G&&G.moduleName!==undefined){return G.moduleName}if(!G){if(j.tracker.trackReferencedAmbientModule){var ae=E.filter(R.declarations,E.isAmbientModule);if(E.length(ae)){for(var ce=0,le=ae;ce<le.length;ce++){var _e=le[ce];j.tracker.trackReferencedAmbientModule(_e,R)}}}if(N.test(R.escapedName)){return R.escapedName.substring(1,R.escapedName.length-1)}}if(!j.enclosingDeclaration||!j.tracker.moduleResolverHost){if(N.test(R.escapedName)){return R.escapedName.substring(1,R.escapedName.length-1)}return E.getSourceFileOfNode(E.getNonAugmentationDeclaration(R)).fileName}var Ee=E.getSourceFileOfNode(E.getOriginalNode(j.enclosingDeclaration));var Te=getSymbolLinks(R);var we=Te.specifierCache&&Te.specifierCache.get(Ee.path);if(!we){var Ie=!!E.outFile(Xe);var Ne=j.tracker.moduleResolverHost;var Me=Ie?$($({},Xe),{baseUrl:Ne.getCommonSourceDirectory()}):Xe;we=E.first(E.moduleSpecifiers.getModuleSpecifiers(R,Tt,Me,Ee,Ne,{importModuleSpecifierPreference:Ie?"non-relative":"project-relative",importModuleSpecifierEnding:Ie?"minimal":undefined}));(q=Te.specifierCache)!==null&&q!==void 0?q:Te.specifierCache=new E.Map;Te.specifierCache.set(Ee.path,we)}return we}function symbolToTypeNode(N,R,j,$){var q=lookupSymbolChain(N,R,j,!(R.flags&16384));var G=j===111551;if(E.some(q[0].declarations,hasNonGlobalAugmentationExternalModuleSymbol)){var ie=q.length>1?createAccessFromSymbolChain(q,q.length-1,1):undefined;var ae=$||lookupTypeParameterNodes(q,0,R);var ce=getSpecifierForModuleSymbol(q[0],R);if(!(R.flags&67108864)&&E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.NodeJs&&ce.indexOf("/node_modules/")>=0){R.encounteredError=true;if(R.tracker.reportLikelyUnsafeImportRequiredError){R.tracker.reportLikelyUnsafeImportRequiredError(ce)}}var le=E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce));if(R.tracker.trackExternalModuleSymbolOfImportTypeNode)R.tracker.trackExternalModuleSymbolOfImportTypeNode(q[0]);R.approximateLength+=ce.length+10;if(!ie||E.isEntityName(ie)){if(ie){var _e=E.isIdentifier(ie)?ie:ie.right;_e.typeArguments=undefined}return E.factory.createImportTypeNode(le,ie,ae,G)}else{var Ee=getTopmostIndexedAccessType(ie);var Te=Ee.objectType.typeName;return E.factory.createIndexedAccessTypeNode(E.factory.createImportTypeNode(le,Te,ae,G),Ee.indexType)}}var we=createAccessFromSymbolChain(q,q.length-1,0);if(E.isIndexedAccessTypeNode(we)){return we}if(G){return E.factory.createTypeQueryNode(we)}else{var _e=E.isIdentifier(we)?we:we.right;var Ie=_e.typeArguments;_e.typeArguments=undefined;return E.factory.createTypeReferenceNode(we,Ie)}function createAccessFromSymbolChain(N,j,q){var G=j===N.length-1?$:lookupTypeParameterNodes(N,j,R);var ie=N[j];var ae=N[j-1];var ce;if(j===0){R.flags|=16777216;ce=getNameOfSymbolAsWritten(ie,R);R.approximateLength+=(ce?ce.length:0)+1;R.flags^=16777216}else{if(ae&&getExportsOfSymbol(ae)){var le=getExportsOfSymbol(ae);E.forEachEntry(le,(function(N,R){if(getSymbolIfSameReference(N,ie)&&!isLateBoundName(R)&&R!=="export="){ce=E.unescapeLeadingUnderscores(R);return true}}))}}if(!ce){ce=getNameOfSymbolAsWritten(ie,R)}R.approximateLength+=ce.length+1;if(!(R.flags&16)&&ae&&getMembersOfSymbol(ae)&&getMembersOfSymbol(ae).get(ie.escapedName)&&getSymbolIfSameReference(getMembersOfSymbol(ae).get(ie.escapedName),ie)){var _e=createAccessFromSymbolChain(N,j-1,q);if(E.isIndexedAccessTypeNode(_e)){return E.factory.createIndexedAccessTypeNode(_e,E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce)))}else{return E.factory.createIndexedAccessTypeNode(E.factory.createTypeReferenceNode(_e,G),E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce)))}}var Ee=E.setEmitFlags(E.factory.createIdentifier(ce,G),16777216);Ee.symbol=ie;if(j>q){var _e=createAccessFromSymbolChain(N,j-1,q);if(!E.isEntityName(_e)){return E.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return E.factory.createQualifiedName(_e,Ee)}return Ee}}function typeParameterShadowsNameInScope(E,N,R){var j=resolveName(N.enclosingDeclaration,E,788968,undefined,E,false);if(j){if(j.flags&262144&&j===R.symbol){return false}return true}return false}function typeParameterToName(N,R){var j,$;if(R.flags&4&&R.typeParameterNames){var q=R.typeParameterNames.get(getTypeId(N));if(q){return q}}var G=symbolToName(N.symbol,R,788968,true);if(!(G.kind&79)){return E.factory.createIdentifier("(Missing type parameter)")}if(R.flags&4){var ie=G.escapedText;var ae=((j=R.typeParameterNamesByTextNextNameCount)===null||j===void 0?void 0:j.get(ie))||0;var ce=ie;while((($=R.typeParameterNamesByText)===null||$===void 0?void 0:$.has(ce))||typeParameterShadowsNameInScope(ce,R,N)){ae++;ce=ie+"_"+ae}if(ce!==ie){G=E.factory.createIdentifier(ce,G.typeArguments)}(R.typeParameterNamesByTextNextNameCount||(R.typeParameterNamesByTextNextNameCount=new E.Map)).set(ie,ae);(R.typeParameterNames||(R.typeParameterNames=new E.Map)).set(getTypeId(N),G);(R.typeParameterNamesByText||(R.typeParameterNamesByText=new E.Set)).add(ie)}return G}function symbolToName(N,R,j,$){var q=lookupSymbolChain(N,R,j);if($&&q.length!==1&&!R.encounteredError&&!(R.flags&65536)){R.encounteredError=true}return createEntityNameFromSymbolChain(q,q.length-1);function createEntityNameFromSymbolChain(N,j){var $=lookupTypeParameterNodes(N,j,R);var q=N[j];if(j===0){R.flags|=16777216}var G=getNameOfSymbolAsWritten(q,R);if(j===0){R.flags^=16777216}var ie=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);ie.symbol=q;return j>0?E.factory.createQualifiedName(createEntityNameFromSymbolChain(N,j-1),ie):ie}}function symbolToExpression(N,R,j){var $=lookupSymbolChain(N,R,j);return createExpressionFromSymbolChain($,$.length-1);function createExpressionFromSymbolChain(N,j){var $=lookupTypeParameterNodes(N,j,R);var q=N[j];if(j===0){R.flags|=16777216}var G=getNameOfSymbolAsWritten(q,R);if(j===0){R.flags^=16777216}var ie=G.charCodeAt(0);if(E.isSingleOrDoubleQuote(ie)&&E.some(q.declarations,hasNonGlobalAugmentationExternalModuleSymbol)){return E.factory.createStringLiteral(getSpecifierForModuleSymbol(q,R))}var ae=ie===35?G.length>1&&E.isIdentifierStart(G.charCodeAt(1),Ye):E.isIdentifierStart(ie,Ye);if(j===0||ae){var ce=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);ce.symbol=q;return j>0?E.factory.createPropertyAccessExpression(createExpressionFromSymbolChain(N,j-1),ce):ce}else{if(ie===91){G=G.substring(1,G.length-1);ie=G.charCodeAt(0)}var le=void 0;if(E.isSingleOrDoubleQuote(ie)){le=E.factory.createStringLiteral(G.substring(1,G.length-1).replace(/\\./g,(function(E){return E.substring(1)})),ie===39)}else if(""+ +G===G){le=E.factory.createNumericLiteral(+G)}if(!le){le=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);le.symbol=q}return E.factory.createElementAccessExpression(createExpressionFromSymbolChain(N,j-1),le)}}}function isStringNamed(N){var R=E.getNameOfDeclaration(N);return!!R&&E.isStringLiteral(R)}function isSingleQuotedStringNamed(N){var R=E.getNameOfDeclaration(N);return!!(R&&E.isStringLiteral(R)&&(R.singleQuote||!E.nodeIsSynthesized(R)&&E.startsWith(E.getTextOfNode(R,false),"'")))}function getPropertyNameNodeForSymbol(N,R){var j=!!E.length(N.declarations)&&E.every(N.declarations,isSingleQuotedStringNamed);var $=getPropertyNameNodeForSymbolFromNameType(N,R,j);if($){return $}var q=E.unescapeLeadingUnderscores(N.escapedName);var G=!!E.length(N.declarations)&&E.every(N.declarations,isStringNamed);return createPropertyNameNodeForIdentifierOrLiteral(q,G,j)}function getPropertyNameNodeForSymbolFromNameType(N,R,j){var $=getSymbolLinks(N).nameType;if($){if($.flags&384){var q=""+$.value;if(!E.isIdentifierText(q,Xe.target)&&!isNumericLiteralName(q)){return E.factory.createStringLiteral(q,!!j)}if(isNumericLiteralName(q)&&E.startsWith(q,"-")){return E.factory.createComputedPropertyName(E.factory.createNumericLiteral(+q))}return createPropertyNameNodeForIdentifierOrLiteral(q)}if($.flags&8192){return E.factory.createComputedPropertyName(symbolToExpression($.symbol,R,111551))}}}function createPropertyNameNodeForIdentifierOrLiteral(N,R,j){return E.isIdentifierText(N,Xe.target)?E.factory.createIdentifier(N):!R&&isNumericLiteralName(N)&&+N>=0?E.factory.createNumericLiteral(+N):E.factory.createStringLiteral(N,!!j)}function cloneNodeBuilderContext(N){var R=$({},N);if(R.typeParameterNames){R.typeParameterNames=new E.Map(R.typeParameterNames)}if(R.typeParameterNamesByText){R.typeParameterNamesByText=new E.Set(R.typeParameterNamesByText)}if(R.typeParameterSymbolList){R.typeParameterSymbolList=new E.Set(R.typeParameterSymbolList)}R.tracker=wrapSymbolTrackerToReportForContext(R,R.tracker);return R}function getDeclarationWithTypeAnnotation(N,R){return N.declarations&&E.find(N.declarations,(function(N){return!!E.getEffectiveTypeAnnotationNode(N)&&(!R||!!E.findAncestor(N,(function(E){return E===R})))}))}function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(N,R){return!(E.getObjectFlags(R)&4)||!E.isTypeReferenceNode(N)||E.length(N.typeArguments)>=getMinTypeArgumentCount(R.target.typeParameters)}function serializeTypeForDeclaration(N,R,j,$,q,G){if(R!==Jt&&$){var ie=getDeclarationWithTypeAnnotation(j,$);if(ie&&!E.isFunctionLikeDeclaration(ie)&&!E.isGetAccessorDeclaration(ie)){var ae=E.getEffectiveTypeAnnotationNode(ie);if(getTypeFromTypeNode(ae)===R&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(ae,R)){var ce=serializeExistingTypeNode(N,ae,q,G);if(ce){return ce}}}}var le=N.flags;if(R.flags&8192&&R.symbol===j&&(!N.enclosingDeclaration||E.some(j.declarations,(function(R){return E.getSourceFileOfNode(R)===E.getSourceFileOfNode(N.enclosingDeclaration)})))){N.flags|=1048576}var _e=typeToTypeNodeHelper(R,N);N.flags=le;return _e}function serializeReturnTypeForSignature(N,R,j,$,q){if(R!==Jt&&N.enclosingDeclaration){var G=j.declaration&&E.getEffectiveReturnTypeNode(j.declaration);if(!!E.findAncestor(G,(function(E){return E===N.enclosingDeclaration}))&&G){var ie=getTypeFromTypeNode(G);var ae=ie.flags&262144&&ie.isThisType?instantiateType(ie,j.mapper):ie;if(ae===R&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(G,R)){var ce=serializeExistingTypeNode(N,G,$,q);if(ce){return ce}}}}return typeToTypeNodeHelper(R,N)}function trackExistingEntityName(N,R,j){var $,q;var G=false;var ie=E.getFirstIdentifier(N);if(E.isInJSFile(N)&&(E.isExportsIdentifier(ie)||E.isModuleExportsAccessExpression(ie.parent)||E.isQualifiedName(ie.parent)&&E.isModuleIdentifier(ie.parent.left)&&E.isExportsIdentifier(ie.parent.right))){G=true;return{introducesError:G,node:N}}var ae=resolveEntityName(ie,67108863,true,true);if(ae){if(isSymbolAccessible(ae,R.enclosingDeclaration,67108863,false).accessibility!==0){G=true}else{(q=($=R.tracker)===null||$===void 0?void 0:$.trackSymbol)===null||q===void 0?void 0:q.call($,ae,R.enclosingDeclaration,67108863);j===null||j===void 0?void 0:j(ae)}if(E.isIdentifier(N)){var ce=ae.flags&262144?typeParameterToName(getDeclaredTypeOfSymbol(ae),R):E.factory.cloneNode(N);ce.symbol=ae;return{introducesError:G,node:E.setEmitFlags(E.setOriginalNode(ce,N),16777216)}}}return{introducesError:G,node:N}}function serializeExistingTypeNode(N,R,j,$){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var G=false;var ie=E.getSourceFileOfNode(R);var ae=E.visitNode(R,visitExistingNodeTreeSymbols);if(G){return undefined}return ae===R?E.setTextRange(E.factory.cloneNode(R),R):ae;function visitExistingNodeTreeSymbols(R){if(E.isJSDocAllType(R)||R.kind===314){return E.factory.createKeywordTypeNode(129)}if(E.isJSDocUnknownType(R)){return E.factory.createKeywordTypeNode(153)}if(E.isJSDocNullableType(R)){return E.factory.createUnionTypeNode([E.visitNode(R.type,visitExistingNodeTreeSymbols),E.factory.createLiteralTypeNode(E.factory.createNull())])}if(E.isJSDocOptionalType(R)){return E.factory.createUnionTypeNode([E.visitNode(R.type,visitExistingNodeTreeSymbols),E.factory.createKeywordTypeNode(151)])}if(E.isJSDocNonNullableType(R)){return E.visitNode(R.type,visitExistingNodeTreeSymbols)}if(E.isJSDocVariadicType(R)){return E.factory.createArrayTypeNode(E.visitNode(R.type,visitExistingNodeTreeSymbols))}if(E.isJSDocTypeLiteral(R)){return E.factory.createTypeLiteralNode(E.map(R.jsDocPropertyTags,(function(j){var $=E.isIdentifier(j.name)?j.name:j.name.right;var q=getTypeOfPropertyOfType(getTypeFromTypeNode(R),$.escapedText);var G=q&&j.typeExpression&&getTypeFromTypeNode(j.typeExpression.type)!==q?typeToTypeNodeHelper(q,N):undefined;return E.factory.createPropertySignature(undefined,$,j.isBracketed||j.typeExpression&&E.isJSDocOptionalType(j.typeExpression.type)?E.factory.createToken(57):undefined,G||j.typeExpression&&E.visitNode(j.typeExpression.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))})))}if(E.isTypeReferenceNode(R)&&E.isIdentifier(R.typeName)&&R.typeName.escapedText===""){return E.setOriginalNode(E.factory.createKeywordTypeNode(129),R)}if((E.isExpressionWithTypeArguments(R)||E.isTypeReferenceNode(R))&&E.isJSDocIndexSignature(R)){return E.factory.createTypeLiteralNode([E.factory.createIndexSignature(undefined,undefined,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"x",undefined,E.visitNode(R.typeArguments[0],visitExistingNodeTreeSymbols))],E.visitNode(R.typeArguments[1],visitExistingNodeTreeSymbols))])}if(E.isJSDocFunctionType(R)){if(E.isJSDocConstructSignature(R)){var ae;return E.factory.createConstructorTypeNode(R.modifiers,E.visitNodes(R.typeParameters,visitExistingNodeTreeSymbols),E.mapDefined(R.parameters,(function(N,R){return N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="new"?(ae=N.type,undefined):E.factory.createParameterDeclaration(undefined,undefined,getEffectiveDotDotDotForParameter(N),getNameForJSDocFunctionParameter(N,R),N.questionToken,E.visitNode(N.type,visitExistingNodeTreeSymbols),undefined)})),E.visitNode(ae||R.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))}else{return E.factory.createFunctionTypeNode(E.visitNodes(R.typeParameters,visitExistingNodeTreeSymbols),E.map(R.parameters,(function(N,R){return E.factory.createParameterDeclaration(undefined,undefined,getEffectiveDotDotDotForParameter(N),getNameForJSDocFunctionParameter(N,R),N.questionToken,E.visitNode(N.type,visitExistingNodeTreeSymbols),undefined)})),E.visitNode(R.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))}}if(E.isTypeReferenceNode(R)&&E.isInJSDoc(R)&&(!existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(R,getTypeFromTypeNode(R))||getIntendedTypeFromJSDocTypeReference(R)||jt===resolveTypeReferenceName(getTypeReferenceName(R),788968,true))){return E.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(R),N),R)}if(E.isLiteralImportTypeNode(R)){var ce=getNodeLinks(R).resolvedSymbol;if(E.isInJSDoc(R)&&ce&&(!R.isTypeOf&&!(ce.flags&788968)||!(E.length(R.typeArguments)>=getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ce))))){return E.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(R),N),R)}return E.factory.updateImportTypeNode(R,E.factory.updateLiteralTypeNode(R.argument,rewriteModuleSpecifier(R,R.argument.literal)),R.qualifier,E.visitNodes(R.typeArguments,visitExistingNodeTreeSymbols,E.isTypeNode),R.isTypeOf)}if(E.isEntityName(R)||E.isEntityNameExpression(R)){var le=trackExistingEntityName(R,N,j),_e=le.introducesError,Ee=le.node;G=G||_e;if(Ee!==R){return Ee}}if(ie&&E.isTupleTypeNode(R)&&E.getLineAndCharacterOfPosition(ie,R.pos).line===E.getLineAndCharacterOfPosition(ie,R.end).line){E.setEmitFlags(R,1)}return E.visitEachChild(R,visitExistingNodeTreeSymbols,E.nullTransformationContext);function getEffectiveDotDotDotForParameter(N){return N.dotDotDotToken||(N.type&&E.isJSDocVariadicType(N.type)?E.factory.createToken(25):undefined)}function getNameForJSDocFunctionParameter(N,R){return N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="this"?"this":getEffectiveDotDotDotForParameter(N)?"args":"arg"+R}function rewriteModuleSpecifier(R,j){if($){if(N.tracker&&N.tracker.moduleResolverHost){var G=getExternalModuleFileFromDeclaration(R);if(G){var ie=E.createGetCanonicalFileName(!!q.useCaseSensitiveFileNames);var ae={getCanonicalFileName:ie,getCurrentDirectory:function(){return N.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return N.tracker.moduleResolverHost.getCommonSourceDirectory()}};var ce=E.getResolvedExternalModuleName(ae,G);return E.factory.createStringLiteral(ce)}}}else{if(N.tracker&&N.tracker.trackExternalModuleSymbolOfImportTypeNode){var le=resolveExternalModuleNameWorker(j,j,undefined);if(le){N.tracker.trackExternalModuleSymbolOfImportTypeNode(le)}}}return j}}}function symbolTableToDeclarationStatements(N,R,q){var G=makeSerializePropertySymbol(E.factory.createPropertyDeclaration,167,true);var ie=makeSerializePropertySymbol((function(N,R,j,$,q){return E.factory.createPropertySignature(R,j,$,q)}),166,false);var ae=R.enclosingDeclaration;var ce=[];var le=new E.Set;var _e=[];var Ee=R;R=$($({},Ee),{usedSymbolNames:new E.Set(Ee.usedSymbolNames),remappedSymbolNames:new E.Map,tracker:$($({},Ee.tracker),{trackSymbol:function(E,N,j){var $=isSymbolAccessible(E,N,j,false);if($.accessibility===0){var q=lookupSymbolChainWorker(E,R,j);if(!(E.flags&4)){includePrivateSymbol(q[0])}}else if(Ee.tracker&&Ee.tracker.trackSymbol){return Ee.tracker.trackSymbol(E,N,j)}return false}})});R.tracker=wrapSymbolTrackerToReportForContext(R,R.tracker);E.forEachEntry(N,(function(N,R){var j=E.unescapeLeadingUnderscores(R);void getInternalSymbolName(N,j)}));var Te=!q;var we=N.get("export=");if(we&&N.size>1&&we.flags&2097152){N=E.createSymbolTable();N.set("export=",we)}visitSymbolTable(N);return mergeRedundantStatements(ce);function isIdentifierAndNotUndefined(E){return!!E&&E.kind===79}function getNamesOfDeclaration(N){if(E.isVariableStatement(N)){return E.filter(E.map(N.declarationList.declarations,E.getNameOfDeclaration),isIdentifierAndNotUndefined)}return E.filter([E.getNameOfDeclaration(N)],isIdentifierAndNotUndefined)}function flattenExportAssignedNamespace(N){var R=E.find(N,E.isExportAssignment);var $=E.findIndex(N,E.isModuleDeclaration);var q=$!==-1?N[$]:undefined;if(q&&R&&R.isExportEquals&&E.isIdentifier(R.expression)&&E.isIdentifier(q.name)&&E.idText(q.name)===E.idText(R.expression)&&q.body&&E.isModuleBlock(q.body)){var G=E.filter(N,(function(N){return!!(E.getEffectiveModifierFlags(N)&1)}));var ie=q.name;var ae=q.body;if(E.length(G)){q=E.factory.updateModuleDeclaration(q,q.decorators,q.modifiers,q.name,ae=E.factory.updateModuleBlock(ae,E.factory.createNodeArray(j(j([],q.body.statements,true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.map(E.flatMap(G,(function(E){return getNamesOfDeclaration(E)})),(function(N){return E.factory.createExportSpecifier(undefined,N)}))),undefined)],false))));N=j(j(j([],N.slice(0,$),true),[q],false),N.slice($+1),true)}if(!E.find(N,(function(N){return N!==q&&E.nodeHasName(N,ie)}))){ce=[];var le=!E.some(ae.statements,(function(N){return E.hasSyntacticModifier(N,1)||E.isExportAssignment(N)||E.isExportDeclaration(N)}));E.forEach(ae.statements,(function(E){addResult(E,le?1:0)}));N=j(j([],E.filter(N,(function(E){return E!==q&&E!==R})),true),ce,true)}}return N}function mergeExportDeclarations(N){var R=E.filter(N,(function(N){return E.isExportDeclaration(N)&&!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(E.length(R)>1){var $=E.filter(N,(function(N){return!E.isExportDeclaration(N)||!!N.moduleSpecifier||!N.exportClause}));N=j(j([],$,true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.flatMap(R,(function(N){return E.cast(N.exportClause,E.isNamedExports).elements}))),undefined)],false)}var q=E.filter(N,(function(N){return E.isExportDeclaration(N)&&!!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(E.length(q)>1){var G=E.group(q,(function(N){return E.isStringLiteral(N.moduleSpecifier)?">"+N.moduleSpecifier.text:">"}));if(G.length!==q.length){var _loop_9=function(R){if(R.length>1){N=j(j([],E.filter(N,(function(E){return R.indexOf(E)===-1})),true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.flatMap(R,(function(N){return E.cast(N.exportClause,E.isNamedExports).elements}))),R[0].moduleSpecifier)],false)}};for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];_loop_9(ce)}}}return N}function inlineExportModifiers(N){var R=E.findIndex(N,(function(N){return E.isExportDeclaration(N)&&!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(R>=0){var j=N[R];var $=E.mapDefined(j.exportClause.elements,(function(R){if(!R.propertyName){var j=E.indicesOf(N);var $=E.filter(j,(function(j){return E.nodeHasName(N[j],R.name)}));if(E.length($)&&E.every($,(function(E){return canHaveExportModifier(N[E])}))){for(var q=0,G=$;q<G.length;q++){var ie=G[q];N[ie]=addExportModifier(N[ie])}return undefined}}return R}));if(!E.length($)){E.orderedRemoveItemAt(N,R)}else{N[R]=E.factory.updateExportDeclaration(j,j.decorators,j.modifiers,j.isTypeOnly,E.factory.updateNamedExports(j.exportClause,$),j.moduleSpecifier)}}return N}function mergeRedundantStatements(N){N=flattenExportAssignedNamespace(N);N=mergeExportDeclarations(N);N=inlineExportModifiers(N);if(ae&&(E.isSourceFile(ae)&&E.isExternalOrCommonJsModule(ae)||E.isModuleDeclaration(ae))&&(!E.some(N,E.isExternalModuleIndicator)||!E.hasScopeMarker(N)&&E.some(N,E.needsScopeMarker))){N.push(E.createEmptyExports(E.factory))}return N}function canHaveExportModifier(N){return E.isEnumDeclaration(N)||E.isVariableStatement(N)||E.isFunctionDeclaration(N)||E.isClassDeclaration(N)||E.isModuleDeclaration(N)&&!E.isExternalModuleAugmentation(N)&&!E.isGlobalScopeAugmentation(N)||E.isInterfaceDeclaration(N)||isTypeDeclaration(N)}function addExportModifier(N){var R=(E.getEffectiveModifierFlags(N)|1)&~2;return E.factory.updateModifiers(N,R)}function removeExportModifier(N){var R=E.getEffectiveModifierFlags(N)&~1;return E.factory.updateModifiers(N,R)}function visitSymbolTable(N,R,j){if(!R){_e.push(new E.Map)}N.forEach((function(E){serializeSymbol(E,false,!!j)}));if(!R){_e[_e.length-1].forEach((function(E){serializeSymbol(E,true,!!j)}));_e.pop()}}function serializeSymbol(N,j,$){var q=getMergedSymbol(N);if(le.has(getSymbolId(q))){return}le.add(getSymbolId(q));var G=!j;if(G||!!E.length(N.declarations)&&E.some(N.declarations,(function(N){return!!E.findAncestor(N,(function(E){return E===ae}))}))){var ie=R;R=cloneNodeBuilderContext(R);var ce=serializeSymbolWorker(N,j,$);if(R.reportedDiagnostic){Ee.reportedDiagnostic=R.reportedDiagnostic}R=ie;return ce}}function serializeSymbolWorker(N,j,$){var G,ie;var ce=E.unescapeLeadingUnderscores(N.escapedName);var le=N.escapedName==="default";if(j&&!(R.flags&131072)&&E.isStringANonContextualKeyword(ce)&&!le){R.encounteredError=true;return}var _e=le&&!!(N.flags&-113||N.flags&16&&E.length(getPropertiesOfType(getTypeOfSymbol(N))))&&!(N.flags&2097152);var Ee=!_e&&!j&&E.isStringANonContextualKeyword(ce)&&!le;if(_e||Ee){j=true}var Te=(!j?1:0)|(le&&!_e?512:0);var we=N.flags&1536&&N.flags&(2|1|4)&&N.escapedName!=="export=";var Ie=we&&isTypeRepresentableAsFunctionNamespaceMerge(getTypeOfSymbol(N),N);if(N.flags&(16|8192)||Ie){serializeAsFunctionNamespaceMerge(getTypeOfSymbol(N),N,getInternalSymbolName(N,ce),Te)}if(N.flags&524288){serializeTypeAlias(N,ce,Te)}if(N.flags&(2|1|4)&&N.escapedName!=="export="&&!(N.flags&4194304)&&!(N.flags&32)&&!Ie){if($){var Ne=serializeMaybeAliasAssignment(N);if(Ne){Ee=false;_e=false}}else{var Me=getTypeOfSymbol(N);var Le=getInternalSymbolName(N,ce);if(!(N.flags&16)&&isTypeRepresentableAsFunctionNamespaceMerge(Me,N)){serializeAsFunctionNamespaceMerge(Me,N,Le,Te)}else{var Be=!(N.flags&2)?undefined:isConstVariable(N)?2:1;var je=_e||!(N.flags&4)?Le:getUnusedName(Le,N);var Ue=N.declarations&&E.find(N.declarations,(function(N){return E.isVariableDeclaration(N)}));if(Ue&&E.isVariableDeclarationList(Ue.parent)&&Ue.parent.declarations.length===1){Ue=Ue.parent.parent}var ze=(G=N.declarations)===null||G===void 0?void 0:G.find(E.isPropertyAccessExpression);if(ze&&E.isBinaryExpression(ze.parent)&&E.isIdentifier(ze.parent.right)&&((ie=Me.symbol)===null||ie===void 0?void 0:ie.valueDeclaration)&&E.isSourceFile(Me.symbol.valueDeclaration)){var We=Le===ze.parent.right.escapedText?undefined:ze.parent.right;addResult(E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([E.factory.createExportSpecifier(We,Le)])),0);R.tracker.trackSymbol(Me.symbol,R.enclosingDeclaration,111551)}else{var Je=E.setTextRange(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(je,undefined,serializeTypeForDeclaration(R,Me,N,ae,includePrivateSymbol,q))],Be)),Ue);addResult(Je,je!==Le?Te&~1:Te);if(je!==Le&&!j){addResult(E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([E.factory.createExportSpecifier(je,Le)])),0);Ee=false;_e=false}}}}}if(N.flags&384){serializeEnum(N,ce,Te)}if(N.flags&32){if(N.flags&4&&N.valueDeclaration&&E.isBinaryExpression(N.valueDeclaration.parent)&&E.isClassExpression(N.valueDeclaration.parent.right)){serializeAsAlias(N,getInternalSymbolName(N,ce),Te)}else{serializeAsClass(N,getInternalSymbolName(N,ce),Te)}}if(N.flags&(512|1024)&&(!we||isTypeOnlyNamespace(N))||Ie){serializeModule(N,ce,Te)}if(N.flags&64&&!(N.flags&32)){serializeInterface(N,ce,Te)}if(N.flags&2097152){serializeAsAlias(N,getInternalSymbolName(N,ce),Te)}if(N.flags&4&&N.escapedName==="export="){serializeMaybeAliasAssignment(N)}if(N.flags&8388608){if(N.declarations){for(var Ve=0,qe=N.declarations;Ve<qe.length;Ve++){var He=qe[Ve];var Ge=resolveExternalModuleName(He,He.moduleSpecifier);if(!Ge)continue;addResult(E.factory.createExportDeclaration(undefined,undefined,false,undefined,E.factory.createStringLiteral(getSpecifierForModuleSymbol(Ge,R))),0)}}}if(_e){addResult(E.factory.createExportAssignment(undefined,undefined,false,E.factory.createIdentifier(getInternalSymbolName(N,ce))),0)}else if(Ee){addResult(E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([E.factory.createExportSpecifier(getInternalSymbolName(N,ce),ce)])),0)}}function includePrivateSymbol(N){if(E.some(N.declarations,E.isParameterDeclaration))return;E.Debug.assertIsDefined(_e[_e.length-1]);getUnusedName(E.unescapeLeadingUnderscores(N.escapedName),N);var R=!!(N.flags&2097152)&&!E.some(N.declarations,(function(N){return!!E.findAncestor(N,E.isExportDeclaration)||E.isNamespaceExport(N)||E.isImportEqualsDeclaration(N)&&!E.isExternalModuleReference(N.moduleReference)}));_e[R?0:_e.length-1].set(getSymbolId(N),N)}function isExportingScope(N){return E.isSourceFile(N)&&(E.isExternalOrCommonJsModule(N)||E.isJsonSourceFile(N))||E.isAmbientModule(N)&&!E.isGlobalScopeAugmentation(N)}function addResult(N,j){if(E.canHaveModifiers(N)){var $=0;var q=R.enclosingDeclaration&&(E.isJSDocTypeAlias(R.enclosingDeclaration)?E.getSourceFileOfNode(R.enclosingDeclaration):R.enclosingDeclaration);if(j&1&&q&&(isExportingScope(q)||E.isModuleDeclaration(q))&&canHaveExportModifier(N)){$|=1}if(Te&&!($&1)&&(!q||!(q.flags&8388608))&&(E.isEnumDeclaration(N)||E.isVariableStatement(N)||E.isFunctionDeclaration(N)||E.isClassDeclaration(N)||E.isModuleDeclaration(N))){$|=2}if(j&512&&(E.isClassDeclaration(N)||E.isInterfaceDeclaration(N)||E.isFunctionDeclaration(N))){$|=512}if($){N=E.factory.updateModifiers(N,$|E.getEffectiveModifierFlags(N))}}ce.push(N)}function serializeTypeAlias(N,j,$){var G;var ie=getDeclaredTypeOfTypeAlias(N);var ae=getSymbolLinks(N).typeParameters;var ce=E.map(ae,(function(E){return typeParameterToDeclaration(E,R)}));var le=(G=N.declarations)===null||G===void 0?void 0:G.find(E.isJSDocTypeAlias);var _e=E.getTextOfJSDocComment(le?le.comment||le.parent.comment:undefined);var Ee=R.flags;R.flags|=8388608;var Te=R.enclosingDeclaration;R.enclosingDeclaration=le;var we=le&&le.typeExpression&&E.isJSDocTypeExpression(le.typeExpression)&&serializeExistingTypeNode(R,le.typeExpression.type,includePrivateSymbol,q)||typeToTypeNodeHelper(ie,R);addResult(E.setSyntheticLeadingComments(E.factory.createTypeAliasDeclaration(undefined,undefined,getInternalSymbolName(N,j),ce,we),!_e?[]:[{kind:3,text:"*\n * "+_e.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:true}]),$);R.flags=Ee;R.enclosingDeclaration=Te}function serializeInterface(N,$,q){var G=getDeclaredTypeOfClassOrInterface(N);var ie=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N);var ae=E.map(ie,(function(E){return typeParameterToDeclaration(E,R)}));var ce=getBaseTypes(G);var le=E.length(ce)?getIntersectionType(ce):undefined;var _e=E.flatMap(getPropertiesOfType(G),(function(E){return serializePropertySymbolForInterface(E,le)}));var Ee=serializeSignatures(0,G,le,172);var Te=serializeSignatures(1,G,le,173);var we=serializeIndexSignatures(G,le);var Ie=!E.length(ce)?undefined:[E.factory.createHeritageClause(94,E.mapDefined(ce,(function(E){return trySerializeAsTypeReference(E,111551)})))];addResult(E.factory.createInterfaceDeclaration(undefined,undefined,getInternalSymbolName(N,$),ae,Ie,j(j(j(j([],we,true),Te,true),Ee,true),_e,true)),q)}function getNamespaceMembersForSerialization(N){return!N.exports?[]:E.filter(E.arrayFrom(N.exports.values()),isNamespaceMember)}function isTypeOnlyNamespace(N){return E.every(getNamespaceMembersForSerialization(N),(function(E){return!(resolveSymbol(E).flags&111551)}))}function serializeModule(N,j,$){var q=getNamespaceMembersForSerialization(N);var G=E.arrayToMultiMap(q,(function(E){return E.parent&&E.parent===N?"real":"merged"}));var ie=G.get("real")||E.emptyArray;var ae=G.get("merged")||E.emptyArray;if(E.length(ie)){var ce=getInternalSymbolName(N,j);serializeAsNamespaceDeclaration(ie,ce,$,!!(N.flags&(16|67108864)))}if(E.length(ae)){var le=E.getSourceFileOfNode(R.enclosingDeclaration);var ce=getInternalSymbolName(N,j);var _e=E.factory.createModuleBlock([E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.mapDefined(E.filter(ae,(function(E){return E.escapedName!=="export="})),(function(j){var $,q;var G=E.unescapeLeadingUnderscores(j.escapedName);var ie=getInternalSymbolName(j,G);var ae=j.declarations&&getDeclarationOfAliasSymbol(j);if(le&&(ae?le!==E.getSourceFileOfNode(ae):!E.some(j.declarations,(function(N){return E.getSourceFileOfNode(N)===le})))){(q=($=R.tracker)===null||$===void 0?void 0:$.reportNonlocalAugmentation)===null||q===void 0?void 0:q.call($,le,N,j);return undefined}var ce=ae&&getTargetOfAliasDeclaration(ae,true);includePrivateSymbol(ce||j);var _e=ce?getInternalSymbolName(ce,E.unescapeLeadingUnderscores(ce.escapedName)):ie;return E.factory.createExportSpecifier(G===_e?undefined:_e,G)}))))]);addResult(E.factory.createModuleDeclaration(undefined,undefined,E.factory.createIdentifier(ce),_e,16),0)}}function serializeEnum(N,R,j){addResult(E.factory.createEnumDeclaration(undefined,E.factory.createModifiersFromModifierFlags(isConstEnumSymbol(N)?2048:0),getInternalSymbolName(N,R),E.map(E.filter(getPropertiesOfType(getTypeOfSymbol(N)),(function(E){return!!(E.flags&8)})),(function(N){var R=N.declarations&&N.declarations[0]&&E.isEnumMember(N.declarations[0])?getConstantValue(N.declarations[0]):undefined;return E.factory.createEnumMember(E.unescapeLeadingUnderscores(N.escapedName),R===undefined?undefined:typeof R==="string"?E.factory.createStringLiteral(R):E.factory.createNumericLiteral(R))}))),j)}function serializeAsFunctionNamespaceMerge(N,j,$,G){var ie=getSignaturesOfType(N,0);for(var ae=0,ce=ie;ae<ce.length;ae++){var le=ce[ae];var _e=signatureToSignatureDeclarationHelper(le,254,R,{name:E.factory.createIdentifier($),privateSymbolVisitor:includePrivateSymbol,bundledImports:q});addResult(E.setTextRange(_e,getSignatureTextRangeLocation(le)),G)}if(!(j.flags&(512|1024)&&!!j.exports&&!!j.exports.size)){var Ee=E.filter(getPropertiesOfType(N),isNamespaceMember);serializeAsNamespaceDeclaration(Ee,$,G,true)}}function getSignatureTextRangeLocation(N){if(N.declaration&&N.declaration.parent){if(E.isBinaryExpression(N.declaration.parent)&&E.getAssignmentDeclarationKind(N.declaration.parent)===5){return N.declaration.parent}if(E.isVariableDeclaration(N.declaration.parent)&&N.declaration.parent.parent){return N.declaration.parent.parent}}return N.declaration}function serializeAsNamespaceDeclaration(N,j,q,G){if(E.length(N)){var ie=E.arrayToMultiMap(N,(function(N){return!E.length(N.declarations)||E.some(N.declarations,(function(N){return E.getSourceFileOfNode(N)===E.getSourceFileOfNode(R.enclosingDeclaration)}))?"local":"remote"}));var le=ie.get("local")||E.emptyArray;var _e=E.parseNodeFactory.createModuleDeclaration(undefined,undefined,E.factory.createIdentifier(j),E.factory.createModuleBlock([]),16);E.setParent(_e,ae);_e.locals=E.createSymbolTable(N);_e.symbol=N[0].parent;var Ee=ce;ce=[];var we=Te;Te=false;var Ie=$($({},R),{enclosingDeclaration:_e});var Ne=R;R=Ie;visitSymbolTable(E.createSymbolTable(le),G,true);R=Ne;Te=we;var Me=ce;ce=Ee;var Le=E.map(Me,(function(N){return E.isExportAssignment(N)&&!N.isExportEquals&&E.isIdentifier(N.expression)?E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([E.factory.createExportSpecifier(N.expression,E.factory.createIdentifier("default"))])):N}));var Be=E.every(Le,(function(N){return E.hasSyntacticModifier(N,1)}))?E.map(Le,removeExportModifier):Le;_e=E.factory.updateModuleDeclaration(_e,_e.decorators,_e.modifiers,_e.name,E.factory.createModuleBlock(Be));addResult(_e,q)}}function isNamespaceMember(N){return!!(N.flags&(788968|1920|2097152))||!(N.flags&4194304||N.escapedName==="prototype"||N.valueDeclaration&&E.isStatic(N.valueDeclaration)&&E.isClassLike(N.valueDeclaration.parent))}function sanitizeJSDocImplements(N){var j=E.mapDefined(N,(function(N){var j;var $=R.enclosingDeclaration;R.enclosingDeclaration=N;var G=N.expression;if(E.isEntityNameExpression(G)){if(E.isIdentifier(G)&&E.idText(G)===""){return cleanup(undefined)}var ie=void 0;j=trackExistingEntityName(G,R,includePrivateSymbol),ie=j.introducesError,G=j.node;if(ie){return cleanup(undefined)}}return cleanup(E.factory.createExpressionWithTypeArguments(G,E.map(N.typeArguments,(function(E){return serializeExistingTypeNode(R,E,includePrivateSymbol,q)||typeToTypeNodeHelper(getTypeFromTypeNode(E),R)}))));function cleanup(E){R.enclosingDeclaration=$;return E}}));if(j.length===N.length){return j}return undefined}function serializeAsClass(N,$,q){var ie,ae;var ce=(ie=N.declarations)===null||ie===void 0?void 0:ie.find(E.isClassLike);var le=R.enclosingDeclaration;R.enclosingDeclaration=ce||le;var _e=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N);var Ee=E.map(_e,(function(E){return typeParameterToDeclaration(E,R)}));var Te=getDeclaredTypeOfClassOrInterface(N);var we=getBaseTypes(Te);var Ie=ce&&E.getEffectiveImplementsTypeNodes(ce);var Ne=Ie&&sanitizeJSDocImplements(Ie)||E.mapDefined(getImplementsTypes(Te),serializeImplementedType);var Me=getTypeOfSymbol(N);var Le=!!((ae=Me.symbol)===null||ae===void 0?void 0:ae.valueDeclaration)&&E.isClassLike(Me.symbol.valueDeclaration);var Be=Le?getBaseConstructorTypeOfClass(Me):zt;var je=j(j([],!E.length(we)?[]:[E.factory.createHeritageClause(94,E.map(we,(function(E){return serializeBaseType(E,Be,$)})))],true),!E.length(Ne)?[]:[E.factory.createHeritageClause(117,Ne)],true);var Ue=getNonInterhitedProperties(Te,we,getPropertiesOfType(Te));var ze=E.filter(Ue,(function(N){var R=N.valueDeclaration;return!!R&&!(E.isNamedDeclaration(R)&&E.isPrivateIdentifier(R.name))}));var We=E.some(Ue,(function(N){var R=N.valueDeclaration;return!!R&&E.isNamedDeclaration(R)&&E.isPrivateIdentifier(R.name)}));var Je=We?[E.factory.createPropertyDeclaration(undefined,undefined,E.factory.createPrivateIdentifier("#private"),undefined,undefined,undefined)]:E.emptyArray;var Ve=E.flatMap(ze,(function(E){return G(E,false,we[0])}));var qe=E.flatMap(E.filter(getPropertiesOfType(Me),(function(E){return!(E.flags&4194304)&&E.escapedName!=="prototype"&&!isNamespaceMember(E)})),(function(E){return G(E,true,Be)}));var He=!Le&&!!N.valueDeclaration&&E.isInJSFile(N.valueDeclaration)&&!E.some(getSignaturesOfType(Me,1));var Ge=He?[E.factory.createConstructorDeclaration(undefined,E.factory.createModifiersFromModifierFlags(8),[],undefined)]:serializeSignatures(1,Me,Be,169);var Ke=serializeIndexSignatures(Te,we[0]);R.enclosingDeclaration=le;addResult(E.setTextRange(E.factory.createClassDeclaration(undefined,undefined,$,Ee,je,j(j(j(j(j([],Ke,true),qe,true),Ge,true),Ve,true),Je,true)),N.declarations&&E.filter(N.declarations,(function(N){return E.isClassDeclaration(N)||E.isClassExpression(N)}))[0]),q)}function serializeAsAlias(N,j,$){var q,G,ie,ae,ce;var le=getDeclarationOfAliasSymbol(N);if(!le)return E.Debug.fail();var _e=getMergedSymbol(getTargetOfAliasDeclaration(le,true));if(!_e){return}var Ee=E.unescapeLeadingUnderscores(_e.escapedName);if(Ee==="export="&&(Xe.esModuleInterop||Xe.allowSyntheticDefaultImports)){Ee="default"}var Te=getInternalSymbolName(_e,Ee);includePrivateSymbol(_e);switch(le.kind){case 201:if(((G=(q=le.parent)===null||q===void 0?void 0:q.parent)===null||G===void 0?void 0:G.kind)===252){var we=getSpecifierForModuleSymbol(_e.parent||_e,R);var Ie=le.propertyName;addResult(E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(false,undefined,E.factory.createNamedImports([E.factory.createImportSpecifier(Ie&&E.isIdentifier(Ie)?E.factory.createIdentifier(E.idText(Ie)):undefined,E.factory.createIdentifier(j))])),E.factory.createStringLiteral(we)),0);break}E.Debug.failBadSyntaxKind(((ie=le.parent)===null||ie===void 0?void 0:ie.parent)||le,"Unhandled binding element grandparent kind in declaration serialization");break;case 292:if(((ce=(ae=le.parent)===null||ae===void 0?void 0:ae.parent)===null||ce===void 0?void 0:ce.kind)===219){serializeExportSpecifier(E.unescapeLeadingUnderscores(N.escapedName),Te)}break;case 252:if(E.isPropertyAccessExpression(le.initializer)){var Ne=le.initializer;var Me=E.factory.createUniqueName(j);var Le=getSpecifierForModuleSymbol(_e.parent||_e,R);addResult(E.factory.createImportEqualsDeclaration(undefined,undefined,false,Me,E.factory.createExternalModuleReference(E.factory.createStringLiteral(Le))),0);addResult(E.factory.createImportEqualsDeclaration(undefined,undefined,false,E.factory.createIdentifier(j),E.factory.createQualifiedName(Me,Ne.name)),$);break}case 263:if(_e.escapedName==="export="&&E.some(_e.declarations,E.isJsonSourceFile)){serializeMaybeAliasAssignment(N);break}var Be=!(_e.flags&512)&&!E.isVariableDeclaration(le);addResult(E.factory.createImportEqualsDeclaration(undefined,undefined,false,E.factory.createIdentifier(j),Be?symbolToName(_e,R,67108863,false):E.factory.createExternalModuleReference(E.factory.createStringLiteral(getSpecifierForModuleSymbol(_e,R)))),Be?$:0);break;case 262:addResult(E.factory.createNamespaceExportDeclaration(E.idText(le.name)),0);break;case 265:addResult(E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(false,E.factory.createIdentifier(j),undefined),E.factory.createStringLiteral(getSpecifierForModuleSymbol(_e.parent||_e,R))),0);break;case 266:addResult(E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(false,undefined,E.factory.createNamespaceImport(E.factory.createIdentifier(j))),E.factory.createStringLiteral(getSpecifierForModuleSymbol(_e,R))),0);break;case 272:addResult(E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamespaceExport(E.factory.createIdentifier(j)),E.factory.createStringLiteral(getSpecifierForModuleSymbol(_e,R))),0);break;case 268:addResult(E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(false,undefined,E.factory.createNamedImports([E.factory.createImportSpecifier(j!==Ee?E.factory.createIdentifier(Ee):undefined,E.factory.createIdentifier(j))])),E.factory.createStringLiteral(getSpecifierForModuleSymbol(_e.parent||_e,R))),0);break;case 273:var je=le.parent.parent.moduleSpecifier;serializeExportSpecifier(E.unescapeLeadingUnderscores(N.escapedName),je?Ee:Te,je&&E.isStringLiteralLike(je)?E.factory.createStringLiteral(je.text):undefined);break;case 269:serializeMaybeAliasAssignment(N);break;case 219:case 204:case 205:if(N.escapedName==="default"||N.escapedName==="export="){serializeMaybeAliasAssignment(N)}else{serializeExportSpecifier(j,Te)}break;default:return E.Debug.failBadSyntaxKind(le,"Unhandled alias declaration kind in symbol serializer!")}}function serializeExportSpecifier(N,R,j){addResult(E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([E.factory.createExportSpecifier(N!==R?R:undefined,N)]),j),0)}function serializeMaybeAliasAssignment(N){if(N.flags&4194304){return false}var j=E.unescapeLeadingUnderscores(N.escapedName);var $=j==="export=";var G=j==="default";var ie=$||G;var le=N.declarations&&getDeclarationOfAliasSymbol(N);var _e=le&&getTargetOfAliasDeclaration(le,true);if(_e&&E.length(_e.declarations)&&E.some(_e.declarations,(function(N){return E.getSourceFileOfNode(N)===E.getSourceFileOfNode(ae)}))){var Ee=le&&(E.isExportAssignment(le)||E.isBinaryExpression(le)?E.getExportAssignmentExpression(le):E.getPropertyAssignmentAliasLikeExpression(le));var Te=Ee&&E.isEntityNameExpression(Ee)?getFirstNonModuleExportsIdentifier(Ee):undefined;var we=Te&&resolveEntityName(Te,67108863,true,true,ae);if(we||_e){includePrivateSymbol(we||_e)}var Ie=R.tracker.trackSymbol;R.tracker.trackSymbol=function(){return false};if(ie){ce.push(E.factory.createExportAssignment(undefined,undefined,$,symbolToExpression(_e,R,67108863)))}else{if(Te===Ee&&Te){serializeExportSpecifier(j,E.idText(Te))}else if(Ee&&E.isClassExpression(Ee)){serializeExportSpecifier(j,getInternalSymbolName(_e,E.symbolName(_e)))}else{var Ne=getUnusedName(j,N);addResult(E.factory.createImportEqualsDeclaration(undefined,undefined,false,E.factory.createIdentifier(Ne),symbolToName(_e,R,67108863,false)),0);serializeExportSpecifier(j,Ne)}}R.tracker.trackSymbol=Ie;return true}else{var Ne=getUnusedName(j,N);var Me=getWidenedType(getTypeOfSymbol(getMergedSymbol(N)));if(isTypeRepresentableAsFunctionNamespaceMerge(Me,N)){serializeAsFunctionNamespaceMerge(Me,N,Ne,ie?0:1)}else{var Le=E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(Ne,undefined,serializeTypeForDeclaration(R,Me,N,ae,includePrivateSymbol,q))],2));addResult(Le,_e&&_e.flags&4&&_e.escapedName==="export="?2:j===Ne?1:0)}if(ie){ce.push(E.factory.createExportAssignment(undefined,undefined,$,E.factory.createIdentifier(Ne)));return true}else if(j!==Ne){serializeExportSpecifier(j,Ne);return true}return false}}function isTypeRepresentableAsFunctionNamespaceMerge(N,j){var $=E.getSourceFileOfNode(R.enclosingDeclaration);return E.getObjectFlags(N)&(16|32)&&!E.length(getIndexInfosOfType(N))&&!isClassInstanceSide(N)&&!!(E.length(E.filter(getPropertiesOfType(N),isNamespaceMember))||E.length(getSignaturesOfType(N,0)))&&!E.length(getSignaturesOfType(N,1))&&!getDeclarationWithTypeAnnotation(j,ae)&&!(N.symbol&&E.some(N.symbol.declarations,(function(N){return E.getSourceFileOfNode(N)!==$})))&&!E.some(getPropertiesOfType(N),(function(E){return isLateBoundName(E.escapedName)}))&&!E.some(getPropertiesOfType(N),(function(N){return E.some(N.declarations,(function(N){return E.getSourceFileOfNode(N)!==$}))}))&&E.every(getPropertiesOfType(N),(function(N){return E.isIdentifierText(E.symbolName(N),Ye)}))}function makeSerializePropertySymbol(N,j,$){return function serializePropertySymbol(G,ie,ce){var le,_e,Ee,Te,we;var Ie=E.getDeclarationModifierFlagsFromSymbol(G);var Ne=!!(Ie&8);if(ie&&G.flags&(788968|1920|2097152)){return[]}if(G.flags&4194304||ce&&getPropertyOfType(ce,G.escapedName)&&isReadonlySymbol(getPropertyOfType(ce,G.escapedName))===isReadonlySymbol(G)&&(G.flags&16777216)===(getPropertyOfType(ce,G.escapedName).flags&16777216)&&isTypeIdenticalTo(getTypeOfSymbol(G),getTypeOfPropertyOfType(ce,G.escapedName))){return[]}var Me=Ie&~256|(ie?32:0);var Le=getPropertyNameNodeForSymbol(G,R);var Be=(le=G.declarations)===null||le===void 0?void 0:le.find(E.or(E.isPropertyDeclaration,E.isAccessor,E.isVariableDeclaration,E.isPropertySignature,E.isBinaryExpression,E.isPropertyAccessExpression));if(G.flags&98304&&$){var je=[];if(G.flags&65536){je.push(E.setTextRange(E.factory.createSetAccessorDeclaration(undefined,E.factory.createModifiersFromModifierFlags(Me),Le,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"arg",undefined,Ne?undefined:serializeTypeForDeclaration(R,getTypeOfSymbol(G),G,ae,includePrivateSymbol,q))],undefined),((_e=G.declarations)===null||_e===void 0?void 0:_e.find(E.isSetAccessor))||Be))}if(G.flags&32768){var Ue=Ie&8;je.push(E.setTextRange(E.factory.createGetAccessorDeclaration(undefined,E.factory.createModifiersFromModifierFlags(Me),Le,[],Ue?undefined:serializeTypeForDeclaration(R,getTypeOfSymbol(G),G,ae,includePrivateSymbol,q),undefined),((Ee=G.declarations)===null||Ee===void 0?void 0:Ee.find(E.isGetAccessor))||Be))}return je}else if(G.flags&(4|3|98304)){return E.setTextRange(N(undefined,E.factory.createModifiersFromModifierFlags((isReadonlySymbol(G)?64:0)|Me),Le,G.flags&16777216?E.factory.createToken(57):undefined,Ne?undefined:serializeTypeForDeclaration(R,getTypeOfSymbol(G),G,ae,includePrivateSymbol,q),undefined),((Te=G.declarations)===null||Te===void 0?void 0:Te.find(E.or(E.isPropertyDeclaration,E.isVariableDeclaration)))||Be)}if(G.flags&(8192|16)){var ze=getTypeOfSymbol(G);var We=getSignaturesOfType(ze,0);if(Me&8){return E.setTextRange(N(undefined,E.factory.createModifiersFromModifierFlags((isReadonlySymbol(G)?64:0)|Me),Le,G.flags&16777216?E.factory.createToken(57):undefined,undefined,undefined),((we=G.declarations)===null||we===void 0?void 0:we.find(E.isFunctionLikeDeclaration))||We[0]&&We[0].declaration||G.declarations&&G.declarations[0])}var Je=[];for(var Ve=0,qe=We;Ve<qe.length;Ve++){var He=qe[Ve];var Ge=signatureToSignatureDeclarationHelper(He,j,R,{name:Le,questionToken:G.flags&16777216?E.factory.createToken(57):undefined,modifiers:Me?E.factory.createModifiersFromModifierFlags(Me):undefined});var Ke=He.declaration&&E.isPrototypePropertyAssignment(He.declaration.parent)?He.declaration.parent:He.declaration;Je.push(E.setTextRange(Ge,Ke))}return Je}return E.Debug.fail("Unhandled class member kind! "+(G.__debugFlags||G.flags))}}function serializePropertySymbolForInterface(E,N){return ie(E,false,N)}function serializeSignatures(N,j,$,q){var G=getSignaturesOfType(j,N);if(N===1){if(!$&&E.every(G,(function(N){return E.length(N.parameters)===0}))){return[]}if($){var ie=getSignaturesOfType($,1);if(!E.length(ie)&&E.every(G,(function(N){return E.length(N.parameters)===0}))){return[]}if(ie.length===G.length){var ae=false;for(var ce=0;ce<ie.length;ce++){if(!compareSignaturesIdentical(G[ce],ie[ce],false,false,true,compareTypesIdentical)){ae=true;break}}if(!ae){return[]}}}var le=0;for(var _e=0,Ee=G;_e<Ee.length;_e++){var Te=Ee[_e];if(Te.declaration){le|=E.getSelectedEffectiveModifierFlags(Te.declaration,8|16)}}if(le){return[E.setTextRange(E.factory.createConstructorDeclaration(undefined,E.factory.createModifiersFromModifierFlags(le),[],undefined),G[0].declaration)]}}var we=[];for(var Ie=0,Ne=G;Ie<Ne.length;Ie++){var Me=Ne[Ie];var Le=signatureToSignatureDeclarationHelper(Me,q,R);we.push(E.setTextRange(Le,Me.declaration))}return we}function serializeIndexSignatures(E,N){var j=[];for(var $=0,q=getIndexInfosOfType(E);$<q.length;$++){var G=q[$];if(N){var ie=getIndexInfoOfType(N,G.keyType);if(ie){if(isTypeIdenticalTo(G.type,ie.type)){continue}}}j.push(indexInfoToIndexSignatureDeclarationHelper(G,R,undefined))}return j}function serializeBaseType(N,j,$){var q=trySerializeAsTypeReference(N,111551);if(q){return q}var G=getUnusedName($+"_base");var ie=E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(G,undefined,typeToTypeNodeHelper(j,R))],2));addResult(ie,0);return E.factory.createExpressionWithTypeArguments(E.factory.createIdentifier(G),undefined)}function trySerializeAsTypeReference(N,j){var $;var q;if(N.target&&isSymbolAccessibleByFlags(N.target.symbol,ae,j)){$=E.map(getTypeArguments(N),(function(E){return typeToTypeNodeHelper(E,R)}));q=symbolToExpression(N.target.symbol,R,788968)}else if(N.symbol&&isSymbolAccessibleByFlags(N.symbol,ae,j)){q=symbolToExpression(N.symbol,R,788968)}if(q){return E.factory.createExpressionWithTypeArguments(q,$)}}function serializeImplementedType(N){var j=trySerializeAsTypeReference(N,788968);if(j){return j}if(N.symbol){return E.factory.createExpressionWithTypeArguments(symbolToExpression(N.symbol,R,788968),undefined)}}function getUnusedName(E,N){var j,$;var q=N?getSymbolId(N):undefined;if(q){if(R.remappedSymbolNames.has(q)){return R.remappedSymbolNames.get(q)}}if(N){E=getNameCandidateWorker(N,E)}var G=0;var ie=E;while((j=R.usedSymbolNames)===null||j===void 0?void 0:j.has(E)){G++;E=ie+"_"+G}($=R.usedSymbolNames)===null||$===void 0?void 0:$.add(E);if(q){R.remappedSymbolNames.set(q,E)}return E}function getNameCandidateWorker(N,j){if(j==="default"||j==="__class"||j==="__function"){var $=R.flags;R.flags|=16777216;var q=getNameOfSymbolAsWritten(N,R);R.flags=$;j=q.length>0&&E.isSingleOrDoubleQuote(q.charCodeAt(0))?E.stripQuotes(q):q}if(j==="default"){j="_default"}else if(j==="export="){j="_exports"}j=E.isIdentifierText(j,Ye)&&!E.isStringANonContextualKeyword(j)?j:"_"+j.replace(/[^a-zA-Z0-9]/g,"_");return j}function getInternalSymbolName(E,N){var j=getSymbolId(E);if(R.remappedSymbolNames.has(j)){return R.remappedSymbolNames.get(j)}N=getNameCandidateWorker(E,N);R.remappedSymbolNames.set(j,N);return N}}}function typePredicateToString(N,R,j,$){if(j===void 0){j=16384}return $?typePredicateToStringWorker($).getText():E.usingSingleLineStringWriter(typePredicateToStringWorker);function typePredicateToStringWorker($){var q=E.factory.createTypePredicateNode(N.kind===2||N.kind===3?E.factory.createToken(128):undefined,N.kind===1||N.kind===3?E.factory.createIdentifier(N.parameterName):E.factory.createThisTypeNode(),N.type&&_t.typeToTypeNode(N.type,R,toNodeBuilderFlags(j)|70221824|512));var G=E.createPrinter({removeComments:true});var ie=R&&E.getSourceFileOfNode(R);G.writeNode(4,q,ie,$);return $}}function formatUnionTypes(E){var N=[];var R=0;for(var j=0;j<E.length;j++){var $=E[j];R|=$.flags;if(!($.flags&98304)){if($.flags&(512|1024)){var q=$.flags&512?cr:getBaseTypeOfEnumLiteralType($);if(q.flags&1048576){var G=q.types.length;if(j+G<=E.length&&getRegularTypeOfLiteralType(E[j+G-1])===getRegularTypeOfLiteralType(q.types[G-1])){N.push(q);j+=G-1;continue}}}N.push($)}}if(R&65536)N.push(Yt);if(R&32768)N.push(Gt);return N||E}function visibilityToString(E){if(E===8){return"private"}if(E===16){return"protected"}return"public"}function getTypeAliasForTypeLiteral(N){if(N.symbol&&N.symbol.flags&2048&&N.symbol.declarations){var R=E.walkUpParenthesizedTypes(N.symbol.declarations[0].parent);if(R.kind===257){return getSymbolOfNode(R)}}return undefined}function isTopLevelInExternalModuleAugmentation(N){return N&&N.parent&&N.parent.kind===260&&E.isExternalModuleAugmentation(N.parent.parent)}function isDefaultBindingContext(N){return N.kind===300||E.isAmbientModule(N)}function getNameOfSymbolFromNameType(N,R){var j=getSymbolLinks(N).nameType;if(j){if(j.flags&384){var $=""+j.value;if(!E.isIdentifierText($,Xe.target)&&!isNumericLiteralName($)){return'"'+E.escapeString($,34)+'"'}if(isNumericLiteralName($)&&E.startsWith($,"-")){return"["+$+"]"}return $}if(j.flags&8192){return"["+getNameOfSymbolAsWritten(j.symbol,R)+"]"}}}function getNameOfSymbolAsWritten(N,R){if(R&&N.escapedName==="default"&&!(R.flags&16384)&&(!(R.flags&16777216)||!N.declarations||R.enclosingDeclaration&&E.findAncestor(N.declarations[0],isDefaultBindingContext)!==E.findAncestor(R.enclosingDeclaration,isDefaultBindingContext))){return"default"}if(N.declarations&&N.declarations.length){var j=E.firstDefined(N.declarations,(function(N){return E.getNameOfDeclaration(N)?N:undefined}));var $=j&&E.getNameOfDeclaration(j);if(j&&$){if(E.isCallExpression(j)&&E.isBindableObjectDefinePropertyCall(j)){return E.symbolName(N)}if(E.isComputedPropertyName($)&&!(E.getCheckFlags(N)&4096)){var q=getSymbolLinks(N).nameType;if(q&&q.flags&384){var G=getNameOfSymbolFromNameType(N,R);if(G!==undefined){return G}}}return E.declarationNameToString($)}if(!j){j=N.declarations[0]}if(j.parent&&j.parent.kind===252){return E.declarationNameToString(j.parent.name)}switch(j.kind){case 224:case 211:case 212:if(R&&!R.encounteredError&&!(R.flags&131072)){R.encounteredError=true}return j.kind===224?"(Anonymous class)":"(Anonymous function)"}}var ie=getNameOfSymbolFromNameType(N,R);return ie!==undefined?ie:E.symbolName(N)}function isDeclarationVisible(N){if(N){var R=getNodeLinks(N);if(R.isVisible===undefined){R.isVisible=!!determineIfDeclarationIsVisible()}return R.isVisible}return false;function determineIfDeclarationIsVisible(){switch(N.kind){case 333:case 340:case 334:return!!(N.parent&&N.parent.parent&&N.parent.parent.parent&&E.isSourceFile(N.parent.parent.parent));case 201:return isDeclarationVisible(N.parent.parent);case 252:if(E.isBindingPattern(N.name)&&!N.name.elements.length){return false}case 259:case 255:case 256:case 257:case 254:case 258:case 263:if(E.isExternalModuleAugmentation(N)){return true}var R=getDeclarationContainer(N);if(!(E.getCombinedModifierFlags(N)&1)&&!(N.kind!==263&&R.kind!==300&&R.flags&8388608)){return isGlobalSourceFile(R)}return isDeclarationVisible(R);case 165:case 164:case 170:case 171:case 167:case 166:if(E.hasEffectiveModifier(N,8|16)){return false}case 169:case 173:case 172:case 174:case 162:case 260:case 177:case 178:case 180:case 176:case 181:case 182:case 185:case 186:case 189:case 195:return isDeclarationVisible(N.parent);case 265:case 266:case 268:return false;case 161:case 300:case 262:return true;case 269:return false;default:return false}}}function collectLinkedAliases(N,R){var j;if(N.parent&&N.parent.kind===269){j=resolveName(N,N.escapedText,111551|788968|1920|2097152,undefined,N,false)}else if(N.parent.kind===273){j=getTargetOfExportSpecifier(N.parent,111551|788968|1920|2097152)}var $;var q;if(j){q=new E.Set;q.add(getSymbolId(j));buildVisibleNodeList(j.declarations)}return $;function buildVisibleNodeList(N){E.forEach(N,(function(N){var j=getAnyImportSyntax(N)||N;if(R){getNodeLinks(N).isVisible=true}else{$=$||[];E.pushIfUnique($,j)}if(E.isInternalModuleImportEqualsDeclaration(N)){var G=N.moduleReference;var ie=E.getFirstIdentifier(G);var ae=resolveName(N,ie.escapedText,111551|788968|1920,undefined,undefined,false);if(ae&&q){if(E.tryAddToSet(q,getSymbolId(ae))){buildVisibleNodeList(ae.declarations)}}}}))}}function pushTypeResolution(E,N){var R=findResolutionCycleStartIndex(E,N);if(R>=0){var j=ei.length;for(var $=R;$<j;$++){ti[$]=false}return false}ei.push(E);ti.push(true);ri.push(N);return true}function findResolutionCycleStartIndex(E,N){for(var R=ei.length-1;R>=0;R--){if(hasType(ei[R],ri[R])){return-1}if(ei[R]===E&&ri[R]===N){return R}}return-1}function hasType(N,R){switch(R){case 0:return!!getSymbolLinks(N).type;case 5:return!!getNodeLinks(N).resolvedEnumType;case 2:return!!getSymbolLinks(N).declaredType;case 1:return!!N.resolvedBaseConstructorType;case 3:return!!N.resolvedReturnType;case 4:return!!N.immediateBaseConstraint;case 6:return!!N.resolvedTypeArguments;case 7:return!!N.baseTypesResolved}return E.Debug.assertNever(R)}function popTypeResolution(){ei.pop();ri.pop();return ti.pop()}function getDeclarationContainer(N){return E.findAncestor(E.getRootDeclaration(N),(function(E){switch(E.kind){case 252:case 253:case 268:case 267:case 266:case 265:return false;default:return true}})).parent}function getTypeOfPrototypeProperty(N){var R=getDeclaredTypeOfSymbol(getParentOfSymbol(N));return R.typeParameters?createTypeReference(R,E.map(R.typeParameters,(function(E){return zt}))):R}function getTypeOfPropertyOfType(E,N){var R=getPropertyOfType(E,N);return R?getTypeOfSymbol(R):undefined}function getTypeOfPropertyOrIndexSignature(E,N){var R;return getTypeOfPropertyOfType(E,N)||((R=getApplicableIndexInfoForName(E,N))===null||R===void 0?void 0:R.type)||Ht}function isTypeAny(E){return E&&(E.flags&1)!==0}function getTypeForBindingElementParent(E){var N=getSymbolOfNode(E);return N&&getSymbolLinks(N).type||getTypeForVariableLikeDeclaration(E,false)}function getRestType(N,R,j){N=filterType(N,(function(E){return!(E.flags&98304)}));if(N.flags&131072){return Tr}if(N.flags&1048576){return mapType(N,(function(E){return getRestType(E,R,j)}))}var $=getUnionType(E.map(R,getLiteralTypeFromPropertyName));if(isGenericObjectType(N)||isGenericIndexType($)){if($.flags&131072){return N}var q=getGlobalOmitSymbol();if(!q){return Jt}return getTypeAliasInstantiation(q,[N,$])}var G=E.createSymbolTable();for(var ie=0,ae=getPropertiesOfType(N);ie<ae.length;ie++){var ce=ae[ie];if(!isTypeAssignableTo(getLiteralTypeFromProperty(ce,8576),$)&&!(E.getDeclarationModifierFlagsFromSymbol(ce)&(8|16))&&isSpreadableProperty(ce)){G.set(ce.escapedName,getSpreadSymbol(ce,false))}}var le=createAnonymousType(j,G,E.emptyArray,E.emptyArray,getIndexInfosOfType(N));le.objectFlags|=8388608;return le}function isGenericTypeWithUndefinedConstraint(E){return!!(E.flags&465829888)&&maybeTypeOfKind(getBaseConstraintOfType(E)||Ht,32768)}function getNonUndefinedType(E){var N=someType(E,isGenericTypeWithUndefinedConstraint)?mapType(E,(function(E){return E.flags&465829888?getBaseConstraintOrType(E):E})):E;return getTypeWithFacts(N,524288)}function getFlowTypeOfDestructuring(E,N){var R=getSyntheticElementAccess(E);return R?getFlowTypeOfReference(R,N):N}function getSyntheticElementAccess(N){var R=getParentElementAccess(N);if(R&&R.flowNode){var j=getDestructuringPropertyName(N);if(j){var $=E.setTextRange(E.parseNodeFactory.createStringLiteral(j),N);var q=E.isLeftHandSideExpression(R)?R:E.parseNodeFactory.createParenthesizedExpression(R);var G=E.setTextRange(E.parseNodeFactory.createElementAccessExpression(q,$),N);E.setParent($,G);E.setParent(G,N);if(q!==R){E.setParent(q,G)}G.flowNode=R.flowNode;return G}}}function getParentElementAccess(E){var N=E.parent.parent;switch(N.kind){case 201:case 291:return getSyntheticElementAccess(N);case 202:return getSyntheticElementAccess(E.parent);case 252:return N.initializer;case 219:return N.right}}function getDestructuringPropertyName(E){var N=E.parent;if(E.kind===201&&N.kind===199){return getLiteralPropertyNameText(E.propertyName||E.name)}if(E.kind===291||E.kind===292){return getLiteralPropertyNameText(E.name)}return""+N.elements.indexOf(E)}function getLiteralPropertyNameText(E){var N=getLiteralTypeFromPropertyName(E);return N.flags&(128|256)?""+N.value:undefined}function getTypeForBindingElement(N){var R=N.parent;var j=getTypeForBindingElementParent(R.parent);if(!j||isTypeAny(j)){return j}if(rt&&N.flags&8388608&&E.isParameterDeclaration(N)){j=getNonNullableType(j)}else if(rt&&R.parent.initializer&&!(getTypeFacts(getTypeOfInitializer(R.parent.initializer))&65536)){j=getTypeWithFacts(j,524288)}var $;if(R.kind===199){if(N.dotDotDotToken){j=getReducedType(j);if(j.flags&2||!isValidSpreadType(j)){error(N,E.Diagnostics.Rest_types_may_only_be_created_from_object_types);return Jt}var q=[];for(var G=0,ie=R.elements;G<ie.length;G++){var ae=ie[G];if(!ae.dotDotDotToken){q.push(ae.propertyName||ae.name)}}$=getRestType(j,q,N.symbol)}else{var ce=N.propertyName||N.name;var le=getLiteralTypeFromPropertyName(ce);var _e=getIndexedAccessType(j,le,32,ce);$=getFlowTypeOfDestructuring(N,_e)}}else{var Ee=checkIteratedTypeOrElementType(65|(N.dotDotDotToken?0:128),j,Gt,R);var Te=R.elements.indexOf(N);if(N.dotDotDotToken){$=everyType(j,isTupleType)?mapType(j,(function(E){return sliceTupleType(E,Te)})):createArrayType(Ee)}else if(isArrayLikeType(j)){var le=getNumberLiteralType(Te);var we=32|(hasDefaultValue(N)?16:0);var _e=getIndexedAccessTypeOrUndefined(j,le,we,N.name)||Jt;$=getFlowTypeOfDestructuring(N,_e)}else{$=Ee}}if(!N.initializer){return $}if(E.getEffectiveTypeAnnotationNode(E.walkUpBindingElementsAndPatterns(N))){return rt&&!(getFalsyFlags(checkDeclarationInitializer(N))&32768)?getNonUndefinedType($):$}return widenTypeInferredFromInitializer(N,getUnionType([getNonUndefinedType($),checkDeclarationInitializer(N)],2))}function getTypeForDeclarationFromJSDocComment(N){var R=E.getJSDocType(N);if(R){return getTypeFromTypeNode(R)}return undefined}function isNullOrUndefined(N){var R=E.skipParentheses(N);return R.kind===104||R.kind===79&&getResolvedSymbol(R)===vt}function isEmptyArrayLiteral(N){var R=E.skipParentheses(N);return R.kind===202&&R.elements.length===0}function addOptionality(E,N,R){if(N===void 0){N=false}if(R===void 0){R=true}return rt&&R?getOptionalType(E,N):E}function getTypeForVariableLikeDeclaration(N,R){if(E.isVariableDeclaration(N)&&N.parent.parent.kind===241){var j=getIndexType(getNonNullableTypeIfNeeded(checkExpression(N.parent.parent.expression)));return j.flags&(262144|4194304)?getExtractStringType(j):er}if(E.isVariableDeclaration(N)&&N.parent.parent.kind===242){var $=N.parent.parent;return checkRightHandSideOfForOf($)||zt}if(E.isBindingPattern(N.parent)){return getTypeForBindingElement(N)}var q=E.isPropertyDeclaration(N)||E.isPropertySignature(N);var G=R&&(q&&!!N.questionToken||E.isParameter(N)&&(!!N.questionToken||isJSDocOptionalParameter(N))||isOptionalJSDocPropertyLikeTag(N));var ie=tryGetTypeFromEffectiveTypeNode(N);if(ie){return addOptionality(ie,q,G)}if((st||E.isInJSFile(N))&&E.isVariableDeclaration(N)&&!E.isBindingPattern(N.name)&&!(E.getCombinedModifierFlags(N)&1)&&!(N.flags&8388608)){if(!(E.getCombinedNodeFlags(N)&2)&&(!N.initializer||isNullOrUndefined(N.initializer))){return Wt}if(N.initializer&&isEmptyArrayLiteral(N.initializer)){return gn}}if(E.isParameter(N)){var ae=N.parent;if(ae.kind===171&&hasBindableName(ae)){var ce=E.getDeclarationOfKind(getSymbolOfNode(N.parent),170);if(ce){var le=getSignatureFromDeclaration(ce);var _e=getAccessorThisParameter(ae);if(_e&&N===_e){E.Debug.assert(!_e.type);return getTypeOfSymbol(le.thisParameter)}return getReturnTypeOfSignature(le)}}if(E.isInJSFile(N)){var Ee=E.getJSDocType(ae);if(Ee&&E.isFunctionTypeNode(Ee)){var Te=getSignatureFromDeclaration(Ee);var we=ae.parameters.indexOf(N);return N.dotDotDotToken?getRestTypeAtPosition(Te,we):getTypeAtPosition(Te,we)}}var Ie=N.symbol.escapedName==="this"?getContextualThisParameterType(ae):getContextuallyTypedParameterType(N);if(Ie){return addOptionality(Ie,false,G)}}if(E.hasOnlyExpressionInitializer(N)&&!!N.initializer){if(E.isInJSFile(N)&&!E.isParameter(N)){var Ne=getJSContainerObjectType(N,getSymbolOfNode(N),E.getDeclaredExpandoInitializer(N));if(Ne){return Ne}}var Ie=widenTypeInferredFromInitializer(N,checkDeclarationInitializer(N));return addOptionality(Ie,q,G)}if(E.isPropertyDeclaration(N)&&(st||E.isInJSFile(N))){if(!E.hasStaticModifier(N)){var Me=findConstructorDeclaration(N.parent);var Ie=Me?getFlowTypeInConstructor(N.symbol,Me):E.getEffectiveModifierFlags(N)&2?getTypeOfPropertyInBaseClass(N.symbol):undefined;return Ie&&addOptionality(Ie,true,G)}else{var Le=E.filter(N.parent.members,E.isClassStaticBlockDeclaration);var Ie=Le.length?getFlowTypeInStaticBlocks(N.symbol,Le):E.getEffectiveModifierFlags(N)&2?getTypeOfPropertyInBaseClass(N.symbol):undefined;return Ie&&addOptionality(Ie,true,G)}}if(E.isJsxAttribute(N)){return ar}if(E.isBindingPattern(N.name)){return getTypeFromBindingPattern(N.name,false,true)}return undefined}function isConstructorDeclaredProperty(N){if(N.valueDeclaration&&E.isBinaryExpression(N.valueDeclaration)){var R=getSymbolLinks(N);if(R.isConstructorDeclaredProperty===undefined){R.isConstructorDeclaredProperty=false;R.isConstructorDeclaredProperty=!!getDeclaringConstructor(N)&&E.every(N.declarations,(function(R){return E.isBinaryExpression(R)&&isPossiblyAliasedThisProperty(R)&&(R.left.kind!==205||E.isStringOrNumericLiteralLike(R.left.argumentExpression))&&!getAnnotatedTypeForAssignmentDeclaration(undefined,R,N,R)}))}return R.isConstructorDeclaredProperty}return false}function isAutoTypedProperty(N){var R=N.valueDeclaration;return R&&E.isPropertyDeclaration(R)&&!E.getEffectiveTypeAnnotationNode(R)&&!R.initializer&&(st||E.isInJSFile(R))}function getDeclaringConstructor(N){if(!N.declarations){return}for(var R=0,j=N.declarations;R<j.length;R++){var $=j[R];var q=E.getThisContainer($,false);if(q&&(q.kind===169||isJSConstructor(q))){return q}}}function getFlowTypeFromCommonJSExport(N){var R=E.getSourceFileOfNode(N.declarations[0]);var j=E.unescapeLeadingUnderscores(N.escapedName);var $=N.declarations.every((function(N){return E.isInJSFile(N)&&E.isAccessExpression(N)&&E.isModuleExportsAccessExpression(N.expression)}));var q=$?E.factory.createPropertyAccessExpression(E.factory.createPropertyAccessExpression(E.factory.createIdentifier("module"),E.factory.createIdentifier("exports")),j):E.factory.createPropertyAccessExpression(E.factory.createIdentifier("exports"),j);if($){E.setParent(q.expression.expression,q.expression)}E.setParent(q.expression,q);E.setParent(q,R);q.flowNode=R.endFlowNode;return getFlowTypeOfReference(q,Wt,Gt)}function getFlowTypeInStaticBlocks(N,R){var j=E.startsWith(N.escapedName,"__#")?E.factory.createPrivateIdentifier(N.escapedName.split("@")[1]):E.unescapeLeadingUnderscores(N.escapedName);for(var $=0,q=R;$<q.length;$++){var G=q[$];var ie=E.factory.createPropertyAccessExpression(E.factory.createThis(),j);E.setParent(ie.expression,ie);E.setParent(ie,G);ie.flowNode=G.returnFlowNode;var ae=getFlowTypeOfProperty(ie,N);if(st&&(ae===Wt||ae===gn)){error(N.valueDeclaration,E.Diagnostics.Member_0_implicitly_has_an_1_type,symbolToString(N),typeToString(ae))}if(everyType(ae,isNullableType)){continue}return convertAutoToAny(ae)}}function getFlowTypeInConstructor(N,R){var j=E.startsWith(N.escapedName,"__#")?E.factory.createPrivateIdentifier(N.escapedName.split("@")[1]):E.unescapeLeadingUnderscores(N.escapedName);var $=E.factory.createPropertyAccessExpression(E.factory.createThis(),j);E.setParent($.expression,$);E.setParent($,R);$.flowNode=R.returnFlowNode;var q=getFlowTypeOfProperty($,N);if(st&&(q===Wt||q===gn)){error(N.valueDeclaration,E.Diagnostics.Member_0_implicitly_has_an_1_type,symbolToString(N),typeToString(q))}return everyType(q,isNullableType)?undefined:convertAutoToAny(q)}function getFlowTypeOfProperty(N,R){var j=(R===null||R===void 0?void 0:R.valueDeclaration)&&(!isAutoTypedProperty(R)||E.getEffectiveModifierFlags(R.valueDeclaration)&2)&&getTypeOfPropertyInBaseClass(R)||Gt;return getFlowTypeOfReference(N,Wt,j)}function getWidenedTypeForAssignmentDeclaration(N,R){var j=E.getAssignedExpandoInitializer(N.valueDeclaration);if(j){var $=E.getJSDocTypeTag(j);if($&&$.typeExpression){return getTypeFromTypeNode($.typeExpression)}var q=N.valueDeclaration&&getJSContainerObjectType(N.valueDeclaration,N,j);return q||getWidenedLiteralType(checkExpressionCached(j))}var G;var ie=false;var ae=false;if(isConstructorDeclaredProperty(N)){G=getFlowTypeInConstructor(N,getDeclaringConstructor(N))}if(!G){var ce=void 0;if(N.declarations){var le=void 0;for(var _e=0,Ee=N.declarations;_e<Ee.length;_e++){var Te=Ee[_e];var we=E.isBinaryExpression(Te)||E.isCallExpression(Te)?Te:E.isAccessExpression(Te)?E.isBinaryExpression(Te.parent)?Te.parent:Te:undefined;if(!we){continue}var Ie=E.isAccessExpression(we)?E.getAssignmentDeclarationPropertyAccessKind(we):E.getAssignmentDeclarationKind(we);if(Ie===4||E.isBinaryExpression(we)&&isPossiblyAliasedThisProperty(we,Ie)){if(isDeclarationInConstructor(we)){ie=true}else{ae=true}}if(!E.isCallExpression(we)){le=getAnnotatedTypeForAssignmentDeclaration(le,we,N,Te)}if(!le){(ce||(ce=[])).push(E.isBinaryExpression(we)||E.isCallExpression(we)?getInitializerTypeFromAssignmentDeclaration(N,R,we,Ie):dr)}}G=le}if(!G){if(!E.length(ce)){return Jt}var Ne=ie&&N.declarations?getConstructorDefinedThisAssignmentTypes(ce,N.declarations):undefined;if(ae){var Me=getTypeOfPropertyInBaseClass(N);if(Me){(Ne||(Ne=[])).push(Me);ie=true}}var Le=E.some(Ne,(function(E){return!!(E.flags&~98304)}))?Ne:ce;G=getUnionType(Le,2)}}var Be=getWidenedType(addOptionality(G,false,ae&&!ie));if(N.valueDeclaration&&filterType(Be,(function(E){return!!(E.flags&~98304)}))===dr){reportImplicitAny(N.valueDeclaration,zt);return zt}return Be}function getJSContainerObjectType(N,R,j){var $,q;if(!E.isInJSFile(N)||!j||!E.isObjectLiteralExpression(j)||j.properties.length){return undefined}var G=E.createSymbolTable();while(E.isBinaryExpression(N)||E.isPropertyAccessExpression(N)){var ie=getSymbolOfNode(N);if(($=ie===null||ie===void 0?void 0:ie.exports)===null||$===void 0?void 0:$.size){mergeSymbolTable(G,ie.exports)}N=E.isBinaryExpression(N)?N.parent:N.parent.parent}var ae=getSymbolOfNode(N);if((q=ae===null||ae===void 0?void 0:ae.exports)===null||q===void 0?void 0:q.size){mergeSymbolTable(G,ae.exports)}var ce=createAnonymousType(R,G,E.emptyArray,E.emptyArray,E.emptyArray);ce.objectFlags|=8192;return ce}function getAnnotatedTypeForAssignmentDeclaration(N,R,j,$){var q;var G=E.getEffectiveTypeAnnotationNode(R.parent);if(G){var ie=getWidenedType(getTypeFromTypeNode(G));if(!N){return ie}else if(N!==Jt&&ie!==Jt&&!isTypeIdenticalTo(N,ie)){errorNextVariableOrPropertyDeclarationMustHaveSameType(undefined,N,$,ie)}}if((q=j.parent)===null||q===void 0?void 0:q.valueDeclaration){var ae=E.getEffectiveTypeAnnotationNode(j.parent.valueDeclaration);if(ae){var ce=getPropertyOfType(getTypeFromTypeNode(ae),j.escapedName);if(ce){return getNonMissingTypeOfSymbol(ce)}}}return N}function getInitializerTypeFromAssignmentDeclaration(N,R,j,$){if(E.isCallExpression(j)){if(R){return getTypeOfSymbol(R)}var q=checkExpressionCached(j.arguments[2]);var G=getTypeOfPropertyOfType(q,"value");if(G){return G}var ie=getTypeOfPropertyOfType(q,"get");if(ie){var ae=getSingleCallSignature(ie);if(ae){return getReturnTypeOfSignature(ae)}}var ce=getTypeOfPropertyOfType(q,"set");if(ce){var le=getSingleCallSignature(ce);if(le){return getTypeOfFirstParameterOfSignature(le)}}return zt}if(containsSameNamedThisProperty(j.left,j.right)){return zt}var _e=R?getTypeOfSymbol(R):getWidenedLiteralType(checkExpressionCached(j.right));if(_e.flags&524288&&$===2&&N.escapedName==="export="){var Ee=resolveStructuredTypeMembers(_e);var Te=E.createSymbolTable();E.copyEntries(Ee.members,Te);var we=Te.size;if(R&&!R.exports){R.exports=E.createSymbolTable()}(R||N).exports.forEach((function(N,R){var j;var $=Te.get(R);if($&&$!==N){if(N.flags&111551&&$.flags&111551){if(N.valueDeclaration&&$.valueDeclaration&&E.getSourceFileOfNode(N.valueDeclaration)!==E.getSourceFileOfNode($.valueDeclaration)){var q=E.unescapeLeadingUnderscores(N.escapedName);var G=((j=E.tryCast($.valueDeclaration,E.isNamedDeclaration))===null||j===void 0?void 0:j.name)||$.valueDeclaration;E.addRelatedInfo(error(N.valueDeclaration,E.Diagnostics.Duplicate_identifier_0,q),E.createDiagnosticForNode(G,E.Diagnostics._0_was_also_declared_here,q));E.addRelatedInfo(error(G,E.Diagnostics.Duplicate_identifier_0,q),E.createDiagnosticForNode(N.valueDeclaration,E.Diagnostics._0_was_also_declared_here,q))}var ie=createSymbol(N.flags|$.flags,R);ie.type=getUnionType([getTypeOfSymbol(N),getTypeOfSymbol($)]);ie.valueDeclaration=$.valueDeclaration;ie.declarations=E.concatenate($.declarations,N.declarations);Te.set(R,ie)}else{Te.set(R,mergeSymbol(N,$))}}else{Te.set(R,N)}}));var Ie=createAnonymousType(we!==Te.size?undefined:Ee.symbol,Te,Ee.callSignatures,Ee.constructSignatures,Ee.indexInfos);Ie.objectFlags|=E.getObjectFlags(_e)&8192;if(Ie.symbol&&Ie.symbol.flags&32&&_e===getDeclaredTypeOfClassOrInterface(Ie.symbol)){Ie.objectFlags|=16777216}return Ie}if(isEmptyArrayLiteralType(_e)){reportImplicitAny(j,mn);return mn}return _e}function containsSameNamedThisProperty(N,R){return E.isPropertyAccessExpression(N)&&N.expression.kind===108&&E.forEachChildRecursively(R,(function(E){return isMatchingReference(N,E)}))}function isDeclarationInConstructor(N){var R=E.getThisContainer(N,false);return R.kind===169||R.kind===254||R.kind===211&&!E.isPrototypePropertyAssignment(R.parent)}function getConstructorDefinedThisAssignmentTypes(N,R){E.Debug.assert(N.length===R.length);return N.filter((function(N,j){var $=R[j];var q=E.isBinaryExpression($)?$:E.isBinaryExpression($.parent)?$.parent:undefined;return q&&isDeclarationInConstructor(q)}))}function getTypeFromBindingElement(N,R,j){if(N.initializer){var $=E.isBindingPattern(N.name)?getTypeFromBindingPattern(N.name,true,false):Ht;return addOptionality(widenTypeInferredFromInitializer(N,checkDeclarationInitializer(N,$)))}if(E.isBindingPattern(N.name)){return getTypeFromBindingPattern(N.name,R,j)}if(j&&!declarationBelongsToPrivateAmbientMember(N)){reportImplicitAny(N,zt)}return R?Vt:zt}function getTypeFromObjectBindingPattern(N,R,j){var $=E.createSymbolTable();var q;var G=128|262144;E.forEach(N.elements,(function(E){var N=E.propertyName||E.name;if(E.dotDotDotToken){q=createIndexInfo(er,zt,false);return}var ie=getLiteralTypeFromPropertyName(N);if(!isTypeUsableAsPropertyName(ie)){G|=512;return}var ae=getPropertyNameFromType(ie);var ce=4|(E.initializer?16777216:0);var le=createSymbol(ce,ae);le.type=getTypeFromBindingElement(E,R,j);le.bindingElement=E;$.set(le.escapedName,le)}));var ie=createAnonymousType(undefined,$,E.emptyArray,E.emptyArray,q?[q]:E.emptyArray);ie.objectFlags|=G;if(R){ie.pattern=N;ie.objectFlags|=262144}return ie}function getTypeFromArrayBindingPattern(N,R,j){var $=N.elements;var q=E.lastOrUndefined($);var G=q&&q.kind===201&&q.dotDotDotToken?q:undefined;if($.length===0||$.length===1&&G){return Ye>=2?createIterableType(zt):mn}var ie=E.map($,(function(N){return E.isOmittedExpression(N)?zt:getTypeFromBindingElement(N,R,j)}));var ae=E.findLastIndex($,(function(N){return!(N===G||E.isOmittedExpression(N)||hasDefaultValue(N))}),$.length-1)+1;var ce=E.map($,(function(E,N){return E===G?4:N>=ae?2:1}));var le=createTupleType(ie,ce);if(R){le=cloneTypeReference(le);le.pattern=N;le.objectFlags|=262144}return le}function getTypeFromBindingPattern(E,N,R){if(N===void 0){N=false}if(R===void 0){R=false}return E.kind===199?getTypeFromObjectBindingPattern(E,N,R):getTypeFromArrayBindingPattern(E,N,R)}function getWidenedTypeForVariableLikeDeclaration(E,N){return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(E,true),E,N)}function isGlobalSymbolConstructor(E){var N=getSymbolOfNode(E);var R=getGlobalESSymbolConstructorTypeSymbol(false);return R&&N&&N===R}function widenTypeForVariableLikeDeclaration(N,R,j){if(N){if(N.flags&4096&&isGlobalSymbolConstructor(R.parent)){N=getESSymbolLikeTypeForNode(R)}if(j){reportErrorsFromWidening(R,N)}if(N.flags&8192&&(E.isBindingElement(R)||!R.type)&&N.symbol!==getSymbolOfNode(R)){N=lr}return getWidenedType(N)}N=E.isParameter(R)&&R.dotDotDotToken?mn:zt;if(j){if(!declarationBelongsToPrivateAmbientMember(R)){reportImplicitAny(R,N)}}return N}function declarationBelongsToPrivateAmbientMember(N){var R=E.getRootDeclaration(N);var j=R.kind===162?R.parent:R;return isPrivateWithinAmbient(j)}function tryGetTypeFromEffectiveTypeNode(N){var R=E.getEffectiveTypeAnnotationNode(N);if(R){return getTypeFromTypeNode(R)}}function getTypeOfVariableOrParameterOrProperty(E){var N=getSymbolLinks(E);if(!N.type){var R=getTypeOfVariableOrParameterOrPropertyWorker(E);if(!N.type){N.type=R}}return N.type}function getTypeOfVariableOrParameterOrPropertyWorker(N){if(N.flags&4194304){return getTypeOfPrototypeProperty(N)}if(N===St){return zt}if(N.flags&134217728&&N.valueDeclaration){var R=getSymbolOfNode(E.getSourceFileOfNode(N.valueDeclaration));var j=createSymbol(R.flags,"exports");j.declarations=R.declarations?R.declarations.slice():[];j.parent=N;j.target=R;if(R.valueDeclaration)j.valueDeclaration=R.valueDeclaration;if(R.members)j.members=new E.Map(R.members);if(R.exports)j.exports=new E.Map(R.exports);var $=E.createSymbolTable();$.set("exports",j);return createAnonymousType(N,$,E.emptyArray,E.emptyArray,E.emptyArray)}E.Debug.assertIsDefined(N.valueDeclaration);var q=N.valueDeclaration;if(E.isCatchClauseVariableDeclarationOrBindingElement(q)){var G=E.getEffectiveTypeAnnotationNode(q);if(G===undefined){return ut?Ht:zt}var ie=getTypeOfNode(G);return isTypeAny(ie)||ie===Ht?ie:Jt}if(E.isSourceFile(q)&&E.isJsonSourceFile(q)){if(!q.statements.length){return Tr}return getWidenedType(getWidenedLiteralType(checkExpression(q.statements[0].expression)))}if(!pushTypeResolution(N,0)){if(N.flags&512&&!(N.flags&67108864)){return getTypeOfFuncClassEnumModule(N)}return reportCircularityError(N)}var ae;if(q.kind===269){ae=widenTypeForVariableLikeDeclaration(checkExpressionCached(q.expression),q)}else if(E.isBinaryExpression(q)||E.isInJSFile(q)&&(E.isCallExpression(q)||(E.isPropertyAccessExpression(q)||E.isBindableStaticElementAccessExpression(q))&&E.isBinaryExpression(q.parent))){ae=getWidenedTypeForAssignmentDeclaration(N)}else if(E.isPropertyAccessExpression(q)||E.isElementAccessExpression(q)||E.isIdentifier(q)||E.isStringLiteralLike(q)||E.isNumericLiteral(q)||E.isClassDeclaration(q)||E.isFunctionDeclaration(q)||E.isMethodDeclaration(q)&&!E.isObjectLiteralMethod(q)||E.isMethodSignature(q)||E.isSourceFile(q)){if(N.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(N)}ae=E.isBinaryExpression(q.parent)?getWidenedTypeForAssignmentDeclaration(N):tryGetTypeFromEffectiveTypeNode(q)||zt}else if(E.isPropertyAssignment(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkPropertyAssignment(q)}else if(E.isJsxAttribute(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkJsxAttribute(q)}else if(E.isShorthandPropertyAssignment(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkExpressionForMutableLocation(q.name,0)}else if(E.isObjectLiteralMethod(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkObjectLiteralMethod(q,0)}else if(E.isParameter(q)||E.isPropertyDeclaration(q)||E.isPropertySignature(q)||E.isVariableDeclaration(q)||E.isBindingElement(q)||E.isJSDocPropertyLikeTag(q)){ae=getWidenedTypeForVariableLikeDeclaration(q,true)}else if(E.isEnumDeclaration(q)){ae=getTypeOfFuncClassEnumModule(N)}else if(E.isEnumMember(q)){ae=getTypeOfEnumMember(N)}else if(E.isAccessor(q)){ae=resolveTypeOfAccessors(N)||E.Debug.fail("Non-write accessor resolution must always produce a type")}else{return E.Debug.fail("Unhandled declaration kind! "+E.Debug.formatSyntaxKind(q.kind)+" for "+E.Debug.formatSymbol(N))}if(!popTypeResolution()){if(N.flags&512&&!(N.flags&67108864)){return getTypeOfFuncClassEnumModule(N)}return reportCircularityError(N)}return ae}function getAnnotatedAccessorTypeNode(N){if(N){if(N.kind===170){var R=E.getEffectiveReturnTypeNode(N);return R}else{var j=E.getEffectiveSetAccessorTypeAnnotationNode(N);return j}}return undefined}function getAnnotatedAccessorType(E){var N=getAnnotatedAccessorTypeNode(E);return N&&getTypeFromTypeNode(N)}function getAnnotatedAccessorThisParameter(E){var N=getAccessorThisParameter(E);return N&&N.symbol}function getThisTypeOfDeclaration(E){return getThisTypeOfSignature(getSignatureFromDeclaration(E))}function getTypeOfAccessors(N){var R=getSymbolLinks(N);return R.type||(R.type=getTypeOfAccessorsWorker(N)||E.Debug.fail("Read type of accessor must always produce a type"))}function getTypeOfSetAccessor(E){var N=getSymbolLinks(E);return N.writeType||(N.writeType=getTypeOfAccessorsWorker(E,true))}function getTypeOfAccessorsWorker(N,R){if(R===void 0){R=false}if(!pushTypeResolution(N,0)){return Jt}var j=resolveTypeOfAccessors(N,R);if(!popTypeResolution()){j=zt;if(st){var $=E.getDeclarationOfKind(N,170);error($,E.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,symbolToString(N))}}return j}function resolveTypeOfAccessors(N,R){if(R===void 0){R=false}var j=E.getDeclarationOfKind(N,170);var $=E.getDeclarationOfKind(N,171);var q=getAnnotatedAccessorType($);if(R&&q){return instantiateTypeIfNeeded(q,N)}if(j&&E.isInJSFile(j)){var G=getTypeForDeclarationFromJSDocComment(j);if(G){return instantiateTypeIfNeeded(G,N)}}var ie=getAnnotatedAccessorType(j);if(ie){return instantiateTypeIfNeeded(ie,N)}if(q){return q}if(j&&j.body){var ae=getReturnTypeFromBody(j);return instantiateTypeIfNeeded(ae,N)}if($){if(!isPrivateWithinAmbient($)){errorOrSuggestion(st,$,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,symbolToString(N))}return zt}else if(j){E.Debug.assert(!!j,"there must exist a getter as we are current checking either setter or getter in this function");if(!isPrivateWithinAmbient(j)){errorOrSuggestion(st,j,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,symbolToString(N))}return zt}return undefined;function instantiateTypeIfNeeded(N,R){if(E.getCheckFlags(R)&1){var j=getSymbolLinks(R);return instantiateType(N,j.mapper)}return N}}function getBaseTypeVariableOfClass(N){var R=getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(N));return R.flags&8650752?R:R.flags&2097152?E.find(R.types,(function(E){return!!(E.flags&8650752)})):undefined}function getTypeOfFuncClassEnumModule(E){var N=getSymbolLinks(E);var R=N;if(!N.type){var j=E.valueDeclaration&&getSymbolOfExpando(E.valueDeclaration,false);if(j){var $=mergeJSSymbols(E,j);if($){E=N=$}}R.type=N.type=getTypeOfFuncClassEnumModuleWorker(E)}return N.type}function getTypeOfFuncClassEnumModuleWorker(N){var R=N.valueDeclaration;if(N.flags&1536&&E.isShorthandAmbientModuleSymbol(N)){return zt}else if(R&&(R.kind===219||E.isAccessExpression(R)&&R.parent.kind===219)){return getWidenedTypeForAssignmentDeclaration(N)}else if(N.flags&512&&R&&E.isSourceFile(R)&&R.commonJsModuleIndicator){var j=resolveExternalModuleSymbol(N);if(j!==N){if(!pushTypeResolution(N,0)){return Jt}var $=getMergedSymbol(N.exports.get("export="));var q=getWidenedTypeForAssignmentDeclaration($,$===j?undefined:j);if(!popTypeResolution()){return reportCircularityError(N)}return q}}var G=createObjectType(16,N);if(N.flags&32){var ie=getBaseTypeVariableOfClass(N);return ie?getIntersectionType([G,ie]):G}else{return rt&&N.flags&16777216?getOptionalType(G):G}}function getTypeOfEnumMember(E){var N=getSymbolLinks(E);return N.type||(N.type=getDeclaredTypeOfEnumMember(E))}function getTypeOfAlias(E){var N=getSymbolLinks(E);if(!N.type){var R=resolveAlias(E);var j=E.declarations&&getTargetOfAliasDeclaration(getDeclarationOfAliasSymbol(E),true);N.type=(j===null||j===void 0?void 0:j.declarations)&&isDuplicatedCommonJSExport(j.declarations)&&E.declarations.length?getFlowTypeFromCommonJSExport(j):isDuplicatedCommonJSExport(E.declarations)?Wt:R.flags&111551?getTypeOfSymbol(R):Jt}return N.type}function getTypeOfInstantiatedSymbol(E){var N=getSymbolLinks(E);if(!N.type){if(!pushTypeResolution(E,0)){return N.type=Jt}var R=instantiateType(getTypeOfSymbol(N.target),N.mapper);if(!popTypeResolution()){R=reportCircularityError(E)}N.type=R}return N.type}function reportCircularityError(N){var R=N.valueDeclaration;if(E.getEffectiveTypeAnnotationNode(R)){error(N.valueDeclaration,E.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,symbolToString(N));return Jt}if(st&&(R.kind!==162||R.initializer)){error(N.valueDeclaration,E.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,symbolToString(N))}return zt}function getTypeOfSymbolWithDeferredType(N){var R=getSymbolLinks(N);if(!R.type){E.Debug.assertIsDefined(R.deferralParent);E.Debug.assertIsDefined(R.deferralConstituents);R.type=R.deferralParent.flags&1048576?getUnionType(R.deferralConstituents):getIntersectionType(R.deferralConstituents)}return R.type}function getSetAccessorTypeOfSymbol(E){if(E.flags&98304){var N=getTypeOfSetAccessor(E);if(N){return N}}return getTypeOfSymbol(E)}function getTypeOfSymbol(N){var R=E.getCheckFlags(N);if(R&65536){return getTypeOfSymbolWithDeferredType(N)}if(R&1){return getTypeOfInstantiatedSymbol(N)}if(R&262144){return getTypeOfMappedSymbol(N)}if(R&8192){return getTypeOfReverseMappedSymbol(N)}if(N.flags&(3|4)){return getTypeOfVariableOrParameterOrProperty(N)}if(N.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(N)}if(N.flags&8){return getTypeOfEnumMember(N)}if(N.flags&98304){return getTypeOfAccessors(N)}if(N.flags&2097152){return getTypeOfAlias(N)}return Jt}function getNonMissingTypeOfSymbol(E){return removeMissingType(getTypeOfSymbol(E),!!(E.flags&16777216))}function isReferenceToType(N,R){return N!==undefined&&R!==undefined&&(E.getObjectFlags(N)&4)!==0&&N.target===R}function getTargetType(N){return E.getObjectFlags(N)&4?N.target:N}function hasBaseType(N,R){return check(N);function check(N){if(E.getObjectFlags(N)&(3|4)){var j=getTargetType(N);return j===R||E.some(getBaseTypes(j),check)}else if(N.flags&2097152){return E.some(N.types,check)}return false}}function appendTypeParameters(N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=E.appendIfUnique(N,getDeclaredTypeOfTypeParameter(getSymbolOfNode(q)))}return N}function getOuterTypeParameters(N,R){while(true){N=N.parent;if(N&&E.isBinaryExpression(N)){var j=E.getAssignmentDeclarationKind(N);if(j===6||j===3){var $=getSymbolOfNode(N.left);if($&&$.parent&&!E.findAncestor($.parent.valueDeclaration,(function(E){return N===E}))){N=$.parent.valueDeclaration}}}if(!N){return undefined}switch(N.kind){case 255:case 224:case 256:case 172:case 173:case 166:case 177:case 178:case 312:case 254:case 167:case 211:case 212:case 257:case 339:case 340:case 334:case 333:case 193:case 187:{var q=getOuterTypeParameters(N,R);if(N.kind===193){return E.append(q,getDeclaredTypeOfTypeParameter(getSymbolOfNode(N.typeParameter)))}else if(N.kind===187){return E.concatenate(q,getInferTypeParameters(N))}var G=appendTypeParameters(q,E.getEffectiveTypeParameterDeclarations(N));var ie=R&&(N.kind===255||N.kind===224||N.kind===256||isJSConstructor(N))&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(N)).thisType;return ie?E.append(G,ie):G}case 335:var ae=E.getParameterSymbolFromJSDoc(N);if(ae){N=ae.valueDeclaration}break;case 315:{var q=getOuterTypeParameters(N,R);return N.tags?appendTypeParameters(q,E.flatMap(N.tags,(function(N){return E.isJSDocTemplateTag(N)?N.typeParameters:undefined}))):q}}}}function getOuterTypeParametersOfClassOrInterface(N){var R=N.flags&32?N.valueDeclaration:E.getDeclarationOfKind(N,256);E.Debug.assert(!!R,"Class was missing valueDeclaration -OR- non-class had no interface declarations");return getOuterTypeParameters(R)}function getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N){if(!N.declarations){return}var R;for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(q.kind===256||q.kind===255||q.kind===224||isJSConstructor(q)||E.isTypeAlias(q)){var G=q;R=appendTypeParameters(R,E.getEffectiveTypeParameterDeclarations(G))}}return R}function getTypeParametersOfClassOrInterface(N){return E.concatenate(getOuterTypeParametersOfClassOrInterface(N),getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N))}function isMixinConstructorType(E){var N=getSignaturesOfType(E,1);if(N.length===1){var R=N[0];if(!R.typeParameters&&R.parameters.length===1&&signatureHasRestParameter(R)){var j=getTypeOfParameter(R.parameters[0]);return isTypeAny(j)||getElementTypeOfArrayType(j)===zt}}return false}function isConstructorType(E){if(getSignaturesOfType(E,1).length>0){return true}if(E.flags&8650752){var N=getBaseConstraintOfType(E);return!!N&&isMixinConstructorType(N)}return false}function getBaseTypeNodeOfClass(N){return E.getEffectiveBaseTypeNode(N.symbol.valueDeclaration)}function getConstructorsForTypeArguments(N,R,j){var $=E.length(R);var q=E.isInJSFile(j);return E.filter(getSignaturesOfType(N,1),(function(N){return(q||$>=getMinTypeArgumentCount(N.typeParameters))&&$<=E.length(N.typeParameters)}))}function getInstantiatedConstructorsForTypeArguments(N,R,j){var $=getConstructorsForTypeArguments(N,R,j);var q=E.map(R,getTypeFromTypeNode);return E.sameMap($,(function(N){return E.some(N.typeParameters)?getSignatureInstantiation(N,q,E.isInJSFile(j)):N}))}function getBaseConstructorTypeOfClass(N){if(!N.resolvedBaseConstructorType){var R=N.symbol.valueDeclaration;var j=E.getEffectiveBaseTypeNode(R);var $=getBaseTypeNodeOfClass(N);if(!$){return N.resolvedBaseConstructorType=Gt}if(!pushTypeResolution(N,1)){return Jt}var q=checkExpression($.expression);if(j&&$!==j){E.Debug.assert(!j.typeArguments);checkExpression(j.expression)}if(q.flags&(524288|2097152)){resolveStructuredTypeMembers(q)}if(!popTypeResolution()){error(N.symbol.valueDeclaration,E.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,symbolToString(N.symbol));return N.resolvedBaseConstructorType=Jt}if(!(q.flags&1)&&q!==Zt&&!isConstructorType(q)){var G=error($.expression,E.Diagnostics.Type_0_is_not_a_constructor_function_type,typeToString(q));if(q.flags&262144){var ie=getConstraintFromTypeParameter(q);var ae=Ht;if(ie){var ce=getSignaturesOfType(ie,1);if(ce[0]){ae=getReturnTypeOfSignature(ce[0])}}if(q.symbol.declarations){E.addRelatedInfo(G,E.createDiagnosticForNode(q.symbol.declarations[0],E.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,symbolToString(q.symbol),typeToString(ae)))}}return N.resolvedBaseConstructorType=Jt}N.resolvedBaseConstructorType=q}return N.resolvedBaseConstructorType}function getImplementsTypes(N){var R=E.emptyArray;if(N.symbol.declarations){for(var j=0,$=N.symbol.declarations;j<$.length;j++){var q=$[j];var G=E.getEffectiveImplementsTypeNodes(q);if(!G)continue;for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];var le=getTypeFromTypeNode(ce);if(le!==Jt){if(R===E.emptyArray){R=[le]}else{R.push(le)}}}}}return R}function reportCircularBaseType(N,R){error(N,E.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,typeToString(R,undefined,2))}function getBaseTypes(N){if(!N.baseTypesResolved){if(pushTypeResolution(N,7)){if(N.objectFlags&8){N.resolvedBaseTypes=[getTupleBaseType(N)]}else if(N.symbol.flags&(32|64)){if(N.symbol.flags&32){resolveBaseTypesOfClass(N)}if(N.symbol.flags&64){resolveBaseTypesOfInterface(N)}}else{E.Debug.fail("type must be class or interface")}if(!popTypeResolution()&&N.symbol.declarations){for(var R=0,j=N.symbol.declarations;R<j.length;R++){var $=j[R];if($.kind===255||$.kind===256){reportCircularBaseType($,N)}}}}N.baseTypesResolved=true}return N.resolvedBaseTypes}function getTupleBaseType(N){var R=E.sameMap(N.typeParameters,(function(E,R){return N.elementFlags[R]&8?getIndexedAccessType(E,tr):E}));return createArrayType(getUnionType(R||E.emptyArray),N.readonly)}function resolveBaseTypesOfClass(N){N.resolvedBaseTypes=E.resolvingEmptyArray;var R=getApparentType(getBaseConstructorTypeOfClass(N));if(!(R.flags&(524288|2097152|1))){return N.resolvedBaseTypes=E.emptyArray}var j=getBaseTypeNodeOfClass(N);var $;var q=R.symbol?getDeclaredTypeOfSymbol(R.symbol):undefined;if(R.symbol&&R.symbol.flags&32&&areAllOuterTypeParametersApplied(q)){$=getTypeFromClassOrInterfaceReference(j,R.symbol)}else if(R.flags&1){$=R}else{var G=getInstantiatedConstructorsForTypeArguments(R,j.typeArguments,j);if(!G.length){error(j.expression,E.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments);return N.resolvedBaseTypes=E.emptyArray}$=getReturnTypeOfSignature(G[0])}if($===Jt){return N.resolvedBaseTypes=E.emptyArray}var ie=getReducedType($);if(!isValidBaseType(ie)){var ae=elaborateNeverIntersection(undefined,$);var ce=E.chainDiagnosticMessages(ae,E.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,typeToString(ie));xi.add(E.createDiagnosticForNodeFromMessageChain(j.expression,ce));return N.resolvedBaseTypes=E.emptyArray}if(N===ie||hasBaseType(ie,N)){error(N.symbol.valueDeclaration,E.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,typeToString(N,undefined,2));return N.resolvedBaseTypes=E.emptyArray}if(N.resolvedBaseTypes===E.resolvingEmptyArray){N.members=undefined}return N.resolvedBaseTypes=[ie]}function areAllOuterTypeParametersApplied(E){var N=E.outerTypeParameters;if(N){var R=N.length-1;var j=getTypeArguments(E);return N[R].symbol!==j[R].symbol}return true}function isValidBaseType(N){if(N.flags&262144){var R=getBaseConstraintOfType(N);if(R){return isValidBaseType(R)}}return!!(N.flags&(524288|67108864|1)&&!isGenericMappedType(N)||N.flags&2097152&&E.every(N.types,isValidBaseType))}function resolveBaseTypesOfInterface(N){N.resolvedBaseTypes=N.resolvedBaseTypes||E.emptyArray;if(N.symbol.declarations){for(var R=0,j=N.symbol.declarations;R<j.length;R++){var $=j[R];if($.kind===256&&E.getInterfaceBaseTypeNodes($)){for(var q=0,G=E.getInterfaceBaseTypeNodes($);q<G.length;q++){var ie=G[q];var ae=getReducedType(getTypeFromTypeNode(ie));if(ae!==Jt){if(isValidBaseType(ae)){if(N!==ae&&!hasBaseType(ae,N)){if(N.resolvedBaseTypes===E.emptyArray){N.resolvedBaseTypes=[ae]}else{N.resolvedBaseTypes.push(ae)}}else{reportCircularBaseType($,N)}}else{error(ie,E.Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}}}}}function isThislessInterface(N){if(!N.declarations){return true}for(var R=0,j=N.declarations;R<j.length;R++){var $=j[R];if($.kind===256){if($.flags&128){return false}var q=E.getInterfaceBaseTypeNodes($);if(q){for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];if(E.isEntityNameExpression(ae.expression)){var ce=resolveEntityName(ae.expression,788968,true);if(!ce||!(ce.flags&64)||getDeclaredTypeOfClassOrInterface(ce).thisType){return false}}}}}}return true}function getDeclaredTypeOfClassOrInterface(N){var R=getSymbolLinks(N);var j=R;if(!R.declaredType){var $=N.flags&32?1:2;var q=mergeJSSymbols(N,N.valueDeclaration&&getAssignedClassSymbol(N.valueDeclaration));if(q){N=R=q}var G=j.declaredType=R.declaredType=createObjectType($,N);var ie=getOuterTypeParametersOfClassOrInterface(N);var ae=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N);if(ie||ae||$===1||!isThislessInterface(N)){G.objectFlags|=4;G.typeParameters=E.concatenate(ie,ae);G.outerTypeParameters=ie;G.localTypeParameters=ae;G.instantiations=new E.Map;G.instantiations.set(getTypeListId(G.typeParameters),G);G.target=G;G.resolvedTypeArguments=G.typeParameters;G.thisType=createTypeParameter(N);G.thisType.isThisType=true;G.thisType.constraint=G}}return R.declaredType}function getDeclaredTypeOfTypeAlias(N){var R;var j=getSymbolLinks(N);if(!j.declaredType){if(!pushTypeResolution(N,2)){return Jt}var $=E.Debug.checkDefined((R=N.declarations)===null||R===void 0?void 0:R.find(E.isTypeAlias),"Type alias symbol with no valid declaration found");var q=E.isJSDocTypeAlias($)?$.typeExpression:$.type;var G=q?getTypeFromTypeNode(q):Jt;if(popTypeResolution()){var ie=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N);if(ie){j.typeParameters=ie;j.instantiations=new E.Map;j.instantiations.set(getTypeListId(ie),G)}}else{G=Jt;if($.kind===334){error($.typeExpression.type,E.Diagnostics.Type_alias_0_circularly_references_itself,symbolToString(N))}else{error(E.isNamedDeclaration($)?$.name:$||$,E.Diagnostics.Type_alias_0_circularly_references_itself,symbolToString(N))}}j.declaredType=G}return j.declaredType}function isStringConcatExpression(N){if(E.isStringLiteralLike(N)){return true}else if(N.kind===219){return isStringConcatExpression(N.left)&&isStringConcatExpression(N.right)}return false}function isLiteralEnumMember(N){var R=N.initializer;if(!R){return!(N.flags&8388608)}switch(R.kind){case 10:case 8:case 14:return true;case 217:return R.operator===40&&R.operand.kind===8;case 79:return E.nodeIsMissing(R)||!!getSymbolOfNode(N.parent).exports.get(R.escapedText);case 219:return isStringConcatExpression(R);default:return false}}function getEnumKind(N){var R=getSymbolLinks(N);if(R.enumKind!==undefined){return R.enumKind}var j=false;if(N.declarations){for(var $=0,q=N.declarations;$<q.length;$++){var G=q[$];if(G.kind===258){for(var ie=0,ae=G.members;ie<ae.length;ie++){var ce=ae[ie];if(ce.initializer&&E.isStringLiteralLike(ce.initializer)){return R.enumKind=1}if(!isLiteralEnumMember(ce)){j=true}}}}}return R.enumKind=j?0:1}function getBaseTypeOfEnumLiteralType(E){return E.flags&1024&&!(E.flags&1048576)?getDeclaredTypeOfSymbol(getParentOfSymbol(E.symbol)):E}function getDeclaredTypeOfEnum(E){var N=getSymbolLinks(E);if(N.declaredType){return N.declaredType}if(getEnumKind(E)===1){Ue++;var R=[];if(E.declarations){for(var j=0,$=E.declarations;j<$.length;j++){var q=$[j];if(q.kind===258){for(var G=0,ie=q.members;G<ie.length;G++){var ae=ie[G];var ce=getEnumMemberValue(ae);var le=getFreshTypeOfLiteralType(getEnumLiteralType(ce!==undefined?ce:0,Ue,getSymbolOfNode(ae)));getSymbolLinks(getSymbolOfNode(ae)).declaredType=le;R.push(getRegularTypeOfLiteralType(le))}}}}if(R.length){var _e=getUnionType(R,1,E,undefined);if(_e.flags&1048576){_e.flags|=1024;_e.symbol=E}return N.declaredType=_e}}var Ee=createType(32);Ee.symbol=E;return N.declaredType=Ee}function getDeclaredTypeOfEnumMember(E){var N=getSymbolLinks(E);if(!N.declaredType){var R=getDeclaredTypeOfEnum(getParentOfSymbol(E));if(!N.declaredType){N.declaredType=R}}return N.declaredType}function getDeclaredTypeOfTypeParameter(E){var N=getSymbolLinks(E);return N.declaredType||(N.declaredType=createTypeParameter(E))}function getDeclaredTypeOfAlias(E){var N=getSymbolLinks(E);return N.declaredType||(N.declaredType=getDeclaredTypeOfSymbol(resolveAlias(E)))}function getDeclaredTypeOfSymbol(E){return tryGetDeclaredTypeOfSymbol(E)||Jt}function tryGetDeclaredTypeOfSymbol(E){if(E.flags&(32|64)){return getDeclaredTypeOfClassOrInterface(E)}if(E.flags&524288){return getDeclaredTypeOfTypeAlias(E)}if(E.flags&262144){return getDeclaredTypeOfTypeParameter(E)}if(E.flags&384){return getDeclaredTypeOfEnum(E)}if(E.flags&8){return getDeclaredTypeOfEnumMember(E)}if(E.flags&2097152){return getDeclaredTypeOfAlias(E)}return undefined}function isThislessType(E){switch(E.kind){case 129:case 153:case 148:case 145:case 156:case 132:case 149:case 146:case 114:case 151:case 142:case 194:return true;case 181:return isThislessType(E.elementType);case 176:return!E.typeArguments||E.typeArguments.every(isThislessType)}return false}function isThislessTypeParameter(N){var R=E.getEffectiveConstraintOfTypeParameter(N);return!R||isThislessType(R)}function isThislessVariableLikeDeclaration(N){var R=E.getEffectiveTypeAnnotationNode(N);return R?isThislessType(R):!E.hasInitializer(N)}function isThislessFunctionLikeDeclaration(N){var R=E.getEffectiveReturnTypeNode(N);var j=E.getEffectiveTypeParameterDeclarations(N);return(N.kind===169||!!R&&isThislessType(R))&&N.parameters.every(isThislessVariableLikeDeclaration)&&j.every(isThislessTypeParameter)}function isThisless(E){if(E.declarations&&E.declarations.length===1){var N=E.declarations[0];if(N){switch(N.kind){case 165:case 164:return isThislessVariableLikeDeclaration(N);case 167:case 166:case 169:case 170:case 171:return isThislessFunctionLikeDeclaration(N)}}}return false}function createInstantiatedSymbolTable(N,R,j){var $=E.createSymbolTable();for(var q=0,G=N;q<G.length;q++){var ie=G[q];$.set(ie.escapedName,j&&isThisless(ie)?ie:instantiateSymbol(ie,R))}return $}function addInheritedMembers(E,N){for(var R=0,j=N;R<j.length;R++){var $=j[R];if(!E.has($.escapedName)&&!isStaticPrivateIdentifierProperty($)){E.set($.escapedName,$)}}}function isStaticPrivateIdentifierProperty(N){return!!N.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(N.valueDeclaration)&&E.isStatic(N.valueDeclaration)}function resolveDeclaredMembers(N){if(!N.declaredProperties){var R=N.symbol;var j=getMembersOfSymbol(R);N.declaredProperties=getNamedMembers(j);N.declaredCallSignatures=E.emptyArray;N.declaredConstructSignatures=E.emptyArray;N.declaredIndexInfos=E.emptyArray;N.declaredCallSignatures=getSignaturesOfSymbol(j.get("__call"));N.declaredConstructSignatures=getSignaturesOfSymbol(j.get("__new"));N.declaredIndexInfos=getIndexInfosOfSymbol(R)}return N}function isTypeUsableAsPropertyName(E){return!!(E.flags&8576)}function isLateBindableName(N){if(!E.isComputedPropertyName(N)&&!E.isElementAccessExpression(N)){return false}var R=E.isComputedPropertyName(N)?N.expression:N.argumentExpression;return E.isEntityNameExpression(R)&&isTypeUsableAsPropertyName(E.isComputedPropertyName(N)?checkComputedPropertyName(N):checkExpressionCached(R))}function isLateBoundName(E){return E.charCodeAt(0)===95&&E.charCodeAt(1)===95&&E.charCodeAt(2)===64}function hasLateBindableName(N){var R=E.getNameOfDeclaration(N);return!!R&&isLateBindableName(R)}function hasBindableName(N){return!E.hasDynamicName(N)||hasLateBindableName(N)}function isNonBindableDynamicName(N){return E.isDynamicName(N)&&!isLateBindableName(N)}function getPropertyNameFromType(N){if(N.flags&8192){return N.escapedName}if(N.flags&(128|256)){return E.escapeLeadingUnderscores(""+N.value)}return E.Debug.fail()}function addDeclarationToLateBoundSymbol(N,R,j){E.Debug.assert(!!(E.getCheckFlags(N)&4096),"Expected a late-bound symbol.");N.flags|=j;getSymbolLinks(R.symbol).lateSymbol=N;if(!N.declarations){N.declarations=[R]}else if(!R.symbol.isReplaceableByMethod){N.declarations.push(R)}if(j&111551){if(!N.valueDeclaration||N.valueDeclaration.kind!==R.kind){N.valueDeclaration=R}}}function lateBindMember(N,R,j,$){E.Debug.assert(!!$.symbol,"The member is expected to have a symbol.");var q=getNodeLinks($);if(!q.resolvedSymbol){q.resolvedSymbol=$.symbol;var G=E.isBinaryExpression($)?$.left:$.name;var ie=E.isElementAccessExpression(G)?checkExpressionCached(G.argumentExpression):checkComputedPropertyName(G);if(isTypeUsableAsPropertyName(ie)){var ae=getPropertyNameFromType(ie);var ce=$.symbol.flags;var le=j.get(ae);if(!le)j.set(ae,le=createSymbol(0,ae,4096));var _e=R&&R.get(ae);if(le.flags&getExcludedSymbolFlags(ce)||_e){var Ee=_e?E.concatenate(_e.declarations,le.declarations):le.declarations;var Te=!(ie.flags&8192)&&E.unescapeLeadingUnderscores(ae)||E.declarationNameToString(G);E.forEach(Ee,(function(N){return error(E.getNameOfDeclaration(N)||N,E.Diagnostics.Property_0_was_also_declared_here,Te)}));error(G||$,E.Diagnostics.Duplicate_property_0,Te);le=createSymbol(0,ae,4096)}le.nameType=ie;addDeclarationToLateBoundSymbol(le,$,ce);if(le.parent){E.Debug.assert(le.parent===N,"Existing symbol parent should match new one")}else{le.parent=N}return q.resolvedSymbol=le}}return q.resolvedSymbol}function getResolvedMembersOrExportsOfSymbol(N,R){var j=getSymbolLinks(N);if(!j[R]){var $=R==="resolvedExports";var q=!$?N.members:N.flags&1536?getExportsOfModuleWorker(N):N.exports;j[R]=q||He;var G=E.createSymbolTable();for(var ie=0,ae=N.declarations||E.emptyArray;ie<ae.length;ie++){var ce=ae[ie];var le=E.getMembersOfDeclaration(ce);if(le){for(var _e=0,Ee=le;_e<Ee.length;_e++){var Te=Ee[_e];if($===E.hasStaticModifier(Te)&&hasLateBindableName(Te)){lateBindMember(N,q,G,Te)}}}}var we=N.assignmentDeclarationMembers;if(we){var Ie=E.arrayFrom(we.values());for(var Ne=0,Me=Ie;Ne<Me.length;Ne++){var Te=Me[Ne];var Le=E.getAssignmentDeclarationKind(Te);var Be=Le===3||E.isBinaryExpression(Te)&&isPossiblyAliasedThisProperty(Te,Le)||Le===9||Le===6;if($===!Be&&hasLateBindableName(Te)){lateBindMember(N,q,G,Te)}}}j[R]=combineSymbolTables(q,G)||He}return j[R]}function getMembersOfSymbol(E){return E.flags&6256?getResolvedMembersOrExportsOfSymbol(E,"resolvedMembers"):E.members||He}function getLateBoundSymbol(N){if(N.flags&106500&&N.escapedName==="__computed"){var R=getSymbolLinks(N);if(!R.lateSymbol&&E.some(N.declarations,hasLateBindableName)){var j=getMergedSymbol(N.parent);if(E.some(N.declarations,E.hasStaticModifier)){getExportsOfSymbol(j)}else{getMembersOfSymbol(j)}}return R.lateSymbol||(R.lateSymbol=N)}return N}function getTypeWithThisArgument(N,R,j){if(E.getObjectFlags(N)&4){var $=N.target;var q=getTypeArguments(N);if(E.length($.typeParameters)===E.length(q)){var G=createTypeReference($,E.concatenate(q,[R||$.thisType]));return j?getApparentType(G):G}}else if(N.flags&2097152){var ie=E.sameMap(N.types,(function(E){return getTypeWithThisArgument(E,R,j)}));return ie!==N.types?getIntersectionType(ie):N}return j?getApparentType(N):N}function resolveObjectTypeMembers(N,R,j,$){var q;var G;var ie;var ae;var ce;if(E.rangeEquals(j,$,0,j.length)){G=R.symbol?getMembersOfSymbol(R.symbol):E.createSymbolTable(R.declaredProperties);ie=R.declaredCallSignatures;ae=R.declaredConstructSignatures;ce=R.declaredIndexInfos}else{q=createTypeMapper(j,$);G=createInstantiatedSymbolTable(R.declaredProperties,q,j.length===1);ie=instantiateSignatures(R.declaredCallSignatures,q);ae=instantiateSignatures(R.declaredConstructSignatures,q);ce=instantiateIndexInfos(R.declaredIndexInfos,q)}var le=getBaseTypes(R);if(le.length){if(R.symbol&&G===getMembersOfSymbol(R.symbol)){G=E.createSymbolTable(R.declaredProperties)}setStructuredTypeMembers(N,G,ie,ae,ce);var _e=E.lastOrUndefined($);for(var Ee=0,Te=le;Ee<Te.length;Ee++){var we=Te[Ee];var Ie=_e?getTypeWithThisArgument(instantiateType(we,q),_e):we;addInheritedMembers(G,getPropertiesOfType(Ie));ie=E.concatenate(ie,getSignaturesOfType(Ie,0));ae=E.concatenate(ae,getSignaturesOfType(Ie,1));var Ne=Ie!==zt?getIndexInfosOfType(Ie):[createIndexInfo(er,zt,false)];ce=E.concatenate(ce,E.filter(Ne,(function(E){return!findIndexInfo(ce,E.keyType)})))}}setStructuredTypeMembers(N,G,ie,ae,ce)}function resolveClassOrInterfaceMembers(N){resolveObjectTypeMembers(N,resolveDeclaredMembers(N),E.emptyArray,E.emptyArray)}function resolveTypeReferenceMembers(N){var R=resolveDeclaredMembers(N.target);var j=E.concatenate(R.typeParameters,[R.thisType]);var $=getTypeArguments(N);var q=$.length===j.length?$:E.concatenate($,[N]);resolveObjectTypeMembers(N,R,j,q)}function createSignature(E,N,R,j,$,q,G,ie){var ae=new Le(Tt,ie);ae.declaration=E;ae.typeParameters=N;ae.parameters=j;ae.thisParameter=R;ae.resolvedReturnType=$;ae.resolvedTypePredicate=q;ae.minArgumentCount=G;ae.resolvedMinArgumentCount=undefined;ae.target=undefined;ae.mapper=undefined;ae.compositeSignatures=undefined;ae.compositeKind=undefined;return ae}function cloneSignature(E){var N=createSignature(E.declaration,E.typeParameters,E.thisParameter,E.parameters,undefined,undefined,E.minArgumentCount,E.flags&39);N.target=E.target;N.mapper=E.mapper;N.compositeSignatures=E.compositeSignatures;N.compositeKind=E.compositeKind;return N}function createUnionSignature(E,N){var R=cloneSignature(E);R.compositeSignatures=N;R.compositeKind=1048576;R.target=undefined;R.mapper=undefined;return R}function getOptionalCallSignature(E,N){if((E.flags&24)===N){return E}if(!E.optionalCallSignatureCache){E.optionalCallSignatureCache={}}var R=N===8?"inner":"outer";return E.optionalCallSignatureCache[R]||(E.optionalCallSignatureCache[R]=createOptionalCallSignature(E,N))}function createOptionalCallSignature(N,R){E.Debug.assert(R===8||R===16,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");var j=cloneSignature(N);j.flags|=R;return j}function getExpandedParameters(N,R){if(signatureHasRestParameter(N)){var j=N.parameters.length-1;var $=getTypeOfSymbol(N.parameters[j]);if(isTupleType($)){return[expandSignatureParametersWithTupleMembers($,j)]}else if(!R&&$.flags&1048576&&E.every($.types,isTupleType)){return E.map($.types,(function(E){return expandSignatureParametersWithTupleMembers(E,j)}))}}return[N.parameters];function expandSignatureParametersWithTupleMembers(R,j){var $=getTypeArguments(R);var q=R.target.labeledElementDeclarations;var G=E.map($,(function(E,$){var G=!!q&&getTupleElementLabel(q[$]);var ie=G||getParameterNameAtPosition(N,j+$,R);var ae=R.target.elementFlags[$];var ce=ae&12?32768:ae&2?16384:0;var le=createSymbol(1,ie,ce);le.type=ae&4?createArrayType(E):E;return le}));return E.concatenate(N.parameters.slice(0,j),G)}}function getDefaultConstructSignatures(N){var R=getBaseConstructorTypeOfClass(N);var j=getSignaturesOfType(R,1);var $=E.getClassLikeDeclarationOfSymbol(N.symbol);var q=!!$&&E.hasSyntacticModifier($,128);if(j.length===0){return[createSignature(undefined,N.localTypeParameters,undefined,E.emptyArray,N,undefined,0,q?4:0)]}var G=getBaseTypeNodeOfClass(N);var ie=E.isInJSFile(G);var ae=typeArgumentsFromTypeReferenceNode(G);var ce=E.length(ae);var le=[];for(var _e=0,Ee=j;_e<Ee.length;_e++){var Te=Ee[_e];var we=getMinTypeArgumentCount(Te.typeParameters);var Ie=E.length(Te.typeParameters);if(ie||ce>=we&&ce<=Ie){var Ne=Ie?createSignatureInstantiation(Te,fillMissingTypeArguments(ae,Te.typeParameters,we,ie)):cloneSignature(Te);Ne.typeParameters=N.localTypeParameters;Ne.resolvedReturnType=N;Ne.flags=q?Ne.flags|4:Ne.flags&~4;le.push(Ne)}}return le}function findMatchingSignature(E,N,R,j,$){for(var q=0,G=E;q<G.length;q++){var ie=G[q];if(compareSignaturesIdentical(ie,N,R,j,$,R?compareTypesSubtypeOf:compareTypesIdentical)){return ie}}}function findMatchingSignatures(N,R,j){if(R.typeParameters){if(j>0){return undefined}for(var $=1;$<N.length;$++){if(!findMatchingSignature(N[$],R,false,false,false)){return undefined}}return[R]}var q;for(var $=0;$<N.length;$++){var G=$===j?R:findMatchingSignature(N[$],R,true,false,true);if(!G){return undefined}q=E.appendIfUnique(q,G)}return q}function getUnionSignatures(N){var R;var j;for(var $=0;$<N.length;$++){if(N[$].length===0)return E.emptyArray;if(N[$].length>1){j=j===undefined?$:-1}for(var q=0,G=N[$];q<G.length;q++){var ie=G[q];if(!R||!findMatchingSignature(R,ie,false,false,true)){var ae=findMatchingSignatures(N,ie,$);if(ae){var ce=ie;if(ae.length>1){var le=ie.thisParameter;var _e=E.forEach(ae,(function(E){return E.thisParameter}));if(_e){var Ee=getIntersectionType(E.mapDefined(ae,(function(E){return E.thisParameter&&getTypeOfSymbol(E.thisParameter)})));le=createSymbolWithType(_e,Ee)}ce=createUnionSignature(ie,ae);ce.thisParameter=le}(R||(R=[])).push(ce)}}}}if(!E.length(R)&&j!==-1){var Te=N[j!==undefined?j:0];var we=Te.slice();var _loop_10=function(N){if(N!==Te){var R=N[0];E.Debug.assert(!!R,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass");we=!!R.typeParameters&&E.some(we,(function(E){return!!E.typeParameters&&!compareTypeParametersIdentical(R.typeParameters,E.typeParameters)}))?undefined:E.map(we,(function(E){return combineSignaturesOfUnionMembers(E,R)}));if(!we){return"break"}}};for(var Ie=0,Ne=N;Ie<Ne.length;Ie++){var Me=Ne[Ie];var Le=_loop_10(Me);if(Le==="break")break}R=we}return R||E.emptyArray}function compareTypeParametersIdentical(N,R){if(E.length(N)!==E.length(R)){return false}if(!N||!R){return true}var j=createTypeMapper(R,N);for(var $=0;$<N.length;$++){var q=N[$];var G=R[$];if(q===G)continue;if(!isTypeIdenticalTo(getConstraintFromTypeParameter(q)||Ht,instantiateType(getConstraintFromTypeParameter(G)||Ht,j)))return false}return true}function combineUnionThisParam(E,N,R){if(!E||!N){return E||N}var j=getIntersectionType([getTypeOfSymbol(E),instantiateType(getTypeOfSymbol(N),R)]);return createSymbolWithType(E,j)}function combineUnionParameters(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=j>=$?E:N;var G=q===E?N:E;var ie=q===E?j:$;var ae=hasEffectiveRestParameter(E)||hasEffectiveRestParameter(N);var ce=ae&&!hasEffectiveRestParameter(q);var le=new Array(ie+(ce?1:0));for(var _e=0;_e<ie;_e++){var Ee=tryGetTypeAtPosition(q,_e);if(q===N){Ee=instantiateType(Ee,R)}var Te=tryGetTypeAtPosition(G,_e)||Ht;if(G===N){Te=instantiateType(Te,R)}var we=getIntersectionType([Ee,Te]);var Ie=ae&&!ce&&_e===ie-1;var Ne=_e>=getMinArgumentCount(q)&&_e>=getMinArgumentCount(G);var Me=_e>=j?undefined:getParameterNameAtPosition(E,_e);var Le=_e>=$?undefined:getParameterNameAtPosition(N,_e);var Be=Me===Le?Me:!Me?Le:!Le?Me:undefined;var je=createSymbol(1|(Ne&&!Ie?16777216:0),Be||"arg"+_e);je.type=Ie?createArrayType(we):we;le[_e]=je}if(ce){var Ue=createSymbol(1,"args");Ue.type=createArrayType(getTypeAtPosition(G,ie));if(G===N){Ue.type=instantiateType(Ue.type,R)}le[ie]=Ue}return le}function combineSignaturesOfUnionMembers(N,R){var j=N.typeParameters||R.typeParameters;var $;if(N.typeParameters&&R.typeParameters){$=createTypeMapper(R.typeParameters,N.typeParameters)}var q=N.declaration;var G=combineUnionParameters(N,R,$);var ie=combineUnionThisParam(N.thisParameter,R.thisParameter,$);var ae=Math.max(N.minArgumentCount,R.minArgumentCount);var ce=createSignature(q,j,ie,G,undefined,undefined,ae,(N.flags|R.flags)&39);ce.compositeKind=1048576;ce.compositeSignatures=E.concatenate(N.compositeKind!==2097152&&N.compositeSignatures||[N],[R]);if($){ce.mapper=N.compositeKind!==2097152&&N.mapper&&N.compositeSignatures?combineTypeMappers(N.mapper,$):$}return ce}function getUnionIndexInfos(N){var R=getIndexInfosOfType(N[0]);if(R){var j=[];var _loop_11=function(R){var $=R.keyType;if(E.every(N,(function(E){return!!getIndexInfoOfType(E,$)}))){j.push(createIndexInfo($,getUnionType(E.map(N,(function(E){return getIndexTypeOfType(E,$)}))),E.some(N,(function(E){return getIndexInfoOfType(E,$).isReadonly}))))}};for(var $=0,q=R;$<q.length;$++){var G=q[$];_loop_11(G)}return j}return E.emptyArray}function resolveUnionTypeMembers(N){var R=getUnionSignatures(E.map(N.types,(function(E){return E===rn?[Br]:getSignaturesOfType(E,0)})));var j=getUnionSignatures(E.map(N.types,(function(E){return getSignaturesOfType(E,1)})));var $=getUnionIndexInfos(N.types);setStructuredTypeMembers(N,He,R,j,$)}function intersectTypes(E,N){return!E?N:!N?E:getIntersectionType([E,N])}function findMixins(N){var R=E.countWhere(N,(function(E){return getSignaturesOfType(E,1).length>0}));var j=E.map(N,isMixinConstructorType);if(R>0&&R===E.countWhere(j,(function(E){return E}))){var $=j.indexOf(true);j[$]=false}return j}function includeMixinType(E,N,R,j){var $=[];for(var q=0;q<N.length;q++){if(q===j){$.push(E)}else if(R[q]){$.push(getReturnTypeOfSignature(getSignaturesOfType(N[q],1)[0]))}}return getIntersectionType($)}function resolveIntersectionTypeMembers(N){var R;var j;var $;var q=N.types;var G=findMixins(q);var ie=E.countWhere(G,(function(E){return E}));var _loop_12=function(ae){var ce=N.types[ae];if(!G[ae]){var le=getSignaturesOfType(ce,1);if(le.length&&ie>0){le=E.map(le,(function(E){var N=cloneSignature(E);N.resolvedReturnType=includeMixinType(getReturnTypeOfSignature(E),q,G,ae);return N}))}j=appendSignatures(j,le)}R=appendSignatures(R,getSignaturesOfType(ce,0));$=E.reduceLeft(getIndexInfosOfType(ce),(function(E,N){return appendIndexInfo(E,N,false)}),$)};for(var ae=0;ae<q.length;ae++){_loop_12(ae)}setStructuredTypeMembers(N,He,R||E.emptyArray,j||E.emptyArray,$||E.emptyArray)}function appendSignatures(N,R){var _loop_13=function(R){if(!N||E.every(N,(function(E){return!compareSignaturesIdentical(E,R,false,false,false,compareTypesIdentical)}))){N=E.append(N,R)}};for(var j=0,$=R;j<$.length;j++){var q=$[j];_loop_13(q)}return N}function appendIndexInfo(N,R,j){if(N){for(var $=0;$<N.length;$++){var q=N[$];if(q.keyType===R.keyType){N[$]=createIndexInfo(q.keyType,j?getUnionType([q.type,R.type]):getIntersectionType([q.type,R.type]),j?q.isReadonly||R.isReadonly:q.isReadonly&&R.isReadonly);return N}}}return E.append(N,R)}function resolveAnonymousTypeMembers(N){var R=getMergedSymbol(N.symbol);if(N.target){setStructuredTypeMembers(N,He,E.emptyArray,E.emptyArray,E.emptyArray);var j=createInstantiatedSymbolTable(getPropertiesOfObjectType(N.target),N.mapper,false);var $=instantiateSignatures(getSignaturesOfType(N.target,0),N.mapper);var q=instantiateSignatures(getSignaturesOfType(N.target,1),N.mapper);var G=instantiateIndexInfos(getIndexInfosOfType(N.target),N.mapper);setStructuredTypeMembers(N,j,$,q,G)}else if(R.flags&2048){setStructuredTypeMembers(N,He,E.emptyArray,E.emptyArray,E.emptyArray);var j=getMembersOfSymbol(R);var $=getSignaturesOfSymbol(j.get("__call"));var q=getSignaturesOfSymbol(j.get("__new"));var G=getIndexInfosOfSymbol(R);setStructuredTypeMembers(N,j,$,q,G)}else{var j=He;var G=void 0;if(R.exports){j=getExportsOfSymbol(R);if(R===bt){var ie=new E.Map;j.forEach((function(E){if(!(E.flags&418)){ie.set(E.escapedName,E)}}));j=ie}}var ae=void 0;setStructuredTypeMembers(N,j,E.emptyArray,E.emptyArray,E.emptyArray);if(R.flags&32){var ce=getDeclaredTypeOfClassOrInterface(R);var le=getBaseConstructorTypeOfClass(ce);if(le.flags&(524288|2097152|8650752)){j=E.createSymbolTable(getNamedOrIndexSignatureMembers(j));addInheritedMembers(j,getPropertiesOfType(le))}else if(le===zt){ae=createIndexInfo(er,zt,false)}}var _e=getIndexSymbolFromSymbolTable(j);if(_e){G=getIndexInfosOfIndexSymbol(_e)}else{if(ae){G=E.append(G,ae)}if(R.flags&384&&(getDeclaredTypeOfSymbol(R).flags&32||E.some(N.properties,(function(E){return!!(getTypeOfSymbol(E).flags&296)})))){G=E.append(G,zr)}}setStructuredTypeMembers(N,j,E.emptyArray,E.emptyArray,G||E.emptyArray);if(R.flags&(16|8192)){N.callSignatures=getSignaturesOfSymbol(R)}if(R.flags&32){var Ee=getDeclaredTypeOfClassOrInterface(R);var q=R.members?getSignaturesOfSymbol(R.members.get("__constructor")):E.emptyArray;if(R.flags&16){q=E.addRange(q.slice(),E.mapDefined(N.callSignatures,(function(E){return isJSConstructor(E.declaration)?createSignature(E.declaration,E.typeParameters,E.thisParameter,E.parameters,Ee,undefined,E.minArgumentCount,E.flags&39):undefined})))}if(!q.length){q=getDefaultConstructSignatures(Ee)}N.constructSignatures=q}}}function replaceIndexedAccess(E,N,R){return instantiateType(E,createTypeMapper([N.indexType,N.objectType],[getNumberLiteralType(0),createTupleType([R])]))}function resolveReverseMappedTypeMembers(N){var R=getIndexInfoOfType(N.source,er);var j=getMappedTypeModifiers(N.mappedType);var $=j&1?false:true;var q=j&4?0:16777216;var G=R?[createIndexInfo(er,inferReverseMappedType(R.type,N.mappedType,N.constraintType),$&&R.isReadonly)]:E.emptyArray;var ie=E.createSymbolTable();for(var ae=0,ce=getPropertiesOfType(N.source);ae<ce.length;ae++){var le=ce[ae];var _e=8192|($&&isReadonlySymbol(le)?8:0);var Ee=createSymbol(4|le.flags&q,le.escapedName,_e);Ee.declarations=le.declarations;Ee.nameType=getSymbolLinks(le).nameType;Ee.propertyType=getTypeOfSymbol(le);if(N.constraintType.type.flags&8388608&&N.constraintType.type.objectType.flags&262144&&N.constraintType.type.indexType.flags&262144){var Te=N.constraintType.type.objectType;var we=replaceIndexedAccess(N.mappedType,N.constraintType.type,Te);Ee.mappedType=we;Ee.constraintType=getIndexType(Te)}else{Ee.mappedType=N.mappedType;Ee.constraintType=N.constraintType}ie.set(le.escapedName,Ee)}setStructuredTypeMembers(N,ie,E.emptyArray,E.emptyArray,G)}function getLowerBoundOfKeyType(N){if(N.flags&4194304){var R=getApparentType(N.type);return isGenericTupleType(R)?getKnownKeysOfTupleType(R):getIndexType(R)}if(N.flags&16777216){if(N.root.isDistributive){var j=N.checkType;var $=getLowerBoundOfKeyType(j);if($!==j){return getConditionalTypeInstantiation(N,prependTypeMapping(N.root.checkType,$,N.mapper))}}return N}if(N.flags&1048576){return mapType(N,getLowerBoundOfKeyType)}if(N.flags&2097152){return getIntersectionType(E.sameMap(N.types,getLowerBoundOfKeyType))}return N}function getIsLateCheckFlag(N){return E.getCheckFlags(N)&4096}function resolveMappedTypeMembers(N){var R=E.createSymbolTable();var j;setStructuredTypeMembers(N,He,E.emptyArray,E.emptyArray,E.emptyArray);var $=getTypeParameterFromMappedType(N);var q=getConstraintTypeFromMappedType(N);var G=getNameTypeFromMappedType(N.target||N);var ie=getTemplateTypeFromMappedType(N.target||N);var ae=getApparentType(getModifiersTypeFromMappedType(N));var ce=getMappedTypeModifiers(N);var le=dt?128:8576;if(isMappedTypeWithKeyofConstraintDeclaration(N)){for(var _e=0,Ee=getPropertiesOfType(ae);_e<Ee.length;_e++){var Te=Ee[_e];addMemberForKeyType(getLiteralTypeFromProperty(Te,le))}if(ae.flags&1){addMemberForKeyType(er)}else{for(var we=0,Ie=getIndexInfosOfType(ae);we<Ie.length;we++){var Ne=Ie[we];if(!dt||Ne.keyType.flags&(4|134217728)){addMemberForKeyType(Ne.keyType)}}}}else{forEachType(getLowerBoundOfKeyType(q),addMemberForKeyType)}setStructuredTypeMembers(N,R,E.emptyArray,E.emptyArray,j||E.emptyArray);function addMemberForKeyType(E){var R=G?instantiateType(G,appendTypeMapping(N.mapper,$,E)):E;forEachType(R,(function(N){return addMemberForKeyTypeWorker(E,N)}))}function addMemberForKeyTypeWorker(E,q){if(isTypeUsableAsPropertyName(q)){var le=getPropertyNameFromType(q);var _e=R.get(le);if(_e){_e.nameType=getUnionType([_e.nameType,q]);_e.keyType=getUnionType([_e.keyType,E])}else{var Ee=isTypeUsableAsPropertyName(E)?getPropertyOfType(ae,getPropertyNameFromType(E)):undefined;var Te=!!(ce&4||!(ce&8)&&Ee&&Ee.flags&16777216);var we=!!(ce&1||!(ce&2)&&Ee&&isReadonlySymbol(Ee));var Ie=rt&&!Te&&Ee&&Ee.flags&16777216;var Ne=Ee?getIsLateCheckFlag(Ee):0;var Me=createSymbol(4|(Te?16777216:0),le,Ne|262144|(we?8:0)|(Ie?524288:0));Me.mappedType=N;Me.nameType=q;Me.keyType=E;if(Ee){Me.syntheticOrigin=Ee;Me.declarations=G?undefined:Ee.declarations}R.set(le,Me)}}else if(isValidIndexKeyType(q)||q.flags&(1|32)){var Le=q.flags&(1|4)?er:q.flags&(8|32)?tr:q;var Be=instantiateType(ie,appendTypeMapping(N.mapper,$,E));var je=createIndexInfo(Le,Be,!!(ce&1));j=appendIndexInfo(j,je,true)}}}function getTypeOfMappedSymbol(N){if(!N.type){var R=N.mappedType;if(!pushTypeResolution(N,0)){R.containsError=true;return Jt}var j=getTemplateTypeFromMappedType(R.target||R);var $=appendTypeMapping(R.mapper,getTypeParameterFromMappedType(R),N.keyType);var q=instantiateType(j,$);var G=rt&&N.flags&16777216&&!maybeTypeOfKind(q,32768|16384)?getOptionalType(q,true):N.checkFlags&524288?removeMissingOrUndefinedType(q):q;if(!popTypeResolution()){error(qe,E.Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1,symbolToString(N),typeToString(R));G=Jt}N.type=G}return N.type}function getTypeParameterFromMappedType(E){return E.typeParameter||(E.typeParameter=getDeclaredTypeOfTypeParameter(getSymbolOfNode(E.declaration.typeParameter)))}function getConstraintTypeFromMappedType(E){return E.constraintType||(E.constraintType=getConstraintOfTypeParameter(getTypeParameterFromMappedType(E))||Jt)}function getNameTypeFromMappedType(E){return E.declaration.nameType?E.nameType||(E.nameType=instantiateType(getTypeFromTypeNode(E.declaration.nameType),E.mapper)):undefined}function getTemplateTypeFromMappedType(E){return E.templateType||(E.templateType=E.declaration.type?instantiateType(addOptionality(getTypeFromTypeNode(E.declaration.type),true,!!(getMappedTypeModifiers(E)&4)),E.mapper):Jt)}function getConstraintDeclarationForMappedType(N){return E.getEffectiveConstraintOfTypeParameter(N.declaration.typeParameter)}function isMappedTypeWithKeyofConstraintDeclaration(E){var N=getConstraintDeclarationForMappedType(E);return N.kind===191&&N.operator===139}function getModifiersTypeFromMappedType(E){if(!E.modifiersType){if(isMappedTypeWithKeyofConstraintDeclaration(E)){E.modifiersType=instantiateType(getTypeFromTypeNode(getConstraintDeclarationForMappedType(E).type),E.mapper)}else{var N=getTypeFromMappedTypeNode(E.declaration);var R=getConstraintTypeFromMappedType(N);var j=R&&R.flags&262144?getConstraintOfTypeParameter(R):R;E.modifiersType=j&&j.flags&4194304?instantiateType(j.type,E.mapper):Ht}}return E.modifiersType}function getMappedTypeModifiers(E){var N=E.declaration;return(N.readonlyToken?N.readonlyToken.kind===40?2:1:0)|(N.questionToken?N.questionToken.kind===40?8:4:0)}function getMappedTypeOptionality(E){var N=getMappedTypeModifiers(E);return N&8?-1:N&4?1:0}function getCombinedMappedTypeOptionality(E){var N=getMappedTypeOptionality(E);var R=getModifiersTypeFromMappedType(E);return N||(isGenericMappedType(R)?getMappedTypeOptionality(R):0)}function isPartialMappedType(N){return!!(E.getObjectFlags(N)&32&&getMappedTypeModifiers(N)&4)}function isGenericMappedType(N){return!!(E.getObjectFlags(N)&32)&&isGenericIndexType(getConstraintTypeFromMappedType(N))}function resolveStructuredTypeMembers(E){if(!E.members){if(E.flags&524288){if(E.objectFlags&4){resolveTypeReferenceMembers(E)}else if(E.objectFlags&3){resolveClassOrInterfaceMembers(E)}else if(E.objectFlags&1024){resolveReverseMappedTypeMembers(E)}else if(E.objectFlags&16){resolveAnonymousTypeMembers(E)}else if(E.objectFlags&32){resolveMappedTypeMembers(E)}}else if(E.flags&1048576){resolveUnionTypeMembers(E)}else if(E.flags&2097152){resolveIntersectionTypeMembers(E)}}return E}function getPropertiesOfObjectType(N){if(N.flags&524288){return resolveStructuredTypeMembers(N).properties}return E.emptyArray}function getPropertyOfObjectType(E,N){if(E.flags&524288){var R=resolveStructuredTypeMembers(E);var j=R.members.get(N);if(j&&symbolIsValue(j)){return j}}}function getPropertiesOfUnionOrIntersectionType(N){if(!N.resolvedProperties){var R=E.createSymbolTable();for(var j=0,$=N.types;j<$.length;j++){var q=$[j];for(var G=0,ie=getPropertiesOfType(q);G<ie.length;G++){var ae=ie[G];if(!R.has(ae.escapedName)){var ce=getPropertyOfUnionOrIntersectionType(N,ae.escapedName);if(ce){R.set(ae.escapedName,ce)}}}if(N.flags&1048576&&getIndexInfosOfType(q).length===0){break}}N.resolvedProperties=getNamedMembers(R)}return N.resolvedProperties}function getPropertiesOfType(E){E=getReducedApparentType(E);return E.flags&3145728?getPropertiesOfUnionOrIntersectionType(E):getPropertiesOfObjectType(E)}function isTypeInvalidDueToUnionDiscriminant(E,N){var R=N.properties;return R.some((function(N){var R=N.name&&getLiteralTypeFromPropertyName(N.name);var j=R&&isTypeUsableAsPropertyName(R)?getPropertyNameFromType(R):undefined;var $=j===undefined?undefined:getTypeOfPropertyOfType(E,j);return!!$&&isLiteralType($)&&!isTypeAssignableTo(getTypeOfNode(N),$)}))}function getAllPossiblePropertiesOfTypes(N){var R=getUnionType(N);if(!(R.flags&1048576)){return getAugmentedPropertiesOfType(R)}var j=E.createSymbolTable();for(var $=0,q=N;$<q.length;$++){var G=q[$];for(var ie=0,ae=getAugmentedPropertiesOfType(G);ie<ae.length;ie++){var ce=ae[ie].escapedName;if(!j.has(ce)){var le=createUnionOrIntersectionProperty(R,ce);if(le)j.set(ce,le)}}}return E.arrayFrom(j.values())}function getConstraintOfType(E){return E.flags&262144?getConstraintOfTypeParameter(E):E.flags&8388608?getConstraintOfIndexedAccess(E):E.flags&16777216?getConstraintOfConditionalType(E):getBaseConstraintOfType(E)}function getConstraintOfTypeParameter(E){return hasNonCircularBaseConstraint(E)?getConstraintFromTypeParameter(E):undefined}function getConstraintOfIndexedAccess(E){return hasNonCircularBaseConstraint(E)?getConstraintFromIndexedAccess(E):undefined}function getSimplifiedTypeOrConstraint(E){var N=getSimplifiedType(E,false);return N!==E?N:getConstraintOfType(E)}function getConstraintFromIndexedAccess(E){var N=getSimplifiedTypeOrConstraint(E.indexType);if(N&&N!==E.indexType){var R=getIndexedAccessTypeOrUndefined(E.objectType,N,E.accessFlags);if(R){return R}}var j=getSimplifiedTypeOrConstraint(E.objectType);if(j&&j!==E.objectType){return getIndexedAccessTypeOrUndefined(j,E.indexType,E.accessFlags)}return undefined}function getDefaultConstraintOfConditionalType(E){if(!E.resolvedDefaultConstraint){var N=getInferredTrueTypeFromConditionalType(E);var R=getFalseTypeFromConditionalType(E);E.resolvedDefaultConstraint=isTypeAny(N)?R:isTypeAny(R)?N:getUnionType([N,R])}return E.resolvedDefaultConstraint}function getConstraintOfDistributiveConditionalType(E){if(E.root.isDistributive&&E.restrictiveInstantiation!==E){var N=getSimplifiedType(E.checkType,false);var R=N===E.checkType?getConstraintOfType(N):N;if(R&&R!==E.checkType){var j=getConditionalTypeInstantiation(E,prependTypeMapping(E.root.checkType,R,E.mapper));if(!(j.flags&131072)){return j}}}return undefined}function getConstraintFromConditionalType(E){return getConstraintOfDistributiveConditionalType(E)||getDefaultConstraintOfConditionalType(E)}function getConstraintOfConditionalType(E){return hasNonCircularBaseConstraint(E)?getConstraintFromConditionalType(E):undefined}function getEffectiveConstraintOfIntersection(N,R){var j;var $=false;for(var q=0,G=N;q<G.length;q++){var ie=G[q];if(ie.flags&465829888){var ae=getConstraintOfType(ie);while(ae&&ae.flags&(262144|4194304|16777216)){ae=getConstraintOfType(ae)}if(ae){j=E.append(j,ae);if(R){j=E.append(j,ie)}}}else if(ie.flags&469892092){$=true}}if(j&&(R||$)){if($){for(var ce=0,le=N;ce<le.length;ce++){var ie=le[ce];if(ie.flags&469892092){j=E.append(j,ie)}}}return getIntersectionType(j)}return undefined}function getBaseConstraintOfType(E){if(E.flags&(58982400|3145728|134217728|268435456)){var N=getResolvedBaseConstraint(E);return N!==Pr&&N!==Fr?N:undefined}return E.flags&4194304?vr:undefined}function getBaseConstraintOrType(E){return getBaseConstraintOfType(E)||E}function hasNonCircularBaseConstraint(E){return getResolvedBaseConstraint(E)!==Fr}function getResolvedBaseConstraint(N){if(N.resolvedBaseConstraint){return N.resolvedBaseConstraint}var R=[];return N.resolvedBaseConstraint=getTypeWithThisArgument(getImmediateBaseConstraint(N),N);function getImmediateBaseConstraint(N){if(!N.immediateBaseConstraint){if(!pushTypeResolution(N,4)){return Fr}var j=void 0;if(R.length<10||R.length<50&&!isDeeplyNestedType(N,R,R.length)){R.push(N);j=computeBaseConstraint(getSimplifiedType(N,false));R.pop()}if(!popTypeResolution()){if(N.flags&262144){var $=getConstraintDeclaration(N);if($){var q=error($,E.Diagnostics.Type_parameter_0_has_a_circular_constraint,typeToString(N));if(qe&&!E.isNodeDescendantOf($,qe)&&!E.isNodeDescendantOf(qe,$)){E.addRelatedInfo(q,E.createDiagnosticForNode(qe,E.Diagnostics.Circularity_originates_in_type_at_this_location))}}}j=Fr}N.immediateBaseConstraint=j||Pr}return N.immediateBaseConstraint}function getBaseConstraint(E){var N=getImmediateBaseConstraint(E);return N!==Pr&&N!==Fr?N:undefined}function computeBaseConstraint(N){if(N.flags&262144){var R=getConstraintFromTypeParameter(N);return N.isThisType||!R?R:getBaseConstraint(R)}if(N.flags&3145728){var j=N.types;var $=[];var q=false;for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];var ce=getBaseConstraint(ae);if(ce){if(ce!==ae){q=true}$.push(ce)}else{q=true}}if(!q){return N}return N.flags&1048576&&$.length===j.length?getUnionType($):N.flags&2097152&&$.length?getIntersectionType($):undefined}if(N.flags&4194304){return vr}if(N.flags&134217728){var j=N.types;var le=E.mapDefined(j,getBaseConstraint);return le.length===j.length?getTemplateLiteralType(N.texts,le):er}if(N.flags&268435456){var R=getBaseConstraint(N.type);return R?getStringMappingType(N.symbol,R):er}if(N.flags&8388608){var _e=getBaseConstraint(N.objectType);var Ee=getBaseConstraint(N.indexType);var Te=_e&&Ee&&getIndexedAccessTypeOrUndefined(_e,Ee,N.accessFlags);return Te&&getBaseConstraint(Te)}if(N.flags&16777216){var R=getConstraintFromConditionalType(N);return R&&getBaseConstraint(R)}if(N.flags&33554432){return getBaseConstraint(N.substitute)}return N}}function getApparentTypeOfIntersectionType(E){return E.resolvedApparentType||(E.resolvedApparentType=getTypeWithThisArgument(E,E,true))}function getResolvedTypeParameterDefault(N){if(!N.default){if(N.target){var R=getResolvedTypeParameterDefault(N.target);N.default=R?instantiateType(R,N.mapper):Pr}else{N.default=Ir;var j=N.symbol&&E.forEach(N.symbol.declarations,(function(N){return E.isTypeParameterDeclaration(N)&&N.default}));var $=j?getTypeFromTypeNode(j):Pr;if(N.default===Ir){N.default=$}}}else if(N.default===Ir){N.default=Fr}return N.default}function getDefaultFromTypeParameter(E){var N=getResolvedTypeParameterDefault(E);return N!==Pr&&N!==Fr?N:undefined}function hasNonCircularTypeParameterDefault(E){return getResolvedTypeParameterDefault(E)!==Fr}function hasTypeParameterDefault(N){return!!(N.symbol&&E.forEach(N.symbol.declarations,(function(N){return E.isTypeParameterDeclaration(N)&&N.default})))}function getApparentTypeOfMappedType(E){return E.resolvedApparentType||(E.resolvedApparentType=getResolvedApparentTypeOfMappedType(E))}function getResolvedApparentTypeOfMappedType(E){var N=getHomomorphicTypeVariable(E);if(N&&!E.declaration.nameType){var R=getConstraintOfTypeParameter(N);if(R&&(isArrayType(R)||isTupleType(R))){return instantiateType(E,prependTypeMapping(N,R,E.mapper))}}return E}function getApparentType(N){var R=N.flags&465829888?getBaseConstraintOfType(N)||Ht:N;return E.getObjectFlags(R)&32?getApparentTypeOfMappedType(R):R.flags&2097152?getApparentTypeOfIntersectionType(R):R.flags&402653316?cn:R.flags&296?ln:R.flags&2112?getGlobalBigIntType(Ye>=7):R.flags&528?un:R.flags&12288?getGlobalESSymbolType(Ye>=2):R.flags&67108864?Tr:R.flags&4194304?vr:R.flags&2&&!rt?Tr:R}function getReducedApparentType(E){return getReducedType(getApparentType(getReducedType(E)))}function createUnionOrIntersectionProperty(N,R,j){var $,q;var G;var ie;var ae;var ce=N.flags&1048576;var le=ce?0:16777216;var _e=4;var Ee=0;var Te=false;for(var we=0,Ie=N.types;we<Ie.length;we++){var Ne=Ie[we];var Me=getApparentType(Ne);if(!(Me===Jt||Me.flags&131072)){var Le=getPropertyOfType(Me,R,j);var Be=Le?E.getDeclarationModifierFlagsFromSymbol(Le):0;if(Le){if(ce){le|=Le.flags&16777216}else{le&=Le.flags}if(!G){G=Le}else if(Le!==G){var je=(getTargetSymbol(Le)||Le)===(getTargetSymbol(G)||G);if(je&&compareProperties(G,Le,(function(E,N){return E===N?-1:0}))===-1){Te=!!G.parent&&!!E.length(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(G.parent))}else{if(!ie){ie=new E.Map;ie.set(getSymbolId(G),G)}var Ue=getSymbolId(Le);if(!ie.has(Ue)){ie.set(Ue,Le)}}}Ee|=(isReadonlySymbol(Le)?8:0)|(!(Be&24)?256:0)|(Be&16?512:0)|(Be&8?1024:0)|(Be&32?2048:0);if(!isPrototypeProperty(Le)){_e=2}}else if(ce){var ze=!isLateBoundName(R)&&getApplicableIndexInfoForName(Me,R);if(ze){Ee|=32|(ze.isReadonly?8:0);ae=E.append(ae,isTupleType(Me)?getRestTypeOfTupleType(Me)||Gt:ze.type)}else if(isObjectLiteralType(Me)&&!(E.getObjectFlags(Me)&4194304)){Ee|=32;ae=E.append(ae,Gt)}else{Ee|=16}}}}if(!G||ce&&(ie||Ee&48)&&Ee&(1024|512)){return undefined}if(!ie&&!(Ee&16)&&!ae){if(Te){var We=createSymbolWithType(G,G.type);We.parent=(q=($=G.valueDeclaration)===null||$===void 0?void 0:$.symbol)===null||q===void 0?void 0:q.parent;We.containingType=N;We.mapper=G.mapper;return We}else{return G}}var Je=ie?E.arrayFrom(ie.values()):[G];var Ve;var qe;var He;var Ge=[];var Ke;var Qe=false;for(var Xe=0,Ye=Je;Xe<Ye.length;Xe++){var Le=Ye[Xe];if(!Ke){Ke=Le.valueDeclaration}else if(Le.valueDeclaration&&Le.valueDeclaration!==Ke){Qe=true}Ve=E.addRange(Ve,Le.declarations);var Me=getTypeOfSymbol(Le);if(!qe){qe=Me;He=getSymbolLinks(Le).nameType}else if(Me!==qe){Ee|=64}if(isLiteralType(Me)){Ee|=128}if(Me.flags&131072){Ee|=131072}Ge.push(Me)}E.addRange(Ge,ae);var Ze=createSymbol(4|le,R,_e|Ee);Ze.containingType=N;if(!Qe&&Ke){Ze.valueDeclaration=Ke;if(Ke.symbol.parent){Ze.parent=Ke.symbol.parent}}Ze.declarations=Ve;Ze.nameType=He;if(Ge.length>2){Ze.checkFlags|=65536;Ze.deferralParent=N;Ze.deferralConstituents=Ge}else{Ze.type=ce?getUnionType(Ge):getIntersectionType(Ge)}return Ze}function getUnionOrIntersectionProperty(N,R,j){var $,q;var G=(($=N.propertyCacheWithoutObjectFunctionPropertyAugment)===null||$===void 0?void 0:$.get(R))||!j?(q=N.propertyCache)===null||q===void 0?void 0:q.get(R):undefined;if(!G){G=createUnionOrIntersectionProperty(N,R,j);if(G){var ie=j?N.propertyCacheWithoutObjectFunctionPropertyAugment||(N.propertyCacheWithoutObjectFunctionPropertyAugment=E.createSymbolTable()):N.propertyCache||(N.propertyCache=E.createSymbolTable());ie.set(R,G)}}return G}function getPropertyOfUnionOrIntersectionType(N,R,j){var $=getUnionOrIntersectionProperty(N,R,j);return $&&!(E.getCheckFlags($)&16)?$:undefined}function getReducedType(N){if(N.flags&1048576&&N.objectFlags&33554432){return N.resolvedReducedType||(N.resolvedReducedType=getReducedUnionType(N))}else if(N.flags&2097152){if(!(N.objectFlags&33554432)){N.objectFlags|=33554432|(E.some(getPropertiesOfUnionOrIntersectionType(N),isNeverReducedProperty)?67108864:0)}return N.objectFlags&67108864?dr:N}return N}function getReducedUnionType(N){var R=E.sameMap(N.types,getReducedType);if(R===N.types){return N}var j=getUnionType(R);if(j.flags&1048576){j.resolvedReducedType=j}return j}function isNeverReducedProperty(E){return isDiscriminantWithNeverType(E)||isConflictingPrivateProperty(E)}function isDiscriminantWithNeverType(N){return!(N.flags&16777216)&&(E.getCheckFlags(N)&(192|131072))===192&&!!(getTypeOfSymbol(N).flags&131072)}function isConflictingPrivateProperty(N){return!N.valueDeclaration&&!!(E.getCheckFlags(N)&1024)}function elaborateNeverIntersection(N,R){if(R.flags&2097152&&E.getObjectFlags(R)&67108864){var j=E.find(getPropertiesOfUnionOrIntersectionType(R),isDiscriminantWithNeverType);if(j){return E.chainDiagnosticMessages(N,E.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,typeToString(R,undefined,536870912),symbolToString(j))}var $=E.find(getPropertiesOfUnionOrIntersectionType(R),isConflictingPrivateProperty);if($){return E.chainDiagnosticMessages(N,E.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,typeToString(R,undefined,536870912),symbolToString($))}}return N}function getPropertyOfType(E,N,R){E=getReducedApparentType(E);if(E.flags&524288){var j=resolveStructuredTypeMembers(E);var $=j.members.get(N);if($&&symbolIsValue($)){return $}if(R)return undefined;var q=j===wr?rn:j.callSignatures.length?nn:j.constructSignatures.length?an:undefined;if(q){var G=getPropertyOfObjectType(q,N);if(G){return G}}return getPropertyOfObjectType(tn,N)}if(E.flags&3145728){return getPropertyOfUnionOrIntersectionType(E,N,R)}return undefined}function getSignaturesOfStructuredType(N,R){if(N.flags&3670016){var j=resolveStructuredTypeMembers(N);return R===0?j.callSignatures:j.constructSignatures}return E.emptyArray}function getSignaturesOfType(E,N){return getSignaturesOfStructuredType(getReducedApparentType(E),N)}function findIndexInfo(N,R){return E.find(N,(function(E){return E.keyType===R}))}function findApplicableIndexInfo(N,R){var j;var $;var q;for(var G=0,ie=N;G<ie.length;G++){var ae=ie[G];if(ae.keyType===er){j=ae}else if(isApplicableIndexType(R,ae.keyType)){if(!$){$=ae}else{(q||(q=[$])).push(ae)}}}return q?createIndexInfo(Ht,getIntersectionType(E.map(q,(function(E){return E.type}))),E.reduceLeft(q,(function(E,N){return E&&N.isReadonly}),true)):$?$:j&&isApplicableIndexType(R,er)?j:undefined}function isApplicableIndexType(E,N){return isTypeAssignableTo(E,N)||N===er&&isTypeAssignableTo(E,tr)||N===tr&&!!(E.flags&128)&&isNumericLiteralName(E.value)}function getIndexInfosOfStructuredType(N){if(N.flags&3670016){var R=resolveStructuredTypeMembers(N);return R.indexInfos}return E.emptyArray}function getIndexInfosOfType(E){return getIndexInfosOfStructuredType(getReducedApparentType(E))}function getIndexInfoOfType(E,N){return findIndexInfo(getIndexInfosOfType(E),N)}function getIndexTypeOfType(E,N){var R;return(R=getIndexInfoOfType(E,N))===null||R===void 0?void 0:R.type}function getApplicableIndexInfos(E,N){return getIndexInfosOfType(E).filter((function(E){return isApplicableIndexType(N,E.keyType)}))}function getApplicableIndexInfo(E,N){return findApplicableIndexInfo(getIndexInfosOfType(E),N)}function getApplicableIndexInfoForName(N,R){return getApplicableIndexInfo(N,isLateBoundName(R)?lr:getStringLiteralType(E.unescapeLeadingUnderscores(R)))}function getTypeParametersFromDeclaration(N){var R;for(var j=0,$=E.getEffectiveTypeParameterDeclarations(N);j<$.length;j++){var q=$[j];R=E.appendIfUnique(R,getDeclaredTypeOfTypeParameter(q.symbol))}return R}function symbolsToArray(E){var N=[];E.forEach((function(E,R){if(!isReservedMemberName(R)){N.push(E)}}));return N}function isJSDocOptionalParameter(N){return E.isInJSFile(N)&&(N.type&&N.type.kind===311||E.getJSDocParameterTags(N).some((function(E){var N=E.isBracketed,R=E.typeExpression;return N||!!R&&R.type.kind===311})))}function tryFindAmbientModule(N,R){if(E.isExternalModuleNameRelative(N)){return undefined}var j=getSymbol(yt,'"'+N+'"',512);return j&&R?getMergedSymbol(j):j}function isOptionalParameter(N){if(E.hasQuestionToken(N)||isOptionalJSDocPropertyLikeTag(N)||isJSDocOptionalParameter(N)){return true}if(N.initializer){var R=getSignatureFromDeclaration(N.parent);var j=N.parent.parameters.indexOf(N);E.Debug.assert(j>=0);return j>=getMinArgumentCount(R,1|2)}var $=E.getImmediatelyInvokedFunctionExpression(N.parent);if($){return!N.type&&!N.dotDotDotToken&&N.parent.parameters.indexOf(N)>=$.arguments.length}return false}function isOptionalPropertyDeclaration(N){return E.isPropertyDeclaration(N)&&N.questionToken}function isOptionalJSDocPropertyLikeTag(N){if(!E.isJSDocPropertyLikeTag(N)){return false}var R=N.isBracketed,j=N.typeExpression;return R||!!j&&j.type.kind===311}function createTypePredicate(E,N,R,j){return{kind:E,parameterName:N,parameterIndex:R,type:j}}function getMinTypeArgumentCount(E){var N=0;if(E){for(var R=0;R<E.length;R++){if(!hasTypeParameterDefault(E[R])){N=R+1}}}return N}function fillMissingTypeArguments(N,R,j,$){var q=E.length(R);if(!q){return[]}var G=E.length(N);if($||G>=j&&G<=q){var ie=N?N.slice():[];for(var ae=G;ae<q;ae++){ie[ae]=Jt}var ce=getDefaultTypeArgumentType($);for(var ae=G;ae<q;ae++){var le=getDefaultFromTypeParameter(R[ae]);if($&&le&&(isTypeIdenticalTo(le,Ht)||isTypeIdenticalTo(le,Tr))){le=zt}ie[ae]=le?instantiateType(le,createTypeMapper(R,ie)):ce}ie.length=R.length;return ie}return N&&N.slice()}function getSignatureFromDeclaration(N){var R=getNodeLinks(N);if(!R.resolvedSignature){var j=[];var $=0;var q=0;var G=void 0;var ie=false;var ae=E.getImmediatelyInvokedFunctionExpression(N);var ce=E.isJSDocConstructSignature(N);var le=!ae&&E.isInJSFile(N)&&E.isValueSignatureDeclaration(N)&&!E.hasJSDocParameterTags(N)&&!E.getJSDocType(N);if(le){$|=32}for(var _e=ce?1:0;_e<N.parameters.length;_e++){var Ee=N.parameters[_e];var Te=Ee.symbol;var we=E.isJSDocParameterTag(Ee)?Ee.typeExpression&&Ee.typeExpression.type:Ee.type;if(Te&&!!(Te.flags&4)&&!E.isBindingPattern(Ee.name)){var Ie=resolveName(Ee,Te.escapedName,111551,undefined,undefined,false);Te=Ie}if(_e===0&&Te.escapedName==="this"){ie=true;G=Ee.symbol}else{j.push(Te)}if(we&&we.kind===194){$|=2}var Ne=isOptionalJSDocPropertyLikeTag(Ee)||Ee.initializer||Ee.questionToken||E.isRestParameter(Ee)||ae&&j.length>ae.arguments.length&&!we||isJSDocOptionalParameter(Ee);if(!Ne){q=j.length}}if((N.kind===170||N.kind===171)&&hasBindableName(N)&&(!ie||!G)){var Me=N.kind===170?171:170;var Le=E.getDeclarationOfKind(getSymbolOfNode(N),Me);if(Le){G=getAnnotatedAccessorThisParameter(Le)}}var Be=N.kind===169?getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.parent.symbol)):undefined;var je=Be?Be.localTypeParameters:getTypeParametersFromDeclaration(N);if(E.hasRestParameter(N)||E.isInJSFile(N)&&maybeAddJsSyntheticRestParameter(N,j)){$|=1}if(E.isConstructorTypeNode(N)&&E.hasSyntacticModifier(N,128)||E.isConstructorDeclaration(N)&&E.hasSyntacticModifier(N.parent,128)){$|=4}R.resolvedSignature=createSignature(N,je,G,j,undefined,undefined,q,$)}return R.resolvedSignature}function maybeAddJsSyntheticRestParameter(N,R){if(E.isJSDocSignature(N)||!containsArgumentsReference(N)){return false}var j=E.lastOrUndefined(N.parameters);var $=j?E.getJSDocParameterTags(j):E.getJSDocTags(N).filter(E.isJSDocParameterTag);var q=E.firstDefined($,(function(N){return N.typeExpression&&E.isJSDocVariadicType(N.typeExpression.type)?N.typeExpression.type:undefined}));var G=createSymbol(3,"args",32768);G.type=q?createArrayType(getTypeFromTypeNode(q.type)):mn;if(q){R.pop()}R.push(G);return true}function getSignatureOfTypeTag(N){if(!(E.isInJSFile(N)&&E.isFunctionLikeDeclaration(N)))return undefined;var R=E.getJSDocTypeTag(N);return(R===null||R===void 0?void 0:R.typeExpression)&&getSingleCallSignature(getTypeFromTypeNode(R.typeExpression))}function getReturnTypeOfTypeTag(E){var N=getSignatureOfTypeTag(E);return N&&getReturnTypeOfSignature(N)}function containsArgumentsReference(N){var R=getNodeLinks(N);if(R.containsArgumentsReference===undefined){if(R.flags&8192){R.containsArgumentsReference=true}else{R.containsArgumentsReference=traverse(N.body)}}return R.containsArgumentsReference;function traverse(N){if(!N)return false;switch(N.kind){case 79:return N.escapedText===xt.escapedName&&getResolvedSymbol(N)===xt;case 165:case 167:case 170:case 171:return N.name.kind===160&&traverse(N.name);case 204:case 205:return traverse(N.expression);default:return!E.nodeStartsNewLexicalEnvironment(N)&&!E.isPartOfTypeNode(N)&&!!E.forEachChild(N,traverse)}}}function getSignaturesOfSymbol(N){if(!N||!N.declarations)return E.emptyArray;var R=[];for(var j=0;j<N.declarations.length;j++){var $=N.declarations[j];if(!E.isFunctionLike($))continue;if(j>0&&$.body){var q=N.declarations[j-1];if($.parent===q.parent&&$.kind===q.kind&&$.pos===q.end){continue}}R.push(getSignatureFromDeclaration($))}return R}function resolveExternalModuleTypeByLiteral(E){var N=resolveExternalModuleName(E,E);if(N){var R=resolveExternalModuleSymbol(N);if(R){return getTypeOfSymbol(R)}}return zt}function getThisTypeOfSignature(E){if(E.thisParameter){return getTypeOfSymbol(E.thisParameter)}}function getTypePredicateOfSignature(N){if(!N.resolvedTypePredicate){if(N.target){var R=getTypePredicateOfSignature(N.target);N.resolvedTypePredicate=R?instantiateTypePredicate(R,N.mapper):Rr}else if(N.compositeSignatures){N.resolvedTypePredicate=getUnionOrIntersectionTypePredicate(N.compositeSignatures,N.compositeKind)||Rr}else{var j=N.declaration&&E.getEffectiveReturnTypeNode(N.declaration);var $=void 0;if(!j&&E.isInJSFile(N.declaration)){var q=getSignatureOfTypeTag(N.declaration);if(q&&N!==q){$=getTypePredicateOfSignature(q)}}N.resolvedTypePredicate=j&&E.isTypePredicateNode(j)?createTypePredicateFromTypePredicateNode(j,N):$||Rr}E.Debug.assert(!!N.resolvedTypePredicate)}return N.resolvedTypePredicate===Rr?undefined:N.resolvedTypePredicate}function createTypePredicateFromTypePredicateNode(N,R){var j=N.parameterName;var $=N.type&&getTypeFromTypeNode(N.type);return j.kind===190?createTypePredicate(N.assertsModifier?2:0,undefined,undefined,$):createTypePredicate(N.assertsModifier?3:1,j.escapedText,E.findIndex(R.parameters,(function(E){return E.escapedName===j.escapedText})),$)}function getUnionOrIntersectionType(E,N,R){return N!==2097152?getUnionType(E,R):getIntersectionType(E)}function getReturnTypeOfSignature(N){if(!N.resolvedReturnType){if(!pushTypeResolution(N,3)){return Jt}var R=N.target?instantiateType(getReturnTypeOfSignature(N.target),N.mapper):N.compositeSignatures?instantiateType(getUnionOrIntersectionType(E.map(N.compositeSignatures,getReturnTypeOfSignature),N.compositeKind,2),N.mapper):getReturnTypeFromAnnotation(N.declaration)||(E.nodeIsMissing(N.declaration.body)?zt:getReturnTypeFromBody(N.declaration));if(N.flags&8){R=addOptionalTypeMarker(R)}else if(N.flags&16){R=getOptionalType(R)}if(!popTypeResolution()){if(N.declaration){var j=E.getEffectiveReturnTypeNode(N.declaration);if(j){error(j,E.Diagnostics.Return_type_annotation_circularly_references_itself)}else if(st){var $=N.declaration;var q=E.getNameOfDeclaration($);if(q){error(q,E.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,E.declarationNameToString(q))}else{error($,E.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}}R=zt}N.resolvedReturnType=R}return N.resolvedReturnType}function getReturnTypeFromAnnotation(N){if(N.kind===169){return getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.parent.symbol))}if(E.isJSDocConstructSignature(N)){return getTypeFromTypeNode(N.parameters[0].type)}var R=E.getEffectiveReturnTypeNode(N);if(R){return getTypeFromTypeNode(R)}if(N.kind===170&&hasBindableName(N)){var j=E.isInJSFile(N)&&getTypeForDeclarationFromJSDocComment(N);if(j){return j}var $=E.getDeclarationOfKind(getSymbolOfNode(N),171);var q=getAnnotatedAccessorType($);if(q){return q}}return getReturnTypeOfTypeTag(N)}function isResolvingReturnTypeOfSignature(E){return!E.resolvedReturnType&&findResolutionCycleStartIndex(E,3)>=0}function getRestTypeOfSignature(E){return tryGetRestTypeOfSignature(E)||zt}function tryGetRestTypeOfSignature(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);var R=isTupleType(N)?getRestTypeOfTupleType(N):N;return R&&getIndexTypeOfType(R,tr)}return undefined}function getSignatureInstantiation(E,N,R,j){var $=getSignatureInstantiationWithoutFillingInTypeArguments(E,fillMissingTypeArguments(N,E.typeParameters,getMinTypeArgumentCount(E.typeParameters),R));if(j){var q=getSingleCallOrConstructSignature(getReturnTypeOfSignature($));if(q){var G=cloneSignature(q);G.typeParameters=j;var ie=cloneSignature($);ie.resolvedReturnType=getOrCreateTypeFromSignature(G);return ie}}return $}function getSignatureInstantiationWithoutFillingInTypeArguments(N,R){var j=N.instantiations||(N.instantiations=new E.Map);var $=getTypeListId(R);var q=j.get($);if(!q){j.set($,q=createSignatureInstantiation(N,R))}return q}function createSignatureInstantiation(E,N){return instantiateSignature(E,createSignatureTypeMapper(E,N),true)}function createSignatureTypeMapper(E,N){return createTypeMapper(E.typeParameters,N)}function getErasedSignature(E){return E.typeParameters?E.erasedSignatureCache||(E.erasedSignatureCache=createErasedSignature(E)):E}function createErasedSignature(E){return instantiateSignature(E,createTypeEraser(E.typeParameters),true)}function getCanonicalSignature(E){return E.typeParameters?E.canonicalSignatureCache||(E.canonicalSignatureCache=createCanonicalSignature(E)):E}function createCanonicalSignature(N){return getSignatureInstantiation(N,E.map(N.typeParameters,(function(E){return E.target&&!getConstraintOfTypeParameter(E.target)?E.target:E})),E.isInJSFile(N.declaration))}function getBaseSignature(N){var R=N.typeParameters;if(R){if(N.baseSignatureCache){return N.baseSignatureCache}var j=createTypeEraser(R);var $=createTypeMapper(R,E.map(R,(function(E){return getConstraintOfTypeParameter(E)||Ht})));var q=E.map(R,(function(E){return instantiateType(E,$)||Ht}));for(var G=0;G<R.length-1;G++){q=instantiateTypes(q,$)}q=instantiateTypes(q,j);return N.baseSignatureCache=instantiateSignature(N,createTypeMapper(R,q),true)}return N}function getOrCreateTypeFromSignature(N){if(!N.isolatedSignatureType){var R=N.declaration?N.declaration.kind:0;var j=R===169||R===173||R===178;var $=createObjectType(16);$.members=He;$.properties=E.emptyArray;$.callSignatures=!j?[N]:E.emptyArray;$.constructSignatures=j?[N]:E.emptyArray;$.indexInfos=E.emptyArray;N.isolatedSignatureType=$}return N.isolatedSignatureType}function getIndexSymbol(E){return E.members?getIndexSymbolFromSymbolTable(E.members):undefined}function getIndexSymbolFromSymbolTable(E){return E.get("__index")}function createIndexInfo(E,N,R,j){return{keyType:E,type:N,isReadonly:R,declaration:j}}function getIndexInfosOfSymbol(N){var R=getIndexSymbol(N);return R?getIndexInfosOfIndexSymbol(R):E.emptyArray}function getIndexInfosOfIndexSymbol(N){if(N.declarations){var R=[];var _loop_14=function(N){if(N.parameters.length===1){var j=N.parameters[0];if(j.type){forEachType(getTypeFromTypeNode(j.type),(function(j){if(isValidIndexKeyType(j)&&!findIndexInfo(R,j)){R.push(createIndexInfo(j,N.type?getTypeFromTypeNode(N.type):zt,E.hasEffectiveModifier(N,64),N))}}))}}};for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];_loop_14(q)}return R}return E.emptyArray}function isValidIndexKeyType(N){return!!(N.flags&(4|8|4096))||isPatternLiteralType(N)||!!(N.flags&2097152)&&!isGenericIndexType(N)&&!isGenericObjectType(N)&&E.some(N.types,isValidIndexKeyType)}function getConstraintDeclaration(N){return E.mapDefined(E.filter(N.symbol&&N.symbol.declarations,E.isTypeParameterDeclaration),E.getEffectiveConstraintOfTypeParameter)[0]}function getInferredTypeParameterConstraint(N){var R;var j;if((R=N.symbol)===null||R===void 0?void 0:R.declarations){for(var $=0,q=N.symbol.declarations;$<q.length;$++){var G=q[$];if(G.parent.kind===188){var ie=E.walkUpParenthesizedTypesAndGetParentAndChild(G.parent.parent),ae=ie[0],ce=ae===void 0?G.parent:ae,le=ie[1];if(le.kind===176){var _e=le;var Ee=getTypeParametersForTypeReference(_e);if(Ee){var Te=_e.typeArguments.indexOf(ce);if(Te<Ee.length){var we=getConstraintOfTypeParameter(Ee[Te]);if(we){var Ie=createTypeMapper(Ee,getEffectiveTypeArguments(_e,Ee));var Ne=instantiateType(we,Ie);if(Ne!==N){j=E.append(j,Ne)}}}}}else if(le.kind===162&&le.dotDotDotToken||le.kind===184||le.kind===195&&le.dotDotDotToken){j=E.append(j,createArrayType(Ht))}else if(le.kind===197){j=E.append(j,er)}else if(le.kind===161&&le.parent.kind===193){j=E.append(j,vr)}else if(le.kind===193&&le.type&&E.skipParentheses(le.type)===G.parent&&le.parent.kind===187&&le.parent.extendsType===le&&le.parent.checkType.kind===193&&le.parent.checkType.type){var Me=le.parent.checkType;var Le=getTypeFromTypeNode(Me.type);j=E.append(j,instantiateType(Le,makeUnaryTypeMapper(getDeclaredTypeOfTypeParameter(getSymbolOfNode(Me.typeParameter)),Me.typeParameter.constraint?getTypeFromTypeNode(Me.typeParameter.constraint):vr)))}}}}return j&&getIntersectionType(j)}function getConstraintFromTypeParameter(E){if(!E.constraint){if(E.target){var N=getConstraintOfTypeParameter(E.target);E.constraint=N?instantiateType(N,E.mapper):Pr}else{var R=getConstraintDeclaration(E);if(!R){E.constraint=getInferredTypeParameterConstraint(E)||Pr}else{var j=getTypeFromTypeNode(R);if(j.flags&1&&j!==Jt){j=R.parent.parent.kind===193?vr:Ht}E.constraint=j}}}return E.constraint===Pr?undefined:E.constraint}function getParentSymbolOfTypeParameter(N){var R=E.getDeclarationOfKind(N.symbol,161);var j=E.isJSDocTemplateTag(R.parent)?E.getHostSignatureFromJSDoc(R.parent):R.parent;return j&&getSymbolOfNode(j)}function getTypeListId(E){var N="";if(E){var R=E.length;var j=0;while(j<R){var $=E[j].id;var q=1;while(j+q<R&&E[j+q].id===$+q){q++}if(N.length){N+=","}N+=$;if(q>1){N+=":"+q}j+=q}}return N}function getAliasId(E,N){return E?"@"+getSymbolId(E)+(N?":"+getTypeListId(N):""):""}function getPropagatingFlagsOfTypes(N,R){var j=0;for(var $=0,q=N;$<q.length;$++){var G=q[$];if(!(G.flags&R)){j|=E.getObjectFlags(G)}}return j&917504}function createTypeReference(E,N){var R=getTypeListId(N);var j=E.instantiations.get(R);if(!j){j=createObjectType(4,E.symbol);E.instantiations.set(R,j);j.objectFlags|=N?getPropagatingFlagsOfTypes(N,0):0;j.target=E;j.resolvedTypeArguments=N}return j}function cloneTypeReference(E){var N=createType(E.flags);N.symbol=E.symbol;N.objectFlags=E.objectFlags;N.target=E.target;N.resolvedTypeArguments=E.resolvedTypeArguments;return N}function createDeferredTypeReference(E,N,R,j,$){if(!j){j=getAliasSymbolForTypeNode(N);var q=getTypeArgumentsForAliasSymbol(j);$=R?instantiateTypes(q,R):q}var G=createObjectType(4,E.symbol);G.target=E;G.node=N;G.mapper=R;G.aliasSymbol=j;G.aliasTypeArguments=$;return G}function getTypeArguments(N){var R,j;if(!N.resolvedTypeArguments){if(!pushTypeResolution(N,6)){return((R=N.target.localTypeParameters)===null||R===void 0?void 0:R.map((function(){return Jt})))||E.emptyArray}var $=N.node;var q=!$?E.emptyArray:$.kind===176?E.concatenate(N.target.outerTypeParameters,getEffectiveTypeArguments($,N.target.localTypeParameters)):$.kind===181?[getTypeFromTypeNode($.elementType)]:E.map($.elements,getTypeFromTypeNode);if(popTypeResolution()){N.resolvedTypeArguments=N.mapper?instantiateTypes(q,N.mapper):q}else{N.resolvedTypeArguments=((j=N.target.localTypeParameters)===null||j===void 0?void 0:j.map((function(){return Jt})))||E.emptyArray;error(N.node||qe,N.target.symbol?E.Diagnostics.Type_arguments_for_0_circularly_reference_themselves:E.Diagnostics.Tuple_type_arguments_circularly_reference_themselves,N.target.symbol&&symbolToString(N.target.symbol))}}return N.resolvedTypeArguments}function getTypeReferenceArity(N){return E.length(N.target.typeParameters)}function getTypeFromClassOrInterfaceReference(N,R){var j=getDeclaredTypeOfSymbol(getMergedSymbol(R));var $=j.localTypeParameters;if($){var q=E.length(N.typeArguments);var G=getMinTypeArgumentCount($);var ie=E.isInJSFile(N);var ae=!st&&ie;if(!ae&&(q<G||q>$.length)){var ce=ie&&E.isExpressionWithTypeArguments(N)&&!E.isJSDocAugmentsTag(N.parent);var le=G===$.length?ce?E.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:E.Diagnostics.Generic_type_0_requires_1_type_argument_s:ce?E.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:E.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments;var _e=typeToString(j,undefined,2);error(N,le,_e,G,$.length);if(!ie){return Jt}}if(N.kind===176&&isDeferredTypeReferenceNode(N,E.length(N.typeArguments)!==$.length)){return createDeferredTypeReference(j,N,undefined)}var Ee=E.concatenate(j.outerTypeParameters,fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(N),$,G,ie));return createTypeReference(j,Ee)}return checkNoTypeArguments(N,R)?j:Jt}function getTypeAliasInstantiation(N,R,j,$){var q=getDeclaredTypeOfSymbol(N);if(q===qt&&Ke.has(N.escapedName)&&R&&R.length===1){return getStringMappingType(N,R[0])}var G=getSymbolLinks(N);var ie=G.typeParameters;var ae=getTypeListId(R)+getAliasId(j,$);var ce=G.instantiations.get(ae);if(!ce){G.instantiations.set(ae,ce=instantiateTypeWithAlias(q,createTypeMapper(ie,fillMissingTypeArguments(R,ie,getMinTypeArgumentCount(ie),E.isInJSFile(N.valueDeclaration))),j,$))}return ce}function getTypeFromTypeAliasReference(N,R){var j=getDeclaredTypeOfSymbol(R);var $=getSymbolLinks(R).typeParameters;if($){var q=E.length(N.typeArguments);var G=getMinTypeArgumentCount($);if(q<G||q>$.length){error(N,G===$.length?E.Diagnostics.Generic_type_0_requires_1_type_argument_s:E.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,symbolToString(R),G,$.length);return Jt}var ie=getAliasSymbolForTypeNode(N);var ae=ie&&(isLocalTypeAlias(R)||!isLocalTypeAlias(ie))?ie:undefined;return getTypeAliasInstantiation(R,typeArgumentsFromTypeReferenceNode(N),ae,getTypeArgumentsForAliasSymbol(ae))}return checkNoTypeArguments(N,R)?j:Jt}function isLocalTypeAlias(N){var R;var j=(R=N.declarations)===null||R===void 0?void 0:R.find(E.isTypeAlias);return!!(j&&E.getContainingFunction(j))}function getTypeReferenceName(N){switch(N.kind){case 176:return N.typeName;case 226:var R=N.expression;if(E.isEntityNameExpression(R)){return R}}return undefined}function resolveTypeReferenceName(E,N,R){if(!E){return jt}return resolveEntityName(E,N,R)||jt}function getTypeReferenceType(E,N){if(N===jt){return Jt}N=getExpandoSymbol(N)||N;if(N.flags&(32|64)){return getTypeFromClassOrInterfaceReference(E,N)}if(N.flags&524288){return getTypeFromTypeAliasReference(E,N)}var R=tryGetDeclaredTypeOfSymbol(N);if(R){return checkNoTypeArguments(E,N)?getRegularTypeOfLiteralType(R):Jt}if(N.flags&111551&&isJSDocTypeReference(E)){var j=getTypeFromJSDocValueReference(E,N);if(j){return j}else{resolveTypeReferenceName(getTypeReferenceName(E),788968);return getTypeOfSymbol(N)}}return Jt}function getTypeFromJSDocValueReference(E,N){var R=getNodeLinks(E);if(!R.resolvedJSDocType){var j=getTypeOfSymbol(N);var $=j;if(N.valueDeclaration){var q=E.kind===198&&E.qualifier;if(j.symbol&&j.symbol!==N&&q){$=getTypeReferenceType(E,j.symbol)}}R.resolvedJSDocType=$}return R.resolvedJSDocType}function getSubstitutionType(E,N){if(N.flags&3||N===E){return E}var R=getTypeId(E)+">"+getTypeId(N);var j=Mt.get(R);if(j){return j}var $=createType(33554432);$.baseType=E;$.substitute=N;Mt.set(R,$);return $}function isUnaryTupleTypeNode(E){return E.kind===182&&E.elements.length===1}function getImpliedConstraint(E,N,R){return isUnaryTupleTypeNode(N)&&isUnaryTupleTypeNode(R)?getImpliedConstraint(E,N.elements[0],R.elements[0]):getActualTypeVariable(getTypeFromTypeNode(N))===E?getTypeFromTypeNode(R):undefined}function getConditionalFlowTypeOfType(N,R){var j;var $=true;while(R&&!E.isStatement(R)&&R.kind!==315){var q=R.parent;if(q.kind===162){$=!$}if(($||N.flags&8650752)&&q.kind===187&&R===q.trueType){var G=getImpliedConstraint(N,q.checkType,q.extendsType);if(G){j=E.append(j,G)}}R=q}return j?getSubstitutionType(N,getIntersectionType(E.append(j,N))):N}function isJSDocTypeReference(E){return!!(E.flags&4194304)&&(E.kind===176||E.kind===198)}function checkNoTypeArguments(N,j){if(N.typeArguments){error(N,E.Diagnostics.Type_0_is_not_generic,j?symbolToString(j):N.typeName?E.declarationNameToString(N.typeName):R);return false}return true}function getIntendedTypeFromJSDocTypeReference(N){if(E.isIdentifier(N.typeName)){var R=N.typeArguments;switch(N.typeName.escapedText){case"String":checkNoTypeArguments(N);return er;case"Number":checkNoTypeArguments(N);return tr;case"Boolean":checkNoTypeArguments(N);return cr;case"Void":checkNoTypeArguments(N);return ur;case"Undefined":checkNoTypeArguments(N);return Gt;case"Null":checkNoTypeArguments(N);return Yt;case"Function":case"function":checkNoTypeArguments(N);return rn;case"array":return(!R||!R.length)&&!st?mn:undefined;case"promise":return(!R||!R.length)&&!st?createPromiseType(zt):undefined;case"Object":if(R&&R.length===2){if(E.isJSDocIndexSignature(N)){var j=getTypeFromTypeNode(R[0]);var $=getTypeFromTypeNode(R[1]);var q=j===er||j===tr?[createIndexInfo(j,$,false)]:E.emptyArray;return createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,q)}return zt}checkNoTypeArguments(N);return!st?zt:undefined}}}function getTypeFromJSDocNullableTypeNode(E){var N=getTypeFromTypeNode(E.type);return rt?getNullableType(N,65536):N}function getTypeFromTypeReference(N){var R=getNodeLinks(N);if(!R.resolvedType){if(E.isConstTypeReference(N)&&E.isAssertionExpression(N.parent)){R.resolvedSymbol=jt;return R.resolvedType=checkExpressionCached(N.parent.expression)}var j=void 0;var $=void 0;var q=788968;if(isJSDocTypeReference(N)){$=getIntendedTypeFromJSDocTypeReference(N);if(!$){j=resolveTypeReferenceName(getTypeReferenceName(N),q,true);if(j===jt){j=resolveTypeReferenceName(getTypeReferenceName(N),q|111551)}else{resolveTypeReferenceName(getTypeReferenceName(N),q)}$=getTypeReferenceType(N,j)}}if(!$){j=resolveTypeReferenceName(getTypeReferenceName(N),q);$=getTypeReferenceType(N,j)}R.resolvedSymbol=j;R.resolvedType=$}return R.resolvedType}function typeArgumentsFromTypeReferenceNode(N){return E.map(N.typeArguments,getTypeFromTypeNode)}function getTypeFromTypeQueryNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=E.isThisIdentifier(N.exprName)?checkThisExpression(N.exprName):checkExpression(N.exprName);R.resolvedType=getRegularTypeOfLiteralType(getWidenedType(j))}return R.resolvedType}function getTypeOfGlobalSymbol(N,R){function getTypeDeclaration(E){var N=E.declarations;if(N){for(var R=0,j=N;R<j.length;R++){var $=j[R];switch($.kind){case 255:case 256:case 258:return $}}}}if(!N){return R?Ar:Tr}var j=getDeclaredTypeOfSymbol(N);if(!(j.flags&524288)){error(getTypeDeclaration(N),E.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,E.symbolName(N));return R?Ar:Tr}if(E.length(j.typeParameters)!==R){error(getTypeDeclaration(N),E.Diagnostics.Global_type_0_must_have_1_type_parameter_s,E.symbolName(N),R);return R?Ar:Tr}return j}function getGlobalValueSymbol(N,R){return getGlobalSymbol(N,111551,R?E.Diagnostics.Cannot_find_global_value_0:undefined)}function getGlobalTypeSymbol(N,R){return getGlobalSymbol(N,788968,R?E.Diagnostics.Cannot_find_global_type_0:undefined)}function getGlobalSymbol(E,N,R){return resolveName(undefined,E,N,R,E,false)}function getGlobalType(E,N,R){var j=getGlobalTypeSymbol(E,R);return j||R?getTypeOfGlobalSymbol(j,N):undefined}function getGlobalTypedPropertyDescriptorType(){return xn||(xn=getGlobalType("TypedPropertyDescriptor",1,true))||Ar}function getGlobalTemplateStringsArrayType(){return Rn||(Rn=getGlobalType("TemplateStringsArray",0,true))||Tr}function getGlobalImportMetaType(){return Ln||(Ln=getGlobalType("ImportMeta",0,true))||Tr}function getGlobalImportMetaExpressionType(){if(!Bn){var N=createSymbol(0,"ImportMetaExpression");var R=getGlobalImportMetaType();var j=createSymbol(4,"meta",8);j.parent=N;j.type=R;var $=E.createSymbolTable([j]);N.members=$;Bn=createAnonymousType(N,$,E.emptyArray,E.emptyArray,E.emptyArray)}return Bn}function getGlobalESSymbolConstructorSymbol(E){return yn||(yn=getGlobalValueSymbol("Symbol",E))}function getGlobalESSymbolConstructorTypeSymbol(E){return vn||(vn=getGlobalTypeSymbol("SymbolConstructor",E))}function getGlobalESSymbolType(E){return bn||(bn=getGlobalType("Symbol",0,E))||Tr}function getGlobalPromiseType(E){return Sn||(Sn=getGlobalType("Promise",1,E))||Ar}function getGlobalPromiseLikeType(E){return En||(En=getGlobalType("PromiseLike",1,E))||Ar}function getGlobalPromiseConstructorSymbol(E){return Tn||(Tn=getGlobalValueSymbol("Promise",E))}function getGlobalPromiseConstructorLikeType(E){return kn||(kn=getGlobalType("PromiseConstructorLike",0,E))||Tr}function getGlobalAsyncIterableType(E){return In||(In=getGlobalType("AsyncIterable",1,E))||Ar}function getGlobalAsyncIteratorType(E){return Nn||(Nn=getGlobalType("AsyncIterator",3,E))||Ar}function getGlobalAsyncIterableIteratorType(E){return On||(On=getGlobalType("AsyncIterableIterator",1,E))||Ar}function getGlobalAsyncGeneratorType(E){return Mn||(Mn=getGlobalType("AsyncGenerator",3,E))||Ar}function getGlobalIterableType(E){return Cn||(Cn=getGlobalType("Iterable",1,E))||Ar}function getGlobalIteratorType(E){return Dn||(Dn=getGlobalType("Iterator",3,E))||Ar}function getGlobalIterableIteratorType(E){return An||(An=getGlobalType("IterableIterator",1,E))||Ar}function getGlobalGeneratorType(E){return wn||(wn=getGlobalType("Generator",3,E))||Ar}function getGlobalIteratorYieldResultType(E){return Pn||(Pn=getGlobalType("IteratorYieldResult",1,E))||Ar}function getGlobalIteratorReturnResultType(E){return Fn||(Fn=getGlobalType("IteratorReturnResult",1,E))||Ar}function getGlobalTypeOrUndefined(E,N){if(N===void 0){N=0}var R=getGlobalSymbol(E,788968,undefined);return R&&getTypeOfGlobalSymbol(R,N)}function getGlobalExtractSymbol(){return jn||(jn=getGlobalSymbol("Extract",524288,E.Diagnostics.Cannot_find_global_type_0))}function getGlobalOmitSymbol(){return Un||(Un=getGlobalSymbol("Omit",524288,E.Diagnostics.Cannot_find_global_type_0))}function getGlobalBigIntType(E){return zn||(zn=getGlobalType("BigInt",0,E))||Tr}function createTypeFromGenericGlobalType(E,N){return E!==Ar?createTypeReference(E,N):Tr}function createTypedPropertyDescriptorType(E){return createTypeFromGenericGlobalType(getGlobalTypedPropertyDescriptorType(),[E])}function createIterableType(E){return createTypeFromGenericGlobalType(getGlobalIterableType(true),[E])}function createArrayType(E,N){return createTypeFromGenericGlobalType(N?sn:on,[E])}function getTupleElementFlags(E){switch(E.kind){case 183:return 2;case 184:return getRestTypeElementFlags(E);case 195:return E.questionToken?2:E.dotDotDotToken?getRestTypeElementFlags(E):1;default:return 1}}function getRestTypeElementFlags(E){return getArrayElementTypeNode(E.type)?4:8}function getArrayOrTupleTargetType(N){var R=isReadonlyTypeOperator(N.parent);var j=getArrayElementTypeNode(N);if(j){return R?sn:on}var $=E.map(N.elements,getTupleElementFlags);var q=E.some(N.elements,(function(E){return E.kind!==195}));return getTupleTargetType($,R,q?undefined:N.elements)}function isDeferredTypeReferenceNode(N,R){return!!getAliasSymbolForTypeNode(N)||isResolvedByTypeAlias(N)&&(N.kind===181?mayResolveTypeAlias(N.elementType):N.kind===182?E.some(N.elements,mayResolveTypeAlias):R||E.some(N.typeArguments,mayResolveTypeAlias))}function isResolvedByTypeAlias(E){var N=E.parent;switch(N.kind){case 189:case 195:case 176:case 185:case 186:case 192:case 187:case 191:case 181:case 182:return isResolvedByTypeAlias(N);case 257:return true}return false}function mayResolveTypeAlias(N){switch(N.kind){case 176:return isJSDocTypeReference(N)||!!(resolveTypeReferenceName(N.typeName,788968).flags&524288);case 179:return true;case 191:return N.operator!==152&&mayResolveTypeAlias(N.type);case 189:case 183:case 195:case 311:case 309:case 310:case 304:return mayResolveTypeAlias(N.type);case 184:return N.type.kind!==181||mayResolveTypeAlias(N.type.elementType);case 185:case 186:return E.some(N.types,mayResolveTypeAlias);case 192:return mayResolveTypeAlias(N.objectType)||mayResolveTypeAlias(N.indexType);case 187:return mayResolveTypeAlias(N.checkType)||mayResolveTypeAlias(N.extendsType)||mayResolveTypeAlias(N.trueType)||mayResolveTypeAlias(N.falseType)}return false}function getTypeFromArrayOrTupleTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=getArrayOrTupleTargetType(N);if(j===Ar){R.resolvedType=Tr}else if(!(N.kind===182&&E.some(N.elements,(function(E){return!!(getTupleElementFlags(E)&8)})))&&isDeferredTypeReferenceNode(N)){R.resolvedType=N.kind===182&&N.elements.length===0?j:createDeferredTypeReference(j,N,undefined)}else{var $=N.kind===181?[getTypeFromTypeNode(N.elementType)]:E.map(N.elements,getTypeFromTypeNode);R.resolvedType=createNormalizedTypeReference(j,$)}}return R.resolvedType}function isReadonlyTypeOperator(N){return E.isTypeOperatorNode(N)&&N.operator===143}function createTupleType(N,R,j,$){if(j===void 0){j=false}var q=getTupleTargetType(R||E.map(N,(function(E){return 1})),j,$);return q===Ar?Tr:N.length?createNormalizedTypeReference(q,N):q}function getTupleTargetType(N,R,j){if(N.length===1&&N[0]&4){return R?sn:on}var $=E.map(N,(function(E){return E&1?"#":E&2?"?":E&4?".":"*"})).join()+(R?"R":"")+(j&&j.length?","+E.map(j,getNodeId).join(","):"");var q=kt.get($);if(!q){kt.set($,q=createTupleTargetType(N,R,j))}return q}function createTupleTargetType(N,R,j){var $=N.length;var q=E.countWhere(N,(function(E){return!!(E&(1|8))}));var G;var ie=[];var ae=0;if($){G=new Array($);for(var ce=0;ce<$;ce++){var le=G[ce]=createTypeParameter();var _e=N[ce];ae|=_e;if(!(ae&12)){var Ee=createSymbol(4|(_e&2?16777216:0),""+ce,R?8:0);Ee.tupleLabelDeclaration=j===null||j===void 0?void 0:j[ce];Ee.type=le;ie.push(Ee)}}}var Te=ie.length;var we=createSymbol(4,"length");if(ae&12){we.type=tr}else{var Ie=[];for(var ce=q;ce<=$;ce++)Ie.push(getNumberLiteralType(ce));we.type=getUnionType(Ie)}ie.push(we);var Ne=createObjectType(8|4);Ne.typeParameters=G;Ne.outerTypeParameters=undefined;Ne.localTypeParameters=G;Ne.instantiations=new E.Map;Ne.instantiations.set(getTypeListId(Ne.typeParameters),Ne);Ne.target=Ne;Ne.resolvedTypeArguments=Ne.typeParameters;Ne.thisType=createTypeParameter();Ne.thisType.isThisType=true;Ne.thisType.constraint=Ne;Ne.declaredProperties=ie;Ne.declaredCallSignatures=E.emptyArray;Ne.declaredConstructSignatures=E.emptyArray;Ne.declaredIndexInfos=E.emptyArray;Ne.elementFlags=N;Ne.minLength=q;Ne.fixedLength=Te;Ne.hasRestElement=!!(ae&12);Ne.combinedFlags=ae;Ne.readonly=R;Ne.labeledElementDeclarations=j;return Ne}function createNormalizedTypeReference(E,N){return E.objectFlags&8?createNormalizedTupleType(E,N):createTypeReference(E,N)}function createNormalizedTupleType(N,R){var j,$,q;if(!(N.combinedFlags&14)){return createTypeReference(N,R)}if(N.combinedFlags&8){var G=E.findIndex(R,(function(E,R){return!!(N.elementFlags[R]&8&&E.flags&(131072|1048576))}));if(G>=0){return checkCrossProductUnion(E.map(R,(function(E,R){return N.elementFlags[R]&8?E:Ht})))?mapType(R[G],(function(j){return createNormalizedTupleType(N,E.replaceElement(R,G,j))})):Jt}}var ie=[];var ae=[];var ce=[];var le=-1;var _e=-1;var Ee=-1;var _loop_15=function(G){var ae=R[G];var ce=N.elementFlags[G];if(ce&8){if(ae.flags&58982400||isGenericMappedType(ae)){addElement(ae,8,(j=N.labeledElementDeclarations)===null||j===void 0?void 0:j[G])}else if(isTupleType(ae)){var le=getTypeArguments(ae);if(le.length+ie.length>=1e4){error(qe,E.isPartOfTypeNode(qe)?E.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:E.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent);return{value:Jt}}E.forEach(le,(function(E,N){var R;return addElement(E,ae.target.elementFlags[N],(R=ae.target.labeledElementDeclarations)===null||R===void 0?void 0:R[N])}))}else{addElement(isArrayLikeType(ae)&&getIndexTypeOfType(ae,tr)||Jt,4,($=N.labeledElementDeclarations)===null||$===void 0?void 0:$[G])}}else{addElement(ae,ce,(q=N.labeledElementDeclarations)===null||q===void 0?void 0:q[G])}};for(var Te=0;Te<R.length;Te++){var we=_loop_15(Te);if(typeof we==="object")return we.value}for(var Te=0;Te<le;Te++){if(ae[Te]&2)ae[Te]=1}if(_e>=0&&_e<Ee){ie[_e]=getUnionType(E.sameMap(ie.slice(_e,Ee+1),(function(E,N){return ae[_e+N]&8?getIndexedAccessType(E,tr):E})));ie.splice(_e+1,Ee-_e);ae.splice(_e+1,Ee-_e);ce===null||ce===void 0?void 0:ce.splice(_e+1,Ee-_e)}var Ie=getTupleTargetType(ae,N.readonly,ce);return Ie===Ar?Tr:ae.length?createTypeReference(Ie,ie):Ie;function addElement(E,N,R){if(N&1){le=ae.length}if(N&4&&_e<0){_e=ae.length}if(N&(2|4)){Ee=ae.length}ie.push(E);ae.push(N);if(ce&&R){ce.push(R)}else{ce=undefined}}}function sliceTupleType(N,R,j){if(j===void 0){j=0}var $=N.target;var q=getTypeReferenceArity(N)-j;return R>$.fixedLength?getRestArrayTypeOfTupleType(N)||createTupleType(E.emptyArray):createTupleType(getTypeArguments(N).slice(R,q),$.elementFlags.slice(R,q),false,$.labeledElementDeclarations&&$.labeledElementDeclarations.slice(R,q))}function getKnownKeysOfTupleType(N){return getUnionType(E.append(E.arrayOf(N.target.fixedLength,(function(E){return getStringLiteralType(""+E)})),getIndexType(N.target.readonly?sn:on)))}function getStartElementCount(N,R){var j=E.findIndex(N.elementFlags,(function(E){return!(E&R)}));return j>=0?j:N.elementFlags.length}function getEndElementCount(N,R){return N.elementFlags.length-E.findLastIndex(N.elementFlags,(function(E){return!(E&R)}))-1}function getTypeFromOptionalTypeNode(E){return addOptionality(getTypeFromTypeNode(E.type),true)}function getTypeId(E){return E.id}function containsType(N,R){return E.binarySearch(N,R,getTypeId,E.compareValues)>=0}function insertType(N,R){var j=E.binarySearch(N,R,getTypeId,E.compareValues);if(j<0){N.splice(~j,0,R);return true}return false}function addTypeToUnion(N,R,j){var $=j.flags;if($&1048576){return addTypesToUnion(N,R|(isNamedUnionType(j)?1048576:0),j.types)}if(!($&131072)){R|=$&205258751;if($&469499904)R|=262144;if(j===$t)R|=8388608;if(!rt&&$&98304){if(!(E.getObjectFlags(j)&131072))R|=4194304}else{var q=N.length;var G=q&&j.id>N[q-1].id?~q:E.binarySearch(N,j,getTypeId,E.compareValues);if(G<0){N.splice(~G,0,j)}}}return R}function addTypesToUnion(E,N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=addTypeToUnion(E,N,q)}return N}function removeSubtypes(N,R){var j=getTypeListId(N);var $=Rt.get(j);if($){return $}var q=R&&E.some(N,(function(E){return!!(E.flags&524288)&&!isGenericMappedType(E)&&isEmptyResolvedType(resolveStructuredTypeMembers(E))}));var G=N.length;var ie=G;var ae=0;while(ie>0){ie--;var ce=N[ie];if(q||ce.flags&469499904){var le=ce.flags&(524288|2097152|58982400)?E.find(getPropertiesOfType(ce),(function(E){return isUnitType(getTypeOfSymbol(E))})):undefined;var _e=le&&getRegularTypeOfLiteralType(getTypeOfSymbol(le));for(var Ee=0,Te=N;Ee<Te.length;Ee++){var we=Te[Ee];if(ce!==we){if(ae===1e5){var Ie=ae/(G-ie)*G;if(Ie>1e6){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:N.map((function(E){return E.id}))});error(qe,E.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return undefined}}ae++;if(le&&we.flags&(524288|2097152|58982400)){var Ne=getTypeOfPropertyOfType(we,le.escapedName);if(Ne&&isUnitType(Ne)&&getRegularTypeOfLiteralType(Ne)!==_e){continue}}if(isTypeRelatedTo(ce,we,wi)&&(!(E.getObjectFlags(getTargetType(ce))&1)||!(E.getObjectFlags(getTargetType(we))&1)||isTypeDerivedFrom(ce,we))){E.orderedRemoveItemAt(N,ie);break}}}}}Rt.set(j,N);return N}function removeRedundantLiteralTypes(N,R,j){var $=N.length;while($>0){$--;var q=N[$];var G=q.flags;var ie=G&(128|134217728|268435456)&&R&4||G&256&&R&8||G&2048&&R&64||G&8192&&R&4096||j&&G&32768&&R&16384||isFreshLiteralType(q)&&containsType(N,q.regularType);if(ie){E.orderedRemoveItemAt(N,$)}}}function removeStringLiteralsMatchedByTemplateLiterals(N){var R=E.filter(N,isPatternLiteralType);if(R.length){var j=N.length;var _loop_16=function(){j--;var $=N[j];if($.flags&128&&E.some(R,(function(E){return isTypeSubtypeOf($,E)}))){E.orderedRemoveItemAt(N,j)}};while(j>0){_loop_16()}}}function isNamedUnionType(E){return!!(E.flags&1048576&&(E.aliasSymbol||E.origin))}function addNamedUnions(N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if(q.flags&1048576){var G=q.origin;if(q.aliasSymbol||G&&!(G.flags&1048576)){E.pushIfUnique(N,q)}else if(G&&G.flags&1048576){addNamedUnions(N,G.types)}}}}function createOriginUnionOrIntersectionType(E,N){var R=createOriginType(E);R.types=N;return R}function getUnionType(N,R,j,$,q){if(R===void 0){R=1}if(N.length===0){return dr}if(N.length===1){return N[0]}var G=[];var ie=addTypesToUnion(G,0,N);if(R!==0){if(ie&3){return ie&1?ie&8388608?$t:zt:Ht}if(ft&&ie&32768){var ae=E.binarySearch(G,Xt,getTypeId,E.compareValues);if(ae>=0&&containsType(G,Gt)){E.orderedRemoveItemAt(G,ae)}}if(ie&(2944|8192|134217728|268435456)||ie&16384&&ie&32768){removeRedundantLiteralTypes(G,ie,!!(R&2))}if(ie&128&&ie&134217728){removeStringLiteralsMatchedByTemplateLiterals(G)}if(R===2){G=removeSubtypes(G,!!(ie&524288));if(!G){return Jt}}if(G.length===0){return ie&65536?ie&4194304?Yt:Zt:ie&32768?ie&4194304?Gt:Kt:dr}}if(!q&&ie&1048576){var ce=[];addNamedUnions(ce,N);var le=[];var _loop_17=function(N){if(!E.some(ce,(function(E){return containsType(E.types,N)}))){le.push(N)}};for(var _e=0,Ee=G;_e<Ee.length;_e++){var Te=Ee[_e];_loop_17(Te)}if(!j&&ce.length===1&&le.length===0){return ce[0]}var we=E.reduceLeft(ce,(function(E,N){return E+N.types.length}),0);if(we+le.length===G.length){for(var Ie=0,Ne=ce;Ie<Ne.length;Ie++){var Te=Ne[Ie];insertType(le,Te)}q=createOriginUnionOrIntersectionType(1048576,le)}}var Me=(ie&468598819?0:65536)|(ie&2097152?33554432:0);return getUnionTypeFromSortedList(G,Me,j,$,q)}function getUnionOrIntersectionTypePredicate(E,N){var R;var j=[];for(var $=0,q=E;$<q.length;$++){var G=q[$];var ie=getTypePredicateOfSignature(G);if(!ie||ie.kind===2||ie.kind===3){if(N!==2097152){continue}else{return}}if(R){if(!typePredicateKindsMatch(R,ie)){return undefined}}else{R=ie}j.push(ie.type)}if(!R){return undefined}var ae=getUnionOrIntersectionType(j,N);return createTypePredicate(R.kind,R.parameterName,R.parameterIndex,ae)}function typePredicateKindsMatch(E,N){return E.kind===N.kind&&E.parameterIndex===N.parameterIndex}function getUnionTypeFromSortedList(E,N,R,j,$){if(E.length===0){return dr}if(E.length===1){return E[0]}var q=!$?getTypeListId(E):$.flags&1048576?"|"+getTypeListId($.types):$.flags&2097152?"&"+getTypeListId($.types):"#"+$.type.id+"|"+getTypeListId(E);var G=q+getAliasId(R,j);var ie=Ct.get(G);if(!ie){ie=createType(1048576);ie.objectFlags=N|getPropagatingFlagsOfTypes(E,98304);ie.types=E;ie.origin=$;ie.aliasSymbol=R;ie.aliasTypeArguments=j;if(E.length===2&&E[0].flags&512&&E[1].flags&512){ie.flags|=16;ie.intrinsicName="boolean"}Ct.set(G,ie)}return ie}function getTypeFromUnionTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=getAliasSymbolForTypeNode(N);R.resolvedType=getUnionType(E.map(N.types,getTypeFromTypeNode),1,j,getTypeArgumentsForAliasSymbol(j))}return R.resolvedType}function addTypeToIntersection(E,N,R){var j=R.flags;if(j&2097152){return addTypesToIntersection(E,N,R.types)}if(isEmptyAnonymousObjectType(R)){if(!(N&16777216)){N|=16777216;E.set(R.id.toString(),R)}}else{if(j&3){if(R===$t)N|=8388608}else if((rt||!(j&98304))&&!E.has(R.id.toString())){if(R.flags&109440&&N&109440){N|=67108864}E.set(R.id.toString(),R)}N|=j&205258751}return N}function addTypesToIntersection(E,N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=addTypeToIntersection(E,N,getRegularTypeOfLiteralType(q))}return N}function removeRedundantPrimitiveTypes(N,R){var j=N.length;while(j>0){j--;var $=N[j];var q=$.flags&4&&R&128||$.flags&8&&R&256||$.flags&64&&R&2048||$.flags&4096&&R&8192;if(q){E.orderedRemoveItemAt(N,j)}}}function eachUnionContains(E,N){for(var R=0,j=E;R<j.length;R++){var $=j[R];if(!containsType($.types,N)){var q=N.flags&128?er:N.flags&256?tr:N.flags&2048?rr:N.flags&8192?lr:undefined;if(!q||!containsType($.types,q)){return false}}}return true}function extractRedundantTemplateLiterals(N){var R=N.length;var j=E.filter(N,(function(E){return!!(E.flags&128)}));while(R>0){R--;var $=N[R];if(!($.flags&134217728))continue;for(var q=0,G=j;q<G.length;q++){var ie=G[q];if(isTypeSubtypeOf(ie,$)){E.orderedRemoveItemAt(N,R);break}else if(isPatternLiteralType($)){return true}}}return false}function extractIrreducible(N,R){if(E.every(N,(function(N){return!!(N.flags&1048576)&&E.some(N.types,(function(E){return!!(E.flags&R)}))}))){for(var j=0;j<N.length;j++){N[j]=filterType(N[j],(function(E){return!(E.flags&R)}))}return true}return false}function intersectUnionsOfPrimitiveTypes(N){var R;var j=E.findIndex(N,(function(N){return!!(E.getObjectFlags(N)&65536)}));if(j<0){return false}var $=j+1;while($<N.length){var q=N[$];if(E.getObjectFlags(q)&65536){(R||(R=[N[j]])).push(q);E.orderedRemoveItemAt(N,$)}else{$++}}if(!R){return false}var G=[];var ie=[];for(var ae=0,ce=R;ae<ce.length;ae++){var le=ce[ae];for(var _e=0,Ee=le.types;_e<Ee.length;_e++){var q=Ee[_e];if(insertType(G,q)){if(eachUnionContains(R,q)){insertType(ie,q)}}}}N[j]=getUnionTypeFromSortedList(ie,65536);return true}function createIntersectionType(E,N,R){var j=createType(2097152);j.objectFlags=getPropagatingFlagsOfTypes(E,98304);j.types=E;j.aliasSymbol=N;j.aliasTypeArguments=R;return j}function getIntersectionType(N,R,j){var $=new E.Map;var q=addTypesToIntersection($,0,N);var G=E.arrayFrom($.values());if(q&131072){return E.contains(G,pr)?pr:dr}if(rt&&q&98304&&q&(524288|67108864|16777216)||q&67108864&&q&(469892092&~67108864)||q&402653316&&q&(469892092&~402653316)||q&296&&q&(469892092&~296)||q&2112&&q&(469892092&~2112)||q&12288&&q&(469892092&~12288)||q&49152&&q&(469892092&~49152)){return dr}if(q&134217728&&q&128&&extractRedundantTemplateLiterals(G)){return dr}if(q&1){return q&8388608?$t:zt}if(!rt&&q&98304){return q&32768?Gt:Yt}if(q&4&&q&128||q&8&&q&256||q&64&&q&2048||q&4096&&q&8192){removeRedundantPrimitiveTypes(G,q)}if(q&16777216&&q&524288){E.orderedRemoveItemAt(G,E.findIndex(G,isEmptyAnonymousObjectType))}if(G.length===0){return Ht}if(G.length===1){return G[0]}var ie=getTypeListId(G)+getAliasId(R,j);var ae=Dt.get(ie);if(!ae){if(q&1048576){if(intersectUnionsOfPrimitiveTypes(G)){ae=getIntersectionType(G,R,j)}else if(extractIrreducible(G,32768)){ae=getUnionType([getIntersectionType(G),Gt],1,R,j)}else if(extractIrreducible(G,65536)){ae=getUnionType([getIntersectionType(G),Yt],1,R,j)}else{if(!checkCrossProductUnion(G)){return Jt}var ce=getCrossProductIntersections(G);var le=E.some(ce,(function(E){return!!(E.flags&2097152)}))?createOriginUnionOrIntersectionType(2097152,G):undefined;ae=getUnionType(ce,1,R,j,le)}}else{ae=createIntersectionType(G,R,j)}Dt.set(ie,ae)}return ae}function getCrossProductUnionSize(N){return E.reduceLeft(N,(function(E,N){return N.flags&1048576?E*N.types.length:N.flags&131072?0:E}),1)}function checkCrossProductUnion(N){var R=getCrossProductUnionSize(N);if(R>=1e5){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:N.map((function(E){return E.id})),size:R});error(qe,E.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return false}return true}function getCrossProductIntersections(E){var N=getCrossProductUnionSize(E);var R=[];for(var j=0;j<N;j++){var $=E.slice();var q=j;for(var G=E.length-1;G>=0;G--){if(E[G].flags&1048576){var ie=E[G].types;var ae=ie.length;$[G]=ie[q%ae];q=Math.floor(q/ae)}}var ce=getIntersectionType($);if(!(ce.flags&131072))R.push(ce)}return R}function getTypeFromIntersectionTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=getAliasSymbolForTypeNode(N);R.resolvedType=getIntersectionType(E.map(N.types,getTypeFromTypeNode),j,getTypeArgumentsForAliasSymbol(j))}return R.resolvedType}function createIndexType(E,N){var R=createType(4194304);R.type=E;R.stringsOnly=N;return R}function createOriginIndexType(E){var N=createOriginType(4194304);N.type=E;return N}function getIndexTypeForGenericType(E,N){return N?E.resolvedStringIndexType||(E.resolvedStringIndexType=createIndexType(E,true)):E.resolvedIndexType||(E.resolvedIndexType=createIndexType(E,false))}function instantiateTypeAsMappedNameType(E,N,R){return instantiateType(E,appendTypeMapping(N.mapper,getTypeParameterFromMappedType(N),R))}function getIndexTypeForMappedType(N,R){var j=filterType(getConstraintTypeFromMappedType(N),(function(E){return!(R&&E.flags&(1|4))}));var $=N.declaration.nameType&&getTypeFromTypeNode(N.declaration.nameType);var q=$&&everyType(j,(function(E){return!!(E.flags&(4|8|131072))}))&&getPropertiesOfType(getApparentType(getModifiersTypeFromMappedType(N)));return $?getUnionType([mapType(j,(function(E){return instantiateTypeAsMappedNameType($,N,E)})),mapType(getUnionType(E.map(q||E.emptyArray,(function(E){return getLiteralTypeFromProperty(E,8576)}))),(function(E){return instantiateTypeAsMappedNameType($,N,E)}))]):j}function hasDistributiveNameType(N){var R=getTypeParameterFromMappedType(N);return isDistributive(getNameTypeFromMappedType(N)||R);function isDistributive(N){return N.flags&(3|131068|131072|262144|524288|67108864)?true:N.flags&16777216?N.root.isDistributive&&N.checkType===R:N.flags&(3145728|134217728)?E.every(N.types,isDistributive):N.flags&8388608?isDistributive(N.objectType)&&isDistributive(N.indexType):N.flags&33554432?isDistributive(N.substitute):N.flags&268435456?isDistributive(N.type):false}}function getLiteralTypeFromPropertyName(N){if(E.isPrivateIdentifier(N)){return dr}return E.isIdentifier(N)?getStringLiteralType(E.unescapeLeadingUnderscores(N.escapedText)):getRegularTypeOfLiteralType(E.isComputedPropertyName(N)?checkComputedPropertyName(N):checkExpression(N))}function getLiteralTypeFromProperty(N,R,j){if(j||!(E.getDeclarationModifierFlagsFromSymbol(N)&24)){var $=getSymbolLinks(getLateBoundSymbol(N)).nameType;if(!$){var q=E.getNameOfDeclaration(N.valueDeclaration);$=N.escapedName==="default"?getStringLiteralType("default"):q&&getLiteralTypeFromPropertyName(q)||(!E.isKnownSymbol(N)?getStringLiteralType(E.symbolName(N)):undefined)}if($&&$.flags&R){return $}}return dr}function getLiteralTypeFromProperties(N,R,j){var $=j&&(E.getObjectFlags(N)&(3|4)||N.aliasSymbol)?createOriginIndexType(N):undefined;var q=E.map(getPropertiesOfType(N),(function(E){return getLiteralTypeFromProperty(E,R)}));var G=E.map(getIndexInfosOfType(N),(function(E){return E!==zr&&E.keyType.flags&R?E.keyType===er&&R&8?_r:E.keyType:dr}));return getUnionType(E.concatenate(q,G),1,undefined,undefined,$)}function getIndexType(N,R,j){if(R===void 0){R=dt}N=getReducedType(N);return N.flags&1048576?getIntersectionType(E.map(N.types,(function(E){return getIndexType(E,R,j)}))):N.flags&2097152?getUnionType(E.map(N.types,(function(E){return getIndexType(E,R,j)}))):N.flags&58982400||isGenericTupleType(N)||isGenericMappedType(N)&&!hasDistributiveNameType(N)?getIndexTypeForGenericType(N,R):E.getObjectFlags(N)&32?getIndexTypeForMappedType(N,j):N===$t?$t:N.flags&2?dr:N.flags&(1|131072)?vr:getLiteralTypeFromProperties(N,(j?128:402653316)|(R?0:296|12288),R===dt&&!j)}function getExtractStringType(E){if(dt){return E}var N=getGlobalExtractSymbol();return N?getTypeAliasInstantiation(N,[E,er]):er}function getIndexTypeOrString(E){var N=getExtractStringType(getIndexType(E));return N.flags&131072?er:N}function getTypeFromTypeOperatorNode(N){var R=getNodeLinks(N);if(!R.resolvedType){switch(N.operator){case 139:R.resolvedType=getIndexType(getTypeFromTypeNode(N.type));break;case 152:R.resolvedType=N.type.kind===149?getESSymbolLikeTypeForNode(E.walkUpParenthesizedTypes(N.parent)):Jt;break;case 143:R.resolvedType=getTypeFromTypeNode(N.type);break;default:throw E.Debug.assertNever(N.operator)}}return R.resolvedType}function getTypeFromTemplateTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){R.resolvedType=getTemplateLiteralType(j([N.head.text],E.map(N.templateSpans,(function(E){return E.literal.text})),true),E.map(N.templateSpans,(function(E){return getTypeFromTypeNode(E.type)})))}return R.resolvedType}function getTemplateLiteralType(N,R){var j=E.findIndex(R,(function(E){return!!(E.flags&(131072|1048576))}));if(j>=0){return checkCrossProductUnion(R)?mapType(R[j],(function($){return getTemplateLiteralType(N,E.replaceElement(R,j,$))})):Jt}if(E.contains(R,$t)){return $t}var $=[];var q=[];var G=N[0];if(!addSpans(N,R)){return er}if($.length===0){return getStringLiteralType(G)}q.push(G);if(E.every(q,(function(E){return E===""}))&&E.every($,(function(E){return!!(E.flags&4)}))){return er}var ie=getTypeListId($)+"|"+E.map(q,(function(E){return E.length})).join(",")+"|"+q.join("");var ae=Nt.get(ie);if(!ae){Nt.set(ie,ae=createTemplateLiteralType(q,$))}return ae;function addSpans(E,N){for(var R=0;R<N.length;R++){var j=N[R];if(j.flags&(2944|65536|32768)){G+=getTemplateStringForType(j)||"";G+=E[R+1]}else if(j.flags&134217728){G+=j.texts[0];if(!addSpans(j.texts,j.types))return false;G+=E[R+1]}else if(isGenericIndexType(j)||isPatternLiteralPlaceholderType(j)){$.push(j);q.push(G);G=E[R+1]}else{return false}}return true}}function getTemplateStringForType(N){return N.flags&128?N.value:N.flags&256?""+N.value:N.flags&2048?E.pseudoBigIntToString(N.value):N.flags&(512|98304)?N.intrinsicName:undefined}function createTemplateLiteralType(E,N){var R=createType(134217728);R.texts=E;R.types=N;return R}function getStringMappingType(E,N){return N.flags&(1048576|131072)?mapType(N,(function(N){return getStringMappingType(E,N)})):isGenericIndexType(N)?getStringMappingTypeForGenericType(E,N):N.flags&128?getStringLiteralType(applyStringMapping(E,N.value)):N}function applyStringMapping(E,N){switch(Ke.get(E.escapedName)){case 0:return N.toUpperCase();case 1:return N.toLowerCase();case 2:return N.charAt(0).toUpperCase()+N.slice(1);case 3:return N.charAt(0).toLowerCase()+N.slice(1)}return N}function getStringMappingTypeForGenericType(E,N){var R=getSymbolId(E)+","+getTypeId(N);var j=Ot.get(R);if(!j){Ot.set(R,j=createStringMappingType(E,N))}return j}function createStringMappingType(E,N){var R=createType(268435456);R.symbol=E;R.type=N;return R}function createIndexedAccessType(E,N,R,j,$){var q=createType(8388608);q.objectType=E;q.indexType=N;q.accessFlags=R;q.aliasSymbol=j;q.aliasTypeArguments=$;return q}function isJSLiteralType(N){if(st){return false}if(E.getObjectFlags(N)&8192){return true}if(N.flags&1048576){return E.every(N.types,isJSLiteralType)}if(N.flags&2097152){return E.some(N.types,isJSLiteralType)}if(N.flags&465829888){var R=getResolvedBaseConstraint(N);return R!==N&&isJSLiteralType(R)}return false}function getPropertyNameFromIndex(N,R){return isTypeUsableAsPropertyName(N)?getPropertyNameFromType(N):R&&E.isPropertyName(R)?E.getPropertyNameForPropertyNameNode(R):undefined}function isUncalledFunctionReference(N,R){if(R.flags&(16|8192)){var j=E.findAncestor(N.parent,(function(N){return!E.isAccessExpression(N)}))||N.parent;if(E.isCallLikeExpression(j)){return E.isCallOrNewExpression(j)&&E.isIdentifier(N)&&hasMatchingArgument(j,N)}return E.every(R.declarations,(function(N){return!E.isFunctionLike(N)||!!(E.getCombinedNodeFlags(N)&134217728)}))}return true}function getPropertyTypeForIndexType(N,R,j,$,q,G){var ie;var ae=q&&q.kind===205?q:undefined;var ce=q&&E.isPrivateIdentifier(q)?undefined:getPropertyNameFromIndex(j,q);if(ce!==undefined){if(G&256){return getTypeOfPropertyOfContextualType(R,ce)||zt}var le=getPropertyOfType(R,ce);if(le){if(G&64&&q&&le.declarations&&getDeclarationNodeFlagsFromSymbol(le)&134217728&&isUncalledFunctionReference(q,le)){var _e=(ie=ae===null||ae===void 0?void 0:ae.argumentExpression)!==null&&ie!==void 0?ie:E.isIndexedAccessTypeNode(q)?q.indexType:q;addDeprecatedSuggestion(_e,le.declarations,ce)}if(ae){markPropertyAsReferenced(le,ae,isSelfTypeAccess(ae.expression,R.symbol));if(isAssignmentToReadonlyEntity(ae,le,E.getAssignmentTargetKind(ae))){error(ae.argumentExpression,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,symbolToString(le));return undefined}if(G&8){getNodeLinks(q).resolvedSymbol=le}if(isThisPropertyAccessInConstructor(ae,le)){return Wt}}var Ee=getTypeOfSymbol(le);return ae&&E.getAssignmentTargetKind(ae)!==1?getFlowTypeOfReference(ae,Ee):Ee}if(everyType(R,isTupleType)&&isNumericLiteralName(ce)&&+ce>=0){if(q&&everyType(R,(function(E){return!E.target.hasRestElement}))&&!(G&16)){var Te=getIndexNodeForAccessExpression(q);if(isTupleType(R)){error(Te,E.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,typeToString(R),getTypeReferenceArity(R),E.unescapeLeadingUnderscores(ce))}else{error(Te,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores(ce),typeToString(R))}}errorIfWritingToReadonlyIndex(getIndexInfoOfType(R,tr));return mapType(R,(function(E){var N=getRestTypeOfTupleType(E)||Gt;return G&1?getUnionType([N,Gt]):N}))}}if(!(j.flags&98304)&&isTypeAssignableToKind(j,402653316|296|12288)){if(R.flags&(1|131072)){return R}var we=getApplicableIndexInfo(R,j)||getIndexInfoOfType(R,er);if(we){if(G&2&&we.keyType!==tr){if(ae){error(ae,E.Diagnostics.Type_0_cannot_be_used_to_index_type_1,typeToString(j),typeToString(N))}return undefined}if(q&&we.keyType===er&&!isTypeAssignableToKind(j,4|8)){var Te=getIndexNodeForAccessExpression(q);error(Te,E.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(j));return G&1?getUnionType([we.type,Gt]):we.type}errorIfWritingToReadonlyIndex(we);return G&1?getUnionType([we.type,Gt]):we.type}if(j.flags&131072){return dr}if(isJSLiteralType(R)){return zt}if(ae&&!isConstEnumObjectType(R)){if(isObjectLiteralType(R)){if(st&&j.flags&(128|256)){xi.add(E.createDiagnosticForNode(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R)));return Gt}else if(j.flags&(8|4)){var Ie=E.map(R.properties,(function(E){return getTypeOfSymbol(E)}));return getUnionType(E.append(Ie,Gt))}}if(R.symbol===bt&&ce!==undefined&&bt.exports.has(ce)&&bt.exports.get(ce).flags&418){error(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores(ce),typeToString(R))}else if(st&&!Xe.suppressImplicitAnyIndexErrors&&!(G&128)){if(ce!==undefined&&typeHasStaticProperty(ce,R)){var Ne=typeToString(R);error(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,Ne,Ne+"["+E.getTextOfNode(ae.argumentExpression)+"]")}else if(getIndexTypeOfType(R,tr)){error(ae.argumentExpression,E.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number)}else{var Me=void 0;if(ce!==undefined&&(Me=getSuggestionForNonexistentProperty(ce,R))){if(Me!==undefined){error(ae.argumentExpression,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ce,typeToString(R),Me)}}else{var Le=getSuggestionForNonexistentIndexSignature(R,ae,j);if(Le!==undefined){error(ae,E.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,typeToString(R),Le)}else{var Be=void 0;if(j.flags&1024){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,"["+typeToString(j)+"]",typeToString(R))}else if(j.flags&8192){var je=getFullyQualifiedName(j.symbol,ae);Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,"["+je+"]",typeToString(R))}else if(j.flags&128){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R))}else if(j.flags&256){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R))}else if(j.flags&(8|4)){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,typeToString(j),typeToString(R))}Be=E.chainDiagnosticMessages(Be,E.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,typeToString($),typeToString(R));xi.add(E.createDiagnosticForNodeFromMessageChain(ae,Be))}}}}return undefined}}if(isJSLiteralType(R)){return zt}if(q){var Te=getIndexNodeForAccessExpression(q);if(j.flags&(128|256)){error(Te,E.Diagnostics.Property_0_does_not_exist_on_type_1,""+j.value,typeToString(R))}else if(j.flags&(4|8)){error(Te,E.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,typeToString(R),typeToString(j))}else{error(Te,E.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(j))}}if(isTypeAny(j)){return j}return undefined;function errorIfWritingToReadonlyIndex(N){if(N&&N.isReadonly&&ae&&(E.isAssignmentTarget(ae)||E.isDeleteTarget(ae))){error(ae,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(R))}}}function getIndexNodeForAccessExpression(E){return E.kind===205?E.argumentExpression:E.kind===192?E.indexType:E.kind===160?E.expression:E}function isPatternLiteralPlaceholderType(E){return!!(E.flags&(1|4|8|64))}function isPatternLiteralType(N){return!!(N.flags&134217728)&&E.every(N.types,isPatternLiteralPlaceholderType)}function isGenericType(E){return!!getGenericObjectFlags(E)}function isGenericObjectType(E){return!!(getGenericObjectFlags(E)&8388608)}function isGenericIndexType(E){return!!(getGenericObjectFlags(E)&16777216)}function getGenericObjectFlags(N){if(N.flags&3145728){if(!(N.objectFlags&4194304)){N.objectFlags|=4194304|E.reduceLeft(N.types,(function(E,N){return E|getGenericObjectFlags(N)}),0)}return N.objectFlags&25165824}if(N.flags&33554432){if(!(N.objectFlags&4194304)){N.objectFlags|=4194304|getGenericObjectFlags(N.substitute)|getGenericObjectFlags(N.baseType)}return N.objectFlags&25165824}return(N.flags&58982400||isGenericMappedType(N)||isGenericTupleType(N)?8388608:0)|(N.flags&(58982400|4194304|134217728|268435456)&&!isPatternLiteralType(N)?16777216:0)}function isThisTypeParameter(E){return!!(E.flags&262144&&E.isThisType)}function getSimplifiedType(E,N){return E.flags&8388608?getSimplifiedIndexedAccessType(E,N):E.flags&16777216?getSimplifiedConditionalType(E,N):E}function distributeIndexOverObjectType(N,R,j){if(N.flags&3145728){var $=E.map(N.types,(function(E){return getSimplifiedType(getIndexedAccessType(E,R),j)}));return N.flags&2097152||j?getIntersectionType($):getUnionType($)}}function distributeObjectOverIndexType(N,R,j){if(R.flags&1048576){var $=E.map(R.types,(function(E){return getSimplifiedType(getIndexedAccessType(N,E),j)}));return j?getIntersectionType($):getUnionType($)}}function getSimplifiedIndexedAccessType(E,N){var R=N?"simplifiedForWriting":"simplifiedForReading";if(E[R]){return E[R]===Fr?E:E[R]}E[R]=Fr;var j=getSimplifiedType(E.objectType,N);var $=getSimplifiedType(E.indexType,N);var q=distributeObjectOverIndexType(j,$,N);if(q){return E[R]=q}if(!($.flags&465829888)){var G=distributeIndexOverObjectType(j,$,N);if(G){return E[R]=G}}if(isGenericTupleType(j)&&$.flags&296){var ie=getElementTypeOfSliceOfTupleType(j,$.flags&8?0:j.target.fixedLength,0,N);if(ie){return E[R]=ie}}if(isGenericMappedType(j)){return E[R]=mapType(substituteIndexedMappedType(j,E.indexType),(function(E){return getSimplifiedType(E,N)}))}return E[R]=E}function isConditionalTypeAlwaysTrueDisregardingInferTypes(N){var R=N.root.inferTypeParameters&&createTypeMapper(N.root.inferTypeParameters,E.map(N.root.inferTypeParameters,(function(){return $t})));var j=N.checkType;var $=N.extendsType;return isTypeAssignableTo(getRestrictiveInstantiation(j),getRestrictiveInstantiation(instantiateType($,R)))}function getSimplifiedConditionalType(E,N){var R=E.checkType;var j=E.extendsType;var $=getTrueTypeFromConditionalType(E);var q=getFalseTypeFromConditionalType(E);if(q.flags&131072&&getActualTypeVariable($)===getActualTypeVariable(R)){if(R.flags&1||isTypeAssignableTo(getRestrictiveInstantiation(R),getRestrictiveInstantiation(j))){return getSimplifiedType($,N)}else if(isIntersectionEmpty(R,j)){return dr}}else if($.flags&131072&&getActualTypeVariable(q)===getActualTypeVariable(R)){if(!(R.flags&1)&&isTypeAssignableTo(getRestrictiveInstantiation(R),getRestrictiveInstantiation(j))){return dr}else if(R.flags&1||isIntersectionEmpty(R,j)){return getSimplifiedType(q,N)}}return E}function isIntersectionEmpty(E,N){return!!(getUnionType([intersectTypes(E,N),dr]).flags&131072)}function substituteIndexedMappedType(E,N){var R=createTypeMapper([getTypeParameterFromMappedType(E)],[N]);var j=combineTypeMappers(E.mapper,R);return instantiateType(getTemplateTypeFromMappedType(E),j)}function getIndexedAccessType(E,N,R,j,$,q){if(R===void 0){R=0}return getIndexedAccessTypeOrUndefined(E,N,R,j,$,q)||(j?Jt:Ht)}function indexTypeLessThan(E,N){return everyType(E,(function(E){if(E.flags&384){var R=getPropertyNameFromType(E);if(isNumericLiteralName(R)){var j=+R;return j>=0&&j<N}}return false}))}function getIndexedAccessTypeOrUndefined(E,N,R,j,$,q){if(R===void 0){R=0}if(E===$t||N===$t){return $t}if(isStringIndexSignatureOnlyType(E)&&!(N.flags&98304)&&isTypeAssignableToKind(N,4|8)){N=er}if(Xe.noUncheckedIndexedAccess&&R&32)R|=1;if(isGenericIndexType(N)||(j&&j.kind!==192?isGenericTupleType(E)&&!indexTypeLessThan(N,E.target.fixedLength):isGenericObjectType(E)&&!(isTupleType(E)&&indexTypeLessThan(N,E.target.fixedLength)))){if(E.flags&3){return E}var G=R&1;var ie=E.id+","+N.id+","+G+getAliasId($,q);var ae=It.get(ie);if(!ae){It.set(ie,ae=createIndexedAccessType(E,N,G,$,q))}return ae}var ce=getReducedApparentType(E);if(N.flags&1048576&&!(N.flags&16)){var le=[];var _e=false;for(var Ee=0,Te=N.types;Ee<Te.length;Ee++){var we=Te[Ee];var Ie=getPropertyTypeForIndexType(E,ce,we,N,j,R|(_e?128:0));if(Ie){le.push(Ie)}else if(!j){return undefined}else{_e=true}}if(_e){return undefined}return R&4?getIntersectionType(le,$,q):getUnionType(le,1,$,q)}return getPropertyTypeForIndexType(E,ce,N,N,j,R|8|64)}function getTypeFromIndexedAccessTypeNode(E){var N=getNodeLinks(E);if(!N.resolvedType){var R=getTypeFromTypeNode(E.objectType);var j=getTypeFromTypeNode(E.indexType);var $=getAliasSymbolForTypeNode(E);var q=getIndexedAccessType(R,j,0,E,$,getTypeArgumentsForAliasSymbol($));N.resolvedType=q.flags&8388608&&q.objectType===R&&q.indexType===j?getConditionalFlowTypeOfType(q,E):q}return N.resolvedType}function getTypeFromMappedTypeNode(E){var N=getNodeLinks(E);if(!N.resolvedType){var R=createObjectType(32,E.symbol);R.declaration=E;R.aliasSymbol=getAliasSymbolForTypeNode(E);R.aliasTypeArguments=getTypeArgumentsForAliasSymbol(R.aliasSymbol);N.resolvedType=R;getConstraintTypeFromMappedType(R)}return N.resolvedType}function getActualTypeVariable(E){if(E.flags&33554432){return E.baseType}if(E.flags&8388608&&(E.objectType.flags&33554432||E.indexType.flags&33554432)){return getIndexedAccessType(getActualTypeVariable(E.objectType),getActualTypeVariable(E.indexType))}return E}function isTypicalNondistributiveConditional(E){return!E.isDistributive&&isSingletonTupleType(E.node.checkType)&&isSingletonTupleType(E.node.extendsType)}function isSingletonTupleType(N){return E.isTupleTypeNode(N)&&E.length(N.elements)===1&&!E.isOptionalTypeNode(N.elements[0])&&!E.isRestTypeNode(N.elements[0])}function unwrapNondistributiveConditionalTuple(E,N){return isTypicalNondistributiveConditional(E)&&isTupleType(N)?getTypeArguments(N)[0]:N}function getConditionalType(N,R,j,$){var q;var G;while(true){var ie=isTypicalNondistributiveConditional(N);var ae=instantiateType(unwrapNondistributiveConditionalTuple(N,getActualTypeVariable(N.checkType)),R);var ce=isGenericType(ae);var le=instantiateType(unwrapNondistributiveConditionalTuple(N,N.extendsType),R);if(ae===$t||le===$t){return $t}var _e=void 0;if(N.inferTypeParameters){var Ee=createInferenceContext(N.inferTypeParameters,undefined,0);if(!ce){inferTypes(Ee.inferences,ae,le,512|1024)}_e=R?combineTypeMappers(Ee.mapper,R):Ee.mapper}var Te=_e?instantiateType(unwrapNondistributiveConditionalTuple(N,N.extendsType),_e):le;if(!ce&&!isGenericType(Te)){if(!(Te.flags&3)&&(ae.flags&1&&!ie||!isTypeAssignableTo(getPermissiveInstantiation(ae),getPermissiveInstantiation(Te)))){if(ae.flags&1&&!ie){(G||(G=[])).push(instantiateType(getTypeFromTypeNode(N.node.trueType),_e||R))}var we=getTypeFromTypeNode(N.node.falseType);if(we.flags&16777216){var Ie=we.root;if(Ie.node.parent===N.node&&(!Ie.isDistributive||Ie.checkType===N.checkType)){N=Ie;continue}}q=instantiateType(we,R);break}if(Te.flags&3||isTypeAssignableTo(getRestrictiveInstantiation(ae),getRestrictiveInstantiation(Te))){q=instantiateType(getTypeFromTypeNode(N.node.trueType),_e||R);break}}q=createType(16777216);q.root=N;q.checkType=instantiateType(N.checkType,R);q.extendsType=instantiateType(N.extendsType,R);q.mapper=R;q.combinedMapper=_e;q.aliasSymbol=j||N.aliasSymbol;q.aliasTypeArguments=j?$:instantiateTypes(N.aliasTypeArguments,R);break}return G?getUnionType(E.append(G,q)):q}function getTrueTypeFromConditionalType(E){return E.resolvedTrueType||(E.resolvedTrueType=instantiateType(getTypeFromTypeNode(E.root.node.trueType),E.mapper))}function getFalseTypeFromConditionalType(E){return E.resolvedFalseType||(E.resolvedFalseType=instantiateType(getTypeFromTypeNode(E.root.node.falseType),E.mapper))}function getInferredTrueTypeFromConditionalType(E){return E.resolvedInferredTrueType||(E.resolvedInferredTrueType=E.combinedMapper?instantiateType(getTypeFromTypeNode(E.root.node.trueType),E.combinedMapper):getTrueTypeFromConditionalType(E))}function getInferTypeParameters(N){var R;if(N.locals){N.locals.forEach((function(N){if(N.flags&262144){R=E.append(R,getDeclaredTypeOfSymbol(N))}}))}return R}function getTypeFromConditionalTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=getTypeFromTypeNode(N.checkType);var $=getAliasSymbolForTypeNode(N);var q=getTypeArgumentsForAliasSymbol($);var G=getOuterTypeParameters(N,true);var ie=q?G:E.filter(G,(function(E){return isTypeParameterPossiblyReferenced(E,N)}));var ae={node:N,checkType:j,extendsType:getTypeFromTypeNode(N.extendsType),isDistributive:!!(j.flags&262144),inferTypeParameters:getInferTypeParameters(N),outerTypeParameters:ie,instantiations:undefined,aliasSymbol:$,aliasTypeArguments:q};R.resolvedType=getConditionalType(ae,undefined);if(ie){ae.instantiations=new E.Map;ae.instantiations.set(getTypeListId(ie),R.resolvedType)}}return R.resolvedType}function getTypeFromInferTypeNode(E){var N=getNodeLinks(E);if(!N.resolvedType){N.resolvedType=getDeclaredTypeOfTypeParameter(getSymbolOfNode(E.typeParameter))}return N.resolvedType}function getIdentifierChain(N){if(E.isIdentifier(N)){return[N]}else{return E.append(getIdentifierChain(N.left),N.right)}}function getTypeFromImportTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){if(N.isTypeOf&&N.typeArguments){error(N,E.Diagnostics.Type_arguments_cannot_be_used_here);R.resolvedSymbol=jt;return R.resolvedType=Jt}if(!E.isLiteralImportTypeNode(N)){error(N.argument,E.Diagnostics.String_literal_expected);R.resolvedSymbol=jt;return R.resolvedType=Jt}var j=N.isTypeOf?111551:N.flags&4194304?111551|788968:788968;var $=resolveExternalModuleName(N,N.argument.literal);if(!$){R.resolvedSymbol=jt;return R.resolvedType=Jt}var q=resolveExternalModuleSymbol($,false);if(!E.nodeIsMissing(N.qualifier)){var G=getIdentifierChain(N.qualifier);var ie=q;var ae=void 0;while(ae=G.shift()){var ce=G.length?1920:j;var le=getMergedSymbol(resolveSymbol(ie));var _e=N.isTypeOf?getPropertyOfType(getTypeOfSymbol(le),ae.escapedText):getSymbol(getExportsOfSymbol(le),ae.escapedText,ce);if(!_e){error(ae,E.Diagnostics.Namespace_0_has_no_exported_member_1,getFullyQualifiedName(ie),E.declarationNameToString(ae));return R.resolvedType=Jt}getNodeLinks(ae).resolvedSymbol=_e;getNodeLinks(ae.parent).resolvedSymbol=_e;ie=_e}R.resolvedType=resolveImportSymbolType(N,R,ie,j)}else{if(q.flags&j){R.resolvedType=resolveImportSymbolType(N,R,q,j)}else{var Ee=j===111551?E.Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:E.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;error(N,Ee,N.argument.literal.text);R.resolvedSymbol=jt;R.resolvedType=Jt}}}return R.resolvedType}function resolveImportSymbolType(E,N,R,j){var $=resolveSymbol(R);N.resolvedSymbol=$;if(j===111551){return getTypeOfSymbol(R)}else{return getTypeReferenceType(E,$)}}function getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=getAliasSymbolForTypeNode(N);if(getMembersOfSymbol(N.symbol).size===0&&!j){R.resolvedType=Dr}else{var $=createObjectType(16,N.symbol);$.aliasSymbol=j;$.aliasTypeArguments=getTypeArgumentsForAliasSymbol(j);if(E.isJSDocTypeLiteral(N)&&N.isArrayType){$=createArrayType($)}R.resolvedType=$}}return R.resolvedType}function getAliasSymbolForTypeNode(N){var R=N.parent;while(E.isParenthesizedTypeNode(R)||E.isJSDocTypeExpression(R)||E.isTypeOperatorNode(R)&&R.operator===143){R=R.parent}return E.isTypeAlias(R)?getSymbolOfNode(R):undefined}function getTypeArgumentsForAliasSymbol(E){return E?getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(E):undefined}function isNonGenericObjectType(E){return!!(E.flags&524288)&&!isGenericMappedType(E)}function isEmptyObjectTypeOrSpreadsIntoEmptyObject(E){return isEmptyObjectType(E)||!!(E.flags&(65536|32768|528|296|2112|402653316|1056|67108864|4194304))}function tryMergeUnionOfObjectTypeAndEmptyObject(N,R){if(!(N.flags&1048576)){return N}if(E.every(N.types,isEmptyObjectTypeOrSpreadsIntoEmptyObject)){return E.find(N.types,isEmptyObjectType)||Tr}var j=E.find(N.types,(function(E){return!isEmptyObjectTypeOrSpreadsIntoEmptyObject(E)}));if(!j){return N}var $=E.find(N.types,(function(E){return E!==j&&!isEmptyObjectTypeOrSpreadsIntoEmptyObject(E)}));if($){return N}return getAnonymousPartialType(j);function getAnonymousPartialType(N){var j=E.createSymbolTable();for(var $=0,q=getPropertiesOfType(N);$<q.length;$++){var G=q[$];if(E.getDeclarationModifierFlagsFromSymbol(G)&(8|16)){}else if(isSpreadableProperty(G)){var ie=G.flags&65536&&!(G.flags&32768);var ae=4|16777216;var ce=createSymbol(ae,G.escapedName,getIsLateCheckFlag(G)|(R?8:0));ce.type=ie?Gt:addOptionality(getTypeOfSymbol(G),true);ce.declarations=G.declarations;ce.nameType=getSymbolLinks(G).nameType;ce.syntheticOrigin=G;j.set(G.escapedName,ce)}}var le=createAnonymousType(N.symbol,j,E.emptyArray,E.emptyArray,getIndexInfosOfType(N));le.objectFlags|=128|262144;return le}}function getSpreadType(N,R,j,$,q){if(N.flags&1||R.flags&1){return zt}if(N.flags&2||R.flags&2){return Ht}if(N.flags&131072){return R}if(R.flags&131072){return N}N=tryMergeUnionOfObjectTypeAndEmptyObject(N,q);if(N.flags&1048576){return checkCrossProductUnion([N,R])?mapType(N,(function(E){return getSpreadType(E,R,j,$,q)})):Jt}R=tryMergeUnionOfObjectTypeAndEmptyObject(R,q);if(R.flags&1048576){return checkCrossProductUnion([N,R])?mapType(R,(function(E){return getSpreadType(N,E,j,$,q)})):Jt}if(R.flags&(528|296|2112|402653316|1056|67108864|4194304)){return N}if(isGenericObjectType(N)||isGenericObjectType(R)){if(isEmptyObjectType(N)){return R}if(N.flags&2097152){var G=N.types;var ie=G[G.length-1];if(isNonGenericObjectType(ie)&&isNonGenericObjectType(R)){return getIntersectionType(E.concatenate(G.slice(0,G.length-1),[getSpreadType(ie,R,j,$,q)]))}}return getIntersectionType([N,R])}var ae=E.createSymbolTable();var ce=new E.Set;var le=N===Tr?getIndexInfosOfType(R):getUnionIndexInfos([N,R]);for(var _e=0,Ee=getPropertiesOfType(R);_e<Ee.length;_e++){var Te=Ee[_e];if(E.getDeclarationModifierFlagsFromSymbol(Te)&(8|16)){ce.add(Te.escapedName)}else if(isSpreadableProperty(Te)){ae.set(Te.escapedName,getSpreadSymbol(Te,q))}}for(var we=0,Ie=getPropertiesOfType(N);we<Ie.length;we++){var Ne=Ie[we];if(ce.has(Ne.escapedName)||!isSpreadableProperty(Ne)){continue}if(ae.has(Ne.escapedName)){var Te=ae.get(Ne.escapedName);var Me=getTypeOfSymbol(Te);if(Te.flags&16777216){var Le=E.concatenate(Ne.declarations,Te.declarations);var Be=4|Ne.flags&16777216;var je=createSymbol(Be,Ne.escapedName);je.type=getUnionType([getTypeOfSymbol(Ne),removeMissingOrUndefinedType(Me)]);je.leftSpread=Ne;je.rightSpread=Te;je.declarations=Le;je.nameType=getSymbolLinks(Ne).nameType;ae.set(Ne.escapedName,je)}}else{ae.set(Ne.escapedName,getSpreadSymbol(Ne,q))}}var Ue=createAnonymousType(j,ae,E.emptyArray,E.emptyArray,E.sameMap(le,(function(E){return getIndexInfoWithReadonly(E,q)})));Ue.objectFlags|=128|262144|4194304|$;return Ue}function isSpreadableProperty(N){var R;return!E.some(N.declarations,E.isPrivateIdentifierClassElementDeclaration)&&(!(N.flags&(8192|32768|65536))||!((R=N.declarations)===null||R===void 0?void 0:R.some((function(N){return E.isClassLike(N.parent)}))))}function getSpreadSymbol(E,N){var R=E.flags&65536&&!(E.flags&32768);if(!R&&N===isReadonlySymbol(E)){return E}var j=4|E.flags&16777216;var $=createSymbol(j,E.escapedName,getIsLateCheckFlag(E)|(N?8:0));$.type=R?Gt:getTypeOfSymbol(E);$.declarations=E.declarations;$.nameType=getSymbolLinks(E).nameType;$.syntheticOrigin=E;return $}function getIndexInfoWithReadonly(E,N){return E.isReadonly!==N?createIndexInfo(E.keyType,E.type,N,E.declaration):E}function createLiteralType(E,N,R,j){var $=createType(E);$.symbol=R;$.value=N;$.regularType=j||$;return $}function getFreshTypeOfLiteralType(E){if(E.flags&2944){if(!E.freshType){var N=createLiteralType(E.flags,E.value,E.symbol,E);N.freshType=N;E.freshType=N}return E.freshType}return E}function getRegularTypeOfLiteralType(E){return E.flags&2944?E.regularType:E.flags&1048576?E.regularType||(E.regularType=mapType(E,getRegularTypeOfLiteralType)):E}function isFreshLiteralType(E){return!!(E.flags&2944)&&E.freshType===E}function getStringLiteralType(E){var N;return At.get(E)||(At.set(E,N=createLiteralType(128,E)),N)}function getNumberLiteralType(E){var N;return wt.get(E)||(wt.set(E,N=createLiteralType(256,E)),N)}function getBigIntLiteralType(N){var R;var j=E.pseudoBigIntToString(N);return Pt.get(j)||(Pt.set(j,R=createLiteralType(2048,N)),R)}function getEnumLiteralType(E,N,R){var j;var $=typeof E==="string"?"@":"#";var q=N+$+E;var G=1024|(typeof E==="string"?128:256);return Ft.get(q)||(Ft.set(q,j=createLiteralType(G,E,R)),j)}function getTypeFromLiteralTypeNode(E){if(E.literal.kind===104){return Yt}var N=getNodeLinks(E);if(!N.resolvedType){N.resolvedType=getRegularTypeOfLiteralType(checkExpression(E.literal))}return N.resolvedType}function createUniqueESSymbolType(E){var N=createType(8192);N.symbol=E;N.escapedName="__@"+N.symbol.escapedName+"@"+getSymbolId(N.symbol);return N}function getESSymbolLikeTypeForNode(N){if(E.isValidESSymbolDeclaration(N)){var R=getSymbolOfNode(N);var j=getSymbolLinks(R);return j.uniqueESSymbolType||(j.uniqueESSymbolType=createUniqueESSymbolType(R))}return lr}function getThisType(N){var R=E.getThisContainer(N,false);var j=R&&R.parent;if(j&&(E.isClassLike(j)||j.kind===256)){if(!E.isStatic(R)&&(!E.isConstructorDeclaration(R)||E.isNodeDescendantOf(N,R.body))){return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(j)).thisType}}if(j&&E.isObjectLiteralExpression(j)&&E.isBinaryExpression(j.parent)&&E.getAssignmentDeclarationKind(j.parent)===6){return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(j.parent.left).parent).thisType}var $=N.flags&4194304?E.getHostSignatureFromJSDoc(N):undefined;if($&&E.isFunctionExpression($)&&E.isBinaryExpression($.parent)&&E.getAssignmentDeclarationKind($.parent)===3){return getDeclaredTypeOfClassOrInterface(getSymbolOfNode($.parent.left).parent).thisType}if(isJSConstructor(R)&&E.isNodeDescendantOf(N,R.body)){return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(R)).thisType}error(N,E.Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface);return Jt}function getTypeFromThisTypeNode(E){var N=getNodeLinks(E);if(!N.resolvedType){N.resolvedType=getThisType(E)}return N.resolvedType}function getTypeFromRestTypeNode(E){return getTypeFromTypeNode(getArrayElementTypeNode(E.type)||E.type)}function getArrayElementTypeNode(E){switch(E.kind){case 189:return getArrayElementTypeNode(E.type);case 182:if(E.elements.length===1){E=E.elements[0];if(E.kind===184||E.kind===195&&E.dotDotDotToken){return getArrayElementTypeNode(E.type)}}break;case 181:return E.elementType}return undefined}function getTypeFromNamedTupleTypeNode(E){var N=getNodeLinks(E);return N.resolvedType||(N.resolvedType=E.dotDotDotToken?getTypeFromRestTypeNode(E):addOptionality(getTypeFromTypeNode(E.type),true,!!E.questionToken))}function getTypeFromTypeNode(E){return getConditionalFlowTypeOfType(getTypeFromTypeNodeWorker(E),E)}function getTypeFromTypeNodeWorker(E){switch(E.kind){case 129:case 307:case 308:return zt;case 153:return Ht;case 148:return er;case 145:return tr;case 156:return rr;case 132:return cr;case 149:return lr;case 114:return ur;case 151:return Gt;case 104:return Yt;case 142:return dr;case 146:return E.flags&131072&&!st?zt:hr;case 137:return qt;case 190:case 108:return getTypeFromThisTypeNode(E);case 194:return getTypeFromLiteralTypeNode(E);case 176:return getTypeFromTypeReference(E);case 175:return E.assertsModifier?ur:cr;case 226:return getTypeFromTypeReference(E);case 179:return getTypeFromTypeQueryNode(E);case 181:case 182:return getTypeFromArrayOrTupleTypeNode(E);case 183:return getTypeFromOptionalTypeNode(E);case 185:return getTypeFromUnionTypeNode(E);case 186:return getTypeFromIntersectionTypeNode(E);case 309:return getTypeFromJSDocNullableTypeNode(E);case 311:return addOptionality(getTypeFromTypeNode(E.type));case 195:return getTypeFromNamedTupleTypeNode(E);case 189:case 310:case 304:return getTypeFromTypeNode(E.type);case 184:return getTypeFromRestTypeNode(E);case 313:return getTypeFromJSDocVariadicType(E);case 177:case 178:case 180:case 317:case 312:case 318:return getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(E);case 191:return getTypeFromTypeOperatorNode(E);case 192:return getTypeFromIndexedAccessTypeNode(E);case 193:return getTypeFromMappedTypeNode(E);case 187:return getTypeFromConditionalTypeNode(E);case 188:return getTypeFromInferTypeNode(E);case 196:return getTypeFromTemplateTypeNode(E);case 198:return getTypeFromImportTypeNode(E);case 79:case 159:case 204:var N=getSymbolAtLocation(E);return N?getDeclaredTypeOfSymbol(N):Jt;default:return Jt}}function instantiateList(E,N,R){if(E&&E.length){for(var j=0;j<E.length;j++){var $=E[j];var q=R($,N);if($!==q){var G=j===0?[]:E.slice(0,j);G.push(q);for(j++;j<E.length;j++){G.push(R(E[j],N))}return G}}}return E}function instantiateTypes(E,N){return instantiateList(E,N,instantiateType)}function instantiateSignatures(E,N){return instantiateList(E,N,instantiateSignature)}function instantiateIndexInfos(E,N){return instantiateList(E,N,instantiateIndexInfo)}function createTypeMapper(E,N){return E.length===1?makeUnaryTypeMapper(E[0],N?N[0]:zt):makeArrayTypeMapper(E,N)}function getMappedType(E,N){switch(N.kind){case 0:return E===N.source?N.target:E;case 1:var R=N.sources;var j=N.targets;for(var $=0;$<R.length;$++){if(E===R[$]){return j?j[$]:zt}}return E;case 2:return N.func(E);case 3:case 4:var q=getMappedType(E,N.mapper1);return q!==E&&N.kind===3?instantiateType(q,N.mapper2):getMappedType(q,N.mapper2)}}function makeUnaryTypeMapper(E,N){return{kind:0,source:E,target:N}}function makeArrayTypeMapper(E,N){return{kind:1,sources:E,targets:N}}function makeFunctionTypeMapper(E){return{kind:2,func:E}}function makeCompositeTypeMapper(E,N,R){return{kind:E,mapper1:N,mapper2:R}}function createTypeEraser(E){return createTypeMapper(E,undefined)}function createBackreferenceMapper(N,R){return makeFunctionTypeMapper((function(j){return E.findIndex(N.inferences,(function(E){return E.typeParameter===j}))>=R?Ht:j}))}function combineTypeMappers(E,N){return E?makeCompositeTypeMapper(3,E,N):N}function mergeTypeMappers(E,N){return E?makeCompositeTypeMapper(4,E,N):N}function prependTypeMapping(E,N,R){return!R?makeUnaryTypeMapper(E,N):makeCompositeTypeMapper(4,makeUnaryTypeMapper(E,N),R)}function appendTypeMapping(E,N,R){return!E?makeUnaryTypeMapper(N,R):makeCompositeTypeMapper(4,E,makeUnaryTypeMapper(N,R))}function getRestrictiveTypeParameter(E){return E.constraint===Ht?E:E.restrictiveInstantiation||(E.restrictiveInstantiation=createTypeParameter(E.symbol),E.restrictiveInstantiation.constraint=Ht,E.restrictiveInstantiation)}function cloneTypeParameter(E){var N=createTypeParameter(E.symbol);N.target=E;return N}function instantiateTypePredicate(E,N){return createTypePredicate(E.kind,E.parameterName,E.parameterIndex,instantiateType(E.type,N))}function instantiateSignature(N,R,j){var $;if(N.typeParameters&&!j){$=E.map(N.typeParameters,cloneTypeParameter);R=combineTypeMappers(createTypeMapper(N.typeParameters,$),R);for(var q=0,G=$;q<G.length;q++){var ie=G[q];ie.mapper=R}}var ae=createSignature(N.declaration,$,N.thisParameter&&instantiateSymbol(N.thisParameter,R),instantiateList(N.parameters,R,instantiateSymbol),undefined,undefined,N.minArgumentCount,N.flags&39);ae.target=N;ae.mapper=R;return ae}function instantiateSymbol(N,R){var j=getSymbolLinks(N);if(j.type&&!couldContainTypeVariables(j.type)){return N}if(E.getCheckFlags(N)&1){N=j.target;R=combineTypeMappers(j.mapper,R)}var $=createSymbol(N.flags,N.escapedName,1|E.getCheckFlags(N)&(8|4096|16384|32768));$.declarations=N.declarations;$.parent=N.parent;$.target=N;$.mapper=R;if(N.valueDeclaration){$.valueDeclaration=N.valueDeclaration}if(j.nameType){$.nameType=j.nameType}return $}function getObjectTypeInstantiation(N,R,j,$){var q=N.objectFlags&4?N.node:N.symbol.declarations[0];var G=getNodeLinks(q);var ie=N.objectFlags&4?G.resolvedType:N.objectFlags&64?N.target:N;var ae=G.outerTypeParameters;if(!ae){var ce=getOuterTypeParameters(q,true);if(isJSConstructor(q)){var le=getTypeParametersFromDeclaration(q);ce=E.addRange(ce,le)}ae=ce||E.emptyArray;var _e=N.objectFlags&4?[q]:N.symbol.declarations;ae=(ie.objectFlags&4||ie.symbol.flags&8192||ie.symbol.flags&2048)&&!ie.aliasTypeArguments?E.filter(ae,(function(N){return E.some(_e,(function(E){return isTypeParameterPossiblyReferenced(N,E)}))})):ae;G.outerTypeParameters=ae}if(ae.length){var Ee=combineTypeMappers(N.mapper,R);var Te=E.map(ae,(function(E){return getMappedType(E,Ee)}));var we=j||N.aliasSymbol;var Ie=j?$:instantiateTypes(N.aliasTypeArguments,R);var Ne=getTypeListId(Te)+getAliasId(we,Ie);if(!ie.instantiations){ie.instantiations=new E.Map;ie.instantiations.set(getTypeListId(ae)+getAliasId(ie.aliasSymbol,ie.aliasTypeArguments),ie)}var Me=ie.instantiations.get(Ne);if(!Me){var Le=createTypeMapper(ae,Te);Me=ie.objectFlags&4?createDeferredTypeReference(N.target,N.node,Le,we,Ie):ie.objectFlags&32?instantiateMappedType(ie,Le,we,Ie):instantiateAnonymousType(ie,Le,we,Ie);ie.instantiations.set(Ne,Me)}return Me}return N}function maybeTypeParameterReference(E){return!(E.parent.kind===176&&E.parent.typeArguments&&E===E.parent.typeName||E.parent.kind===198&&E.parent.typeArguments&&E===E.parent.qualifier)}function isTypeParameterPossiblyReferenced(N,R){if(N.symbol&&N.symbol.declarations&&N.symbol.declarations.length===1){var j=N.symbol.declarations[0].parent;for(var $=R;$!==j;$=$.parent){if(!$||$.kind===233||$.kind===187&&E.forEachChild($.extendsType,containsReference)){return true}}return containsReference(R)}return true;function containsReference(R){switch(R.kind){case 190:return!!N.isThisType;case 79:return!N.isThisType&&E.isPartOfTypeNode(R)&&maybeTypeParameterReference(R)&&getTypeFromTypeNodeWorker(R)===N;case 179:return true;case 167:case 166:return!R.type&&!!R.body||E.some(R.typeParameters,containsReference)||E.some(R.parameters,containsReference)||!!R.type&&containsReference(R.type)}return!!E.forEachChild(R,containsReference)}}function getHomomorphicTypeVariable(E){var N=getConstraintTypeFromMappedType(E);if(N.flags&4194304){var R=getActualTypeVariable(N.type);if(R.flags&262144){return R}}return undefined}function instantiateMappedType(E,N,R,j){var $=getHomomorphicTypeVariable(E);if($){var q=instantiateType($,N);if($!==q){return mapTypeWithAlias(getReducedType(q),(function(R){if(R.flags&(3|58982400|524288|2097152)&&R!==$t&&R!==Jt){if(!E.declaration.nameType){if(isArrayType(R)){return instantiateMappedArrayType(R,E,prependTypeMapping($,R,N))}if(isGenericTupleType(R)){return instantiateMappedGenericTupleType(R,E,$,N)}if(isTupleType(R)){return instantiateMappedTupleType(R,E,prependTypeMapping($,R,N))}}return instantiateAnonymousType(E,prependTypeMapping($,R,N))}return R}),R,j)}}return instantiateType(getConstraintTypeFromMappedType(E),N)===$t?$t:instantiateAnonymousType(E,N,R,j)}function getModifiedReadonlyState(E,N){return N&1?true:N&2?false:E}function instantiateMappedGenericTupleType(N,R,j,$){var q=N.target.elementFlags;var G=E.map(getTypeArguments(N),(function(E,N){var G=q[N]&8?E:q[N]&4?createArrayType(E):createTupleType([E],[q[N]]);return instantiateMappedType(R,prependTypeMapping(j,G,$))}));var ie=getModifiedReadonlyState(N.target.readonly,getMappedTypeModifiers(R));return createTupleType(G,E.map(G,(function(E){return 8})),ie)}function instantiateMappedArrayType(E,N,R){var j=instantiateMappedTypeTemplate(N,tr,true,R);return j===Jt?Jt:createArrayType(j,getModifiedReadonlyState(isReadonlyArrayType(E),getMappedTypeModifiers(N)))}function instantiateMappedTupleType(N,R,j){var $=N.target.elementFlags;var q=E.map(getTypeArguments(N),(function(E,N){return instantiateMappedTypeTemplate(R,getStringLiteralType(""+N),!!($[N]&2),j)}));var G=getMappedTypeModifiers(R);var ie=G&4?E.map($,(function(E){return E&1?2:E})):G&8?E.map($,(function(E){return E&2?1:E})):$;var ae=getModifiedReadonlyState(N.target.readonly,G);return E.contains(q,Jt)?Jt:createTupleType(q,ie,ae,N.target.labeledElementDeclarations)}function instantiateMappedTypeTemplate(E,N,R,j){var $=appendTypeMapping(j,getTypeParameterFromMappedType(E),N);var q=instantiateType(getTemplateTypeFromMappedType(E.target||E),$);var G=getMappedTypeModifiers(E);return rt&&G&4&&!maybeTypeOfKind(q,32768|16384)?getOptionalType(q,true):rt&&G&8&&R?getTypeWithFacts(q,524288):q}function instantiateAnonymousType(E,N,R,j){var $=createObjectType(E.objectFlags|64,E.symbol);if(E.objectFlags&32){$.declaration=E.declaration;var q=getTypeParameterFromMappedType(E);var G=cloneTypeParameter(q);$.typeParameter=G;N=combineTypeMappers(makeUnaryTypeMapper(q,G),N);G.mapper=N}$.target=E;$.mapper=N;$.aliasSymbol=R||E.aliasSymbol;$.aliasTypeArguments=R?j:instantiateTypes(E.aliasTypeArguments,N);return $}function getConditionalTypeInstantiation(N,R,j,$){var q=N.root;if(q.outerTypeParameters){var G=E.map(q.outerTypeParameters,(function(E){return getMappedType(E,R)}));var ie=getTypeListId(G)+getAliasId(j,$);var ae=q.instantiations.get(ie);if(!ae){var ce=createTypeMapper(q.outerTypeParameters,G);ae=instantiateConditionalType(q,ce,j,$);q.instantiations.set(ie,ae)}return ae}return N}function instantiateConditionalType(E,N,R,j){if(E.isDistributive){var $=E.checkType;var q=getMappedType($,N);if($!==q&&q.flags&(1048576|131072)){return mapTypeWithAlias(q,(function(R){return getConditionalType(E,prependTypeMapping($,R,N))}),R,j)}}return getConditionalType(E,N,R,j)}function instantiateType(E,N){return E&&N?instantiateTypeWithAlias(E,N,undefined,undefined):E}function instantiateTypeWithAlias(N,R,j,$){if(!couldContainTypeVariables(N)){return N}if(Ve===50||We>=5e6){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:N.id,instantiationDepth:Ve,instantiationCount:We});error(qe,E.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);return Jt}ze++;We++;Ve++;var q=instantiateTypeWorker(N,R,j,$);Ve--;return q}function instantiateTypeWorker(E,N,R,j){var $=E.flags;if($&262144){return getMappedType(E,N)}if($&524288){var q=E.objectFlags;if(q&(4|16|32)){if(q&4&&!E.node){var G=E.resolvedTypeArguments;var ie=instantiateTypes(G,N);return ie!==G?createNormalizedTypeReference(E.target,ie):E}if(q&1024){return instantiateReverseMappedType(E,N)}return getObjectTypeInstantiation(E,N,R,j)}return E}if($&3145728){var ae=E.flags&1048576?E.origin:undefined;var ce=ae&&ae.flags&3145728?ae.types:E.types;var le=instantiateTypes(ce,N);if(le===ce&&R===E.aliasSymbol){return E}var _e=R||E.aliasSymbol;var Ee=R?j:instantiateTypes(E.aliasTypeArguments,N);return $&2097152||ae&&ae.flags&2097152?getIntersectionType(le,_e,Ee):getUnionType(le,1,_e,Ee)}if($&4194304){return getIndexType(instantiateType(E.type,N))}if($&134217728){return getTemplateLiteralType(E.texts,instantiateTypes(E.types,N))}if($&268435456){return getStringMappingType(E.symbol,instantiateType(E.type,N))}if($&8388608){var _e=R||E.aliasSymbol;var Ee=R?j:instantiateTypes(E.aliasTypeArguments,N);return getIndexedAccessType(instantiateType(E.objectType,N),instantiateType(E.indexType,N),E.accessFlags,undefined,_e,Ee)}if($&16777216){return getConditionalTypeInstantiation(E,combineTypeMappers(E.mapper,N),R,j)}if($&33554432){var Te=instantiateType(E.baseType,N);if(Te.flags&8650752){return getSubstitutionType(Te,instantiateType(E.substitute,N))}else{var we=instantiateType(E.substitute,N);if(we.flags&3||isTypeAssignableTo(getRestrictiveInstantiation(Te),getRestrictiveInstantiation(we))){return Te}return we}}return E}function instantiateReverseMappedType(N,R){var j=instantiateType(N.mappedType,R);if(!(E.getObjectFlags(j)&32)){return N}var $=instantiateType(N.constraintType,R);if(!($.flags&4194304)){return N}var q=inferTypeForHomomorphicMappedType(instantiateType(N.source,R),j,$);if(q){return q}return N}function getPermissiveInstantiation(E){return E.flags&(131068|3|131072)?E:E.permissiveInstantiation||(E.permissiveInstantiation=instantiateType(E,Er))}function getRestrictiveInstantiation(E){if(E.flags&(131068|3|131072)){return E}if(E.restrictiveInstantiation){return E.restrictiveInstantiation}E.restrictiveInstantiation=instantiateType(E,Sr);E.restrictiveInstantiation.restrictiveInstantiation=E.restrictiveInstantiation;return E.restrictiveInstantiation}function instantiateIndexInfo(E,N){return createIndexInfo(E.keyType,instantiateType(E.type,N),E.isReadonly,E.declaration)}function isContextSensitive(N){E.Debug.assert(N.kind!==167||E.isObjectLiteralMethod(N));switch(N.kind){case 211:case 212:case 167:case 254:return isContextSensitiveFunctionLikeDeclaration(N);case 203:return E.some(N.properties,isContextSensitive);case 202:return E.some(N.elements,isContextSensitive);case 220:return isContextSensitive(N.whenTrue)||isContextSensitive(N.whenFalse);case 219:return(N.operatorToken.kind===56||N.operatorToken.kind===60)&&(isContextSensitive(N.left)||isContextSensitive(N.right));case 291:return isContextSensitive(N.initializer);case 210:return isContextSensitive(N.expression);case 284:return E.some(N.properties,isContextSensitive)||E.isJsxOpeningElement(N.parent)&&E.some(N.parent.parent.children,isContextSensitive);case 283:{var R=N.initializer;return!!R&&isContextSensitive(R)}case 286:{var j=N.expression;return!!j&&isContextSensitive(j)}}return false}function isContextSensitiveFunctionLikeDeclaration(N){return(!E.isFunctionDeclaration(N)||E.isInJSFile(N)&&!!getTypeForDeclarationFromJSDocComment(N))&&(E.hasContextSensitiveParameters(N)||hasContextSensitiveReturnExpression(N))}function hasContextSensitiveReturnExpression(N){return!N.typeParameters&&!E.getEffectiveReturnTypeNode(N)&&!!N.body&&N.body.kind!==233&&isContextSensitive(N.body)}function isContextSensitiveFunctionOrObjectLiteralMethod(N){return(E.isInJSFile(N)&&E.isFunctionDeclaration(N)||isFunctionExpressionOrArrowFunction(N)||E.isObjectLiteralMethod(N))&&isContextSensitiveFunctionLikeDeclaration(N)}function getTypeWithoutSignatures(N){if(N.flags&524288){var R=resolveStructuredTypeMembers(N);if(R.constructSignatures.length||R.callSignatures.length){var j=createObjectType(16,N.symbol);j.members=R.members;j.properties=R.properties;j.callSignatures=E.emptyArray;j.constructSignatures=E.emptyArray;j.indexInfos=E.emptyArray;return j}}else if(N.flags&2097152){return getIntersectionType(E.map(N.types,getTypeWithoutSignatures))}return N}function isTypeIdenticalTo(E,N){return isTypeRelatedTo(E,N,Ii)}function compareTypesIdentical(E,N){return isTypeRelatedTo(E,N,Ii)?-1:0}function compareTypesAssignable(E,N){return isTypeRelatedTo(E,N,Pi)?-1:0}function compareTypesSubtypeOf(E,N){return isTypeRelatedTo(E,N,Ai)?-1:0}function isTypeSubtypeOf(E,N){return isTypeRelatedTo(E,N,Ai)}function isTypeAssignableTo(E,N){return isTypeRelatedTo(E,N,Pi)}function isTypeDerivedFrom(N,R){return N.flags&1048576?E.every(N.types,(function(E){return isTypeDerivedFrom(E,R)})):R.flags&1048576?E.some(R.types,(function(E){return isTypeDerivedFrom(N,E)})):N.flags&58982400?isTypeDerivedFrom(getBaseConstraintOfType(N)||Ht,R):R===tn?!!(N.flags&(524288|67108864)):R===rn?!!(N.flags&524288)&&isFunctionObjectType(N):hasBaseType(N,getTargetType(R))||isArrayType(R)&&!isReadonlyArrayType(R)&&isTypeDerivedFrom(N,sn)}function isTypeComparableTo(E,N){return isTypeRelatedTo(E,N,Fi)}function areTypesComparable(E,N){return isTypeComparableTo(E,N)||isTypeComparableTo(N,E)}function checkTypeAssignableTo(E,N,R,j,$,q){return checkTypeRelatedTo(E,N,Pi,R,j,$,q)}function checkTypeAssignableToAndOptionallyElaborate(E,N,R,j,$,q){return checkTypeRelatedToAndOptionallyElaborate(E,N,Pi,R,j,$,q,undefined)}function checkTypeRelatedToAndOptionallyElaborate(E,N,R,j,$,q,G,ie){if(isTypeRelatedTo(E,N,R))return true;if(!j||!elaborateError($,E,N,R,q,G,ie)){return checkTypeRelatedTo(E,N,R,j,q,G,ie)}return false}function isOrHasGenericConditional(N){return!!(N.flags&16777216||N.flags&2097152&&E.some(N.types,isOrHasGenericConditional))}function elaborateError(E,N,R,j,$,q,G){if(!E||isOrHasGenericConditional(R))return false;if(!checkTypeRelatedTo(N,R,j,undefined)&&elaborateDidYouMeanToCallOrConstruct(E,N,R,j,$,q,G)){return true}switch(E.kind){case 286:case 210:return elaborateError(E.expression,N,R,j,$,q,G);case 219:switch(E.operatorToken.kind){case 63:case 27:return elaborateError(E.right,N,R,j,$,q,G)}break;case 203:return elaborateObjectLiteral(E,N,R,j,q,G);case 202:return elaborateArrayLiteral(E,N,R,j,q,G);case 284:return elaborateJsxComponents(E,N,R,j,q,G);case 212:return elaborateArrowFunction(E,N,R,j,q,G)}return false}function elaborateDidYouMeanToCallOrConstruct(N,R,j,$,q,G,ie){var ae=getSignaturesOfType(R,0);var ce=getSignaturesOfType(R,1);for(var le=0,_e=[ce,ae];le<_e.length;le++){var Ee=_e[le];if(E.some(Ee,(function(E){var N=getReturnTypeOfSignature(E);return!(N.flags&(1|131072))&&checkTypeRelatedTo(N,j,$,undefined)}))){var Te=ie||{};checkTypeAssignableTo(R,j,N,q,G,Te);var we=Te.errors[Te.errors.length-1];E.addRelatedInfo(we,E.createDiagnosticForNode(N,Ee===ce?E.Diagnostics.Did_you_mean_to_use_new_with_this_expression:E.Diagnostics.Did_you_mean_to_call_this_expression));return true}}return false}function elaborateArrowFunction(N,R,j,$,q,G){if(E.isBlock(N.body)){return false}if(E.some(N.parameters,E.hasType)){return false}var ie=getSingleCallSignature(R);if(!ie){return false}var ae=getSignaturesOfType(j,0);if(!E.length(ae)){return false}var ce=N.body;var le=getReturnTypeOfSignature(ie);var _e=getUnionType(E.map(ae,getReturnTypeOfSignature));if(!checkTypeRelatedTo(le,_e,$,undefined)){var Ee=ce&&elaborateError(ce,le,_e,$,undefined,q,G);if(Ee){return Ee}var Te=G||{};checkTypeRelatedTo(le,_e,$,ce,undefined,q,Te);if(Te.errors){if(j.symbol&&E.length(j.symbol.declarations)){E.addRelatedInfo(Te.errors[Te.errors.length-1],E.createDiagnosticForNode(j.symbol.declarations[0],E.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature))}if((E.getFunctionFlags(N)&2)===0&&!getTypeOfPropertyOfType(le,"then")&&checkTypeRelatedTo(createPromiseType(le),_e,$,undefined)){E.addRelatedInfo(Te.errors[Te.errors.length-1],E.createDiagnosticForNode(N,E.Diagnostics.Did_you_mean_to_mark_this_function_as_async))}return true}}return false}function getBestMatchIndexedAccessTypeOrUndefined(E,N,R){var j=getIndexedAccessTypeOrUndefined(N,R);if(j){return j}if(N.flags&1048576){var $=getBestMatchingType(E,N);if($){return getIndexedAccessTypeOrUndefined($,R)}}}function checkExpressionForMutableLocationWithContextualType(E,N){E.contextualType=N;try{return checkExpressionForMutableLocation(E,1,N)}finally{E.contextualType=undefined}}function elaborateElementwise(N,R,j,$,q,G){var ie=false;for(var ae=N.next();!ae.done;ae=N.next()){var ce=ae.value,le=ce.errorNode,_e=ce.innerExpression,Ee=ce.nameType,Te=ce.errorMessage;var we=getBestMatchIndexedAccessTypeOrUndefined(R,j,Ee);if(!we||we.flags&8388608)continue;var Ie=getIndexedAccessTypeOrUndefined(R,Ee);if(!Ie)continue;var Ne=getPropertyNameFromIndex(Ee,undefined);var Me=!!(Ne&&(getPropertyOfType(j,Ne)||jt).flags&16777216);var Le=!!(Ne&&(getPropertyOfType(R,Ne)||jt).flags&16777216);we=removeMissingType(we,Me);Ie=removeMissingType(Ie,Me&&Le);if(!checkTypeRelatedTo(Ie,we,$,undefined)){var Be=_e&&elaborateError(_e,Ie,we,$,undefined,q,G);if(Be){ie=true}else{var je=G||{};var Ue=_e?checkExpressionForMutableLocationWithContextualType(_e,Ie):Ie;var ze=checkTypeRelatedTo(Ue,we,$,le,Te,q,je);if(ze&&Ue!==Ie){checkTypeRelatedTo(Ie,we,$,le,Te,q,je)}if(je.errors){var We=je.errors[je.errors.length-1];var Je=isTypeUsableAsPropertyName(Ee)?getPropertyNameFromType(Ee):undefined;var Ve=Je!==undefined?getPropertyOfType(j,Je):undefined;var qe=false;if(!Ve){var He=getApplicableIndexInfo(j,Ee);if(He&&He.declaration&&!E.getSourceFileOfNode(He.declaration).hasNoDefaultLib){qe=true;E.addRelatedInfo(We,E.createDiagnosticForNode(He.declaration,E.Diagnostics.The_expected_type_comes_from_this_index_signature))}}if(!qe&&(Ve&&E.length(Ve.declarations)||j.symbol&&E.length(j.symbol.declarations))){var Ge=Ve&&E.length(Ve.declarations)?Ve.declarations[0]:j.symbol.declarations[0];if(!E.getSourceFileOfNode(Ge).hasNoDefaultLib){E.addRelatedInfo(We,E.createDiagnosticForNode(Ge,E.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,Je&&!(Ee.flags&8192)?E.unescapeLeadingUnderscores(Je):typeToString(Ee),typeToString(j)))}}}ie=true}}}return ie}function generateJsxAttributes(N){var R,j,$;return G(this,(function(q){switch(q.label){case 0:if(!E.length(N.properties))return[2];R=0,j=N.properties;q.label=1;case 1:if(!(R<j.length))return[3,4];$=j[R];if(E.isJsxSpreadAttribute($)||isHyphenatedJsxName(E.idText($.name)))return[3,3];return[4,{errorNode:$.name,innerExpression:$.initializer,nameType:getStringLiteralType(E.idText($.name))}];case 2:q.sent();q.label=3;case 3:R++;return[3,1];case 4:return[2]}}))}function generateJsxChildren(N,R){var j,$,q,ie,ae;return G(this,(function(G){switch(G.label){case 0:if(!E.length(N.children))return[2];j=0;$=0;G.label=1;case 1:if(!($<N.children.length))return[3,5];q=N.children[$];ie=getNumberLiteralType($-j);ae=getElaborationElementForJsxChild(q,ie,R);if(!ae)return[3,3];return[4,ae];case 2:G.sent();return[3,4];case 3:j++;G.label=4;case 4:$++;return[3,1];case 5:return[2]}}))}function getElaborationElementForJsxChild(N,R,j){switch(N.kind){case 286:return{errorNode:N,innerExpression:N.expression,nameType:R};case 11:if(N.containsOnlyTriviaWhiteSpaces){break}return{errorNode:N,innerExpression:undefined,nameType:R,errorMessage:j()};case 276:case 277:case 280:return{errorNode:N,innerExpression:N,nameType:R};default:return E.Debug.assertNever(N,"Found invalid jsx child")}}function elaborateJsxComponents(N,R,j,q,ie,ae){var ce=elaborateElementwise(generateJsxAttributes(N),R,j,q,ie,ae);var le;if(E.isJsxOpeningElement(N.parent)&&E.isJsxElement(N.parent.parent)){var _e=N.parent.parent;var Ee=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));var Te=Ee===undefined?"children":E.unescapeLeadingUnderscores(Ee);var we=getStringLiteralType(Te);var Ie=getIndexedAccessType(j,we);var Ne=E.getSemanticJsxChildren(_e.children);if(!E.length(Ne)){return ce}var Me=E.length(Ne)>1;var Le=filterType(Ie,isArrayOrTupleLikeType);var Be=filterType(Ie,(function(E){return!isArrayOrTupleLikeType(E)}));if(Me){if(Le!==dr){var je=createTupleType(checkJsxChildren(_e,0));var Ue=generateJsxChildren(_e,getInvalidTextualChildDiagnostic);ce=elaborateElementwise(Ue,je,Le,q,ie,ae)||ce}else if(!isTypeRelatedTo(getIndexedAccessType(R,we),Ie,q)){ce=true;var ze=error(_e.openingElement.tagName,E.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Te,typeToString(Ie));if(ae&&ae.skipLogging){(ae.errors||(ae.errors=[])).push(ze)}}}else{if(Be!==dr){var We=Ne[0];var Je=getElaborationElementForJsxChild(We,we,getInvalidTextualChildDiagnostic);if(Je){ce=elaborateElementwise(function(){return G(this,(function(E){switch(E.label){case 0:return[4,Je];case 1:E.sent();return[2]}}))}(),R,j,q,ie,ae)||ce}}else if(!isTypeRelatedTo(getIndexedAccessType(R,we),Ie,q)){ce=true;var ze=error(_e.openingElement.tagName,E.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Te,typeToString(Ie));if(ae&&ae.skipLogging){(ae.errors||(ae.errors=[])).push(ze)}}}}return ce;function getInvalidTextualChildDiagnostic(){if(!le){var R=E.getTextOfNode(N.parent.tagName);var q=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));var G=q===undefined?"children":E.unescapeLeadingUnderscores(q);var ie=getIndexedAccessType(j,getStringLiteralType(G));var ae=E.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;le=$($({},ae),{key:"!!ALREADY FORMATTED!!",message:E.formatMessage(undefined,ae,R,G,typeToString(ie))})}return le}}function generateLimitedTupleElements(N,R){var j,$,q,ie;return G(this,(function(G){switch(G.label){case 0:j=E.length(N.elements);if(!j)return[2];$=0;G.label=1;case 1:if(!($<j))return[3,4];if(isTupleLikeType(R)&&!getPropertyOfType(R,""+$))return[3,3];q=N.elements[$];if(E.isOmittedExpression(q))return[3,3];ie=getNumberLiteralType($);return[4,{errorNode:q,innerExpression:q,nameType:ie}];case 2:G.sent();G.label=3;case 3:$++;return[3,1];case 4:return[2]}}))}function elaborateArrayLiteral(E,N,R,j,$,q){if(R.flags&131068)return false;if(isTupleLikeType(N)){return elaborateElementwise(generateLimitedTupleElements(E,R),N,R,j,$,q)}var G=E.contextualType;E.contextualType=R;try{var ie=checkArrayLiteral(E,1,true);E.contextualType=G;if(isTupleLikeType(ie)){return elaborateElementwise(generateLimitedTupleElements(E,R),ie,R,j,$,q)}return false}finally{E.contextualType=G}}function generateObjectLiteralElements(N){var R,j,$,q,ie;return G(this,(function(G){switch(G.label){case 0:if(!E.length(N.properties))return[2];R=0,j=N.properties;G.label=1;case 1:if(!(R<j.length))return[3,8];$=j[R];if(E.isSpreadAssignment($))return[3,7];q=getLiteralTypeFromProperty(getSymbolOfNode($),8576);if(!q||q.flags&131072){return[3,7]}ie=$.kind;switch(ie){case 171:return[3,2];case 170:return[3,2];case 167:return[3,2];case 292:return[3,2];case 291:return[3,4]}return[3,6];case 2:return[4,{errorNode:$.name,innerExpression:undefined,nameType:q}];case 3:G.sent();return[3,7];case 4:return[4,{errorNode:$.name,innerExpression:$.initializer,nameType:q,errorMessage:E.isComputedNonLiteralName($.name)?E.Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:undefined}];case 5:G.sent();return[3,7];case 6:E.Debug.assertNever($);G.label=7;case 7:R++;return[3,1];case 8:return[2]}}))}function elaborateObjectLiteral(E,N,R,j,$,q){if(R.flags&131068)return false;return elaborateElementwise(generateObjectLiteralElements(E),N,R,j,$,q)}function checkTypeComparableTo(E,N,R,j,$){return checkTypeRelatedTo(E,N,Fi,R,j,$)}function isSignatureAssignableTo(E,N,R){return compareSignaturesRelated(E,N,R?4:0,false,undefined,undefined,compareTypesAssignable,undefined)!==0}function isAnySignature(E){return!E.typeParameters&&(!E.thisParameter||isTypeAny(getTypeOfParameter(E.thisParameter)))&&E.parameters.length===1&&signatureHasRestParameter(E)&&(getTypeOfParameter(E.parameters[0])===mn||isTypeAny(getTypeOfParameter(E.parameters[0])))&&isTypeAny(getReturnTypeOfSignature(E))}function compareSignaturesRelated(N,R,j,$,q,G,ie,ae){if(N===R){return-1}if(isAnySignature(R)){return-1}var ce=getParameterCount(R);var le=!hasEffectiveRestParameter(R)&&(j&8?hasEffectiveRestParameter(N)||getParameterCount(N)>ce:getMinArgumentCount(N)>ce);if(le){return 0}if(N.typeParameters&&N.typeParameters!==R.typeParameters){R=getCanonicalSignature(R);N=instantiateSignatureInContextOf(N,R,undefined,ie)}var _e=getParameterCount(N);var Ee=getNonArrayRestType(N);var Te=getNonArrayRestType(R);if(Ee||Te){void instantiateType(Ee||Te,ae)}if(Ee&&Te&&_e!==ce){return 0}var we=R.declaration?R.declaration.kind:0;var Ie=!(j&3)&&nt&&we!==167&&we!==166&&we!==169;var Ne=-1;var Me=getThisTypeOfSignature(N);if(Me&&Me!==ur){var Le=getThisTypeOfSignature(R);if(Le){var Be=!Ie&&ie(Me,Le,false)||ie(Le,Me,$);if(!Be){if($){q(E.Diagnostics.The_this_types_of_each_signature_are_incompatible)}return 0}Ne&=Be}}var je=Ee||Te?Math.min(_e,ce):Math.max(_e,ce);var Ue=Ee||Te?je-1:-1;for(var ze=0;ze<je;ze++){var We=ze===Ue?getRestTypeAtPosition(N,ze):tryGetTypeAtPosition(N,ze);var Je=ze===Ue?getRestTypeAtPosition(R,ze):tryGetTypeAtPosition(R,ze);if(We&&Je){var Ve=j&3?undefined:getSingleCallSignature(getNonNullableType(We));var qe=j&3?undefined:getSingleCallSignature(getNonNullableType(Je));var He=Ve&&qe&&!getTypePredicateOfSignature(Ve)&&!getTypePredicateOfSignature(qe)&&(getFalsyFlags(We)&98304)===(getFalsyFlags(Je)&98304);var Be=He?compareSignaturesRelated(qe,Ve,j&8|(Ie?2:1),$,q,G,ie,ae):!(j&3)&&!Ie&&ie(We,Je,false)||ie(Je,We,$);if(Be&&j&8&&ze>=getMinArgumentCount(N)&&ze<getMinArgumentCount(R)&&ie(We,Je,false)){Be=0}if(!Be){if($){q(E.Diagnostics.Types_of_parameters_0_and_1_are_incompatible,E.unescapeLeadingUnderscores(getParameterNameAtPosition(N,ze)),E.unescapeLeadingUnderscores(getParameterNameAtPosition(R,ze)))}return 0}Ne&=Be}}if(!(j&4)){var Ge=isResolvingReturnTypeOfSignature(R)?zt:R.declaration&&isJSConstructor(R.declaration)?getDeclaredTypeOfClassOrInterface(getMergedSymbol(R.declaration.symbol)):getReturnTypeOfSignature(R);if(Ge===ur){return Ne}var Ke=isResolvingReturnTypeOfSignature(N)?zt:N.declaration&&isJSConstructor(N.declaration)?getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.declaration.symbol)):getReturnTypeOfSignature(N);var Qe=getTypePredicateOfSignature(R);if(Qe){var Xe=getTypePredicateOfSignature(N);if(Xe){Ne&=compareTypePredicateRelatedTo(Xe,Qe,$,q,ie)}else if(E.isIdentifierTypePredicate(Qe)){if($){q(E.Diagnostics.Signature_0_must_be_a_type_predicate,signatureToString(N))}return 0}}else{Ne&=j&1&&ie(Ge,Ke,false)||ie(Ke,Ge,$);if(!Ne&&$&&G){G(Ke,Ge)}}}return Ne}function compareTypePredicateRelatedTo(N,R,j,$,q){if(N.kind!==R.kind){if(j){$(E.Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard);$(E.Diagnostics.Type_predicate_0_is_not_assignable_to_1,typePredicateToString(N),typePredicateToString(R))}return 0}if(N.kind===1||N.kind===3){if(N.parameterIndex!==R.parameterIndex){if(j){$(E.Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1,N.parameterName,R.parameterName);$(E.Diagnostics.Type_predicate_0_is_not_assignable_to_1,typePredicateToString(N),typePredicateToString(R))}return 0}}var G=N.type===R.type?-1:N.type&&R.type?q(N.type,R.type,j):0;if(G===0&&j){$(E.Diagnostics.Type_predicate_0_is_not_assignable_to_1,typePredicateToString(N),typePredicateToString(R))}return G}function isImplementationCompatibleWithOverload(E,N){var R=getErasedSignature(E);var j=getErasedSignature(N);var $=getReturnTypeOfSignature(R);var q=getReturnTypeOfSignature(j);if(q===ur||isTypeRelatedTo(q,$,Pi)||isTypeRelatedTo($,q,Pi)){return isSignatureAssignableTo(R,j,true)}return false}function isEmptyResolvedType(E){return E!==wr&&E.properties.length===0&&E.callSignatures.length===0&&E.constructSignatures.length===0&&E.indexInfos.length===0}function isEmptyObjectType(N){return N.flags&524288?!isGenericMappedType(N)&&isEmptyResolvedType(resolveStructuredTypeMembers(N)):N.flags&67108864?true:N.flags&1048576?E.some(N.types,isEmptyObjectType):N.flags&2097152?E.every(N.types,isEmptyObjectType):false}function isEmptyAnonymousObjectType(N){return!!(E.getObjectFlags(N)&16&&(N.members&&isEmptyResolvedType(N)||N.symbol&&N.symbol.flags&2048&&getMembersOfSymbol(N.symbol).size===0))}function isStringIndexSignatureOnlyType(N){return N.flags&524288&&!isGenericMappedType(N)&&getPropertiesOfType(N).length===0&&getIndexInfosOfType(N).length===1&&!!getIndexInfoOfType(N,er)||N.flags&3145728&&E.every(N.types,isStringIndexSignatureOnlyType)||false}function isEnumTypeRelatedTo(N,R,j){if(N===R){return true}var $=getSymbolId(N)+","+getSymbolId(R);var q=Ni.get($);if(q!==undefined&&!(!(q&4)&&q&2&&j)){return!!(q&1)}if(N.escapedName!==R.escapedName||!(N.flags&256)||!(R.flags&256)){Ni.set($,2|4);return false}var G=getTypeOfSymbol(R);for(var ie=0,ae=getPropertiesOfType(getTypeOfSymbol(N));ie<ae.length;ie++){var ce=ae[ie];if(ce.flags&8){var le=getPropertyOfType(G,ce.escapedName);if(!le||!(le.flags&8)){if(j){j(E.Diagnostics.Property_0_is_missing_in_type_1,E.symbolName(ce),typeToString(getDeclaredTypeOfSymbol(R),undefined,64));Ni.set($,2|4)}else{Ni.set($,2)}return false}}}Ni.set($,1);return true}function isSimpleTypeRelatedTo(E,N,R,j){var $=E.flags;var q=N.flags;if(q&3||$&131072||E===$t)return true;if(q&131072)return false;if($&402653316&&q&4)return true;if($&128&&$&1024&&q&128&&!(q&1024)&&E.value===N.value)return true;if($&296&&q&8)return true;if($&256&&$&1024&&q&256&&!(q&1024)&&E.value===N.value)return true;if($&2112&&q&64)return true;if($&528&&q&16)return true;if($&12288&&q&4096)return true;if($&32&&q&32&&isEnumTypeRelatedTo(E.symbol,N.symbol,j))return true;if($&1024&&q&1024){if($&1048576&&q&1048576&&isEnumTypeRelatedTo(E.symbol,N.symbol,j))return true;if($&2944&&q&2944&&E.value===N.value&&isEnumTypeRelatedTo(getParentOfSymbol(E.symbol),getParentOfSymbol(N.symbol),j))return true}if($&32768&&(!rt||q&(32768|16384)))return true;if($&65536&&(!rt||q&65536))return true;if($&524288&&q&67108864)return true;if(R===Pi||R===Fi){if($&1)return true;if($&(8|256)&&!($&1024)&&(q&32||R===Pi&&q&256&&q&1024))return true}return false}function isTypeRelatedTo(E,N,R){if(isFreshLiteralType(E)){E=E.regularType}if(isFreshLiteralType(N)){N=N.regularType}if(E===N){return true}if(R!==Ii){if(R===Fi&&!(N.flags&131072)&&isSimpleTypeRelatedTo(N,E,R)||isSimpleTypeRelatedTo(E,N,R)){return true}}else{if(E.flags!==N.flags)return false;if(E.flags&67358815)return true}if(E.flags&524288&&N.flags&524288){var j=R.get(getRelationKey(E,N,0,R));if(j!==undefined){return!!(j&1)}}if(E.flags&469499904||N.flags&469499904){return checkTypeRelatedTo(E,N,R,undefined)}return false}function isIgnoredJsxProperty(N,R){return E.getObjectFlags(N)&2048&&isHyphenatedJsxName(R.escapedName)}function getNormalizedType(N,R){while(true){var j=isFreshLiteralType(N)?N.regularType:E.getObjectFlags(N)&4&&N.node?createTypeReference(N.target,getTypeArguments(N)):N.flags&3145728?getReducedType(N):N.flags&33554432?R?N.baseType:N.substitute:N.flags&25165824?getSimplifiedType(N,R):N;j=getSingleBaseForNonAugmentingSubtype(j)||j;if(j===N)break;N=j}return N}function checkTypeRelatedTo(N,$,q,G,ie,ae,ce){var le;var _e;var Ee;var Te;var we;var Ie=0;var Ne=0;var Me=0;var Le=false;var Be=0;var je;var Ue=[];var ze=false;E.Debug.assert(q!==Ii||!G,"no error reporting in identity checking");var We=isRelatedTo(N,$,!!G,ie);if(Ue.length){reportIncompatibleStack()}if(Le){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","checkTypeRelatedTo_DepthLimit",{sourceId:N.id,targetId:$.id,depth:Ne});var Je=error(G||qe,E.Diagnostics.Excessive_stack_depth_comparing_types_0_and_1,typeToString(N),typeToString($));if(ce){(ce.errors||(ce.errors=[])).push(Je)}}else if(le){if(ae){var Ve=ae();if(Ve){E.concatenateDiagnosticMessageChains(Ve,le);le=Ve}}var He=void 0;if(ie&&G&&!We&&N.symbol){var Ge=getSymbolLinks(N.symbol);if(Ge.originatingImport&&!E.isImportCall(Ge.originatingImport)){var Ke=checkTypeRelatedTo(getTypeOfSymbol(Ge.target),$,q,undefined);if(Ke){var Ye=E.createDiagnosticForNode(Ge.originatingImport,E.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead);He=E.append(He,Ye)}}}var Je=E.createDiagnosticForNodeFromMessageChain(G,le,He);if(_e){E.addRelatedInfo.apply(void 0,j([Je],_e,false))}if(ce){(ce.errors||(ce.errors=[])).push(Je)}if(!ce||!ce.skipLogging){xi.add(Je)}}if(G&&ce&&ce.skipLogging&&We===0){E.Debug.assert(!!ce.errors,"missed opportunity to interact with error.")}return We!==0;function resetErrorInfo(E){le=E.errorInfo;je=E.lastSkippedInfo;Ue=E.incompatibleStack;Be=E.overrideNextErrorInfo;_e=E.relatedInfo}function captureErrorCalculationState(){return{errorInfo:le,lastSkippedInfo:je,incompatibleStack:Ue.slice(),overrideNextErrorInfo:Be,relatedInfo:!_e?undefined:_e.slice()}}function reportIncompatibleError(E,N,R,j,$){Be++;je=undefined;Ue.push([E,N,R,j,$])}function reportIncompatibleStack(){var N=Ue;Ue=[];var R=je;je=undefined;if(N.length===1){reportError.apply(void 0,N[0]);if(R){reportRelationError.apply(void 0,j([undefined],R,false))}return}var $="";var q=[];while(N.length){var G=N.pop(),ie=G[0],ae=G.slice(1);switch(ie.code){case E.Diagnostics.Types_of_property_0_are_incompatible.code:{if($.indexOf("new ")===0){$="("+$+")"}var ce=""+ae[0];if($.length===0){$=""+ce}else if(E.isIdentifierText(ce,Xe.target)){$=$+"."+ce}else if(ce[0]==="["&&ce[ce.length-1]==="]"){$=""+$+ce}else{$=$+"["+ce+"]"}break}case E.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code:case E.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code:case E.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case E.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:{if($.length===0){var le=ie;if(ie.code===E.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code){le=E.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible}else if(ie.code===E.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code){le=E.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible}q.unshift([le,ae[0],ae[1]])}else{var _e=ie.code===E.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code||ie.code===E.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"";var Ee=ie.code===E.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||ie.code===E.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...";$=""+_e+$+"("+Ee+")"}break}case E.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:{q.unshift([E.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,ae[0],ae[1]]);break}case E.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:{q.unshift([E.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,ae[0],ae[1],ae[2]]);break}default:return E.Debug.fail("Unhandled Diagnostic: "+ie.code)}}if($){reportError($[$.length-1]===")"?E.Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types:E.Diagnostics.The_types_of_0_are_incompatible_between_these_types,$)}else{q.shift()}for(var Te=0,we=q;Te<we.length;Te++){var Ie=we[Te],ie=Ie[0],ae=Ie.slice(1);var Ne=ie.elidedInCompatabilityPyramid;ie.elidedInCompatabilityPyramid=false;reportError.apply(void 0,j([ie],ae,false));ie.elidedInCompatabilityPyramid=Ne}if(R){reportRelationError.apply(void 0,j([undefined],R,false))}}function reportError(N,R,j,$,q){E.Debug.assert(!!G);if(Ue.length)reportIncompatibleStack();if(N.elidedInCompatabilityPyramid)return;le=E.chainDiagnosticMessages(le,N,R,j,$,q)}function associateRelatedInfo(N){E.Debug.assert(!!le);if(!_e){_e=[N]}else{_e.push(N)}}function reportRelationError(N,R,j){if(Ue.length)reportIncompatibleStack();var $=getTypeNamesForErrorDisplay(R,j),G=$[0],ie=$[1];var ae=R;var ce=G;if(isLiteralType(R)&&!typeCouldHaveTopLevelSingletonTypes(j)){ae=getBaseTypeOfLiteralType(R);E.Debug.assert(!isTypeAssignableTo(ae,j),"generalized source shouldn't be assignable");ce=getTypeNameForErrorDisplay(ae)}if(j.flags&262144){var _e=getBaseConstraintOfType(j);var Ee=void 0;if(_e&&(isTypeAssignableTo(ae,_e)||(Ee=isTypeAssignableTo(R,_e)))){reportError(E.Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,Ee?G:ce,ie,typeToString(_e))}else{le=undefined;reportError(E.Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,ie,ce)}}if(!N){if(q===Fi){N=E.Diagnostics.Type_0_is_not_comparable_to_type_1}else if(G===ie){N=E.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated}else{N=E.Diagnostics.Type_0_is_not_assignable_to_type_1}}reportError(N,ce,ie)}function tryElaborateErrorsForPrimitivesAndObjects(N,R){var j=symbolValueDeclarationIsContextSensitive(N.symbol)?typeToString(N,N.symbol.valueDeclaration):typeToString(N);var $=symbolValueDeclarationIsContextSensitive(R.symbol)?typeToString(R,R.symbol.valueDeclaration):typeToString(R);if(cn===N&&er===R||ln===N&&tr===R||un===N&&cr===R||getGlobalESSymbolType(false)===N&&lr===R){reportError(E.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,$,j)}}function tryElaborateArrayLikeErrors(N,R,j){if(isTupleType(N)){if(N.target.readonly&&isMutableArrayOrTuple(R)){if(j){reportError(E.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,typeToString(N),typeToString(R))}return false}return isTupleType(R)||isArrayType(R)}if(isReadonlyArrayType(N)&&isMutableArrayOrTuple(R)){if(j){reportError(E.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,typeToString(N),typeToString(R))}return false}if(isTupleType(R)){return isArrayType(N)}return true}function isRelatedTo(N,R,j,$,ie){if(j===void 0){j=false}if(ie===void 0){ie=0}if(N.flags&524288&&R.flags&131068){if(isSimpleTypeRelatedTo(N,R,q,j?reportError:undefined)){return-1}reportErrorResults(N,R,0,!!(E.getObjectFlags(N)&2048));return 0}var ae=getNormalizedType(N,false);var ce=getNormalizedType(R,true);if(ae===ce)return-1;if(q===Ii){return isIdenticalTo(ae,ce)}if(ae.flags&262144&&getConstraintOfType(ae)===ce){return-1}if(ce.flags&1048576&&ae.flags&524288&&ce.types.length<=3&&maybeTypeOfKind(ce,98304)){var _e=extractTypesOfKind(ce,~98304);if(!(_e.flags&(1048576|131072))){ce=getNormalizedType(_e,true)}if(ae===_e)return-1}if(q===Fi&&!(ce.flags&131072)&&isSimpleTypeRelatedTo(ce,ae,q)||isSimpleTypeRelatedTo(ae,ce,q,j?reportError:undefined))return-1;var Ee=!!(E.getObjectFlags(ae)&2048);var Te=!(ie&2)&&(isObjectLiteralType(ae)&&E.getObjectFlags(ae)&16384);if(Te){if(hasExcessProperties(ae,ce,j)){if(j){reportRelationError($,ae,R.aliasSymbol?R:ce)}return 0}}var we=q!==Fi&&!(ie&2)&&ae.flags&(131068|524288|2097152)&&ae!==tn&&ce.flags&(524288|2097152)&&isWeakType(ce)&&(getPropertiesOfType(ae).length>0||typeHasCallOrConstructSignatures(ae));if(we&&!hasCommonProperties(ae,ce,Ee)){if(j){var Ie=typeToString(N.aliasSymbol?N:ae);var Ne=typeToString(R.aliasSymbol?R:ce);var Me=getSignaturesOfType(ae,0);var Le=getSignaturesOfType(ae,1);if(Me.length>0&&isRelatedTo(getReturnTypeOfSignature(Me[0]),ce,false)||Le.length>0&&isRelatedTo(getReturnTypeOfSignature(Le[0]),ce,false)){reportError(E.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ie,Ne)}else{reportError(E.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Ie,Ne)}}return 0}traceUnionsOrIntersectionsTooLarge(ae,ce);var Ue=0;var We=captureErrorCalculationState();if(ae.flags&3145728||ce.flags&3145728){Ue=getConstituentCount(ae)*getConstituentCount(ce)>=4?recursiveTypeRelatedTo(ae,ce,j,ie|8):structuredTypeRelatedTo(ae,ce,j,ie|8)}if(!Ue&&!(ae.flags&1048576)&&(ae.flags&469499904||ce.flags&469499904)){if(Ue=recursiveTypeRelatedTo(ae,ce,j,ie)){resetErrorInfo(We)}}if(!Ue&&ae.flags&(2097152|262144)){var Je=getEffectiveConstraintOfIntersection(ae.flags&2097152?ae.types:[ae],!!(ce.flags&1048576));if(Je&&(ae.flags&2097152||ce.flags&1048576)){if(everyType(Je,(function(E){return E!==ae}))){if(Ue=isRelatedTo(Je,ce,false,undefined,ie)){resetErrorInfo(We)}}}}if(Ue&&!ze&&(ce.flags&2097152&&(Te||we)||isNonGenericObjectType(ce)&&!isArrayType(ce)&&!isTupleType(ce)&&ae.flags&2097152&&getApparentType(ae).flags&3670016&&!E.some(ae.types,(function(N){return!!(E.getObjectFlags(N)&524288)})))){ze=true;Ue&=recursiveTypeRelatedTo(ae,ce,j,4);ze=false}reportErrorResults(ae,ce,Ue,Ee);return Ue;function reportErrorResults(q,ie,ae,ce){if(!ae&&j){var _e=!!getSingleBaseForNonAugmentingSubtype(N);var Ee=!!getSingleBaseForNonAugmentingSubtype(R);q=N.aliasSymbol||_e?N:q;ie=R.aliasSymbol||Ee?R:ie;var Te=Be>0;if(Te){Be--}if(q.flags&524288&&ie.flags&524288){var we=le;tryElaborateArrayLikeErrors(q,ie,j);if(le!==we){Te=!!le}}if(q.flags&524288&&ie.flags&131068){tryElaborateErrorsForPrimitivesAndObjects(q,ie)}else if(q.symbol&&q.flags&524288&&tn===q){reportError(E.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead)}else if(ce&&ie.flags&2097152){var Ie=ie.types;var Ne=getJsxType(Qe.IntrinsicAttributes,G);var Me=getJsxType(Qe.IntrinsicClassAttributes,G);if(Ne!==Jt&&Me!==Jt&&(E.contains(Ie,Ne)||E.contains(Ie,Me))){return ae}}else{le=elaborateNeverIntersection(le,R)}if(!$&&Te){je=[q,ie];return ae}reportRelationError($,q,ie)}}}function traceUnionsOrIntersectionsTooLarge(N,R){if(!E.tracing){return}if(N.flags&3145728&&R.flags&3145728){var j=N;var $=R;if(j.objectFlags&$.objectFlags&65536){return}var q=j.types.length;var ie=$.types.length;if(q*ie>1e6){E.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:N.id,sourceSize:q,targetId:R.id,targetSize:ie,pos:G===null||G===void 0?void 0:G.pos,end:G===null||G===void 0?void 0:G.end})}}}function isIdenticalTo(E,N){if(E.flags!==N.flags)return 0;if(E.flags&67358815)return-1;traceUnionsOrIntersectionsTooLarge(E,N);if(E.flags&3145728){var R=eachTypeRelatedToSomeType(E,N);if(R){R&=eachTypeRelatedToSomeType(N,E)}return R}return recursiveTypeRelatedTo(E,N,false,0)}function getTypeOfPropertyInTypes(N,R){var appendPropType=function(N,j){var $;j=getApparentType(j);var q=j.flags&3145728?getPropertyOfUnionOrIntersectionType(j,R):getPropertyOfObjectType(j,R);var G=q&&getTypeOfSymbol(q)||(($=getApplicableIndexInfoForName(j,R))===null||$===void 0?void 0:$.type)||Gt;return E.append(N,G)};return getUnionType(E.reduceLeft(N,appendPropType,undefined)||E.emptyArray)}function hasExcessProperties(N,R,j){var $;if(!isExcessPropertyCheckTarget(R)||!st&&E.getObjectFlags(R)&8192){return false}var ie=!!(E.getObjectFlags(N)&2048);if((q===Pi||q===Fi)&&(isTypeSubsetOf(tn,R)||!ie&&isEmptyObjectType(R))){return false}var ae=R;var ce;if(R.flags&1048576){ae=findMatchingDiscriminantType(N,R,isRelatedTo)||filterPrimitivesIfContainsNonPrimitive(R);ce=ae.flags&1048576?ae.types:[ae]}var _loop_18=function(R){if(shouldCheckAsExcessProperty(R,N.symbol)&&!isIgnoredJsxProperty(N,R)){if(!isKnownProperty(ae,R.escapedName,ie)){if(j){var q=filterType(ae,isExcessPropertyCheckTarget);if(!G)return{value:E.Debug.fail()};if(E.isJsxAttributes(G)||E.isJsxOpeningLikeElement(G)||E.isJsxOpeningLikeElement(G.parent)){if(R.valueDeclaration&&E.isJsxAttribute(R.valueDeclaration)&&E.getSourceFileOfNode(G)===E.getSourceFileOfNode(R.valueDeclaration.name)){G=R.valueDeclaration.name}var le=symbolToString(R);var _e=getSuggestedSymbolForNonexistentJSXAttribute(le,q);var Ee=_e?symbolToString(_e):undefined;if(Ee){reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,le,typeToString(q),Ee)}else{reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1,le,typeToString(q))}}else{var Te=(($=N.symbol)===null||$===void 0?void 0:$.declarations)&&E.firstOrUndefined(N.symbol.declarations);var Ee=void 0;if(R.valueDeclaration&&E.findAncestor(R.valueDeclaration,(function(E){return E===Te}))&&E.getSourceFileOfNode(Te)===E.getSourceFileOfNode(G)){var we=R.valueDeclaration;E.Debug.assertNode(we,E.isObjectLiteralElementLike);G=we;var Ie=we.name;if(E.isIdentifier(Ie)){Ee=getSuggestionForNonexistentProperty(Ie,q)}}if(Ee!==undefined){reportError(E.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,symbolToString(R),typeToString(q),Ee)}else{reportError(E.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,symbolToString(R),typeToString(q))}}}return{value:true}}if(ce&&!isRelatedTo(getTypeOfSymbol(R),getTypeOfPropertyInTypes(ce,R.escapedName),j)){if(j){reportIncompatibleError(E.Diagnostics.Types_of_property_0_are_incompatible,symbolToString(R))}return{value:true}}}};for(var le=0,_e=getPropertiesOfType(N);le<_e.length;le++){var Ee=_e[le];var Te=_loop_18(Ee);if(typeof Te==="object")return Te.value}return false}function shouldCheckAsExcessProperty(E,N){return E.valueDeclaration&&N.valueDeclaration&&E.valueDeclaration.parent===N.valueDeclaration}function eachTypeRelatedToSomeType(E,N){var R=-1;var j=E.types;for(var $=0,q=j;$<q.length;$++){var G=q[$];var ie=typeRelatedToSomeType(G,N,false);if(!ie){return 0}R&=ie}return R}function typeRelatedToSomeType(E,N,R){var j=N.types;if(N.flags&1048576){if(containsType(j,E)){return-1}var $=getMatchingUnionConstituentForType(N,E);if($){var q=isRelatedTo(E,$,false);if(q){return q}}}for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];var q=isRelatedTo(E,ae,false);if(q){return q}}if(R){var ce=getBestMatchingType(E,N,isRelatedTo);isRelatedTo(E,ce||j[j.length-1],true)}return 0}function typeRelatedToEachType(E,N,R,j){var $=-1;var q=N.types;for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];var ce=isRelatedTo(E,ae,R,undefined,j);if(!ce){return 0}$&=ce}return $}function someTypeRelatedToType(E,N,R,j){var $=E.types;if(E.flags&1048576&&containsType($,N)){return-1}var q=$.length;for(var G=0;G<q;G++){var ie=isRelatedTo($[G],N,R&&G===q-1,undefined,j);if(ie){return ie}}return 0}function getUndefinedStrippedTargetIfNeeded(E,N){if(E.flags&1048576&&N.flags&1048576&&!(E.types[0].flags&32768)&&N.types[0].flags&32768){return extractTypesOfKind(N,~32768)}return N}function eachTypeRelatedToType(E,N,R,j){var $=-1;var q=E.types;var G=getUndefinedStrippedTargetIfNeeded(E,N);for(var ie=0;ie<q.length;ie++){var ae=q[ie];if(G.flags&1048576&&q.length>=G.types.length&&q.length%G.types.length===0){var ce=isRelatedTo(ae,G.types[ie%G.types.length],false,undefined,j);if(ce){$&=ce;continue}}var le=isRelatedTo(ae,N,R,undefined,j);if(!le){return 0}$&=le}return $}function typeArgumentsRelatedTo(N,R,j,$,G){if(N===void 0){N=E.emptyArray}if(R===void 0){R=E.emptyArray}if(j===void 0){j=E.emptyArray}if(N.length!==R.length&&q===Ii){return 0}var ie=N.length<=R.length?N.length:R.length;var ae=-1;for(var ce=0;ce<ie;ce++){var le=ce<j.length?j[ce]:1;var _e=le&7;if(_e!==4){var Ee=N[ce];var Te=R[ce];var we=-1;if(le&8){we=q===Ii?isRelatedTo(Ee,Te,false):compareTypesIdentical(Ee,Te)}else if(_e===1){we=isRelatedTo(Ee,Te,$,undefined,G)}else if(_e===2){we=isRelatedTo(Te,Ee,$,undefined,G)}else if(_e===3){we=isRelatedTo(Te,Ee,false);if(!we){we=isRelatedTo(Ee,Te,$,undefined,G)}}else{we=isRelatedTo(Ee,Te,$,undefined,G);if(we){we&=isRelatedTo(Te,Ee,$,undefined,G)}}if(!we){return 0}ae&=we}}return ae}function recursiveTypeRelatedTo(N,R,j,$){if(Le){return 0}var G=getRelationKey(N,R,$|(ze?16:0),q);var ie=q.get(G);if(ie!==undefined){if(j&&ie&2&&!(ie&4)){}else{if(Di){var ae=ie&24;if(ae&8){instantiateType(N,makeFunctionTypeMapper(reportUnmeasurableMarkers))}if(ae&16){instantiateType(N,makeFunctionTypeMapper(reportUnreliableMarkers))}}return ie&1?-1:0}}if(!Ee){Ee=[];Te=[];we=[]}else{var ce=G.split(",").map((function(N){return N.replace(/-\d+/g,(function(N,R){var j=E.length(G.slice(0,R).match(/[-=]/g)||undefined);return"="+j}))})).join(",");for(var le=0;le<Ie;le++){if(G===Ee[le]||ce===Ee[le]){return 3}}if(Ne===100){Le=true;return 0}}var _e=Ie;Ee[Ie]=G;Ie++;Te[Ne]=N;we[Ne]=R;Ne++;var Be=Me;if(!(Me&1)&&isDeeplyNestedType(N,Te,Ne))Me|=1;if(!(Me&2)&&isDeeplyNestedType(R,we,Ne))Me|=2;var je;var Ue=0;if(Di){je=Di;Di=function(E){Ue|=E?16:8;return je(E)}}if(Me===3){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","recursiveTypeRelatedTo_DepthLimit",{sourceId:N.id,sourceIdStack:Te.map((function(E){return E.id})),targetId:R.id,targetIdStack:we.map((function(E){return E.id})),depth:Ne})}var We=Me!==3?structuredTypeRelatedTo(N,R,j,$):3;if(Di){Di=je}Me=Be;Ne--;if(We){if(We===-1||Ne===0){if(We===-1||We===3){for(var le=_e;le<Ie;le++){q.set(Ee[le],1|Ue)}}Ie=_e}}else{q.set(G,(j?4:0)|2|Ue);Ie=_e}return We}function structuredTypeRelatedTo(N,R,j,$){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("checkTypes","structuredTypeRelatedTo",{sourceId:N.id,targetId:R.id});var q=structuredTypeRelatedToWorker(N,R,j,$);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return q}function structuredTypeRelatedToWorker(N,R,j,$){if($&4){return propertiesRelatedTo(N,R,j,undefined,0)}if($&8){if(N.flags&1048576){return q===Fi?someTypeRelatedToType(N,R,j&&!(N.flags&131068),$&~8):eachTypeRelatedToType(N,R,j&&!(N.flags&131068),$&~8)}if(R.flags&1048576){return typeRelatedToSomeType(getRegularTypeOfObjectLiteral(N),R,j&&!(N.flags&131068)&&!(R.flags&131068))}if(R.flags&2097152){return typeRelatedToEachType(getRegularTypeOfObjectLiteral(N),R,j,2)}if(q===Fi&&R.flags&131068){var G=E.sameMap(N.types,getBaseConstraintOrType);if(G!==N.types){N=getIntersectionType(G);if(!(N.flags&2097152)){return isRelatedTo(N,R,false)}}}return someTypeRelatedToType(N,R,false,1)}var ie=N.flags&R.flags;if(q===Ii&&!(ie&524288)){if(ie&4194304){return isRelatedTo(N.type,R.type,false)}var ae=0;if(ie&8388608){if(ae=isRelatedTo(N.objectType,R.objectType,false)){if(ae&=isRelatedTo(N.indexType,R.indexType,false)){return ae}}}if(ie&16777216){if(N.root.isDistributive===R.root.isDistributive){if(ae=isRelatedTo(N.checkType,R.checkType,false)){if(ae&=isRelatedTo(N.extendsType,R.extendsType,false)){if(ae&=isRelatedTo(getTrueTypeFromConditionalType(N),getTrueTypeFromConditionalType(R),false)){if(ae&=isRelatedTo(getFalseTypeFromConditionalType(N),getFalseTypeFromConditionalType(R),false)){return ae}}}}}}if(ie&33554432){return isRelatedTo(N.substitute,R.substitute,false)}return 0}var ce;var _e;var Ee=false;var Te=captureErrorCalculationState();if(N.flags&(524288|16777216)&&N.aliasSymbol&&N.aliasTypeArguments&&N.aliasSymbol===R.aliasSymbol&&!(N.aliasTypeArgumentsContainsMarker||R.aliasTypeArgumentsContainsMarker)){var we=getAliasVariances(N.aliasSymbol);if(we===E.emptyArray){return 1}var Ie=relateVariances(N.aliasTypeArguments,R.aliasTypeArguments,we,$);if(Ie!==undefined){return Ie}}if(isSingleElementGenericTupleType(N)&&!N.target.readonly&&(ce=isRelatedTo(getTypeArguments(N)[0],R))||isSingleElementGenericTupleType(R)&&(R.target.readonly||isMutableArrayOrTuple(getBaseConstraintOfType(N)||N))&&(ce=isRelatedTo(N,getTypeArguments(R)[0]))){return ce}if(R.flags&262144){if(E.getObjectFlags(N)&32&&!N.declaration.nameType&&isRelatedTo(getIndexType(R),getConstraintTypeFromMappedType(N))){if(!(getMappedTypeModifiers(N)&4)){var Ne=getTemplateTypeFromMappedType(N);var Me=getIndexedAccessType(R,getTypeParameterFromMappedType(N));if(ce=isRelatedTo(Ne,Me,j)){return ce}}}}else if(R.flags&4194304){var Le=R.type;if(N.flags&4194304){if(ce=isRelatedTo(Le,N.type,false)){return ce}}if(isTupleType(Le)){if(ce=isRelatedTo(N,getKnownKeysOfTupleType(Le),j)){return ce}}else{var Be=getSimplifiedTypeOrConstraint(Le);if(Be){if(isRelatedTo(N,getIndexType(Be,R.stringsOnly),j)===-1){return-1}}}}else if(R.flags&8388608){if(N.flags&8388608){if(ce=isRelatedTo(N.objectType,R.objectType,j)){ce&=isRelatedTo(N.indexType,R.indexType,j)}if(ce){resetErrorInfo(Te);return ce}if(j){_e=le}}if(q===Pi||q===Fi){var je=R.objectType;var Ue=R.indexType;var ze=getBaseConstraintOfType(je)||je;var We=getBaseConstraintOfType(Ue)||Ue;if(!isGenericObjectType(ze)&&!isGenericIndexType(We)){var Je=4|(ze!==je?2:0);var Be=getIndexedAccessTypeOrUndefined(ze,We,Je);if(Be){if(j&&_e){resetErrorInfo(Te)}if(ce=isRelatedTo(N,Be,j)){return ce}if(j&&_e&&le){le=countMessageChainBreadth([_e])<=countMessageChainBreadth([le])?_e:le}}}}if(j){_e=undefined}}else if(isGenericMappedType(R)&&!R.declaration.nameType){var Ve=getTemplateTypeFromMappedType(R);var qe=getMappedTypeModifiers(R);if(!(qe&8)){if(Ve.flags&8388608&&Ve.objectType===N&&Ve.indexType===getTypeParameterFromMappedType(R)){return-1}if(!isGenericMappedType(N)){var He=getConstraintTypeFromMappedType(R);var Ge=getIndexType(N,undefined,true);var Ke=qe&4;var Qe=Ke?intersectTypes(He,Ge):undefined;if(Ke?!(Qe.flags&131072):isRelatedTo(He,Ge)){var Ne=getTemplateTypeFromMappedType(R);var Xe=getTypeParameterFromMappedType(R);var Ye=extractTypesOfKind(Ne,~98304);if(Ye.flags&8388608&&Ye.indexType===Xe){if(ce=isRelatedTo(N,Ye.objectType,j)){return ce}}else{var Ze=Qe?getIntersectionType([Qe,Xe]):Xe;var Me=getIndexedAccessType(N,Ze);if(ce=isRelatedTo(Me,Ne,j)){return ce}}}_e=le;resetErrorInfo(Te)}}}else if(R.flags&16777216){var et=R;var tt=!isTypeAssignableTo(getPermissiveInstantiation(et.checkType),getPermissiveInstantiation(et.extendsType));var rt=!tt&&isConditionalTypeAlwaysTrueDisregardingInferTypes(et);var nt=void 0;var it=getActualTypeVariable(et.root.checkType);if(et.root.isDistributive&&it.flags&262144){var ot=cloneTypeParameter(it);nt=prependTypeMapping(it,ot,et.mapper);ot.mapper=nt}var st=void 0;if(tt||(st=isRelatedTo(N,nt?instantiateType(getTypeFromTypeNode(et.root.node.trueType),nt):getTrueTypeFromConditionalType(et),false))){if(!rt){st=(st||3)&isRelatedTo(N,nt?instantiateType(getTypeFromTypeNode(et.root.node.falseType),nt):getFalseTypeFromConditionalType(et),false)}}if(st){resetErrorInfo(Te);return st}}else if(R.flags&134217728){if(N.flags&134217728){instantiateType(N,makeFunctionTypeMapper(reportUnreliableMarkers))}var ct=inferTypesFromTemplateLiteralType(N,R);if(ct&&E.every(ct,(function(E,N){return isValidTypeForTemplateLiteralPlaceholder(E,R.types[N])}))){return-1}}if(N.flags&8650752){if(!(N.flags&8388608&&R.flags&8388608)){var Be=getConstraintOfType(N);if(!Be||N.flags&262144&&Be.flags&1){if(ce=isRelatedTo(Tr,extractTypesOfKind(R,~67108864))){resetErrorInfo(Te);return ce}}else if(ce=isRelatedTo(Be,R,false,undefined,$)){resetErrorInfo(Te);return ce}else if(ce=isRelatedTo(getTypeWithThisArgument(Be,N),R,j&&!(R.flags&N.flags&262144),undefined,$)){resetErrorInfo(Te);return ce}}}else if(N.flags&4194304){if(ce=isRelatedTo(vr,R,j)){resetErrorInfo(Te);return ce}}else if(N.flags&134217728){if(!(R.flags&134217728)){var ut=getBaseConstraintOfType(N);var Be=ut&&ut!==N?ut:er;if(ce=isRelatedTo(Be,R,j)){resetErrorInfo(Te);return ce}}}else if(N.flags&268435456){if(R.flags&268435456&&N.symbol===R.symbol){if(ce=isRelatedTo(N.type,R.type,j)){resetErrorInfo(Te);return ce}}else{var Be=getBaseConstraintOfType(N);if(Be&&(ce=isRelatedTo(Be,R,j))){resetErrorInfo(Te);return ce}}}else if(N.flags&16777216){if(R.flags&16777216){var dt=N.root.inferTypeParameters;var pt=N.extendsType;var ft=void 0;if(dt){var mt=createInferenceContext(dt,undefined,0,isRelatedTo);inferTypes(mt.inferences,R.extendsType,pt,512|1024);pt=instantiateType(pt,mt.mapper);ft=mt.mapper}if(isTypeIdenticalTo(pt,R.extendsType)&&(isRelatedTo(N.checkType,R.checkType)||isRelatedTo(R.checkType,N.checkType))){if(ce=isRelatedTo(instantiateType(getTrueTypeFromConditionalType(N),ft),getTrueTypeFromConditionalType(R),j)){ce&=isRelatedTo(getFalseTypeFromConditionalType(N),getFalseTypeFromConditionalType(R),j)}if(ce){resetErrorInfo(Te);return ce}}}else{var ht=getConstraintOfDistributiveConditionalType(N);if(ht){if(ce=isRelatedTo(ht,R,j)){resetErrorInfo(Te);return ce}}}var _t=getDefaultConstraintOfConditionalType(N);if(_t){if(ce=isRelatedTo(_t,R,j)){resetErrorInfo(Te);return ce}}}else{if(q!==Ai&&q!==wi&&isPartialMappedType(R)&&isEmptyObjectType(N)){return-1}if(isGenericMappedType(R)){if(isGenericMappedType(N)){if(ce=mappedTypeRelatedTo(N,R,j)){resetErrorInfo(Te);return ce}}return 0}var yt=!!(N.flags&131068);if(q!==Ii){N=getApparentType(N)}else if(isGenericMappedType(N)){return 0}if(E.getObjectFlags(N)&4&&E.getObjectFlags(R)&4&&N.target===R.target&&!isTupleType(N)&&!(E.getObjectFlags(N)&4096||E.getObjectFlags(R)&4096)){var we=getVariances(N.target);if(we===E.emptyArray){return 1}var Ie=relateVariances(getTypeArguments(N),getTypeArguments(R),we,$);if(Ie!==undefined){return Ie}}else if(isReadonlyArrayType(R)?isArrayType(N)||isTupleType(N):isArrayType(R)&&isTupleType(N)&&!N.target.readonly){if(q!==Ii){return isRelatedTo(getIndexTypeOfType(N,tr)||zt,getIndexTypeOfType(R,tr)||zt,j)}else{return 0}}else if((q===Ai||q===wi)&&isEmptyObjectType(R)&&E.getObjectFlags(R)&16384&&!isEmptyObjectType(N)){return 0}if(N.flags&(524288|2097152)&&R.flags&524288){var vt=j&&le===Te.errorInfo&&!yt;ce=propertiesRelatedTo(N,R,vt,undefined,$);if(ce){ce&=signaturesRelatedTo(N,R,0,vt);if(ce){ce&=signaturesRelatedTo(N,R,1,vt);if(ce){ce&=indexSignaturesRelatedTo(N,R,yt,vt,$)}}}if(Ee&&ce){le=_e||le||Te.errorInfo}else if(ce){return ce}}if(N.flags&(524288|2097152)&&R.flags&1048576){var bt=extractTypesOfKind(R,524288|2097152|33554432);if(bt.flags&1048576){var xt=typeRelatedToDiscriminatedType(N,bt);if(xt){return xt}}}}return 0;function countMessageChainBreadth(N){if(!N)return 0;return E.reduceLeft(N,(function(E,N){return E+1+countMessageChainBreadth(N.next)}),0)}function relateVariances(N,R,$,q){if(ce=typeArgumentsRelatedTo(N,R,$,j,q)){return ce}if(E.some($,(function(E){return!!(E&24)}))){_e=undefined;resetErrorInfo(Te);return undefined}var G=R&&hasCovariantVoidArgument(R,$);Ee=!G;if($!==E.emptyArray&&!G){if(Ee&&!(j&&E.some($,(function(E){return(E&7)===0})))){return 0}_e=le;resetErrorInfo(Te)}}}function reportUnmeasurableMarkers(E){if(Di&&(E===Nr||E===Or||E===Mr)){Di(false)}return E}function reportUnreliableMarkers(E){if(Di&&(E===Nr||E===Or||E===Mr)){Di(true)}return E}function mappedTypeRelatedTo(E,N,R){var j=q===Fi||(q===Ii?getMappedTypeModifiers(E)===getMappedTypeModifiers(N):getCombinedMappedTypeOptionality(E)<=getCombinedMappedTypeOptionality(N));if(j){var $;var G=getConstraintTypeFromMappedType(N);var ie=instantiateType(getConstraintTypeFromMappedType(E),makeFunctionTypeMapper(getCombinedMappedTypeOptionality(E)<0?reportUnmeasurableMarkers:reportUnreliableMarkers));if($=isRelatedTo(G,ie,R)){var ae=createTypeMapper([getTypeParameterFromMappedType(E)],[getTypeParameterFromMappedType(N)]);if(instantiateType(getNameTypeFromMappedType(E),ae)===instantiateType(getNameTypeFromMappedType(N),ae)){return $&isRelatedTo(instantiateType(getTemplateTypeFromMappedType(E),ae),getTemplateTypeFromMappedType(N),R)}}}return 0}function typeRelatedToDiscriminatedType(N,R){var j=getPropertiesOfType(N);var $=findDiscriminantProperties(j,R);if(!$)return 0;var G=1;for(var ie=0,ae=$;ie<ae.length;ie++){var ce=ae[ie];G*=countTypes(getNonMissingTypeOfSymbol(ce));if(G>25){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:N.id,targetId:R.id,numCombinations:G});return 0}}var le=new Array($.length);var _e=new E.Set;for(var Ee=0;Ee<$.length;Ee++){var ce=$[Ee];var Te=getNonMissingTypeOfSymbol(ce);le[Ee]=Te.flags&1048576?Te.types:[Te];_e.add(ce.escapedName)}var we=E.cartesianProduct(le);var Ie=[];var _loop_19=function(j){var G=false;e:for(var ie=0,ae=R.types;ie<ae.length;ie++){var ce=ae[ie];var _loop_20=function(E){var G=$[E];var ie=getPropertyOfType(ce,G.escapedName);if(!ie)return"continue-outer";if(G===ie)return"continue";var ae=propertyRelatedTo(N,R,G,ie,(function(N){return j[E]}),false,0,rt||q===Fi);if(!ae){return"continue-outer"}};for(var le=0;le<$.length;le++){var _e=_loop_20(le);switch(_e){case"continue-outer":continue e}}E.pushIfUnique(Ie,ce,E.equateValues);G=true}if(!G){return{value:0}}};for(var Ne=0,Me=we;Ne<Me.length;Ne++){var Le=Me[Ne];var Be=_loop_19(Le);if(typeof Be==="object")return Be.value}var je=-1;for(var Ue=0,ze=Ie;Ue<ze.length;Ue++){var We=ze[Ue];je&=propertiesRelatedTo(N,We,false,_e,0);if(je){je&=signaturesRelatedTo(N,We,0,false);if(je){je&=signaturesRelatedTo(N,We,1,false);if(je&&!(isTupleType(N)&&isTupleType(We))){je&=indexSignaturesRelatedTo(N,We,false,false,0)}}}if(!je){return je}}return je}function excludeProperties(E,N){if(!N||E.length===0)return E;var R;for(var j=0;j<E.length;j++){if(!N.has(E[j].escapedName)){if(R){R.push(E[j])}}else if(!R){R=E.slice(0,j)}}return R||E}function isPropertySymbolTypeRelated(N,R,j,$,q){var G=rt&&!!(E.getCheckFlags(R)&48);var ie=addOptionality(getNonMissingTypeOfSymbol(R),false,G);var ae=j(N);return isRelatedTo(ae,ie,$,undefined,q)}function propertyRelatedTo(N,R,j,$,q,G,ie,ae){var ce=E.getDeclarationModifierFlagsFromSymbol(j);var le=E.getDeclarationModifierFlagsFromSymbol($);if(ce&8||le&8){if(j.valueDeclaration!==$.valueDeclaration){if(G){if(ce&8&&le&8){reportError(E.Diagnostics.Types_have_separate_declarations_of_a_private_property_0,symbolToString($))}else{reportError(E.Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,symbolToString($),typeToString(ce&8?N:R),typeToString(ce&8?R:N))}}return 0}}else if(le&16){if(!isValidOverrideOf(j,$)){if(G){reportError(E.Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,symbolToString($),typeToString(getDeclaringClass(j)||N),typeToString(getDeclaringClass($)||R))}return 0}}else if(ce&16){if(G){reportError(E.Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,symbolToString($),typeToString(N),typeToString(R))}return 0}var _e=isPropertySymbolTypeRelated(j,$,q,G,ie);if(!_e){if(G){reportIncompatibleError(E.Diagnostics.Types_of_property_0_are_incompatible,symbolToString($))}return 0}if(!ae&&j.flags&16777216&&!($.flags&16777216)){if(G){reportError(E.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,symbolToString($),typeToString(N),typeToString(R))}return 0}return _e}function reportUnmatchedProperty(N,$,q,G){var ae=false;if(q.valueDeclaration&&E.isNamedDeclaration(q.valueDeclaration)&&E.isPrivateIdentifier(q.valueDeclaration.name)&&N.symbol&&N.symbol.flags&32){var ce=q.valueDeclaration.name.escapedText;var _e=E.getSymbolNameForPrivateIdentifier(N.symbol,ce);if(_e&&getPropertyOfType(N,_e)){var Ee=E.factory.getDeclarationName(N.symbol.valueDeclaration);var Te=E.factory.getDeclarationName($.symbol.valueDeclaration);reportError(E.Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,diagnosticName(ce),diagnosticName(Ee.escapedText===""?R:Ee),diagnosticName(Te.escapedText===""?R:Te));return}}var we=E.arrayFrom(getUnmatchedProperties(N,$,G,false));if(!ie||ie.code!==E.Diagnostics.Class_0_incorrectly_implements_interface_1.code&&ie.code!==E.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code){ae=true}if(we.length===1){var Ie=symbolToString(q);reportError.apply(void 0,j([E.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2,Ie],getTypeNamesForErrorDisplay(N,$),false));if(E.length(q.declarations)){associateRelatedInfo(E.createDiagnosticForNode(q.declarations[0],E.Diagnostics._0_is_declared_here,Ie))}if(ae&&le){Be++}}else if(tryElaborateArrayLikeErrors(N,$,false)){if(we.length>5){reportError(E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,typeToString(N),typeToString($),E.map(we.slice(0,4),(function(E){return symbolToString(E)})).join(", "),we.length-4)}else{reportError(E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,typeToString(N),typeToString($),E.map(we,(function(E){return symbolToString(E)})).join(", "))}if(ae&&le){Be++}}}function propertiesRelatedTo(N,R,j,$,G){if(q===Ii){return propertiesIdenticalTo(N,R,$)}var ie=-1;if(isTupleType(R)){if(isArrayType(N)||isTupleType(N)){if(!R.target.readonly&&(isReadonlyArrayType(N)||isTupleType(N)&&N.target.readonly)){return 0}var ae=getTypeReferenceArity(N);var ce=getTypeReferenceArity(R);var le=isTupleType(N)?N.target.combinedFlags&4:4;var _e=R.target.combinedFlags&4;var Ee=isTupleType(N)?N.target.minLength:0;var Te=R.target.minLength;if(!le&&ae<Te){if(j){reportError(E.Diagnostics.Source_has_0_element_s_but_target_requires_1,ae,Te)}return 0}if(!_e&&ce<Ee){if(j){reportError(E.Diagnostics.Source_has_0_element_s_but_target_allows_only_1,Ee,ce)}return 0}if(!_e&&(le||ce<ae)){if(j){if(Ee<Te){reportError(E.Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer,Te)}else{reportError(E.Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more,ce)}}return 0}var we=getTypeArguments(N);var Ie=getTypeArguments(R);var Ne=Math.min(isTupleType(N)?getStartElementCount(N.target,11):0,getStartElementCount(R.target,11));var Me=Math.min(isTupleType(N)?getEndElementCount(N.target,11):0,_e?getEndElementCount(R.target,11):0);var Le=!!$;for(var Be=0;Be<ce;Be++){var je=Be<ce-Me?Be:Be+ae-ce;var Ue=isTupleType(N)&&(Be<Ne||Be>=ce-Me)?N.target.elementFlags[je]:4;var ze=R.target.elementFlags[Be];if(ze&8&&!(Ue&8)){if(j){reportError(E.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Be)}return 0}if(Ue&8&&!(ze&12)){if(j){reportError(E.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,je,Be)}return 0}if(ze&1&&!(Ue&1)){if(j){reportError(E.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,Be)}return 0}if(Le){if(Ue&12||ze&12){Le=false}if(Le&&($===null||$===void 0?void 0:$.has(""+Be))){continue}}var We=!isTupleType(N)?we[0]:Be<Ne||Be>=ce-Me?removeMissingType(we[je],!!(Ue&ze&2)):getElementTypeOfSliceOfTupleType(N,Ne,Me)||dr;var Je=Ie[Be];var Ve=Ue&8&&ze&4?createArrayType(Je):removeMissingType(Je,!!(ze&2));var qe=isRelatedTo(We,Ve,j,undefined,G);if(!qe){if(j&&(ce>1||ae>1)){if(Be<Ne||Be>=ce-Me||ae-Ne-Me===1){reportIncompatibleError(E.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,je,Be)}else{reportIncompatibleError(E.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,Ne,ae-Me-1,Be)}}return 0}ie&=qe}return ie}if(R.target.combinedFlags&12){return 0}}var He=(q===Ai||q===wi)&&!isObjectLiteralType(N)&&!isEmptyArrayLiteralType(N)&&!isTupleType(N);var Ge=getUnmatchedProperty(N,R,He,false);if(Ge){if(j){reportUnmatchedProperty(N,R,Ge,He)}return 0}if(isObjectLiteralType(R)){for(var Ke=0,Qe=excludeProperties(getPropertiesOfType(N),$);Ke<Qe.length;Ke++){var Xe=Qe[Ke];if(!getPropertyOfObjectType(R,Xe.escapedName)){var We=getTypeOfSymbol(Xe);if(!(We.flags&32768)){if(j){reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1,symbolToString(Xe),typeToString(R))}return 0}}}}var Ye=getPropertiesOfType(R);var Ze=isTupleType(N)&&isTupleType(R);for(var et=0,tt=excludeProperties(Ye,$);et<tt.length;et++){var rt=tt[et];var nt=rt.escapedName;if(!(rt.flags&4194304)&&(!Ze||isNumericLiteralName(nt)||nt==="length")){var Xe=getPropertyOfType(N,nt);if(Xe&&Xe!==rt){var qe=propertyRelatedTo(N,R,Xe,rt,getNonMissingTypeOfSymbol,j,G,q===Fi);if(!qe){return 0}ie&=qe}}}return ie}function propertiesIdenticalTo(E,N,R){if(!(E.flags&524288&&N.flags&524288)){return 0}var j=excludeProperties(getPropertiesOfObjectType(E),R);var $=excludeProperties(getPropertiesOfObjectType(N),R);if(j.length!==$.length){return 0}var q=-1;for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];var ce=getPropertyOfObjectType(N,ae.escapedName);if(!ce){return 0}var le=compareProperties(ae,ce,isRelatedTo);if(!le){return 0}q&=le}return q}function signaturesRelatedTo(N,R,j,$){var G,ie;if(q===Ii){return signaturesIdenticalTo(N,R,j)}if(R===wr||N===wr){return-1}var ae=N.symbol&&isJSConstructor(N.symbol.valueDeclaration);var ce=R.symbol&&isJSConstructor(R.symbol.valueDeclaration);var le=getSignaturesOfType(N,ae&&j===1?0:j);var _e=getSignaturesOfType(R,ce&&j===1?0:j);if(j===1&&le.length&&_e.length){var Ee=!!(le[0].flags&4);var Te=!!(_e[0].flags&4);if(Ee&&!Te){if($){reportError(E.Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type)}return 0}if(!constructorVisibilitiesAreCompatible(le[0],_e[0],$)){return 0}}var we=-1;var Ie=captureErrorCalculationState();var Ne=j===1?reportIncompatibleConstructSignatureReturn:reportIncompatibleCallSignatureReturn;var Me=E.getObjectFlags(N);var Le=E.getObjectFlags(R);if(Me&64&&Le&64&&N.symbol===R.symbol){for(var Be=0;Be<_e.length;Be++){var je=signatureRelatedTo(le[Be],_e[Be],true,$,Ne(le[Be],_e[Be]));if(!je){return 0}we&=je}}else if(le.length===1&&_e.length===1){var Ue=q===Fi||!!Xe.noStrictGenericChecks;var ze=E.first(le);var We=E.first(_e);we=signatureRelatedTo(ze,We,Ue,$,Ne(ze,We));if(!we&&$&&j===1&&Me&Le&&(((G=We.declaration)===null||G===void 0?void 0:G.kind)===169||((ie=ze.declaration)===null||ie===void 0?void 0:ie.kind)===169)){var constructSignatureToString=function(E){return signatureToString(E,undefined,262144,j)};reportError(E.Diagnostics.Type_0_is_not_assignable_to_type_1,constructSignatureToString(ze),constructSignatureToString(We));reportError(E.Diagnostics.Types_of_construct_signatures_are_incompatible);return we}}else{e:for(var Je=0,Ve=_e;Je<Ve.length;Je++){var qe=Ve[Je];var He=$;for(var Ge=0,Ke=le;Ge<Ke.length;Ge++){var Qe=Ke[Ge];var je=signatureRelatedTo(Qe,qe,true,He,Ne(Qe,qe));if(je){we&=je;resetErrorInfo(Ie);continue e}He=false}if(He){reportError(E.Diagnostics.Type_0_provides_no_match_for_the_signature_1,typeToString(N),signatureToString(qe,undefined,undefined,j))}return 0}}return we}function reportIncompatibleCallSignatureReturn(N,R){if(N.parameters.length===0&&R.parameters.length===0){return function(N,R){return reportIncompatibleError(E.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,typeToString(N),typeToString(R))}}return function(N,R){return reportIncompatibleError(E.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible,typeToString(N),typeToString(R))}}function reportIncompatibleConstructSignatureReturn(N,R){if(N.parameters.length===0&&R.parameters.length===0){return function(N,R){return reportIncompatibleError(E.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,typeToString(N),typeToString(R))}}return function(N,R){return reportIncompatibleError(E.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible,typeToString(N),typeToString(R))}}function signatureRelatedTo(E,N,R,j,$){return compareSignaturesRelated(R?getErasedSignature(E):E,R?getErasedSignature(N):N,q===wi?8:0,j,reportError,$,isRelatedTo,makeFunctionTypeMapper(reportUnreliableMarkers))}function signaturesIdenticalTo(E,N,R){var j=getSignaturesOfType(E,R);var $=getSignaturesOfType(N,R);if(j.length!==$.length){return 0}var q=-1;for(var G=0;G<j.length;G++){var ie=compareSignaturesIdentical(j[G],$[G],false,false,false,isRelatedTo);if(!ie){return 0}q&=ie}return q}function membersRelatedToIndexInfo(N,R,j){var $=-1;var q=R.keyType;var G=N.flags&2097152?getPropertiesOfUnionOrIntersectionType(N):getPropertiesOfObjectType(N);for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];if(isIgnoredJsxProperty(N,ce)){continue}if(isApplicableIndexType(getLiteralTypeFromProperty(ce,8576),q)){var le=getNonMissingTypeOfSymbol(ce);var _e=ft||le.flags&32768||q===tr||!(ce.flags&16777216)?le:getTypeWithFacts(le,524288);var Ee=isRelatedTo(_e,R.type,j);if(!Ee){if(j){reportError(E.Diagnostics.Property_0_is_incompatible_with_index_signature,symbolToString(ce))}return 0}$&=Ee}}for(var Te=0,we=getIndexInfosOfType(N);Te<we.length;Te++){var Ie=we[Te];if(isApplicableIndexType(Ie.keyType,q)){var Ee=indexInfoRelatedTo(Ie,R,j);if(!Ee){return 0}$&=Ee}}return $}function indexInfoRelatedTo(N,R,j){var $=isRelatedTo(N.type,R.type,j);if(!$&&j){if(N.keyType===R.keyType){reportError(E.Diagnostics._0_index_signatures_are_incompatible,typeToString(N.keyType))}else{reportError(E.Diagnostics._0_and_1_index_signatures_are_incompatible,typeToString(N.keyType),typeToString(R.keyType))}}return $}function indexSignaturesRelatedTo(N,R,j,$,G){if(q===Ii){return indexSignaturesIdenticalTo(N,R)}var ie=getIndexInfosOfType(R);var ae=E.some(ie,(function(E){return E.keyType===er}));var ce=-1;for(var le=0,_e=ie;le<_e.length;le++){var Ee=_e[le];var Te=!j&&ae&&Ee.type.flags&1?-1:isGenericMappedType(N)&&ae?isRelatedTo(getTemplateTypeFromMappedType(N),Ee.type,$):typeRelatedToIndexInfo(N,Ee,$,G);if(!Te){return 0}ce&=Te}return ce}function typeRelatedToIndexInfo(N,R,j,$){var q=getApplicableIndexInfo(N,R.keyType);if(q){return indexInfoRelatedTo(q,R,j)}if(!($&1)&&isObjectTypeWithInferableIndex(N)){return membersRelatedToIndexInfo(N,R,j)}if(j){reportError(E.Diagnostics.Index_signature_for_type_0_is_missing_in_type_1,typeToString(R.keyType),typeToString(N))}return 0}function indexSignaturesIdenticalTo(E,N){var R=getIndexInfosOfType(E);var j=getIndexInfosOfType(N);if(R.length!==j.length){return 0}for(var $=0,q=j;$<q.length;$++){var G=q[$];var ie=getIndexInfoOfType(E,G.keyType);if(!(ie&&isRelatedTo(ie.type,G.type)&&ie.isReadonly===G.isReadonly)){return 0}}return-1}function constructorVisibilitiesAreCompatible(N,R,j){if(!N.declaration||!R.declaration){return true}var $=E.getSelectedEffectiveModifierFlags(N.declaration,24);var q=E.getSelectedEffectiveModifierFlags(R.declaration,24);if(q===8){return true}if(q===16&&$!==8){return true}if(q!==16&&!$){return true}if(j){reportError(E.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,visibilityToString($),visibilityToString(q))}return false}}function typeCouldHaveTopLevelSingletonTypes(N){if(N.flags&16){return false}if(N.flags&3145728){return!!E.forEach(N.types,typeCouldHaveTopLevelSingletonTypes)}if(N.flags&465829888){var R=getConstraintOfType(N);if(R&&R!==N){return typeCouldHaveTopLevelSingletonTypes(R)}}return isUnitType(N)||!!(N.flags&134217728)}function getBestMatchingType(E,N,R){if(R===void 0){R=compareTypesAssignable}return findMatchingDiscriminantType(E,N,R,true)||findMatchingTypeReferenceOrTypeAliasReference(E,N)||findBestTypeForObjectLiteral(E,N)||findBestTypeForInvokable(E,N)||findMostOverlappyType(E,N)}function discriminateTypeByDiscriminableItems(N,R,j,$,q){var G=N.types.map((function(E){return undefined}));for(var ie=0,ae=R;ie<ae.length;ie++){var ce=ae[ie],le=ce[0],_e=ce[1];var Ee=getUnionOrIntersectionProperty(N,_e);if(q&&Ee&&E.getCheckFlags(Ee)&16){continue}var Te=0;for(var we=0,Ie=N.types;we<Ie.length;we++){var Ne=Ie[we];var Me=getTypeOfPropertyOfType(Ne,_e);if(Me&&j(le(),Me)){G[Te]=G[Te]===undefined?true:G[Te]}else{G[Te]=false}Te++}}var Le=G.indexOf(true);if(Le===-1){return $}var Be=G.indexOf(true,Le+1);while(Be!==-1){if(!isTypeIdenticalTo(N.types[Le],N.types[Be])){return $}Be=G.indexOf(true,Be+1)}return N.types[Le]}function isWeakType(N){if(N.flags&524288){var R=resolveStructuredTypeMembers(N);return R.callSignatures.length===0&&R.constructSignatures.length===0&&R.indexInfos.length===0&&R.properties.length>0&&E.every(R.properties,(function(E){return!!(E.flags&16777216)}))}if(N.flags&2097152){return E.every(N.types,isWeakType)}return false}function hasCommonProperties(E,N,R){for(var j=0,$=getPropertiesOfType(E);j<$.length;j++){var q=$[j];if(isKnownProperty(N,q.escapedName,R)){return true}}return false}function getMarkerTypeReference(N,R,j){var $=createTypeReference(N,E.map(N.typeParameters,(function(E){return E===R?j:E})));$.objectFlags|=4096;return $}function getAliasVariances(E){var N=getSymbolLinks(E);return getVariancesWorker(N.typeParameters,N,(function(R,j,$){var q=getTypeAliasInstantiation(E,instantiateTypes(N.typeParameters,makeUnaryTypeMapper(j,$)));q.aliasTypeArgumentsContainsMarker=true;return q}))}function getVariancesWorker(N,R,j){var $,q,G;if(N===void 0){N=E.emptyArray}var ie=R.variances;if(!ie){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("checkTypes","getVariancesWorker",{arity:N.length,id:(G=($=R.id)!==null&&$!==void 0?$:(q=R.declaredType)===null||q===void 0?void 0:q.id)!==null&&G!==void 0?G:-1});R.variances=E.emptyArray;ie=[];var _loop_21=function(E){var N=false;var $=false;var q=Di;Di=function(E){return E?$=true:N=true};var G=j(R,E,Nr);var ae=j(R,E,Or);var ce=(isTypeAssignableTo(ae,G)?1:0)|(isTypeAssignableTo(G,ae)?2:0);if(ce===3&&isTypeAssignableTo(j(R,E,Mr),G)){ce=4}Di=q;if(N||$){if(N){ce|=8}if($){ce|=16}}ie.push(ce)};for(var ae=0,ce=N;ae<ce.length;ae++){var le=ce[ae];_loop_21(le)}R.variances=ie;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}return ie}function getVariances(E){if(E===on||E===sn||E.objectFlags&8){return Ge}return getVariancesWorker(E.typeParameters,E,getMarkerTypeReference)}function hasCovariantVoidArgument(E,N){for(var R=0;R<N.length;R++){if((N[R]&7)===1&&E[R].flags&16384){return true}}return false}function isUnconstrainedTypeParameter(E){return E.flags&262144&&!getConstraintOfTypeParameter(E)}function isNonDeferredTypeReference(N){return!!(E.getObjectFlags(N)&4)&&!N.node}function isTypeReferenceWithGenericArguments(N){return isNonDeferredTypeReference(N)&&E.some(getTypeArguments(N),(function(E){return!!(E.flags&262144)||isTypeReferenceWithGenericArguments(E)}))}function getTypeReferenceId(E,N,R){if(R===void 0){R=0}var j=""+E.target.id;for(var $=0,q=getTypeArguments(E);$<q.length;$++){var G=q[$];if(isUnconstrainedTypeParameter(G)){var ie=N.indexOf(G);if(ie<0){ie=N.length;N.push(G)}j+="="+ie}else if(R<4&&isTypeReferenceWithGenericArguments(G)){j+="<"+getTypeReferenceId(G,N,R+1)+">"}else{j+="-"+G.id}}return j}function getRelationKey(E,N,R,j){if(j===Ii&&E.id>N.id){var $=E;E=N;N=$}var q=R?":"+R:"";if(isTypeReferenceWithGenericArguments(E)&&isTypeReferenceWithGenericArguments(N)){var G=[];return getTypeReferenceId(E,G)+","+getTypeReferenceId(N,G)+q}return E.id+","+N.id+q}function forEachProperty(N,R){if(E.getCheckFlags(N)&6){for(var j=0,$=N.containingType.types;j<$.length;j++){var q=$[j];var G=getPropertyOfType(q,N.escapedName);var ie=G&&forEachProperty(G,R);if(ie){return ie}}return undefined}return R(N)}function getDeclaringClass(E){return E.parent&&E.parent.flags&32?getDeclaredTypeOfSymbol(getParentOfSymbol(E)):undefined}function getTypeOfPropertyInBaseClass(E){var N=getDeclaringClass(E);var R=N&&getBaseTypes(N)[0];return R&&getTypeOfPropertyOfType(R,E.escapedName)}function isPropertyInClassDerivedFrom(E,N){return forEachProperty(E,(function(E){var R=getDeclaringClass(E);return R?hasBaseType(R,N):false}))}function isValidOverrideOf(N,R){return!forEachProperty(R,(function(R){return E.getDeclarationModifierFlagsFromSymbol(R)&16?!isPropertyInClassDerivedFrom(N,getDeclaringClass(R)):false}))}function isClassDerivedFromDeclaringClasses(N,R,j){return forEachProperty(R,(function(R){return E.getDeclarationModifierFlagsFromSymbol(R,j)&16?!hasBaseType(N,getDeclaringClass(R)):false}))?undefined:N}function isDeeplyNestedType(E,N,R){if(R>=5){var j=getRecursionIdentity(E);var $=0;for(var q=0;q<R;q++){if(getRecursionIdentity(N[q])===j){$++;if($>=5){return true}}}}return false}function getRecursionIdentity(N){if(N.flags&524288&&!isObjectOrArrayLiteralType(N)){if(E.getObjectFlags(N)&&4&&N.node){return N.node}if(N.symbol&&!(E.getObjectFlags(N)&16&&N.symbol.flags&32)){return N.symbol}if(isTupleType(N)){return N.target}}if(N.flags&262144){return N.symbol}if(N.flags&8388608){do{N=N.objectType}while(N.flags&8388608);return N}if(N.flags&16777216){return N.root}return N}function isPropertyIdenticalTo(E,N){return compareProperties(E,N,compareTypesIdentical)!==0}function compareProperties(N,R,j){if(N===R){return-1}var $=E.getDeclarationModifierFlagsFromSymbol(N)&24;var q=E.getDeclarationModifierFlagsFromSymbol(R)&24;if($!==q){return 0}if($){if(getTargetSymbol(N)!==getTargetSymbol(R)){return 0}}else{if((N.flags&16777216)!==(R.flags&16777216)){return 0}}if(isReadonlySymbol(N)!==isReadonlySymbol(R)){return 0}return j(getTypeOfSymbol(N),getTypeOfSymbol(R))}function isMatchingSignature(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=getMinArgumentCount(E);var G=getMinArgumentCount(N);var ie=hasEffectiveRestParameter(E);var ae=hasEffectiveRestParameter(N);if(j===$&&q===G&&ie===ae){return true}if(R&&q<=G){return true}return false}function compareSignaturesIdentical(N,R,j,$,q,G){if(N===R){return-1}if(!isMatchingSignature(N,R,j)){return 0}if(E.length(N.typeParameters)!==E.length(R.typeParameters)){return 0}if(R.typeParameters){var ie=createTypeMapper(N.typeParameters,R.typeParameters);for(var ae=0;ae<R.typeParameters.length;ae++){var ce=N.typeParameters[ae];var le=R.typeParameters[ae];if(!(ce===le||G(instantiateType(getConstraintFromTypeParameter(ce),ie)||Ht,getConstraintFromTypeParameter(le)||Ht)&&G(instantiateType(getDefaultFromTypeParameter(ce),ie)||Ht,getDefaultFromTypeParameter(le)||Ht))){return 0}}N=instantiateSignature(N,ie,true)}var _e=-1;if(!$){var Ee=getThisTypeOfSignature(N);if(Ee){var Te=getThisTypeOfSignature(R);if(Te){var we=G(Ee,Te);if(!we){return 0}_e&=we}}}var Ie=getParameterCount(R);for(var ae=0;ae<Ie;ae++){var ce=getTypeAtPosition(N,ae);var le=getTypeAtPosition(R,ae);var we=G(le,ce);if(!we){return 0}_e&=we}if(!q){var Ne=getTypePredicateOfSignature(N);var Me=getTypePredicateOfSignature(R);_e&=Ne||Me?compareTypePredicatesIdentical(Ne,Me,G):G(getReturnTypeOfSignature(N),getReturnTypeOfSignature(R))}return _e}function compareTypePredicatesIdentical(E,N,R){return!(E&&N&&typePredicateKindsMatch(E,N))?0:E.type===N.type?-1:E.type&&N.type?R(E.type,N.type):0}function literalTypesWithSameBaseType(E){var N;for(var R=0,j=E;R<j.length;R++){var $=j[R];var q=getBaseTypeOfLiteralType($);if(!N){N=q}if(q===$||q!==N){return false}}return true}function getSupertypeOrUnion(N){if(N.length===1){return N[0]}return literalTypesWithSameBaseType(N)?getUnionType(N):E.reduceLeft(N,(function(E,N){return isTypeSubtypeOf(E,N)?N:E}))}function getCommonSupertype(N){if(!rt){return getSupertypeOrUnion(N)}var R=E.filter(N,(function(E){return!(E.flags&98304)}));return R.length?getNullableType(getSupertypeOrUnion(R),getFalsyFlagsOfTypes(N)&98304):getUnionType(N,2)}function getCommonSubtype(N){return E.reduceLeft(N,(function(E,N){return isTypeSubtypeOf(N,E)?N:E}))}function isArrayType(N){return!!(E.getObjectFlags(N)&4)&&(N.target===on||N.target===sn)}function isReadonlyArrayType(N){return!!(E.getObjectFlags(N)&4)&&N.target===sn}function isMutableArrayOrTuple(E){return isArrayType(E)&&!isReadonlyArrayType(E)||isTupleType(E)&&!E.target.readonly}function getElementTypeOfArrayType(E){return isArrayType(E)?getTypeArguments(E)[0]:undefined}function isArrayLikeType(E){return isArrayType(E)||!(E.flags&98304)&&isTypeAssignableTo(E,hn)}function getSingleBaseForNonAugmentingSubtype(N){if(!(E.getObjectFlags(N)&4)||!(E.getObjectFlags(N.target)&3)){return undefined}if(E.getObjectFlags(N)&33554432){return E.getObjectFlags(N)&67108864?N.cachedEquivalentBaseType:undefined}N.objectFlags|=33554432;var R=N.target;if(E.getObjectFlags(R)&1){var j=getBaseTypeNodeOfClass(R);if(j&&j.expression.kind!==79&&j.expression.kind!==204){return undefined}}var $=getBaseTypes(R);if($.length!==1){return undefined}if(getMembersOfSymbol(N.symbol).size){return undefined}var q=!E.length(R.typeParameters)?$[0]:instantiateType($[0],createTypeMapper(R.typeParameters,getTypeArguments(N).slice(0,R.typeParameters.length)));if(E.length(getTypeArguments(N))>E.length(R.typeParameters)){q=getTypeWithThisArgument(q,E.last(getTypeArguments(N)))}N.objectFlags|=67108864;return N.cachedEquivalentBaseType=q}function isEmptyLiteralType(E){return rt?E===mr:E===Kt}function isEmptyArrayLiteralType(E){var N=getElementTypeOfArrayType(E);return!!N&&isEmptyLiteralType(N)}function isTupleLikeType(E){return isTupleType(E)||!!getPropertyOfType(E,"0")}function isArrayOrTupleLikeType(E){return isArrayLikeType(E)||isTupleLikeType(E)}function getTupleElementType(E,N){var R=getTypeOfPropertyOfType(E,""+N);if(R){return R}if(everyType(E,isTupleType)){return mapType(E,(function(E){return getRestTypeOfTupleType(E)||Gt}))}return undefined}function isNeitherUnitTypeNorNever(E){return!(E.flags&(109440|131072))}function isUnitType(E){return!!(E.flags&109440)}function isUnitLikeType(N){return N.flags&2097152?E.some(N.types,isUnitType):!!(N.flags&109440)}function extractUnitType(N){return N.flags&2097152?E.find(N.types,isUnitType)||N:N}function isLiteralType(N){return N.flags&16?true:N.flags&1048576?N.flags&1024?true:E.every(N.types,isUnitType):isUnitType(N)}function getBaseTypeOfLiteralType(E){return E.flags&1024?getBaseTypeOfEnumLiteralType(E):E.flags&128?er:E.flags&256?tr:E.flags&2048?rr:E.flags&512?cr:E.flags&1048576?mapType(E,getBaseTypeOfLiteralType):E}function getWidenedLiteralType(E){return E.flags&1024&&isFreshLiteralType(E)?getBaseTypeOfEnumLiteralType(E):E.flags&128&&isFreshLiteralType(E)?er:E.flags&256&&isFreshLiteralType(E)?tr:E.flags&2048&&isFreshLiteralType(E)?rr:E.flags&512&&isFreshLiteralType(E)?cr:E.flags&1048576?mapType(E,getWidenedLiteralType):E}function getWidenedUniqueESSymbolType(E){return E.flags&8192?lr:E.flags&1048576?mapType(E,getWidenedUniqueESSymbolType):E}function getWidenedLiteralLikeTypeForContextualType(E,N){if(!isLiteralOfContextualType(E,N)){E=getWidenedUniqueESSymbolType(getWidenedLiteralType(E))}return E}function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(E,N,R){if(E&&isUnitType(E)){var j=!N?undefined:R?getPromisedTypeOfPromise(N):N;E=getWidenedLiteralLikeTypeForContextualType(E,j)}return E}function getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(E,N,R,j){if(E&&isUnitType(E)){var $=!N?undefined:getIterationTypeOfGeneratorFunctionReturnType(R,N,j);E=getWidenedLiteralLikeTypeForContextualType(E,$)}return E}function isTupleType(N){return!!(E.getObjectFlags(N)&4&&N.target.objectFlags&8)}function isGenericTupleType(E){return isTupleType(E)&&!!(E.target.combinedFlags&8)}function isSingleElementGenericTupleType(E){return isGenericTupleType(E)&&E.target.elementFlags.length===1}function getRestTypeOfTupleType(E){return getElementTypeOfSliceOfTupleType(E,E.target.fixedLength)}function getRestArrayTypeOfTupleType(E){var N=getRestTypeOfTupleType(E);return N&&createArrayType(N)}function getElementTypeOfSliceOfTupleType(E,N,R,j){if(R===void 0){R=0}if(j===void 0){j=false}var $=getTypeReferenceArity(E)-R;if(N<$){var q=getTypeArguments(E);var G=[];for(var ie=N;ie<$;ie++){var ae=q[ie];G.push(E.target.elementFlags[ie]&8?getIndexedAccessType(ae,tr):ae)}return j?getIntersectionType(G):getUnionType(G)}return undefined}function isTupleTypeStructureMatching(N,R){return getTypeReferenceArity(N)===getTypeReferenceArity(R)&&E.every(N.target.elementFlags,(function(E,N){return(E&12)===(R.target.elementFlags[N]&12)}))}function isZeroBigInt(E){var N=E.value;return N.base10Value==="0"}function getFalsyFlagsOfTypes(E){var N=0;for(var R=0,j=E;R<j.length;R++){var $=j[R];N|=getFalsyFlags($)}return N}function getFalsyFlags(E){return E.flags&1048576?getFalsyFlagsOfTypes(E.types):E.flags&128?E.value===""?128:0:E.flags&256?E.value===0?256:0:E.flags&2048?isZeroBigInt(E)?2048:0:E.flags&512?E===nr||E===ir?512:0:E.flags&117724}function removeDefinitelyFalsyTypes(E){return getFalsyFlags(E)&117632?filterType(E,(function(E){return!(getFalsyFlags(E)&117632)})):E}function extractDefinitelyFalsyTypes(E){return mapType(E,getDefinitelyFalsyPartOfType)}function getDefinitelyFalsyPartOfType(E){return E.flags&4?Xn:E.flags&8?Yn:E.flags&64?Zn:E===ir||E===nr||E.flags&(16384|32768|65536|3)||E.flags&128&&E.value===""||E.flags&256&&E.value===0||E.flags&2048&&isZeroBigInt(E)?E:dr}function getNullableType(E,N){var R=N&~E.flags&(32768|65536);return R===0?E:R===32768?getUnionType([E,Gt]):R===65536?getUnionType([E,Yt]):getUnionType([E,Gt,Yt])}function getOptionalType(N,R){if(R===void 0){R=false}E.Debug.assert(rt);return N.flags&32768?N:getUnionType([N,R?Xt:Gt])}function getGlobalNonNullableTypeInstantiation(E){var N=getTypeWithFacts(E,2097152);if(!_n){_n=getGlobalSymbol("NonNullable",524288,undefined)||jt}return _n!==jt?getTypeAliasInstantiation(_n,[N]):N}function getNonNullableType(E){return rt?getGlobalNonNullableTypeInstantiation(E):E}function addOptionalTypeMarker(E){return rt?getUnionType([E,Qt]):E}function removeOptionalTypeMarker(E){return rt?removeType(E,Qt):E}function propagateOptionalTypeMarker(N,R,j){return j?E.isOutermostOptionalChain(R)?getOptionalType(N):addOptionalTypeMarker(N):N}function getOptionalExpressionType(N,R){return E.isExpressionOfOptionalChainRoot(R)?getNonNullableType(N):E.isOptionalChain(R)?removeOptionalTypeMarker(N):N}function removeMissingType(E,N){return ft&&N?removeType(E,Xt):E}function containsMissingType(E){return ft&&(E===Xt||E.flags&1048576&&containsType(E.types,Xt))}function removeMissingOrUndefinedType(E){return ft?removeType(E,Xt):getTypeWithFacts(E,524288)}function isCoercibleUnderDoubleEquals(E,N){return(E.flags&(8|4|512))!==0&&(N.flags&(8|4|16))!==0}function isObjectTypeWithInferableIndex(N){return N.flags&2097152?E.every(N.types,isObjectTypeWithInferableIndex):!!(N.symbol&&(N.symbol.flags&(4096|2048|384|512))!==0&&!typeHasCallOrConstructSignatures(N))||!!(E.getObjectFlags(N)&1024&&isObjectTypeWithInferableIndex(N.source))}function createSymbolWithType(N,R){var j=createSymbol(N.flags,N.escapedName,E.getCheckFlags(N)&8);j.declarations=N.declarations;j.parent=N.parent;j.type=R;j.target=N;if(N.valueDeclaration){j.valueDeclaration=N.valueDeclaration}var $=getSymbolLinks(N).nameType;if($){j.nameType=$}return j}function transformTypeOfMembers(N,R){var j=E.createSymbolTable();for(var $=0,q=getPropertiesOfObjectType(N);$<q.length;$++){var G=q[$];var ie=getTypeOfSymbol(G);var ae=R(ie);j.set(G.escapedName,ae===ie?G:createSymbolWithType(G,ae))}return j}function getRegularTypeOfObjectLiteral(N){if(!(isObjectLiteralType(N)&&E.getObjectFlags(N)&16384)){return N}var R=N.regularType;if(R){return R}var j=N;var $=transformTypeOfMembers(N,getRegularTypeOfObjectLiteral);var q=createAnonymousType(j.symbol,$,j.callSignatures,j.constructSignatures,j.indexInfos);q.flags=j.flags;q.objectFlags|=j.objectFlags&~16384;N.regularType=q;return q}function createWideningContext(E,N,R){return{parent:E,propertyName:N,siblings:R,resolvedProperties:undefined}}function getSiblingsOfContext(E){if(!E.siblings){var N=[];for(var R=0,j=getSiblingsOfContext(E.parent);R<j.length;R++){var $=j[R];if(isObjectLiteralType($)){var q=getPropertyOfObjectType($,E.propertyName);if(q){forEachType(getTypeOfSymbol(q),(function(E){N.push(E)}))}}}E.siblings=N}return E.siblings}function getPropertiesOfContext(N){if(!N.resolvedProperties){var R=new E.Map;for(var j=0,$=getSiblingsOfContext(N);j<$.length;j++){var q=$[j];if(isObjectLiteralType(q)&&!(E.getObjectFlags(q)&4194304)){for(var G=0,ie=getPropertiesOfType(q);G<ie.length;G++){var ae=ie[G];R.set(ae.escapedName,ae)}}}N.resolvedProperties=E.arrayFrom(R.values())}return N.resolvedProperties}function getWidenedProperty(E,N){if(!(E.flags&4)){return E}var R=getTypeOfSymbol(E);var j=N&&createWideningContext(N,E.escapedName,undefined);var $=getWidenedTypeWithContext(R,j);return $===R?E:createSymbolWithType(E,$)}function getUndefinedProperty(E){var N=Bt.get(E.escapedName);if(N){return N}var R=createSymbolWithType(E,Xt);R.flags|=16777216;Bt.set(E.escapedName,R);return R}function getWidenedTypeOfObjectLiteral(N,R){var j=E.createSymbolTable();for(var $=0,q=getPropertiesOfObjectType(N);$<q.length;$++){var G=q[$];j.set(G.escapedName,getWidenedProperty(G,R))}if(R){for(var ie=0,ae=getPropertiesOfContext(R);ie<ae.length;ie++){var G=ae[ie];if(!j.has(G.escapedName)){j.set(G.escapedName,getUndefinedProperty(G))}}}var ce=createAnonymousType(N.symbol,j,E.emptyArray,E.emptyArray,E.sameMap(getIndexInfosOfType(N),(function(E){return createIndexInfo(E.keyType,getWidenedType(E.type),E.isReadonly)})));ce.objectFlags|=E.getObjectFlags(N)&(8192|524288);return ce}function getWidenedType(E){return getWidenedTypeWithContext(E,undefined)}function getWidenedTypeWithContext(N,R){if(E.getObjectFlags(N)&393216){if(R===undefined&&N.widened){return N.widened}var j=void 0;if(N.flags&(1|98304)){j=zt}else if(isObjectLiteralType(N)){j=getWidenedTypeOfObjectLiteral(N,R)}else if(N.flags&1048576){var $=R||createWideningContext(undefined,undefined,N.types);var q=E.sameMap(N.types,(function(E){return E.flags&98304?E:getWidenedTypeWithContext(E,$)}));j=getUnionType(q,E.some(q,isEmptyObjectType)?2:1)}else if(N.flags&2097152){j=getIntersectionType(E.sameMap(N.types,getWidenedType))}else if(isArrayType(N)||isTupleType(N)){j=createTypeReference(N.target,E.sameMap(getTypeArguments(N),getWidenedType))}if(j&&R===undefined){N.widened=j}return j||N}return N}function reportWideningErrorsInType(N){var R=false;if(E.getObjectFlags(N)&131072){if(N.flags&1048576){if(E.some(N.types,isEmptyObjectType)){R=true}else{for(var j=0,$=N.types;j<$.length;j++){var q=$[j];if(reportWideningErrorsInType(q)){R=true}}}}if(isArrayType(N)||isTupleType(N)){for(var G=0,ie=getTypeArguments(N);G<ie.length;G++){var q=ie[G];if(reportWideningErrorsInType(q)){R=true}}}if(isObjectLiteralType(N)){for(var ae=0,ce=getPropertiesOfObjectType(N);ae<ce.length;ae++){var le=ce[ae];var q=getTypeOfSymbol(le);if(E.getObjectFlags(q)&131072){if(!reportWideningErrorsInType(q)){error(le.valueDeclaration,E.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,symbolToString(le),typeToString(getWidenedType(q)))}R=true}}}}return R}function reportImplicitAny(N,R,j){var $=typeToString(getWidenedType(R));if(E.isInJSFile(N)&&!E.isCheckJsEnabledForFile(E.getSourceFileOfNode(N),Xe)){return}var q;switch(N.kind){case 219:case 165:case 164:q=st?E.Diagnostics.Member_0_implicitly_has_an_1_type:E.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 162:var G=N;if(E.isIdentifier(G.name)&&(E.isCallSignatureDeclaration(G.parent)||E.isMethodSignature(G.parent)||E.isFunctionTypeNode(G.parent))&&G.parent.parameters.indexOf(G)>-1&&(resolveName(G,G.name.escapedText,788968,undefined,G.name.escapedText,true)||G.name.originalKeywordKind&&E.isTypeNodeKind(G.name.originalKeywordKind))){var ie="arg"+G.parent.parameters.indexOf(G);errorOrSuggestion(st,N,E.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,ie,E.declarationNameToString(G.name));return}q=N.dotDotDotToken?st?E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:st?E.Diagnostics.Parameter_0_implicitly_has_an_1_type:E.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 201:q=E.Diagnostics.Binding_element_0_implicitly_has_an_1_type;if(!st){return}break;case 312:error(N,E.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,$);return;case 254:case 167:case 166:case 170:case 171:case 211:case 212:if(st&&!N.name){if(j===3){error(N,E.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,$)}else{error(N,E.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,$)}return}q=!st?E.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:j===3?E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;break;case 193:if(st){error(N,E.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type)}return;default:q=st?E.Diagnostics.Variable_0_implicitly_has_an_1_type:E.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}errorOrSuggestion(st,N,q,E.declarationNameToString(E.getNameOfDeclaration(N)),$)}function reportErrorsFromWidening(N,R,j){if(ie&&st&&E.getObjectFlags(R)&131072&&(!j||!getContextualSignatureForFunctionLikeDeclaration(N))){if(!reportWideningErrorsInType(R)){reportImplicitAny(N,R,j)}}}function applyToParameterTypes(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=getEffectiveRestType(E);var G=getEffectiveRestType(N);var ie=G?$-1:$;var ae=q?ie:Math.min(j,ie);var ce=getThisTypeOfSignature(E);if(ce){var le=getThisTypeOfSignature(N);if(le){R(ce,le)}}for(var _e=0;_e<ae;_e++){R(getTypeAtPosition(E,_e),getTypeAtPosition(N,_e))}if(G){R(getRestTypeAtPosition(E,ae),G)}}function applyToReturnTypes(E,N,R){var j=getTypePredicateOfSignature(E);var $=getTypePredicateOfSignature(N);if(j&&$&&typePredicateKindsMatch(j,$)&&j.type&&$.type){R(j.type,$.type)}else{R(getReturnTypeOfSignature(E),getReturnTypeOfSignature(N))}}function createInferenceContext(E,N,R,j){return createInferenceContextWorker(E.map(createInferenceInfo),N,R,j||compareTypesAssignable)}function cloneInferenceContext(N,R){if(R===void 0){R=0}return N&&createInferenceContextWorker(E.map(N.inferences,cloneInferenceInfo),N.signature,N.flags|R,N.compareTypes)}function createInferenceContextWorker(E,N,R,j){var $={inferences:E,signature:N,flags:R,compareTypes:j,mapper:makeFunctionTypeMapper((function(E){return mapToInferredType($,E,true)})),nonFixingMapper:makeFunctionTypeMapper((function(E){return mapToInferredType($,E,false)}))};return $}function mapToInferredType(E,N,R){var j=E.inferences;for(var $=0;$<j.length;$++){var q=j[$];if(N===q.typeParameter){if(R&&!q.isFixed){clearCachedInferences(j);q.isFixed=true}return getInferredType(E,$)}}return N}function clearCachedInferences(E){for(var N=0,R=E;N<R.length;N++){var j=R[N];if(!j.isFixed){j.inferredType=undefined}}}function createInferenceInfo(E){return{typeParameter:E,candidates:undefined,contraCandidates:undefined,inferredType:undefined,priority:undefined,topLevel:true,isFixed:false,impliedArity:undefined}}function cloneInferenceInfo(E){return{typeParameter:E.typeParameter,candidates:E.candidates&&E.candidates.slice(),contraCandidates:E.contraCandidates&&E.contraCandidates.slice(),inferredType:E.inferredType,priority:E.priority,topLevel:E.topLevel,isFixed:E.isFixed,impliedArity:E.impliedArity}}function cloneInferredPartOfContext(N){var R=E.filter(N.inferences,hasInferenceCandidates);return R.length?createInferenceContextWorker(E.map(R,cloneInferenceInfo),N.signature,N.flags,N.compareTypes):undefined}function getMapperFromContext(E){return E&&E.mapper}function couldContainTypeVariables(N){var R=E.getObjectFlags(N);if(R&1048576){return!!(R&2097152)}var j=!!(N.flags&465829888||N.flags&524288&&!isNonGenericTopLevelType(N)&&(R&4&&(N.node||E.forEach(getTypeArguments(N),couldContainTypeVariables))||R&16&&N.symbol&&N.symbol.flags&(16|8192|32|2048|4096)&&N.symbol.declarations||R&(32|1024|8388608))||N.flags&3145728&&!(N.flags&1024)&&!isNonGenericTopLevelType(N)&&E.some(N.types,couldContainTypeVariables));if(N.flags&3899393){N.objectFlags|=1048576|(j?2097152:0)}return j}function isNonGenericTopLevelType(N){if(N.aliasSymbol&&!N.aliasTypeArguments){var R=E.getDeclarationOfKind(N.aliasSymbol,257);return!!(R&&E.findAncestor(R.parent,(function(E){return E.kind===300?true:E.kind===259?false:"quit"})))}return false}function isTypeParameterAtTopLevel(N,R){return!!(N===R||N.flags&3145728&&E.some(N.types,(function(E){return isTypeParameterAtTopLevel(E,R)}))||N.flags&16777216&&(getTrueTypeFromConditionalType(N)===R||getFalseTypeFromConditionalType(N)===R))}function createEmptyObjectTypeFromStringLiteral(N){var R=E.createSymbolTable();forEachType(N,(function(N){if(!(N.flags&128)){return}var j=E.escapeLeadingUnderscores(N.value);var $=createSymbol(4,j);$.type=zt;if(N.symbol){$.declarations=N.symbol.declarations;$.valueDeclaration=N.symbol.valueDeclaration}R.set(j,$)}));var j=N.flags&4?[createIndexInfo(er,Tr,false)]:E.emptyArray;return createAnonymousType(undefined,R,E.emptyArray,E.emptyArray,j)}function inferTypeForHomomorphicMappedType(E,N,R){if(Xr){return undefined}var j=E.id+","+N.id+","+R.id;if(Qr.has(j)){return Qr.get(j)}Xr=true;var $=createReverseMappedType(E,N,R);Xr=false;Qr.set(j,$);return $}function isPartiallyInferableType(N){return!(E.getObjectFlags(N)&524288)||isObjectLiteralType(N)&&E.some(getPropertiesOfType(N),(function(E){return isPartiallyInferableType(getTypeOfSymbol(E))}))||isTupleType(N)&&E.some(getTypeArguments(N),isPartiallyInferableType)}function createReverseMappedType(N,R,j){if(!(getIndexInfoOfType(N,er)||getPropertiesOfType(N).length!==0&&isPartiallyInferableType(N))){return undefined}if(isArrayType(N)){return createArrayType(inferReverseMappedType(getTypeArguments(N)[0],R,j),isReadonlyArrayType(N))}if(isTupleType(N)){var $=E.map(getTypeArguments(N),(function(E){return inferReverseMappedType(E,R,j)}));var q=getMappedTypeModifiers(R)&4?E.sameMap(N.target.elementFlags,(function(E){return E&2?1:E})):N.target.elementFlags;return createTupleType($,q,N.target.readonly,N.target.labeledElementDeclarations)}var G=createObjectType(1024|16,undefined);G.source=N;G.mappedType=R;G.constraintType=j;return G}function getTypeOfReverseMappedSymbol(E){var N=getSymbolLinks(E);if(!N.type){N.type=inferReverseMappedType(E.propertyType,E.mappedType,E.constraintType)}return N.type}function inferReverseMappedType(E,N,R){var j=getIndexedAccessType(R.type,getTypeParameterFromMappedType(N));var $=getTemplateTypeFromMappedType(N);var q=createInferenceInfo(j);inferTypes([q],E,$);return getTypeFromInference(q)||Ht}function getUnmatchedProperties(N,R,j,$){var q,ie,ae,ce,le,_e,Ee;return G(this,(function(G){switch(G.label){case 0:q=getPropertiesOfType(R);ie=0,ae=q;G.label=1;case 1:if(!(ie<ae.length))return[3,6];ce=ae[ie];if(isStaticPrivateIdentifierProperty(ce)){return[3,5]}if(!(j||!(ce.flags&16777216||E.getCheckFlags(ce)&48)))return[3,5];le=getPropertyOfType(N,ce.escapedName);if(!!le)return[3,3];return[4,ce];case 2:G.sent();return[3,5];case 3:if(!$)return[3,5];_e=getTypeOfSymbol(ce);if(!(_e.flags&109440))return[3,5];Ee=getTypeOfSymbol(le);if(!!(Ee.flags&1||getRegularTypeOfLiteralType(Ee)===getRegularTypeOfLiteralType(_e)))return[3,5];return[4,ce];case 4:G.sent();G.label=5;case 5:ie++;return[3,1];case 6:return[2]}}))}function getUnmatchedProperty(E,N,R,j){var $=getUnmatchedProperties(E,N,R,j).next();if(!$.done)return $.value}function tupleTypesDefinitelyUnrelated(E,N){return!(N.target.combinedFlags&8)&&N.target.minLength>E.target.minLength||!N.target.hasRestElement&&(E.target.hasRestElement||N.target.fixedLength<E.target.fixedLength)}function typesDefinitelyUnrelated(E,N){return isTupleType(E)&&isTupleType(N)?tupleTypesDefinitelyUnrelated(E,N):!!getUnmatchedProperty(E,N,false,true)&&!!getUnmatchedProperty(N,E,false,false)}function getTypeFromInference(E){return E.candidates?getUnionType(E.candidates,2):E.contraCandidates?getIntersectionType(E.contraCandidates):undefined}function hasSkipDirectInferenceFlag(E){return!!getNodeLinks(E).skipDirectInference}function isFromInferenceBlockedSource(N){return!!(N.symbol&&E.some(N.symbol.declarations,hasSkipDirectInferenceFlag))}function isValidBigIntString(N){var R=E.createScanner(99,false);var j=true;R.setOnError((function(){return j=false}));R.setText(N+"n");var $=R.scan();if($===40){$=R.scan()}var q=R.getTokenFlags();return j&&$===9&&R.getTextPos()===N.length+1&&!(q&512)}function isValidTypeForTemplateLiteralPlaceholder(E,N){if(E===N||N.flags&(1|4)){return true}if(E.flags&128){var R=E.value;return!!(N.flags&8&&R!==""&&isFinite(+R)||N.flags&64&&R!==""&&isValidBigIntString(R)||N.flags&(512|98304)&&R===N.intrinsicName)}if(E.flags&134217728){var j=E.texts;return j.length===2&&j[0]===""&&j[1]===""&&isTypeAssignableTo(E.types[0],N)}return isTypeAssignableTo(E,N)}function inferTypesFromTemplateLiteralType(N,R){return N.flags&128?inferFromLiteralPartsToTemplateLiteral([N.value],E.emptyArray,R):N.flags&134217728?E.arraysEqual(N.texts,R.texts)?E.map(N.types,getStringLikeTypeForType):inferFromLiteralPartsToTemplateLiteral(N.texts,N.types,R):undefined}function getStringLikeTypeForType(E){return E.flags&(1|402653316)?E:getTemplateLiteralType(["",""],[E])}function inferFromLiteralPartsToTemplateLiteral(E,N,R){var $=E.length-1;var q=E[0];var G=E[$];var ie=R.texts;var ae=ie.length-1;var ce=ie[0];var le=ie[ae];if($===0&&q.length<ce.length+le.length||!q.startsWith(ce)||!G.endsWith(le))return undefined;var _e=G.slice(0,G.length-le.length);var Ee=[];var Te=0;var we=ce.length;for(var Ie=1;Ie<ae;Ie++){var Ne=ie[Ie];if(Ne.length>0){var Me=Te;var Le=we;while(true){Le=getSourceText(Me).indexOf(Ne,Le);if(Le>=0)break;Me++;if(Me===E.length)return undefined;Le=0}addMatch(Me,Le);we+=Ne.length}else if(we<getSourceText(Te).length){addMatch(Te,we+1)}else if(Te<$){addMatch(Te+1,0)}else{return undefined}}addMatch($,getSourceText($).length);return Ee;function getSourceText(N){return N<$?E[N]:_e}function addMatch(R,$){var q=R===Te?getStringLiteralType(getSourceText(R).slice(we,$)):getTemplateLiteralType(j(j([E[Te].slice(we)],E.slice(Te+1,R),true),[getSourceText(R).slice(0,$)],false),N.slice(Te,R));Ee.push(q);Te=R;we=$}}function inferTypes(N,R,j,$,q){if($===void 0){$=0}if(q===void 0){q=false}var G=false;var ie;var ae=2048;var ce=true;var le;var _e;var Ee;var Te=0;inferFromTypes(R,j);function inferFromTypes(R,le){if(!couldContainTypeVariables(le)){return}if(R===$t){var _e=ie;ie=R;inferFromTypes(le,le);ie=_e;return}if(R.aliasSymbol&&R.aliasTypeArguments&&R.aliasSymbol===le.aliasSymbol){inferFromTypeArguments(R.aliasTypeArguments,le.aliasTypeArguments,getAliasVariances(R.aliasSymbol));return}if(R===le&&R.flags&3145728){for(var Ee=0,Te=R.types;Ee<Te.length;Ee++){var we=Te[Ee];inferFromTypes(we,we)}return}if(le.flags&1048576){var Ie=inferFromMatchingTypes(R.flags&1048576?R.types:[R],le.types,isTypeOrBaseIdenticalTo),Ne=Ie[0],Me=Ie[1];var Le=inferFromMatchingTypes(Ne,Me,isTypeCloselyMatchedBy),Be=Le[0],je=Le[1];if(je.length===0){return}le=getUnionType(je);if(Be.length===0){inferWithPriority(R,le,1);return}R=getUnionType(Be)}else if(le.flags&2097152&&E.some(le.types,(function(E){return!!getInferenceInfoForType(E)||isGenericMappedType(E)&&!!getInferenceInfoForType(getHomomorphicTypeVariable(E)||dr)}))){if(!(R.flags&1048576)){var Ue=inferFromMatchingTypes(R.flags&2097152?R.types:[R],le.types,isTypeIdenticalTo),Be=Ue[0],je=Ue[1];if(Be.length===0||je.length===0){return}R=getIntersectionType(Be);le=getIntersectionType(je)}}else if(le.flags&(8388608|33554432)){le=getActualTypeVariable(le)}if(le.flags&8650752){if(E.getObjectFlags(R)&524288||R===Vt||R===pr||$&128&&(R===Wt||R===gn)||isFromInferenceBlockedSource(R)){return}var ze=getInferenceInfoForType(le);if(ze){if(!ze.isFixed){if(ze.priority===undefined||$<ze.priority){ze.candidates=undefined;ze.contraCandidates=undefined;ze.topLevel=true;ze.priority=$}if($===ze.priority){var We=ie||R;if(q&&!G){if(!E.contains(ze.contraCandidates,We)){ze.contraCandidates=E.append(ze.contraCandidates,We);clearCachedInferences(N)}}else if(!E.contains(ze.candidates,We)){ze.candidates=E.append(ze.candidates,We);clearCachedInferences(N)}}if(!($&128)&&le.flags&262144&&ze.topLevel&&!isTypeParameterAtTopLevel(j,le)){ze.topLevel=false;clearCachedInferences(N)}}ae=Math.min(ae,$);return}else{var Je=getSimplifiedType(le,false);if(Je!==le){invokeOnce(R,Je,inferFromTypes)}else if(le.flags&8388608){var Ve=getSimplifiedType(le.indexType,false);if(Ve.flags&465829888){var qe=distributeIndexOverObjectType(getSimplifiedType(le.objectType,false),Ve,false);if(qe&&qe!==le){invokeOnce(R,qe,inferFromTypes)}}}}}if(E.getObjectFlags(R)&4&&E.getObjectFlags(le)&4&&(R.target===le.target||isArrayType(R)&&isArrayType(le))&&!(R.node&&le.node)){inferFromTypeArguments(getTypeArguments(R),getTypeArguments(le),getVariances(R.target))}else if(R.flags&4194304&&le.flags&4194304){q=!q;inferFromTypes(R.type,le.type);q=!q}else if((isLiteralType(R)||R.flags&4)&&le.flags&4194304){var He=createEmptyObjectTypeFromStringLiteral(R);q=!q;inferWithPriority(He,le.type,256);q=!q}else if(R.flags&8388608&&le.flags&8388608){inferFromTypes(R.objectType,le.objectType);inferFromTypes(R.indexType,le.indexType)}else if(R.flags&268435456&&le.flags&268435456){if(R.symbol===le.symbol){inferFromTypes(R.type,le.type)}}else if(R.flags&33554432){inferFromTypes(R.baseType,le);var Ge=$;$|=4;inferFromTypes(R.substitute,le);$=Ge}else if(le.flags&16777216){invokeOnce(R,le,inferToConditionalType)}else if(le.flags&3145728){inferToMultipleTypes(R,le.types,le.flags)}else if(R.flags&1048576){var Ke=R.types;for(var Qe=0,Xe=Ke;Qe<Xe.length;Qe++){var Ye=Xe[Qe];inferFromTypes(Ye,le)}}else if(le.flags&134217728){inferToTemplateLiteralType(R,le)}else{R=getReducedType(R);if(!($&512&&R.flags&(2097152|465829888))){var Ze=getApparentType(R);if(Ze!==R&&ce&&!(Ze.flags&(524288|2097152))){ce=false;return inferFromTypes(Ze,le)}R=Ze}if(R.flags&(524288|2097152)){invokeOnce(R,le,inferFromObjectTypes)}}}function inferWithPriority(E,N,R){var j=$;$|=R;inferFromTypes(E,N);$=j}function invokeOnce(N,R,j){var $=N.id+","+R.id;var q=le&&le.get($);if(q!==undefined){ae=Math.min(ae,q);return}(le||(le=new E.Map)).set($,-1);var G=ae;ae=2048;var ie=Te;var ce=getRecursionIdentity(N);var we=getRecursionIdentity(R);if(E.contains(_e,ce))Te|=1;if(E.contains(Ee,we))Te|=2;if(Te!==3){(_e||(_e=[])).push(ce);(Ee||(Ee=[])).push(we);j(N,R);Ee.pop();_e.pop()}else{ae=-1}Te=ie;le.set($,ae);ae=Math.min(ae,G)}function inferFromMatchingTypes(N,R,j){var $;var q;for(var G=0,ie=R;G<ie.length;G++){var ae=ie[G];for(var ce=0,le=N;ce<le.length;ce++){var _e=le[ce];if(j(_e,ae)){inferFromTypes(_e,ae);$=E.appendIfUnique($,_e);q=E.appendIfUnique(q,ae)}}}return[$?E.filter(N,(function(N){return!E.contains($,N)})):N,q?E.filter(R,(function(N){return!E.contains(q,N)})):R]}function inferFromTypeArguments(E,N,R){var j=E.length<N.length?E.length:N.length;for(var $=0;$<j;$++){if($<R.length&&(R[$]&7)===2){inferFromContravariantTypes(E[$],N[$])}else{inferFromTypes(E[$],N[$])}}}function inferFromContravariantTypes(E,N){if(nt||$&1024){q=!q;inferFromTypes(E,N);q=!q}else{inferFromTypes(E,N)}}function getInferenceInfoForType(E){if(E.flags&8650752){for(var R=0,j=N;R<j.length;R++){var $=j[R];if(E===$.typeParameter){return $}}}return undefined}function getSingleTypeVariableFromIntersectionTypes(N){var R;for(var j=0,$=N;j<$.length;j++){var q=$[j];var G=q.flags&2097152&&E.find(q.types,(function(E){return!!getInferenceInfoForType(E)}));if(!G||R&&G!==R){return undefined}R=G}return R}function inferToMultipleTypes(N,R,j){var q=0;if(j&1048576){var G=void 0;var ie=N.flags&1048576?N.types:[N];var ce=new Array(ie.length);var le=false;for(var _e=0,Ee=R;_e<Ee.length;_e++){var Te=Ee[_e];if(getInferenceInfoForType(Te)){G=Te;q++}else{for(var we=0;we<ie.length;we++){var Ie=ae;ae=2048;inferFromTypes(ie[we],Te);if(ae===$)ce[we]=true;le=le||ae===-1;ae=Math.min(ae,Ie)}}}if(q===0){var Ne=getSingleTypeVariableFromIntersectionTypes(R);if(Ne){inferWithPriority(N,Ne,1)}return}if(q===1&&!le){var Me=E.flatMap(ie,(function(E,N){return ce[N]?undefined:E}));if(Me.length){inferFromTypes(getUnionType(Me),G);return}}}else{for(var Le=0,Be=R;Le<Be.length;Le++){var Te=Be[Le];if(getInferenceInfoForType(Te)){q++}else{inferFromTypes(N,Te)}}}if(j&2097152?q===1:q>0){for(var je=0,Ue=R;je<Ue.length;je++){var Te=Ue[je];if(getInferenceInfoForType(Te)){inferWithPriority(N,Te,1)}}}}function inferToMappedType(N,R,j){if(j.flags&1048576){var $=false;for(var q=0,G=j.types;q<G.length;q++){var ie=G[q];$=inferToMappedType(N,R,ie)||$}return $}if(j.flags&4194304){var ae=getInferenceInfoForType(j.type);if(ae&&!ae.isFixed&&!isFromInferenceBlockedSource(N)){var ce=inferTypeForHomomorphicMappedType(N,R,j);if(ce){inferWithPriority(ce,ae.typeParameter,E.getObjectFlags(N)&524288?16:8)}}return true}if(j.flags&262144){inferWithPriority(getIndexType(N),j,32);var le=getConstraintOfType(j);if(le&&inferToMappedType(N,R,le)){return true}var _e=E.map(getPropertiesOfType(N),getTypeOfSymbol);var Ee=E.map(getIndexInfosOfType(N),(function(E){return E!==zr?E.type:dr}));inferFromTypes(getUnionType(E.concatenate(_e,Ee)),getTemplateTypeFromMappedType(R));return true}return false}function inferToConditionalType(E,N){if(E.flags&16777216){inferFromTypes(E.checkType,N.checkType);inferFromTypes(E.extendsType,N.extendsType);inferFromTypes(getTrueTypeFromConditionalType(E),getTrueTypeFromConditionalType(N));inferFromTypes(getFalseTypeFromConditionalType(E),getFalseTypeFromConditionalType(N))}else{var R=$;$|=q?64:0;var j=[getTrueTypeFromConditionalType(N),getFalseTypeFromConditionalType(N)];inferToMultipleTypes(E,j,N.flags);$=R}}function inferToTemplateLiteralType(E,N){var R=inferTypesFromTemplateLiteralType(E,N);var j=N.types;for(var $=0;$<j.length;$++){inferFromTypes(R?R[$]:dr,j[$])}}function inferFromObjectTypes(N,R){if(E.getObjectFlags(N)&4&&E.getObjectFlags(R)&4&&(N.target===R.target||isArrayType(N)&&isArrayType(R))){inferFromTypeArguments(getTypeArguments(N),getTypeArguments(R),getVariances(N.target));return}if(isGenericMappedType(N)&&isGenericMappedType(R)){inferFromTypes(getConstraintTypeFromMappedType(N),getConstraintTypeFromMappedType(R));inferFromTypes(getTemplateTypeFromMappedType(N),getTemplateTypeFromMappedType(R));var j=getNameTypeFromMappedType(N);var $=getNameTypeFromMappedType(R);if(j&&$)inferFromTypes(j,$)}if(E.getObjectFlags(R)&32&&!R.declaration.nameType){var q=getConstraintTypeFromMappedType(R);if(inferToMappedType(N,R,q)){return}}if(!typesDefinitelyUnrelated(N,R)){if(isArrayType(N)||isTupleType(N)){if(isTupleType(R)){var G=getTypeReferenceArity(N);var ie=getTypeReferenceArity(R);var ae=getTypeArguments(R);var ce=R.target.elementFlags;if(isTupleType(N)&&isTupleTypeStructureMatching(N,R)){for(var le=0;le<ie;le++){inferFromTypes(getTypeArguments(N)[le],ae[le])}return}var _e=isTupleType(N)?Math.min(N.target.fixedLength,R.target.fixedLength):0;var Ee=Math.min(isTupleType(N)?getEndElementCount(N.target,3):0,R.target.hasRestElement?getEndElementCount(R.target,3):0);for(var le=0;le<_e;le++){inferFromTypes(getTypeArguments(N)[le],ae[le])}if(!isTupleType(N)||G-_e-Ee===1&&N.target.elementFlags[_e]&4){var Te=getTypeArguments(N)[_e];for(var le=_e;le<ie-Ee;le++){inferFromTypes(ce[le]&8?createArrayType(Te):Te,ae[le])}}else{var we=ie-_e-Ee;if(we===2&&ce[_e]&ce[_e+1]&8&&isTupleType(N)){var Ie=getInferenceInfoForType(ae[_e]);if(Ie&&Ie.impliedArity!==undefined){inferFromTypes(sliceTupleType(N,_e,Ee+G-Ie.impliedArity),ae[_e]);inferFromTypes(sliceTupleType(N,_e+Ie.impliedArity,Ee),ae[_e+1])}}else if(we===1&&ce[_e]&8){var Ne=R.target.elementFlags[ie-1]&2;var Me=isTupleType(N)?sliceTupleType(N,_e,Ee):createArrayType(getTypeArguments(N)[0]);inferWithPriority(Me,ae[_e],Ne?2:0)}else if(we===1&&ce[_e]&4){var Te=isTupleType(N)?getElementTypeOfSliceOfTupleType(N,_e,Ee):getTypeArguments(N)[0];if(Te){inferFromTypes(Te,ae[_e])}}}for(var le=0;le<Ee;le++){inferFromTypes(getTypeArguments(N)[G-le-1],ae[ie-le-1])}return}if(isArrayType(R)){inferFromIndexTypes(N,R);return}}inferFromProperties(N,R);inferFromSignatures(N,R,0);inferFromSignatures(N,R,1);inferFromIndexTypes(N,R)}}function inferFromProperties(E,N){var R=getPropertiesOfObjectType(N);for(var j=0,$=R;j<$.length;j++){var q=$[j];var G=getPropertyOfType(E,q.escapedName);if(G){inferFromTypes(getTypeOfSymbol(G),getTypeOfSymbol(q))}}}function inferFromSignatures(N,R,j){var $=getSignaturesOfType(N,j);var q=getSignaturesOfType(R,j);var G=$.length;var ie=q.length;var ae=G<ie?G:ie;var ce=!!(E.getObjectFlags(N)&524288);for(var le=0;le<ae;le++){inferFromSignature(getBaseSignature($[G-ae+le]),getErasedSignature(q[ie-ae+le]),ce)}}function inferFromSignature(E,N,R){if(!R){var j=G;var $=N.declaration?N.declaration.kind:0;G=G||$===167||$===166||$===169;applyToParameterTypes(E,N,inferFromContravariantTypes);G=j}applyToReturnTypes(E,N,inferFromTypes)}function inferFromIndexTypes(N,R){var j=E.getObjectFlags(N)&E.getObjectFlags(R)&32?8:0;var $=getIndexInfosOfType(R);if(isObjectTypeWithInferableIndex(N)){for(var q=0,G=$;q<G.length;q++){var ie=G[q];var ae=[];for(var ce=0,le=getPropertiesOfType(N);ce<le.length;ce++){var _e=le[ce];if(isApplicableIndexType(getLiteralTypeFromProperty(_e,8576),ie.keyType)){var Ee=getTypeOfSymbol(_e);ae.push(_e.flags&16777216?removeMissingOrUndefinedType(Ee):Ee)}}for(var Te=0,we=getIndexInfosOfType(N);Te<we.length;Te++){var Ie=we[Te];if(isApplicableIndexType(Ie.keyType,ie.keyType)){ae.push(Ie.type)}}if(ae.length){inferWithPriority(getUnionType(ae),ie.type,j)}}}for(var Ne=0,Me=$;Ne<Me.length;Ne++){var ie=Me[Ne];var Le=getApplicableIndexInfo(N,ie.keyType);if(Le){inferWithPriority(Le.type,ie.type,j)}}}}function isTypeOrBaseIdenticalTo(E,N){return ft&&N===Xt?E===N:isTypeIdenticalTo(E,N)||!!(N.flags&4&&E.flags&128||N.flags&8&&E.flags&256)}function isTypeCloselyMatchedBy(E,N){return!!(E.flags&524288&&N.flags&524288&&E.symbol&&E.symbol===N.symbol||E.aliasSymbol&&E.aliasTypeArguments&&E.aliasSymbol===N.aliasSymbol)}function hasPrimitiveConstraint(E){var N=getConstraintOfTypeParameter(E);return!!N&&maybeTypeOfKind(N.flags&16777216?getDefaultConstraintOfConditionalType(N):N,131068|4194304|134217728|268435456)}function isObjectLiteralType(N){return!!(E.getObjectFlags(N)&128)}function isObjectOrArrayLiteralType(N){return!!(E.getObjectFlags(N)&(128|32768))}function unionObjectAndArrayLiteralCandidates(N){if(N.length>1){var R=E.filter(N,isObjectOrArrayLiteralType);if(R.length){var j=getUnionType(R,2);return E.concatenate(E.filter(N,(function(E){return!isObjectOrArrayLiteralType(E)})),[j])}}return N}function getContravariantInference(E){return E.priority&416?getIntersectionType(E.contraCandidates):getCommonSubtype(E.contraCandidates)}function getCovariantInference(N,R){var j=unionObjectAndArrayLiteralCandidates(N.candidates);var $=hasPrimitiveConstraint(N.typeParameter);var q=!$&&N.topLevel&&(N.isFixed||!isTypeParameterAtTopLevel(getReturnTypeOfSignature(R),N.typeParameter));var G=$?E.sameMap(j,getRegularTypeOfLiteralType):q?E.sameMap(j,getWidenedLiteralType):j;var ie=N.priority&416?getUnionType(G,2):getCommonSupertype(G);return getWidenedType(ie)}function getInferredType(E,N){var R=E.inferences[N];if(!R.inferredType){var j=void 0;var $=E.signature;if($){var q=R.candidates?getCovariantInference(R,$):undefined;if(R.contraCandidates){var G=getContravariantInference(R);j=q&&!(q.flags&131072)&&isTypeSubtypeOf(q,G)?q:G}else if(q){j=q}else if(E.flags&1){j=pr}else{var ie=getDefaultFromTypeParameter(R.typeParameter);if(ie){j=instantiateType(ie,mergeTypeMappers(createBackreferenceMapper(E,N),E.nonFixingMapper))}}}else{j=getTypeFromInference(R)}R.inferredType=j||getDefaultTypeArgumentType(!!(E.flags&2));var ae=getConstraintOfTypeParameter(R.typeParameter);if(ae){var ce=instantiateType(ae,E.nonFixingMapper);if(!j||!E.compareTypes(j,getTypeWithThisArgument(ce,j))){R.inferredType=j=ce}}}return R.inferredType}function getDefaultTypeArgumentType(E){return E?zt:Ht}function getInferredTypes(E){var N=[];for(var R=0;R<E.inferences.length;R++){N.push(getInferredType(E,R))}return N}function getCannotFindNameDiagnosticForName(N){switch(N.escapedText){case"document":case"console":return E.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return Xe.types?E.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:E.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery;case"describe":case"suite":case"it":case"test":return Xe.types?E.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:E.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha;case"process":case"require":case"Buffer":case"module":return Xe.types?E.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:E.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode;case"Map":case"Set":case"Promise":case"Symbol":case"WeakMap":case"WeakSet":case"Iterator":case"AsyncIterator":case"SharedArrayBuffer":case"Atomics":case"AsyncIterable":case"AsyncIterableIterator":case"AsyncGenerator":case"AsyncGeneratorFunction":case"BigInt":case"Reflect":case"BigInt64Array":case"BigUint64Array":return E.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;default:if(N.parent.kind===292){return E.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer}else{return E.Diagnostics.Cannot_find_name_0}}}function getResolvedSymbol(N){var R=getNodeLinks(N);if(!R.resolvedSymbol){R.resolvedSymbol=!E.nodeIsMissing(N)&&resolveName(N,N.escapedText,111551|1048576,getCannotFindNameDiagnosticForName(N),N,!E.isWriteOnlyAccess(N),false,true)||jt}return R.resolvedSymbol}function isInTypeQuery(N){return!!E.findAncestor(N,(function(E){return E.kind===179?true:E.kind===79||E.kind===159?false:"quit"}))}function getFlowCacheKey(E,N,R,j){switch(E.kind){case 79:var $=getResolvedSymbol(E);return $!==jt?(j?getNodeId(j):"-1")+"|"+getTypeId(N)+"|"+getTypeId(R)+"|"+getSymbolId($):undefined;case 108:return"0|"+(j?getNodeId(j):"-1")+"|"+getTypeId(N)+"|"+getTypeId(R);case 228:case 210:return getFlowCacheKey(E.expression,N,R,j);case 159:var q=getFlowCacheKey(E.left,N,R,j);return q&&q+"."+E.right.escapedText;case 204:case 205:var G=getAccessedPropertyName(E);if(G!==undefined){var ie=getFlowCacheKey(E.expression,N,R,j);return ie&&ie+"."+G}}return undefined}function isMatchingReference(N,R){switch(R.kind){case 210:case 228:return isMatchingReference(N,R.expression);case 219:return E.isAssignmentExpression(R)&&isMatchingReference(N,R.left)||E.isBinaryExpression(R)&&R.operatorToken.kind===27&&isMatchingReference(N,R.right)}switch(N.kind){case 229:return R.kind===229&&N.keywordToken===R.keywordToken&&N.name.escapedText===R.name.escapedText;case 79:case 80:return E.isThisInTypeQuery(N)?R.kind===108:R.kind===79&&getResolvedSymbol(N)===getResolvedSymbol(R)||(R.kind===252||R.kind===201)&&getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(N))===getSymbolOfNode(R);case 108:return R.kind===108;case 106:return R.kind===106;case 228:case 210:return isMatchingReference(N.expression,R);case 204:case 205:return E.isAccessExpression(R)&&getAccessedPropertyName(N)===getAccessedPropertyName(R)&&isMatchingReference(N.expression,R.expression);case 159:return E.isAccessExpression(R)&&N.right.escapedText===getAccessedPropertyName(R)&&isMatchingReference(N.left,R.expression);case 219:return E.isBinaryExpression(N)&&N.operatorToken.kind===27&&isMatchingReference(N.right,R)}return false}function containsTruthyCheck(E,N){return isMatchingReference(E,N)||N.kind===219&&N.operatorToken.kind===55&&(containsTruthyCheck(E,N.left)||containsTruthyCheck(E,N.right))}function getPropertyAccess(N){if(E.isAccessExpression(N)){return N}if(E.isIdentifier(N)){var R=getResolvedSymbol(N);if(isConstVariable(R)){var j=R.valueDeclaration;if(E.isVariableDeclaration(j)&&!j.type&&j.initializer&&E.isAccessExpression(j.initializer)){return j.initializer}if(E.isBindingElement(j)&&!j.initializer){var $=j.parent.parent;if(E.isVariableDeclaration($)&&!$.type&&$.initializer&&(E.isIdentifier($.initializer)||E.isAccessExpression($.initializer))){return j}}}}return undefined}function getAccessedPropertyName(N){var R;return N.kind===204?N.name.escapedText:N.kind===205&&E.isStringOrNumericLiteralLike(N.argumentExpression)?E.escapeLeadingUnderscores(N.argumentExpression.text):N.kind===201&&(R=getDestructuringPropertyName(N))?E.escapeLeadingUnderscores(R):undefined}function containsMatchingReference(N,R){while(E.isAccessExpression(N)){N=N.expression;if(isMatchingReference(N,R)){return true}}return false}function optionalChainContainsReference(N,R){while(E.isOptionalChain(N)){N=N.expression;if(isMatchingReference(N,R)){return true}}return false}function isDiscriminantProperty(N,R){if(N&&N.flags&1048576){var j=getUnionOrIntersectionProperty(N,R);if(j&&E.getCheckFlags(j)&2){if(j.isDiscriminantProperty===undefined){j.isDiscriminantProperty=(j.checkFlags&192)===192&&!maybeTypeOfKind(getTypeOfSymbol(j),465829888&~134217728)}return!!j.isDiscriminantProperty}}return false}function findDiscriminantProperties(E,N){var R;for(var j=0,$=E;j<$.length;j++){var q=$[j];if(isDiscriminantProperty(N,q.escapedName)){if(R){R.push(q);continue}R=[q]}}return R}function mapTypesByKeyProperty(N,R){var j=new E.Map;var $=0;var _loop_22=function(E){if(E.flags&(524288|2097152|58982400)){var N=getTypeOfPropertyOfType(E,R);if(N){if(!isLiteralType(N)){return{value:undefined}}var q=false;forEachType(N,(function(N){var R=getTypeId(getRegularTypeOfLiteralType(N));var $=j.get(R);if(!$){j.set(R,E)}else if($!==Ht){j.set(R,Ht);q=true}}));if(!q)$++}}};for(var q=0,G=N;q<G.length;q++){var ie=G[q];var ae=_loop_22(ie);if(typeof ae==="object")return ae.value}return $>=10&&$*2>=N.length?j:undefined}function getKeyPropertyName(N){var R=N.types;if(R.length<10||E.getObjectFlags(N)&65536){return undefined}if(N.keyPropertyName===undefined){var j=E.forEach(R,(function(N){return N.flags&(524288|58982400)?E.forEach(getPropertiesOfType(N),(function(E){return isUnitType(getTypeOfSymbol(E))?E.escapedName:undefined})):undefined}));var $=j&&mapTypesByKeyProperty(R,j);N.keyPropertyName=$?j:"";N.constituentMap=$}return N.keyPropertyName.length?N.keyPropertyName:undefined}function getConstituentTypeForKeyType(E,N){var R;var j=(R=E.constituentMap)===null||R===void 0?void 0:R.get(getTypeId(getRegularTypeOfLiteralType(N)));return j!==Ht?j:undefined}function getMatchingUnionConstituentForType(E,N){var R=getKeyPropertyName(E);var j=R&&getTypeOfPropertyOfType(N,R);return j&&getConstituentTypeForKeyType(E,j)}function getMatchingUnionConstituentForObjectLiteral(N,R){var j=getKeyPropertyName(N);var $=j&&E.find(R.properties,(function(E){return E.symbol&&E.kind===291&&E.symbol.escapedName===j&&isPossiblyDiscriminantValue(E.initializer)}));var q=$&&getTypeOfExpression($.initializer);return q&&getConstituentTypeForKeyType(N,q)}function isOrContainsMatchingReference(E,N){return isMatchingReference(E,N)||containsMatchingReference(E,N)}function hasMatchingArgument(E,N){if(E.arguments){for(var R=0,j=E.arguments;R<j.length;R++){var $=j[R];if(isOrContainsMatchingReference(N,$)){return true}}}if(E.expression.kind===204&&isOrContainsMatchingReference(N,E.expression.expression)){return true}return false}function getFlowNodeId(E){if(!E.id||E.id<0){E.id=ce;ce++}return E.id}function typeMaybeAssignableTo(E,N){if(!(E.flags&1048576)){return isTypeAssignableTo(E,N)}for(var R=0,j=E.types;R<j.length;R++){var $=j[R];if(isTypeAssignableTo($,N)){return true}}return false}function getAssignmentReducedType(E,N){if(E!==N){if(N.flags&131072){return N}var R=filterType(E,(function(E){return typeMaybeAssignableTo(N,E)}));if(N.flags&512&&isFreshLiteralType(N)){R=mapType(R,getFreshTypeOfLiteralType)}if(isTypeAssignableTo(N,R)){return R}}return E}function isFunctionObjectType(E){var N=resolveStructuredTypeMembers(E);return!!(N.callSignatures.length||N.constructSignatures.length||N.members.get("bind")&&isTypeSubtypeOf(E,rn))}function getTypeFacts(N,R){if(R===void 0){R=false}var j=N.flags;if(j&4){return rt?16317953:16776705}if(j&128){var $=N.value==="";return rt?$?12123649:7929345:$?12582401:16776705}if(j&(8|32)){return rt?16317698:16776450}if(j&256){var q=N.value===0;return rt?q?12123394:7929090:q?12582146:16776450}if(j&64){return rt?16317188:16775940}if(j&2048){var q=isZeroBigInt(N);return rt?q?12122884:7928580:q?12581636:16775940}if(j&16){return rt?16316168:16774920}if(j&528){return rt?N===nr||N===ir?12121864:7927560:N===nr||N===ir?12580616:16774920}if(j&524288&&!R){return E.getObjectFlags(N)&16&&isEmptyObjectType(N)?rt?16318463:16777215:isFunctionObjectType(N)?rt?7880640:16728e3:rt?7888800:16736160}if(j&(16384|32768)){return 9830144}if(j&65536){return 9363232}if(j&12288){return rt?7925520:16772880}if(j&67108864){return rt?7888800:16736160}if(j&131072){return 0}if(j&465829888){return!isPatternLiteralType(N)?getTypeFacts(getBaseConstraintOfType(N)||Ht,R):rt?7929345:16776705}if(j&1048576){return E.reduceLeft(N.types,(function(E,N){return E|getTypeFacts(N,R)}),0)}if(j&2097152){R||(R=maybeTypeOfKind(N,131068));return E.reduceLeft(N.types,(function(E,N){return E&getTypeFacts(N,R)}),16777215)}return 16777215}function getTypeWithFacts(E,N){return filterType(E,(function(E){return(getTypeFacts(E)&N)!==0}))}function getTypeWithDefault(E,N){return N?getUnionType([getNonUndefinedType(E),getTypeOfExpression(N)]):E}function getTypeOfDestructuredProperty(E,N){var R;var j=getLiteralTypeFromPropertyName(N);if(!isTypeUsableAsPropertyName(j))return Jt;var $=getPropertyNameFromType(j);return getTypeOfPropertyOfType(E,$)||includeUndefinedInIndexSignature((R=getApplicableIndexInfoForName(E,$))===null||R===void 0?void 0:R.type)||Jt}function getTypeOfDestructuredArrayElement(E,N){return everyType(E,isTupleLikeType)&&getTupleElementType(E,N)||includeUndefinedInIndexSignature(checkIteratedTypeOrElementType(65,E,Gt,undefined))||Jt}function includeUndefinedInIndexSignature(E){if(!E)return E;return Xe.noUncheckedIndexedAccess?getUnionType([E,Gt]):E}function getTypeOfDestructuredSpreadExpression(E){return createArrayType(checkIteratedTypeOrElementType(65,E,Gt,undefined)||Jt)}function getAssignedTypeOfBinaryExpression(E){var N=E.parent.kind===202&&isDestructuringAssignmentTarget(E.parent)||E.parent.kind===291&&isDestructuringAssignmentTarget(E.parent.parent);return N?getTypeWithDefault(getAssignedType(E),E.right):getTypeOfExpression(E.right)}function isDestructuringAssignmentTarget(E){return E.parent.kind===219&&E.parent.left===E||E.parent.kind===242&&E.parent.initializer===E}function getAssignedTypeOfArrayLiteralElement(E,N){return getTypeOfDestructuredArrayElement(getAssignedType(E),E.elements.indexOf(N))}function getAssignedTypeOfSpreadExpression(E){return getTypeOfDestructuredSpreadExpression(getAssignedType(E.parent))}function getAssignedTypeOfPropertyAssignment(E){return getTypeOfDestructuredProperty(getAssignedType(E.parent),E.name)}function getAssignedTypeOfShorthandPropertyAssignment(E){return getTypeWithDefault(getAssignedTypeOfPropertyAssignment(E),E.objectAssignmentInitializer)}function getAssignedType(E){var N=E.parent;switch(N.kind){case 241:return er;case 242:return checkRightHandSideOfForOf(N)||Jt;case 219:return getAssignedTypeOfBinaryExpression(N);case 213:return Gt;case 202:return getAssignedTypeOfArrayLiteralElement(N,E);case 223:return getAssignedTypeOfSpreadExpression(N);case 291:return getAssignedTypeOfPropertyAssignment(N);case 292:return getAssignedTypeOfShorthandPropertyAssignment(N)}return Jt}function getInitialTypeOfBindingElement(E){var N=E.parent;var R=getInitialType(N.parent);var j=N.kind===199?getTypeOfDestructuredProperty(R,E.propertyName||E.name):!E.dotDotDotToken?getTypeOfDestructuredArrayElement(R,N.elements.indexOf(E)):getTypeOfDestructuredSpreadExpression(R);return getTypeWithDefault(j,E.initializer)}function getTypeOfInitializer(E){var N=getNodeLinks(E);return N.resolvedType||getTypeOfExpression(E)}function getInitialTypeOfVariableDeclaration(E){if(E.initializer){return getTypeOfInitializer(E.initializer)}if(E.parent.parent.kind===241){return er}if(E.parent.parent.kind===242){return checkRightHandSideOfForOf(E.parent.parent)||Jt}return Jt}function getInitialType(E){return E.kind===252?getInitialTypeOfVariableDeclaration(E):getInitialTypeOfBindingElement(E)}function isEmptyArrayAssignment(E){return E.kind===252&&E.initializer&&isEmptyArrayLiteral(E.initializer)||E.kind!==201&&E.parent.kind===219&&isEmptyArrayLiteral(E.parent.right)}function getReferenceCandidate(E){switch(E.kind){case 210:return getReferenceCandidate(E.expression);case 219:switch(E.operatorToken.kind){case 63:case 75:case 76:case 77:return getReferenceCandidate(E.left);case 27:return getReferenceCandidate(E.right)}}return E}function getReferenceRoot(E){var N=E.parent;return N.kind===210||N.kind===219&&N.operatorToken.kind===63&&N.left===E||N.kind===219&&N.operatorToken.kind===27&&N.right===E?getReferenceRoot(N):E}function getTypeOfSwitchClause(E){if(E.kind===287){return getRegularTypeOfLiteralType(getTypeOfExpression(E.expression))}return dr}function getSwitchClauseTypes(E){var N=getNodeLinks(E);if(!N.switchTypes){N.switchTypes=[];for(var R=0,j=E.caseBlock.clauses;R<j.length;R++){var $=j[R];N.switchTypes.push(getTypeOfSwitchClause($))}}return N.switchTypes}function getSwitchClauseTypeOfWitnesses(N,R){var j=[];for(var $=0,q=N.caseBlock.clauses;$<q.length;$++){var G=q[$];if(G.kind===287){if(E.isStringLiteralLike(G.expression)){j.push(G.expression.text);continue}return E.emptyArray}if(R)j.push(undefined)}return j}function eachTypeContainedIn(N,R){return N.flags&1048576?!E.forEach(N.types,(function(N){return!E.contains(R,N)})):E.contains(R,N)}function isTypeSubsetOf(E,N){return E===N||N.flags&1048576&&isTypeSubsetOfUnion(E,N)}function isTypeSubsetOfUnion(E,N){if(E.flags&1048576){for(var R=0,j=E.types;R<j.length;R++){var $=j[R];if(!containsType(N.types,$)){return false}}return true}if(E.flags&1024&&getBaseTypeOfEnumLiteralType(E)===N){return true}return containsType(N.types,E)}function forEachType(N,R){return N.flags&1048576?E.forEach(N.types,R):R(N)}function someType(N,R){return N.flags&1048576?E.some(N.types,R):R(N)}function everyType(N,R){return N.flags&1048576?E.every(N.types,R):R(N)}function everyContainedType(N,R){return N.flags&3145728?E.every(N.types,R):R(N)}function filterType(N,R){if(N.flags&1048576){var j=N.types;var $=E.filter(j,R);if($===j){return N}var q=N.origin;var G=void 0;if(q&&q.flags&1048576){var ie=q.types;var ae=E.filter(ie,(function(E){return!!(E.flags&1048576)||R(E)}));if(ie.length-ae.length===j.length-$.length){if(ae.length===1){return ae[0]}G=createOriginUnionOrIntersectionType(1048576,ae)}}return getUnionTypeFromSortedList($,N.objectFlags,undefined,undefined,G)}return N.flags&131072||R(N)?N:dr}function removeType(E,N){return filterType(E,(function(E){return E!==N}))}function countTypes(E){return E.flags&1048576?E.types.length:1}function mapType(E,N,R){if(E.flags&131072){return E}if(!(E.flags&1048576)){return N(E)}var j=E.origin;var $=j&&j.flags&1048576?j.types:E.types;var q;var G=false;for(var ie=0,ae=$;ie<ae.length;ie++){var ce=ae[ie];var le=ce.flags&1048576?mapType(ce,N,R):N(ce);G||(G=ce!==le);if(le){if(!q){q=[le]}else{q.push(le)}}}return G?q&&getUnionType(q,R?0:1):E}function mapTypeWithAlias(N,R,j,$){return N.flags&1048576&&j?getUnionType(E.map(N.types,R),1,j,$):mapType(N,R)}function getConstituentCount(E){return E.flags&3145728?E.types.length:1}function extractTypesOfKind(E,N){return filterType(E,(function(E){return(E.flags&N)!==0}))}function replacePrimitivesWithLiterals(E,N){if(isTypeSubsetOf(er,E)&&maybeTypeOfKind(N,128)||isTypeSubsetOf(tr,E)&&maybeTypeOfKind(N,256)||isTypeSubsetOf(rr,E)&&maybeTypeOfKind(N,2048)){return mapType(E,(function(E){return E.flags&4?extractTypesOfKind(N,4|128):E.flags&8?extractTypesOfKind(N,8|256):E.flags&64?extractTypesOfKind(N,64|2048):E}))}return E}function isIncomplete(E){return E.flags===0}function getTypeFromFlowType(E){return E.flags===0?E.type:E}function createFlowType(E,N){return N?{flags:0,type:E.flags&131072?pr:E}:E}function createEvolvingArrayType(E){var N=createObjectType(256);N.elementType=E;return N}function getEvolvingArrayType(E){return Lt[E.id]||(Lt[E.id]=createEvolvingArrayType(E))}function addEvolvingArrayElementType(E,N){var R=getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(getContextFreeTypeOfExpression(N)));return isTypeSubsetOf(R,E.elementType)?E:getEvolvingArrayType(getUnionType([E.elementType,R]))}function createFinalArrayType(E){return E.flags&131072?gn:createArrayType(E.flags&1048576?getUnionType(E.types,2):E)}function getFinalArrayType(E){return E.finalArrayType||(E.finalArrayType=createFinalArrayType(E.elementType))}function finalizeEvolvingArrayType(N){return E.getObjectFlags(N)&256?getFinalArrayType(N):N}function getElementTypeOfEvolvingArrayType(N){return E.getObjectFlags(N)&256?N.elementType:dr}function isEvolvingArrayTypeList(N){var R=false;for(var j=0,$=N;j<$.length;j++){var q=$[j];if(!(q.flags&131072)){if(!(E.getObjectFlags(q)&256)){return false}R=true}}return R}function isEvolvingArrayOperationTarget(N){var R=getReferenceRoot(N);var j=R.parent;var $=E.isPropertyAccessExpression(j)&&(j.name.escapedText==="length"||j.parent.kind===206&&E.isIdentifier(j.name)&&E.isPushOrUnshiftIdentifier(j.name));var q=j.kind===205&&j.expression===R&&j.parent.kind===219&&j.parent.operatorToken.kind===63&&j.parent.left===j&&!E.isAssignmentTarget(j.parent)&&isTypeAssignableToKind(getTypeOfExpression(j.argumentExpression),296);return $||q}function isDeclarationWithExplicitTypeAnnotation(N){return(N.kind===252||N.kind===162||N.kind===165||N.kind===164)&&!!E.getEffectiveTypeAnnotationNode(N)}function getExplicitTypeOfSymbol(N,R){if(N.flags&(16|8192|32|512)){return getTypeOfSymbol(N)}if(N.flags&(3|4)){if(E.getCheckFlags(N)&262144){var j=N.syntheticOrigin;if(j&&getExplicitTypeOfSymbol(j)){return getTypeOfSymbol(N)}}var $=N.valueDeclaration;if($){if(isDeclarationWithExplicitTypeAnnotation($)){return getTypeOfSymbol(N)}if(E.isVariableDeclaration($)&&$.parent.parent.kind===242){var q=$.parent.parent;var G=getTypeOfDottedName(q.expression,undefined);if(G){var ie=q.awaitModifier?15:13;return checkIteratedTypeOrElementType(ie,G,Gt,undefined)}}if(R){E.addRelatedInfo(R,E.createDiagnosticForNode($,E.Diagnostics._0_needs_an_explicit_type_annotation,symbolToString(N)))}}}}function getTypeOfDottedName(N,R){if(!(N.flags&16777216)){switch(N.kind){case 79:var j=getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(N));return getExplicitTypeOfSymbol(j.flags&2097152?resolveAlias(j):j,R);case 108:return getExplicitThisType(N);case 106:return checkSuperExpression(N);case 204:{var $=getTypeOfDottedName(N.expression,R);if($){var q=N.name;var G=void 0;if(E.isPrivateIdentifier(q)){if(!$.symbol){return undefined}G=getPropertyOfType($,E.getSymbolNameForPrivateIdentifier($.symbol,q.escapedText))}else{G=getPropertyOfType($,q.escapedText)}return G&&getExplicitTypeOfSymbol(G,R)}return undefined}case 210:return getTypeOfDottedName(N.expression,R)}}}function getEffectsSignature(N){var R=getNodeLinks(N);var j=R.effectsSignature;if(j===undefined){var $=void 0;if(N.parent.kind===236){$=getTypeOfDottedName(N.expression,undefined)}else if(N.expression.kind!==106){if(E.isOptionalChain(N)){$=checkNonNullType(getOptionalExpressionType(checkExpression(N.expression),N.expression),N.expression)}else{$=checkNonNullExpression(N.expression)}}var q=getSignaturesOfType($&&getApparentType($)||Ht,0);var G=q.length===1&&!q[0].typeParameters?q[0]:E.some(q,hasTypePredicateOrNeverReturnType)?getResolvedSignature(N):undefined;j=R.effectsSignature=G&&hasTypePredicateOrNeverReturnType(G)?G:Br}return j===Br?undefined:j}function hasTypePredicateOrNeverReturnType(E){return!!(getTypePredicateOfSignature(E)||E.declaration&&(getReturnTypeFromAnnotation(E.declaration)||Ht).flags&131072)}function getTypePredicateArgument(N,R){if(N.kind===1||N.kind===3){return R.arguments[N.parameterIndex]}var j=E.skipParentheses(R.expression);return E.isAccessExpression(j)?E.skipParentheses(j.expression):undefined}function reportFlowControlError(N){var R=E.findAncestor(N,E.isFunctionOrModuleBlock);var j=E.getSourceFileOfNode(N);var $=E.getSpanOfTokenAtPosition(j,R.statements.pos);xi.add(E.createFileDiagnostic(j,$.start,$.length,E.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}function isReachableFlowNode(E){var N=isReachableFlowNodeWorker(E,false);Gn=E;Kn=N;return N}function isFalseExpression(N){var R=E.skipParentheses(N);return R.kind===95||R.kind===219&&(R.operatorToken.kind===55&&(isFalseExpression(R.left)||isFalseExpression(R.right))||R.operatorToken.kind===56&&isFalseExpression(R.left)&&isFalseExpression(R.right))}function isReachableFlowNodeWorker(N,R){while(true){if(N===Gn){return Kn}var j=N.flags;if(j&4096){if(!R){var $=getFlowNodeId(N);var q=mi[$];return q!==undefined?q:mi[$]=isReachableFlowNodeWorker(N,true)}R=false}if(j&(16|96|256)){N=N.antecedent}else if(j&512){var G=getEffectsSignature(N.node);if(G){var ie=getTypePredicateOfSignature(G);if(ie&&ie.kind===3&&!ie.type){var ae=N.node.arguments[ie.parameterIndex];if(ae&&isFalseExpression(ae)){return false}}if(getReturnTypeOfSignature(G).flags&131072){return false}}N=N.antecedent}else if(j&4){return E.some(N.antecedents,(function(E){return isReachableFlowNodeWorker(E,false)}))}else if(j&8){var ce=N.antecedents;if(ce===undefined||ce.length===0){return false}N=ce[0]}else if(j&128){if(N.clauseStart===N.clauseEnd&&isExhaustiveSwitchStatement(N.switchStatement)){return false}N=N.antecedent}else if(j&1024){Gn=undefined;var le=N.target;var _e=le.antecedents;le.antecedents=N.antecedents;var Ee=isReachableFlowNodeWorker(N.antecedent,false);le.antecedents=_e;return Ee}else{return!(j&1)}}}function isPostSuperFlowNode(N,R){while(true){var j=N.flags;if(j&4096){if(!R){var $=getFlowNodeId(N);var q=gi[$];return q!==undefined?q:gi[$]=isPostSuperFlowNode(N,true)}R=false}if(j&(16|96|256|128)){N=N.antecedent}else if(j&512){if(N.node.expression.kind===106){return true}N=N.antecedent}else if(j&4){return E.every(N.antecedents,(function(E){return isPostSuperFlowNode(E,false)}))}else if(j&8){N=N.antecedents[0]}else if(j&1024){var G=N.target;var ie=G.antecedents;G.antecedents=N.antecedents;var ae=isPostSuperFlowNode(N.antecedent,false);G.antecedents=ie;return ae}else{return!!(j&1)}}}function isConstantReference(N){switch(N.kind){case 79:var R=getResolvedSymbol(N);return isConstVariable(R)||!!R.valueDeclaration&&E.getRootDeclaration(R.valueDeclaration).kind===162&&!isParameterAssigned(R);case 204:case 205:return isConstantReference(N.expression)&&isReadonlySymbol(getNodeLinks(N).resolvedSymbol||jt)}return false}function getFlowTypeOfReference(N,R,j,$){if(j===void 0){j=R}var q;var G=false;var ie=0;var ae=0;if(qn){return Jt}if(!N.flowNode){return R}Hn++;var ce=Vn;var le=getTypeFromFlowType(getTypeAtFlowNode(N.flowNode));Vn=ce;var _e=E.getObjectFlags(le)&256&&isEvolvingArrayOperationTarget(N)?gn:finalizeEvolvingArrayType(le);if(_e===gr||N.parent&&N.parent.kind===228&&!(_e.flags&131072)&&getTypeWithFacts(_e,2097152).flags&131072){return R}return _e;function getOrSetCacheKey(){if(G){return q}G=true;return q=getFlowCacheKey(N,R,j,$)}function getTypeAtFlowNode(q){if(ie===2e3){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","getTypeAtFlowNode_DepthLimit",{flowId:q.id});qn=true;reportFlowControlError(N);return Jt}ie++;var G;while(true){var ae=q.flags;if(ae&4096){for(var le=ce;le<Vn;le++){if(pi[le]===q){ie--;return fi[le]}}G=q}var _e=void 0;if(ae&16){_e=getTypeAtFlowAssignment(q);if(!_e){q=q.antecedent;continue}}else if(ae&512){_e=getTypeAtFlowCall(q);if(!_e){q=q.antecedent;continue}}else if(ae&96){_e=getTypeAtFlowCondition(q)}else if(ae&128){_e=getTypeAtSwitchClause(q)}else if(ae&12){if(q.antecedents.length===1){q=q.antecedents[0];continue}_e=ae&4?getTypeAtFlowBranchLabel(q):getTypeAtFlowLoopLabel(q)}else if(ae&256){_e=getTypeAtFlowArrayMutation(q);if(!_e){q=q.antecedent;continue}}else if(ae&1024){var Ee=q.target;var Te=Ee.antecedents;Ee.antecedents=q.antecedents;_e=getTypeAtFlowNode(q.antecedent);Ee.antecedents=Te}else if(ae&2){var we=q.node;if(we&&we!==$&&N.kind!==204&&N.kind!==205&&N.kind!==108){q=we.flowNode;continue}_e=j}else{_e=convertAutoToAny(R)}if(G){pi[Vn]=G;fi[Vn]=_e;Vn++}ie--;return _e}}function getInitialOrAssignedType(E){var R=E.node;return getNarrowableTypeForReference(R.kind===252||R.kind===201?getInitialType(R):getAssignedType(R),N)}function getTypeAtFlowAssignment(j){var $=j.node;if(isMatchingReference(N,$)){if(!isReachableFlowNode(j)){return gr}if(E.getAssignmentTargetKind($)===2){var q=getTypeAtFlowNode(j.antecedent);return createFlowType(getBaseTypeOfLiteralType(getTypeFromFlowType(q)),isIncomplete(q))}if(R===Wt||R===gn){if(isEmptyArrayAssignment($)){return getEvolvingArrayType(dr)}var G=getWidenedLiteralType(getInitialOrAssignedType(j));return isTypeAssignableTo(G,R)?G:mn}if(R.flags&1048576){return getAssignmentReducedType(R,getInitialOrAssignedType(j))}return R}if(containsMatchingReference(N,$)){if(!isReachableFlowNode(j)){return gr}if(E.isVariableDeclaration($)&&(E.isInJSFile($)||E.isVarConst($))){var ie=E.getDeclaredExpandoInitializer($);if(ie&&(ie.kind===211||ie.kind===212)){return getTypeAtFlowNode(j.antecedent)}}return R}if(E.isVariableDeclaration($)&&$.parent.parent.kind===241&&isMatchingReference(N,$.parent.parent.expression)){return getNonNullableTypeIfNeeded(getTypeFromFlowType(getTypeAtFlowNode(j.antecedent)))}return undefined}function narrowTypeByAssertion(N,R){var j=E.skipParentheses(R);if(j.kind===95){return gr}if(j.kind===219){if(j.operatorToken.kind===55){return narrowTypeByAssertion(narrowTypeByAssertion(N,j.left),j.right)}if(j.operatorToken.kind===56){return getUnionType([narrowTypeByAssertion(N,j.left),narrowTypeByAssertion(N,j.right)])}}return narrowType(N,j,true)}function getTypeAtFlowCall(E){var N=getEffectsSignature(E.node);if(N){var R=getTypePredicateOfSignature(N);if(R&&(R.kind===2||R.kind===3)){var j=getTypeAtFlowNode(E.antecedent);var $=finalizeEvolvingArrayType(getTypeFromFlowType(j));var q=R.type?narrowTypeByTypePredicate($,R,E.node,true):R.kind===3&&R.parameterIndex>=0&&R.parameterIndex<E.node.arguments.length?narrowTypeByAssertion($,E.node.arguments[R.parameterIndex]):$;return q===$?j:createFlowType(q,isIncomplete(j))}if(getReturnTypeOfSignature(N).flags&131072){return gr}}return undefined}function getTypeAtFlowArrayMutation(j){if(R===Wt||R===gn){var $=j.node;var q=$.kind===206?$.expression.expression:$.left.expression;if(isMatchingReference(N,getReferenceCandidate(q))){var G=getTypeAtFlowNode(j.antecedent);var ie=getTypeFromFlowType(G);if(E.getObjectFlags(ie)&256){var ae=ie;if($.kind===206){for(var ce=0,le=$.arguments;ce<le.length;ce++){var _e=le[ce];ae=addEvolvingArrayElementType(ae,_e)}}else{var Ee=getContextFreeTypeOfExpression($.left.argumentExpression);if(isTypeAssignableToKind(Ee,296)){ae=addEvolvingArrayElementType(ae,$.right)}}return ae===ie?G:createFlowType(ae,isIncomplete(G))}return G}}return undefined}function getTypeAtFlowCondition(E){var N=getTypeAtFlowNode(E.antecedent);var R=getTypeFromFlowType(N);if(R.flags&131072){return N}var j=(E.flags&32)!==0;var $=finalizeEvolvingArrayType(R);var q=narrowType($,E.node,j);if(q===$){return N}return createFlowType(q,isIncomplete(N))}function getTypeAtSwitchClause(E){var R=E.switchStatement.expression;var j=getTypeAtFlowNode(E.antecedent);var $=getTypeFromFlowType(j);if(isMatchingReference(N,R)){$=narrowTypeBySwitchOnDiscriminant($,E.switchStatement,E.clauseStart,E.clauseEnd)}else if(R.kind===214&&isMatchingReference(N,R.expression)){$=narrowBySwitchOnTypeOf($,E.switchStatement,E.clauseStart,E.clauseEnd)}else{if(rt){if(optionalChainContainsReference(R,N)){$=narrowTypeBySwitchOptionalChainContainment($,E.switchStatement,E.clauseStart,E.clauseEnd,(function(E){return!(E.flags&(32768|131072))}))}else if(R.kind===214&&optionalChainContainsReference(R.expression,N)){$=narrowTypeBySwitchOptionalChainContainment($,E.switchStatement,E.clauseStart,E.clauseEnd,(function(E){return!(E.flags&131072||E.flags&128&&E.value==="undefined")}))}}var q=getDiscriminantPropertyAccess(R,$);if(q){$=narrowTypeBySwitchOnDiscriminantProperty($,q,E.switchStatement,E.clauseStart,E.clauseEnd)}}return createFlowType($,isIncomplete(j))}function getTypeAtFlowBranchLabel(N){var $=[];var q=false;var G=false;var ie;for(var ae=0,ce=N.antecedents;ae<ce.length;ae++){var le=ce[ae];if(!ie&&le.flags&128&&le.clauseStart===le.clauseEnd){ie=le;continue}var _e=getTypeAtFlowNode(le);var Ee=getTypeFromFlowType(_e);if(Ee===R&&R===j){return Ee}E.pushIfUnique($,Ee);if(!isTypeSubsetOf(Ee,R)){q=true}if(isIncomplete(_e)){G=true}}if(ie){var _e=getTypeAtFlowNode(ie);var Ee=getTypeFromFlowType(_e);if(!E.contains($,Ee)&&!isExhaustiveSwitchStatement(ie.switchStatement)){if(Ee===R&&R===j){return Ee}$.push(Ee);if(!isTypeSubsetOf(Ee,R)){q=true}if(isIncomplete(_e)){G=true}}}return createFlowType(getUnionOrEvolvingArrayType($,q?2:1),G)}function getTypeAtFlowLoopLabel(N){var j=getFlowNodeId(N);var $=ci[j]||(ci[j]=new E.Map);var q=getOrSetCacheKey();if(!q){return R}var G=$.get(q);if(G){return G}for(var ie=$n;ie<Jn;ie++){if(li[ie]===N&&ui[ie]===q&&di[ie].length){return createFlowType(getUnionOrEvolvingArrayType(di[ie],1),true)}}var ae=[];var ce=false;var le;for(var _e=0,Ee=N.antecedents;_e<Ee.length;_e++){var Te=Ee[_e];var we=void 0;if(!le){we=le=getTypeAtFlowNode(Te)}else{li[Jn]=N;ui[Jn]=q;di[Jn]=ae;Jn++;var Ie=Qn;Qn=undefined;we=getTypeAtFlowNode(Te);Qn=Ie;Jn--;var Ne=$.get(q);if(Ne){return Ne}}var Me=getTypeFromFlowType(we);E.pushIfUnique(ae,Me);if(!isTypeSubsetOf(Me,R)){ce=true}if(Me===R){break}}var Le=getUnionOrEvolvingArrayType(ae,ce?2:1);if(isIncomplete(le)){return createFlowType(Le,true)}$.set(q,Le);return Le}function getUnionOrEvolvingArrayType(N,j){if(isEvolvingArrayTypeList(N)){return getEvolvingArrayType(getUnionType(E.map(N,getElementTypeOfEvolvingArrayType)))}var $=getUnionType(E.sameMap(N,finalizeEvolvingArrayType),j);if($!==R&&$.flags&R.flags&1048576&&E.arraysEqual($.types,R.types)){return R}return $}function getDiscriminantPropertyAccess(j,$){var q,G;var ie=R.flags&1048576?R:$;return ie.flags&1048576&&(q=getPropertyAccess(j))&&(G=getAccessedPropertyName(q))&&isMatchingReference(N,E.isAccessExpression(q)?q.expression:q.parent.parent.initializer)&&isDiscriminantProperty(ie,G)?q:undefined}function narrowTypeByDiscriminant(N,R,j){var $=getAccessedPropertyName(R);if($===undefined){return N}var q=rt&&E.isOptionalChain(R)&&maybeTypeOfKind(N,98304);var G=getTypeOfPropertyOfType(q?getTypeWithFacts(N,2097152):N,$);if(!G){return N}G=q?getOptionalType(G):G;var ie=j(G);return filterType(N,(function(E){var N=getTypeOfPropertyOrIndexSignature(E,$);return!(N.flags&131072)&&isTypeComparableTo(N,ie)}))}function narrowTypeByDiscriminantProperty(E,N,R,j,$){if((R===36||R===37)&&E.flags&1048576){var q=getKeyPropertyName(E);if(q&&q===getAccessedPropertyName(N)){var G=getConstituentTypeForKeyType(E,getTypeOfExpression(j));if(G){return R===($?36:37)?G:isUnitType(getTypeOfPropertyOfType(G,q)||Ht)?removeType(E,G):E}}}return narrowTypeByDiscriminant(E,N,(function(E){return narrowTypeByEquality(E,R,j,$)}))}function narrowTypeBySwitchOnDiscriminantProperty(N,R,j,$,q){if($<q&&N.flags&1048576&&getKeyPropertyName(N)===getAccessedPropertyName(R)){var G=getSwitchClauseTypes(j).slice($,q);var ie=getUnionType(E.map(G,(function(E){return getConstituentTypeForKeyType(N,E)||Ht})));if(ie!==Ht){return ie}}return narrowTypeByDiscriminant(N,R,(function(E){return narrowTypeBySwitchOnDiscriminant(E,j,$,q)}))}function narrowTypeByTruthiness(E,R,j){if(isMatchingReference(N,R)){return getTypeWithFacts(E,j?4194304:8388608)}if(rt&&j&&optionalChainContainsReference(R,N)){E=getTypeWithFacts(E,2097152)}var $=getDiscriminantPropertyAccess(R,E);if($){return narrowTypeByDiscriminant(E,$,(function(E){return getTypeWithFacts(E,j?4194304:8388608)}))}return E}function isTypePresencePossible(E,N,R){var j=getPropertyOfType(E,N);if(j){return j.flags&16777216?true:R}return getApplicableIndexInfoForName(E,N)?true:!R}function narrowByInKeyword(N,j,$){if(N.flags&1048576||N.flags&524288&&R!==N||isThisTypeParameter(N)||N.flags&2097152&&E.every(N.types,(function(E){return E.symbol!==bt}))){return filterType(N,(function(E){return isTypePresencePossible(E,j,$)}))}return N}function narrowTypeByBinaryExpression(R,j,$){switch(j.operatorToken.kind){case 63:case 75:case 76:case 77:return narrowTypeByTruthiness(narrowType(R,j.right,$),j.left,$);case 34:case 35:case 36:case 37:var q=j.operatorToken.kind;var G=getReferenceCandidate(j.left);var ie=getReferenceCandidate(j.right);if(G.kind===214&&E.isStringLiteralLike(ie)){return narrowTypeByTypeof(R,G,q,ie,$)}if(ie.kind===214&&E.isStringLiteralLike(G)){return narrowTypeByTypeof(R,ie,q,G,$)}if(isMatchingReference(N,G)){return narrowTypeByEquality(R,q,ie,$)}if(isMatchingReference(N,ie)){return narrowTypeByEquality(R,q,G,$)}if(rt){if(optionalChainContainsReference(G,N)){R=narrowTypeByOptionalChainContainment(R,q,ie,$)}else if(optionalChainContainsReference(ie,N)){R=narrowTypeByOptionalChainContainment(R,q,G,$)}}var ae=getDiscriminantPropertyAccess(G,R);if(ae){return narrowTypeByDiscriminantProperty(R,ae,q,ie,$)}var ce=getDiscriminantPropertyAccess(ie,R);if(ce){return narrowTypeByDiscriminantProperty(R,ce,q,G,$)}if(isMatchingConstructorReference(G)){return narrowTypeByConstructor(R,q,ie,$)}if(isMatchingConstructorReference(ie)){return narrowTypeByConstructor(R,q,G,$)}break;case 102:return narrowTypeByInstanceof(R,j,$);case 101:var le=getReferenceCandidate(j.right);var _e=getTypeOfNode(j.left);if(_e.flags&128){var Ee=E.escapeLeadingUnderscores(_e.value);if(containsMissingType(R)&&E.isAccessExpression(N)&&isMatchingReference(N.expression,le)&&getAccessedPropertyName(N)===Ee){return getTypeWithFacts(R,$?524288:65536)}if(isMatchingReference(N,le)){return narrowByInKeyword(R,Ee,$)}}break;case 27:return narrowType(R,j.right,$);case 55:return $?narrowType(narrowType(R,j.left,true),j.right,true):getUnionType([narrowType(R,j.left,false),narrowType(R,j.right,false)]);case 56:return $?getUnionType([narrowType(R,j.left,true),narrowType(R,j.right,true)]):narrowType(narrowType(R,j.left,false),j.right,false)}return R}function narrowTypeByOptionalChainContainment(E,N,R,j){var $=N===34||N===36;var q=N===34||N===35?98304:32768;var G=getTypeOfExpression(R);var ie=$!==j&&everyType(G,(function(E){return!!(E.flags&q)}))||$===j&&everyType(G,(function(E){return!(E.flags&(3|q))}));return ie?getTypeWithFacts(E,2097152):E}function narrowTypeByEquality(E,N,R,j){if(E.flags&1){return E}if(N===35||N===37){j=!j}var $=getTypeOfExpression(R);if(E.flags&2&&j&&(N===36||N===37)){if($.flags&(131068|67108864)){return $}if($.flags&524288){return hr}return E}if($.flags&98304){if(!rt){return E}var q=N===34||N===35;var G=q?j?262144:2097152:$.flags&65536?j?131072:1048576:j?65536:524288;return getTypeWithFacts(E,G)}if(j){var ie=N===34?function(E){return areTypesComparable(E,$)||isCoercibleUnderDoubleEquals(E,$)}:function(E){return areTypesComparable(E,$)};return replacePrimitivesWithLiterals(filterType(E,ie),$)}if(isUnitType($)){return filterType(E,(function(E){return!(isUnitLikeType(E)&&areTypesComparable(E,$))}))}return E}function narrowTypeByTypeof(E,R,j,$,q){if(j===35||j===37){q=!q}var G=getReferenceCandidate(R.expression);if(!isMatchingReference(N,G)){if(rt&&optionalChainContainsReference(G,N)&&q===($.text!=="undefined")){return getTypeWithFacts(E,2097152)}return E}if(E.flags&1&&$.text==="function"){return E}if(q&&E.flags&2&&$.text==="object"){if(R.parent.parent.kind===219){var ie=R.parent.parent;if(ie.operatorToken.kind===55&&ie.right===R.parent&&containsTruthyCheck(N,ie.left)){return hr}}return getUnionType([hr,Yt])}var ae=q?we.get($.text)||128:Ie.get($.text)||32768;var ce=getImpliedTypeFromTypeofGuard(E,$.text);return getTypeWithFacts(q&&ce?mapType(E,narrowUnionMemberByTypeof(ce)):E,ae)}function narrowTypeBySwitchOptionalChainContainment(N,R,j,$,q){var G=j!==$&&E.every(getSwitchClauseTypes(R).slice(j,$),q);return G?getTypeWithFacts(N,2097152):N}function narrowTypeBySwitchOnDiscriminant(N,R,j,$){var q=getSwitchClauseTypes(R);if(!q.length){return N}var G=q.slice(j,$);var ie=j===$||E.contains(G,dr);if(N.flags&2&&!ie){var ae=void 0;for(var ce=0;ce<G.length;ce+=1){var le=G[ce];if(le.flags&(131068|67108864)){if(ae!==undefined){ae.push(le)}}else if(le.flags&524288){if(ae===undefined){ae=G.slice(0,ce)}ae.push(hr)}else{return N}}return getUnionType(ae===undefined?G:ae)}var _e=getUnionType(G);var Ee=_e.flags&131072?dr:replacePrimitivesWithLiterals(filterType(N,(function(E){return areTypesComparable(_e,E)})),_e);if(!ie){return Ee}var Te=filterType(N,(function(N){return!(isUnitLikeType(N)&&E.contains(q,getRegularTypeOfLiteralType(extractUnitType(N))))}));return Ee.flags&131072?Te:getUnionType([Ee,Te])}function getImpliedTypeFromTypeofGuard(E,N){switch(N){case"function":return E.flags&1?E:rn;case"object":return E.flags&2?getUnionType([hr,Yt]):E;default:return Ei.get(N)}}function narrowUnionMemberByTypeof(E){return function(N){if(isTypeSubtypeOf(N,E)){return N}if(isTypeSubtypeOf(E,N)){return E}if(N.flags&465829888){var R=getBaseConstraintOfType(N)||zt;if(isTypeSubtypeOf(E,R)){return getIntersectionType([N,E])}}return N}}function narrowBySwitchOnTypeOf(N,R,j,$){var q=getSwitchClauseTypeOfWitnesses(R,true);if(!q.length){return N}var G=E.findIndex(q,(function(E){return E===undefined}));var ie=j===$||G>=j&&G<$;var ae;var ce;if(G>-1){var le=q.filter((function(E){return E!==undefined}));var _e=G<j?j-1:j;var Ee=G<$?$-1:$;ae=le.slice(_e,Ee);ce=getFactsFromTypeofSwitch(_e,Ee,le,ie)}else{ae=q.slice(j,$);ce=getFactsFromTypeofSwitch(j,$,q,ie)}if(ie){return filterType(N,(function(E){return(getTypeFacts(E)&ce)===ce}))}var Te=getTypeWithFacts(getUnionType(ae.map((function(E){return getImpliedTypeFromTypeofGuard(N,E)||N}))),ce);return getTypeWithFacts(mapType(N,narrowUnionMemberByTypeof(Te)),ce)}function isMatchingConstructorReference(R){return(E.isPropertyAccessExpression(R)&&E.idText(R.name)==="constructor"||E.isElementAccessExpression(R)&&E.isStringLiteralLike(R.argumentExpression)&&R.argumentExpression.text==="constructor")&&isMatchingReference(N,R.expression)}function narrowTypeByConstructor(N,R,j,$){if($?R!==34&&R!==36:R!==35&&R!==37){return N}var q=getTypeOfExpression(j);if(!isFunctionType(q)&&!isConstructorType(q)){return N}var G=getPropertyOfType(q,"prototype");if(!G){return N}var ie=getTypeOfSymbol(G);var ae=!isTypeAny(ie)?ie:undefined;if(!ae||ae===tn||ae===rn){return N}if(isTypeAny(N)){return ae}return filterType(N,(function(E){return isConstructedBy(E,ae)}));function isConstructedBy(N,R){if(N.flags&524288&&E.getObjectFlags(N)&1||R.flags&524288&&E.getObjectFlags(R)&1){return N.symbol===R.symbol}return isTypeSubtypeOf(N,R)}}function narrowTypeByInstanceof(R,j,$){var q=getReferenceCandidate(j.left);if(!isMatchingReference(N,q)){if($&&rt&&optionalChainContainsReference(q,N)){return getTypeWithFacts(R,2097152)}return R}var G=getTypeOfExpression(j.right);if(!isTypeDerivedFrom(G,rn)){return R}var ie;var ae=getPropertyOfType(G,"prototype");if(ae){var ce=getTypeOfSymbol(ae);if(!isTypeAny(ce)){ie=ce}}if(isTypeAny(R)&&(ie===tn||ie===rn)){return R}if(!ie){var le=getSignaturesOfType(G,1);ie=le.length?getUnionType(E.map(le,(function(E){return getReturnTypeOfSignature(getErasedSignature(E))}))):Tr}if(!$&&G.flags&1048576){var _e=E.find(G.types,(function(E){return!isConstructorType(E)}));if(!_e)return R}return getNarrowedType(R,ie,$,isTypeDerivedFrom)}function getNarrowedType(E,N,R,j){if(!R){return filterType(E,(function(E){if(!j(E,N)){return true}var R=getBaseConstraintOfType(E);if(R&&R!==E){return!j(R,N)}return false}))}if(E.flags&1048576){var $=filterType(E,(function(E){return j(E,N)}));if(!($.flags&131072)){return $}}return isTypeSubtypeOf(N,E)?N:isTypeAssignableTo(E,N)?E:isTypeAssignableTo(N,E)?N:getIntersectionType([E,N])}function narrowTypeByCallExpression(R,j,$){if(hasMatchingArgument(j,N)){var q=$||!E.isCallChain(j)?getEffectsSignature(j):undefined;var G=q&&getTypePredicateOfSignature(q);if(G&&(G.kind===0||G.kind===1)){return narrowTypeByTypePredicate(R,G,j,$)}}if(containsMissingType(R)&&E.isAccessExpression(N)&&E.isPropertyAccessExpression(j.expression)){var ie=j.expression;if(isMatchingReference(N.expression,getReferenceCandidate(ie.expression))&&E.isIdentifier(ie.name)&&ie.name.escapedText==="hasOwnProperty"&&j.arguments.length===1){var ae=j.arguments[0];if(E.isStringLiteralLike(ae)&&getAccessedPropertyName(N)===E.escapeLeadingUnderscores(ae.text)){return getTypeWithFacts(R,$?524288:65536)}}}return R}function narrowTypeByTypePredicate(E,R,j,$){if(R.type&&!(isTypeAny(E)&&(R.type===tn||R.type===rn))){var q=getTypePredicateArgument(R,j);if(q){if(isMatchingReference(N,q)){return getNarrowedType(E,R.type,$,isTypeSubtypeOf)}if(rt&&$&&optionalChainContainsReference(q,N)&&!(getTypeFacts(R.type)&65536)){E=getTypeWithFacts(E,2097152)}var G=getDiscriminantPropertyAccess(q,E);if(G){return narrowTypeByDiscriminant(E,G,(function(E){return getNarrowedType(E,R.type,$,isTypeSubtypeOf)}))}}}return E}function narrowType(R,j,$){if(E.isExpressionOfOptionalChainRoot(j)||E.isBinaryExpression(j.parent)&&j.parent.operatorToken.kind===60&&j.parent.left===j){return narrowTypeByOptionality(R,j,$)}switch(j.kind){case 79:if(!isMatchingReference(N,j)&&ae<5){var q=getResolvedSymbol(j);if(isConstVariable(q)){var G=q.valueDeclaration;if(G&&E.isVariableDeclaration(G)&&!G.type&&G.initializer&&isConstantReference(N)){ae++;var ie=narrowType(R,G.initializer,$);ae--;return ie}}}case 108:case 106:case 204:case 205:return narrowTypeByTruthiness(R,j,$);case 206:return narrowTypeByCallExpression(R,j,$);case 210:case 228:return narrowType(R,j.expression,$);case 219:return narrowTypeByBinaryExpression(R,j,$);case 217:if(j.operator===53){return narrowType(R,j.operand,!$)}break}return R}function narrowTypeByOptionality(E,R,j){if(isMatchingReference(N,R)){return getTypeWithFacts(E,j?2097152:262144)}var $=getDiscriminantPropertyAccess(R,E);if($){return narrowTypeByDiscriminant(E,$,(function(E){return getTypeWithFacts(E,j?2097152:262144)}))}return E}}function getTypeOfSymbolAtLocation(N,R){N=N.exportSymbol||N;if(R.kind===79||R.kind===80){if(E.isRightSideOfQualifiedNameOrPropertyAccess(R)){R=R.parent}if(E.isExpressionNode(R)&&(!E.isAssignmentTarget(R)||E.isWriteAccess(R))){var j=getTypeOfExpression(R);if(getExportSymbolOfValueSymbolIfExported(getNodeLinks(R).resolvedSymbol)===N){return j}}}if(E.isDeclarationName(R)&&E.isSetAccessor(R.parent)&&getAnnotatedAccessorTypeNode(R.parent)){return resolveTypeOfAccessors(R.parent.symbol,true)}return getNonMissingTypeOfSymbol(N)}function getControlFlowContainer(N){return E.findAncestor(N.parent,(function(N){return E.isFunctionLike(N)&&!E.getImmediatelyInvokedFunctionExpression(N)||N.kind===260||N.kind===300||N.kind===165}))}function isParameterAssigned(N){if(!N.valueDeclaration){return false}var R=E.getRootDeclaration(N.valueDeclaration).parent;var j=getNodeLinks(R);if(!(j.flags&8388608)){j.flags|=8388608;if(!hasParentWithAssignmentsMarked(R)){markParameterAssignments(R)}}return N.isAssigned||false}function hasParentWithAssignmentsMarked(N){return!!E.findAncestor(N.parent,(function(N){return E.isFunctionLike(N)&&!!(getNodeLinks(N).flags&8388608)}))}function markParameterAssignments(N){if(N.kind===79){if(E.isAssignmentTarget(N)){var R=getResolvedSymbol(N);if(R.valueDeclaration&&E.getRootDeclaration(R.valueDeclaration).kind===162){R.isAssigned=true}}}else{E.forEachChild(N,markParameterAssignments)}}function isConstVariable(E){return E.flags&3&&(getDeclarationNodeFlagsFromSymbol(E)&2)!==0}function removeOptionalityFromDeclaredType(E,N){if(pushTypeResolution(N.symbol,2)){var R=rt&&N.kind===162&&N.initializer&&getFalsyFlags(E)&32768&&!(getFalsyFlags(checkExpression(N.initializer))&32768);popTypeResolution();return R?getTypeWithFacts(E,524288):E}else{reportCircularityError(N.symbol);return E}}function isConstraintPosition(E,N){var R=N.parent;return R.kind===204||R.kind===206&&R.expression===N||R.kind===205&&R.expression===N&&!(isGenericTypeWithoutNullableConstraint(E)&&isGenericIndexType(getTypeOfExpression(R.argumentExpression)))}function isGenericTypeWithUnionConstraint(E){return!!(E.flags&465829888&&getBaseConstraintOrType(E).flags&(98304|1048576))}function isGenericTypeWithoutNullableConstraint(E){return!!(E.flags&465829888&&!maybeTypeOfKind(getBaseConstraintOrType(E),98304))}function hasNonBindingPatternContextualTypeWithNoGenericTypes(N){var R=(E.isIdentifier(N)||E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N))&&!((E.isJsxOpeningElement(N.parent)||E.isJsxSelfClosingElement(N.parent))&&N.parent.tagName===N)&&getContextualType(N,8);return R&&!isGenericType(R)}function getNarrowableTypeForReference(E,N,R){var j=!(R&&R&2)&&someType(E,isGenericTypeWithUnionConstraint)&&(isConstraintPosition(E,N)||hasNonBindingPatternContextualTypeWithNoGenericTypes(N));return j?mapType(E,(function(E){return E.flags&465829888?getBaseConstraintOrType(E):E})):E}function isExportOrExportExpression(N){return!!E.findAncestor(N,(function(N){return N.parent&&E.isExportAssignment(N.parent)&&N.parent.expression===N&&E.isEntityNameExpression(N)}))}function markAliasReferenced(N,R){if(isNonLocalAlias(N,111551)&&!isInTypeQuery(R)&&!getTypeOnlyAliasDeclaration(N)){var j=resolveAlias(N);if(j.flags&111551){if(Xe.isolatedModules||E.shouldPreserveConstEnums(Xe)&&isExportOrExportExpression(R)||!isConstEnumOrConstEnumOnlyModule(j)){markAliasSymbolAsReferenced(N)}else{markConstEnumAliasAsReferenced(N)}}}}function checkIdentifier(N,R){var j=getResolvedSymbol(N);if(j===jt){return Jt}if(j===xt){if(isInPropertyInitializerOrClassStaticBlock(N)){error(N,E.Diagnostics.arguments_cannot_be_referenced_in_property_initializers);return Jt}var $=E.getContainingFunction(N);if(Ye<2){if($.kind===212){error(N,E.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression)}else if(E.hasSyntacticModifier($,256)){error(N,E.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)}}getNodeLinks($).flags|=8192;return getTypeOfSymbol(j)}if(!(N.parent&&E.isPropertyAccessExpression(N.parent)&&N.parent.expression===N)){markAliasReferenced(j,N)}var q=getExportSymbolOfValueSymbolIfExported(j);var G=q.flags&2097152?resolveAlias(q):q;if(G.declarations&&getDeclarationNodeFlagsFromSymbol(G)&134217728&&isUncalledFunctionReference(N,G)){addDeprecatedSuggestion(N,G.declarations,N.escapedText)}var ie=q.valueDeclaration;if(ie&&q.flags&32){if(ie.kind===255&&E.nodeIsDecorated(ie)){var $=E.getContainingClass(N);while($!==undefined){if($===ie&&$.name!==N){getNodeLinks(ie).flags|=16777216;getNodeLinks(N).flags|=33554432;break}$=E.getContainingClass($)}}else if(ie.kind===224){var $=E.getThisContainer(N,false);while($.kind!==300){if($.parent===ie){if(E.isPropertyDeclaration($)&&E.isStatic($)||E.isClassStaticBlockDeclaration($)){getNodeLinks(ie).flags|=16777216;getNodeLinks(N).flags|=33554432}break}$=E.getThisContainer($,false)}}}checkNestedBlockScopedBinding(N,j);var ae=getTypeOfSymbol(q);var ce=E.getAssignmentTargetKind(N);if(ce){if(!(q.flags&3)&&!(E.isInJSFile(N)&&q.flags&512)){var le=q.flags&384?E.Diagnostics.Cannot_assign_to_0_because_it_is_an_enum:q.flags&32?E.Diagnostics.Cannot_assign_to_0_because_it_is_a_class:q.flags&1536?E.Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace:q.flags&16?E.Diagnostics.Cannot_assign_to_0_because_it_is_a_function:q.flags&2097152?E.Diagnostics.Cannot_assign_to_0_because_it_is_an_import:E.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable;error(N,le,symbolToString(j));return Jt}if(isReadonlySymbol(q)){if(q.flags&3){error(N,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,symbolToString(j))}else{error(N,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,symbolToString(j))}return Jt}}var _e=q.flags&2097152;if(q.flags&3){if(ce===1){return ae}}else if(_e){ie=getDeclarationOfAliasSymbol(j)}else{return ae}if(!ie){return ae}ae=getNarrowableTypeForReference(ae,N,R);var Ee=E.getRootDeclaration(ie).kind===162;var Te=getControlFlowContainer(ie);var we=getControlFlowContainer(N);var Ie=we!==Te;var Ne=N.parent&&N.parent.parent&&E.isSpreadAssignment(N.parent)&&isDestructuringAssignmentTarget(N.parent.parent);var Me=j.flags&134217728;while(we!==Te&&(we.kind===211||we.kind===212||E.isObjectLiteralOrClassExpressionMethod(we))&&(isConstVariable(q)&&ae!==gn||Ee&&!isParameterAssigned(q))){we=getControlFlowContainer(we)}var Le=Ee||_e||Ie||Ne||Me||E.isBindingElement(ie)||ae!==Wt&&ae!==gn&&(!rt||(ae.flags&(3|16384))!==0||isInTypeQuery(N)||N.parent.kind===273)||N.parent.kind===228||ie.kind===252&&ie.exclamationToken||ie.flags&8388608;var Be=Le?Ee?removeOptionalityFromDeclaredType(ae,ie):ae:ae===Wt||ae===gn?Gt:getOptionalType(ae);var je=getFlowTypeOfReference(N,ae,Be,we);if(!isEvolvingArrayOperationTarget(N)&&(ae===Wt||ae===gn)){if(je===Wt||je===gn){if(st){error(E.getNameOfDeclaration(ie),E.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,symbolToString(j),typeToString(je));error(N,E.Diagnostics.Variable_0_implicitly_has_an_1_type,symbolToString(j),typeToString(je))}return convertAutoToAny(je)}}else if(!Le&&!(getFalsyFlags(ae)&32768)&&getFalsyFlags(je)&32768){error(N,E.Diagnostics.Variable_0_is_used_before_being_assigned,symbolToString(j));return ae}return ce?getBaseTypeOfLiteralType(je):je}function isInsideFunctionOrInstancePropertyInitializer(N,R){return!!E.findAncestor(N,(function(N){return N===R?"quit":E.isFunctionLike(N)||N.parent&&E.isPropertyDeclaration(N.parent)&&!E.hasStaticModifier(N.parent)&&N.parent.initializer===N}))}function getPartOfForStatementContainingNode(N,R){return E.findAncestor(N,(function(E){return E===R?"quit":E===R.initializer||E===R.condition||E===R.incrementor||E===R.statement}))}function getEnclosingIterationStatement(N){return E.findAncestor(N,(function(N){return!N||E.nodeStartsNewLexicalEnvironment(N)?"quit":E.isIterationStatement(N,false)}))}function checkNestedBlockScopedBinding(N,R){if(Ye>=2||(R.flags&(2|32))===0||!R.valueDeclaration||E.isSourceFile(R.valueDeclaration)||R.valueDeclaration.parent.kind===290){return}var j=E.getEnclosingBlockScopeContainer(R.valueDeclaration);var $=isInsideFunctionOrInstancePropertyInitializer(N,j);var q=getEnclosingIterationStatement(j);if(q){if($){var G=true;if(E.isForStatement(j)){var ie=E.getAncestor(R.valueDeclaration,253);if(ie&&ie.parent===j){var ae=getPartOfForStatementContainingNode(N.parent,j);if(ae){var ce=getNodeLinks(ae);ce.flags|=131072;var le=ce.capturedBlockScopeBindings||(ce.capturedBlockScopeBindings=[]);E.pushIfUnique(le,R);if(ae===j.initializer){G=false}}}}if(G){getNodeLinks(q).flags|=65536}}if(E.isForStatement(j)){var ie=E.getAncestor(R.valueDeclaration,253);if(ie&&ie.parent===j&&isAssignedInBodyOfForStatement(N,j)){getNodeLinks(R.valueDeclaration).flags|=4194304}}getNodeLinks(R.valueDeclaration).flags|=524288}if($){getNodeLinks(R.valueDeclaration).flags|=262144}}function isBindingCapturedByNode(N,R){var j=getNodeLinks(N);return!!j&&E.contains(j.capturedBlockScopeBindings,getSymbolOfNode(R))}function isAssignedInBodyOfForStatement(N,R){var j=N;while(j.parent.kind===210){j=j.parent}var $=false;if(E.isAssignmentTarget(j)){$=true}else if(j.parent.kind===217||j.parent.kind===218){var q=j.parent;$=q.operator===45||q.operator===46}if(!$){return false}return!!E.findAncestor(j,(function(E){return E===R?"quit":E===R.statement}))}function captureLexicalThis(E,N){getNodeLinks(E).flags|=2;if(N.kind===165||N.kind===169){var R=N.parent;getNodeLinks(R).flags|=4}else{getNodeLinks(N).flags|=4}}function findFirstSuperCall(N){return E.isSuperCall(N)?N:E.isFunctionLike(N)?undefined:E.forEachChild(N,findFirstSuperCall)}function classDeclarationExtendsNull(E){var N=getSymbolOfNode(E);var R=getDeclaredTypeOfSymbol(N);var j=getBaseConstructorTypeOfClass(R);return j===Zt}function checkThisBeforeSuper(N,R,j){var $=R.parent;var q=E.getClassExtendsHeritageElement($);if(q&&!classDeclarationExtendsNull($)){if(N.flowNode&&!isPostSuperFlowNode(N.flowNode,false)){error(N,j)}}}function checkThisInStaticClassFieldInitializerInDecoratedClass(N,R){if(E.isPropertyDeclaration(R)&&E.hasStaticModifier(R)&&R.initializer&&E.textRangeContainsPositionInclusive(R.initializer,N.pos)&&E.length(R.parent.decorators)){error(N,E.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}}function checkThisExpression(N){var R=isInTypeQuery(N);var j=E.getThisContainer(N,true);var $=false;if(j.kind===169){checkThisBeforeSuper(N,j,E.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class)}if(j.kind===212){j=E.getThisContainer(j,false);$=true}checkThisInStaticClassFieldInitializerInDecoratedClass(N,j);switch(j.kind){case 259:error(N,E.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 258:error(N,E.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 169:if(isInConstructorArgumentInitializer(N,j)){error(N,E.Diagnostics.this_cannot_be_referenced_in_constructor_arguments)}break;case 160:error(N,E.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}if(!R&&$&&Ye<2){captureLexicalThis(N,j)}var q=tryGetThisTypeAt(N,true,j);if(ct){var G=getTypeOfSymbol(bt);if(q===G&&$){error(N,E.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this)}else if(!q){var ie=error(N,E.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!E.isSourceFile(j)){var ae=tryGetThisTypeAt(j);if(ae&&ae!==G){E.addRelatedInfo(ie,E.createDiagnosticForNode(j,E.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}}return q||zt}function tryGetThisTypeAt(N,R,j){if(R===void 0){R=true}if(j===void 0){j=E.getThisContainer(N,false)}var $=E.isInJSFile(N);if(E.isFunctionLike(j)&&(!isInParameterInitializerBeforeContainingFunction(N)||E.getThisParameter(j))){var q=getThisTypeOfDeclaration(j)||$&&getTypeForThisExpressionFromJSDoc(j);if(!q){var G=getClassNameFromPrototypeMethod(j);if($&&G){var ie=checkExpression(G).symbol;if(ie&&ie.members&&ie.flags&16){q=getDeclaredTypeOfSymbol(ie).thisType}}else if(isJSConstructor(j)){q=getDeclaredTypeOfSymbol(getMergedSymbol(j.symbol)).thisType}q||(q=getContextualThisParameterType(j))}if(q){return getFlowTypeOfReference(N,q)}}if(E.isClassLike(j.parent)){var ae=getSymbolOfNode(j.parent);var ce=E.isStatic(j)?getTypeOfSymbol(ae):getDeclaredTypeOfSymbol(ae).thisType;return getFlowTypeOfReference(N,ce)}if(E.isSourceFile(j)){if(j.commonJsModuleIndicator){var le=getSymbolOfNode(j);return le&&getTypeOfSymbol(le)}else if(j.externalModuleIndicator){return Gt}else if(R){return getTypeOfSymbol(bt)}}}function getExplicitThisType(N){var R=E.getThisContainer(N,false);if(E.isFunctionLike(R)){var j=getSignatureFromDeclaration(R);if(j.thisParameter){return getExplicitTypeOfSymbol(j.thisParameter)}}if(E.isClassLike(R.parent)){var $=getSymbolOfNode(R.parent);return E.isStatic(R)?getTypeOfSymbol($):getDeclaredTypeOfSymbol($).thisType}}function getClassNameFromPrototypeMethod(N){if(N.kind===211&&E.isBinaryExpression(N.parent)&&E.getAssignmentDeclarationKind(N.parent)===3){return N.parent.left.expression.expression}else if(N.kind===167&&N.parent.kind===203&&E.isBinaryExpression(N.parent.parent)&&E.getAssignmentDeclarationKind(N.parent.parent)===6){return N.parent.parent.left.expression}else if(N.kind===211&&N.parent.kind===291&&N.parent.parent.kind===203&&E.isBinaryExpression(N.parent.parent.parent)&&E.getAssignmentDeclarationKind(N.parent.parent.parent)===6){return N.parent.parent.parent.left.expression}else if(N.kind===211&&E.isPropertyAssignment(N.parent)&&E.isIdentifier(N.parent.name)&&(N.parent.name.escapedText==="value"||N.parent.name.escapedText==="get"||N.parent.name.escapedText==="set")&&E.isObjectLiteralExpression(N.parent.parent)&&E.isCallExpression(N.parent.parent.parent)&&N.parent.parent.parent.arguments[2]===N.parent.parent&&E.getAssignmentDeclarationKind(N.parent.parent.parent)===9){return N.parent.parent.parent.arguments[0].expression}else if(E.isMethodDeclaration(N)&&E.isIdentifier(N.name)&&(N.name.escapedText==="value"||N.name.escapedText==="get"||N.name.escapedText==="set")&&E.isObjectLiteralExpression(N.parent)&&E.isCallExpression(N.parent.parent)&&N.parent.parent.arguments[2]===N.parent&&E.getAssignmentDeclarationKind(N.parent.parent)===9){return N.parent.parent.arguments[0].expression}}function getTypeForThisExpressionFromJSDoc(N){var R=E.getJSDocType(N);if(R&&R.kind===312){var j=R;if(j.parameters.length>0&&j.parameters[0].name&&j.parameters[0].name.escapedText==="this"){return getTypeFromTypeNode(j.parameters[0].type)}}var $=E.getJSDocThisTag(N);if($&&$.typeExpression){return getTypeFromTypeNode($.typeExpression)}}function isInConstructorArgumentInitializer(N,R){return!!E.findAncestor(N,(function(N){return E.isFunctionLikeDeclaration(N)?"quit":N.kind===162&&N.parent===R}))}function checkSuperExpression(N){var R=N.parent.kind===206&&N.parent.expression===N;var j=E.getSuperContainer(N,true);var $=j;var q=false;if(!R){while($&&$.kind===212){$=E.getSuperContainer($,true);q=Ye<2}}var G=isLegalUsageOfSuperExpression($);var ie=0;if(!G){var ae=E.findAncestor(N,(function(E){return E===$?"quit":E.kind===160}));if(ae&&ae.kind===160){error(N,E.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name)}else if(R){error(N,E.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors)}else if(!$||!$.parent||!(E.isClassLike($.parent)||$.parent.kind===203)){error(N,E.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions)}else{error(N,E.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class)}return Jt}if(!R&&j.kind===169){checkThisBeforeSuper(N,$,E.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class)}if(E.isStatic($)||R){ie=512;if(!R&&Ye>=2&&Ye<=8&&(E.isPropertyDeclaration($)||E.isClassStaticBlockDeclaration($))){E.forEachEnclosingBlockScopeContainer(N.parent,(function(N){if(!E.isSourceFile(N)||E.isExternalOrCommonJsModule(N)){getNodeLinks(N).flags|=134217728}}))}}else{ie=256}getNodeLinks(N).flags|=ie;if($.kind===167&&E.hasSyntacticModifier($,256)){if(E.isSuperProperty(N.parent)&&E.isAssignmentTarget(N.parent)){getNodeLinks($).flags|=4096}else{getNodeLinks($).flags|=2048}}if(q){captureLexicalThis(N.parent,$)}if($.parent.kind===203){if(Ye<2){error(N,E.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher);return Jt}else{return zt}}var ce=$.parent;if(!E.getClassExtendsHeritageElement(ce)){error(N,E.Diagnostics.super_can_only_be_referenced_in_a_derived_class);return Jt}var le=getDeclaredTypeOfSymbol(getSymbolOfNode(ce));var _e=le&&getBaseTypes(le)[0];if(!_e){return Jt}if($.kind===169&&isInConstructorArgumentInitializer(N,$)){error(N,E.Diagnostics.super_cannot_be_referenced_in_constructor_arguments);return Jt}return ie===512?getBaseConstructorTypeOfClass(le):getTypeWithThisArgument(_e,le.thisType);function isLegalUsageOfSuperExpression(N){if(!N){return false}if(R){return N.kind===169}else{if(E.isClassLike(N.parent)||N.parent.kind===203){if(E.isStatic(N)){return N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===165||N.kind===168}else{return N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===165||N.kind===164||N.kind===169}}}return false}}function getContainingObjectLiteral(E){return(E.kind===167||E.kind===170||E.kind===171)&&E.parent.kind===203?E.parent:E.kind===211&&E.parent.kind===291?E.parent.parent:undefined}function getThisTypeArgument(N){return E.getObjectFlags(N)&4&&N.target===pn?getTypeArguments(N)[0]:undefined}function getThisTypeFromContextualType(N){return mapType(N,(function(N){return N.flags&2097152?E.forEach(N.types,getThisTypeArgument):getThisTypeArgument(N)}))}function getContextualThisParameterType(N){if(N.kind===212){return undefined}if(isContextSensitiveFunctionOrObjectLiteralMethod(N)){var R=getContextualSignature(N);if(R){var j=R.thisParameter;if(j){return getTypeOfSymbol(j)}}}var $=E.isInJSFile(N);if(ct||$){var q=getContainingObjectLiteral(N);if(q){var G=getApparentTypeOfContextualType(q);var ie=q;var ae=G;while(ae){var ce=getThisTypeFromContextualType(ae);if(ce){return instantiateType(ce,getMapperFromContext(getInferenceContext(q)))}if(ie.parent.kind!==291){break}ie=ie.parent.parent;ae=getApparentTypeOfContextualType(ie)}return getWidenedType(G?getNonNullableType(G):checkExpressionCached(q))}var le=E.walkUpParenthesizedExpressions(N.parent);if(le.kind===219&&le.operatorToken.kind===63){var _e=le.left;if(E.isAccessExpression(_e)){var Ee=_e.expression;if($&&E.isIdentifier(Ee)){var Te=E.getSourceFileOfNode(le);if(Te.commonJsModuleIndicator&&getResolvedSymbol(Ee)===Te.symbol){return undefined}}return getWidenedType(checkExpressionCached(Ee))}}}return undefined}function getContextuallyTypedParameterType(N){var R=N.parent;if(!isContextSensitiveFunctionOrObjectLiteralMethod(R)){return undefined}var j=E.getImmediatelyInvokedFunctionExpression(R);if(j&&j.arguments){var $=getEffectiveCallArguments(j);var q=R.parameters.indexOf(N);if(N.dotDotDotToken){return getSpreadArgumentType($,q,$.length,zt,undefined,0)}var G=getNodeLinks(j);var ie=G.resolvedSignature;G.resolvedSignature=Lr;var ae=q<$.length?getWidenedLiteralType(checkExpression($[q])):N.initializer?undefined:Kt;G.resolvedSignature=ie;return ae}var ce=getContextualSignature(R);if(ce){var le=R.parameters.indexOf(N)-(E.getThisParameter(R)?1:0);return N.dotDotDotToken&&E.lastOrUndefined(R.parameters)===N?getRestTypeAtPosition(ce,le):tryGetTypeAtPosition(ce,le)}}function getContextualTypeForVariableLikeDeclaration(N){var R=E.getEffectiveTypeAnnotationNode(N);if(R){return getTypeFromTypeNode(R)}switch(N.kind){case 162:return getContextuallyTypedParameterType(N);case 201:return getContextualTypeForBindingElement(N);case 165:if(E.isStatic(N)){return getContextualTypeForStaticPropertyDeclaration(N)}}}function getContextualTypeForBindingElement(N){var R=N.parent.parent;var j=N.propertyName||N.name;var $=getContextualTypeForVariableLikeDeclaration(R)||R.kind!==201&&R.initializer&&checkDeclarationInitializer(R);if(!$||E.isBindingPattern(j)||E.isComputedNonLiteralName(j))return undefined;if(R.name.kind===200){var q=E.indexOfNode(N.parent.elements,N);if(q<0)return undefined;return getContextualTypeForElementExpression($,q)}var G=getLiteralTypeFromPropertyName(j);if(isTypeUsableAsPropertyName(G)){var ie=getPropertyNameFromType(G);return getTypeOfPropertyOfType($,ie)}}function getContextualTypeForStaticPropertyDeclaration(N){var R=E.isExpression(N.parent)&&getContextualType(N.parent);if(!R)return undefined;return getTypeOfPropertyOfContextualType(R,getSymbolOfNode(N).escapedName)}function getContextualTypeForInitializerExpression(N,R){var j=N.parent;if(E.hasInitializer(j)&&N===j.initializer){var $=getContextualTypeForVariableLikeDeclaration(j);if($){return $}if(!(R&8)&&E.isBindingPattern(j.name)){return getTypeFromBindingPattern(j.name,true,false)}}return undefined}function getContextualTypeForReturnExpression(N){var R=E.getContainingFunction(N);if(R){var j=getContextualReturnType(R);if(j){var $=E.getFunctionFlags(R);if($&1){var q=$&2?2:1;var G=getIterationTypesOfIterable(j,q,undefined);if(!G){return undefined}j=G.returnType}if($&2){var ie=mapType(j,getAwaitedType);return ie&&getUnionType([ie,createPromiseLikeType(ie)])}return j}}return undefined}function getContextualTypeForAwaitOperand(E,N){var R=getContextualType(E,N);if(R){var j=getAwaitedType(R);return j&&getUnionType([j,createPromiseLikeType(j)])}return undefined}function getContextualTypeForYieldOperand(N){var R=E.getContainingFunction(N);if(R){var j=E.getFunctionFlags(R);var $=getContextualReturnType(R);if($){return N.asteriskToken?$:getIterationTypeOfGeneratorFunctionReturnType(0,$,(j&2)!==0)}}return undefined}function isInParameterInitializerBeforeContainingFunction(N){var R=false;while(N.parent&&!E.isFunctionLike(N.parent)){if(E.isParameter(N.parent)&&(R||N.parent.initializer===N)){return true}if(E.isBindingElement(N.parent)&&N.parent.initializer===N){R=true}N=N.parent}return false}function getContextualIterationType(N,R){var j=!!(E.getFunctionFlags(R)&2);var $=getContextualReturnType(R);if($){return getIterationTypeOfGeneratorFunctionReturnType(N,$,j)||undefined}return undefined}function getContextualReturnType(E){var N=getReturnTypeFromAnnotation(E);if(N){return N}var R=getContextualSignatureForFunctionLikeDeclaration(E);if(R&&!isResolvingReturnTypeOfSignature(R)){return getReturnTypeOfSignature(R)}return undefined}function getContextualTypeForArgument(E,N){var R=getEffectiveCallArguments(E);var j=R.indexOf(N);return j===-1?undefined:getContextualTypeForArgumentAtIndex(E,j)}function getContextualTypeForArgumentAtIndex(N,R){var j=getNodeLinks(N).resolvedSignature===jr?jr:getResolvedSignature(N);if(E.isJsxOpeningLikeElement(N)&&R===0){return getEffectiveFirstArgumentForJsxSignature(j,N)}var $=j.parameters.length-1;return signatureHasRestParameter(j)&&R>=$?getIndexedAccessType(getTypeOfSymbol(j.parameters[$]),getNumberLiteralType(R-$),256):getTypeAtPosition(j,R)}function getContextualTypeForSubstitutionExpression(E,N){if(E.parent.kind===208){return getContextualTypeForArgument(E.parent,N)}return undefined}function getContextualTypeForBinaryOperand(N,R){var j=N.parent;var $=j.left,q=j.operatorToken,G=j.right;switch(q.kind){case 63:case 76:case 75:case 77:return N===G?getContextualTypeForAssignmentDeclaration(j):undefined;case 56:case 60:var ie=getContextualType(j,R);return N===G&&(ie&&ie.pattern||!ie&&!E.isDefaultedExpandoInitializer(j))?getTypeOfExpression($):ie;case 55:case 27:return N===G?getContextualType(j,R):undefined;default:return undefined}}function getSymbolForExpression(N){if(N.symbol){return N.symbol}if(E.isIdentifier(N)){return getResolvedSymbol(N)}if(E.isPropertyAccessExpression(N)){var R=getTypeOfExpression(N.expression);return E.isPrivateIdentifier(N.name)?tryGetPrivateIdentifierPropertyOfType(R,N.name):getPropertyOfType(R,N.name.escapedText)}return undefined;function tryGetPrivateIdentifierPropertyOfType(E,N){var R=lookupSymbolForPrivateIdentifierDeclaration(N.escapedText,N);return R&&getPrivateIdentifierPropertyOfType(E,R)}}function getContextualTypeForAssignmentDeclaration(N){var R,j;var $=E.getAssignmentDeclarationKind(N);switch($){case 0:case 4:var q=getSymbolForExpression(N.left);var G=q&&q.valueDeclaration;if(G&&(E.isPropertyDeclaration(G)||E.isPropertySignature(G))){var ie=E.getEffectiveTypeAnnotationNode(G);return ie&&instantiateType(getTypeFromTypeNode(ie),getSymbolLinks(q).mapper)||G.initializer&&getTypeOfExpression(N.left)}if($===0){return getTypeOfExpression(N.left)}return getContextualTypeForThisPropertyAssignment(N);case 5:if(isPossiblyAliasedThisProperty(N,$)){return getContextualTypeForThisPropertyAssignment(N)}else if(!N.left.symbol){return getTypeOfExpression(N.left)}else{var ae=N.left.symbol.valueDeclaration;if(!ae){return undefined}var ce=E.cast(N.left,E.isAccessExpression);var ie=E.getEffectiveTypeAnnotationNode(ae);if(ie){return getTypeFromTypeNode(ie)}else if(E.isIdentifier(ce.expression)){var le=ce.expression;var _e=resolveName(le,le.escapedText,111551,undefined,le.escapedText,true);if(_e){var Ee=_e.valueDeclaration&&E.getEffectiveTypeAnnotationNode(_e.valueDeclaration);if(Ee){var Te=E.getElementOrPropertyAccessName(ce);if(Te!==undefined){return getTypeOfPropertyOfContextualType(getTypeFromTypeNode(Ee),Te)}}return undefined}}return E.isInJSFile(ae)?undefined:getTypeOfExpression(N.left)}case 1:case 6:case 3:var we=(R=N.left.symbol)===null||R===void 0?void 0:R.valueDeclaration;case 2:we||(we=(j=N.symbol)===null||j===void 0?void 0:j.valueDeclaration);var Ie=we&&E.getEffectiveTypeAnnotationNode(we);return Ie?getTypeFromTypeNode(Ie):undefined;case 7:case 8:case 9:return E.Debug.fail("Does not apply");default:return E.Debug.assertNever($)}}function isPossiblyAliasedThisProperty(N,R){if(R===void 0){R=E.getAssignmentDeclarationKind(N)}if(R===4){return true}if(!E.isInJSFile(N)||R!==5||!E.isIdentifier(N.left.expression)){return false}var j=N.left.expression.escapedText;var $=resolveName(N.left,j,111551,undefined,undefined,true,true);return E.isThisInitializedDeclaration($===null||$===void 0?void 0:$.valueDeclaration)}function getContextualTypeForThisPropertyAssignment(N){if(!N.symbol)return getTypeOfExpression(N.left);if(N.symbol.valueDeclaration){var R=E.getEffectiveTypeAnnotationNode(N.symbol.valueDeclaration);if(R){var j=getTypeFromTypeNode(R);if(j){return j}}}var $=E.cast(N.left,E.isAccessExpression);if(!E.isObjectLiteralMethod(E.getThisContainer($.expression,false))){return undefined}var q=checkThisExpression($.expression);var G=E.getElementOrPropertyAccessName($);return G!==undefined&&getTypeOfPropertyOfContextualType(q,G)||undefined}function isCircularMappedProperty(N){return!!(E.getCheckFlags(N)&262144&&!N.type&&findResolutionCycleStartIndex(N,0)>=0)}function getTypeOfPropertyOfContextualType(N,R){return mapType(N,(function(N){var j;if(isGenericMappedType(N)){var $=getConstraintTypeFromMappedType(N);var q=getBaseConstraintOfType($)||$;var G=getStringLiteralType(E.unescapeLeadingUnderscores(R));if(isTypeAssignableTo(G,q)){return substituteIndexedMappedType(N,G)}}else if(N.flags&3670016){var ie=getPropertyOfType(N,R);if(ie){return isCircularMappedProperty(ie)?undefined:getTypeOfSymbol(ie)}if(isTupleType(N)){var ae=getRestTypeOfTupleType(N);if(ae&&isNumericLiteralName(R)&&+R>=0){return ae}}return(j=findApplicableIndexInfo(getIndexInfosOfStructuredType(N),getStringLiteralType(E.unescapeLeadingUnderscores(R))))===null||j===void 0?void 0:j.type}return undefined}),true)}function getContextualTypeForObjectLiteralMethod(N,R){E.Debug.assert(E.isObjectLiteralMethod(N));if(N.flags&16777216){return undefined}return getContextualTypeForObjectLiteralElement(N,R)}function getContextualTypeForObjectLiteralElement(N,R){var j=N.parent;var $=E.isPropertyAssignment(N)&&getContextualTypeForVariableLikeDeclaration(N);if($){return $}var q=getApparentTypeOfContextualType(j,R);if(q){if(hasBindableName(N)){return getTypeOfPropertyOfContextualType(q,getSymbolOfNode(N).escapedName)}if(N.name){var G=getLiteralTypeFromPropertyName(N.name);return mapType(q,(function(E){var N;return(N=findApplicableIndexInfo(getIndexInfosOfStructuredType(E),G))===null||N===void 0?void 0:N.type}),true)}}return undefined}function getContextualTypeForElementExpression(E,N){return E&&(getTypeOfPropertyOfContextualType(E,""+N)||mapType(E,(function(E){return getIteratedTypeOrElementType(1,E,Gt,undefined,false)}),true))}function getContextualTypeForConditionalOperand(E,N){var R=E.parent;return E===R.whenTrue||E===R.whenFalse?getContextualType(R,N):undefined}function getContextualTypeForChildJsxExpression(N,R){var j=getApparentTypeOfContextualType(N.openingElement.tagName);var $=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));if(!(j&&!isTypeAny(j)&&$&&$!=="")){return undefined}var q=E.getSemanticJsxChildren(N.children);var G=q.indexOf(R);var ie=getTypeOfPropertyOfContextualType(j,$);return ie&&(q.length===1?ie:mapType(ie,(function(E){if(isArrayLikeType(E)){return getIndexedAccessType(E,getNumberLiteralType(G))}else{return E}}),true))}function getContextualTypeForJsxExpression(N){var R=N.parent;return E.isJsxAttributeLike(R)?getContextualType(N):E.isJsxElement(R)?getContextualTypeForChildJsxExpression(R,N):undefined}function getContextualTypeForJsxAttribute(N){if(E.isJsxAttribute(N)){var R=getApparentTypeOfContextualType(N.parent);if(!R||isTypeAny(R)){return undefined}return getTypeOfPropertyOfContextualType(R,N.name.escapedText)}else{return getContextualType(N.parent)}}function isPossiblyDiscriminantValue(E){switch(E.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 151:return true;case 204:case 210:return isPossiblyDiscriminantValue(E.expression);case 286:return!E.expression||isPossiblyDiscriminantValue(E.expression)}return false}function discriminateContextualTypeByObjectMembers(N,R){return getMatchingUnionConstituentForObjectLiteral(R,N)||discriminateTypeByDiscriminableItems(R,E.concatenate(E.map(E.filter(N.properties,(function(E){return!!E.symbol&&E.kind===291&&isPossiblyDiscriminantValue(E.initializer)&&isDiscriminantProperty(R,E.symbol.escapedName)})),(function(E){return[function(){return getContextFreeTypeOfExpression(E.initializer)},E.symbol.escapedName]})),E.map(E.filter(getPropertiesOfType(R),(function(E){var j;return!!(E.flags&16777216)&&!!((j=N===null||N===void 0?void 0:N.symbol)===null||j===void 0?void 0:j.members)&&!N.symbol.members.has(E.escapedName)&&isDiscriminantProperty(R,E.escapedName)})),(function(E){return[function(){return Gt},E.escapedName]}))),isTypeAssignableTo,R)}function discriminateContextualTypeByJSXAttributes(N,R){return discriminateTypeByDiscriminableItems(R,E.concatenate(E.map(E.filter(N.properties,(function(E){return!!E.symbol&&E.kind===283&&isDiscriminantProperty(R,E.symbol.escapedName)&&(!E.initializer||isPossiblyDiscriminantValue(E.initializer))})),(function(E){return[!E.initializer?function(){return ar}:function(){return checkExpression(E.initializer)},E.symbol.escapedName]})),E.map(E.filter(getPropertiesOfType(R),(function(E){var j;return!!(E.flags&16777216)&&!!((j=N===null||N===void 0?void 0:N.symbol)===null||j===void 0?void 0:j.members)&&!N.symbol.members.has(E.escapedName)&&isDiscriminantProperty(R,E.escapedName)})),(function(E){return[function(){return Gt},E.escapedName]}))),isTypeAssignableTo,R)}function getApparentTypeOfContextualType(N,R){var j=E.isObjectLiteralMethod(N)?getContextualTypeForObjectLiteralMethod(N,R):getContextualType(N,R);var $=instantiateContextualType(j,N,R);if($&&!(R&&R&2&&$.flags&8650752)){var q=mapType($,getApparentType,true);return q.flags&1048576&&E.isObjectLiteralExpression(N)?discriminateContextualTypeByObjectMembers(N,q):q.flags&1048576&&E.isJsxAttributes(N)?discriminateContextualTypeByJSXAttributes(N,q):q}}function instantiateContextualType(N,R,j){if(N&&maybeTypeOfKind(N,465829888)){var $=getInferenceContext(R);if($&&E.some($.inferences,hasInferenceCandidates)){if(j&&j&1){return instantiateInstantiableTypes(N,$.nonFixingMapper)}if($.returnMapper){return instantiateInstantiableTypes(N,$.returnMapper)}}}return N}function instantiateInstantiableTypes(N,R){if(N.flags&465829888){return instantiateType(N,R)}if(N.flags&1048576){return getUnionType(E.map(N.types,(function(E){return instantiateInstantiableTypes(E,R)})),0)}if(N.flags&2097152){return getIntersectionType(E.map(N.types,(function(E){return instantiateInstantiableTypes(E,R)})))}return N}function getContextualType(N,R){if(N.flags&16777216){return undefined}if(N.contextualType){return N.contextualType}var j=N.parent;switch(j.kind){case 252:case 162:case 165:case 164:case 201:return getContextualTypeForInitializerExpression(N,R);case 212:case 245:return getContextualTypeForReturnExpression(N);case 222:return getContextualTypeForYieldOperand(j);case 216:return getContextualTypeForAwaitOperand(j,R);case 206:if(j.expression.kind===100){return er}case 207:return getContextualTypeForArgument(j,N);case 209:case 227:return E.isConstTypeReference(j.type)?tryFindWhenConstTypeReference(j):getTypeFromTypeNode(j.type);case 219:return getContextualTypeForBinaryOperand(N,R);case 291:case 292:return getContextualTypeForObjectLiteralElement(j,R);case 293:return getContextualType(j.parent,R);case 202:{var $=j;var q=getApparentTypeOfContextualType($,R);return getContextualTypeForElementExpression(q,E.indexOfNode($.elements,N))}case 220:return getContextualTypeForConditionalOperand(N,R);case 231:E.Debug.assert(j.parent.kind===221);return getContextualTypeForSubstitutionExpression(j.parent,N);case 210:{var G=E.isInJSFile(j)?E.getJSDocTypeTag(j):undefined;return G?getTypeFromTypeNode(G.typeExpression.type):getContextualType(j,R)}case 228:return getContextualType(j,R);case 286:return getContextualTypeForJsxExpression(j);case 283:case 285:return getContextualTypeForJsxAttribute(j);case 278:case 277:return getContextualJsxElementAttributesType(j,R)}return undefined;function tryFindWhenConstTypeReference(E){return getContextualType(E)}}function getInferenceContext(N){var R=E.findAncestor(N,(function(E){return!!E.inferenceContext}));return R&&R.inferenceContext}function getContextualJsxElementAttributesType(N,R){if(E.isJsxOpeningElement(N)&&N.parent.contextualType&&R!==4){return N.parent.contextualType}return getContextualTypeForArgumentAtIndex(N,0)}function getEffectiveFirstArgumentForJsxSignature(E,N){return getJsxReferenceKind(N)!==0?getJsxPropsTypeFromCallSignature(E,N):getJsxPropsTypeFromClassType(E,N)}function getJsxPropsTypeFromCallSignature(E,N){var R=getTypeOfFirstParameterOfSignatureWithFallback(E,Ht);R=getJsxManagedAttributesFromLocatedAttributes(N,getJsxNamespaceAt(N),R);var j=getJsxType(Qe.IntrinsicAttributes,N);if(j!==Jt){R=intersectTypes(j,R)}return R}function getJsxPropsTypeForSignatureFromMember(E,N){if(E.compositeSignatures){var R=[];for(var j=0,$=E.compositeSignatures;j<$.length;j++){var q=$[j];var G=getReturnTypeOfSignature(q);if(isTypeAny(G)){return G}var ie=getTypeOfPropertyOfType(G,N);if(!ie){return}R.push(ie)}return getIntersectionType(R)}var ae=getReturnTypeOfSignature(E);return isTypeAny(ae)?ae:getTypeOfPropertyOfType(ae,N)}function getStaticTypeOfReferencedJsxConstructor(E){if(isJsxIntrinsicIdentifier(E.tagName)){var N=getIntrinsicAttributesTypeFromJsxOpeningLikeElement(E);var R=createSignatureForJSXIntrinsic(E,N);return getOrCreateTypeFromSignature(R)}var j=checkExpressionCached(E.tagName);if(j.flags&128){var N=getIntrinsicAttributesTypeFromStringLiteralType(j,E);if(!N){return Jt}var R=createSignatureForJSXIntrinsic(E,N);return getOrCreateTypeFromSignature(R)}return j}function getJsxManagedAttributesFromLocatedAttributes(N,R,j){var $=getJsxLibraryManagedAttributes(R);if($){var q=getDeclaredTypeOfSymbol($);var G=getStaticTypeOfReferencedJsxConstructor(N);if($.flags&524288){var ie=getSymbolLinks($).typeParameters;if(E.length(ie)>=2){var ae=fillMissingTypeArguments([G,j],ie,2,E.isInJSFile(N));return getTypeAliasInstantiation($,ae)}}if(E.length(q.typeParameters)>=2){var ae=fillMissingTypeArguments([G,j],q.typeParameters,2,E.isInJSFile(N));return createTypeReference(q,ae)}}return j}function getJsxPropsTypeFromClassType(N,R){var j=getJsxNamespaceAt(R);var $=getJsxElementPropertiesName(j);var q=$===undefined?getTypeOfFirstParameterOfSignatureWithFallback(N,Ht):$===""?getReturnTypeOfSignature(N):getJsxPropsTypeForSignatureFromMember(N,$);if(!q){if(!!$&&!!E.length(R.attributes.properties)){error(R,E.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,E.unescapeLeadingUnderscores($))}return Ht}q=getJsxManagedAttributesFromLocatedAttributes(R,j,q);if(isTypeAny(q)){return q}else{var G=q;var ie=getJsxType(Qe.IntrinsicClassAttributes,R);if(ie!==Jt){var ae=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ie.symbol);var ce=getReturnTypeOfSignature(N);G=intersectTypes(ae?createTypeReference(ie,fillMissingTypeArguments([ce],ae,getMinTypeArgumentCount(ae),E.isInJSFile(R))):ie,G)}var le=getJsxType(Qe.IntrinsicAttributes,R);if(le!==Jt){G=intersectTypes(le,G)}return G}}function getIntersectedSignatures(N){return E.getStrictOptionValue(Xe,"noImplicitAny")?E.reduceLeft(N,(function(E,N){return E===N||!E?E:compareTypeParametersIdentical(E.typeParameters,N.typeParameters)?combineSignaturesOfIntersectionMembers(E,N):undefined})):undefined}function combineIntersectionThisParam(E,N,R){if(!E||!N){return E||N}var j=getUnionType([getTypeOfSymbol(E),instantiateType(getTypeOfSymbol(N),R)]);return createSymbolWithType(E,j)}function combineIntersectionParameters(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=j>=$?E:N;var G=q===E?N:E;var ie=q===E?j:$;var ae=hasEffectiveRestParameter(E)||hasEffectiveRestParameter(N);var ce=ae&&!hasEffectiveRestParameter(q);var le=new Array(ie+(ce?1:0));for(var _e=0;_e<ie;_e++){var Ee=tryGetTypeAtPosition(q,_e);if(q===N){Ee=instantiateType(Ee,R)}var Te=tryGetTypeAtPosition(G,_e)||Ht;if(G===N){Te=instantiateType(Te,R)}var we=getUnionType([Ee,Te]);var Ie=ae&&!ce&&_e===ie-1;var Ne=_e>=getMinArgumentCount(q)&&_e>=getMinArgumentCount(G);var Me=_e>=j?undefined:getParameterNameAtPosition(E,_e);var Le=_e>=$?undefined:getParameterNameAtPosition(N,_e);var Be=Me===Le?Me:!Me?Le:!Le?Me:undefined;var je=createSymbol(1|(Ne&&!Ie?16777216:0),Be||"arg"+_e);je.type=Ie?createArrayType(we):we;le[_e]=je}if(ce){var Ue=createSymbol(1,"args");Ue.type=createArrayType(getTypeAtPosition(G,ie));if(G===N){Ue.type=instantiateType(Ue.type,R)}le[ie]=Ue}return le}function combineSignaturesOfIntersectionMembers(N,R){var j=N.typeParameters||R.typeParameters;var $;if(N.typeParameters&&R.typeParameters){$=createTypeMapper(R.typeParameters,N.typeParameters)}var q=N.declaration;var G=combineIntersectionParameters(N,R,$);var ie=combineIntersectionThisParam(N.thisParameter,R.thisParameter,$);var ae=Math.max(N.minArgumentCount,R.minArgumentCount);var ce=createSignature(q,j,ie,G,undefined,undefined,ae,(N.flags|R.flags)&39);ce.compositeKind=2097152;ce.compositeSignatures=E.concatenate(N.compositeKind===2097152&&N.compositeSignatures||[N],[R]);if($){ce.mapper=N.compositeKind===2097152&&N.mapper&&N.compositeSignatures?combineTypeMappers(N.mapper,$):$}return ce}function getContextualCallSignature(N,R){var j=getSignaturesOfType(N,0);var $=E.filter(j,(function(E){return!isAritySmaller(E,R)}));return $.length===1?$[0]:getIntersectedSignatures($)}function isAritySmaller(N,R){var j=0;for(;j<R.parameters.length;j++){var $=R.parameters[j];if($.initializer||$.questionToken||$.dotDotDotToken||isJSDocOptionalParameter($)){break}}if(R.parameters.length&&E.parameterIsThisKeyword(R.parameters[0])){j--}return!hasEffectiveRestParameter(N)&&getParameterCount(N)<j}function isFunctionExpressionOrArrowFunction(E){return E.kind===211||E.kind===212}function getContextualSignatureForFunctionLikeDeclaration(N){return isFunctionExpressionOrArrowFunction(N)||E.isObjectLiteralMethod(N)?getContextualSignature(N):undefined}function getContextualSignature(N){E.Debug.assert(N.kind!==167||E.isObjectLiteralMethod(N));var R=getSignatureOfTypeTag(N);if(R){return R}var j=getApparentTypeOfContextualType(N,1);if(!j){return undefined}if(!(j.flags&1048576)){return getContextualCallSignature(j,N)}var $;var q=j.types;for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];var ce=getContextualCallSignature(ae,N);if(ce){if(!$){$=[ce]}else if(!compareSignaturesIdentical($[0],ce,false,true,true,compareTypesIdentical)){return undefined}else{$.push(ce)}}}if($){return $.length===1?$[0]:createUnionSignature($[0],$)}}function checkSpreadExpression(E,N){if(Ye<2){checkExternalEmitHelpers(E,Xe.downlevelIteration?1536:1024)}var R=checkExpression(E.expression,N);return checkIteratedTypeOrElementType(33,R,Gt,E.expression)}function checkSyntheticExpression(E){return E.isSpread?getIndexedAccessType(E.type,tr):E.type}function hasDefaultValue(E){return E.kind===201&&!!E.initializer||E.kind===219&&E.operatorToken.kind===63}function checkArrayLiteral(N,R,j){var $=N.elements;var q=$.length;var G=[];var ie=[];var ae=getApparentTypeOfContextualType(N);var ce=E.isAssignmentTarget(N);var le=isConstContext(N);var _e=false;for(var Ee=0;Ee<q;Ee++){var Te=$[Ee];if(Te.kind===223){if(Ye<2){checkExternalEmitHelpers(Te,Xe.downlevelIteration?1536:1024)}var we=checkExpression(Te.expression,R,j);if(isArrayLikeType(we)){G.push(we);ie.push(8)}else if(ce){var Ie=getIndexTypeOfType(we,tr)||getIteratedTypeOrElementType(65,we,Gt,undefined,false)||Ht;G.push(Ie);ie.push(4)}else{G.push(checkIteratedTypeOrElementType(33,we,Gt,Te.expression));ie.push(4)}}else if(ft&&Te.kind===225){_e=true;G.push(Xt);ie.push(2)}else{var Ne=getContextualTypeForElementExpression(ae,G.length);var Me=checkExpressionForMutableLocation(Te,R,Ne,j);G.push(addOptionality(Me,true,_e));ie.push(_e?2:1)}}if(ce){return createTupleType(G,ie)}if(j||le||ae&&someType(ae,isTupleLikeType)){return createArrayLiteralType(createTupleType(G,ie,le))}return createArrayLiteralType(createArrayType(G.length?getUnionType(E.sameMap(G,(function(E,N){return ie[N]&8?getIndexedAccessTypeOrUndefined(E,tr)||zt:E})),2):rt?mr:Kt,le))}function createArrayLiteralType(N){if(!(E.getObjectFlags(N)&4)){return N}var R=N.literalType;if(!R){R=N.literalType=cloneTypeReference(N);R.objectFlags|=32768|262144}return R}function isNumericName(E){switch(E.kind){case 160:return isNumericComputedName(E);case 79:return isNumericLiteralName(E.escapedText);case 8:case 10:return isNumericLiteralName(E.text);default:return false}}function isNumericComputedName(E){return isTypeAssignableToKind(checkComputedPropertyName(E),296)}function isNumericLiteralName(E){return(+E).toString()===E}function checkComputedPropertyName(N){var R=getNodeLinks(N.expression);if(!R.resolvedType){R.resolvedType=checkExpression(N.expression);if(E.isPropertyDeclaration(N.parent)&&!E.hasStaticModifier(N.parent)&&E.isClassExpression(N.parent.parent)){var j=E.getEnclosingBlockScopeContainer(N.parent.parent);var $=getEnclosingIterationStatement(j);if($){getNodeLinks($).flags|=65536;getNodeLinks(N).flags|=524288;getNodeLinks(N.parent.parent).flags|=524288}}if(R.resolvedType.flags&98304||!isTypeAssignableToKind(R.resolvedType,402653316|296|12288)&&!isTypeAssignableTo(R.resolvedType,yr)){error(N,E.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}}return R.resolvedType}function isSymbolWithNumericName(N){var R;var j=(R=N.declarations)===null||R===void 0?void 0:R[0];return isNumericLiteralName(N.escapedName)||j&&E.isNamedDeclaration(j)&&isNumericName(j.name)}function isSymbolWithSymbolName(N){var R;var j=(R=N.declarations)===null||R===void 0?void 0:R[0];return E.isKnownSymbol(N)||j&&E.isNamedDeclaration(j)&&E.isComputedPropertyName(j.name)&&isTypeAssignableToKind(checkComputedPropertyName(j.name),4096)}function getObjectLiteralIndexInfo(E,N,R,j){var $=[];for(var q=N;q<R.length;q++){var G=R[q];if(j===er&&!isSymbolWithSymbolName(G)||j===tr&&isSymbolWithNumericName(G)||j===lr&&isSymbolWithSymbolName(G)){$.push(getTypeOfSymbol(R[q]))}}var ie=$.length?getUnionType($,2):Gt;return createIndexInfo(j,ie,isConstContext(E))}function getImmediateAliasedSymbol(N){E.Debug.assert((N.flags&2097152)!==0,"Should only get Alias here.");var R=getSymbolLinks(N);if(!R.immediateTarget){var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();R.immediateTarget=getTargetOfAliasDeclaration(j,true)}return R.immediateTarget}function checkObjectLiteral(N,R){var j=E.isAssignmentTarget(N);checkGrammarObjectLiteralExpression(N,j);var $=rt?E.createSymbolTable():undefined;var q=E.createSymbolTable();var G=[];var ie=Tr;var ae=getApparentTypeOfContextualType(N);var ce=ae&&ae.pattern&&(ae.pattern.kind===199||ae.pattern.kind===203);var le=isConstContext(N);var _e=le?8:0;var Ee=E.isInJSFile(N)&&!E.isInJsonFile(N);var Te=E.getJSDocEnumTag(N);var we=!ae&&Ee&&!Te;var Ie=pt;var Ne=false;var Me=false;var Le=false;var Be=false;for(var je=0,Ue=N.properties;je<Ue.length;je++){var ze=Ue[je];if(ze.name&&E.isComputedPropertyName(ze.name)){checkComputedPropertyName(ze.name)}}var We=0;for(var Je=0,Ve=N.properties;Je<Ve.length;Je++){var qe=Ve[Je];var He=getSymbolOfNode(qe);var Ge=qe.name&&qe.name.kind===160?checkComputedPropertyName(qe.name):undefined;if(qe.kind===291||qe.kind===292||E.isObjectLiteralMethod(qe)){var Ke=qe.kind===291?checkPropertyAssignment(qe,R):qe.kind===292?checkExpressionForMutableLocation(!j&&qe.objectAssignmentInitializer?qe.objectAssignmentInitializer:qe.name,R):checkObjectLiteralMethod(qe,R);if(Ee){var Qe=getTypeForDeclarationFromJSDocComment(qe);if(Qe){checkTypeAssignableTo(Ke,Qe,qe);Ke=Qe}else if(Te&&Te.typeExpression){checkTypeAssignableTo(Ke,getTypeFromTypeNode(Te.typeExpression),qe)}}Ie|=E.getObjectFlags(Ke)&917504;var Ze=Ge&&isTypeUsableAsPropertyName(Ge)?Ge:undefined;var et=Ze?createSymbol(4|He.flags,getPropertyNameFromType(Ze),_e|4096):createSymbol(4|He.flags,He.escapedName,_e);if(Ze){et.nameType=Ze}if(j){var tt=qe.kind===291&&hasDefaultValue(qe.initializer)||qe.kind===292&&qe.objectAssignmentInitializer;if(tt){et.flags|=16777216}}else if(ce&&!(E.getObjectFlags(ae)&512)){var nt=getPropertyOfType(ae,He.escapedName);if(nt){et.flags|=nt.flags&16777216}else if(!Xe.suppressExcessPropertyErrors&&!getIndexInfoOfType(ae,er)){error(qe.name,E.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,symbolToString(He),typeToString(ae))}}et.declarations=He.declarations;et.parent=He.parent;if(He.valueDeclaration){et.valueDeclaration=He.valueDeclaration}et.type=Ke;et.target=He;He=et;$===null||$===void 0?void 0:$.set(et.escapedName,et)}else if(qe.kind===293){if(Ye<2){checkExternalEmitHelpers(qe,2)}if(G.length>0){ie=getSpreadType(ie,createObjectLiteralType(),N.symbol,Ie,le);G=[];q=E.createSymbolTable();Me=false;Le=false;Be=false}var Ke=getReducedType(checkExpression(qe.expression));if(isValidSpreadType(Ke)){var it=tryMergeUnionOfObjectTypeAndEmptyObject(Ke,le);if($){checkSpreadPropOverrides(it,$,qe)}We=G.length;if(ie===Jt){continue}ie=getSpreadType(ie,it,N.symbol,Ie,le)}else{error(qe,E.Diagnostics.Spread_types_may_only_be_created_from_object_types);ie=Jt}continue}else{E.Debug.assert(qe.kind===170||qe.kind===171);checkNodeDeferred(qe)}if(Ge&&!(Ge.flags&8576)){if(isTypeAssignableTo(Ge,yr)){if(isTypeAssignableTo(Ge,tr)){Le=true}else if(isTypeAssignableTo(Ge,lr)){Be=true}else{Me=true}if(j){Ne=true}}}else{q.set(He.escapedName,He)}G.push(He)}if(ce&&N.parent.kind!==293){for(var ot=0,st=getPropertiesOfType(ae);ot<st.length;ot++){var et=st[ot];if(!q.get(et.escapedName)&&!getPropertyOfType(ie,et.escapedName)){if(!(et.flags&16777216)){error(et.valueDeclaration||et.bindingElement,E.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value)}q.set(et.escapedName,et);G.push(et)}}}if(ie===Jt){return Jt}if(ie!==Tr){if(G.length>0){ie=getSpreadType(ie,createObjectLiteralType(),N.symbol,Ie,le);G=[];q=E.createSymbolTable();Me=false;Le=false}return mapType(ie,(function(E){return E===Tr?createObjectLiteralType():E}))}return createObjectLiteralType();function createObjectLiteralType(){var R=[];if(Me)R.push(getObjectLiteralIndexInfo(N,We,G,er));if(Le)R.push(getObjectLiteralIndexInfo(N,We,G,tr));if(Be)R.push(getObjectLiteralIndexInfo(N,We,G,lr));var $=createAnonymousType(N.symbol,q,E.emptyArray,E.emptyArray,R);$.objectFlags|=Ie|128|262144;if(we){$.objectFlags|=8192}if(Ne){$.objectFlags|=512}if(j){$.pattern=N}return $}}function isValidSpreadType(N){if(N.flags&465829888){var R=getBaseConstraintOfType(N);if(R!==undefined){return isValidSpreadType(R)}}return!!(N.flags&(1|67108864|524288|58982400)||getFalsyFlags(N)&117632&&isValidSpreadType(removeDefinitelyFalsyTypes(N))||N.flags&3145728&&E.every(N.types,isValidSpreadType))}function checkJsxSelfClosingElementDeferred(E){checkJsxOpeningLikeElementOrOpeningFragment(E)}function checkJsxSelfClosingElement(E,N){checkNodeDeferred(E);return getJsxElementTypeAt(E)||zt}function checkJsxElementDeferred(E){checkJsxOpeningLikeElementOrOpeningFragment(E.openingElement);if(isJsxIntrinsicIdentifier(E.closingElement.tagName)){getIntrinsicTagSymbol(E.closingElement)}else{checkExpression(E.closingElement.tagName)}checkJsxChildren(E)}function checkJsxElement(E,N){checkNodeDeferred(E);return getJsxElementTypeAt(E)||zt}function checkJsxFragment(N){checkJsxOpeningLikeElementOrOpeningFragment(N.openingFragment);var R=E.getSourceFileOfNode(N);if(E.getJSXTransformEnabled(Xe)&&(Xe.jsxFactory||R.pragmas.has("jsx"))&&!Xe.jsxFragmentFactory&&!R.pragmas.has("jsxfrag")){error(N,Xe.jsxFactory?E.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:E.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments)}checkJsxChildren(N);return getJsxElementTypeAt(N)||zt}function isHyphenatedJsxName(N){return E.stringContains(N,"-")}function isJsxIntrinsicIdentifier(N){return N.kind===79&&E.isIntrinsicJsxName(N.escapedText)}function checkJsxAttribute(E,N){return E.initializer?checkExpressionForMutableLocation(E.initializer,N):ar}function createJsxAttributesTypeFromAttributesProperty(N,R){var j=N.attributes;var $=rt?E.createSymbolTable():undefined;var q=E.createSymbolTable();var G=kr;var ie=false;var ae;var ce=false;var le=2048;var _e=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));for(var Ee=0,Te=j.properties;Ee<Te.length;Ee++){var we=Te[Ee];var Ie=we.symbol;if(E.isJsxAttribute(we)){var Ne=checkJsxAttribute(we,R);le|=E.getObjectFlags(Ne)&917504;var Me=createSymbol(4|Ie.flags,Ie.escapedName);Me.declarations=Ie.declarations;Me.parent=Ie.parent;if(Ie.valueDeclaration){Me.valueDeclaration=Ie.valueDeclaration}Me.type=Ne;Me.target=Ie;q.set(Me.escapedName,Me);$===null||$===void 0?void 0:$.set(Me.escapedName,Me);if(we.name.escapedText===_e){ce=true}}else{E.Debug.assert(we.kind===285);if(q.size>0){G=getSpreadType(G,createJsxAttributesType(),j.symbol,le,false);q=E.createSymbolTable()}var Ne=getReducedType(checkExpressionCached(we.expression,R));if(isTypeAny(Ne)){ie=true}if(isValidSpreadType(Ne)){G=getSpreadType(G,Ne,j.symbol,le,false);if($){checkSpreadPropOverrides(Ne,$,we)}}else{ae=ae?getIntersectionType([ae,Ne]):Ne}}}if(!ie){if(q.size>0){G=getSpreadType(G,createJsxAttributesType(),j.symbol,le,false)}}var Le=N.parent.kind===276?N.parent:undefined;if(Le&&Le.openingElement===N&&Le.children.length>0){var Be=checkJsxChildren(Le,R);if(!ie&&_e&&_e!==""){if(ce){error(j,E.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,E.unescapeLeadingUnderscores(_e))}var je=getApparentTypeOfContextualType(N.attributes);var Ue=je&&getTypeOfPropertyOfContextualType(je,_e);var ze=createSymbol(4,_e);ze.type=Be.length===1?Be[0]:Ue&&someType(Ue,isTupleLikeType)?createTupleType(Be):createArrayType(getUnionType(Be));ze.valueDeclaration=E.factory.createPropertySignature(undefined,E.unescapeLeadingUnderscores(_e),undefined,undefined);E.setParent(ze.valueDeclaration,j);ze.valueDeclaration.symbol=ze;var We=E.createSymbolTable();We.set(_e,ze);G=getSpreadType(G,createAnonymousType(j.symbol,We,E.emptyArray,E.emptyArray,E.emptyArray),j.symbol,le,false)}}if(ie){return zt}if(ae&&G!==kr){return getIntersectionType([ae,G])}return ae||(G===kr?createJsxAttributesType():G);function createJsxAttributesType(){le|=pt;var N=createAnonymousType(j.symbol,q,E.emptyArray,E.emptyArray,E.emptyArray);N.objectFlags|=le|128|262144;return N}}function checkJsxChildren(E,N){var R=[];for(var j=0,$=E.children;j<$.length;j++){var q=$[j];if(q.kind===11){if(!q.containsOnlyTriviaWhiteSpaces){R.push(er)}}else if(q.kind===286&&!q.expression){continue}else{R.push(checkExpressionForMutableLocation(q,N))}}return R}function checkSpreadPropOverrides(N,R,j){for(var $=0,q=getPropertiesOfType(N);$<q.length;$++){var G=q[$];if(!(G.flags&16777216)){var ie=R.get(G.escapedName);if(ie){var ae=error(ie.valueDeclaration,E.Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,E.unescapeLeadingUnderscores(ie.escapedName));E.addRelatedInfo(ae,E.createDiagnosticForNode(j,E.Diagnostics.This_spread_always_overwrites_this_property))}}}}function checkJsxAttributes(E,N){return createJsxAttributesTypeFromAttributesProperty(E.parent,N)}function getJsxType(E,N){var R=getJsxNamespaceAt(N);var j=R&&getExportsOfSymbol(R);var $=j&&getSymbol(j,E,788968);return $?getDeclaredTypeOfSymbol($):Jt}function getIntrinsicTagSymbol(N){var R=getNodeLinks(N);if(!R.resolvedSymbol){var j=getJsxType(Qe.IntrinsicElements,N);if(j!==Jt){if(!E.isIdentifier(N.tagName))return E.Debug.fail();var $=getPropertyOfType(j,N.tagName.escapedText);if($){R.jsxFlags|=1;return R.resolvedSymbol=$}var q=getIndexTypeOfType(j,er);if(q){R.jsxFlags|=2;return R.resolvedSymbol=j.symbol}error(N,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.idText(N.tagName),"JSX."+Qe.IntrinsicElements);return R.resolvedSymbol=jt}else{if(st){error(N,E.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,E.unescapeLeadingUnderscores(Qe.IntrinsicElements))}return R.resolvedSymbol=jt}}return R.resolvedSymbol}function getJsxNamespaceContainerForImplicitImport(N){var R=N&&E.getSourceFileOfNode(N);var j=R&&getNodeLinks(R);if(j&&j.jsxImplicitImportContainer===false){return undefined}if(j&&j.jsxImplicitImportContainer){return j.jsxImplicitImportContainer}var $=E.getJSXRuntimeImport(E.getJSXImplicitImportBase(Xe,R),Xe);if(!$){return undefined}var q=E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.Classic;var G=q?E.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:E.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;var ie=resolveExternalModule(N,$,G,N);var ae=ie&&ie!==jt?getMergedSymbol(resolveSymbol(ie)):undefined;if(j){j.jsxImplicitImportContainer=ae||false}return ae}function getJsxNamespaceAt(E){var N=E&&getNodeLinks(E);if(N&&N.jsxNamespace){return N.jsxNamespace}if(!N||N.jsxNamespace!==false){var R=getJsxNamespaceContainerForImplicitImport(E);if(!R||R===jt){var j=getJsxNamespace(E);R=resolveName(E,j,1920,undefined,j,false)}if(R){var $=resolveSymbol(getSymbol(getExportsOfSymbol(resolveSymbol(R)),Qe.JSX,1920));if($&&$!==jt){if(N){N.jsxNamespace=$}return $}}if(N){N.jsxNamespace=false}}var q=resolveSymbol(getGlobalSymbol(Qe.JSX,1920,undefined));if(q===jt){return undefined}return q}function getNameFromJsxElementAttributesContainer(N,R){var j=R&&getSymbol(R.exports,N,788968);var $=j&&getDeclaredTypeOfSymbol(j);var q=$&&getPropertiesOfType($);if(q){if(q.length===0){return""}else if(q.length===1){return q[0].escapedName}else if(q.length>1&&j.declarations){error(j.declarations[0],E.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,E.unescapeLeadingUnderscores(N))}}return undefined}function getJsxLibraryManagedAttributes(E){return E&&getSymbol(E.exports,Qe.LibraryManagedAttributes,788968)}function getJsxElementPropertiesName(E){return getNameFromJsxElementAttributesContainer(Qe.ElementAttributesPropertyNameContainer,E)}function getJsxElementChildrenPropertyName(E){return getNameFromJsxElementAttributesContainer(Qe.ElementChildrenAttributeNameContainer,E)}function getUninstantiatedJsxSignaturesOfType(N,R){if(N.flags&4){return[Lr]}else if(N.flags&128){var j=getIntrinsicAttributesTypeFromStringLiteralType(N,R);if(!j){error(R,E.Diagnostics.Property_0_does_not_exist_on_type_1,N.value,"JSX."+Qe.IntrinsicElements);return E.emptyArray}else{var $=createSignatureForJSXIntrinsic(R,j);return[$]}}var q=getApparentType(N);var G=getSignaturesOfType(q,1);if(G.length===0){G=getSignaturesOfType(q,0)}if(G.length===0&&q.flags&1048576){G=getUnionSignatures(E.map(q.types,(function(E){return getUninstantiatedJsxSignaturesOfType(E,R)})))}return G}function getIntrinsicAttributesTypeFromStringLiteralType(N,R){var j=getJsxType(Qe.IntrinsicElements,R);if(j!==Jt){var $=N.value;var q=getPropertyOfType(j,E.escapeLeadingUnderscores($));if(q){return getTypeOfSymbol(q)}var G=getIndexTypeOfType(j,er);if(G){return G}return undefined}return zt}function checkJsxReturnAssignableToAppropriateBound(N,R,j){if(N===1){var $=getJsxStatelessElementTypeAt(j);if($){checkTypeRelatedTo(R,$,Pi,j.tagName,E.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else if(N===0){var q=getJsxElementClassTypeAt(j);if(q){checkTypeRelatedTo(R,q,Pi,j.tagName,E.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else{var $=getJsxStatelessElementTypeAt(j);var q=getJsxElementClassTypeAt(j);if(!$||!q){return}var G=getUnionType([$,q]);checkTypeRelatedTo(R,G,Pi,j.tagName,E.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}function generateInitialErrorChain(){var N=E.getTextOfNode(j.tagName);return E.chainDiagnosticMessages(undefined,E.Diagnostics._0_cannot_be_used_as_a_JSX_component,N)}}function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(N){E.Debug.assert(isJsxIntrinsicIdentifier(N.tagName));var R=getNodeLinks(N);if(!R.resolvedJsxElementAttributesType){var j=getIntrinsicTagSymbol(N);if(R.jsxFlags&1){return R.resolvedJsxElementAttributesType=getTypeOfSymbol(j)||Jt}else if(R.jsxFlags&2){return R.resolvedJsxElementAttributesType=getIndexTypeOfType(getJsxType(Qe.IntrinsicElements,N),er)||Jt}else{return R.resolvedJsxElementAttributesType=Jt}}return R.resolvedJsxElementAttributesType}function getJsxElementClassTypeAt(E){var N=getJsxType(Qe.ElementClass,E);if(N===Jt)return undefined;return N}function getJsxElementTypeAt(E){return getJsxType(Qe.Element,E)}function getJsxStatelessElementTypeAt(E){var N=getJsxElementTypeAt(E);if(N){return getUnionType([N,Yt])}}function getJsxIntrinsicTagNamesAt(N){var R=getJsxType(Qe.IntrinsicElements,N);return R?getPropertiesOfType(R):E.emptyArray}function checkJsxPreconditions(N){if((Xe.jsx||0)===0){error(N,E.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided)}if(getJsxElementTypeAt(N)===undefined){if(st){error(N,E.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}}}function checkJsxOpeningLikeElementOrOpeningFragment(N){var R=E.isJsxOpeningLikeElement(N);if(R){checkGrammarJsxElement(N)}checkJsxPreconditions(N);if(!getJsxNamespaceContainerForImplicitImport(N)){var j=xi&&Xe.jsx===2?E.Diagnostics.Cannot_find_name_0:undefined;var $=getJsxNamespace(N);var q=R?N.tagName:N;var G=void 0;if(!(E.isJsxOpeningFragment(N)&&$==="null")){G=resolveName(q,$,111551,j,$,true)}if(G){G.isReferenced=67108863;if(G.flags&2097152&&!getTypeOnlyAliasDeclaration(G)){markAliasSymbolAsReferenced(G)}}}if(R){var ie=N;var ae=getResolvedSignature(ie);checkDeprecatedSignature(ae,N);checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(ie),getReturnTypeOfSignature(ae),ie)}}function isKnownProperty(E,N,R){if(E.flags&524288){if(getPropertyOfObjectType(E,N)||getApplicableIndexInfoForName(E,N)||isLateBoundName(N)&&getIndexInfoOfType(E,er)||R&&isHyphenatedJsxName(N)){return true}}else if(E.flags&3145728&&isExcessPropertyCheckTarget(E)){for(var j=0,$=E.types;j<$.length;j++){var q=$[j];if(isKnownProperty(q,N,R)){return true}}}return false}function isExcessPropertyCheckTarget(N){return!!(N.flags&524288&&!(E.getObjectFlags(N)&512)||N.flags&67108864||N.flags&1048576&&E.some(N.types,isExcessPropertyCheckTarget)||N.flags&2097152&&E.every(N.types,isExcessPropertyCheckTarget))}function checkJsxExpression(N,R){checkGrammarJsxExpression(N);if(N.expression){var j=checkExpression(N.expression,R);if(N.dotDotDotToken&&j!==zt&&!isArrayType(j)){error(N,E.Diagnostics.JSX_spread_child_must_be_an_array_type)}return j}else{return Jt}}function getDeclarationNodeFlagsFromSymbol(N){return N.valueDeclaration?E.getCombinedNodeFlags(N.valueDeclaration):0}function isPrototypeProperty(N){if(N.flags&8192||E.getCheckFlags(N)&4){return true}if(E.isInJSFile(N.valueDeclaration)){var R=N.valueDeclaration.parent;return R&&E.isBinaryExpression(R)&&E.getAssignmentDeclarationKind(R)===3}}function checkPropertyAccessibility(N,R,j,$,q,G){if(G===void 0){G=true}var ie=E.getDeclarationModifierFlagsFromSymbol(q,j);var ae=N.kind===159?N.right:N.kind===198?N:N.kind===201&&N.propertyName?N.propertyName:N.name;if(R){if(Ye<2){if(symbolHasNonMethodDeclaration(q)){if(G){error(ae,E.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword)}return false}}if(ie&128){if(G){error(ae,E.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,symbolToString(q),typeToString(getDeclaringClass(q)))}return false}}if(ie&128&&symbolHasNonMethodDeclaration(q)&&(E.isThisProperty(N)||E.isThisInitializedObjectBindingExpression(N)||E.isObjectBindingPattern(N.parent)&&E.isThisInitializedDeclaration(N.parent.parent))){var ce=E.getClassLikeDeclarationOfSymbol(getParentOfSymbol(q));if(ce&&isNodeUsedDuringClassInitialization(N)){if(G){error(ae,E.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,symbolToString(q),E.getTextOfIdentifierOrLiteral(ce.name))}return false}}if(!(ie&24)){return true}if(ie&8){var ce=E.getClassLikeDeclarationOfSymbol(getParentOfSymbol(q));if(!isNodeWithinClass(N,ce)){if(G){error(ae,E.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,symbolToString(q),typeToString(getDeclaringClass(q)))}return false}return true}if(R){return true}var le=forEachEnclosingClass(N,(function(E){var N=getDeclaredTypeOfSymbol(getSymbolOfNode(E));return isClassDerivedFromDeclaringClasses(N,q,j)?N:undefined}));if(!le){var _e=void 0;if(ie&32||!(_e=getThisParameterFromNodeContext(N))||!_e.type){if(G){error(ae,E.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,symbolToString(q),typeToString(getDeclaringClass(q)||$))}return false}var Ee=getTypeFromTypeNode(_e.type);le=(Ee.flags&262144?getConstraintOfTypeParameter(Ee):Ee).target}if(ie&32){return true}if($.flags&262144){$=$.isThisType?getConstraintOfTypeParameter($):getBaseConstraintOfType($)}if(!$||!hasBaseType($,le)){if(G){error(ae,E.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,symbolToString(q),typeToString(le),typeToString($))}return false}return true}function getThisParameterFromNodeContext(N){var R=E.getThisContainer(N,false);return R&&E.isFunctionLike(R)?E.getThisParameter(R):undefined}function symbolHasNonMethodDeclaration(E){return!!forEachProperty(E,(function(E){return!(E.flags&8192)}))}function checkNonNullExpression(E){return checkNonNullType(checkExpression(E),E)}function isNullableType(E){return!!((rt?getFalsyFlags(E):E.flags)&98304)}function getNonNullableTypeIfNeeded(E){return isNullableType(E)?getNonNullableType(E):E}function reportObjectPossiblyNullOrUndefinedError(N,R){error(N,R&32768?R&65536?E.Diagnostics.Object_is_possibly_null_or_undefined:E.Diagnostics.Object_is_possibly_undefined:E.Diagnostics.Object_is_possibly_null)}function reportCannotInvokePossiblyNullOrUndefinedError(N,R){error(N,R&32768?R&65536?E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function checkNonNullTypeWithReporter(N,R,j){if(rt&&N.flags&2){error(R,E.Diagnostics.Object_is_of_type_unknown);return Jt}var $=(rt?getFalsyFlags(N):N.flags)&98304;if($){j(R,$);var q=getNonNullableType(N);return q.flags&(98304|131072)?Jt:q}return N}function checkNonNullType(E,N){return checkNonNullTypeWithReporter(E,N,reportObjectPossiblyNullOrUndefinedError)}function checkNonNullNonVoidType(N,R){var j=checkNonNullType(N,R);if(j!==Jt&&j.flags&16384){error(R,E.Diagnostics.Object_is_possibly_undefined)}return j}function checkPropertyAccessExpression(E,N){return E.flags&32?checkPropertyAccessChain(E,N):checkPropertyAccessExpressionOrQualifiedName(E,E.expression,checkNonNullExpression(E.expression),E.name,N)}function checkPropertyAccessChain(E,N){var R=checkExpression(E.expression);var j=getOptionalExpressionType(R,E.expression);return propagateOptionalTypeMarker(checkPropertyAccessExpressionOrQualifiedName(E,E.expression,checkNonNullType(j,E.expression),E.name,N),E,j!==R)}function checkQualifiedName(N,R){var j=E.isPartOfTypeQuery(N)&&E.isThisIdentifier(N.left)?checkNonNullType(checkThisExpression(N.left),N.left):checkNonNullExpression(N.left);return checkPropertyAccessExpressionOrQualifiedName(N,N.left,j,N.right,R)}function isMethodAccessForCall(N){while(N.parent.kind===210){N=N.parent}return E.isCallOrNewExpression(N.parent)&&N.parent.expression===N}function lookupSymbolForPrivateIdentifierDeclaration(N,R){for(var j=E.getContainingClass(R);!!j;j=E.getContainingClass(j)){var $=j.symbol;var q=E.getSymbolNameForPrivateIdentifier($,N);var G=$.members&&$.members.get(q)||$.exports&&$.exports.get(q);if(G){return G}}}function getPrivateIdentifierPropertyOfType(E,N){return getPropertyOfType(E,N.escapedName)}function checkPrivateIdentifierPropertyAccess(N,j,$){var q;var G=getPropertiesOfType(N);if(G){E.forEach(G,(function(N){var R=N.valueDeclaration;if(R&&E.isNamedDeclaration(R)&&E.isPrivateIdentifier(R.name)&&R.name.escapedText===j.escapedText){q=N;return true}}))}var ie=diagnosticName(j);if(q){var ae=E.Debug.checkDefined(q.valueDeclaration);var ce=E.Debug.checkDefined(E.getContainingClass(ae));if($===null||$===void 0?void 0:$.valueDeclaration){var le=$.valueDeclaration;var _e=E.getContainingClass(le);E.Debug.assert(!!_e);if(E.findAncestor(_e,(function(E){return ce===E}))){var Ee=error(j,E.Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,ie,typeToString(N));E.addRelatedInfo(Ee,E.createDiagnosticForNode(le,E.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,ie),E.createDiagnosticForNode(ae,E.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,ie));return true}}error(j,E.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,ie,diagnosticName(ce.name||R));return true}return false}function isThisPropertyAccessInConstructor(N,R){return(isConstructorDeclaredProperty(R)||E.isThisProperty(N)&&isAutoTypedProperty(R))&&E.getThisContainer(N,true)===getDeclaringConstructor(R)}function checkPropertyAccessExpressionOrQualifiedName(N,R,j,$,q){var G=getNodeLinks(R).resolvedSymbol;var ie=E.getAssignmentTargetKind(N);var ae=getApparentType(ie!==0||isMethodAccessForCall(N)?getWidenedType(j):j);var ce=isTypeAny(ae)||ae===pr;var le;if(E.isPrivateIdentifier($)){if(Ye<99){if(ie!==0){checkExternalEmitHelpers(N,1048576)}if(ie!==1){checkExternalEmitHelpers(N,524288)}}var _e=lookupSymbolForPrivateIdentifierDeclaration($.escapedText,$);if(ie&&_e&&_e.valueDeclaration&&E.isMethodDeclaration(_e.valueDeclaration)){grammarErrorOnNode($,E.Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,E.idText($))}if((_e===null||_e===void 0?void 0:_e.valueDeclaration)&&(Xe.target===99&&!et)){var Ee=E.getContainingClass(_e.valueDeclaration);var Te=E.findAncestor(N,(function(N){if(N===Ee)return"quit";if(E.isPropertyDeclaration(N.parent)&&E.hasStaticModifier(N.parent)&&N.parent.initializer===N&&N.parent.parent===Ee){return true}return false}));if(Te){var we=getSymbolOfNode(Te.parent);E.Debug.assert(we,"Initializer without declaration symbol");var Ie=error(N,E.Diagnostics.Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false,E.symbolName(_e));E.addRelatedInfo(Ie,E.createDiagnosticForNode(Te.parent,E.Diagnostics.Initializer_for_property_0,E.symbolName(we)))}}if(ce){if(_e){return ae}if(!E.getContainingClass($)){grammarErrorOnNode($,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return zt}}le=_e?getPrivateIdentifierPropertyOfType(j,_e):undefined;if(!le&&checkPrivateIdentifierPropertyAccess(j,$,_e)){return Jt}else{var Ne=le&&le.flags&65536&&!(le.flags&32768);if(Ne&&ie!==1){error(N,E.Diagnostics.Private_accessor_was_defined_without_a_getter)}}}else{if(ce){if(E.isIdentifier(R)&&G){markAliasReferenced(G,N)}return ae}le=getPropertyOfType(ae,$.escapedText)}if(E.isIdentifier(R)&&G&&(Xe.isolatedModules||!(le&&isConstEnumOrConstEnumOnlyModule(le))||E.shouldPreserveConstEnums(Xe)&&isExportOrExportExpression(N))){markAliasReferenced(G,N)}var Me;if(!le){var Le=!E.isPrivateIdentifier($)&&(ie===0||!isGenericObjectType(j)||isThisTypeParameter(j))?getApplicableIndexInfoForName(ae,$.escapedText):undefined;if(!(Le&&Le.type)){var Be=isUncheckedJSSuggestion(N,j.symbol,true);if(!Be&&isJSLiteralType(j)){return zt}if(j.symbol===bt){if(bt.exports.has($.escapedText)&&bt.exports.get($.escapedText).flags&418){error($,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores($.escapedText),typeToString(j))}else if(st){error($,E.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,typeToString(j))}return zt}if($.escapedText&&!checkAndReportErrorForExtendingInterface(N)){reportNonexistentProperty($,isThisTypeParameter(j)?ae:j,Be)}return Jt}if(Le.isReadonly&&(E.isAssignmentTarget(N)||E.isDeleteTarget(N))){error(N,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(ae))}Me=Xe.noUncheckedIndexedAccess&&!E.isAssignmentTarget(N)?getUnionType([Le.type,Gt]):Le.type;if(Xe.noPropertyAccessFromIndexSignature&&E.isPropertyAccessExpression(N)){error($,E.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,E.unescapeLeadingUnderscores($.escapedText))}}else{if(le.declarations&&getDeclarationNodeFlagsFromSymbol(le)&134217728&&isUncalledFunctionReference(N,le)){addDeprecatedSuggestion($,le.declarations,$.escapedText)}checkPropertyNotUsedBeforeDeclaration(le,N,$);markPropertyAsReferenced(le,N,isSelfTypeAccess(R,G));getNodeLinks(N).resolvedSymbol=le;var je=E.isWriteAccess(N);checkPropertyAccessibility(N,R.kind===106,je,ae,le);if(isAssignmentToReadonlyEntity(N,le,ie)){error($,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,E.idText($));return Jt}Me=isThisPropertyAccessInConstructor(N,le)?Wt:je?getSetAccessorTypeOfSymbol(le):getTypeOfSymbol(le)}return getFlowTypeOfAccessExpression(N,le,Me,$,q)}function isUncheckedJSSuggestion(N,R,j){var $=E.getSourceFileOfNode(N);if($){if(Xe.checkJs===undefined&&$.checkJsDirective===undefined&&($.scriptKind===1||$.scriptKind===2)){var q=E.forEach(R===null||R===void 0?void 0:R.declarations,E.getSourceFileOfNode);return!($!==q&&!!q&&isGlobalSourceFile(q))&&!(j&&R&&R.flags&32)&&!(!!N&&j&&E.isPropertyAccessExpression(N)&&N.expression.kind===108)}}return false}function getFlowTypeOfAccessExpression(N,R,j,$,q){var G=E.getAssignmentTargetKind(N);if(G===1){return removeMissingType(j,!!(R&&R.flags&16777216))}if(R&&!(R.flags&(3|4|98304))&&!(R.flags&8192&&j.flags&1048576)&&!isDuplicatedCommonJSExport(R.declarations)){return j}if(j===Wt){return getFlowTypeOfProperty(N,R)}j=getNarrowableTypeForReference(j,N,q);var ie=false;if(rt&&ot&&E.isAccessExpression(N)&&N.expression.kind===108){var ae=R&&R.valueDeclaration;if(ae&&isPropertyWithoutInitializer(ae)){if(!E.isStatic(ae)){var ce=getControlFlowContainer(N);if(ce.kind===169&&ce.parent===ae.parent&&!(ae.flags&8388608)){ie=true}}}}else if(rt&&R&&R.valueDeclaration&&E.isPropertyAccessExpression(R.valueDeclaration)&&E.getAssignmentDeclarationPropertyAccessKind(R.valueDeclaration)&&getControlFlowContainer(N)===getControlFlowContainer(R.valueDeclaration)){ie=true}var le=getFlowTypeOfReference(N,j,ie?getOptionalType(j):j);if(ie&&!(getFalsyFlags(j)&32768)&&getFalsyFlags(le)&32768){error($,E.Diagnostics.Property_0_is_used_before_being_assigned,symbolToString(R));return j}return G?getBaseTypeOfLiteralType(le):le}function checkPropertyNotUsedBeforeDeclaration(N,R,j){var $=N.valueDeclaration;if(!$||E.getSourceFileOfNode(R).isDeclarationFile){return}var q;var G=E.idText(j);if(isInPropertyInitializerOrClassStaticBlock(R)&&!isOptionalPropertyDeclaration($)&&!(E.isAccessExpression(R)&&E.isAccessExpression(R.expression))&&!isBlockScopedNameDeclaredBeforeUse($,j)&&(Xe.useDefineForClassFields||!isPropertyDeclaredInAncestorClass(N))){q=error(j,E.Diagnostics.Property_0_is_used_before_its_initialization,G)}else if($.kind===255&&R.parent.kind!==176&&!($.flags&8388608)&&!isBlockScopedNameDeclaredBeforeUse($,j)){q=error(j,E.Diagnostics.Class_0_used_before_its_declaration,G)}if(q){E.addRelatedInfo(q,E.createDiagnosticForNode($,E.Diagnostics._0_is_declared_here,G))}}function isInPropertyInitializerOrClassStaticBlock(N){return!!E.findAncestor(N,(function(N){switch(N.kind){case 165:return true;case 291:case 167:case 170:case 171:case 293:case 160:case 231:case 286:case 283:case 284:case 285:case 278:case 226:case 289:return false;case 212:case 236:return E.isBlock(N.parent)&&E.isClassStaticBlockDeclaration(N.parent.parent)?true:"quit";default:return E.isExpressionNode(N)?false:"quit"}}))}function isPropertyDeclaredInAncestorClass(E){if(!(E.parent.flags&32)){return false}var N=getTypeOfSymbol(E.parent);while(true){N=N.symbol&&getSuperClass(N);if(!N){return false}var R=getPropertyOfType(N,E.escapedName);if(R&&R.valueDeclaration){return true}}}function getSuperClass(E){var N=getBaseTypes(E);if(N.length===0){return undefined}return getIntersectionType(N)}function reportNonexistentProperty(N,R,j){var $;var q;if(!E.isPrivateIdentifier(N)&&R.flags&1048576&&!(R.flags&131068)){for(var G=0,ie=R.types;G<ie.length;G++){var ae=ie[G];if(!getPropertyOfType(ae,N.escapedText)&&!getApplicableIndexInfoForName(ae,N.escapedText)){$=E.chainDiagnosticMessages($,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.declarationNameToString(N),typeToString(ae));break}}}if(typeHasStaticProperty(N.escapedText,R)){var ce=E.declarationNameToString(N);var le=typeToString(R);$=E.chainDiagnosticMessages($,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,le,le+"."+ce)}else{var _e=getPromisedTypeOfPromise(R);if(_e&&getPropertyOfType(_e,N.escapedText)){$=E.chainDiagnosticMessages($,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.declarationNameToString(N),typeToString(R));q=E.createDiagnosticForNode(N,E.Diagnostics.Did_you_forget_to_use_await)}else{var Ee=E.declarationNameToString(N);var Te=typeToString(R);var we=getSuggestedLibForNonExistentProperty(Ee,R);if(we!==undefined){$=E.chainDiagnosticMessages($,E.Diagnostics.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later,Ee,Te,we)}else{var Ie=getSuggestedSymbolForNonexistentProperty(N,R);if(Ie!==undefined){var Ne=E.symbolName(Ie);var Me=j?E.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2:E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2;$=E.chainDiagnosticMessages($,Me,Ee,Te,Ne);q=Ie.valueDeclaration&&E.createDiagnosticForNode(Ie.valueDeclaration,E.Diagnostics._0_is_declared_here,Ne)}else{var Le=containerSeemsToBeEmptyDomElement(R)?E.Diagnostics.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:E.Diagnostics.Property_0_does_not_exist_on_type_1;$=E.chainDiagnosticMessages(elaborateNeverIntersection($,R),Le,Ee,Te)}}}}var Be=E.createDiagnosticForNodeFromMessageChain(N,$);if(q){E.addRelatedInfo(Be,q)}addErrorOrSuggestion(!j,Be)}function containerSeemsToBeEmptyDomElement(N){return Xe.lib&&!Xe.lib.includes("dom")&&everyContainedType(N,(function(N){return N.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(E.unescapeLeadingUnderscores(N.symbol.escapedName))}))&&isEmptyObjectType(N)}function typeHasStaticProperty(N,R){var j=R.symbol&&getPropertyOfType(getTypeOfSymbol(R.symbol),N);return j!==undefined&&!!j.valueDeclaration&&E.isStatic(j.valueDeclaration)}function getSuggestedLibForNonExistentName(N){var R=diagnosticName(N);var j=E.getScriptTargetFeatures();var $=E.getOwnKeys(j);for(var q=0,G=$;q<G.length;q++){var ie=G[q];var ae=E.getOwnKeys(j[ie]);if(ae!==undefined&&E.contains(ae,R)){return ie}}}function getSuggestedLibForNonExistentProperty(N,R){var j=getApparentType(R).symbol;if(!j){return undefined}var $=E.getScriptTargetFeatures();var q=E.getOwnKeys($);for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];var ce=$[ae];var le=ce[E.symbolName(j)];if(le!==undefined&&E.contains(le,N)){return ae}}}function getSuggestedSymbolForNonexistentClassMember(E,N){return getSpellingSuggestionForName(E,getPropertiesOfType(N),106500)}function getSuggestedSymbolForNonexistentProperty(N,R){var j=getPropertiesOfType(R);if(typeof N!=="string"){var $=N.parent;if(E.isPropertyAccessExpression($)){j=E.filter(j,(function(E){return isValidPropertyAccessForCompletions($,R,E)}))}N=E.idText(N)}return getSpellingSuggestionForName(N,j,111551)}function getSuggestedSymbolForNonexistentJSXAttribute(N,R){var j=E.isString(N)?N:E.idText(N);var $=getPropertiesOfType(R);var q=j==="for"?E.find($,(function(N){return E.symbolName(N)==="htmlFor"})):j==="class"?E.find($,(function(N){return E.symbolName(N)==="className"})):undefined;return q!==null&&q!==void 0?q:getSpellingSuggestionForName(j,$,111551)}function getSuggestionForNonexistentProperty(N,R){var j=getSuggestedSymbolForNonexistentProperty(N,R);return j&&E.symbolName(j)}function getSuggestedSymbolForNonexistentSymbol(N,R,j){E.Debug.assert(R!==undefined,"outername should always be defined");var $=resolveNameHelper(N,R,j,undefined,R,false,false,(function(N,j,$){E.Debug.assertEqual(R,j,"name should equal outerName");var q=getSymbol(N,j,$);return q||getSpellingSuggestionForName(E.unescapeLeadingUnderscores(j),E.arrayFrom(N.values()),$)}));return $}function getSuggestionForNonexistentSymbol(N,R,j){var $=getSuggestedSymbolForNonexistentSymbol(N,R,j);return $&&E.symbolName($)}function getSuggestedSymbolForNonexistentModule(N,R){return R.exports&&getSpellingSuggestionForName(E.idText(N),getExportsOfModuleAsArray(R),2623475)}function getSuggestionForNonexistentExport(N,R){var j=getSuggestedSymbolForNonexistentModule(N,R);return j&&E.symbolName(j)}function getSuggestionForNonexistentIndexSignature(N,R,j){function hasProp(E){var R=getPropertyOfObjectType(N,E);if(R){var $=getSingleCallSignature(getTypeOfSymbol(R));return!!$&&getMinArgumentCount($)>=1&&isTypeAssignableTo(j,getTypeAtPosition($,0))}return false}var $=E.isAssignmentTarget(R)?"set":"get";if(!hasProp($)){return undefined}var q=E.tryGetPropertyAccessOrIdentifierToString(R.expression);if(q===undefined){q=$}else{q+="."+$}return q}function getSpellingSuggestionForName(N,R,j){return E.getSpellingSuggestion(N,R,getCandidateName);function getCandidateName(N){var R=E.symbolName(N);if(E.startsWith(R,'"')){return undefined}if(N.flags&j){return R}if(N.flags&2097152){var $=tryResolveAlias(N);if($&&$.flags&j){return R}}return undefined}}function markPropertyAsReferenced(N,R,j){var $=N&&N.flags&106500&&N.valueDeclaration;if(!$){return}var q=E.hasEffectiveModifier($,8);var G=N.valueDeclaration&&E.isNamedDeclaration(N.valueDeclaration)&&E.isPrivateIdentifier(N.valueDeclaration.name);if(!q&&!G){return}if(R&&E.isWriteOnlyAccess(R)&&!(N.flags&65536)){return}if(j){var ie=E.findAncestor(R,E.isFunctionLikeDeclaration);if(ie&&ie.symbol===N){return}}(E.getCheckFlags(N)&1?getSymbolLinks(N).target:N).isReferenced=67108863}function isSelfTypeAccess(N,R){return N.kind===108||!!R&&E.isEntityNameExpression(N)&&R===getResolvedSymbol(E.getFirstIdentifier(N))}function isValidPropertyAccess(E,N){switch(E.kind){case 204:return isValidPropertyAccessWithType(E,E.expression.kind===106,N,getWidenedType(checkExpression(E.expression)));case 159:return isValidPropertyAccessWithType(E,false,N,getWidenedType(checkExpression(E.left)));case 198:return isValidPropertyAccessWithType(E,false,N,getTypeFromTypeNode(E))}}function isValidPropertyAccessForCompletions(E,N,R){return isValidPropertyAccessWithType(E,E.kind===204&&E.expression.kind===106,R.escapedName,N)}function isValidPropertyAccessWithType(N,R,j,$){if($===Jt||isTypeAny($)){return true}var q=getPropertyOfType($,j);if(q){if(q.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(q.valueDeclaration)){var G=E.getContainingClass(q.valueDeclaration);return!E.isOptionalChain(N)&&!!E.findAncestor(N,(function(E){return E===G}))}return checkPropertyAccessibility(N,R,false,$,q,false)}return E.isInJSFile(N)&&($.flags&1048576)!==0&&$.types.some((function(E){return isValidPropertyAccessWithType(N,R,j,E)}))}function getForInVariableSymbol(N){var R=N.initializer;if(R.kind===253){var j=R.declarations[0];if(j&&!E.isBindingPattern(j.name)){return getSymbolOfNode(j)}}else if(R.kind===79){return getResolvedSymbol(R)}return undefined}function hasNumericPropertyNames(E){return getIndexInfosOfType(E).length===1&&!!getIndexInfoOfType(E,tr)}function isForInVariableForNumericPropertyNames(N){var R=E.skipParentheses(N);if(R.kind===79){var j=getResolvedSymbol(R);if(j.flags&3){var $=N;var q=N.parent;while(q){if(q.kind===241&&$===q.statement&&getForInVariableSymbol(q)===j&&hasNumericPropertyNames(getTypeOfExpression(q.expression))){return true}$=q;q=q.parent}}}return false}function checkIndexedAccess(E,N){return E.flags&32?checkElementAccessChain(E,N):checkElementAccessExpression(E,checkNonNullExpression(E.expression),N)}function checkElementAccessChain(E,N){var R=checkExpression(E.expression);var j=getOptionalExpressionType(R,E.expression);return propagateOptionalTypeMarker(checkElementAccessExpression(E,checkNonNullType(j,E.expression),N),E,j!==R)}function checkElementAccessExpression(N,R,j){var $=E.getAssignmentTargetKind(N)!==0||isMethodAccessForCall(N)?getWidenedType(R):R;var q=N.argumentExpression;var G=checkExpression(q);if($===Jt||$===pr){return $}if(isConstEnumObjectType($)&&!E.isStringLiteralLike(q)){error(q,E.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal);return Jt}var ie=isForInVariableForNumericPropertyNames(q)?tr:G;var ae=E.isAssignmentTarget(N)?4|(isGenericObjectType($)&&!isThisTypeParameter($)?2:0):32;var ce=getIndexedAccessTypeOrUndefined($,ie,ae,N)||Jt;return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(N,getNodeLinks(N).resolvedSymbol,ce,q,j),N)}function callLikeExpressionMayHaveTypeArguments(N){return E.isCallOrNewExpression(N)||E.isTaggedTemplateExpression(N)||E.isJsxOpeningLikeElement(N)}function resolveUntypedCall(N){if(callLikeExpressionMayHaveTypeArguments(N)){E.forEach(N.typeArguments,checkSourceElement)}if(N.kind===208){checkExpression(N.template)}else if(E.isJsxOpeningLikeElement(N)){checkExpression(N.attributes)}else if(N.kind!==163){E.forEach(N.arguments,(function(E){checkExpression(E)}))}return Lr}function resolveErrorCall(E){resolveUntypedCall(E);return Br}function reorderCandidates(N,R,j){var $;var q;var G=0;var ie;var ae=-1;var ce;E.Debug.assert(!R.length);for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];var Te=Ee.declaration&&getSymbolOfNode(Ee.declaration);var we=Ee.declaration&&Ee.declaration.parent;if(!q||Te===q){if($&&we===$){ie=ie+1}else{$=we;ie=G}}else{ie=G=R.length;$=we}q=Te;if(signatureHasLiteralTypes(Ee)){ae++;ce=ae;G++}else{ce=ie}R.splice(ce,0,j?getOptionalCallSignature(Ee,j):Ee)}}function isSpreadArgument(E){return!!E&&(E.kind===223||E.kind===230&&E.isSpread)}function getSpreadArgumentIndex(N){return E.findIndex(N,isSpreadArgument)}function acceptsVoid(E){return!!(E.flags&16384)}function acceptsVoidUndefinedUnknownOrAny(E){return!!(E.flags&(16384|32768|2|1))}function hasCorrectArity(N,R,j,$){if($===void 0){$=false}var q;var G=false;var ie=getParameterCount(j);var ae=getMinArgumentCount(j);if(N.kind===208){q=R.length;if(N.template.kind===221){var ce=E.last(N.template.templateSpans);G=E.nodeIsMissing(ce.literal)||!!ce.literal.isUnterminated}else{var le=N.template;E.Debug.assert(le.kind===14);G=!!le.isUnterminated}}else if(N.kind===163){q=getDecoratorArgumentCount(N,j)}else if(E.isJsxOpeningLikeElement(N)){G=N.attributes.end===N.end;if(G){return true}q=ae===0?R.length:1;ie=R.length===0?ie:1;ae=Math.min(ae,1)}else if(!N.arguments){E.Debug.assert(N.kind===207);return getMinArgumentCount(j)===0}else{q=$?R.length+1:R.length;G=N.arguments.end===N.end;var _e=getSpreadArgumentIndex(R);if(_e>=0){return _e>=getMinArgumentCount(j)&&(hasEffectiveRestParameter(j)||_e<getParameterCount(j))}}if(!hasEffectiveRestParameter(j)&&q>ie){return false}if(G||q>=ae){return true}for(var Ee=q;Ee<ae;Ee++){var Te=getTypeAtPosition(j,Ee);if(filterType(Te,E.isInJSFile(N)&&!rt?acceptsVoidUndefinedUnknownOrAny:acceptsVoid).flags&131072){return false}}return true}function hasCorrectTypeArgumentArity(N,R){var j=E.length(N.typeParameters);var $=getMinTypeArgumentCount(N.typeParameters);return!E.some(R)||R.length>=$&&R.length<=j}function getSingleCallSignature(E){return getSingleSignature(E,0,false)}function getSingleCallOrConstructSignature(E){return getSingleSignature(E,0,false)||getSingleSignature(E,1,false)}function getSingleSignature(E,N,R){if(E.flags&524288){var j=resolveStructuredTypeMembers(E);if(R||j.properties.length===0&&j.indexInfos.length===0){if(N===0&&j.callSignatures.length===1&&j.constructSignatures.length===0){return j.callSignatures[0]}if(N===1&&j.constructSignatures.length===1&&j.callSignatures.length===0){return j.constructSignatures[0]}}}return undefined}function instantiateSignatureInContextOf(N,R,j,$){var q=createInferenceContext(N.typeParameters,N,0,$);var G=getEffectiveRestType(R);var ie=j&&(G&&G.flags&262144?j.nonFixingMapper:j.mapper);var ae=ie?instantiateSignature(R,ie):R;applyToParameterTypes(ae,N,(function(E,N){inferTypes(q.inferences,E,N)}));if(!j){applyToReturnTypes(R,N,(function(E,N){inferTypes(q.inferences,E,N,128)}))}return getSignatureInstantiation(N,getInferredTypes(q),E.isInJSFile(R.declaration))}function inferJsxTypeArguments(E,N,R,j){var $=getEffectiveFirstArgumentForJsxSignature(N,E);var q=checkExpressionWithContextualType(E.attributes,$,j,R);inferTypes(j.inferences,q,$);return getInferredTypes(j)}function getThisArgumentType(N){if(!N){return ur}var R=checkExpression(N);return E.isOptionalChainRoot(N.parent)?getNonNullableType(R):E.isOptionalChain(N.parent)?removeOptionalTypeMarker(R):R}function inferTypeArguments(N,R,j,$,q){if(E.isJsxOpeningLikeElement(N)){return inferJsxTypeArguments(N,R,$,q)}if(N.kind!==163){var G=getContextualType(N,E.every(R.typeParameters,(function(E){return!!getDefaultFromTypeParameter(E)}))?8:0);if(G){var ie=getInferenceContext(N);var ae=getMapperFromContext(cloneInferenceContext(ie,1));var ce=instantiateType(G,ae);var le=getSingleCallSignature(ce);var _e=le&&le.typeParameters?getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(le,le.typeParameters)):ce;var Ee=getReturnTypeOfSignature(R);inferTypes(q.inferences,_e,Ee,128);var Te=createInferenceContext(R.typeParameters,R,q.flags);var we=instantiateType(G,ie&&ie.returnMapper);inferTypes(Te.inferences,we,Ee);q.returnMapper=E.some(Te.inferences,hasInferenceCandidates)?getMapperFromContext(cloneInferredPartOfContext(Te)):undefined}}var Ie=getNonArrayRestType(R);var Ne=Ie?Math.min(getParameterCount(R)-1,j.length):j.length;if(Ie&&Ie.flags&262144){var Me=E.find(q.inferences,(function(E){return E.typeParameter===Ie}));if(Me){Me.impliedArity=E.findIndex(j,isSpreadArgument,Ne)<0?j.length-Ne:undefined}}var Le=getThisTypeOfSignature(R);if(Le){var Be=getThisArgumentOfCall(N);inferTypes(q.inferences,getThisArgumentType(Be),Le)}for(var je=0;je<Ne;je++){var Ue=j[je];if(Ue.kind!==225){var ze=getTypeAtPosition(R,je);var We=checkExpressionWithContextualType(Ue,ze,q,$);inferTypes(q.inferences,We,ze)}}if(Ie){var Je=getSpreadArgumentType(j,Ne,j.length,Ie,q,$);inferTypes(q.inferences,Je,Ie)}return getInferredTypes(q)}function getMutableArrayOrTupleType(E){return E.flags&1048576?mapType(E,getMutableArrayOrTupleType):E.flags&1||isMutableArrayOrTuple(getBaseConstraintOfType(E)||E)?E:isTupleType(E)?createTupleType(getTypeArguments(E),E.target.elementFlags,false,E.target.labeledElementDeclarations):createTupleType([E],[8])}function getSpreadArgumentType(N,R,j,$,q,G){if(R>=j-1){var ie=N[j-1];if(isSpreadArgument(ie)){return getMutableArrayOrTupleType(ie.kind===230?ie.type:checkExpressionWithContextualType(ie.expression,$,q,G))}}var ae=[];var ce=[];var le=[];for(var _e=R;_e<j;_e++){var ie=N[_e];if(isSpreadArgument(ie)){var Ee=ie.kind===230?ie.type:checkExpression(ie.expression);if(isArrayLikeType(Ee)){ae.push(Ee);ce.push(8)}else{ae.push(checkIteratedTypeOrElementType(33,Ee,Gt,ie.kind===223?ie.expression:ie));ce.push(4)}}else{var Te=getIndexedAccessType($,getNumberLiteralType(_e-R),256);var we=checkExpressionWithContextualType(ie,Te,q,G);var Ie=maybeTypeOfKind(Te,131068|4194304|134217728|268435456);ae.push(Ie?getRegularTypeOfLiteralType(we):getWidenedLiteralType(we));ce.push(1)}if(ie.kind===230&&ie.tupleNameSource){le.push(ie.tupleNameSource)}}return createTupleType(ae,ce,false,E.length(le)===E.length(ae)?le:undefined)}function checkTypeArguments(N,R,j,$){var q=E.isInJSFile(N.declaration);var G=N.typeParameters;var ie=fillMissingTypeArguments(E.map(R,getTypeFromTypeNode),G,getMinTypeArgumentCount(G),q);var ae;for(var ce=0;ce<R.length;ce++){E.Debug.assert(G[ce]!==undefined,"Should not call checkTypeArguments with too many type arguments");var le=getConstraintOfTypeParameter(G[ce]);if(le){var _e=j&&$?function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}:undefined;var Ee=$||E.Diagnostics.Type_0_does_not_satisfy_the_constraint_1;if(!ae){ae=createTypeMapper(G,ie)}var Te=ie[ce];if(!checkTypeAssignableTo(Te,getTypeWithThisArgument(instantiateType(le,ae),Te),j?R[ce]:undefined,Ee,_e)){return undefined}}}return ie}function getJsxReferenceKind(N){if(isJsxIntrinsicIdentifier(N.tagName)){return 2}var R=getApparentType(checkExpression(N.tagName));if(E.length(getSignaturesOfType(R,1))){return 0}if(E.length(getSignaturesOfType(R,0))){return 1}return 2}function checkApplicableSignatureForJsxOpeningLikeElement(N,R,j,$,q,G,ie){var ae=getEffectiveFirstArgumentForJsxSignature(R,N);var ce=checkExpressionWithContextualType(N.attributes,ae,undefined,$);return checkTagNameDoesNotExpectTooManyArguments()&&checkTypeRelatedToAndOptionallyElaborate(ce,ae,j,q?N.tagName:undefined,N.attributes,undefined,G,ie);function checkTagNameDoesNotExpectTooManyArguments(){var R;if(getJsxNamespaceContainerForImplicitImport(N)){return true}var j=E.isJsxOpeningElement(N)||E.isJsxSelfClosingElement(N)&&!isJsxIntrinsicIdentifier(N.tagName)?checkExpression(N.tagName):undefined;if(!j){return true}var $=getSignaturesOfType(j,0);if(!E.length($)){return true}var G=getJsxFactoryEntity(N);if(!G){return true}var ae=resolveEntityName(G,111551,true,false,N);if(!ae){return true}var ce=getTypeOfSymbol(ae);var le=getSignaturesOfType(ce,0);if(!E.length(le)){return true}var _e=false;var Ee=0;for(var Te=0,we=le;Te<we.length;Te++){var Ie=we[Te];var Ne=getTypeAtPosition(Ie,0);var Me=getSignaturesOfType(Ne,0);if(!E.length(Me))continue;for(var Le=0,Be=Me;Le<Be.length;Le++){var je=Be[Le];_e=true;if(hasEffectiveRestParameter(je)){return true}var Ue=getParameterCount(je);if(Ue>Ee){Ee=Ue}}}if(!_e){return true}var ze=Infinity;for(var We=0,Je=$;We<Je.length;We++){var Ve=Je[We];var qe=getMinArgumentCount(Ve);if(qe<ze){ze=qe}}if(ze<=Ee){return true}if(q){var He=E.createDiagnosticForNode(N.tagName,E.Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,E.entityNameToString(N.tagName),ze,E.entityNameToString(G),Ee);var Ge=(R=getSymbolAtLocation(N.tagName))===null||R===void 0?void 0:R.valueDeclaration;if(Ge){E.addRelatedInfo(He,E.createDiagnosticForNode(Ge,E.Diagnostics._0_is_declared_here,E.entityNameToString(N.tagName)))}if(ie&&ie.skipLogging){(ie.errors||(ie.errors=[])).push(He)}if(!ie.skipLogging){xi.add(He)}}return false}}function getSignatureApplicabilityError(N,R,j,$,q,G,ie){var ae={errors:undefined,skipLogging:true};if(E.isJsxOpeningLikeElement(N)){if(!checkApplicableSignatureForJsxOpeningLikeElement(N,j,$,q,G,ie,ae)){E.Debug.assert(!G||!!ae.errors,"jsx should have errors when reporting errors");return ae.errors||E.emptyArray}return undefined}var ce=getThisTypeOfSignature(j);if(ce&&ce!==ur&&N.kind!==207){var le=getThisArgumentOfCall(N);var _e=getThisArgumentType(le);var Ee=G?le||N:undefined;var Te=E.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!checkTypeRelatedTo(_e,ce,$,Ee,Te,ie,ae)){E.Debug.assert(!G||!!ae.errors,"this parameter should have errors when reporting errors");return ae.errors||E.emptyArray}}var we=E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1;var Ie=getNonArrayRestType(j);var Ne=Ie?Math.min(getParameterCount(j)-1,R.length):R.length;for(var Me=0;Me<Ne;Me++){var Le=R[Me];if(Le.kind!==225){var Be=getTypeAtPosition(j,Me);var je=checkExpressionWithContextualType(Le,Be,undefined,q);var Ue=q&4?getRegularTypeOfObjectLiteral(je):je;if(!checkTypeRelatedToAndOptionallyElaborate(Ue,Be,$,G?Le:undefined,Le,we,ie,ae)){E.Debug.assert(!G||!!ae.errors,"parameter should have errors when reporting errors");maybeAddMissingAwaitInfo(Le,Ue,Be);return ae.errors||E.emptyArray}}}if(Ie){var ze=getSpreadArgumentType(R,Ne,R.length,Ie,undefined,q);var We=R.length-Ne;var Ee=!G?undefined:We===0?N:We===1?R[Ne]:E.setTextRangePosEnd(createSyntheticExpression(N,ze),R[Ne].pos,R[R.length-1].end);if(!checkTypeRelatedTo(ze,Ie,$,Ee,we,undefined,ae)){E.Debug.assert(!G||!!ae.errors,"rest parameter should have errors when reporting errors");maybeAddMissingAwaitInfo(Ee,ze,Ie);return ae.errors||E.emptyArray}}return undefined;function maybeAddMissingAwaitInfo(N,R,j){if(N&&G&&ae.errors&&ae.errors.length){if(getAwaitedTypeOfPromise(j)){return}var q=getAwaitedTypeOfPromise(R);if(q&&isTypeRelatedTo(q,j,$)){E.addRelatedInfo(ae.errors[0],E.createDiagnosticForNode(N,E.Diagnostics.Did_you_forget_to_use_await))}}}}function getThisArgumentOfCall(N){var R=N.kind===206?N.expression:N.kind===208?N.tag:undefined;if(R){var j=E.skipOuterExpressions(R);if(E.isAccessExpression(j)){return j.expression}}}function createSyntheticExpression(N,R,j,$){var q=E.parseNodeFactory.createSyntheticExpression(R,j,$);E.setTextRange(q,N);E.setParent(q,N);return q}function getEffectiveCallArguments(N){if(N.kind===208){var R=N.template;var j=[createSyntheticExpression(R,getGlobalTemplateStringsArrayType())];if(R.kind===221){E.forEach(R.templateSpans,(function(E){j.push(E.expression)}))}return j}if(N.kind===163){return getEffectiveDecoratorArguments(N)}if(E.isJsxOpeningLikeElement(N)){return N.attributes.properties.length>0||E.isJsxOpeningElement(N)&&N.parent.children.length>0?[N.attributes]:E.emptyArray}var $=N.arguments||E.emptyArray;var q=getSpreadArgumentIndex($);if(q>=0){var G=$.slice(0,q);var _loop_23=function(N){var R=$[N];var j=R.kind===223&&(Jn?checkExpression(R.expression):checkExpressionCached(R.expression));if(j&&isTupleType(j)){E.forEach(getTypeArguments(j),(function(E,N){var $;var q=j.target.elementFlags[N];var ie=createSyntheticExpression(R,q&4?createArrayType(E):E,!!(q&12),($=j.target.labeledElementDeclarations)===null||$===void 0?void 0:$[N]);G.push(ie)}))}else{G.push(R)}};for(var ie=q;ie<$.length;ie++){_loop_23(ie)}return G}return $}function getEffectiveDecoratorArguments(N){var R=N.parent;var j=N.expression;switch(R.kind){case 255:case 224:return[createSyntheticExpression(j,getTypeOfSymbol(getSymbolOfNode(R)))];case 162:var $=R.parent;return[createSyntheticExpression(j,R.parent.kind===169?getTypeOfSymbol(getSymbolOfNode($)):Jt),createSyntheticExpression(j,zt),createSyntheticExpression(j,tr)];case 165:case 167:case 170:case 171:var q=R.kind!==165&&Ye!==0;return[createSyntheticExpression(j,getParentTypeOfClassElement(R)),createSyntheticExpression(j,getClassElementPropertyKeyType(R)),createSyntheticExpression(j,q?createTypedPropertyDescriptorType(getTypeOfNode(R)):zt)]}return E.Debug.fail()}function getDecoratorArgumentCount(N,R){switch(N.parent.kind){case 255:case 224:return 1;case 165:return 2;case 167:case 170:case 171:return Ye===0||R.parameters.length<=2?2:3;case 162:return 3;default:return E.Debug.fail()}}function getDiagnosticSpanForCallNode(N,R){var j;var $;var q=E.getSourceFileOfNode(N);if(E.isPropertyAccessExpression(N.expression)){var G=E.getErrorSpanForNode(q,N.expression.name);j=G.start;$=R?G.length:N.end-j}else{var ie=E.getErrorSpanForNode(q,N.expression);j=ie.start;$=R?ie.length:N.end-j}return{start:j,length:$,sourceFile:q}}function getDiagnosticForCallNode(N,R,j,$,q,G){if(E.isCallExpression(N)){var ie=getDiagnosticSpanForCallNode(N),ae=ie.sourceFile,ce=ie.start,le=ie.length;return E.createFileDiagnostic(ae,ce,le,R,j,$,q,G)}else{return E.createDiagnosticForNode(N,R,j,$,q,G)}}function isPromiseResolveArityError(N){if(!E.isCallExpression(N)||!E.isIdentifier(N.expression))return false;var R=resolveName(N.expression,N.expression.escapedText,111551,undefined,undefined,false);var j=R===null||R===void 0?void 0:R.valueDeclaration;if(!j||!E.isParameter(j)||!isFunctionExpressionOrArrowFunction(j.parent)||!E.isNewExpression(j.parent.parent)||!E.isIdentifier(j.parent.parent.expression)){return false}var $=getGlobalPromiseConstructorSymbol(false);if(!$)return false;var q=getSymbolAtLocation(j.parent.parent.expression,true);return q===$}function getArgumentArityError(N,R,j){var $;var q=getSpreadArgumentIndex(j);if(q>-1){return E.createDiagnosticForNode(j[q],E.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter)}var G=Number.POSITIVE_INFINITY;var ie=Number.NEGATIVE_INFINITY;var ae=Number.NEGATIVE_INFINITY;var ce=Number.POSITIVE_INFINITY;var le;for(var _e=0,Ee=R;_e<Ee.length;_e++){var Te=Ee[_e];var we=getMinArgumentCount(Te);var Ie=getParameterCount(Te);if(we<G){G=we;le=Te}ie=Math.max(ie,Ie);if(we<j.length&&we>ae)ae=we;if(j.length<Ie&&Ie<ce)ce=Ie}var Ne=E.some(R,hasEffectiveRestParameter);var Me=Ne?G:G<ie?G+"-"+ie:G;var Le=Ne?E.Diagnostics.Expected_at_least_0_arguments_but_got_1:Me===1&&j.length===0&&isPromiseResolveArityError(N)?E.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:E.Diagnostics.Expected_0_arguments_but_got_1;if(G<j.length&&j.length<ie){return getDiagnosticForCallNode(N,E.Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,j.length,ae,ce)}else if(j.length<G){var Be=getDiagnosticForCallNode(N,Le,Me,j.length);var je=($=le===null||le===void 0?void 0:le.declaration)===null||$===void 0?void 0:$.parameters[le.thisParameter?j.length+1:j.length];if(je){var Ue=E.createDiagnosticForNode(je,E.isBindingPattern(je.name)?E.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:E.isRestParameter(je)?E.Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided:E.Diagnostics.An_argument_for_0_was_not_provided,!je.name?j.length:!E.isBindingPattern(je.name)?E.idText(E.getFirstIdentifier(je.name)):undefined);return E.addRelatedInfo(Be,Ue)}return Be}else{var ze=E.factory.createNodeArray(j.slice(ie));var We=E.first(ze).pos;var Je=E.last(ze).end;if(Je===We){Je++}E.setTextRangePosEnd(ze,We,Je);return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),ze,Le,Me,j.length)}}function getTypeArgumentArityError(N,R,j){var $=j.length;if(R.length===1){var q=R[0];var G=getMinTypeArgumentCount(q.typeParameters);var ie=E.length(q.typeParameters);return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.Expected_0_type_arguments_but_got_1,G<ie?G+"-"+ie:G,$)}var ae=-Infinity;var ce=Infinity;for(var le=0,_e=R;le<_e.length;le++){var q=_e[le];var Ee=getMinTypeArgumentCount(q.typeParameters);var ie=E.length(q.typeParameters);if(Ee>$){ce=Math.min(ce,Ee)}else if(ie<$){ae=Math.max(ae,ie)}}if(ae!==-Infinity&&ce!==Infinity){return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,$,ae,ce)}return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.Expected_0_type_arguments_but_got_1,ae===-Infinity?ce:ae,$)}function resolveCall(N,R,$,q,G,ae){var ce=N.kind===208;var le=N.kind===163;var _e=E.isJsxOpeningLikeElement(N);var Ee=!$&&ie;var Te;if(!le){Te=N.typeArguments;if(ce||_e||N.expression.kind!==106){E.forEach(Te,checkSourceElement)}}var we=$||[];reorderCandidates(R,we,G);if(!we.length){if(Ee){xi.add(getDiagnosticForCallNode(N,E.Diagnostics.Call_target_does_not_contain_any_signatures))}return resolveErrorCall(N)}var Ie=getEffectiveCallArguments(N);var Ne=we.length===1&&!we[0].typeParameters;var Me=!le&&!Ne&&E.some(Ie,isContextSensitive)?4:0;var Le;var Be;var je;var Ue;var ze=!!(q&16)&&N.kind===206&&N.arguments.hasTrailingComma;if(we.length>1){Ue=chooseOverload(we,Ai,Ne,ze)}if(!Ue){Ue=chooseOverload(we,Pi,Ne,ze)}if(Ue){return Ue}if(Ee){if(Le){if(Le.length===1||Le.length>3){var We=Le[Le.length-1];var Je;if(Le.length>3){Je=E.chainDiagnosticMessages(Je,E.Diagnostics.The_last_overload_gave_the_following_error);Je=E.chainDiagnosticMessages(Je,E.Diagnostics.No_overload_matches_this_call)}var Ve=getSignatureApplicabilityError(N,Ie,We,Pi,0,true,(function(){return Je}));if(Ve){for(var qe=0,He=Ve;qe<He.length;qe++){var Ge=He[qe];if(We.declaration&&Le.length>3){E.addRelatedInfo(Ge,E.createDiagnosticForNode(We.declaration,E.Diagnostics.The_last_overload_is_declared_here))}addImplementationSuccessElaboration(We,Ge);xi.add(Ge)}}else{E.Debug.fail("No error for last overload signature")}}else{var Ke=[];var Qe=0;var Xe=Number.MAX_VALUE;var Ye=0;var Ze=0;var _loop_24=function(R){var chain_2=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Ze+1,we.length,signatureToString(R))};var j=getSignatureApplicabilityError(N,Ie,R,Pi,0,true,chain_2);if(j){if(j.length<=Xe){Xe=j.length;Ye=Ze}Qe=Math.max(Qe,j.length);Ke.push(j)}else{E.Debug.fail("No error for 3 or fewer overload signatures")}Ze++};for(var et=0,tt=Le;et<tt.length;et++){var rt=tt[et];_loop_24(rt)}var nt=Qe>1?Ke[Ye]:E.flatten(Ke);E.Debug.assert(nt.length>0,"No errors reported for 3 or fewer overload signatures");var it=E.chainDiagnosticMessages(E.map(nt,(function(E){return typeof E.messageText==="string"?E:E.messageText})),E.Diagnostics.No_overload_matches_this_call);var ot=j([],E.flatMap(nt,(function(E){return E.relatedInformation})),true);var st=void 0;if(E.every(nt,(function(E){return E.start===nt[0].start&&E.length===nt[0].length&&E.file===nt[0].file}))){var ct=nt[0],ut=ct.file,dt=ct.start,pt=ct.length;st={file:ut,start:dt,length:pt,code:it.code,category:it.category,messageText:it,relatedInformation:ot}}else{st=E.createDiagnosticForNodeFromMessageChain(N,it,ot)}addImplementationSuccessElaboration(Le[0],st);xi.add(st)}}else if(Be){xi.add(getArgumentArityError(N,[Be],Ie))}else if(je){checkTypeArguments(je,N.typeArguments,true,ae)}else{var ft=E.filter(R,(function(E){return hasCorrectTypeArgumentArity(E,Te)}));if(ft.length===0){xi.add(getTypeArgumentArityError(N,R,Te))}else if(!le){xi.add(getArgumentArityError(N,ft,Ie))}else if(ae){xi.add(getDiagnosticForCallNode(N,ae))}}}return getCandidateForOverloadFailure(N,we,Ie,!!$);function addImplementationSuccessElaboration(N,R){var j,$;var q=Le;var G=Be;var ie=je;var ae=(($=(j=N.declaration)===null||j===void 0?void 0:j.symbol)===null||$===void 0?void 0:$.declarations)||E.emptyArray;var ce=ae.length>1;var le=ce?E.find(ae,(function(N){return E.isFunctionLikeDeclaration(N)&&E.nodeIsPresent(N.body)})):undefined;if(le){var _e=getSignatureFromDeclaration(le);var Ee=!_e.typeParameters;if(chooseOverload([_e],Pi,Ee)){E.addRelatedInfo(R,E.createDiagnosticForNode(le,E.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}}Le=q;Be=G;je=ie}function chooseOverload(R,j,$,q){if(q===void 0){q=false}Le=undefined;Be=undefined;je=undefined;if($){var G=R[0];if(E.some(Te)||!hasCorrectArity(N,Ie,G,q)){return undefined}if(getSignatureApplicabilityError(N,Ie,G,j,0,false,undefined)){Le=[G];return undefined}return G}for(var ie=0;ie<R.length;ie++){var G=R[ie];if(!hasCorrectTypeArgumentArity(G,Te)||!hasCorrectArity(N,Ie,G,q)){continue}var ae=void 0;var ce=void 0;if(G.typeParameters){var le=void 0;if(E.some(Te)){le=checkTypeArguments(G,Te,false);if(!le){je=G;continue}}else{ce=createInferenceContext(G.typeParameters,G,E.isInJSFile(N)?2:0);le=inferTypeArguments(N,G,Ie,Me|8,ce);Me|=ce.flags&4?8:0}ae=getSignatureInstantiation(G,le,E.isInJSFile(G.declaration),ce&&ce.inferredTypeParameters);if(getNonArrayRestType(G)&&!hasCorrectArity(N,Ie,ae,q)){Be=ae;continue}}else{ae=G}if(getSignatureApplicabilityError(N,Ie,ae,j,Me,false,undefined)){(Le||(Le=[])).push(ae);continue}if(Me){Me=0;if(ce){var le=inferTypeArguments(N,G,Ie,Me,ce);ae=getSignatureInstantiation(G,le,E.isInJSFile(G.declaration),ce&&ce.inferredTypeParameters);if(getNonArrayRestType(G)&&!hasCorrectArity(N,Ie,ae,q)){Be=ae;continue}}if(getSignatureApplicabilityError(N,Ie,ae,j,Me,false,undefined)){(Le||(Le=[])).push(ae);continue}}R[ie]=ae;return ae}return undefined}}function getCandidateForOverloadFailure(N,R,j,$){E.Debug.assert(R.length>0);checkNodeDeferred(N);return $||R.length===1||R.some((function(E){return!!E.typeParameters}))?pickLongestCandidateSignature(N,R,j):createUnionOfSignaturesForOverloadFailure(R)}function createUnionOfSignaturesForOverloadFailure(N){var R=E.mapDefined(N,(function(E){return E.thisParameter}));var j;if(R.length){j=createCombinedSymbolFromTypes(R,R.map(getTypeOfParameter))}var $=E.minAndMax(N,getNumNonRestParameters),q=$.min,G=$.max;var ie=[];var _loop_25=function(R){var j=E.mapDefined(N,(function(N){return signatureHasRestParameter(N)?R<N.parameters.length-1?N.parameters[R]:E.last(N.parameters):R<N.parameters.length?N.parameters[R]:undefined}));E.Debug.assert(j.length!==0);ie.push(createCombinedSymbolFromTypes(j,E.mapDefined(N,(function(E){return tryGetTypeAtPosition(E,R)}))))};for(var ae=0;ae<G;ae++){_loop_25(ae)}var ce=E.mapDefined(N,(function(N){return signatureHasRestParameter(N)?E.last(N.parameters):undefined}));var le=0;if(ce.length!==0){var _e=createArrayType(getUnionType(E.mapDefined(N,tryGetRestTypeOfSignature),2));ie.push(createCombinedSymbolForOverloadFailure(ce,_e));le|=1}if(N.some(signatureHasLiteralTypes)){le|=2}return createSignature(N[0].declaration,undefined,j,ie,getIntersectionType(N.map(getReturnTypeOfSignature)),undefined,q,le)}function getNumNonRestParameters(E){var N=E.parameters.length;return signatureHasRestParameter(E)?N-1:N}function createCombinedSymbolFromTypes(E,N){return createCombinedSymbolForOverloadFailure(E,getUnionType(N,2))}function createCombinedSymbolForOverloadFailure(N,R){return createSymbolWithType(E.first(N),R)}function pickLongestCandidateSignature(N,R,j){var $=getLongestCandidateIndex(R,Et===undefined?j.length:Et);var q=R[$];var G=q.typeParameters;if(!G){return q}var ie=callLikeExpressionMayHaveTypeArguments(N)?N.typeArguments:undefined;var ae=ie?createSignatureInstantiation(q,getTypeArgumentsFromNodes(ie,G,E.isInJSFile(N))):inferSignatureInstantiationForOverloadFailure(N,G,q,j);R[$]=ae;return ae}function getTypeArgumentsFromNodes(E,N,R){var j=E.map(getTypeOfNode);while(j.length>N.length){j.pop()}while(j.length<N.length){j.push(getConstraintOfTypeParameter(N[j.length])||getDefaultTypeArgumentType(R))}return j}function inferSignatureInstantiationForOverloadFailure(N,R,j,$){var q=createInferenceContext(R,j,E.isInJSFile(N)?2:0);var G=inferTypeArguments(N,j,$,4|8,q);return createSignatureInstantiation(j,G)}function getLongestCandidateIndex(E,N){var R=-1;var j=-1;for(var $=0;$<E.length;$++){var q=E[$];var G=getParameterCount(q);if(hasEffectiveRestParameter(q)||G>=N){return $}if(G>j){j=G;R=$}}return R}function resolveCallExpression(N,R,j){if(N.expression.kind===106){var $=checkSuperExpression(N.expression);if(isTypeAny($)){for(var q=0,G=N.arguments;q<G.length;q++){var ie=G[q];checkExpression(ie)}return Lr}if($!==Jt){var ae=E.getEffectiveBaseTypeNode(E.getContainingClass(N));if(ae){var ce=getInstantiatedConstructorsForTypeArguments($,ae.typeArguments,ae);return resolveCall(N,ce,R,j,0)}}return resolveUntypedCall(N)}var le;var _e=checkExpression(N.expression);if(E.isCallChain(N)){var Ee=getOptionalExpressionType(_e,N.expression);le=Ee===_e?0:E.isOutermostOptionalChain(N)?16:8;_e=Ee}else{le=0}_e=checkNonNullTypeWithReporter(_e,N.expression,reportCannotInvokePossiblyNullOrUndefinedError);if(_e===pr){return Ur}var Te=getApparentType(_e);if(Te===Jt){return resolveErrorCall(N)}var we=getSignaturesOfType(Te,0);var Ie=getSignaturesOfType(Te,1).length;if(isUntypedFunctionCall(_e,Te,we.length,Ie)){if(_e!==Jt&&N.typeArguments){error(N,E.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments)}return resolveUntypedCall(N)}if(!we.length){if(Ie){error(N,E.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,typeToString(_e))}else{var Ne=void 0;if(N.arguments.length===1){var Me=E.getSourceFileOfNode(N).text;if(E.isLineBreak(Me.charCodeAt(E.skipTrivia(Me,N.expression.end,true)-1))){Ne=E.createDiagnosticForNode(N.expression,E.Diagnostics.Are_you_missing_a_semicolon)}}invocationError(N.expression,Te,0,Ne)}return resolveErrorCall(N)}if(j&8&&!N.typeArguments&&we.some(isGenericFunctionReturningFunction)){skippedGenericFunction(N,j);return jr}if(we.some((function(N){return E.isInJSFile(N.declaration)&&!!E.getJSDocClassTag(N.declaration)}))){error(N,E.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,typeToString(_e));return resolveErrorCall(N)}return resolveCall(N,we,R,j,le)}function isGenericFunctionReturningFunction(E){return!!(E.typeParameters&&isFunctionType(getReturnTypeOfSignature(E)))}function isUntypedFunctionCall(E,N,R,j){return isTypeAny(E)||isTypeAny(N)&&!!(E.flags&262144)||!R&&!j&&!(N.flags&1048576)&&!(getReducedType(N).flags&131072)&&isTypeAssignableTo(E,rn)}function resolveNewExpression(N,R,j){if(N.arguments&&Ye<1){var $=getSpreadArgumentIndex(N.arguments);if($>=0){error(N.arguments[$],E.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}}var q=checkNonNullExpression(N.expression);if(q===pr){return Ur}q=getApparentType(q);if(q===Jt){return resolveErrorCall(N)}if(isTypeAny(q)){if(N.typeArguments){error(N,E.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments)}return resolveUntypedCall(N)}var G=getSignaturesOfType(q,1);if(G.length){if(!isConstructorAccessible(N,G[0])){return resolveErrorCall(N)}if(G.some((function(E){return E.flags&4}))){error(N,E.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(N)}var ie=q.symbol&&E.getClassLikeDeclarationOfSymbol(q.symbol);if(ie&&E.hasSyntacticModifier(ie,128)){error(N,E.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0)}var ae=getSignaturesOfType(q,0);if(ae.length){var ce=resolveCall(N,ae,R,j,0);if(!st){if(ce.declaration&&!isJSConstructor(ce.declaration)&&getReturnTypeOfSignature(ce)!==ur){error(N,E.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword)}if(getThisTypeOfSignature(ce)===ur){error(N,E.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)}}return ce}invocationError(N.expression,q,1);return resolveErrorCall(N)}function typeHasProtectedAccessibleBase(N,R){var j=getBaseTypes(R);if(!E.length(j)){return false}var $=j[0];if($.flags&2097152){var q=$.types;var G=findMixins(q);var ie=0;for(var ae=0,ce=$.types;ae<ce.length;ae++){var le=ce[ae];if(!G[ie]){if(E.getObjectFlags(le)&(1|2)){if(le.symbol===N){return true}if(typeHasProtectedAccessibleBase(N,le)){return true}}}ie++}return false}if($.symbol===N){return true}return typeHasProtectedAccessibleBase(N,$)}function isConstructorAccessible(N,R){if(!R||!R.declaration){return true}var j=R.declaration;var $=E.getSelectedEffectiveModifierFlags(j,24);if(!$||j.kind!==169){return true}var q=E.getClassLikeDeclarationOfSymbol(j.parent.symbol);var G=getDeclaredTypeOfSymbol(j.parent.symbol);if(!isNodeWithinClass(N,q)){var ie=E.getContainingClass(N);if(ie&&$&16){var ae=getTypeOfNode(ie);if(typeHasProtectedAccessibleBase(j.parent.symbol,ae)){return true}}if($&8){error(N,E.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,typeToString(G))}if($&16){error(N,E.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,typeToString(G))}return false}return true}function invocationErrorDetails(N,R,j){var $;var q=j===0;var G=getAwaitedType(R);var ie=G&&getSignaturesOfType(G,j).length>0;if(R.flags&1048576){var ae=R.types;var ce=false;for(var le=0,_e=ae;le<_e.length;le++){var Ee=_e[le];var Te=getSignaturesOfType(Ee,j);if(Te.length!==0){ce=true;if($){break}}else{if(!$){$=E.chainDiagnosticMessages($,q?E.Diagnostics.Type_0_has_no_call_signatures:E.Diagnostics.Type_0_has_no_construct_signatures,typeToString(Ee));$=E.chainDiagnosticMessages($,q?E.Diagnostics.Not_all_constituents_of_type_0_are_callable:E.Diagnostics.Not_all_constituents_of_type_0_are_constructable,typeToString(R))}if(ce){break}}}if(!ce){$=E.chainDiagnosticMessages(undefined,q?E.Diagnostics.No_constituent_of_type_0_is_callable:E.Diagnostics.No_constituent_of_type_0_is_constructable,typeToString(R))}if(!$){$=E.chainDiagnosticMessages($,q?E.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:E.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,typeToString(R))}}else{$=E.chainDiagnosticMessages($,q?E.Diagnostics.Type_0_has_no_call_signatures:E.Diagnostics.Type_0_has_no_construct_signatures,typeToString(R))}var we=q?E.Diagnostics.This_expression_is_not_callable:E.Diagnostics.This_expression_is_not_constructable;if(E.isCallExpression(N.parent)&&N.parent.arguments.length===0){var Ie=getNodeLinks(N).resolvedSymbol;if(Ie&&Ie.flags&32768){we=E.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without}}return{messageChain:E.chainDiagnosticMessages($,we),relatedMessage:ie?E.Diagnostics.Did_you_forget_to_use_await:undefined}}function invocationError(N,R,j,$){var q=invocationErrorDetails(N,R,j),G=q.messageChain,ie=q.relatedMessage;var ae=E.createDiagnosticForNodeFromMessageChain(N,G);if(ie){E.addRelatedInfo(ae,E.createDiagnosticForNode(N,ie))}if(E.isCallExpression(N.parent)){var ce=getDiagnosticSpanForCallNode(N.parent,true),le=ce.start,_e=ce.length;ae.start=le;ae.length=_e}xi.add(ae);invocationErrorRecovery(R,j,$?E.addRelatedInfo(ae,$):ae)}function invocationErrorRecovery(N,R,j){if(!N.symbol){return}var $=getSymbolLinks(N.symbol).originatingImport;if($&&!E.isImportCall($)){var q=getSignaturesOfType(getTypeOfSymbol(getSymbolLinks(N.symbol).target),R);if(!q||!q.length)return;E.addRelatedInfo(j,E.createDiagnosticForNode($,E.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}function resolveTaggedTemplateExpression(N,R,j){var $=checkExpression(N.tag);var q=getApparentType($);if(q===Jt){return resolveErrorCall(N)}var G=getSignaturesOfType(q,0);var ie=getSignaturesOfType(q,1).length;if(isUntypedFunctionCall($,q,G.length,ie)){return resolveUntypedCall(N)}if(!G.length){if(E.isArrayLiteralExpression(N.parent)){var ae=E.createDiagnosticForNode(N.tag,E.Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);xi.add(ae);return resolveErrorCall(N)}invocationError(N.tag,q,0);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0)}function getDiagnosticHeadMessageForDecoratorResolution(N){switch(N.parent.kind){case 255:case 224:return E.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 162:return E.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 165:return E.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 167:case 170:case 171:return E.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return E.Debug.fail()}}function resolveDecorator(N,R,j){var $=checkExpression(N.expression);var q=getApparentType($);if(q===Jt){return resolveErrorCall(N)}var G=getSignaturesOfType(q,0);var ie=getSignaturesOfType(q,1).length;if(isUntypedFunctionCall($,q,G.length,ie)){return resolveUntypedCall(N)}if(isPotentiallyUncalledDecorator(N,G)){var ae=E.getTextOfNode(N.expression,false);error(N,E.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,ae);return resolveErrorCall(N)}var ce=getDiagnosticHeadMessageForDecoratorResolution(N);if(!G.length){var le=invocationErrorDetails(N.expression,q,0);var _e=E.chainDiagnosticMessages(le.messageChain,ce);var Ee=E.createDiagnosticForNodeFromMessageChain(N.expression,_e);if(le.relatedMessage){E.addRelatedInfo(Ee,E.createDiagnosticForNode(N.expression,le.relatedMessage))}xi.add(Ee);invocationErrorRecovery(q,0,Ee);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0,ce)}function createSignatureForJSXIntrinsic(N,R){var j=getJsxNamespaceAt(N);var $=j&&getExportsOfSymbol(j);var q=$&&getSymbol($,Qe.Element,788968);var G=q&&_t.symbolToEntityName(q,788968,N);var ie=E.factory.createFunctionTypeNode(undefined,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"props",undefined,_t.typeToTypeNode(R,N))],G?E.factory.createTypeReferenceNode(G,undefined):E.factory.createKeywordTypeNode(129));var ae=createSymbol(1,"props");ae.type=R;return createSignature(ie,undefined,undefined,[ae],q?getDeclaredTypeOfSymbol(q):Jt,undefined,1,0)}function resolveJsxOpeningLikeElement(N,R,j){if(isJsxIntrinsicIdentifier(N.tagName)){var $=getIntrinsicAttributesTypeFromJsxOpeningLikeElement(N);var q=createSignatureForJSXIntrinsic(N,$);checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType(N.attributes,getEffectiveFirstArgumentForJsxSignature(q,N),undefined,0),$,N.tagName,N.attributes);if(E.length(N.typeArguments)){E.forEach(N.typeArguments,checkSourceElement);xi.add(E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),N.typeArguments,E.Diagnostics.Expected_0_type_arguments_but_got_1,0,E.length(N.typeArguments)))}return q}var G=checkExpression(N.tagName);var ie=getApparentType(G);if(ie===Jt){return resolveErrorCall(N)}var ae=getUninstantiatedJsxSignaturesOfType(G,N);if(isUntypedFunctionCall(G,ie,ae.length,0)){return resolveUntypedCall(N)}if(ae.length===0){error(N.tagName,E.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,E.getTextOfNode(N.tagName));return resolveErrorCall(N)}return resolveCall(N,ae,R,j,0)}function isPotentiallyUncalledDecorator(N,R){return R.length&&E.every(R,(function(E){return E.minArgumentCount===0&&!signatureHasRestParameter(E)&&E.parameters.length<getDecoratorArgumentCount(N,E)}))}function resolveSignature(N,R,j){switch(N.kind){case 206:return resolveCallExpression(N,R,j);case 207:return resolveNewExpression(N,R,j);case 208:return resolveTaggedTemplateExpression(N,R,j);case 163:return resolveDecorator(N,R,j);case 278:case 277:return resolveJsxOpeningLikeElement(N,R,j)}throw E.Debug.assertNever(N,"Branch in 'resolveSignature' should be unreachable.")}function getResolvedSignature(E,N,R){var j=getNodeLinks(E);var $=j.resolvedSignature;if($&&$!==jr&&!N){return $}j.resolvedSignature=jr;var q=resolveSignature(E,N,R||0);if(q!==jr){j.resolvedSignature=$n===Jn?q:$}return q}function isJSConstructor(N){var R;if(!N||!E.isInJSFile(N)){return false}var j=E.isFunctionDeclaration(N)||E.isFunctionExpression(N)?N:E.isVariableDeclaration(N)&&N.initializer&&E.isFunctionExpression(N.initializer)?N.initializer:undefined;if(j){if(E.getJSDocClassTag(N))return true;var $=getSymbolOfNode(j);return!!((R=$===null||$===void 0?void 0:$.members)===null||R===void 0?void 0:R.size)}return false}function mergeJSSymbols(N,R){var j,$;if(R){var q=getSymbolLinks(R);if(!q.inferredClassSymbol||!q.inferredClassSymbol.has(getSymbolId(N))){var G=E.isTransientSymbol(N)?N:cloneSymbol(N);G.exports=G.exports||E.createSymbolTable();G.members=G.members||E.createSymbolTable();G.flags|=R.flags&32;if((j=R.exports)===null||j===void 0?void 0:j.size){mergeSymbolTable(G.exports,R.exports)}if(($=R.members)===null||$===void 0?void 0:$.size){mergeSymbolTable(G.members,R.members)}(q.inferredClassSymbol||(q.inferredClassSymbol=new E.Map)).set(getSymbolId(G),G);return G}return q.inferredClassSymbol.get(getSymbolId(N))}}function getAssignedClassSymbol(E){var N;var R=E&&getSymbolOfExpando(E,true);var j=(N=R===null||R===void 0?void 0:R.exports)===null||N===void 0?void 0:N.get("prototype");var $=(j===null||j===void 0?void 0:j.valueDeclaration)&&getAssignedJSPrototype(j.valueDeclaration);return $?getSymbolOfNode($):undefined}function getSymbolOfExpando(N,R){if(!N.parent){return undefined}var j;var $;if(E.isVariableDeclaration(N.parent)&&N.parent.initializer===N){if(!E.isInJSFile(N)&&!(E.isVarConst(N.parent)&&E.isFunctionLikeDeclaration(N))){return undefined}j=N.parent.name;$=N.parent}else if(E.isBinaryExpression(N.parent)){var q=N.parent;var G=N.parent.operatorToken.kind;if(G===63&&(R||q.right===N)){j=q.left;$=j}else if(G===56||G===60){if(E.isVariableDeclaration(q.parent)&&q.parent.initializer===q){j=q.parent.name;$=q.parent}else if(E.isBinaryExpression(q.parent)&&q.parent.operatorToken.kind===63&&(R||q.parent.right===q)){j=q.parent.left;$=j}if(!j||!E.isBindableStaticNameExpression(j)||!E.isSameEntityName(j,q.left)){return undefined}}}else if(R&&E.isFunctionDeclaration(N)){j=N.name;$=N}if(!$||!j||!R&&!E.getExpandoInitializer(N,E.isPrototypeAccess(j))){return undefined}return getSymbolOfNode($)}function getAssignedJSPrototype(N){if(!N.parent){return false}var R=N.parent;while(R&&R.kind===204){R=R.parent}if(R&&E.isBinaryExpression(R)&&E.isPrototypeAccess(R.left)&&R.operatorToken.kind===63){var j=E.getInitializerOfBinaryExpression(R);return E.isObjectLiteralExpression(j)&&j}}function checkCallExpression(N,R){var j;if(!checkGrammarTypeArguments(N,N.typeArguments))checkGrammarArguments(N.arguments);var $=getResolvedSignature(N,undefined,R);if($===jr){return fr}checkDeprecatedSignature($,N);if(N.expression.kind===106){return ur}if(N.kind===207){var q=$.declaration;if(q&&q.kind!==169&&q.kind!==173&&q.kind!==178&&!E.isJSDocConstructSignature(q)&&!isJSConstructor(q)){if(st){error(N,E.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type)}return zt}}if(E.isInJSFile(N)&&isCommonJsRequire(N)){return resolveExternalModuleTypeByLiteral(N.arguments[0])}var G=getReturnTypeOfSignature($);if(G.flags&12288&&isSymbolOrSymbolForCall(N)){return getESSymbolLikeTypeForNode(E.walkUpParenthesizedExpressions(N.parent))}if(N.kind===206&&!N.questionDotToken&&N.parent.kind===236&&G.flags&16384&&getTypePredicateOfSignature($)){if(!E.isDottedName(N.expression)){error(N.expression,E.Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name)}else if(!getEffectsSignature(N)){var ie=error(N.expression,E.Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);getTypeOfDottedName(N.expression,ie)}}if(E.isInJSFile(N)){var ae=getSymbolOfExpando(N,false);if((j=ae===null||ae===void 0?void 0:ae.exports)===null||j===void 0?void 0:j.size){var ce=createAnonymousType(ae,ae.exports,E.emptyArray,E.emptyArray,E.emptyArray);ce.objectFlags|=8192;return getIntersectionType([G,ce])}}return G}function checkDeprecatedSignature(N,R){if(N.declaration&&N.declaration.flags&134217728){var j=getDeprecatedSuggestionNode(R);var $=E.tryGetPropertyAccessOrIdentifierToString(E.getInvokedExpression(R));addDeprecatedSuggestionWithSignature(j,N.declaration,$,signatureToString(N))}}function getDeprecatedSuggestionNode(N){N=E.skipParentheses(N);switch(N.kind){case 206:case 163:case 207:return getDeprecatedSuggestionNode(N.expression);case 208:return getDeprecatedSuggestionNode(N.tag);case 278:case 277:return getDeprecatedSuggestionNode(N.tagName);case 205:return N.argumentExpression;case 204:return N.name;case 176:var R=N;return E.isQualifiedName(R.typeName)?R.typeName.right:R;default:return N}}function isSymbolOrSymbolForCall(N){if(!E.isCallExpression(N))return false;var R=N.expression;if(E.isPropertyAccessExpression(R)&&R.name.escapedText==="for"){R=R.expression}if(!E.isIdentifier(R)||R.escapedText!=="Symbol"){return false}var j=getGlobalESSymbolConstructorSymbol(false);if(!j){return false}return j===resolveName(R,"Symbol",111551,undefined,undefined,false)}function checkImportCallExpression(N){if(!checkGrammarArguments(N.arguments))checkGrammarImportCallExpression(N);if(N.arguments.length===0){return createPromiseReturnType(N,zt)}var R=N.arguments[0];var j=checkExpressionCached(R);for(var $=1;$<N.arguments.length;++$){checkExpressionCached(N.arguments[$])}if(j.flags&32768||j.flags&65536||!isTypeAssignableTo(j,er)){error(R,E.Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,typeToString(j))}var q=resolveExternalModuleName(N,R);if(q){var G=resolveESModuleSymbol(q,R,true,false);if(G){return createPromiseReturnType(N,getTypeWithSyntheticDefaultImportType(getTypeOfSymbol(G),G,q))}}return createPromiseReturnType(N,zt)}function getTypeWithSyntheticDefaultImportType(N,R,j){var $;if(tt&&N&&N!==Jt){var q=N;if(!q.syntheticType){var G=($=j.declarations)===null||$===void 0?void 0:$.find(E.isSourceFile);var ie=canHaveSyntheticDefault(G,j,false);if(ie){var ae=E.createSymbolTable();var ce=createSymbol(2097152,"default");ce.parent=j;ce.nameType=getStringLiteralType("default");ce.target=resolveSymbol(R);ae.set("default",ce);var le=createSymbol(2048,"__type");var _e=createAnonymousType(le,ae,E.emptyArray,E.emptyArray,E.emptyArray);le.type=_e;q.syntheticType=isValidSpreadType(N)?getSpreadType(N,_e,le,0,false):_e}else{q.syntheticType=N}}return q.syntheticType}return N}function isCommonJsRequire(N){if(!E.isRequireCall(N,true)){return false}if(!E.isIdentifier(N.expression))return E.Debug.fail();var R=resolveName(N.expression,N.expression.escapedText,111551,undefined,undefined,true);if(R===St){return true}if(R.flags&2097152){return false}var j=R.flags&16?254:R.flags&3?252:0;if(j!==0){var $=E.getDeclarationOfKind(R,j);return!!$&&!!($.flags&8388608)}return false}function checkTaggedTemplateExpression(E){if(!checkGrammarTaggedTemplateChain(E))checkGrammarTypeArguments(E,E.typeArguments);if(Ye<2){checkExternalEmitHelpers(E,262144)}var N=getResolvedSignature(E);checkDeprecatedSignature(N,E);return getReturnTypeOfSignature(N)}function checkAssertion(E){return checkAssertionWorker(E,E.type,E.expression)}function isValidConstAssertionArgument(N){switch(N.kind){case 10:case 14:case 8:case 9:case 110:case 95:case 202:case 203:case 221:return true;case 210:return isValidConstAssertionArgument(N.expression);case 217:var R=N.operator;var j=N.operand;return R===40&&(j.kind===8||j.kind===9)||R===39&&j.kind===8;case 204:case 205:var $=N.expression;if(E.isIdentifier($)){var q=getSymbolAtLocation($);if(q&&q.flags&2097152){q=resolveAlias(q)}return!!(q&&q.flags&384&&getEnumKind(q)===1)}}return false}function checkAssertionWorker(N,R,j,$){var q=checkExpression(j,$);if(E.isConstTypeReference(R)){if(!isValidConstAssertionArgument(j)){error(j,E.Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals)}return getRegularTypeOfLiteralType(q)}checkSourceElement(R);q=getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(q));var G=getTypeFromTypeNode(R);if(ie&&G!==Jt){var ae=getWidenedType(q);if(!isTypeComparableTo(G,ae)){checkTypeComparableTo(q,G,N,E.Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first)}}return G}function checkNonNullChain(E){var N=checkExpression(E.expression);var R=getOptionalExpressionType(N,E.expression);return propagateOptionalTypeMarker(getNonNullableType(R),E,R!==N)}function checkNonNullAssertion(E){return E.flags&32?checkNonNullChain(E):getNonNullableType(checkExpression(E.expression))}function checkMetaProperty(N){checkGrammarMetaProperty(N);if(N.keywordToken===103){return checkNewTargetMetaProperty(N)}if(N.keywordToken===100){return checkImportMetaProperty(N)}return E.Debug.assertNever(N.keywordToken)}function checkMetaPropertyKeyword(N){switch(N.keywordToken){case 100:return getGlobalImportMetaExpressionType();case 103:var R=checkNewTargetMetaProperty(N);return R===Jt?Jt:createNewTargetExpressionType(R);default:E.Debug.assertNever(N.keywordToken)}}function checkNewTargetMetaProperty(N){var R=E.getNewTargetContainer(N);if(!R){error(N,E.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target");return Jt}else if(R.kind===169){var j=getSymbolOfNode(R.parent);return getTypeOfSymbol(j)}else{var j=getSymbolOfNode(R);return getTypeOfSymbol(j)}}function checkImportMetaProperty(N){if(Ze!==E.ModuleKind.ES2020&&Ze!==E.ModuleKind.ESNext&&Ze!==E.ModuleKind.System){error(N,E.Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system)}var R=E.getSourceFileOfNode(N);E.Debug.assert(!!(R.flags&2097152),"Containing file is missing import meta node flag.");return N.name.escapedText==="meta"?getGlobalImportMetaType():Jt}function getTypeOfParameter(N){var R=getTypeOfSymbol(N);if(rt){var j=N.valueDeclaration;if(j&&E.hasInitializer(j)){return getOptionalType(R)}}return R}function getTupleElementLabel(N){E.Debug.assert(E.isIdentifier(N.name));return N.name.escapedText}function getParameterNameAtPosition(E,N,R){var j=E.parameters.length-(signatureHasRestParameter(E)?1:0);if(N<j){return E.parameters[N].escapedName}var $=E.parameters[j]||jt;var q=R||getTypeOfSymbol($);if(isTupleType(q)){var G=q.target.labeledElementDeclarations;var ie=N-j;return G&&getTupleElementLabel(G[ie])||$.escapedName+"_"+ie}return $.escapedName}function getParameterIdentifierNameAtPosition(E,N){var R=E.parameters.length-(signatureHasRestParameter(E)?1:0);if(N<R){var j=E.parameters[N];return isParameterDeclarationWithIdentifierName(j)?[j.escapedName,false]:undefined}var $=E.parameters[R]||jt;if(!isParameterDeclarationWithIdentifierName($)){return undefined}var q=getTypeOfSymbol($);if(isTupleType(q)){var G=q.target.labeledElementDeclarations;var ie=N-R;var ae=G===null||G===void 0?void 0:G[ie];var ce=!!(ae===null||ae===void 0?void 0:ae.dotDotDotToken);return ae?[getTupleElementLabel(ae),ce]:undefined}if(N===R){return[$.escapedName,true]}return undefined}function isParameterDeclarationWithIdentifierName(N){return N.valueDeclaration&&E.isParameter(N.valueDeclaration)&&E.isIdentifier(N.valueDeclaration.name)}function isValidDeclarationForTupleLabel(N){return N.kind===195||E.isParameter(N)&&N.name&&E.isIdentifier(N.name)}function getNameableDeclarationAtPosition(E,N){var R=E.parameters.length-(signatureHasRestParameter(E)?1:0);if(N<R){var j=E.parameters[N].valueDeclaration;return j&&isValidDeclarationForTupleLabel(j)?j:undefined}var $=E.parameters[R]||jt;var q=getTypeOfSymbol($);if(isTupleType(q)){var G=q.target.labeledElementDeclarations;var ie=N-R;return G&&G[ie]}return $.valueDeclaration&&isValidDeclarationForTupleLabel($.valueDeclaration)?$.valueDeclaration:undefined}function getTypeAtPosition(E,N){return tryGetTypeAtPosition(E,N)||zt}function tryGetTypeAtPosition(E,N){var R=E.parameters.length-(signatureHasRestParameter(E)?1:0);if(N<R){return getTypeOfParameter(E.parameters[N])}if(signatureHasRestParameter(E)){var j=getTypeOfSymbol(E.parameters[R]);var $=N-R;if(!isTupleType(j)||j.target.hasRestElement||$<j.target.fixedLength){return getIndexedAccessType(j,getNumberLiteralType($))}}return undefined}function getRestTypeAtPosition(N,R){var j=getParameterCount(N);var $=getMinArgumentCount(N);var q=getEffectiveRestType(N);if(q&&R>=j-1){return R===j-1?q:createArrayType(getIndexedAccessType(q,tr))}var G=[];var ie=[];var ae=[];for(var ce=R;ce<j;ce++){if(!q||ce<j-1){G.push(getTypeAtPosition(N,ce));ie.push(ce<$?1:2)}else{G.push(q);ie.push(8)}var le=getNameableDeclarationAtPosition(N,ce);if(le){ae.push(le)}}return createTupleType(G,ie,false,E.length(ae)===E.length(G)?ae:undefined)}function getParameterCount(E){var N=E.parameters.length;if(signatureHasRestParameter(E)){var R=getTypeOfSymbol(E.parameters[N-1]);if(isTupleType(R)){return N+R.target.fixedLength-(R.target.hasRestElement?0:1)}}return N}function getMinArgumentCount(N,R){var j=R&1;var $=R&2;if($||N.resolvedMinArgumentCount===undefined){var q=void 0;if(signatureHasRestParameter(N)){var G=getTypeOfSymbol(N.parameters[N.parameters.length-1]);if(isTupleType(G)){var ie=E.findIndex(G.target.elementFlags,(function(E){return!(E&1)}));var ae=ie<0?G.target.fixedLength:ie;if(ae>0){q=N.parameters.length-1+ae}}}if(q===undefined){if(!j&&N.flags&32){return 0}q=N.minArgumentCount}if($){return q}for(var ce=q-1;ce>=0;ce--){var le=getTypeAtPosition(N,ce);if(filterType(le,acceptsVoid).flags&131072){break}q=ce}N.resolvedMinArgumentCount=q}return N.resolvedMinArgumentCount}function hasEffectiveRestParameter(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);return!isTupleType(N)||N.target.hasRestElement}return false}function getEffectiveRestType(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);if(!isTupleType(N)){return N}if(N.target.hasRestElement){return sliceTupleType(N,N.target.fixedLength)}}return undefined}function getNonArrayRestType(E){var N=getEffectiveRestType(E);return N&&!isArrayType(N)&&!isTypeAny(N)&&(getReducedType(N).flags&131072)===0?N:undefined}function getTypeOfFirstParameterOfSignature(E){return getTypeOfFirstParameterOfSignatureWithFallback(E,dr)}function getTypeOfFirstParameterOfSignatureWithFallback(E,N){return E.parameters.length>0?getTypeAtPosition(E,0):N}function inferFromAnnotatedParameters(N,R,j){var $=N.parameters.length-(signatureHasRestParameter(N)?1:0);for(var q=0;q<$;q++){var G=N.parameters[q].valueDeclaration;if(G.type){var ie=E.getEffectiveTypeAnnotationNode(G);if(ie){inferTypes(j.inferences,getTypeFromTypeNode(ie),getTypeAtPosition(R,q))}}}var ae=getEffectiveRestType(R);if(ae&&ae.flags&262144){var ce=instantiateSignature(R,j.nonFixingMapper);assignContextualParameterTypes(N,ce);var le=getParameterCount(R)-1;inferTypes(j.inferences,getRestTypeAtPosition(N,le),ae)}}function assignContextualParameterTypes(N,R){if(R.typeParameters){if(!N.typeParameters){N.typeParameters=R.typeParameters}else{return}}if(R.thisParameter){var j=N.thisParameter;if(!j||j.valueDeclaration&&!j.valueDeclaration.type){if(!j){N.thisParameter=createSymbolWithType(R.thisParameter,undefined)}assignParameterType(N.thisParameter,getTypeOfSymbol(R.thisParameter))}}var $=N.parameters.length-(signatureHasRestParameter(N)?1:0);for(var q=0;q<$;q++){var j=N.parameters[q];if(!E.getEffectiveTypeAnnotationNode(j.valueDeclaration)){var G=tryGetTypeAtPosition(R,q);assignParameterType(j,G)}}if(signatureHasRestParameter(N)){var j=E.last(N.parameters);if(E.isTransientSymbol(j)||!E.getEffectiveTypeAnnotationNode(j.valueDeclaration)){var G=getRestTypeAtPosition(R,$);assignParameterType(j,G)}}}function assignNonContextualParameterTypes(E){if(E.thisParameter){assignParameterType(E.thisParameter)}for(var N=0,R=E.parameters;N<R.length;N++){var j=R[N];assignParameterType(j)}}function assignParameterType(E,N){var R=getSymbolLinks(E);if(!R.type){var j=E.valueDeclaration;R.type=N||getWidenedTypeForVariableLikeDeclaration(j,true);if(j.name.kind!==79){if(R.type===Ht){R.type=getTypeFromBindingPattern(j.name)}assignBindingElementTypes(j.name)}}}function assignBindingElementTypes(N){for(var R=0,j=N.elements;R<j.length;R++){var $=j[R];if(!E.isOmittedExpression($)){if($.name.kind===79){getSymbolLinks(getSymbolOfNode($)).type=getTypeForBindingElement($)}else{assignBindingElementTypes($.name)}}}}function createPromiseType(E){var N=getGlobalPromiseType(true);if(N!==Ar){E=getAwaitedType(E)||Ht;return createTypeReference(N,[E])}return Ht}function createPromiseLikeType(E){var N=getGlobalPromiseLikeType(true);if(N!==Ar){E=getAwaitedType(E)||Ht;return createTypeReference(N,[E])}return Ht}function createPromiseReturnType(N,R){var j=createPromiseType(R);if(j===Ht){error(N,E.isImportCall(N)?E.Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:E.Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option);return Jt}else if(!getGlobalPromiseConstructorSymbol(true)){error(N,E.isImportCall(N)?E.Diagnostics.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:E.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option)}return j}function createNewTargetExpressionType(N){var R=createSymbol(0,"NewTargetExpression");var j=createSymbol(4,"target",8);j.parent=R;j.type=N;var $=E.createSymbolTable([j]);R.members=$;return createAnonymousType(R,$,E.emptyArray,E.emptyArray,E.emptyArray)}function getReturnTypeFromBody(N,R){if(!N.body){return Jt}var j=E.getFunctionFlags(N);var $=(j&2)!==0;var q=(j&1)!==0;var G;var ie;var ae;var ce=ur;if(N.body.kind!==233){G=checkExpressionCached(N.body,R&&R&~8);if($){G=checkAwaitedType(G,N,E.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}}else if(q){var le=checkAndAggregateReturnExpressionTypes(N,R);if(!le){ce=dr}else if(le.length>0){G=getUnionType(le,2)}var _e=checkAndAggregateYieldOperandTypes(N,R),Ee=_e.yieldTypes,Te=_e.nextTypes;ie=E.some(Ee)?getUnionType(Ee,2):undefined;ae=E.some(Te)?getIntersectionType(Te):undefined}else{var we=checkAndAggregateReturnExpressionTypes(N,R);if(!we){return j&2?createPromiseReturnType(N,dr):dr}if(we.length===0){return j&2?createPromiseReturnType(N,ur):ur}G=getUnionType(we,2)}if(G||ie||ae){if(ie)reportErrorsFromWidening(N,ie,3);if(G)reportErrorsFromWidening(N,G,1);if(ae)reportErrorsFromWidening(N,ae,2);if(G&&isUnitType(G)||ie&&isUnitType(ie)||ae&&isUnitType(ae)){var Ie=getContextualSignatureForFunctionLikeDeclaration(N);var Ne=!Ie?undefined:Ie===getSignatureFromDeclaration(N)?q?undefined:G:instantiateContextualType(getReturnTypeOfSignature(Ie),N);if(q){ie=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ie,Ne,0,$);G=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(G,Ne,1,$);ae=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ae,Ne,2,$)}else{G=getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(G,Ne,$)}}if(ie)ie=getWidenedType(ie);if(G)G=getWidenedType(G);if(ae)ae=getWidenedType(ae)}if(q){return createGeneratorReturnType(ie||dr,G||ce,ae||getContextualIterationType(2,N)||Ht,$)}else{return $?createPromiseType(G||ce):G||ce}}function createGeneratorReturnType(E,N,R,j){var $=j?Hr:Gr;var q=$.getGlobalGeneratorType(false);E=$.resolveIterationType(E,undefined)||Ht;N=$.resolveIterationType(N,undefined)||Ht;R=$.resolveIterationType(R,undefined)||Ht;if(q===Ar){var G=$.getGlobalIterableIteratorType(false);var ie=G!==Ar?getIterationTypesOfGlobalIterableType(G,$):undefined;var ae=ie?ie.returnType:zt;var ce=ie?ie.nextType:Gt;if(isTypeAssignableTo(N,ae)&&isTypeAssignableTo(ce,R)){if(G!==Ar){return createTypeFromGenericGlobalType(G,[E])}$.getGlobalIterableIteratorType(true);return Tr}$.getGlobalGeneratorType(true);return Tr}return createTypeFromGenericGlobalType(q,[E,N,R])}function checkAndAggregateYieldOperandTypes(N,R){var j=[];var $=[];var q=(E.getFunctionFlags(N)&2)!==0;E.forEachYieldExpression(N.body,(function(N){var G=N.expression?checkExpression(N.expression,R):Kt;E.pushIfUnique(j,getYieldedTypeOfYieldExpression(N,G,zt,q));var ie;if(N.asteriskToken){var ae=getIterationTypesOfIterable(G,q?19:17,N.expression);ie=ae&&ae.nextType}else{ie=getContextualType(N)}if(ie)E.pushIfUnique($,ie)}));return{yieldTypes:j,nextTypes:$}}function getYieldedTypeOfYieldExpression(N,R,j,$){var q=N.expression||N;var G=N.asteriskToken?checkIteratedTypeOrElementType($?19:17,R,j,q):R;return!$?G:getAwaitedType(G,q,N.asteriskToken?E.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:E.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function getFactsFromTypeofSwitch(E,N,R,j){var $=0;if(j){for(var q=N;q<R.length;q++){$|=Ie.get(R[q])||32768}for(var q=E;q<N;q++){$&=~(Ie.get(R[q])||0)}for(var q=0;q<E;q++){$|=Ie.get(R[q])||32768}}else{for(var q=E;q<N;q++){$|=we.get(R[q])||128}for(var q=0;q<E;q++){$&=~(we.get(R[q])||0)}}return $}function isExhaustiveSwitchStatement(E){var N=getNodeLinks(E);return N.isExhaustive!==undefined?N.isExhaustive:N.isExhaustive=computeExhaustiveSwitchStatement(E)}function computeExhaustiveSwitchStatement(N){if(N.expression.kind===214){var R=getTypeOfExpression(N.expression.expression);var j=getSwitchClauseTypeOfWitnesses(N,false);var $=getFactsFromTypeofSwitch(0,0,j,true);var q=getBaseConstraintOfType(R)||R;if(q.flags&3){return(556800&$)===556800}return!!(filterType(q,(function(E){return(getTypeFacts(E)&$)===$})).flags&131072)}var G=getTypeOfExpression(N.expression);if(!isLiteralType(G)){return false}var ie=getSwitchClauseTypes(N);if(!ie.length||E.some(ie,isNeitherUnitTypeNorNever)){return false}return eachTypeContainedIn(mapType(G,getRegularTypeOfLiteralType),ie)}function functionHasImplicitReturn(E){return E.endFlowNode&&isReachableFlowNode(E.endFlowNode)}function checkAndAggregateReturnExpressionTypes(N,R){var j=E.getFunctionFlags(N);var $=[];var q=functionHasImplicitReturn(N);var G=false;E.forEachReturnStatement(N.body,(function(ie){var ae=ie.expression;if(ae){var ce=checkExpressionCached(ae,R&&R&~8);if(j&2){ce=checkAwaitedType(ce,N,E.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}if(ce.flags&131072){G=true}E.pushIfUnique($,ce)}else{q=true}}));if($.length===0&&!q&&(G||mayReturnNever(N))){return undefined}if(rt&&$.length&&q&&!(isJSConstructor(N)&&$.some((function(E){return E.symbol===N.symbol})))){E.pushIfUnique($,Gt)}return $}function mayReturnNever(E){switch(E.kind){case 211:case 212:return true;case 167:return E.parent.kind===203;default:return false}}function checkAllCodePathsInNonVoidFunctionReturnOrThrow(N,R){if(!ie){return}var j=E.getFunctionFlags(N);var $=R&&unwrapReturnType(R,j);if($&&maybeTypeOfKind($,1|16384)){return}if(N.kind===166||E.nodeIsMissing(N.body)||N.body.kind!==233||!functionHasImplicitReturn(N)){return}var q=N.flags&512;var G=E.getEffectiveReturnTypeNode(N)||N;if($&&$.flags&131072){error(G,E.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point)}else if($&&!q){error(G,E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value)}else if($&&rt&&!isTypeAssignableTo(Gt,$)){error(G,E.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined)}else if(Xe.noImplicitReturns){if(!$){if(!q){return}var ae=getReturnTypeOfSignature(getSignatureFromDeclaration(N));if(isUnwrappedReturnTypeVoidOrAny(N,ae)){return}}error(G,E.Diagnostics.Not_all_code_paths_return_a_value)}}function checkFunctionExpressionOrObjectLiteralMethod(N,R){E.Debug.assert(N.kind!==167||E.isObjectLiteralMethod(N));checkNodeDeferred(N);if(E.isFunctionExpression(N)){checkCollisionsForDeclarationName(N,N.name)}if(R&&R&4&&isContextSensitive(N)){if(!E.getEffectiveReturnTypeNode(N)&&!E.hasContextSensitiveParameters(N)){var j=getContextualSignature(N);if(j&&couldContainTypeVariables(getReturnTypeOfSignature(j))){var $=getNodeLinks(N);if($.contextFreeType){return $.contextFreeType}var q=getReturnTypeFromBody(N,R);var G=createSignature(undefined,undefined,undefined,E.emptyArray,q,undefined,0,0);var ie=createAnonymousType(N.symbol,He,[G],E.emptyArray,E.emptyArray);ie.objectFlags|=524288;return $.contextFreeType=ie}}return wr}var ae=checkGrammarFunctionLikeDeclaration(N);if(!ae&&N.kind===211){checkGrammarForGenerator(N)}contextuallyCheckFunctionExpressionOrObjectLiteralMethod(N,R);return getTypeOfSymbol(getSymbolOfNode(N))}function contextuallyCheckFunctionExpressionOrObjectLiteralMethod(N,R){var j=getNodeLinks(N);if(!(j.flags&1024)){var $=getContextualSignature(N);if(!(j.flags&1024)){j.flags|=1024;var q=E.firstOrUndefined(getSignaturesOfType(getTypeOfSymbol(getSymbolOfNode(N)),0));if(!q){return}if(isContextSensitive(N)){if($){var G=getInferenceContext(N);if(R&&R&2){inferFromAnnotatedParameters(q,$,G)}var ie=G?instantiateSignature($,G.mapper):$;assignContextualParameterTypes(q,ie)}else{assignNonContextualParameterTypes(q)}}if($&&!getReturnTypeFromAnnotation(N)&&!q.resolvedReturnType){var ae=getReturnTypeFromBody(N,R);if(!q.resolvedReturnType){q.resolvedReturnType=ae}}checkSignatureDeclaration(N)}}}function checkFunctionExpressionOrObjectLiteralMethodDeferred(N){E.Debug.assert(N.kind!==167||E.isObjectLiteralMethod(N));var R=E.getFunctionFlags(N);var j=getReturnTypeFromAnnotation(N);checkAllCodePathsInNonVoidFunctionReturnOrThrow(N,j);if(N.body){if(!E.getEffectiveReturnTypeNode(N)){getReturnTypeOfSignature(getSignatureFromDeclaration(N))}if(N.body.kind===233){checkSourceElement(N.body)}else{var $=checkExpression(N.body);var q=j&&unwrapReturnType(j,R);if(q){if((R&3)===2){var G=checkAwaitedType($,N.body,E.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);checkTypeAssignableToAndOptionallyElaborate(G,q,N.body,N.body)}else{checkTypeAssignableToAndOptionallyElaborate($,q,N.body,N.body)}}}}}function checkArithmeticOperandType(E,N,R,j){if(j===void 0){j=false}if(!isTypeAssignableTo(N,br)){var $=j&&getAwaitedTypeOfPromise(N);errorAndMaybeSuggestAwait(E,!!$&&isTypeAssignableTo($,br),R);return false}return true}function isReadonlyAssignmentDeclaration(N){if(!E.isCallExpression(N)){return false}if(!E.isBindableObjectDefinePropertyCall(N)){return false}var R=checkExpressionCached(N.arguments[2]);var j=getTypeOfPropertyOfType(R,"value");if(j){var $=getPropertyOfType(R,"writable");var q=$&&getTypeOfSymbol($);if(!q||q===nr||q===ir){return true}if($&&$.valueDeclaration&&E.isPropertyAssignment($.valueDeclaration)){var G=$.valueDeclaration.initializer;var ie=checkExpression(G);if(ie===nr||ie===ir){return true}}return false}var ae=getPropertyOfType(R,"set");return!ae}function isReadonlySymbol(N){return!!(E.getCheckFlags(N)&8||N.flags&4&&E.getDeclarationModifierFlagsFromSymbol(N)&64||N.flags&3&&getDeclarationNodeFlagsFromSymbol(N)&2||N.flags&98304&&!(N.flags&65536)||N.flags&8||E.some(N.declarations,isReadonlyAssignmentDeclaration))}function isAssignmentToReadonlyEntity(N,R,j){var $,q;if(j===0){return false}if(isReadonlySymbol(R)){if(R.flags&4&&E.isAccessExpression(N)&&N.expression.kind===108){var G=E.getContainingFunction(N);if(!(G&&(G.kind===169||isJSConstructor(G)))){return true}if(R.valueDeclaration){var ie=E.isBinaryExpression(R.valueDeclaration);var ae=G.parent===R.valueDeclaration.parent;var ce=G===R.valueDeclaration.parent;var le=ie&&(($=R.parent)===null||$===void 0?void 0:$.valueDeclaration)===G.parent;var _e=ie&&((q=R.parent)===null||q===void 0?void 0:q.valueDeclaration)===G;var Ee=ae||ce||le||_e;return!Ee}}return true}if(E.isAccessExpression(N)){var Te=E.skipParentheses(N.expression);if(Te.kind===79){var we=getNodeLinks(Te).resolvedSymbol;if(we.flags&2097152){var Ie=getDeclarationOfAliasSymbol(we);return!!Ie&&Ie.kind===266}}}return false}function checkReferenceExpression(N,R,j){var $=E.skipOuterExpressions(N,6|1);if($.kind!==79&&!E.isAccessExpression($)){error(N,R);return false}if($.flags&32){error(N,j);return false}return true}function checkDeleteExpression(N){checkExpression(N.expression);var R=E.skipParentheses(N.expression);if(!E.isAccessExpression(R)){error(R,E.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference);return cr}if(E.isPropertyAccessExpression(R)&&E.isPrivateIdentifier(R.name)){error(R,E.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier)}var j=getNodeLinks(R);var $=getExportSymbolOfValueSymbolIfExported(j.resolvedSymbol);if($){if(isReadonlySymbol($)){error(R,E.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property)}checkDeleteExpressionMustBeOptional(R,$)}return cr}function checkDeleteExpressionMustBeOptional(N,R){var j=getTypeOfSymbol(R);if(rt&&!(j.flags&(3|131072))&&!(ft?R.flags&16777216:getFalsyFlags(j)&32768)){error(N,E.Diagnostics.The_operand_of_a_delete_operator_must_be_optional)}}function checkTypeOfExpression(E){checkExpression(E.expression);return Ti}function checkVoidExpression(E){checkExpression(E.expression);return Kt}function checkAwaitExpression(N){if(ie){var R=E.getContainingFunctionOrClassStaticBlock(N);if(R&&E.isClassStaticBlockDeclaration(R)){error(N,E.Diagnostics.Await_expression_cannot_be_used_inside_a_class_static_block)}else if(!(N.flags&32768)){if(E.isInTopLevelContext(N)){var j=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(j)){var $=void 0;if(!E.isEffectiveExternalModule(j,Xe)){if(!$)$=E.getSpanOfTokenAtPosition(j,N.pos);var q=E.createFileDiagnostic(j,$.start,$.length,E.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module);xi.add(q)}if(Ze!==E.ModuleKind.ESNext&&Ze!==E.ModuleKind.System||Ye<4){$=E.getSpanOfTokenAtPosition(j,N.pos);var q=E.createFileDiagnostic(j,$.start,$.length,E.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher);xi.add(q)}}}else{var j=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(j)){var $=E.getSpanOfTokenAtPosition(j,N.pos);var q=E.createFileDiagnostic(j,$.start,$.length,E.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);if(R&&R.kind!==169&&(E.getFunctionFlags(R)&2)===0){var G=E.createDiagnosticForNode(R,E.Diagnostics.Did_you_mean_to_mark_this_function_as_async);E.addRelatedInfo(q,G)}xi.add(q)}}}if(isInParameterInitializerBeforeContainingFunction(N)){error(N,E.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}}var ae=checkExpression(N.expression);var ce=checkAwaitedType(ae,N,E.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);if(ce===ae&&ce!==Jt&&!(ae.flags&3)){addErrorOrSuggestion(false,E.createDiagnosticForNode(N,E.Diagnostics.await_has_no_effect_on_the_type_of_this_expression))}return ce}function checkPrefixUnaryExpression(N){var R=checkExpression(N.operand);if(R===pr){return pr}switch(N.operand.kind){case 8:switch(N.operator){case 40:return getFreshTypeOfLiteralType(getNumberLiteralType(-N.operand.text));case 39:return getFreshTypeOfLiteralType(getNumberLiteralType(+N.operand.text))}break;case 9:if(N.operator===40){return getFreshTypeOfLiteralType(getBigIntLiteralType({negative:true,base10Value:E.parsePseudoBigInt(N.operand.text)}))}}switch(N.operator){case 39:case 40:case 54:checkNonNullType(R,N.operand);if(maybeTypeOfKind(R,12288)){error(N.operand,E.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,E.tokenToString(N.operator))}if(N.operator===39){if(maybeTypeOfKind(R,2112)){error(N.operand,E.Diagnostics.Operator_0_cannot_be_applied_to_type_1,E.tokenToString(N.operator),typeToString(getBaseTypeOfLiteralType(R)))}return tr}return getUnaryResultType(R);case 53:checkTruthinessExpression(N.operand);var j=getTypeFacts(R)&(4194304|8388608);return j===4194304?nr:j===8388608?ar:cr;case 45:case 46:var $=checkArithmeticOperandType(N.operand,checkNonNullType(R,N.operand),E.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type);if($){checkReferenceExpression(N.operand,E.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,E.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access)}return getUnaryResultType(R)}return Jt}function checkPostfixUnaryExpression(N){var R=checkExpression(N.operand);if(R===pr){return pr}var j=checkArithmeticOperandType(N.operand,checkNonNullType(R,N.operand),E.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type);if(j){checkReferenceExpression(N.operand,E.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,E.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access)}return getUnaryResultType(R)}function getUnaryResultType(E){if(maybeTypeOfKind(E,2112)){return isTypeAssignableToKind(E,3)||maybeTypeOfKind(E,296)?br:rr}return tr}function maybeTypeOfKind(E,N){if(E.flags&N){return true}if(E.flags&3145728){var R=E.types;for(var j=0,$=R;j<$.length;j++){var q=$[j];if(maybeTypeOfKind(q,N)){return true}}}return false}function isTypeAssignableToKind(E,N,R){if(E.flags&N){return true}if(R&&E.flags&(3|16384|32768|65536)){return false}return!!(N&296)&&isTypeAssignableTo(E,tr)||!!(N&2112)&&isTypeAssignableTo(E,rr)||!!(N&402653316)&&isTypeAssignableTo(E,er)||!!(N&528)&&isTypeAssignableTo(E,cr)||!!(N&16384)&&isTypeAssignableTo(E,ur)||!!(N&131072)&&isTypeAssignableTo(E,dr)||!!(N&65536)&&isTypeAssignableTo(E,Yt)||!!(N&32768)&&isTypeAssignableTo(E,Gt)||!!(N&4096)&&isTypeAssignableTo(E,lr)||!!(N&67108864)&&isTypeAssignableTo(E,hr)}function allTypesAssignableToKind(N,R,j){return N.flags&1048576?E.every(N.types,(function(E){return allTypesAssignableToKind(E,R,j)})):isTypeAssignableToKind(N,R,j)}function isConstEnumObjectType(N){return!!(E.getObjectFlags(N)&16)&&!!N.symbol&&isConstEnumSymbol(N.symbol)}function isConstEnumSymbol(E){return(E.flags&128)!==0}function checkInstanceOfExpression(N,R,j,$){if(j===pr||$===pr){return pr}if(!isTypeAny(j)&&allTypesAssignableToKind(j,131068)){error(N,E.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter)}if(!(isTypeAny($)||typeHasCallOrConstructSignatures($)||isTypeSubtypeOf($,rn))){error(R,E.Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type)}return cr}function checkInExpression(N,R,j,$){if(j===pr||$===pr){return pr}j=checkNonNullType(j,N);$=checkNonNullType($,R);if(!(allTypesAssignableToKind(j,402653316|296|12288)||isTypeAssignableToKind(j,4194304|134217728|268435456|262144))){error(N,E.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol)}var q=getConstraintOfType($);if(!allTypesAssignableToKind($,67108864|58982400)||q&&(isTypeAssignableToKind($,3145728)&&!allTypesAssignableToKind(q,67108864|58982400)||!maybeTypeOfKind(q,67108864|58982400|524288))){error(R,E.Diagnostics.The_right_hand_side_of_an_in_expression_must_not_be_a_primitive)}return cr}function checkObjectLiteralAssignment(E,N,R){var j=E.properties;if(rt&&j.length===0){return checkNonNullType(N,E)}for(var $=0;$<j.length;$++){checkObjectLiteralDestructuringPropertyAssignment(E,N,$,j,R)}return N}function checkObjectLiteralDestructuringPropertyAssignment(N,R,j,$,q){if(q===void 0){q=false}var G=N.properties;var ie=G[j];if(ie.kind===291||ie.kind===292){var ae=ie.name;var ce=getLiteralTypeFromPropertyName(ae);if(isTypeUsableAsPropertyName(ce)){var le=getPropertyNameFromType(ce);var _e=getPropertyOfType(R,le);if(_e){markPropertyAsReferenced(_e,ie,q);checkPropertyAccessibility(ie,false,true,R,_e)}}var Ee=getIndexedAccessType(R,ce,32,ae);var Te=getFlowTypeOfDestructuring(ie,Ee);return checkDestructuringAssignment(ie.kind===292?ie:ie.initializer,Te)}else if(ie.kind===293){if(j<G.length-1){error(ie,E.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}else{if(Ye<99){checkExternalEmitHelpers(ie,4)}var we=[];if($){for(var Ie=0,Ne=$;Ie<Ne.length;Ie++){var Me=Ne[Ie];if(!E.isSpreadAssignment(Me)){we.push(Me.name)}}}var Te=getRestType(R,we,R.symbol);checkGrammarForDisallowedTrailingComma($,E.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);return checkDestructuringAssignment(ie.expression,Te)}}else{error(ie,E.Diagnostics.Property_assignment_expected)}}function checkArrayLiteralAssignment(E,N,R){var j=E.elements;if(Ye<2&&Xe.downlevelIteration){checkExternalEmitHelpers(E,512)}var $=checkIteratedTypeOrElementType(65|128,N,Gt,E)||Jt;var q=Xe.noUncheckedIndexedAccess?undefined:$;for(var G=0;G<j.length;G++){var ie=$;if(E.elements[G].kind===223){ie=q=q!==null&&q!==void 0?q:checkIteratedTypeOrElementType(65,N,Gt,E)||Jt}checkArrayLiteralDestructuringElementAssignment(E,N,G,ie,R)}return N}function checkArrayLiteralDestructuringElementAssignment(N,R,j,$,q){var G=N.elements;var ie=G[j];if(ie.kind!==225){if(ie.kind!==223){var ae=getNumberLiteralType(j);if(isArrayLikeType(R)){var ce=32|(hasDefaultValue(ie)?16:0);var le=getIndexedAccessTypeOrUndefined(R,ae,ce,createSyntheticExpression(ie,ae))||Jt;var _e=hasDefaultValue(ie)?getTypeWithFacts(le,524288):le;var Ee=getFlowTypeOfDestructuring(ie,_e);return checkDestructuringAssignment(ie,Ee,q)}return checkDestructuringAssignment(ie,$,q)}if(j<G.length-1){error(ie,E.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}else{var Te=ie.expression;if(Te.kind===219&&Te.operatorToken.kind===63){error(Te.operatorToken,E.Diagnostics.A_rest_element_cannot_have_an_initializer)}else{checkGrammarForDisallowedTrailingComma(N.elements,E.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);var Ee=everyType(R,isTupleType)?mapType(R,(function(E){return sliceTupleType(E,j)})):createArrayType($);return checkDestructuringAssignment(Te,Ee,q)}}}return undefined}function checkDestructuringAssignment(E,N,R,j){var $;if(E.kind===292){var q=E;if(q.objectAssignmentInitializer){if(rt&&!(getFalsyFlags(checkExpression(q.objectAssignmentInitializer))&32768)){N=getTypeWithFacts(N,524288)}checkBinaryLikeExpression(q.name,q.equalsToken,q.objectAssignmentInitializer,R)}$=E.name}else{$=E}if($.kind===219&&$.operatorToken.kind===63){mt($,R);$=$.left}if($.kind===203){return checkObjectLiteralAssignment($,N,j)}if($.kind===202){return checkArrayLiteralAssignment($,N,R)}return checkReferenceAssignment($,N,R)}function checkReferenceAssignment(N,R,j){var $=checkExpression(N,j);var q=N.parent.kind===293?E.Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:E.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access;var G=N.parent.kind===293?E.Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:E.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;if(checkReferenceExpression(N,q,G)){checkTypeAssignableToAndOptionallyElaborate(R,$,N,N)}if(E.isPrivateIdentifierPropertyAccessExpression(N)){checkExternalEmitHelpers(N.parent,1048576)}return R}function isSideEffectFree(N){N=E.skipParentheses(N);switch(N.kind){case 79:case 10:case 13:case 208:case 221:case 14:case 8:case 9:case 110:case 95:case 104:case 151:case 211:case 224:case 212:case 202:case 203:case 214:case 228:case 277:case 276:return true;case 220:return isSideEffectFree(N.whenTrue)&&isSideEffectFree(N.whenFalse);case 219:if(E.isAssignmentOperator(N.operatorToken.kind)){return false}return isSideEffectFree(N.left)&&isSideEffectFree(N.right);case 217:case 218:switch(N.operator){case 53:case 39:case 40:case 54:return true}return false;case 215:case 209:case 227:default:return false}}function isTypeEqualityComparableTo(E,N){return(N.flags&98304)!==0||isTypeComparableTo(E,N)}function createCheckBinaryExpression(){var N=E.createBinaryExpressionTrampoline(onEnter,onLeft,onOperator,onRight,onExit,foldState);return function(R,j){var $=N(R,j);E.Debug.assertIsDefined($);return $};function onEnter(N,R,j){if(R){R.stackIndex++;R.skip=false;setLeftType(R,undefined);setLastResult(R,undefined)}else{R={checkMode:j,skip:false,stackIndex:0,typeStack:[undefined,undefined]}}if(E.isInJSFile(N)&&E.getAssignedExpandoInitializer(N)){R.skip=true;setLastResult(R,checkExpression(N.right,j));return R}checkGrammarNullishCoalesceWithLogicalExpression(N);var $=N.operatorToken.kind;if($===63&&(N.left.kind===203||N.left.kind===202)){R.skip=true;setLastResult(R,checkDestructuringAssignment(N.left,checkExpression(N.right,j),j,N.right.kind===108));return R}return R}function onLeft(E,N,R){if(!N.skip){return maybeCheckExpression(N,E)}}function onOperator(N,R,j){if(!R.skip){var $=getLastResult(R);E.Debug.assertIsDefined($);setLeftType(R,$);setLastResult(R,undefined);var q=N.kind;if(q===55||q===56||q===60){if(q===55){var G=E.walkUpParenthesizedExpressions(j.parent);checkTestingKnownTruthyCallableOrAwaitableType(j.left,$,E.isIfStatement(G)?G.thenStatement:undefined)}checkTruthinessOfType($,j.left)}}}function onRight(E,N,R){if(!N.skip){return maybeCheckExpression(N,E)}}function onExit(N,R){var j;if(R.skip){j=getLastResult(R)}else{var $=getLeftType(R);E.Debug.assertIsDefined($);var q=getLastResult(R);E.Debug.assertIsDefined(q);j=checkBinaryLikeExpressionWorker(N.left,N.operatorToken,N.right,$,q,N)}R.skip=false;setLeftType(R,undefined);setLastResult(R,undefined);R.stackIndex--;return j}function foldState(E,N,R){setLastResult(E,N);return E}function maybeCheckExpression(N,R){if(E.isBinaryExpression(R)){return R}setLastResult(N,checkExpression(R,N.checkMode))}function getLeftType(E){return E.typeStack[E.stackIndex]}function setLeftType(E,N){E.typeStack[E.stackIndex]=N}function getLastResult(E){return E.typeStack[E.stackIndex+1]}function setLastResult(E,N){E.typeStack[E.stackIndex+1]=N}}function checkGrammarNullishCoalesceWithLogicalExpression(N){var R=N.left,j=N.operatorToken,$=N.right;if(j.kind===60){if(E.isBinaryExpression(R)&&(R.operatorToken.kind===56||R.operatorToken.kind===55)){grammarErrorOnNode(R,E.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,E.tokenToString(R.operatorToken.kind),E.tokenToString(j.kind))}if(E.isBinaryExpression($)&&($.operatorToken.kind===56||$.operatorToken.kind===55)){grammarErrorOnNode($,E.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,E.tokenToString($.operatorToken.kind),E.tokenToString(j.kind))}}}function checkBinaryLikeExpression(E,N,R,j,$){var q=N.kind;if(q===63&&(E.kind===203||E.kind===202)){return checkDestructuringAssignment(E,checkExpression(R,j),j,R.kind===108)}var G;if(q===55||q===56||q===60){G=checkTruthinessExpression(E,j)}else{G=checkExpression(E,j)}var ie=checkExpression(R,j);return checkBinaryLikeExpressionWorker(E,N,R,G,ie,$)}function checkBinaryLikeExpressionWorker(N,R,j,$,q,G){var ae=R.kind;switch(ae){case 41:case 42:case 66:case 67:case 43:case 68:case 44:case 69:case 40:case 65:case 47:case 70:case 48:case 71:case 49:case 72:case 51:case 74:case 52:case 78:case 50:case 73:if($===pr||q===pr){return pr}$=checkNonNullType($,N);q=checkNonNullType(q,j);var ce=void 0;if($.flags&528&&q.flags&528&&(ce=getSuggestedBooleanOperator(R.kind))!==undefined){error(G||R,E.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,E.tokenToString(R.kind),E.tokenToString(ce));return tr}else{var le=checkArithmeticOperandType(N,$,E.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,true);var _e=checkArithmeticOperandType(j,q,E.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,true);var Ee;if(isTypeAssignableToKind($,3)&&isTypeAssignableToKind(q,3)||!(maybeTypeOfKind($,2112)||maybeTypeOfKind(q,2112))){Ee=tr}else if(bothAreBigIntLike($,q)){switch(ae){case 49:case 72:reportOperatorError();break;case 42:case 67:if(Ye<3){error(G,E.Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}}Ee=rr}else{reportOperatorError(bothAreBigIntLike);Ee=Jt}if(le&&_e){checkAssignmentOperator(Ee)}return Ee}case 39:case 64:if($===pr||q===pr){return pr}if(!isTypeAssignableToKind($,402653316)&&!isTypeAssignableToKind(q,402653316)){$=checkNonNullType($,N);q=checkNonNullType(q,j)}var Te=void 0;if(isTypeAssignableToKind($,296,true)&&isTypeAssignableToKind(q,296,true)){Te=tr}else if(isTypeAssignableToKind($,2112,true)&&isTypeAssignableToKind(q,2112,true)){Te=rr}else if(isTypeAssignableToKind($,402653316,true)||isTypeAssignableToKind(q,402653316,true)){Te=er}else if(isTypeAny($)||isTypeAny(q)){Te=$===Jt||q===Jt?Jt:zt}if(Te&&!checkForDisallowedESSymbolOperand(ae)){return Te}if(!Te){var we=296|2112|402653316|3;reportOperatorError((function(E,N){return isTypeAssignableToKind(E,we)&&isTypeAssignableToKind(N,we)}));return zt}if(ae===64){checkAssignmentOperator(Te)}return Te;case 29:case 31:case 32:case 33:if(checkForDisallowedESSymbolOperand(ae)){$=getBaseTypeOfLiteralType(checkNonNullType($,N));q=getBaseTypeOfLiteralType(checkNonNullType(q,j));reportOperatorErrorUnless((function(E,N){return isTypeComparableTo(E,N)||isTypeComparableTo(N,E)||isTypeAssignableTo(E,br)&&isTypeAssignableTo(N,br)}))}return cr;case 34:case 35:case 36:case 37:reportOperatorErrorUnless((function(E,N){return isTypeEqualityComparableTo(E,N)||isTypeEqualityComparableTo(N,E)}));return cr;case 102:return checkInstanceOfExpression(N,j,$,q);case 101:return checkInExpression(N,j,$,q);case 55:case 76:{var Ie=getTypeFacts($)&4194304?getUnionType([extractDefinitelyFalsyTypes(rt?$:getBaseTypeOfLiteralType(q)),q]):$;if(ae===76){checkAssignmentOperator(q)}return Ie}case 56:case 75:{var Ne=getTypeFacts($)&8388608?getUnionType([removeDefinitelyFalsyTypes($),q],2):$;if(ae===75){checkAssignmentOperator(q)}return Ne}case 60:case 77:{var Me=getTypeFacts($)&262144?getUnionType([getNonNullableType($),q],2):$;if(ae===77){checkAssignmentOperator(q)}return Me}case 63:var Le=E.isBinaryExpression(N.parent)?E.getAssignmentDeclarationKind(N.parent):0;checkAssignmentDeclaration(Le,q);if(isAssignmentDeclaration(Le)){if(!(q.flags&524288)||Le!==2&&Le!==6&&!isEmptyObjectType(q)&&!isFunctionObjectType(q)&&!(E.getObjectFlags(q)&1)){checkAssignmentOperator(q)}return $}else{checkAssignmentOperator(q);return getRegularTypeOfObjectLiteral(q)}case 27:if(!Xe.allowUnreachableCode&&isSideEffectFree(N)&&!isEvalNode(j)){var Be=E.getSourceFileOfNode(N);var je=Be.text;var Ue=E.skipTrivia(je,N.pos);var ze=Be.parseDiagnostics.some((function(N){if(N.code!==E.Diagnostics.JSX_expressions_must_have_one_parent_element.code)return false;return E.textSpanContainsPosition(N,Ue)}));if(!ze)error(N,E.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return q;default:return E.Debug.fail()}function bothAreBigIntLike(E,N){return isTypeAssignableToKind(E,2112)&&isTypeAssignableToKind(N,2112)}function checkAssignmentDeclaration(N,R){if(N===2){for(var j=0,$=getPropertiesOfObjectType(R);j<$.length;j++){var q=$[j];var G=getTypeOfSymbol(q);if(G.symbol&&G.symbol.flags&32){var ie=q.escapedName;var ae=resolveName(q.valueDeclaration,ie,788968,undefined,ie,false);if((ae===null||ae===void 0?void 0:ae.declarations)&&ae.declarations.some(E.isJSDocTypedefTag)){addDuplicateDeclarationErrorsForSymbols(ae,E.Diagnostics.Duplicate_identifier_0,E.unescapeLeadingUnderscores(ie),q);addDuplicateDeclarationErrorsForSymbols(q,E.Diagnostics.Duplicate_identifier_0,E.unescapeLeadingUnderscores(ie),ae)}}}}}function isEvalNode(E){return E.kind===79&&E.escapedText==="eval"}function checkForDisallowedESSymbolOperand(R){var G=maybeTypeOfKind($,12288)?N:maybeTypeOfKind(q,12288)?j:undefined;if(G){error(G,E.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,E.tokenToString(R));return false}return true}function getSuggestedBooleanOperator(E){switch(E){case 51:case 74:return 56;case 52:case 78:return 37;case 50:case 73:return 55;default:return undefined}}function checkAssignmentOperator(R){if(ie&&E.isAssignmentOperator(ae)){if(checkReferenceExpression(N,E.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)&&(!E.isIdentifier(N)||E.unescapeLeadingUnderscores(N.escapedText)!=="exports")){checkTypeAssignableToAndOptionallyElaborate(R,$,N,j)}}}function isAssignmentDeclaration(R){var $;switch(R){case 2:return true;case 1:case 5:case 6:case 3:case 4:var q=getSymbolOfNode(N);var G=E.getAssignedExpandoInitializer(j);return!!G&&E.isObjectLiteralExpression(G)&&!!(($=q===null||q===void 0?void 0:q.exports)===null||$===void 0?void 0:$.size);default:return false}}function reportOperatorErrorUnless(E){if(!E($,q)){reportOperatorError(E);return true}return false}function reportOperatorError(N){var j;var ie=false;var ae=G||R;if(N){var ce=getAwaitedType($);var le=getAwaitedType(q);ie=!(ce===$&&le===q)&&!!(ce&&le)&&N(ce,le)}var _e=$;var Ee=q;if(!ie&&N){j=getBaseTypesIfUnrelated($,q,N),_e=j[0],Ee=j[1]}var Te=getTypeNamesForErrorDisplay(_e,Ee),we=Te[0],Ie=Te[1];if(!tryGiveBetterPrimaryError(ae,ie,we,Ie)){errorAndMaybeSuggestAwait(ae,ie,E.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,E.tokenToString(R.kind),we,Ie)}}function tryGiveBetterPrimaryError(N,j,$,q){var G;switch(R.kind){case 36:case 34:G="false";break;case 37:case 35:G="true"}if(G){return errorAndMaybeSuggestAwait(N,j,E.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap,G,$,q)}return undefined}}function getBaseTypesIfUnrelated(E,N,R){var j=E;var $=N;var q=getBaseTypeOfLiteralType(E);var G=getBaseTypeOfLiteralType(N);if(!R(q,G)){j=q;$=G}return[j,$]}function checkYieldExpression(N){if(ie){if(!(N.flags&8192)){grammarErrorOnFirstToken(N,E.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body)}if(isInParameterInitializerBeforeContainingFunction(N)){error(N,E.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer)}}var R=E.getContainingFunction(N);if(!R)return zt;var j=E.getFunctionFlags(R);if(!(j&1)){return zt}var $=(j&2)!==0;if(N.asteriskToken){if($&&Ye<99){checkExternalEmitHelpers(N,26624)}if(!$&&Ye<2&&Xe.downlevelIteration){checkExternalEmitHelpers(N,256)}}var q=getReturnTypeFromAnnotation(R);var G=q&&getIterationTypesOfGeneratorFunctionReturnType(q,$);var ae=G&&G.yieldType||zt;var ce=G&&G.nextType||zt;var le=$?getAwaitedType(ce)||zt:ce;var _e=N.expression?checkExpression(N.expression):Kt;var Ee=getYieldedTypeOfYieldExpression(N,_e,le,$);if(q&&Ee){checkTypeAssignableToAndOptionallyElaborate(Ee,ae,N.expression||N,N.expression)}if(N.asteriskToken){var Te=$?19:17;return getIterationTypeOfIterable(Te,1,_e,N.expression)||zt}else if(q){return getIterationTypeOfGeneratorFunctionReturnType(2,q,$)||zt}var we=getContextualIterationType(2,R);if(!we){we=zt;if(ie&&st&&!E.expressionResultIsUnused(N)){var Ie=getContextualType(N);if(!Ie||isTypeAny(Ie)){error(N,E.Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}}}return we}function checkConditionalExpression(E,N){var R=checkTruthinessExpression(E.condition);checkTestingKnownTruthyCallableOrAwaitableType(E.condition,R,E.whenTrue);var j=checkExpression(E.whenTrue,N);var $=checkExpression(E.whenFalse,N);return getUnionType([j,$],2)}function isTemplateLiteralContext(N){var R=N.parent;return E.isParenthesizedExpression(R)&&isTemplateLiteralContext(R)||E.isElementAccessExpression(R)&&R.argumentExpression===N}function checkTemplateExpression(N){var R=[N.head.text];var j=[];for(var $=0,q=N.templateSpans;$<q.length;$++){var G=q[$];var ie=checkExpression(G.expression);if(maybeTypeOfKind(ie,12288)){error(G.expression,E.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String)}R.push(G.literal.text);j.push(isTypeAssignableTo(ie,xr)?ie:er)}return isConstContext(N)||isTemplateLiteralContext(N)||someType(getContextualType(N)||Ht,isTemplateLiteralContextualType)?getTemplateLiteralType(R,j):er}function isTemplateLiteralContextualType(E){return!!(E.flags&(128|134217728)||E.flags&58982400&&maybeTypeOfKind(getBaseConstraintOfType(E)||Ht,402653316))}function getContextNode(N){if(N.kind===284&&!E.isJsxSelfClosingElement(N.parent)){return N.parent.parent}return N}function checkExpressionWithContextualType(E,N,R,j){var $=getContextNode(E);var q=$.contextualType;var G=$.inferenceContext;try{$.contextualType=N;$.inferenceContext=R;var ie=checkExpression(E,j|1|(R?2:0));var ae=maybeTypeOfKind(ie,2944)&&isLiteralOfContextualType(ie,instantiateContextualType(N,E))?getRegularTypeOfLiteralType(ie):ie;return ae}finally{$.contextualType=q;$.inferenceContext=G}}function checkExpressionCached(E,N){var R=getNodeLinks(E);if(!R.resolvedType){if(N&&N!==0){return checkExpression(E,N)}var j=$n;var $=Qn;$n=Jn;Qn=undefined;R.resolvedType=checkExpression(E,N);Qn=$;$n=j}return R.resolvedType}function isTypeAssertion(N){N=E.skipParentheses(N);return N.kind===209||N.kind===227}function checkDeclarationInitializer(N,R){var j=E.getEffectiveInitializer(N);var $=getQuickTypeOfExpression(j)||(R?checkExpressionWithContextualType(j,R,undefined,0):checkExpressionCached(j));return E.isParameter(N)&&N.name.kind===200&&isTupleType($)&&!$.target.hasRestElement&&getTypeReferenceArity($)<N.name.elements.length?padTupleType($,N.name):$}function padTupleType(N,R){var j=R.elements;var $=getTypeArguments(N).slice();var q=N.target.elementFlags.slice();for(var G=getTypeReferenceArity(N);G<j.length;G++){var ie=j[G];if(G<j.length-1||!(ie.kind===201&&ie.dotDotDotToken)){$.push(!E.isOmittedExpression(ie)&&hasDefaultValue(ie)?getTypeFromBindingElement(ie,false,false):zt);q.push(2);if(!E.isOmittedExpression(ie)&&!hasDefaultValue(ie)){reportImplicitAny(ie,zt)}}}return createTupleType($,q,N.target.readonly)}function widenTypeInferredFromInitializer(N,R){var j=E.getCombinedNodeFlags(N)&2||E.isDeclarationReadonly(N)?R:getWidenedLiteralType(R);if(E.isInJSFile(N)){if(isEmptyLiteralType(j)){reportImplicitAny(N,zt);return zt}else if(isEmptyArrayLiteralType(j)){reportImplicitAny(N,mn);return mn}}return j}function isLiteralOfContextualType(N,R){if(R){if(R.flags&3145728){var j=R.types;return E.some(j,(function(E){return isLiteralOfContextualType(N,E)}))}if(R.flags&58982400){var $=getBaseConstraintOfType(R)||Ht;return maybeTypeOfKind($,4)&&maybeTypeOfKind(N,128)||maybeTypeOfKind($,8)&&maybeTypeOfKind(N,256)||maybeTypeOfKind($,64)&&maybeTypeOfKind(N,2048)||maybeTypeOfKind($,4096)&&maybeTypeOfKind(N,8192)||isLiteralOfContextualType(N,$)}return!!(R.flags&(128|4194304|134217728|268435456)&&maybeTypeOfKind(N,128)||R.flags&256&&maybeTypeOfKind(N,256)||R.flags&2048&&maybeTypeOfKind(N,2048)||R.flags&512&&maybeTypeOfKind(N,512)||R.flags&8192&&maybeTypeOfKind(N,8192))}return false}function isConstContext(N){var R=N.parent;return E.isAssertionExpression(R)&&E.isConstTypeReference(R.type)||(E.isParenthesizedExpression(R)||E.isArrayLiteralExpression(R)||E.isSpreadElement(R))&&isConstContext(R)||(E.isPropertyAssignment(R)||E.isShorthandPropertyAssignment(R)||E.isTemplateSpan(R))&&isConstContext(R.parent)}function checkExpressionForMutableLocation(E,N,R,j){var $=checkExpression(E,N,j);return isConstContext(E)?getRegularTypeOfLiteralType($):isTypeAssertion(E)?$:getWidenedLiteralLikeTypeForContextualType($,instantiateContextualType(arguments.length===2?getContextualType(E):R,E))}function checkPropertyAssignment(E,N){if(E.name.kind===160){checkComputedPropertyName(E.name)}return checkExpressionForMutableLocation(E.initializer,N)}function checkObjectLiteralMethod(E,N){checkGrammarMethod(E);if(E.name.kind===160){checkComputedPropertyName(E.name)}var R=checkFunctionExpressionOrObjectLiteralMethod(E,N);return instantiateTypeWithSingleGenericCallSignature(E,R,N)}function instantiateTypeWithSingleGenericCallSignature(N,R,j){if(j&&j&(2|8)){var $=getSingleSignature(R,0,true);var q=getSingleSignature(R,1,true);var G=$||q;if(G&&G.typeParameters){var ie=getApparentTypeOfContextualType(N,2);if(ie){var ae=getSingleSignature(getNonNullableType(ie),$?0:1,false);if(ae&&!ae.typeParameters){if(j&8){skippedGenericFunction(N,j);return wr}var ce=getInferenceContext(N);var le=ce.signature&&getReturnTypeOfSignature(ce.signature);var _e=le&&getSingleCallOrConstructSignature(le);if(_e&&!_e.typeParameters&&!E.every(ce.inferences,hasInferenceCandidates)){var Ee=getUniqueTypeParameters(ce,G.typeParameters);var Te=getSignatureInstantiationWithoutFillingInTypeArguments(G,Ee);var we=E.map(ce.inferences,(function(E){return createInferenceInfo(E.typeParameter)}));applyToParameterTypes(Te,ae,(function(E,N){inferTypes(we,E,N,0,true)}));if(E.some(we,hasInferenceCandidates)){applyToReturnTypes(Te,ae,(function(E,N){inferTypes(we,E,N)}));if(!hasOverlappingInferences(ce.inferences,we)){mergeInferences(ce.inferences,we);ce.inferredTypeParameters=E.concatenate(ce.inferredTypeParameters,Ee);return getOrCreateTypeFromSignature(Te)}}}return getOrCreateTypeFromSignature(instantiateSignatureInContextOf(G,ae,ce))}}}}return R}function skippedGenericFunction(E,N){if(N&2){var R=getInferenceContext(E);R.flags|=4}}function hasInferenceCandidates(E){return!!(E.candidates||E.contraCandidates)}function hasOverlappingInferences(E,N){for(var R=0;R<E.length;R++){if(hasInferenceCandidates(E[R])&&hasInferenceCandidates(N[R])){return true}}return false}function mergeInferences(E,N){for(var R=0;R<E.length;R++){if(!hasInferenceCandidates(E[R])&&hasInferenceCandidates(N[R])){E[R]=N[R]}}}function getUniqueTypeParameters(N,R){var j=[];var $;var q;for(var G=0,ie=R;G<ie.length;G++){var ae=ie[G];var ce=ae.symbol.escapedName;if(hasTypeParameterByName(N.inferredTypeParameters,ce)||hasTypeParameterByName(j,ce)){var le=getUniqueTypeParameterName(E.concatenate(N.inferredTypeParameters,j),ce);var _e=createSymbol(262144,le);var Ee=createTypeParameter(_e);Ee.target=ae;$=E.append($,ae);q=E.append(q,Ee);j.push(Ee)}else{j.push(ae)}}if(q){var Te=createTypeMapper($,q);for(var we=0,Ie=q;we<Ie.length;we++){var ae=Ie[we];ae.mapper=Te}}return j}function hasTypeParameterByName(N,R){return E.some(N,(function(E){return E.symbol.escapedName===R}))}function getUniqueTypeParameterName(E,N){var R=N.length;while(R>1&&N.charCodeAt(R-1)>=48&&N.charCodeAt(R-1)<=57)R--;var j=N.slice(0,R);for(var $=1;true;$++){var q=j+$;if(!hasTypeParameterByName(E,q)){return q}}}function getReturnTypeOfSingleNonGenericCallSignature(E){var N=getSingleCallSignature(E);if(N&&!N.typeParameters){return getReturnTypeOfSignature(N)}}function getReturnTypeOfSingleNonGenericSignatureOfCallChain(E){var N=checkExpression(E.expression);var R=getOptionalExpressionType(N,E.expression);var j=getReturnTypeOfSingleNonGenericCallSignature(N);return j&&propagateOptionalTypeMarker(j,E,R!==N)}function getTypeOfExpression(N){var R=getQuickTypeOfExpression(N);if(R){return R}if(N.flags&67108864&&Qn){var j=Qn[getNodeId(N)];if(j){return j}}var $=Hn;var q=checkExpression(N);if(Hn!==$){var G=Qn||(Qn=[]);G[getNodeId(N)]=q;E.setNodeFlags(N,N.flags|67108864)}return q}function getQuickTypeOfExpression(N){var R=E.skipParentheses(N);if(E.isCallExpression(R)&&R.expression.kind!==106&&!E.isRequireCall(R,true)&&!isSymbolOrSymbolForCall(R)){var j=E.isCallChain(R)?getReturnTypeOfSingleNonGenericSignatureOfCallChain(R):getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(R.expression));if(j){return j}}else if(E.isAssertionExpression(R)&&!E.isConstTypeReference(R.type)){return getTypeFromTypeNode(R.type)}else if(N.kind===8||N.kind===10||N.kind===110||N.kind===95){return checkExpression(N)}return undefined}function getContextFreeTypeOfExpression(E){var N=getNodeLinks(E);if(N.contextFreeType){return N.contextFreeType}var R=E.contextualType;E.contextualType=zt;try{var j=N.contextFreeType=checkExpression(E,4);return j}finally{E.contextualType=R}}function checkExpression(N,R,j){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkExpression",{kind:N.kind,pos:N.pos,end:N.end});var $=qe;qe=N;We=0;var q=checkExpressionWorker(N,R,j);var G=instantiateTypeWithSingleGenericCallSignature(N,q,R);if(isConstEnumObjectType(G)){checkConstEnumAccess(N,G)}qe=$;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}function checkConstEnumAccess(N,R){var j=N.parent.kind===204&&N.parent.expression===N||N.parent.kind===205&&N.parent.expression===N||((N.kind===79||N.kind===159)&&isInRightSideOfImportOrExportAssignment(N)||N.parent.kind===179&&N.parent.exprName===N)||N.parent.kind===273;if(!j){error(N,E.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query)}if(Xe.isolatedModules){E.Debug.assert(!!(R.symbol.flags&128));var $=R.symbol.valueDeclaration;if($.flags&8388608){error(N,E.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}}function checkParenthesizedExpression(N,R){var j=E.isInJSFile(N)?E.getJSDocTypeTag(N):undefined;if(j){return checkAssertionWorker(j.typeExpression.type,j.typeExpression.type,N.expression,R)}return checkExpression(N.expression,R)}function checkExpressionWorker(N,R,j){var $=N.kind;if(_e){switch($){case 224:case 211:case 212:_e.throwIfCancellationRequested()}}switch($){case 79:return checkIdentifier(N,R);case 108:return checkThisExpression(N);case 106:return checkSuperExpression(N);case 104:return Zt;case 14:case 10:return getFreshTypeOfLiteralType(getStringLiteralType(N.text));case 8:checkGrammarNumericLiteral(N);return getFreshTypeOfLiteralType(getNumberLiteralType(+N.text));case 9:checkGrammarBigIntLiteral(N);return getFreshTypeOfLiteralType(getBigIntLiteralType({negative:false,base10Value:E.parsePseudoBigInt(N.text)}));case 110:return ar;case 95:return nr;case 221:return checkTemplateExpression(N);case 13:return dn;case 202:return checkArrayLiteral(N,R,j);case 203:return checkObjectLiteral(N,R);case 204:return checkPropertyAccessExpression(N,R);case 159:return checkQualifiedName(N,R);case 205:return checkIndexedAccess(N,R);case 206:if(N.expression.kind===100){return checkImportCallExpression(N)}case 207:return checkCallExpression(N,R);case 208:return checkTaggedTemplateExpression(N);case 210:return checkParenthesizedExpression(N,R);case 224:return checkClassExpression(N);case 211:case 212:return checkFunctionExpressionOrObjectLiteralMethod(N,R);case 214:return checkTypeOfExpression(N);case 209:case 227:return checkAssertion(N);case 228:return checkNonNullAssertion(N);case 229:return checkMetaProperty(N);case 213:return checkDeleteExpression(N);case 215:return checkVoidExpression(N);case 216:return checkAwaitExpression(N);case 217:return checkPrefixUnaryExpression(N);case 218:return checkPostfixUnaryExpression(N);case 219:return mt(N,R);case 220:return checkConditionalExpression(N,R);case 223:return checkSpreadExpression(N,R);case 225:return Kt;case 222:return checkYieldExpression(N);case 230:return checkSyntheticExpression(N);case 286:return checkJsxExpression(N,R);case 276:return checkJsxElement(N,R);case 277:return checkJsxSelfClosingElement(N,R);case 280:return checkJsxFragment(N);case 284:return checkJsxAttributes(N,R);case 278:E.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Jt}function checkTypeParameter(N){if(N.expression){grammarErrorOnFirstToken(N.expression,E.Diagnostics.Type_expected)}checkSourceElement(N.constraint);checkSourceElement(N.default);var R=getDeclaredTypeOfTypeParameter(getSymbolOfNode(N));getBaseConstraintOfType(R);if(!hasNonCircularTypeParameterDefault(R)){error(N.default,E.Diagnostics.Type_parameter_0_has_a_circular_default,typeToString(R))}var j=getConstraintOfTypeParameter(R);var $=getDefaultFromTypeParameter(R);if(j&&$){checkTypeAssignableTo($,getTypeWithThisArgument(instantiateType(j,makeUnaryTypeMapper(R,$)),$),N.default,E.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}if(ie){checkTypeNameIsReserved(N.name,E.Diagnostics.Type_parameter_name_cannot_be_0)}}function checkParameter(N){checkGrammarDecoratorsAndModifiers(N);checkVariableLikeDeclaration(N);var R=E.getContainingFunction(N);if(E.hasSyntacticModifier(N,16476)){if(!(R.kind===169&&E.nodeIsPresent(R.body))){error(N,E.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)}if(R.kind===169&&E.isIdentifier(N.name)&&N.name.escapedText==="constructor"){error(N.name,E.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)}}if(N.questionToken&&E.isBindingPattern(N.name)&&R.body){error(N,E.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature)}if(N.name&&E.isIdentifier(N.name)&&(N.name.escapedText==="this"||N.name.escapedText==="new")){if(R.parameters.indexOf(N)!==0){error(N,E.Diagnostics.A_0_parameter_must_be_the_first_parameter,N.name.escapedText)}if(R.kind===169||R.kind===173||R.kind===178){error(N,E.Diagnostics.A_constructor_cannot_have_a_this_parameter)}if(R.kind===212){error(N,E.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)}if(R.kind===170||R.kind===171){error(N,E.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)}}if(N.dotDotDotToken&&!E.isBindingPattern(N.name)&&!isTypeAssignableTo(getReducedType(getTypeOfSymbol(N.symbol)),hn)){error(N,E.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}}function checkTypePredicate(N){var R=getTypePredicateParent(N);if(!R){error(N,E.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var j=getSignatureFromDeclaration(R);var $=getTypePredicateOfSignature(j);if(!$){return}checkSourceElement(N.type);var q=N.parameterName;if($.kind===0||$.kind===2){getTypeFromThisTypeNode(q)}else{if($.parameterIndex>=0){if(signatureHasRestParameter(j)&&$.parameterIndex===j.parameters.length-1){error(q,E.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter)}else{if($.type){var leadingError=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};checkTypeAssignableTo($.type,getTypeOfSymbol(j.parameters[$.parameterIndex]),N.type,undefined,leadingError)}}}else if(q){var G=false;for(var ie=0,ae=R.parameters;ie<ae.length;ie++){var ce=ae[ie].name;if(E.isBindingPattern(ce)&&checkIfTypePredicateVariableIsDeclaredInBindingPattern(ce,q,$.parameterName)){G=true;break}}if(!G){error(N.parameterName,E.Diagnostics.Cannot_find_parameter_0,$.parameterName)}}}}function getTypePredicateParent(E){switch(E.parent.kind){case 212:case 172:case 254:case 211:case 177:case 167:case 166:var N=E.parent;if(E===N.type){return N}}}function checkIfTypePredicateVariableIsDeclaredInBindingPattern(N,R,j){for(var $=0,q=N.elements;$<q.length;$++){var G=q[$];if(E.isOmittedExpression(G)){continue}var ie=G.name;if(ie.kind===79&&ie.escapedText===j){error(R,E.Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,j);return true}else if(ie.kind===200||ie.kind===199){if(checkIfTypePredicateVariableIsDeclaredInBindingPattern(ie,R,j)){return true}}}}function checkSignatureDeclaration(N){if(N.kind===174){checkGrammarIndexSignature(N)}else if(N.kind===177||N.kind===254||N.kind===178||N.kind===172||N.kind===169||N.kind===173){checkGrammarFunctionLikeDeclaration(N)}var R=E.getFunctionFlags(N);if(!(R&4)){if((R&3)===3&&Ye<99){checkExternalEmitHelpers(N,6144)}if((R&3)===2&&Ye<4){checkExternalEmitHelpers(N,64)}if((R&3)!==0&&Ye<2){checkExternalEmitHelpers(N,128)}}checkTypeParameters(N.typeParameters);E.forEach(N.parameters,checkParameter);if(N.type){checkSourceElement(N.type)}if(ie){checkCollisionWithArgumentsInGeneratedCode(N);var j=E.getEffectiveReturnTypeNode(N);if(st&&!j){switch(N.kind){case 173:error(N,E.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 172:error(N,E.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break}}if(j){var $=E.getFunctionFlags(N);if(($&(4|1))===1){var q=getTypeFromTypeNode(j);if(q===ur){error(j,E.Diagnostics.A_generator_cannot_have_a_void_type_annotation)}else{var G=getIterationTypeOfGeneratorFunctionReturnType(0,q,($&2)!==0)||zt;var ae=getIterationTypeOfGeneratorFunctionReturnType(1,q,($&2)!==0)||G;var ce=getIterationTypeOfGeneratorFunctionReturnType(2,q,($&2)!==0)||Ht;var le=createGeneratorReturnType(G,ae,ce,!!($&2));checkTypeAssignableTo(le,q,j)}}else if(($&3)===2){checkAsyncFunctionReturnType(N,j)}}if(N.kind!==174&&N.kind!==312){registerForUnusedIdentifiersCheck(N)}}}function checkClassForDuplicateDeclarations(N){var R=new E.Map;var j=new E.Map;var $=new E.Map;for(var q=0,G=N.members;q<G.length;q++){var ie=G[q];if(ie.kind===169){for(var ae=0,ce=ie.parameters;ae<ce.length;ae++){var le=ce[ae];if(E.isParameterPropertyDeclaration(le,ie)&&!E.isBindingPattern(le.name)){addName(R,le.name,le.name.escapedText,3)}}}else{var _e=E.isStatic(ie);var Ee=ie.name;if(!Ee){continue}var Te=E.isPrivateIdentifier(Ee);var we=Te&&_e?16:0;var Ie=Te?$:_e?j:R;var Ne=Ee&&E.getPropertyNameForPropertyNameNode(Ee);if(Ne){switch(ie.kind){case 170:addName(Ie,Ee,Ne,1|we);break;case 171:addName(Ie,Ee,Ne,2|we);break;case 165:addName(Ie,Ee,Ne,3|we);break;case 167:addName(Ie,Ee,Ne,8|we);break}}}}function addName(N,R,j,$){var q=N.get(j);if(q){if((q&16)!==($&16)){error(R,E.Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,E.getTextOfNode(R))}else{var G=!!(q&8);var ie=!!($&8);if(G||ie){if(G!==ie){error(R,E.Diagnostics.Duplicate_identifier_0,E.getTextOfNode(R))}}else if(q&$&~16){error(R,E.Diagnostics.Duplicate_identifier_0,E.getTextOfNode(R))}else{N.set(j,q|$)}}}else{N.set(j,$)}}}function checkClassForStaticPropertyNameConflicts(N){for(var R=0,j=N.members;R<j.length;R++){var $=j[R];var q=$.name;var G=E.isStatic($);if(G&&q){var ie=E.getPropertyNameForPropertyNameNode(q);switch(ie){case"name":case"length":case"caller":case"arguments":case"prototype":var ae=E.Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1;var ce=getNameOfSymbolAsWritten(getSymbolOfNode(N));error(q,ae,ie,ce);break}}}}function checkObjectTypeForDuplicateDeclarations(N){var R=new E.Map;for(var j=0,$=N.members;j<$.length;j++){var q=$[j];if(q.kind===164){var G=void 0;var ie=q.name;switch(ie.kind){case 10:case 8:G=ie.text;break;case 79:G=E.idText(ie);break;default:continue}if(R.get(G)){error(E.getNameOfDeclaration(q.symbol.valueDeclaration),E.Diagnostics.Duplicate_identifier_0,G);error(q.name,E.Diagnostics.Duplicate_identifier_0,G)}else{R.set(G,true)}}}}function checkTypeForDuplicateIndexSignatures(N){if(N.kind===256){var R=getSymbolOfNode(N);if(R.declarations&&R.declarations.length>0&&R.declarations[0]!==N){return}}var j=getIndexSymbol(getSymbolOfNode(N));if(j===null||j===void 0?void 0:j.declarations){var $=new E.Map;var _loop_26=function(E){if(E.parameters.length===1&&E.parameters[0].type){forEachType(getTypeFromTypeNode(E.parameters[0].type),(function(N){var R=$.get(getTypeId(N));if(R){R.declarations.push(E)}else{$.set(getTypeId(N),{type:N,declarations:[E]})}}))}};for(var q=0,G=j.declarations;q<G.length;q++){var ie=G[q];_loop_26(ie)}$.forEach((function(N){if(N.declarations.length>1){for(var R=0,j=N.declarations;R<j.length;R++){var $=j[R];error($,E.Diagnostics.Duplicate_index_signature_for_type_0,typeToString(N.type))}}}))}}function checkPropertyDeclaration(N){if(!checkGrammarDecoratorsAndModifiers(N)&&!checkGrammarProperty(N))checkGrammarComputedPropertyName(N.name);checkVariableLikeDeclaration(N);setNodeLinksForPrivateIdentifierScope(N);if(E.isPrivateIdentifier(N.name)&&E.hasStaticModifier(N)&&N.initializer&&Ye===99&&!Xe.useDefineForClassFields){error(N.initializer,E.Diagnostics.Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_not_specified_with_a_target_of_esnext_Consider_adding_the_useDefineForClassFields_flag)}if(E.hasSyntacticModifier(N,128)&&N.kind===165&&N.initializer){error(N,E.Diagnostics.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,E.declarationNameToString(N.name))}}function checkPropertySignature(N){if(E.isPrivateIdentifier(N.name)){error(N,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies)}return checkPropertyDeclaration(N)}function checkMethodDeclaration(N){if(!checkGrammarMethod(N))checkGrammarComputedPropertyName(N.name);checkFunctionOrMethodDeclaration(N);if(E.hasSyntacticModifier(N,128)&&N.kind===167&&N.body){error(N,E.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,E.declarationNameToString(N.name))}if(E.isPrivateIdentifier(N.name)&&!E.getContainingClass(N)){error(N,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies)}setNodeLinksForPrivateIdentifierScope(N)}function setNodeLinksForPrivateIdentifierScope(N){if(E.isPrivateIdentifier(N.name)&&Ye<99){for(var R=E.getEnclosingBlockScopeContainer(N);!!R;R=E.getEnclosingBlockScopeContainer(R)){getNodeLinks(R).flags|=67108864}if(E.isClassExpression(N.parent)){var j=getEnclosingIterationStatement(N.parent);if(j){getNodeLinks(N.name).flags|=524288;getNodeLinks(j).flags|=65536}}}}function checkClassStaticBlockDeclaration(N){checkGrammarDecoratorsAndModifiers(N);E.forEachChild(N,checkSourceElement)}function checkConstructorDeclaration(N){checkSignatureDeclaration(N);if(!checkGrammarConstructorTypeParameters(N))checkGrammarConstructorTypeAnnotation(N);checkSourceElement(N.body);var R=getSymbolOfNode(N);var j=E.getDeclarationOfKind(R,N.kind);if(N===j){checkFunctionOrConstructorSymbol(R)}if(E.nodeIsMissing(N.body)){return}if(!ie){return}function isInstancePropertyWithInitializerOrPrivateIdentifierProperty(N){if(E.isPrivateIdentifierClassElementDeclaration(N)){return true}return N.kind===165&&!E.isStatic(N)&&!!N.initializer}var $=N.parent;if(E.getClassExtendsHeritageElement($)){captureLexicalThis(N.parent,$);var q=classDeclarationExtendsNull($);var G=findFirstSuperCall(N.body);if(G){if(q){error(G,E.Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null)}var ae=(Xe.target!==99||!et)&&(E.some(N.parent.members,isInstancePropertyWithInitializerOrPrivateIdentifierProperty)||E.some(N.parameters,(function(N){return E.hasSyntacticModifier(N,16476)})));if(ae){var ce=N.body.statements;var le=void 0;for(var _e=0,Ee=ce;_e<Ee.length;_e++){var Te=Ee[_e];if(Te.kind===236&&E.isSuperCall(Te.expression)){le=Te;break}if(!E.isPrologueDirective(Te)){break}}if(!le){error(N,E.Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}}else if(!q){error(N,E.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call)}}}function checkAccessorDeclaration(N){if(ie){if(!checkGrammarFunctionLikeDeclaration(N)&&!checkGrammarAccessor(N))checkGrammarComputedPropertyName(N.name);checkDecorators(N);checkSignatureDeclaration(N);if(N.kind===170){if(!(N.flags&8388608)&&E.nodeIsPresent(N.body)&&N.flags&256){if(!(N.flags&512)){error(N.name,E.Diagnostics.A_get_accessor_must_return_a_value)}}}if(N.name.kind===160){checkComputedPropertyName(N.name)}if(hasBindableName(N)){var R=getSymbolOfNode(N);var j=E.getDeclarationOfKind(R,170);var $=E.getDeclarationOfKind(R,171);if(j&&$&&!(getNodeCheckFlags(j)&1)){getNodeLinks(j).flags|=1;var q=E.getEffectiveModifierFlags(j);var G=E.getEffectiveModifierFlags($);if((q&128)!==(G&128)){error(j.name,E.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract);error($.name,E.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract)}if(q&16&&!(G&(16|8))||q&8&&!(G&8)){error(j.name,E.Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter);error($.name,E.Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter)}var ae=getAnnotatedAccessorType(j);var ce=getAnnotatedAccessorType($);if(ae&&ce){checkTypeAssignableTo(ae,ce,j,E.Diagnostics.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type)}}}var le=getTypeOfAccessors(getSymbolOfNode(N));if(N.kind===170){checkAllCodePathsInNonVoidFunctionReturnOrThrow(N,le)}}checkSourceElement(N.body);setNodeLinksForPrivateIdentifierScope(N)}function checkMissingDeclaration(E){checkDecorators(E)}function getEffectiveTypeArguments(N,R){return fillMissingTypeArguments(E.map(N.typeArguments,getTypeFromTypeNode),R,getMinTypeArgumentCount(R),E.isInJSFile(N))}function checkTypeArgumentConstraints(N,R){var j;var $;var q=true;for(var G=0;G<R.length;G++){var ie=getConstraintOfTypeParameter(R[G]);if(ie){if(!j){j=getEffectiveTypeArguments(N,R);$=createTypeMapper(R,j)}q=q&&checkTypeAssignableTo(j[G],instantiateType(ie,$),N.typeArguments[G],E.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}}return q}function getTypeParametersForTypeReference(N){var R=getTypeFromTypeReference(N);if(R!==Jt){var j=getNodeLinks(N).resolvedSymbol;if(j){return j.flags&524288&&getSymbolLinks(j).typeParameters||(E.getObjectFlags(R)&4?R.target.localTypeParameters:undefined)}}return undefined}function checkTypeReferenceNode(N){checkGrammarTypeArguments(N,N.typeArguments);if(N.kind===176&&N.typeName.jsdocDotPos!==undefined&&!E.isInJSFile(N)&&!E.isInJSDoc(N)){grammarErrorAtPos(N,N.typeName.jsdocDotPos,1,E.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}E.forEach(N.typeArguments,checkSourceElement);var R=getTypeFromTypeReference(N);if(R!==Jt){if(N.typeArguments&&ie){var j=getTypeParametersForTypeReference(N);if(j){checkTypeArgumentConstraints(N,j)}}var $=getNodeLinks(N).resolvedSymbol;if($){if(E.some($.declarations,(function(E){return isTypeDeclaration(E)&&!!(E.flags&134217728)}))){addDeprecatedSuggestion(getDeprecatedSuggestionNode(N),$.declarations,$.escapedName)}if(R.flags&32&&$.flags&8){error(N,E.Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals,typeToString(R))}}}}function getTypeArgumentConstraint(N){var R=E.tryCast(N.parent,E.isTypeReferenceType);if(!R)return undefined;var j=getTypeParametersForTypeReference(R);var $=getConstraintOfTypeParameter(j[R.typeArguments.indexOf(N)]);return $&&instantiateType($,createTypeMapper(j,getEffectiveTypeArguments(R,j)))}function checkTypeQuery(E){getTypeFromTypeQueryNode(E)}function checkTypeLiteral(N){E.forEach(N.members,checkSourceElement);if(ie){var R=getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(N);checkIndexConstraints(R);checkTypeForDuplicateIndexSignatures(N);checkObjectTypeForDuplicateDeclarations(N)}}function checkArrayType(E){checkSourceElement(E.elementType)}function checkTupleType(N){var R=N.elements;var j=false;var $=false;var q=E.some(R,E.isNamedTupleMember);for(var G=0,ie=R;G<ie.length;G++){var ae=ie[G];if(ae.kind!==195&&q){grammarErrorOnNode(ae,E.Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);break}var ce=getTupleElementFlags(ae);if(ce&8){var le=getTypeFromTypeNode(ae.type);if(!isArrayLikeType(le)){error(ae,E.Diagnostics.A_rest_element_type_must_be_an_array_type);break}if(isArrayType(le)||isTupleType(le)&&le.target.combinedFlags&4){$=true}}else if(ce&4){if($){grammarErrorOnNode(ae,E.Diagnostics.A_rest_element_cannot_follow_another_rest_element);break}$=true}else if(ce&2){if($){grammarErrorOnNode(ae,E.Diagnostics.An_optional_element_cannot_follow_a_rest_element);break}j=true}else if(j){grammarErrorOnNode(ae,E.Diagnostics.A_required_element_cannot_follow_an_optional_element);break}}E.forEach(N.elements,checkSourceElement);getTypeFromTypeNode(N)}function checkUnionOrIntersectionType(N){E.forEach(N.types,checkSourceElement);getTypeFromTypeNode(N)}function checkIndexedAccessIndexType(N,R){if(!(N.flags&8388608)){return N}var j=N.objectType;var $=N.indexType;if(isTypeAssignableTo($,getIndexType(j,false))){if(R.kind===205&&E.isAssignmentTarget(R)&&E.getObjectFlags(j)&32&&getMappedTypeModifiers(j)&1){error(R,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(j))}return N}var q=getApparentType(j);if(getIndexInfoOfType(q,tr)&&isTypeAssignableToKind($,296)){return N}if(isGenericObjectType(j)){var G=getPropertyNameFromIndex($,R);if(G){var ie=forEachType(q,(function(E){return getPropertyOfType(E,G)}));if(ie&&E.getDeclarationModifierFlagsFromSymbol(ie)&24){error(R,E.Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,E.unescapeLeadingUnderscores(G));return Jt}}}error(R,E.Diagnostics.Type_0_cannot_be_used_to_index_type_1,typeToString($),typeToString(j));return Jt}function checkIndexedAccessType(E){checkSourceElement(E.objectType);checkSourceElement(E.indexType);checkIndexedAccessIndexType(getTypeFromIndexedAccessTypeNode(E),E)}function checkMappedType(N){checkSourceElement(N.typeParameter);checkSourceElement(N.nameType);checkSourceElement(N.type);if(!N.type){reportImplicitAny(N,zt)}var R=getTypeFromMappedTypeNode(N);var j=getNameTypeFromMappedType(R);if(j){checkTypeAssignableTo(j,vr,N.nameType)}else{var $=getConstraintTypeFromMappedType(R);checkTypeAssignableTo($,vr,E.getEffectiveConstraintOfTypeParameter(N.typeParameter))}}function checkThisType(E){getTypeFromThisTypeNode(E)}function checkTypeOperator(E){checkGrammarTypeOperatorNode(E);checkSourceElement(E.type)}function checkConditionalType(N){E.forEachChild(N,checkSourceElement)}function checkInferType(N){if(!E.findAncestor(N,(function(E){return E.parent&&E.parent.kind===187&&E.parent.extendsType===E}))){grammarErrorOnNode(N,E.Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type)}checkSourceElement(N.typeParameter);registerForUnusedIdentifiersCheck(N)}function checkTemplateLiteralType(E){for(var N=0,R=E.templateSpans;N<R.length;N++){var j=R[N];checkSourceElement(j.type);var $=getTypeFromTypeNode(j.type);checkTypeAssignableTo($,xr,j.type)}getTypeFromTypeNode(E)}function checkImportType(E){checkSourceElement(E.argument);getTypeFromTypeNode(E)}function checkNamedTupleMember(N){if(N.dotDotDotToken&&N.questionToken){grammarErrorOnNode(N,E.Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest)}if(N.type.kind===183){grammarErrorOnNode(N.type,E.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type)}if(N.type.kind===184){grammarErrorOnNode(N.type,E.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type)}checkSourceElement(N.type);getTypeFromTypeNode(N)}function isPrivateWithinAmbient(N){return(E.hasEffectiveModifier(N,8)||E.isPrivateIdentifierClassElementDeclaration(N))&&!!(N.flags&8388608)}function getEffectiveDeclarationFlags(N,R){var j=E.getCombinedModifierFlags(N);if(N.parent.kind!==256&&N.parent.kind!==255&&N.parent.kind!==224&&N.flags&8388608){if(!(j&2)&&!(E.isModuleBlock(N.parent)&&E.isModuleDeclaration(N.parent.parent)&&E.isGlobalScopeAugmentation(N.parent.parent))){j|=1}j|=2}return j&R}function checkFunctionOrConstructorSymbol(N){if(!ie){return}function getCanonicalOverload(E,N){var R=N!==undefined&&N.parent===E[0].parent;return R?N:E[0]}function checkFlagAgreementBetweenOverloads(N,R,j,$,q){var G=$^q;if(G!==0){var ie=getEffectiveDeclarationFlags(getCanonicalOverload(N,R),j);E.forEach(N,(function(N){var R=getEffectiveDeclarationFlags(N,j)^ie;if(R&1){error(E.getNameOfDeclaration(N),E.Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported)}else if(R&2){error(E.getNameOfDeclaration(N),E.Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient)}else if(R&(8|16)){error(E.getNameOfDeclaration(N)||N,E.Diagnostics.Overload_signatures_must_all_be_public_private_or_protected)}else if(R&128){error(E.getNameOfDeclaration(N),E.Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract)}}))}}function checkQuestionTokenAgreementBetweenOverloads(N,R,j,$){if(j!==$){var q=E.hasQuestionToken(getCanonicalOverload(N,R));E.forEach(N,(function(N){var R=E.hasQuestionToken(N)!==q;if(R){error(E.getNameOfDeclaration(N),E.Diagnostics.Overload_signatures_must_all_be_optional_or_required)}}))}}var R=1|2|8|16|128;var $=0;var q=R;var G=false;var ae=true;var ce=false;var le;var _e;var Ee;var Te=N.declarations;var we=(N.flags&16384)!==0;function reportImplementationExpectedError(N){if(N.name&&E.nodeIsMissing(N.name)){return}var R=false;var j=E.forEachChild(N.parent,(function(E){if(R){return E}else{R=E===N}}));if(j&&j.pos===N.end){if(j.kind===N.kind){var $=j.name||j;var q=j.name;if(N.name&&q&&(E.isPrivateIdentifier(N.name)&&E.isPrivateIdentifier(q)&&N.name.escapedText===q.escapedText||E.isComputedPropertyName(N.name)&&E.isComputedPropertyName(q)||E.isPropertyNameLiteral(N.name)&&E.isPropertyNameLiteral(q)&&E.getEscapedTextOfIdentifierOrLiteral(N.name)===E.getEscapedTextOfIdentifierOrLiteral(q))){var G=(N.kind===167||N.kind===166)&&E.isStatic(N)!==E.isStatic(j);if(G){var ie=E.isStatic(N)?E.Diagnostics.Function_overload_must_be_static:E.Diagnostics.Function_overload_must_not_be_static;error($,ie)}return}if(E.nodeIsPresent(j.body)){error($,E.Diagnostics.Function_implementation_name_must_be_0,E.declarationNameToString(N.name));return}}}var ae=N.name||N;if(we){error(ae,E.Diagnostics.Constructor_implementation_is_missing)}else{if(E.hasSyntacticModifier(N,128)){error(ae,E.Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive)}else{error(ae,E.Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}}var Ie=false;var Ne=false;var Me=false;var Le=[];if(Te){for(var Be=0,je=Te;Be<je.length;Be++){var Ue=je[Be];var ze=Ue;var We=ze.flags&8388608;var Je=ze.parent&&(ze.parent.kind===256||ze.parent.kind===180)||We;if(Je){Ee=undefined}if((ze.kind===255||ze.kind===224)&&!We){Me=true}if(ze.kind===254||ze.kind===167||ze.kind===166||ze.kind===169){Le.push(ze);var Ve=getEffectiveDeclarationFlags(ze,R);$|=Ve;q&=Ve;G=G||E.hasQuestionToken(ze);ae=ae&&E.hasQuestionToken(ze);var qe=E.nodeIsPresent(ze.body);if(qe&&le){if(we){Ne=true}else{Ie=true}}else if((Ee===null||Ee===void 0?void 0:Ee.parent)===ze.parent&&Ee.end!==ze.pos){reportImplementationExpectedError(Ee)}if(qe){if(!le){le=ze}}else{ce=true}Ee=ze;if(!Je){_e=ze}}}}if(Ne){E.forEach(Le,(function(N){error(N,E.Diagnostics.Multiple_constructor_implementations_are_not_allowed)}))}if(Ie){E.forEach(Le,(function(N){error(E.getNameOfDeclaration(N)||N,E.Diagnostics.Duplicate_function_implementation)}))}if(Me&&!we&&N.flags&16&&Te){var He=E.filter(Te,(function(E){return E.kind===255})).map((function(N){return E.createDiagnosticForNode(N,E.Diagnostics.Consider_adding_a_declare_modifier_to_this_class)}));E.forEach(Te,(function(R){var $=R.kind===255?E.Diagnostics.Class_declaration_cannot_implement_overload_list_for_0:R.kind===254?E.Diagnostics.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:undefined;if($){E.addRelatedInfo.apply(void 0,j([error(E.getNameOfDeclaration(R)||R,$,E.symbolName(N))],He,false))}}))}if(_e&&!_e.body&&!E.hasSyntacticModifier(_e,128)&&!_e.questionToken){reportImplementationExpectedError(_e)}if(ce){if(Te){checkFlagAgreementBetweenOverloads(Te,le,R,$,q);checkQuestionTokenAgreementBetweenOverloads(Te,le,G,ae)}if(le){var Ge=getSignaturesOfSymbol(N);var Ke=getSignatureFromDeclaration(le);for(var Qe=0,Xe=Ge;Qe<Xe.length;Qe++){var Ye=Xe[Qe];if(!isImplementationCompatibleWithOverload(Ke,Ye)){E.addRelatedInfo(error(Ye.declaration,E.Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),E.createDiagnosticForNode(le,E.Diagnostics.The_implementation_signature_is_declared_here));break}}}}}function checkExportsOnMergedDeclarations(N){if(!ie){return}var R=N.localSymbol;if(!R){R=getSymbolOfNode(N);if(!R.exportSymbol){return}}if(E.getDeclarationOfKind(R,N.kind)!==N){return}var j=0;var $=0;var q=0;for(var G=0,ae=R.declarations;G<ae.length;G++){var ce=ae[G];var le=getDeclarationSpaces(ce);var _e=getEffectiveDeclarationFlags(ce,1|512);if(_e&1){if(_e&512){q|=le}else{j|=le}}else{$|=le}}var Ee=j|$;var Te=j&$;var we=q&Ee;if(Te||we){for(var Ie=0,Ne=R.declarations;Ie<Ne.length;Ie++){var ce=Ne[Ie];var le=getDeclarationSpaces(ce);var Me=E.getNameOfDeclaration(ce);if(le&we){error(Me,E.Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,E.declarationNameToString(Me))}else if(le&Te){error(Me,E.Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,E.declarationNameToString(Me))}}}function getDeclarationSpaces(N){var R=N;switch(R.kind){case 256:case 257:case 340:case 333:case 334:return 2;case 259:return E.isAmbientModule(R)||E.getModuleInstanceState(R)!==0?4|1:4;case 255:case 258:case 294:return 2|1;case 300:return 2|1|4;case 269:case 219:var j=R;var $=E.isExportAssignment(j)?j.expression:j.right;if(!E.isEntityNameExpression($)){return 1}R=$;case 263:case 266:case 265:var q=0;var G=resolveAlias(getSymbolOfNode(R));E.forEach(G.declarations,(function(E){q|=getDeclarationSpaces(E)}));return q;case 252:case 201:case 254:case 268:case 79:return 1;default:return E.Debug.failBadSyntaxKind(R)}}}function getAwaitedTypeOfPromise(E,N,R,j){var $=getPromisedTypeOfPromise(E,N);return $&&getAwaitedType($,N,R,j)}function getPromisedTypeOfPromise(N,R){if(isTypeAny(N)){return undefined}var j=N;if(j.promisedTypeOfPromise){return j.promisedTypeOfPromise}if(isReferenceToType(N,getGlobalPromiseType(false))){return j.promisedTypeOfPromise=getTypeArguments(N)[0]}var $=getTypeOfPropertyOfType(N,"then");if(isTypeAny($)){return undefined}var q=$?getSignaturesOfType($,0):E.emptyArray;if(q.length===0){if(R){error(R,E.Diagnostics.A_promise_must_have_a_then_method)}return undefined}var G=getTypeWithFacts(getUnionType(E.map(q,getTypeOfFirstParameterOfSignature)),2097152);if(isTypeAny(G)){return undefined}var ie=getSignaturesOfType(G,0);if(ie.length===0){if(R){error(R,E.Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}return undefined}return j.promisedTypeOfPromise=getUnionType(E.map(ie,getTypeOfFirstParameterOfSignature),2)}function checkAwaitedType(E,N,R,j){var $=getAwaitedType(E,N,R,j);return $||Jt}function isThenableType(E){var N=getTypeOfPropertyOfType(E,"then");return!!N&&getSignaturesOfType(getTypeWithFacts(N,2097152),0).length>0}function getAwaitedType(E,N,R,j){if(isTypeAny(E)){return E}var $=E;if($.awaitedTypeOfType){return $.awaitedTypeOfType}return $.awaitedTypeOfType=mapType(E,N?function(E){return getAwaitedTypeWorker(E,N,R,j)}:getAwaitedTypeWorker)}function getAwaitedTypeWorker(N,R,j,$){var q=N;if(q.awaitedTypeOfType){return q.awaitedTypeOfType}var G=getPromisedTypeOfPromise(N);if(G){if(N.id===G.id||bi.lastIndexOf(G.id)>=0){if(R){error(R,E.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method)}return undefined}bi.push(N.id);var ie=getAwaitedType(G,R,j,$);bi.pop();if(!ie){return undefined}return q.awaitedTypeOfType=ie}if(isThenableType(N)){if(R){if(!j)return E.Debug.fail();error(R,j,$)}return undefined}return q.awaitedTypeOfType=N}function checkAsyncFunctionReturnType(N,R){var j=getTypeFromTypeNode(R);if(Ye>=2){if(j===Jt){return}var $=getGlobalPromiseType(true);if($!==Ar&&!isReferenceToType(j,$)){error(R,E.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,typeToString(getAwaitedType(j)||ur));return}}else{markTypeNodeAsReferenced(R);if(j===Jt){return}var q=E.getEntityNameFromTypeNode(R);if(q===undefined){error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,typeToString(j));return}var G=resolveEntityName(q,111551,true);var ie=G?getTypeOfSymbol(G):Jt;if(ie===Jt){if(q.kind===79&&q.escapedText==="Promise"&&getTargetType(j)===getGlobalPromiseType(false)){error(R,E.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option)}else{error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,E.entityNameToString(q))}return}var ae=getGlobalPromiseConstructorLikeType(true);if(ae===Tr){error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,E.entityNameToString(q));return}if(!checkTypeAssignableTo(ie,ae,R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value)){return}var ce=q&&E.getFirstIdentifier(q);var le=getSymbol(N.locals,ce.escapedText,111551);if(le){error(le.valueDeclaration,E.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,E.idText(ce),E.entityNameToString(q));return}}checkAwaitedType(j,N,E.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function checkDecorator(N){var R=getResolvedSignature(N);checkDeprecatedSignature(R,N);var j=getReturnTypeOfSignature(R);if(j.flags&1){return}var $;var q=getDiagnosticHeadMessageForDecoratorResolution(N);var G;switch(N.parent.kind){case 255:var ie=getSymbolOfNode(N.parent);var ae=getTypeOfSymbol(ie);$=getUnionType([ae,ur]);break;case 162:$=ur;G=E.chainDiagnosticMessages(undefined,E.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 165:$=ur;G=E.chainDiagnosticMessages(undefined,E.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 167:case 170:case 171:var ce=getTypeOfNode(N.parent);var le=createTypedPropertyDescriptorType(ce);$=getUnionType([le,ur]);break;default:return E.Debug.fail()}checkTypeAssignableTo(j,$,N,q,(function(){return G}))}function markTypeNodeAsReferenced(N){markEntityNameOrEntityExpressionAsReference(N&&E.getEntityNameFromTypeNode(N))}function markEntityNameOrEntityExpressionAsReference(N){if(!N)return;var R=E.getFirstIdentifier(N);var j=(N.kind===79?788968:1920)|2097152;var $=resolveName(R,R.escapedText,j,undefined,undefined,true);if($&&$.flags&2097152&&symbolIsValue($)&&!isConstEnumOrConstEnumOnlyModule(resolveAlias($))&&!getTypeOnlyAliasDeclaration($)){markAliasSymbolAsReferenced($)}}function markDecoratorMedataDataTypeNodeAsReferenced(N){var R=getEntityNameForDecoratorMetadata(N);if(R&&E.isEntityName(R)){markEntityNameOrEntityExpressionAsReference(R)}}function getEntityNameForDecoratorMetadata(E){if(E){switch(E.kind){case 186:case 185:return getEntityNameForDecoratorMetadataFromTypeList(E.types);case 187:return getEntityNameForDecoratorMetadataFromTypeList([E.trueType,E.falseType]);case 189:case 195:return getEntityNameForDecoratorMetadata(E.type);case 176:return E.typeName}}}function getEntityNameForDecoratorMetadataFromTypeList(N){var R;for(var j=0,$=N;j<$.length;j++){var q=$[j];while(q.kind===189||q.kind===195){q=q.type}if(q.kind===142){continue}if(!rt&&(q.kind===194&&q.literal.kind===104||q.kind===151)){continue}var G=getEntityNameForDecoratorMetadata(q);if(!G){return undefined}if(R){if(!E.isIdentifier(R)||!E.isIdentifier(G)||R.escapedText!==G.escapedText){return undefined}}else{R=G}}return R}function getParameterTypeNodeForDecoratorCheck(N){var R=E.getEffectiveTypeAnnotationNode(N);return E.isRestParameter(N)?E.getRestParameterElementType(R):R}function checkDecorators(N){if(!N.decorators){return}if(!E.nodeCanBeDecorated(N,N.parent,N.parent.parent)){return}if(!Xe.experimentalDecorators){error(N,E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning)}var R=N.decorators[0];checkExternalEmitHelpers(R,8);if(N.kind===162){checkExternalEmitHelpers(R,32)}if(Xe.emitDecoratorMetadata){checkExternalEmitHelpers(R,16);switch(N.kind){case 255:var j=E.getFirstConstructorWithBody(N);if(j){for(var $=0,q=j.parameters;$<q.length;$++){var G=q[$];markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(G))}}break;case 170:case 171:var ie=N.kind===170?171:170;var ae=E.getDeclarationOfKind(getSymbolOfNode(N),ie);markDecoratorMedataDataTypeNodeAsReferenced(getAnnotatedAccessorTypeNode(N)||ae&&getAnnotatedAccessorTypeNode(ae));break;case 167:for(var ce=0,le=N.parameters;ce<le.length;ce++){var G=le[ce];markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(G))}markDecoratorMedataDataTypeNodeAsReferenced(E.getEffectiveReturnTypeNode(N));break;case 165:markDecoratorMedataDataTypeNodeAsReferenced(E.getEffectiveTypeAnnotationNode(N));break;case 162:markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(N));var _e=N.parent;for(var Ee=0,Te=_e.parameters;Ee<Te.length;Ee++){var G=Te[Ee];markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(G))}break}}E.forEach(N.decorators,checkDecorator)}function checkFunctionDeclaration(E){if(ie){checkFunctionOrMethodDeclaration(E);checkGrammarForGenerator(E);checkCollisionsForDeclarationName(E,E.name)}}function checkJSDocTypeAliasTag(N){if(!N.typeExpression){error(N.name,E.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags)}if(N.name){checkTypeNameIsReserved(N.name,E.Diagnostics.Type_alias_name_cannot_be_0)}checkSourceElement(N.typeExpression)}function checkJSDocTemplateTag(E){checkSourceElement(E.constraint);for(var N=0,R=E.typeParameters;N<R.length;N++){var j=R[N];checkSourceElement(j)}}function checkJSDocTypeTag(E){checkSourceElement(E.typeExpression)}function checkJSDocParameterTag(N){checkSourceElement(N.typeExpression);if(!E.getParameterSymbolFromJSDoc(N)){var R=E.getHostSignatureFromJSDoc(N);if(R){var j=E.getJSDocTags(R).filter(E.isJSDocParameterTag).indexOf(N);if(j>-1&&j<R.parameters.length&&E.isBindingPattern(R.parameters[j].name)){return}if(!containsArgumentsReference(R)){if(E.isQualifiedName(N.name)){error(N.name,E.Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,E.entityNameToString(N.name),E.entityNameToString(N.name.left))}else{error(N.name,E.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,E.idText(N.name))}}else if(E.findLast(E.getJSDocTags(R),E.isJSDocParameterTag)===N&&N.typeExpression&&N.typeExpression.type&&!isArrayType(getTypeFromTypeNode(N.typeExpression.type))){error(N.name,E.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,E.idText(N.name.kind===159?N.name.right:N.name))}}}}function checkJSDocPropertyTag(E){checkSourceElement(E.typeExpression)}function checkJSDocFunctionType(N){if(ie&&!N.type&&!E.isJSDocConstructSignature(N)){reportImplicitAny(N,zt)}checkSignatureDeclaration(N)}function checkJSDocImplementsTag(N){var R=E.getEffectiveJSDocHost(N);if(!R||!E.isClassDeclaration(R)&&!E.isClassExpression(R)){error(R,E.Diagnostics.JSDoc_0_is_not_attached_to_a_class,E.idText(N.tagName))}}function checkJSDocAugmentsTag(N){var R=E.getEffectiveJSDocHost(N);if(!R||!E.isClassDeclaration(R)&&!E.isClassExpression(R)){error(R,E.Diagnostics.JSDoc_0_is_not_attached_to_a_class,E.idText(N.tagName));return}var j=E.getJSDocTags(R).filter(E.isJSDocAugmentsTag);E.Debug.assert(j.length>0);if(j.length>1){error(j[1],E.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag)}var $=getIdentifierFromEntityNameExpression(N.class.expression);var q=E.getClassExtendsHeritageElement(R);if(q){var G=getIdentifierFromEntityNameExpression(q.expression);if(G&&$.escapedText!==G.escapedText){error($,E.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,E.idText(N.tagName),E.idText($),E.idText(G))}}}function getIdentifierFromEntityNameExpression(E){switch(E.kind){case 79:return E;case 204:return E.name;default:return undefined}}function checkFunctionOrMethodDeclaration(N){var R;checkDecorators(N);checkSignatureDeclaration(N);var j=E.getFunctionFlags(N);if(N.name&&N.name.kind===160){checkComputedPropertyName(N.name)}if(hasBindableName(N)){var $=getSymbolOfNode(N);var q=N.localSymbol||$;var G=(R=q.declarations)===null||R===void 0?void 0:R.find((function(E){return E.kind===N.kind&&!(E.flags&131072)}));if(N===G){checkFunctionOrConstructorSymbol(q)}if($.parent){checkFunctionOrConstructorSymbol($)}}var ae=N.kind===166?undefined:N.body;checkSourceElement(ae);checkAllCodePathsInNonVoidFunctionReturnOrThrow(N,getReturnTypeFromAnnotation(N));if(ie&&!E.getEffectiveReturnTypeNode(N)){if(E.nodeIsMissing(ae)&&!isPrivateWithinAmbient(N)){reportImplicitAny(N,zt)}if(j&1&&E.nodeIsPresent(ae)){getReturnTypeOfSignature(getSignatureFromDeclaration(N))}}if(E.isInJSFile(N)){var ce=E.getJSDocTypeTag(N);if(ce&&ce.typeExpression&&!getContextualCallSignature(getTypeFromTypeNode(ce.typeExpression),N)){error(ce.typeExpression.type,E.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}}function registerForUnusedIdentifiersCheck(N){if(ie){var R=E.getSourceFileOfNode(N);var j=Wn.get(R.path);if(!j){j=[];Wn.set(R.path,j)}j.push(N)}}function checkUnusedIdentifiers(N,R){for(var j=0,$=N;j<$.length;j++){var q=$[j];switch(q.kind){case 255:case 224:checkUnusedClassMembers(q,R);checkUnusedTypeParameters(q,R);break;case 300:case 259:case 233:case 261:case 240:case 241:case 242:checkUnusedLocalsAndParameters(q,R);break;case 169:case 211:case 254:case 212:case 167:case 170:case 171:if(q.body){checkUnusedLocalsAndParameters(q,R)}checkUnusedTypeParameters(q,R);break;case 166:case 172:case 173:case 177:case 178:case 257:case 256:checkUnusedTypeParameters(q,R);break;case 188:checkUnusedInferTypeParameter(q,R);break;default:E.Debug.assertNever(q,"Node should not have been registered for unused identifiers check")}}}function errorUnusedLocal(N,R,j){var $=E.getNameOfDeclaration(N)||N;var q=isTypeDeclaration(N)?E.Diagnostics._0_is_declared_but_never_used:E.Diagnostics._0_is_declared_but_its_value_is_never_read;j(N,0,E.createDiagnosticForNode($,q,R))}function isIdentifierThatStartsWithUnderscore(N){return E.isIdentifier(N)&&E.idText(N).charCodeAt(0)===95}function checkUnusedClassMembers(N,R){for(var j=0,$=N.members;j<$.length;j++){var q=$[j];switch(q.kind){case 167:case 165:case 170:case 171:if(q.kind===171&&q.symbol.flags&32768){break}var G=getSymbolOfNode(q);if(!G.isReferenced&&(E.hasEffectiveModifier(q,8)||E.isNamedDeclaration(q)&&E.isPrivateIdentifier(q.name))&&!(q.flags&8388608)){R(q,0,E.createDiagnosticForNode(q.name,E.Diagnostics._0_is_declared_but_its_value_is_never_read,symbolToString(G)))}break;case 169:for(var ie=0,ae=q.parameters;ie<ae.length;ie++){var ce=ae[ie];if(!ce.symbol.isReferenced&&E.hasSyntacticModifier(ce,8)){R(ce,0,E.createDiagnosticForNode(ce.name,E.Diagnostics.Property_0_is_declared_but_its_value_is_never_read,E.symbolName(ce.symbol)))}}break;case 174:case 232:case 168:break;default:E.Debug.fail("Unexpected class member")}}}function checkUnusedInferTypeParameter(N,R){var j=N.typeParameter;if(isTypeParameterUnused(j)){R(N,1,E.createDiagnosticForNode(N,E.Diagnostics._0_is_declared_but_its_value_is_never_read,E.idText(j.name)))}}function checkUnusedTypeParameters(N,R){var j=getSymbolOfNode(N).declarations;if(!j||E.last(j)!==N)return;var $=E.getEffectiveTypeParameterDeclarations(N);var q=new E.Set;for(var G=0,ie=$;G<ie.length;G++){var ae=ie[G];if(!isTypeParameterUnused(ae))continue;var ce=E.idText(ae.name);var le=ae.parent;if(le.kind!==188&&le.typeParameters.every(isTypeParameterUnused)){if(E.tryAddToSet(q,le)){var _e=E.getSourceFileOfNode(le);var Ee=E.isJSDocTemplateTag(le)?E.rangeOfNode(le):E.rangeOfTypeParameters(_e,le.typeParameters);var Te=le.typeParameters.length===1;var we=Te?E.Diagnostics._0_is_declared_but_its_value_is_never_read:E.Diagnostics.All_type_parameters_are_unused;var Ie=Te?ce:undefined;R(ae,1,E.createFileDiagnostic(_e,Ee.pos,Ee.end-Ee.pos,we,Ie))}}else{R(ae,1,E.createDiagnosticForNode(ae,E.Diagnostics._0_is_declared_but_its_value_is_never_read,ce))}}}function isTypeParameterUnused(E){return!(getMergedSymbol(E.symbol).isReferenced&262144)&&!isIdentifierThatStartsWithUnderscore(E.name)}function addToGroup(E,N,R,j){var $=String(j(N));var q=E.get($);if(q){q[1].push(R)}else{E.set($,[N,[R]])}}function tryGetRootParameterDeclaration(N){return E.tryCast(E.getRootDeclaration(N),E.isParameter)}function isValidUnusedLocalDeclaration(N){if(E.isBindingElement(N)){if(E.isObjectBindingPattern(N.parent)){return!!(N.propertyName&&isIdentifierThatStartsWithUnderscore(N.name))}return isIdentifierThatStartsWithUnderscore(N.name)}return E.isAmbientModule(N)||(E.isVariableDeclaration(N)&&E.isForInOrOfStatement(N.parent.parent)||isImportedDeclaration(N))&&isIdentifierThatStartsWithUnderscore(N.name)}function checkUnusedLocalsAndParameters(N,R){var j=new E.Map;var $=new E.Map;var q=new E.Map;N.locals.forEach((function(N){if(N.flags&262144?!(N.flags&3&&!(N.isReferenced&3)):N.isReferenced||N.exportSymbol){return}if(N.declarations){for(var G=0,ie=N.declarations;G<ie.length;G++){var ae=ie[G];if(isValidUnusedLocalDeclaration(ae)){continue}if(isImportedDeclaration(ae)){addToGroup(j,importClauseFromImported(ae),ae,getNodeId)}else if(E.isBindingElement(ae)&&E.isObjectBindingPattern(ae.parent)){var ce=E.last(ae.parent.elements);if(ae===ce||!E.last(ae.parent.elements).dotDotDotToken){addToGroup($,ae.parent,ae,getNodeId)}}else if(E.isVariableDeclaration(ae)){addToGroup(q,ae.parent,ae,getNodeId)}else{var le=N.valueDeclaration&&tryGetRootParameterDeclaration(N.valueDeclaration);var _e=N.valueDeclaration&&E.getNameOfDeclaration(N.valueDeclaration);if(le&&_e){if(!E.isParameterPropertyDeclaration(le,le.parent)&&!E.parameterIsThisKeyword(le)&&!isIdentifierThatStartsWithUnderscore(_e)){if(E.isBindingElement(ae)&&E.isArrayBindingPattern(ae.parent)){addToGroup($,ae.parent,ae,getNodeId)}else{R(le,1,E.createDiagnosticForNode(_e,E.Diagnostics._0_is_declared_but_its_value_is_never_read,E.symbolName(N)))}}}else{errorUnusedLocal(ae,E.symbolName(N),R)}}}}}));j.forEach((function(N){var j=N[0],$=N[1];var q=j.parent;var G=(j.name?1:0)+(j.namedBindings?j.namedBindings.kind===266?1:j.namedBindings.elements.length:0);if(G===$.length){R(q,0,$.length===1?E.createDiagnosticForNode(q,E.Diagnostics._0_is_declared_but_its_value_is_never_read,E.idText(E.first($).name)):E.createDiagnosticForNode(q,E.Diagnostics.All_imports_in_import_declaration_are_unused))}else{for(var ie=0,ae=$;ie<ae.length;ie++){var ce=ae[ie];errorUnusedLocal(ce,E.idText(ce.name),R)}}}));$.forEach((function(N){var j=N[0],$=N[1];var G=tryGetRootParameterDeclaration(j.parent)?1:0;if(j.elements.length===$.length){if($.length===1&&j.parent.kind===252&&j.parent.parent.kind===253){addToGroup(q,j.parent.parent,j.parent,getNodeId)}else{R(j,G,$.length===1?E.createDiagnosticForNode(j,E.Diagnostics._0_is_declared_but_its_value_is_never_read,bindingNameText(E.first($).name)):E.createDiagnosticForNode(j,E.Diagnostics.All_destructured_elements_are_unused))}}else{for(var ie=0,ae=$;ie<ae.length;ie++){var ce=ae[ie];R(ce,G,E.createDiagnosticForNode(ce,E.Diagnostics._0_is_declared_but_its_value_is_never_read,bindingNameText(ce.name)))}}}));q.forEach((function(N){var j=N[0],$=N[1];if(j.declarations.length===$.length){R(j,0,$.length===1?E.createDiagnosticForNode(E.first($).name,E.Diagnostics._0_is_declared_but_its_value_is_never_read,bindingNameText(E.first($).name)):E.createDiagnosticForNode(j.parent.kind===235?j.parent:j,E.Diagnostics.All_variables_are_unused))}else{for(var q=0,G=$;q<G.length;q++){var ie=G[q];R(ie,0,E.createDiagnosticForNode(ie,E.Diagnostics._0_is_declared_but_its_value_is_never_read,bindingNameText(ie.name)))}}}))}function bindingNameText(N){switch(N.kind){case 79:return E.idText(N);case 200:case 199:return bindingNameText(E.cast(E.first(N.elements),E.isBindingElement).name);default:return E.Debug.assertNever(N)}}function isImportedDeclaration(E){return E.kind===265||E.kind===268||E.kind===266}function importClauseFromImported(E){return E.kind===265?E:E.kind===266?E.parent:E.parent.parent}function checkBlock(N){if(N.kind===233){checkGrammarStatementInAmbientContext(N)}if(E.isFunctionOrModuleBlock(N)){var R=qn;E.forEach(N.statements,checkSourceElement);qn=R}else{E.forEach(N.statements,checkSourceElement)}if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkCollisionWithArgumentsInGeneratedCode(N){if(Ye>=2||!E.hasRestParameter(N)||N.flags&8388608||E.nodeIsMissing(N.body)){return}E.forEach(N.parameters,(function(N){if(N.name&&!E.isBindingPattern(N.name)&&N.name.escapedText===xt.escapedName){errorSkippedOn("noEmit",N,E.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}}))}function needCollisionCheckForIdentifier(N,R,j){if((R===null||R===void 0?void 0:R.escapedText)!==j){return false}if(N.kind===165||N.kind===164||N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===291){return false}if(N.flags&8388608){return false}if(E.isImportClause(N)||E.isImportEqualsDeclaration(N)||E.isImportSpecifier(N)){if(E.isTypeOnlyImportOrExportDeclaration(N)){return false}}var $=E.getRootDeclaration(N);if(E.isParameter($)&&E.nodeIsMissing($.parent.body)){return false}return true}function checkIfThisIsCapturedInEnclosingScope(N){E.findAncestor(N,(function(R){if(getNodeCheckFlags(R)&4){var j=N.kind!==79;if(j){error(E.getNameOfDeclaration(N),E.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference)}else{error(N,E.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference)}return true}return false}))}function checkIfNewTargetIsCapturedInEnclosingScope(N){E.findAncestor(N,(function(R){if(getNodeCheckFlags(R)&8){var j=N.kind!==79;if(j){error(E.getNameOfDeclaration(N),E.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference)}else{error(N,E.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference)}return true}return false}))}function checkCollisionWithRequireExportsInGeneratedCode(N,R){if(Ze>=E.ModuleKind.ES2015){return}if(!R||!needCollisionCheckForIdentifier(N,R,"require")&&!needCollisionCheckForIdentifier(N,R,"exports")){return}if(E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)!==1){return}var j=getDeclarationContainer(N);if(j.kind===300&&E.isExternalOrCommonJsModule(j)){errorSkippedOn("noEmit",R,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,E.declarationNameToString(R),E.declarationNameToString(R))}}function checkCollisionWithGlobalPromiseInGeneratedCode(N,R){if(!R||Ye>=4||!needCollisionCheckForIdentifier(N,R,"Promise")){return}if(E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)!==1){return}var j=getDeclarationContainer(N);if(j.kind===300&&E.isExternalOrCommonJsModule(j)&&j.flags&2048){errorSkippedOn("noEmit",R,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,E.declarationNameToString(R),E.declarationNameToString(R))}}function recordPotentialCollisionWithWeakMapSetInGeneratedCode(E,N){if(Ye<=8&&(needCollisionCheckForIdentifier(E,N,"WeakMap")||needCollisionCheckForIdentifier(E,N,"WeakSet"))){yi.push(E)}}function checkWeakMapSetCollision(N){var R=E.getEnclosingBlockScopeContainer(N);if(getNodeCheckFlags(R)&67108864){E.Debug.assert(E.isNamedDeclaration(N)&&E.isIdentifier(N.name)&&typeof N.name.escapedText==="string","The target of a WeakMap/WeakSet collision check should be an identifier");errorSkippedOn("noEmit",N,E.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,N.name.escapedText)}}function recordPotentialCollisionWithReflectInGeneratedCode(E,N){if(N&&Ye>=2&&Ye<=8&&needCollisionCheckForIdentifier(E,N,"Reflect")){vi.push(E)}}function checkReflectCollision(N){var R=false;if(E.isClassExpression(N)){for(var j=0,$=N.members;j<$.length;j++){var q=$[j];if(getNodeCheckFlags(q)&134217728){R=true;break}}}else if(E.isFunctionExpression(N)){if(getNodeCheckFlags(N)&134217728){R=true}}else{var G=E.getEnclosingBlockScopeContainer(N);if(G&&getNodeCheckFlags(G)&134217728){R=true}}if(R){E.Debug.assert(E.isNamedDeclaration(N)&&E.isIdentifier(N.name),"The target of a Reflect collision check should be an identifier");errorSkippedOn("noEmit",N,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,E.declarationNameToString(N.name),"Reflect")}}function checkCollisionsForDeclarationName(N,R){if(!R)return;checkCollisionWithRequireExportsInGeneratedCode(N,R);checkCollisionWithGlobalPromiseInGeneratedCode(N,R);recordPotentialCollisionWithWeakMapSetInGeneratedCode(N,R);recordPotentialCollisionWithReflectInGeneratedCode(N,R);if(E.isClassLike(N)){checkTypeNameIsReserved(R,E.Diagnostics.Class_name_cannot_be_0);if(!(N.flags&8388608)){checkClassNameCollisionWithObject(R)}}else if(E.isEnumDeclaration(N)){checkTypeNameIsReserved(R,E.Diagnostics.Enum_name_cannot_be_0)}}function checkVarDeclaredNamesNotShadowed(N){if((E.getCombinedNodeFlags(N)&3)!==0||E.isParameterDeclaration(N)){return}if(N.kind===252&&!N.initializer){return}var R=getSymbolOfNode(N);if(R.flags&1){if(!E.isIdentifier(N.name))return E.Debug.fail();var j=resolveName(N,N.name.escapedText,3,undefined,undefined,false);if(j&&j!==R&&j.flags&2){if(getDeclarationNodeFlagsFromSymbol(j)&3){var $=E.getAncestor(j.valueDeclaration,253);var q=$.parent.kind===235&&$.parent.parent?$.parent.parent:undefined;var G=q&&(q.kind===233&&E.isFunctionLike(q.parent)||q.kind===260||q.kind===259||q.kind===300);if(!G){var ie=symbolToString(j);error(N,E.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,ie,ie)}}}}}function convertAutoToAny(E){return E===Wt?zt:E===gn?mn:E}function checkVariableLikeDeclaration(N){var R;checkDecorators(N);if(!E.isBindingElement(N)){checkSourceElement(N.type)}if(!N.name){return}if(N.name.kind===160){checkComputedPropertyName(N.name);if(N.initializer){checkExpressionCached(N.initializer)}}if(E.isBindingElement(N)){if(E.isObjectBindingPattern(N.parent)&&N.dotDotDotToken&&Ye<5){checkExternalEmitHelpers(N,4)}if(N.propertyName&&N.propertyName.kind===160){checkComputedPropertyName(N.propertyName)}var j=N.parent.parent;var $=getTypeForBindingElementParent(j);var q=N.propertyName||N.name;if($&&!E.isBindingPattern(q)){var G=getLiteralTypeFromPropertyName(q);if(isTypeUsableAsPropertyName(G)){var ie=getPropertyNameFromType(G);var ae=getPropertyOfType($,ie);if(ae){markPropertyAsReferenced(ae,undefined,false);checkPropertyAccessibility(N,!!j.initializer&&j.initializer.kind===106,false,$,ae)}}}}if(E.isBindingPattern(N.name)){if(N.name.kind===200&&Ye<2&&Xe.downlevelIteration){checkExternalEmitHelpers(N,512)}E.forEach(N.name.elements,checkSourceElement)}if(N.initializer&&E.isParameterDeclaration(N)&&E.nodeIsMissing(E.getContainingFunction(N).body)){error(N,E.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(E.isBindingPattern(N.name)){var ce=N.initializer&&N.parent.parent.kind!==241;var le=N.name.elements.length===0;if(ce||le){var _e=getWidenedTypeForVariableLikeDeclaration(N);if(ce){var Ee=checkExpressionCached(N.initializer);if(rt&&le){checkNonNullNonVoidType(Ee,N)}else{checkTypeAssignableToAndOptionallyElaborate(Ee,getWidenedTypeForVariableLikeDeclaration(N),N,N.initializer)}}if(le){if(E.isArrayBindingPattern(N.name)){checkIteratedTypeOrElementType(65,_e,Gt,N)}else if(rt){checkNonNullNonVoidType(_e,N)}}}return}var Te=getSymbolOfNode(N);if(Te.flags&2097152&&E.isRequireVariableDeclaration(N)){checkAliasSymbol(N);return}var we=convertAutoToAny(getTypeOfSymbol(Te));if(N===Te.valueDeclaration){var Ie=E.getEffectiveInitializer(N);if(Ie){var Ne=E.isInJSFile(N)&&E.isObjectLiteralExpression(Ie)&&(Ie.properties.length===0||E.isPrototypeAccess(N.name))&&!!((R=Te.exports)===null||R===void 0?void 0:R.size);if(!Ne&&N.parent.parent.kind!==241){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(Ie),we,N,Ie,undefined)}}if(Te.declarations&&Te.declarations.length>1){if(E.some(Te.declarations,(function(R){return R!==N&&E.isVariableLike(R)&&!areDeclarationFlagsIdentical(R,N)}))){error(N.name,E.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,E.declarationNameToString(N.name))}}}else{var Me=convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(N));if(we!==Jt&&Me!==Jt&&!isTypeIdenticalTo(we,Me)&&!(Te.flags&67108864)){errorNextVariableOrPropertyDeclarationMustHaveSameType(Te.valueDeclaration,we,N,Me)}if(N.initializer){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(N.initializer),Me,N,N.initializer,undefined)}if(Te.valueDeclaration&&!areDeclarationFlagsIdentical(N,Te.valueDeclaration)){error(N.name,E.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,E.declarationNameToString(N.name))}}if(N.kind!==165&&N.kind!==164){checkExportsOnMergedDeclarations(N);if(N.kind===252||N.kind===201){checkVarDeclaredNamesNotShadowed(N)}checkCollisionsForDeclarationName(N,N.name)}}function errorNextVariableOrPropertyDeclarationMustHaveSameType(N,R,j,$){var q=E.getNameOfDeclaration(j);var G=j.kind===165||j.kind===164?E.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:E.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2;var ie=E.declarationNameToString(q);var ae=error(q,G,ie,typeToString(R),typeToString($));if(N){E.addRelatedInfo(ae,E.createDiagnosticForNode(N,E.Diagnostics._0_was_also_declared_here,ie))}}function areDeclarationFlagsIdentical(N,R){if(N.kind===162&&R.kind===252||N.kind===252&&R.kind===162){return true}if(E.hasQuestionToken(N)!==E.hasQuestionToken(R)){return false}var j=8|16|256|128|64|32;return E.getSelectedEffectiveModifierFlags(N,j)===E.getSelectedEffectiveModifierFlags(R,j)}function checkVariableDeclaration(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkVariableDeclaration",{kind:N.kind,pos:N.pos,end:N.end});checkGrammarVariableDeclaration(N);checkVariableLikeDeclaration(N);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function checkBindingElement(E){checkGrammarBindingElement(E);return checkVariableLikeDeclaration(E)}function checkVariableStatement(N){if(!checkGrammarDecoratorsAndModifiers(N)&&!checkGrammarVariableDeclarationList(N.declarationList))checkGrammarForDisallowedLetOrConstStatement(N);E.forEach(N.declarationList.declarations,checkSourceElement)}function checkExpressionStatement(E){checkGrammarStatementInAmbientContext(E);checkExpression(E.expression)}function checkIfStatement(N){checkGrammarStatementInAmbientContext(N);var R=checkTruthinessExpression(N.expression);checkTestingKnownTruthyCallableOrAwaitableType(N.expression,R,N.thenStatement);checkSourceElement(N.thenStatement);if(N.thenStatement.kind===234){error(N.thenStatement,E.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement)}checkSourceElement(N.elseStatement)}function checkTestingKnownTruthyCallableOrAwaitableType(N,R,j){if(!rt)return;if(getFalsyFlags(R))return;var $=E.isBinaryExpression(N)?N.right:N;if(E.isPropertyAccessExpression($)&&E.isAssertionExpression(E.skipParentheses($.expression))){return}var q=E.isIdentifier($)?$:E.isPropertyAccessExpression($)?$.name:E.isBinaryExpression($)&&E.isIdentifier($.right)?$.right:undefined;var G=getSignaturesOfType(R,0);var ie=!!getAwaitedTypeOfPromise(R);if(G.length===0&&!ie){return}var ae=q&&getSymbolAtLocation(q);if(!ae&&!ie){return}var ce=ae&&E.isBinaryExpression(N.parent)&&isSymbolUsedInBinaryExpressionChain(N.parent,ae)||ae&&j&&isSymbolUsedInConditionBody(N,j,q,ae);if(!ce){if(ie){errorAndMaybeSuggestAwait($,true,E.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,getTypeNameForErrorDisplay(R))}else{error($,E.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead)}}}function isSymbolUsedInConditionBody(N,R,j,$){return!!E.forEachChild(R,(function check(R){if(E.isIdentifier(R)){var q=getSymbolAtLocation(R);if(q&&q===$){if(E.isIdentifier(N)){return true}var G=j.parent;var ie=R.parent;while(G&&ie){if(E.isIdentifier(G)&&E.isIdentifier(ie)||G.kind===108&&ie.kind===108){return getSymbolAtLocation(G)===getSymbolAtLocation(ie)}else if(E.isPropertyAccessExpression(G)&&E.isPropertyAccessExpression(ie)){if(getSymbolAtLocation(G.name)!==getSymbolAtLocation(ie.name)){return false}ie=ie.expression;G=G.expression}else if(E.isCallExpression(G)&&E.isCallExpression(ie)){ie=ie.expression;G=G.expression}else{return false}}}}return E.forEachChild(R,check)}))}function isSymbolUsedInBinaryExpressionChain(N,R){while(E.isBinaryExpression(N)&&N.operatorToken.kind===55){var j=E.forEachChild(N.right,(function visit(N){if(E.isIdentifier(N)){var j=getSymbolAtLocation(N);if(j&&j===R){return true}}return E.forEachChild(N,visit)}));if(j){return true}N=N.parent}return false}function checkDoStatement(E){checkGrammarStatementInAmbientContext(E);checkSourceElement(E.statement);checkTruthinessExpression(E.expression)}function checkWhileStatement(E){checkGrammarStatementInAmbientContext(E);checkTruthinessExpression(E.expression);checkSourceElement(E.statement)}function checkTruthinessOfType(N,R){if(N.flags&16384){error(R,E.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness)}return N}function checkTruthinessExpression(E,N){return checkTruthinessOfType(checkExpression(E,N),E)}function checkForStatement(N){if(!checkGrammarStatementInAmbientContext(N)){if(N.initializer&&N.initializer.kind===253){checkGrammarVariableDeclarationList(N.initializer)}}if(N.initializer){if(N.initializer.kind===253){E.forEach(N.initializer.declarations,checkVariableDeclaration)}else{checkExpression(N.initializer)}}if(N.condition)checkTruthinessExpression(N.condition);if(N.incrementor)checkExpression(N.incrementor);checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForOfStatement(N){checkGrammarForInOrForOfStatement(N);var R=E.getContainingFunctionOrClassStaticBlock(N);if(N.awaitModifier){if(R&&E.isClassStaticBlockDeclaration(R)){grammarErrorOnNode(N.awaitModifier,E.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block)}else{var j=E.getFunctionFlags(R);if((j&(4|2))===2&&Ye<99){checkExternalEmitHelpers(N,16384)}}}else if(Xe.downlevelIteration&&Ye<2){checkExternalEmitHelpers(N,256)}if(N.initializer.kind===253){checkForInOrForOfVariableDeclaration(N)}else{var $=N.initializer;var q=checkRightHandSideOfForOf(N);if($.kind===202||$.kind===203){checkDestructuringAssignment($,q||Jt)}else{var G=checkExpression($);checkReferenceExpression($,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access);if(q){checkTypeAssignableToAndOptionallyElaborate(q,G,$,N.expression)}}}checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForInStatement(N){checkGrammarForInOrForOfStatement(N);var R=getNonNullableTypeIfNeeded(checkExpression(N.expression));if(N.initializer.kind===253){var j=N.initializer.declarations[0];if(j&&E.isBindingPattern(j.name)){error(j.name,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}checkForInOrForOfVariableDeclaration(N)}else{var $=N.initializer;var q=checkExpression($);if($.kind===202||$.kind===203){error($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}else if(!isTypeAssignableTo(getIndexTypeOrString(R),q)){error($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}else{checkReferenceExpression($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access)}}if(R===dr||!isTypeAssignableToKind(R,67108864|58982400)){error(N.expression,E.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,typeToString(R))}checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForInOrForOfVariableDeclaration(E){var N=E.initializer;if(N.declarations.length>=1){var R=N.declarations[0];checkVariableDeclaration(R)}}function checkRightHandSideOfForOf(E){var N=E.awaitModifier?15:13;return checkIteratedTypeOrElementType(N,checkNonNullExpression(E.expression),Gt,E.expression)}function checkIteratedTypeOrElementType(E,N,R,j){if(isTypeAny(N)){return N}return getIteratedTypeOrElementType(E,N,R,j,true)||zt}function getIteratedTypeOrElementType(N,R,j,$,q){var G=(N&2)!==0;if(R===dr){reportTypeNotIterableError($,R,G);return undefined}var ie=Ye>=2;var ae=!ie&&Xe.downlevelIteration;var ce=Xe.noUncheckedIndexedAccess&&!!(N&128);if(ie||ae||G){var le=getIterationTypesOfIterable(R,N,ie?$:undefined);if(q){if(le){var _e=N&8?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:N&32?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:N&64?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:N&16?E.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:undefined;if(_e){checkTypeAssignableTo(j,le.nextType,$,_e)}}}if(le||ie){return ce?includeUndefinedInIndexSignature(le&&le.yieldType):le&&le.yieldType}}var Ee=R;var Te=false;var we=false;if(N&4){if(Ee.flags&1048576){var Ie=R.types;var Ne=E.filter(Ie,(function(E){return!(E.flags&402653316)}));if(Ne!==Ie){Ee=getUnionType(Ne,2)}}else if(Ee.flags&402653316){Ee=dr}we=Ee!==R;if(we){if(Ye<1){if($){error($,E.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher);Te=true}}if(Ee.flags&131072){return ce?includeUndefinedInIndexSignature(er):er}}}if(!isArrayLikeType(Ee)){if($&&!Te){var Me=!!(N&4)&&!we;var Le=getIterationDiagnosticDetails(Me,ae),Be=Le[0],je=Le[1];errorAndMaybeSuggestAwait($,je&&!!getAwaitedTypeOfPromise(Ee),Be,typeToString(Ee))}return we?ce?includeUndefinedInIndexSignature(er):er:undefined}var Ue=getIndexTypeOfType(Ee,tr);if(we&&Ue){if(Ue.flags&402653316&&!Xe.noUncheckedIndexedAccess){return er}return getUnionType(ce?[Ue,er,Gt]:[Ue,er],2)}return N&128?includeUndefinedInIndexSignature(Ue):Ue;function getIterationDiagnosticDetails(j,$){var q;if($){return j?[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]:[E.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]}var G=getIterationTypeOfIterable(N,0,R,undefined);if(G){return[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,false]}if(isES2015OrLaterIterable((q=R.symbol)===null||q===void 0?void 0:q.escapedName)){return[E.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,true]}return j?[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,true]:[E.Diagnostics.Type_0_is_not_an_array_type,true]}}function isES2015OrLaterIterable(E){switch(E){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return true}return false}function getIterationTypeOfIterable(E,N,R,j){if(isTypeAny(R)){return undefined}var $=getIterationTypesOfIterable(R,E,j);return $&&$[getIterationTypesKeyFromIterationTypeKind(N)]}function createIterationTypes(E,N,R){if(E===void 0){E=dr}if(N===void 0){N=dr}if(R===void 0){R=Ht}if(E.flags&67359327&&N.flags&(1|131072|2|16384|32768)&&R.flags&(1|131072|2|16384|32768)){var j=getTypeListId([E,N,R]);var $=Wr.get(j);if(!$){$={yieldType:E,returnType:N,nextType:R};Wr.set(j,$)}return $}return{yieldType:E,returnType:N,nextType:R}}function combineIterationTypes(N){var R;var j;var $;for(var q=0,G=N;q<G.length;q++){var ie=G[q];if(ie===undefined||ie===$r){continue}if(ie===Jr){return Jr}R=E.append(R,ie.yieldType);j=E.append(j,ie.returnType);$=E.append($,ie.nextType)}if(R||j||$){return createIterationTypes(R&&getUnionType(R),j&&getUnionType(j),$&&getIntersectionType($))}return $r}function getCachedIterationTypes(E,N){return E[N]}function setCachedIterationTypes(E,N,R){return E[N]=R}function getIterationTypesOfIterable(N,R,j){if(isTypeAny(N)){return Jr}if(!(N.flags&1048576)){var $=getIterationTypesOfIterableWorker(N,R,j);if($===$r){if(j){reportTypeNotIterableError(j,N,!!(R&2))}return undefined}return $}var q=R&2?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable";var G=getCachedIterationTypes(N,q);if(G)return G===$r?undefined:G;var ie;for(var ae=0,ce=N.types;ae<ce.length;ae++){var le=ce[ae];var _e=getIterationTypesOfIterableWorker(le,R,j);if(_e===$r){if(j){reportTypeNotIterableError(j,N,!!(R&2))}setCachedIterationTypes(N,q,$r);return undefined}else{ie=E.append(ie,_e)}}var Ee=ie?combineIterationTypes(ie):$r;setCachedIterationTypes(N,q,Ee);return Ee===$r?undefined:Ee}function getAsyncFromSyncIterationTypes(E,N){if(E===$r)return $r;if(E===Jr)return Jr;var R=E.yieldType,j=E.returnType,$=E.nextType;return createIterationTypes(getAwaitedType(R,N)||zt,getAwaitedType(j,N)||zt,$)}function getIterationTypesOfIterableWorker(E,N,R){if(isTypeAny(E)){return Jr}if(N&2){var j=getIterationTypesOfIterableCached(E,Hr)||getIterationTypesOfIterableFast(E,Hr);if(j){return j}}if(N&1){var j=getIterationTypesOfIterableCached(E,Gr)||getIterationTypesOfIterableFast(E,Gr);if(j){if(N&2){if(j!==$r){return setCachedIterationTypes(E,"iterationTypesOfAsyncIterable",getAsyncFromSyncIterationTypes(j,R))}}else{return j}}}if(N&2){var j=getIterationTypesOfIterableSlow(E,Hr,R);if(j!==$r){return j}}if(N&1){var j=getIterationTypesOfIterableSlow(E,Gr,R);if(j!==$r){if(N&2){return setCachedIterationTypes(E,"iterationTypesOfAsyncIterable",j?getAsyncFromSyncIterationTypes(j,R):$r)}else{return j}}}return $r}function getIterationTypesOfIterableCached(E,N){return getCachedIterationTypes(E,N.iterableCacheKey)}function getIterationTypesOfGlobalIterableType(E,N){var R=getIterationTypesOfIterableCached(E,N)||getIterationTypesOfIterableSlow(E,N,undefined);return R===$r?qr:R}function getIterationTypesOfIterableFast(E,N){var R;if(isReferenceToType(E,R=N.getGlobalIterableType(false))||isReferenceToType(E,R=N.getGlobalIterableIteratorType(false))){var j=getTypeArguments(E)[0];var $=getIterationTypesOfGlobalIterableType(R,N),q=$.returnType,G=$.nextType;return setCachedIterationTypes(E,N.iterableCacheKey,createIterationTypes(j,q,G))}if(isReferenceToType(E,N.getGlobalGeneratorType(false))){var ie=getTypeArguments(E),j=ie[0],q=ie[1],G=ie[2];return setCachedIterationTypes(E,N.iterableCacheKey,createIterationTypes(j,q,G))}}function getPropertyNameForKnownSymbolName(N){var R=getGlobalESSymbolConstructorSymbol(false);var j=R&&getTypeOfPropertyOfType(getTypeOfSymbol(R),E.escapeLeadingUnderscores(N));return j&&isTypeUsableAsPropertyName(j)?getPropertyNameFromType(j):"__@"+N}function getIterationTypesOfIterableSlow(N,R,j){var $;var q=getPropertyOfType(N,getPropertyNameForKnownSymbolName(R.iteratorSymbolName));var G=q&&!(q.flags&16777216)?getTypeOfSymbol(q):undefined;if(isTypeAny(G)){return setCachedIterationTypes(N,R.iterableCacheKey,Jr)}var ie=G?getSignaturesOfType(G,0):undefined;if(!E.some(ie)){return setCachedIterationTypes(N,R.iterableCacheKey,$r)}var ae=getIntersectionType(E.map(ie,getReturnTypeOfSignature));var ce=($=getIterationTypesOfIterator(ae,R,j))!==null&&$!==void 0?$:$r;return setCachedIterationTypes(N,R.iterableCacheKey,ce)}function reportTypeNotIterableError(N,R,j){var $=j?E.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:E.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;errorAndMaybeSuggestAwait(N,!!getAwaitedTypeOfPromise(R),$,typeToString(R))}function getIterationTypesOfIterator(E,N,R){if(isTypeAny(E)){return Jr}var j=getIterationTypesOfIteratorCached(E,N)||getIterationTypesOfIteratorFast(E,N)||getIterationTypesOfIteratorSlow(E,N,R);return j===$r?undefined:j}function getIterationTypesOfIteratorCached(E,N){return getCachedIterationTypes(E,N.iteratorCacheKey)}function getIterationTypesOfIteratorFast(E,N){var R=N.getGlobalIterableIteratorType(false);if(isReferenceToType(E,R)){var j=getTypeArguments(E)[0];var $=getIterationTypesOfIteratorCached(R,N)||getIterationTypesOfIteratorSlow(R,N,undefined);var q=$===$r?qr:$,G=q.returnType,ie=q.nextType;return setCachedIterationTypes(E,N.iteratorCacheKey,createIterationTypes(j,G,ie))}if(isReferenceToType(E,N.getGlobalIteratorType(false))||isReferenceToType(E,N.getGlobalGeneratorType(false))){var ae=getTypeArguments(E),j=ae[0],G=ae[1],ie=ae[2];return setCachedIterationTypes(E,N.iteratorCacheKey,createIterationTypes(j,G,ie))}}function isIteratorResult(E,N){var R=getTypeOfPropertyOfType(E,"done")||nr;return isTypeAssignableTo(N===0?nr:ar,R)}function isYieldIteratorResult(E){return isIteratorResult(E,0)}function isReturnIteratorResult(E){return isIteratorResult(E,1)}function getIterationTypesOfIteratorResult(E){if(isTypeAny(E)){return Jr}var N=getCachedIterationTypes(E,"iterationTypesOfIteratorResult");if(N){return N}if(isReferenceToType(E,getGlobalIteratorYieldResultType(false))){var R=getTypeArguments(E)[0];return setCachedIterationTypes(E,"iterationTypesOfIteratorResult",createIterationTypes(R,undefined,undefined))}if(isReferenceToType(E,getGlobalIteratorReturnResultType(false))){var j=getTypeArguments(E)[0];return setCachedIterationTypes(E,"iterationTypesOfIteratorResult",createIterationTypes(undefined,j,undefined))}var $=filterType(E,isYieldIteratorResult);var q=$!==dr?getTypeOfPropertyOfType($,"value"):undefined;var G=filterType(E,isReturnIteratorResult);var ie=G!==dr?getTypeOfPropertyOfType(G,"value"):undefined;if(!q&&!ie){return setCachedIterationTypes(E,"iterationTypesOfIteratorResult",$r)}return setCachedIterationTypes(E,"iterationTypesOfIteratorResult",createIterationTypes(q,ie||ur,undefined))}function getIterationTypesOfMethod(N,R,j,$){var q,G,ie,ae;var ce=getPropertyOfType(N,j);if(!ce&&j!=="next"){return undefined}var le=ce&&!(j==="next"&&ce.flags&16777216)?j==="next"?getTypeOfSymbol(ce):getTypeWithFacts(getTypeOfSymbol(ce),2097152):undefined;if(isTypeAny(le)){return j==="next"?Jr:Vr}var _e=le?getSignaturesOfType(le,0):E.emptyArray;if(_e.length===0){if($){var Ee=j==="next"?R.mustHaveANextMethodDiagnostic:R.mustBeAMethodDiagnostic;error($,Ee,j)}return j==="next"?Jr:undefined}if((le===null||le===void 0?void 0:le.symbol)&&_e.length===1){var Te=R.getGlobalGeneratorType(false);var we=R.getGlobalIteratorType(false);var Ie=((G=(q=Te.symbol)===null||q===void 0?void 0:q.members)===null||G===void 0?void 0:G.get(j))===le.symbol;var Ne=!Ie&&((ae=(ie=we.symbol)===null||ie===void 0?void 0:ie.members)===null||ae===void 0?void 0:ae.get(j))===le.symbol;if(Ie||Ne){var Me=Ie?Te:we;var Le=le.mapper;return createIterationTypes(getMappedType(Me.typeParameters[0],Le),getMappedType(Me.typeParameters[1],Le),j==="next"?getMappedType(Me.typeParameters[2],Le):undefined)}}var Be;var je;for(var Ue=0,ze=_e;Ue<ze.length;Ue++){var We=ze[Ue];if(j!=="throw"&&E.some(We.parameters)){Be=E.append(Be,getTypeAtPosition(We,0))}je=E.append(je,getReturnTypeOfSignature(We))}var Je;var Ve;if(j!=="throw"){var qe=Be?getUnionType(Be):Ht;if(j==="next"){Ve=qe}else if(j==="return"){var He=R.resolveIterationType(qe,$)||zt;Je=E.append(Je,He)}}var Ge;var Ke=je?getIntersectionType(je):dr;var Qe=R.resolveIterationType(Ke,$)||zt;var Xe=getIterationTypesOfIteratorResult(Qe);if(Xe===$r){if($){error($,R.mustHaveAValueDiagnostic,j)}Ge=zt;Je=E.append(Je,zt)}else{Ge=Xe.yieldType;Je=E.append(Je,Xe.returnType)}return createIterationTypes(Ge,getUnionType(Je),Ve)}function getIterationTypesOfIteratorSlow(E,N,R){var j=combineIterationTypes([getIterationTypesOfMethod(E,N,"next",R),getIterationTypesOfMethod(E,N,"return",R),getIterationTypesOfMethod(E,N,"throw",R)]);return setCachedIterationTypes(E,N.iteratorCacheKey,j)}function getIterationTypeOfGeneratorFunctionReturnType(E,N,R){if(isTypeAny(N)){return undefined}var j=getIterationTypesOfGeneratorFunctionReturnType(N,R);return j&&j[getIterationTypesKeyFromIterationTypeKind(E)]}function getIterationTypesOfGeneratorFunctionReturnType(E,N){if(isTypeAny(E)){return Jr}var R=N?2:1;var j=N?Hr:Gr;return getIterationTypesOfIterable(E,R,undefined)||getIterationTypesOfIterator(E,j,undefined)}function checkBreakOrContinueStatement(E){if(!checkGrammarStatementInAmbientContext(E))checkGrammarBreakOrContinueStatement(E)}function unwrapReturnType(E,N){var R,j;var $=!!(N&1);var q=!!(N&2);return $?(R=getIterationTypeOfGeneratorFunctionReturnType(1,E,q))!==null&&R!==void 0?R:Jt:q?(j=getAwaitedType(E))!==null&&j!==void 0?j:Jt:E}function isUnwrappedReturnTypeVoidOrAny(N,R){var j=unwrapReturnType(R,E.getFunctionFlags(N));return!!j&&maybeTypeOfKind(j,16384|3)}function checkReturnStatement(N){var R;if(checkGrammarStatementInAmbientContext(N)){return}var j=E.getContainingFunctionOrClassStaticBlock(N);if(j&&E.isClassStaticBlockDeclaration(j)){grammarErrorOnFirstToken(N,E.Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block);return}if(!j){grammarErrorOnFirstToken(N,E.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body);return}var $=getSignatureFromDeclaration(j);var q=getReturnTypeOfSignature($);var G=E.getFunctionFlags(j);if(rt||N.expression||q.flags&131072){var ie=N.expression?checkExpressionCached(N.expression):Gt;if(j.kind===171){if(N.expression){error(N,E.Diagnostics.Setters_cannot_return_a_value)}}else if(j.kind===169){if(N.expression&&!checkTypeAssignableToAndOptionallyElaborate(ie,q,N,N.expression)){error(N,E.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class)}}else if(getReturnTypeFromAnnotation(j)){var ae=(R=unwrapReturnType(q,G))!==null&&R!==void 0?R:q;var ce=G&2?checkAwaitedType(ie,N,E.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):ie;if(ae){checkTypeAssignableToAndOptionallyElaborate(ce,ae,N,N.expression)}}}else if(j.kind!==169&&Xe.noImplicitReturns&&!isUnwrappedReturnTypeVoidOrAny(j,q)){error(N,E.Diagnostics.Not_all_code_paths_return_a_value)}}function checkWithStatement(N){if(!checkGrammarStatementInAmbientContext(N)){if(N.flags&32768){grammarErrorOnFirstToken(N,E.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block)}}checkExpression(N.expression);var R=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(R)){var j=E.getSpanOfTokenAtPosition(R,N.pos).start;var $=N.statement.pos;grammarErrorAtPos(R,j,$-j,E.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function checkSwitchStatement(N){checkGrammarStatementInAmbientContext(N);var R;var j=false;var $=checkExpression(N.expression);var q=isLiteralType($);E.forEach(N.caseBlock.clauses,(function(N){if(N.kind===288&&!j){if(R===undefined){R=N}else{grammarErrorOnNode(N,E.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement);j=true}}if(ie&&N.kind===287){var G=checkExpression(N.expression);var ae=isLiteralType(G);var ce=$;if(!ae||!q){G=ae?getBaseTypeOfLiteralType(G):G;ce=getBaseTypeOfLiteralType($)}if(!isTypeEqualityComparableTo(ce,G)){checkTypeComparableTo(G,ce,N.expression,undefined)}}E.forEach(N.statements,checkSourceElement);if(Xe.noFallthroughCasesInSwitch&&N.fallthroughFlowNode&&isReachableFlowNode(N.fallthroughFlowNode)){error(N,E.Diagnostics.Fallthrough_case_in_switch)}}));if(N.caseBlock.locals){registerForUnusedIdentifiersCheck(N.caseBlock)}}function checkLabeledStatement(N){if(!checkGrammarStatementInAmbientContext(N)){E.findAncestor(N.parent,(function(R){if(E.isFunctionLike(R)){return"quit"}if(R.kind===248&&R.label.escapedText===N.label.escapedText){grammarErrorOnNode(N.label,E.Diagnostics.Duplicate_label_0,E.getTextOfNode(N.label));return true}return false}))}checkSourceElement(N.statement)}function checkThrowStatement(N){if(!checkGrammarStatementInAmbientContext(N)){if(E.isIdentifier(N.expression)&&!N.expression.escapedText){grammarErrorAfterFirstToken(N,E.Diagnostics.Line_break_not_permitted_here)}}if(N.expression){checkExpression(N.expression)}}function checkTryStatement(N){checkGrammarStatementInAmbientContext(N);checkBlock(N.tryBlock);var R=N.catchClause;if(R){if(R.variableDeclaration){var j=R.variableDeclaration;var $=E.getEffectiveTypeAnnotationNode(E.getRootDeclaration(j));if($){var q=getTypeForVariableLikeDeclaration(j,false);if(q&&!(q.flags&3)){grammarErrorOnFirstToken($,E.Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}}else if(j.initializer){grammarErrorOnFirstToken(j.initializer,E.Diagnostics.Catch_clause_variable_cannot_have_an_initializer)}else{var G=R.block.locals;if(G){E.forEachKey(R.locals,(function(N){var R=G.get(N);if((R===null||R===void 0?void 0:R.valueDeclaration)&&(R.flags&2)!==0){grammarErrorOnNode(R.valueDeclaration,E.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,N)}}))}}}checkBlock(R.block)}if(N.finallyBlock){checkBlock(N.finallyBlock)}}function checkIndexConstraints(N,R){var j=getIndexInfosOfType(N);if(j.length===0){return}for(var $=0,q=getPropertiesOfObjectType(N);$<q.length;$++){var G=q[$];if(!(R&&G.flags&4194304)){checkIndexConstraintForProperty(N,G,getLiteralTypeFromProperty(G,8576,true),getNonMissingTypeOfSymbol(G))}}var ie=N.symbol.valueDeclaration;if(ie&&E.isClassLike(ie)){for(var ae=0,ce=ie.members;ae<ce.length;ae++){var le=ce[ae];if(!E.isStatic(le)&&!hasBindableName(le)){var _e=getSymbolOfNode(le);checkIndexConstraintForProperty(N,_e,getTypeOfExpression(le.name.expression),getNonMissingTypeOfSymbol(_e))}}}if(j.length>1){for(var Ee=0,Te=j;Ee<Te.length;Ee++){var we=Te[Ee];checkIndexConstraintForIndexSignature(N,we)}}}function checkIndexConstraintForProperty(N,R,j,$){var q=R.valueDeclaration;var G=E.getNameOfDeclaration(q);if(G&&E.isPrivateIdentifier(G)){return}var ie=getApplicableIndexInfos(N,j);var ae=E.getObjectFlags(N)&2?E.getDeclarationOfKind(N.symbol,256):undefined;var ce=q&&q.kind===219||G&&G.kind===160||getParentOfSymbol(R)===N.symbol?q:undefined;var _loop_27=function(j){var q=j.declaration&&getParentOfSymbol(getSymbolOfNode(j.declaration))===N.symbol?j.declaration:undefined;var G=ce||q||(ae&&!E.some(getBaseTypes(N),(function(E){return!!getPropertyOfObjectType(E,R.escapedName)&&!!getIndexTypeOfType(E,j.keyType)}))?ae:undefined);if(G&&!isTypeAssignableTo($,j.type)){error(G,E.Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,symbolToString(R),typeToString($),typeToString(j.keyType),typeToString(j.type))}};for(var le=0,_e=ie;le<_e.length;le++){var Ee=_e[le];_loop_27(Ee)}}function checkIndexConstraintForIndexSignature(N,R){var j=R.declaration;var $=getApplicableIndexInfos(N,R.keyType);var q=E.getObjectFlags(N)&2?E.getDeclarationOfKind(N.symbol,256):undefined;var G=j&&getParentOfSymbol(getSymbolOfNode(j))===N.symbol?j:undefined;var _loop_28=function(j){if(j===R)return"continue";var $=j.declaration&&getParentOfSymbol(getSymbolOfNode(j.declaration))===N.symbol?j.declaration:undefined;var ie=G||$||(q&&!E.some(getBaseTypes(N),(function(E){return!!getIndexInfoOfType(E,R.keyType)&&!!getIndexTypeOfType(E,j.keyType)}))?q:undefined);if(ie&&!isTypeAssignableTo(R.type,j.type)){error(ie,E.Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3,typeToString(R.keyType),typeToString(R.type),typeToString(j.keyType),typeToString(j.type))}};for(var ie=0,ae=$;ie<ae.length;ie++){var ce=ae[ie];_loop_28(ce)}}function checkTypeNameIsReserved(E,N){switch(E.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":error(E,N,E.escapedText)}}function checkClassNameCollisionWithObject(N){if(Ye===1&&N.escapedText==="Object"&&Ze<E.ModuleKind.ES2015){error(N,E.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,E.ModuleKind[Ze])}}function checkTypeParameters(N){if(N){var R=false;for(var j=0;j<N.length;j++){var $=N[j];checkTypeParameter($);if(ie){if($.default){R=true;checkTypeParametersNotReferenced($.default,N,j)}else if(R){error($,E.Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters)}for(var q=0;q<j;q++){if(N[q].symbol===$.symbol){error($.name,E.Diagnostics.Duplicate_identifier_0,E.declarationNameToString($.name))}}}}}}function checkTypeParametersNotReferenced(N,R,j){visit(N);function visit(N){if(N.kind===176){var $=getTypeFromTypeReference(N);if($.flags&262144){for(var q=j;q<R.length;q++){if($.symbol===getSymbolOfNode(R[q])){error(N,E.Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}}}}E.forEachChild(N,visit)}}function checkTypeParameterListsIdentical(N){if(N.declarations&&N.declarations.length===1){return}var R=getSymbolLinks(N);if(!R.typeParametersChecked){R.typeParametersChecked=true;var j=getClassOrInterfaceDeclarationsOfSymbol(N);if(!j||j.length<=1){return}var $=getDeclaredTypeOfSymbol(N);if(!areTypeParametersIdentical(j,$.localTypeParameters)){var q=symbolToString(N);for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];error(ae.name,E.Diagnostics.All_declarations_of_0_must_have_identical_type_parameters,q)}}}}function areTypeParametersIdentical(N,R){var j=E.length(R);var $=getMinTypeArgumentCount(R);for(var q=0,G=N;q<G.length;q++){var ie=G[q];var ae=E.getEffectiveTypeParameterDeclarations(ie);var ce=ae.length;if(ce<$||ce>j){return false}for(var le=0;le<ce;le++){var _e=ae[le];var Ee=R[le];if(_e.name.escapedText!==Ee.symbol.escapedName){return false}var Te=E.getEffectiveConstraintOfTypeParameter(_e);var we=Te&&getTypeFromTypeNode(Te);var Ie=getConstraintOfTypeParameter(Ee);if(we&&Ie&&!isTypeIdenticalTo(we,Ie)){return false}var Ne=_e.default&&getTypeFromTypeNode(_e.default);var Me=getDefaultFromTypeParameter(Ee);if(Ne&&Me&&!isTypeIdenticalTo(Ne,Me)){return false}}}return true}function checkClassExpression(E){checkClassLikeDeclaration(E);checkNodeDeferred(E);return getTypeOfSymbol(getSymbolOfNode(E))}function checkClassExpressionDeferred(N){E.forEach(N.members,checkSourceElement);registerForUnusedIdentifiersCheck(N)}function checkClassDeclaration(N){if(E.some(N.decorators)&&E.some(N.members,(function(N){return E.hasStaticModifier(N)&&E.isPrivateIdentifierClassElementDeclaration(N)}))){grammarErrorOnNode(N.decorators[0],E.Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator)}if(!N.name&&!E.hasSyntacticModifier(N,512)){grammarErrorOnFirstToken(N,E.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name)}checkClassLikeDeclaration(N);E.forEach(N.members,checkSourceElement);registerForUnusedIdentifiersCheck(N)}function checkClassLikeDeclaration(N){checkGrammarClassLikeDeclaration(N);checkDecorators(N);checkCollisionsForDeclarationName(N,N.name);checkTypeParameters(E.getEffectiveTypeParameterDeclarations(N));checkExportsOnMergedDeclarations(N);var R=getSymbolOfNode(N);var j=getDeclaredTypeOfSymbol(R);var $=getTypeWithThisArgument(j);var q=getTypeOfSymbol(R);checkTypeParameterListsIdentical(R);checkFunctionOrConstructorSymbol(R);checkClassForDuplicateDeclarations(N);var G=!!(N.flags&8388608);if(!G){checkClassForStaticPropertyNameConflicts(N)}var ae=E.getEffectiveBaseTypeNode(N);if(ae){E.forEach(ae.typeArguments,checkSourceElement);if(Ye<2){checkExternalEmitHelpers(ae.parent,1)}var ce=E.getClassExtendsHeritageElement(N);if(ce&&ce!==ae){checkExpression(ce.expression)}var le=getBaseTypes(j);if(le.length&&ie){var _e=le[0];var Ee=getBaseConstructorTypeOfClass(j);var Te=getApparentType(Ee);checkBaseTypeAccessibility(Te,ae);checkSourceElement(ae.expression);if(E.some(ae.typeArguments)){E.forEach(ae.typeArguments,checkSourceElement);for(var we=0,Ie=getConstructorsForTypeArguments(Te,ae.typeArguments,ae);we<Ie.length;we++){var Ne=Ie[we];if(!checkTypeArgumentConstraints(ae,Ne.typeParameters)){break}}}var Me=getTypeWithThisArgument(_e,j.thisType);if(!checkTypeAssignableTo($,Me,undefined)){issueMemberSpecificError(N,$,Me,E.Diagnostics.Class_0_incorrectly_extends_base_class_1)}else{checkTypeAssignableTo(q,getTypeWithoutSignatures(Te),N.name||N,E.Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1)}if(Ee.flags&8650752){if(!isMixinConstructorType(q)){error(N.name||N,E.Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)}else{var Le=getSignaturesOfType(Ee,1);if(Le.some((function(E){return E.flags&4}))&&!E.hasSyntacticModifier(N,128)){error(N.name||N,E.Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract)}}}if(!(Te.symbol&&Te.symbol.flags&32)&&!(Ee.flags&8650752)){var Be=getInstantiatedConstructorsForTypeArguments(Te,ae.typeArguments,ae);if(E.forEach(Be,(function(E){return!isJSConstructor(E.declaration)&&!isTypeIdenticalTo(getReturnTypeOfSignature(E),_e)}))){error(ae.expression,E.Diagnostics.Base_constructors_must_all_have_the_same_return_type)}}checkKindsOfPropertyMemberOverrides(j,_e)}}checkMembersForMissingOverrideModifier(N,j,$,q);var je=E.getEffectiveImplementsTypeNodes(N);if(je){for(var Ue=0,ze=je;Ue<ze.length;Ue++){var We=ze[Ue];if(!E.isEntityNameExpression(We.expression)||E.isOptionalChain(We.expression)){error(We.expression,E.Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments)}checkTypeReferenceNode(We);if(ie){var Je=getReducedType(getTypeFromTypeNode(We));if(Je!==Jt){if(isValidBaseType(Je)){var Ve=Je.symbol&&Je.symbol.flags&32?E.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:E.Diagnostics.Class_0_incorrectly_implements_interface_1;var Me=getTypeWithThisArgument(Je,j.thisType);if(!checkTypeAssignableTo($,Me,undefined)){issueMemberSpecificError(N,$,Me,Ve)}}else{error(We,E.Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}}}if(ie){checkIndexConstraints(j);checkIndexConstraints(q,true);checkTypeForDuplicateIndexSignatures(N);checkPropertyInitialization(N)}}function checkMembersForMissingOverrideModifier(N,R,j,$){var q=!!(N.flags&8388608);var G=E.getEffectiveBaseTypeNode(N);var ie=G&&getBaseTypes(R);var ae=(ie===null||ie===void 0?void 0:ie.length)?getTypeWithThisArgument(E.first(ie),R.thisType):undefined;var ce=getBaseConstructorTypeOfClass(R);var _loop_29=function(N){if(E.hasAmbientModifier(N)){return"continue"}if(E.isConstructorDeclaration(N)){E.forEach(N.parameters,(function(R){if(E.isParameterPropertyDeclaration(R,N)){checkClassMember(R,true)}}))}checkClassMember(N)};for(var le=0,_e=N.members;le<_e.length;le++){var Ee=_e[le];_loop_29(Ee)}function checkClassMember(N,G){var ie=E.hasOverrideModifier(N);var le=E.isStatic(N);if(ae&&(ie||Xe.noImplicitOverride)){var _e=N.name&&getSymbolAtLocation(N.name)||getSymbolAtLocation(N);if(!_e){return}var Ee=le?$:j;var Te=le?ce:ae;var we=getPropertyOfType(Ee,_e.escapedName);var Ie=getPropertyOfType(Te,_e.escapedName);var Ne=typeToString(ae);if(we&&!Ie&&ie){var Me=getSuggestedSymbolForNonexistentClassMember(E.symbolName(_e),Te);Me?error(N,E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,Ne,symbolToString(Me)):error(N,E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,Ne)}else if(we&&(Ie===null||Ie===void 0?void 0:Ie.declarations)&&Xe.noImplicitOverride&&!q){var Le=E.some(Ie.declarations,(function(N){return E.hasAbstractModifier(N)}));if(ie){return}if(!Le){var Be=G?E.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:E.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;error(N,Be,Ne)}else if(E.hasAbstractModifier(N)&&Le){error(N,E.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,Ne)}}}else if(ie){var je=typeToString(R);error(N,E.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,je)}}}function issueMemberSpecificError(N,R,j,$){var q=false;var _loop_30=function(N){if(E.isStatic(N)){return"continue"}var $=N.name&&getSymbolAtLocation(N.name)||getSymbolAtLocation(N);if($){var G=getPropertyOfType(R,$.escapedName);var ie=getPropertyOfType(j,$.escapedName);if(G&&ie){var rootChain=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,symbolToString($),typeToString(R),typeToString(j))};if(!checkTypeAssignableTo(getTypeOfSymbol(G),getTypeOfSymbol(ie),N.name||N,undefined,rootChain)){q=true}}}};for(var G=0,ie=N.members;G<ie.length;G++){var ae=ie[G];_loop_30(ae)}if(!q){checkTypeAssignableTo(R,j,N.name||N,$)}}function checkBaseTypeAccessibility(N,R){var j=getSignaturesOfType(N,1);if(j.length){var $=j[0].declaration;if($&&E.hasEffectiveModifier($,8)){var q=E.getClassLikeDeclarationOfSymbol(N.symbol);if(!isNodeWithinClass(R,q)){error(R,E.Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,getFullyQualifiedName(N.symbol))}}}}function getTargetSymbol(N){return E.getCheckFlags(N)&1?N.target:N}function getClassOrInterfaceDeclarationsOfSymbol(N){return E.filter(N.declarations,(function(E){return E.kind===255||E.kind===256}))}function checkKindsOfPropertyMemberOverrides(N,R){var j,$;var q=getPropertiesOfType(R);e:for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];var ce=getTargetSymbol(ae);if(ce.flags&4194304){continue}var le=getPropertyOfObjectType(N,ce.escapedName);if(!le){continue}var _e=getTargetSymbol(le);var Ee=E.getDeclarationModifierFlagsFromSymbol(ce);E.Debug.assert(!!_e,"derived should point to something, even if it is the base class' declaration.");if(_e===ce){var Te=E.getClassLikeDeclarationOfSymbol(N.symbol);if(Ee&128&&(!Te||!E.hasSyntacticModifier(Te,128))){for(var we=0,Ie=getBaseTypes(N);we<Ie.length;we++){var Ne=Ie[we];if(Ne===R)continue;var Me=getPropertyOfObjectType(Ne,ce.escapedName);var Le=Me&&getTargetSymbol(Me);if(Le&&Le!==ce){continue e}}if(Te.kind===224){error(Te,E.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,symbolToString(ae),typeToString(R))}else{error(Te,E.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,typeToString(N),symbolToString(ae),typeToString(R))}}}else{var Be=E.getDeclarationModifierFlagsFromSymbol(_e);if(Ee&8||Be&8){continue}var je=void 0;var Ue=ce.flags&98308;var ze=_e.flags&98308;if(Ue&&ze){if(Ee&128&&!(ce.valueDeclaration&&E.isPropertyDeclaration(ce.valueDeclaration)&&ce.valueDeclaration.initializer)||ce.valueDeclaration&&ce.valueDeclaration.parent.kind===256||_e.valueDeclaration&&E.isBinaryExpression(_e.valueDeclaration)){continue}var We=Ue!==4&&ze===4;var Je=Ue===4&&ze!==4;if(We||Je){var Ve=We?E.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:E.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;error(E.getNameOfDeclaration(_e.valueDeclaration)||_e.valueDeclaration,Ve,symbolToString(ce),typeToString(R),typeToString(N))}else if(et){var qe=(j=_e.declarations)===null||j===void 0?void 0:j.find((function(E){return E.kind===165&&!E.initializer}));if(qe&&!(_e.flags&33554432)&&!(Ee&128)&&!(Be&128)&&!(($=_e.declarations)===null||$===void 0?void 0:$.some((function(E){return!!(E.flags&8388608)})))){var He=findConstructorDeclaration(E.getClassLikeDeclarationOfSymbol(N.symbol));var Ge=qe.name;if(qe.exclamationToken||!He||!E.isIdentifier(Ge)||!rt||!isPropertyInitializedInConstructor(Ge,N,He)){var Ke=E.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;error(E.getNameOfDeclaration(_e.valueDeclaration)||_e.valueDeclaration,Ke,symbolToString(ce),typeToString(R))}}}continue}else if(isPrototypeProperty(ce)){if(isPrototypeProperty(_e)||_e.flags&4){continue}else{E.Debug.assert(!!(_e.flags&98304));je=E.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}}else if(ce.flags&98304){je=E.Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function}else{je=E.Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function}error(E.getNameOfDeclaration(_e.valueDeclaration)||_e.valueDeclaration,je,typeToString(R),symbolToString(ce),typeToString(N))}}}function getNonInterhitedProperties(N,R,j){if(!E.length(R)){return j}var $=new E.Map;E.forEach(j,(function(E){$.set(E.escapedName,E)}));for(var q=0,G=R;q<G.length;q++){var ie=G[q];var ae=getPropertiesOfType(getTypeWithThisArgument(ie,N.thisType));for(var ce=0,le=ae;ce<le.length;ce++){var _e=le[ce];var Ee=$.get(_e.escapedName);if(Ee&&!isPropertyIdenticalTo(Ee,_e)){$.delete(_e.escapedName)}}}return E.arrayFrom($.values())}function checkInheritedPropertiesAreIdentical(N,R){var j=getBaseTypes(N);if(j.length<2){return true}var $=new E.Map;E.forEach(resolveDeclaredMembers(N).declaredProperties,(function(E){$.set(E.escapedName,{prop:E,containingType:N})}));var q=true;for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];var ce=getPropertiesOfType(getTypeWithThisArgument(ae,N.thisType));for(var le=0,_e=ce;le<_e.length;le++){var Ee=_e[le];var Te=$.get(Ee.escapedName);if(!Te){$.set(Ee.escapedName,{prop:Ee,containingType:ae})}else{var we=Te.containingType!==N;if(we&&!isPropertyIdenticalTo(Te.prop,Ee)){q=false;var Ie=typeToString(Te.containingType);var Ne=typeToString(ae);var Me=E.chainDiagnosticMessages(undefined,E.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,symbolToString(Ee),Ie,Ne);Me=E.chainDiagnosticMessages(Me,E.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,typeToString(N),Ie,Ne);xi.add(E.createDiagnosticForNodeFromMessageChain(R,Me))}}}}return q}function checkPropertyInitialization(N){if(!rt||!ot||N.flags&8388608){return}var R=findConstructorDeclaration(N);for(var j=0,$=N.members;j<$.length;j++){var q=$[j];if(E.getEffectiveModifierFlags(q)&2){continue}if(!E.isStatic(q)&&isPropertyWithoutInitializer(q)){var G=q.name;if(E.isIdentifier(G)||E.isPrivateIdentifier(G)){var ie=getTypeOfSymbol(getSymbolOfNode(q));if(!(ie.flags&3||getFalsyFlags(ie)&32768)){if(!R||!isPropertyInitializedInConstructor(G,ie,R)){error(q.name,E.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,E.declarationNameToString(G))}}}}}}function isPropertyWithoutInitializer(N){return N.kind===165&&!E.hasAbstractModifier(N)&&!N.exclamationToken&&!N.initializer}function isPropertyInitializedInStaticBlocks(N,R,j,$,q){for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];if(ae.pos>=$&&ae.pos<=q){var ce=E.factory.createPropertyAccessExpression(E.factory.createThis(),N);E.setParent(ce.expression,ce);E.setParent(ce,ae);ce.flowNode=ae.returnFlowNode;var le=getFlowTypeOfReference(ce,R,getOptionalType(R));if(!(getFalsyFlags(le)&32768)){return true}}}return false}function isPropertyInitializedInConstructor(N,R,j){var $=E.factory.createPropertyAccessExpression(E.factory.createThis(),N);E.setParent($.expression,$);E.setParent($,j);$.flowNode=j.returnFlowNode;var q=getFlowTypeOfReference($,R,getOptionalType(R));return!(getFalsyFlags(q)&32768)}function checkInterfaceDeclaration(N){if(!checkGrammarDecoratorsAndModifiers(N))checkGrammarInterfaceDeclaration(N);checkTypeParameters(N.typeParameters);if(ie){checkTypeNameIsReserved(N.name,E.Diagnostics.Interface_name_cannot_be_0);checkExportsOnMergedDeclarations(N);var R=getSymbolOfNode(N);checkTypeParameterListsIdentical(R);var j=E.getDeclarationOfKind(R,256);if(N===j){var $=getDeclaredTypeOfSymbol(R);var q=getTypeWithThisArgument($);if(checkInheritedPropertiesAreIdentical($,N.name)){for(var G=0,ae=getBaseTypes($);G<ae.length;G++){var ce=ae[G];checkTypeAssignableTo(q,getTypeWithThisArgument(ce,$.thisType),N.name,E.Diagnostics.Interface_0_incorrectly_extends_interface_1)}checkIndexConstraints($)}}checkObjectTypeForDuplicateDeclarations(N)}E.forEach(E.getInterfaceBaseTypeNodes(N),(function(N){if(!E.isEntityNameExpression(N.expression)||E.isOptionalChain(N.expression)){error(N.expression,E.Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments)}checkTypeReferenceNode(N)}));E.forEach(N.members,checkSourceElement);if(ie){checkTypeForDuplicateIndexSignatures(N);registerForUnusedIdentifiersCheck(N)}}function checkTypeAliasDeclaration(N){checkGrammarDecoratorsAndModifiers(N);checkTypeNameIsReserved(N.name,E.Diagnostics.Type_alias_name_cannot_be_0);checkExportsOnMergedDeclarations(N);checkTypeParameters(N.typeParameters);if(N.type.kind===137){if(!Ke.has(N.name.escapedText)||E.length(N.typeParameters)!==1){error(N.type,E.Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types)}}else{checkSourceElement(N.type);registerForUnusedIdentifiersCheck(N)}}function computeEnumMemberValues(E){var N=getNodeLinks(E);if(!(N.flags&16384)){N.flags|=16384;var R=0;for(var j=0,$=E.members;j<$.length;j++){var q=$[j];var G=computeMemberValue(q,R);getNodeLinks(q).enumMemberValue=G;R=typeof G==="number"?G+1:undefined}}}function computeMemberValue(N,R){if(E.isComputedNonLiteralName(N.name)){error(N.name,E.Diagnostics.Computed_property_names_are_not_allowed_in_enums)}else{var j=E.getTextOfPropertyName(N.name);if(isNumericLiteralName(j)&&!E.isInfinityOrNaNString(j)){error(N.name,E.Diagnostics.An_enum_member_cannot_have_a_numeric_name)}}if(N.initializer){return computeConstantValue(N)}if(N.parent.flags&8388608&&!E.isEnumConst(N.parent)&&getEnumKind(getSymbolOfNode(N.parent))===0){return undefined}if(R!==undefined){return R}error(N.name,E.Diagnostics.Enum_member_must_have_initializer);return undefined}function computeConstantValue(N){var R=getEnumKind(getSymbolOfNode(N.parent));var j=E.isEnumConst(N.parent);var $=N.initializer;var q=R===1&&!isLiteralEnumMember(N)?undefined:evaluate($);if(q!==undefined){if(j&&typeof q==="number"&&!isFinite(q)){error($,isNaN(q)?E.Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:E.Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value)}}else if(R===1){error($,E.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members);return 0}else if(j){error($,E.Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values)}else if(N.parent.flags&8388608){error($,E.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression)}else{var G=checkExpression($);if(!isTypeAssignableToKind(G,296)){error($,E.Diagnostics.Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead,typeToString(G))}else{checkTypeAssignableTo(G,getDeclaredTypeOfSymbol(getSymbolOfNode(N.parent)),$,undefined)}}return q;function evaluate(R){switch(R.kind){case 217:var j=evaluate(R.operand);if(typeof j==="number"){switch(R.operator){case 39:return j;case 40:return-j;case 54:return~j}}break;case 219:var $=evaluate(R.left);var q=evaluate(R.right);if(typeof $==="number"&&typeof q==="number"){switch(R.operatorToken.kind){case 51:return $|q;case 50:return $&q;case 48:return $>>q;case 49:return $>>>q;case 47:return $<<q;case 52:return $^q;case 41:return $*q;case 43:return $/q;case 39:return $+q;case 40:return $-q;case 44:return $%q;case 42:return Math.pow($,q)}}else if(typeof $==="string"&&typeof q==="string"&&R.operatorToken.kind===39){return $+q}break;case 10:case 14:return R.text;case 8:checkGrammarNumericLiteral(R);return+R.text;case 210:return evaluate(R.expression);case 79:var G=R;if(E.isInfinityOrNaNString(G.escapedText)){return+G.escapedText}return E.nodeIsMissing(R)?0:evaluateEnumMember(R,getSymbolOfNode(N.parent),G.escapedText);case 205:case 204:var ie=R;if(isConstantMemberAccess(ie)){var ae=getTypeOfExpression(ie.expression);if(ae.symbol&&ae.symbol.flags&384){var ce=void 0;if(ie.kind===204){ce=ie.name.escapedText}else{ce=E.escapeLeadingUnderscores(E.cast(ie.argumentExpression,E.isLiteralExpression).text)}return evaluateEnumMember(R,ae.symbol,ce)}}break}return undefined}function evaluateEnumMember(R,j,$){var q=j.exports.get($);if(q){var G=q.valueDeclaration;if(G!==N){if(G&&isBlockScopedNameDeclaredBeforeUse(G,N)){return getEnumMemberValue(G)}error(R,E.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums);return 0}else{error(R,E.Diagnostics.Property_0_is_used_before_being_assigned,symbolToString(q))}}return undefined}}function isConstantMemberAccess(N){return N.kind===79||N.kind===204&&isConstantMemberAccess(N.expression)||N.kind===205&&isConstantMemberAccess(N.expression)&&E.isStringLiteralLike(N.argumentExpression)}function checkEnumDeclaration(N){if(!ie){return}checkGrammarDecoratorsAndModifiers(N);checkCollisionsForDeclarationName(N,N.name);checkExportsOnMergedDeclarations(N);N.members.forEach(checkEnumMember);computeEnumMemberValues(N);var R=getSymbolOfNode(N);var j=E.getDeclarationOfKind(R,N.kind);if(N===j){if(R.declarations&&R.declarations.length>1){var $=E.isEnumConst(N);E.forEach(R.declarations,(function(N){if(E.isEnumDeclaration(N)&&E.isEnumConst(N)!==$){error(E.getNameOfDeclaration(N),E.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}}))}var q=false;E.forEach(R.declarations,(function(N){if(N.kind!==258){return false}var R=N;if(!R.members.length){return false}var j=R.members[0];if(!j.initializer){if(q){error(j.name,E.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element)}else{q=true}}}))}}function checkEnumMember(N){if(E.isPrivateIdentifier(N.name)){error(N,E.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}}function getFirstNonAmbientClassOrFunctionDeclaration(N){var R=N.declarations;if(R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if((q.kind===255||q.kind===254&&E.nodeIsPresent(q.body))&&!(q.flags&8388608)){return q}}}return undefined}function inSameLexicalScope(N,R){var j=E.getEnclosingBlockScopeContainer(N);var $=E.getEnclosingBlockScopeContainer(R);if(isGlobalSourceFile(j)){return isGlobalSourceFile($)}else if(isGlobalSourceFile($)){return false}else{return j===$}}function checkModuleDeclaration(N){if(ie){var R=E.isGlobalScopeAugmentation(N);var j=N.flags&8388608;if(R&&!j){error(N.name,E.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context)}var $=E.isAmbientModule(N);var q=$?E.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:E.Diagnostics.A_namespace_declaration_is_only_allowed_in_a_namespace_or_module;if(checkGrammarModuleElementContext(N,q)){return}if(!checkGrammarDecoratorsAndModifiers(N)){if(!j&&N.name.kind===10){grammarErrorOnNode(N.name,E.Diagnostics.Only_ambient_modules_can_use_quoted_names)}}if(E.isIdentifier(N.name)){checkCollisionsForDeclarationName(N,N.name)}checkExportsOnMergedDeclarations(N);var G=getSymbolOfNode(N);if(G.flags&512&&!j&&G.declarations&&G.declarations.length>1&&isInstantiatedModule(N,E.shouldPreserveConstEnums(Xe))){var ae=getFirstNonAmbientClassOrFunctionDeclaration(G);if(ae){if(E.getSourceFileOfNode(N)!==E.getSourceFileOfNode(ae)){error(N.name,E.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged)}else if(N.pos<ae.pos){error(N.name,E.Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged)}}var ce=E.getDeclarationOfKind(G,255);if(ce&&inSameLexicalScope(N,ce)){getNodeLinks(N).flags|=32768}}if($){if(E.isExternalModuleAugmentation(N)){var le=R||getSymbolOfNode(N).flags&33554432;if(le&&N.body){for(var _e=0,Ee=N.body.statements;_e<Ee.length;_e++){var Te=Ee[_e];checkModuleAugmentationElement(Te,R)}}}else if(isGlobalSourceFile(N.parent)){if(R){error(N.name,E.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations)}else if(E.isExternalModuleNameRelative(E.getTextOfIdentifierOrLiteral(N.name))){error(N.name,E.Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name)}}else{if(R){error(N.name,E.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations)}else{error(N.name,E.Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}}}}if(N.body){checkSourceElement(N.body);if(!E.isGlobalScopeAugmentation(N)){registerForUnusedIdentifiersCheck(N)}}}function checkModuleAugmentationElement(N,R){var j;switch(N.kind){case 235:for(var $=0,q=N.declarationList.declarations;$<q.length;$++){var G=q[$];checkModuleAugmentationElement(G,R)}break;case 269:case 270:grammarErrorOnFirstToken(N,E.Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 263:case 264:grammarErrorOnFirstToken(N,E.Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 201:case 252:var ie=N.name;if(E.isBindingPattern(ie)){for(var ae=0,ce=ie.elements;ae<ce.length;ae++){var le=ce[ae];checkModuleAugmentationElement(le,R)}break}case 255:case 258:case 254:case 256:case 259:case 257:if(R){return}var _e=getSymbolOfNode(N);if(_e){var Ee=!(_e.flags&33554432);if(!Ee){Ee=!!((j=_e.parent)===null||j===void 0?void 0:j.declarations)&&E.isExternalModuleAugmentation(_e.parent.declarations[0])}}break}}function getFirstNonModuleExportsIdentifier(N){switch(N.kind){case 79:return N;case 159:do{N=N.left}while(N.kind!==79);return N;case 204:do{if(E.isModuleExportsAccessExpression(N.expression)&&!E.isPrivateIdentifier(N.name)){return N.name}N=N.expression}while(N.kind!==79);return N}}function checkExternalImportOrExportDeclaration(N){var R=E.getExternalModuleName(N);if(!R||E.nodeIsMissing(R)){return false}if(!E.isStringLiteral(R)){error(R,E.Diagnostics.String_literal_expected);return false}var j=N.parent.kind===260&&E.isAmbientModule(N.parent.parent);if(N.parent.kind!==300&&!j){error(R,N.kind===270?E.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace:E.Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module);return false}if(j&&E.isExternalModuleNameRelative(R.text)){if(!isTopLevelInExternalModuleAugmentation(N)){error(N,E.Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name);return false}}return true}function checkAliasSymbol(N){var R;var j=getSymbolOfNode(N);var $=resolveAlias(j);if($!==jt){j=getMergedSymbol(j.exportSymbol||j);var q=(j.flags&(111551|1048576)?111551:0)|(j.flags&788968?788968:0)|(j.flags&1920?1920:0);if($.flags&q){var G=N.kind===273?E.Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0:E.Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0;error(N,G,symbolToString(j))}if(Xe.isolatedModules&&N.kind===273&&!N.parent.parent.isTypeOnly&&!($.flags&111551)&&!(N.flags&8388608)){error(N,E.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type)}if(E.isImportSpecifier(N)&&((R=$.declarations)===null||R===void 0?void 0:R.every((function(N){return!!(E.getCombinedNodeFlags(N)&134217728)})))){addDeprecatedSuggestion(N.name,$.declarations,j.escapedName)}}}function checkImportBinding(N){checkCollisionsForDeclarationName(N,N.name);checkAliasSymbol(N);if(N.kind===268&&E.idText(N.propertyName||N.name)==="default"&&Xe.esModuleInterop&&Ze!==E.ModuleKind.System&&Ze<E.ModuleKind.ES2015){checkExternalEmitHelpers(N,131072)}}function checkImportDeclaration(N){if(checkGrammarModuleElementContext(N,E.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)){return}if(!checkGrammarDecoratorsAndModifiers(N)&&E.hasEffectiveModifiers(N)){grammarErrorOnFirstToken(N,E.Diagnostics.An_import_declaration_cannot_have_modifiers)}if(checkExternalImportOrExportDeclaration(N)){var R=N.importClause;if(R&&!checkGrammarImportClause(R)){if(R.name){checkImportBinding(R)}if(R.namedBindings){if(R.namedBindings.kind===266){checkImportBinding(R.namedBindings);if(Ze!==E.ModuleKind.System&&Ze<E.ModuleKind.ES2015&&Xe.esModuleInterop){checkExternalEmitHelpers(N,65536)}}else{var j=resolveExternalModuleName(N,N.moduleSpecifier);if(j){E.forEach(R.namedBindings.elements,checkImportBinding)}}}}}}function checkImportEqualsDeclaration(N){if(checkGrammarModuleElementContext(N,E.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)){return}checkGrammarDecoratorsAndModifiers(N);if(E.isInternalModuleImportEqualsDeclaration(N)||checkExternalImportOrExportDeclaration(N)){checkImportBinding(N);if(E.hasSyntacticModifier(N,1)){markExportAsReferenced(N)}if(N.moduleReference.kind!==275){var R=resolveAlias(getSymbolOfNode(N));if(R!==jt){if(R.flags&111551){var j=E.getFirstIdentifier(N.moduleReference);if(!(resolveEntityName(j,111551|1920).flags&1920)){error(j,E.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,E.declarationNameToString(j))}}if(R.flags&788968){checkTypeNameIsReserved(N.name,E.Diagnostics.Import_name_cannot_be_0)}}if(N.isTypeOnly){grammarErrorOnNode(N,E.Diagnostics.An_import_alias_cannot_use_import_type)}}else{if(Ze>=E.ModuleKind.ES2015&&!N.isTypeOnly&&!(N.flags&8388608)){grammarErrorOnNode(N,E.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}}}}function checkExportDeclaration(N){if(checkGrammarModuleElementContext(N,E.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)){return}if(!checkGrammarDecoratorsAndModifiers(N)&&E.hasEffectiveModifiers(N)){grammarErrorOnFirstToken(N,E.Diagnostics.An_export_declaration_cannot_have_modifiers)}if(N.moduleSpecifier&&N.exportClause&&E.isNamedExports(N.exportClause)&&E.length(N.exportClause.elements)&&Ye===0){checkExternalEmitHelpers(N,2097152)}checkGrammarExportDeclaration(N);if(!N.moduleSpecifier||checkExternalImportOrExportDeclaration(N)){if(N.exportClause&&!E.isNamespaceExport(N.exportClause)){E.forEach(N.exportClause.elements,checkExportSpecifier);var R=N.parent.kind===260&&E.isAmbientModule(N.parent.parent);var j=!R&&N.parent.kind===260&&!N.moduleSpecifier&&N.flags&8388608;if(N.parent.kind!==300&&!R&&!j){error(N,E.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}}else{var $=resolveExternalModuleName(N,N.moduleSpecifier);if($&&hasExportAssignmentSymbol($)){error(N.moduleSpecifier,E.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,symbolToString($))}else if(N.exportClause){checkAliasSymbol(N.exportClause)}if(Ze!==E.ModuleKind.System&&Ze<E.ModuleKind.ES2015){if(N.exportClause){if(Xe.esModuleInterop){checkExternalEmitHelpers(N,65536)}}else{checkExternalEmitHelpers(N,32768)}}}}}function checkGrammarExportDeclaration(N){var R;var j=N.isTypeOnly&&((R=N.exportClause)===null||R===void 0?void 0:R.kind)!==271;if(j){grammarErrorOnNode(N,E.Diagnostics.Only_named_exports_may_use_export_type)}return!j}function checkGrammarModuleElementContext(E,N){var R=E.parent.kind===300||E.parent.kind===260||E.parent.kind===259;if(!R){grammarErrorOnFirstToken(E,N)}return!R}function importClauseContainsReferencedImport(N){return E.forEachImportClauseDeclaration(N,(function(E){return!!getSymbolOfNode(E).isReferenced}))}function importClauseContainsConstEnumUsedAsValue(N){return E.forEachImportClauseDeclaration(N,(function(E){return!!getSymbolLinks(getSymbolOfNode(E)).constEnumReferenced}))}function canConvertImportDeclarationToTypeOnly(N){return E.isImportDeclaration(N)&&N.importClause&&!N.importClause.isTypeOnly&&importClauseContainsReferencedImport(N.importClause)&&!isReferencedAliasDeclaration(N.importClause,true)&&!importClauseContainsConstEnumUsedAsValue(N.importClause)}function canConvertImportEqualsDeclarationToTypeOnly(N){return E.isImportEqualsDeclaration(N)&&E.isExternalModuleReference(N.moduleReference)&&!N.isTypeOnly&&getSymbolOfNode(N).isReferenced&&!isReferencedAliasDeclaration(N,false)&&!getSymbolLinks(getSymbolOfNode(N)).constEnumReferenced}function checkImportsForTypeOnlyConversion(N){for(var R=0,j=N.statements;R<j.length;R++){var $=j[R];if(canConvertImportDeclarationToTypeOnly($)||canConvertImportEqualsDeclarationToTypeOnly($)){error($,E.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}}}function checkExportSpecifier(N){checkAliasSymbol(N);if(E.getEmitDeclarations(Xe)){collectLinkedAliases(N.propertyName||N.name,true)}if(!N.parent.parent.moduleSpecifier){var R=N.propertyName||N.name;var j=resolveName(R,R.escapedText,111551|788968|1920|2097152,undefined,undefined,true);if(j&&(j===vt||j===bt||j.declarations&&isGlobalSourceFile(getDeclarationContainer(j.declarations[0])))){error(R,E.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,E.idText(R))}else{markExportAsReferenced(N);var $=j&&(j.flags&2097152?resolveAlias(j):j);if(!$||$===jt||$.flags&111551){checkExpressionCached(N.propertyName||N.name)}}}else{if(Xe.esModuleInterop&&Ze!==E.ModuleKind.System&&Ze<E.ModuleKind.ES2015&&E.idText(N.propertyName||N.name)==="default"){checkExternalEmitHelpers(N,131072)}}}function checkExportAssignment(N){var R=N.isExportEquals?E.Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:E.Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;if(checkGrammarModuleElementContext(N,R)){return}var j=N.parent.kind===300?N.parent:N.parent.parent;if(j.kind===259&&!E.isAmbientModule(j)){if(N.isExportEquals){error(N,E.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace)}else{error(N,E.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}return}if(!checkGrammarDecoratorsAndModifiers(N)&&E.hasEffectiveModifiers(N)){grammarErrorOnFirstToken(N,E.Diagnostics.An_export_assignment_cannot_have_modifiers)}if(N.expression.kind===79){var $=N.expression;var q=resolveEntityName($,67108863,true,true,N);if(q){markAliasReferenced(q,$);var G=q.flags&2097152?resolveAlias(q):q;if(G===jt||G.flags&111551){checkExpressionCached(N.expression)}}else{checkExpressionCached(N.expression)}if(E.getEmitDeclarations(Xe)){collectLinkedAliases(N.expression,true)}}else{checkExpressionCached(N.expression)}checkExternalModuleExports(j);if(N.flags&8388608&&!E.isEntityNameExpression(N.expression)){grammarErrorOnNode(N.expression,E.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context)}if(N.isExportEquals&&!(N.flags&8388608)){if(Ze>=E.ModuleKind.ES2015){grammarErrorOnNode(N,E.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead)}else if(Ze===E.ModuleKind.System){grammarErrorOnNode(N,E.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system)}}}function hasExportedMembers(N){return E.forEachEntry(N.exports,(function(E,N){return N!=="export="}))}function checkExternalModuleExports(N){var R=getSymbolOfNode(N);var j=getSymbolLinks(R);if(!j.exportsChecked){var $=R.exports.get("export=");if($&&hasExportedMembers(R)){var q=getDeclarationOfAliasSymbol($)||$.valueDeclaration;if(q&&!isTopLevelInExternalModuleAugmentation(q)&&!E.isInJSFile(q)){error(q,E.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}}var G=getExportsOfModule(R);if(G){G.forEach((function(N,R){var j=N.declarations,$=N.flags;if(R==="__export"){return}if($&(1920|64|384)){return}var q=E.countWhere(j,Je);if($&524288&&q<=2){return}if(q>1){if(!isDuplicatedCommonJSExport(j)){for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];if(isNotOverload(ae)){xi.add(E.createDiagnosticForNode(ae,E.Diagnostics.Cannot_redeclare_exported_variable_0,E.unescapeLeadingUnderscores(R)))}}}}}))}j.exportsChecked=true}}function isDuplicatedCommonJSExport(N){return N&&N.length>1&&N.every((function(N){return E.isInJSFile(N)&&E.isAccessExpression(N)&&(E.isExportsIdentifier(N.expression)||E.isModuleExportsAccessExpression(N.expression))}))}function checkSourceElement(E){if(E){var N=qe;qe=E;We=0;checkSourceElementWorker(E);qe=N}}function checkSourceElementWorker(N){if(E.isInJSFile(N)){E.forEach(N.jsDoc,(function(N){var R=N.tags;return E.forEach(R,checkSourceElement)}))}var R=N.kind;if(_e){switch(R){case 259:case 255:case 256:case 254:_e.throwIfCancellationRequested()}}if(R>=235&&R<=251&&N.flowNode&&!isReachableFlowNode(N.flowNode)){errorOrSuggestion(Xe.allowUnreachableCode===false,N,E.Diagnostics.Unreachable_code_detected)}switch(R){case 161:return checkTypeParameter(N);case 162:return checkParameter(N);case 165:return checkPropertyDeclaration(N);case 164:return checkPropertySignature(N);case 178:case 177:case 172:case 173:case 174:return checkSignatureDeclaration(N);case 167:case 166:return checkMethodDeclaration(N);case 168:return checkClassStaticBlockDeclaration(N);case 169:return checkConstructorDeclaration(N);case 170:case 171:return checkAccessorDeclaration(N);case 176:return checkTypeReferenceNode(N);case 175:return checkTypePredicate(N);case 179:return checkTypeQuery(N);case 180:return checkTypeLiteral(N);case 181:return checkArrayType(N);case 182:return checkTupleType(N);case 185:case 186:return checkUnionOrIntersectionType(N);case 189:case 183:case 184:return checkSourceElement(N.type);case 190:return checkThisType(N);case 191:return checkTypeOperator(N);case 187:return checkConditionalType(N);case 188:return checkInferType(N);case 196:return checkTemplateLiteralType(N);case 198:return checkImportType(N);case 195:return checkNamedTupleMember(N);case 323:return checkJSDocAugmentsTag(N);case 324:return checkJSDocImplementsTag(N);case 340:case 333:case 334:return checkJSDocTypeAliasTag(N);case 339:return checkJSDocTemplateTag(N);case 338:return checkJSDocTypeTag(N);case 335:return checkJSDocParameterTag(N);case 342:return checkJSDocPropertyTag(N);case 312:checkJSDocFunctionType(N);case 310:case 309:case 307:case 308:case 317:checkJSDocTypeIsInJsFile(N);E.forEachChild(N,checkSourceElement);return;case 313:checkJSDocVariadicType(N);return;case 304:return checkSourceElement(N.type);case 192:return checkIndexedAccessType(N);case 193:return checkMappedType(N);case 254:return checkFunctionDeclaration(N);case 233:case 260:return checkBlock(N);case 235:return checkVariableStatement(N);case 236:return checkExpressionStatement(N);case 237:return checkIfStatement(N);case 238:return checkDoStatement(N);case 239:return checkWhileStatement(N);case 240:return checkForStatement(N);case 241:return checkForInStatement(N);case 242:return checkForOfStatement(N);case 243:case 244:return checkBreakOrContinueStatement(N);case 245:return checkReturnStatement(N);case 246:return checkWithStatement(N);case 247:return checkSwitchStatement(N);case 248:return checkLabeledStatement(N);case 249:return checkThrowStatement(N);case 250:return checkTryStatement(N);case 252:return checkVariableDeclaration(N);case 201:return checkBindingElement(N);case 255:return checkClassDeclaration(N);case 256:return checkInterfaceDeclaration(N);case 257:return checkTypeAliasDeclaration(N);case 258:return checkEnumDeclaration(N);case 259:return checkModuleDeclaration(N);case 264:return checkImportDeclaration(N);case 263:return checkImportEqualsDeclaration(N);case 270:return checkExportDeclaration(N);case 269:return checkExportAssignment(N);case 234:case 251:checkGrammarStatementInAmbientContext(N);return;case 274:return checkMissingDeclaration(N)}}function checkJSDocTypeIsInJsFile(N){if(!E.isInJSFile(N)){grammarErrorOnNode(N,E.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}}function checkJSDocVariadicType(N){checkJSDocTypeIsInJsFile(N);checkSourceElement(N.type);var R=N.parent;if(E.isParameter(R)&&E.isJSDocFunctionType(R.parent)){if(E.last(R.parent.parameters)!==R){error(N,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}return}if(!E.isJSDocTypeExpression(R)){error(N,E.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}var j=N.parent.parent;if(!E.isJSDocParameterTag(j)){error(N,E.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var $=E.getParameterSymbolFromJSDoc(j);if(!$){return}var q=E.getHostSignatureFromJSDoc(j);if(!q||E.last(q.parameters).symbol!==$){error(N,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function getTypeFromJSDocVariadicType(N){var R=getTypeFromTypeNode(N.type);var j=N.parent;var $=N.parent.parent;if(E.isJSDocTypeExpression(N.parent)&&E.isJSDocParameterTag($)){var q=E.getHostSignatureFromJSDoc($);var G=E.isJSDocCallbackTag($.parent.parent);if(q||G){var ie=G?E.lastOrUndefined($.parent.parent.typeExpression.parameters):E.lastOrUndefined(q.parameters);var ae=E.getParameterSymbolFromJSDoc($);if(!ie||ae&&ie.symbol===ae&&E.isRestParameter(ie)){return createArrayType(R)}}}if(E.isParameter(j)&&E.isJSDocFunctionType(j.parent)){return createArrayType(R)}return addOptionality(R)}function checkNodeDeferred(N){var R=E.getSourceFileOfNode(N);var j=getNodeLinks(R);if(!(j.flags&1)){j.deferredNodes=j.deferredNodes||new E.Map;var $=getNodeId(N);j.deferredNodes.set($,N)}}function checkDeferredNodes(E){var N=getNodeLinks(E);if(N.deferredNodes){N.deferredNodes.forEach(checkDeferredNode)}}function checkDeferredNode(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkDeferredNode",{kind:N.kind,pos:N.pos,end:N.end});var R=qe;qe=N;We=0;switch(N.kind){case 206:case 207:case 208:case 163:case 278:resolveUntypedCall(N);break;case 211:case 212:case 167:case 166:checkFunctionExpressionOrObjectLiteralMethodDeferred(N);break;case 170:case 171:checkAccessorDeclaration(N);break;case 224:checkClassExpressionDeferred(N);break;case 277:checkJsxSelfClosingElementDeferred(N);break;case 276:checkJsxElementDeferred(N);break}qe=R;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function checkSourceFile(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkSourceFile",{path:N.path},true);E.performance.mark("beforeCheck");checkSourceFileWorker(N);E.performance.mark("afterCheck");E.performance.measure("Check","beforeCheck","afterCheck");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function unusedIsError(N,R){if(R){return false}switch(N){case 0:return!!Xe.noUnusedLocals;case 1:return!!Xe.noUnusedParameters;default:return E.Debug.assertNever(N)}}function getPotentiallyUnusedIdentifiers(N){return Wn.get(N.path)||E.emptyArray}function checkSourceFileWorker(N){var R=getNodeLinks(N);if(!(R.flags&1)){if(E.skipTypeChecking(N,Xe,q)){return}checkGrammarSourceFile(N);E.clear(hi);E.clear(_i);E.clear(yi);E.clear(vi);E.forEach(N.statements,checkSourceElement);checkSourceElement(N.endOfFileToken);checkDeferredNodes(N);if(E.isExternalOrCommonJsModule(N)){registerForUnusedIdentifiersCheck(N)}if(!N.isDeclarationFile&&(Xe.noUnusedLocals||Xe.noUnusedParameters)){checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(N),(function(N,R,j){if(!E.containsParseError(N)&&unusedIsError(R,!!(N.flags&8388608))){xi.add(j)}}))}if(Xe.importsNotUsedAsValues===2&&!N.isDeclarationFile&&E.isExternalModule(N)){checkImportsForTypeOnlyConversion(N)}if(E.isExternalOrCommonJsModule(N)){checkExternalModuleExports(N)}if(hi.length){E.forEach(hi,checkIfThisIsCapturedInEnclosingScope);E.clear(hi)}if(_i.length){E.forEach(_i,checkIfNewTargetIsCapturedInEnclosingScope);E.clear(_i)}if(yi.length){E.forEach(yi,checkWeakMapSetCollision);E.clear(yi)}if(vi.length){E.forEach(vi,checkReflectCollision);E.clear(vi)}R.flags|=1}}function getDiagnostics(E,N){try{_e=N;return getDiagnosticsWorker(E)}finally{_e=undefined}}function getDiagnosticsWorker(N){throwIfNonDiagnosticsProducing();if(N){var R=xi.getGlobalDiagnostics();var j=R.length;checkSourceFile(N);var $=xi.getDiagnostics(N.fileName);var G=xi.getGlobalDiagnostics();if(G!==R){var ie=E.relativeComplement(R,G,E.compareDiagnostics);return E.concatenate(ie,$)}else if(j===0&&G.length>0){return E.concatenate(G,$)}return $}E.forEach(q.getSourceFiles(),checkSourceFile);return xi.getDiagnostics()}function getGlobalDiagnostics(){throwIfNonDiagnosticsProducing();return xi.getGlobalDiagnostics()}function throwIfNonDiagnosticsProducing(){if(!ie){throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}}function getSymbolsInScope(N,R){if(N.flags&16777216){return[]}var j=E.createSymbolTable();var $=false;populateSymbols();j.delete("this");return symbolsToArray(j);function populateSymbols(){while(N){if(N.locals&&!isGlobalSourceFile(N)){copySymbols(N.locals,R)}switch(N.kind){case 300:if(!E.isExternalModule(N))break;case 259:copyLocallyVisibleExportSymbols(getSymbolOfNode(N).exports,R&2623475);break;case 258:copySymbols(getSymbolOfNode(N).exports,R&8);break;case 224:var j=N.name;if(j){copySymbol(N.symbol,R)}case 255:case 256:if(!$){copySymbols(getMembersOfSymbol(getSymbolOfNode(N)),R&788968)}break;case 211:var q=N.name;if(q){copySymbol(N.symbol,R)}break}if(E.introducesArgumentsExoticObject(N)){copySymbol(xt,R)}$=E.isStatic(N);N=N.parent}copySymbols(yt,R)}function copySymbol(N,R){if(E.getCombinedLocalAndExportSymbolFlags(N)&R){var $=N.escapedName;if(!j.has($)){j.set($,N)}}}function copySymbols(E,N){if(N){E.forEach((function(E){copySymbol(E,N)}))}}function copyLocallyVisibleExportSymbols(N,R){if(R){N.forEach((function(N){if(!E.getDeclarationOfKind(N,273)&&!E.getDeclarationOfKind(N,272)){copySymbol(N,R)}}))}}}function isTypeDeclarationName(N){return N.kind===79&&isTypeDeclaration(N.parent)&&E.getNameOfDeclaration(N.parent)===N}function isTypeDeclaration(E){switch(E.kind){case 161:case 255:case 256:case 257:case 258:case 340:case 333:case 334:return true;case 265:return E.isTypeOnly;case 268:case 273:return E.parent.parent.isTypeOnly;default:return false}}function isTypeReferenceIdentifier(E){while(E.parent.kind===159){E=E.parent}return E.parent.kind===176}function isHeritageClauseElementIdentifier(E){while(E.parent.kind===204){E=E.parent}return E.parent.kind===226}function forEachEnclosingClass(N,R){var j;while(true){N=E.getContainingClass(N);if(!N)break;if(j=R(N))break}return j}function isNodeUsedDuringClassInitialization(N){return!!E.findAncestor(N,(function(N){if(E.isConstructorDeclaration(N)&&E.nodeIsPresent(N.body)||E.isPropertyDeclaration(N)){return true}else if(E.isClassLike(N)||E.isFunctionLikeDeclaration(N)){return"quit"}return false}))}function isNodeWithinClass(E,N){return!!forEachEnclosingClass(E,(function(E){return E===N}))}function getLeftSideOfImportEqualsOrExportAssignment(E){while(E.parent.kind===159){E=E.parent}if(E.parent.kind===263){return E.parent.moduleReference===E?E.parent:undefined}if(E.parent.kind===269){return E.parent.expression===E?E.parent:undefined}return undefined}function isInRightSideOfImportOrExportAssignment(E){return getLeftSideOfImportEqualsOrExportAssignment(E)!==undefined}function getSpecialPropertyAssignmentSymbolFromEntityName(N){var R=E.getAssignmentDeclarationKind(N.parent.parent);switch(R){case 1:case 3:return getSymbolOfNode(N.parent);case 4:case 2:case 5:return getSymbolOfNode(N.parent.parent)}}function isImportTypeQualifierPart(N){var R=N.parent;while(E.isQualifiedName(R)){N=R;R=R.parent}if(R&&R.kind===198&&R.qualifier===N){return R}return undefined}function getSymbolOfNameOrPropertyAccessExpression(N){if(E.isDeclarationName(N)){return getSymbolOfNode(N.parent)}if(E.isInJSFile(N)&&N.parent.kind===204&&N.parent===N.parent.parent.left){if(!E.isPrivateIdentifier(N)&&!E.isJSDocMemberName(N)){var R=getSpecialPropertyAssignmentSymbolFromEntityName(N);if(R){return R}}}if(N.parent.kind===269&&E.isEntityNameExpression(N)){var j=resolveEntityName(N,111551|788968|1920|2097152,true);if(j&&j!==jt){return j}}else if(E.isEntityName(N)&&isInRightSideOfImportOrExportAssignment(N)){var $=E.getAncestor(N,263);E.Debug.assert($!==undefined);return getSymbolOfPartOfRightHandSideOfImportEquals(N,true)}if(E.isEntityName(N)){var q=isImportTypeQualifierPart(N);if(q){getTypeFromTypeNode(q);var G=getNodeLinks(N).resolvedSymbol;return G===jt?undefined:G}}while(E.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(N)){N=N.parent}if(isHeritageClauseElementIdentifier(N)){var ie=0;if(N.parent.kind===226){ie=788968;if(E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)){ie|=111551}}else{ie=1920}ie|=2097152;var ae=E.isEntityNameExpression(N)?resolveEntityName(N,ie):undefined;if(ae){return ae}}if(N.parent.kind===335){return E.getParameterSymbolFromJSDoc(N.parent)}if(N.parent.kind===161&&N.parent.parent.kind===339){E.Debug.assert(!E.isInJSFile(N));var ce=E.getTypeParameterFromJsDoc(N.parent);return ce&&ce.symbol}if(E.isExpressionNode(N)){if(E.nodeIsMissing(N)){return undefined}var le=E.findAncestor(N,E.or(E.isJSDocLinkLike,E.isJSDocNameReference,E.isJSDocMemberName));var ie=le?788968|1920|111551:111551;if(N.kind===79){if(E.isJSXTagName(N)&&isJsxIntrinsicIdentifier(N)){var _e=getIntrinsicTagSymbol(N.parent);return _e===jt?undefined:_e}var Ee=resolveEntityName(N,ie,false,!le,E.getHostSignatureFromJSDoc(N));if(!Ee&&le){var Te=E.findAncestor(N,E.or(E.isClassLike,E.isInterfaceDeclaration));if(Te){return resolveJSDocMemberName(N,getSymbolOfNode(Te))}}return Ee}else if(N.kind===204||N.kind===159){var we=getNodeLinks(N);if(we.resolvedSymbol){return we.resolvedSymbol}if(N.kind===204){checkPropertyAccessExpression(N,0)}else{checkQualifiedName(N,0)}if(!we.resolvedSymbol&&le&&E.isQualifiedName(N)){return resolveJSDocMemberName(N)}return we.resolvedSymbol}else if(E.isJSDocMemberName(N)){return resolveJSDocMemberName(N)}}else if(isTypeReferenceIdentifier(N)){var ie=N.parent.kind===176?788968:1920;return resolveEntityName(N,ie,false,true)}if(N.parent.kind===175){return resolveEntityName(N,1)}return undefined}function resolveJSDocMemberName(N,R){if(E.isEntityName(N)){var j=788968|1920|111551;var $=resolveEntityName(N,j,false,true,E.getHostSignatureFromJSDoc(N));if(!$&&E.isIdentifier(N)&&R){$=getMergedSymbol(getSymbol(getExportsOfSymbol(R),N.escapedText,j))}if($){return $}}var q=E.isIdentifier(N)?R:resolveJSDocMemberName(N.left);var G=E.isIdentifier(N)?N.escapedText:N.right.escapedText;if(q){var ie=q.flags&111551&&getPropertyOfType(getTypeOfSymbol(q),"prototype");var ae=ie?getTypeOfSymbol(ie):getDeclaredTypeOfSymbol(q);return getPropertyOfType(ae,G)}}function getSymbolAtLocation(N,R){if(N.kind===300){return E.isExternalModule(N)?getMergedSymbol(N.symbol):undefined}var j=N.parent;var $=j.parent;if(N.flags&16777216){return undefined}if(isDeclarationNameOrImportPropertyName(N)){var q=getSymbolOfNode(j);return E.isImportOrExportSpecifier(N.parent)&&N.parent.propertyName===N?getImmediateAliasedSymbol(q):q}else if(E.isLiteralComputedPropertyDeclarationName(N)){return getSymbolOfNode(j.parent)}if(N.kind===79){if(isInRightSideOfImportOrExportAssignment(N)){return getSymbolOfNameOrPropertyAccessExpression(N)}else if(j.kind===201&&$.kind===199&&N===j.propertyName){var G=getTypeOfNode($);var ie=getPropertyOfType(G,N.escapedText);if(ie){return ie}}else if(E.isMetaProperty(j)){var ae=getTypeOfNode(j);var ie=getPropertyOfType(ae,N.escapedText);if(ie){return ie}if(j.keywordToken===103){return checkNewTargetMetaProperty(j).symbol}}}switch(N.kind){case 79:case 80:case 204:case 159:return getSymbolOfNameOrPropertyAccessExpression(N);case 108:var ce=E.getThisContainer(N,false);if(E.isFunctionLike(ce)){var le=getSignatureFromDeclaration(ce);if(le.thisParameter){return le.thisParameter}}if(E.isInExpressionContext(N)){return checkExpression(N).symbol}case 190:return getTypeFromThisTypeNode(N).symbol;case 106:return checkExpression(N).symbol;case 133:var _e=N.parent;if(_e&&_e.kind===169){return _e.parent.symbol}return undefined;case 10:case 14:if(E.isExternalModuleImportEqualsDeclaration(N.parent.parent)&&E.getExternalModuleImportEqualsDeclarationExpression(N.parent.parent)===N||(N.parent.kind===264||N.parent.kind===270)&&N.parent.moduleSpecifier===N||(E.isInJSFile(N)&&E.isRequireCall(N.parent,false)||E.isImportCall(N.parent))||E.isLiteralTypeNode(N.parent)&&E.isLiteralImportTypeNode(N.parent.parent)&&N.parent.parent.argument===N.parent){return resolveExternalModuleName(N,N,R)}if(E.isCallExpression(j)&&E.isBindableObjectDefinePropertyCall(j)&&j.arguments[1]===N){return getSymbolOfNode(j)}case 8:var Ee=E.isElementAccessExpression(j)?j.argumentExpression===N?getTypeOfExpression(j.expression):undefined:E.isLiteralTypeNode(j)&&E.isIndexedAccessTypeNode($)?getTypeFromTypeNode($.objectType):undefined;return Ee&&getPropertyOfType(Ee,E.escapeLeadingUnderscores(N.text));case 88:case 98:case 38:case 84:return getSymbolOfNode(N.parent);case 198:return E.isLiteralImportTypeNode(N)?getSymbolAtLocation(N.argument.literal,R):undefined;case 93:return E.isExportAssignment(N.parent)?E.Debug.checkDefined(N.parent.symbol):undefined;case 100:case 103:return E.isMetaProperty(N.parent)?checkMetaPropertyKeyword(N.parent).symbol:undefined;case 229:return checkExpression(N).symbol;default:return undefined}}function getIndexInfosAtLocation(N){if(E.isIdentifier(N)&&E.isPropertyAccessExpression(N.parent)&&N.parent.name===N){var R=getLiteralTypeFromPropertyName(N);var j=getTypeOfExpression(N.parent.expression);var $=j.flags&1048576?j.types:[j];return E.flatMap($,(function(N){return E.filter(getIndexInfosOfType(N),(function(E){return isApplicableIndexType(R,E.keyType)}))}))}return undefined}function getShorthandAssignmentValueSymbol(E){if(E&&E.kind===292){return resolveEntityName(E.name,111551|2097152)}return undefined}function getExportSpecifierLocalTargetSymbol(N){if(E.isExportSpecifier(N)){return N.parent.parent.moduleSpecifier?getExternalModuleMember(N.parent.parent,N):resolveEntityName(N.propertyName||N.name,111551|788968|1920|2097152)}else{return resolveEntityName(N,111551|788968|1920|2097152)}}function getTypeOfNode(N){if(E.isSourceFile(N)&&!E.isExternalModule(N)){return Jt}if(N.flags&16777216){return Jt}var R=E.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(N);var j=R&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(R.class));if(E.isPartOfTypeNode(N)){var $=getTypeFromTypeNode(N);return j?getTypeWithThisArgument($,j.thisType):$}if(E.isExpressionNode(N)){return getRegularTypeOfExpression(N)}if(j&&!R.isImplements){var q=E.firstOrUndefined(getBaseTypes(j));return q?getTypeWithThisArgument(q,j.thisType):Jt}if(isTypeDeclaration(N)){var G=getSymbolOfNode(N);return getDeclaredTypeOfSymbol(G)}if(isTypeDeclarationName(N)){var G=getSymbolAtLocation(N);return G?getDeclaredTypeOfSymbol(G):Jt}if(E.isDeclaration(N)){var G=getSymbolOfNode(N);return getTypeOfSymbol(G)}if(isDeclarationNameOrImportPropertyName(N)){var G=getSymbolAtLocation(N);if(G){return getTypeOfSymbol(G)}return Jt}if(E.isBindingPattern(N)){return getTypeForVariableLikeDeclaration(N.parent,true)||Jt}if(isInRightSideOfImportOrExportAssignment(N)){var G=getSymbolAtLocation(N);if(G){var ie=getDeclaredTypeOfSymbol(G);return ie!==Jt?ie:getTypeOfSymbol(G)}}if(E.isMetaProperty(N.parent)&&N.parent.keywordToken===N.kind){return checkMetaPropertyKeyword(N.parent)}return Jt}function getTypeOfAssignmentPattern(N){E.Debug.assert(N.kind===203||N.kind===202);if(N.parent.kind===242){var R=checkRightHandSideOfForOf(N.parent);return checkDestructuringAssignment(N,R||Jt)}if(N.parent.kind===219){var R=getTypeOfExpression(N.parent.right);return checkDestructuringAssignment(N,R||Jt)}if(N.parent.kind===291){var j=E.cast(N.parent.parent,E.isObjectLiteralExpression);var $=getTypeOfAssignmentPattern(j)||Jt;var q=E.indexOfNode(j.properties,N.parent);return checkObjectLiteralDestructuringPropertyAssignment(j,$,q)}var G=E.cast(N.parent,E.isArrayLiteralExpression);var ie=getTypeOfAssignmentPattern(G)||Jt;var ae=checkIteratedTypeOrElementType(65,ie,Gt,N.parent)||Jt;return checkArrayLiteralDestructuringElementAssignment(G,ie,G.elements.indexOf(N),ae)}function getPropertySymbolOfDestructuringAssignment(N){var R=getTypeOfAssignmentPattern(E.cast(N.parent.parent,E.isAssignmentPattern));return R&&getPropertyOfType(R,N.escapedText)}function getRegularTypeOfExpression(N){if(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}return getRegularTypeOfLiteralType(getTypeOfExpression(N))}function getParentTypeOfClassElement(N){var R=getSymbolOfNode(N.parent);return E.isStatic(N)?getTypeOfSymbol(R):getDeclaredTypeOfSymbol(R)}function getClassElementPropertyKeyType(N){var R=N.name;switch(R.kind){case 79:return getStringLiteralType(E.idText(R));case 8:case 10:return getStringLiteralType(R.text);case 160:var j=checkComputedPropertyName(R);return isTypeAssignableToKind(j,12288)?j:er;default:return E.Debug.fail("Unsupported property name.")}}function getAugmentedPropertiesOfType(N){N=getApparentType(N);var R=E.createSymbolTable(getPropertiesOfType(N));var j=getSignaturesOfType(N,0).length?nn:getSignaturesOfType(N,1).length?an:undefined;if(j){E.forEach(getPropertiesOfType(j),(function(E){if(!R.has(E.escapedName)){R.set(E.escapedName,E)}}))}return getNamedMembers(R)}function typeHasCallOrConstructSignatures(N){return E.typeHasCallOrConstructSignatures(N,Tt)}function getRootSymbols(N){var R=getImmediateRootSymbols(N);return R?E.flatMap(R,getRootSymbols):[N]}function getImmediateRootSymbols(N){if(E.getCheckFlags(N)&6){return E.mapDefined(getSymbolLinks(N).containingType.types,(function(E){return getPropertyOfType(E,N.escapedName)}))}else if(N.flags&33554432){var R=N,j=R.leftSpread,$=R.rightSpread,q=R.syntheticOrigin;return j?[j,$]:q?[q]:E.singleElementArray(tryGetAliasTarget(N))}return undefined}function tryGetAliasTarget(E){var N;var R=E;while(R=getSymbolLinks(R).target){N=R}return N}function isArgumentsLocalBinding(N){if(E.isGeneratedIdentifier(N))return false;var R=E.getParseTreeNode(N,E.isIdentifier);if(!R)return false;var j=R.parent;if(!j)return false;var $=(E.isPropertyAccessExpression(j)||E.isPropertyAssignment(j))&&j.name===R;return!$&&getReferencedValueSymbol(R)===xt}function moduleExportsSomeValue(N){var R=resolveExternalModuleName(N.parent,N);if(!R||E.isShorthandAmbientModuleSymbol(R)){return true}var j=hasExportAssignmentSymbol(R);R=resolveExternalModuleSymbol(R);var $=getSymbolLinks(R);if($.exportsSomeValue===undefined){$.exportsSomeValue=j?!!(R.flags&111551):E.forEachEntry(getExportsOfModule(R),isValue)}return $.exportsSomeValue;function isValue(E){E=resolveSymbol(E);return E&&!!(E.flags&111551)}}function isNameOfModuleOrEnumDeclaration(N){return E.isModuleOrEnumDeclaration(N.parent)&&N===N.parent.name}function getReferencedExportContainer(N,R){var j;var $=E.getParseTreeNode(N,E.isIdentifier);if($){var q=getReferencedValueSymbol($,isNameOfModuleOrEnumDeclaration($));if(q){if(q.flags&1048576){var G=getMergedSymbol(q.exportSymbol);if(!R&&G.flags&944&&!(G.flags&3)){return undefined}q=G}var ie=getParentOfSymbol(q);if(ie){if(ie.flags&512&&((j=ie.valueDeclaration)===null||j===void 0?void 0:j.kind)===300){var ae=ie.valueDeclaration;var ce=E.getSourceFileOfNode($);var le=ae!==ce;return le?undefined:ae}return E.findAncestor($.parent,(function(N){return E.isModuleOrEnumDeclaration(N)&&getSymbolOfNode(N)===ie}))}}}}function getReferencedImportDeclaration(N){if(N.generatedImportReference){return N.generatedImportReference}var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(isNonLocalAlias(j,111551)&&!getTypeOnlyAliasDeclaration(j)){return getDeclarationOfAliasSymbol(j)}}return undefined}function isSymbolOfDestructuredElementOfCatchBinding(N){return N.valueDeclaration&&E.isBindingElement(N.valueDeclaration)&&E.walkUpBindingElementsAndPatterns(N.valueDeclaration).parent.kind===290}function isSymbolOfDeclarationWithCollidingName(N){if(N.flags&418&&N.valueDeclaration&&!E.isSourceFile(N.valueDeclaration)){var R=getSymbolLinks(N);if(R.isDeclarationWithCollidingName===undefined){var j=E.getEnclosingBlockScopeContainer(N.valueDeclaration);if(E.isStatementWithLocals(j)||isSymbolOfDestructuredElementOfCatchBinding(N)){var $=getNodeLinks(N.valueDeclaration);if(resolveName(j.parent,N.escapedName,111551,undefined,undefined,false)){R.isDeclarationWithCollidingName=true}else if($.flags&262144){var q=$.flags&524288;var G=E.isIterationStatement(j,false);var ie=j.kind===233&&E.isIterationStatement(j.parent,false);R.isDeclarationWithCollidingName=!E.isBlockScopedContainerTopLevel(j)&&(!q||!G&&!ie)}else{R.isDeclarationWithCollidingName=false}}}return R.isDeclarationWithCollidingName}return false}function getReferencedDeclarationWithCollidingName(N){if(!E.isGeneratedIdentifier(N)){var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(j&&isSymbolOfDeclarationWithCollidingName(j)){return j.valueDeclaration}}}return undefined}function isDeclarationWithCollidingName(N){var R=E.getParseTreeNode(N,E.isDeclaration);if(R){var j=getSymbolOfNode(R);if(j){return isSymbolOfDeclarationWithCollidingName(j)}}return false}function isValueAliasDeclaration(N){switch(N.kind){case 263:return isAliasResolvedToValue(getSymbolOfNode(N)||jt);case 265:case 266:case 268:case 273:var R=getSymbolOfNode(N)||jt;return isAliasResolvedToValue(R)&&!getTypeOnlyAliasDeclaration(R);case 270:var j=N.exportClause;return!!j&&(E.isNamespaceExport(j)||E.some(j.elements,isValueAliasDeclaration));case 269:return N.expression&&N.expression.kind===79?isAliasResolvedToValue(getSymbolOfNode(N)||jt):true}return false}function isTopLevelValueImportEqualsWithEntityName(N){var R=E.getParseTreeNode(N,E.isImportEqualsDeclaration);if(R===undefined||R.parent.kind!==300||!E.isInternalModuleImportEqualsDeclaration(R)){return false}var j=isAliasResolvedToValue(getSymbolOfNode(R));return j&&R.moduleReference&&!E.nodeIsMissing(R.moduleReference)}function isAliasResolvedToValue(N){var R=resolveAlias(N);if(R===jt){return true}return!!(R.flags&111551)&&(E.shouldPreserveConstEnums(Xe)||!isConstEnumOrConstEnumOnlyModule(R))}function isConstEnumOrConstEnumOnlyModule(E){return isConstEnumSymbol(E)||!!E.constEnumOnlyModule}function isReferencedAliasDeclaration(N,R){if(isAliasSymbolDeclaration(N)){var j=getSymbolOfNode(N);var $=j&&getSymbolLinks(j);if($===null||$===void 0?void 0:$.referenced){return true}var q=getSymbolLinks(j).target;if(q&&E.getEffectiveModifierFlags(N)&1&&q.flags&111551&&(E.shouldPreserveConstEnums(Xe)||!isConstEnumOrConstEnumOnlyModule(q))){return true}}if(R){return!!E.forEachChild(N,(function(E){return isReferencedAliasDeclaration(E,R)}))}return false}function isImplementationOfOverload(N){if(E.nodeIsPresent(N.body)){if(E.isGetAccessor(N)||E.isSetAccessor(N))return false;var R=getSymbolOfNode(N);var j=getSignaturesOfSymbol(R);return j.length>1||j.length===1&&j[0].declaration!==N}return false}function isRequiredInitializedParameter(N){return!!rt&&!isOptionalParameter(N)&&!E.isJSDocParameterTag(N)&&!!N.initializer&&!E.hasSyntacticModifier(N,16476)}function isOptionalUninitializedParameterProperty(N){return rt&&isOptionalParameter(N)&&!N.initializer&&E.hasSyntacticModifier(N,16476)}function isOptionalUninitializedParameter(E){return!!rt&&isOptionalParameter(E)&&!E.initializer}function isExpandoFunctionDeclaration(N){var R=E.getParseTreeNode(N,E.isFunctionDeclaration);if(!R){return false}var j=getSymbolOfNode(R);if(!j||!(j.flags&16)){return false}return!!E.forEachEntry(getExportsOfSymbol(j),(function(N){return N.flags&111551&&N.valueDeclaration&&E.isPropertyAccessExpression(N.valueDeclaration)}))}function getPropertiesOfContainerFunction(N){var R=E.getParseTreeNode(N,E.isFunctionDeclaration);if(!R){return E.emptyArray}var j=getSymbolOfNode(R);return j&&getPropertiesOfType(getTypeOfSymbol(j))||E.emptyArray}function getNodeCheckFlags(E){var N;var R=E.id||0;if(R<0||R>=si.length)return 0;return((N=si[R])===null||N===void 0?void 0:N.flags)||0}function getEnumMemberValue(E){computeEnumMemberValues(E.parent);return getNodeLinks(E).enumMemberValue}function canHaveConstantValue(E){switch(E.kind){case 294:case 204:case 205:return true}return false}function getConstantValue(N){if(N.kind===294){return getEnumMemberValue(N)}var R=getNodeLinks(N).resolvedSymbol;if(R&&R.flags&8){var j=R.valueDeclaration;if(E.isEnumConst(j.parent)){return getEnumMemberValue(j)}}return undefined}function isFunctionType(E){return!!(E.flags&524288)&&getSignaturesOfType(E,0).length>0}function getTypeReferenceSerializationKind(N,R){var j,$;var q=E.getParseTreeNode(N,E.isEntityName);if(!q)return E.TypeReferenceSerializationKind.Unknown;if(R){R=E.getParseTreeNode(R);if(!R)return E.TypeReferenceSerializationKind.Unknown}var G=false;if(E.isQualifiedName(q)){var ie=resolveEntityName(E.getFirstIdentifier(q),111551,true,true,R);G=!!((j=ie===null||ie===void 0?void 0:ie.declarations)===null||j===void 0?void 0:j.every(E.isTypeOnlyImportOrExportDeclaration))}var ae=resolveEntityName(q,111551,true,true,R);var ce=ae&&ae.flags&2097152?resolveAlias(ae):ae;G||(G=!!(($=ae===null||ae===void 0?void 0:ae.declarations)===null||$===void 0?void 0:$.every(E.isTypeOnlyImportOrExportDeclaration)));var le=resolveEntityName(q,788968,true,false,R);if(ce&&ce===le){var _e=getGlobalPromiseConstructorSymbol(false);if(_e&&ce===_e){return E.TypeReferenceSerializationKind.Promise}var Ee=getTypeOfSymbol(ce);if(Ee&&isConstructorType(Ee)){return G?E.TypeReferenceSerializationKind.TypeWithCallSignature:E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}}if(!le){return G?E.TypeReferenceSerializationKind.ObjectType:E.TypeReferenceSerializationKind.Unknown}var Te=getDeclaredTypeOfSymbol(le);if(Te===Jt){return G?E.TypeReferenceSerializationKind.ObjectType:E.TypeReferenceSerializationKind.Unknown}else if(Te.flags&3){return E.TypeReferenceSerializationKind.ObjectType}else if(isTypeAssignableToKind(Te,16384|98304|131072)){return E.TypeReferenceSerializationKind.VoidNullableOrNeverType}else if(isTypeAssignableToKind(Te,528)){return E.TypeReferenceSerializationKind.BooleanType}else if(isTypeAssignableToKind(Te,296)){return E.TypeReferenceSerializationKind.NumberLikeType}else if(isTypeAssignableToKind(Te,2112)){return E.TypeReferenceSerializationKind.BigIntLikeType}else if(isTypeAssignableToKind(Te,402653316)){return E.TypeReferenceSerializationKind.StringLikeType}else if(isTupleType(Te)){return E.TypeReferenceSerializationKind.ArrayLikeType}else if(isTypeAssignableToKind(Te,12288)){return E.TypeReferenceSerializationKind.ESSymbolType}else if(isFunctionType(Te)){return E.TypeReferenceSerializationKind.TypeWithCallSignature}else if(isArrayType(Te)){return E.TypeReferenceSerializationKind.ArrayLikeType}else{return E.TypeReferenceSerializationKind.ObjectType}}function createTypeOfDeclaration(N,R,j,$,q){var G=E.getParseTreeNode(N,E.isVariableLikeOrAccessor);if(!G){return E.factory.createToken(129)}var ie=getSymbolOfNode(G);var ae=ie&&!(ie.flags&(2048|131072))?getWidenedLiteralType(getTypeOfSymbol(ie)):Jt;if(ae.flags&8192&&ae.symbol===ie){j|=1048576}if(q){ae=getOptionalType(ae)}return _t.typeToTypeNode(ae,R,j|1024,$)}function createReturnTypeOfSignatureDeclaration(N,R,j,$){var q=E.getParseTreeNode(N,E.isFunctionLike);if(!q){return E.factory.createToken(129)}var G=getSignatureFromDeclaration(q);return _t.typeToTypeNode(getReturnTypeOfSignature(G),R,j|1024,$)}function createTypeOfExpression(N,R,j,$){var q=E.getParseTreeNode(N,E.isExpression);if(!q){return E.factory.createToken(129)}var G=getWidenedType(getRegularTypeOfExpression(q));return _t.typeToTypeNode(G,R,j|1024,$)}function hasGlobalName(N){return yt.has(E.escapeLeadingUnderscores(N))}function getReferencedValueSymbol(N,R){var j=getNodeLinks(N).resolvedSymbol;if(j){return j}var $=N;if(R){var q=N.parent;if(E.isDeclaration(q)&&N===q.name){$=getDeclarationContainer(q)}}return resolveName($,N.escapedText,111551|1048576|2097152,undefined,undefined,true)}function getReferencedValueDeclaration(N){if(!E.isGeneratedIdentifier(N)){var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(j){return getExportSymbolOfValueSymbolIfExported(j).valueDeclaration}}}return undefined}function isLiteralConstDeclaration(N){if(E.isDeclarationReadonly(N)||E.isVariableDeclaration(N)&&E.isVarConst(N)){return isFreshLiteralType(getTypeOfSymbol(getSymbolOfNode(N)))}return false}function literalTypeToNode(N,R,j){var $=N.flags&1024?_t.symbolToExpression(N.symbol,111551,R,undefined,j):N===ar?E.factory.createTrue():N===nr&&E.factory.createFalse();if($)return $;var q=N.value;return typeof q==="object"?E.factory.createBigIntLiteral(q):typeof q==="number"?E.factory.createNumericLiteral(q):E.factory.createStringLiteral(q)}function createLiteralConstValue(E,N){var R=getTypeOfSymbol(getSymbolOfNode(E));return literalTypeToNode(R,E,N)}function getJsxFactoryEntity(N){return N?(getJsxNamespace(N),E.getSourceFileOfNode(N).localJsxFactory||Ci):Ci}function getJsxFragmentFactoryEntity(N){if(N){var R=E.getSourceFileOfNode(N);if(R){if(R.localJsxFragmentFactory){return R.localJsxFragmentFactory}var j=R.pragmas.get("jsxfrag");var $=E.isArray(j)?j[0]:j;if($){R.localJsxFragmentFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);return R.localJsxFragmentFactory}}}if(Xe.jsxFragmentFactory){return E.parseIsolatedEntityName(Xe.jsxFragmentFactory,Ye)}}function createResolver(){var N=q.getResolvedTypeReferenceDirectives();var R;if(N){R=new E.Map;N.forEach((function(E,N){if(!E||!E.resolvedFileName){return}var R=q.getSourceFile(E.resolvedFileName);if(R){addReferencedFilesToTypeDirective(R,N)}}))}return{getReferencedExportContainer:getReferencedExportContainer,getReferencedImportDeclaration:getReferencedImportDeclaration,getReferencedDeclarationWithCollidingName:getReferencedDeclarationWithCollidingName,isDeclarationWithCollidingName:isDeclarationWithCollidingName,isValueAliasDeclaration:function(N){var R=E.getParseTreeNode(N);return R?isValueAliasDeclaration(R):true},hasGlobalName:hasGlobalName,isReferencedAliasDeclaration:function(N,R){var j=E.getParseTreeNode(N);return j?isReferencedAliasDeclaration(j,R):true},getNodeCheckFlags:function(N){var R=E.getParseTreeNode(N);return R?getNodeCheckFlags(R):0},isTopLevelValueImportEqualsWithEntityName:isTopLevelValueImportEqualsWithEntityName,isDeclarationVisible:isDeclarationVisible,isImplementationOfOverload:isImplementationOfOverload,isRequiredInitializedParameter:isRequiredInitializedParameter,isOptionalUninitializedParameterProperty:isOptionalUninitializedParameterProperty,isExpandoFunctionDeclaration:isExpandoFunctionDeclaration,getPropertiesOfContainerFunction:getPropertiesOfContainerFunction,createTypeOfDeclaration:createTypeOfDeclaration,createReturnTypeOfSignatureDeclaration:createReturnTypeOfSignatureDeclaration,createTypeOfExpression:createTypeOfExpression,createLiteralConstValue:createLiteralConstValue,isSymbolAccessible:isSymbolAccessible,isEntityNameVisible:isEntityNameVisible,getConstantValue:function(N){var R=E.getParseTreeNode(N,canHaveConstantValue);return R?getConstantValue(R):undefined},collectLinkedAliases:collectLinkedAliases,getReferencedValueDeclaration:getReferencedValueDeclaration,getTypeReferenceSerializationKind:getTypeReferenceSerializationKind,isOptionalParameter:isOptionalParameter,moduleExportsSomeValue:moduleExportsSomeValue,isArgumentsLocalBinding:isArgumentsLocalBinding,getExternalModuleFileFromDeclaration:function(N){var R=E.getParseTreeNode(N,E.hasPossibleExternalModuleReference);return R&&getExternalModuleFileFromDeclaration(R)},getTypeReferenceDirectivesForEntityName:getTypeReferenceDirectivesForEntityName,getTypeReferenceDirectivesForSymbol:getTypeReferenceDirectivesForSymbol,isLiteralConstDeclaration:isLiteralConstDeclaration,isLateBound:function(N){var R=E.getParseTreeNode(N,E.isDeclaration);var j=R&&getSymbolOfNode(R);return!!(j&&E.getCheckFlags(j)&4096)},getJsxFactoryEntity:getJsxFactoryEntity,getJsxFragmentFactoryEntity:getJsxFragmentFactoryEntity,getAllAccessorDeclarations:function(N){N=E.getParseTreeNode(N,E.isGetOrSetAccessorDeclaration);var R=N.kind===171?170:171;var j=E.getDeclarationOfKind(getSymbolOfNode(N),R);var $=j&&j.pos<N.pos?j:N;var q=j&&j.pos<N.pos?N:j;var G=N.kind===171?N:j;var ie=N.kind===170?N:j;return{firstAccessor:$,secondAccessor:q,setAccessor:G,getAccessor:ie}},getSymbolOfExternalModuleSpecifier:function(E){return resolveExternalModuleNameWorker(E,E,undefined)},isBindingCapturedByNode:function(N,R){var j=E.getParseTreeNode(N);var $=E.getParseTreeNode(R);return!!j&&!!$&&(E.isVariableDeclaration($)||E.isBindingElement($))&&isBindingCapturedByNode(j,$)},getDeclarationStatementsForSourceFile:function(N,R,j,$){var q=E.getParseTreeNode(N);E.Debug.assert(q&&q.kind===300,"Non-sourcefile node passed into getDeclarationsForSourceFile");var G=getSymbolOfNode(N);if(!G){return!N.locals?[]:_t.symbolTableToDeclarationStatements(N.locals,N,R,j,$)}return!G.exports?[]:_t.symbolTableToDeclarationStatements(G.exports,N,R,j,$)},isImportRequiredByAugmentation:isImportRequiredByAugmentation};function isImportRequiredByAugmentation(N){var R=E.getSourceFileOfNode(N);if(!R.symbol)return false;var j=getExternalModuleFileFromDeclaration(N);if(!j)return false;if(j===R)return false;var $=getExportsOfModule(R.symbol);for(var q=0,G=E.arrayFrom($.values());q<G.length;q++){var ie=G[q];if(ie.mergeId){var ae=getMergedSymbol(ie);if(ae.declarations){for(var ce=0,le=ae.declarations;ce<le.length;ce++){var _e=le[ce];var Ee=E.getSourceFileOfNode(_e);if(Ee===j){return true}}}}}return false}function isInHeritageClause(E){return E.parent&&E.parent.kind===226&&E.parent.parent&&E.parent.parent.kind===289}function getTypeReferenceDirectivesForEntityName(E){if(!R){return undefined}var N=788968|1920;if(E.kind===79&&isInTypeQuery(E)||E.kind===204&&!isInHeritageClause(E)){N=111551|1048576}var j=resolveEntityName(E,N,true);return j&&j!==jt?getTypeReferenceDirectivesForSymbol(j,N):undefined}function getTypeReferenceDirectivesForSymbol(N,j){if(!R||!isSymbolFromTypeDeclarationFile(N)){return undefined}var $;for(var q=0,G=N.declarations;q<G.length;q++){var ie=G[q];if(ie.symbol&&ie.symbol.flags&j){var ae=E.getSourceFileOfNode(ie);var ce=R.get(ae.path);if(ce){($||($=[])).push(ce)}else{return undefined}}}return $}function isSymbolFromTypeDeclarationFile(N){if(!N.declarations){return false}var j=N;while(true){var $=getParentOfSymbol(j);if($){j=$}else{break}}if(j.valueDeclaration&&j.valueDeclaration.kind===300&&j.flags&512){return false}for(var q=0,G=N.declarations;q<G.length;q++){var ie=G[q];var ae=E.getSourceFileOfNode(ie);if(R.has(ae.path)){return true}}return false}function addReferencedFilesToTypeDirective(N,j){if(R.has(N.path))return;R.set(N.path,j);for(var $=0,G=N.referencedFiles;$<G.length;$++){var ie=G[$].fileName;var ae=E.resolveTripleslashReference(ie,N.fileName);var ce=q.getSourceFile(ae);if(ce){addReferencedFilesToTypeDirective(ce,j)}}}}function getExternalModuleFileFromDeclaration(N){var R=N.kind===259?E.tryCast(N.name,E.isStringLiteral):E.getExternalModuleName(N);var j=resolveExternalModuleNameWorker(R,R,undefined);if(!j){return undefined}return E.getDeclarationOfKind(j,300)}function initializeTypeChecker(){for(var N=0,R=q.getSourceFiles();N<R.length;N++){var j=R[N];E.bindSourceFile(j,Xe)}Kr=new E.Map;var $;for(var G=0,ie=q.getSourceFiles();G<ie.length;G++){var j=ie[G];if(j.redirectInfo){continue}if(!E.isExternalOrCommonJsModule(j)){var ae=j.locals.get("globalThis");if(ae===null||ae===void 0?void 0:ae.declarations){for(var ce=0,le=ae.declarations;ce<le.length;ce++){var _e=le[ce];xi.add(E.createDiagnosticForNode(_e,E.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"))}}mergeSymbolTable(yt,j.locals)}if(j.jsGlobalAugmentations){mergeSymbolTable(yt,j.jsGlobalAugmentations)}if(j.patternAmbientModules&&j.patternAmbientModules.length){Zr=E.concatenate(Zr,j.patternAmbientModules)}if(j.moduleAugmentations.length){($||($=[])).push(j.moduleAugmentations)}if(j.symbol&&j.symbol.globalExports){var Ee=j.symbol.globalExports;Ee.forEach((function(E,N){if(!yt.has(N)){yt.set(N,E)}}))}}if($){for(var Te=0,we=$;Te<we.length;Te++){var Ie=we[Te];for(var Ne=0,Me=Ie;Ne<Me.length;Ne++){var Le=Me[Ne];if(!E.isGlobalScopeAugmentation(Le.parent))continue;mergeModuleAugmentation(Le)}}}addToSymbolTable(yt,Oi,E.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0);getSymbolLinks(vt).type=Kt;getSymbolLinks(xt).type=getGlobalType("IArguments",0,true);getSymbolLinks(jt).type=Jt;getSymbolLinks(bt).type=createObjectType(16,bt);on=getGlobalType("Array",1,true);tn=getGlobalType("Object",0,true);rn=getGlobalType("Function",0,true);nn=it&&getGlobalType("CallableFunction",0,true)||rn;an=it&&getGlobalType("NewableFunction",0,true)||rn;cn=getGlobalType("String",0,true);ln=getGlobalType("Number",0,true);un=getGlobalType("Boolean",0,true);dn=getGlobalType("RegExp",0,true);mn=createArrayType(zt);gn=createArrayType(Wt);if(gn===Tr){gn=createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,E.emptyArray)}sn=getGlobalTypeOrUndefined("ReadonlyArray",1)||on;hn=sn?createTypeFromGenericGlobalType(sn,[zt]):mn;pn=getGlobalTypeOrUndefined("ThisType",1);if($){for(var Be=0,je=$;Be<je.length;Be++){var Ie=je[Be];for(var Ue=0,ze=Ie;Ue<ze.length;Ue++){var Le=ze[Ue];if(E.isGlobalScopeAugmentation(Le.parent))continue;mergeModuleAugmentation(Le)}}}Kr.forEach((function(N){var R=N.firstFile,j=N.secondFile,$=N.conflictingSymbols;if($.size<8){$.forEach((function(N,R){var j=N.isBlockScoped,$=N.firstFileLocations,q=N.secondFileLocations;var G=j?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;for(var ie=0,ae=$;ie<ae.length;ie++){var ce=ae[ie];addDuplicateDeclarationError(ce,G,R,q)}for(var le=0,_e=q;le<_e.length;le++){var ce=_e[le];addDuplicateDeclarationError(ce,G,R,$)}}))}else{var q=E.arrayFrom($.keys()).join(", ");xi.add(E.addRelatedInfo(E.createDiagnosticForNode(R,E.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,q),E.createDiagnosticForNode(j,E.Diagnostics.Conflicts_are_in_this_file)));xi.add(E.addRelatedInfo(E.createDiagnosticForNode(j,E.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,q),E.createDiagnosticForNode(R,E.Diagnostics.Conflicts_are_in_this_file)))}}));Kr=undefined}function checkExternalEmitHelpers(N,R){if((Ee&R)!==R&&Xe.importHelpers){var j=E.getSourceFileOfNode(N);if(E.isEffectiveExternalModule(j,Xe)&&!(N.flags&8388608)){var $=resolveHelpersModule(j,N);if($!==jt){var q=R&~Ee;for(var G=1;G<=2097152;G<<=1){if(q&G){var ie=getHelperName(G);var ae=getSymbol($.exports,E.escapeLeadingUnderscores(ie),111551);if(!ae){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie)}else if(G&524288){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>3}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,4)}}else if(G&1048576){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>4}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,5)}}else if(G&1024){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>2}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,3)}}}}}Ee|=R}}}function getHelperName(N){switch(N){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spreadArray";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";case 65536:return"__importStar";case 131072:return"__importDefault";case 262144:return"__makeTemplateObject";case 524288:return"__classPrivateFieldGet";case 1048576:return"__classPrivateFieldSet";case 2097152:return"__createBinding";default:return E.Debug.fail("Unrecognized helper")}}function resolveHelpersModule(N,R){if(!Te){Te=resolveExternalModule(N,E.externalHelpersModuleNameText,E.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,R)||jt}return Te}function checkGrammarDecoratorsAndModifiers(E){return checkGrammarDecorators(E)||checkGrammarModifiers(E)}function checkGrammarDecorators(N){if(!N.decorators){return false}if(!E.nodeCanBeDecorated(N,N.parent,N.parent.parent)){if(N.kind===167&&!E.nodeIsPresent(N.body)){return grammarErrorOnFirstToken(N,E.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload)}else{return grammarErrorOnFirstToken(N,E.Diagnostics.Decorators_are_not_valid_here)}}else if(N.kind===170||N.kind===171){var R=E.getAllAccessorDeclarations(N.parent.members,N);if(R.firstAccessor.decorators&&N===R.secondAccessor){return grammarErrorOnFirstToken(N,E.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}return false}function checkGrammarModifiers(N){var R=reportObviousModifierErrors(N);if(R!==undefined){return R}var j,$,q,G,ie;var ae=0;for(var ce=0,le=N.modifiers;ce<le.length;ce++){var _e=le[ce];if(_e.kind!==143){if(N.kind===164||N.kind===166){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_a_type_member,E.tokenToString(_e.kind))}if(N.kind===174&&(_e.kind!==124||!E.isClassLike(N.parent))){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,E.tokenToString(_e.kind))}}switch(_e.kind){case 85:if(N.kind!==258){return grammarErrorOnNode(N,E.Diagnostics.A_class_member_cannot_have_the_0_keyword,E.tokenToString(85))}break;case 157:if(ae&16384){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_already_seen,"override")}else if(ae&2){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"override","declare")}else if(ae&64){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"override","readonly")}else if(ae&256){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"override","async")}ae|=16384;ie=_e;break;case 123:case 122:case 121:var Ee=visibilityToString(E.modifierToFlag(_e.kind));if(ae&28){return grammarErrorOnNode(_e,E.Diagnostics.Accessibility_modifier_already_seen)}else if(ae&16384){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,Ee,"override")}else if(ae&32){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,Ee,"static")}else if(ae&64){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,Ee,"readonly")}else if(ae&256){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,Ee,"async")}else if(N.parent.kind===260||N.parent.kind===300){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,Ee)}else if(ae&128){if(_e.kind===121){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,Ee,"abstract")}else{return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,Ee,"abstract")}}else if(E.isPrivateIdentifierClassElementDeclaration(N)){return grammarErrorOnNode(_e,E.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}ae|=E.modifierToFlag(_e.kind);break;case 124:if(ae&32){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_already_seen,"static")}else if(ae&64){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly")}else if(ae&256){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"static","async")}else if(N.parent.kind===260||N.parent.kind===300){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static")}else if(N.kind===162){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static")}else if(ae&128){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract")}else if(ae&16384){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"static","override")}ae|=32;j=_e;break;case 143:if(ae&64){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_already_seen,"readonly")}else if(N.kind!==165&&N.kind!==164&&N.kind!==174&&N.kind!==162){return grammarErrorOnNode(_e,E.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature)}ae|=64;G=_e;break;case 93:if(ae&1){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_already_seen,"export")}else if(ae&2){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare")}else if(ae&128){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract")}else if(ae&256){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"export","async")}else if(E.isClassLike(N.parent)){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export")}else if(N.kind===162){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export")}ae|=1;break;case 88:var Te=N.parent.kind===300?N.parent:N.parent.parent;if(Te.kind===259&&!E.isAmbientModule(Te)){return grammarErrorOnNode(_e,E.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}else if(!(ae&1)){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"export","default")}ae|=512;break;case 134:if(ae&2){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_already_seen,"declare")}else if(ae&256){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async")}else if(ae&16384){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"override")}else if(E.isClassLike(N.parent)&&!E.isPropertyDeclaration(N)){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare")}else if(N.kind===162){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare")}else if(N.parent.flags&8388608&&N.parent.kind===260){return grammarErrorOnNode(_e,E.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context)}else if(E.isPrivateIdentifierClassElementDeclaration(N)){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"declare")}ae|=2;$=_e;break;case 126:if(ae&128){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_already_seen,"abstract")}if(N.kind!==255&&N.kind!==178){if(N.kind!==167&&N.kind!==165&&N.kind!==170&&N.kind!==171){return grammarErrorOnNode(_e,E.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration)}if(!(N.parent.kind===255&&E.hasSyntacticModifier(N.parent,128))){return grammarErrorOnNode(_e,E.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class)}if(ae&32){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract")}if(ae&8){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"private","abstract")}if(ae&256&&q){return grammarErrorOnNode(q,E.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract")}if(ae&16384){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_must_precede_1_modifier,"abstract","override")}}if(E.isNamedDeclaration(N)&&N.name.kind===80){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"abstract")}ae|=128;break;case 130:if(ae&256){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_already_seen,"async")}else if(ae&2||N.parent.flags&8388608){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async")}else if(N.kind===162){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async")}if(ae&128){return grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract")}ae|=256;q=_e;break}}if(N.kind===169){if(ae&32){return grammarErrorOnNode(j,E.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"static")}if(ae&128){return grammarErrorOnNode(j,E.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"abstract")}if(ae&16384){return grammarErrorOnNode(ie,E.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"override")}else if(ae&256){return grammarErrorOnNode(q,E.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"async")}else if(ae&64){return grammarErrorOnNode(G,E.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"readonly")}return false}else if((N.kind===264||N.kind===263)&&ae&2){return grammarErrorOnNode($,E.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare")}else if(N.kind===162&&ae&16476&&E.isBindingPattern(N.name)){return grammarErrorOnNode(N,E.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern)}else if(N.kind===162&&ae&16476&&N.dotDotDotToken){return grammarErrorOnNode(N,E.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter)}if(ae&256){return checkGrammarAsyncModifier(N,q)}return false}function reportObviousModifierErrors(N){return!N.modifiers?false:shouldReportBadModifier(N)?grammarErrorOnFirstToken(N,E.Diagnostics.Modifiers_cannot_appear_here):undefined}function shouldReportBadModifier(N){switch(N.kind){case 170:case 171:case 169:case 165:case 164:case 167:case 166:case 174:case 259:case 264:case 263:case 270:case 269:case 211:case 212:case 162:return false;default:if(N.parent.kind===260||N.parent.kind===300){return false}switch(N.kind){case 254:return nodeHasAnyModifiersExcept(N,130);case 255:case 178:return nodeHasAnyModifiersExcept(N,126);case 256:case 235:case 257:case 168:return true;case 258:return nodeHasAnyModifiersExcept(N,85);default:E.Debug.fail()}}}function nodeHasAnyModifiersExcept(E,N){return E.modifiers.length>1||E.modifiers[0].kind!==N}function checkGrammarAsyncModifier(N,R){switch(N.kind){case 167:case 254:case 211:case 212:return false}return grammarErrorOnNode(R,E.Diagnostics._0_modifier_cannot_be_used_here,"async")}function checkGrammarForDisallowedTrailingComma(N,R){if(R===void 0){R=E.Diagnostics.Trailing_comma_not_allowed}if(N&&N.hasTrailingComma){return grammarErrorAtPos(N[0],N.end-",".length,",".length,R)}return false}function checkGrammarTypeParameterList(N,R){if(N&&N.length===0){var j=N.pos-"<".length;var $=E.skipTrivia(R.text,N.end)+">".length;return grammarErrorAtPos(R,j,$-j,E.Diagnostics.Type_parameter_list_cannot_be_empty)}return false}function checkGrammarParameterList(N){var R=false;var j=N.length;for(var $=0;$<j;$++){var q=N[$];if(q.dotDotDotToken){if($!==j-1){return grammarErrorOnNode(q.dotDotDotToken,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}if(!(q.flags&8388608)){checkGrammarForDisallowedTrailingComma(N,E.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma)}if(q.questionToken){return grammarErrorOnNode(q.questionToken,E.Diagnostics.A_rest_parameter_cannot_be_optional)}if(q.initializer){return grammarErrorOnNode(q.name,E.Diagnostics.A_rest_parameter_cannot_have_an_initializer)}}else if(isOptionalParameter(q)){R=true;if(q.questionToken&&q.initializer){return grammarErrorOnNode(q.name,E.Diagnostics.Parameter_cannot_have_question_mark_and_initializer)}}else if(R&&!q.initializer){return grammarErrorOnNode(q.name,E.Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter)}}}function getNonSimpleParameters(N){return E.filter(N,(function(N){return!!N.initializer||E.isBindingPattern(N.name)||E.isRestParameter(N)}))}function checkGrammarForUseStrictSimpleParameterList(N){if(Ye>=3){var R=N.body&&E.isBlock(N.body)&&E.findUseStrictPrologue(N.body.statements);if(R){var $=getNonSimpleParameters(N.parameters);if(E.length($)){E.forEach($,(function(N){E.addRelatedInfo(error(N,E.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),E.createDiagnosticForNode(R,E.Diagnostics.use_strict_directive_used_here))}));var q=$.map((function(N,R){return R===0?E.createDiagnosticForNode(N,E.Diagnostics.Non_simple_parameter_declared_here):E.createDiagnosticForNode(N,E.Diagnostics.and_here)}));E.addRelatedInfo.apply(void 0,j([error(R,E.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],q,false));return true}}}return false}function checkGrammarFunctionLikeDeclaration(N){var R=E.getSourceFileOfNode(N);return checkGrammarDecoratorsAndModifiers(N)||checkGrammarTypeParameterList(N.typeParameters,R)||checkGrammarParameterList(N.parameters)||checkGrammarArrowFunction(N,R)||E.isFunctionLikeDeclaration(N)&&checkGrammarForUseStrictSimpleParameterList(N)}function checkGrammarClassLikeDeclaration(N){var R=E.getSourceFileOfNode(N);return checkGrammarClassDeclarationHeritageClauses(N)||checkGrammarTypeParameterList(N.typeParameters,R)}function checkGrammarArrowFunction(N,R){if(!E.isArrowFunction(N)){return false}var j=N.equalsGreaterThanToken;var $=E.getLineAndCharacterOfPosition(R,j.pos).line;var q=E.getLineAndCharacterOfPosition(R,j.end).line;return $!==q&&grammarErrorOnNode(j,E.Diagnostics.Line_terminator_not_permitted_before_arrow)}function checkGrammarIndexSignatureParameters(N){var R=N.parameters[0];if(N.parameters.length!==1){if(R){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}else{return grammarErrorOnNode(N,E.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}}checkGrammarForDisallowedTrailingComma(N.parameters,E.Diagnostics.An_index_signature_cannot_have_a_trailing_comma);if(R.dotDotDotToken){return grammarErrorOnNode(R.dotDotDotToken,E.Diagnostics.An_index_signature_cannot_have_a_rest_parameter)}if(E.hasEffectiveModifiers(R)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier)}if(R.questionToken){return grammarErrorOnNode(R.questionToken,E.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark)}if(R.initializer){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer)}if(!R.type){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation)}var j=getTypeFromTypeNode(R.type);if(someType(j,(function(E){return!!(E.flags&8576)}))||isGenericType(j)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead)}if(!everyType(j,isValidIndexKeyType)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}if(!N.type){return grammarErrorOnNode(N,E.Diagnostics.An_index_signature_must_have_a_type_annotation)}return false}function checkGrammarIndexSignature(E){return checkGrammarDecoratorsAndModifiers(E)||checkGrammarIndexSignatureParameters(E)}function checkGrammarForAtLeastOneTypeArgument(N,R){if(R&&R.length===0){var j=E.getSourceFileOfNode(N);var $=R.pos-"<".length;var q=E.skipTrivia(j.text,R.end)+">".length;return grammarErrorAtPos(j,$,q-$,E.Diagnostics.Type_argument_list_cannot_be_empty)}return false}function checkGrammarTypeArguments(E,N){return checkGrammarForDisallowedTrailingComma(N)||checkGrammarForAtLeastOneTypeArgument(E,N)}function checkGrammarTaggedTemplateChain(N){if(N.questionDotToken||N.flags&32){return grammarErrorOnNode(N.template,E.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)}return false}function checkGrammarForOmittedArgument(N){if(N){for(var R=0,j=N;R<j.length;R++){var $=j[R];if($.kind===225){return grammarErrorAtPos($,$.pos,0,E.Diagnostics.Argument_expression_expected)}}}return false}function checkGrammarArguments(E){return checkGrammarForOmittedArgument(E)}function checkGrammarHeritageClause(N){var R=N.types;if(checkGrammarForDisallowedTrailingComma(R)){return true}if(R&&R.length===0){var j=E.tokenToString(N.token);return grammarErrorAtPos(N,R.pos,0,E.Diagnostics._0_list_cannot_be_empty,j)}return E.some(R,checkGrammarExpressionWithTypeArguments)}function checkGrammarExpressionWithTypeArguments(E){return checkGrammarTypeArguments(E,E.typeArguments)}function checkGrammarClassDeclarationHeritageClauses(N){var R=false;var j=false;if(!checkGrammarDecoratorsAndModifiers(N)&&N.heritageClauses){for(var $=0,q=N.heritageClauses;$<q.length;$++){var G=q[$];if(G.token===94){if(R){return grammarErrorOnFirstToken(G,E.Diagnostics.extends_clause_already_seen)}if(j){return grammarErrorOnFirstToken(G,E.Diagnostics.extends_clause_must_precede_implements_clause)}if(G.types.length>1){return grammarErrorOnFirstToken(G.types[1],E.Diagnostics.Classes_can_only_extend_a_single_class)}R=true}else{E.Debug.assert(G.token===117);if(j){return grammarErrorOnFirstToken(G,E.Diagnostics.implements_clause_already_seen)}j=true}checkGrammarHeritageClause(G)}}}function checkGrammarInterfaceDeclaration(N){var R=false;if(N.heritageClauses){for(var j=0,$=N.heritageClauses;j<$.length;j++){var q=$[j];if(q.token===94){if(R){return grammarErrorOnFirstToken(q,E.Diagnostics.extends_clause_already_seen)}R=true}else{E.Debug.assert(q.token===117);return grammarErrorOnFirstToken(q,E.Diagnostics.Interface_declaration_cannot_have_implements_clause)}checkGrammarHeritageClause(q)}}return false}function checkGrammarComputedPropertyName(N){if(N.kind!==160){return false}var R=N;if(R.expression.kind===219&&R.expression.operatorToken.kind===27){return grammarErrorOnNode(R.expression,E.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name)}return false}function checkGrammarForGenerator(N){if(N.asteriskToken){E.Debug.assert(N.kind===254||N.kind===211||N.kind===167);if(N.flags&8388608){return grammarErrorOnNode(N.asteriskToken,E.Diagnostics.Generators_are_not_allowed_in_an_ambient_context)}if(!N.body){return grammarErrorOnNode(N.asteriskToken,E.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}}function checkGrammarForInvalidQuestionMark(E,N){return!!E&&grammarErrorOnNode(E,N)}function checkGrammarForInvalidExclamationToken(E,N){return!!E&&grammarErrorOnNode(E,N)}function checkGrammarObjectLiteralExpression(N,R){var j=new E.Map;for(var $=0,q=N.properties;$<q.length;$++){var G=q[$];if(G.kind===293){if(R){var ie=E.skipParentheses(G.expression);if(E.isArrayLiteralExpression(ie)||E.isObjectLiteralExpression(ie)){return grammarErrorOnNode(G.expression,E.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern)}}continue}var ae=G.name;if(ae.kind===160){checkGrammarComputedPropertyName(ae)}if(G.kind===292&&!R&&G.objectAssignmentInitializer){return grammarErrorOnNode(G.equalsToken,E.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern)}if(ae.kind===80){grammarErrorOnNode(ae,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies)}if(G.modifiers){for(var ce=0,le=G.modifiers;ce<le.length;ce++){var _e=le[ce];if(_e.kind!==130||G.kind!==167){grammarErrorOnNode(_e,E.Diagnostics._0_modifier_cannot_be_used_here,E.getTextOfNode(_e))}}}var Ee=void 0;switch(G.kind){case 292:checkGrammarForInvalidExclamationToken(G.exclamationToken,E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);case 291:checkGrammarForInvalidQuestionMark(G.questionToken,E.Diagnostics.An_object_member_cannot_be_declared_optional);if(ae.kind===8){checkGrammarNumericLiteral(ae)}Ee=4;break;case 167:Ee=8;break;case 170:Ee=1;break;case 171:Ee=2;break;default:throw E.Debug.assertNever(G,"Unexpected syntax kind:"+G.kind)}if(!R){var Te=E.getPropertyNameForPropertyNameNode(ae);if(Te===undefined){continue}var we=j.get(Te);if(!we){j.set(Te,Ee)}else{if(Ee&12&&we&12){grammarErrorOnNode(ae,E.Diagnostics.Duplicate_identifier_0,E.getTextOfNode(ae))}else if(Ee&3&&we&3){if(we!==3&&Ee!==we){j.set(Te,Ee|we)}else{return grammarErrorOnNode(ae,E.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name)}}else{return grammarErrorOnNode(ae,E.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name)}}}}}function checkGrammarJsxElement(N){checkGrammarJsxName(N.tagName);checkGrammarTypeArguments(N,N.typeArguments);var R=new E.Map;for(var j=0,$=N.attributes.properties;j<$.length;j++){var q=$[j];if(q.kind===285){continue}var G=q.name,ie=q.initializer;if(!R.get(G.escapedText)){R.set(G.escapedText,true)}else{return grammarErrorOnNode(G,E.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name)}if(ie&&ie.kind===286&&!ie.expression){return grammarErrorOnNode(ie,E.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}function checkGrammarJsxName(N){if(E.isPropertyAccessExpression(N)){var R=N;do{var j=checkGrammarJsxNestedIdentifier(R.name);if(j){return j}R=R.expression}while(E.isPropertyAccessExpression(R));var $=checkGrammarJsxNestedIdentifier(R);if($){return $}}function checkGrammarJsxNestedIdentifier(N){if(E.isIdentifier(N)&&E.idText(N).indexOf(":")!==-1){return grammarErrorOnNode(N,E.Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names)}}}function checkGrammarJsxExpression(N){if(N.expression&&E.isCommaSequence(N.expression)){return grammarErrorOnNode(N.expression,E.Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}}function checkGrammarForInOrForOfStatement(N){if(checkGrammarStatementInAmbientContext(N)){return true}if(N.kind===242&&N.awaitModifier){if(!(N.flags&32768)){var R=E.getSourceFileOfNode(N);if(E.isInTopLevelContext(N)){if(!hasParseDiagnostics(R)){if(!E.isEffectiveExternalModule(R,Xe)){xi.add(E.createDiagnosticForNode(N.awaitModifier,E.Diagnostics.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module))}if(Ze!==E.ModuleKind.ESNext&&Ze!==E.ModuleKind.System||Ye<4){xi.add(E.createDiagnosticForNode(N.awaitModifier,E.Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher))}}}else{if(!hasParseDiagnostics(R)){var j=E.createDiagnosticForNode(N.awaitModifier,E.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);var $=E.getContainingFunction(N);if($&&$.kind!==169){E.Debug.assert((E.getFunctionFlags($)&2)===0,"Enclosing function should never be an async function.");var q=E.createDiagnosticForNode($,E.Diagnostics.Did_you_mean_to_mark_this_function_as_async);E.addRelatedInfo(j,q)}xi.add(j);return true}}return false}}if(E.isForOfStatement(N)&&!(N.flags&32768)&&E.isIdentifier(N.initializer)&&N.initializer.escapedText==="async"){grammarErrorOnNode(N.initializer,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async);return false}if(N.initializer.kind===253){var G=N.initializer;if(!checkGrammarVariableDeclarationList(G)){var ie=G.declarations;if(!ie.length){return false}if(ie.length>1){var j=N.kind===241?E.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:E.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return grammarErrorOnFirstToken(G.declarations[1],j)}var ae=ie[0];if(ae.initializer){var j=N.kind===241?E.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:E.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return grammarErrorOnNode(ae.name,j)}if(ae.type){var j=N.kind===241?E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:E.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return grammarErrorOnNode(ae,j)}}}return false}function checkGrammarAccessor(N){if(!(N.flags&8388608)&&N.parent.kind!==180&&N.parent.kind!==256){if(Ye<1){return grammarErrorOnNode(N.name,E.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher)}if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}if(N.body===undefined&&!E.hasSyntacticModifier(N,128)){return grammarErrorAtPos(N,N.end-1,";".length,E.Diagnostics._0_expected,"{")}}if(N.body){if(E.hasSyntacticModifier(N,128)){return grammarErrorOnNode(N,E.Diagnostics.An_abstract_accessor_cannot_have_an_implementation)}if(N.parent.kind===180||N.parent.kind===256){return grammarErrorOnNode(N.body,E.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}}if(N.typeParameters){return grammarErrorOnNode(N.name,E.Diagnostics.An_accessor_cannot_have_type_parameters)}if(!doesAccessorHaveCorrectParameterCount(N)){return grammarErrorOnNode(N.name,N.kind===170?E.Diagnostics.A_get_accessor_cannot_have_parameters:E.Diagnostics.A_set_accessor_must_have_exactly_one_parameter)}if(N.kind===171){if(N.type){return grammarErrorOnNode(N.name,E.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation)}var R=E.Debug.checkDefined(E.getSetAccessorValueParameter(N),"Return value does not match parameter count assertion.");if(R.dotDotDotToken){return grammarErrorOnNode(R.dotDotDotToken,E.Diagnostics.A_set_accessor_cannot_have_rest_parameter)}if(R.questionToken){return grammarErrorOnNode(R.questionToken,E.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter)}if(R.initializer){return grammarErrorOnNode(N.name,E.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}return false}function doesAccessorHaveCorrectParameterCount(E){return getAccessorThisParameter(E)||E.parameters.length===(E.kind===170?0:1)}function getAccessorThisParameter(N){if(N.parameters.length===(N.kind===170?1:2)){return E.getThisParameter(N)}}function checkGrammarTypeOperatorNode(N){if(N.operator===152){if(N.type.kind!==149){return grammarErrorOnNode(N.type,E.Diagnostics._0_expected,E.tokenToString(149))}var R=E.walkUpParenthesizedTypes(N.parent);if(E.isInJSFile(R)&&E.isJSDocTypeExpression(R)){R=R.parent;if(E.isJSDocTypeTag(R)){R=R.parent.parent}}switch(R.kind){case 252:var j=R;if(j.name.kind!==79){return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name)}if(!E.isVariableDeclarationInVariableStatement(j)){return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement)}if(!(j.parent.flags&2)){return grammarErrorOnNode(R.name,E.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const)}break;case 165:if(!E.isStatic(R)||!E.hasEffectiveReadonlyModifier(R)){return grammarErrorOnNode(R.name,E.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly)}break;case 164:if(!E.hasSyntacticModifier(R,64)){return grammarErrorOnNode(R.name,E.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly)}break;default:return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(N.operator===143){if(N.type.kind!==181&&N.type.kind!==182){return grammarErrorOnFirstToken(N,E.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,E.tokenToString(149))}}}function checkGrammarForInvalidDynamicName(E,N){if(isNonBindableDynamicName(E)){return grammarErrorOnNode(E,N)}}function checkGrammarMethod(N){if(checkGrammarFunctionLikeDeclaration(N)){return true}if(N.kind===167){if(N.parent.kind===203){if(N.modifiers&&!(N.modifiers.length===1&&E.first(N.modifiers).kind===130)){return grammarErrorOnFirstToken(N,E.Diagnostics.Modifiers_cannot_appear_here)}else if(checkGrammarForInvalidQuestionMark(N.questionToken,E.Diagnostics.An_object_member_cannot_be_declared_optional)){return true}else if(checkGrammarForInvalidExclamationToken(N.exclamationToken,E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)){return true}else if(N.body===undefined){return grammarErrorAtPos(N,N.end-1,";".length,E.Diagnostics._0_expected,"{")}}if(checkGrammarForGenerator(N)){return true}}if(E.isClassLike(N.parent)){if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}if(N.flags&8388608){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(N.kind===167&&!N.body){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}else if(N.parent.kind===256){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(N.parent.kind===180){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function checkGrammarBreakOrContinueStatement(N){var R=N;while(R){if(E.isFunctionLikeOrClassStaticBlockDeclaration(R)){return grammarErrorOnNode(N,E.Diagnostics.Jump_target_cannot_cross_function_boundary)}switch(R.kind){case 248:if(N.label&&R.label.escapedText===N.label.escapedText){var j=N.kind===243&&!E.isIterationStatement(R.statement,true);if(j){return grammarErrorOnNode(N,E.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}return false}break;case 247:if(N.kind===244&&!N.label){return false}break;default:if(E.isIterationStatement(R,false)&&!N.label){return false}break}R=R.parent}if(N.label){var $=N.kind===244?E.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:E.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return grammarErrorOnNode(N,$)}else{var $=N.kind===244?E.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:E.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return grammarErrorOnNode(N,$)}}function checkGrammarBindingElement(N){if(N.dotDotDotToken){var R=N.parent.elements;if(N!==E.last(R)){return grammarErrorOnNode(N,E.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}checkGrammarForDisallowedTrailingComma(R,E.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);if(N.propertyName){return grammarErrorOnNode(N.name,E.Diagnostics.A_rest_element_cannot_have_a_property_name)}}if(N.dotDotDotToken&&N.initializer){return grammarErrorAtPos(N,N.initializer.pos-1,1,E.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function isStringOrNumberLiteralExpression(N){return E.isStringOrNumericLiteralLike(N)||N.kind===217&&N.operator===40&&N.operand.kind===8}function isBigIntLiteralExpression(E){return E.kind===9||E.kind===217&&E.operator===40&&E.operand.kind===9}function isSimpleLiteralEnumReference(N){if((E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)&&isStringOrNumberLiteralExpression(N.argumentExpression))&&E.isEntityNameExpression(N.expression)){return!!(checkExpressionCached(N).flags&1024)}}function checkAmbientInitializer(N){var R=N.initializer;if(R){var j=!(isStringOrNumberLiteralExpression(R)||isSimpleLiteralEnumReference(R)||R.kind===110||R.kind===95||isBigIntLiteralExpression(R));var $=E.isDeclarationReadonly(N)||E.isVariableDeclaration(N)&&E.isVarConst(N);if($&&!N.type){if(j){return grammarErrorOnNode(R,E.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}}else{return grammarErrorOnNode(R,E.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!$||j){return grammarErrorOnNode(R,E.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}}function checkGrammarVariableDeclaration(N){if(N.parent.parent.kind!==241&&N.parent.parent.kind!==242){if(N.flags&8388608){checkAmbientInitializer(N)}else if(!N.initializer){if(E.isBindingPattern(N.name)&&!E.isBindingPattern(N.parent)){return grammarErrorOnNode(N,E.Diagnostics.A_destructuring_declaration_must_have_an_initializer)}if(E.isVarConst(N)){return grammarErrorOnNode(N,E.Diagnostics.const_declarations_must_be_initialized)}}}if(N.exclamationToken&&(N.parent.parent.kind!==235||!N.type||N.initializer||N.flags&8388608)){var R=N.initializer?E.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:!N.type?E.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;return grammarErrorOnNode(N.exclamationToken,R)}var j=E.getEmitModuleKind(Xe);if(j<E.ModuleKind.ES2015&&j!==E.ModuleKind.System&&!(N.parent.parent.flags&8388608)&&E.hasSyntacticModifier(N.parent.parent,1)){checkESModuleMarker(N.name)}var $=E.isLet(N)||E.isVarConst(N);return $&&checkGrammarNameInLetOrConstDeclarations(N.name)}function checkESModuleMarker(N){if(N.kind===79){if(E.idText(N)==="__esModule"){return grammarErrorOnNodeSkippedOn("noEmit",N,E.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}}else{var R=N.elements;for(var j=0,$=R;j<$.length;j++){var q=$[j];if(!E.isOmittedExpression(q)){return checkESModuleMarker(q.name)}}}return false}function checkGrammarNameInLetOrConstDeclarations(N){if(N.kind===79){if(N.originalKeywordKind===119){return grammarErrorOnNode(N,E.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}}else{var R=N.elements;for(var j=0,$=R;j<$.length;j++){var q=$[j];if(!E.isOmittedExpression(q)){checkGrammarNameInLetOrConstDeclarations(q.name)}}}return false}function checkGrammarVariableDeclarationList(N){var R=N.declarations;if(checkGrammarForDisallowedTrailingComma(N.declarations)){return true}if(!N.declarations.length){return grammarErrorAtPos(N,R.pos,R.end-R.pos,E.Diagnostics.Variable_declaration_list_cannot_be_empty)}return false}function allowLetAndConstDeclarations(E){switch(E.kind){case 237:case 238:case 239:case 246:case 240:case 241:case 242:return false;case 248:return allowLetAndConstDeclarations(E.parent)}return true}function checkGrammarForDisallowedLetOrConstStatement(N){if(!allowLetAndConstDeclarations(N.parent)){if(E.isLet(N.declarationList)){return grammarErrorOnNode(N,E.Diagnostics.let_declarations_can_only_be_declared_inside_a_block)}else if(E.isVarConst(N.declarationList)){return grammarErrorOnNode(N,E.Diagnostics.const_declarations_can_only_be_declared_inside_a_block)}}}function checkGrammarMetaProperty(N){var R=N.name.escapedText;switch(N.keywordToken){case 103:if(R!=="target"){return grammarErrorOnNode(N.name,E.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,N.name.escapedText,E.tokenToString(N.keywordToken),"target")}break;case 100:if(R!=="meta"){return grammarErrorOnNode(N.name,E.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,N.name.escapedText,E.tokenToString(N.keywordToken),"meta")}break}}function hasParseDiagnostics(E){return E.parseDiagnostics.length>0}function grammarErrorOnFirstToken(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){var ie=E.getSpanOfTokenAtPosition(G,N.pos);xi.add(E.createFileDiagnostic(G,ie.start,ie.length,R,j,$,q));return true}return false}function grammarErrorAtPos(N,R,j,$,q,G,ie){var ae=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(ae)){xi.add(E.createFileDiagnostic(ae,R,j,$,q,G,ie));return true}return false}function grammarErrorOnNodeSkippedOn(N,R,j,$,q,G){var ie=E.getSourceFileOfNode(R);if(!hasParseDiagnostics(ie)){errorSkippedOn(N,R,j,$,q,G);return true}return false}function grammarErrorOnNode(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){xi.add(E.createDiagnosticForNode(N,R,j,$,q));return true}return false}function checkGrammarConstructorTypeParameters(N){var R=E.isInJSFile(N)?E.getJSDocTypeParameterDeclarations(N):undefined;var j=N.typeParameters||R&&E.firstOrUndefined(R);if(j){var $=j.pos===j.end?j.pos:E.skipTrivia(E.getSourceFileOfNode(N).text,j.pos);return grammarErrorAtPos(N,$,j.end-$,E.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function checkGrammarConstructorTypeAnnotation(N){var R=E.getEffectiveReturnTypeNode(N);if(R){return grammarErrorOnNode(R,E.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}}function checkGrammarProperty(N){if(E.isClassLike(N.parent)){if(E.isStringLiteral(N.name)&&N.name.text==="constructor"){return grammarErrorOnNode(N.name,E.Diagnostics.Classes_may_not_have_a_field_named_constructor)}if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type)){return true}if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}}else if(N.parent.kind===256){if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(N.initializer){return grammarErrorOnNode(N.initializer,E.Diagnostics.An_interface_property_cannot_have_an_initializer)}}else if(N.parent.kind===180){if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(N.initializer){return grammarErrorOnNode(N.initializer,E.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}}if(N.flags&8388608){checkAmbientInitializer(N)}if(E.isPropertyDeclaration(N)&&N.exclamationToken&&(!E.isClassLike(N.parent)||!N.type||N.initializer||N.flags&8388608||E.isStatic(N)||E.hasAbstractModifier(N))){var R=N.initializer?E.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:!N.type?E.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;return grammarErrorOnNode(N.exclamationToken,R)}}function checkGrammarTopLevelElementForRequiredDeclareModifier(N){if(N.kind===256||N.kind===257||N.kind===264||N.kind===263||N.kind===270||N.kind===269||N.kind===262||E.hasSyntacticModifier(N,2|1|512)){return false}return grammarErrorOnFirstToken(N,E.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function checkGrammarTopLevelElementsForRequiredDeclareModifier(N){for(var R=0,j=N.statements;R<j.length;R++){var $=j[R];if(E.isDeclaration($)||$.kind===235){if(checkGrammarTopLevelElementForRequiredDeclareModifier($)){return true}}}return false}function checkGrammarSourceFile(E){return!!(E.flags&8388608)&&checkGrammarTopLevelElementsForRequiredDeclareModifier(E)}function checkGrammarStatementInAmbientContext(N){if(N.flags&8388608){var R=getNodeLinks(N);if(!R.hasReportedStatementInAmbientContext&&(E.isFunctionLike(N.parent)||E.isAccessor(N.parent))){return getNodeLinks(N).hasReportedStatementInAmbientContext=grammarErrorOnFirstToken(N,E.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(N.parent.kind===233||N.parent.kind===260||N.parent.kind===300){var j=getNodeLinks(N.parent);if(!j.hasReportedStatementInAmbientContext){return j.hasReportedStatementInAmbientContext=grammarErrorOnFirstToken(N,E.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}else{}}return false}function checkGrammarNumericLiteral(N){if(N.numericLiteralFlags&32){var R=void 0;if(Ye>=1){R=E.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0}else if(E.isChildOfNodeWithKind(N,194)){R=E.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0}else if(E.isChildOfNodeWithKind(N,294)){R=E.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0}if(R){var j=E.isPrefixUnaryExpression(N.parent)&&N.parent.operator===40;var $=(j?"-":"")+"0o"+N.text;return grammarErrorOnNode(j?N.parent:N,R,$)}}checkNumericLiteralValueSize(N);return false}function checkNumericLiteralValueSize(N){if(N.numericLiteralFlags&16||N.text.length<=15||N.text.indexOf(".")!==-1){return}var R=+E.getTextOfNode(N);if(R<=Math.pow(2,53)-1&&R+1>R){return}addErrorOrSuggestion(false,E.createDiagnosticForNode(N,E.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function checkGrammarBigIntLiteral(N){var R=E.isLiteralTypeNode(N.parent)||E.isPrefixUnaryExpression(N.parent)&&E.isLiteralTypeNode(N.parent.parent);if(!R){if(Ye<7){if(grammarErrorOnNode(N,E.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)){return true}}}return false}function grammarErrorAfterFirstToken(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){var ie=E.getSpanOfTokenAtPosition(G,N.pos);xi.add(E.createFileDiagnostic(G,E.textSpanEnd(ie),0,R,j,$,q));return true}return false}function getAmbientModules(){if(!Yr){Yr=[];yt.forEach((function(E,R){if(N.test(R)){Yr.push(E)}}))}return Yr}function checkGrammarImportClause(N){if(N.isTypeOnly&&N.name&&N.namedBindings){return grammarErrorOnNode(N,E.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both)}return false}function checkGrammarImportCallExpression(N){if(Ze===E.ModuleKind.ES2015){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd)}if(N.typeArguments){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_import_cannot_have_type_arguments)}var R=N.arguments;if(R.length!==1){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument)}checkGrammarForDisallowedTrailingComma(R);if(E.isSpreadElement(R[0])){return grammarErrorOnNode(R[0],E.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}return false}function findMatchingTypeReferenceOrTypeAliasReference(N,R){var j=E.getObjectFlags(N);if(j&(4|16)&&R.flags&1048576){return E.find(R.types,(function(R){if(R.flags&524288){var $=j&E.getObjectFlags(R);if($&4){return N.target===R.target}if($&16){return!!N.aliasSymbol&&N.aliasSymbol===R.aliasSymbol}}return false}))}}function findBestTypeForObjectLiteral(N,R){if(E.getObjectFlags(N)&128&&someType(R,isArrayLikeType)){return E.find(R.types,(function(E){return!isArrayLikeType(E)}))}}function findBestTypeForInvokable(N,R){var j=0;var $=getSignaturesOfType(N,j).length>0||(j=1,getSignaturesOfType(N,j).length>0);if($){return E.find(R.types,(function(E){return getSignaturesOfType(E,j).length>0}))}}function findMostOverlappyType(N,R){var j;var $=0;for(var q=0,G=R.types;q<G.length;q++){var ie=G[q];var ae=getIntersectionType([getIndexType(N),getIndexType(ie)]);if(ae.flags&4194304){j=ie;$=Infinity}else if(ae.flags&1048576){var ce=E.length(E.filter(ae.types,isUnitType));if(ce>=$){j=ie;$=ce}}else if(isUnitType(ae)&&1>=$){j=ie;$=1}}return j}function filterPrimitivesIfContainsNonPrimitive(E){if(maybeTypeOfKind(E,67108864)){var N=filterType(E,(function(E){return!(E.flags&131068)}));if(!(N.flags&131072)){return N}}return E}function findMatchingDiscriminantType(N,R,j,$){if(R.flags&1048576&&N.flags&(2097152|524288)){var q=getMatchingUnionConstituentForType(R,N);if(q){return q}var G=getPropertiesOfType(N);if(G){var ie=findDiscriminantProperties(G,R);if(ie){return discriminateTypeByDiscriminableItems(R,E.map(ie,(function(E){return[function(){return getTypeOfSymbol(E)},E.escapedName]})),j,undefined,$)}}}return undefined}}E.createTypeChecker=createTypeChecker;function isNotAccessor(N){return!E.isAccessor(N)}function isNotOverload(E){return E.kind!==254&&E.kind!==167||!!E.body}function isDeclarationNameOrImportPropertyName(N){switch(N.parent.kind){case 268:case 273:return E.isIdentifier(N);default:return E.isDeclarationName(N)}}var Qe;(function(E){E.JSX="JSX";E.IntrinsicElements="IntrinsicElements";E.ElementClass="ElementClass";E.ElementAttributesPropertyNameContainer="ElementAttributesProperty";E.ElementChildrenAttributeNameContainer="ElementChildrenAttribute";E.Element="Element";E.IntrinsicAttributes="IntrinsicAttributes";E.IntrinsicClassAttributes="IntrinsicClassAttributes";E.LibraryManagedAttributes="LibraryManagedAttributes"})(Qe||(Qe={}));function getIterationTypesKeyFromIterationTypeKind(E){switch(E){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function signatureHasRestParameter(E){return!!(E.flags&1)}E.signatureHasRestParameter=signatureHasRestParameter;function signatureHasLiteralTypes(E){return!!(E.flags&2)}E.signatureHasLiteralTypes=signatureHasLiteralTypes})(ce||(ce={}));var ce;(function(E){function visitNode(N,R,j,$){if(N===undefined||R===undefined){return N}var q=R(N);if(q===N){return N}var G;if(q===undefined){return undefined}else if(E.isArray(q)){G=($||extractSingleNode)(q)}else{G=q}E.Debug.assertNode(G,j);return G}E.visitNode=visitNode;function visitNodes(N,R,j,$,q){if(N===undefined||R===undefined){return N}var G;var ie=N.length;if($===undefined||$<0){$=0}if(q===undefined||q>ie-$){q=ie-$}var ae;var ce=-1;var le=-1;if($>0||q<ie){G=[];ae=N.hasTrailingComma&&$+q===ie}for(var _e=0;_e<q;_e++){var Ee=N[_e+$];var Te=Ee!==undefined?R(Ee):undefined;if(G!==undefined||Te===undefined||Te!==Ee){if(G===undefined){G=N.slice(0,_e);ae=N.hasTrailingComma;ce=N.pos;le=N.end}if(Te){if(E.isArray(Te)){for(var we=0,Ie=Te;we<Ie.length;we++){var Ne=Ie[we];void E.Debug.assertNode(Ne,j);G.push(Ne)}}else{void E.Debug.assertNode(Te,j);G.push(Te)}}}}if(G){var Me=E.factory.createNodeArray(G,ae);E.setTextRangePosEnd(Me,ce,le);return Me}return N}E.visitNodes=visitNodes;function visitLexicalEnvironment(N,R,j,$,q,G){if(G===void 0){G=visitNodes}j.startLexicalEnvironment();N=G(N,R,E.isStatement,$);if(q)N=j.factory.ensureUseStrict(N);return E.factory.mergeLexicalEnvironment(N,j.endLexicalEnvironment())}E.visitLexicalEnvironment=visitLexicalEnvironment;function visitParameterList(N,R,j,$){if($===void 0){$=visitNodes}var q;j.startLexicalEnvironment();if(N){j.setLexicalEnvironmentFlags(1,true);q=$(N,R,E.isParameterDeclaration);if(j.getLexicalEnvironmentFlags()&2&&E.getEmitScriptTarget(j.getCompilerOptions())>=2){q=addDefaultValueAssignmentsIfNeeded(q,j)}j.setLexicalEnvironmentFlags(1,false)}j.suspendLexicalEnvironment();return q}E.visitParameterList=visitParameterList;function addDefaultValueAssignmentsIfNeeded(N,R){var j;for(var $=0;$<N.length;$++){var q=N[$];var G=addDefaultValueAssignmentIfNeeded(q,R);if(j||G!==q){if(!j)j=N.slice(0,$);j[$]=G}}if(j){return E.setTextRange(R.factory.createNodeArray(j,N.hasTrailingComma),N)}return N}function addDefaultValueAssignmentIfNeeded(N,R){return N.dotDotDotToken?N:E.isBindingPattern(N.name)?addDefaultValueAssignmentForBindingPattern(N,R):N.initializer?addDefaultValueAssignmentForInitializer(N,N.name,N.initializer,R):N}function addDefaultValueAssignmentForBindingPattern(E,N){var R=N.factory;N.addInitializationStatement(R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(E.name,undefined,E.type,E.initializer?R.createConditionalExpression(R.createStrictEquality(R.getGeneratedNameForNode(E),R.createVoidZero()),undefined,E.initializer,undefined,R.getGeneratedNameForNode(E)):R.getGeneratedNameForNode(E))])));return R.updateParameterDeclaration(E,E.decorators,E.modifiers,E.dotDotDotToken,R.getGeneratedNameForNode(E),E.questionToken,E.type,undefined)}function addDefaultValueAssignmentForInitializer(N,R,j,$){var q=$.factory;$.addInitializationStatement(q.createIfStatement(q.createTypeCheck(q.cloneNode(R),"undefined"),E.setEmitFlags(E.setTextRange(q.createBlock([q.createExpressionStatement(E.setEmitFlags(E.setTextRange(q.createAssignment(E.setEmitFlags(q.cloneNode(R),48),E.setEmitFlags(j,48|E.getEmitFlags(j)|1536)),N),1536))]),N),1|32|384|1536)));return q.updateParameterDeclaration(N,N.decorators,N.modifiers,N.dotDotDotToken,N.name,N.questionToken,N.type,undefined)}function visitFunctionBody(N,R,j,$){if($===void 0){$=visitNode}j.resumeLexicalEnvironment();var q=$(N,R,E.isConciseBody);var G=j.endLexicalEnvironment();if(E.some(G)){if(!q){return j.factory.createBlock(G)}var ie=j.factory.converters.convertToFunctionBlock(q);var ae=E.factory.mergeLexicalEnvironment(ie.statements,G);return j.factory.updateBlock(ie,ae)}return q}E.visitFunctionBody=visitFunctionBody;function visitIterationBody(N,R,j){j.startBlockScope();var $=visitNode(N,R,E.isStatement,j.factory.liftToBlock);var q=j.endBlockScope();if(E.some(q)){if(E.isBlock($)){q.push.apply(q,$.statements);return j.factory.updateBlock($,q)}q.push($);return j.factory.createBlock(q)}return $}E.visitIterationBody=visitIterationBody;function visitEachChild(N,R,j,$,q,G){if($===void 0){$=visitNodes}if(G===void 0){G=visitNode}if(N===undefined){return undefined}var ie=N.kind;if(ie>0&&ie<=158||ie===190){return N}var ae=j.factory;switch(ie){case 79:E.Debug.type(N);return ae.updateIdentifier(N,$(N.typeArguments,R,E.isTypeNodeOrTypeParameterDeclaration));case 159:E.Debug.type(N);return ae.updateQualifiedName(N,G(N.left,R,E.isEntityName),G(N.right,R,E.isIdentifier));case 160:E.Debug.type(N);return ae.updateComputedPropertyName(N,G(N.expression,R,E.isExpression));case 161:E.Debug.type(N);return ae.updateTypeParameterDeclaration(N,G(N.name,R,E.isIdentifier),G(N.constraint,R,E.isTypeNode),G(N.default,R,E.isTypeNode));case 162:E.Debug.type(N);return ae.updateParameterDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.dotDotDotToken,q,E.isDotDotDotToken),G(N.name,R,E.isBindingName),G(N.questionToken,q,E.isQuestionToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 163:E.Debug.type(N);return ae.updateDecorator(N,G(N.expression,R,E.isExpression));case 164:E.Debug.type(N);return ae.updatePropertySignature(N,$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isToken),G(N.type,R,E.isTypeNode));case 165:E.Debug.type(N);return ae.updatePropertyDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken||N.exclamationToken,q,E.isQuestionOrExclamationToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 166:E.Debug.type(N);return ae.updateMethodSignature(N,$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isQuestionToken),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 167:E.Debug.type(N);return ae.updateMethodDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isQuestionToken),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 169:E.Debug.type(N);return ae.updateConstructorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),visitParameterList(N.parameters,R,j,$),visitFunctionBody(N.body,R,j,G));case 170:E.Debug.type(N);return ae.updateGetAccessorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 171:E.Debug.type(N);return ae.updateSetAccessorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),visitParameterList(N.parameters,R,j,$),visitFunctionBody(N.body,R,j,G));case 168:E.Debug.type(N);j.startLexicalEnvironment();j.suspendLexicalEnvironment();return ae.updateClassStaticBlockDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),visitFunctionBody(N.body,R,j,G));case 172:E.Debug.type(N);return ae.updateCallSignature(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 173:E.Debug.type(N);return ae.updateConstructSignature(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 174:E.Debug.type(N);return ae.updateIndexSignature(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 175:E.Debug.type(N);return ae.updateTypePredicateNode(N,G(N.assertsModifier,R,E.isAssertsKeyword),G(N.parameterName,R,E.isIdentifierOrThisTypeNode),G(N.type,R,E.isTypeNode));case 176:E.Debug.type(N);return ae.updateTypeReferenceNode(N,G(N.typeName,R,E.isEntityName),$(N.typeArguments,R,E.isTypeNode));case 177:E.Debug.type(N);return ae.updateFunctionTypeNode(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 178:E.Debug.type(N);return ae.updateConstructorTypeNode(N,$(N.modifiers,R,E.isModifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 179:E.Debug.type(N);return ae.updateTypeQueryNode(N,G(N.exprName,R,E.isEntityName));case 180:E.Debug.type(N);return ae.updateTypeLiteralNode(N,$(N.members,R,E.isTypeElement));case 181:E.Debug.type(N);return ae.updateArrayTypeNode(N,G(N.elementType,R,E.isTypeNode));case 182:E.Debug.type(N);return ae.updateTupleTypeNode(N,$(N.elements,R,E.isTypeNode));case 183:E.Debug.type(N);return ae.updateOptionalTypeNode(N,G(N.type,R,E.isTypeNode));case 184:E.Debug.type(N);return ae.updateRestTypeNode(N,G(N.type,R,E.isTypeNode));case 185:E.Debug.type(N);return ae.updateUnionTypeNode(N,$(N.types,R,E.isTypeNode));case 186:E.Debug.type(N);return ae.updateIntersectionTypeNode(N,$(N.types,R,E.isTypeNode));case 187:E.Debug.type(N);return ae.updateConditionalTypeNode(N,G(N.checkType,R,E.isTypeNode),G(N.extendsType,R,E.isTypeNode),G(N.trueType,R,E.isTypeNode),G(N.falseType,R,E.isTypeNode));case 188:E.Debug.type(N);return ae.updateInferTypeNode(N,G(N.typeParameter,R,E.isTypeParameterDeclaration));case 198:E.Debug.type(N);return ae.updateImportTypeNode(N,G(N.argument,R,E.isTypeNode),G(N.qualifier,R,E.isEntityName),visitNodes(N.typeArguments,R,E.isTypeNode),N.isTypeOf);case 195:E.Debug.type(N);return ae.updateNamedTupleMember(N,visitNode(N.dotDotDotToken,R,E.isDotDotDotToken),visitNode(N.name,R,E.isIdentifier),visitNode(N.questionToken,R,E.isQuestionToken),visitNode(N.type,R,E.isTypeNode));case 189:E.Debug.type(N);return ae.updateParenthesizedType(N,G(N.type,R,E.isTypeNode));case 191:E.Debug.type(N);return ae.updateTypeOperatorNode(N,G(N.type,R,E.isTypeNode));case 192:E.Debug.type(N);return ae.updateIndexedAccessTypeNode(N,G(N.objectType,R,E.isTypeNode),G(N.indexType,R,E.isTypeNode));case 193:E.Debug.type(N);return ae.updateMappedTypeNode(N,G(N.readonlyToken,q,E.isReadonlyKeywordOrPlusOrMinusToken),G(N.typeParameter,R,E.isTypeParameterDeclaration),G(N.nameType,R,E.isTypeNode),G(N.questionToken,q,E.isQuestionOrPlusOrMinusToken),G(N.type,R,E.isTypeNode));case 194:E.Debug.type(N);return ae.updateLiteralTypeNode(N,G(N.literal,R,E.isExpression));case 196:E.Debug.type(N);return ae.updateTemplateLiteralType(N,G(N.head,R,E.isTemplateHead),$(N.templateSpans,R,E.isTemplateLiteralTypeSpan));case 197:E.Debug.type(N);return ae.updateTemplateLiteralTypeSpan(N,G(N.type,R,E.isTypeNode),G(N.literal,R,E.isTemplateMiddleOrTemplateTail));case 199:E.Debug.type(N);return ae.updateObjectBindingPattern(N,$(N.elements,R,E.isBindingElement));case 200:E.Debug.type(N);return ae.updateArrayBindingPattern(N,$(N.elements,R,E.isArrayBindingElement));case 201:E.Debug.type(N);return ae.updateBindingElement(N,G(N.dotDotDotToken,q,E.isDotDotDotToken),G(N.propertyName,R,E.isPropertyName),G(N.name,R,E.isBindingName),G(N.initializer,R,E.isExpression));case 202:E.Debug.type(N);return ae.updateArrayLiteralExpression(N,$(N.elements,R,E.isExpression));case 203:E.Debug.type(N);return ae.updateObjectLiteralExpression(N,$(N.properties,R,E.isObjectLiteralElementLike));case 204:if(N.flags&32){E.Debug.type(N);return ae.updatePropertyAccessChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),G(N.name,R,E.isMemberName))}E.Debug.type(N);return ae.updatePropertyAccessExpression(N,G(N.expression,R,E.isExpression),G(N.name,R,E.isMemberName));case 205:if(N.flags&32){E.Debug.type(N);return ae.updateElementAccessChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),G(N.argumentExpression,R,E.isExpression))}E.Debug.type(N);return ae.updateElementAccessExpression(N,G(N.expression,R,E.isExpression),G(N.argumentExpression,R,E.isExpression));case 206:if(N.flags&32){E.Debug.type(N);return ae.updateCallChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression))}E.Debug.type(N);return ae.updateCallExpression(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression));case 207:E.Debug.type(N);return ae.updateNewExpression(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression));case 208:E.Debug.type(N);return ae.updateTaggedTemplateExpression(N,G(N.tag,R,E.isExpression),visitNodes(N.typeArguments,R,E.isTypeNode),G(N.template,R,E.isTemplateLiteral));case 209:E.Debug.type(N);return ae.updateTypeAssertion(N,G(N.type,R,E.isTypeNode),G(N.expression,R,E.isExpression));case 210:E.Debug.type(N);return ae.updateParenthesizedExpression(N,G(N.expression,R,E.isExpression));case 211:E.Debug.type(N);return ae.updateFunctionExpression(N,$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 212:E.Debug.type(N);return ae.updateArrowFunction(N,$(N.modifiers,R,E.isModifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),G(N.equalsGreaterThanToken,q,E.isEqualsGreaterThanToken),visitFunctionBody(N.body,R,j,G));case 213:E.Debug.type(N);return ae.updateDeleteExpression(N,G(N.expression,R,E.isExpression));case 214:E.Debug.type(N);return ae.updateTypeOfExpression(N,G(N.expression,R,E.isExpression));case 215:E.Debug.type(N);return ae.updateVoidExpression(N,G(N.expression,R,E.isExpression));case 216:E.Debug.type(N);return ae.updateAwaitExpression(N,G(N.expression,R,E.isExpression));case 217:E.Debug.type(N);return ae.updatePrefixUnaryExpression(N,G(N.operand,R,E.isExpression));case 218:E.Debug.type(N);return ae.updatePostfixUnaryExpression(N,G(N.operand,R,E.isExpression));case 219:E.Debug.type(N);return ae.updateBinaryExpression(N,G(N.left,R,E.isExpression),G(N.operatorToken,q,E.isBinaryOperatorToken),G(N.right,R,E.isExpression));case 220:E.Debug.type(N);return ae.updateConditionalExpression(N,G(N.condition,R,E.isExpression),G(N.questionToken,q,E.isQuestionToken),G(N.whenTrue,R,E.isExpression),G(N.colonToken,q,E.isColonToken),G(N.whenFalse,R,E.isExpression));case 221:E.Debug.type(N);return ae.updateTemplateExpression(N,G(N.head,R,E.isTemplateHead),$(N.templateSpans,R,E.isTemplateSpan));case 222:E.Debug.type(N);return ae.updateYieldExpression(N,G(N.asteriskToken,q,E.isAsteriskToken),G(N.expression,R,E.isExpression));case 223:E.Debug.type(N);return ae.updateSpreadElement(N,G(N.expression,R,E.isExpression));case 224:E.Debug.type(N);return ae.updateClassExpression(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isClassElement));case 226:E.Debug.type(N);return ae.updateExpressionWithTypeArguments(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode));case 227:E.Debug.type(N);return ae.updateAsExpression(N,G(N.expression,R,E.isExpression),G(N.type,R,E.isTypeNode));case 228:if(N.flags&32){E.Debug.type(N);return ae.updateNonNullChain(N,G(N.expression,R,E.isExpression))}E.Debug.type(N);return ae.updateNonNullExpression(N,G(N.expression,R,E.isExpression));case 229:E.Debug.type(N);return ae.updateMetaProperty(N,G(N.name,R,E.isIdentifier));case 231:E.Debug.type(N);return ae.updateTemplateSpan(N,G(N.expression,R,E.isExpression),G(N.literal,R,E.isTemplateMiddleOrTemplateTail));case 233:E.Debug.type(N);return ae.updateBlock(N,$(N.statements,R,E.isStatement));case 235:E.Debug.type(N);return ae.updateVariableStatement(N,$(N.modifiers,R,E.isModifier),G(N.declarationList,R,E.isVariableDeclarationList));case 236:E.Debug.type(N);return ae.updateExpressionStatement(N,G(N.expression,R,E.isExpression));case 237:E.Debug.type(N);return ae.updateIfStatement(N,G(N.expression,R,E.isExpression),G(N.thenStatement,R,E.isStatement,ae.liftToBlock),G(N.elseStatement,R,E.isStatement,ae.liftToBlock));case 238:E.Debug.type(N);return ae.updateDoStatement(N,visitIterationBody(N.statement,R,j),G(N.expression,R,E.isExpression));case 239:E.Debug.type(N);return ae.updateWhileStatement(N,G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 240:E.Debug.type(N);return ae.updateForStatement(N,G(N.initializer,R,E.isForInitializer),G(N.condition,R,E.isExpression),G(N.incrementor,R,E.isExpression),visitIterationBody(N.statement,R,j));case 241:E.Debug.type(N);return ae.updateForInStatement(N,G(N.initializer,R,E.isForInitializer),G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 242:E.Debug.type(N);return ae.updateForOfStatement(N,G(N.awaitModifier,q,E.isAwaitKeyword),G(N.initializer,R,E.isForInitializer),G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 243:E.Debug.type(N);return ae.updateContinueStatement(N,G(N.label,R,E.isIdentifier));case 244:E.Debug.type(N);return ae.updateBreakStatement(N,G(N.label,R,E.isIdentifier));case 245:E.Debug.type(N);return ae.updateReturnStatement(N,G(N.expression,R,E.isExpression));case 246:E.Debug.type(N);return ae.updateWithStatement(N,G(N.expression,R,E.isExpression),G(N.statement,R,E.isStatement,ae.liftToBlock));case 247:E.Debug.type(N);return ae.updateSwitchStatement(N,G(N.expression,R,E.isExpression),G(N.caseBlock,R,E.isCaseBlock));case 248:E.Debug.type(N);return ae.updateLabeledStatement(N,G(N.label,R,E.isIdentifier),G(N.statement,R,E.isStatement,ae.liftToBlock));case 249:E.Debug.type(N);return ae.updateThrowStatement(N,G(N.expression,R,E.isExpression));case 250:E.Debug.type(N);return ae.updateTryStatement(N,G(N.tryBlock,R,E.isBlock),G(N.catchClause,R,E.isCatchClause),G(N.finallyBlock,R,E.isBlock));case 252:E.Debug.type(N);return ae.updateVariableDeclaration(N,G(N.name,R,E.isBindingName),G(N.exclamationToken,q,E.isExclamationToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 253:E.Debug.type(N);return ae.updateVariableDeclarationList(N,$(N.declarations,R,E.isVariableDeclaration));case 254:E.Debug.type(N);return ae.updateFunctionDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 255:E.Debug.type(N);return ae.updateClassDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isClassElement));case 256:E.Debug.type(N);return ae.updateInterfaceDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isTypeElement));case 257:E.Debug.type(N);return ae.updateTypeAliasDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),G(N.type,R,E.isTypeNode));case 258:E.Debug.type(N);return ae.updateEnumDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.members,R,E.isEnumMember));case 259:E.Debug.type(N);return ae.updateModuleDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isModuleName),G(N.body,R,E.isModuleBody));case 260:E.Debug.type(N);return ae.updateModuleBlock(N,$(N.statements,R,E.isStatement));case 261:E.Debug.type(N);return ae.updateCaseBlock(N,$(N.clauses,R,E.isCaseOrDefaultClause));case 262:E.Debug.type(N);return ae.updateNamespaceExportDeclaration(N,G(N.name,R,E.isIdentifier));case 263:E.Debug.type(N);return ae.updateImportEqualsDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),N.isTypeOnly,G(N.name,R,E.isIdentifier),G(N.moduleReference,R,E.isModuleReference));case 264:E.Debug.type(N);return ae.updateImportDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.importClause,R,E.isImportClause),G(N.moduleSpecifier,R,E.isExpression));case 265:E.Debug.type(N);return ae.updateImportClause(N,N.isTypeOnly,G(N.name,R,E.isIdentifier),G(N.namedBindings,R,E.isNamedImportBindings));case 266:E.Debug.type(N);return ae.updateNamespaceImport(N,G(N.name,R,E.isIdentifier));case 272:E.Debug.type(N);return ae.updateNamespaceExport(N,G(N.name,R,E.isIdentifier));case 267:E.Debug.type(N);return ae.updateNamedImports(N,$(N.elements,R,E.isImportSpecifier));case 268:E.Debug.type(N);return ae.updateImportSpecifier(N,G(N.propertyName,R,E.isIdentifier),G(N.name,R,E.isIdentifier));case 269:E.Debug.type(N);return ae.updateExportAssignment(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.expression,R,E.isExpression));case 270:E.Debug.type(N);return ae.updateExportDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),N.isTypeOnly,G(N.exportClause,R,E.isNamedExportBindings),G(N.moduleSpecifier,R,E.isExpression));case 271:E.Debug.type(N);return ae.updateNamedExports(N,$(N.elements,R,E.isExportSpecifier));case 273:E.Debug.type(N);return ae.updateExportSpecifier(N,G(N.propertyName,R,E.isIdentifier),G(N.name,R,E.isIdentifier));case 275:E.Debug.type(N);return ae.updateExternalModuleReference(N,G(N.expression,R,E.isExpression));case 276:E.Debug.type(N);return ae.updateJsxElement(N,G(N.openingElement,R,E.isJsxOpeningElement),$(N.children,R,E.isJsxChild),G(N.closingElement,R,E.isJsxClosingElement));case 277:E.Debug.type(N);return ae.updateJsxSelfClosingElement(N,G(N.tagName,R,E.isJsxTagNameExpression),$(N.typeArguments,R,E.isTypeNode),G(N.attributes,R,E.isJsxAttributes));case 278:E.Debug.type(N);return ae.updateJsxOpeningElement(N,G(N.tagName,R,E.isJsxTagNameExpression),$(N.typeArguments,R,E.isTypeNode),G(N.attributes,R,E.isJsxAttributes));case 279:E.Debug.type(N);return ae.updateJsxClosingElement(N,G(N.tagName,R,E.isJsxTagNameExpression));case 280:E.Debug.type(N);return ae.updateJsxFragment(N,G(N.openingFragment,R,E.isJsxOpeningFragment),$(N.children,R,E.isJsxChild),G(N.closingFragment,R,E.isJsxClosingFragment));case 283:E.Debug.type(N);return ae.updateJsxAttribute(N,G(N.name,R,E.isIdentifier),G(N.initializer,R,E.isStringLiteralOrJsxExpression));case 284:E.Debug.type(N);return ae.updateJsxAttributes(N,$(N.properties,R,E.isJsxAttributeLike));case 285:E.Debug.type(N);return ae.updateJsxSpreadAttribute(N,G(N.expression,R,E.isExpression));case 286:E.Debug.type(N);return ae.updateJsxExpression(N,G(N.expression,R,E.isExpression));case 287:E.Debug.type(N);return ae.updateCaseClause(N,G(N.expression,R,E.isExpression),$(N.statements,R,E.isStatement));case 288:E.Debug.type(N);return ae.updateDefaultClause(N,$(N.statements,R,E.isStatement));case 289:E.Debug.type(N);return ae.updateHeritageClause(N,$(N.types,R,E.isExpressionWithTypeArguments));case 290:E.Debug.type(N);return ae.updateCatchClause(N,G(N.variableDeclaration,R,E.isVariableDeclaration),G(N.block,R,E.isBlock));case 291:E.Debug.type(N);return ae.updatePropertyAssignment(N,G(N.name,R,E.isPropertyName),G(N.initializer,R,E.isExpression));case 292:E.Debug.type(N);return ae.updateShorthandPropertyAssignment(N,G(N.name,R,E.isIdentifier),G(N.objectAssignmentInitializer,R,E.isExpression));case 293:E.Debug.type(N);return ae.updateSpreadAssignment(N,G(N.expression,R,E.isExpression));case 294:E.Debug.type(N);return ae.updateEnumMember(N,G(N.name,R,E.isPropertyName),G(N.initializer,R,E.isExpression));case 300:E.Debug.type(N);return ae.updateSourceFile(N,visitLexicalEnvironment(N.statements,R,j));case 345:E.Debug.type(N);return ae.updatePartiallyEmittedExpression(N,G(N.expression,R,E.isExpression));case 346:E.Debug.type(N);return ae.updateCommaListExpression(N,$(N.elements,R,E.isExpression));default:return N}}E.visitEachChild=visitEachChild;function extractSingleNode(N){E.Debug.assert(N.length<=1,"Too many nodes written to output.");return E.singleOrUndefined(N)}})(ce||(ce={}));var ce;(function(E){function createSourceMapGenerator(N,R,j,$,q){var G=q.extendedDiagnostics?E.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):E.performance.nullTimer,ie=G.enter,ae=G.exit;var ce=[];var le=[];var _e=new E.Map;var Ee;var Te=[];var we;var Ie=[];var Ne="";var Me=0;var Le=0;var Be=0;var je=0;var Ue=0;var ze=0;var We=false;var Je=0;var Ve=0;var qe=0;var He=0;var Ge=0;var Ke=0;var Qe=false;var Xe=false;var Ye=false;return{getSources:function(){return ce},addSource:addSource,setSourceContent:setSourceContent,addName:addName,addMapping:addMapping,appendSourceMap:appendSourceMap,toJSON:toJSON,toString:function(){return JSON.stringify(toJSON())}};function addSource(R){ie();var j=E.getRelativePathToDirectoryOrUrl($,R,N.getCurrentDirectory(),N.getCanonicalFileName,true);var q=_e.get(j);if(q===undefined){q=le.length;le.push(j);ce.push(R);_e.set(j,q)}ae();return q}function setSourceContent(E,N){ie();if(N!==null){if(!Ee)Ee=[];while(Ee.length<E){Ee.push(null)}Ee[E]=N}ae()}function addName(N){ie();if(!we)we=new E.Map;var R=we.get(N);if(R===undefined){R=Te.length;Te.push(N);we.set(N,R)}ae();return R}function isNewGeneratedPosition(E,N){return!Qe||Je!==E||Ve!==N}function isBacktrackingSourcePosition(E,N,R){return E!==undefined&&N!==undefined&&R!==undefined&&qe===E&&(He>N||He===N&&Ge>R)}function addMapping(N,R,j,$,q,G){E.Debug.assert(N>=Je,"generatedLine cannot backtrack");E.Debug.assert(R>=0,"generatedCharacter cannot be negative");E.Debug.assert(j===undefined||j>=0,"sourceIndex cannot be negative");E.Debug.assert($===undefined||$>=0,"sourceLine cannot be negative");E.Debug.assert(q===undefined||q>=0,"sourceCharacter cannot be negative");ie();if(isNewGeneratedPosition(N,R)||isBacktrackingSourcePosition(j,$,q)){commitPendingMapping();Je=N;Ve=R;Xe=false;Ye=false;Qe=true}if(j!==undefined&&$!==undefined&&q!==undefined){qe=j;He=$;Ge=q;Xe=true;if(G!==undefined){Ke=G;Ye=true}}ae()}function appendSourceMap(N,R,j,$,q,G){E.Debug.assert(N>=Je,"generatedLine cannot backtrack");E.Debug.assert(R>=0,"generatedCharacter cannot be negative");ie();var ce=[];var le;var _e=decodeMappings(j.mappings);for(var Ee=_e.next();!Ee.done;Ee=_e.next()){var Te=Ee.value;if(G&&(Te.generatedLine>G.line||Te.generatedLine===G.line&&Te.generatedCharacter>G.character)){break}if(q&&(Te.generatedLine<q.line||q.line===Te.generatedLine&&Te.generatedCharacter<q.character)){continue}var we=void 0;var Ie=void 0;var Ne=void 0;var Me=void 0;if(Te.sourceIndex!==undefined){we=ce[Te.sourceIndex];if(we===undefined){var Le=j.sources[Te.sourceIndex];var Be=j.sourceRoot?E.combinePaths(j.sourceRoot,Le):Le;var je=E.combinePaths(E.getDirectoryPath($),Be);ce[Te.sourceIndex]=we=addSource(je);if(j.sourcesContent&&typeof j.sourcesContent[Te.sourceIndex]==="string"){setSourceContent(we,j.sourcesContent[Te.sourceIndex])}}Ie=Te.sourceLine;Ne=Te.sourceCharacter;if(j.names&&Te.nameIndex!==undefined){if(!le)le=[];Me=le[Te.nameIndex];if(Me===undefined){le[Te.nameIndex]=Me=addName(j.names[Te.nameIndex])}}}var Ue=Te.generatedLine-(q?q.line:0);var ze=Ue+N;var We=q&&q.line===Te.generatedLine?Te.generatedCharacter-q.character:Te.generatedCharacter;var Ve=Ue===0?We+R:We;addMapping(ze,Ve,we,Ie,Ne,Me)}ae()}function shouldCommitMapping(){return!We||Me!==Je||Le!==Ve||Be!==qe||je!==He||Ue!==Ge||ze!==Ke}function appendMappingCharCode(E){Ie.push(E);if(Ie.length>=1024){flushMappingBuffer()}}function commitPendingMapping(){if(!Qe||!shouldCommitMapping()){return}ie();if(Me<Je){do{appendMappingCharCode(59);Me++}while(Me<Je);Le=0}else{E.Debug.assertEqual(Me,Je,"generatedLine cannot backtrack");if(We){appendMappingCharCode(44)}}appendBase64VLQ(Ve-Le);Le=Ve;if(Xe){appendBase64VLQ(qe-Be);Be=qe;appendBase64VLQ(He-je);je=He;appendBase64VLQ(Ge-Ue);Ue=Ge;if(Ye){appendBase64VLQ(Ke-ze);ze=Ke}}We=true;ae()}function flushMappingBuffer(){if(Ie.length>0){Ne+=String.fromCharCode.apply(undefined,Ie);Ie.length=0}}function toJSON(){commitPendingMapping();flushMappingBuffer();return{version:3,file:R,sourceRoot:j,sources:le,names:Te,mappings:Ne,sourcesContent:Ee}}function appendBase64VLQ(E){if(E<0){E=(-E<<1)+1}else{E=E<<1}do{var N=E&31;E=E>>5;if(E>0){N=N|32}appendMappingCharCode(base64FormatEncode(N))}while(E>0)}}E.createSourceMapGenerator=createSourceMapGenerator;var N=/^\/\/[@#] source[M]appingURL=(.+)$/;var R=/^\s*(\/\/[@#] .*)?$/;function getLineInfo(E,N){return{getLineCount:function(){return N.length},getLineText:function(R){return E.substring(N[R],N[R+1])}}}E.getLineInfo=getLineInfo;function tryGetSourceMappingURL(j){for(var $=j.getLineCount()-1;$>=0;$--){var q=j.getLineText($);var G=N.exec(q);if(G){return E.trimStringEnd(G[1])}else if(!q.match(R)){break}}}E.tryGetSourceMappingURL=tryGetSourceMappingURL;function isStringOrNull(E){return typeof E==="string"||E===null}function isRawSourceMap(N){return N!==null&&typeof N==="object"&&N.version===3&&typeof N.file==="string"&&typeof N.mappings==="string"&&E.isArray(N.sources)&&E.every(N.sources,E.isString)&&(N.sourceRoot===undefined||N.sourceRoot===null||typeof N.sourceRoot==="string")&&(N.sourcesContent===undefined||N.sourcesContent===null||E.isArray(N.sourcesContent)&&E.every(N.sourcesContent,isStringOrNull))&&(N.names===undefined||N.names===null||E.isArray(N.names)&&E.every(N.names,E.isString))}E.isRawSourceMap=isRawSourceMap;function tryParseRawSourceMap(E){try{var N=JSON.parse(E);if(isRawSourceMap(N)){return N}}catch(E){}return undefined}E.tryParseRawSourceMap=tryParseRawSourceMap;function decodeMappings(E){var N=false;var R=0;var j=0;var $=0;var q=0;var G=0;var ie=0;var ae=0;var ce;return{get pos(){return R},get error(){return ce},get state(){return captureMapping(true,true)},next:function(){while(!N&&R<E.length){var ce=E.charCodeAt(R);if(ce===59){j++;$=0;R++;continue}if(ce===44){R++;continue}var le=false;var _e=false;$+=base64VLQFormatDecode();if(hasReportedError())return stopIterating();if($<0)return setErrorAndStopIterating("Invalid generatedCharacter found");if(!isSourceMappingSegmentEnd()){le=true;q+=base64VLQFormatDecode();if(hasReportedError())return stopIterating();if(q<0)return setErrorAndStopIterating("Invalid sourceIndex found");if(isSourceMappingSegmentEnd())return setErrorAndStopIterating("Unsupported Format: No entries after sourceIndex");G+=base64VLQFormatDecode();if(hasReportedError())return stopIterating();if(G<0)return setErrorAndStopIterating("Invalid sourceLine found");if(isSourceMappingSegmentEnd())return setErrorAndStopIterating("Unsupported Format: No entries after sourceLine");ie+=base64VLQFormatDecode();if(hasReportedError())return stopIterating();if(ie<0)return setErrorAndStopIterating("Invalid sourceCharacter found");if(!isSourceMappingSegmentEnd()){_e=true;ae+=base64VLQFormatDecode();if(hasReportedError())return stopIterating();if(ae<0)return setErrorAndStopIterating("Invalid nameIndex found");if(!isSourceMappingSegmentEnd())return setErrorAndStopIterating("Unsupported Error Format: Entries after nameIndex")}}return{value:captureMapping(le,_e),done:N}}return stopIterating()}};function captureMapping(E,N){return{generatedLine:j,generatedCharacter:$,sourceIndex:E?q:undefined,sourceLine:E?G:undefined,sourceCharacter:E?ie:undefined,nameIndex:N?ae:undefined}}function stopIterating(){N=true;return{value:undefined,done:true}}function setError(E){if(ce===undefined){ce=E}}function setErrorAndStopIterating(E){setError(E);return stopIterating()}function hasReportedError(){return ce!==undefined}function isSourceMappingSegmentEnd(){return R===E.length||E.charCodeAt(R)===44||E.charCodeAt(R)===59}function base64VLQFormatDecode(){var N=true;var j=0;var $=0;for(;N;R++){if(R>=E.length)return setError("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var q=base64FormatDecode(E.charCodeAt(R));if(q===-1)return setError("Invalid character in VLQ"),-1;N=(q&32)!==0;$=$|(q&31)<<j;j+=5}if(($&1)===0){$=$>>1}else{$=$>>1;$=-$}return $}}E.decodeMappings=decodeMappings;function sameMapping(E,N){return E===N||E.generatedLine===N.generatedLine&&E.generatedCharacter===N.generatedCharacter&&E.sourceIndex===N.sourceIndex&&E.sourceLine===N.sourceLine&&E.sourceCharacter===N.sourceCharacter&&E.nameIndex===N.nameIndex}E.sameMapping=sameMapping;function isSourceMapping(E){return E.sourceIndex!==undefined&&E.sourceLine!==undefined&&E.sourceCharacter!==undefined}E.isSourceMapping=isSourceMapping;function base64FormatEncode(N){return N>=0&&N<26?65+N:N>=26&&N<52?97+N-26:N>=52&&N<62?48+N-52:N===62?43:N===63?47:E.Debug.fail(N+": not a base64 value")}function base64FormatDecode(E){return E>=65&&E<=90?E-65:E>=97&&E<=122?E-97+26:E>=48&&E<=57?E-48+52:E===43?62:E===47?63:-1}function isSourceMappedPosition(E){return E.sourceIndex!==undefined&&E.sourcePosition!==undefined}function sameMappedPosition(E,N){return E.generatedPosition===N.generatedPosition&&E.sourceIndex===N.sourceIndex&&E.sourcePosition===N.sourcePosition}function compareSourcePositions(N,R){E.Debug.assert(N.sourceIndex===R.sourceIndex);return E.compareValues(N.sourcePosition,R.sourcePosition)}function compareGeneratedPositions(N,R){return E.compareValues(N.generatedPosition,R.generatedPosition)}function getSourcePositionOfMapping(E){return E.sourcePosition}function getGeneratedPositionOfMapping(E){return E.generatedPosition}function createDocumentPositionMapper(N,R,j){var $=E.getDirectoryPath(j);var q=R.sourceRoot?E.getNormalizedAbsolutePath(R.sourceRoot,$):$;var G=E.getNormalizedAbsolutePath(R.file,$);var ie=N.getSourceFileLike(G);var ae=R.sources.map((function(N){return E.getNormalizedAbsolutePath(N,q)}));var ce=new E.Map(ae.map((function(E,R){return[N.getCanonicalFileName(E),R]})));var le;var _e;var Ee;return{getSourcePosition:getSourcePosition,getGeneratedPosition:getGeneratedPosition};function processMapping(j){var $=ie!==undefined?E.getPositionOfLineAndCharacter(ie,j.generatedLine,j.generatedCharacter,true):-1;var q;var G;if(isSourceMapping(j)){var ce=N.getSourceFileLike(ae[j.sourceIndex]);q=R.sources[j.sourceIndex];G=ce!==undefined?E.getPositionOfLineAndCharacter(ce,j.sourceLine,j.sourceCharacter,true):-1}return{generatedPosition:$,source:q,sourceIndex:j.sourceIndex,sourcePosition:G,nameIndex:j.nameIndex}}function getDecodedMappings(){if(le===undefined){var j=decodeMappings(R.mappings);var $=E.arrayFrom(j,processMapping);if(j.error!==undefined){if(N.log){N.log("Encountered error while decoding sourcemap: "+j.error)}le=E.emptyArray}else{le=$}}return le}function getSourceMappings(N){if(Ee===undefined){var R=[];for(var j=0,$=getDecodedMappings();j<$.length;j++){var q=$[j];if(!isSourceMappedPosition(q))continue;var G=R[q.sourceIndex];if(!G)R[q.sourceIndex]=G=[];G.push(q)}Ee=R.map((function(N){return E.sortAndDeduplicate(N,compareSourcePositions,sameMappedPosition)}))}return Ee[N]}function getGeneratedMappings(){if(_e===undefined){var N=[];for(var R=0,j=getDecodedMappings();R<j.length;R++){var $=j[R];N.push($)}_e=E.sortAndDeduplicate(N,compareGeneratedPositions,sameMappedPosition)}return _e}function getGeneratedPosition(R){var j=ce.get(N.getCanonicalFileName(R.fileName));if(j===undefined)return R;var $=getSourceMappings(j);if(!E.some($))return R;var q=E.binarySearchKey($,R.pos,getSourcePositionOfMapping,E.compareValues);if(q<0){q=~q}var ie=$[q];if(ie===undefined||ie.sourceIndex!==j){return R}return{fileName:G,pos:ie.generatedPosition}}function getSourcePosition(N){var R=getGeneratedMappings();if(!E.some(R))return N;var j=E.binarySearchKey(R,N.pos,getGeneratedPositionOfMapping,E.compareValues);if(j<0){j=~j}var $=R[j];if($===undefined||!isSourceMappedPosition($)){return N}return{fileName:ae[$.sourceIndex],pos:$.sourcePosition}}}E.createDocumentPositionMapper=createDocumentPositionMapper;E.identitySourceMapConsumer={getSourcePosition:E.identity,getGeneratedPosition:E.identity}})(ce||(ce={}));var ce;(function(E){function getOriginalNodeId(N){N=E.getOriginalNode(N);return N?E.getNodeId(N):0}E.getOriginalNodeId=getOriginalNodeId;function containsDefaultReference(N){if(!N)return false;if(!E.isNamedImports(N))return false;return E.some(N.elements,isNamedDefaultReference)}function isNamedDefaultReference(E){return E.propertyName!==undefined&&E.propertyName.escapedText==="default"}function chainBundle(N,R){return transformSourceFileOrBundle;function transformSourceFileOrBundle(E){return E.kind===300?R(E):transformBundle(E)}function transformBundle(j){return N.factory.createBundle(E.map(j.sourceFiles,R),j.prepends)}}E.chainBundle=chainBundle;function getExportNeedsImportStarHelper(N){return!!E.getNamespaceDeclarationNode(N)}E.getExportNeedsImportStarHelper=getExportNeedsImportStarHelper;function getImportNeedsImportStarHelper(N){if(!!E.getNamespaceDeclarationNode(N)){return true}var R=N.importClause&&N.importClause.namedBindings;if(!R){return false}if(!E.isNamedImports(R))return false;var j=0;for(var $=0,q=R.elements;$<q.length;$++){var G=q[$];if(isNamedDefaultReference(G)){j++}}return j>0&&j!==R.elements.length||!!(R.elements.length-j)&&E.isDefaultImport(N)}E.getImportNeedsImportStarHelper=getImportNeedsImportStarHelper;function getImportNeedsImportDefaultHelper(N){return!getImportNeedsImportStarHelper(N)&&(E.isDefaultImport(N)||!!N.importClause&&E.isNamedImports(N.importClause.namedBindings)&&containsDefaultReference(N.importClause.namedBindings))}E.getImportNeedsImportDefaultHelper=getImportNeedsImportDefaultHelper;function collectExternalModuleInfo(N,R,j,$){var q=[];var G=E.createMultiMap();var ie=[];var ae=new E.Map;var ce;var le=false;var _e;var Ee=false;var Te=false;var we=false;for(var Ie=0,Ne=R.statements;Ie<Ne.length;Ie++){var Me=Ne[Ie];switch(Me.kind){case 264:q.push(Me);if(!Te&&getImportNeedsImportStarHelper(Me)){Te=true}if(!we&&getImportNeedsImportDefaultHelper(Me)){we=true}break;case 263:if(Me.moduleReference.kind===275){q.push(Me)}break;case 270:if(Me.moduleSpecifier){if(!Me.exportClause){q.push(Me);Ee=true}else{q.push(Me);if(E.isNamedExports(Me.exportClause)){addExportedNamesForExportDeclaration(Me)}else{var Le=Me.exportClause.name;if(!ae.get(E.idText(Le))){multiMapSparseArrayAdd(ie,getOriginalNodeId(Me),Le);ae.set(E.idText(Le),true);ce=E.append(ce,Le)}Te=true}}}else{addExportedNamesForExportDeclaration(Me)}break;case 269:if(Me.isExportEquals&&!_e){_e=Me}break;case 235:if(E.hasSyntacticModifier(Me,1)){for(var Be=0,je=Me.declarationList.declarations;Be<je.length;Be++){var Ue=je[Be];ce=collectExportedVariableInfo(Ue,ae,ce)}}break;case 254:if(E.hasSyntacticModifier(Me,1)){if(E.hasSyntacticModifier(Me,512)){if(!le){multiMapSparseArrayAdd(ie,getOriginalNodeId(Me),N.factory.getDeclarationName(Me));le=true}}else{var Le=Me.name;if(!ae.get(E.idText(Le))){multiMapSparseArrayAdd(ie,getOriginalNodeId(Me),Le);ae.set(E.idText(Le),true);ce=E.append(ce,Le)}}}break;case 255:if(E.hasSyntacticModifier(Me,1)){if(E.hasSyntacticModifier(Me,512)){if(!le){multiMapSparseArrayAdd(ie,getOriginalNodeId(Me),N.factory.getDeclarationName(Me));le=true}}else{var Le=Me.name;if(Le&&!ae.get(E.idText(Le))){multiMapSparseArrayAdd(ie,getOriginalNodeId(Me),Le);ae.set(E.idText(Le),true);ce=E.append(ce,Le)}}}break}}var ze=E.createExternalHelpersImportDeclarationIfNeeded(N.factory,N.getEmitHelperFactory(),R,$,Ee,Te,we);if(ze){q.unshift(ze)}return{externalImports:q,exportSpecifiers:G,exportEquals:_e,hasExportStarsToExportValues:Ee,exportedBindings:ie,exportedNames:ce,externalHelpersImportDeclaration:ze};function addExportedNamesForExportDeclaration(N){for(var R=0,$=E.cast(N.exportClause,E.isNamedExports).elements;R<$.length;R++){var q=$[R];if(!ae.get(E.idText(q.name))){var le=q.propertyName||q.name;if(!N.moduleSpecifier){G.add(E.idText(le),q)}var _e=j.getReferencedImportDeclaration(le)||j.getReferencedValueDeclaration(le);if(_e){multiMapSparseArrayAdd(ie,getOriginalNodeId(_e),q.name)}ae.set(E.idText(q.name),true);ce=E.append(ce,q.name)}}}}E.collectExternalModuleInfo=collectExternalModuleInfo;function collectExportedVariableInfo(N,R,j){if(E.isBindingPattern(N.name)){for(var $=0,q=N.name.elements;$<q.length;$++){var G=q[$];if(!E.isOmittedExpression(G)){j=collectExportedVariableInfo(G,R,j)}}}else if(!E.isGeneratedIdentifier(N.name)){var ie=E.idText(N.name);if(!R.get(ie)){R.set(ie,true);j=E.append(j,N.name)}}return j}function multiMapSparseArrayAdd(E,N,R){var j=E[N];if(j){j.push(R)}else{E[N]=j=[R]}return j}function isSimpleCopiableExpression(N){return E.isStringLiteralLike(N)||N.kind===8||E.isKeyword(N.kind)||E.isIdentifier(N)}E.isSimpleCopiableExpression=isSimpleCopiableExpression;function isSimpleInlineableExpression(N){return!E.isIdentifier(N)&&isSimpleCopiableExpression(N)}E.isSimpleInlineableExpression=isSimpleInlineableExpression;function isCompoundAssignment(E){return E>=64&&E<=78}E.isCompoundAssignment=isCompoundAssignment;function getNonAssignmentOperatorForCompoundAssignment(E){switch(E){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}E.getNonAssignmentOperatorForCompoundAssignment=getNonAssignmentOperatorForCompoundAssignment;function addPrologueDirectivesAndInitialSuperCall(N,R,j,$){if(R.body){var q=R.body.statements;var G=N.copyPrologue(q,j,false,$);if(G===q.length){return G}var ie=E.findIndex(q,(function(N){return E.isExpressionStatement(N)&&E.isSuperCall(N.expression)}),G);if(ie>-1){for(var ae=G;ae<=ie;ae++){j.push(E.visitNode(q[ae],$,E.isStatement))}return ie+1}return G}return 0}E.addPrologueDirectivesAndInitialSuperCall=addPrologueDirectivesAndInitialSuperCall;function getProperties(N,R,j){return E.filter(N.members,(function(E){return isInitializedOrStaticProperty(E,R,j)}))}E.getProperties=getProperties;function isStaticPropertyDeclarationOrClassStaticBlockDeclaration(N){return isStaticPropertyDeclaration(N)||E.isClassStaticBlockDeclaration(N)}function getStaticPropertiesAndClassStaticBlock(N){return E.filter(N.members,isStaticPropertyDeclarationOrClassStaticBlockDeclaration)}E.getStaticPropertiesAndClassStaticBlock=getStaticPropertiesAndClassStaticBlock;function isInitializedOrStaticProperty(N,R,j){return E.isPropertyDeclaration(N)&&(!!N.initializer||!R)&&E.hasStaticModifier(N)===j}function isStaticPropertyDeclaration(N){return E.isPropertyDeclaration(N)&&E.hasStaticModifier(N)}function isInitializedProperty(E){return E.kind===165&&E.initializer!==undefined}E.isInitializedProperty=isInitializedProperty;function isNonStaticMethodOrAccessorWithPrivateName(N){return!E.isStatic(N)&&E.isMethodOrAccessor(N)&&E.isPrivateIdentifier(N.name)}E.isNonStaticMethodOrAccessorWithPrivateName=isNonStaticMethodOrAccessorWithPrivateName})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["All"]=0]="All";E[E["ObjectRest"]=1]="ObjectRest"})(N=E.FlattenLevel||(E.FlattenLevel={}));function flattenDestructuringAssignment(N,R,j,$,q,G){var ie=N;var ae;if(E.isDestructuringAssignment(N)){ae=N.right;while(E.isEmptyArrayLiteral(N.left)||E.isEmptyObjectLiteral(N.left)){if(E.isDestructuringAssignment(ae)){ie=N=ae;ae=N.right}else{return E.visitNode(ae,R,E.isExpression)}}}var ce;var le={context:j,level:$,downlevelIteration:!!j.getCompilerOptions().downlevelIteration,hoistTempVariables:true,emitExpression:emitExpression,emitBindingOrAssignment:emitBindingOrAssignment,createArrayBindingOrAssignmentPattern:function(E){return makeArrayAssignmentPattern(j.factory,E)},createObjectBindingOrAssignmentPattern:function(E){return makeObjectAssignmentPattern(j.factory,E)},createArrayBindingOrAssignmentElement:makeAssignmentElement,visitor:R};if(ae){ae=E.visitNode(ae,R,E.isExpression);if(E.isIdentifier(ae)&&bindingOrAssignmentElementAssignsToName(N,ae.escapedText)||bindingOrAssignmentElementContainsNonLiteralComputedName(N)){ae=ensureIdentifier(le,ae,false,ie)}else if(q){ae=ensureIdentifier(le,ae,true,ie)}else if(E.nodeIsSynthesized(N)){ie=ae}}flattenBindingOrAssignmentElement(le,N,ae,ie,E.isDestructuringAssignment(N));if(ae&&q){if(!E.some(ce)){return ae}ce.push(ae)}return j.factory.inlineExpressions(ce)||j.factory.createOmittedExpression();function emitExpression(N){ce=E.append(ce,N)}function emitBindingOrAssignment(N,$,q,ie){E.Debug.assertNode(N,G?E.isIdentifier:E.isExpression);var ae=G?G(N,$,q):E.setTextRange(j.factory.createAssignment(E.visitNode(N,R,E.isExpression),$),q);ae.original=ie;emitExpression(ae)}}E.flattenDestructuringAssignment=flattenDestructuringAssignment;function bindingOrAssignmentElementAssignsToName(N,R){var j=E.getTargetOfBindingOrAssignmentElement(N);if(E.isBindingOrAssignmentPattern(j)){return bindingOrAssignmentPatternAssignsToName(j,R)}else if(E.isIdentifier(j)){return j.escapedText===R}return false}function bindingOrAssignmentPatternAssignsToName(N,R){var j=E.getElementsOfBindingOrAssignmentPattern(N);for(var $=0,q=j;$<q.length;$++){var G=q[$];if(bindingOrAssignmentElementAssignsToName(G,R)){return true}}return false}function bindingOrAssignmentElementContainsNonLiteralComputedName(N){var R=E.tryGetPropertyNameOfBindingOrAssignmentElement(N);if(R&&E.isComputedPropertyName(R)&&!E.isLiteralExpression(R.expression)){return true}var j=E.getTargetOfBindingOrAssignmentElement(N);return!!j&&E.isBindingOrAssignmentPattern(j)&&bindingOrAssignmentPatternContainsNonLiteralComputedName(j)}function bindingOrAssignmentPatternContainsNonLiteralComputedName(N){return!!E.forEach(E.getElementsOfBindingOrAssignmentPattern(N),bindingOrAssignmentElementContainsNonLiteralComputedName)}function flattenDestructuringBinding(N,R,j,$,q,G,ie){if(G===void 0){G=false}var ae;var ce=[];var le=[];var _e={context:j,level:$,downlevelIteration:!!j.getCompilerOptions().downlevelIteration,hoistTempVariables:G,emitExpression:emitExpression,emitBindingOrAssignment:emitBindingOrAssignment,createArrayBindingOrAssignmentPattern:function(E){return makeArrayBindingPattern(j.factory,E)},createObjectBindingOrAssignmentPattern:function(E){return makeObjectBindingPattern(j.factory,E)},createArrayBindingOrAssignmentElement:function(E){return makeBindingElement(j.factory,E)},visitor:R};if(E.isVariableDeclaration(N)){var Ee=E.getInitializerOfBindingOrAssignmentElement(N);if(Ee&&(E.isIdentifier(Ee)&&bindingOrAssignmentElementAssignsToName(N,Ee.escapedText)||bindingOrAssignmentElementContainsNonLiteralComputedName(N))){Ee=ensureIdentifier(_e,E.visitNode(Ee,_e.visitor),false,Ee);N=j.factory.updateVariableDeclaration(N,N.name,undefined,undefined,Ee)}}flattenBindingOrAssignmentElement(_e,N,q,N,ie);if(ae){var Te=j.factory.createTempVariable(undefined);if(G){var we=j.factory.inlineExpressions(ae);ae=undefined;emitBindingOrAssignment(Te,we,undefined,undefined)}else{j.hoistVariableDeclaration(Te);var Ie=E.last(ce);Ie.pendingExpressions=E.append(Ie.pendingExpressions,j.factory.createAssignment(Te,Ie.value));E.addRange(Ie.pendingExpressions,ae);Ie.value=Te}}for(var Ne=0,Me=ce;Ne<Me.length;Ne++){var Le=Me[Ne],Be=Le.pendingExpressions,je=Le.name,we=Le.value,Ue=Le.location,ze=Le.original;var We=j.factory.createVariableDeclaration(je,undefined,undefined,Be?j.factory.inlineExpressions(E.append(Be,we)):we);We.original=ze;E.setTextRange(We,Ue);le.push(We)}return le;function emitExpression(N){ae=E.append(ae,N)}function emitBindingOrAssignment(N,R,$,q){E.Debug.assertNode(N,E.isBindingName);if(ae){R=j.factory.inlineExpressions(E.append(ae,R));ae=undefined}ce.push({pendingExpressions:ae,name:N,value:R,location:$,original:q})}}E.flattenDestructuringBinding=flattenDestructuringBinding;function flattenBindingOrAssignmentElement(N,R,j,$,q){var G=E.getTargetOfBindingOrAssignmentElement(R);if(!q){var ie=E.visitNode(E.getInitializerOfBindingOrAssignmentElement(R),N.visitor,E.isExpression);if(ie){if(j){j=createDefaultValueCheck(N,j,ie,$);if(!E.isSimpleInlineableExpression(ie)&&E.isBindingOrAssignmentPattern(G)){j=ensureIdentifier(N,j,true,$)}}else{j=ie}}else if(!j){j=N.context.factory.createVoidZero()}}if(E.isObjectBindingOrAssignmentPattern(G)){flattenObjectBindingOrAssignmentPattern(N,R,G,j,$)}else if(E.isArrayBindingOrAssignmentPattern(G)){flattenArrayBindingOrAssignmentPattern(N,R,G,j,$)}else{N.emitBindingOrAssignment(G,j,$,R)}}function flattenObjectBindingOrAssignmentPattern(N,R,j,$,q){var G=E.getElementsOfBindingOrAssignmentPattern(j);var ie=G.length;if(ie!==1){var ae=!E.isDeclarationBindingElement(R)||ie!==0;$=ensureIdentifier(N,$,ae,q)}var ce;var le;for(var _e=0;_e<ie;_e++){var Ee=G[_e];if(!E.getRestIndicatorOfBindingOrAssignmentElement(Ee)){var Te=E.getPropertyNameOfBindingOrAssignmentElement(Ee);if(N.level>=1&&!(Ee.transformFlags&(16384|32768))&&!(E.getTargetOfBindingOrAssignmentElement(Ee).transformFlags&(16384|32768))&&!E.isComputedPropertyName(Te)){ce=E.append(ce,E.visitNode(Ee,N.visitor))}else{if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j);ce=undefined}var we=createDestructuringPropertyAccess(N,$,Te);if(E.isComputedPropertyName(Te)){le=E.append(le,we.argumentExpression)}flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}else if(_e===ie-1){if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j);ce=undefined}var we=N.context.getEmitHelperFactory().createRestHelper($,G,le,j);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j)}}function flattenArrayBindingOrAssignmentPattern(N,R,j,$,q){var G=E.getElementsOfBindingOrAssignmentPattern(j);var ie=G.length;if(N.level<1&&N.downlevelIteration){$=ensureIdentifier(N,E.setTextRange(N.context.getEmitHelperFactory().createReadHelper($,ie>0&&E.getRestIndicatorOfBindingOrAssignmentElement(G[ie-1])?undefined:ie),q),false,q)}else if(ie!==1&&(N.level<1||ie===0)||E.every(G,E.isOmittedExpression)){var ae=!E.isDeclarationBindingElement(R)||ie!==0;$=ensureIdentifier(N,$,ae,q)}var ce;var le;for(var _e=0;_e<ie;_e++){var Ee=G[_e];if(N.level>=1){if(Ee.transformFlags&32768||N.hasTransformedPriorElement&&!isSimpleBindingOrAssignmentElement(Ee)){N.hasTransformedPriorElement=true;var Te=N.context.factory.createTempVariable(undefined);if(N.hoistTempVariables){N.context.hoistVariableDeclaration(Te)}le=E.append(le,[Te,Ee]);ce=E.append(ce,N.createArrayBindingOrAssignmentElement(Te))}else{ce=E.append(ce,Ee)}}else if(E.isOmittedExpression(Ee)){continue}else if(!E.getRestIndicatorOfBindingOrAssignmentElement(Ee)){var we=N.context.factory.createElementAccessExpression($,_e);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}else if(_e===ie-1){var we=N.context.factory.createArraySliceCall($,_e);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}if(ce){N.emitBindingOrAssignment(N.createArrayBindingOrAssignmentPattern(ce),$,q,j)}if(le){for(var Ie=0,Ne=le;Ie<Ne.length;Ie++){var Me=Ne[Ie],Le=Me[0],Ee=Me[1];flattenBindingOrAssignmentElement(N,Ee,Le,Ee)}}}function isSimpleBindingOrAssignmentElement(N){var R=E.getTargetOfBindingOrAssignmentElement(N);if(!R||E.isOmittedExpression(R))return true;var j=E.tryGetPropertyNameOfBindingOrAssignmentElement(N);if(j&&!E.isPropertyNameLiteral(j))return false;var $=E.getInitializerOfBindingOrAssignmentElement(N);if($&&!E.isSimpleInlineableExpression($))return false;if(E.isBindingOrAssignmentPattern(R))return E.every(E.getElementsOfBindingOrAssignmentPattern(R),isSimpleBindingOrAssignmentElement);return E.isIdentifier(R)}function createDefaultValueCheck(E,N,R,j){N=ensureIdentifier(E,N,true,j);return E.context.factory.createConditionalExpression(E.context.factory.createTypeCheck(N,"undefined"),undefined,R,undefined,N)}function createDestructuringPropertyAccess(N,R,j){if(E.isComputedPropertyName(j)){var $=ensureIdentifier(N,E.visitNode(j.expression,N.visitor),false,j);return N.context.factory.createElementAccessExpression(R,$)}else if(E.isStringOrNumericLiteralLike(j)){var $=E.factory.cloneNode(j);return N.context.factory.createElementAccessExpression(R,$)}else{var q=N.context.factory.createIdentifier(E.idText(j));return N.context.factory.createPropertyAccessExpression(R,q)}}function ensureIdentifier(N,R,j,$){if(E.isIdentifier(R)&&j){return R}else{var q=N.context.factory.createTempVariable(undefined);if(N.hoistTempVariables){N.context.hoistVariableDeclaration(q);N.emitExpression(E.setTextRange(N.context.factory.createAssignment(q,R),$))}else{N.emitBindingOrAssignment(q,R,$,undefined)}return q}}function makeArrayBindingPattern(N,R){E.Debug.assertEachNode(R,E.isArrayBindingElement);return N.createArrayBindingPattern(R)}function makeArrayAssignmentPattern(N,R){return N.createArrayLiteralExpression(E.map(R,N.converters.convertToArrayAssignmentElement))}function makeObjectBindingPattern(N,R){E.Debug.assertEachNode(R,E.isBindingElement);return N.createObjectBindingPattern(R)}function makeObjectAssignmentPattern(N,R){return N.createObjectLiteralExpression(E.map(R,N.converters.convertToObjectAssignmentElement))}function makeBindingElement(E,N){return E.createBindingElement(undefined,undefined,N)}function makeAssignmentElement(E){return E}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["LiftRestriction"]=0]="LiftRestriction";E[E["All"]=1]="All"})(N=E.ProcessLevel||(E.ProcessLevel={}));function processTaggedTemplateExpression(R,j,$,q,G,ie){var ae=E.visitNode(j.tag,$,E.isExpression);var ce=[undefined];var le=[];var _e=[];var Ee=j.template;if(ie===N.LiftRestriction&&!E.hasInvalidEscape(Ee)){return E.visitEachChild(j,$,R)}if(E.isNoSubstitutionTemplateLiteral(Ee)){le.push(createTemplateCooked(Ee));_e.push(getRawLiteral(Ee,q))}else{le.push(createTemplateCooked(Ee.head));_e.push(getRawLiteral(Ee.head,q));for(var Te=0,we=Ee.templateSpans;Te<we.length;Te++){var Ie=we[Te];le.push(createTemplateCooked(Ie.literal));_e.push(getRawLiteral(Ie.literal,q));ce.push(E.visitNode(Ie.expression,$,E.isExpression))}}var Ne=R.getEmitHelperFactory().createTemplateObjectHelper(E.factory.createArrayLiteralExpression(le),E.factory.createArrayLiteralExpression(_e));if(E.isExternalModule(q)){var Me=E.factory.createUniqueName("templateObject");G(Me);ce[0]=E.factory.createLogicalOr(Me,E.factory.createAssignment(Me,Ne))}else{ce[0]=Ne}return E.factory.createCallExpression(ae,undefined,ce)}E.processTaggedTemplateExpression=processTaggedTemplateExpression;function createTemplateCooked(N){return N.templateFlags?E.factory.createVoidZero():E.factory.createStringLiteral(N.text)}function getRawLiteral(N,R){var j=N.rawText;if(j===undefined){E.Debug.assertIsDefined(R,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform.");j=E.getSourceTextOfNodeFromSourceFile(R,N);var $=N.kind===14||N.kind===17;j=j.substring(1,j.length-($?1:2))}j=j.replace(/\r\n?/g,"\n");return E.setTextRange(E.factory.createStringLiteral(j),N)}})(ce||(ce={}));var ce;(function(E){var N=false;var R;(function(E){E[E["ClassAliases"]=1]="ClassAliases";E[E["NamespaceExports"]=2]="NamespaceExports";E[E["NonQualifiedEnumMembers"]=8]="NonQualifiedEnumMembers"})(R||(R={}));var j;(function(E){E[E["None"]=0]="None";E[E["HasStaticInitializedProperties"]=1]="HasStaticInitializedProperties";E[E["HasConstructorDecorators"]=2]="HasConstructorDecorators";E[E["HasMemberDecorators"]=4]="HasMemberDecorators";E[E["IsExportOfNamespace"]=8]="IsExportOfNamespace";E[E["IsNamedExternalExport"]=16]="IsNamedExternalExport";E[E["IsDefaultExternalExport"]=32]="IsDefaultExternalExport";E[E["IsDerivedClass"]=64]="IsDerivedClass";E[E["UseImmediatelyInvokedFunctionExpression"]=128]="UseImmediatelyInvokedFunctionExpression";E[E["HasAnyDecorators"]=6]="HasAnyDecorators";E[E["NeedsName"]=5]="NeedsName";E[E["MayNeedImmediatelyInvokedFunctionExpression"]=7]="MayNeedImmediatelyInvokedFunctionExpression";E[E["IsExported"]=56]="IsExported"})(j||(j={}));function transformTypeScript(R){var j=R.factory,$=R.getEmitHelperFactory,q=R.startLexicalEnvironment,G=R.resumeLexicalEnvironment,ie=R.endLexicalEnvironment,ae=R.hoistVariableDeclaration;var ce=R.getEmitResolver();var le=R.getCompilerOptions();var _e=E.getStrictOptionValue(le,"strictNullChecks");var Ee=E.getEmitScriptTarget(le);var Te=E.getEmitModuleKind(le);var we=R.onEmitNode;var Ie=R.onSubstituteNode;R.onEmitNode=onEmitNode;R.onSubstituteNode=onSubstituteNode;R.enableSubstitution(204);R.enableSubstitution(205);var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve;return transformSourceFileOrBundle;function transformSourceFileOrBundle(E){if(E.kind===301){return transformBundle(E)}return transformSourceFile(E)}function transformBundle(N){return j.createBundle(N.sourceFiles.map(transformSourceFile),E.mapDefined(N.prepends,(function(N){if(N.kind===303){return E.createUnparsedSourceFile(N,"js")}return N})))}function transformSourceFile(N){if(N.isDeclarationFile){return N}Ne=N;var j=saveStateAndInvoke(N,visitSourceFile);E.addEmitHelpers(j,R.readEmitHelpers());Ne=undefined;return j}function saveStateAndInvoke(E,N){var R=Be;var j=je;var $=Ue;var q=ze;onBeforeVisitNode(E);var G=N(E);if(Be!==R){Ue=$}Be=R;je=j;ze=q;return G}function onBeforeVisitNode(N){switch(N.kind){case 300:case 261:case 260:case 233:Be=N;je=undefined;Ue=undefined;break;case 255:case 254:if(E.hasSyntacticModifier(N,2)){break}if(N.name){recordEmittedDeclarationInScope(N)}else{E.Debug.assert(N.kind===255||E.hasSyntacticModifier(N,512))}if(E.isClassDeclaration(N)){je=N}break}}function visitor(E){return saveStateAndInvoke(E,visitorWorker)}function visitorWorker(E){if(E.transformFlags&1){return visitTypeScript(E)}return E}function sourceElementVisitor(E){return saveStateAndInvoke(E,sourceElementVisitorWorker)}function sourceElementVisitorWorker(E){switch(E.kind){case 264:case 263:case 269:case 270:return visitElidableStatement(E);default:return visitorWorker(E)}}function visitElidableStatement(N){var j=E.getParseTreeNode(N);if(j!==N){if(N.transformFlags&1){return E.visitEachChild(N,visitor,R)}return N}switch(N.kind){case 264:return visitImportDeclaration(N);case 263:return visitImportEqualsDeclaration(N);case 269:return visitExportAssignment(N);case 270:return visitExportDeclaration(N);default:E.Debug.fail("Unhandled ellided statement")}}function namespaceElementVisitor(E){return saveStateAndInvoke(E,namespaceElementVisitorWorker)}function namespaceElementVisitorWorker(N){if(N.kind===270||N.kind===264||N.kind===265||N.kind===263&&N.moduleReference.kind===275){return undefined}else if(N.transformFlags&1||E.hasSyntacticModifier(N,1)){return visitTypeScript(N)}return N}function classElementVisitor(E){return saveStateAndInvoke(E,classElementVisitorWorker)}function classElementVisitorWorker(N){switch(N.kind){case 169:return visitConstructor(N);case 165:return visitPropertyDeclaration(N);case 174:case 170:case 171:case 167:case 168:return visitorWorker(N);case 232:return N;default:return E.Debug.failBadSyntaxKind(N)}}function modifierVisitor(N){if(E.modifierToFlag(N.kind)&18654){return undefined}else if(Me&&N.kind===93){return undefined}return N}function visitTypeScript(N){if(E.isStatement(N)&&E.hasSyntacticModifier(N,2)){return j.createNotEmittedStatement(N)}switch(N.kind){case 93:case 88:return Me?undefined:N;case 123:case 121:case 122:case 126:case 157:case 85:case 134:case 143:case 181:case 182:case 183:case 184:case 180:case 175:case 161:case 129:case 153:case 132:case 148:case 145:case 142:case 114:case 149:case 178:case 177:case 179:case 176:case 185:case 186:case 187:case 189:case 190:case 191:case 192:case 193:case 194:case 174:case 163:return undefined;case 257:return j.createNotEmittedStatement(N);case 165:return visitPropertyDeclaration(N);case 262:return undefined;case 169:return visitConstructor(N);case 256:return j.createNotEmittedStatement(N);case 255:return visitClassDeclaration(N);case 224:return visitClassExpression(N);case 289:return visitHeritageClause(N);case 226:return visitExpressionWithTypeArguments(N);case 167:return visitMethodDeclaration(N);case 170:return visitGetAccessor(N);case 171:return visitSetAccessor(N);case 254:return visitFunctionDeclaration(N);case 211:return visitFunctionExpression(N);case 212:return visitArrowFunction(N);case 162:return visitParameter(N);case 210:return visitParenthesizedExpression(N);case 209:case 227:return visitAssertionExpression(N);case 206:return visitCallExpression(N);case 207:return visitNewExpression(N);case 208:return visitTaggedTemplateExpression(N);case 228:return visitNonNullExpression(N);case 258:return visitEnumDeclaration(N);case 235:return visitVariableStatement(N);case 252:return visitVariableDeclaration(N);case 259:return visitModuleDeclaration(N);case 263:return visitImportEqualsDeclaration(N);case 277:return visitJsxSelfClosingElement(N);case 278:return visitJsxJsxOpeningElement(N);default:return E.visitEachChild(N,visitor,R)}}function visitSourceFile(N){var $=E.getStrictOptionValue(le,"alwaysStrict")&&!(E.isExternalModule(N)&&Te>=E.ModuleKind.ES2015)&&!E.isJsonSourceFile(N);return j.updateSourceFile(N,E.visitLexicalEnvironment(N.statements,sourceElementVisitor,R,0,$))}function getClassFacts(N,R){var j=0;if(E.some(R))j|=1;var $=E.getEffectiveBaseTypeNode(N);if($&&E.skipOuterExpressions($.expression).kind!==104)j|=64;if(E.classOrConstructorParameterIsDecorated(N))j|=2;if(E.childIsDecorated(N))j|=4;if(isExportOfNamespace(N))j|=8;else if(isDefaultExternalModuleExport(N))j|=32;else if(isNamedExternalModuleExport(N))j|=16;if(Ee<=1&&j&7)j|=128;return j}function hasTypeScriptClassSyntax(E){return!!(E.transformFlags&4096)}function isClassLikeDeclarationWithTypeScriptSyntax(N){return E.some(N.decorators)||E.some(N.typeParameters)||E.some(N.heritageClauses,hasTypeScriptClassSyntax)||E.some(N.members,hasTypeScriptClassSyntax)}function visitClassDeclaration(N){if(!isClassLikeDeclarationWithTypeScriptSyntax(N)&&!(Me&&E.hasSyntacticModifier(N,1))){return E.visitEachChild(N,visitor,R)}var $=E.getProperties(N,true,true);var q=getClassFacts(N,$);if(q&128){R.startLexicalEnvironment()}var G=N.name||(q&5?j.getGeneratedNameForNode(N):undefined);var ie=q&2?createClassDeclarationHeadWithDecorators(N,G):createClassDeclarationHeadWithoutDecorators(N,G,q);var ae=[ie];addClassElementDecorationStatements(ae,N,false);addClassElementDecorationStatements(ae,N,true);addConstructorDecorationStatement(ae,N);if(q&128){var ce=E.createTokenRange(E.skipTrivia(Ne.text,N.members.end),19);var le=j.getInternalName(N);var _e=j.createPartiallyEmittedExpression(le);E.setTextRangeEnd(_e,ce.end);E.setEmitFlags(_e,1536);var Ee=j.createReturnStatement(_e);E.setTextRangePos(Ee,ce.pos);E.setEmitFlags(Ee,1536|384);ae.push(Ee);E.insertStatementsAfterStandardPrologue(ae,R.endLexicalEnvironment());var Te=j.createImmediatelyInvokedArrowFunction(ae);E.setEmitFlags(Te,33554432);var we=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(j.getLocalName(N,false,false),undefined,undefined,Te)]));E.setOriginalNode(we,N);E.setCommentRange(we,N);E.setSourceMapRange(we,E.moveRangePastDecorators(N));E.startOnNewLine(we);ae=[we]}if(q&8){addExportMemberAssignment(ae,N)}else if(q&128||q&2){if(q&32){ae.push(j.createExportDefault(j.getLocalName(N,false,true)))}else if(q&16){ae.push(j.createExternalModuleExport(j.getLocalName(N,false,true)))}}if(ae.length>1){ae.push(j.createEndOfDeclarationMarker(N));E.setEmitFlags(ie,E.getEmitFlags(ie)|4194304)}return E.singleOrMany(ae)}function createClassDeclarationHeadWithoutDecorators(N,R,$){var q=!($&128)?E.visitNodes(N.modifiers,modifierVisitor,E.isModifier):undefined;var G=j.createClassDeclaration(undefined,q,R,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),transformClassMembers(N));var ie=E.getEmitFlags(N);if($&1){ie|=32}E.setTextRange(G,N);E.setOriginalNode(G,N);E.setEmitFlags(G,ie);return G}function createClassDeclarationHeadWithDecorators(N,R){var $=E.moveRangePastDecorators(N);var q=getClassAliasIfNeeded(N);var G=Ee<=2?j.getInternalName(N,false,true):j.getLocalName(N,false,true);var ie=E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause);var ae=transformClassMembers(N);var ce=j.createClassExpression(undefined,undefined,R,undefined,ie,ae);E.setOriginalNode(ce,N);E.setTextRange(ce,$);var le=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(G,undefined,undefined,q?j.createAssignment(q,ce):ce)],1));E.setOriginalNode(le,N);E.setTextRange(le,$);E.setCommentRange(le,N);return le}function visitClassExpression(N){if(!isClassLikeDeclarationWithTypeScriptSyntax(N)){return E.visitEachChild(N,visitor,R)}var $=j.createClassExpression(undefined,undefined,N.name,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),transformClassMembers(N));E.setOriginalNode($,N);E.setTextRange($,N);return $}function transformClassMembers(N){var R=[];var $=E.getFirstConstructorWithBody(N);var q=$&&E.filter($.parameters,(function(N){return E.isParameterPropertyDeclaration(N,$)}));if(q){for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];if(E.isIdentifier(ae.name)){R.push(E.setOriginalNode(j.createPropertyDeclaration(undefined,undefined,ae.name,undefined,undefined,undefined),ae))}}}E.addRange(R,E.visitNodes(N.members,classElementVisitor,E.isClassElement));return E.setTextRange(j.createNodeArray(R),N.members)}function getDecoratedClassElements(N,R){return E.filter(N.members,R?function(E){return isStaticDecoratedClassElement(E,N)}:function(E){return isInstanceDecoratedClassElement(E,N)})}function isStaticDecoratedClassElement(E,N){return isDecoratedClassElement(E,true,N)}function isInstanceDecoratedClassElement(E,N){return isDecoratedClassElement(E,false,N)}function isDecoratedClassElement(N,R,j){return E.nodeOrChildIsDecorated(N,j)&&R===E.isStatic(N)}function getDecoratorsOfParameters(N){var R;if(N){var j=N.parameters;var $=j.length>0&&E.parameterIsThisKeyword(j[0]);var q=$?1:0;var G=$?j.length-1:j.length;for(var ie=0;ie<G;ie++){var ae=j[ie+q];if(R||ae.decorators){if(!R){R=new Array(G)}R[ie]=ae.decorators}}}return R}function getAllDecoratorsOfConstructor(N){var R=N.decorators;var j=getDecoratorsOfParameters(E.getFirstConstructorWithBody(N));if(!R&&!j){return undefined}return{decorators:R,parameters:j}}function getAllDecoratorsOfClassElement(E,N){switch(N.kind){case 170:case 171:return getAllDecoratorsOfAccessors(E,N);case 167:return getAllDecoratorsOfMethod(N);case 165:return getAllDecoratorsOfProperty(N);default:return undefined}}function getAllDecoratorsOfAccessors(N,R){if(!R.body){return undefined}var j=E.getAllAccessorDeclarations(N.members,R),$=j.firstAccessor,q=j.secondAccessor,G=j.setAccessor;var ie=$.decorators?$:q&&q.decorators?q:undefined;if(!ie||R!==ie){return undefined}var ae=ie.decorators;var ce=getDecoratorsOfParameters(G);if(!ae&&!ce){return undefined}return{decorators:ae,parameters:ce}}function getAllDecoratorsOfMethod(E){if(!E.body){return undefined}var N=E.decorators;var R=getDecoratorsOfParameters(E);if(!N&&!R){return undefined}return{decorators:N,parameters:R}}function getAllDecoratorsOfProperty(E){var N=E.decorators;if(!N){return undefined}return{decorators:N}}function transformAllDecoratorsOfDeclaration(N,R,j){if(!j){return undefined}var $=[];E.addRange($,E.map(j.decorators,transformDecorator));E.addRange($,E.flatMap(j.parameters,transformDecoratorsOfParameter));addTypeMetadata(N,R,$);return $}function addClassElementDecorationStatements(N,R,j){E.addRange(N,E.map(generateClassElementDecorationExpressions(R,j),expressionToStatement))}function generateClassElementDecorationExpressions(E,N){var R=getDecoratedClassElements(E,N);var j;for(var $=0,q=R;$<q.length;$++){var G=q[$];var ie=generateClassElementDecorationExpression(E,G);if(ie){if(!j){j=[ie]}else{j.push(ie)}}}return j}function generateClassElementDecorationExpression(N,R){var q=getAllDecoratorsOfClassElement(N,R);var G=transformAllDecoratorsOfDeclaration(R,N,q);if(!G){return undefined}var ie=getClassMemberPrefix(N,R);var ae=getExpressionForPropertyName(R,true);var ce=Ee>0?R.kind===165?j.createVoidZero():j.createNull():undefined;var le=$().createDecorateHelper(G,ie,ae,ce);E.setTextRange(le,E.moveRangePastDecorators(R));E.setEmitFlags(le,1536);return le}function addConstructorDecorationStatement(N,R){var $=generateConstructorDecorationExpression(R);if($){N.push(E.setOriginalNode(j.createExpressionStatement($),R))}}function generateConstructorDecorationExpression(N){var R=getAllDecoratorsOfConstructor(N);var q=transformAllDecoratorsOfDeclaration(N,N,R);if(!q){return undefined}var G=Je&&Je[E.getOriginalNodeId(N)];var ie=Ee<=2?j.getInternalName(N,false,true):j.getLocalName(N,false,true);var ae=$().createDecorateHelper(q,ie);var ce=j.createAssignment(ie,G?j.createAssignment(G,ae):ae);E.setEmitFlags(ce,1536);E.setSourceMapRange(ce,E.moveRangePastDecorators(N));return ce}function transformDecorator(N){return E.visitNode(N.expression,visitor,E.isExpression)}function transformDecoratorsOfParameter(N,R){var j;if(N){j=[];for(var q=0,G=N;q<G.length;q++){var ie=G[q];var ae=$().createParamHelper(transformDecorator(ie),R);E.setTextRange(ae,ie.expression);E.setEmitFlags(ae,1536);j.push(ae)}}return j}function addTypeMetadata(E,R,j){if(N){addNewTypeMetadata(E,R,j)}else{addOldTypeMetadata(E,R,j)}}function addOldTypeMetadata(E,N,R){if(le.emitDecoratorMetadata){if(shouldAddTypeMetadata(E)){R.push($().createMetadataHelper("design:type",serializeTypeOfNode(E)))}if(shouldAddParamTypesMetadata(E)){R.push($().createMetadataHelper("design:paramtypes",serializeParameterTypesOfNode(E,N)))}if(shouldAddReturnTypeMetadata(E)){R.push($().createMetadataHelper("design:returntype",serializeReturnTypeOfNode(E)))}}}function addNewTypeMetadata(E,N,R){if(le.emitDecoratorMetadata){var q=void 0;if(shouldAddTypeMetadata(E)){(q||(q=[])).push(j.createPropertyAssignment("type",j.createArrowFunction(undefined,undefined,[],undefined,j.createToken(38),serializeTypeOfNode(E))))}if(shouldAddParamTypesMetadata(E)){(q||(q=[])).push(j.createPropertyAssignment("paramTypes",j.createArrowFunction(undefined,undefined,[],undefined,j.createToken(38),serializeParameterTypesOfNode(E,N))))}if(shouldAddReturnTypeMetadata(E)){(q||(q=[])).push(j.createPropertyAssignment("returnType",j.createArrowFunction(undefined,undefined,[],undefined,j.createToken(38),serializeReturnTypeOfNode(E))))}if(q){R.push($().createMetadataHelper("design:typeinfo",j.createObjectLiteralExpression(q,true)))}}}function shouldAddTypeMetadata(E){var N=E.kind;return N===167||N===170||N===171||N===165}function shouldAddReturnTypeMetadata(E){return E.kind===167}function shouldAddParamTypesMetadata(N){switch(N.kind){case 255:case 224:return E.getFirstConstructorWithBody(N)!==undefined;case 167:case 170:case 171:return true}return false}function getAccessorTypeNode(N){var R=ce.getAllAccessorDeclarations(N);return R.setAccessor&&E.getSetAccessorTypeAnnotationNode(R.setAccessor)||R.getAccessor&&E.getEffectiveReturnTypeNode(R.getAccessor)}function serializeTypeOfNode(E){switch(E.kind){case 165:case 162:return serializeTypeNode(E.type);case 171:case 170:return serializeTypeNode(getAccessorTypeNode(E));case 255:case 224:case 167:return j.createIdentifier("Function");default:return j.createVoidZero()}}function serializeParameterTypesOfNode(N,R){var $=E.isClassLike(N)?E.getFirstConstructorWithBody(N):E.isFunctionLike(N)&&E.nodeIsPresent(N.body)?N:undefined;var q=[];if($){var G=getParametersOfDecoratedDeclaration($,R);var ie=G.length;for(var ae=0;ae<ie;ae++){var ce=G[ae];if(ae===0&&E.isIdentifier(ce.name)&&ce.name.escapedText==="this"){continue}if(ce.dotDotDotToken){q.push(serializeTypeNode(E.getRestParameterElementType(ce.type)))}else{q.push(serializeTypeOfNode(ce))}}}return j.createArrayLiteralExpression(q)}function getParametersOfDecoratedDeclaration(N,R){if(R&&N.kind===170){var j=E.getAllAccessorDeclarations(R.members,N).setAccessor;if(j){return j.parameters}}return N.parameters}function serializeReturnTypeOfNode(N){if(E.isFunctionLike(N)&&N.type){return serializeTypeNode(N.type)}else if(E.isAsyncFunction(N)){return j.createIdentifier("Promise")}return j.createVoidZero()}function serializeTypeNode(N){if(N===undefined){return j.createIdentifier("Object")}switch(N.kind){case 114:case 151:case 142:return j.createVoidZero();case 189:return serializeTypeNode(N.type);case 177:case 178:return j.createIdentifier("Function");case 181:case 182:return j.createIdentifier("Array");case 175:case 132:return j.createIdentifier("Boolean");case 148:return j.createIdentifier("String");case 146:return j.createIdentifier("Object");case 194:switch(N.literal.kind){case 10:case 14:return j.createIdentifier("String");case 217:case 8:return j.createIdentifier("Number");case 9:return getGlobalBigIntNameWithFallback();case 110:case 95:return j.createIdentifier("Boolean");case 104:return j.createVoidZero();default:return E.Debug.failBadSyntaxKind(N.literal)}case 145:return j.createIdentifier("Number");case 156:return getGlobalBigIntNameWithFallback();case 149:return Ee<2?getGlobalSymbolNameWithFallback():j.createIdentifier("Symbol");case 176:return serializeTypeReferenceNode(N);case 186:case 185:return serializeTypeList(N.types);case 187:return serializeTypeList([N.trueType,N.falseType]);case 191:if(N.operator===143){return serializeTypeNode(N.type)}break;case 179:case 192:case 193:case 180:case 129:case 153:case 190:case 198:break;case 307:case 308:case 312:case 313:case 314:break;case 309:case 310:case 311:return serializeTypeNode(N.type);default:return E.Debug.failBadSyntaxKind(N)}return j.createIdentifier("Object")}function serializeTypeList(N){var R;for(var $=0,q=N;$<q.length;$++){var G=q[$];while(G.kind===189){G=G.type}if(G.kind===142){continue}if(!_e&&(G.kind===194&&G.literal.kind===104||G.kind===151)){continue}var ie=serializeTypeNode(G);if(E.isIdentifier(ie)&&ie.escapedText==="Object"){return ie}else if(R){if(!E.isIdentifier(R)||!E.isIdentifier(ie)||R.escapedText!==ie.escapedText){return j.createIdentifier("Object")}}else{R=ie}}return R||j.createVoidZero()}function serializeTypeReferenceNode(N){var R=ce.getTypeReferenceSerializationKind(N.typeName,je||Be);switch(R){case E.TypeReferenceSerializationKind.Unknown:if(E.findAncestor(N,(function(N){return N.parent&&E.isConditionalTypeNode(N.parent)&&(N.parent.trueType===N||N.parent.falseType===N)}))){return j.createIdentifier("Object")}var $=serializeEntityNameAsExpressionFallback(N.typeName);var q=j.createTempVariable(ae);return j.createConditionalExpression(j.createTypeCheck(j.createAssignment(q,$),"function"),undefined,q,undefined,j.createIdentifier("Object"));case E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return serializeEntityNameAsExpression(N.typeName);case E.TypeReferenceSerializationKind.VoidNullableOrNeverType:return j.createVoidZero();case E.TypeReferenceSerializationKind.BigIntLikeType:return getGlobalBigIntNameWithFallback();case E.TypeReferenceSerializationKind.BooleanType:return j.createIdentifier("Boolean");case E.TypeReferenceSerializationKind.NumberLikeType:return j.createIdentifier("Number");case E.TypeReferenceSerializationKind.StringLikeType:return j.createIdentifier("String");case E.TypeReferenceSerializationKind.ArrayLikeType:return j.createIdentifier("Array");case E.TypeReferenceSerializationKind.ESSymbolType:return Ee<2?getGlobalSymbolNameWithFallback():j.createIdentifier("Symbol");case E.TypeReferenceSerializationKind.TypeWithCallSignature:return j.createIdentifier("Function");case E.TypeReferenceSerializationKind.Promise:return j.createIdentifier("Promise");case E.TypeReferenceSerializationKind.ObjectType:return j.createIdentifier("Object");default:return E.Debug.assertNever(R)}}function createCheckedValue(E,N){return j.createLogicalAnd(j.createStrictInequality(j.createTypeOfExpression(E),j.createStringLiteral("undefined")),N)}function serializeEntityNameAsExpressionFallback(E){if(E.kind===79){var N=serializeEntityNameAsExpression(E);return createCheckedValue(N,N)}if(E.left.kind===79){return createCheckedValue(serializeEntityNameAsExpression(E.left),serializeEntityNameAsExpression(E))}var R=serializeEntityNameAsExpressionFallback(E.left);var $=j.createTempVariable(ae);return j.createLogicalAnd(j.createLogicalAnd(R.left,j.createStrictInequality(j.createAssignment($,R.right),j.createVoidZero())),j.createPropertyAccessExpression($,E.right))}function serializeEntityNameAsExpression(N){switch(N.kind){case 79:var R=E.setParent(E.setTextRange(E.parseNodeFactory.cloneNode(N),N),N.parent);R.original=undefined;E.setParent(R,E.getParseTreeNode(Be));return R;case 159:return serializeQualifiedNameAsExpression(N)}}function serializeQualifiedNameAsExpression(E){return j.createPropertyAccessExpression(serializeEntityNameAsExpression(E.left),E.right)}function getGlobalSymbolNameWithFallback(){return j.createConditionalExpression(j.createTypeCheck(j.createIdentifier("Symbol"),"function"),undefined,j.createIdentifier("Symbol"),undefined,j.createIdentifier("Object"))}function getGlobalBigIntNameWithFallback(){return Ee<99?j.createConditionalExpression(j.createTypeCheck(j.createIdentifier("BigInt"),"function"),undefined,j.createIdentifier("BigInt"),undefined,j.createIdentifier("Object")):j.createIdentifier("BigInt")}function getExpressionForPropertyName(N,R){var $=N.name;if(E.isPrivateIdentifier($)){return j.createIdentifier("")}else if(E.isComputedPropertyName($)){return R&&!E.isSimpleInlineableExpression($.expression)?j.getGeneratedNameForNode($):$.expression}else if(E.isIdentifier($)){return j.createStringLiteral(E.idText($))}else{return j.cloneNode($)}}function visitPropertyNameOfClassElement(N){var R=N.name;if(E.isComputedPropertyName(R)&&(!E.hasStaticModifier(N)&&ze||E.some(N.decorators))){var $=E.visitNode(R.expression,visitor,E.isExpression);var q=E.skipPartiallyEmittedExpressions($);if(!E.isSimpleInlineableExpression(q)){var G=j.getGeneratedNameForNode(R);ae(G);return j.updateComputedPropertyName(R,j.createAssignment(G,$))}}return E.visitNode(R,visitor,E.isPropertyName)}function visitHeritageClause(N){if(N.token===117){return undefined}return E.visitEachChild(N,visitor,R)}function visitExpressionWithTypeArguments(N){return j.updateExpressionWithTypeArguments(N,E.visitNode(N.expression,visitor,E.isLeftHandSideExpression),undefined)}function shouldEmitFunctionLikeDeclaration(N){return!E.nodeIsMissing(N.body)}function visitPropertyDeclaration(N){if(N.flags&8388608||E.hasSyntacticModifier(N,128)){return undefined}var R=j.updatePropertyDeclaration(N,undefined,E.visitNodes(N.modifiers,visitor,E.isModifier),visitPropertyNameOfClassElement(N),undefined,undefined,E.visitNode(N.initializer,visitor));if(R!==N){E.setCommentRange(R,N);E.setSourceMapRange(R,E.moveRangePastDecorators(N))}return R}function visitConstructor(N){if(!shouldEmitFunctionLikeDeclaration(N)){return undefined}return j.updateConstructorDeclaration(N,undefined,undefined,E.visitParameterList(N.parameters,visitor,R),transformConstructorBody(N.body,N))}function transformConstructorBody(N,$){var q=$&&E.filter($.parameters,(function(N){return E.isParameterPropertyDeclaration(N,$)}));if(!E.some(q)){return E.visitFunctionBody(N,visitor,R)}var ae=[];var ce=0;G();ce=E.addPrologueDirectivesAndInitialSuperCall(j,$,ae,visitor);E.addRange(ae,E.map(q,transformParameterWithPropertyAssignment));E.addRange(ae,E.visitNodes(N.statements,visitor,E.isStatement,ce));ae=j.mergeLexicalEnvironment(ae,ie());var le=j.createBlock(E.setTextRange(j.createNodeArray(ae),N.statements),true);E.setTextRange(le,N);E.setOriginalNode(le,N);return le}function transformParameterWithPropertyAssignment(N){var R=N.name;if(!E.isIdentifier(R)){return undefined}var $=E.setParent(E.setTextRange(j.cloneNode(R),R),R.parent);E.setEmitFlags($,1536|48);var q=E.setParent(E.setTextRange(j.cloneNode(R),R),R.parent);E.setEmitFlags(q,1536);return E.startOnNewLine(E.removeAllComments(E.setTextRange(E.setOriginalNode(j.createExpressionStatement(j.createAssignment(E.setTextRange(j.createPropertyAccessExpression(j.createThis(),$),N.name),q)),N),E.moveRangePos(N,-1))))}function visitMethodDeclaration(N){if(!shouldEmitFunctionLikeDeclaration(N)){return undefined}var $=j.updateMethodDeclaration(N,undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),N.asteriskToken,visitPropertyNameOfClassElement(N),undefined,undefined,E.visitParameterList(N.parameters,visitor,R),undefined,E.visitFunctionBody(N.body,visitor,R));if($!==N){E.setCommentRange($,N);E.setSourceMapRange($,E.moveRangePastDecorators(N))}return $}function shouldEmitAccessorDeclaration(N){return!(E.nodeIsMissing(N.body)&&E.hasSyntacticModifier(N,128))}function visitGetAccessor(N){if(!shouldEmitAccessorDeclaration(N)){return undefined}var $=j.updateGetAccessorDeclaration(N,undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),visitPropertyNameOfClassElement(N),E.visitParameterList(N.parameters,visitor,R),undefined,E.visitFunctionBody(N.body,visitor,R)||j.createBlock([]));if($!==N){E.setCommentRange($,N);E.setSourceMapRange($,E.moveRangePastDecorators(N))}return $}function visitSetAccessor(N){if(!shouldEmitAccessorDeclaration(N)){return undefined}var $=j.updateSetAccessorDeclaration(N,undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),visitPropertyNameOfClassElement(N),E.visitParameterList(N.parameters,visitor,R),E.visitFunctionBody(N.body,visitor,R)||j.createBlock([]));if($!==N){E.setCommentRange($,N);E.setSourceMapRange($,E.moveRangePastDecorators(N))}return $}function visitFunctionDeclaration(N){if(!shouldEmitFunctionLikeDeclaration(N)){return j.createNotEmittedStatement(N)}var $=j.updateFunctionDeclaration(N,undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),N.asteriskToken,N.name,undefined,E.visitParameterList(N.parameters,visitor,R),undefined,E.visitFunctionBody(N.body,visitor,R)||j.createBlock([]));if(isExportOfNamespace(N)){var q=[$];addExportMemberAssignment(q,N);return q}return $}function visitFunctionExpression(N){if(!shouldEmitFunctionLikeDeclaration(N)){return j.createOmittedExpression()}var $=j.updateFunctionExpression(N,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),N.asteriskToken,N.name,undefined,E.visitParameterList(N.parameters,visitor,R),undefined,E.visitFunctionBody(N.body,visitor,R)||j.createBlock([]));return $}function visitArrowFunction(N){var $=j.updateArrowFunction(N,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),undefined,E.visitParameterList(N.parameters,visitor,R),undefined,N.equalsGreaterThanToken,E.visitFunctionBody(N.body,visitor,R));return $}function visitParameter(N){if(E.parameterIsThisKeyword(N)){return undefined}var R=j.updateParameterDeclaration(N,undefined,undefined,N.dotDotDotToken,E.visitNode(N.name,visitor,E.isBindingName),undefined,undefined,E.visitNode(N.initializer,visitor,E.isExpression));if(R!==N){E.setCommentRange(R,N);E.setTextRange(R,E.moveRangePastModifiers(N));E.setSourceMapRange(R,E.moveRangePastModifiers(N));E.setEmitFlags(R.name,32)}return R}function visitVariableStatement(N){if(isExportOfNamespace(N)){var $=E.getInitializedVariables(N.declarationList);if($.length===0){return undefined}return E.setTextRange(j.createExpressionStatement(j.inlineExpressions(E.map($,transformInitializedVariable))),N)}else{return E.visitEachChild(N,visitor,R)}}function transformInitializedVariable(N){var $=N.name;if(E.isBindingPattern($)){return E.flattenDestructuringAssignment(N,visitor,R,0,false,createNamespaceExportExpression)}else{return E.setTextRange(j.createAssignment(getNamespaceMemberNameWithSourceMapsAndWithoutComments($),E.visitNode(N.initializer,visitor,E.isExpression)),N)}}function visitVariableDeclaration(N){return j.updateVariableDeclaration(N,E.visitNode(N.name,visitor,E.isBindingName),undefined,undefined,E.visitNode(N.initializer,visitor,E.isExpression))}function visitParenthesizedExpression(N){var $=E.skipOuterExpressions(N.expression,~6);if(E.isAssertionExpression($)){var q=E.visitNode(N.expression,visitor,E.isExpression);if(E.length(E.getLeadingCommentRangesOfNode(q,Ne))){return j.updateParenthesizedExpression(N,q)}return j.createPartiallyEmittedExpression(q,N)}return E.visitEachChild(N,visitor,R)}function visitAssertionExpression(N){var R=E.visitNode(N.expression,visitor,E.isExpression);return j.createPartiallyEmittedExpression(R,N)}function visitNonNullExpression(N){var R=E.visitNode(N.expression,visitor,E.isLeftHandSideExpression);return j.createPartiallyEmittedExpression(R,N)}function visitCallExpression(N){return j.updateCallExpression(N,E.visitNode(N.expression,visitor,E.isExpression),undefined,E.visitNodes(N.arguments,visitor,E.isExpression))}function visitNewExpression(N){return j.updateNewExpression(N,E.visitNode(N.expression,visitor,E.isExpression),undefined,E.visitNodes(N.arguments,visitor,E.isExpression))}function visitTaggedTemplateExpression(N){return j.updateTaggedTemplateExpression(N,E.visitNode(N.tag,visitor,E.isExpression),undefined,E.visitNode(N.template,visitor,E.isExpression))}function visitJsxSelfClosingElement(N){return j.updateJsxSelfClosingElement(N,E.visitNode(N.tagName,visitor,E.isJsxTagNameExpression),undefined,E.visitNode(N.attributes,visitor,E.isJsxAttributes))}function visitJsxJsxOpeningElement(N){return j.updateJsxOpeningElement(N,E.visitNode(N.tagName,visitor,E.isJsxTagNameExpression),undefined,E.visitNode(N.attributes,visitor,E.isJsxAttributes))}function shouldEmitEnumDeclaration(N){return!E.isEnumConst(N)||E.shouldPreserveConstEnums(le)}function visitEnumDeclaration(N){if(!shouldEmitEnumDeclaration(N)){return j.createNotEmittedStatement(N)}var R=[];var $=2;var q=addVarForEnumOrModuleDeclaration(R,N);if(q){if(Te!==E.ModuleKind.System||Be!==Ne){$|=512}}var G=getNamespaceParameterName(N);var ie=getNamespaceContainerName(N);var ae=E.hasSyntacticModifier(N,1)?j.getExternalModuleOrNamespaceExportName(Le,N,false,true):j.getLocalName(N,false,true);var ce=j.createLogicalOr(ae,j.createAssignment(ae,j.createObjectLiteralExpression()));if(hasNamespaceQualifiedExportName(N)){var le=j.getLocalName(N,false,true);ce=j.createAssignment(le,ce)}var _e=j.createExpressionStatement(j.createCallExpression(j.createFunctionExpression(undefined,undefined,undefined,undefined,[j.createParameterDeclaration(undefined,undefined,undefined,G)],undefined,transformEnumBody(N,ie)),undefined,[ce]));E.setOriginalNode(_e,N);if(q){E.setSyntheticLeadingComments(_e,undefined);E.setSyntheticTrailingComments(_e,undefined)}E.setTextRange(_e,N);E.addEmitFlags(_e,$);R.push(_e);R.push(j.createEndOfDeclarationMarker(N));return R}function transformEnumBody(N,R){var $=Le;Le=R;var G=[];q();var ae=E.map(N.members,transformEnumMember);E.insertStatementsAfterStandardPrologue(G,ie());E.addRange(G,ae);Le=$;return j.createBlock(E.setTextRange(j.createNodeArray(G),N.members),true)}function transformEnumMember(N){var R=getExpressionForPropertyName(N,false);var $=transformEnumMemberDeclarationValue(N);var q=j.createAssignment(j.createElementAccessExpression(Le,R),$);var G=$.kind===10?q:j.createAssignment(j.createElementAccessExpression(Le,q),R);return E.setTextRange(j.createExpressionStatement(E.setTextRange(G,N)),N)}function transformEnumMemberDeclarationValue(N){var R=ce.getConstantValue(N);if(R!==undefined){return typeof R==="string"?j.createStringLiteral(R):j.createNumericLiteral(R)}else{enableSubstitutionForNonQualifiedEnumMembers();if(N.initializer){return E.visitNode(N.initializer,visitor,E.isExpression)}else{return j.createVoidZero()}}}function shouldEmitModuleDeclaration(N){var R=E.getParseTreeNode(N,E.isModuleDeclaration);if(!R){return true}return E.isInstantiatedModule(R,E.shouldPreserveConstEnums(le))}function hasNamespaceQualifiedExportName(N){return isExportOfNamespace(N)||isExternalModuleExport(N)&&Te!==E.ModuleKind.ES2015&&Te!==E.ModuleKind.ES2020&&Te!==E.ModuleKind.ESNext&&Te!==E.ModuleKind.System}function recordEmittedDeclarationInScope(N){if(!Ue){Ue=new E.Map}var R=declaredNameInScope(N);if(!Ue.has(R)){Ue.set(R,N)}}function isFirstEmittedDeclarationInScope(E){if(Ue){var N=declaredNameInScope(E);return Ue.get(N)===E}return true}function declaredNameInScope(N){E.Debug.assertNode(N.name,E.isIdentifier);return N.name.escapedText}function addVarForEnumOrModuleDeclaration(N,R){var $=j.createVariableStatement(E.visitNodes(R.modifiers,modifierVisitor,E.isModifier),j.createVariableDeclarationList([j.createVariableDeclaration(j.getLocalName(R,false,true))],Be.kind===300?0:1));E.setOriginalNode($,R);recordEmittedDeclarationInScope(R);if(isFirstEmittedDeclarationInScope(R)){if(R.kind===258){E.setSourceMapRange($.declarationList,R)}else{E.setSourceMapRange($,R)}E.setCommentRange($,R);E.addEmitFlags($,1024|4194304);N.push($);return true}else{var q=j.createMergeDeclarationMarker($);E.setEmitFlags(q,1536|4194304);N.push(q);return false}}function visitModuleDeclaration(N){if(!shouldEmitModuleDeclaration(N)){return j.createNotEmittedStatement(N)}E.Debug.assertNode(N.name,E.isIdentifier,"A TypeScript namespace should have an Identifier name.");enableSubstitutionForNamespaceExports();var R=[];var $=2;var q=addVarForEnumOrModuleDeclaration(R,N);if(q){if(Te!==E.ModuleKind.System||Be!==Ne){$|=512}}var G=getNamespaceParameterName(N);var ie=getNamespaceContainerName(N);var ae=E.hasSyntacticModifier(N,1)?j.getExternalModuleOrNamespaceExportName(Le,N,false,true):j.getLocalName(N,false,true);var ce=j.createLogicalOr(ae,j.createAssignment(ae,j.createObjectLiteralExpression()));if(hasNamespaceQualifiedExportName(N)){var le=j.getLocalName(N,false,true);ce=j.createAssignment(le,ce)}var _e=j.createExpressionStatement(j.createCallExpression(j.createFunctionExpression(undefined,undefined,undefined,undefined,[j.createParameterDeclaration(undefined,undefined,undefined,G)],undefined,transformModuleBody(N,ie)),undefined,[ce]));E.setOriginalNode(_e,N);if(q){E.setSyntheticLeadingComments(_e,undefined);E.setSyntheticTrailingComments(_e,undefined)}E.setTextRange(_e,N);E.addEmitFlags(_e,$);R.push(_e);R.push(j.createEndOfDeclarationMarker(N));return R}function transformModuleBody(N,R){var $=Le;var G=Me;var ae=Ue;Le=R;Me=N;Ue=undefined;var ce=[];q();var le;var _e;if(N.body){if(N.body.kind===260){saveStateAndInvoke(N.body,(function(N){return E.addRange(ce,E.visitNodes(N.statements,namespaceElementVisitor,E.isStatement))}));le=N.body.statements;_e=N.body}else{var Ee=visitModuleDeclaration(N.body);if(Ee){if(E.isArray(Ee)){E.addRange(ce,Ee)}else{ce.push(Ee)}}var Te=getInnerMostModuleDeclarationFromDottedModule(N).body;le=E.moveRangePos(Te.statements,-1)}}E.insertStatementsAfterStandardPrologue(ce,ie());Le=$;Me=G;Ue=ae;var we=j.createBlock(E.setTextRange(j.createNodeArray(ce),le),true);E.setTextRange(we,_e);if(!N.body||N.body.kind!==260){E.setEmitFlags(we,E.getEmitFlags(we)|1536)}return we}function getInnerMostModuleDeclarationFromDottedModule(E){if(E.body.kind===259){var N=getInnerMostModuleDeclarationFromDottedModule(E.body);return N||E.body}}function visitImportDeclaration(N){if(!N.importClause){return N}if(N.importClause.isTypeOnly){return undefined}var R=E.visitNode(N.importClause,visitImportClause,E.isImportClause);return R||le.importsNotUsedAsValues===1||le.importsNotUsedAsValues===2?j.updateImportDeclaration(N,undefined,undefined,R,N.moduleSpecifier):undefined}function visitImportClause(N){if(N.isTypeOnly){return undefined}var R=ce.isReferencedAliasDeclaration(N)?N.name:undefined;var $=E.visitNode(N.namedBindings,visitNamedImportBindings,E.isNamedImportBindings);return R||$?j.updateImportClause(N,false,R,$):undefined}function visitNamedImportBindings(N){if(N.kind===266){return ce.isReferencedAliasDeclaration(N)?N:undefined}else{var R=E.visitNodes(N.elements,visitImportSpecifier,E.isImportSpecifier);return E.some(R)?j.updateNamedImports(N,R):undefined}}function visitImportSpecifier(E){return ce.isReferencedAliasDeclaration(E)?E:undefined}function visitExportAssignment(N){return ce.isValueAliasDeclaration(N)?E.visitEachChild(N,visitor,R):undefined}function visitExportDeclaration(N){if(N.isTypeOnly){return undefined}if(!N.exportClause||E.isNamespaceExport(N.exportClause)){return N}if(!ce.isValueAliasDeclaration(N)){return undefined}var R=E.visitNode(N.exportClause,visitNamedExportBindings,E.isNamedExportBindings);return R?j.updateExportDeclaration(N,undefined,undefined,N.isTypeOnly,R,N.moduleSpecifier):undefined}function visitNamedExports(N){var R=E.visitNodes(N.elements,visitExportSpecifier,E.isExportSpecifier);return E.some(R)?j.updateNamedExports(N,R):undefined}function visitNamespaceExports(N){return j.updateNamespaceExport(N,E.visitNode(N.name,visitor,E.isIdentifier))}function visitNamedExportBindings(N){return E.isNamespaceExport(N)?visitNamespaceExports(N):visitNamedExports(N)}function visitExportSpecifier(E){return ce.isValueAliasDeclaration(E)?E:undefined}function shouldEmitImportEqualsDeclaration(N){return ce.isReferencedAliasDeclaration(N)||!E.isExternalModule(Ne)&&ce.isTopLevelValueImportEqualsWithEntityName(N)}function visitImportEqualsDeclaration(N){if(N.isTypeOnly){return undefined}if(E.isExternalModuleImportEqualsDeclaration(N)){var $=ce.isReferencedAliasDeclaration(N);if(!$&&le.importsNotUsedAsValues===1){return E.setOriginalNode(E.setTextRange(j.createImportDeclaration(undefined,undefined,undefined,N.moduleReference.expression),N),N)}return $?E.visitEachChild(N,visitor,R):undefined}if(!shouldEmitImportEqualsDeclaration(N)){return undefined}var q=E.createExpressionFromEntityName(j,N.moduleReference);E.setEmitFlags(q,1536|2048);if(isNamedExternalModuleExport(N)||!isExportOfNamespace(N)){return E.setOriginalNode(E.setTextRange(j.createVariableStatement(E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),j.createVariableDeclarationList([E.setOriginalNode(j.createVariableDeclaration(N.name,undefined,undefined,q),N)])),N),N)}else{return E.setOriginalNode(createNamespaceExport(N.name,q,N),N)}}function isExportOfNamespace(N){return Me!==undefined&&E.hasSyntacticModifier(N,1)}function isExternalModuleExport(N){return Me===undefined&&E.hasSyntacticModifier(N,1)}function isNamedExternalModuleExport(N){return isExternalModuleExport(N)&&!E.hasSyntacticModifier(N,512)}function isDefaultExternalModuleExport(N){return isExternalModuleExport(N)&&E.hasSyntacticModifier(N,512)}function expressionToStatement(E){return j.createExpressionStatement(E)}function addExportMemberAssignment(N,R){var $=j.createAssignment(j.getExternalModuleOrNamespaceExportName(Le,R,false,true),j.getLocalName(R));E.setSourceMapRange($,E.createRange(R.name?R.name.pos:R.pos,R.end));var q=j.createExpressionStatement($);E.setSourceMapRange(q,E.createRange(-1,R.end));N.push(q)}function createNamespaceExport(N,R,$){return E.setTextRange(j.createExpressionStatement(j.createAssignment(j.getNamespaceMemberName(Le,N,false,true),R)),$)}function createNamespaceExportExpression(N,R,$){return E.setTextRange(j.createAssignment(getNamespaceMemberNameWithSourceMapsAndWithoutComments(N),R),$)}function getNamespaceMemberNameWithSourceMapsAndWithoutComments(E){return j.getNamespaceMemberName(Le,E,false,true)}function getNamespaceParameterName(N){var R=j.getGeneratedNameForNode(N);E.setSourceMapRange(R,N.name);return R}function getNamespaceContainerName(E){return j.getGeneratedNameForNode(E)}function getClassAliasIfNeeded(N){if(ce.getNodeCheckFlags(N)&16777216){enableSubstitutionForClassAliases();var R=j.createUniqueName(N.name&&!E.isGeneratedIdentifier(N.name)?E.idText(N.name):"default");Je[E.getOriginalNodeId(N)]=R;ae(R);return R}}function getClassPrototype(E){return j.createPropertyAccessExpression(j.getDeclarationName(E),"prototype")}function getClassMemberPrefix(N,R){return E.isStatic(R)?j.getDeclarationName(N):getClassPrototype(N)}function enableSubstitutionForNonQualifiedEnumMembers(){if((We&8)===0){We|=8;R.enableSubstitution(79)}}function enableSubstitutionForClassAliases(){if((We&1)===0){We|=1;R.enableSubstitution(79);Je=[]}}function enableSubstitutionForNamespaceExports(){if((We&2)===0){We|=2;R.enableSubstitution(79);R.enableSubstitution(292);R.enableEmitNotification(259)}}function isTransformedModuleDeclaration(N){return E.getOriginalNode(N).kind===259}function isTransformedEnumDeclaration(N){return E.getOriginalNode(N).kind===258}function onEmitNode(N,R,j){var $=Ve;var q=Ne;if(E.isSourceFile(R)){Ne=R}if(We&2&&isTransformedModuleDeclaration(R)){Ve|=2}if(We&8&&isTransformedEnumDeclaration(R)){Ve|=8}we(N,R,j);Ve=$;Ne=q}function onSubstituteNode(N,R){R=Ie(N,R);if(N===1){return substituteExpression(R)}else if(E.isShorthandPropertyAssignment(R)){return substituteShorthandPropertyAssignment(R)}return R}function substituteShorthandPropertyAssignment(N){if(We&2){var R=N.name;var $=trySubstituteNamespaceExportedName(R);if($){if(N.objectAssignmentInitializer){var q=j.createAssignment($,N.objectAssignmentInitializer);return E.setTextRange(j.createPropertyAssignment(R,q),N)}return E.setTextRange(j.createPropertyAssignment(R,$),N)}}return N}function substituteExpression(E){switch(E.kind){case 79:return substituteExpressionIdentifier(E);case 204:return substitutePropertyAccessExpression(E);case 205:return substituteElementAccessExpression(E)}return E}function substituteExpressionIdentifier(E){return trySubstituteClassAlias(E)||trySubstituteNamespaceExportedName(E)||E}function trySubstituteClassAlias(N){if(We&1){if(ce.getNodeCheckFlags(N)&33554432){var R=ce.getReferencedValueDeclaration(N);if(R){var $=Je[R.id];if($){var q=j.cloneNode($);E.setSourceMapRange(q,N);E.setCommentRange(q,N);return q}}}}return undefined}function trySubstituteNamespaceExportedName(N){if(We&Ve&&!E.isGeneratedIdentifier(N)&&!E.isLocalName(N)){var R=ce.getReferencedExportContainer(N,false);if(R&&R.kind!==300){var $=Ve&2&&R.kind===259||Ve&8&&R.kind===258;if($){return E.setTextRange(j.createPropertyAccessExpression(j.getGeneratedNameForNode(R),N),N)}}}return undefined}function substitutePropertyAccessExpression(E){return substituteConstantValue(E)}function substituteElementAccessExpression(E){return substituteConstantValue(E)}function substituteConstantValue(N){var R=tryGetConstEnumValue(N);if(R!==undefined){E.setConstantValue(N,R);var $=typeof R==="string"?j.createStringLiteral(R):j.createNumericLiteral(R);if(!le.removeComments){var q=E.getOriginalNode(N,E.isAccessExpression);var G=E.isPropertyAccessExpression(q)?E.declarationNameToString(q.name):E.getTextOfNode(q.argumentExpression);E.addSyntheticTrailingComment($,3," "+G+" ")}return $}return N}function tryGetConstEnumValue(N){if(le.isolatedModules){return undefined}return E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)?ce.getConstantValue(N):undefined}}E.transformTypeScript=transformTypeScript})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["ClassAliases"]=1]="ClassAliases";E[E["ClassStaticThisOrSuperReference"]=2]="ClassStaticThisOrSuperReference"})(N||(N={}));var R;(function(E){E["Field"]="f";E["Method"]="m";E["Accessor"]="a"})(R=E.PrivateIdentifierKind||(E.PrivateIdentifierKind={}));var $;(function(E){E[E["None"]=0]="None";E[E["ClassWasDecorated"]=1]="ClassWasDecorated";E[E["NeedsClassConstructorReference"]=2]="NeedsClassConstructorReference";E[E["NeedsClassSuperReference"]=4]="NeedsClassSuperReference";E[E["NeedsSubstitutionForThisInClassStaticField"]=8]="NeedsSubstitutionForThisInClassStaticField"})($||($={}));function transformClassFields(N){var R=N.factory,$=N.hoistVariableDeclaration,q=N.endLexicalEnvironment,G=N.startLexicalEnvironment,ie=N.resumeLexicalEnvironment,ae=N.addBlockScopedVariable;var ce=N.getEmitResolver();var le=N.getCompilerOptions();var _e=E.getEmitScriptTarget(le);var Ee=E.getUseDefineForClassFields(le);var Te=_e<99;var we=(_e<=8||!Ee)&&_e>=2;var Ie=_e<=8||!Ee;var Ne=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Me=N.onEmitNode;N.onEmitNode=onEmitNode;var Le;var Be;var je;var Ue;var ze=[];var We=new E.Map;var Je;var Ve;var qe;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){var j=N.getCompilerOptions();if(R.isDeclarationFile||Ee&&j.target===99){return R}var $=E.visitEachChild(R,visitor,N);E.addEmitHelpers($,N.readEmitHelpers());return $}function visitorWorker(R,j){if(R.transformFlags&8388608){switch(R.kind){case 224:case 255:return visitClassLike(R);case 165:return visitPropertyDeclaration(R);case 235:return visitVariableStatement(R);case 80:return visitPrivateIdentifier(R);case 168:return visitClassStaticBlockDeclaration(R)}}if(R.transformFlags&8388608||R.transformFlags&33554432&&we&&qe&&Je){switch(R.kind){case 217:case 218:return visitPreOrPostfixUnaryExpression(R,j);case 219:return visitBinaryExpression(R,j);case 206:return visitCallExpression(R);case 208:return visitTaggedTemplateExpression(R);case 204:return visitPropertyAccessExpression(R);case 205:return visitElementAccessExpression(R);case 236:return visitExpressionStatement(R);case 240:return visitForStatement(R);case 254:case 211:case 169:case 167:case 170:case 171:{var $=qe;qe=undefined;var q=E.visitEachChild(R,visitor,N);qe=$;return q}}}return E.visitEachChild(R,visitor,N)}function discardedValueVisitor(E){return visitorWorker(E,true)}function visitor(E){return visitorWorker(E,false)}function heritageClauseVisitor(R){switch(R.kind){case 289:return E.visitEachChild(R,heritageClauseVisitor,N);case 226:return visitExpressionWithTypeArguments(R)}return visitor(R)}function visitorDestructuringTarget(E){switch(E.kind){case 203:case 202:return visitAssignmentPattern(E);default:return visitor(E)}}function visitPrivateIdentifier(N){if(!Te){return N}return E.setOriginalNode(R.createIdentifier(""),N)}function classElementVisitor(E){switch(E.kind){case 169:return undefined;case 170:case 171:case 167:return visitMethodOrAccessorDeclaration(E);case 165:return visitPropertyDeclaration(E);case 160:return visitComputedPropertyName(E);case 232:return E;default:return visitor(E)}}function visitVariableStatement(R){var $=Ue;Ue=[];var q=E.visitEachChild(R,visitor,N);var G=E.some(Ue)?j([q],Ue,true):q;Ue=$;return G}function visitComputedPropertyName(j){var $=E.visitEachChild(j,visitor,N);if(E.some(je)){var q=je;q.push($.expression);je=[];$=R.updateComputedPropertyName($,R.inlineExpressions(q))}return $}function visitMethodOrAccessorDeclaration(j){E.Debug.assert(!E.some(j.decorators));if(!Te||!E.isPrivateIdentifier(j.name)){return E.visitEachChild(j,classElementVisitor,N)}var $=accessPrivateIdentifier(j.name);E.Debug.assert($,"Undeclared private name for property declaration.");if(!$.isValid){return j}var q=getHoistedFunctionName(j);if(q){getPendingExpressions().push(R.createAssignment(q,R.createFunctionExpression(E.filter(j.modifiers,(function(N){return!E.isStaticModifier(N)})),j.asteriskToken,q,undefined,E.visitParameterList(j.parameters,classElementVisitor,N),undefined,E.visitFunctionBody(j.body,classElementVisitor,N))))}return undefined}function getHoistedFunctionName(N){E.Debug.assert(E.isPrivateIdentifier(N.name));var R=accessPrivateIdentifier(N.name);E.Debug.assert(R,"Undeclared private name for property declaration.");if(R.kind==="m"){return R.methodName}if(R.kind==="a"){if(E.isGetAccessor(N)){return R.getterName}if(E.isSetAccessor(N)){return R.setterName}}}function visitPropertyDeclaration(N){E.Debug.assert(!E.some(N.decorators));if(E.isPrivateIdentifier(N.name)){if(!Te){return R.updatePropertyDeclaration(N,undefined,E.visitNodes(N.modifiers,visitor,E.isModifier),N.name,undefined,undefined,undefined)}var j=accessPrivateIdentifier(N.name);E.Debug.assert(j,"Undeclared private name for property declaration.");if(!j.isValid){return N}}var $=getPropertyNameExpressionIfNeeded(N.name,!!N.initializer||Ee);if($&&!E.isSimpleInlineableExpression($)){getPendingExpressions().push($)}return undefined}function createPrivateIdentifierAccess(N,R){return createPrivateIdentifierAccessHelper(N,E.visitNode(R,visitor,E.isExpression))}function createPrivateIdentifierAccessHelper(R,j){E.setCommentRange(j,E.moveRangePos(j,-1));switch(R.kind){case"a":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.getterName);case"m":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.methodName);case"f":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.variableName);default:E.Debug.assertNever(R,"Unknown private element type")}}function visitPropertyAccessExpression(j){if(Te&&E.isPrivateIdentifier(j.name)){var $=accessPrivateIdentifier(j.name);if($){return E.setTextRange(E.setOriginalNode(createPrivateIdentifierAccess($,j.expression),j),j)}}if(we&&E.isSuperProperty(j)&&E.isIdentifier(j.name)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){return visitInvalidSuperProperty(j)}if(q&&G){var ae=R.createReflectGetCall(G,R.createStringLiteralFromNode(j.name),q);E.setOriginalNode(ae,j.expression);E.setTextRange(ae,j.expression);return ae}}return E.visitEachChild(j,visitor,N)}function visitElementAccessExpression(j){if(we&&E.isSuperProperty(j)&&qe&&Je){var $=Je.classConstructor,q=Je.superClassReference,G=Je.facts;if(G&1){return visitInvalidSuperProperty(j)}if($&&q){var ie=R.createReflectGetCall(q,E.visitNode(j.argumentExpression,visitor,E.isExpression),$);E.setOriginalNode(ie,j.expression);E.setTextRange(ie,j.expression);return ie}}return E.visitEachChild(j,visitor,N)}function visitPreOrPostfixUnaryExpression(j,q){if(j.operator===45||j.operator===46){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(j.operand)){var G=void 0;if(G=accessPrivateIdentifier(j.operand.name)){var ie=E.visitNode(j.operand.expression,visitor,E.isExpression);var ae=createCopiableReceiverExpr(ie),ce=ae.readExpression,le=ae.initializeExpression;var _e=createPrivateIdentifierAccess(G,ce);var Ee=E.isPrefixUnaryExpression(j)||q?undefined:R.createTempVariable($);_e=E.expandPreOrPostfixIncrementOrDecrementExpression(R,j,_e,$,Ee);_e=createPrivateIdentifierAssignment(G,le||ce,_e,63);E.setOriginalNode(_e,j);E.setTextRange(_e,j);if(Ee){_e=R.createComma(_e,Ee);E.setTextRange(_e,j)}return _e}}else if(we&&E.isSuperProperty(j.operand)&&qe&&Je){var Ie=Je.classConstructor,Ne=Je.superClassReference,Me=Je.facts;if(Me&1){var Le=visitInvalidSuperProperty(j.operand);return E.isPrefixUnaryExpression(j)?R.updatePrefixUnaryExpression(j,Le):R.updatePostfixUnaryExpression(j,Le)}if(Ie&&Ne){var Be=void 0;var je=void 0;if(E.isPropertyAccessExpression(j.operand)){if(E.isIdentifier(j.operand.name)){je=Be=R.createStringLiteralFromNode(j.operand.name)}}else{if(E.isSimpleInlineableExpression(j.operand.argumentExpression)){je=Be=j.operand.argumentExpression}else{je=R.createTempVariable($);Be=R.createAssignment(je,E.visitNode(j.operand.argumentExpression,visitor,E.isExpression))}}if(Be&&je){var _e=R.createReflectGetCall(Ne,je,Ie);E.setTextRange(_e,j.operand);var Ee=q?undefined:R.createTempVariable($);_e=E.expandPreOrPostfixIncrementOrDecrementExpression(R,j,_e,$,Ee);_e=R.createReflectSetCall(Ne,Be,_e,Ie);E.setOriginalNode(_e,j);E.setTextRange(_e,j);if(Ee){_e=R.createComma(_e,Ee);E.setTextRange(_e,j)}return _e}}}}return E.visitEachChild(j,visitor,N)}function visitForStatement(j){return R.updateForStatement(j,E.visitNode(j.initializer,discardedValueVisitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}function visitExpressionStatement(N){return R.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function createCopiableReceiverExpr(N){var j=E.nodeIsSynthesized(N)?N:R.cloneNode(N);if(E.isSimpleInlineableExpression(N)){return{readExpression:j,initializeExpression:undefined}}var q=R.createTempVariable($);var G=R.createAssignment(q,j);return{readExpression:q,initializeExpression:G}}function visitCallExpression(q){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(q.expression)){var G=R.createCallBinding(q.expression,$,_e),ie=G.thisArg,ae=G.target;if(E.isCallChain(q)){return R.updateCallChain(q,R.createPropertyAccessChain(E.visitNode(ae,visitor),q.questionDotToken,"call"),undefined,undefined,j([E.visitNode(ie,visitor,E.isExpression)],E.visitNodes(q.arguments,visitor,E.isExpression),true))}return R.updateCallExpression(q,R.createPropertyAccessExpression(E.visitNode(ae,visitor),"call"),undefined,j([E.visitNode(ie,visitor,E.isExpression)],E.visitNodes(q.arguments,visitor,E.isExpression),true))}if(we&&E.isSuperProperty(q.expression)&&qe&&(Je===null||Je===void 0?void 0:Je.classConstructor)){var ce=R.createFunctionCallCall(E.visitNode(q.expression,visitor,E.isExpression),Je.classConstructor,E.visitNodes(q.arguments,visitor,E.isExpression));E.setOriginalNode(ce,q);E.setTextRange(ce,q);return ce}return E.visitEachChild(q,visitor,N)}function visitTaggedTemplateExpression(j){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(j.tag)){var q=R.createCallBinding(j.tag,$,_e),G=q.thisArg,ie=q.target;return R.updateTaggedTemplateExpression(j,R.createCallExpression(R.createPropertyAccessExpression(E.visitNode(ie,visitor),"bind"),undefined,[E.visitNode(G,visitor,E.isExpression)]),undefined,E.visitNode(j.template,visitor,E.isTemplateLiteral))}if(we&&E.isSuperProperty(j.tag)&&qe&&(Je===null||Je===void 0?void 0:Je.classConstructor)){var ae=R.createFunctionBindCall(E.visitNode(j.tag,visitor,E.isExpression),Je.classConstructor,[]);E.setOriginalNode(ae,j);E.setTextRange(ae,j);return R.updateTaggedTemplateExpression(j,ae,undefined,E.visitNode(j.template,visitor,E.isTemplateLiteral))}return E.visitEachChild(j,visitor,N)}function transformClassStaticBlockDeclaration(N){if(Te){if(Je){We.set(E.getOriginalNodeId(N),Je)}G();var j=qe;qe=N;var $=E.visitNodes(N.body.statements,visitor,E.isStatement);$=R.mergeLexicalEnvironment($,q());qe=j;var ie=R.createImmediatelyInvokedArrowFunction($);E.setOriginalNode(ie,N);E.setTextRange(ie,N);E.addEmitFlags(ie,2);return ie}}function visitBinaryExpression(q,G){if(E.isDestructuringAssignment(q)){var ie=je;je=undefined;q=R.updateBinaryExpression(q,E.visitNode(q.left,visitorDestructuringTarget),q.operatorToken,E.visitNode(q.right,visitor));var ae=E.some(je)?R.inlineExpressions(E.compact(j(j([],je,true),[q],false))):q;je=ie;return ae}if(E.isAssignmentExpression(q)){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(q.left)){var ce=accessPrivateIdentifier(q.left.name);if(ce){return E.setTextRange(E.setOriginalNode(createPrivateIdentifierAssignment(ce,q.left.expression,q.right,q.operatorToken.kind),q),q)}}else if(we&&E.isSuperProperty(q.left)&&qe&&Je){var le=Je.classConstructor,_e=Je.superClassReference,Ee=Je.facts;if(Ee&1){return R.updateBinaryExpression(q,visitInvalidSuperProperty(q.left),q.operatorToken,E.visitNode(q.right,visitor,E.isExpression))}if(le&&_e){var Ie=E.isElementAccessExpression(q.left)?E.visitNode(q.left.argumentExpression,visitor,E.isExpression):E.isIdentifier(q.left.name)?R.createStringLiteralFromNode(q.left.name):undefined;if(Ie){var Ne=E.visitNode(q.right,visitor,E.isExpression);if(E.isCompoundAssignment(q.operatorToken.kind)){var Me=Ie;if(!E.isSimpleInlineableExpression(Ie)){Me=R.createTempVariable($);Ie=R.createAssignment(Me,Ie)}var Le=R.createReflectGetCall(_e,Me,le);E.setOriginalNode(Le,q.left);E.setTextRange(Le,q.left);Ne=R.createBinaryExpression(Le,E.getNonAssignmentOperatorForCompoundAssignment(q.operatorToken.kind),Ne);E.setTextRange(Ne,q)}var Be=G?undefined:R.createTempVariable($);if(Be){Ne=R.createAssignment(Be,Ne);E.setTextRange(Be,q)}Ne=R.createReflectSetCall(_e,Ie,Ne,le);E.setOriginalNode(Ne,q);E.setTextRange(Ne,q);if(Be){Ne=R.createComma(Ne,Be);E.setTextRange(Ne,q)}return Ne}}}}return E.visitEachChild(q,visitor,N)}function createPrivateIdentifierAssignment(j,$,q,G){$=E.visitNode($,visitor,E.isExpression);q=E.visitNode(q,visitor,E.isExpression);if(E.isCompoundAssignment(G)){var ie=createCopiableReceiverExpr($),ae=ie.readExpression,ce=ie.initializeExpression;$=ce||ae;q=R.createBinaryExpression(createPrivateIdentifierAccessHelper(j,ae),E.getNonAssignmentOperatorForCompoundAssignment(G),q)}E.setCommentRange($,E.moveRangePos($,-1));switch(j.kind){case"a":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,j.setterName);case"m":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,undefined);case"f":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,j.variableName);default:E.Debug.assertNever(j,"Unknown private element type")}}function visitClassLike(R){if(!E.forEach(R.members,doesClassElementNeedTransform)){return E.visitEachChild(R,visitor,N)}var j=je;je=undefined;startClassLexicalEnvironment();if(Te){var $=E.getNameOfDeclaration(R);if($&&E.isIdentifier($)){getPrivateIdentifierEnvironment().className=E.idText($)}var q=getPrivateInstanceMethodsAndAccessors(R);if(E.some(q)){getPrivateIdentifierEnvironment().weakSetName=createHoistedVariableForClass("instances",q[0].name)}}var G=E.isClassDeclaration(R)?visitClassDeclaration(R):visitClassExpression(R);endClassLexicalEnvironment();je=j;return G}function doesClassElementNeedTransform(N){return E.isPropertyDeclaration(N)||E.isClassStaticBlockDeclaration(N)||Te&&N.name&&E.isPrivateIdentifier(N.name)}function getPrivateInstanceMethodsAndAccessors(N){return E.filter(N.members,E.isNonStaticMethodOrAccessorWithPrivateName)}function getClassFacts(N){var R=0;var j=E.getOriginalNode(N);if(E.isClassDeclaration(j)&&E.classOrConstructorParameterIsDecorated(j)){R|=1}for(var $=0,q=N.members;$<q.length;$++){var G=q[$];if(!E.isStatic(G))continue;if(G.name&&E.isPrivateIdentifier(G.name)&&Te){R|=2}if(E.isPropertyDeclaration(G)||E.isClassStaticBlockDeclaration(G)){if(Ie&&G.transformFlags&8192){R|=8;if(!(R&1)){R|=2}}if(we&&G.transformFlags&33554432){if(!(R&1)){R|=2|4}}}}return R}function visitExpressionWithTypeArguments(j){var q=(Je===null||Je===void 0?void 0:Je.facts)||0;if(q&4){var G=R.createTempVariable($,true);getClassLexicalEnvironment().superClassReference=G;return R.updateExpressionWithTypeArguments(j,R.createAssignment(G,E.visitNode(j.expression,visitor,E.isExpression)),undefined)}return E.visitEachChild(j,visitor,N)}function visitClassDeclaration(N){var j=getClassFacts(N);if(j){getClassLexicalEnvironment().facts=j}if(j&8){enableSubstitutionForClassStaticThisOrSuperReference()}var q=E.getStaticPropertiesAndClassStaticBlock(N);var G;if(j&2){var ie=R.createTempVariable($,true);getClassLexicalEnvironment().classConstructor=R.cloneNode(ie);G=R.createAssignment(ie,R.getInternalName(N))}var ae=E.getEffectiveBaseTypeNode(N);var ce=!!(ae&&E.skipOuterExpressions(ae.expression).kind!==104);var le=[R.updateClassDeclaration(N,undefined,N.modifiers,N.name,undefined,E.visitNodes(N.heritageClauses,heritageClauseVisitor,E.isHeritageClause),transformClassMembers(N,ce))];if(G){getPendingExpressions().unshift(G)}if(E.some(je)){le.push(R.createExpressionStatement(R.inlineExpressions(je)))}if(E.some(q)){addPropertyOrClassStaticBlockStatements(le,q,R.getInternalName(N))}return le}function visitClassExpression(N){var j=getClassFacts(N);if(j){getClassLexicalEnvironment().facts=j}if(j&8){enableSubstitutionForClassStaticThisOrSuperReference()}var q=!!(j&1);var G=E.getStaticPropertiesAndClassStaticBlock(N);var ie=E.getEffectiveBaseTypeNode(N);var le=!!(ie&&E.skipOuterExpressions(ie.expression).kind!==104);var _e=ce.getNodeCheckFlags(N)&16777216;var Ee;function createClassTempVar(){var E=ce.getNodeCheckFlags(N);var j=E&16777216;var q=E&524288;return R.createTempVariable(q?ae:$,!!j)}if(j&2){Ee=createClassTempVar();getClassLexicalEnvironment().classConstructor=R.cloneNode(Ee)}var we=R.updateClassExpression(N,E.visitNodes(N.decorators,visitor,E.isDecorator),N.modifiers,N.name,undefined,E.visitNodes(N.heritageClauses,heritageClauseVisitor,E.isHeritageClause),transformClassMembers(N,le));var Ie=E.some(G,(function(N){return E.isClassStaticBlockDeclaration(N)||!!N.initializer||Te&&E.isPrivateIdentifier(N.name)}));if(Ie||E.some(je)){if(q){E.Debug.assertIsDefined(Ue,"Decorated classes transformed by TypeScript are expected to be within a variable declaration.");if(Ue&&je&&E.some(je)){Ue.push(R.createExpressionStatement(R.inlineExpressions(je)))}if(Ue&&E.some(G)){addPropertyOrClassStaticBlockStatements(Ue,G,R.getInternalName(N))}if(Ee){return R.inlineExpressions([R.createAssignment(Ee,we),Ee])}return we}else{var Ne=[];Ee||(Ee=createClassTempVar());if(_e){enableSubstitutionForClassAliases();var Me=R.cloneNode(Ee);Me.autoGenerateFlags&=~8;Be[E.getOriginalNodeId(N)]=Me}E.setEmitFlags(we,65536|E.getEmitFlags(we));Ne.push(E.startOnNewLine(R.createAssignment(Ee,we)));E.addRange(Ne,E.map(je,E.startOnNewLine));E.addRange(Ne,generateInitializedPropertyExpressionsOrClassStaticBlock(G,Ee));Ne.push(E.startOnNewLine(Ee));return R.inlineExpressions(Ne)}}return we}function visitClassStaticBlockDeclaration(R){if(!Te){return E.visitEachChild(R,classElementVisitor,N)}return undefined}function transformClassMembers(N,j){if(Te){for(var $=0,q=N.members;$<q.length;$++){var G=q[$];if(E.isPrivateIdentifierClassElementDeclaration(G)){addPrivateIdentifierToEnvironment(G)}}if(E.some(getPrivateInstanceMethodsAndAccessors(N))){createBrandCheckWeakSetForPrivateMethods()}}var ie=[];var ae=transformConstructor(N,j);if(ae){ie.push(ae)}E.addRange(ie,E.visitNodes(N.members,classElementVisitor,E.isClassElement));return E.setTextRange(R.createNodeArray(ie),N.members)}function createBrandCheckWeakSetForPrivateMethods(){var N=getPrivateIdentifierEnvironment().weakSetName;E.Debug.assert(N,"weakSetName should be set in private identifier environment");getPendingExpressions().push(R.createAssignment(N,R.createNewExpression(R.createIdentifier("WeakSet"),undefined,[])))}function isClassElementThatRequiresConstructorStatement(N){if(E.isStatic(N)||E.hasSyntacticModifier(E.getOriginalNode(N),128)){return false}if(Ee){return _e<99}return E.isInitializedProperty(N)||Te&&E.isPrivateIdentifierClassElementDeclaration(N)}function transformConstructor(j,$){var q=E.visitNode(E.getFirstConstructorWithBody(j),visitor,E.isConstructorDeclaration);var G=j.members.filter(isClassElementThatRequiresConstructorStatement);if(!E.some(G)){return q}var ie=E.visitParameterList(q?q.parameters:undefined,visitor,N);var ae=transformConstructorBody(j,q,$);if(!ae){return undefined}return E.startOnNewLine(E.setOriginalNode(E.setTextRange(R.createConstructorDeclaration(undefined,undefined,ie!==null&&ie!==void 0?ie:[],ae),q||j),q))}function transformConstructorBody(j,$,G){var ae=E.getProperties(j,false,false);if(!Ee){ae=E.filter(ae,(function(N){return!!N.initializer||E.isPrivateIdentifier(N.name)}))}var ce=getPrivateInstanceMethodsAndAccessors(j);var le=E.some(ae)||E.some(ce);if(!$&&!le){return E.visitFunctionBody(undefined,visitor,N)}ie();var _e=0;var Te=[];if(!$&&G){Te.push(R.createExpressionStatement(R.createCallExpression(R.createSuper(),undefined,[R.createSpreadElement(R.createIdentifier("arguments"))])))}if($){_e=E.addPrologueDirectivesAndInitialSuperCall(R,$,Te,visitor)}if($===null||$===void 0?void 0:$.body){var we=E.findIndex($.body.statements,(function(N){return!E.isParameterPropertyDeclaration(E.getOriginalNode(N),$)}),_e);if(we===-1){we=$.body.statements.length}if(we>_e){if(!Ee){E.addRange(Te,E.visitNodes($.body.statements,visitor,E.isStatement,_e,we-_e))}_e=we}}var Ie=R.createThis();addMethodStatements(Te,ce,Ie);addPropertyOrClassStaticBlockStatements(Te,ae,Ie);if($){E.addRange(Te,E.visitNodes($.body.statements,visitor,E.isStatement,_e))}Te=R.mergeLexicalEnvironment(Te,q());return E.setTextRange(R.createBlock(E.setTextRange(R.createNodeArray(Te),$?$.body.statements:j.members),true),$?$.body:undefined)}function addPropertyOrClassStaticBlockStatements(N,j,$){for(var q=0,G=j;q<G.length;q++){var ie=G[q];var ae=E.isClassStaticBlockDeclaration(ie)?transformClassStaticBlockDeclaration(ie):transformProperty(ie,$);if(!ae){continue}var ce=R.createExpressionStatement(ae);E.setSourceMapRange(ce,E.moveRangePastModifiers(ie));E.setCommentRange(ce,ie);E.setOriginalNode(ce,ie);N.push(ce)}}function generateInitializedPropertyExpressionsOrClassStaticBlock(N,R){var j=[];for(var $=0,q=N;$<q.length;$++){var G=q[$];var ie=E.isClassStaticBlockDeclaration(G)?transformClassStaticBlockDeclaration(G):transformProperty(G,R);if(!ie){continue}E.startOnNewLine(ie);E.setSourceMapRange(ie,E.moveRangePastModifiers(G));E.setCommentRange(ie,G);E.setOriginalNode(ie,G);j.push(ie)}return j}function transformProperty(N,R){var j=qe;var $=transformPropertyWorker(N,R);if($&&E.hasStaticModifier(N)&&(Je===null||Je===void 0?void 0:Je.facts)){E.setOriginalNode($,N);E.addEmitFlags($,2);We.set(E.getOriginalNodeId($),Je)}qe=j;return $}function transformPropertyWorker(N,j){var $;var q=!Ee;var G=E.isComputedPropertyName(N.name)&&!E.isSimpleInlineableExpression(N.name.expression)?R.updateComputedPropertyName(N.name,R.getGeneratedNameForNode(N.name)):N.name;if(E.hasStaticModifier(N)){qe=N}if(Te&&E.isPrivateIdentifier(G)){var ie=accessPrivateIdentifier(G);if(ie){if(ie.kind==="f"){if(!ie.isStatic){return createPrivateInstanceFieldInitializer(j,E.visitNode(N.initializer,visitor,E.isExpression),ie.brandCheckIdentifier)}else{return createPrivateStaticFieldInitializer(ie.variableName,E.visitNode(N.initializer,visitor,E.isExpression))}}else{return undefined}}else{E.Debug.fail("Undeclared private name for property declaration.")}}if((E.isPrivateIdentifier(G)||E.hasStaticModifier(N))&&!N.initializer){return undefined}var ae=E.getOriginalNode(N);if(E.hasSyntacticModifier(ae,128)){return undefined}var ce=N.initializer||q?($=E.visitNode(N.initializer,visitor,E.isExpression))!==null&&$!==void 0?$:R.createVoidZero():E.isParameterPropertyDeclaration(ae,ae.parent)&&E.isIdentifier(G)?G:R.createVoidZero();if(q||E.isPrivateIdentifier(G)){var le=E.createMemberAccessForPropertyName(R,j,G,G);return R.createAssignment(le,ce)}else{var _e=E.isComputedPropertyName(G)?G.expression:E.isIdentifier(G)?R.createStringLiteral(E.unescapeLeadingUnderscores(G.escapedText)):G;var we=R.createPropertyDescriptor({value:ce,configurable:true,writable:true,enumerable:true});return R.createObjectDefinePropertyCall(j,_e,we)}}function enableSubstitutionForClassAliases(){if((Le&1)===0){Le|=1;N.enableSubstitution(79);Be=[]}}function enableSubstitutionForClassStaticThisOrSuperReference(){if((Le&2)===0){Le|=2;N.enableSubstitution(108);N.enableEmitNotification(254);N.enableEmitNotification(211);N.enableEmitNotification(169);N.enableEmitNotification(170);N.enableEmitNotification(171);N.enableEmitNotification(167);N.enableEmitNotification(165);N.enableEmitNotification(160)}}function addMethodStatements(N,j,$){if(!Te||!E.some(j)){return}var q=getPrivateIdentifierEnvironment().weakSetName;E.Debug.assert(q,"weakSetName should be set in private identifier environment");N.push(R.createExpressionStatement(createPrivateInstanceMethodInitializer($,q)))}function visitInvalidSuperProperty(N){return E.isPropertyAccessExpression(N)?R.updatePropertyAccessExpression(N,R.createVoidZero(),N.name):R.updateElementAccessExpression(N,R.createVoidZero(),E.visitNode(N.argumentExpression,visitor,E.isExpression))}function onEmitNode(N,R,j){var $=E.getOriginalNode(R);if($.id){var q=We.get($.id);if(q){var G=Je;var ie=Ve;Je=q;Ve=q;Me(N,R,j);Je=G;Ve=ie;return}}switch(R.kind){case 211:if(E.isArrowFunction($)||E.getEmitFlags(R)&262144){break}case 254:case 169:{var G=Je;var ie=Ve;Je=undefined;Ve=undefined;Me(N,R,j);Je=G;Ve=ie;return}case 170:case 171:case 167:case 165:{var G=Je;var ie=Ve;Ve=Je;Je=undefined;Me(N,R,j);Je=G;Ve=ie;return}case 160:{var G=Je;var ie=Ve;Je=Ve;Ve=undefined;Me(N,R,j);Je=G;Ve=ie;return}}Me(N,R,j)}function onSubstituteNode(E,N){N=Ne(E,N);if(E===1){return substituteExpression(N)}return N}function substituteExpression(E){switch(E.kind){case 79:return substituteExpressionIdentifier(E);case 108:return substituteThisExpression(E)}return E}function substituteThisExpression(N){if(Le&2&&Je){var j=Je.facts,$=Je.classConstructor;if(j&1){return R.createParenthesizedExpression(R.createVoidZero())}if($){return E.setTextRange(E.setOriginalNode(R.cloneNode($),N),N)}}return N}function substituteExpressionIdentifier(E){return trySubstituteClassAlias(E)||E}function trySubstituteClassAlias(N){if(Le&1){if(ce.getNodeCheckFlags(N)&33554432){var j=ce.getReferencedValueDeclaration(N);if(j){var $=Be[j.id];if($){var q=R.cloneNode($);E.setSourceMapRange(q,N);E.setCommentRange(q,N);return q}}}}return undefined}function getPropertyNameExpressionIfNeeded(N,j){if(E.isComputedPropertyName(N)){var q=E.visitNode(N.expression,visitor,E.isExpression);var G=E.skipPartiallyEmittedExpressions(q);var ie=E.isSimpleInlineableExpression(G);var le=E.isAssignmentExpression(G)&&E.isGeneratedIdentifier(G.left);if(!le&&!ie&&j){var _e=R.getGeneratedNameForNode(N);if(ce.getNodeCheckFlags(N)&524288){ae(_e)}else{$(_e)}return R.createAssignment(_e,q)}return ie||E.isIdentifier(G)?undefined:q}}function startClassLexicalEnvironment(){ze.push(Je);Je=undefined}function endClassLexicalEnvironment(){Je=ze.pop()}function getClassLexicalEnvironment(){return Je||(Je={facts:0,classConstructor:undefined,superClassReference:undefined,privateIdentifierEnvironment:undefined})}function getPrivateIdentifierEnvironment(){var N=getClassLexicalEnvironment();N.privateIdentifierEnvironment||(N.privateIdentifierEnvironment={className:"",identifiers:new E.Map});return N.privateIdentifierEnvironment}function getPendingExpressions(){return je||(je=[])}function addPrivateIdentifierToEnvironment(N){var j;var $=E.getTextOfPropertyName(N.name);var q=getClassLexicalEnvironment();var G=q.classConstructor;var ie=getPrivateIdentifierEnvironment();var ae=ie.weakSetName;var ce=[];var le=N.name.escapedText;var _e=ie.identifiers.get(le);var Ee=!isReservedPrivateName(N.name)&&_e===undefined;if(E.hasStaticModifier(N)){E.Debug.assert(G,"weakSetName should be set in private identifier environment");if(E.isPropertyDeclaration(N)){var Te=createHoistedVariableForPrivateName($,N);ie.identifiers.set(le,{kind:"f",variableName:Te,brandCheckIdentifier:G,isStatic:true,isValid:Ee})}else if(E.isMethodDeclaration(N)){var we=createHoistedVariableForPrivateName($,N);ie.identifiers.set(le,{kind:"m",methodName:we,brandCheckIdentifier:G,isStatic:true,isValid:Ee})}else if(E.isGetAccessorDeclaration(N)){var Ie=createHoistedVariableForPrivateName($+"_get",N);if((_e===null||_e===void 0?void 0:_e.kind)==="a"&&_e.isStatic&&!_e.getterName){_e.getterName=Ie}else{ie.identifiers.set(le,{kind:"a",getterName:Ie,setterName:undefined,brandCheckIdentifier:G,isStatic:true,isValid:Ee})}}else if(E.isSetAccessorDeclaration(N)){var Ne=createHoistedVariableForPrivateName($+"_set",N);if((_e===null||_e===void 0?void 0:_e.kind)==="a"&&_e.isStatic&&!_e.setterName){_e.setterName=Ne}else{ie.identifiers.set(le,{kind:"a",getterName:undefined,setterName:Ne,brandCheckIdentifier:G,isStatic:true,isValid:Ee})}}else{E.Debug.assertNever(N,"Unknown class element type.")}}else if(E.isPropertyDeclaration(N)){var Me=createHoistedVariableForPrivateName($,N);ie.identifiers.set(le,{kind:"f",brandCheckIdentifier:Me,isStatic:false,variableName:undefined,isValid:Ee});ce.push(R.createAssignment(Me,R.createNewExpression(R.createIdentifier("WeakMap"),undefined,[])))}else if(E.isMethodDeclaration(N)){E.Debug.assert(ae,"weakSetName should be set in private identifier environment");ie.identifiers.set(le,{kind:"m",methodName:createHoistedVariableForPrivateName($,N),brandCheckIdentifier:ae,isStatic:false,isValid:Ee})}else if(E.isAccessor(N)){E.Debug.assert(ae,"weakSetName should be set in private identifier environment");if(E.isGetAccessor(N)){var Ie=createHoistedVariableForPrivateName($+"_get",N);if((_e===null||_e===void 0?void 0:_e.kind)==="a"&&!_e.isStatic&&!_e.getterName){_e.getterName=Ie}else{ie.identifiers.set(le,{kind:"a",getterName:Ie,setterName:undefined,brandCheckIdentifier:ae,isStatic:false,isValid:Ee})}}else{var Ne=createHoistedVariableForPrivateName($+"_set",N);if((_e===null||_e===void 0?void 0:_e.kind)==="a"&&!_e.isStatic&&!_e.setterName){_e.setterName=Ne}else{ie.identifiers.set(le,{kind:"a",getterName:undefined,setterName:Ne,brandCheckIdentifier:ae,isStatic:false,isValid:Ee})}}}else{E.Debug.assertNever(N,"Unknown class element type.")}(j=getPendingExpressions()).push.apply(j,ce)}function createHoistedVariableForClass(E,N){var j=getPrivateIdentifierEnvironment().className;var q=j?"_"+j:"";var G=R.createUniqueName(q+"_"+E,16);if(ce.getNodeCheckFlags(N)&524288){ae(G)}else{$(G)}return G}function createHoistedVariableForPrivateName(E,N){return createHoistedVariableForClass(E.substring(1),N.name)}function accessPrivateIdentifier(E){var N;if(Je===null||Je===void 0?void 0:Je.privateIdentifierEnvironment){var R=Je.privateIdentifierEnvironment.identifiers.get(E.escapedText);if(R){return R}}for(var j=ze.length-1;j>=0;--j){var $=ze[j];if(!$){continue}var R=(N=$.privateIdentifierEnvironment)===null||N===void 0?void 0:N.identifiers.get(E.escapedText);if(R){return R}}return undefined}function wrapPrivateIdentifierForDestructuringTarget(j){var q=R.getGeneratedNameForNode(j);var G=accessPrivateIdentifier(j.name);if(!G){return E.visitEachChild(j,visitor,N)}var ie=j.expression;if(E.isThisProperty(j)||E.isSuperProperty(j)||!E.isSimpleCopiableExpression(j.expression)){ie=R.createTempVariable($,true);getPendingExpressions().push(R.createBinaryExpression(ie,63,E.visitNode(j.expression,visitor,E.isExpression)))}return R.createAssignmentTargetWrapper(q,createPrivateIdentifierAssignment(G,ie,q,63))}function visitArrayAssignmentTarget(N){var j=E.getTargetOfBindingOrAssignmentElement(N);if(j){var $=void 0;if(E.isPrivateIdentifierPropertyAccessExpression(j)){$=wrapPrivateIdentifierForDestructuringTarget(j)}else if(we&&E.isSuperProperty(j)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){$=visitInvalidSuperProperty(j)}else if(q&&G){var ae=E.isElementAccessExpression(j)?E.visitNode(j.argumentExpression,visitor,E.isExpression):E.isIdentifier(j.name)?R.createStringLiteralFromNode(j.name):undefined;if(ae){var ce=R.createTempVariable(undefined);$=R.createAssignmentTargetWrapper(ce,R.createReflectSetCall(G,ae,ce,q))}}}if($){if(E.isAssignmentExpression(N)){return R.updateBinaryExpression(N,$,N.operatorToken,E.visitNode(N.right,visitor,E.isExpression))}else if(E.isSpreadElement(N)){return R.updateSpreadElement(N,$)}else{return $}}}return E.visitNode(N,visitorDestructuringTarget)}function visitObjectAssignmentTarget(N){if(E.isObjectBindingOrAssignmentElement(N)&&!E.isShorthandPropertyAssignment(N)){var j=E.getTargetOfBindingOrAssignmentElement(N);var $=void 0;if(j){if(E.isPrivateIdentifierPropertyAccessExpression(j)){$=wrapPrivateIdentifierForDestructuringTarget(j)}else if(we&&E.isSuperProperty(j)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){$=visitInvalidSuperProperty(j)}else if(q&&G){var ae=E.isElementAccessExpression(j)?E.visitNode(j.argumentExpression,visitor,E.isExpression):E.isIdentifier(j.name)?R.createStringLiteralFromNode(j.name):undefined;if(ae){var ce=R.createTempVariable(undefined);$=R.createAssignmentTargetWrapper(ce,R.createReflectSetCall(G,ae,ce,q))}}}}if(E.isPropertyAssignment(N)){var le=E.getInitializerOfBindingOrAssignmentElement(N);return R.updatePropertyAssignment(N,E.visitNode(N.name,visitor,E.isPropertyName),$?le?R.createAssignment($,E.visitNode(le,visitor)):$:E.visitNode(N.initializer,visitorDestructuringTarget,E.isExpression))}if(E.isSpreadAssignment(N)){return R.updateSpreadAssignment(N,$||E.visitNode(N.expression,visitorDestructuringTarget,E.isExpression))}E.Debug.assert($===undefined,"Should not have generated a wrapped target")}return E.visitNode(N,visitor)}function visitAssignmentPattern(N){if(E.isArrayLiteralExpression(N)){return R.updateArrayLiteralExpression(N,E.visitNodes(N.elements,visitArrayAssignmentTarget,E.isExpression))}else{return R.updateObjectLiteralExpression(N,E.visitNodes(N.properties,visitObjectAssignmentTarget,E.isObjectLiteralElementLike))}}}E.transformClassFields=transformClassFields;function createPrivateStaticFieldInitializer(N,R){return E.factory.createAssignment(N,E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment("value",R||E.factory.createVoidZero())]))}function createPrivateInstanceFieldInitializer(N,R,j){return E.factory.createCallExpression(E.factory.createPropertyAccessExpression(j,"set"),undefined,[N,R||E.factory.createVoidZero()])}function createPrivateInstanceMethodInitializer(N,R){return E.factory.createCallExpression(E.factory.createPropertyAccessExpression(R,"add"),undefined,[N])}function isReservedPrivateName(E){return E.escapedText==="#constructor"}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(N||(N={}));var R;(function(E){E[E["NonTopLevel"]=1]="NonTopLevel";E[E["HasLexicalThis"]=2]="HasLexicalThis"})(R||(R={}));function transformES2017(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistVariableDeclaration;var ae=N.getEmitResolver();var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e;var Ee=0;var Te;var we;var Ie;var Ne=[];var Me=0;var Le=N.onEmitNode;var Be=N.onSubstituteNode;N.onEmitNode=onEmitNode;N.onSubstituteNode=onSubstituteNode;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}setContextFlag(1,false);setContextFlag(2,!E.isEffectiveStrictModeSourceFile(R,ce));var j=E.visitEachChild(R,visitor,N);E.addEmitHelpers(j,N.readEmitHelpers());return j}function setContextFlag(E,N){Me=N?Me|E:Me&~E}function inContext(E){return(Me&E)!==0}function inTopLevelContext(){return!inContext(1)}function inHasLexicalThisContext(){return inContext(2)}function doWithContext(E,N,R){var j=E&~Me;if(j){setContextFlag(j,true);var $=N(R);setContextFlag(j,false);return $}return N(R)}function visitDefault(R){return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&128)===0){return R}switch(R.kind){case 130:return undefined;case 216:return visitAwaitExpression(R);case 167:return doWithContext(1|2,visitMethodDeclaration,R);case 254:return doWithContext(1|2,visitFunctionDeclaration,R);case 211:return doWithContext(1|2,visitFunctionExpression,R);case 212:return doWithContext(1,visitArrowFunction,R);case 204:if(we&&E.isPropertyAccessExpression(R)&&R.expression.kind===106){we.add(R.name.escapedText)}return E.visitEachChild(R,visitor,N);case 205:if(we&&R.expression.kind===106){Ie=true}return E.visitEachChild(R,visitor,N);case 170:case 171:case 169:case 255:case 224:return doWithContext(1|2,visitDefault,R);default:return E.visitEachChild(R,visitor,N)}}function asyncBodyVisitor(R){if(E.isNodeWithPossibleHoistedDeclaration(R)){switch(R.kind){case 235:return visitVariableStatementInAsyncBody(R);case 240:return visitForStatementInAsyncBody(R);case 241:return visitForInStatementInAsyncBody(R);case 242:return visitForOfStatementInAsyncBody(R);case 290:return visitCatchClauseInAsyncBody(R);case 233:case 247:case 261:case 287:case 288:case 250:case 238:case 239:case 237:case 246:case 248:return E.visitEachChild(R,asyncBodyVisitor,N);default:return E.Debug.assertNever(R,"Unhandled node.")}}return visitor(R)}function visitCatchClauseInAsyncBody(R){var j=new E.Set;recordDeclarationName(R.variableDeclaration,j);var $;j.forEach((function(N,R){if(Te.has(R)){if(!$){$=new E.Set(Te)}$.delete(R)}}));if($){var q=Te;Te=$;var G=E.visitEachChild(R,asyncBodyVisitor,N);Te=q;return G}else{return E.visitEachChild(R,asyncBodyVisitor,N)}}function visitVariableStatementInAsyncBody(j){if(isVariableDeclarationListWithCollidingName(j.declarationList)){var $=visitVariableDeclarationListWithCollidingNames(j.declarationList,false);return $?R.createExpressionStatement($):undefined}return E.visitEachChild(j,visitor,N)}function visitForInStatementInAsyncBody(j){return R.updateForInStatement(j,isVariableDeclarationListWithCollidingName(j.initializer)?visitVariableDeclarationListWithCollidingNames(j.initializer,true):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitForOfStatementInAsyncBody(j){return R.updateForOfStatement(j,E.visitNode(j.awaitModifier,visitor,E.isToken),isVariableDeclarationListWithCollidingName(j.initializer)?visitVariableDeclarationListWithCollidingNames(j.initializer,true):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitForStatementInAsyncBody(j){var $=j.initializer;return R.updateForStatement(j,isVariableDeclarationListWithCollidingName($)?visitVariableDeclarationListWithCollidingNames($,false):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitAwaitExpression(j){if(inTopLevelContext()){return E.visitEachChild(j,visitor,N)}return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,E.visitNode(j.expression,visitor,E.isExpression)),j),j)}function visitMethodDeclaration(j){return R.updateMethodDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitFunctionDeclaration(j){return R.updateFunctionDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitFunctionExpression(j){return R.updateFunctionExpression(j,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitArrowFunction(j){return R.updateArrowFunction(j,E.visitNodes(j.modifiers,visitor,E.isModifier),undefined,E.visitParameterList(j.parameters,visitor,N),undefined,j.equalsGreaterThanToken,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function recordDeclarationName(N,R){var j=N.name;if(E.isIdentifier(j)){R.add(j.escapedText)}else{for(var $=0,q=j.elements;$<q.length;$++){var G=q[$];if(!E.isOmittedExpression(G)){recordDeclarationName(G,R)}}}}function isVariableDeclarationListWithCollidingName(N){return!!N&&E.isVariableDeclarationList(N)&&!(N.flags&3)&&N.declarations.some(collidesWithParameterName)}function visitVariableDeclarationListWithCollidingNames(N,j){hoistVariableDeclarationList(N);var $=E.getInitializedVariables(N);if($.length===0){if(j){return E.visitNode(R.converters.convertToAssignmentElementTarget(N.declarations[0].name),visitor,E.isExpression)}return undefined}return R.inlineExpressions(E.map($,transformInitializedVariable))}function hoistVariableDeclarationList(N){E.forEach(N.declarations,hoistVariable)}function hoistVariable(N){var R=N.name;if(E.isIdentifier(R)){ie(R)}else{for(var j=0,$=R.elements;j<$.length;j++){var q=$[j];if(!E.isOmittedExpression(q)){hoistVariable(q)}}}}function transformInitializedVariable(N){var j=E.setSourceMapRange(R.createAssignment(R.converters.convertToAssignmentElementTarget(N.name),N.initializer),N);return E.visitNode(j,visitor,E.isExpression)}function collidesWithParameterName(N){var R=N.name;if(E.isIdentifier(R)){return Te.has(R.escapedText)}else{for(var j=0,$=R.elements;j<$.length;j++){var q=$[j];if(!E.isOmittedExpression(q)&&collidesWithParameterName(q)){return true}}}return false}function transformAsyncFunctionBody(N){q();var j=E.getOriginalNode(N,E.isFunctionLike);var ie=j.type;var ce=le<2?getPromiseConstructor(ie):undefined;var _e=N.kind===212;var Ee=(ae.getNodeCheckFlags(N)&8192)!==0;var Me=Te;Te=new E.Set;for(var Le=0,Be=N.parameters;Le<Be.length;Le++){var je=Be[Le];recordDeclarationName(je,Te)}var Ue=we;var ze=Ie;if(!_e){we=new E.Set;Ie=false}var We;if(!_e){var Je=[];var Ve=R.copyPrologue(N.body.statements,Je,false,visitor);Je.push(R.createReturnStatement($().createAwaiterHelper(inHasLexicalThisContext(),Ee,ce,transformAsyncFunctionBodyWorker(N.body,Ve))));E.insertStatementsAfterStandardPrologue(Je,G());var qe=le>=2&&ae.getNodeCheckFlags(N)&(4096|2048);if(qe){enableSubstitutionForAsyncMethodsWithSuper();if(we.size){var He=createSuperAccessVariableStatement(R,ae,N,we);Ne[E.getNodeId(He)]=true;E.insertStatementsAfterStandardPrologue(Je,[He])}}var Ge=R.createBlock(Je,true);E.setTextRange(Ge,N.body);if(qe&&Ie){if(ae.getNodeCheckFlags(N)&4096){E.addEmitHelper(Ge,E.advancedAsyncSuperHelper)}else if(ae.getNodeCheckFlags(N)&2048){E.addEmitHelper(Ge,E.asyncSuperHelper)}}We=Ge}else{var Ke=$().createAwaiterHelper(inHasLexicalThisContext(),Ee,ce,transformAsyncFunctionBodyWorker(N.body));var Qe=G();if(E.some(Qe)){var Ge=R.converters.convertToFunctionBlock(Ke);We=R.updateBlock(Ge,E.setTextRange(R.createNodeArray(E.concatenate(Qe,Ge.statements)),Ge.statements))}else{We=Ke}}Te=Me;if(!_e){we=Ue;Ie=ze}return We}function transformAsyncFunctionBodyWorker(N,j){if(E.isBlock(N)){return R.updateBlock(N,E.visitNodes(N.statements,asyncBodyVisitor,E.isStatement,j))}else{return R.converters.convertToFunctionBlock(E.visitNode(N,asyncBodyVisitor,E.isConciseBody))}}function getPromiseConstructor(N){var R=N&&E.getEntityNameFromTypeNode(N);if(R&&E.isEntityName(R)){var j=ae.getTypeReferenceSerializationKind(R);if(j===E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||j===E.TypeReferenceSerializationKind.Unknown){return R}}return undefined}function enableSubstitutionForAsyncMethodsWithSuper(){if((_e&1)===0){_e|=1;N.enableSubstitution(206);N.enableSubstitution(204);N.enableSubstitution(205);N.enableEmitNotification(255);N.enableEmitNotification(167);N.enableEmitNotification(170);N.enableEmitNotification(171);N.enableEmitNotification(169);N.enableEmitNotification(235)}}function onEmitNode(N,R,j){if(_e&1&&isSuperContainer(R)){var $=ae.getNodeCheckFlags(R)&(2048|4096);if($!==Ee){var q=Ee;Ee=$;Le(N,R,j);Ee=q;return}}else if(_e&&Ne[E.getNodeId(R)]){var q=Ee;Ee=0;Le(N,R,j);Ee=q;return}Le(N,R,j)}function onSubstituteNode(E,N){N=Be(E,N);if(E===1&&Ee){return substituteExpression(N)}return N}function substituteExpression(E){switch(E.kind){case 204:return substitutePropertyAccessExpression(E);case 205:return substituteElementAccessExpression(E);case 206:return substituteCallExpression(E)}return E}function substitutePropertyAccessExpression(N){if(N.expression.kind===106){return E.setTextRange(R.createPropertyAccessExpression(R.createUniqueName("_super",16|32),N.name),N)}return N}function substituteElementAccessExpression(E){if(E.expression.kind===106){return createSuperElementAccessInAsyncMethod(E.argumentExpression,E)}return E}function substituteCallExpression(N){var $=N.expression;if(E.isSuperProperty($)){var q=E.isPropertyAccessExpression($)?substitutePropertyAccessExpression($):substituteElementAccessExpression($);return R.createCallExpression(R.createPropertyAccessExpression(q,"call"),undefined,j([R.createThis()],N.arguments,true))}return N}function isSuperContainer(E){var N=E.kind;return N===255||N===169||N===167||N===170||N===171}function createSuperElementAccessInAsyncMethod(N,j){if(Ee&4096){return E.setTextRange(R.createPropertyAccessExpression(R.createCallExpression(R.createUniqueName("_superIndex",16|32),undefined,[N]),"value"),j)}else{return E.setTextRange(R.createCallExpression(R.createUniqueName("_superIndex",16|32),undefined,[N]),j)}}}E.transformES2017=transformES2017;function createSuperAccessVariableStatement(N,R,j,$){var q=(R.getNodeCheckFlags(j)&4096)!==0;var G=[];$.forEach((function(R,j){var $=E.unescapeLeadingUnderscores(j);var ie=[];ie.push(N.createPropertyAssignment("get",N.createArrowFunction(undefined,undefined,[],undefined,undefined,E.setEmitFlags(N.createPropertyAccessExpression(E.setEmitFlags(N.createSuper(),4),$),4))));if(q){ie.push(N.createPropertyAssignment("set",N.createArrowFunction(undefined,undefined,[N.createParameterDeclaration(undefined,undefined,undefined,"v",undefined,undefined,undefined)],undefined,undefined,N.createAssignment(E.setEmitFlags(N.createPropertyAccessExpression(E.setEmitFlags(N.createSuper(),4),$),4),N.createIdentifier("v")))))}G.push(N.createPropertyAssignment($,N.createObjectLiteralExpression(ie)))}));return N.createVariableStatement(undefined,N.createVariableDeclarationList([N.createVariableDeclaration(N.createUniqueName("_super",16|32),undefined,undefined,N.createCallExpression(N.createPropertyAccessExpression(N.createIdentifier("Object"),"create"),undefined,[N.createNull(),N.createObjectLiteralExpression(G,true)]))],2))}E.createSuperAccessVariableStatement=createSuperAccessVariableStatement})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(N||(N={}));var R;(function(E){E[E["None"]=0]="None";E[E["HasLexicalThis"]=1]="HasLexicalThis";E[E["IterationContainer"]=2]="IterationContainer";E[E["AncestorFactsMask"]=3]="AncestorFactsMask";E[E["SourceFileIncludes"]=1]="SourceFileIncludes";E[E["SourceFileExcludes"]=2]="SourceFileExcludes";E[E["StrictModeSourceFileIncludes"]=0]="StrictModeSourceFileIncludes";E[E["ClassOrFunctionIncludes"]=1]="ClassOrFunctionIncludes";E[E["ClassOrFunctionExcludes"]=2]="ClassOrFunctionExcludes";E[E["ArrowFunctionIncludes"]=0]="ArrowFunctionIncludes";E[E["ArrowFunctionExcludes"]=2]="ArrowFunctionExcludes";E[E["IterationStatementIncludes"]=2]="IterationStatementIncludes";E[E["IterationStatementExcludes"]=0]="IterationStatementExcludes"})(R||(R={}));function transformES2018(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistVariableDeclaration;var ae=N.getEmitResolver();var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e=N.onEmitNode;N.onEmitNode=onEmitNode;var Ee=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Te=false;var we;var Ie;var Ne=0;var Me=0;var Le;var Be;var je;var Ue;var ze=[];return E.chainBundle(N,transformSourceFile);function affectsSubtree(E,N){return Me!==(Me&~E|N)}function enterSubtree(E,N){var R=Me;Me=(Me&~E|N)&3;return R}function exitSubtree(E){Me=E}function recordTaggedTemplateString(N){Be=E.append(Be,R.createVariableDeclaration(N))}function transformSourceFile(R){if(R.isDeclarationFile){return R}Le=R;var j=visitSourceFile(R);E.addEmitHelpers(j,N.readEmitHelpers());Le=undefined;Be=undefined;return j}function visitor(E){return visitorWorker(E,false)}function visitorWithUnusedExpressionResult(E){return visitorWorker(E,true)}function visitorNoAsyncModifier(E){if(E.kind===130){return undefined}return E}function doWithHierarchyFacts(E,N,R,j){if(affectsSubtree(R,j)){var $=enterSubtree(R,j);var q=E(N);exitSubtree($);return q}return E(N)}function visitDefault(R){return E.visitEachChild(R,visitor,N)}function visitorWorker(R,j){if((R.transformFlags&64)===0){return R}switch(R.kind){case 216:return visitAwaitExpression(R);case 222:return visitYieldExpression(R);case 245:return visitReturnStatement(R);case 248:return visitLabeledStatement(R);case 203:return visitObjectLiteralExpression(R);case 219:return visitBinaryExpression(R,j);case 346:return visitCommaListExpression(R,j);case 290:return visitCatchClause(R);case 235:return visitVariableStatement(R);case 252:return visitVariableDeclaration(R);case 238:case 239:case 241:return doWithHierarchyFacts(visitDefault,R,0,2);case 242:return visitForOfStatement(R,undefined);case 240:return doWithHierarchyFacts(visitForStatement,R,0,2);case 215:return visitVoidExpression(R);case 169:return doWithHierarchyFacts(visitConstructorDeclaration,R,2,1);case 167:return doWithHierarchyFacts(visitMethodDeclaration,R,2,1);case 170:return doWithHierarchyFacts(visitGetAccessorDeclaration,R,2,1);case 171:return doWithHierarchyFacts(visitSetAccessorDeclaration,R,2,1);case 254:return doWithHierarchyFacts(visitFunctionDeclaration,R,2,1);case 211:return doWithHierarchyFacts(visitFunctionExpression,R,2,1);case 212:return doWithHierarchyFacts(visitArrowFunction,R,2,0);case 162:return visitParameter(R);case 236:return visitExpressionStatement(R);case 210:return visitParenthesizedExpression(R,j);case 208:return visitTaggedTemplateExpression(R);case 204:if(je&&E.isPropertyAccessExpression(R)&&R.expression.kind===106){je.add(R.name.escapedText)}return E.visitEachChild(R,visitor,N);case 205:if(je&&R.expression.kind===106){Ue=true}return E.visitEachChild(R,visitor,N);case 255:case 224:return doWithHierarchyFacts(visitDefault,R,2,1);default:return E.visitEachChild(R,visitor,N)}}function visitAwaitExpression(j){if(Ie&2&&Ie&1){return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,$().createAwaitHelper(E.visitNode(j.expression,visitor,E.isExpression))),j),j)}return E.visitEachChild(j,visitor,N)}function visitYieldExpression(j){if(Ie&2&&Ie&1){if(j.asteriskToken){var q=E.visitNode(E.Debug.assertDefined(j.expression),visitor,E.isExpression);return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,$().createAwaitHelper(R.updateYieldExpression(j,j.asteriskToken,E.setTextRange($().createAsyncDelegatorHelper(E.setTextRange($().createAsyncValuesHelper(q),q)),q)))),j),j)}return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,createDownlevelAwait(j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero())),j),j)}return E.visitEachChild(j,visitor,N)}function visitReturnStatement(j){if(Ie&2&&Ie&1){return R.updateReturnStatement(j,createDownlevelAwait(j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero()))}return E.visitEachChild(j,visitor,N)}function visitLabeledStatement(j){if(Ie&2){var $=E.unwrapInnermostStatementOfLabel(j);if($.kind===242&&$.awaitModifier){return visitForOfStatement($,j)}return R.restoreEnclosingLabel(E.visitNode($,visitor,E.isStatement,R.liftToBlock),j)}return E.visitEachChild(j,visitor,N)}function chunkObjectLiteralElements(N){var j;var $=[];for(var q=0,G=N;q<G.length;q++){var ie=G[q];if(ie.kind===293){if(j){$.push(R.createObjectLiteralExpression(j));j=undefined}var ae=ie.expression;$.push(E.visitNode(ae,visitor,E.isExpression))}else{j=E.append(j,ie.kind===291?R.createPropertyAssignment(ie.name,E.visitNode(ie.initializer,visitor,E.isExpression)):E.visitNode(ie,visitor,E.isObjectLiteralElementLike))}}if(j){$.push(R.createObjectLiteralExpression(j))}return $}function visitObjectLiteralExpression(j){if(j.transformFlags&32768){var q=chunkObjectLiteralElements(j.properties);if(q.length&&q[0].kind!==203){q.unshift(R.createObjectLiteralExpression())}var G=q[0];if(q.length>1){for(var ie=1;ie<q.length;ie++){G=$().createAssignHelper([G,q[ie]])}return G}else{return $().createAssignHelper(q)}}return E.visitEachChild(j,visitor,N)}function visitExpressionStatement(R){return E.visitEachChild(R,visitorWithUnusedExpressionResult,N)}function visitParenthesizedExpression(R,j){return E.visitEachChild(R,j?visitorWithUnusedExpressionResult:visitor,N)}function visitSourceFile(j){var $=enterSubtree(2,E.isEffectiveStrictModeSourceFile(j,ce)?0:1);Te=false;var q=E.visitEachChild(j,visitor,N);var G=E.concatenate(q.statements,Be&&[R.createVariableStatement(undefined,R.createVariableDeclarationList(Be))]);var ie=R.updateSourceFile(q,E.setTextRange(R.createNodeArray(G),j.statements));exitSubtree($);return ie}function visitTaggedTemplateExpression(R){return E.processTaggedTemplateExpression(N,R,visitor,Le,recordTaggedTemplateString,E.ProcessLevel.LiftRestriction)}function visitBinaryExpression(j,$){if(E.isDestructuringAssignment(j)&&j.left.transformFlags&32768){return E.flattenDestructuringAssignment(j,visitor,N,1,!$)}if(j.operatorToken.kind===27){return R.updateBinaryExpression(j,E.visitNode(j.left,visitorWithUnusedExpressionResult,E.isExpression),j.operatorToken,E.visitNode(j.right,$?visitorWithUnusedExpressionResult:visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaListExpression(j,$){if($){return E.visitEachChild(j,visitorWithUnusedExpressionResult,N)}var q;for(var G=0;G<j.elements.length;G++){var ie=j.elements[G];var ae=E.visitNode(ie,G<j.elements.length-1?visitorWithUnusedExpressionResult:visitor,E.isExpression);if(q||ae!==ie){q||(q=j.elements.slice(0,G));q.push(ae)}}var ce=q?E.setTextRange(R.createNodeArray(q),j.elements):j.elements;return R.updateCommaListExpression(j,ce)}function visitCatchClause($){if($.variableDeclaration&&E.isBindingPattern($.variableDeclaration.name)&&$.variableDeclaration.name.transformFlags&32768){var q=R.getGeneratedNameForNode($.variableDeclaration.name);var G=R.updateVariableDeclaration($.variableDeclaration,$.variableDeclaration.name,undefined,undefined,q);var ie=E.flattenDestructuringBinding(G,visitor,N,1);var ae=E.visitNode($.block,visitor,E.isBlock);if(E.some(ie)){ae=R.updateBlock(ae,j([R.createVariableStatement(undefined,ie)],ae.statements,true))}return R.updateCatchClause($,R.updateVariableDeclaration($.variableDeclaration,q,undefined,undefined,undefined),ae)}return E.visitEachChild($,visitor,N)}function visitVariableStatement(R){if(E.hasSyntacticModifier(R,1)){var j=Te;Te=true;var $=E.visitEachChild(R,visitor,N);Te=j;return $}return E.visitEachChild(R,visitor,N)}function visitVariableDeclaration(E){if(Te){var N=Te;Te=false;var R=visitVariableDeclarationWorker(E,true);Te=N;return R}return visitVariableDeclarationWorker(E,false)}function visitVariableDeclarationWorker(R,j){if(E.isBindingPattern(R.name)&&R.name.transformFlags&32768){return E.flattenDestructuringBinding(R,visitor,N,1,undefined,j)}return E.visitEachChild(R,visitor,N)}function visitForStatement(j){return R.updateForStatement(j,E.visitNode(j.initializer,visitorWithUnusedExpressionResult,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitorWithUnusedExpressionResult,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}function visitVoidExpression(R){return E.visitEachChild(R,visitorWithUnusedExpressionResult,N)}function visitForOfStatement(j,$){var q=enterSubtree(0,2);if(j.initializer.transformFlags&32768){j=transformForOfStatementWithObjectRest(j)}var G=j.awaitModifier?transformForAwaitOfStatement(j,$,q):R.restoreEnclosingLabel(E.visitEachChild(j,visitor,N),$);exitSubtree(q);return G}function transformForOfStatementWithObjectRest(N){var j=E.skipParentheses(N.initializer);if(E.isVariableDeclarationList(j)||E.isAssignmentPattern(j)){var $=void 0;var q=void 0;var G=R.createTempVariable(undefined);var ie=[E.createForOfBindingStatement(R,j,G)];if(E.isBlock(N.statement)){E.addRange(ie,N.statement.statements);$=N.statement;q=N.statement.statements}else if(N.statement){E.append(ie,N.statement);$=N.statement;q=N.statement}return R.updateForOfStatement(N,N.awaitModifier,E.setTextRange(R.createVariableDeclarationList([E.setTextRange(R.createVariableDeclaration(G),N.initializer)],1),N.initializer),N.expression,E.setTextRange(R.createBlock(E.setTextRange(R.createNodeArray(ie),q),true),$))}return N}function convertForOfStatementHead(j,$){var q=E.createForOfBindingStatement(R,j.initializer,$);var G;var ie;var ae=[E.visitNode(q,visitor,E.isStatement)];var ce=E.visitIterationBody(j.statement,visitor,N);if(E.isBlock(ce)){E.addRange(ae,ce.statements);G=ce;ie=ce.statements}else{ae.push(ce)}return E.setEmitFlags(E.setTextRange(R.createBlock(E.setTextRange(R.createNodeArray(ae),ie),true),G),48|384)}function createDownlevelAwait(E){return Ie&1?R.createYieldExpression(undefined,$().createAwaitHelper(E)):R.createAwaitExpression(E)}function transformForAwaitOfStatement(N,j,q){var G=E.visitNode(N.expression,visitor,E.isExpression);var ae=E.isIdentifier(G)?R.getGeneratedNameForNode(G):R.createTempVariable(undefined);var ce=E.isIdentifier(G)?R.getGeneratedNameForNode(ae):R.createTempVariable(undefined);var le=R.createUniqueName("e");var _e=R.getGeneratedNameForNode(le);var Ee=R.createTempVariable(undefined);var Te=E.setTextRange($().createAsyncValuesHelper(G),N.expression);var we=R.createCallExpression(R.createPropertyAccessExpression(ae,"next"),undefined,[]);var Ie=R.createPropertyAccessExpression(ce,"done");var Ne=R.createPropertyAccessExpression(ce,"value");var Me=R.createFunctionCallCall(Ee,ae,[]);ie(le);ie(Ee);var Le=q&2?R.inlineExpressions([R.createAssignment(le,R.createVoidZero()),Te]):Te;var Be=E.setEmitFlags(E.setTextRange(R.createForStatement(E.setEmitFlags(E.setTextRange(R.createVariableDeclarationList([E.setTextRange(R.createVariableDeclaration(ae,undefined,undefined,Le),N.expression),R.createVariableDeclaration(ce)]),N.expression),2097152),R.createComma(R.createAssignment(ce,createDownlevelAwait(we)),R.createLogicalNot(Ie)),undefined,convertForOfStatementHead(N,Ne)),N),256);return R.createTryStatement(R.createBlock([R.restoreEnclosingLabel(Be,j)]),R.createCatchClause(R.createVariableDeclaration(_e),E.setEmitFlags(R.createBlock([R.createExpressionStatement(R.createAssignment(le,R.createObjectLiteralExpression([R.createPropertyAssignment("error",_e)])))]),1)),R.createBlock([R.createTryStatement(R.createBlock([E.setEmitFlags(R.createIfStatement(R.createLogicalAnd(R.createLogicalAnd(ce,R.createLogicalNot(Ie)),R.createAssignment(Ee,R.createPropertyAccessExpression(ae,"return"))),R.createExpressionStatement(createDownlevelAwait(Me))),1)]),undefined,E.setEmitFlags(R.createBlock([E.setEmitFlags(R.createIfStatement(le,R.createThrowStatement(R.createPropertyAccessExpression(le,"error"))),1)]),1))]))}function visitParameter(j){if(j.transformFlags&32768){return R.updateParameterDeclaration(j,undefined,undefined,j.dotDotDotToken,R.getGeneratedNameForNode(j),undefined,undefined,E.visitNode(j.initializer,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitConstructorDeclaration(j){var $=Ie;Ie=0;var q=R.updateConstructorDeclaration(j,undefined,j.modifiers,E.visitParameterList(j.parameters,visitor,N),transformFunctionBody(j));Ie=$;return q}function visitGetAccessorDeclaration(j){var $=Ie;Ie=0;var q=R.updateGetAccessorDeclaration(j,undefined,j.modifiers,E.visitNode(j.name,visitor,E.isPropertyName),E.visitParameterList(j.parameters,visitor,N),undefined,transformFunctionBody(j));Ie=$;return q}function visitSetAccessorDeclaration(j){var $=Ie;Ie=0;var q=R.updateSetAccessorDeclaration(j,undefined,j.modifiers,E.visitNode(j.name,visitor,E.isPropertyName),E.visitParameterList(j.parameters,visitor,N),transformFunctionBody(j));Ie=$;return q}function visitMethodDeclaration(j){var $=Ie;Ie=E.getFunctionFlags(j);var q=R.updateMethodDeclaration(j,undefined,Ie&1?E.visitNodes(j.modifiers,visitorNoAsyncModifier,E.isModifier):j.modifiers,Ie&2?undefined:j.asteriskToken,E.visitNode(j.name,visitor,E.isPropertyName),E.visitNode(undefined,visitor,E.isToken),undefined,E.visitParameterList(j.parameters,visitor,N),undefined,Ie&2&&Ie&1?transformAsyncGeneratorFunctionBody(j):transformFunctionBody(j));Ie=$;return q}function visitFunctionDeclaration(j){var $=Ie;Ie=E.getFunctionFlags(j);var q=R.updateFunctionDeclaration(j,undefined,Ie&1?E.visitNodes(j.modifiers,visitorNoAsyncModifier,E.isModifier):j.modifiers,Ie&2?undefined:j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,Ie&2&&Ie&1?transformAsyncGeneratorFunctionBody(j):transformFunctionBody(j));Ie=$;return q}function visitArrowFunction(j){var $=Ie;Ie=E.getFunctionFlags(j);var q=R.updateArrowFunction(j,j.modifiers,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,j.equalsGreaterThanToken,transformFunctionBody(j));Ie=$;return q}function visitFunctionExpression(j){var $=Ie;Ie=E.getFunctionFlags(j);var q=R.updateFunctionExpression(j,Ie&1?E.visitNodes(j.modifiers,visitorNoAsyncModifier,E.isModifier):j.modifiers,Ie&2?undefined:j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,Ie&2&&Ie&1?transformAsyncGeneratorFunctionBody(j):transformFunctionBody(j));Ie=$;return q}function transformAsyncGeneratorFunctionBody(j){q();var ie=[];var ce=R.copyPrologue(j.body.statements,ie,false,visitor);appendObjectRestAssignmentsIfNeeded(ie,j);var _e=je;var Ee=Ue;je=new E.Set;Ue=false;var Te=R.createReturnStatement($().createAsyncGeneratorHelper(R.createFunctionExpression(undefined,R.createToken(41),j.name&&R.getGeneratedNameForNode(j.name),undefined,[],undefined,R.updateBlock(j.body,E.visitLexicalEnvironment(j.body.statements,visitor,N,ce))),!!(Me&1)));var we=le>=2&&ae.getNodeCheckFlags(j)&(4096|2048);if(we){enableSubstitutionForAsyncMethodsWithSuper();var Ie=E.createSuperAccessVariableStatement(R,ae,j,je);ze[E.getNodeId(Ie)]=true;E.insertStatementsAfterStandardPrologue(ie,[Ie])}ie.push(Te);E.insertStatementsAfterStandardPrologue(ie,G());var Ne=R.updateBlock(j.body,ie);if(we&&Ue){if(ae.getNodeCheckFlags(j)&4096){E.addEmitHelper(Ne,E.advancedAsyncSuperHelper)}else if(ae.getNodeCheckFlags(j)&2048){E.addEmitHelper(Ne,E.asyncSuperHelper)}}je=_e;Ue=Ee;return Ne}function transformFunctionBody(N){var j;q();var $=0;var ie=[];var ae=(j=E.visitNode(N.body,visitor,E.isConciseBody))!==null&&j!==void 0?j:R.createBlock([]);if(E.isBlock(ae)){$=R.copyPrologue(ae.statements,ie,false,visitor)}E.addRange(ie,appendObjectRestAssignmentsIfNeeded(undefined,N));var ce=G();if($>0||E.some(ie)||E.some(ce)){var le=R.converters.convertToFunctionBlock(ae,true);E.insertStatementsAfterStandardPrologue(ie,ce);E.addRange(ie,le.statements.slice($));return R.updateBlock(le,E.setTextRange(R.createNodeArray(ie),le.statements))}return ae}function appendObjectRestAssignmentsIfNeeded(j,$){for(var q=0,G=$.parameters;q<G.length;q++){var ie=G[q];if(ie.transformFlags&32768){var ae=R.getGeneratedNameForNode(ie);var ce=E.flattenDestructuringBinding(ie,visitor,N,1,ae,false,true);if(E.some(ce)){var le=R.createVariableStatement(undefined,R.createVariableDeclarationList(ce));E.setEmitFlags(le,1048576);j=E.append(j,le)}}}return j}function enableSubstitutionForAsyncMethodsWithSuper(){if((we&1)===0){we|=1;N.enableSubstitution(206);N.enableSubstitution(204);N.enableSubstitution(205);N.enableEmitNotification(255);N.enableEmitNotification(167);N.enableEmitNotification(170);N.enableEmitNotification(171);N.enableEmitNotification(169);N.enableEmitNotification(235)}}function onEmitNode(N,R,j){if(we&1&&isSuperContainer(R)){var $=ae.getNodeCheckFlags(R)&(2048|4096);if($!==Ne){var q=Ne;Ne=$;_e(N,R,j);Ne=q;return}}else if(we&&ze[E.getNodeId(R)]){var q=Ne;Ne=0;_e(N,R,j);Ne=q;return}_e(N,R,j)}function onSubstituteNode(E,N){N=Ee(E,N);if(E===1&&Ne){return substituteExpression(N)}return N}function substituteExpression(E){switch(E.kind){case 204:return substitutePropertyAccessExpression(E);case 205:return substituteElementAccessExpression(E);case 206:return substituteCallExpression(E)}return E}function substitutePropertyAccessExpression(N){if(N.expression.kind===106){return E.setTextRange(R.createPropertyAccessExpression(R.createUniqueName("_super",16|32),N.name),N)}return N}function substituteElementAccessExpression(E){if(E.expression.kind===106){return createSuperElementAccessInAsyncMethod(E.argumentExpression,E)}return E}function substituteCallExpression(N){var $=N.expression;if(E.isSuperProperty($)){var q=E.isPropertyAccessExpression($)?substitutePropertyAccessExpression($):substituteElementAccessExpression($);return R.createCallExpression(R.createPropertyAccessExpression(q,"call"),undefined,j([R.createThis()],N.arguments,true))}return N}function isSuperContainer(E){var N=E.kind;return N===255||N===169||N===167||N===170||N===171}function createSuperElementAccessInAsyncMethod(N,j){if(Ne&4096){return E.setTextRange(R.createPropertyAccessExpression(R.createCallExpression(R.createIdentifier("_superIndex"),undefined,[N]),"value"),j)}else{return E.setTextRange(R.createCallExpression(R.createIdentifier("_superIndex"),undefined,[N]),j)}}}E.transformES2018=transformES2018})(ce||(ce={}));var ce;(function(E){function transformES2019(N){var R=N.factory;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&32)===0){return R}switch(R.kind){case 290:return visitCatchClause(R);default:return E.visitEachChild(R,visitor,N)}}function visitCatchClause(j){if(!j.variableDeclaration){return R.updateCatchClause(j,R.createVariableDeclaration(R.createTempVariable(undefined)),E.visitNode(j.block,visitor,E.isBlock))}return E.visitEachChild(j,visitor,N)}}E.transformES2019=transformES2019})(ce||(ce={}));var ce;(function(E){function transformES2020(N){var R=N.factory,j=N.hoistVariableDeclaration;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&16)===0){return R}switch(R.kind){case 206:{var j=visitNonOptionalCallExpression(R,false);E.Debug.assertNotNode(j,E.isSyntheticReference);return j}case 204:case 205:if(E.isOptionalChain(R)){var j=visitOptionalExpression(R,false,false);E.Debug.assertNotNode(j,E.isSyntheticReference);return j}return E.visitEachChild(R,visitor,N);case 219:if(R.operatorToken.kind===60){return transformNullishCoalescingExpression(R)}return E.visitEachChild(R,visitor,N);case 213:return visitDeleteExpression(R);default:return E.visitEachChild(R,visitor,N)}}function flattenChain(N){E.Debug.assertNotNode(N,E.isNonNullChain);var R=[N];while(!N.questionDotToken&&!E.isTaggedTemplateExpression(N)){N=E.cast(E.skipPartiallyEmittedExpressions(N.expression),E.isOptionalChain);E.Debug.assertNotNode(N,E.isNonNullChain);R.unshift(N)}return{expression:N.expression,chain:R}}function visitNonOptionalParenthesizedExpression(N,j,$){var q=visitNonOptionalExpression(N.expression,j,$);if(E.isSyntheticReference(q)){return R.createSyntheticReferenceExpression(R.updateParenthesizedExpression(N,q.expression),q.thisArg)}return R.updateParenthesizedExpression(N,q)}function visitNonOptionalPropertyOrElementAccessExpression(N,$,q){if(E.isOptionalChain(N)){return visitOptionalExpression(N,$,q)}var G=E.visitNode(N.expression,visitor,E.isExpression);E.Debug.assertNotNode(G,E.isSyntheticReference);var ie;if($){if(!E.isSimpleCopiableExpression(G)){ie=R.createTempVariable(j);G=R.createAssignment(ie,G)}else{ie=G}}G=N.kind===204?R.updatePropertyAccessExpression(N,G,E.visitNode(N.name,visitor,E.isIdentifier)):R.updateElementAccessExpression(N,G,E.visitNode(N.argumentExpression,visitor,E.isExpression));return ie?R.createSyntheticReferenceExpression(G,ie):G}function visitNonOptionalCallExpression(j,$){if(E.isOptionalChain(j)){return visitOptionalExpression(j,$,false)}if(E.isParenthesizedExpression(j.expression)&&E.isOptionalChain(E.skipParentheses(j.expression))){var q=visitNonOptionalParenthesizedExpression(j.expression,true,false);var G=E.visitNodes(j.arguments,visitor,E.isExpression);if(E.isSyntheticReference(q)){return E.setTextRange(R.createFunctionCallCall(q.expression,q.thisArg,G),j)}return R.updateCallExpression(j,q,undefined,G)}return E.visitEachChild(j,visitor,N)}function visitNonOptionalExpression(N,R,j){switch(N.kind){case 210:return visitNonOptionalParenthesizedExpression(N,R,j);case 204:case 205:return visitNonOptionalPropertyOrElementAccessExpression(N,R,j);case 206:return visitNonOptionalCallExpression(N,R);default:return E.visitNode(N,visitor,E.isExpression)}}function visitOptionalExpression(N,$,q){var G=flattenChain(N),ie=G.expression,ae=G.chain;var ce=visitNonOptionalExpression(ie,E.isCallChain(ae[0]),false);var le=E.isSyntheticReference(ce)?ce.thisArg:undefined;var _e=E.isSyntheticReference(ce)?ce.expression:ce;var Ee=_e;if(!E.isSimpleCopiableExpression(_e)){Ee=R.createTempVariable(j);_e=R.createAssignment(Ee,_e)}var Te=Ee;var we;for(var Ie=0;Ie<ae.length;Ie++){var Ne=ae[Ie];switch(Ne.kind){case 204:case 205:if(Ie===ae.length-1&&$){if(!E.isSimpleCopiableExpression(Te)){we=R.createTempVariable(j);Te=R.createAssignment(we,Te)}else{we=Te}}Te=Ne.kind===204?R.createPropertyAccessExpression(Te,E.visitNode(Ne.name,visitor,E.isIdentifier)):R.createElementAccessExpression(Te,E.visitNode(Ne.argumentExpression,visitor,E.isExpression));break;case 206:if(Ie===0&&le){Te=R.createFunctionCallCall(Te,le.kind===106?R.createThis():le,E.visitNodes(Ne.arguments,visitor,E.isExpression))}else{Te=R.createCallExpression(Te,undefined,E.visitNodes(Ne.arguments,visitor,E.isExpression))}break}E.setOriginalNode(Te,Ne)}var Me=q?R.createConditionalExpression(createNotNullCondition(_e,Ee,true),undefined,R.createTrue(),undefined,R.createDeleteExpression(Te)):R.createConditionalExpression(createNotNullCondition(_e,Ee,true),undefined,R.createVoidZero(),undefined,Te);E.setTextRange(Me,N);return we?R.createSyntheticReferenceExpression(Me,we):Me}function createNotNullCondition(E,N,j){return R.createBinaryExpression(R.createBinaryExpression(E,R.createToken(j?36:37),R.createNull()),R.createToken(j?56:55),R.createBinaryExpression(N,R.createToken(j?36:37),R.createVoidZero()))}function transformNullishCoalescingExpression(N){var $=E.visitNode(N.left,visitor,E.isExpression);var q=$;if(!E.isSimpleCopiableExpression($)){q=R.createTempVariable(j);$=R.createAssignment(q,$)}return E.setTextRange(R.createConditionalExpression(createNotNullCondition($,q),undefined,q,undefined,E.visitNode(N.right,visitor,E.isExpression)),N)}function visitDeleteExpression(N){return E.isOptionalChain(E.skipParentheses(N.expression))?E.setOriginalNode(visitNonOptionalExpression(N.expression,false,true),N):R.updateDeleteExpression(N,E.visitNode(N.expression,visitor,E.isExpression))}}E.transformES2020=transformES2020})(ce||(ce={}));var ce;(function(E){function transformES2021(N){var R=N.hoistVariableDeclaration,j=N.factory;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&8)===0){return R}switch(R.kind){case 219:var j=R;if(E.isLogicalOrCoalescingAssignmentExpression(j)){return transformLogicalAssignment(j)}default:return E.visitEachChild(R,visitor,N)}}function transformLogicalAssignment(N){var $=N.operatorToken;var q=E.getNonAssignmentOperatorForCompoundAssignment($.kind);var G=E.skipParentheses(E.visitNode(N.left,visitor,E.isLeftHandSideExpression));var ie=G;var ae=E.skipParentheses(E.visitNode(N.right,visitor,E.isExpression));if(E.isAccessExpression(G)){var ce=E.isSimpleCopiableExpression(G.expression);var le=ce?G.expression:j.createTempVariable(R);var _e=ce?G.expression:j.createAssignment(le,G.expression);if(E.isPropertyAccessExpression(G)){ie=j.createPropertyAccessExpression(le,G.name);G=j.createPropertyAccessExpression(_e,G.name)}else{var Ee=E.isSimpleCopiableExpression(G.argumentExpression);var Te=Ee?G.argumentExpression:j.createTempVariable(R);ie=j.createElementAccessExpression(le,Te);G=j.createElementAccessExpression(_e,Ee?G.argumentExpression:j.createAssignment(Te,G.argumentExpression))}}return j.createBinaryExpression(G,q,j.createParenthesizedExpression(j.createAssignment(ie,ae)))}}E.transformES2021=transformES2021})(ce||(ce={}));var ce;(function(E){function transformESNext(N){return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&4)===0){return R}switch(R.kind){default:return E.visitEachChild(R,visitor,N)}}}E.transformESNext=transformESNext})(ce||(ce={}));var ce;(function(E){function transformJsx(R){var j=R.factory,$=R.getEmitHelperFactory;var q=R.getCompilerOptions();var G;var ie;return E.chainBundle(R,transformSourceFile);function getCurrentFileNameExpression(){if(ie.filenameDeclaration){return ie.filenameDeclaration.name}var E=j.createVariableDeclaration(j.createUniqueName("_jsxFileName",16|32),undefined,undefined,j.createStringLiteral(G.fileName));ie.filenameDeclaration=E;return ie.filenameDeclaration.name}function getJsxFactoryCalleePrimitive(E){return q.jsx===5?"jsxDEV":E>1?"jsxs":"jsx"}function getJsxFactoryCallee(E){var N=getJsxFactoryCalleePrimitive(E);return getImplicitImportForName(N)}function getImplicitJsxFragmentReference(){return getImplicitImportForName("Fragment")}function getImplicitImportForName(N){var R,$;var G=N==="createElement"?ie.importSpecifier:E.getJSXRuntimeImport(ie.importSpecifier,q);var ae=($=(R=ie.utilizedImplicitRuntimeImports)===null||R===void 0?void 0:R.get(G))===null||$===void 0?void 0:$.get(N);if(ae){return ae.name}if(!ie.utilizedImplicitRuntimeImports){ie.utilizedImplicitRuntimeImports=E.createMap()}var ce=ie.utilizedImplicitRuntimeImports.get(G);if(!ce){ce=E.createMap();ie.utilizedImplicitRuntimeImports.set(G,ce)}var le=j.createUniqueName("_"+N,16|32|64);var _e=j.createImportSpecifier(j.createIdentifier(N),le);le.generatedImportReference=_e;ce.set(N,_e);return le}function transformSourceFile(N){if(N.isDeclarationFile){return N}G=N;ie={};ie.importSpecifier=E.getJSXImplicitImportBase(q,N);var $=E.visitEachChild(N,visitor,R);E.addEmitHelpers($,R.readEmitHelpers());var ae=$.statements;if(ie.filenameDeclaration){ae=E.insertStatementAfterCustomPrologue(ae.slice(),j.createVariableStatement(undefined,j.createVariableDeclarationList([ie.filenameDeclaration],2)))}if(ie.utilizedImplicitRuntimeImports){for(var ce=0,le=E.arrayFrom(ie.utilizedImplicitRuntimeImports.entries());ce<le.length;ce++){var _e=le[ce],Ee=_e[0],Te=_e[1];if(E.isExternalModule(N)){var we=j.createImportDeclaration(undefined,undefined,j.createImportClause(false,undefined,j.createNamedImports(E.arrayFrom(Te.values()))),j.createStringLiteral(Ee));E.setParentRecursive(we,false);ae=E.insertStatementAfterCustomPrologue(ae.slice(),we)}else if(E.isExternalOrCommonJsModule(N)){var Ie=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(j.createObjectBindingPattern(E.map(E.arrayFrom(Te.values()),(function(E){return j.createBindingElement(undefined,E.propertyName,E.name)}))),undefined,undefined,j.createCallExpression(j.createIdentifier("require"),undefined,[j.createStringLiteral(Ee)]))],2));E.setParentRecursive(Ie,false);ae=E.insertStatementAfterCustomPrologue(ae.slice(),Ie)}else{}}}if(ae!==$.statements){$=j.updateSourceFile($,ae)}ie=undefined;return $}function visitor(E){if(E.transformFlags&2){return visitorWorker(E)}else{return E}}function visitorWorker(N){switch(N.kind){case 276:return visitJsxElement(N,false);case 277:return visitJsxSelfClosingElement(N,false);case 280:return visitJsxFragment(N,false);case 286:return visitJsxExpression(N);default:return E.visitEachChild(N,visitor,R)}}function transformJsxChildToExpression(N){switch(N.kind){case 11:return visitJsxText(N);case 286:return visitJsxExpression(N);case 276:return visitJsxElement(N,true);case 277:return visitJsxSelfClosingElement(N,true);case 280:return visitJsxFragment(N,true);default:return E.Debug.failBadSyntaxKind(N)}}function hasKeyAfterPropsSpread(N){var R=false;for(var j=0,$=N.attributes.properties;j<$.length;j++){var q=$[j];if(E.isJsxSpreadAttribute(q)){R=true}else if(R&&E.isJsxAttribute(q)&&q.name.escapedText==="key"){return true}}return false}function shouldUseCreateElement(E){return ie.importSpecifier===undefined||hasKeyAfterPropsSpread(E)}function visitJsxElement(E,N){var R=shouldUseCreateElement(E.openingElement)?visitJsxOpeningLikeElementCreateElement:visitJsxOpeningLikeElementJSX;return R(E.openingElement,E.children,N,E)}function visitJsxSelfClosingElement(E,N){var R=shouldUseCreateElement(E)?visitJsxOpeningLikeElementCreateElement:visitJsxOpeningLikeElementJSX;return R(E,undefined,N,E)}function visitJsxFragment(E,N){var R=ie.importSpecifier===undefined?visitJsxOpeningFragmentCreateElement:visitJsxOpeningFragmentJSX;return R(E.openingFragment,E.children,N,E)}function convertJsxChildrenToChildrenPropObject(N){var R=E.getSemanticJsxChildren(N);if(E.length(R)===1){var $=transformJsxChildToExpression(R[0]);return $&&j.createObjectLiteralExpression([j.createPropertyAssignment("children",$)])}var q=E.mapDefined(N,transformJsxChildToExpression);return!q.length?undefined:j.createObjectLiteralExpression([j.createPropertyAssignment("children",j.createArrayLiteralExpression(q))])}function visitJsxOpeningLikeElementJSX(N,R,q,G){var ie=getTagName(N);var ae;var ce=E.find(N.attributes.properties,(function(N){return!!N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="key"}));var le=ce?E.filter(N.attributes.properties,(function(E){return E!==ce})):N.attributes.properties;var _e=[];if(le.length){_e=E.flatten(E.spanMap(le,E.isJsxSpreadAttribute,(function(N,R){return R?E.map(N,transformJsxSpreadAttributeToExpression):j.createObjectLiteralExpression(E.map(N,transformJsxAttributeToObjectLiteralElement))})));if(E.isJsxSpreadAttribute(le[0])){_e.unshift(j.createObjectLiteralExpression())}}if(R&&R.length){var Ee=convertJsxChildrenToChildrenPropObject(R);if(Ee){_e.push(Ee)}}if(_e.length===0){ae=j.createObjectLiteralExpression([])}else{ae=E.singleOrUndefined(_e)||$().createAssignHelper(_e)}return visitJsxOpeningLikeElementOrFragmentJSX(ie,ae,ce,E.length(E.getSemanticJsxChildren(R||E.emptyArray)),q,G)}function visitJsxOpeningLikeElementOrFragmentJSX(N,R,$,ie,ae,ce){var le=[N,R,!$?j.createVoidZero():transformJsxAttributeInitializer($.initializer)];if(q.jsx===5){var _e=E.getOriginalNode(G);if(_e&&E.isSourceFile(_e)){le.push(ie>1?j.createTrue():j.createFalse());var Ee=E.getLineAndCharacterOfPosition(_e,ce.pos);le.push(j.createObjectLiteralExpression([j.createPropertyAssignment("fileName",getCurrentFileNameExpression()),j.createPropertyAssignment("lineNumber",j.createNumericLiteral(Ee.line+1)),j.createPropertyAssignment("columnNumber",j.createNumericLiteral(Ee.character+1))]));le.push(j.createThis())}}var Te=E.setTextRange(j.createCallExpression(getJsxFactoryCallee(ie),undefined,le),ce);if(ae){E.startOnNewLine(Te)}return Te}function visitJsxOpeningLikeElementCreateElement(N,ae,ce,le){var _e=getTagName(N);var Ee;var Te=N.attributes.properties;if(Te.length===0){Ee=j.createNull()}else{var we=q.target;if(we&&we>=5){Ee=j.createObjectLiteralExpression(E.flatten(E.spanMap(Te,E.isJsxSpreadAttribute,(function(N,R){return R?E.map(N,transformJsxSpreadAttributeToSpreadAssignment):E.map(N,transformJsxAttributeToObjectLiteralElement)}))))}else{var Ie=E.flatten(E.spanMap(Te,E.isJsxSpreadAttribute,(function(N,R){return R?E.map(N,transformJsxSpreadAttributeToExpression):j.createObjectLiteralExpression(E.map(N,transformJsxAttributeToObjectLiteralElement))})));if(E.isJsxSpreadAttribute(Te[0])){Ie.unshift(j.createObjectLiteralExpression())}Ee=E.singleOrUndefined(Ie);if(!Ee){Ee=$().createAssignHelper(Ie)}}}var Ne=ie.importSpecifier===undefined?E.createJsxFactoryExpression(j,R.getEmitResolver().getJsxFactoryEntity(G),q.reactNamespace,N):getImplicitImportForName("createElement");var Me=E.createExpressionForJsxElement(j,Ne,_e,Ee,E.mapDefined(ae,transformJsxChildToExpression),le);if(ce){E.startOnNewLine(Me)}return Me}function visitJsxOpeningFragmentJSX(N,R,$,q){var G;if(R&&R.length){var ie=convertJsxChildrenToChildrenPropObject(R);if(ie){G=ie}}return visitJsxOpeningLikeElementOrFragmentJSX(getImplicitJsxFragmentReference(),G||j.createObjectLiteralExpression([]),undefined,E.length(E.getSemanticJsxChildren(R)),$,q)}function visitJsxOpeningFragmentCreateElement(N,$,ie,ae){var ce=E.createExpressionForJsxFragment(j,R.getEmitResolver().getJsxFactoryEntity(G),R.getEmitResolver().getJsxFragmentFactoryEntity(G),q.reactNamespace,E.mapDefined($,transformJsxChildToExpression),N,ae);if(ie){E.startOnNewLine(ce)}return ce}function transformJsxSpreadAttributeToSpreadAssignment(N){return j.createSpreadAssignment(E.visitNode(N.expression,visitor,E.isExpression))}function transformJsxSpreadAttributeToExpression(N){return E.visitNode(N.expression,visitor,E.isExpression)}function transformJsxAttributeToObjectLiteralElement(E){var N=getAttributeName(E);var R=transformJsxAttributeInitializer(E.initializer);return j.createPropertyAssignment(N,R)}function transformJsxAttributeInitializer(N){if(N===undefined){return j.createTrue()}else if(N.kind===10){var R=N.singleQuote!==undefined?N.singleQuote:!E.isStringDoubleQuoted(N,G);var $=j.createStringLiteral(tryDecodeEntities(N.text)||N.text,R);return E.setTextRange($,N)}else if(N.kind===286){if(N.expression===undefined){return j.createTrue()}return E.visitNode(N.expression,visitor,E.isExpression)}else{return E.Debug.failBadSyntaxKind(N)}}function visitJsxText(E){var N=fixupWhitespaceAndDecodeEntities(E.text);return N===undefined?undefined:j.createStringLiteral(N)}function fixupWhitespaceAndDecodeEntities(N){var R;var j=0;var $=-1;for(var q=0;q<N.length;q++){var G=N.charCodeAt(q);if(E.isLineBreak(G)){if(j!==-1&&$!==-1){R=addLineOfJsxText(R,N.substr(j,$-j+1))}j=-1}else if(!E.isWhiteSpaceSingleLine(G)){$=q;if(j===-1){j=q}}}return j!==-1?addLineOfJsxText(R,N.substr(j)):R}function addLineOfJsxText(E,N){var R=decodeEntities(N);return E===undefined?R:E+" "+R}function decodeEntities(R){return R.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(function(R,j,$,q,G,ie,ae){if(G){return E.utf16EncodeAsString(parseInt(G,10))}else if(ie){return E.utf16EncodeAsString(parseInt(ie,16))}else{var ce=N.get(ae);return ce?E.utf16EncodeAsString(ce):R}}))}function tryDecodeEntities(E){var N=decodeEntities(E);return N===E?undefined:N}function getTagName(N){if(N.kind===276){return getTagName(N.openingElement)}else{var R=N.tagName;if(E.isIdentifier(R)&&E.isIntrinsicJsxName(R.escapedText)){return j.createStringLiteral(E.idText(R))}else{return E.createExpressionFromEntityName(j,R)}}}function getAttributeName(N){var R=N.name;var $=E.idText(R);if(/^[A-Za-z_]\w*$/.test($)){return R}else{return j.createStringLiteral($)}}function visitJsxExpression(N){return E.visitNode(N.expression,visitor,E.isExpression)}}E.transformJsx=transformJsx;var N=new E.Map(E.getEntries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))})(ce||(ce={}));var ce;(function(E){function transformES2016(N){var R=N.factory,j=N.hoistVariableDeclaration;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&256)===0){return R}switch(R.kind){case 219:return visitBinaryExpression(R);default:return E.visitEachChild(R,visitor,N)}}function visitBinaryExpression(R){switch(R.operatorToken.kind){case 67:return visitExponentiationAssignmentExpression(R);case 42:return visitExponentiationExpression(R);default:return E.visitEachChild(R,visitor,N)}}function visitExponentiationAssignmentExpression(N){var $;var q;var G=E.visitNode(N.left,visitor,E.isExpression);var ie=E.visitNode(N.right,visitor,E.isExpression);if(E.isElementAccessExpression(G)){var ae=R.createTempVariable(j);var ce=R.createTempVariable(j);$=E.setTextRange(R.createElementAccessExpression(E.setTextRange(R.createAssignment(ae,G.expression),G.expression),E.setTextRange(R.createAssignment(ce,G.argumentExpression),G.argumentExpression)),G);q=E.setTextRange(R.createElementAccessExpression(ae,ce),G)}else if(E.isPropertyAccessExpression(G)){var ae=R.createTempVariable(j);$=E.setTextRange(R.createPropertyAccessExpression(E.setTextRange(R.createAssignment(ae,G.expression),G.expression),G.name),G);q=E.setTextRange(R.createPropertyAccessExpression(ae,G.name),G)}else{$=G;q=G}return E.setTextRange(R.createAssignment($,E.setTextRange(R.createGlobalMethodCall("Math","pow",[q,ie]),N)),N)}function visitExponentiationExpression(N){var j=E.visitNode(N.left,visitor,E.isExpression);var $=E.visitNode(N.right,visitor,E.isExpression);return E.setTextRange(R.createGlobalMethodCall("Math","pow",[j,$]),N)}}E.transformES2016=transformES2016})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["CapturedThis"]=1]="CapturedThis";E[E["BlockScopedBindings"]=2]="BlockScopedBindings"})(N||(N={}));var R;(function(E){E[E["Body"]=1]="Body";E[E["Initializer"]=2]="Initializer"})(R||(R={}));var $;(function(E){E[E["ToOriginal"]=0]="ToOriginal";E[E["ToOutParameter"]=1]="ToOutParameter"})($||($={}));var q;(function(E){E[E["Break"]=2]="Break";E[E["Continue"]=4]="Continue";E[E["Return"]=8]="Return"})(q||(q={}));var G;(function(E){E[E["None"]=0]="None";E[E["Function"]=1]="Function";E[E["ArrowFunction"]=2]="ArrowFunction";E[E["AsyncFunctionBody"]=4]="AsyncFunctionBody";E[E["NonStaticClassElement"]=8]="NonStaticClassElement";E[E["CapturesThis"]=16]="CapturesThis";E[E["ExportedVariableStatement"]=32]="ExportedVariableStatement";E[E["TopLevel"]=64]="TopLevel";E[E["Block"]=128]="Block";E[E["IterationStatement"]=256]="IterationStatement";E[E["IterationStatementBlock"]=512]="IterationStatementBlock";E[E["IterationContainer"]=1024]="IterationContainer";E[E["ForStatement"]=2048]="ForStatement";E[E["ForInOrForOfStatement"]=4096]="ForInOrForOfStatement";E[E["ConstructorWithCapturedSuper"]=8192]="ConstructorWithCapturedSuper";E[E["StaticInitializer"]=16384]="StaticInitializer";E[E["AncestorFactsMask"]=32767]="AncestorFactsMask";E[E["BlockScopeIncludes"]=0]="BlockScopeIncludes";E[E["BlockScopeExcludes"]=7104]="BlockScopeExcludes";E[E["SourceFileIncludes"]=64]="SourceFileIncludes";E[E["SourceFileExcludes"]=8064]="SourceFileExcludes";E[E["FunctionIncludes"]=65]="FunctionIncludes";E[E["FunctionExcludes"]=32670]="FunctionExcludes";E[E["AsyncFunctionBodyIncludes"]=69]="AsyncFunctionBodyIncludes";E[E["AsyncFunctionBodyExcludes"]=32662]="AsyncFunctionBodyExcludes";E[E["ArrowFunctionIncludes"]=66]="ArrowFunctionIncludes";E[E["ArrowFunctionExcludes"]=15232]="ArrowFunctionExcludes";E[E["ConstructorIncludes"]=73]="ConstructorIncludes";E[E["ConstructorExcludes"]=32662]="ConstructorExcludes";E[E["DoOrWhileStatementIncludes"]=1280]="DoOrWhileStatementIncludes";E[E["DoOrWhileStatementExcludes"]=0]="DoOrWhileStatementExcludes";E[E["ForStatementIncludes"]=3328]="ForStatementIncludes";E[E["ForStatementExcludes"]=5056]="ForStatementExcludes";E[E["ForInOrForOfStatementIncludes"]=5376]="ForInOrForOfStatementIncludes";E[E["ForInOrForOfStatementExcludes"]=3008]="ForInOrForOfStatementExcludes";E[E["BlockIncludes"]=128]="BlockIncludes";E[E["BlockExcludes"]=6976]="BlockExcludes";E[E["IterationStatementBlockIncludes"]=512]="IterationStatementBlockIncludes";E[E["IterationStatementBlockExcludes"]=7104]="IterationStatementBlockExcludes";E[E["StaticInitializerIncludes"]=16449]="StaticInitializerIncludes";E[E["StaticInitializerExcludes"]=32670]="StaticInitializerExcludes";E[E["NewTarget"]=32768]="NewTarget";E[E["CapturedLexicalThis"]=65536]="CapturedLexicalThis";E[E["SubtreeFactsMask"]=-32768]="SubtreeFactsMask";E[E["ArrowFunctionSubtreeExcludes"]=0]="ArrowFunctionSubtreeExcludes";E[E["FunctionSubtreeExcludes"]=98304]="FunctionSubtreeExcludes"})(G||(G={}));var ie;(function(E){E[E["None"]=0]="None";E[E["UnpackedSpread"]=1]="UnpackedSpread";E[E["PackedSpread"]=2]="PackedSpread"})(ie||(ie={}));function createSpreadSegment(E,N){return{kind:E,expression:N}}function transformES2015(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.startLexicalEnvironment,G=N.resumeLexicalEnvironment,ie=N.endLexicalEnvironment,ae=N.hoistVariableDeclaration;var ce=N.getCompilerOptions();var le=N.getEmitResolver();var _e=N.onSubstituteNode;var Ee=N.onEmitNode;N.onEmitNode=onEmitNode;N.onSubstituteNode=onSubstituteNode;var Te;var we;var Ie;var Ne;function recordTaggedTemplateString(N){Ne=E.append(Ne,R.createVariableDeclaration(N))}var Me;var Le;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}Te=R;we=R.text;var j=visitSourceFile(R);E.addEmitHelpers(j,N.readEmitHelpers());Te=undefined;we=undefined;Ne=undefined;Ie=0;return j}function enterSubtree(E,N){var R=Ie;Ie=(Ie&~E|N)&32767;return R}function exitSubtree(E,N,R){Ie=(Ie&~N|R)&-32768|E}function isReturnVoidStatementInConstructorWithCapturedSuper(E){return(Ie&8192)!==0&&E.kind===245&&!E.expression}function isOrMayContainReturnCompletion(N){return N.transformFlags&2097152&&(E.isReturnStatement(N)||E.isIfStatement(N)||E.isWithStatement(N)||E.isSwitchStatement(N)||E.isCaseBlock(N)||E.isCaseClause(N)||E.isDefaultClause(N)||E.isTryStatement(N)||E.isCatchClause(N)||E.isLabeledStatement(N)||E.isIterationStatement(N,false)||E.isBlock(N))}function shouldVisitNode(N){return(N.transformFlags&512)!==0||Me!==undefined||Ie&8192&&isOrMayContainReturnCompletion(N)||E.isIterationStatement(N,false)&&shouldConvertIterationStatement(N)||(E.getEmitFlags(N)&33554432)!==0}function visitor(E){return shouldVisitNode(E)?visitorWorker(E,false):E}function visitorWithUnusedExpressionResult(E){return shouldVisitNode(E)?visitorWorker(E,true):E}function classWrapperStatementVisitor(N){if(shouldVisitNode(N)){var R=E.getOriginalNode(N);if(E.isPropertyDeclaration(R)&&E.hasStaticModifier(R)){var j=enterSubtree(32670,16449);var $=visitorWorker(N,false);exitSubtree(j,98304,0);return $}return visitorWorker(N,false)}return N}function callExpressionVisitor(E){if(E.kind===106){return visitSuperKeyword(true)}return visitor(E)}function visitorWorker(R,j){switch(R.kind){case 124:return undefined;case 255:return visitClassDeclaration(R);case 224:return visitClassExpression(R);case 162:return visitParameter(R);case 254:return visitFunctionDeclaration(R);case 212:return visitArrowFunction(R);case 211:return visitFunctionExpression(R);case 252:return visitVariableDeclaration(R);case 79:return visitIdentifier(R);case 253:return visitVariableDeclarationList(R);case 247:return visitSwitchStatement(R);case 261:return visitCaseBlock(R);case 233:return visitBlock(R,false);case 244:case 243:return visitBreakOrContinueStatement(R);case 248:return visitLabeledStatement(R);case 238:case 239:return visitDoOrWhileStatement(R,undefined);case 240:return visitForStatement(R,undefined);case 241:return visitForInStatement(R,undefined);case 242:return visitForOfStatement(R,undefined);case 236:return visitExpressionStatement(R);case 203:return visitObjectLiteralExpression(R);case 290:return visitCatchClause(R);case 292:return visitShorthandPropertyAssignment(R);case 160:return visitComputedPropertyName(R);case 202:return visitArrayLiteralExpression(R);case 206:return visitCallExpression(R);case 207:return visitNewExpression(R);case 210:return visitParenthesizedExpression(R,j);case 219:return visitBinaryExpression(R,j);case 346:return visitCommaListExpression(R,j);case 14:case 15:case 16:case 17:return visitTemplateLiteral(R);case 10:return visitStringLiteral(R);case 8:return visitNumericLiteral(R);case 208:return visitTaggedTemplateExpression(R);case 221:return visitTemplateExpression(R);case 222:return visitYieldExpression(R);case 223:return visitSpreadElement(R);case 106:return visitSuperKeyword(false);case 108:return visitThisKeyword(R);case 229:return visitMetaProperty(R);case 167:return visitMethodDeclaration(R);case 170:case 171:return visitAccessorDeclaration(R);case 235:return visitVariableStatement(R);case 245:return visitReturnStatement(R);case 215:return visitVoidExpression(R);default:return E.visitEachChild(R,visitor,N)}}function visitSourceFile(N){var j=enterSubtree(8064,64);var $=[];var G=[];q();var ae=R.copyPrologue(N.statements,$,false,visitor);E.addRange(G,E.visitNodes(N.statements,visitor,E.isStatement,ae));if(Ne){G.push(R.createVariableStatement(undefined,R.createVariableDeclarationList(Ne)))}R.mergeLexicalEnvironment($,ie());insertCaptureThisForNodeIfNeeded($,N);exitSubtree(j,0,0);return R.updateSourceFile(N,E.setTextRange(R.createNodeArray(E.concatenate($,G)),N.statements))}function visitSwitchStatement(R){if(Me!==undefined){var j=Me.allowedNonLabeledJumps;Me.allowedNonLabeledJumps|=2;var $=E.visitEachChild(R,visitor,N);Me.allowedNonLabeledJumps=j;return $}return E.visitEachChild(R,visitor,N)}function visitCaseBlock(R){var j=enterSubtree(7104,0);var $=E.visitEachChild(R,visitor,N);exitSubtree(j,0,0);return $}function returnCapturedThis(N){return E.setOriginalNode(R.createReturnStatement(R.createUniqueName("_this",16|32)),N)}function visitReturnStatement(j){if(Me){Me.nonLocalJumps|=8;if(isReturnVoidStatementInConstructorWithCapturedSuper(j)){j=returnCapturedThis(j)}return R.createReturnStatement(R.createObjectLiteralExpression([R.createPropertyAssignment(R.createIdentifier("value"),j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero())]))}else if(isReturnVoidStatementInConstructorWithCapturedSuper(j)){return returnCapturedThis(j)}return E.visitEachChild(j,visitor,N)}function visitThisKeyword(E){if(Ie&2&&!(Ie&16384)){Ie|=65536}if(Me){if(Ie&2){Me.containsLexicalThis=true;return E}return Me.thisName||(Me.thisName=R.createUniqueName("this"))}return E}function visitVoidExpression(R){return E.visitEachChild(R,visitorWithUnusedExpressionResult,N)}function visitIdentifier(E){if(!Me){return E}if(le.isArgumentsLocalBinding(E)){return Me.argumentsName||(Me.argumentsName=R.createUniqueName("arguments"))}return E}function visitBreakOrContinueStatement(j){if(Me){var $=j.kind===244?2:4;var q=j.label&&Me.labels&&Me.labels.get(E.idText(j.label))||!j.label&&Me.allowedNonLabeledJumps&$;if(!q){var G=void 0;var ie=j.label;if(!ie){if(j.kind===244){Me.nonLocalJumps|=2;G="break"}else{Me.nonLocalJumps|=4;G="continue"}}else{if(j.kind===244){G="break-"+ie.escapedText;setLabeledJump(Me,true,E.idText(ie),G)}else{G="continue-"+ie.escapedText;setLabeledJump(Me,false,E.idText(ie),G)}}var ae=R.createStringLiteral(G);if(Me.loopOutParameters.length){var ce=Me.loopOutParameters;var le=void 0;for(var _e=0;_e<ce.length;_e++){var Ee=copyOutParameter(ce[_e],1);if(_e===0){le=Ee}else{le=R.createBinaryExpression(le,27,Ee)}}ae=R.createBinaryExpression(le,27,ae)}return R.createReturnStatement(ae)}}return E.visitEachChild(j,visitor,N)}function visitClassDeclaration(N){var j=R.createVariableDeclaration(R.getLocalName(N,true),undefined,undefined,transformClassLikeDeclarationToExpression(N));E.setOriginalNode(j,N);var $=[];var q=R.createVariableStatement(undefined,R.createVariableDeclarationList([j]));E.setOriginalNode(q,N);E.setTextRange(q,N);E.startOnNewLine(q);$.push(q);if(E.hasSyntacticModifier(N,1)){var G=E.hasSyntacticModifier(N,512)?R.createExportDefault(R.getLocalName(N)):R.createExternalModuleExport(R.getLocalName(N));E.setOriginalNode(G,q);$.push(G)}var ie=E.getEmitFlags(N);if((ie&4194304)===0){$.push(R.createEndOfDeclarationMarker(N));E.setEmitFlags(q,ie|4194304)}return E.singleOrMany($)}function visitClassExpression(E){return transformClassLikeDeclarationToExpression(E)}function transformClassLikeDeclarationToExpression(N){if(N.name){enableSubstitutionsForBlockScopedBindings()}var j=E.getClassExtendsHeritageElement(N);var $=R.createFunctionExpression(undefined,undefined,undefined,undefined,j?[R.createParameterDeclaration(undefined,undefined,undefined,R.createUniqueName("_super",16|32))]:[],undefined,transformClassBody(N,j));E.setEmitFlags($,E.getEmitFlags(N)&65536|524288);var q=R.createPartiallyEmittedExpression($);E.setTextRangeEnd(q,N.end);E.setEmitFlags(q,1536);var G=R.createPartiallyEmittedExpression(q);E.setTextRangeEnd(G,E.skipTrivia(we,N.pos));E.setEmitFlags(G,1536);var ie=R.createParenthesizedExpression(R.createCallExpression(G,undefined,j?[E.visitNode(j.expression,visitor,E.isExpression)]:[]));E.addSyntheticLeadingComment(ie,3,"* @class ");return ie}function transformClassBody(N,j){var $=[];var G=R.getInternalName(N);var ae=E.isIdentifierANonContextualKeyword(G)?R.getGeneratedNameForNode(G):G;q();addExtendsHelperIfNeeded($,N,j);addConstructor($,N,ae,j);addClassMembers($,N);var ce=E.createTokenRange(E.skipTrivia(we,N.members.end),19);var le=R.createPartiallyEmittedExpression(ae);E.setTextRangeEnd(le,ce.end);E.setEmitFlags(le,1536);var _e=R.createReturnStatement(le);E.setTextRangePos(_e,ce.pos);E.setEmitFlags(_e,1536|384);$.push(_e);E.insertStatementsAfterStandardPrologue($,ie());var Ee=R.createBlock(E.setTextRange(R.createNodeArray($),N.members),true);E.setEmitFlags(Ee,1536);return Ee}function addExtendsHelperIfNeeded(N,j,q){if(q){N.push(E.setTextRange(R.createExpressionStatement($().createExtendsHelper(R.getInternalName(j))),q))}}function addConstructor(N,j,$,q){var G=Me;Me=undefined;var ie=enterSubtree(32662,73);var ae=E.getFirstConstructorWithBody(j);var ce=hasSynthesizedDefaultSuperCall(ae,q!==undefined);var le=R.createFunctionDeclaration(undefined,undefined,undefined,$,undefined,transformConstructorParameters(ae,ce),undefined,transformConstructorBody(ae,j,q,ce));E.setTextRange(le,ae||j);if(q){E.setEmitFlags(le,8)}N.push(le);exitSubtree(ie,98304,0);Me=G}function transformConstructorParameters(R,j){return E.visitParameterList(R&&!j?R.parameters:undefined,visitor,N)||[]}function createDefaultConstructorBody(N,j){var $=[];G();R.mergeLexicalEnvironment($,ie());if(j){$.push(R.createReturnStatement(createDefaultSuperCallOrThis()))}var q=R.createNodeArray($);E.setTextRange(q,N.members);var ae=R.createBlock(q,true);E.setTextRange(ae,N);E.setEmitFlags(ae,1536);return ae}function transformConstructorBody(N,j,$,q){var ae=!!$&&E.skipOuterExpressions($.expression).kind!==104;if(!N)return createDefaultConstructorBody(j,ae);var ce=[];var le=[];G();var _e=0;if(!q)_e=R.copyStandardPrologue(N.body.statements,ce,false);addDefaultValueAssignmentsIfNeeded(le,N);addRestParameterIfNeeded(le,N,q);if(!q)_e=R.copyCustomPrologue(N.body.statements,le,_e,visitor);var Ee;if(q){Ee=createDefaultSuperCallOrThis()}else if(ae&&_e<N.body.statements.length){var Te=N.body.statements[_e];if(E.isExpressionStatement(Te)&&E.isSuperCall(Te.expression)){Ee=visitImmediateSuperCallInBody(Te.expression)}}if(Ee){Ie|=8192;_e++}E.addRange(le,E.visitNodes(N.body.statements,visitor,E.isStatement,_e));R.mergeLexicalEnvironment(ce,ie());insertCaptureNewTargetIfNeeded(ce,N,false);if(ae){if(Ee&&_e===N.body.statements.length&&!(N.body.transformFlags&8192)){var we=E.cast(E.cast(Ee,E.isBinaryExpression).left,E.isCallExpression);var Ne=R.createReturnStatement(Ee);E.setCommentRange(Ne,E.getCommentRange(we));E.setEmitFlags(we,1536);le.push(Ne)}else{insertCaptureThisForNode(le,N,Ee||createActualThis());if(!isSufficientlyCoveredByReturnStatements(N.body)){le.push(R.createReturnStatement(R.createUniqueName("_this",16|32)))}}}else{insertCaptureThisForNodeIfNeeded(ce,N)}var Me=R.createBlock(E.setTextRange(R.createNodeArray(E.concatenate(ce,le)),N.body.statements),true);E.setTextRange(Me,N.body);return Me}function isSufficientlyCoveredByReturnStatements(N){if(N.kind===245){return true}else if(N.kind===237){var R=N;if(R.elseStatement){return isSufficientlyCoveredByReturnStatements(R.thenStatement)&&isSufficientlyCoveredByReturnStatements(R.elseStatement)}}else if(N.kind===233){var j=E.lastOrUndefined(N.statements);if(j&&isSufficientlyCoveredByReturnStatements(j)){return true}}return false}function createActualThis(){return E.setEmitFlags(R.createThis(),4)}function createDefaultSuperCallOrThis(){return R.createLogicalOr(R.createLogicalAnd(R.createStrictInequality(R.createUniqueName("_super",16|32),R.createNull()),R.createFunctionApplyCall(R.createUniqueName("_super",16|32),createActualThis(),R.createIdentifier("arguments"))),createActualThis())}function visitParameter(N){if(N.dotDotDotToken){return undefined}else if(E.isBindingPattern(N.name)){return E.setOriginalNode(E.setTextRange(R.createParameterDeclaration(undefined,undefined,undefined,R.getGeneratedNameForNode(N),undefined,undefined,undefined),N),N)}else if(N.initializer){return E.setOriginalNode(E.setTextRange(R.createParameterDeclaration(undefined,undefined,undefined,N.name,undefined,undefined,undefined),N),N)}else{return N}}function hasDefaultValueOrBindingPattern(N){return N.initializer!==undefined||E.isBindingPattern(N.name)}function addDefaultValueAssignmentsIfNeeded(N,R){if(!E.some(R.parameters,hasDefaultValueOrBindingPattern)){return false}var j=false;for(var $=0,q=R.parameters;$<q.length;$++){var G=q[$];var ie=G.name,ae=G.initializer,ce=G.dotDotDotToken;if(ce){continue}if(E.isBindingPattern(ie)){j=insertDefaultValueAssignmentForBindingPattern(N,G,ie,ae)||j}else if(ae){insertDefaultValueAssignmentForInitializer(N,G,ie,ae);j=true}}return j}function insertDefaultValueAssignmentForBindingPattern(j,$,q,G){if(q.elements.length>0){E.insertStatementAfterCustomPrologue(j,E.setEmitFlags(R.createVariableStatement(undefined,R.createVariableDeclarationList(E.flattenDestructuringBinding($,visitor,N,0,R.getGeneratedNameForNode($)))),1048576));return true}else if(G){E.insertStatementAfterCustomPrologue(j,E.setEmitFlags(R.createExpressionStatement(R.createAssignment(R.getGeneratedNameForNode($),E.visitNode(G,visitor,E.isExpression))),1048576));return true}return false}function insertDefaultValueAssignmentForInitializer(N,j,$,q){q=E.visitNode(q,visitor,E.isExpression);var G=R.createIfStatement(R.createTypeCheck(R.cloneNode($),"undefined"),E.setEmitFlags(E.setTextRange(R.createBlock([R.createExpressionStatement(E.setEmitFlags(E.setTextRange(R.createAssignment(E.setEmitFlags(E.setParent(E.setTextRange(R.cloneNode($),$),$.parent),48),E.setEmitFlags(q,48|E.getEmitFlags(q)|1536)),j),1536))]),j),1|32|384|1536));E.startOnNewLine(G);E.setTextRange(G,j);E.setEmitFlags(G,384|32|1048576|1536);E.insertStatementAfterCustomPrologue(N,G)}function shouldAddRestParameter(E,N){return!!(E&&E.dotDotDotToken&&!N)}function addRestParameterIfNeeded(j,$,q){var G=[];var ie=E.lastOrUndefined($.parameters);if(!shouldAddRestParameter(ie,q)){return false}var ae=ie.name.kind===79?E.setParent(E.setTextRange(R.cloneNode(ie.name),ie.name),ie.name.parent):R.createTempVariable(undefined);E.setEmitFlags(ae,48);var ce=ie.name.kind===79?R.cloneNode(ie.name):ae;var le=$.parameters.length-1;var _e=R.createLoopVariable();G.push(E.setEmitFlags(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(ae,undefined,undefined,R.createArrayLiteralExpression([]))])),ie),1048576));var Ee=R.createForStatement(E.setTextRange(R.createVariableDeclarationList([R.createVariableDeclaration(_e,undefined,undefined,R.createNumericLiteral(le))]),ie),E.setTextRange(R.createLessThan(_e,R.createPropertyAccessExpression(R.createIdentifier("arguments"),"length")),ie),E.setTextRange(R.createPostfixIncrement(_e),ie),R.createBlock([E.startOnNewLine(E.setTextRange(R.createExpressionStatement(R.createAssignment(R.createElementAccessExpression(ce,le===0?_e:R.createSubtract(_e,R.createNumericLiteral(le))),R.createElementAccessExpression(R.createIdentifier("arguments"),_e))),ie))]));E.setEmitFlags(Ee,1048576);E.startOnNewLine(Ee);G.push(Ee);if(ie.name.kind!==79){G.push(E.setEmitFlags(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList(E.flattenDestructuringBinding(ie,visitor,N,0,ce))),ie),1048576))}E.insertStatementsAfterCustomPrologue(j,G);return true}function insertCaptureThisForNodeIfNeeded(E,N){if(Ie&65536&&N.kind!==212){insertCaptureThisForNode(E,N,R.createThis());return true}return false}function insertCaptureThisForNode(N,j,$){enableSubstitutionsForCapturedThis();var q=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.createUniqueName("_this",16|32),undefined,undefined,$)]));E.setEmitFlags(q,1536|1048576);E.setSourceMapRange(q,j);E.insertStatementAfterCustomPrologue(N,q)}function insertCaptureNewTargetIfNeeded(N,j,$){if(Ie&32768){var q=void 0;switch(j.kind){case 212:return N;case 167:case 170:case 171:q=R.createVoidZero();break;case 169:q=R.createPropertyAccessExpression(E.setEmitFlags(R.createThis(),4),"constructor");break;case 254:case 211:q=R.createConditionalExpression(R.createLogicalAnd(E.setEmitFlags(R.createThis(),4),R.createBinaryExpression(E.setEmitFlags(R.createThis(),4),102,R.getLocalName(j))),undefined,R.createPropertyAccessExpression(E.setEmitFlags(R.createThis(),4),"constructor"),undefined,R.createVoidZero());break;default:return E.Debug.failBadSyntaxKind(j)}var G=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.createUniqueName("_newTarget",16|32),undefined,undefined,q)]));E.setEmitFlags(G,1536|1048576);if($){N=N.slice()}E.insertStatementAfterCustomPrologue(N,G)}return N}function addClassMembers(N,R){for(var j=0,$=R.members;j<$.length;j++){var q=$[j];switch(q.kind){case 232:N.push(transformSemicolonClassElementToStatement(q));break;case 167:N.push(transformClassMethodDeclarationToStatement(getClassMemberPrefix(R,q),q,R));break;case 170:case 171:var G=E.getAllAccessorDeclarations(R.members,q);if(q===G.firstAccessor){N.push(transformAccessorsToStatement(getClassMemberPrefix(R,q),G,R))}break;case 169:case 168:break;default:E.Debug.failBadSyntaxKind(q,Te&&Te.fileName);break}}}function transformSemicolonClassElementToStatement(N){return E.setTextRange(R.createEmptyStatement(),N)}function transformClassMethodDeclarationToStatement(j,$,q){var G=E.getCommentRange($);var ie=E.getSourceMapRange($);var ae=transformFunctionLikeToExpression($,$,undefined,q);var ce=E.visitNode($.name,visitor,E.isPropertyName);var le;if(!E.isPrivateIdentifier(ce)&&E.getUseDefineForClassFields(N.getCompilerOptions())){var _e=E.isComputedPropertyName(ce)?ce.expression:E.isIdentifier(ce)?R.createStringLiteral(E.unescapeLeadingUnderscores(ce.escapedText)):ce;le=R.createObjectDefinePropertyCall(j,_e,R.createPropertyDescriptor({value:ae,enumerable:false,writable:true,configurable:true}))}else{var Ee=E.createMemberAccessForPropertyName(R,j,ce,$.name);le=R.createAssignment(Ee,ae)}E.setEmitFlags(ae,1536);E.setSourceMapRange(ae,ie);var Te=E.setTextRange(R.createExpressionStatement(le),$);E.setOriginalNode(Te,$);E.setCommentRange(Te,G);E.setEmitFlags(Te,48);return Te}function transformAccessorsToStatement(N,j,$){var q=R.createExpressionStatement(transformAccessorsToExpression(N,j,$,false));E.setEmitFlags(q,1536);E.setSourceMapRange(q,E.getSourceMapRange(j.firstAccessor));return q}function transformAccessorsToExpression(N,j,$,q){var G=j.firstAccessor,ie=j.getAccessor,ae=j.setAccessor;var ce=E.setParent(E.setTextRange(R.cloneNode(N),N),N.parent);E.setEmitFlags(ce,1536|32);E.setSourceMapRange(ce,G.name);var le=E.visitNode(G.name,visitor,E.isPropertyName);if(E.isPrivateIdentifier(le)){return E.Debug.failBadSyntaxKind(le,"Encountered unhandled private identifier while transforming ES2015.")}var _e=E.createExpressionForPropertyName(R,le);E.setEmitFlags(_e,1536|16);E.setSourceMapRange(_e,G.name);var Ee=[];if(ie){var Te=transformFunctionLikeToExpression(ie,undefined,undefined,$);E.setSourceMapRange(Te,E.getSourceMapRange(ie));E.setEmitFlags(Te,512);var we=R.createPropertyAssignment("get",Te);E.setCommentRange(we,E.getCommentRange(ie));Ee.push(we)}if(ae){var Ie=transformFunctionLikeToExpression(ae,undefined,undefined,$);E.setSourceMapRange(Ie,E.getSourceMapRange(ae));E.setEmitFlags(Ie,512);var Ne=R.createPropertyAssignment("set",Ie);E.setCommentRange(Ne,E.getCommentRange(ae));Ee.push(Ne)}Ee.push(R.createPropertyAssignment("enumerable",ie||ae?R.createFalse():R.createTrue()),R.createPropertyAssignment("configurable",R.createTrue()));var Me=R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("Object"),"defineProperty"),undefined,[ce,_e,R.createObjectLiteralExpression(Ee,true)]);if(q){E.startOnNewLine(Me)}return Me}function visitArrowFunction(j){if(j.transformFlags&8192&&!(Ie&16384)){Ie|=65536}var $=Me;Me=undefined;var q=enterSubtree(15232,66);var G=R.createFunctionExpression(undefined,undefined,undefined,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformFunctionBody(j));E.setTextRange(G,j);E.setOriginalNode(G,j);E.setEmitFlags(G,8);exitSubtree(q,0,0);Me=$;return G}function visitFunctionExpression(j){var $=E.getEmitFlags(j)&262144?enterSubtree(32662,69):enterSubtree(32670,65);var q=Me;Me=undefined;var G=E.visitParameterList(j.parameters,visitor,N);var ie=transformFunctionBody(j);var ae=Ie&32768?R.getLocalName(j):j.name;exitSubtree($,98304,0);Me=q;return R.updateFunctionExpression(j,undefined,j.asteriskToken,ae,undefined,G,undefined,ie)}function visitFunctionDeclaration(j){var $=Me;Me=undefined;var q=enterSubtree(32670,65);var G=E.visitParameterList(j.parameters,visitor,N);var ie=transformFunctionBody(j);var ae=Ie&32768?R.getLocalName(j):j.name;exitSubtree(q,98304,0);Me=$;return R.updateFunctionDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,ae,undefined,G,undefined,ie)}function transformFunctionLikeToExpression(j,$,q,G){var ie=Me;Me=undefined;var ae=G&&E.isClassLike(G)&&!E.isStatic(j)?enterSubtree(32670,65|8):enterSubtree(32670,65);var ce=E.visitParameterList(j.parameters,visitor,N);var le=transformFunctionBody(j);if(Ie&32768&&!q&&(j.kind===254||j.kind===211)){q=R.getGeneratedNameForNode(j)}exitSubtree(ae,98304,0);Me=ie;return E.setOriginalNode(E.setTextRange(R.createFunctionExpression(undefined,j.asteriskToken,q,undefined,ce,undefined,le),$),j)}function transformFunctionBody(N){var j=false;var $=false;var q;var ae;var ce=[];var le=[];var _e=N.body;var Ee;G();if(E.isBlock(_e)){Ee=R.copyStandardPrologue(_e.statements,ce,false);Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor,E.isHoistedFunction);Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor,E.isHoistedVariableStatement)}j=addDefaultValueAssignmentsIfNeeded(le,N)||j;j=addRestParameterIfNeeded(le,N,false)||j;if(E.isBlock(_e)){Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor);q=_e.statements;E.addRange(le,E.visitNodes(_e.statements,visitor,E.isStatement,Ee));if(!j&&_e.multiLine){j=true}}else{E.Debug.assert(N.kind===212);q=E.moveRangeEnd(_e,-1);var we=N.equalsGreaterThanToken;if(!E.nodeIsSynthesized(we)&&!E.nodeIsSynthesized(_e)){if(E.rangeEndIsOnSameLineAsRangeStart(we,_e,Te)){$=true}else{j=true}}var Ie=E.visitNode(_e,visitor,E.isExpression);var Ne=R.createReturnStatement(Ie);E.setTextRange(Ne,_e);E.moveSyntheticComments(Ne,_e);E.setEmitFlags(Ne,384|32|1024);le.push(Ne);ae=_e}R.mergeLexicalEnvironment(ce,ie());insertCaptureNewTargetIfNeeded(ce,N,false);insertCaptureThisForNodeIfNeeded(ce,N);if(E.some(ce)){j=true}le.unshift.apply(le,ce);if(E.isBlock(_e)&&E.arrayIsEqualTo(le,_e.statements)){return _e}var Me=R.createBlock(E.setTextRange(R.createNodeArray(le),q),j);E.setTextRange(Me,N.body);if(!j&&$){E.setEmitFlags(Me,1)}if(ae){E.setTokenSourceMapRange(Me,19,ae)}E.setOriginalNode(Me,N.body);return Me}function visitBlock(R,j){if(j){return E.visitEachChild(R,visitor,N)}var $=Ie&256?enterSubtree(7104,512):enterSubtree(6976,128);var q=E.visitEachChild(R,visitor,N);exitSubtree($,0,0);return q}function visitExpressionStatement(R){return E.visitEachChild(R,visitorWithUnusedExpressionResult,N)}function visitParenthesizedExpression(R,j){return E.visitEachChild(R,j?visitorWithUnusedExpressionResult:visitor,N)}function visitBinaryExpression(j,$){if(E.isDestructuringAssignment(j)){return E.flattenDestructuringAssignment(j,visitor,N,0,!$)}if(j.operatorToken.kind===27){return R.updateBinaryExpression(j,E.visitNode(j.left,visitorWithUnusedExpressionResult,E.isExpression),j.operatorToken,E.visitNode(j.right,$?visitorWithUnusedExpressionResult:visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaListExpression(j,$){if($){return E.visitEachChild(j,visitorWithUnusedExpressionResult,N)}var q;for(var G=0;G<j.elements.length;G++){var ie=j.elements[G];var ae=E.visitNode(ie,G<j.elements.length-1?visitorWithUnusedExpressionResult:visitor,E.isExpression);if(q||ae!==ie){q||(q=j.elements.slice(0,G));q.push(ae)}}var ce=q?E.setTextRange(R.createNodeArray(q),j.elements):j.elements;return R.updateCommaListExpression(j,ce)}function isVariableStatementOfTypeScriptClassWrapper(N){return N.declarationList.declarations.length===1&&!!N.declarationList.declarations[0].initializer&&!!(E.getEmitFlags(N.declarationList.declarations[0].initializer)&33554432)}function visitVariableStatement(j){var $=enterSubtree(0,E.hasSyntacticModifier(j,1)?32:0);var q;if(Me&&(j.declarationList.flags&3)===0&&!isVariableStatementOfTypeScriptClassWrapper(j)){var G=void 0;for(var ie=0,ae=j.declarationList.declarations;ie<ae.length;ie++){var ce=ae[ie];hoistVariableDeclarationDeclaredInConvertedLoop(Me,ce);if(ce.initializer){var le=void 0;if(E.isBindingPattern(ce.name)){le=E.flattenDestructuringAssignment(ce,visitor,N,0)}else{le=R.createBinaryExpression(ce.name,63,E.visitNode(ce.initializer,visitor,E.isExpression));E.setTextRange(le,ce)}G=E.append(G,le)}}if(G){q=E.setTextRange(R.createExpressionStatement(R.inlineExpressions(G)),j)}else{q=undefined}}else{q=E.visitEachChild(j,visitor,N)}exitSubtree($,0,0);return q}function visitVariableDeclarationList(j){if(j.flags&3||j.transformFlags&262144){if(j.flags&3){enableSubstitutionsForBlockScopedBindings()}var $=E.flatMap(j.declarations,j.flags&1?visitVariableDeclarationInLetDeclarationList:visitVariableDeclaration);var q=R.createVariableDeclarationList($);E.setOriginalNode(q,j);E.setTextRange(q,j);E.setCommentRange(q,j);if(j.transformFlags&262144&&(E.isBindingPattern(j.declarations[0].name)||E.isBindingPattern(E.last(j.declarations).name))){E.setSourceMapRange(q,getRangeUnion($))}return q}return E.visitEachChild(j,visitor,N)}function getRangeUnion(N){var R=-1,j=-1;for(var $=0,q=N;$<q.length;$++){var G=q[$];R=R===-1?G.pos:G.pos===-1?R:Math.min(R,G.pos);j=Math.max(j,G.end)}return E.createRange(R,j)}function shouldEmitExplicitInitializerForLetDeclaration(E){var N=le.getNodeCheckFlags(E);var R=N&262144;var j=N&524288;var $=(Ie&64)!==0||R&&j&&(Ie&512)!==0;var q=!$&&(Ie&4096)===0&&(!le.isDeclarationWithCollidingName(E)||j&&!R&&(Ie&(2048|4096))===0);return q}function visitVariableDeclarationInLetDeclarationList(j){var $=j.name;if(E.isBindingPattern($)){return visitVariableDeclaration(j)}if(!j.initializer&&shouldEmitExplicitInitializerForLetDeclaration(j)){return R.updateVariableDeclaration(j,j.name,undefined,undefined,R.createVoidZero())}return E.visitEachChild(j,visitor,N)}function visitVariableDeclaration(R){var j=enterSubtree(32,0);var $;if(E.isBindingPattern(R.name)){$=E.flattenDestructuringBinding(R,visitor,N,0,undefined,(j&32)!==0)}else{$=E.visitEachChild(R,visitor,N)}exitSubtree(j,0,0);return $}function recordLabel(N){Me.labels.set(E.idText(N.label),true)}function resetLabel(N){Me.labels.set(E.idText(N.label),false)}function visitLabeledStatement(N){if(Me&&!Me.labels){Me.labels=new E.Map}var j=E.unwrapInnermostStatementOfLabel(N,Me&&recordLabel);return E.isIterationStatement(j,false)?visitIterationStatement(j,N):R.restoreEnclosingLabel(E.visitNode(j,visitor,E.isStatement,R.liftToBlock),N,Me&&resetLabel)}function visitIterationStatement(E,N){switch(E.kind){case 238:case 239:return visitDoOrWhileStatement(E,N);case 240:return visitForStatement(E,N);case 241:return visitForInStatement(E,N);case 242:return visitForOfStatement(E,N)}}function visitIterationStatementWithFacts(E,N,R,j,$){var q=enterSubtree(E,N);var G=convertIterationStatementBodyIfNecessary(R,j,q,$);exitSubtree(q,0,0);return G}function visitDoOrWhileStatement(E,N){return visitIterationStatementWithFacts(0,1280,E,N)}function visitForStatement(E,N){return visitIterationStatementWithFacts(5056,3328,E,N)}function visitEachChildOfForStatement(N){return R.updateForStatement(N,E.visitNode(N.initializer,visitorWithUnusedExpressionResult,E.isForInitializer),E.visitNode(N.condition,visitor,E.isExpression),E.visitNode(N.incrementor,visitorWithUnusedExpressionResult,E.isExpression),E.visitNode(N.statement,visitor,E.isStatement,R.liftToBlock))}function visitForInStatement(E,N){return visitIterationStatementWithFacts(3008,5376,E,N)}function visitForOfStatement(E,N){return visitIterationStatementWithFacts(3008,5376,E,N,ce.downlevelIteration?convertForOfStatementForIterable:convertForOfStatementForArray)}function convertForOfStatementHead(j,$,q){var G=[];var ie=j.initializer;if(E.isVariableDeclarationList(ie)){if(j.initializer.flags&3){enableSubstitutionsForBlockScopedBindings()}var ae=E.firstOrUndefined(ie.declarations);if(ae&&E.isBindingPattern(ae.name)){var ce=E.flattenDestructuringBinding(ae,visitor,N,0,$);var le=E.setTextRange(R.createVariableDeclarationList(ce),j.initializer);E.setOriginalNode(le,j.initializer);E.setSourceMapRange(le,E.createRange(ce[0].pos,E.last(ce).end));G.push(R.createVariableStatement(undefined,le))}else{G.push(E.setTextRange(R.createVariableStatement(undefined,E.setOriginalNode(E.setTextRange(R.createVariableDeclarationList([R.createVariableDeclaration(ae?ae.name:R.createTempVariable(undefined),undefined,undefined,$)]),E.moveRangePos(ie,-1)),ie)),E.moveRangeEnd(ie,-1)))}}else{var _e=R.createAssignment(ie,$);if(E.isDestructuringAssignment(_e)){G.push(R.createExpressionStatement(visitBinaryExpression(_e,true)))}else{E.setTextRangeEnd(_e,ie.end);G.push(E.setTextRange(R.createExpressionStatement(E.visitNode(_e,visitor,E.isExpression)),E.moveRangeEnd(ie,-1)))}}if(q){return createSyntheticBlockForConvertedStatements(E.addRange(G,q))}else{var Ee=E.visitNode(j.statement,visitor,E.isStatement,R.liftToBlock);if(E.isBlock(Ee)){return R.updateBlock(Ee,E.setTextRange(R.createNodeArray(E.concatenate(G,Ee.statements)),Ee.statements))}else{G.push(Ee);return createSyntheticBlockForConvertedStatements(G)}}}function createSyntheticBlockForConvertedStatements(N){return E.setEmitFlags(R.createBlock(R.createNodeArray(N),true),48|384)}function convertForOfStatementForArray(N,j,$){var q=E.visitNode(N.expression,visitor,E.isExpression);var G=R.createLoopVariable();var ie=E.isIdentifier(q)?R.getGeneratedNameForNode(q):R.createTempVariable(undefined);E.setEmitFlags(q,48|E.getEmitFlags(q));var ae=E.setTextRange(R.createForStatement(E.setEmitFlags(E.setTextRange(R.createVariableDeclarationList([E.setTextRange(R.createVariableDeclaration(G,undefined,undefined,R.createNumericLiteral(0)),E.moveRangePos(N.expression,-1)),E.setTextRange(R.createVariableDeclaration(ie,undefined,undefined,q),N.expression)]),N.expression),2097152),E.setTextRange(R.createLessThan(G,R.createPropertyAccessExpression(ie,"length")),N.expression),E.setTextRange(R.createPostfixIncrement(G),N.expression),convertForOfStatementHead(N,R.createElementAccessExpression(ie,G),$)),N);E.setEmitFlags(ae,256);E.setTextRange(ae,N);return R.restoreEnclosingLabel(ae,j,Me&&resetLabel)}function convertForOfStatementForIterable(N,j,q,G){var ie=E.visitNode(N.expression,visitor,E.isExpression);var ce=E.isIdentifier(ie)?R.getGeneratedNameForNode(ie):R.createTempVariable(undefined);var le=E.isIdentifier(ie)?R.getGeneratedNameForNode(ce):R.createTempVariable(undefined);var _e=R.createUniqueName("e");var Ee=R.getGeneratedNameForNode(_e);var Te=R.createTempVariable(undefined);var we=E.setTextRange($().createValuesHelper(ie),N.expression);var Ie=R.createCallExpression(R.createPropertyAccessExpression(ce,"next"),undefined,[]);ae(_e);ae(Te);var Ne=G&1024?R.inlineExpressions([R.createAssignment(_e,R.createVoidZero()),we]):we;var Le=E.setEmitFlags(E.setTextRange(R.createForStatement(E.setEmitFlags(E.setTextRange(R.createVariableDeclarationList([E.setTextRange(R.createVariableDeclaration(ce,undefined,undefined,Ne),N.expression),R.createVariableDeclaration(le,undefined,undefined,Ie)]),N.expression),2097152),R.createLogicalNot(R.createPropertyAccessExpression(le,"done")),R.createAssignment(le,Ie),convertForOfStatementHead(N,R.createPropertyAccessExpression(le,"value"),q)),N),256);return R.createTryStatement(R.createBlock([R.restoreEnclosingLabel(Le,j,Me&&resetLabel)]),R.createCatchClause(R.createVariableDeclaration(Ee),E.setEmitFlags(R.createBlock([R.createExpressionStatement(R.createAssignment(_e,R.createObjectLiteralExpression([R.createPropertyAssignment("error",Ee)])))]),1)),R.createBlock([R.createTryStatement(R.createBlock([E.setEmitFlags(R.createIfStatement(R.createLogicalAnd(R.createLogicalAnd(le,R.createLogicalNot(R.createPropertyAccessExpression(le,"done"))),R.createAssignment(Te,R.createPropertyAccessExpression(ce,"return"))),R.createExpressionStatement(R.createFunctionCallCall(Te,ce,[]))),1)]),undefined,E.setEmitFlags(R.createBlock([E.setEmitFlags(R.createIfStatement(_e,R.createThrowStatement(R.createPropertyAccessExpression(_e,"error"))),1)]),1))]))}function visitObjectLiteralExpression(j){var $=j.properties;var q=-1,G=false;for(var ie=0;ie<$.length;ie++){var ce=$[ie];if(ce.transformFlags&524288&&Ie&4||(G=E.Debug.checkDefined(ce.name).kind===160)){q=ie;break}}if(q<0){return E.visitEachChild(j,visitor,N)}var le=R.createTempVariable(ae);var _e=[];var Ee=R.createAssignment(le,E.setEmitFlags(R.createObjectLiteralExpression(E.visitNodes($,visitor,E.isObjectLiteralElementLike,0,q),j.multiLine),G?65536:0));if(j.multiLine){E.startOnNewLine(Ee)}_e.push(Ee);addObjectLiteralMembers(_e,j,le,q);_e.push(j.multiLine?E.startOnNewLine(E.setParent(E.setTextRange(R.cloneNode(le),le),le.parent)):le);return R.inlineExpressions(_e)}function shouldConvertPartOfIterationStatement(E){return(le.getNodeCheckFlags(E)&131072)!==0}function shouldConvertInitializerOfForStatement(N){return E.isForStatement(N)&&!!N.initializer&&shouldConvertPartOfIterationStatement(N.initializer)}function shouldConvertConditionOfForStatement(N){return E.isForStatement(N)&&!!N.condition&&shouldConvertPartOfIterationStatement(N.condition)}function shouldConvertIncrementorOfForStatement(N){return E.isForStatement(N)&&!!N.incrementor&&shouldConvertPartOfIterationStatement(N.incrementor)}function shouldConvertIterationStatement(E){return shouldConvertBodyOfIterationStatement(E)||shouldConvertInitializerOfForStatement(E)}function shouldConvertBodyOfIterationStatement(E){return(le.getNodeCheckFlags(E)&65536)!==0}function hoistVariableDeclarationDeclaredInConvertedLoop(N,R){if(!N.hoistedLocalVariables){N.hoistedLocalVariables=[]}visit(R.name);function visit(R){if(R.kind===79){N.hoistedLocalVariables.push(R)}else{for(var j=0,$=R.elements;j<$.length;j++){var q=$[j];if(!E.isOmittedExpression(q)){visit(q.name)}}}}}function convertIterationStatementBodyIfNecessary(j,$,q,G){if(!shouldConvertIterationStatement(j)){var ie=void 0;if(Me){ie=Me.allowedNonLabeledJumps;Me.allowedNonLabeledJumps=2|4}var ae=G?G(j,$,undefined,q):R.restoreEnclosingLabel(E.isForStatement(j)?visitEachChildOfForStatement(j):E.visitEachChild(j,visitor,N),$,Me&&resetLabel);if(Me){Me.allowedNonLabeledJumps=ie}return ae}var ce=createConvertedLoopState(j);var le=[];var _e=Me;Me=ce;var Ee=shouldConvertInitializerOfForStatement(j)?createFunctionForInitializerOfForStatement(j,ce):undefined;var Te=shouldConvertBodyOfIterationStatement(j)?createFunctionForBodyOfIterationStatement(j,ce,_e):undefined;Me=_e;if(Ee)le.push(Ee.functionDeclaration);if(Te)le.push(Te.functionDeclaration);addExtraDeclarationsForConvertedLoop(le,ce,_e);if(Ee){le.push(generateCallToConvertedLoopInitializer(Ee.functionName,Ee.containsYield))}var we;if(Te){if(G){we=G(j,$,Te.part,q)}else{var Ie=convertIterationStatementCore(j,Ee,R.createBlock(Te.part,true));we=R.restoreEnclosingLabel(Ie,$,Me&&resetLabel)}}else{var Ne=convertIterationStatementCore(j,Ee,E.visitNode(j.statement,visitor,E.isStatement,R.liftToBlock));we=R.restoreEnclosingLabel(Ne,$,Me&&resetLabel)}le.push(we);return le}function convertIterationStatementCore(N,R,j){switch(N.kind){case 240:return convertForStatement(N,R,j);case 241:return convertForInStatement(N,j);case 242:return convertForOfStatement(N,j);case 238:return convertDoStatement(N,j);case 239:return convertWhileStatement(N,j);default:return E.Debug.failBadSyntaxKind(N,"IterationStatement expected")}}function convertForStatement(N,j,$){var q=N.condition&&shouldConvertPartOfIterationStatement(N.condition);var G=q||N.incrementor&&shouldConvertPartOfIterationStatement(N.incrementor);return R.updateForStatement(N,E.visitNode(j?j.part:N.initializer,visitorWithUnusedExpressionResult,E.isForInitializer),E.visitNode(q?undefined:N.condition,visitor,E.isExpression),E.visitNode(G?undefined:N.incrementor,visitorWithUnusedExpressionResult,E.isExpression),$)}function convertForOfStatement(N,j){return R.updateForOfStatement(N,undefined,E.visitNode(N.initializer,visitor,E.isForInitializer),E.visitNode(N.expression,visitor,E.isExpression),j)}function convertForInStatement(N,j){return R.updateForInStatement(N,E.visitNode(N.initializer,visitor,E.isForInitializer),E.visitNode(N.expression,visitor,E.isExpression),j)}function convertDoStatement(N,j){return R.updateDoStatement(N,j,E.visitNode(N.expression,visitor,E.isExpression))}function convertWhileStatement(N,j){return R.updateWhileStatement(N,E.visitNode(N.expression,visitor,E.isExpression),j)}function createConvertedLoopState(N){var R;switch(N.kind){case 240:case 241:case 242:var j=N.initializer;if(j&&j.kind===253){R=j}break}var $=[];var q=[];if(R&&E.getCombinedNodeFlags(R)&3){var G=shouldConvertInitializerOfForStatement(N);for(var ie=0,ae=R.declarations;ie<ae.length;ie++){var ce=ae[ie];processLoopVariableDeclaration(N,ce,$,q,G)}}var le={loopParameters:$,loopOutParameters:q};if(Me){if(Me.argumentsName){le.argumentsName=Me.argumentsName}if(Me.thisName){le.thisName=Me.thisName}if(Me.hoistedLocalVariables){le.hoistedLocalVariables=Me.hoistedLocalVariables}}return le}function addExtraDeclarationsForConvertedLoop(E,N,j){var $;if(N.argumentsName){if(j){j.argumentsName=N.argumentsName}else{($||($=[])).push(R.createVariableDeclaration(N.argumentsName,undefined,undefined,R.createIdentifier("arguments")))}}if(N.thisName){if(j){j.thisName=N.thisName}else{($||($=[])).push(R.createVariableDeclaration(N.thisName,undefined,undefined,R.createIdentifier("this")))}}if(N.hoistedLocalVariables){if(j){j.hoistedLocalVariables=N.hoistedLocalVariables}else{if(!$){$=[]}for(var q=0,G=N.hoistedLocalVariables;q<G.length;q++){var ie=G[q];$.push(R.createVariableDeclaration(ie))}}}if(N.loopOutParameters.length){if(!$){$=[]}for(var ae=0,ce=N.loopOutParameters;ae<ce.length;ae++){var le=ce[ae];$.push(R.createVariableDeclaration(le.outParamName))}}if(N.conditionVariable){if(!$){$=[]}$.push(R.createVariableDeclaration(N.conditionVariable,undefined,undefined,R.createFalse()))}if($){E.push(R.createVariableStatement(undefined,R.createVariableDeclarationList($)))}}function createOutVariable(E){return R.createVariableDeclaration(E.originalName,undefined,undefined,E.outParamName)}function createFunctionForInitializerOfForStatement(N,j){var $=R.createUniqueName("_loop_init");var q=(N.initializer.transformFlags&524288)!==0;var G=0;if(j.containsLexicalThis)G|=8;if(q&&Ie&4)G|=262144;var ie=[];ie.push(R.createVariableStatement(undefined,N.initializer));copyOutParameters(j.loopOutParameters,2,1,ie);var ae=R.createVariableStatement(undefined,E.setEmitFlags(R.createVariableDeclarationList([R.createVariableDeclaration($,undefined,undefined,E.setEmitFlags(R.createFunctionExpression(undefined,q?R.createToken(41):undefined,undefined,undefined,undefined,undefined,E.visitNode(R.createBlock(ie,true),visitor,E.isBlock)),G))]),2097152));var ce=R.createVariableDeclarationList(E.map(j.loopOutParameters,createOutVariable));return{functionName:$,containsYield:q,functionDeclaration:ae,part:ce}}function createFunctionForBodyOfIterationStatement(N,j,$){var G=R.createUniqueName("_loop");q();var ae=E.visitNode(N.statement,visitor,E.isStatement,R.liftToBlock);var ce=ie();var le=[];if(shouldConvertConditionOfForStatement(N)||shouldConvertIncrementorOfForStatement(N)){j.conditionVariable=R.createUniqueName("inc");if(N.incrementor){le.push(R.createIfStatement(j.conditionVariable,R.createExpressionStatement(E.visitNode(N.incrementor,visitor,E.isExpression)),R.createExpressionStatement(R.createAssignment(j.conditionVariable,R.createTrue()))))}else{le.push(R.createIfStatement(R.createLogicalNot(j.conditionVariable),R.createExpressionStatement(R.createAssignment(j.conditionVariable,R.createTrue()))))}if(shouldConvertConditionOfForStatement(N)){le.push(R.createIfStatement(R.createPrefixUnaryExpression(53,E.visitNode(N.condition,visitor,E.isExpression)),E.visitNode(R.createBreakStatement(),visitor,E.isStatement)))}}if(E.isBlock(ae)){E.addRange(le,ae.statements)}else{le.push(ae)}copyOutParameters(j.loopOutParameters,1,1,le);E.insertStatementsAfterStandardPrologue(le,ce);var _e=R.createBlock(le,true);if(E.isBlock(ae))E.setOriginalNode(_e,ae);var Ee=(N.statement.transformFlags&524288)!==0;var Te=524288;if(j.containsLexicalThis)Te|=8;if(Ee&&(Ie&4)!==0)Te|=262144;var we=R.createVariableStatement(undefined,E.setEmitFlags(R.createVariableDeclarationList([R.createVariableDeclaration(G,undefined,undefined,E.setEmitFlags(R.createFunctionExpression(undefined,Ee?R.createToken(41):undefined,undefined,undefined,j.loopParameters,undefined,_e),Te))]),2097152));var Ne=generateCallToConvertedLoop(G,j,$,Ee);return{functionName:G,containsYield:Ee,functionDeclaration:we,part:Ne}}function copyOutParameter(E,N){var j=N===0?E.outParamName:E.originalName;var $=N===0?E.originalName:E.outParamName;return R.createBinaryExpression($,63,j)}function copyOutParameters(E,N,j,$){for(var q=0,G=E;q<G.length;q++){var ie=G[q];if(ie.flags&N){$.push(R.createExpressionStatement(copyOutParameter(ie,j)))}}}function generateCallToConvertedLoopInitializer(N,j){var $=R.createCallExpression(N,undefined,[]);var q=j?R.createYieldExpression(R.createToken(41),E.setEmitFlags($,8388608)):$;return R.createExpressionStatement(q)}function generateCallToConvertedLoop(N,j,$,q){var G=[];var ie=!(j.nonLocalJumps&~4)&&!j.labeledNonLocalBreaks&&!j.labeledNonLocalContinues;var ae=R.createCallExpression(N,undefined,E.map(j.loopParameters,(function(E){return E.name})));var ce=q?R.createYieldExpression(R.createToken(41),E.setEmitFlags(ae,8388608)):ae;if(ie){G.push(R.createExpressionStatement(ce));copyOutParameters(j.loopOutParameters,1,0,G)}else{var le=R.createUniqueName("state");var _e=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(le,undefined,undefined,ce)]));G.push(_e);copyOutParameters(j.loopOutParameters,1,0,G);if(j.nonLocalJumps&8){var Ee=void 0;if($){$.nonLocalJumps|=8;Ee=R.createReturnStatement(le)}else{Ee=R.createReturnStatement(R.createPropertyAccessExpression(le,"value"))}G.push(R.createIfStatement(R.createTypeCheck(le,"object"),Ee))}if(j.nonLocalJumps&2){G.push(R.createIfStatement(R.createStrictEquality(le,R.createStringLiteral("break")),R.createBreakStatement()))}if(j.labeledNonLocalBreaks||j.labeledNonLocalContinues){var Te=[];processLabeledJumps(j.labeledNonLocalBreaks,true,le,$,Te);processLabeledJumps(j.labeledNonLocalContinues,false,le,$,Te);G.push(R.createSwitchStatement(le,R.createCaseBlock(Te)))}}return G}function setLabeledJump(N,R,j,$){if(R){if(!N.labeledNonLocalBreaks){N.labeledNonLocalBreaks=new E.Map}N.labeledNonLocalBreaks.set(j,$)}else{if(!N.labeledNonLocalContinues){N.labeledNonLocalContinues=new E.Map}N.labeledNonLocalContinues.set(j,$)}}function processLabeledJumps(E,N,j,$,q){if(!E){return}E.forEach((function(E,G){var ie=[];if(!$||$.labels&&$.labels.get(G)){var ae=R.createIdentifier(G);ie.push(N?R.createBreakStatement(ae):R.createContinueStatement(ae))}else{setLabeledJump($,N,G,E);ie.push(R.createReturnStatement(j))}q.push(R.createCaseClause(R.createStringLiteral(E),ie))}))}function processLoopVariableDeclaration(N,j,$,q,G){var ie=j.name;if(E.isBindingPattern(ie)){for(var ae=0,ce=ie.elements;ae<ce.length;ae++){var _e=ce[ae];if(!E.isOmittedExpression(_e)){processLoopVariableDeclaration(N,_e,$,q,G)}}}else{$.push(R.createParameterDeclaration(undefined,undefined,undefined,ie));var Ee=le.getNodeCheckFlags(j);if(Ee&4194304||G){var Te=R.createUniqueName("out_"+E.idText(ie));var we=0;if(Ee&4194304){we|=1}if(E.isForStatement(N)&&N.initializer&&le.isBindingCapturedByNode(N.initializer,j)){we|=2}q.push({flags:we,originalName:ie,outParamName:Te})}}}function addObjectLiteralMembers(N,R,j,$){var q=R.properties;var G=q.length;for(var ie=$;ie<G;ie++){var ae=q[ie];switch(ae.kind){case 170:case 171:var ce=E.getAllAccessorDeclarations(R.properties,ae);if(ae===ce.firstAccessor){N.push(transformAccessorsToExpression(j,ce,R,!!R.multiLine))}break;case 167:N.push(transformObjectLiteralMethodDeclarationToExpression(ae,j,R,R.multiLine));break;case 291:N.push(transformPropertyAssignmentToExpression(ae,j,R.multiLine));break;case 292:N.push(transformShorthandPropertyAssignmentToExpression(ae,j,R.multiLine));break;default:E.Debug.failBadSyntaxKind(R);break}}}function transformPropertyAssignmentToExpression(N,j,$){var q=R.createAssignment(E.createMemberAccessForPropertyName(R,j,E.visitNode(N.name,visitor,E.isPropertyName)),E.visitNode(N.initializer,visitor,E.isExpression));E.setTextRange(q,N);if($){E.startOnNewLine(q)}return q}function transformShorthandPropertyAssignmentToExpression(N,j,$){var q=R.createAssignment(E.createMemberAccessForPropertyName(R,j,E.visitNode(N.name,visitor,E.isPropertyName)),R.cloneNode(N.name));E.setTextRange(q,N);if($){E.startOnNewLine(q)}return q}function transformObjectLiteralMethodDeclarationToExpression(N,j,$,q){var G=R.createAssignment(E.createMemberAccessForPropertyName(R,j,E.visitNode(N.name,visitor,E.isPropertyName)),transformFunctionLikeToExpression(N,N,undefined,$));E.setTextRange(G,N);if(q){E.startOnNewLine(G)}return G}function visitCatchClause(j){var $=enterSubtree(7104,0);var q;E.Debug.assert(!!j.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015.");if(E.isBindingPattern(j.variableDeclaration.name)){var G=R.createTempVariable(undefined);var ie=R.createVariableDeclaration(G);E.setTextRange(ie,j.variableDeclaration);var ae=E.flattenDestructuringBinding(j.variableDeclaration,visitor,N,0,G);var ce=R.createVariableDeclarationList(ae);E.setTextRange(ce,j.variableDeclaration);var le=R.createVariableStatement(undefined,ce);q=R.updateCatchClause(j,ie,addStatementToStartOfBlock(j.block,le))}else{q=E.visitEachChild(j,visitor,N)}exitSubtree($,0,0);return q}function addStatementToStartOfBlock(N,$){var q=E.visitNodes(N.statements,visitor,E.isStatement);return R.updateBlock(N,j([$],q,true))}function visitMethodDeclaration(N){E.Debug.assert(!E.isComputedPropertyName(N.name));var j=transformFunctionLikeToExpression(N,E.moveRangePos(N,-1),undefined,undefined);E.setEmitFlags(j,512|E.getEmitFlags(j));return E.setTextRange(R.createPropertyAssignment(N.name,j),N)}function visitAccessorDeclaration(j){E.Debug.assert(!E.isComputedPropertyName(j.name));var $=Me;Me=undefined;var q=enterSubtree(32670,65);var G;var ie=E.visitParameterList(j.parameters,visitor,N);var ae=transformFunctionBody(j);if(j.kind===170){G=R.updateGetAccessorDeclaration(j,j.decorators,j.modifiers,j.name,ie,j.type,ae)}else{G=R.updateSetAccessorDeclaration(j,j.decorators,j.modifiers,j.name,ie,ae)}exitSubtree(q,98304,0);Me=$;return G}function visitShorthandPropertyAssignment(N){return E.setTextRange(R.createPropertyAssignment(N.name,visitIdentifier(R.cloneNode(N.name))),N)}function visitComputedPropertyName(R){return E.visitEachChild(R,visitor,N)}function visitYieldExpression(R){return E.visitEachChild(R,visitor,N)}function visitArrayLiteralExpression(R){if(E.some(R.elements,E.isSpreadElement)){return transformAndSpreadElements(R.elements,false,!!R.multiLine,!!R.elements.hasTrailingComma)}return E.visitEachChild(R,visitor,N)}function visitCallExpression(N){if(E.getEmitFlags(N)&33554432){return visitTypeScriptClassWrapper(N)}var j=E.skipOuterExpressions(N.expression);if(j.kind===106||E.isSuperProperty(j)||E.some(N.arguments,E.isSpreadElement)){return visitCallExpressionWithPotentialCapturedThisAssignment(N,true)}return R.updateCallExpression(N,E.visitNode(N.expression,callExpressionVisitor,E.isExpression),undefined,E.visitNodes(N.arguments,visitor,E.isExpression))}function visitTypeScriptClassWrapper(N){var j=E.cast(E.cast(E.skipOuterExpressions(N.expression),E.isArrowFunction).body,E.isBlock);var isVariableStatementWithInitializer=function(N){return E.isVariableStatement(N)&&!!E.first(N.declarationList.declarations).initializer};var $=Me;Me=undefined;var q=E.visitNodes(j.statements,classWrapperStatementVisitor,E.isStatement);Me=$;var G=E.filter(q,isVariableStatementWithInitializer);var ie=E.filter(q,(function(E){return!isVariableStatementWithInitializer(E)}));var ae=E.cast(E.first(G),E.isVariableStatement);var ce=ae.declarationList.declarations[0];var le=E.skipOuterExpressions(ce.initializer);var _e=E.tryCast(le,E.isAssignmentExpression);if(!_e&&E.isBinaryExpression(le)&&le.operatorToken.kind===27){_e=E.tryCast(le.left,E.isAssignmentExpression)}var Ee=E.cast(_e?E.skipOuterExpressions(_e.right):le,E.isCallExpression);var Te=E.cast(E.skipOuterExpressions(Ee.expression),E.isFunctionExpression);var we=Te.body.statements;var Ie=0;var Ne=-1;var Le=[];if(_e){var Be=E.tryCast(we[Ie],E.isExpressionStatement);if(Be){Le.push(Be);Ie++}Le.push(we[Ie]);Ie++;Le.push(R.createExpressionStatement(R.createAssignment(_e.left,E.cast(ce.name,E.isIdentifier))))}while(!E.isReturnStatement(E.elementAt(we,Ne))){Ne--}E.addRange(Le,we,Ie,Ne);if(Ne<-1){E.addRange(Le,we,Ne+1)}E.addRange(Le,ie);E.addRange(Le,G,1);return R.restoreOuterExpressions(N.expression,R.restoreOuterExpressions(ce.initializer,R.restoreOuterExpressions(_e&&_e.right,R.updateCallExpression(Ee,R.restoreOuterExpressions(Ee.expression,R.updateFunctionExpression(Te,undefined,undefined,undefined,undefined,Te.parameters,undefined,R.updateBlock(Te.body,Le))),undefined,Ee.arguments))))}function visitImmediateSuperCallInBody(E){return visitCallExpressionWithPotentialCapturedThisAssignment(E,false)}function visitCallExpressionWithPotentialCapturedThisAssignment(j,$){if(j.transformFlags&16384||j.expression.kind===106||E.isSuperProperty(E.skipOuterExpressions(j.expression))){var q=R.createCallBinding(j.expression,ae),G=q.target,ie=q.thisArg;if(j.expression.kind===106){E.setEmitFlags(ie,4)}var ce=void 0;if(j.transformFlags&16384){ce=R.createFunctionApplyCall(E.visitNode(G,callExpressionVisitor,E.isExpression),j.expression.kind===106?ie:E.visitNode(ie,visitor,E.isExpression),transformAndSpreadElements(j.arguments,true,false,false))}else{ce=E.setTextRange(R.createFunctionCallCall(E.visitNode(G,callExpressionVisitor,E.isExpression),j.expression.kind===106?ie:E.visitNode(ie,visitor,E.isExpression),E.visitNodes(j.arguments,visitor,E.isExpression)),j)}if(j.expression.kind===106){var le=R.createLogicalOr(ce,createActualThis());ce=$?R.createAssignment(R.createUniqueName("_this",16|32),le):le}return E.setOriginalNode(ce,j)}return E.visitEachChild(j,visitor,N)}function visitNewExpression($){if(E.some($.arguments,E.isSpreadElement)){var q=R.createCallBinding(R.createPropertyAccessExpression($.expression,"bind"),ae),G=q.target,ie=q.thisArg;return R.createNewExpression(R.createFunctionApplyCall(E.visitNode(G,visitor,E.isExpression),ie,transformAndSpreadElements(R.createNodeArray(j([R.createVoidZero()],$.arguments,true)),true,false,false)),undefined,[])}return E.visitEachChild($,visitor,N)}function transformAndSpreadElements(N,j,q,G){var ie=N.length;var ae=E.flatten(E.spanMap(N,partitionSpread,(function(E,N,R,j){return N(E,q,G&&j===ie)})));if(ae.length===1){var le=ae[0];if(j&&!ce.downlevelIteration||E.isPackedArrayLiteral(le.expression)||E.isCallToHelper(le.expression,"___spreadArray")){return le.expression}}var _e=$();var Ee=ae[0].kind!==0;var Te=Ee?R.createArrayLiteralExpression():ae[0].expression;for(var we=Ee?0:1;we<ae.length;we++){var Ie=ae[we];Te=_e.createSpreadArrayHelper(Te,Ie.expression,Ie.kind===1&&!j)}return Te}function partitionSpread(N){return E.isSpreadElement(N)?visitSpanOfSpreads:visitSpanOfNonSpreads}function visitSpanOfSpreads(N){return E.map(N,visitExpressionOfSpread)}function visitExpressionOfSpread(N){var R=E.visitNode(N.expression,visitor,E.isExpression);var j=E.isCallToHelper(R,"___read");var q=j||E.isPackedArrayLiteral(R)?2:1;if(ce.downlevelIteration&&q===1&&!E.isArrayLiteralExpression(R)&&!j){R=$().createReadHelper(R,undefined);q=2}return createSpreadSegment(q,R)}function visitSpanOfNonSpreads(N,j,$){var q=R.createArrayLiteralExpression(E.visitNodes(R.createNodeArray(N,$),visitor,E.isExpression),j);return createSpreadSegment(0,q)}function visitSpreadElement(N){return E.visitNode(N.expression,visitor,E.isExpression)}function visitTemplateLiteral(N){return E.setTextRange(R.createStringLiteral(N.text),N)}function visitStringLiteral(N){if(N.hasExtendedUnicodeEscape){return E.setTextRange(R.createStringLiteral(N.text),N)}return N}function visitNumericLiteral(N){if(N.numericLiteralFlags&384){return E.setTextRange(R.createNumericLiteral(N.text),N)}return N}function visitTaggedTemplateExpression(R){return E.processTaggedTemplateExpression(N,R,visitor,Te,recordTaggedTemplateString,E.ProcessLevel.All)}function visitTemplateExpression(N){var j=[];addTemplateHead(j,N);addTemplateSpans(j,N);var $=E.reduceLeft(j,R.createAdd);if(E.nodeIsSynthesized($)){E.setTextRange($,N)}return $}function shouldAddTemplateHead(N){E.Debug.assert(N.templateSpans.length!==0);return N.head.text.length!==0||N.templateSpans[0].literal.text.length===0}function addTemplateHead(E,N){if(!shouldAddTemplateHead(N)){return}E.push(R.createStringLiteral(N.head.text))}function addTemplateSpans(N,j){for(var $=0,q=j.templateSpans;$<q.length;$++){var G=q[$];N.push(E.visitNode(G.expression,visitor,E.isExpression));if(G.literal.text.length!==0){N.push(R.createStringLiteral(G.literal.text))}}}function visitSuperKeyword(E){return Ie&8&&!E?R.createPropertyAccessExpression(R.createUniqueName("_super",16|32),"prototype"):R.createUniqueName("_super",16|32)}function visitMetaProperty(E){if(E.keywordToken===103&&E.name.escapedText==="target"){Ie|=32768;return R.createUniqueName("_newTarget",16|32)}return E}function onEmitNode(N,R,j){if(Le&1&&E.isFunctionLike(R)){var $=enterSubtree(32670,E.getEmitFlags(R)&8?65|16:65);Ee(N,R,j);exitSubtree($,0,0);return}Ee(N,R,j)}function enableSubstitutionsForBlockScopedBindings(){if((Le&2)===0){Le|=2;N.enableSubstitution(79)}}function enableSubstitutionsForCapturedThis(){if((Le&1)===0){Le|=1;N.enableSubstitution(108);N.enableEmitNotification(169);N.enableEmitNotification(167);N.enableEmitNotification(170);N.enableEmitNotification(171);N.enableEmitNotification(212);N.enableEmitNotification(211);N.enableEmitNotification(254)}}function onSubstituteNode(N,R){R=_e(N,R);if(N===1){return substituteExpression(R)}if(E.isIdentifier(R)){return substituteIdentifier(R)}return R}function substituteIdentifier(N){if(Le&2&&!E.isInternalName(N)){var j=E.getParseTreeNode(N,E.isIdentifier);if(j&&isNameOfDeclarationWithCollidingName(j)){return E.setTextRange(R.getGeneratedNameForNode(j),N)}}return N}function isNameOfDeclarationWithCollidingName(E){switch(E.parent.kind){case 201:case 255:case 258:case 252:return E.parent.name===E&&le.isDeclarationWithCollidingName(E.parent)}return false}function substituteExpression(E){switch(E.kind){case 79:return substituteExpressionIdentifier(E);case 108:return substituteThisKeyword(E)}return E}function substituteExpressionIdentifier(N){if(Le&2&&!E.isInternalName(N)){var j=le.getReferencedDeclarationWithCollidingName(N);if(j&&!(E.isClassLike(j)&&isPartOfClassBody(j,N))){return E.setTextRange(R.getGeneratedNameForNode(E.getNameOfDeclaration(j)),N)}}return N}function isPartOfClassBody(N,R){var j=E.getParseTreeNode(R);if(!j||j===N||j.end<=N.pos||j.pos>=N.end){return false}var $=E.getEnclosingBlockScopeContainer(N);while(j){if(j===$||j===N){return false}if(E.isClassElement(j)&&j.parent===N){return true}j=j.parent}return false}function substituteThisKeyword(N){if(Le&1&&Ie&16){return E.setTextRange(R.createUniqueName("_this",16|32),N)}return N}function getClassMemberPrefix(N,j){return E.isStatic(j)?R.getInternalName(N):R.createPropertyAccessExpression(R.getInternalName(N),"prototype")}function hasSynthesizedDefaultSuperCall(N,R){if(!N||!R){return false}if(E.some(N.parameters)){return false}var j=E.firstOrUndefined(N.body.statements);if(!j||!E.nodeIsSynthesized(j)||j.kind!==236){return false}var $=j.expression;if(!E.nodeIsSynthesized($)||$.kind!==206){return false}var q=$.expression;if(!E.nodeIsSynthesized(q)||q.kind!==106){return false}var G=E.singleOrUndefined($.arguments);if(!G||!E.nodeIsSynthesized(G)||G.kind!==223){return false}var ie=G.expression;return E.isIdentifier(ie)&&ie.escapedText==="arguments"}}E.transformES2015=transformES2015})(ce||(ce={}));var ce;(function(E){function transformES5(N){var R=N.factory;var j=N.getCompilerOptions();var $;var q;if(j.jsx===1||j.jsx===3){$=N.onEmitNode;N.onEmitNode=onEmitNode;N.enableEmitNotification(278);N.enableEmitNotification(279);N.enableEmitNotification(277);q=[]}var G=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;N.enableSubstitution(204);N.enableSubstitution(291);return E.chainBundle(N,transformSourceFile);function transformSourceFile(E){return E}function onEmitNode(N,R,j){switch(R.kind){case 278:case 279:case 277:var G=R.tagName;q[E.getOriginalNodeId(G)]=true;break}$(N,R,j)}function onSubstituteNode(N,R){if(R.id&&q&&q[R.id]){return G(N,R)}R=G(N,R);if(E.isPropertyAccessExpression(R)){return substitutePropertyAccessExpression(R)}else if(E.isPropertyAssignment(R)){return substitutePropertyAssignment(R)}return R}function substitutePropertyAccessExpression(N){if(E.isPrivateIdentifier(N.name)){return N}var j=trySubstituteReservedName(N.name);if(j){return E.setTextRange(R.createElementAccessExpression(N.expression,j),N)}return N}function substitutePropertyAssignment(N){var j=E.isIdentifier(N.name)&&trySubstituteReservedName(N.name);if(j){return R.updatePropertyAssignment(N,j,N.initializer)}return N}function trySubstituteReservedName(N){var j=N.originalKeywordKind||(E.nodeIsSynthesized(N)?E.stringToToken(E.idText(N)):undefined);if(j!==undefined&&j>=81&&j<=116){return E.setTextRange(R.createStringLiteralFromNode(N),N)}return undefined}}E.transformES5=transformES5})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Nop"]=0]="Nop";E[E["Statement"]=1]="Statement";E[E["Assign"]=2]="Assign";E[E["Break"]=3]="Break";E[E["BreakWhenTrue"]=4]="BreakWhenTrue";E[E["BreakWhenFalse"]=5]="BreakWhenFalse";E[E["Yield"]=6]="Yield";E[E["YieldStar"]=7]="YieldStar";E[E["Return"]=8]="Return";E[E["Throw"]=9]="Throw";E[E["Endfinally"]=10]="Endfinally"})(N||(N={}));var R;(function(E){E[E["Open"]=0]="Open";E[E["Close"]=1]="Close"})(R||(R={}));var $;(function(E){E[E["Exception"]=0]="Exception";E[E["With"]=1]="With";E[E["Switch"]=2]="Switch";E[E["Loop"]=3]="Loop";E[E["Labeled"]=4]="Labeled"})($||($={}));var q;(function(E){E[E["Try"]=0]="Try";E[E["Catch"]=1]="Catch";E[E["Finally"]=2]="Finally";E[E["Done"]=3]="Done"})(q||(q={}));var G;(function(E){E[E["Next"]=0]="Next";E[E["Throw"]=1]="Throw";E[E["Return"]=2]="Return";E[E["Break"]=3]="Break";E[E["Yield"]=4]="Yield";E[E["YieldStar"]=5]="YieldStar";E[E["Catch"]=6]="Catch";E[E["Endfinally"]=7]="Endfinally"})(G||(G={}));function getInstructionName(E){switch(E){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return undefined}}function transformGenerators(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistFunctionDeclaration,ae=N.hoistVariableDeclaration;var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e=N.getEmitResolver();var Ee=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We=1;var Je;var Ve;var qe;var He;var Ge=0;var Ke=0;var Qe;var Xe;var Ye;var Ze;var et;var tt;var rt;var nt;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile||(R.transformFlags&1024)===0){return R}var j=E.visitEachChild(R,visitor,N);E.addEmitHelpers(j,N.readEmitHelpers());return j}function visitor(R){var j=R.transformFlags;if(Ne){return visitJavaScriptInStatementContainingYield(R)}else if(Ie){return visitJavaScriptInGeneratorFunctionBody(R)}else if(E.isFunctionLikeDeclaration(R)&&R.asteriskToken){return visitGenerator(R)}else if(j&1024){return E.visitEachChild(R,visitor,N)}else{return R}}function visitJavaScriptInStatementContainingYield(E){switch(E.kind){case 238:return visitDoStatement(E);case 239:return visitWhileStatement(E);case 247:return visitSwitchStatement(E);case 248:return visitLabeledStatement(E);default:return visitJavaScriptInGeneratorFunctionBody(E)}}function visitJavaScriptInGeneratorFunctionBody(R){switch(R.kind){case 254:return visitFunctionDeclaration(R);case 211:return visitFunctionExpression(R);case 170:case 171:return visitAccessorDeclaration(R);case 235:return visitVariableStatement(R);case 240:return visitForStatement(R);case 241:return visitForInStatement(R);case 244:return visitBreakStatement(R);case 243:return visitContinueStatement(R);case 245:return visitReturnStatement(R);default:if(R.transformFlags&524288){return visitJavaScriptContainingYield(R)}else if(R.transformFlags&(1024|2097152)){return E.visitEachChild(R,visitor,N)}else{return R}}}function visitJavaScriptContainingYield(R){switch(R.kind){case 219:return visitBinaryExpression(R);case 346:return visitCommaListExpression(R);case 220:return visitConditionalExpression(R);case 222:return visitYieldExpression(R);case 202:return visitArrayLiteralExpression(R);case 203:return visitObjectLiteralExpression(R);case 205:return visitElementAccessExpression(R);case 206:return visitCallExpression(R);case 207:return visitNewExpression(R);default:return E.visitEachChild(R,visitor,N)}}function visitGenerator(N){switch(N.kind){case 254:return visitFunctionDeclaration(N);case 211:return visitFunctionExpression(N);default:return E.Debug.failBadSyntaxKind(N)}}function visitFunctionDeclaration(j){if(j.asteriskToken){j=E.setOriginalNode(E.setTextRange(R.createFunctionDeclaration(undefined,j.modifiers,undefined,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformGeneratorFunctionBody(j.body)),j),j)}else{var $=Ie;var q=Ne;Ie=false;Ne=false;j=E.visitEachChild(j,visitor,N);Ie=$;Ne=q}if(Ie){ie(j);return undefined}else{return j}}function visitFunctionExpression(j){if(j.asteriskToken){j=E.setOriginalNode(E.setTextRange(R.createFunctionExpression(undefined,undefined,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformGeneratorFunctionBody(j.body)),j),j)}else{var $=Ie;var q=Ne;Ie=false;Ne=false;j=E.visitEachChild(j,visitor,N);Ie=$;Ne=q}return j}function visitAccessorDeclaration(R){var j=Ie;var $=Ne;Ie=false;Ne=false;R=E.visitEachChild(R,visitor,N);Ie=j;Ne=$;return R}function transformGeneratorFunctionBody(N){var j=[];var $=Ie;var ie=Ne;var ae=Me;var ce=Le;var le=Be;var _e=je;var Ee=Ue;var Te=ze;var we=We;var Ge=Je;var Ke=Ve;var Qe=qe;var Xe=He;Ie=true;Ne=false;Me=undefined;Le=undefined;Be=undefined;je=undefined;Ue=undefined;ze=undefined;We=1;Je=undefined;Ve=undefined;qe=undefined;He=R.createTempVariable(undefined);q();var Ye=R.copyPrologue(N.statements,j,false,visitor);transformAndEmitStatements(N.statements,Ye);var Ze=build();E.insertStatementsAfterStandardPrologue(j,G());j.push(R.createReturnStatement(Ze));Ie=$;Ne=ie;Me=ae;Le=ce;Be=le;je=_e;Ue=Ee;ze=Te;We=we;Je=Ge;Ve=Ke;qe=Qe;He=Xe;return E.setTextRange(R.createBlock(j,N.multiLine),N)}function visitVariableStatement(N){if(N.transformFlags&524288){transformAndEmitVariableDeclarationList(N.declarationList);return undefined}else{if(E.getEmitFlags(N)&1048576){return N}for(var j=0,$=N.declarationList.declarations;j<$.length;j++){var q=$[j];ae(q.name)}var G=E.getInitializedVariables(N.declarationList);if(G.length===0){return undefined}return E.setSourceMapRange(R.createExpressionStatement(R.inlineExpressions(E.map(G,transformInitializedVariable))),N)}}function visitBinaryExpression(N){var R=E.getExpressionAssociativity(N);switch(R){case 0:return visitLeftAssociativeBinaryExpression(N);case 1:return visitRightAssociativeBinaryExpression(N);default:return E.Debug.assertNever(R)}}function visitRightAssociativeBinaryExpression(j){var $=j.left,q=j.right;if(containsYield(q)){var G=void 0;switch($.kind){case 204:G=R.updatePropertyAccessExpression($,cacheExpression(E.visitNode($.expression,visitor,E.isLeftHandSideExpression)),$.name);break;case 205:G=R.updateElementAccessExpression($,cacheExpression(E.visitNode($.expression,visitor,E.isLeftHandSideExpression)),cacheExpression(E.visitNode($.argumentExpression,visitor,E.isExpression)));break;default:G=E.visitNode($,visitor,E.isExpression);break}var ie=j.operatorToken.kind;if(E.isCompoundAssignment(ie)){return E.setTextRange(R.createAssignment(G,E.setTextRange(R.createBinaryExpression(cacheExpression(G),E.getNonAssignmentOperatorForCompoundAssignment(ie),E.visitNode(q,visitor,E.isExpression)),j)),j)}else{return R.updateBinaryExpression(j,G,j.operatorToken,E.visitNode(q,visitor,E.isExpression))}}return E.visitEachChild(j,visitor,N)}function visitLeftAssociativeBinaryExpression(j){if(containsYield(j.right)){if(E.isLogicalOperator(j.operatorToken.kind)){return visitLogicalBinaryExpression(j)}else if(j.operatorToken.kind===27){return visitCommaExpression(j)}return R.updateBinaryExpression(j,cacheExpression(E.visitNode(j.left,visitor,E.isExpression)),j.operatorToken,E.visitNode(j.right,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaExpression(N){var j=[];visit(N.left);visit(N.right);return R.inlineExpressions(j);function visit(N){if(E.isBinaryExpression(N)&&N.operatorToken.kind===27){visit(N.left);visit(N.right)}else{if(containsYield(N)&&j.length>0){emitWorker(1,[R.createExpressionStatement(R.inlineExpressions(j))]);j=[]}j.push(E.visitNode(N,visitor,E.isExpression))}}}function visitCommaListExpression(N){var j=[];for(var $=0,q=N.elements;$<q.length;$++){var G=q[$];if(E.isBinaryExpression(G)&&G.operatorToken.kind===27){j.push(visitCommaExpression(G))}else{if(containsYield(G)&&j.length>0){emitWorker(1,[R.createExpressionStatement(R.inlineExpressions(j))]);j=[]}j.push(E.visitNode(G,visitor,E.isExpression))}}return R.inlineExpressions(j)}function visitLogicalBinaryExpression(N){var R=defineLabel();var j=declareLocal();emitAssignment(j,E.visitNode(N.left,visitor,E.isExpression),N.left);if(N.operatorToken.kind===55){emitBreakWhenFalse(R,j,N.left)}else{emitBreakWhenTrue(R,j,N.left)}emitAssignment(j,E.visitNode(N.right,visitor,E.isExpression),N.right);markLabel(R);return j}function visitConditionalExpression(R){if(containsYield(R.whenTrue)||containsYield(R.whenFalse)){var j=defineLabel();var $=defineLabel();var q=declareLocal();emitBreakWhenFalse(j,E.visitNode(R.condition,visitor,E.isExpression),R.condition);emitAssignment(q,E.visitNode(R.whenTrue,visitor,E.isExpression),R.whenTrue);emitBreak($);markLabel(j);emitAssignment(q,E.visitNode(R.whenFalse,visitor,E.isExpression),R.whenFalse);markLabel($);return q}return E.visitEachChild(R,visitor,N)}function visitYieldExpression(N){var R=defineLabel();var j=E.visitNode(N.expression,visitor,E.isExpression);if(N.asteriskToken){var q=(E.getEmitFlags(N.expression)&8388608)===0?E.setTextRange($().createValuesHelper(j),N):j;emitYieldStar(q,N)}else{emitYield(j,N)}markLabel(R);return createGeneratorResume(N)}function visitArrayLiteralExpression(E){return visitElements(E.elements,undefined,undefined,E.multiLine)}function visitElements(N,$,q,G){var ie=countInitialNodesWithoutYield(N);var ae;if(ie>0){ae=declareLocal();var ce=E.visitNodes(N,visitor,E.isExpression,0,ie);emitAssignment(ae,R.createArrayLiteralExpression($?j([$],ce,true):ce));$=undefined}var le=E.reduceLeft(N,reduceElement,[],ie);return ae?R.createArrayConcatCall(ae,[R.createArrayLiteralExpression(le,G)]):E.setTextRange(R.createArrayLiteralExpression($?j([$],le,true):le,G),q);function reduceElement(N,q){if(containsYield(q)&&N.length>0){var ie=ae!==undefined;if(!ae){ae=declareLocal()}emitAssignment(ae,ie?R.createArrayConcatCall(ae,[R.createArrayLiteralExpression(N,G)]):R.createArrayLiteralExpression($?j([$],N,true):N,G));$=undefined;N=[]}N.push(E.visitNode(q,visitor,E.isExpression));return N}}function visitObjectLiteralExpression(N){var j=N.properties;var $=N.multiLine;var q=countInitialNodesWithoutYield(j);var G=declareLocal();emitAssignment(G,R.createObjectLiteralExpression(E.visitNodes(j,visitor,E.isObjectLiteralElementLike,0,q),$));var ie=E.reduceLeft(j,reduceProperty,[],q);ie.push($?E.startOnNewLine(E.setParent(E.setTextRange(R.cloneNode(G),G),G.parent)):G);return R.inlineExpressions(ie);function reduceProperty(j,q){if(containsYield(q)&&j.length>0){emitStatement(R.createExpressionStatement(R.inlineExpressions(j)));j=[]}var ie=E.createExpressionForObjectLiteralElementLike(R,N,q,G);var ae=E.visitNode(ie,visitor,E.isExpression);if(ae){if($){E.startOnNewLine(ae)}j.push(ae)}return j}}function visitElementAccessExpression(j){if(containsYield(j.argumentExpression)){return R.updateElementAccessExpression(j,cacheExpression(E.visitNode(j.expression,visitor,E.isLeftHandSideExpression)),E.visitNode(j.argumentExpression,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCallExpression(j){if(!E.isImportCall(j)&&E.forEach(j.arguments,containsYield)){var $=R.createCallBinding(j.expression,ae,le,true),q=$.target,G=$.thisArg;return E.setOriginalNode(E.setTextRange(R.createFunctionApplyCall(cacheExpression(E.visitNode(q,visitor,E.isLeftHandSideExpression)),G,visitElements(j.arguments)),j),j)}return E.visitEachChild(j,visitor,N)}function visitNewExpression(j){if(E.forEach(j.arguments,containsYield)){var $=R.createCallBinding(R.createPropertyAccessExpression(j.expression,"bind"),ae),q=$.target,G=$.thisArg;return E.setOriginalNode(E.setTextRange(R.createNewExpression(R.createFunctionApplyCall(cacheExpression(E.visitNode(q,visitor,E.isExpression)),G,visitElements(j.arguments,R.createVoidZero())),undefined,[]),j),j)}return E.visitEachChild(j,visitor,N)}function transformAndEmitStatements(E,N){if(N===void 0){N=0}var R=E.length;for(var j=N;j<R;j++){transformAndEmitStatement(E[j])}}function transformAndEmitEmbeddedStatement(N){if(E.isBlock(N)){transformAndEmitStatements(N.statements)}else{transformAndEmitStatement(N)}}function transformAndEmitStatement(E){var N=Ne;if(!Ne){Ne=containsYield(E)}transformAndEmitStatementWorker(E);Ne=N}function transformAndEmitStatementWorker(N){switch(N.kind){case 233:return transformAndEmitBlock(N);case 236:return transformAndEmitExpressionStatement(N);case 237:return transformAndEmitIfStatement(N);case 238:return transformAndEmitDoStatement(N);case 239:return transformAndEmitWhileStatement(N);case 240:return transformAndEmitForStatement(N);case 241:return transformAndEmitForInStatement(N);case 243:return transformAndEmitContinueStatement(N);case 244:return transformAndEmitBreakStatement(N);case 245:return transformAndEmitReturnStatement(N);case 246:return transformAndEmitWithStatement(N);case 247:return transformAndEmitSwitchStatement(N);case 248:return transformAndEmitLabeledStatement(N);case 249:return transformAndEmitThrowStatement(N);case 250:return transformAndEmitTryStatement(N);default:return emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitBlock(N){if(containsYield(N)){transformAndEmitStatements(N.statements)}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitExpressionStatement(N){emitStatement(E.visitNode(N,visitor,E.isStatement))}function transformAndEmitVariableDeclarationList(N){for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];var G=R.cloneNode(q.name);E.setCommentRange(G,q.name);ae(G)}var ie=E.getInitializedVariables(N);var ce=ie.length;var le=0;var _e=[];while(le<ce){for(var Ee=le;Ee<ce;Ee++){var q=ie[Ee];if(containsYield(q.initializer)&&_e.length>0){break}_e.push(transformInitializedVariable(q))}if(_e.length){emitStatement(R.createExpressionStatement(R.inlineExpressions(_e)));le+=_e.length;_e=[]}}return undefined}function transformInitializedVariable(N){return E.setSourceMapRange(R.createAssignment(E.setSourceMapRange(R.cloneNode(N.name),N.name),E.visitNode(N.initializer,visitor,E.isExpression)),N)}function transformAndEmitIfStatement(N){if(containsYield(N)){if(containsYield(N.thenStatement)||containsYield(N.elseStatement)){var R=defineLabel();var j=N.elseStatement?defineLabel():undefined;emitBreakWhenFalse(N.elseStatement?j:R,E.visitNode(N.expression,visitor,E.isExpression),N.expression);transformAndEmitEmbeddedStatement(N.thenStatement);if(N.elseStatement){emitBreak(R);markLabel(j);transformAndEmitEmbeddedStatement(N.elseStatement)}markLabel(R)}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitDoStatement(N){if(containsYield(N)){var R=defineLabel();var j=defineLabel();beginLoopBlock(R);markLabel(j);transformAndEmitEmbeddedStatement(N.statement);markLabel(R);emitBreakWhenTrue(j,E.visitNode(N.expression,visitor,E.isExpression));endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitDoStatement(R){if(Ne){beginScriptLoopBlock();R=E.visitEachChild(R,visitor,N);endLoopBlock();return R}else{return E.visitEachChild(R,visitor,N)}}function transformAndEmitWhileStatement(N){if(containsYield(N)){var R=defineLabel();var j=beginLoopBlock(R);markLabel(R);emitBreakWhenFalse(j,E.visitNode(N.expression,visitor,E.isExpression));transformAndEmitEmbeddedStatement(N.statement);emitBreak(R);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitWhileStatement(R){if(Ne){beginScriptLoopBlock();R=E.visitEachChild(R,visitor,N);endLoopBlock();return R}else{return E.visitEachChild(R,visitor,N)}}function transformAndEmitForStatement(N){if(containsYield(N)){var j=defineLabel();var $=defineLabel();var q=beginLoopBlock($);if(N.initializer){var G=N.initializer;if(E.isVariableDeclarationList(G)){transformAndEmitVariableDeclarationList(G)}else{emitStatement(E.setTextRange(R.createExpressionStatement(E.visitNode(G,visitor,E.isExpression)),G))}}markLabel(j);if(N.condition){emitBreakWhenFalse(q,E.visitNode(N.condition,visitor,E.isExpression))}transformAndEmitEmbeddedStatement(N.statement);markLabel($);if(N.incrementor){emitStatement(E.setTextRange(R.createExpressionStatement(E.visitNode(N.incrementor,visitor,E.isExpression)),N.incrementor))}emitBreak(j);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitForStatement(j){if(Ne){beginScriptLoopBlock()}var $=j.initializer;if($&&E.isVariableDeclarationList($)){for(var q=0,G=$.declarations;q<G.length;q++){var ie=G[q];ae(ie.name)}var ce=E.getInitializedVariables($);j=R.updateForStatement(j,ce.length>0?R.inlineExpressions(E.map(ce,transformInitializedVariable)):undefined,E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitor,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}else{j=E.visitEachChild(j,visitor,N)}if(Ne){endLoopBlock()}return j}function transformAndEmitForInStatement(N){if(containsYield(N)){var j=declareLocal();var $=declareLocal();var q=R.createLoopVariable();var G=N.initializer;ae(q);emitAssignment(j,R.createArrayLiteralExpression());emitStatement(R.createForInStatement($,E.visitNode(N.expression,visitor,E.isExpression),R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(j,"push"),undefined,[$]))));emitAssignment(q,R.createNumericLiteral(0));var ie=defineLabel();var ce=defineLabel();var le=beginLoopBlock(ce);markLabel(ie);emitBreakWhenFalse(le,R.createLessThan(q,R.createPropertyAccessExpression(j,"length")));var _e=void 0;if(E.isVariableDeclarationList(G)){for(var Ee=0,Te=G.declarations;Ee<Te.length;Ee++){var we=Te[Ee];ae(we.name)}_e=R.cloneNode(G.declarations[0].name)}else{_e=E.visitNode(G,visitor,E.isExpression);E.Debug.assert(E.isLeftHandSideExpression(_e))}emitAssignment(_e,R.createElementAccessExpression(j,q));transformAndEmitEmbeddedStatement(N.statement);markLabel(ce);emitStatement(R.createExpressionStatement(R.createPostfixIncrement(q)));emitBreak(ie);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitForInStatement(j){if(Ne){beginScriptLoopBlock()}var $=j.initializer;if(E.isVariableDeclarationList($)){for(var q=0,G=$.declarations;q<G.length;q++){var ie=G[q];ae(ie.name)}j=R.updateForInStatement(j,$.declarations[0].name,E.visitNode(j.expression,visitor,E.isExpression),E.visitNode(j.statement,visitor,E.isStatement,R.liftToBlock))}else{j=E.visitEachChild(j,visitor,N)}if(Ne){endLoopBlock()}return j}function transformAndEmitContinueStatement(N){var R=findContinueTarget(N.label?E.idText(N.label):undefined);if(R>0){emitBreak(R,N)}else{emitStatement(N)}}function visitContinueStatement(R){if(Ne){var j=findContinueTarget(R.label&&E.idText(R.label));if(j>0){return createInlineBreak(j,R)}}return E.visitEachChild(R,visitor,N)}function transformAndEmitBreakStatement(N){var R=findBreakTarget(N.label?E.idText(N.label):undefined);if(R>0){emitBreak(R,N)}else{emitStatement(N)}}function visitBreakStatement(R){if(Ne){var j=findBreakTarget(R.label&&E.idText(R.label));if(j>0){return createInlineBreak(j,R)}}return E.visitEachChild(R,visitor,N)}function transformAndEmitReturnStatement(N){emitReturn(E.visitNode(N.expression,visitor,E.isExpression),N)}function visitReturnStatement(N){return createInlineReturn(E.visitNode(N.expression,visitor,E.isExpression),N)}function transformAndEmitWithStatement(N){if(containsYield(N)){beginWithBlock(cacheExpression(E.visitNode(N.expression,visitor,E.isExpression)));transformAndEmitEmbeddedStatement(N.statement);endWithBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitSwitchStatement(N){if(containsYield(N.caseBlock)){var j=N.caseBlock;var $=j.clauses.length;var q=beginSwitchBlock();var G=cacheExpression(E.visitNode(N.expression,visitor,E.isExpression));var ie=[];var ae=-1;for(var ce=0;ce<$;ce++){var le=j.clauses[ce];ie.push(defineLabel());if(le.kind===288&&ae===-1){ae=ce}}var _e=0;var Ee=[];while(_e<$){var Te=0;for(var ce=_e;ce<$;ce++){var le=j.clauses[ce];if(le.kind===287){if(containsYield(le.expression)&&Ee.length>0){break}Ee.push(R.createCaseClause(E.visitNode(le.expression,visitor,E.isExpression),[createInlineBreak(ie[ce],le.expression)]))}else{Te++}}if(Ee.length){emitStatement(R.createSwitchStatement(G,R.createCaseBlock(Ee)));_e+=Ee.length;Ee=[]}if(Te>0){_e+=Te;Te=0}}if(ae>=0){emitBreak(ie[ae])}else{emitBreak(q)}for(var ce=0;ce<$;ce++){markLabel(ie[ce]);transformAndEmitStatements(j.clauses[ce].statements)}endSwitchBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitSwitchStatement(R){if(Ne){beginScriptSwitchBlock()}R=E.visitEachChild(R,visitor,N);if(Ne){endSwitchBlock()}return R}function transformAndEmitLabeledStatement(N){if(containsYield(N)){beginLabeledBlock(E.idText(N.label));transformAndEmitEmbeddedStatement(N.statement);endLabeledBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitLabeledStatement(R){if(Ne){beginScriptLabeledBlock(E.idText(R.label))}R=E.visitEachChild(R,visitor,N);if(Ne){endLabeledBlock()}return R}function transformAndEmitThrowStatement(N){var j;emitThrow(E.visitNode((j=N.expression)!==null&&j!==void 0?j:R.createVoidZero(),visitor,E.isExpression),N)}function transformAndEmitTryStatement(R){if(containsYield(R)){beginExceptionBlock();transformAndEmitEmbeddedStatement(R.tryBlock);if(R.catchClause){beginCatchBlock(R.catchClause.variableDeclaration);transformAndEmitEmbeddedStatement(R.catchClause.block)}if(R.finallyBlock){beginFinallyBlock();transformAndEmitEmbeddedStatement(R.finallyBlock)}endExceptionBlock()}else{emitStatement(E.visitEachChild(R,visitor,N))}}function containsYield(E){return!!E&&(E.transformFlags&524288)!==0}function countInitialNodesWithoutYield(E){var N=E.length;for(var R=0;R<N;R++){if(containsYield(E[R])){return R}}return-1}function onSubstituteNode(E,N){N=Ee(E,N);if(E===1){return substituteExpression(N)}return N}function substituteExpression(N){if(E.isIdentifier(N)){return substituteExpressionIdentifier(N)}return N}function substituteExpressionIdentifier(N){if(!E.isGeneratedIdentifier(N)&&Te&&Te.has(E.idText(N))){var j=E.getOriginalNode(N);if(E.isIdentifier(j)&&j.parent){var $=_e.getReferencedValueDeclaration(j);if($){var q=we[E.getOriginalNodeId($)];if(q){var G=E.setParent(E.setTextRange(R.cloneNode(q),q),q.parent);E.setSourceMapRange(G,N);E.setCommentRange(G,N);return G}}}}return N}function cacheExpression(N){if(E.isGeneratedIdentifier(N)||E.getEmitFlags(N)&4096){return N}var j=R.createTempVariable(ae);emitAssignment(j,N,N);return j}function declareLocal(E){var N=E?R.createUniqueName(E):R.createTempVariable(undefined);ae(N);return N}function defineLabel(){if(!Ue){Ue=[]}var E=We;We++;Ue[E]=-1;return E}function markLabel(N){E.Debug.assert(Ue!==undefined,"No labels were defined.");Ue[N]=Je?Je.length:0}function beginBlock(E){if(!Me){Me=[];Be=[];Le=[];je=[]}var N=Be.length;Be[N]=0;Le[N]=Je?Je.length:0;Me[N]=E;je.push(E);return N}function endBlock(){var N=peekBlock();if(N===undefined)return E.Debug.fail("beginBlock was never called.");var R=Be.length;Be[R]=1;Le[R]=Je?Je.length:0;Me[R]=N;je.pop();return N}function peekBlock(){return E.lastOrUndefined(je)}function peekBlockKind(){var E=peekBlock();return E&&E.kind}function beginWithBlock(E){var N=defineLabel();var R=defineLabel();markLabel(N);beginBlock({kind:1,expression:E,startLabel:N,endLabel:R})}function endWithBlock(){E.Debug.assert(peekBlockKind()===1);var N=endBlock();markLabel(N.endLabel)}function beginExceptionBlock(){var E=defineLabel();var N=defineLabel();markLabel(E);beginBlock({kind:0,state:0,startLabel:E,endLabel:N});emitNop();return N}function beginCatchBlock(j){E.Debug.assert(peekBlockKind()===0);var $;if(E.isGeneratedIdentifier(j.name)){$=j.name;ae(j.name)}else{var q=E.idText(j.name);$=declareLocal(q);if(!Te){Te=new E.Map;we=[];N.enableSubstitution(79)}Te.set(q,true);we[E.getOriginalNodeId(j)]=$}var G=peekBlock();E.Debug.assert(G.state<1);var ie=G.endLabel;emitBreak(ie);var ce=defineLabel();markLabel(ce);G.state=1;G.catchVariable=$;G.catchLabel=ce;emitAssignment($,R.createCallExpression(R.createPropertyAccessExpression(He,"sent"),undefined,[]));emitNop()}function beginFinallyBlock(){E.Debug.assert(peekBlockKind()===0);var N=peekBlock();E.Debug.assert(N.state<2);var R=N.endLabel;emitBreak(R);var j=defineLabel();markLabel(j);N.state=2;N.finallyLabel=j}function endExceptionBlock(){E.Debug.assert(peekBlockKind()===0);var N=endBlock();var R=N.state;if(R<2){emitBreak(N.endLabel)}else{emitEndfinally()}markLabel(N.endLabel);emitNop();N.state=3}function beginScriptLoopBlock(){beginBlock({kind:3,isScript:true,breakLabel:-1,continueLabel:-1})}function beginLoopBlock(E){var N=defineLabel();beginBlock({kind:3,isScript:false,breakLabel:N,continueLabel:E});return N}function endLoopBlock(){E.Debug.assert(peekBlockKind()===3);var N=endBlock();var R=N.breakLabel;if(!N.isScript){markLabel(R)}}function beginScriptSwitchBlock(){beginBlock({kind:2,isScript:true,breakLabel:-1})}function beginSwitchBlock(){var E=defineLabel();beginBlock({kind:2,isScript:false,breakLabel:E});return E}function endSwitchBlock(){E.Debug.assert(peekBlockKind()===2);var N=endBlock();var R=N.breakLabel;if(!N.isScript){markLabel(R)}}function beginScriptLabeledBlock(E){beginBlock({kind:4,isScript:true,labelText:E,breakLabel:-1})}function beginLabeledBlock(E){var N=defineLabel();beginBlock({kind:4,isScript:false,labelText:E,breakLabel:N})}function endLabeledBlock(){E.Debug.assert(peekBlockKind()===4);var N=endBlock();if(!N.isScript){markLabel(N.breakLabel)}}function supportsUnlabeledBreak(E){return E.kind===2||E.kind===3}function supportsLabeledBreakOrContinue(E){return E.kind===4}function supportsUnlabeledContinue(E){return E.kind===3}function hasImmediateContainingLabeledBlock(E,N){for(var R=N;R>=0;R--){var j=je[R];if(supportsLabeledBreakOrContinue(j)){if(j.labelText===E){return true}}else{break}}return false}function findBreakTarget(E){if(je){if(E){for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsLabeledBreakOrContinue(R)&&R.labelText===E){return R.breakLabel}else if(supportsUnlabeledBreak(R)&&hasImmediateContainingLabeledBlock(E,N-1)){return R.breakLabel}}}else{for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledBreak(R)){return R.breakLabel}}}}return 0}function findContinueTarget(E){if(je){if(E){for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledContinue(R)&&hasImmediateContainingLabeledBlock(E,N-1)){return R.continueLabel}}}else{for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledContinue(R)){return R.continueLabel}}}}return 0}function createLabel(E){if(E!==undefined&&E>0){if(ze===undefined){ze=[]}var N=R.createNumericLiteral(-1);if(ze[E]===undefined){ze[E]=[N]}else{ze[E].push(N)}return N}return R.createOmittedExpression()}function createInstruction(N){var j=R.createNumericLiteral(N);E.addSyntheticTrailingComment(j,3,getInstructionName(N));return j}function createInlineBreak(N,j){E.Debug.assertLessThan(0,N,"Invalid label");return E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(3),createLabel(N)])),j)}function createInlineReturn(N,j){return E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression(N?[createInstruction(2),N]:[createInstruction(2)])),j)}function createGeneratorResume(N){return E.setTextRange(R.createCallExpression(R.createPropertyAccessExpression(He,"sent"),undefined,[]),N)}function emitNop(){emitWorker(0)}function emitStatement(E){if(E){emitWorker(1,[E])}else{emitNop()}}function emitAssignment(E,N,R){emitWorker(2,[E,N],R)}function emitBreak(E,N){emitWorker(3,[E],N)}function emitBreakWhenTrue(E,N,R){emitWorker(4,[E,N],R)}function emitBreakWhenFalse(E,N,R){emitWorker(5,[E,N],R)}function emitYieldStar(E,N){emitWorker(7,[E],N)}function emitYield(E,N){emitWorker(6,[E],N)}function emitReturn(E,N){emitWorker(8,[E],N)}function emitThrow(E,N){emitWorker(9,[E],N)}function emitEndfinally(){emitWorker(10)}function emitWorker(E,N,R){if(Je===undefined){Je=[];Ve=[];qe=[]}if(Ue===undefined){markLabel(defineLabel())}var j=Je.length;Je[j]=E;Ve[j]=N;qe[j]=R}function build(){Ge=0;Ke=0;Qe=undefined;Xe=false;Ye=false;Ze=undefined;et=undefined;tt=undefined;rt=undefined;nt=undefined;var N=buildStatements();return $().createGeneratorHelper(E.setEmitFlags(R.createFunctionExpression(undefined,undefined,undefined,undefined,[R.createParameterDeclaration(undefined,undefined,undefined,He)],undefined,R.createBlock(N,N.length>0)),524288))}function buildStatements(){if(Je){for(var N=0;N<Je.length;N++){writeOperation(N)}flushFinalLabel(Je.length)}else{flushFinalLabel(0)}if(Ze){var j=R.createPropertyAccessExpression(He,"label");var $=R.createSwitchStatement(j,R.createCaseBlock(Ze));return[E.startOnNewLine($)]}if(et){return et}return[]}function flushLabel(){if(!et){return}appendLabel(!Xe);Xe=false;Ye=false;Ke++}function flushFinalLabel(E){if(isFinalLabelReachable(E)){tryEnterLabel(E);nt=undefined;writeReturn(undefined,undefined)}if(et&&Ze){appendLabel(false)}updateLabelExpressions()}function isFinalLabelReachable(E){if(!Ye){return true}if(!Ue||!ze){return false}for(var N=0;N<Ue.length;N++){if(Ue[N]===E&&ze[N]){return true}}return false}function appendLabel(E){if(!Ze){Ze=[]}if(et){if(nt){for(var N=nt.length-1;N>=0;N--){var j=nt[N];et=[R.createWithStatement(j.expression,R.createBlock(et))]}}if(rt){var $=rt.startLabel,q=rt.catchLabel,G=rt.finallyLabel,ie=rt.endLabel;et.unshift(R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(R.createPropertyAccessExpression(He,"trys"),"push"),undefined,[R.createArrayLiteralExpression([createLabel($),createLabel(q),createLabel(G),createLabel(ie)])])));rt=undefined}if(E){et.push(R.createExpressionStatement(R.createAssignment(R.createPropertyAccessExpression(He,"label"),R.createNumericLiteral(Ke+1))))}}Ze.push(R.createCaseClause(R.createNumericLiteral(Ke),et||[]));et=undefined}function tryEnterLabel(E){if(!Ue){return}for(var N=0;N<Ue.length;N++){if(Ue[N]===E){flushLabel();if(Qe===undefined){Qe=[]}if(Qe[Ke]===undefined){Qe[Ke]=[N]}else{Qe[Ke].push(N)}}}}function updateLabelExpressions(){if(ze!==undefined&&Qe!==undefined){for(var E=0;E<Qe.length;E++){var N=Qe[E];if(N!==undefined){for(var R=0,j=N;R<j.length;R++){var $=j[R];var q=ze[$];if(q!==undefined){for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];ae.text=String(E)}}}}}}}function tryEnterOrLeaveBlock(E){if(Me){for(;Ge<Be.length&&Le[Ge]<=E;Ge++){var N=Me[Ge];var R=Be[Ge];switch(N.kind){case 0:if(R===0){if(!tt){tt=[]}if(!et){et=[]}tt.push(rt);rt=N}else if(R===1){rt=tt.pop()}break;case 1:if(R===0){if(!nt){nt=[]}nt.push(N)}else if(R===1){nt.pop()}break}}}}function writeOperation(E){tryEnterLabel(E);tryEnterOrLeaveBlock(E);if(Xe){return}Xe=false;Ye=false;var N=Je[E];if(N===0){return}else if(N===10){return writeEndfinally()}var R=Ve[E];if(N===1){return writeStatement(R[0])}var j=qe[E];switch(N){case 2:return writeAssign(R[0],R[1],j);case 3:return writeBreak(R[0],j);case 4:return writeBreakWhenTrue(R[0],R[1],j);case 5:return writeBreakWhenFalse(R[0],R[1],j);case 6:return writeYield(R[0],j);case 7:return writeYieldStar(R[0],j);case 8:return writeReturn(R[0],j);case 9:return writeThrow(R[0],j)}}function writeStatement(E){if(E){if(!et){et=[E]}else{et.push(E)}}}function writeAssign(N,j,$){writeStatement(E.setTextRange(R.createExpressionStatement(R.createAssignment(N,j)),$))}function writeThrow(N,j){Xe=true;Ye=true;writeStatement(E.setTextRange(R.createThrowStatement(N),j))}function writeReturn(N,j){Xe=true;Ye=true;writeStatement(E.setEmitFlags(E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression(N?[createInstruction(2),N]:[createInstruction(2)])),j),384))}function writeBreak(N,j){Xe=true;writeStatement(E.setEmitFlags(E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(3),createLabel(N)])),j),384))}function writeBreakWhenTrue(N,j,$){writeStatement(E.setEmitFlags(R.createIfStatement(j,E.setEmitFlags(E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(3),createLabel(N)])),$),384)),1))}function writeBreakWhenFalse(N,j,$){writeStatement(E.setEmitFlags(R.createIfStatement(R.createLogicalNot(j),E.setEmitFlags(E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(3),createLabel(N)])),$),384)),1))}function writeYield(N,j){Xe=true;writeStatement(E.setEmitFlags(E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression(N?[createInstruction(4),N]:[createInstruction(4)])),j),384))}function writeYieldStar(N,j){Xe=true;writeStatement(E.setEmitFlags(E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(5),N])),j),384))}function writeEndfinally(){Xe=true;writeStatement(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(7)])))}}E.transformGenerators=transformGenerators})(ce||(ce={}));var ce;(function(E){function transformModule(R){function getTransformModuleDelegate(N){switch(N){case E.ModuleKind.AMD:return transformAMDModule;case E.ModuleKind.UMD:return transformUMDModule;default:return transformCommonJSModule}}var $=R.factory,q=R.getEmitHelperFactory,G=R.startLexicalEnvironment,ie=R.endLexicalEnvironment,ae=R.hoistVariableDeclaration;var ce=R.getCompilerOptions();var le=R.getEmitResolver();var _e=R.getEmitHost();var Ee=E.getEmitScriptTarget(ce);var Te=E.getEmitModuleKind(ce);var we=R.onSubstituteNode;var Ie=R.onEmitNode;R.onSubstituteNode=onSubstituteNode;R.onEmitNode=onEmitNode;R.enableSubstitution(206);R.enableSubstitution(208);R.enableSubstitution(79);R.enableSubstitution(219);R.enableSubstitution(292);R.enableEmitNotification(300);var Ne=[];var Me=[];var Le;var Be;var je=[];var Ue;return E.chainBundle(R,transformSourceFile);function transformSourceFile(N){if(N.isDeclarationFile||!(E.isEffectiveExternalModule(N,ce)||N.transformFlags&4194304||E.isJsonSourceFile(N)&&E.hasJsonModuleEmitEnabled(ce)&&E.outFile(ce))){return N}Le=N;Be=E.collectExternalModuleInfo(R,N,le,ce);Ne[E.getOriginalNodeId(N)]=Be;var j=getTransformModuleDelegate(Te);var $=j(N);Le=undefined;Be=undefined;Ue=false;return $}function shouldEmitUnderscoreUnderscoreESModule(){if(!Be.exportEquals&&E.isExternalModule(Le)){return true}return false}function transformCommonJSModule(N){G();var j=[];var q=E.getStrictOptionValue(ce,"alwaysStrict")||!ce.noImplicitUseStrict&&E.isExternalModule(Le);var ae=$.copyPrologue(N.statements,j,q&&!E.isJsonSourceFile(N),topLevelVisitor);if(shouldEmitUnderscoreUnderscoreESModule()){E.append(j,createUnderscoreUnderscoreESModule())}if(E.length(Be.exportedNames)){var le=50;for(var _e=0;_e<Be.exportedNames.length;_e+=le){E.append(j,$.createExpressionStatement(E.reduceLeft(Be.exportedNames.slice(_e,_e+le),(function(N,R){return $.createAssignment($.createPropertyAccessExpression($.createIdentifier("exports"),$.createIdentifier(E.idText(R))),N)}),$.createVoidZero())))}}E.append(j,E.visitNode(Be.externalHelpersImportDeclaration,topLevelVisitor,E.isStatement));E.addRange(j,E.visitNodes(N.statements,topLevelVisitor,E.isStatement,ae));addExportEqualsIfNeeded(j,false);E.insertStatementsAfterStandardPrologue(j,ie());var Ee=$.updateSourceFile(N,E.setTextRange($.createNodeArray(j),N.statements));E.addEmitHelpers(Ee,R.readEmitHelpers());return Ee}function transformAMDModule(N){var q=$.createIdentifier("define");var G=E.tryGetModuleNameFromFile($,N,_e,ce);var ie=E.isJsonSourceFile(N)&&N;var ae=collectAsynchronousDependencies(N,true),le=ae.aliasedModuleNames,Ee=ae.unaliasedModuleNames,Te=ae.importAliasNames;var we=$.updateSourceFile(N,E.setTextRange($.createNodeArray([$.createExpressionStatement($.createCallExpression(q,undefined,j(j([],G?[G]:[],true),[$.createArrayLiteralExpression(ie?E.emptyArray:j(j([$.createStringLiteral("require"),$.createStringLiteral("exports")],le,true),Ee,true)),ie?ie.statements.length?ie.statements[0].expression:$.createObjectLiteralExpression():$.createFunctionExpression(undefined,undefined,undefined,undefined,j([$.createParameterDeclaration(undefined,undefined,undefined,"require"),$.createParameterDeclaration(undefined,undefined,undefined,"exports")],Te,true),undefined,transformAsynchronousModuleBody(N))],false)))]),N.statements));E.addEmitHelpers(we,R.readEmitHelpers());return we}function transformUMDModule(N){var q=collectAsynchronousDependencies(N,false),G=q.aliasedModuleNames,ie=q.unaliasedModuleNames,ae=q.importAliasNames;var le=E.tryGetModuleNameFromFile($,N,_e,ce);var Ee=$.createFunctionExpression(undefined,undefined,undefined,undefined,[$.createParameterDeclaration(undefined,undefined,undefined,"factory")],undefined,E.setTextRange($.createBlock([$.createIfStatement($.createLogicalAnd($.createTypeCheck($.createIdentifier("module"),"object"),$.createTypeCheck($.createPropertyAccessExpression($.createIdentifier("module"),"exports"),"object")),$.createBlock([$.createVariableStatement(undefined,[$.createVariableDeclaration("v",undefined,undefined,$.createCallExpression($.createIdentifier("factory"),undefined,[$.createIdentifier("require"),$.createIdentifier("exports")]))]),E.setEmitFlags($.createIfStatement($.createStrictInequality($.createIdentifier("v"),$.createIdentifier("undefined")),$.createExpressionStatement($.createAssignment($.createPropertyAccessExpression($.createIdentifier("module"),"exports"),$.createIdentifier("v")))),1)]),$.createIfStatement($.createLogicalAnd($.createTypeCheck($.createIdentifier("define"),"function"),$.createPropertyAccessExpression($.createIdentifier("define"),"amd")),$.createBlock([$.createExpressionStatement($.createCallExpression($.createIdentifier("define"),undefined,j(j([],le?[le]:[],true),[$.createArrayLiteralExpression(j(j([$.createStringLiteral("require"),$.createStringLiteral("exports")],G,true),ie,true)),$.createIdentifier("factory")],false)))])))],true),undefined));var Te=$.updateSourceFile(N,E.setTextRange($.createNodeArray([$.createExpressionStatement($.createCallExpression(Ee,undefined,[$.createFunctionExpression(undefined,undefined,undefined,undefined,j([$.createParameterDeclaration(undefined,undefined,undefined,"require"),$.createParameterDeclaration(undefined,undefined,undefined,"exports")],ae,true),undefined,transformAsynchronousModuleBody(N))]))]),N.statements));E.addEmitHelpers(Te,R.readEmitHelpers());return Te}function collectAsynchronousDependencies(N,R){var j=[];var q=[];var G=[];for(var ie=0,ae=N.amdDependencies;ie<ae.length;ie++){var Ee=ae[ie];if(Ee.name){j.push($.createStringLiteral(Ee.path));G.push($.createParameterDeclaration(undefined,undefined,undefined,Ee.name))}else{q.push($.createStringLiteral(Ee.path))}}for(var Te=0,we=Be.externalImports;Te<we.length;Te++){var Ie=we[Te];var Ne=E.getExternalModuleNameLiteral($,Ie,Le,_e,le,ce);var Me=E.getLocalNameForExternalImport($,Ie,Le);if(Ne){if(R&&Me){E.setEmitFlags(Me,4);j.push(Ne);G.push($.createParameterDeclaration(undefined,undefined,undefined,Me))}else{q.push(Ne)}}}return{aliasedModuleNames:j,unaliasedModuleNames:q,importAliasNames:G}}function getAMDImportExpressionForImport(N){if(E.isImportEqualsDeclaration(N)||E.isExportDeclaration(N)||!E.getExternalModuleNameLiteral($,N,Le,_e,le,ce)){return undefined}var R=E.getLocalNameForExternalImport($,N,Le);var j=getHelperExpressionForImport(N,R);if(j===R){return undefined}return $.createExpressionStatement($.createAssignment(R,j))}function transformAsynchronousModuleBody(R){G();var j=[];var q=$.copyPrologue(R.statements,j,!ce.noImplicitUseStrict,topLevelVisitor);if(shouldEmitUnderscoreUnderscoreESModule()){E.append(j,createUnderscoreUnderscoreESModule())}if(E.length(Be.exportedNames)){E.append(j,$.createExpressionStatement(E.reduceLeft(Be.exportedNames,(function(N,R){return $.createAssignment($.createPropertyAccessExpression($.createIdentifier("exports"),$.createIdentifier(E.idText(R))),N)}),$.createVoidZero())))}E.append(j,E.visitNode(Be.externalHelpersImportDeclaration,topLevelVisitor,E.isStatement));if(Te===E.ModuleKind.AMD){E.addRange(j,E.mapDefined(Be.externalImports,getAMDImportExpressionForImport))}E.addRange(j,E.visitNodes(R.statements,topLevelVisitor,E.isStatement,q));addExportEqualsIfNeeded(j,true);E.insertStatementsAfterStandardPrologue(j,ie());var ae=$.createBlock(j,true);if(Ue){E.addEmitHelper(ae,N)}return ae}function addExportEqualsIfNeeded(N,R){if(Be.exportEquals){var j=E.visitNode(Be.exportEquals.expression,visitor);if(j){if(R){var q=$.createReturnStatement(j);E.setTextRange(q,Be.exportEquals);E.setEmitFlags(q,384|1536);N.push(q)}else{var q=$.createExpressionStatement($.createAssignment($.createPropertyAccessExpression($.createIdentifier("module"),"exports"),j));E.setTextRange(q,Be.exportEquals);E.setEmitFlags(q,1536);N.push(q)}}}}function topLevelVisitor(E){switch(E.kind){case 264:return visitImportDeclaration(E);case 263:return visitImportEqualsDeclaration(E);case 270:return visitExportDeclaration(E);case 269:return visitExportAssignment(E);case 235:return visitVariableStatement(E);case 254:return visitFunctionDeclaration(E);case 255:return visitClassDeclaration(E);case 347:return visitMergeDeclarationMarker(E);case 348:return visitEndOfDeclarationMarker(E);default:return visitor(E)}}function visitorWorker(N,j){if(!(N.transformFlags&(4194304|2048|67108864))){return N}switch(N.kind){case 240:return visitForStatement(N);case 236:return visitExpressionStatement(N);case 210:return visitParenthesizedExpression(N,j);case 345:return visitPartiallyEmittedExpression(N,j);case 206:if(E.isImportCall(N)){return visitImportCallExpression(N)}break;case 219:if(E.isDestructuringAssignment(N)){return visitDestructuringAssignment(N,j)}break;case 217:case 218:return visitPreOrPostfixUnaryExpression(N,j)}return E.visitEachChild(N,visitor,R)}function visitor(E){return visitorWorker(E,false)}function discardedValueVisitor(E){return visitorWorker(E,true)}function destructuringNeedsFlattening(N){if(E.isObjectLiteralExpression(N)){for(var R=0,j=N.properties;R<j.length;R++){var $=j[R];switch($.kind){case 291:if(destructuringNeedsFlattening($.initializer)){return true}break;case 292:if(destructuringNeedsFlattening($.name)){return true}break;case 293:if(destructuringNeedsFlattening($.expression)){return true}break;case 167:case 170:case 171:return false;default:E.Debug.assertNever($,"Unhandled object member kind")}}}else if(E.isArrayLiteralExpression(N)){for(var q=0,G=N.elements;q<G.length;q++){var $=G[q];if(E.isSpreadElement($)){if(destructuringNeedsFlattening($.expression)){return true}}else if(destructuringNeedsFlattening($)){return true}}}else if(E.isIdentifier(N)){return E.length(getExports(N))>(E.isExportName(N)?1:0)}return false}function visitDestructuringAssignment(N,j){if(destructuringNeedsFlattening(N.left)){return E.flattenDestructuringAssignment(N,visitor,R,0,!j,createAllExportExpressions)}return E.visitEachChild(N,visitor,R)}function visitForStatement(N){return $.updateForStatement(N,E.visitNode(N.initializer,discardedValueVisitor,E.isForInitializer),E.visitNode(N.condition,visitor,E.isExpression),E.visitNode(N.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(N.statement,visitor,R))}function visitExpressionStatement(N){return $.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function visitParenthesizedExpression(N,R){return $.updateParenthesizedExpression(N,E.visitNode(N.expression,R?discardedValueVisitor:visitor,E.isExpression))}function visitPartiallyEmittedExpression(N,R){return $.updatePartiallyEmittedExpression(N,E.visitNode(N.expression,R?discardedValueVisitor:visitor,E.isExpression))}function visitPreOrPostfixUnaryExpression(N,j){if((N.operator===45||N.operator===46)&&E.isIdentifier(N.operand)&&!E.isGeneratedIdentifier(N.operand)&&!E.isLocalName(N.operand)&&!E.isDeclarationNameOfEnumOrNamespace(N.operand)){var q=getExports(N.operand);if(q){var G=void 0;var ie=E.visitNode(N.operand,visitor,E.isExpression);if(E.isPrefixUnaryExpression(N)){ie=$.updatePrefixUnaryExpression(N,ie)}else{ie=$.updatePostfixUnaryExpression(N,ie);if(!j){G=$.createTempVariable(ae);ie=$.createAssignment(G,ie);E.setTextRange(ie,N)}ie=$.createComma(ie,$.cloneNode(N.operand));E.setTextRange(ie,N)}for(var ce=0,le=q;ce<le.length;ce++){var _e=le[ce];je[E.getNodeId(ie)]=true;ie=createExportExpression(_e,ie);E.setTextRange(ie,N)}if(G){je[E.getNodeId(ie)]=true;ie=$.createComma(ie,G);E.setTextRange(ie,N)}return ie}}return E.visitEachChild(N,visitor,R)}function visitImportCallExpression(N){var R=E.getExternalModuleNameLiteral($,N,Le,_e,le,ce);var j=E.visitNode(E.firstOrUndefined(N.arguments),visitor);var q=R&&(!j||!E.isStringLiteral(j)||j.text!==R.text)?R:j;var G=!!(N.transformFlags&8192);switch(ce.module){case E.ModuleKind.AMD:return createImportCallExpressionAMD(q,G);case E.ModuleKind.UMD:return createImportCallExpressionUMD(q!==null&&q!==void 0?q:$.createVoidZero(),G);case E.ModuleKind.CommonJS:default:return createImportCallExpressionCommonJS(q,G)}}function createImportCallExpressionUMD(N,R){Ue=true;if(E.isSimpleCopiableExpression(N)){var j=E.isGeneratedIdentifier(N)?N:E.isStringLiteral(N)?$.createStringLiteralFromNode(N):E.setEmitFlags(E.setTextRange($.cloneNode(N),N),1536);return $.createConditionalExpression($.createIdentifier("__syncRequire"),undefined,createImportCallExpressionCommonJS(N,R),undefined,createImportCallExpressionAMD(j,R))}else{var q=$.createTempVariable(ae);return $.createComma($.createAssignment(q,N),$.createConditionalExpression($.createIdentifier("__syncRequire"),undefined,createImportCallExpressionCommonJS(q,R),undefined,createImportCallExpressionAMD(q,R)))}}function createImportCallExpressionAMD(N,R){var j=$.createUniqueName("resolve");var G=$.createUniqueName("reject");var ie=[$.createParameterDeclaration(undefined,undefined,undefined,j),$.createParameterDeclaration(undefined,undefined,undefined,G)];var ae=$.createBlock([$.createExpressionStatement($.createCallExpression($.createIdentifier("require"),undefined,[$.createArrayLiteralExpression([N||$.createOmittedExpression()]),j,G]))]);var le;if(Ee>=2){le=$.createArrowFunction(undefined,undefined,ie,undefined,undefined,ae)}else{le=$.createFunctionExpression(undefined,undefined,undefined,undefined,ie,undefined,ae);if(R){E.setEmitFlags(le,8)}}var _e=$.createNewExpression($.createIdentifier("Promise"),undefined,[le]);if(ce.esModuleInterop){return $.createCallExpression($.createPropertyAccessExpression(_e,$.createIdentifier("then")),undefined,[q().createImportStarCallbackHelper()])}return _e}function createImportCallExpressionCommonJS(N,R){var j=$.createCallExpression($.createPropertyAccessExpression($.createIdentifier("Promise"),"resolve"),undefined,[]);var G=$.createCallExpression($.createIdentifier("require"),undefined,N?[N]:[]);if(ce.esModuleInterop){G=q().createImportStarHelper(G)}var ie;if(Ee>=2){ie=$.createArrowFunction(undefined,undefined,[],undefined,undefined,G)}else{ie=$.createFunctionExpression(undefined,undefined,undefined,undefined,[],undefined,$.createBlock([$.createReturnStatement(G)]));if(R){E.setEmitFlags(ie,8)}}return $.createCallExpression($.createPropertyAccessExpression(j,"then"),undefined,[ie])}function getHelperExpressionForExport(N,R){if(!ce.esModuleInterop||E.getEmitFlags(N)&67108864){return R}if(E.getExportNeedsImportStarHelper(N)){return q().createImportStarHelper(R)}return R}function getHelperExpressionForImport(N,R){if(!ce.esModuleInterop||E.getEmitFlags(N)&67108864){return R}if(E.getImportNeedsImportStarHelper(N)){return q().createImportStarHelper(R)}if(E.getImportNeedsImportDefaultHelper(N)){return q().createImportDefaultHelper(R)}return R}function visitImportDeclaration(N){var R;var j=E.getNamespaceDeclarationNode(N);if(Te!==E.ModuleKind.AMD){if(!N.importClause){return E.setOriginalNode(E.setTextRange($.createExpressionStatement(createRequireCall(N)),N),N)}else{var q=[];if(j&&!E.isDefaultImport(N)){q.push($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,getHelperExpressionForImport(N,createRequireCall(N))))}else{q.push($.createVariableDeclaration($.getGeneratedNameForNode(N),undefined,undefined,getHelperExpressionForImport(N,createRequireCall(N))));if(j&&E.isDefaultImport(N)){q.push($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,$.getGeneratedNameForNode(N)))}}R=E.append(R,E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList(q,Ee>=2?2:0)),N),N))}}else if(j&&E.isDefaultImport(N)){R=E.append(R,$.createVariableStatement(undefined,$.createVariableDeclarationList([E.setOriginalNode(E.setTextRange($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,$.getGeneratedNameForNode(N)),N),N)],Ee>=2?2:0)))}if(hasAssociatedEndOfDeclarationMarker(N)){var G=E.getOriginalNodeId(N);Me[G]=appendExportsOfImportDeclaration(Me[G],N)}else{R=appendExportsOfImportDeclaration(R,N)}return E.singleOrMany(R)}function createRequireCall(N){var R=E.getExternalModuleNameLiteral($,N,Le,_e,le,ce);var j=[];if(R){j.push(R)}return $.createCallExpression($.createIdentifier("require"),undefined,j)}function visitImportEqualsDeclaration(N){E.Debug.assert(E.isExternalModuleImportEqualsDeclaration(N),"import= for internal module references should be handled in an earlier transformer.");var R;if(Te!==E.ModuleKind.AMD){if(E.hasSyntacticModifier(N,1)){R=E.append(R,E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression(N.name,createRequireCall(N))),N),N))}else{R=E.append(R,E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList([$.createVariableDeclaration($.cloneNode(N.name),undefined,undefined,createRequireCall(N))],Ee>=2?2:0)),N),N))}}else{if(E.hasSyntacticModifier(N,1)){R=E.append(R,E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression($.getExportName(N),$.getLocalName(N))),N),N))}}if(hasAssociatedEndOfDeclarationMarker(N)){var j=E.getOriginalNodeId(N);Me[j]=appendExportsOfImportEqualsDeclaration(Me[j],N)}else{R=appendExportsOfImportEqualsDeclaration(R,N)}return E.singleOrMany(R)}function visitExportDeclaration(N){if(!N.moduleSpecifier){return undefined}var R=$.getGeneratedNameForNode(N);if(N.exportClause&&E.isNamedExports(N.exportClause)){var j=[];if(Te!==E.ModuleKind.AMD){j.push(E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList([$.createVariableDeclaration(R,undefined,undefined,createRequireCall(N))])),N),N))}for(var G=0,ie=N.exportClause.elements;G<ie.length;G++){var ae=ie[G];if(Ee===0){j.push(E.setOriginalNode(E.setTextRange($.createExpressionStatement(q().createCreateBindingHelper(R,$.createStringLiteralFromNode(ae.propertyName||ae.name),ae.propertyName?$.createStringLiteralFromNode(ae.name):undefined)),ae),ae))}else{var le=!!ce.esModuleInterop&&!(E.getEmitFlags(N)&67108864)&&E.idText(ae.propertyName||ae.name)==="default";var _e=$.createPropertyAccessExpression(le?q().createImportDefaultHelper(R):R,ae.propertyName||ae.name);j.push(E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression($.getExportName(ae),_e,undefined,true)),ae),ae))}}return E.singleOrMany(j)}else if(N.exportClause){var j=[];j.push(E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression($.cloneNode(N.exportClause.name),getHelperExpressionForExport(N,Te!==E.ModuleKind.AMD?createRequireCall(N):E.isExportNamespaceAsDefaultDeclaration(N)?R:$.createIdentifier(E.idText(N.exportClause.name))))),N),N));return E.singleOrMany(j)}else{return E.setOriginalNode(E.setTextRange($.createExpressionStatement(q().createExportStarHelper(Te!==E.ModuleKind.AMD?createRequireCall(N):R)),N),N)}}function visitExportAssignment(N){if(N.isExportEquals){return undefined}var R;var j=N.original;if(j&&hasAssociatedEndOfDeclarationMarker(j)){var q=E.getOriginalNodeId(N);Me[q]=appendExportStatement(Me[q],$.createIdentifier("default"),E.visitNode(N.expression,visitor),N,true)}else{R=appendExportStatement(R,$.createIdentifier("default"),E.visitNode(N.expression,visitor),N,true)}return E.singleOrMany(R)}function visitFunctionDeclaration(N){var j;if(E.hasSyntacticModifier(N,1)){j=E.append(j,E.setOriginalNode(E.setTextRange($.createFunctionDeclaration(undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),N.asteriskToken,$.getDeclarationName(N,true,true),undefined,E.visitNodes(N.parameters,visitor),undefined,E.visitEachChild(N.body,visitor,R)),N),N))}else{j=E.append(j,E.visitEachChild(N,visitor,R))}if(hasAssociatedEndOfDeclarationMarker(N)){var q=E.getOriginalNodeId(N);Me[q]=appendExportsOfHoistedDeclaration(Me[q],N)}else{j=appendExportsOfHoistedDeclaration(j,N)}return E.singleOrMany(j)}function visitClassDeclaration(N){var j;if(E.hasSyntacticModifier(N,1)){j=E.append(j,E.setOriginalNode(E.setTextRange($.createClassDeclaration(undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),$.getDeclarationName(N,true,true),undefined,E.visitNodes(N.heritageClauses,visitor),E.visitNodes(N.members,visitor)),N),N))}else{j=E.append(j,E.visitEachChild(N,visitor,R))}if(hasAssociatedEndOfDeclarationMarker(N)){var q=E.getOriginalNodeId(N);Me[q]=appendExportsOfHoistedDeclaration(Me[q],N)}else{j=appendExportsOfHoistedDeclaration(j,N)}return E.singleOrMany(j)}function visitVariableStatement(N){var j;var q;var G;if(E.hasSyntacticModifier(N,1)){var ie=void 0;var ae=false;for(var ce=0,le=N.declarationList.declarations;ce<le.length;ce++){var _e=le[ce];if(E.isIdentifier(_e.name)&&E.isLocalName(_e.name)){if(!ie){ie=E.visitNodes(N.modifiers,modifierVisitor,E.isModifier)}q=E.append(q,_e)}else if(_e.initializer){if(!E.isBindingPattern(_e.name)&&(E.isArrowFunction(_e.initializer)||E.isFunctionExpression(_e.initializer)||E.isClassExpression(_e.initializer))){var Ee=$.createAssignment(E.setTextRange($.createPropertyAccessExpression($.createIdentifier("exports"),_e.name),_e.name),$.createIdentifier(E.getTextOfIdentifierOrLiteral(_e.name)));var Te=$.createVariableDeclaration(_e.name,_e.exclamationToken,_e.type,E.visitNode(_e.initializer,visitor));q=E.append(q,Te);G=E.append(G,Ee);ae=true}else{G=E.append(G,transformInitializedVariable(_e))}}}if(q){j=E.append(j,$.updateVariableStatement(N,ie,$.updateVariableDeclarationList(N.declarationList,q)))}if(G){var we=E.setOriginalNode(E.setTextRange($.createExpressionStatement($.inlineExpressions(G)),N),N);if(ae){E.removeAllComments(we)}j=E.append(j,we)}}else{j=E.append(j,E.visitEachChild(N,visitor,R))}if(hasAssociatedEndOfDeclarationMarker(N)){var Ie=E.getOriginalNodeId(N);Me[Ie]=appendExportsOfVariableStatement(Me[Ie],N)}else{j=appendExportsOfVariableStatement(j,N)}return E.singleOrMany(j)}function createAllExportExpressions(N,R,j){var q=getExports(N);if(q){var G=E.isExportName(N)?R:$.createAssignment(N,R);for(var ie=0,ae=q;ie<ae.length;ie++){var ce=ae[ie];E.setEmitFlags(G,4);G=createExportExpression(ce,G,j)}return G}return $.createAssignment(N,R)}function transformInitializedVariable(N){if(E.isBindingPattern(N.name)){return E.flattenDestructuringAssignment(E.visitNode(N,visitor),undefined,R,0,false,createAllExportExpressions)}else{return $.createAssignment(E.setTextRange($.createPropertyAccessExpression($.createIdentifier("exports"),N.name),N.name),N.initializer?E.visitNode(N.initializer,visitor):$.createVoidZero())}}function visitMergeDeclarationMarker(N){if(hasAssociatedEndOfDeclarationMarker(N)&&N.original.kind===235){var R=E.getOriginalNodeId(N);Me[R]=appendExportsOfVariableStatement(Me[R],N.original)}return N}function hasAssociatedEndOfDeclarationMarker(N){return(E.getEmitFlags(N)&4194304)!==0}function visitEndOfDeclarationMarker(N){var R=E.getOriginalNodeId(N);var j=Me[R];if(j){delete Me[R];return E.append(j,N)}return N}function appendExportsOfImportDeclaration(E,N){if(Be.exportEquals){return E}var R=N.importClause;if(!R){return E}if(R.name){E=appendExportsOfDeclaration(E,R)}var j=R.namedBindings;if(j){switch(j.kind){case 266:E=appendExportsOfDeclaration(E,j);break;case 267:for(var $=0,q=j.elements;$<q.length;$++){var G=q[$];E=appendExportsOfDeclaration(E,G,true)}break}}return E}function appendExportsOfImportEqualsDeclaration(E,N){if(Be.exportEquals){return E}return appendExportsOfDeclaration(E,N)}function appendExportsOfVariableStatement(E,N){if(Be.exportEquals){return E}for(var R=0,j=N.declarationList.declarations;R<j.length;R++){var $=j[R];E=appendExportsOfBindingElement(E,$)}return E}function appendExportsOfBindingElement(N,R){if(Be.exportEquals){return N}if(E.isBindingPattern(R.name)){for(var j=0,$=R.name.elements;j<$.length;j++){var q=$[j];if(!E.isOmittedExpression(q)){N=appendExportsOfBindingElement(N,q)}}}else if(!E.isGeneratedIdentifier(R.name)){N=appendExportsOfDeclaration(N,R)}return N}function appendExportsOfHoistedDeclaration(N,R){if(Be.exportEquals){return N}if(E.hasSyntacticModifier(R,1)){var j=E.hasSyntacticModifier(R,512)?$.createIdentifier("default"):$.getDeclarationName(R);N=appendExportStatement(N,j,$.getLocalName(R),R)}if(R.name){N=appendExportsOfDeclaration(N,R)}return N}function appendExportsOfDeclaration(N,R,j){var q=$.getDeclarationName(R);var G=Be.exportSpecifiers.get(E.idText(q));if(G){for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];N=appendExportStatement(N,ce.name,q,ce.name,undefined,j)}}return N}function appendExportStatement(N,R,j,$,q,G){N=E.append(N,createExportStatement(R,j,$,q,G));return N}function createUnderscoreUnderscoreESModule(){var N;if(Ee===0){N=$.createExpressionStatement(createExportExpression($.createIdentifier("__esModule"),$.createTrue()))}else{N=$.createExpressionStatement($.createCallExpression($.createPropertyAccessExpression($.createIdentifier("Object"),"defineProperty"),undefined,[$.createIdentifier("exports"),$.createStringLiteral("__esModule"),$.createObjectLiteralExpression([$.createPropertyAssignment("value",$.createTrue())])]))}E.setEmitFlags(N,1048576);return N}function createExportStatement(N,R,j,q,G){var ie=E.setTextRange($.createExpressionStatement(createExportExpression(N,R,undefined,G)),j);E.startOnNewLine(ie);if(!q){E.setEmitFlags(ie,1536)}return ie}function createExportExpression(N,R,j,q){return E.setTextRange(q&&Ee!==0?$.createCallExpression($.createPropertyAccessExpression($.createIdentifier("Object"),"defineProperty"),undefined,[$.createIdentifier("exports"),$.createStringLiteralFromNode(N),$.createObjectLiteralExpression([$.createPropertyAssignment("enumerable",$.createTrue()),$.createPropertyAssignment("get",$.createFunctionExpression(undefined,undefined,undefined,undefined,[],undefined,$.createBlock([$.createReturnStatement(R)])))])]):$.createAssignment($.createPropertyAccessExpression($.createIdentifier("exports"),$.cloneNode(N)),R),j)}function modifierVisitor(E){switch(E.kind){case 93:case 88:return undefined}return E}function onEmitNode(N,R,j){if(R.kind===300){Le=R;Be=Ne[E.getOriginalNodeId(Le)];Ie(N,R,j);Le=undefined;Be=undefined}else{Ie(N,R,j)}}function onSubstituteNode(N,R){R=we(N,R);if(R.id&&je[R.id]){return R}if(N===1){return substituteExpression(R)}else if(E.isShorthandPropertyAssignment(R)){return substituteShorthandPropertyAssignment(R)}return R}function substituteShorthandPropertyAssignment(N){var R=N.name;var j=substituteExpressionIdentifier(R);if(j!==R){if(N.objectAssignmentInitializer){var q=$.createAssignment(j,N.objectAssignmentInitializer);return E.setTextRange($.createPropertyAssignment(R,q),N)}return E.setTextRange($.createPropertyAssignment(R,j),N)}return N}function substituteExpression(E){switch(E.kind){case 79:return substituteExpressionIdentifier(E);case 206:return substituteCallExpression(E);case 208:return substituteTaggedTemplateExpression(E);case 219:return substituteBinaryExpression(E)}return E}function substituteCallExpression(N){if(E.isIdentifier(N.expression)){var R=substituteExpressionIdentifier(N.expression);je[E.getNodeId(R)]=true;if(!E.isIdentifier(R)){return E.addEmitFlags($.updateCallExpression(N,R,undefined,N.arguments),536870912)}}return N}function substituteTaggedTemplateExpression(N){if(E.isIdentifier(N.tag)){var R=substituteExpressionIdentifier(N.tag);je[E.getNodeId(R)]=true;if(!E.isIdentifier(R)){return E.addEmitFlags($.updateTaggedTemplateExpression(N,R,undefined,N.template),536870912)}}return N}function substituteExpressionIdentifier(N){var R,j;if(E.getEmitFlags(N)&4096){var q=E.getExternalHelpersModuleName(Le);if(q){return $.createPropertyAccessExpression(q,N)}return N}else if(!(E.isGeneratedIdentifier(N)&&!(N.autoGenerateFlags&64))&&!E.isLocalName(N)){var G=le.getReferencedExportContainer(N,E.isExportName(N));if(G&&G.kind===300){return E.setTextRange($.createPropertyAccessExpression($.createIdentifier("exports"),$.cloneNode(N)),N)}var ie=le.getReferencedImportDeclaration(N);if(ie){if(E.isImportClause(ie)){return E.setTextRange($.createPropertyAccessExpression($.getGeneratedNameForNode(ie.parent),$.createIdentifier("default")),N)}else if(E.isImportSpecifier(ie)){var ae=ie.propertyName||ie.name;return E.setTextRange($.createPropertyAccessExpression($.getGeneratedNameForNode(((j=(R=ie.parent)===null||R===void 0?void 0:R.parent)===null||j===void 0?void 0:j.parent)||ie),$.cloneNode(ae)),N)}}}return N}function substituteBinaryExpression(N){if(E.isAssignmentOperator(N.operatorToken.kind)&&E.isIdentifier(N.left)&&!E.isGeneratedIdentifier(N.left)&&!E.isLocalName(N.left)&&!E.isDeclarationNameOfEnumOrNamespace(N.left)){var R=getExports(N.left);if(R){var j=N;for(var $=0,q=R;$<q.length;$++){var G=q[$];je[E.getNodeId(j)]=true;j=createExportExpression(G,j,N)}return j}}return N}function getExports(N){if(!E.isGeneratedIdentifier(N)){var R=le.getReferencedImportDeclaration(N)||le.getReferencedValueDeclaration(N);if(R){return Be&&Be.exportedBindings[E.getOriginalNodeId(R)]}}}}E.transformModule=transformModule;var N={name:"typescript:dynamicimport-sync-require",scoped:true,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'}})(ce||(ce={}));var ce;(function(E){function transformSystemModule(N){var R=N.factory,j=N.startLexicalEnvironment,$=N.endLexicalEnvironment,q=N.hoistVariableDeclaration;var G=N.getCompilerOptions();var ie=N.getEmitResolver();var ae=N.getEmitHost();var ce=N.onSubstituteNode;var le=N.onEmitNode;N.onSubstituteNode=onSubstituteNode;N.onEmitNode=onEmitNode;N.enableSubstitution(79);N.enableSubstitution(292);N.enableSubstitution(219);N.enableSubstitution(229);N.enableEmitNotification(300);var _e=[];var Ee=[];var Te=[];var we=[];var Ie=[];var Ne;var Me;var Le;var Be;var je;var Ue;var ze;return E.chainBundle(N,transformSourceFile);function transformSourceFile(j){if(j.isDeclarationFile||!(E.isEffectiveExternalModule(j,G)||j.transformFlags&4194304)){return j}var $=E.getOriginalNodeId(j);Ne=j;Ue=j;Me=_e[$]=E.collectExternalModuleInfo(N,j,ie,G);Le=R.createUniqueName("exports");Te[$]=Le;Be=Ie[$]=R.createUniqueName("context");var q=collectDependencyGroups(Me.externalImports);var ce=createSystemModuleBody(j,q);var le=R.createFunctionExpression(undefined,undefined,undefined,undefined,[R.createParameterDeclaration(undefined,undefined,undefined,Le),R.createParameterDeclaration(undefined,undefined,undefined,Be)],undefined,ce);var Ee=E.tryGetModuleNameFromFile(R,j,ae,G);var We=R.createArrayLiteralExpression(E.map(q,(function(E){return E.name})));var Je=E.setEmitFlags(R.updateSourceFile(j,E.setTextRange(R.createNodeArray([R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("System"),"register"),undefined,Ee?[Ee,We,le]:[We,le]))]),j.statements)),1024);if(!E.outFile(G)){E.moveEmitHelpers(Je,ce,(function(E){return!E.scoped}))}if(ze){we[$]=ze;ze=undefined}Ne=undefined;Me=undefined;Le=undefined;Be=undefined;je=undefined;Ue=undefined;return Je}function collectDependencyGroups(N){var j=new E.Map;var $=[];for(var q=0,ce=N;q<ce.length;q++){var le=ce[q];var _e=E.getExternalModuleNameLiteral(R,le,Ne,ae,ie,G);if(_e){var Ee=_e.text;var Te=j.get(Ee);if(Te!==undefined){$[Te].externalImports.push(le)}else{j.set(Ee,$.length);$.push({name:_e,externalImports:[le]})}}}return $}function createSystemModuleBody(N,q){var ie=[];j();var ae=E.getStrictOptionValue(G,"alwaysStrict")||!G.noImplicitUseStrict&&E.isExternalModule(Ne);var ce=R.copyPrologue(N.statements,ie,ae,topLevelVisitor);ie.push(R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration("__moduleName",undefined,undefined,R.createLogicalAnd(Be,R.createPropertyAccessExpression(Be,"id")))])));E.visitNode(Me.externalHelpersImportDeclaration,topLevelVisitor,E.isStatement);var le=E.visitNodes(N.statements,topLevelVisitor,E.isStatement,ce);E.addRange(ie,je);E.insertStatementsAfterStandardPrologue(ie,$());var _e=addExportStarIfNeeded(ie);var Ee=N.transformFlags&1048576?R.createModifiersFromModifierFlags(256):undefined;var Te=R.createObjectLiteralExpression([R.createPropertyAssignment("setters",createSettersArray(_e,q)),R.createPropertyAssignment("execute",R.createFunctionExpression(Ee,undefined,undefined,undefined,[],undefined,R.createBlock(le,true)))],true);ie.push(R.createReturnStatement(Te));return R.createBlock(ie,true)}function addExportStarIfNeeded(E){if(!Me.hasExportStarsToExportValues){return}if(!Me.exportedNames&&Me.exportSpecifiers.size===0){var N=false;for(var j=0,$=Me.externalImports;j<$.length;j++){var q=$[j];if(q.kind===270&&q.exportClause){N=true;break}}if(!N){var G=createExportStarFunction(undefined);E.push(G);return G.name}}var ie=[];if(Me.exportedNames){for(var ae=0,ce=Me.exportedNames;ae<ce.length;ae++){var le=ce[ae];if(le.escapedText==="default"){continue}ie.push(R.createPropertyAssignment(R.createStringLiteralFromNode(le),R.createTrue()))}}var _e=R.createUniqueName("exportedNames");E.push(R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(_e,undefined,undefined,R.createObjectLiteralExpression(ie,true))])));var Ee=createExportStarFunction(_e);E.push(Ee);return Ee.name}function createExportStarFunction(N){var j=R.createUniqueName("exportStar");var $=R.createIdentifier("m");var q=R.createIdentifier("n");var G=R.createIdentifier("exports");var ie=R.createStrictInequality(q,R.createStringLiteral("default"));if(N){ie=R.createLogicalAnd(ie,R.createLogicalNot(R.createCallExpression(R.createPropertyAccessExpression(N,"hasOwnProperty"),undefined,[q])))}return R.createFunctionDeclaration(undefined,undefined,undefined,j,undefined,[R.createParameterDeclaration(undefined,undefined,undefined,$)],undefined,R.createBlock([R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(G,undefined,undefined,R.createObjectLiteralExpression([]))])),R.createForInStatement(R.createVariableDeclarationList([R.createVariableDeclaration(q)]),$,R.createBlock([E.setEmitFlags(R.createIfStatement(ie,R.createExpressionStatement(R.createAssignment(R.createElementAccessExpression(G,q),R.createElementAccessExpression($,q)))),1)])),R.createExpressionStatement(R.createCallExpression(Le,undefined,[G]))],true))}function createSettersArray(N,j){var $=[];for(var q=0,G=j;q<G.length;q++){var ie=G[q];var ae=E.forEach(ie.externalImports,(function(N){return E.getLocalNameForExternalImport(R,N,Ne)}));var ce=ae?R.getGeneratedNameForNode(ae):R.createUniqueName("");var le=[];for(var _e=0,Ee=ie.externalImports;_e<Ee.length;_e++){var Te=Ee[_e];var we=E.getLocalNameForExternalImport(R,Te,Ne);switch(Te.kind){case 264:if(!Te.importClause){break}case 263:E.Debug.assert(we!==undefined);le.push(R.createExpressionStatement(R.createAssignment(we,ce)));break;case 270:E.Debug.assert(we!==undefined);if(Te.exportClause){if(E.isNamedExports(Te.exportClause)){var Ie=[];for(var Me=0,Be=Te.exportClause.elements;Me<Be.length;Me++){var je=Be[Me];Ie.push(R.createPropertyAssignment(R.createStringLiteral(E.idText(je.name)),R.createElementAccessExpression(ce,R.createStringLiteral(E.idText(je.propertyName||je.name)))))}le.push(R.createExpressionStatement(R.createCallExpression(Le,undefined,[R.createObjectLiteralExpression(Ie,true)])))}else{le.push(R.createExpressionStatement(R.createCallExpression(Le,undefined,[R.createStringLiteral(E.idText(Te.exportClause.name)),ce])))}}else{le.push(R.createExpressionStatement(R.createCallExpression(N,undefined,[ce])))}break}}$.push(R.createFunctionExpression(undefined,undefined,undefined,undefined,[R.createParameterDeclaration(undefined,undefined,undefined,ce)],undefined,R.createBlock(le,true)))}return R.createArrayLiteralExpression($,true)}function topLevelVisitor(E){switch(E.kind){case 264:return visitImportDeclaration(E);case 263:return visitImportEqualsDeclaration(E);case 270:return visitExportDeclaration(E);case 269:return visitExportAssignment(E);default:return topLevelNestedVisitor(E)}}function visitImportDeclaration(N){var j;if(N.importClause){q(E.getLocalNameForExternalImport(R,N,Ne))}if(hasAssociatedEndOfDeclarationMarker(N)){var $=E.getOriginalNodeId(N);Ee[$]=appendExportsOfImportDeclaration(Ee[$],N)}else{j=appendExportsOfImportDeclaration(j,N)}return E.singleOrMany(j)}function visitExportDeclaration(N){E.Debug.assertIsDefined(N);return undefined}function visitImportEqualsDeclaration(N){E.Debug.assert(E.isExternalModuleImportEqualsDeclaration(N),"import= for internal module references should be handled in an earlier transformer.");var j;q(E.getLocalNameForExternalImport(R,N,Ne));if(hasAssociatedEndOfDeclarationMarker(N)){var $=E.getOriginalNodeId(N);Ee[$]=appendExportsOfImportEqualsDeclaration(Ee[$],N)}else{j=appendExportsOfImportEqualsDeclaration(j,N)}return E.singleOrMany(j)}function visitExportAssignment(N){if(N.isExportEquals){return undefined}var j=E.visitNode(N.expression,visitor,E.isExpression);var $=N.original;if($&&hasAssociatedEndOfDeclarationMarker($)){var q=E.getOriginalNodeId(N);Ee[q]=appendExportStatement(Ee[q],R.createIdentifier("default"),j,true)}else{return createExportStatement(R.createIdentifier("default"),j,true)}}function visitFunctionDeclaration(j){if(E.hasSyntacticModifier(j,1)){je=E.append(je,R.updateFunctionDeclaration(j,j.decorators,E.visitNodes(j.modifiers,modifierVisitor,E.isModifier),j.asteriskToken,R.getDeclarationName(j,true,true),undefined,E.visitNodes(j.parameters,visitor,E.isParameterDeclaration),undefined,E.visitNode(j.body,visitor,E.isBlock)))}else{je=E.append(je,E.visitEachChild(j,visitor,N))}if(hasAssociatedEndOfDeclarationMarker(j)){var $=E.getOriginalNodeId(j);Ee[$]=appendExportsOfHoistedDeclaration(Ee[$],j)}else{je=appendExportsOfHoistedDeclaration(je,j)}return undefined}function visitClassDeclaration(N){var j;var $=R.getLocalName(N);q($);j=E.append(j,E.setTextRange(R.createExpressionStatement(R.createAssignment($,E.setTextRange(R.createClassExpression(E.visitNodes(N.decorators,visitor,E.isDecorator),undefined,N.name,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),E.visitNodes(N.members,visitor,E.isClassElement)),N))),N));if(hasAssociatedEndOfDeclarationMarker(N)){var G=E.getOriginalNodeId(N);Ee[G]=appendExportsOfHoistedDeclaration(Ee[G],N)}else{j=appendExportsOfHoistedDeclaration(j,N)}return E.singleOrMany(j)}function visitVariableStatement(N){if(!shouldHoistVariableDeclarationList(N.declarationList)){return E.visitNode(N,visitor,E.isStatement)}var j;var $=E.hasSyntacticModifier(N,1);var q=hasAssociatedEndOfDeclarationMarker(N);for(var G=0,ie=N.declarationList.declarations;G<ie.length;G++){var ae=ie[G];if(ae.initializer){j=E.append(j,transformInitializedVariable(ae,$&&!q))}else{hoistBindingElement(ae)}}var ce;if(j){ce=E.append(ce,E.setTextRange(R.createExpressionStatement(R.inlineExpressions(j)),N))}if(q){var le=E.getOriginalNodeId(N);Ee[le]=appendExportsOfVariableStatement(Ee[le],N,$)}else{ce=appendExportsOfVariableStatement(ce,N,false)}return E.singleOrMany(ce)}function hoistBindingElement(N){if(E.isBindingPattern(N.name)){for(var j=0,$=N.name.elements;j<$.length;j++){var G=$[j];if(!E.isOmittedExpression(G)){hoistBindingElement(G)}}}else{q(R.cloneNode(N.name))}}function shouldHoistVariableDeclarationList(N){return(E.getEmitFlags(N)&2097152)===0&&(Ue.kind===300||(E.getOriginalNode(N).flags&3)===0)}function transformInitializedVariable(R,j){var $=j?createExportedVariableAssignment:createNonExportedVariableAssignment;return E.isBindingPattern(R.name)?E.flattenDestructuringAssignment(R,visitor,N,0,false,$):R.initializer?$(R.name,E.visitNode(R.initializer,visitor,E.isExpression)):R.name}function createExportedVariableAssignment(E,N,R){return createVariableAssignment(E,N,R,true)}function createNonExportedVariableAssignment(E,N,R){return createVariableAssignment(E,N,R,false)}function createVariableAssignment(N,j,$,G){q(R.cloneNode(N));return G?createExportExpression(N,preventSubstitution(E.setTextRange(R.createAssignment(N,j),$))):preventSubstitution(E.setTextRange(R.createAssignment(N,j),$))}function visitMergeDeclarationMarker(N){if(hasAssociatedEndOfDeclarationMarker(N)&&N.original.kind===235){var R=E.getOriginalNodeId(N);var j=E.hasSyntacticModifier(N.original,1);Ee[R]=appendExportsOfVariableStatement(Ee[R],N.original,j)}return N}function hasAssociatedEndOfDeclarationMarker(N){return(E.getEmitFlags(N)&4194304)!==0}function visitEndOfDeclarationMarker(N){var R=E.getOriginalNodeId(N);var j=Ee[R];if(j){delete Ee[R];return E.append(j,N)}else{var $=E.getOriginalNode(N);if(E.isModuleOrEnumDeclaration($)){return E.append(appendExportsOfDeclaration(j,$),N)}}return N}function appendExportsOfImportDeclaration(E,N){if(Me.exportEquals){return E}var R=N.importClause;if(!R){return E}if(R.name){E=appendExportsOfDeclaration(E,R)}var j=R.namedBindings;if(j){switch(j.kind){case 266:E=appendExportsOfDeclaration(E,j);break;case 267:for(var $=0,q=j.elements;$<q.length;$++){var G=q[$];E=appendExportsOfDeclaration(E,G)}break}}return E}function appendExportsOfImportEqualsDeclaration(E,N){if(Me.exportEquals){return E}return appendExportsOfDeclaration(E,N)}function appendExportsOfVariableStatement(E,N,R){if(Me.exportEquals){return E}for(var j=0,$=N.declarationList.declarations;j<$.length;j++){var q=$[j];if(q.initializer||R){E=appendExportsOfBindingElement(E,q,R)}}return E}function appendExportsOfBindingElement(N,j,$){if(Me.exportEquals){return N}if(E.isBindingPattern(j.name)){for(var q=0,G=j.name.elements;q<G.length;q++){var ie=G[q];if(!E.isOmittedExpression(ie)){N=appendExportsOfBindingElement(N,ie,$)}}}else if(!E.isGeneratedIdentifier(j.name)){var ae=void 0;if($){N=appendExportStatement(N,j.name,R.getLocalName(j));ae=E.idText(j.name)}N=appendExportsOfDeclaration(N,j,ae)}return N}function appendExportsOfHoistedDeclaration(N,j){if(Me.exportEquals){return N}var $;if(E.hasSyntacticModifier(j,1)){var q=E.hasSyntacticModifier(j,512)?R.createStringLiteral("default"):j.name;N=appendExportStatement(N,q,R.getLocalName(j));$=E.getTextOfIdentifierOrLiteral(q)}if(j.name){N=appendExportsOfDeclaration(N,j,$)}return N}function appendExportsOfDeclaration(N,j,$){if(Me.exportEquals){return N}var q=R.getDeclarationName(j);var G=Me.exportSpecifiers.get(E.idText(q));if(G){for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];if(ce.name.escapedText!==$){N=appendExportStatement(N,ce.name,q)}}}return N}function appendExportStatement(N,R,j,$){N=E.append(N,createExportStatement(R,j,$));return N}function createExportStatement(N,j,$){var q=R.createExpressionStatement(createExportExpression(N,j));E.startOnNewLine(q);if(!$){E.setEmitFlags(q,1536)}return q}function createExportExpression(N,j){var $=E.isIdentifier(N)?R.createStringLiteralFromNode(N):N;E.setEmitFlags(j,E.getEmitFlags(j)|1536);return E.setCommentRange(R.createCallExpression(Le,undefined,[$,j]),j)}function topLevelNestedVisitor(E){switch(E.kind){case 235:return visitVariableStatement(E);case 254:return visitFunctionDeclaration(E);case 255:return visitClassDeclaration(E);case 240:return visitForStatement(E,true);case 241:return visitForInStatement(E);case 242:return visitForOfStatement(E);case 238:return visitDoStatement(E);case 239:return visitWhileStatement(E);case 248:return visitLabeledStatement(E);case 246:return visitWithStatement(E);case 247:return visitSwitchStatement(E);case 261:return visitCaseBlock(E);case 287:return visitCaseClause(E);case 288:return visitDefaultClause(E);case 250:return visitTryStatement(E);case 290:return visitCatchClause(E);case 233:return visitBlock(E);case 347:return visitMergeDeclarationMarker(E);case 348:return visitEndOfDeclarationMarker(E);default:return visitor(E)}}function visitForStatement(j,$){var q=Ue;Ue=j;j=R.updateForStatement(j,E.visitNode(j.initializer,$?visitForInitializer:discardedValueVisitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(j.statement,$?topLevelNestedVisitor:visitor,N));Ue=q;return j}function visitForInStatement(j){var $=Ue;Ue=j;j=R.updateForInStatement(j,visitForInitializer(j.initializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,topLevelNestedVisitor,N));Ue=$;return j}function visitForOfStatement(j){var $=Ue;Ue=j;j=R.updateForOfStatement(j,j.awaitModifier,visitForInitializer(j.initializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,topLevelNestedVisitor,N));Ue=$;return j}function shouldHoistForInitializer(N){return E.isVariableDeclarationList(N)&&shouldHoistVariableDeclarationList(N)}function visitForInitializer(N){if(shouldHoistForInitializer(N)){var j=void 0;for(var $=0,q=N.declarations;$<q.length;$++){var G=q[$];j=E.append(j,transformInitializedVariable(G,false));if(!G.initializer){hoistBindingElement(G)}}return j?R.inlineExpressions(j):R.createOmittedExpression()}else{return E.visitNode(N,discardedValueVisitor,E.isExpression)}}function visitDoStatement(j){return R.updateDoStatement(j,E.visitIterationBody(j.statement,topLevelNestedVisitor,N),E.visitNode(j.expression,visitor,E.isExpression))}function visitWhileStatement(j){return R.updateWhileStatement(j,E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,topLevelNestedVisitor,N))}function visitLabeledStatement(N){return R.updateLabeledStatement(N,N.label,E.visitNode(N.statement,topLevelNestedVisitor,E.isStatement,R.liftToBlock))}function visitWithStatement(N){return R.updateWithStatement(N,E.visitNode(N.expression,visitor,E.isExpression),E.visitNode(N.statement,topLevelNestedVisitor,E.isStatement,R.liftToBlock))}function visitSwitchStatement(N){return R.updateSwitchStatement(N,E.visitNode(N.expression,visitor,E.isExpression),E.visitNode(N.caseBlock,topLevelNestedVisitor,E.isCaseBlock))}function visitCaseBlock(N){var j=Ue;Ue=N;N=R.updateCaseBlock(N,E.visitNodes(N.clauses,topLevelNestedVisitor,E.isCaseOrDefaultClause));Ue=j;return N}function visitCaseClause(N){return R.updateCaseClause(N,E.visitNode(N.expression,visitor,E.isExpression),E.visitNodes(N.statements,topLevelNestedVisitor,E.isStatement))}function visitDefaultClause(R){return E.visitEachChild(R,topLevelNestedVisitor,N)}function visitTryStatement(R){return E.visitEachChild(R,topLevelNestedVisitor,N)}function visitCatchClause(N){var j=Ue;Ue=N;N=R.updateCatchClause(N,N.variableDeclaration,E.visitNode(N.block,topLevelNestedVisitor,E.isBlock));Ue=j;return N}function visitBlock(R){var j=Ue;Ue=R;R=E.visitEachChild(R,topLevelNestedVisitor,N);Ue=j;return R}function visitorWorker(R,j){if(!(R.transformFlags&(2048|4194304|67108864))){return R}switch(R.kind){case 240:return visitForStatement(R,false);case 236:return visitExpressionStatement(R);case 210:return visitParenthesizedExpression(R,j);case 345:return visitPartiallyEmittedExpression(R,j);case 219:if(E.isDestructuringAssignment(R)){return visitDestructuringAssignment(R,j)}break;case 206:if(E.isImportCall(R)){return visitImportCallExpression(R)}break;case 217:case 218:return visitPrefixOrPostfixUnaryExpression(R,j)}return E.visitEachChild(R,visitor,N)}function visitor(E){return visitorWorker(E,false)}function discardedValueVisitor(E){return visitorWorker(E,true)}function visitExpressionStatement(N){return R.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function visitParenthesizedExpression(N,j){return R.updateParenthesizedExpression(N,E.visitNode(N.expression,j?discardedValueVisitor:visitor,E.isExpression))}function visitPartiallyEmittedExpression(N,j){return R.updatePartiallyEmittedExpression(N,E.visitNode(N.expression,j?discardedValueVisitor:visitor,E.isExpression))}function visitImportCallExpression(N){var j=E.getExternalModuleNameLiteral(R,N,Ne,ae,ie,G);var $=E.visitNode(E.firstOrUndefined(N.arguments),visitor);var q=j&&(!$||!E.isStringLiteral($)||$.text!==j.text)?j:$;return R.createCallExpression(R.createPropertyAccessExpression(Be,R.createIdentifier("import")),undefined,q?[q]:[])}function visitDestructuringAssignment(R,j){if(hasExportedReferenceInDestructuringTarget(R.left)){return E.flattenDestructuringAssignment(R,visitor,N,0,!j)}return E.visitEachChild(R,visitor,N)}function hasExportedReferenceInDestructuringTarget(N){if(E.isAssignmentExpression(N,true)){return hasExportedReferenceInDestructuringTarget(N.left)}else if(E.isSpreadElement(N)){return hasExportedReferenceInDestructuringTarget(N.expression)}else if(E.isObjectLiteralExpression(N)){return E.some(N.properties,hasExportedReferenceInDestructuringTarget)}else if(E.isArrayLiteralExpression(N)){return E.some(N.elements,hasExportedReferenceInDestructuringTarget)}else if(E.isShorthandPropertyAssignment(N)){return hasExportedReferenceInDestructuringTarget(N.name)}else if(E.isPropertyAssignment(N)){return hasExportedReferenceInDestructuringTarget(N.initializer)}else if(E.isIdentifier(N)){var R=ie.getReferencedExportContainer(N);return R!==undefined&&R.kind===300}else{return false}}function visitPrefixOrPostfixUnaryExpression(j,$){if((j.operator===45||j.operator===46)&&E.isIdentifier(j.operand)&&!E.isGeneratedIdentifier(j.operand)&&!E.isLocalName(j.operand)&&!E.isDeclarationNameOfEnumOrNamespace(j.operand)){var G=getExports(j.operand);if(G){var ie=void 0;var ae=E.visitNode(j.operand,visitor,E.isExpression);if(E.isPrefixUnaryExpression(j)){ae=R.updatePrefixUnaryExpression(j,ae)}else{ae=R.updatePostfixUnaryExpression(j,ae);if(!$){ie=R.createTempVariable(q);ae=R.createAssignment(ie,ae);E.setTextRange(ae,j)}ae=R.createComma(ae,R.cloneNode(j.operand));E.setTextRange(ae,j)}for(var ce=0,le=G;ce<le.length;ce++){var _e=le[ce];ae=createExportExpression(_e,preventSubstitution(ae))}if(ie){ae=R.createComma(ae,ie);E.setTextRange(ae,j)}return ae}}return E.visitEachChild(j,visitor,N)}function modifierVisitor(E){switch(E.kind){case 93:case 88:return undefined}return E}function onEmitNode(N,R,j){if(R.kind===300){var $=E.getOriginalNodeId(R);Ne=R;Me=_e[$];Le=Te[$];ze=we[$];Be=Ie[$];if(ze){delete we[$]}le(N,R,j);Ne=undefined;Me=undefined;Le=undefined;Be=undefined;ze=undefined}else{le(N,R,j)}}function onSubstituteNode(E,N){N=ce(E,N);if(isSubstitutionPrevented(N)){return N}if(E===1){return substituteExpression(N)}else if(E===4){return substituteUnspecified(N)}return N}function substituteUnspecified(E){switch(E.kind){case 292:return substituteShorthandPropertyAssignment(E)}return E}function substituteShorthandPropertyAssignment(N){var j,$;var q=N.name;if(!E.isGeneratedIdentifier(q)&&!E.isLocalName(q)){var G=ie.getReferencedImportDeclaration(q);if(G){if(E.isImportClause(G)){return E.setTextRange(R.createPropertyAssignment(R.cloneNode(q),R.createPropertyAccessExpression(R.getGeneratedNameForNode(G.parent),R.createIdentifier("default"))),N)}else if(E.isImportSpecifier(G)){return E.setTextRange(R.createPropertyAssignment(R.cloneNode(q),R.createPropertyAccessExpression(R.getGeneratedNameForNode((($=(j=G.parent)===null||j===void 0?void 0:j.parent)===null||$===void 0?void 0:$.parent)||G),R.cloneNode(G.propertyName||G.name))),N)}}}return N}function substituteExpression(E){switch(E.kind){case 79:return substituteExpressionIdentifier(E);case 219:return substituteBinaryExpression(E);case 229:return substituteMetaProperty(E)}return E}function substituteExpressionIdentifier(N){var j,$;if(E.getEmitFlags(N)&4096){var q=E.getExternalHelpersModuleName(Ne);if(q){return R.createPropertyAccessExpression(q,N)}return N}if(!E.isGeneratedIdentifier(N)&&!E.isLocalName(N)){var G=ie.getReferencedImportDeclaration(N);if(G){if(E.isImportClause(G)){return E.setTextRange(R.createPropertyAccessExpression(R.getGeneratedNameForNode(G.parent),R.createIdentifier("default")),N)}else if(E.isImportSpecifier(G)){return E.setTextRange(R.createPropertyAccessExpression(R.getGeneratedNameForNode((($=(j=G.parent)===null||j===void 0?void 0:j.parent)===null||$===void 0?void 0:$.parent)||G),R.cloneNode(G.propertyName||G.name)),N)}}}return N}function substituteBinaryExpression(N){if(E.isAssignmentOperator(N.operatorToken.kind)&&E.isIdentifier(N.left)&&!E.isGeneratedIdentifier(N.left)&&!E.isLocalName(N.left)&&!E.isDeclarationNameOfEnumOrNamespace(N.left)){var R=getExports(N.left);if(R){var j=N;for(var $=0,q=R;$<q.length;$++){var G=q[$];j=createExportExpression(G,preventSubstitution(j))}return j}}return N}function substituteMetaProperty(N){if(E.isImportMeta(N)){return R.createPropertyAccessExpression(Be,R.createIdentifier("meta"))}return N}function getExports(N){var j;if(!E.isGeneratedIdentifier(N)){var $=ie.getReferencedImportDeclaration(N)||ie.getReferencedValueDeclaration(N);if($){var q=ie.getReferencedExportContainer(N,false);if(q&&q.kind===300){j=E.append(j,R.getDeclarationName($))}j=E.addRange(j,Me&&Me.exportedBindings[E.getOriginalNodeId($)])}}return j}function preventSubstitution(N){if(ze===undefined)ze=[];ze[E.getNodeId(N)]=true;return N}function isSubstitutionPrevented(E){return ze&&E.id&&ze[E.id]}}E.transformSystemModule=transformSystemModule})(ce||(ce={}));var ce;(function(E){function transformECMAScriptModule(N){var R=N.factory,$=N.getEmitHelperFactory;var q=N.getCompilerOptions();var G=N.onEmitNode;var ie=N.onSubstituteNode;N.onEmitNode=onEmitNode;N.onSubstituteNode=onSubstituteNode;N.enableEmitNotification(300);N.enableSubstitution(79);var ae;return E.chainBundle(N,transformSourceFile);function transformSourceFile(N){if(N.isDeclarationFile){return N}if(E.isExternalModule(N)||q.isolatedModules){var $=updateExternalModule(N);if(!E.isExternalModule(N)||E.some($.statements,E.isExternalModuleIndicator)){return $}return R.updateSourceFile($,E.setTextRange(R.createNodeArray(j(j([],$.statements,true),[E.createEmptyExports(R)],false)),$.statements))}return N}function updateExternalModule(j){var G=E.createExternalHelpersImportDeclarationIfNeeded(R,$(),j,q);if(G){var ie=[];var ae=R.copyPrologue(j.statements,ie);E.append(ie,G);E.addRange(ie,E.visitNodes(j.statements,visitor,E.isStatement,ae));return R.updateSourceFile(j,E.setTextRange(R.createNodeArray(ie),j.statements))}else{return E.visitEachChild(j,visitor,N)}}function visitor(E){switch(E.kind){case 263:return undefined;case 269:return visitExportAssignment(E);case 270:var N=E;return visitExportDeclaration(N)}return E}function visitExportAssignment(E){return E.isExportEquals?undefined:E}function visitExportDeclaration(N){if(q.module!==undefined&&q.module>E.ModuleKind.ES2015){return N}if(!N.exportClause||!E.isNamespaceExport(N.exportClause)||!N.moduleSpecifier){return N}var j=N.exportClause.name;var $=R.getGeneratedNameForNode(j);var G=R.createImportDeclaration(undefined,undefined,R.createImportClause(false,undefined,R.createNamespaceImport($)),N.moduleSpecifier);E.setOriginalNode(G,N.exportClause);var ie=E.isExportNamespaceAsDefaultDeclaration(N)?R.createExportDefault($):R.createExportDeclaration(undefined,undefined,false,R.createNamedExports([R.createExportSpecifier($,j)]));E.setOriginalNode(ie,N);return[G,ie]}function onEmitNode(N,R,j){if(E.isSourceFile(R)){if((E.isExternalModule(R)||q.isolatedModules)&&q.importHelpers){ae=new E.Map}G(N,R,j);ae=undefined}else{G(N,R,j)}}function onSubstituteNode(N,R){R=ie(N,R);if(ae&&E.isIdentifier(R)&&E.getEmitFlags(R)&4096){return substituteHelperName(R)}return R}function substituteHelperName(N){var j=E.idText(N);var $=ae.get(j);if(!$){ae.set(j,$=R.createUniqueName(j,16|32))}return $}}E.transformECMAScriptModule=transformECMAScriptModule})(ce||(ce={}));var ce;(function(E){function canProduceDiagnostics(N){return E.isVariableDeclaration(N)||E.isPropertyDeclaration(N)||E.isPropertySignature(N)||E.isBindingElement(N)||E.isSetAccessor(N)||E.isGetAccessor(N)||E.isConstructSignatureDeclaration(N)||E.isCallSignatureDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isFunctionDeclaration(N)||E.isParameter(N)||E.isTypeParameterDeclaration(N)||E.isExpressionWithTypeArguments(N)||E.isImportEqualsDeclaration(N)||E.isTypeAliasDeclaration(N)||E.isConstructorDeclaration(N)||E.isIndexSignatureDeclaration(N)||E.isPropertyAccessExpression(N)||E.isJSDocTypeAlias(N)}E.canProduceDiagnostics=canProduceDiagnostics;function createGetSymbolAccessibilityDiagnosticForNodeName(N){if(E.isSetAccessor(N)||E.isGetAccessor(N)){return getAccessorNameVisibilityError}else if(E.isMethodSignature(N)||E.isMethodDeclaration(N)){return getMethodNameVisibilityError}else{return createGetSymbolAccessibilityDiagnosticForNode(N)}function getAccessorNameVisibilityError(E){var R=getAccessorNameVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getAccessorNameVisibilityDiagnosticMessage(R){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}function getMethodNameVisibilityError(E){var R=getMethodNameVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getMethodNameVisibilityDiagnosticMessage(R){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}}E.createGetSymbolAccessibilityDiagnosticForNodeName=createGetSymbolAccessibilityDiagnosticForNodeName;function createGetSymbolAccessibilityDiagnosticForNode(N){if(E.isVariableDeclaration(N)||E.isPropertyDeclaration(N)||E.isPropertySignature(N)||E.isPropertyAccessExpression(N)||E.isBindingElement(N)||E.isConstructorDeclaration(N)){return getVariableDeclarationTypeVisibilityError}else if(E.isSetAccessor(N)||E.isGetAccessor(N)){return getAccessorDeclarationTypeVisibilityError}else if(E.isConstructSignatureDeclaration(N)||E.isCallSignatureDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isFunctionDeclaration(N)||E.isIndexSignatureDeclaration(N)){return getReturnTypeVisibilityError}else if(E.isParameter(N)){if(E.isParameterPropertyDeclaration(N,N.parent)&&E.hasSyntacticModifier(N.parent,8)){return getVariableDeclarationTypeVisibilityError}return getParameterDeclarationTypeVisibilityError}else if(E.isTypeParameterDeclaration(N)){return getTypeParameterConstraintVisibilityError}else if(E.isExpressionWithTypeArguments(N)){return getHeritageClauseVisibilityError}else if(E.isImportEqualsDeclaration(N)){return getImportEntityNameVisibilityError}else if(E.isTypeAliasDeclaration(N)||E.isJSDocTypeAlias(N)){return getTypeAliasDeclarationVisibilityError}else{return E.Debug.assertNever(N,"Attempted to set a declaration diagnostic context for unhandled node kind: "+E.SyntaxKind[N.kind])}function getVariableDeclarationTypeVisibilityDiagnosticMessage(R){if(N.kind===252||N.kind===201){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1}else if(N.kind===165||N.kind===204||N.kind===164||N.kind===162&&E.hasSyntacticModifier(N.parent,8)){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255||N.kind===162){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}}function getVariableDeclarationTypeVisibilityError(E){var R=getVariableDeclarationTypeVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getAccessorDeclarationTypeVisibilityError(R){var j;if(N.kind===171){if(E.isStatic(N)){j=R.errorModuleName?E.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1}else{j=R.errorModuleName?E.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1}}else{if(E.isStatic(N)){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1}else{j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1}}return{diagnosticMessage:j,errorNode:N.name,typeName:N.name}}function getReturnTypeVisibilityError(R){var j;switch(N.kind){case 173:j=R.errorModuleName?E.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 172:j=R.errorModuleName?E.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:j=R.errorModuleName?E.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 167:case 166:if(E.isStatic(N)){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0}else if(N.parent.kind===255){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0}else{j=R.errorModuleName?E.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0}break;case 254:j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return E.Debug.fail("This is unknown kind for signature: "+N.kind)}return{diagnosticMessage:j,errorNode:N.name||N}}function getParameterDeclarationTypeVisibilityError(E){var R=getParameterDeclarationTypeVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getParameterDeclarationTypeVisibilityDiagnosticMessage(R){switch(N.parent.kind){case 169:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 173:case 178:return R.errorModuleName?E.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 172:return R.errorModuleName?E.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:return R.errorModuleName?E.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 167:case 166:if(E.isStatic(N.parent)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(N.parent.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}case 254:case 177:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 171:case 170:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return E.Debug.fail("Unknown parent for parameter: "+E.SyntaxKind[N.parent.kind])}}function getTypeParameterConstraintVisibilityError(){var R;switch(N.parent.kind){case 255:R=E.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 256:R=E.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 193:R=E.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 178:case 173:R=E.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 172:R=E.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 167:case 166:if(E.isStatic(N.parent)){R=E.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(N.parent.parent.kind===255){R=E.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{R=E.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}break;case 177:case 254:R=E.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 257:R=E.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return E.Debug.fail("This is unknown parent for type parameter: "+N.parent.kind)}return{diagnosticMessage:R,errorNode:N,typeName:N.name}}function getHeritageClauseVisibilityError(){var R;if(E.isClassDeclaration(N.parent.parent)){R=E.isHeritageClause(N.parent)&&N.parent.token===117?E.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:N.parent.parent.name?E.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:E.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0}else{R=E.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1}return{diagnosticMessage:R,errorNode:N,typeName:E.getNameOfDeclaration(N.parent.parent)}}function getImportEntityNameVisibilityError(){return{diagnosticMessage:E.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:N,typeName:N.name}}function getTypeAliasDeclarationVisibilityError(R){return{diagnosticMessage:R.errorModuleName?E.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:E.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:E.isJSDocTypeAlias(N)?E.Debug.checkDefined(N.typeExpression):N.type,typeName:E.isJSDocTypeAlias(N)?E.getNameOfDeclaration(N):N.name}}}E.createGetSymbolAccessibilityDiagnosticForNode=createGetSymbolAccessibilityDiagnosticForNode})(ce||(ce={}));var ce;(function(E){function getDeclarationDiagnostics(N,R,j){var $=N.getCompilerOptions();var q=E.transformNodes(R,N,E.factory,$,j?[j]:E.filter(N.getSourceFiles(),E.isSourceFileNotJson),[transformDeclarations],false);return q.diagnostics}E.getDeclarationDiagnostics=getDeclarationDiagnostics;function hasInternalAnnotation(N,R){var j=R.text.substring(N.pos,N.end);return E.stringContains(j,"@internal")}function isInternalDeclaration(N,R){var j=E.getParseTreeNode(N);if(j&&j.kind===162){var $=j.parent.parameters.indexOf(j);var q=$>0?j.parent.parameters[$-1]:undefined;var G=R.text;var ie=q?E.concatenate(E.getTrailingCommentRanges(G,E.skipTrivia(G,q.end+1,false,true)),E.getLeadingCommentRanges(G,N.pos)):E.getTrailingCommentRanges(G,E.skipTrivia(G,N.pos,false,true));return ie&&ie.length&&hasInternalAnnotation(E.last(ie),R)}var ae=j&&E.getLeadingCommentRangesOfNode(j,R);return!!E.forEach(ae,(function(E){return hasInternalAnnotation(E,R)}))}E.isInternalDeclaration=isInternalDeclaration;var N=1024|2048|4096|8|524288|4|1;function transformDeclarations(R){var throwDiagnostic=function(){return E.Debug.fail("Diagnostic emitted without context")};var $=throwDiagnostic;var q=true;var G=false;var ie=false;var ae=false;var ce=false;var le;var _e;var Ee;var Te;var we;var Ie;var Ne=R.factory;var Me=R.getEmitHost();var Le={trackSymbol:trackSymbol,reportInaccessibleThisError:reportInaccessibleThisError,reportInaccessibleUniqueSymbolError:reportInaccessibleUniqueSymbolError,reportCyclicStructureError:reportCyclicStructureError,reportPrivateInBaseOfClassExpression:reportPrivateInBaseOfClassExpression,reportLikelyUnsafeImportRequiredError:reportLikelyUnsafeImportRequiredError,reportTruncationError:reportTruncationError,moduleResolverHost:Me,trackReferencedAmbientModule:trackReferencedAmbientModule,trackExternalModuleSymbolOfImportTypeNode:trackExternalModuleSymbolOfImportTypeNode,reportNonlocalAugmentation:reportNonlocalAugmentation,reportNonSerializableProperty:reportNonSerializableProperty};var Be;var je;var Ue;var ze;var We;var Je;var Ve=R.getEmitResolver();var qe=R.getCompilerOptions();var He=qe.noResolve,Ge=qe.stripInternal;return transformRoot;function recordTypeReferenceDirectivesIfNecessary(N){if(!N){return}_e=_e||new E.Set;for(var R=0,j=N;R<j.length;R++){var $=j[R];_e.add($)}}function trackReferencedAmbientModule(N,R){var j=Ve.getTypeReferenceDirectivesForSymbol(R,67108863);if(E.length(j)){return recordTypeReferenceDirectivesIfNecessary(j)}var $=E.getSourceFileOfNode(N);ze.set(E.getOriginalNodeId($),$)}function handleSymbolAccessibilityError(N){if(N.accessibility===0){if(N&&N.aliasesToMakeVisible){if(!Ee){Ee=N.aliasesToMakeVisible}else{for(var j=0,q=N.aliasesToMakeVisible;j<q.length;j++){var G=q[j];E.pushIfUnique(Ee,G)}}}}else{var ie=$(N);if(ie){if(ie.typeName){R.addDiagnostic(E.createDiagnosticForNode(N.errorNode||ie.errorNode,ie.diagnosticMessage,E.getTextOfNode(ie.typeName),N.errorSymbolName,N.errorModuleName))}else{R.addDiagnostic(E.createDiagnosticForNode(N.errorNode||ie.errorNode,ie.diagnosticMessage,N.errorSymbolName,N.errorModuleName))}return true}}return false}function trackExternalModuleSymbolOfImportTypeNode(E){if(!G){(Ie||(Ie=[])).push(E)}}function trackSymbol(E,N,R){if(E.flags&262144)return false;var j=handleSymbolAccessibilityError(Ve.isSymbolAccessible(E,N,R,true));recordTypeReferenceDirectivesIfNecessary(Ve.getTypeReferenceDirectivesForSymbol(E,R));return j}function reportPrivateInBaseOfClassExpression(N){if(Be||je){R.addDiagnostic(E.createDiagnosticForNode(Be||je,E.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,N))}}function errorDeclarationNameWithFallback(){return Be?E.declarationNameToString(Be):je&&E.getNameOfDeclaration(je)?E.declarationNameToString(E.getNameOfDeclaration(je)):je&&E.isExportAssignment(je)?je.isExportEquals?"export=":"default":"(Missing)"}function reportInaccessibleUniqueSymbolError(){if(Be||je){R.addDiagnostic(E.createDiagnosticForNode(Be||je,E.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,errorDeclarationNameWithFallback(),"unique symbol"))}}function reportCyclicStructureError(){if(Be||je){R.addDiagnostic(E.createDiagnosticForNode(Be||je,E.Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,errorDeclarationNameWithFallback()))}}function reportInaccessibleThisError(){if(Be||je){R.addDiagnostic(E.createDiagnosticForNode(Be||je,E.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,errorDeclarationNameWithFallback(),"this"))}}function reportLikelyUnsafeImportRequiredError(N){if(Be||je){R.addDiagnostic(E.createDiagnosticForNode(Be||je,E.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,errorDeclarationNameWithFallback(),N))}}function reportTruncationError(){if(Be||je){R.addDiagnostic(E.createDiagnosticForNode(Be||je,E.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))}}function reportNonlocalAugmentation(N,j,$){var q;var G=(q=j.declarations)===null||q===void 0?void 0:q.find((function(R){return E.getSourceFileOfNode(R)===N}));var ie=E.filter($.declarations,(function(R){return E.getSourceFileOfNode(R)!==N}));if(ie){for(var ae=0,ce=ie;ae<ce.length;ae++){var le=ce[ae];R.addDiagnostic(E.addRelatedInfo(E.createDiagnosticForNode(le,E.Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),E.createDiagnosticForNode(G,E.Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}}}function reportNonSerializableProperty(N){if(Be||je){R.addDiagnostic(E.createDiagnosticForNode(Be||je,E.Diagnostics.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,N))}}function transformDeclarationsForJS(R,j){var q=$;$=function(N){return N.errorNode&&E.canProduceDiagnostics(N.errorNode)?E.createGetSymbolAccessibilityDiagnosticForNode(N.errorNode)(N):{diagnosticMessage:N.errorModuleName?E.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:E.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:N.errorNode||R}};var G=Ve.getDeclarationStatementsForSourceFile(R,N,Le,j);$=q;return G}function transformRoot(N){if(N.kind===300&&N.isDeclarationFile){return N}if(N.kind===301){G=true;ze=new E.Map;We=new E.Map;var Le=false;var Be=Ne.createBundle(E.map(N.sourceFiles,(function(N){if(N.isDeclarationFile)return undefined;Le=Le||N.hasNoDefaultLib;Ue=N;le=N;Ee=undefined;we=false;Te=new E.Map;$=throwDiagnostic;ae=false;ce=false;collectReferences(N,ze);collectLibs(N,We);if(E.isExternalOrCommonJsModule(N)||E.isJsonSourceFile(N)){ie=false;q=false;var j=E.isSourceFileJS(N)?Ne.createNodeArray(transformDeclarationsForJS(N,true)):E.visitNodes(N.statements,visitDeclarationStatements);var G=Ne.updateSourceFile(N,[Ne.createModuleDeclaration([],[Ne.createModifier(134)],Ne.createStringLiteral(E.getResolvedExternalModuleName(R.getEmitHost(),N)),Ne.createModuleBlock(E.setTextRange(Ne.createNodeArray(transformAndReplaceLatePaintedStatements(j)),N.statements)))],true,[],[],false,[]);return G}q=true;var _e=E.isSourceFileJS(N)?Ne.createNodeArray(transformDeclarationsForJS(N)):E.visitNodes(N.statements,visitDeclarationStatements);return Ne.updateSourceFile(N,transformAndReplaceLatePaintedStatements(_e),true,[],[],false,[])})),E.mapDefined(N.prepends,(function(N){if(N.kind===303){var R=E.createUnparsedSourceFile(N,"dts",Ge);Le=Le||!!R.hasNoDefaultLib;collectReferences(R,ze);recordTypeReferenceDirectivesIfNecessary(R.typeReferenceDirectives);collectLibs(R,We);return R}return N})));Be.syntheticFileReferences=[];Be.syntheticTypeReferences=getFileReferencesForUsedTypeReferences();Be.syntheticLibReferences=getLibReferences();Be.hasNoDefaultLib=Le;var je=E.getDirectoryPath(E.normalizeSlashes(E.getOutputPathsFor(N,Me,true).declarationFilePath));var Ve=mapReferencesIntoArray(Be.syntheticFileReferences,je);ze.forEach(Ve);return Be}q=true;ae=false;ce=false;le=N;Ue=N;$=throwDiagnostic;G=false;ie=false;we=false;Ee=undefined;Te=new E.Map;_e=undefined;ze=collectReferences(Ue,new E.Map);We=collectLibs(Ue,new E.Map);var He=[];var Ke=E.getDirectoryPath(E.normalizeSlashes(E.getOutputPathsFor(N,Me,true).declarationFilePath));var Qe=mapReferencesIntoArray(He,Ke);var Xe;if(E.isSourceFileJS(Ue)){Xe=Ne.createNodeArray(transformDeclarationsForJS(N));ze.forEach(Qe);Je=E.filter(Xe,E.isAnyImportSyntax)}else{var Ye=E.visitNodes(N.statements,visitDeclarationStatements);Xe=E.setTextRange(Ne.createNodeArray(transformAndReplaceLatePaintedStatements(Ye)),N.statements);ze.forEach(Qe);Je=E.filter(Xe,E.isAnyImportSyntax);if(E.isExternalModule(N)&&(!ie||ae&&!ce)){Xe=E.setTextRange(Ne.createNodeArray(j(j([],Xe,true),[E.createEmptyExports(Ne)],false)),Xe)}}var Ze=Ne.updateSourceFile(N,Xe,true,He,getFileReferencesForUsedTypeReferences(),N.hasNoDefaultLib,getLibReferences());Ze.exportedModulesFromDeclarationEmit=Ie;return Ze;function getLibReferences(){return E.map(E.arrayFrom(We.keys()),(function(E){return{fileName:E,pos:-1,end:-1}}))}function getFileReferencesForUsedTypeReferences(){return _e?E.mapDefined(E.arrayFrom(_e.keys()),getFileReferenceForTypeName):[]}function getFileReferenceForTypeName(N){if(Je){for(var R=0,j=Je;R<j.length;R++){var $=j[R];if(E.isImportEqualsDeclaration($)&&E.isExternalModuleReference($.moduleReference)){var q=$.moduleReference.expression;if(E.isStringLiteralLike(q)&&q.text===N){return undefined}}else if(E.isImportDeclaration($)&&E.isStringLiteral($.moduleSpecifier)&&$.moduleSpecifier.text===N){return undefined}}}return{fileName:N,pos:-1,end:-1}}function mapReferencesIntoArray(R,j){return function($){var q;if($.isDeclarationFile){q=$.fileName}else{if(G&&E.contains(N.sourceFiles,$))return;var ie=E.getOutputPathsFor($,Me,true);q=ie.declarationFilePath||ie.jsFilePath||$.fileName}if(q){var ae=E.moduleSpecifiers.getModuleSpecifier(qe,Ue,E.toPath(j,Me.getCurrentDirectory(),Me.getCanonicalFileName),E.toPath(q,Me.getCurrentDirectory(),Me.getCanonicalFileName),Me);if(!E.pathIsRelative(ae)){recordTypeReferenceDirectivesIfNecessary([ae]);return}var ce=E.getRelativePathToDirectoryOrUrl(j,q,Me.getCurrentDirectory(),Me.getCanonicalFileName,false);if(E.startsWith(ce,"./")&&E.hasExtension(ce)){ce=ce.substring(2)}if(E.startsWith(ce,"node_modules/")||E.pathContainsNodeModules(ce)){return}R.push({pos:-1,end:-1,fileName:ce})}}}}function collectReferences(N,R){if(He||!E.isUnparsedSource(N)&&E.isSourceFileJS(N))return R;E.forEach(N.referencedFiles,(function(j){var $=Me.getSourceFileFromReference(N,j);if($){R.set(E.getOriginalNodeId($),$)}}));return R}function collectLibs(N,R){E.forEach(N.libReferenceDirectives,(function(N){var j=Me.getLibFileFromReference(N);if(j){R.set(E.toFileNameLowerCase(N.fileName),true)}}));return R}function filterBindingPatternInitializers(N){if(N.kind===79){return N}else{if(N.kind===200){return Ne.updateArrayBindingPattern(N,E.visitNodes(N.elements,visitBindingElement))}else{return Ne.updateObjectBindingPattern(N,E.visitNodes(N.elements,visitBindingElement))}}function visitBindingElement(E){if(E.kind===225){return E}return Ne.updateBindingElement(E,E.dotDotDotToken,E.propertyName,filterBindingPatternInitializers(E.name),shouldPrintWithInitializer(E)?E.initializer:undefined)}}function ensureParameter(N,R,j){var q;if(!we){q=$;$=E.createGetSymbolAccessibilityDiagnosticForNode(N)}var G=Ne.updateParameterDeclaration(N,undefined,maskModifiers(N,R),N.dotDotDotToken,filterBindingPatternInitializers(N.name),Ve.isOptionalParameter(N)?N.questionToken||Ne.createToken(57):undefined,ensureType(N,j||N.type,true),ensureNoInitializer(N));if(!we){$=q}return G}function shouldPrintWithInitializer(N){return canHaveLiteralInitializer(N)&&Ve.isLiteralConstDeclaration(E.getParseTreeNode(N))}function ensureNoInitializer(N){if(shouldPrintWithInitializer(N)){return Ve.createLiteralConstValue(E.getParseTreeNode(N),Le)}return undefined}function ensureType(R,j,q){if(!q&&E.hasEffectiveModifier(R,8)){return}if(shouldPrintWithInitializer(R)){return}var G=R.kind===162&&(Ve.isRequiredInitializedParameter(R)||Ve.isOptionalUninitializedParameterProperty(R));if(j&&!G){return E.visitNode(j,visitDeclarationSubtree)}if(!E.getParseTreeNode(R)){return j?E.visitNode(j,visitDeclarationSubtree):Ne.createKeywordTypeNode(129)}if(R.kind===171){return Ne.createKeywordTypeNode(129)}Be=R.name;var ie;if(!we){ie=$;$=E.createGetSymbolAccessibilityDiagnosticForNode(R)}if(R.kind===252||R.kind===201){return cleanup(Ve.createTypeOfDeclaration(R,le,N,Le))}if(R.kind===162||R.kind===165||R.kind===164){if(!R.initializer)return cleanup(Ve.createTypeOfDeclaration(R,le,N,Le,G));return cleanup(Ve.createTypeOfDeclaration(R,le,N,Le,G)||Ve.createTypeOfExpression(R.initializer,le,N,Le))}return cleanup(Ve.createReturnTypeOfSignatureDeclaration(R,le,N,Le));function cleanup(E){Be=undefined;if(!we){$=ie}return E||Ne.createKeywordTypeNode(129)}}function isDeclarationAndNotVisible(N){N=E.getParseTreeNode(N);switch(N.kind){case 254:case 259:case 256:case 255:case 257:case 258:return!Ve.isDeclarationVisible(N);case 252:return!getBindingNameVisible(N);case 263:case 264:case 270:case 269:return false;case 168:return true}return false}function shouldEmitFunctionProperties(N){var R;if(N.body){return true}var j=(R=N.symbol.declarations)===null||R===void 0?void 0:R.filter((function(N){return E.isFunctionDeclaration(N)&&!N.body}));return!j||j.indexOf(N)===j.length-1}function getBindingNameVisible(N){if(E.isOmittedExpression(N)){return false}if(E.isBindingPattern(N.name)){return E.some(N.name.elements,getBindingNameVisible)}else{return Ve.isDeclarationVisible(N)}}function updateParamsList(N,R,j){if(E.hasEffectiveModifier(N,8)){return undefined}var $=E.map(R,(function(E){return ensureParameter(E,j)}));if(!$){return undefined}return Ne.createNodeArray($,R.hasTrailingComma)}function updateAccessorParamsList(N,R){var j;if(!R){var $=E.getThisParameter(N);if($){j=[ensureParameter($)]}}if(E.isSetAccessorDeclaration(N)){var q=void 0;if(!R){var G=E.getSetAccessorValueParameter(N);if(G){var ie=getTypeAnnotationFromAllAccessorDeclarations(N,Ve.getAllAccessorDeclarations(N));q=ensureParameter(G,undefined,ie)}}if(!q){q=Ne.createParameterDeclaration(undefined,undefined,undefined,"value")}j=E.append(j,q)}return Ne.createNodeArray(j||E.emptyArray)}function ensureTypeParams(N,R){return E.hasEffectiveModifier(N,8)?undefined:E.visitNodes(R,visitDeclarationSubtree)}function isEnclosingDeclaration(N){return E.isSourceFile(N)||E.isTypeAliasDeclaration(N)||E.isModuleDeclaration(N)||E.isClassDeclaration(N)||E.isInterfaceDeclaration(N)||E.isFunctionLike(N)||E.isIndexSignatureDeclaration(N)||E.isMappedTypeNode(N)}function checkEntityNameVisibility(E,N){var R=Ve.isEntityNameVisible(E,N);handleSymbolAccessibilityError(R);recordTypeReferenceDirectivesIfNecessary(Ve.getTypeReferenceDirectivesForEntityName(E))}function preserveJsDoc(N,R){if(E.hasJSDocNodes(N)&&E.hasJSDocNodes(R)){N.jsDoc=R.jsDoc}return E.setCommentRange(N,E.getCommentRange(R))}function rewriteModuleSpecifier(N,j){if(!j)return undefined;ie=ie||N.kind!==259&&N.kind!==198;if(E.isStringLiteralLike(j)){if(G){var $=E.getExternalModuleNameFromDeclaration(R.getEmitHost(),Ve,N);if($){return Ne.createStringLiteral($)}}else{var q=Ve.getSymbolOfExternalModuleSpecifier(j);if(q){(Ie||(Ie=[])).push(q)}}}return j}function transformImportEqualsDeclaration(N){if(!Ve.isDeclarationVisible(N))return;if(N.moduleReference.kind===275){var R=E.getExternalModuleImportEqualsDeclarationExpression(N);return Ne.updateImportEqualsDeclaration(N,undefined,N.modifiers,N.isTypeOnly,N.name,Ne.updateExternalModuleReference(N.moduleReference,rewriteModuleSpecifier(N,R)))}else{var j=$;$=E.createGetSymbolAccessibilityDiagnosticForNode(N);checkEntityNameVisibility(N.moduleReference,le);$=j;return N}}function transformImportDeclaration(N){if(!N.importClause){return Ne.updateImportDeclaration(N,undefined,N.modifiers,N.importClause,rewriteModuleSpecifier(N,N.moduleSpecifier))}var R=N.importClause&&N.importClause.name&&Ve.isDeclarationVisible(N.importClause)?N.importClause.name:undefined;if(!N.importClause.namedBindings){return R&&Ne.updateImportDeclaration(N,undefined,N.modifiers,Ne.updateImportClause(N.importClause,N.importClause.isTypeOnly,R,undefined),rewriteModuleSpecifier(N,N.moduleSpecifier))}if(N.importClause.namedBindings.kind===266){var j=Ve.isDeclarationVisible(N.importClause.namedBindings)?N.importClause.namedBindings:undefined;return R||j?Ne.updateImportDeclaration(N,undefined,N.modifiers,Ne.updateImportClause(N.importClause,N.importClause.isTypeOnly,R,j),rewriteModuleSpecifier(N,N.moduleSpecifier)):undefined}var $=E.mapDefined(N.importClause.namedBindings.elements,(function(E){return Ve.isDeclarationVisible(E)?E:undefined}));if($&&$.length||R){return Ne.updateImportDeclaration(N,undefined,N.modifiers,Ne.updateImportClause(N.importClause,N.importClause.isTypeOnly,R,$&&$.length?Ne.updateNamedImports(N.importClause.namedBindings,$):undefined),rewriteModuleSpecifier(N,N.moduleSpecifier))}if(Ve.isImportRequiredByAugmentation(N)){return Ne.updateImportDeclaration(N,undefined,N.modifiers,undefined,rewriteModuleSpecifier(N,N.moduleSpecifier))}}function transformAndReplaceLatePaintedStatements(N){while(E.length(Ee)){var R=Ee.shift();if(!E.isLateVisibilityPaintedStatement(R)){return E.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: "+(E.SyntaxKind?E.SyntaxKind[R.kind]:R.kind))}var j=q;q=R.parent&&E.isSourceFile(R.parent)&&!(E.isExternalModule(R.parent)&&G);var $=transformTopLevelDeclaration(R);q=j;Te.set(E.getOriginalNodeId(R),$)}return E.visitNodes(N,visitLateVisibilityMarkedStatements);function visitLateVisibilityMarkedStatements(N){if(E.isLateVisibilityPaintedStatement(N)){var R=E.getOriginalNodeId(N);if(Te.has(R)){var j=Te.get(R);Te.delete(R);if(j){if(E.isArray(j)?E.some(j,E.needsScopeMarker):E.needsScopeMarker(j)){ae=true}if(E.isSourceFile(N.parent)&&(E.isArray(j)?E.some(j,E.isExternalModuleIndicator):E.isExternalModuleIndicator(j))){ie=true}}return j}}return N}}function visitDeclarationSubtree(N){if(shouldStripInternal(N))return;if(E.isDeclaration(N)){if(isDeclarationAndNotVisible(N))return;if(E.hasDynamicName(N)&&!Ve.isLateBound(E.getParseTreeNode(N))){return}}if(E.isFunctionLike(N)&&Ve.isImplementationOfOverload(N))return;if(E.isSemicolonClassElement(N))return;var j;if(isEnclosingDeclaration(N)){j=le;le=N}var q=$;var G=E.canProduceDiagnostics(N);var ie=we;var ae=(N.kind===180||N.kind===193)&&N.parent.kind!==257;if(E.isMethodDeclaration(N)||E.isMethodSignature(N)){if(E.hasEffectiveModifier(N,8)){if(N.symbol&&N.symbol.declarations&&N.symbol.declarations[0]!==N)return;return cleanup(Ne.createPropertyDeclaration(undefined,ensureModifiers(N),N.name,undefined,undefined,undefined))}}if(G&&!we){$=E.createGetSymbolAccessibilityDiagnosticForNode(N)}if(E.isTypeQueryNode(N)){checkEntityNameVisibility(N.exprName,le)}if(ae){we=true}if(isProcessedComponent(N)){switch(N.kind){case 226:{if(E.isEntityName(N.expression)||E.isEntityNameExpression(N.expression)){checkEntityNameVisibility(N.expression,le)}var ce=E.visitEachChild(N,visitDeclarationSubtree,R);return cleanup(Ne.updateExpressionWithTypeArguments(ce,ce.expression,ce.typeArguments))}case 176:{checkEntityNameVisibility(N.typeName,le);var ce=E.visitEachChild(N,visitDeclarationSubtree,R);return cleanup(Ne.updateTypeReferenceNode(ce,ce.typeName,ce.typeArguments))}case 173:return cleanup(Ne.updateConstructSignature(N,ensureTypeParams(N,N.typeParameters),updateParamsList(N,N.parameters),ensureType(N,N.type)));case 169:{var _e=Ne.createConstructorDeclaration(undefined,ensureModifiers(N),updateParamsList(N,N.parameters,0),undefined);return cleanup(_e)}case 167:{if(E.isPrivateIdentifier(N.name)){return cleanup(undefined)}var Ee=Ne.createMethodDeclaration(undefined,ensureModifiers(N),undefined,N.name,N.questionToken,ensureTypeParams(N,N.typeParameters),updateParamsList(N,N.parameters),ensureType(N,N.type),undefined);return cleanup(Ee)}case 170:{if(E.isPrivateIdentifier(N.name)){return cleanup(undefined)}var Te=getTypeAnnotationFromAllAccessorDeclarations(N,Ve.getAllAccessorDeclarations(N));return cleanup(Ne.updateGetAccessorDeclaration(N,undefined,ensureModifiers(N),N.name,updateAccessorParamsList(N,E.hasEffectiveModifier(N,8)),ensureType(N,Te),undefined))}case 171:{if(E.isPrivateIdentifier(N.name)){return cleanup(undefined)}return cleanup(Ne.updateSetAccessorDeclaration(N,undefined,ensureModifiers(N),N.name,updateAccessorParamsList(N,E.hasEffectiveModifier(N,8)),undefined))}case 165:if(E.isPrivateIdentifier(N.name)){return cleanup(undefined)}return cleanup(Ne.updatePropertyDeclaration(N,undefined,ensureModifiers(N),N.name,N.questionToken,ensureType(N,N.type),ensureNoInitializer(N)));case 164:if(E.isPrivateIdentifier(N.name)){return cleanup(undefined)}return cleanup(Ne.updatePropertySignature(N,ensureModifiers(N),N.name,N.questionToken,ensureType(N,N.type)));case 166:{if(E.isPrivateIdentifier(N.name)){return cleanup(undefined)}return cleanup(Ne.updateMethodSignature(N,ensureModifiers(N),N.name,N.questionToken,ensureTypeParams(N,N.typeParameters),updateParamsList(N,N.parameters),ensureType(N,N.type)))}case 172:{return cleanup(Ne.updateCallSignature(N,ensureTypeParams(N,N.typeParameters),updateParamsList(N,N.parameters),ensureType(N,N.type)))}case 174:{return cleanup(Ne.updateIndexSignature(N,undefined,ensureModifiers(N),updateParamsList(N,N.parameters),E.visitNode(N.type,visitDeclarationSubtree)||Ne.createKeywordTypeNode(129)))}case 252:{if(E.isBindingPattern(N.name)){return recreateBindingPattern(N.name)}ae=true;we=true;return cleanup(Ne.updateVariableDeclaration(N,N.name,undefined,ensureType(N,N.type),ensureNoInitializer(N)))}case 161:{if(isPrivateMethodTypeParameter(N)&&(N.default||N.constraint)){return cleanup(Ne.updateTypeParameterDeclaration(N,N.name,undefined,undefined))}return cleanup(E.visitEachChild(N,visitDeclarationSubtree,R))}case 187:{var Ie=E.visitNode(N.checkType,visitDeclarationSubtree);var Me=E.visitNode(N.extendsType,visitDeclarationSubtree);var Le=le;le=N.trueType;var Be=E.visitNode(N.trueType,visitDeclarationSubtree);le=Le;var je=E.visitNode(N.falseType,visitDeclarationSubtree);return cleanup(Ne.updateConditionalTypeNode(N,Ie,Me,Be,je))}case 177:{return cleanup(Ne.updateFunctionTypeNode(N,E.visitNodes(N.typeParameters,visitDeclarationSubtree),updateParamsList(N,N.parameters),E.visitNode(N.type,visitDeclarationSubtree)))}case 178:{return cleanup(Ne.updateConstructorTypeNode(N,ensureModifiers(N),E.visitNodes(N.typeParameters,visitDeclarationSubtree),updateParamsList(N,N.parameters),E.visitNode(N.type,visitDeclarationSubtree)))}case 198:{if(!E.isLiteralImportTypeNode(N))return cleanup(N);return cleanup(Ne.updateImportTypeNode(N,Ne.updateLiteralTypeNode(N.argument,rewriteModuleSpecifier(N,N.argument.literal)),N.qualifier,E.visitNodes(N.typeArguments,visitDeclarationSubtree,E.isTypeNode),N.isTypeOf))}default:E.Debug.assertNever(N,"Attempted to process unhandled node kind: "+E.SyntaxKind[N.kind])}}if(E.isTupleTypeNode(N)&&E.getLineAndCharacterOfPosition(Ue,N.pos).line===E.getLineAndCharacterOfPosition(Ue,N.end).line){E.setEmitFlags(N,1)}return cleanup(E.visitEachChild(N,visitDeclarationSubtree,R));function cleanup(R){if(R&&G&&E.hasDynamicName(N)){checkName(N)}if(isEnclosingDeclaration(N)){le=j}if(G&&!we){$=q}if(ae){we=ie}if(R===N){return R}return R&&E.setOriginalNode(preserveJsDoc(R,N),N)}}function isPrivateMethodTypeParameter(N){return N.parent.kind===167&&E.hasEffectiveModifier(N.parent,8)}function visitDeclarationStatements(R){if(!isPreservedDeclarationStatement(R)){return}if(shouldStripInternal(R))return;switch(R.kind){case 270:{if(E.isSourceFile(R.parent)){ie=true}ce=true;return Ne.updateExportDeclaration(R,undefined,R.modifiers,R.isTypeOnly,R.exportClause,rewriteModuleSpecifier(R,R.moduleSpecifier))}case 269:{if(E.isSourceFile(R.parent)){ie=true}ce=true;if(R.expression.kind===79){return R}else{var j=Ne.createUniqueName("_default",16);$=function(){return{diagnosticMessage:E.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:R}};je=R;var G=Ne.createVariableDeclaration(j,undefined,Ve.createTypeOfExpression(R.expression,R,N,Le),undefined);je=undefined;var ae=Ne.createVariableStatement(q?[Ne.createModifier(134)]:[],Ne.createVariableDeclarationList([G],2));return[ae,Ne.updateExportAssignment(R,R.decorators,R.modifiers,j)]}}}var le=transformTopLevelDeclaration(R);Te.set(E.getOriginalNodeId(R),le);return R}function stripExportModifiers(N){if(E.isImportEqualsDeclaration(N)||E.hasEffectiveModifier(N,512)||!E.canHaveModifiers(N)){return N}var R=Ne.createModifiersFromModifierFlags(E.getEffectiveModifierFlags(N)&(27647^1));return Ne.updateModifiers(N,R)}function transformTopLevelDeclaration(R){if(shouldStripInternal(R))return;switch(R.kind){case 263:{return transformImportEqualsDeclaration(R)}case 264:{return transformImportDeclaration(R)}}if(E.isDeclaration(R)&&isDeclarationAndNotVisible(R))return;if(E.isFunctionLike(R)&&Ve.isImplementationOfOverload(R))return;var G;if(isEnclosingDeclaration(R)){G=le;le=R}var _e=E.canProduceDiagnostics(R);var Ee=$;if(_e){$=E.createGetSymbolAccessibilityDiagnosticForNode(R)}var we=q;switch(R.kind){case 257:return cleanup(Ne.updateTypeAliasDeclaration(R,undefined,ensureModifiers(R),R.name,E.visitNodes(R.typeParameters,visitDeclarationSubtree,E.isTypeParameterDeclaration),E.visitNode(R.type,visitDeclarationSubtree,E.isTypeNode)));case 256:{return cleanup(Ne.updateInterfaceDeclaration(R,undefined,ensureModifiers(R),R.name,ensureTypeParams(R,R.typeParameters),transformHeritageClauses(R.heritageClauses),E.visitNodes(R.members,visitDeclarationSubtree)))}case 254:{var Ie=cleanup(Ne.updateFunctionDeclaration(R,undefined,ensureModifiers(R),undefined,R.name,ensureTypeParams(R,R.typeParameters),updateParamsList(R,R.parameters),ensureType(R,R.type),undefined));if(Ie&&Ve.isExpandoFunctionDeclaration(R)&&shouldEmitFunctionProperties(R)){var Me=Ve.getPropertiesOfContainerFunction(R);var Ue=E.parseNodeFactory.createModuleDeclaration(undefined,undefined,Ie.name||Ne.createIdentifier("_default"),Ne.createModuleBlock([]),16);E.setParent(Ue,le);Ue.locals=E.createSymbolTable(Me);Ue.symbol=Me[0].parent;var ze=[];var We=E.mapDefined(Me,(function(R){if(!R.valueDeclaration||!E.isPropertyAccessExpression(R.valueDeclaration)){return undefined}$=E.createGetSymbolAccessibilityDiagnosticForNode(R.valueDeclaration);var j=Ve.createTypeOfDeclaration(R.valueDeclaration,Ue,N,Le);$=Ee;var q=E.unescapeLeadingUnderscores(R.escapedName);var G=E.isStringANonContextualKeyword(q);var ie=G?Ne.getGeneratedNameForNode(R.valueDeclaration):Ne.createIdentifier(q);if(G){ze.push([ie,q])}var ae=Ne.createVariableDeclaration(ie,undefined,j,undefined);return Ne.createVariableStatement(G?undefined:[Ne.createToken(93)],Ne.createVariableDeclarationList([ae]))}));if(!ze.length){We=E.mapDefined(We,(function(E){return Ne.updateModifiers(E,0)}))}else{We.push(Ne.createExportDeclaration(undefined,undefined,false,Ne.createNamedExports(E.map(ze,(function(E){var N=E[0],R=E[1];return Ne.createExportSpecifier(N,R)})))))}var Je=Ne.createModuleDeclaration(undefined,ensureModifiers(R),R.name,Ne.createModuleBlock(We),16);if(!E.hasEffectiveModifier(Ie,512)){return[Ie,Je]}var qe=Ne.createModifiersFromModifierFlags(E.getEffectiveModifierFlags(Ie)&~513|2);var He=Ne.updateFunctionDeclaration(Ie,undefined,qe,undefined,Ie.name,Ie.typeParameters,Ie.parameters,Ie.type,undefined);var Ge=Ne.updateModuleDeclaration(Je,undefined,qe,Je.name,Je.body);var Ke=Ne.createExportAssignment(undefined,undefined,false,Je.name);if(E.isSourceFile(R.parent)){ie=true}ce=true;return[He,Ge,Ke]}else{return Ie}}case 259:{q=false;var Qe=R.body;if(Qe&&Qe.kind===260){var Xe=ae;var Ye=ce;ce=false;ae=false;var Ze=E.visitNodes(Qe.statements,visitDeclarationStatements);var et=transformAndReplaceLatePaintedStatements(Ze);if(R.flags&8388608){ae=false}if(!E.isGlobalScopeAugmentation(R)&&!hasScopeMarker(et)&&!ce){if(ae){et=Ne.createNodeArray(j(j([],et,true),[E.createEmptyExports(Ne)],false))}else{et=E.visitNodes(et,stripExportModifiers)}}var tt=Ne.updateModuleBlock(Qe,et);q=we;ae=Xe;ce=Ye;var rt=ensureModifiers(R);return cleanup(Ne.updateModuleDeclaration(R,undefined,rt,E.isExternalModuleAugmentation(R)?rewriteModuleSpecifier(R,R.name):R.name,tt))}else{q=we;var rt=ensureModifiers(R);q=false;E.visitNode(Qe,visitDeclarationStatements);var nt=E.getOriginalNodeId(Qe);var tt=Te.get(nt);Te.delete(nt);return cleanup(Ne.updateModuleDeclaration(R,undefined,rt,R.name,tt))}}case 255:{Be=R.name;je=R;var qe=Ne.createNodeArray(ensureModifiers(R));var it=ensureTypeParams(R,R.typeParameters);var ot=E.getFirstConstructorWithBody(R);var st=void 0;if(ot){var ct=$;st=E.compact(E.flatMap(ot.parameters,(function(N){if(!E.hasSyntacticModifier(N,16476)||shouldStripInternal(N))return;$=E.createGetSymbolAccessibilityDiagnosticForNode(N);if(N.name.kind===79){return preserveJsDoc(Ne.createPropertyDeclaration(undefined,ensureModifiers(N),N.name,N.questionToken,ensureType(N,N.type),ensureNoInitializer(N)),N)}else{return walkBindingPattern(N.name)}function walkBindingPattern(R){var j;for(var $=0,q=R.elements;$<q.length;$++){var G=q[$];if(E.isOmittedExpression(G))continue;if(E.isBindingPattern(G.name)){j=E.concatenate(j,walkBindingPattern(G.name))}j=j||[];j.push(Ne.createPropertyDeclaration(undefined,ensureModifiers(N),G.name,undefined,ensureType(G,undefined),undefined))}return j}})));$=ct}var ut=E.some(R.members,(function(N){return!!N.name&&E.isPrivateIdentifier(N.name)}));var dt=ut?[Ne.createPropertyDeclaration(undefined,undefined,Ne.createPrivateIdentifier("#private"),undefined,undefined,undefined)]:undefined;var pt=E.concatenate(E.concatenate(dt,st),E.visitNodes(R.members,visitDeclarationSubtree));var ft=Ne.createNodeArray(pt);var mt=E.getEffectiveBaseTypeNode(R);if(mt&&!E.isEntityNameExpression(mt.expression)&&mt.expression.kind!==104){var ht=R.name?E.unescapeLeadingUnderscores(R.name.escapedText):"default";var _t=Ne.createUniqueName(ht+"_base",16);$=function(){return{diagnosticMessage:E.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:mt,typeName:R.name}};var yt=Ne.createVariableDeclaration(_t,undefined,Ve.createTypeOfExpression(mt.expression,R,N,Le),undefined);var vt=Ne.createVariableStatement(q?[Ne.createModifier(134)]:[],Ne.createVariableDeclarationList([yt],2));var bt=Ne.createNodeArray(E.map(R.heritageClauses,(function(N){if(N.token===94){var R=$;$=E.createGetSymbolAccessibilityDiagnosticForNode(N.types[0]);var j=Ne.updateHeritageClause(N,E.map(N.types,(function(N){return Ne.updateExpressionWithTypeArguments(N,_t,E.visitNodes(N.typeArguments,visitDeclarationSubtree))})));$=R;return j}return Ne.updateHeritageClause(N,E.visitNodes(Ne.createNodeArray(E.filter(N.types,(function(N){return E.isEntityNameExpression(N.expression)||N.expression.kind===104}))),visitDeclarationSubtree))})));return[vt,cleanup(Ne.updateClassDeclaration(R,undefined,qe,R.name,it,bt,ft))]}else{var bt=transformHeritageClauses(R.heritageClauses);return cleanup(Ne.updateClassDeclaration(R,undefined,qe,R.name,it,bt,ft))}}case 235:{return cleanup(transformVariableStatement(R))}case 258:{return cleanup(Ne.updateEnumDeclaration(R,undefined,Ne.createNodeArray(ensureModifiers(R)),R.name,Ne.createNodeArray(E.mapDefined(R.members,(function(E){if(shouldStripInternal(E))return;var N=Ve.getConstantValue(E);return preserveJsDoc(Ne.updateEnumMember(E,E.name,N!==undefined?typeof N==="string"?Ne.createStringLiteral(N):Ne.createNumericLiteral(N):undefined),E)})))))}}return E.Debug.assertNever(R,"Unhandled top-level node in declaration emit: "+E.SyntaxKind[R.kind]);function cleanup(N){if(isEnclosingDeclaration(R)){le=G}if(_e){$=Ee}if(R.kind===259){q=we}if(N===R){return N}je=undefined;Be=undefined;return N&&E.setOriginalNode(preserveJsDoc(N,R),R)}}function transformVariableStatement(N){if(!E.forEach(N.declarationList.declarations,getBindingNameVisible))return;var R=E.visitNodes(N.declarationList.declarations,visitDeclarationSubtree);if(!E.length(R))return;return Ne.updateVariableStatement(N,Ne.createNodeArray(ensureModifiers(N)),Ne.updateVariableDeclarationList(N.declarationList,R))}function recreateBindingPattern(N){return E.flatten(E.mapDefined(N.elements,(function(E){return recreateBindingElement(E)})))}function recreateBindingElement(N){if(N.kind===225){return}if(N.name){if(!getBindingNameVisible(N))return;if(E.isBindingPattern(N.name)){return recreateBindingPattern(N.name)}else{return Ne.createVariableDeclaration(N.name,undefined,ensureType(N,undefined),undefined)}}}function checkName(N){var R;if(!we){R=$;$=E.createGetSymbolAccessibilityDiagnosticForNodeName(N)}Be=N.name;E.Debug.assert(Ve.isLateBound(E.getParseTreeNode(N)));var j=N;var q=j.name.expression;checkEntityNameVisibility(q,le);if(!we){$=R}Be=undefined}function shouldStripInternal(E){return!!Ge&&!!E&&isInternalDeclaration(E,Ue)}function isScopeMarker(N){return E.isExportAssignment(N)||E.isExportDeclaration(N)}function hasScopeMarker(N){return E.some(N,isScopeMarker)}function ensureModifiers(N){var R=E.getEffectiveModifierFlags(N);var j=ensureModifierFlags(N);if(R===j){return N.modifiers}return Ne.createModifiersFromModifierFlags(j)}function ensureModifierFlags(N){var R=27647^(4|256|16384);var j=q&&!isAlwaysType(N)?2:0;var $=N.parent.kind===300;if(!$||G&&$&&E.isExternalModule(N.parent)){R^=2;j=0}return maskModifierFlags(N,R,j)}function getTypeAnnotationFromAllAccessorDeclarations(N,R){var j=getTypeAnnotationFromAccessor(N);if(!j&&N!==R.firstAccessor){j=getTypeAnnotationFromAccessor(R.firstAccessor);$=E.createGetSymbolAccessibilityDiagnosticForNode(R.firstAccessor)}if(!j&&R.secondAccessor&&N!==R.secondAccessor){j=getTypeAnnotationFromAccessor(R.secondAccessor);$=E.createGetSymbolAccessibilityDiagnosticForNode(R.secondAccessor)}return j}function transformHeritageClauses(N){return Ne.createNodeArray(E.filter(E.map(N,(function(N){return Ne.updateHeritageClause(N,E.visitNodes(Ne.createNodeArray(E.filter(N.types,(function(R){return E.isEntityNameExpression(R.expression)||N.token===94&&R.expression.kind===104}))),visitDeclarationSubtree))})),(function(E){return E.types&&!!E.types.length})))}}E.transformDeclarations=transformDeclarations;function isAlwaysType(E){if(E.kind===256){return true}return false}function maskModifiers(N,R,j){return E.factory.createModifiersFromModifierFlags(maskModifierFlags(N,R,j))}function maskModifierFlags(N,R,j){if(R===void 0){R=27647^4}if(j===void 0){j=0}var $=E.getEffectiveModifierFlags(N)&R|j;if($&512&&!($&1)){$^=1}if($&512&&$&2){$^=2}return $}function getTypeAnnotationFromAccessor(E){if(E){return E.kind===170?E.type:E.parameters.length>0?E.parameters[0].type:undefined}}function canHaveLiteralInitializer(N){switch(N.kind){case 165:case 164:return!E.hasEffectiveModifier(N,8);case 162:case 252:return true}return false}function isPreservedDeclarationStatement(E){switch(E.kind){case 254:case 259:case 263:case 256:case 255:case 257:case 258:case 235:case 264:case 270:case 269:return true}return false}function isProcessedComponent(E){switch(E.kind){case 173:case 169:case 167:case 170:case 171:case 165:case 164:case 166:case 172:case 174:case 252:case 161:case 226:case 176:case 187:case 177:case 178:case 198:return true}return false}})(ce||(ce={}));var ce;(function(E){function getModuleTransformer(N){switch(N){case E.ModuleKind.ESNext:case E.ModuleKind.ES2020:case E.ModuleKind.ES2015:return E.transformECMAScriptModule;case E.ModuleKind.System:return E.transformSystemModule;default:return E.transformModule}}var N;(function(E){E[E["Uninitialized"]=0]="Uninitialized";E[E["Initialized"]=1]="Initialized";E[E["Completed"]=2]="Completed";E[E["Disposed"]=3]="Disposed"})(N||(N={}));var R;(function(E){E[E["Substitution"]=1]="Substitution";E[E["EmitNotifications"]=2]="EmitNotifications"})(R||(R={}));E.noTransformers={scriptTransformers:E.emptyArray,declarationTransformers:E.emptyArray};function getTransformers(E,N,R){return{scriptTransformers:getScriptTransformers(E,N,R),declarationTransformers:getDeclarationTransformers(N)}}E.getTransformers=getTransformers;function getScriptTransformers(N,R,j){if(j)return E.emptyArray;var $=E.getEmitScriptTarget(N);var q=E.getEmitModuleKind(N);var G=[];E.addRange(G,R&&E.map(R.before,wrapScriptTransformerFactory));G.push(E.transformTypeScript);G.push(E.transformClassFields);if(E.getJSXTransformEnabled(N)){G.push(E.transformJsx)}if($<99){G.push(E.transformESNext)}if($<8){G.push(E.transformES2021)}if($<7){G.push(E.transformES2020)}if($<6){G.push(E.transformES2019)}if($<5){G.push(E.transformES2018)}if($<4){G.push(E.transformES2017)}if($<3){G.push(E.transformES2016)}if($<2){G.push(E.transformES2015);G.push(E.transformGenerators)}G.push(getModuleTransformer(q));if($<1){G.push(E.transformES5)}E.addRange(G,R&&E.map(R.after,wrapScriptTransformerFactory));return G}function getDeclarationTransformers(N){var R=[];R.push(E.transformDeclarations);E.addRange(R,N&&E.map(N.afterDeclarations,wrapDeclarationTransformerFactory));return R}function wrapCustomTransformer(N){return function(R){return E.isBundle(R)?N.transformBundle(R):N.transformSourceFile(R)}}function wrapCustomTransformerFactory(E,N){return function(R){var j=E(R);return typeof j==="function"?N(R,j):wrapCustomTransformer(j)}}function wrapScriptTransformerFactory(N){return wrapCustomTransformerFactory(N,E.chainBundle)}function wrapDeclarationTransformerFactory(E){return wrapCustomTransformerFactory(E,(function(E,N){return N}))}function noEmitSubstitution(E,N){return N}E.noEmitSubstitution=noEmitSubstitution;function noEmitNotification(E,N,R){R(E,N)}E.noEmitNotification=noEmitNotification;function transformNodes(N,R,$,q,G,ie,ae){var ce=new Array(350);var le;var _e;var Ee;var Te=0;var we=[];var Ie=[];var Ne=[];var Me=[];var Le=0;var Be=false;var je=[];var Ue=0;var ze;var We;var Je=noEmitSubstitution;var Ve=noEmitNotification;var qe=0;var He=[];var Ge={factory:$,getCompilerOptions:function(){return q},getEmitResolver:function(){return N},getEmitHost:function(){return R},getEmitHelperFactory:E.memoize((function(){return E.createEmitHelperFactory(Ge)})),startLexicalEnvironment:startLexicalEnvironment,suspendLexicalEnvironment:suspendLexicalEnvironment,resumeLexicalEnvironment:resumeLexicalEnvironment,endLexicalEnvironment:endLexicalEnvironment,setLexicalEnvironmentFlags:setLexicalEnvironmentFlags,getLexicalEnvironmentFlags:getLexicalEnvironmentFlags,hoistVariableDeclaration:hoistVariableDeclaration,hoistFunctionDeclaration:hoistFunctionDeclaration,addInitializationStatement:addInitializationStatement,startBlockScope:startBlockScope,endBlockScope:endBlockScope,addBlockScopedVariable:addBlockScopedVariable,requestEmitHelper:requestEmitHelper,readEmitHelpers:readEmitHelpers,enableSubstitution:enableSubstitution,enableEmitNotification:enableEmitNotification,isSubstitutionEnabled:isSubstitutionEnabled,isEmitNotificationEnabled:isEmitNotificationEnabled,get onSubstituteNode(){return Je},set onSubstituteNode(N){E.Debug.assert(qe<1,"Cannot modify transformation hooks after initialization has completed.");E.Debug.assert(N!==undefined,"Value must not be 'undefined'");Je=N},get onEmitNode(){return Ve},set onEmitNode(N){E.Debug.assert(qe<1,"Cannot modify transformation hooks after initialization has completed.");E.Debug.assert(N!==undefined,"Value must not be 'undefined'");Ve=N},addDiagnostic:function(E){He.push(E)}};for(var Ke=0,Qe=G;Ke<Qe.length;Ke++){var Xe=Qe[Ke];E.disposeEmitNodes(E.getSourceFileOfNode(E.getParseTreeNode(Xe)))}E.performance.mark("beforeTransform");var Ye=ie.map((function(E){return E(Ge)}));var transformation=function(E){for(var N=0,R=Ye;N<R.length;N++){var j=R[N];E=j(E)}return E};qe=1;var Ze=[];for(var et=0,tt=G;et<tt.length;et++){var Xe=tt[et];E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("emit","transformNodes",Xe.kind===300?{path:Xe.path}:{kind:Xe.kind,pos:Xe.pos,end:Xe.end});Ze.push((ae?transformation:transformRoot)(Xe));E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}qe=2;E.performance.mark("afterTransform");E.performance.measure("transformTime","beforeTransform","afterTransform");return{transformed:Ze,substituteNode:substituteNode,emitNodeWithNotification:emitNodeWithNotification,isEmitNotificationEnabled:isEmitNotificationEnabled,dispose:dispose,diagnostics:He};function transformRoot(N){return N&&(!E.isSourceFile(N)||!N.isDeclarationFile)?transformation(N):N}function enableSubstitution(N){E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");ce[N]|=1}function isSubstitutionEnabled(N){return(ce[N.kind]&1)!==0&&(E.getEmitFlags(N)&4)===0}function substituteNode(N,R){E.Debug.assert(qe<3,"Cannot substitute a node after the result is disposed.");return R&&isSubstitutionEnabled(R)&&Je(N,R)||R}function enableEmitNotification(N){E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");ce[N]|=2}function isEmitNotificationEnabled(N){return(ce[N.kind]&2)!==0||(E.getEmitFlags(N)&2)!==0}function emitNodeWithNotification(N,R,j){E.Debug.assert(qe<3,"Cannot invoke TransformationResult callbacks after the result is disposed.");if(R){if(isEmitNotificationEnabled(R)){Ve(N,R,j)}else{j(N,R)}}}function hoistVariableDeclaration(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");var R=E.setEmitFlags($.createVariableDeclaration(N),64);if(!le){le=[R]}else{le.push(R)}if(Te&1){Te|=2}}function hoistFunctionDeclaration(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.setEmitFlags(N,1048576);if(!_e){_e=[N]}else{_e.push(N)}}function addInitializationStatement(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.setEmitFlags(N,1048576);if(!Ee){Ee=[N]}else{Ee.push(N)}}function startLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is suspended.");we[Le]=le;Ie[Le]=_e;Ne[Le]=Ee;Me[Le]=Te;Le++;le=undefined;_e=undefined;Ee=undefined;Te=0}function suspendLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is already suspended.");Be=true}function resumeLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(Be,"Lexical environment is not suspended.");Be=false}function endLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is suspended.");var N;if(le||_e||Ee){if(_e){N=j([],_e,true)}if(le){var R=$.createVariableStatement(undefined,$.createVariableDeclarationList(le));E.setEmitFlags(R,1048576);if(!N){N=[R]}else{N.push(R)}}if(Ee){if(!N){N=j([],Ee,true)}else{N=j(j([],N,true),Ee,true)}}}Le--;le=we[Le];_e=Ie[Le];Ee=Ne[Le];Te=Me[Le];if(Le===0){we=[];Ie=[];Ne=[];Me=[]}return N}function setLexicalEnvironmentFlags(E,N){Te=N?Te|E:Te&~E}function getLexicalEnvironmentFlags(){return Te}function startBlockScope(){E.Debug.assert(qe>0,"Cannot start a block scope during initialization.");E.Debug.assert(qe<2,"Cannot start a block scope after transformation has completed.");je[Ue]=ze;Ue++;ze=undefined}function endBlockScope(){E.Debug.assert(qe>0,"Cannot end a block scope during initialization.");E.Debug.assert(qe<2,"Cannot end a block scope after transformation has completed.");var N=E.some(ze)?[$.createVariableStatement(undefined,$.createVariableDeclarationList(ze.map((function(E){return $.createVariableDeclaration(E)})),1))]:undefined;Ue--;ze=je[Ue];if(Ue===0){je=[]}return N}function addBlockScopedVariable(N){E.Debug.assert(Ue>0,"Cannot add a block scoped variable outside of an iteration body.");(ze||(ze=[])).push(N)}function requestEmitHelper(N){E.Debug.assert(qe>0,"Cannot modify the transformation context during initialization.");E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");E.Debug.assert(!N.scoped,"Cannot request a scoped emit helper.");if(N.dependencies){for(var R=0,j=N.dependencies;R<j.length;R++){var $=j[R];requestEmitHelper($)}}We=E.append(We,N)}function readEmitHelpers(){E.Debug.assert(qe>0,"Cannot modify the transformation context during initialization.");E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");var N=We;We=undefined;return N}function dispose(){if(qe<3){for(var N=0,R=G;N<R.length;N++){var j=R[N];E.disposeEmitNodes(E.getSourceFileOfNode(E.getParseTreeNode(j)))}le=undefined;we=undefined;_e=undefined;Ie=undefined;Je=undefined;Ve=undefined;We=undefined;qe=3}}}E.transformNodes=transformNodes;E.nullTransformationContext={factory:E.factory,getCompilerOptions:function(){return{}},getEmitResolver:E.notImplemented,getEmitHost:E.notImplemented,getEmitHelperFactory:E.notImplemented,startLexicalEnvironment:E.noop,resumeLexicalEnvironment:E.noop,suspendLexicalEnvironment:E.noop,endLexicalEnvironment:E.returnUndefined,setLexicalEnvironmentFlags:E.noop,getLexicalEnvironmentFlags:function(){return 0},hoistVariableDeclaration:E.noop,hoistFunctionDeclaration:E.noop,addInitializationStatement:E.noop,startBlockScope:E.noop,endBlockScope:E.returnUndefined,addBlockScopedVariable:E.noop,requestEmitHelper:E.noop,readEmitHelpers:E.notImplemented,enableSubstitution:E.noop,enableEmitNotification:E.noop,isSubstitutionEnabled:E.notImplemented,isEmitNotificationEnabled:E.notImplemented,onSubstituteNode:noEmitSubstitution,onEmitNode:noEmitNotification,addDiagnostic:E.noop}})(ce||(ce={}));var ce;(function(E){var N=createBracketsMap();function isBuildInfoFile(N){return E.fileExtensionIs(N,".tsbuildinfo")}E.isBuildInfoFile=isBuildInfoFile;function forEachEmittedFile(N,R,j,$,q,G){if($===void 0){$=false}var ie=E.isArray(j)?j:E.getSourceFilesToEmit(N,j,$);var ae=N.getCompilerOptions();if(E.outFile(ae)){var ce=N.getPrependNodes();if(ie.length||ce.length){var le=E.factory.createBundle(ie,ce);var _e=R(getOutputPathsFor(le,N,$),le);if(_e){return _e}}}else{if(!q){for(var Ee=0,Te=ie;Ee<Te.length;Ee++){var we=Te[Ee];var _e=R(getOutputPathsFor(we,N,$),we);if(_e){return _e}}}if(G){var Ie=getTsBuildInfoEmitOutputFilePath(ae);if(Ie)return R({buildInfoPath:Ie},undefined)}}}E.forEachEmittedFile=forEachEmittedFile;function getTsBuildInfoEmitOutputFilePath(N){var R=N.configFilePath;if(!E.isIncrementalCompilation(N))return undefined;if(N.tsBuildInfoFile)return N.tsBuildInfoFile;var j=E.outFile(N);var $;if(j){$=E.removeFileExtension(j)}else{if(!R)return undefined;var q=E.removeFileExtension(R);$=N.outDir?N.rootDir?E.resolvePath(N.outDir,E.getRelativePathFromDirectory(N.rootDir,q,true)):E.combinePaths(N.outDir,E.getBaseFileName(q)):q}return $+".tsbuildinfo"}E.getTsBuildInfoEmitOutputFilePath=getTsBuildInfoEmitOutputFilePath;function getOutputPathsForBundle(N,R){var j=E.outFile(N);var $=N.emitDeclarationOnly?undefined:j;var q=$&&getSourceMapFilePath($,N);var G=R||E.getEmitDeclarations(N)?E.removeFileExtension(j)+".d.ts":undefined;var ie=G&&E.getAreDeclarationMapsEnabled(N)?G+".map":undefined;var ae=getTsBuildInfoEmitOutputFilePath(N);return{jsFilePath:$,sourceMapFilePath:q,declarationFilePath:G,declarationMapPath:ie,buildInfoPath:ae}}E.getOutputPathsForBundle=getOutputPathsForBundle;function getOutputPathsFor(N,R,j){var $=R.getCompilerOptions();if(N.kind===301){return getOutputPathsForBundle($,j)}else{var q=E.getOwnEmitOutputFilePath(N.fileName,R,getOutputExtension(N,$));var G=E.isJsonSourceFile(N);var ie=G&&E.comparePaths(N.fileName,q,R.getCurrentDirectory(),!R.useCaseSensitiveFileNames())===0;var ae=$.emitDeclarationOnly||ie?undefined:q;var ce=!ae||E.isJsonSourceFile(N)?undefined:getSourceMapFilePath(ae,$);var le=j||E.getEmitDeclarations($)&&!G?E.getDeclarationEmitOutputFilePath(N.fileName,R):undefined;var _e=le&&E.getAreDeclarationMapsEnabled($)?le+".map":undefined;return{jsFilePath:ae,sourceMapFilePath:ce,declarationFilePath:le,declarationMapPath:_e,buildInfoPath:undefined}}}E.getOutputPathsFor=getOutputPathsFor;function getSourceMapFilePath(E,N){return N.sourceMap&&!N.inlineSourceMap?E+".map":undefined}function getOutputExtension(N,R){if(E.isJsonSourceFile(N)){return".json"}if(R.jsx===1){if(E.isSourceFileJS(N)){if(E.fileExtensionIs(N.fileName,".jsx")){return".jsx"}}else if(N.languageVariant===1){return".jsx"}}return".js"}E.getOutputExtension=getOutputExtension;function getOutputPathWithoutChangingExt(N,R,j,$,q){return $?E.resolvePath($,E.getRelativePathFromDirectory(q?q():getCommonSourceDirectoryOfConfig(R,j),N,j)):N}function getOutputDeclarationFileName(N,R,j,$){E.Debug.assert(!E.fileExtensionIs(N,".d.ts")&&!E.fileExtensionIs(N,".json"));return E.changeExtension(getOutputPathWithoutChangingExt(N,R,j,R.options.declarationDir||R.options.outDir,$),".d.ts")}E.getOutputDeclarationFileName=getOutputDeclarationFileName;function getOutputJSFileName(N,R,j,$){if(R.options.emitDeclarationOnly)return undefined;var q=E.fileExtensionIs(N,".json");var G=E.changeExtension(getOutputPathWithoutChangingExt(N,R,j,R.options.outDir,$),q?".json":R.options.jsx===1&&(E.fileExtensionIs(N,".tsx")||E.fileExtensionIs(N,".jsx"))?".jsx":".js");return!q||E.comparePaths(N,G,E.Debug.checkDefined(R.options.configFilePath),j)!==0?G:undefined}function createAddOutput(){var N;return{addOutput:addOutput,getOutputs:getOutputs};function addOutput(E){if(E){(N||(N=[])).push(E)}}function getOutputs(){return N||E.emptyArray}}function getSingleOutputFileNames(E,N){var R=getOutputPathsForBundle(E.options,false),j=R.jsFilePath,$=R.sourceMapFilePath,q=R.declarationFilePath,G=R.declarationMapPath,ie=R.buildInfoPath;N(j);N($);N(q);N(G);N(ie)}function getOwnOutputFileNames(N,R,j,$,q){if(E.fileExtensionIs(R,".d.ts"))return;var G=getOutputJSFileName(R,N,j,q);$(G);if(E.fileExtensionIs(R,".json"))return;if(G&&N.options.sourceMap){$(G+".map")}if(E.getEmitDeclarations(N.options)){var ie=getOutputDeclarationFileName(R,N,j,q);$(ie);if(N.options.declarationMap){$(ie+".map")}}}function getCommonSourceDirectory(N,R,j,$,q){var G;if(N.rootDir){G=E.getNormalizedAbsolutePath(N.rootDir,j);q===null||q===void 0?void 0:q(N.rootDir)}else if(N.composite&&N.configFilePath){G=E.getDirectoryPath(E.normalizeSlashes(N.configFilePath));q===null||q===void 0?void 0:q(G)}else{G=E.computeCommonSourceDirectoryOfFilenames(R(),j,$)}if(G&&G[G.length-1]!==E.directorySeparator){G+=E.directorySeparator}return G}E.getCommonSourceDirectory=getCommonSourceDirectory;function getCommonSourceDirectoryOfConfig(N,R){var j=N.options,$=N.fileNames;return getCommonSourceDirectory(j,(function(){return E.filter($,(function(N){return!(j.noEmitForJsFiles&&E.fileExtensionIsOneOf(N,E.supportedJSExtensions))&&!E.fileExtensionIs(N,".d.ts")}))}),E.getDirectoryPath(E.normalizeSlashes(E.Debug.checkDefined(j.configFilePath))),E.createGetCanonicalFileName(!R))}E.getCommonSourceDirectoryOfConfig=getCommonSourceDirectoryOfConfig;function getAllProjectOutputs(N,R){var j=createAddOutput(),$=j.addOutput,q=j.getOutputs;if(E.outFile(N.options)){getSingleOutputFileNames(N,$)}else{var G=E.memoize((function(){return getCommonSourceDirectoryOfConfig(N,R)}));for(var ie=0,ae=N.fileNames;ie<ae.length;ie++){var ce=ae[ie];getOwnOutputFileNames(N,ce,R,$,G)}$(getTsBuildInfoEmitOutputFilePath(N.options))}return q()}E.getAllProjectOutputs=getAllProjectOutputs;function getOutputFileNames(N,R,j){R=E.normalizePath(R);E.Debug.assert(E.contains(N.fileNames,R),"Expected fileName to be present in command line");var $=createAddOutput(),q=$.addOutput,G=$.getOutputs;if(E.outFile(N.options)){getSingleOutputFileNames(N,q)}else{getOwnOutputFileNames(N,R,j,q)}return G()}E.getOutputFileNames=getOutputFileNames;function getFirstProjectOutput(N,R){if(E.outFile(N.options)){var j=getOutputPathsForBundle(N.options,false).jsFilePath;return E.Debug.checkDefined(j,"project "+N.options.configFilePath+" expected to have at least one output")}var $=E.memoize((function(){return getCommonSourceDirectoryOfConfig(N,R)}));for(var q=0,G=N.fileNames;q<G.length;q++){var ie=G[q];if(E.fileExtensionIs(ie,".d.ts"))continue;var j=getOutputJSFileName(ie,N,R,$);if(j)return j;if(E.fileExtensionIs(ie,".json"))continue;if(E.getEmitDeclarations(N.options)){return getOutputDeclarationFileName(ie,N,R,$)}}var ae=getTsBuildInfoEmitOutputFilePath(N.options);if(ae)return ae;return E.Debug.fail("project "+N.options.configFilePath+" expected to have at least one output")}E.getFirstProjectOutput=getFirstProjectOutput;function emitFiles(N,R,j,$,q,G,ie){var ae=$.scriptTransformers,ce=$.declarationTransformers;var le=R.getCompilerOptions();var _e=le.sourceMap||le.inlineSourceMap||E.getAreDeclarationMapsEnabled(le)?[]:undefined;var Ee=le.listEmittedFiles?[]:undefined;var Te=E.createDiagnosticCollection();var we=E.getNewLineCharacter(le,(function(){return R.getNewLine()}));var Ie=E.createTextWriter(we);var Ne=E.performance.createTimer("printTime","beforePrint","afterPrint"),Me=Ne.enter,Le=Ne.exit;var Be;var je=false;var Ue;Me();forEachEmittedFile(R,emitSourceFileOrBundle,E.getSourceFilesToEmit(R,j,ie),ie,G,!j);Le();return{emitSkipped:je,diagnostics:Te.getDiagnostics(),emittedFiles:Ee,sourceMaps:_e,exportedModulesFromDeclarationEmit:Ue};function emitSourceFileOrBundle(N,j){var $=N.jsFilePath,G=N.sourceMapFilePath,ie=N.declarationFilePath,ae=N.declarationMapPath,ce=N.buildInfoPath;var le;if(ce&&j&&E.isBundle(j)){le=E.getDirectoryPath(E.getNormalizedAbsolutePath(ce,R.getCurrentDirectory()));Be={commonSourceDirectory:relativeToBuildInfo(R.getCommonSourceDirectory()),sourceFiles:j.sourceFiles.map((function(N){return relativeToBuildInfo(E.getNormalizedAbsolutePath(N.fileName,R.getCurrentDirectory()))}))}}E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("emit","emitJsFileOrBundle",{jsFilePath:$});emitJsFileOrBundle(j,$,G,relativeToBuildInfo);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("emit","emitDeclarationFileOrBundle",{declarationFilePath:ie});emitDeclarationFileOrBundle(j,ie,ae,relativeToBuildInfo);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("emit","emitBuildInfo",{buildInfoPath:ce});emitBuildInfo(Be,ce);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();if(!je&&Ee){if(!q){if($){Ee.push($)}if(G){Ee.push(G)}if(ce){Ee.push(ce)}}if(ie){Ee.push(ie)}if(ae){Ee.push(ae)}}function relativeToBuildInfo(N){return E.ensurePathIsNonModuleName(E.getRelativePathFromDirectory(le,N,R.getCanonicalFileName))}}function emitBuildInfo(N,$){if(!$||j||je)return;var q=R.getProgramBuildInfo();if(R.isEmitBlocked($)){je=true;return}var G=E.version;E.writeFile(R,Te,$,getBuildInfoText({bundle:N,program:q,version:G}),false)}function emitJsFileOrBundle(j,$,G,ie){if(!j||q||!$){return}if($&&R.isEmitBlocked($)||le.noEmit){je=true;return}var ce=E.transformNodes(N,R,E.factory,le,[j],ae,false);var _e={removeComments:le.removeComments,newLine:le.newLine,noEmitHelpers:le.noEmitHelpers,module:le.module,target:le.target,sourceMap:le.sourceMap,inlineSourceMap:le.inlineSourceMap,inlineSources:le.inlineSources,extendedDiagnostics:le.extendedDiagnostics,writeBundleFileInfo:!!Be,relativeToBuildInfo:ie};var Ee=createPrinter(_e,{hasGlobalName:N.hasGlobalName,onEmitNode:ce.emitNodeWithNotification,isEmitNotificationEnabled:ce.isEmitNotificationEnabled,substituteNode:ce.substituteNode});E.Debug.assert(ce.transformed.length===1,"Should only see one output from the transform");printSourceFileOrBundle($,G,ce.transformed[0],Ee,le);ce.dispose();if(Be)Be.js=Ee.bundleFileInfo}function emitDeclarationFileOrBundle(j,$,G,ae){if(!j)return;if(!$){if(q||le.emitDeclarationOnly)je=true;return}var _e=E.isSourceFile(j)?[j]:j.sourceFiles;var Ee=ie?_e:E.filter(_e,E.isSourceFileNotJson);var we=E.outFile(le)?[E.factory.createBundle(Ee,!E.isSourceFile(j)?j.prepends:undefined)]:Ee;if(q&&!E.getEmitDeclarations(le)){Ee.forEach(collectLinkedAliases)}var Ie=E.transformNodes(N,R,E.factory,le,we,ce,false);if(E.length(Ie.diagnostics)){for(var Ne=0,Me=Ie.diagnostics;Ne<Me.length;Ne++){var Le=Me[Ne];Te.add(Le)}}var ze={removeComments:le.removeComments,newLine:le.newLine,noEmitHelpers:true,module:le.module,target:le.target,sourceMap:le.sourceMap,inlineSourceMap:le.inlineSourceMap,extendedDiagnostics:le.extendedDiagnostics,onlyPrintJsDocStyle:true,writeBundleFileInfo:!!Be,recordInternalSection:!!Be,relativeToBuildInfo:ae};var We=createPrinter(ze,{hasGlobalName:N.hasGlobalName,onEmitNode:Ie.emitNodeWithNotification,isEmitNotificationEnabled:Ie.isEmitNotificationEnabled,substituteNode:Ie.substituteNode});var Je=!!Ie.diagnostics&&!!Ie.diagnostics.length||!!R.isEmitBlocked($)||!!le.noEmit;je=je||Je;if(!Je||ie){E.Debug.assert(Ie.transformed.length===1,"Should only see one output from the decl transform");printSourceFileOrBundle($,G,Ie.transformed[0],We,{sourceMap:!ie&&le.declarationMap,sourceRoot:le.sourceRoot,mapRoot:le.mapRoot,extendedDiagnostics:le.extendedDiagnostics});if(ie&&Ie.transformed[0].kind===300){var Ve=Ie.transformed[0];Ue=Ve.exportedModulesFromDeclarationEmit}}Ie.dispose();if(Be)Be.dts=We.bundleFileInfo}function collectLinkedAliases(R){if(E.isExportAssignment(R)){if(R.expression.kind===79){N.collectLinkedAliases(R.expression,true)}return}else if(E.isExportSpecifier(R)){N.collectLinkedAliases(R.propertyName||R.name,true);return}E.forEachChild(R,collectLinkedAliases)}function printSourceFileOrBundle(N,j,$,q,G){var ie=$.kind===301?$:undefined;var ae=$.kind===300?$:undefined;var ce=ie?ie.sourceFiles:[ae];var Ee;if(shouldEmitSourceMaps(G,$)){Ee=E.createSourceMapGenerator(R,E.getBaseFileName(E.normalizeSlashes(N)),getSourceRoot(G),getSourceMapDirectory(G,N,ae),G)}if(ie){q.writeBundle(ie,Ie,Ee)}else{q.writeFile(ae,Ie,Ee)}if(Ee){if(_e){_e.push({inputSourceFileNames:Ee.getSources(),sourceMap:Ee.toJSON()})}var Ne=getSourceMappingURL(G,Ee,N,j,ae);if(Ne){if(!Ie.isAtStartOfLine())Ie.rawWrite(we);Ie.writeComment("//# "+"sourceMappingURL"+"="+Ne)}if(j){var Me=Ee.toString();E.writeFile(R,Te,j,Me,false,ce)}}else{Ie.writeLine()}E.writeFile(R,Te,N,Ie.getText(),!!le.emitBOM,ce);Ie.clear()}function shouldEmitSourceMaps(N,R){return(N.sourceMap||N.inlineSourceMap)&&(R.kind!==300||!E.fileExtensionIs(R.fileName,".json"))}function getSourceRoot(N){var R=E.normalizeSlashes(N.sourceRoot||"");return R?E.ensureTrailingDirectorySeparator(R):R}function getSourceMapDirectory(N,j,$){if(N.sourceRoot)return R.getCommonSourceDirectory();if(N.mapRoot){var q=E.normalizeSlashes(N.mapRoot);if($){q=E.getDirectoryPath(E.getSourceFilePathInNewDir($.fileName,R,q))}if(E.getRootLength(q)===0){q=E.combinePaths(R.getCommonSourceDirectory(),q)}return q}return E.getDirectoryPath(E.normalizePath(j))}function getSourceMappingURL(N,j,$,q,G){if(N.inlineSourceMap){var ie=j.toString();var ae=E.base64encode(E.sys,ie);return"data:application/json;base64,"+ae}var ce=E.getBaseFileName(E.normalizeSlashes(E.Debug.checkDefined(q)));if(N.mapRoot){var le=E.normalizeSlashes(N.mapRoot);if(G){le=E.getDirectoryPath(E.getSourceFilePathInNewDir(G.fileName,R,le))}if(E.getRootLength(le)===0){le=E.combinePaths(R.getCommonSourceDirectory(),le);return encodeURI(E.getRelativePathToDirectoryOrUrl(E.getDirectoryPath(E.normalizePath($)),E.combinePaths(le,ce),R.getCurrentDirectory(),R.getCanonicalFileName,true))}else{return encodeURI(E.combinePaths(le,ce))}}return encodeURI(ce)}}E.emitFiles=emitFiles;function getBuildInfoText(E){return JSON.stringify(E)}E.getBuildInfoText=getBuildInfoText;function getBuildInfo(E){return JSON.parse(E)}E.getBuildInfo=getBuildInfo;E.notImplementedResolver={hasGlobalName:E.notImplemented,getReferencedExportContainer:E.notImplemented,getReferencedImportDeclaration:E.notImplemented,getReferencedDeclarationWithCollidingName:E.notImplemented,isDeclarationWithCollidingName:E.notImplemented,isValueAliasDeclaration:E.notImplemented,isReferencedAliasDeclaration:E.notImplemented,isTopLevelValueImportEqualsWithEntityName:E.notImplemented,getNodeCheckFlags:E.notImplemented,isDeclarationVisible:E.notImplemented,isLateBound:function(E){return false},collectLinkedAliases:E.notImplemented,isImplementationOfOverload:E.notImplemented,isRequiredInitializedParameter:E.notImplemented,isOptionalUninitializedParameterProperty:E.notImplemented,isExpandoFunctionDeclaration:E.notImplemented,getPropertiesOfContainerFunction:E.notImplemented,createTypeOfDeclaration:E.notImplemented,createReturnTypeOfSignatureDeclaration:E.notImplemented,createTypeOfExpression:E.notImplemented,createLiteralConstValue:E.notImplemented,isSymbolAccessible:E.notImplemented,isEntityNameVisible:E.notImplemented,getConstantValue:E.notImplemented,getReferencedValueDeclaration:E.notImplemented,getTypeReferenceSerializationKind:E.notImplemented,isOptionalParameter:E.notImplemented,moduleExportsSomeValue:E.notImplemented,isArgumentsLocalBinding:E.notImplemented,getExternalModuleFileFromDeclaration:E.notImplemented,getTypeReferenceDirectivesForEntityName:E.notImplemented,getTypeReferenceDirectivesForSymbol:E.notImplemented,isLiteralConstDeclaration:E.notImplemented,getJsxFactoryEntity:E.notImplemented,getJsxFragmentFactoryEntity:E.notImplemented,getAllAccessorDeclarations:E.notImplemented,getSymbolOfExternalModuleSpecifier:E.notImplemented,isBindingCapturedByNode:E.notImplemented,getDeclarationStatementsForSourceFile:E.notImplemented,isImportRequiredByAugmentation:E.notImplemented};function createSourceFilesFromBundleBuildInfo(N,R,j){var $;var q=E.Debug.checkDefined(N.js);var G=(($=q.sources)===null||$===void 0?void 0:$.prologues)&&E.arrayToMap(q.sources.prologues,(function(E){return E.file}));return N.sourceFiles.map((function(N,$){var q,ie;var ae=G===null||G===void 0?void 0:G.get($);var ce=ae===null||ae===void 0?void 0:ae.directives.map((function(N){var R=E.setTextRange(E.factory.createStringLiteral(N.expression.text),N.expression);var j=E.setTextRange(E.factory.createExpressionStatement(R),N);E.setParent(R,j);return j}));var le=E.factory.createToken(1);var _e=E.factory.createSourceFile(ce!==null&&ce!==void 0?ce:[],le,0);_e.fileName=E.getRelativePathFromDirectory(j.getCurrentDirectory(),E.getNormalizedAbsolutePath(N,R),!j.useCaseSensitiveFileNames());_e.text=(q=ae===null||ae===void 0?void 0:ae.text)!==null&&q!==void 0?q:"";E.setTextRangePosWidth(_e,0,(ie=ae===null||ae===void 0?void 0:ae.text.length)!==null&&ie!==void 0?ie:0);E.setEachParent(_e.statements,_e);E.setTextRangePosWidth(le,_e.end,0);E.setParent(le,_e);return _e}))}function emitUsingBuildInfo(N,R,$,q){var G=getOutputPathsForBundle(N.options,false),ie=G.buildInfoPath,ae=G.jsFilePath,ce=G.sourceMapFilePath,le=G.declarationFilePath,_e=G.declarationMapPath;var Ee=R.readFile(E.Debug.checkDefined(ie));if(!Ee)return ie;var Te=R.readFile(E.Debug.checkDefined(ae));if(!Te)return ae;var we=ce&&R.readFile(ce);if(ce&&!we||N.options.inlineSourceMap)return ce||"inline sourcemap decoding";var Ie=le&&R.readFile(le);if(le&&!Ie)return le;var Ne=_e&&R.readFile(_e);if(_e&&!Ne||N.options.inlineSourceMap)return _e||"inline sourcemap decoding";var Me=getBuildInfo(Ee);if(!Me.bundle||!Me.bundle.js||Ie&&!Me.bundle.dts)return ie;var Le=E.getDirectoryPath(E.getNormalizedAbsolutePath(ie,R.getCurrentDirectory()));var Be=E.createInputFiles(Te,Ie,ce,we,_e,Ne,ae,le,ie,Me,true);var je=[];var Ue=E.createPrependNodes(N.projectReferences,$,(function(E){return R.readFile(E)}));var ze=createSourceFilesFromBundleBuildInfo(Me.bundle,Le,R);var We={getPrependNodes:E.memoize((function(){return j(j([],Ue,true),[Be],false)})),getCanonicalFileName:R.getCanonicalFileName,getCommonSourceDirectory:function(){return E.getNormalizedAbsolutePath(Me.bundle.commonSourceDirectory,Le)},getCompilerOptions:function(){return N.options},getCurrentDirectory:function(){return R.getCurrentDirectory()},getNewLine:function(){return R.getNewLine()},getSourceFile:E.returnUndefined,getSourceFileByPath:E.returnUndefined,getSourceFiles:function(){return ze},getLibFileFromReference:E.notImplemented,isSourceFileFromExternalLibrary:E.returnFalse,getResolvedProjectReferenceToRedirect:E.returnUndefined,getProjectReferenceRedirect:E.returnUndefined,isSourceOfProjectReferenceRedirect:E.returnFalse,writeFile:function(N,R,j){switch(N){case ae:if(Te===R)return;break;case ce:if(we===R)return;break;case ie:var $=getBuildInfo(R);$.program=Me.program;var q=Me.bundle,G=q.js,Ee=q.dts,Le=q.sourceFiles;$.bundle.js.sources=G.sources;if(Ee){$.bundle.dts.sources=Ee.sources}$.bundle.sourceFiles=Le;je.push({name:N,text:getBuildInfoText($),writeByteOrderMark:j});return;case le:if(Ie===R)return;break;case _e:if(Ne===R)return;break;default:E.Debug.fail("Unexpected path: "+N)}je.push({name:N,text:R,writeByteOrderMark:j})},isEmitBlocked:E.returnFalse,readFile:function(E){return R.readFile(E)},fileExists:function(E){return R.fileExists(E)},useCaseSensitiveFileNames:function(){return R.useCaseSensitiveFileNames()},getProgramBuildInfo:E.returnUndefined,getSourceFileFromReference:E.returnUndefined,redirectTargetsMap:E.createMultiMap(),getFileIncludeReasons:E.notImplemented};emitFiles(E.notImplementedResolver,We,undefined,E.getTransformers(N.options,q));return je}E.emitUsingBuildInfo=emitUsingBuildInfo;var R;(function(E){E[E["Notification"]=0]="Notification";E[E["Substitution"]=1]="Substitution";E[E["Comments"]=2]="Comments";E[E["SourceMaps"]=3]="SourceMaps";E[E["Emit"]=4]="Emit"})(R||(R={}));function createPrinter(N,R){if(N===void 0){N={}}if(R===void 0){R={}}var j=R.hasGlobalName,$=R.onEmitNode,q=$===void 0?E.noEmitNotification:$,G=R.isEmitNotificationEnabled,ie=R.substituteNode,ae=ie===void 0?E.noEmitSubstitution:ie,ce=R.onBeforeEmitNode,le=R.onAfterEmitNode,_e=R.onBeforeEmitNodeArray,Ee=R.onAfterEmitNodeArray,Te=R.onBeforeEmitToken,we=R.onAfterEmitToken;var Ie=!!N.extendedDiagnostics;var Ne=E.getNewLineCharacter(N);var Me=E.getEmitModuleKind(N);var Le=new E.Map;var Be;var je;var Ue;var ze;var We;var Je;var Ve;var qe;var He=N.preserveSourceNewlines;var Ge;var Ke;var Qe;var Xe=writeBase;var Ye;var Ze=N.writeBundleFileInfo?{sections:[]}:undefined;var et=Ze?E.Debug.checkDefined(N.relativeToBuildInfo):undefined;var tt=N.recordInternalSection;var rt=0;var nt="text";var it=true;var ot;var st;var ct=-1;var ut;var dt=-1;var pt=-1;var ft=-1;var mt=-1;var ht;var _t;var yt=false;var vt=!!N.removeComments;var bt;var xt;var St=E.performance.createTimerIf(Ie,"commentTime","beforeComment","afterComment"),Et=St.enter,Tt=St.exit;var kt=E.factory.parenthesizer;var Ct=createEmitBinaryExpression();reset();return{printNode:printNode,printList:printList,printFile:printFile,printBundle:printBundle,writeNode:writeNode,writeList:writeList,writeFile:writeFile,writeBundle:writeBundle,bundleFileInfo:Ze};function printNode(N,R,j){switch(N){case 0:E.Debug.assert(E.isSourceFile(R),"Expected a SourceFile node.");break;case 2:E.Debug.assert(E.isIdentifier(R),"Expected an Identifier node.");break;case 1:E.Debug.assert(E.isExpression(R),"Expected an Expression node.");break}switch(R.kind){case 300:return printFile(R);case 301:return printBundle(R);case 302:return printUnparsedSource(R)}writeNode(N,R,j,beginPrint());return endPrint()}function printList(E,N,R){writeList(E,N,R,beginPrint());return endPrint()}function printBundle(E){writeBundle(E,beginPrint(),undefined);return endPrint()}function printFile(E){writeFile(E,beginPrint(),undefined);return endPrint()}function printUnparsedSource(E){writeUnparsedSource(E,beginPrint());return endPrint()}function writeNode(E,N,R,j){var $=Ke;setWriter(j,undefined);print(E,N,R);reset();Ke=$}function writeList(E,N,R,j){var $=Ke;setWriter(j,undefined);if(R){setSourceFile(R)}emitList(undefined,N,E);reset();Ke=$}function getTextPosWithWriteLine(){return Ke.getTextPosWithWriteLine?Ke.getTextPosWithWriteLine():Ke.getTextPos()}function updateOrPushBundleFileTextLike(N,R,j){var $=E.lastOrUndefined(Ze.sections);if($&&$.kind===j){$.end=R}else{Ze.sections.push({pos:N,end:R,kind:j})}}function recordBundleFileInternalSectionStart(N){if(tt&&Ze&&Be&&(E.isDeclaration(N)||E.isVariableStatement(N))&&E.isInternalDeclaration(N,Be)&&nt!=="internal"){var R=nt;recordBundleFileTextLikeSection(Ke.getTextPos());rt=getTextPosWithWriteLine();nt="internal";return R}return undefined}function recordBundleFileInternalSectionEnd(E){if(E){recordBundleFileTextLikeSection(Ke.getTextPos());rt=getTextPosWithWriteLine();nt=E}}function recordBundleFileTextLikeSection(E){if(rt<E){updateOrPushBundleFileTextLike(rt,E,nt);return true}return false}function writeBundle(N,R,j){var $;Ye=false;var q=Ke;setWriter(R,j);emitShebangIfNeeded(N);emitPrologueDirectivesIfNeeded(N);emitHelpers(N);emitSyntheticTripleSlashReferencesIfNeeded(N);for(var G=0,ie=N.prepends;G<ie.length;G++){var ae=ie[G];writeLine();var ce=Ke.getTextPos();var le=Ze&&Ze.sections;if(le)Ze.sections=[];print(4,ae,undefined);if(Ze){var _e=Ze.sections;Ze.sections=le;if(ae.oldFileOfCurrentEmit)($=Ze.sections).push.apply($,_e);else{_e.forEach((function(N){return E.Debug.assert(E.isBundleFileTextLike(N))}));Ze.sections.push({pos:ce,end:Ke.getTextPos(),kind:"prepend",data:et(ae.fileName),texts:_e})}}}rt=getTextPosWithWriteLine();for(var Ee=0,Te=N.sourceFiles;Ee<Te.length;Ee++){var we=Te[Ee];print(0,we,we)}if(Ze&&N.sourceFiles.length){var Ie=Ke.getTextPos();if(recordBundleFileTextLikeSection(Ie)){var Ne=getPrologueDirectivesFromBundledSourceFiles(N);if(Ne){if(!Ze.sources)Ze.sources={};Ze.sources.prologues=Ne}var Me=getHelpersFromBundledSourceFiles(N);if(Me){if(!Ze.sources)Ze.sources={};Ze.sources.helpers=Me}}}reset();Ke=q}function writeUnparsedSource(E,N){var R=Ke;setWriter(N,undefined);print(4,E,undefined);reset();Ke=R}function writeFile(E,N,R){Ye=true;var j=Ke;setWriter(N,R);emitShebangIfNeeded(E);emitPrologueDirectivesIfNeeded(E);print(0,E,E);reset();Ke=j}function beginPrint(){return Qe||(Qe=E.createTextWriter(Ne))}function endPrint(){var E=Qe.getText();Qe.clear();return E}function print(E,N,R){if(R){setSourceFile(R)}pipelineEmit(E,N,undefined)}function setSourceFile(E){Be=E;ht=undefined;_t=undefined;if(E){setSourceMapSource(E)}}function setWriter(R,j){if(R&&N.omitTrailingSemicolon){R=E.getTrailingSemicolonDeferringWriter(R)}Ke=R;ot=j;it=!Ke||!ot}function reset(){je=[];Ue=[];ze=new E.Set;We=[];Je=0;Ve=[];Be=undefined;ht=undefined;_t=undefined;setWriter(undefined,undefined)}function getCurrentLineMap(){return ht||(ht=E.getLineStarts(Be))}function emit(E,N){if(E===undefined)return;var R=recordBundleFileInternalSectionStart(E);pipelineEmit(4,E,N);recordBundleFileInternalSectionEnd(R)}function emitIdentifierName(E){if(E===undefined)return;pipelineEmit(2,E,undefined)}function emitExpression(E,N){if(E===undefined)return;pipelineEmit(1,E,N)}function emitJsxAttributeValue(N){pipelineEmit(E.isStringLiteral(N)?6:4,N)}function beforeEmitNode(N){if(He&&E.getEmitFlags(N)&134217728){He=false}}function afterEmitNode(E){He=E}function pipelineEmit(E,N,R){xt=R;var j=getPipelinePhase(0,E,N);j(E,N);xt=undefined}function shouldEmitComments(N){return!vt&&!E.isSourceFile(N)}function shouldEmitSourceMaps(N){return!it&&!E.isSourceFile(N)&&!E.isInJsonFile(N)&&!E.isUnparsedSource(N)&&!E.isUnparsedPrepend(N)}function getPipelinePhase(N,R,j){switch(N){case 0:if(q!==E.noEmitNotification&&(!G||G(j))){return pipelineEmitWithNotification}case 1:if(ae!==E.noEmitSubstitution&&(bt=ae(R,j)||j)!==j){if(xt){bt=xt(bt)}return pipelineEmitWithSubstitution}case 2:if(shouldEmitComments(j)){return pipelineEmitWithComments}case 3:if(shouldEmitSourceMaps(j)){return pipelineEmitWithSourceMaps}case 4:return pipelineEmitWithHint;default:return E.Debug.assertNever(N)}}function getNextPipelinePhase(E,N,R){return getPipelinePhase(E+1,N,R)}function pipelineEmitWithNotification(E,N){var R=getNextPipelinePhase(0,E,N);q(E,N,R)}function pipelineEmitWithHint(E,N){ce===null||ce===void 0?void 0:ce(N);if(He){var R=He;beforeEmitNode(N);pipelineEmitWithHintWorker(E,N);afterEmitNode(R)}else{pipelineEmitWithHintWorker(E,N)}le===null||le===void 0?void 0:le(N);xt=undefined}function pipelineEmitWithHintWorker(N,R){if(N===0)return emitSourceFile(E.cast(R,E.isSourceFile));if(N===2)return emitIdentifier(E.cast(R,E.isIdentifier));if(N===6)return emitLiteral(E.cast(R,E.isStringLiteral),true);if(N===3)return emitMappedTypeParameter(E.cast(R,E.isTypeParameterDeclaration));if(N===5){E.Debug.assertNode(R,E.isEmptyStatement);return emitEmptyStatement(true)}if(N===4){switch(R.kind){case 15:case 16:case 17:return emitLiteral(R,false);case 79:return emitIdentifier(R);case 80:return emitPrivateIdentifier(R);case 159:return emitQualifiedName(R);case 160:return emitComputedPropertyName(R);case 161:return emitTypeParameter(R);case 162:return emitParameter(R);case 163:return emitDecorator(R);case 164:return emitPropertySignature(R);case 165:return emitPropertyDeclaration(R);case 166:return emitMethodSignature(R);case 167:return emitMethodDeclaration(R);case 168:return emitClassStaticBlockDeclaration(R);case 169:return emitConstructor(R);case 170:case 171:return emitAccessorDeclaration(R);case 172:return emitCallSignature(R);case 173:return emitConstructSignature(R);case 174:return emitIndexSignature(R);case 175:return emitTypePredicate(R);case 176:return emitTypeReference(R);case 177:return emitFunctionType(R);case 178:return emitConstructorType(R);case 179:return emitTypeQuery(R);case 180:return emitTypeLiteral(R);case 181:return emitArrayType(R);case 182:return emitTupleType(R);case 183:return emitOptionalType(R);case 185:return emitUnionType(R);case 186:return emitIntersectionType(R);case 187:return emitConditionalType(R);case 188:return emitInferType(R);case 189:return emitParenthesizedType(R);case 226:return emitExpressionWithTypeArguments(R);case 190:return emitThisType();case 191:return emitTypeOperator(R);case 192:return emitIndexedAccessType(R);case 193:return emitMappedType(R);case 194:return emitLiteralType(R);case 195:return emitNamedTupleMember(R);case 196:return emitTemplateType(R);case 197:return emitTemplateTypeSpan(R);case 198:return emitImportTypeNode(R);case 199:return emitObjectBindingPattern(R);case 200:return emitArrayBindingPattern(R);case 201:return emitBindingElement(R);case 231:return emitTemplateSpan(R);case 232:return emitSemicolonClassElement();case 233:return emitBlock(R);case 235:return emitVariableStatement(R);case 234:return emitEmptyStatement(false);case 236:return emitExpressionStatement(R);case 237:return emitIfStatement(R);case 238:return emitDoStatement(R);case 239:return emitWhileStatement(R);case 240:return emitForStatement(R);case 241:return emitForInStatement(R);case 242:return emitForOfStatement(R);case 243:return emitContinueStatement(R);case 244:return emitBreakStatement(R);case 245:return emitReturnStatement(R);case 246:return emitWithStatement(R);case 247:return emitSwitchStatement(R);case 248:return emitLabeledStatement(R);case 249:return emitThrowStatement(R);case 250:return emitTryStatement(R);case 251:return emitDebuggerStatement(R);case 252:return emitVariableDeclaration(R);case 253:return emitVariableDeclarationList(R);case 254:return emitFunctionDeclaration(R);case 255:return emitClassDeclaration(R);case 256:return emitInterfaceDeclaration(R);case 257:return emitTypeAliasDeclaration(R);case 258:return emitEnumDeclaration(R);case 259:return emitModuleDeclaration(R);case 260:return emitModuleBlock(R);case 261:return emitCaseBlock(R);case 262:return emitNamespaceExportDeclaration(R);case 263:return emitImportEqualsDeclaration(R);case 264:return emitImportDeclaration(R);case 265:return emitImportClause(R);case 266:return emitNamespaceImport(R);case 272:return emitNamespaceExport(R);case 267:return emitNamedImports(R);case 268:return emitImportSpecifier(R);case 269:return emitExportAssignment(R);case 270:return emitExportDeclaration(R);case 271:return emitNamedExports(R);case 273:return emitExportSpecifier(R);case 274:return;case 275:return emitExternalModuleReference(R);case 11:return emitJsxText(R);case 278:case 281:return emitJsxOpeningElementOrFragment(R);case 279:case 282:return emitJsxClosingElementOrFragment(R);case 283:return emitJsxAttribute(R);case 284:return emitJsxAttributes(R);case 285:return emitJsxSpreadAttribute(R);case 286:return emitJsxExpression(R);case 287:return emitCaseClause(R);case 288:return emitDefaultClause(R);case 289:return emitHeritageClause(R);case 290:return emitCatchClause(R);case 291:return emitPropertyAssignment(R);case 292:return emitShorthandPropertyAssignment(R);case 293:return emitSpreadAssignment(R);case 294:return emitEnumMember(R);case 295:return writeUnparsedNode(R);case 302:case 296:return emitUnparsedSourceOrPrepend(R);case 297:case 298:return emitUnparsedTextLike(R);case 299:return emitUnparsedSyntheticReference(R);case 300:return emitSourceFile(R);case 301:return E.Debug.fail("Bundles should be printed using printBundle");case 303:return E.Debug.fail("InputFiles should not be printed");case 304:return emitJSDocTypeExpression(R);case 305:return emitJSDocNameReference(R);case 307:return writePunctuation("*");case 308:return writePunctuation("?");case 309:return emitJSDocNullableType(R);case 310:return emitJSDocNonNullableType(R);case 311:return emitJSDocOptionalType(R);case 312:return emitJSDocFunctionType(R);case 184:case 313:return emitRestOrJSDocVariadicType(R);case 314:return;case 315:return emitJSDoc(R);case 317:return emitJSDocTypeLiteral(R);case 318:return emitJSDocSignature(R);case 322:case 327:return emitJSDocSimpleTag(R);case 323:case 324:return emitJSDocHeritageTag(R);case 325:case 326:return;case 328:case 329:case 330:case 331:case 332:return;case 333:return emitJSDocCallbackTag(R);case 335:case 342:return emitJSDocPropertyLikeTag(R);case 334:case 336:case 337:case 338:return emitJSDocSimpleTypedTag(R);case 339:return emitJSDocTemplateTag(R);case 340:return emitJSDocTypedefTag(R);case 341:return emitJSDocSeeTag(R);case 344:case 348:case 347:return}if(E.isExpression(R)){N=1;if(ae!==E.noEmitSubstitution){var j=ae(N,R)||R;if(j!==R){R=j;if(xt){R=xt(R)}}}}}if(N===1){switch(R.kind){case 8:case 9:return emitNumericOrBigIntLiteral(R);case 10:case 13:case 14:return emitLiteral(R,false);case 79:return emitIdentifier(R);case 202:return emitArrayLiteralExpression(R);case 203:return emitObjectLiteralExpression(R);case 204:return emitPropertyAccessExpression(R);case 205:return emitElementAccessExpression(R);case 206:return emitCallExpression(R);case 207:return emitNewExpression(R);case 208:return emitTaggedTemplateExpression(R);case 209:return emitTypeAssertionExpression(R);case 210:return emitParenthesizedExpression(R);case 211:return emitFunctionExpression(R);case 212:return emitArrowFunction(R);case 213:return emitDeleteExpression(R);case 214:return emitTypeOfExpression(R);case 215:return emitVoidExpression(R);case 216:return emitAwaitExpression(R);case 217:return emitPrefixUnaryExpression(R);case 218:return emitPostfixUnaryExpression(R);case 219:return Ct(R);case 220:return emitConditionalExpression(R);case 221:return emitTemplateExpression(R);case 222:return emitYieldExpression(R);case 223:return emitSpreadElement(R);case 224:return emitClassExpression(R);case 225:return;case 227:return emitAsExpression(R);case 228:return emitNonNullExpression(R);case 229:return emitMetaProperty(R);case 230:return E.Debug.fail("SyntheticExpression should never be printed.");case 276:return emitJsxElement(R);case 277:return emitJsxSelfClosingElement(R);case 280:return emitJsxFragment(R);case 343:return E.Debug.fail("SyntaxList should not be printed");case 344:return;case 345:return emitPartiallyEmittedExpression(R);case 346:return emitCommaList(R);case 347:case 348:return;case 349:return E.Debug.fail("SyntheticReferenceExpression should not be printed")}}if(E.isKeyword(R.kind))return writeTokenNode(R,writeKeyword);if(E.isTokenKind(R.kind))return writeTokenNode(R,writePunctuation);E.Debug.fail("Unhandled SyntaxKind: "+E.Debug.formatSyntaxKind(R.kind)+".")}function emitMappedTypeParameter(E){emit(E.name);writeSpace();writeKeyword("in");writeSpace();emit(E.constraint)}function pipelineEmitWithSubstitution(N,R){var j=getNextPipelinePhase(1,N,R);E.Debug.assertIsDefined(bt);R=bt;bt=undefined;j(N,R)}function getHelpersFromBundledSourceFiles(R){var j;if(Me===E.ModuleKind.None||N.noEmitHelpers){return undefined}var $=new E.Map;for(var q=0,G=R.sourceFiles;q<G.length;q++){var ie=G[q];var ae=E.getExternalHelpersModuleName(ie)!==undefined;var ce=getSortedEmitHelpers(ie);if(!ce)continue;for(var le=0,_e=ce;le<_e.length;le++){var Ee=_e[le];if(!Ee.scoped&&!ae&&!$.get(Ee.name)){$.set(Ee.name,true);(j||(j=[])).push(Ee.name)}}}return j}function emitHelpers(R){var j=false;var $=R.kind===301?R:undefined;if($&&Me===E.ModuleKind.None){return}var q=$?$.prepends.length:0;var G=$?$.sourceFiles.length+q:1;for(var ie=0;ie<G;ie++){var ae=$?ie<q?$.prepends[ie]:$.sourceFiles[ie-q]:R;var ce=E.isSourceFile(ae)?ae:E.isUnparsedSource(ae)?undefined:Be;var le=N.noEmitHelpers||!!ce&&E.hasRecordedExternalHelpers(ce);var _e=(E.isSourceFile(ae)||E.isUnparsedSource(ae))&&!Ye;var Ee=E.isUnparsedSource(ae)?ae.helpers:getSortedEmitHelpers(ae);if(Ee){for(var Te=0,we=Ee;Te<we.length;Te++){var Ie=we[Te];if(!Ie.scoped){if(le)continue;if(_e){if(Le.get(Ie.name)){continue}Le.set(Ie.name,true)}}else if($){continue}var Ne=getTextPosWithWriteLine();if(typeof Ie.text==="string"){writeLines(Ie.text)}else{writeLines(Ie.text(makeFileLevelOptimisticUniqueName))}if(Ze)Ze.sections.push({pos:Ne,end:Ke.getTextPos(),kind:"emitHelpers",data:Ie.name});j=true}}}return j}function getSortedEmitHelpers(N){var R=E.getEmitHelpers(N);return R&&E.stableSort(R,E.compareEmitHelpers)}function emitNumericOrBigIntLiteral(E){emitLiteral(E,false)}function emitLiteral(R,j){var $=getLiteralTextOfNode(R,N.neverAsciiEscape,j);if((N.sourceMap||N.inlineSourceMap)&&(R.kind===10||E.isTemplateLiteralKind(R.kind))){writeLiteral($)}else{writeStringLiteral($)}}function emitUnparsedSourceOrPrepend(E){for(var N=0,R=E.texts;N<R.length;N++){var j=R[N];writeLine();emit(j)}}function writeUnparsedNode(E){Ke.rawWrite(E.parent.text.substring(E.pos,E.end))}function emitUnparsedTextLike(E){var N=getTextPosWithWriteLine();writeUnparsedNode(E);if(Ze){updateOrPushBundleFileTextLike(N,Ke.getTextPos(),E.kind===297?"text":"internal")}}function emitUnparsedSyntheticReference(N){var R=getTextPosWithWriteLine();writeUnparsedNode(N);if(Ze){var j=E.clone(N.section);j.pos=R;j.end=Ke.getTextPos();Ze.sections.push(j)}}function emitIdentifier(E){var N=E.symbol?writeSymbol:Xe;N(getTextOfNode(E,false),E.symbol);emitList(E,E.typeArguments,53776)}function emitPrivateIdentifier(E){var N=E.symbol?writeSymbol:Xe;N(getTextOfNode(E,false),E.symbol)}function emitQualifiedName(E){emitEntityName(E.left);writePunctuation(".");emit(E.right)}function emitEntityName(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitComputedPropertyName(E){writePunctuation("[");emitExpression(E.expression,kt.parenthesizeExpressionOfComputedPropertyName);writePunctuation("]")}function emitTypeParameter(E){emit(E.name);if(E.constraint){writeSpace();writeKeyword("extends");writeSpace();emit(E.constraint)}if(E.default){writeSpace();writeOperator("=");writeSpace();emit(E.default)}}function emitParameter(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emit(E.dotDotDotToken);emitNodeWithWriter(E.name,writeParameter);emit(E.questionToken);if(E.parent&&E.parent.kind===312&&!E.name){emit(E.type)}else{emitTypeAnnotation(E.type)}emitInitializer(E.initializer,E.type?E.type.end:E.questionToken?E.questionToken.end:E.name?E.name.end:E.modifiers?E.modifiers.end:E.decorators?E.decorators.end:E.pos,E,kt.parenthesizeExpressionForDisallowedComma)}function emitDecorator(E){writePunctuation("@");emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess)}function emitPropertySignature(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emitNodeWithWriter(E.name,writeProperty);emit(E.questionToken);emitTypeAnnotation(E.type);writeTrailingSemicolon()}function emitPropertyDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emit(E.name);emit(E.questionToken);emit(E.exclamationToken);emitTypeAnnotation(E.type);emitInitializer(E.initializer,E.type?E.type.end:E.questionToken?E.questionToken.end:E.name.end,E);writeTrailingSemicolon()}function emitMethodSignature(E){pushNameGenerationScope(E);emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emit(E.name);emit(E.questionToken);emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);emitTypeAnnotation(E.type);writeTrailingSemicolon();popNameGenerationScope(E)}function emitMethodDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emit(E.asteriskToken);emit(E.name);emit(E.questionToken);emitSignatureAndBody(E,emitSignatureHead)}function emitClassStaticBlockDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("static");emitBlockFunctionBody(E.body)}function emitConstructor(E){emitModifiers(E,E.modifiers);writeKeyword("constructor");emitSignatureAndBody(E,emitSignatureHead)}function emitAccessorDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword(E.kind===170?"get":"set");writeSpace();emit(E.name);emitSignatureAndBody(E,emitSignatureHead)}function emitCallSignature(E){pushNameGenerationScope(E);emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);emitTypeAnnotation(E.type);writeTrailingSemicolon();popNameGenerationScope(E)}function emitConstructSignature(E){pushNameGenerationScope(E);emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("new");writeSpace();emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);emitTypeAnnotation(E.type);writeTrailingSemicolon();popNameGenerationScope(E)}function emitIndexSignature(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emitParametersForIndexSignature(E,E.parameters);emitTypeAnnotation(E.type);writeTrailingSemicolon()}function emitTemplateTypeSpan(E){emit(E.type);emit(E.literal)}function emitSemicolonClassElement(){writeTrailingSemicolon()}function emitTypePredicate(E){if(E.assertsModifier){emit(E.assertsModifier);writeSpace()}emit(E.parameterName);if(E.type){writeSpace();writeKeyword("is");writeSpace();emit(E.type)}}function emitTypeReference(E){emit(E.typeName);emitTypeArguments(E,E.typeArguments)}function emitFunctionType(E){pushNameGenerationScope(E);emitTypeParameters(E,E.typeParameters);emitParametersForArrow(E,E.parameters);writeSpace();writePunctuation("=>");writeSpace();emit(E.type);popNameGenerationScope(E)}function emitJSDocFunctionType(E){writeKeyword("function");emitParameters(E,E.parameters);writePunctuation(":");emit(E.type)}function emitJSDocNullableType(E){writePunctuation("?");emit(E.type)}function emitJSDocNonNullableType(E){writePunctuation("!");emit(E.type)}function emitJSDocOptionalType(E){emit(E.type);writePunctuation("=")}function emitConstructorType(E){pushNameGenerationScope(E);emitModifiers(E,E.modifiers);writeKeyword("new");writeSpace();emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);writeSpace();writePunctuation("=>");writeSpace();emit(E.type);popNameGenerationScope(E)}function emitTypeQuery(E){writeKeyword("typeof");writeSpace();emit(E.exprName)}function emitTypeLiteral(N){writePunctuation("{");var R=E.getEmitFlags(N)&1?768:32897;emitList(N,N.members,R|524288);writePunctuation("}")}function emitArrayType(E){emit(E.elementType,kt.parenthesizeElementTypeOfArrayType);writePunctuation("[");writePunctuation("]")}function emitRestOrJSDocVariadicType(E){writePunctuation("...");emit(E.type)}function emitTupleType(N){emitTokenWithComment(22,N.pos,writePunctuation,N);var R=E.getEmitFlags(N)&1?528:657;emitList(N,N.elements,R|524288);emitTokenWithComment(23,N.elements.end,writePunctuation,N)}function emitNamedTupleMember(E){emit(E.dotDotDotToken);emit(E.name);emit(E.questionToken);emitTokenWithComment(58,E.name.end,writePunctuation,E);writeSpace();emit(E.type)}function emitOptionalType(E){emit(E.type,kt.parenthesizeElementTypeOfArrayType);writePunctuation("?")}function emitUnionType(E){emitList(E,E.types,516,kt.parenthesizeMemberOfElementType)}function emitIntersectionType(E){emitList(E,E.types,520,kt.parenthesizeMemberOfElementType)}function emitConditionalType(E){emit(E.checkType,kt.parenthesizeMemberOfConditionalType);writeSpace();writeKeyword("extends");writeSpace();emit(E.extendsType,kt.parenthesizeMemberOfConditionalType);writeSpace();writePunctuation("?");writeSpace();emit(E.trueType);writeSpace();writePunctuation(":");writeSpace();emit(E.falseType)}function emitInferType(E){writeKeyword("infer");writeSpace();emit(E.typeParameter)}function emitParenthesizedType(E){writePunctuation("(");emit(E.type);writePunctuation(")")}function emitThisType(){writeKeyword("this")}function emitTypeOperator(E){writeTokenText(E.operator,writeKeyword);writeSpace();emit(E.type,kt.parenthesizeMemberOfElementType)}function emitIndexedAccessType(E){emit(E.objectType,kt.parenthesizeMemberOfElementType);writePunctuation("[");emit(E.indexType);writePunctuation("]")}function emitMappedType(N){var R=E.getEmitFlags(N);writePunctuation("{");if(R&1){writeSpace()}else{writeLine();increaseIndent()}if(N.readonlyToken){emit(N.readonlyToken);if(N.readonlyToken.kind!==143){writeKeyword("readonly")}writeSpace()}writePunctuation("[");pipelineEmit(3,N.typeParameter);if(N.nameType){writeSpace();writeKeyword("as");writeSpace();emit(N.nameType)}writePunctuation("]");if(N.questionToken){emit(N.questionToken);if(N.questionToken.kind!==57){writePunctuation("?")}}writePunctuation(":");writeSpace();emit(N.type);writeTrailingSemicolon();if(R&1){writeSpace()}else{writeLine();decreaseIndent()}writePunctuation("}")}function emitLiteralType(E){emitExpression(E.literal)}function emitTemplateType(E){emit(E.head);emitList(E,E.templateSpans,262144)}function emitImportTypeNode(E){if(E.isTypeOf){writeKeyword("typeof");writeSpace()}writeKeyword("import");writePunctuation("(");emit(E.argument);writePunctuation(")");if(E.qualifier){writePunctuation(".");emit(E.qualifier)}emitTypeArguments(E,E.typeArguments)}function emitObjectBindingPattern(E){writePunctuation("{");emitList(E,E.elements,525136);writePunctuation("}")}function emitArrayBindingPattern(E){writePunctuation("[");emitList(E,E.elements,524880);writePunctuation("]")}function emitBindingElement(E){emit(E.dotDotDotToken);if(E.propertyName){emit(E.propertyName);writePunctuation(":");writeSpace()}emit(E.name);emitInitializer(E.initializer,E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitArrayLiteralExpression(E){var N=E.elements;var R=E.multiLine?65536:0;emitExpressionList(E,N,8914|R,kt.parenthesizeExpressionForDisallowedComma)}function emitObjectLiteralExpression(N){E.forEach(N.properties,generateMemberNames);var R=E.getEmitFlags(N)&65536;if(R){increaseIndent()}var j=N.multiLine?65536:0;var $=Be.languageVersion>=1&&!E.isJsonSourceFile(Be)?64:0;emitList(N,N.properties,526226|$|j);if(R){decreaseIndent()}}function emitPropertyAccessExpression(N){emitExpression(N.expression,kt.parenthesizeLeftSideOfAccess);var R=N.questionDotToken||E.setTextRangePosEnd(E.factory.createToken(24),N.expression.end,N.name.pos);var j=getLinesBetweenNodes(N,N.expression,R);var $=getLinesBetweenNodes(N,R,N.name);writeLinesAndIndent(j,false);var q=R.kind!==28&&mayNeedDotDotForPropertyAccess(N.expression)&&!Ke.hasTrailingComment()&&!Ke.hasTrailingWhitespace();if(q){writePunctuation(".")}if(N.questionDotToken){emit(R)}else{emitTokenWithComment(R.kind,N.expression.end,writePunctuation,N)}writeLinesAndIndent($,false);emit(N.name);decreaseIndentIf(j,$)}function mayNeedDotDotForPropertyAccess(N){N=E.skipPartiallyEmittedExpressions(N);if(E.isNumericLiteral(N)){var R=getLiteralTextOfNode(N,true,false);return!N.numericLiteralFlags&&!E.stringContains(R,E.tokenToString(24))}else if(E.isAccessExpression(N)){var j=E.getConstantValue(N);return typeof j==="number"&&isFinite(j)&&Math.floor(j)===j}}function emitElementAccessExpression(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);emit(E.questionDotToken);emitTokenWithComment(22,E.expression.end,writePunctuation,E);emitExpression(E.argumentExpression);emitTokenWithComment(23,E.argumentExpression.end,writePunctuation,E)}function emitCallExpression(N){var R=E.getEmitFlags(N)&536870912;if(R){writePunctuation("(");writeLiteral("0");writePunctuation(",");writeSpace()}emitExpression(N.expression,kt.parenthesizeLeftSideOfAccess);if(R){writePunctuation(")")}emit(N.questionDotToken);emitTypeArguments(N,N.typeArguments);emitExpressionList(N,N.arguments,2576,kt.parenthesizeExpressionForDisallowedComma)}function emitNewExpression(E){emitTokenWithComment(103,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeExpressionOfNew);emitTypeArguments(E,E.typeArguments);emitExpressionList(E,E.arguments,18960,kt.parenthesizeExpressionForDisallowedComma)}function emitTaggedTemplateExpression(N){var R=E.getEmitFlags(N)&536870912;if(R){writePunctuation("(");writeLiteral("0");writePunctuation(",");writeSpace()}emitExpression(N.tag,kt.parenthesizeLeftSideOfAccess);if(R){writePunctuation(")")}emitTypeArguments(N,N.typeArguments);writeSpace();emitExpression(N.template)}function emitTypeAssertionExpression(E){writePunctuation("<");emit(E.type);writePunctuation(">");emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitParenthesizedExpression(E){var N=emitTokenWithComment(20,E.pos,writePunctuation,E);var R=writeLineSeparatorsAndIndentBefore(E.expression,E);emitExpression(E.expression,undefined);writeLineSeparatorsAfter(E.expression,E);decreaseIndentIf(R);emitTokenWithComment(21,E.expression?E.expression.end:N,writePunctuation,E)}function emitFunctionExpression(E){generateNameIfNeeded(E.name);emitFunctionDeclarationOrExpression(E)}function emitArrowFunction(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emitSignatureAndBody(E,emitArrowFunctionHead)}function emitArrowFunctionHead(E){emitTypeParameters(E,E.typeParameters);emitParametersForArrow(E,E.parameters);emitTypeAnnotation(E.type);writeSpace();emit(E.equalsGreaterThanToken)}function emitDeleteExpression(E){emitTokenWithComment(89,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitTypeOfExpression(E){emitTokenWithComment(112,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitVoidExpression(E){emitTokenWithComment(114,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitAwaitExpression(E){emitTokenWithComment(131,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitPrefixUnaryExpression(E){writeTokenText(E.operator,writeOperator);if(shouldEmitWhitespaceBeforeOperand(E)){writeSpace()}emitExpression(E.operand,kt.parenthesizeOperandOfPrefixUnary)}function shouldEmitWhitespaceBeforeOperand(E){var N=E.operand;return N.kind===217&&(E.operator===39&&(N.operator===39||N.operator===45)||E.operator===40&&(N.operator===40||N.operator===46))}function emitPostfixUnaryExpression(E){emitExpression(E.operand,kt.parenthesizeOperandOfPostfixUnary);writeTokenText(E.operator,writeOperator)}function createEmitBinaryExpression(){return E.createBinaryExpressionTrampoline(onEnter,onLeft,onOperator,onRight,onExit,undefined);function onEnter(E,N){if(N){N.stackIndex++;N.preserveSourceNewlinesStack[N.stackIndex]=He;N.containerPosStack[N.stackIndex]=pt;N.containerEndStack[N.stackIndex]=ft;N.declarationListContainerEndStack[N.stackIndex]=mt;var R=N.shouldEmitCommentsStack[N.stackIndex]=shouldEmitComments(E);var j=N.shouldEmitSourceMapsStack[N.stackIndex]=shouldEmitSourceMaps(E);ce===null||ce===void 0?void 0:ce(E);if(R)emitCommentsBeforeNode(E);if(j)emitSourceMapsBeforeNode(E);beforeEmitNode(E)}else{N={stackIndex:0,preserveSourceNewlinesStack:[undefined],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[false],shouldEmitSourceMapsStack:[false]}}return N}function onLeft(E,N,R){return maybeEmitExpression(E,R,"left")}function onOperator(E,N,R){var j=E.kind!==27;var $=getLinesBetweenNodes(R,R.left,E);var q=getLinesBetweenNodes(R,E,R.right);writeLinesAndIndent($,j);emitLeadingCommentsOfPosition(E.pos);writeTokenNode(E,E.kind===101?writeKeyword:writeOperator);emitTrailingCommentsOfPosition(E.end,true);writeLinesAndIndent(q,true)}function onRight(E,N,R){return maybeEmitExpression(E,R,"right")}function onExit(E,N){var R=getLinesBetweenNodes(E,E.left,E.operatorToken);var j=getLinesBetweenNodes(E,E.operatorToken,E.right);decreaseIndentIf(R,j);if(N.stackIndex>0){var $=N.preserveSourceNewlinesStack[N.stackIndex];var q=N.containerPosStack[N.stackIndex];var G=N.containerEndStack[N.stackIndex];var ie=N.declarationListContainerEndStack[N.stackIndex];var ae=N.shouldEmitCommentsStack[N.stackIndex];var ce=N.shouldEmitSourceMapsStack[N.stackIndex];afterEmitNode($);if(ce)emitSourceMapsAfterNode(E);if(ae)emitCommentsAfterNode(E,q,G,ie);le===null||le===void 0?void 0:le(E);N.stackIndex--}}function maybeEmitExpression(N,R,j){var $=j==="left"?kt.getParenthesizeLeftSideOfBinaryForOperator(R.operatorToken.kind):kt.getParenthesizeRightSideOfBinaryForOperator(R.operatorToken.kind);var q=getPipelinePhase(0,1,N);if(q===pipelineEmitWithSubstitution){E.Debug.assertIsDefined(bt);N=$(E.cast(bt,E.isExpression));q=getNextPipelinePhase(1,1,N);bt=undefined}if(q===pipelineEmitWithComments||q===pipelineEmitWithSourceMaps||q===pipelineEmitWithHint){if(E.isBinaryExpression(N)){return N}}xt=$;q(1,N)}}function emitConditionalExpression(E){var N=getLinesBetweenNodes(E,E.condition,E.questionToken);var R=getLinesBetweenNodes(E,E.questionToken,E.whenTrue);var j=getLinesBetweenNodes(E,E.whenTrue,E.colonToken);var $=getLinesBetweenNodes(E,E.colonToken,E.whenFalse);emitExpression(E.condition,kt.parenthesizeConditionOfConditionalExpression);writeLinesAndIndent(N,true);emit(E.questionToken);writeLinesAndIndent(R,true);emitExpression(E.whenTrue,kt.parenthesizeBranchOfConditionalExpression);decreaseIndentIf(N,R);writeLinesAndIndent(j,true);emit(E.colonToken);writeLinesAndIndent($,true);emitExpression(E.whenFalse,kt.parenthesizeBranchOfConditionalExpression);decreaseIndentIf(j,$)}function emitTemplateExpression(E){emit(E.head);emitList(E,E.templateSpans,262144)}function emitYieldExpression(E){emitTokenWithComment(125,E.pos,writeKeyword,E);emit(E.asteriskToken);emitExpressionWithLeadingSpace(E.expression,kt.parenthesizeExpressionForDisallowedComma)}function emitSpreadElement(E){emitTokenWithComment(25,E.pos,writePunctuation,E);emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma)}function emitClassExpression(E){generateNameIfNeeded(E.name);emitClassDeclarationOrExpression(E)}function emitExpressionWithTypeArguments(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);emitTypeArguments(E,E.typeArguments)}function emitAsExpression(E){emitExpression(E.expression,undefined);if(E.type){writeSpace();writeKeyword("as");writeSpace();emit(E.type)}}function emitNonNullExpression(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);writeOperator("!")}function emitMetaProperty(E){writeToken(E.keywordToken,E.pos,writePunctuation);writePunctuation(".");emit(E.name)}function emitTemplateSpan(E){emitExpression(E.expression);emit(E.literal)}function emitBlock(E){emitBlockStatements(E,!E.multiLine&&isEmptyBlock(E))}function emitBlockStatements(N,R){emitTokenWithComment(18,N.pos,writePunctuation,N);var j=R||E.getEmitFlags(N)&1?768:129;emitList(N,N.statements,j);emitTokenWithComment(19,N.statements.end,writePunctuation,N,!!(j&1))}function emitVariableStatement(E){emitModifiers(E,E.modifiers);emit(E.declarationList);writeTrailingSemicolon()}function emitEmptyStatement(E){if(E){writePunctuation(";")}else{writeTrailingSemicolon()}}function emitExpressionStatement(N){emitExpression(N.expression,kt.parenthesizeExpressionOfExpressionStatement);if(!E.isJsonSourceFile(Be)||E.nodeIsSynthesized(N.expression)){writeTrailingSemicolon()}}function emitIfStatement(E){var N=emitTokenWithComment(99,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.thenStatement);if(E.elseStatement){writeLineOrSpace(E,E.thenStatement,E.elseStatement);emitTokenWithComment(91,E.thenStatement.end,writeKeyword,E);if(E.elseStatement.kind===237){writeSpace();emit(E.elseStatement)}else{emitEmbeddedStatement(E,E.elseStatement)}}}function emitWhileClause(E,N){var R=emitTokenWithComment(115,N,writeKeyword,E);writeSpace();emitTokenWithComment(20,R,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E)}function emitDoStatement(N){emitTokenWithComment(90,N.pos,writeKeyword,N);emitEmbeddedStatement(N,N.statement);if(E.isBlock(N.statement)&&!He){writeSpace()}else{writeLineOrSpace(N,N.statement,N.expression)}emitWhileClause(N,N.statement.end);writeTrailingSemicolon()}function emitWhileStatement(E){emitWhileClause(E,E.pos);emitEmbeddedStatement(E,E.statement)}function emitForStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();var R=emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);R=emitTokenWithComment(26,E.initializer?E.initializer.end:R,writePunctuation,E);emitExpressionWithLeadingSpace(E.condition);R=emitTokenWithComment(26,E.condition?E.condition.end:R,writePunctuation,E);emitExpressionWithLeadingSpace(E.incrementor);emitTokenWithComment(21,E.incrementor?E.incrementor.end:R,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForInStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);writeSpace();emitTokenWithComment(101,E.initializer.end,writeKeyword,E);writeSpace();emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForOfStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();emitWithTrailingSpace(E.awaitModifier);emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);writeSpace();emitTokenWithComment(158,E.initializer.end,writeKeyword,E);writeSpace();emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForBinding(E){if(E!==undefined){if(E.kind===253){emit(E)}else{emitExpression(E)}}}function emitContinueStatement(E){emitTokenWithComment(86,E.pos,writeKeyword,E);emitWithLeadingSpace(E.label);writeTrailingSemicolon()}function emitBreakStatement(E){emitTokenWithComment(81,E.pos,writeKeyword,E);emitWithLeadingSpace(E.label);writeTrailingSemicolon()}function emitTokenWithComment(N,R,j,$,q){var G=E.getParseTreeNode($);var ie=G&&G.kind===$.kind;var ae=R;if(ie&&Be){R=E.skipTrivia(Be.text,R)}if(ie&&$.pos!==ae){var ce=q&&Be&&!E.positionsAreOnSameLine(ae,R,Be);if(ce){increaseIndent()}emitLeadingCommentsOfPosition(ae);if(ce){decreaseIndent()}}R=writeTokenText(N,j,R);if(ie&&$.end!==R){var le=$.kind===286;emitTrailingCommentsOfPosition(R,!le,le)}return R}function emitReturnStatement(E){emitTokenWithComment(105,E.pos,writeKeyword,E);emitExpressionWithLeadingSpace(E.expression);writeTrailingSemicolon()}function emitWithStatement(E){var N=emitTokenWithComment(116,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitSwitchStatement(E){var N=emitTokenWithComment(107,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);writeSpace();emit(E.caseBlock)}function emitLabeledStatement(E){emit(E.label);emitTokenWithComment(58,E.label.end,writePunctuation,E);writeSpace();emit(E.statement)}function emitThrowStatement(E){emitTokenWithComment(109,E.pos,writeKeyword,E);emitExpressionWithLeadingSpace(E.expression);writeTrailingSemicolon()}function emitTryStatement(E){emitTokenWithComment(111,E.pos,writeKeyword,E);writeSpace();emit(E.tryBlock);if(E.catchClause){writeLineOrSpace(E,E.tryBlock,E.catchClause);emit(E.catchClause)}if(E.finallyBlock){writeLineOrSpace(E,E.catchClause||E.tryBlock,E.finallyBlock);emitTokenWithComment(96,(E.catchClause||E.tryBlock).end,writeKeyword,E);writeSpace();emit(E.finallyBlock)}}function emitDebuggerStatement(E){writeToken(87,E.pos,writeKeyword);writeTrailingSemicolon()}function emitVariableDeclaration(E){emit(E.name);emit(E.exclamationToken);emitTypeAnnotation(E.type);emitInitializer(E.initializer,E.type?E.type.end:E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitVariableDeclarationList(N){writeKeyword(E.isLet(N)?"let":E.isVarConst(N)?"const":"var");writeSpace();emitList(N,N.declarations,528)}function emitFunctionDeclaration(E){emitFunctionDeclarationOrExpression(E)}function emitFunctionDeclarationOrExpression(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("function");emit(E.asteriskToken);writeSpace();emitIdentifierName(E.name);emitSignatureAndBody(E,emitSignatureHead)}function emitSignatureAndBody(N,R){var j=N.body;if(j){if(E.isBlock(j)){var $=E.getEmitFlags(N)&65536;if($){increaseIndent()}pushNameGenerationScope(N);E.forEach(N.parameters,generateNames);generateNames(N.body);R(N);emitBlockFunctionBody(j);popNameGenerationScope(N);if($){decreaseIndent()}}else{R(N);writeSpace();emitExpression(j,kt.parenthesizeConciseBodyOfArrowFunction)}}else{R(N);writeTrailingSemicolon()}}function emitSignatureHead(E){emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);emitTypeAnnotation(E.type)}function shouldEmitBlockFunctionBodyOnSingleLine(N){if(E.getEmitFlags(N)&1){return true}if(N.multiLine){return false}if(!E.nodeIsSynthesized(N)&&!E.rangeIsOnSingleLine(N,Be)){return false}if(getLeadingLineTerminatorCount(N,N.statements,2)||getClosingLineTerminatorCount(N,N.statements,2)){return false}var R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];if(getSeparatingLineTerminatorCount(R,q,2)>0){return false}R=q}return true}function emitBlockFunctionBody(E){ce===null||ce===void 0?void 0:ce(E);writeSpace();writePunctuation("{");increaseIndent();var N=shouldEmitBlockFunctionBodyOnSingleLine(E)?emitBlockFunctionBodyOnSingleLine:emitBlockFunctionBodyWorker;if(emitBodyWithDetachedComments){emitBodyWithDetachedComments(E,E.statements,N)}else{N(E)}decreaseIndent();writeToken(19,E.statements.end,writePunctuation,E);le===null||le===void 0?void 0:le(E)}function emitBlockFunctionBodyOnSingleLine(E){emitBlockFunctionBodyWorker(E,true)}function emitBlockFunctionBodyWorker(E,N){var R=emitPrologueDirectives(E.statements);var j=Ke.getTextPos();emitHelpers(E);if(R===0&&j===Ke.getTextPos()&&N){decreaseIndent();emitList(E,E.statements,768);increaseIndent()}else{emitList(E,E.statements,1,undefined,R)}}function emitClassDeclaration(E){emitClassDeclarationOrExpression(E)}function emitClassDeclarationOrExpression(N){E.forEach(N.members,generateMemberNames);emitDecorators(N,N.decorators);emitModifiers(N,N.modifiers);writeKeyword("class");if(N.name){writeSpace();emitIdentifierName(N.name)}var R=E.getEmitFlags(N)&65536;if(R){increaseIndent()}emitTypeParameters(N,N.typeParameters);emitList(N,N.heritageClauses,0);writeSpace();writePunctuation("{");emitList(N,N.members,129);writePunctuation("}");if(R){decreaseIndent()}}function emitInterfaceDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("interface");writeSpace();emit(E.name);emitTypeParameters(E,E.typeParameters);emitList(E,E.heritageClauses,512);writeSpace();writePunctuation("{");emitList(E,E.members,129);writePunctuation("}")}function emitTypeAliasDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("type");writeSpace();emit(E.name);emitTypeParameters(E,E.typeParameters);writeSpace();writePunctuation("=");writeSpace();emit(E.type);writeTrailingSemicolon()}function emitEnumDeclaration(E){emitModifiers(E,E.modifiers);writeKeyword("enum");writeSpace();emit(E.name);writeSpace();writePunctuation("{");emitList(E,E.members,145);writePunctuation("}")}function emitModuleDeclaration(N){emitModifiers(N,N.modifiers);if(~N.flags&1024){writeKeyword(N.flags&16?"namespace":"module");writeSpace()}emit(N.name);var R=N.body;if(!R)return writeTrailingSemicolon();while(R&&E.isModuleDeclaration(R)){writePunctuation(".");emit(R.name);R=R.body}writeSpace();emit(R)}function emitModuleBlock(N){pushNameGenerationScope(N);E.forEach(N.statements,generateNames);emitBlockStatements(N,isEmptyBlock(N));popNameGenerationScope(N)}function emitCaseBlock(E){emitTokenWithComment(18,E.pos,writePunctuation,E);emitList(E,E.clauses,129);emitTokenWithComment(19,E.clauses.end,writePunctuation,E,true)}function emitImportEqualsDeclaration(E){emitModifiers(E,E.modifiers);emitTokenWithComment(100,E.modifiers?E.modifiers.end:E.pos,writeKeyword,E);writeSpace();if(E.isTypeOnly){emitTokenWithComment(150,E.pos,writeKeyword,E);writeSpace()}emit(E.name);writeSpace();emitTokenWithComment(63,E.name.end,writePunctuation,E);writeSpace();emitModuleReference(E.moduleReference);writeTrailingSemicolon()}function emitModuleReference(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitImportDeclaration(E){emitModifiers(E,E.modifiers);emitTokenWithComment(100,E.modifiers?E.modifiers.end:E.pos,writeKeyword,E);writeSpace();if(E.importClause){emit(E.importClause);writeSpace();emitTokenWithComment(154,E.importClause.end,writeKeyword,E);writeSpace()}emitExpression(E.moduleSpecifier);writeTrailingSemicolon()}function emitImportClause(E){if(E.isTypeOnly){emitTokenWithComment(150,E.pos,writeKeyword,E);writeSpace()}emit(E.name);if(E.name&&E.namedBindings){emitTokenWithComment(27,E.name.end,writePunctuation,E);writeSpace()}emit(E.namedBindings)}function emitNamespaceImport(E){var N=emitTokenWithComment(41,E.pos,writePunctuation,E);writeSpace();emitTokenWithComment(127,N,writeKeyword,E);writeSpace();emit(E.name)}function emitNamedImports(E){emitNamedImportsOrExports(E)}function emitImportSpecifier(E){emitImportOrExportSpecifier(E)}function emitExportAssignment(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();if(E.isExportEquals){emitTokenWithComment(63,N,writeOperator,E)}else{emitTokenWithComment(88,N,writeKeyword,E)}writeSpace();emitExpression(E.expression,E.isExportEquals?kt.getParenthesizeRightSideOfBinaryForOperator(63):kt.parenthesizeExpressionOfExportDefault);writeTrailingSemicolon()}function emitExportDeclaration(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();if(E.isTypeOnly){N=emitTokenWithComment(150,N,writeKeyword,E);writeSpace()}if(E.exportClause){emit(E.exportClause)}else{N=emitTokenWithComment(41,N,writePunctuation,E)}if(E.moduleSpecifier){writeSpace();var R=E.exportClause?E.exportClause.end:N;emitTokenWithComment(154,R,writeKeyword,E);writeSpace();emitExpression(E.moduleSpecifier)}writeTrailingSemicolon()}function emitNamespaceExportDeclaration(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();N=emitTokenWithComment(127,N,writeKeyword,E);writeSpace();N=emitTokenWithComment(141,N,writeKeyword,E);writeSpace();emit(E.name);writeTrailingSemicolon()}function emitNamespaceExport(E){var N=emitTokenWithComment(41,E.pos,writePunctuation,E);writeSpace();emitTokenWithComment(127,N,writeKeyword,E);writeSpace();emit(E.name)}function emitNamedExports(E){emitNamedImportsOrExports(E)}function emitExportSpecifier(E){emitImportOrExportSpecifier(E)}function emitNamedImportsOrExports(E){writePunctuation("{");emitList(E,E.elements,525136);writePunctuation("}")}function emitImportOrExportSpecifier(E){if(E.propertyName){emit(E.propertyName);writeSpace();emitTokenWithComment(127,E.propertyName.end,writeKeyword,E);writeSpace()}emit(E.name)}function emitExternalModuleReference(E){writeKeyword("require");writePunctuation("(");emitExpression(E.expression);writePunctuation(")")}function emitJsxElement(E){emit(E.openingElement);emitList(E,E.children,262144);emit(E.closingElement)}function emitJsxSelfClosingElement(E){writePunctuation("<");emitJsxTagName(E.tagName);emitTypeArguments(E,E.typeArguments);writeSpace();emit(E.attributes);writePunctuation("/>")}function emitJsxFragment(E){emit(E.openingFragment);emitList(E,E.children,262144);emit(E.closingFragment)}function emitJsxOpeningElementOrFragment(N){writePunctuation("<");if(E.isJsxOpeningElement(N)){var R=writeLineSeparatorsAndIndentBefore(N.tagName,N);emitJsxTagName(N.tagName);emitTypeArguments(N,N.typeArguments);if(N.attributes.properties&&N.attributes.properties.length>0){writeSpace()}emit(N.attributes);writeLineSeparatorsAfter(N.attributes,N);decreaseIndentIf(R)}writePunctuation(">")}function emitJsxText(E){Ke.writeLiteral(E.text)}function emitJsxClosingElementOrFragment(N){writePunctuation("</");if(E.isJsxClosingElement(N)){emitJsxTagName(N.tagName)}writePunctuation(">")}function emitJsxAttributes(E){emitList(E,E.properties,262656)}function emitJsxAttribute(E){emit(E.name);emitNodeWithPrefix("=",writePunctuation,E.initializer,emitJsxAttributeValue)}function emitJsxSpreadAttribute(E){writePunctuation("{...");emitExpression(E.expression);writePunctuation("}")}function hasTrailingCommentsAtPosition(N){var R=false;E.forEachTrailingCommentRange((Be===null||Be===void 0?void 0:Be.text)||"",N+1,(function(){return R=true}));return R}function hasLeadingCommentsAtPosition(N){var R=false;E.forEachLeadingCommentRange((Be===null||Be===void 0?void 0:Be.text)||"",N+1,(function(){return R=true}));return R}function hasCommentsAtPosition(E){return hasTrailingCommentsAtPosition(E)||hasLeadingCommentsAtPosition(E)}function emitJsxExpression(N){var R;if(N.expression||!vt&&!E.nodeIsSynthesized(N)&&hasCommentsAtPosition(N.pos)){var j=Be&&!E.nodeIsSynthesized(N)&&E.getLineAndCharacterOfPosition(Be,N.pos).line!==E.getLineAndCharacterOfPosition(Be,N.end).line;if(j){Ke.increaseIndent()}var $=emitTokenWithComment(18,N.pos,writePunctuation,N);emit(N.dotDotDotToken);emitExpression(N.expression);emitTokenWithComment(19,((R=N.expression)===null||R===void 0?void 0:R.end)||$,writePunctuation,N);if(j){Ke.decreaseIndent()}}}function emitJsxTagName(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitCaseClause(E){emitTokenWithComment(82,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma);emitCaseOrDefaultClauseRest(E,E.statements,E.expression.end)}function emitDefaultClause(E){var N=emitTokenWithComment(88,E.pos,writeKeyword,E);emitCaseOrDefaultClauseRest(E,E.statements,N)}function emitCaseOrDefaultClauseRest(N,R,j){var $=R.length===1&&(E.nodeIsSynthesized(N)||E.nodeIsSynthesized(R[0])||E.rangeStartPositionsAreOnSameLine(N,R[0],Be));var q=163969;if($){writeToken(58,j,writePunctuation,N);writeSpace();q&=~(1|128)}else{emitTokenWithComment(58,j,writePunctuation,N)}emitList(N,R,q)}function emitHeritageClause(E){writeSpace();writeTokenText(E.token,writeKeyword);writeSpace();emitList(E,E.types,528)}function emitCatchClause(E){var N=emitTokenWithComment(83,E.pos,writeKeyword,E);writeSpace();if(E.variableDeclaration){emitTokenWithComment(20,N,writePunctuation,E);emit(E.variableDeclaration);emitTokenWithComment(21,E.variableDeclaration.end,writePunctuation,E);writeSpace()}emit(E.block)}function emitPropertyAssignment(N){emit(N.name);writePunctuation(":");writeSpace();var R=N.initializer;if((E.getEmitFlags(R)&512)===0){var j=E.getCommentRange(R);emitTrailingCommentsOfPosition(j.pos)}emitExpression(R,kt.parenthesizeExpressionForDisallowedComma)}function emitShorthandPropertyAssignment(E){emit(E.name);if(E.objectAssignmentInitializer){writeSpace();writePunctuation("=");writeSpace();emitExpression(E.objectAssignmentInitializer,kt.parenthesizeExpressionForDisallowedComma)}}function emitSpreadAssignment(E){if(E.expression){emitTokenWithComment(25,E.pos,writePunctuation,E);emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma)}}function emitEnumMember(E){emit(E.name);emitInitializer(E.initializer,E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitJSDoc(N){Xe("/**");if(N.comment){var R=E.getTextOfJSDocComment(N.comment);if(R){var j=R.split(/\r\n?|\n/g);for(var $=0,q=j;$<q.length;$++){var G=q[$];writeLine();writeSpace();writePunctuation("*");writeSpace();Xe(G)}}}if(N.tags){if(N.tags.length===1&&N.tags[0].kind===338&&!N.comment){writeSpace();emit(N.tags[0])}else{emitList(N,N.tags,33)}}writeSpace();Xe("*/")}function emitJSDocSimpleTypedTag(E){emitJSDocTagName(E.tagName);emitJSDocTypeExpression(E.typeExpression);emitJSDocComment(E.comment)}function emitJSDocSeeTag(E){emitJSDocTagName(E.tagName);emit(E.name);emitJSDocComment(E.comment)}function emitJSDocNameReference(E){writeSpace();writePunctuation("{");emit(E.name);writePunctuation("}")}function emitJSDocHeritageTag(E){emitJSDocTagName(E.tagName);writeSpace();writePunctuation("{");emit(E.class);writePunctuation("}");emitJSDocComment(E.comment)}function emitJSDocTemplateTag(E){emitJSDocTagName(E.tagName);emitJSDocTypeExpression(E.constraint);writeSpace();emitList(E,E.typeParameters,528);emitJSDocComment(E.comment)}function emitJSDocTypedefTag(E){emitJSDocTagName(E.tagName);if(E.typeExpression){if(E.typeExpression.kind===304){emitJSDocTypeExpression(E.typeExpression)}else{writeSpace();writePunctuation("{");Xe("Object");if(E.typeExpression.isArrayType){writePunctuation("[");writePunctuation("]")}writePunctuation("}")}}if(E.fullName){writeSpace();emit(E.fullName)}emitJSDocComment(E.comment);if(E.typeExpression&&E.typeExpression.kind===317){emitJSDocTypeLiteral(E.typeExpression)}}function emitJSDocCallbackTag(E){emitJSDocTagName(E.tagName);if(E.name){writeSpace();emit(E.name)}emitJSDocComment(E.comment);emitJSDocSignature(E.typeExpression)}function emitJSDocSimpleTag(E){emitJSDocTagName(E.tagName);emitJSDocComment(E.comment)}function emitJSDocTypeLiteral(N){emitList(N,E.factory.createNodeArray(N.jsDocPropertyTags),33)}function emitJSDocSignature(N){if(N.typeParameters){emitList(N,E.factory.createNodeArray(N.typeParameters),33)}if(N.parameters){emitList(N,E.factory.createNodeArray(N.parameters),33)}if(N.type){writeLine();writeSpace();writePunctuation("*");writeSpace();emit(N.type)}}function emitJSDocPropertyLikeTag(E){emitJSDocTagName(E.tagName);emitJSDocTypeExpression(E.typeExpression);writeSpace();if(E.isBracketed){writePunctuation("[")}emit(E.name);if(E.isBracketed){writePunctuation("]")}emitJSDocComment(E.comment)}function emitJSDocTagName(E){writePunctuation("@");emit(E)}function emitJSDocComment(N){var R=E.getTextOfJSDocComment(N);if(R){writeSpace();Xe(R)}}function emitJSDocTypeExpression(E){if(E){writeSpace();writePunctuation("{");emit(E.type);writePunctuation("}")}}function emitSourceFile(N){writeLine();var R=N.statements;if(emitBodyWithDetachedComments){var j=R.length===0||!E.isPrologueDirective(R[0])||E.nodeIsSynthesized(R[0]);if(j){emitBodyWithDetachedComments(N,R,emitSourceFileWorker);return}}emitSourceFileWorker(N)}function emitSyntheticTripleSlashReferencesIfNeeded(N){emitTripleSlashDirectives(!!N.hasNoDefaultLib,N.syntheticFileReferences||[],N.syntheticTypeReferences||[],N.syntheticLibReferences||[]);for(var R=0,j=N.prepends;R<j.length;R++){var $=j[R];if(E.isUnparsedSource($)&&$.syntheticReferences){for(var q=0,G=$.syntheticReferences;q<G.length;q++){var ie=G[q];emit(ie);writeLine()}}}}function emitTripleSlashDirectivesIfNeeded(E){if(E.isDeclarationFile)emitTripleSlashDirectives(E.hasNoDefaultLib,E.referencedFiles,E.typeReferenceDirectives,E.libReferenceDirectives)}function emitTripleSlashDirectives(E,N,R,j){if(E){var $=Ke.getTextPos();writeComment('/// <reference no-default-lib="true"/>');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"no-default-lib"});writeLine()}if(Be&&Be.moduleName){writeComment('/// <amd-module name="'+Be.moduleName+'" />');writeLine()}if(Be&&Be.amdDependencies){for(var q=0,G=Be.amdDependencies;q<G.length;q++){var ie=G[q];if(ie.name){writeComment('/// <amd-dependency name="'+ie.name+'" path="'+ie.path+'" />')}else{writeComment('/// <amd-dependency path="'+ie.path+'" />')}writeLine()}}for(var ae=0,ce=N;ae<ce.length;ae++){var le=ce[ae];var $=Ke.getTextPos();writeComment('/// <reference path="'+le.fileName+'" />');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"reference",data:le.fileName});writeLine()}for(var _e=0,Ee=R;_e<Ee.length;_e++){var le=Ee[_e];var $=Ke.getTextPos();writeComment('/// <reference types="'+le.fileName+'" />');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"type",data:le.fileName});writeLine()}for(var Te=0,we=j;Te<we.length;Te++){var le=we[Te];var $=Ke.getTextPos();writeComment('/// <reference lib="'+le.fileName+'" />');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"lib",data:le.fileName});writeLine()}}function emitSourceFileWorker(N){var R=N.statements;pushNameGenerationScope(N);E.forEach(N.statements,generateNames);emitHelpers(N);var j=E.findIndex(R,(function(N){return!E.isPrologueDirective(N)}));emitTripleSlashDirectivesIfNeeded(N);emitList(N,R,1,undefined,j===-1?R.length:j);popNameGenerationScope(N)}function emitPartiallyEmittedExpression(E){emitExpression(E.expression)}function emitCommaList(E){emitExpressionList(E,E.elements,528,undefined)}function emitPrologueDirectives(N,R,j,$){var q=!!R;for(var G=0;G<N.length;G++){var ie=N[G];if(E.isPrologueDirective(ie)){var ae=j?!j.has(ie.expression.text):true;if(ae){if(q){q=false;setSourceFile(R)}writeLine();var ce=Ke.getTextPos();emit(ie);if($&&Ze)Ze.sections.push({pos:ce,end:Ke.getTextPos(),kind:"prologue",data:ie.expression.text});if(j){j.add(ie.expression.text)}}}else{return G}}return N.length}function emitUnparsedPrologues(E,N){for(var R=0,j=E;R<j.length;R++){var $=j[R];if(!N.has($.data)){writeLine();var q=Ke.getTextPos();emit($);if(Ze)Ze.sections.push({pos:q,end:Ke.getTextPos(),kind:"prologue",data:$.data});if(N){N.add($.data)}}}}function emitPrologueDirectivesIfNeeded(N){if(E.isSourceFile(N)){emitPrologueDirectives(N.statements,N)}else{var R=new E.Set;for(var j=0,$=N.prepends;j<$.length;j++){var q=$[j];emitUnparsedPrologues(q.prologues,R)}for(var G=0,ie=N.sourceFiles;G<ie.length;G++){var ae=ie[G];emitPrologueDirectives(ae.statements,ae,R,true)}setSourceFile(undefined)}}function getPrologueDirectivesFromBundledSourceFiles(N){var R=new E.Set;var j;for(var $=0;$<N.sourceFiles.length;$++){var q=N.sourceFiles[$];var G=void 0;var ie=0;for(var ae=0,ce=q.statements;ae<ce.length;ae++){var le=ce[ae];if(!E.isPrologueDirective(le))break;if(R.has(le.expression.text))continue;R.add(le.expression.text);(G||(G=[])).push({pos:le.pos,end:le.end,expression:{pos:le.expression.pos,end:le.expression.end,text:le.expression.text}});ie=ie<le.end?le.end:ie}if(G)(j||(j=[])).push({file:$,text:q.text.substring(0,ie),directives:G})}return j}function emitShebangIfNeeded(N){if(E.isSourceFile(N)||E.isUnparsedSource(N)){var R=E.getShebang(N.text);if(R){writeComment(R);writeLine();return true}}else{for(var j=0,$=N.prepends;j<$.length;j++){var q=$[j];E.Debug.assertNode(q,E.isUnparsedSource);if(emitShebangIfNeeded(q)){return true}}for(var G=0,ie=N.sourceFiles;G<ie.length;G++){var ae=ie[G];if(emitShebangIfNeeded(ae)){return true}}}}function emitNodeWithWriter(E,N){if(!E)return;var R=Xe;Xe=N;emit(E);Xe=R}function emitModifiers(E,N){if(N&&N.length){emitList(E,N,262656);writeSpace()}}function emitTypeAnnotation(E){if(E){writePunctuation(":");writeSpace();emit(E)}}function emitInitializer(E,N,R,j){if(E){writeSpace();emitTokenWithComment(63,N,writeOperator,R);writeSpace();emitExpression(E,j)}}function emitNodeWithPrefix(E,N,R,j){if(R){N(E);j(R)}}function emitWithLeadingSpace(E){if(E){writeSpace();emit(E)}}function emitExpressionWithLeadingSpace(E,N){if(E){writeSpace();emitExpression(E,N)}}function emitWithTrailingSpace(E){if(E){emit(E);writeSpace()}}function emitEmbeddedStatement(N,R){if(E.isBlock(R)||E.getEmitFlags(N)&1){writeSpace();emit(R)}else{writeLine();increaseIndent();if(E.isEmptyStatement(R)){pipelineEmit(5,R)}else{emit(R)}decreaseIndent()}}function emitDecorators(E,N){emitList(E,N,2146305)}function emitTypeArguments(E,N){emitList(E,N,53776,kt.parenthesizeMemberOfElementType)}function emitTypeParameters(N,R){if(E.isFunctionLike(N)&&N.typeArguments){return emitTypeArguments(N,N.typeArguments)}emitList(N,R,53776)}function emitParameters(E,N){emitList(E,N,2576)}function canEmitSimpleArrowHead(N,R){var j=E.singleOrUndefined(R);return j&&j.pos===N.pos&&E.isArrowFunction(N)&&!N.type&&!E.some(N.decorators)&&!E.some(N.modifiers)&&!E.some(N.typeParameters)&&!E.some(j.decorators)&&!E.some(j.modifiers)&&!j.dotDotDotToken&&!j.questionToken&&!j.type&&!j.initializer&&E.isIdentifier(j.name)}function emitParametersForArrow(E,N){if(canEmitSimpleArrowHead(E,N)){emitList(E,N,2576&~2048)}else{emitParameters(E,N)}}function emitParametersForIndexSignature(E,N){emitList(E,N,8848)}function writeDelimiter(E){switch(E&60){case 0:break;case 16:writePunctuation(",");break;case 4:writeSpace();writePunctuation("|");break;case 32:writeSpace();writePunctuation("*");writeSpace();break;case 8:writeSpace();writePunctuation("&");break}}function emitList(E,N,R,j,$,q){emitNodeList(emit,E,N,R,j,$,q)}function emitExpressionList(E,N,R,j,$,q){emitNodeList(emitExpression,E,N,R,j,$,q)}function emitNodeList(N,R,j,$,q,G,ie){if(G===void 0){G=0}if(ie===void 0){ie=j?j.length-G:0}var ae=j===undefined;if(ae&&$&16384){return}var ce=j===undefined||G>=j.length||ie===0;if(ce&&$&32768){if(_e){_e(j)}if(Ee){Ee(j)}return}if($&15360){writePunctuation(getOpeningBracket($));if(ce&&j){emitTrailingCommentsOfPosition(j.pos,true)}}if(_e){_e(j)}if(ce){if($&1&&!(He&&(!R||E.rangeIsOnSingleLine(R,Be)))){writeLine()}else if($&256&&!($&524288)){writeSpace()}}else{E.Debug.type(j);var le=($&262144)===0;var Te=le;var we=getLeadingLineTerminatorCount(R,j,$);if(we){writeLine(we);Te=false}else if($&256){writeSpace()}if($&128){increaseIndent()}var Ie=void 0;var Ne=void 0;var Me=false;for(var Le=0;Le<ie;Le++){var je=j[G+Le];if($&32){writeLine();writeDelimiter($)}else if(Ie){if($&60&&Ie.end!==(R?R.end:-1)){emitLeadingCommentsOfPosition(Ie.end)}writeDelimiter($);recordBundleFileInternalSectionEnd(Ne);var Ue=getSeparatingLineTerminatorCount(Ie,je,$);if(Ue>0){if(($&(3|128))===0){increaseIndent();Me=true}writeLine(Ue);Te=false}else if(Ie&&$&512){writeSpace()}}Ne=recordBundleFileInternalSectionStart(je);if(Te){if(emitTrailingCommentsOfPosition){var ze=E.getCommentRange(je);emitTrailingCommentsOfPosition(ze.pos)}}else{Te=le}Ge=je.pos;if(N.length===1){N(je)}else{N(je,q)}if(Me){decreaseIndent();Me=false}Ie=je}var We=Ie?E.getEmitFlags(Ie):0;var Je=vt||!!(We&1024);var Ve=(j===null||j===void 0?void 0:j.hasTrailingComma)&&$&64&&$&16;if(Ve){if(Ie&&!Je){emitTokenWithComment(27,Ie.end,writePunctuation,Ie)}else{writePunctuation(",")}}if(Ie&&(R?R.end:-1)!==Ie.end&&$&60&&!Je){emitLeadingCommentsOfPosition(Ve&&(j===null||j===void 0?void 0:j.end)?j.end:Ie.end)}if($&128){decreaseIndent()}recordBundleFileInternalSectionEnd(Ne);var qe=getClosingLineTerminatorCount(R,j,$);if(qe){writeLine(qe)}else if($&(2097152|256)){writeSpace()}}if(Ee){Ee(j)}if($&15360){if(ce&&j){emitLeadingCommentsOfPosition(j.end)}writePunctuation(getClosingBracket($))}}function writeLiteral(E){Ke.writeLiteral(E)}function writeStringLiteral(E){Ke.writeStringLiteral(E)}function writeBase(E){Ke.write(E)}function writeSymbol(E,N){Ke.writeSymbol(E,N)}function writePunctuation(E){Ke.writePunctuation(E)}function writeTrailingSemicolon(){Ke.writeTrailingSemicolon(";")}function writeKeyword(E){Ke.writeKeyword(E)}function writeOperator(E){Ke.writeOperator(E)}function writeParameter(E){Ke.writeParameter(E)}function writeComment(E){Ke.writeComment(E)}function writeSpace(){Ke.writeSpace(" ")}function writeProperty(E){Ke.writeProperty(E)}function writeLine(E){if(E===void 0){E=1}for(var N=0;N<E;N++){Ke.writeLine(N>0)}}function increaseIndent(){Ke.increaseIndent()}function decreaseIndent(){Ke.decreaseIndent()}function writeToken(E,N,R,j){return!it?emitTokenWithSourceMap(j,E,R,N,writeTokenText):writeTokenText(E,R,N)}function writeTokenNode(N,R){if(Te){Te(N)}R(E.tokenToString(N.kind));if(we){we(N)}}function writeTokenText(N,R,j){var $=E.tokenToString(N);R($);return j<0?j:j+$.length}function writeLineOrSpace(N,R,j){if(E.getEmitFlags(N)&1){writeSpace()}else if(He){var $=getLinesBetweenNodes(N,R,j);if($){writeLine($)}else{writeSpace()}}else{writeLine()}}function writeLines(N){var R=N.split(/\r\n?|\n/g);var j=E.guessIndentation(R);for(var $=0,q=R;$<q.length;$++){var G=q[$];var ie=j?G.slice(j):G;if(ie.length){writeLine();Xe(ie)}}}function writeLinesAndIndent(E,N){if(E){increaseIndent();writeLine(E)}else if(N){writeSpace()}}function decreaseIndentIf(E,N){if(E){decreaseIndent()}if(N){decreaseIndent()}}function getLeadingLineTerminatorCount(N,R,j){if(j&2||He){if(j&65536){return 1}var $=R[0];if($===undefined){return!N||E.rangeIsOnSingleLine(N,Be)?0:1}if($.pos===Ge){return 0}if($.kind===11){return 0}if(N&&!E.positionIsSynthesized(N.pos)&&!E.nodeIsSynthesized($)&&(!$.parent||E.getOriginalNode($.parent)===E.getOriginalNode(N))){if(He){return getEffectiveLines((function(R){return E.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter($.pos,N.pos,Be,R)}))}return E.rangeStartPositionsAreOnSameLine(N,$,Be)?0:1}if(synthesizedNodeStartsOnNewLine($,j)){return 1}}return j&1?1:0}function getSeparatingLineTerminatorCount(N,R,j){if(j&2||He){if(N===undefined||R===undefined){return 0}if(R.kind===11){return 0}else if(!E.nodeIsSynthesized(N)&&!E.nodeIsSynthesized(R)){if(He&&siblingNodePositionsAreComparable(N,R)){return getEffectiveLines((function(j){return E.getLinesBetweenRangeEndAndRangeStart(N,R,Be,j)}))}else if(!He&&originalNodesHaveSameParent(N,R)){return E.rangeEndIsOnSameLineAsRangeStart(N,R,Be)?0:1}return j&65536?1:0}else if(synthesizedNodeStartsOnNewLine(N,j)||synthesizedNodeStartsOnNewLine(R,j)){return 1}}else if(E.getStartsOnNewLine(R)){return 1}return j&1?1:0}function getClosingLineTerminatorCount(N,R,j){if(j&2||He){if(j&65536){return 1}var $=E.lastOrUndefined(R);if($===undefined){return!N||E.rangeIsOnSingleLine(N,Be)?0:1}if(N&&!E.positionIsSynthesized(N.pos)&&!E.nodeIsSynthesized($)&&(!$.parent||$.parent===N)){if(He){var q=E.isNodeArray(R)&&!E.positionIsSynthesized(R.end)?R.end:$.end;return getEffectiveLines((function(R){return E.getLinesBetweenPositionAndNextNonWhitespaceCharacter(q,N.end,Be,R)}))}return E.rangeEndPositionsAreOnSameLine(N,$,Be)?0:1}if(synthesizedNodeStartsOnNewLine($,j)){return 1}}if(j&1&&!(j&131072)){return 1}return 0}function getEffectiveLines(N){E.Debug.assert(!!He);var R=N(true);if(R===0){return N(false)}return R}function writeLineSeparatorsAndIndentBefore(E,N){var R=He&&getLeadingLineTerminatorCount(N,[E],0);if(R){writeLinesAndIndent(R,false)}return!!R}function writeLineSeparatorsAfter(E,N){var R=He&&getClosingLineTerminatorCount(N,[E],0);if(R){writeLine(R)}}function synthesizedNodeStartsOnNewLine(N,R){if(E.nodeIsSynthesized(N)){var j=E.getStartsOnNewLine(N);if(j===undefined){return(R&65536)!==0}return j}return(R&65536)!==0}function getLinesBetweenNodes(N,R,j){if(E.getEmitFlags(N)&131072){return 0}N=skipSynthesizedParentheses(N);R=skipSynthesizedParentheses(R);j=skipSynthesizedParentheses(j);if(E.getStartsOnNewLine(j)){return 1}if(!E.nodeIsSynthesized(N)&&!E.nodeIsSynthesized(R)&&!E.nodeIsSynthesized(j)){if(He){return getEffectiveLines((function(N){return E.getLinesBetweenRangeEndAndRangeStart(R,j,Be,N)}))}return E.rangeEndIsOnSameLineAsRangeStart(R,j,Be)?0:1}return 0}function isEmptyBlock(N){return N.statements.length===0&&E.rangeEndIsOnSameLineAsRangeStart(N,N,Be)}function skipSynthesizedParentheses(N){while(N.kind===210&&E.nodeIsSynthesized(N)){N=N.expression}return N}function getTextOfNode(N,R){if(E.isGeneratedIdentifier(N)){return generateName(N)}else if((E.isIdentifier(N)||E.isPrivateIdentifier(N))&&(E.nodeIsSynthesized(N)||!N.parent||!Be||N.parent&&Be&&E.getSourceFileOfNode(N)!==E.getOriginalNode(Be))){return E.idText(N)}else if(N.kind===10&&N.textSourceNode){return getTextOfNode(N.textSourceNode,R)}else if(E.isLiteralExpression(N)&&(E.nodeIsSynthesized(N)||!N.parent)){return N.text}return E.getSourceTextOfNodeFromSourceFile(Be,N,R)}function getLiteralTextOfNode(R,j,$){if(R.kind===10&&R.textSourceNode){var q=R.textSourceNode;if(E.isIdentifier(q)||E.isNumericLiteral(q)){var G=E.isNumericLiteral(q)?q.text:getTextOfNode(q);return $?'"'+E.escapeJsxAttributeString(G)+'"':j||E.getEmitFlags(R)&16777216?'"'+E.escapeString(G)+'"':'"'+E.escapeNonAsciiString(G)+'"'}else{return getLiteralTextOfNode(q,j,$)}}var ie=(j?1:0)|($?2:0)|(N.terminateUnterminatedLiterals?4:0)|(N.target&&N.target===99?8:0);return E.getLiteralText(R,Be,ie)}function pushNameGenerationScope(N){if(N&&E.getEmitFlags(N)&524288){return}We.push(Je);Je=0;Ve.push(qe)}function popNameGenerationScope(N){if(N&&E.getEmitFlags(N)&524288){return}Je=We.pop();qe=Ve.pop()}function reserveNameInNestedScopes(N){if(!qe||qe===E.lastOrUndefined(Ve)){qe=new E.Set}qe.add(N)}function generateNames(N){if(!N)return;switch(N.kind){case 233:E.forEach(N.statements,generateNames);break;case 248:case 246:case 238:case 239:generateNames(N.statement);break;case 237:generateNames(N.thenStatement);generateNames(N.elseStatement);break;case 240:case 242:case 241:generateNames(N.initializer);generateNames(N.statement);break;case 247:generateNames(N.caseBlock);break;case 261:E.forEach(N.clauses,generateNames);break;case 287:case 288:E.forEach(N.statements,generateNames);break;case 250:generateNames(N.tryBlock);generateNames(N.catchClause);generateNames(N.finallyBlock);break;case 290:generateNames(N.variableDeclaration);generateNames(N.block);break;case 235:generateNames(N.declarationList);break;case 253:E.forEach(N.declarations,generateNames);break;case 252:case 162:case 201:case 255:generateNameIfNeeded(N.name);break;case 254:generateNameIfNeeded(N.name);if(E.getEmitFlags(N)&524288){E.forEach(N.parameters,generateNames);generateNames(N.body)}break;case 199:case 200:E.forEach(N.elements,generateNames);break;case 264:generateNames(N.importClause);break;case 265:generateNameIfNeeded(N.name);generateNames(N.namedBindings);break;case 266:generateNameIfNeeded(N.name);break;case 272:generateNameIfNeeded(N.name);break;case 267:E.forEach(N.elements,generateNames);break;case 268:generateNameIfNeeded(N.propertyName||N.name);break}}function generateMemberNames(E){if(!E)return;switch(E.kind){case 291:case 292:case 165:case 167:case 170:case 171:generateNameIfNeeded(E.name);break}}function generateNameIfNeeded(N){if(N){if(E.isGeneratedIdentifier(N)){generateName(N)}else if(E.isBindingPattern(N)){generateNames(N)}}}function generateName(E){if((E.autoGenerateFlags&7)===4){return generateNameCached(getNodeForGeneratedName(E),E.autoGenerateFlags)}else{var N=E.autoGenerateId;return Ue[N]||(Ue[N]=makeName(E))}}function generateNameCached(N,R){var j=E.getNodeId(N);return je[j]||(je[j]=generateNameForNode(N,R))}function isUniqueName(E){return isFileLevelUniqueName(E)&&!ze.has(E)&&!(qe&&qe.has(E))}function isFileLevelUniqueName(N){return Be?E.isFileLevelUniqueName(Be,N,j):true}function isUniqueLocalName(N,R){for(var j=R;E.isNodeDescendantOf(j,R);j=j.nextContainer){if(j.locals){var $=j.locals.get(E.escapeLeadingUnderscores(N));if($&&$.flags&(111551|1048576|2097152)){return false}}}return true}function makeTempVariableName(E,N){if(E&&!(Je&E)){var R=E===268435456?"_i":"_n";if(isUniqueName(R)){Je|=E;if(N){reserveNameInNestedScopes(R)}return R}}while(true){var j=Je&268435455;Je++;if(j!==8&&j!==13){var R=j<26?"_"+String.fromCharCode(97+j):"_"+(j-26);if(isUniqueName(R)){if(N){reserveNameInNestedScopes(R)}return R}}}}function makeUniqueName(E,N,R,j){if(N===void 0){N=isUniqueName}if(R){if(N(E)){if(j){reserveNameInNestedScopes(E)}else{ze.add(E)}return E}}if(E.charCodeAt(E.length-1)!==95){E+="_"}var $=1;while(true){var q=E+$;if(N(q)){if(j){reserveNameInNestedScopes(q)}else{ze.add(q)}return q}$++}}function makeFileLevelOptimisticUniqueName(E){return makeUniqueName(E,isFileLevelUniqueName,true)}function generateNameForModuleOrEnum(E){var N=getTextOfNode(E.name);return isUniqueLocalName(N,E)?N:makeUniqueName(N)}function generateNameForImportOrExportDeclaration(N){var R=E.getExternalModuleName(N);var j=E.isStringLiteral(R)?E.makeIdentifierFromModuleName(R.text):"module";return makeUniqueName(j)}function generateNameForExportDefault(){return makeUniqueName("default")}function generateNameForClassExpression(){return makeUniqueName("class")}function generateNameForMethodOrAccessor(N){if(E.isIdentifier(N.name)){return generateNameCached(N.name)}return makeTempVariableName(0)}function generateNameForNode(E,N){switch(E.kind){case 79:return makeUniqueName(getTextOfNode(E),isUniqueName,!!(N&16),!!(N&8));case 259:case 258:return generateNameForModuleOrEnum(E);case 264:case 270:return generateNameForImportOrExportDeclaration(E);case 254:case 255:case 269:return generateNameForExportDefault();case 224:return generateNameForClassExpression();case 167:case 170:case 171:return generateNameForMethodOrAccessor(E);case 160:return makeTempVariableName(0,true);default:return makeTempVariableName(0)}}function makeName(N){switch(N.autoGenerateFlags&7){case 1:return makeTempVariableName(0,!!(N.autoGenerateFlags&8));case 2:return makeTempVariableName(268435456,!!(N.autoGenerateFlags&8));case 3:return makeUniqueName(E.idText(N),N.autoGenerateFlags&32?isFileLevelUniqueName:isUniqueName,!!(N.autoGenerateFlags&16),!!(N.autoGenerateFlags&8))}return E.Debug.fail("Unsupported GeneratedIdentifierKind.")}function getNodeForGeneratedName(N){var R=N.autoGenerateId;var j=N;var $=j.original;while($){j=$;if(E.isIdentifier(j)&&!!(j.autoGenerateFlags&4)&&j.autoGenerateId!==R){break}$=j.original}return j}function pipelineEmitWithComments(E,N){var R=getNextPipelinePhase(2,E,N);var j=pt;var $=ft;var q=mt;emitCommentsBeforeNode(N);R(E,N);emitCommentsAfterNode(N,j,$,q)}function emitCommentsBeforeNode(N){var R=E.getEmitFlags(N);var j=E.getCommentRange(N);emitLeadingCommentsOfNode(N,R,j.pos,j.end);if(R&2048){vt=true}}function emitCommentsAfterNode(N,R,j,$){var q=E.getEmitFlags(N);var G=E.getCommentRange(N);if(q&2048){vt=false}emitTrailingCommentsOfNode(N,q,G.pos,G.end,R,j,$)}function emitLeadingCommentsOfNode(N,R,j,$){Et();yt=false;var q=j<0||(R&512)!==0||N.kind===11;var G=$<0||(R&1024)!==0||N.kind===11;if((j>0||$>0)&&j!==$){if(!q){emitLeadingComments(j,N.kind!==344)}if(!q||j>=0&&(R&512)!==0){pt=j}if(!G||$>=0&&(R&1024)!==0){ft=$;if(N.kind===253){mt=$}}}E.forEach(E.getSyntheticLeadingComments(N),emitLeadingSynthesizedComment);Tt()}function emitTrailingCommentsOfNode(N,R,j,$,q,G,ie){Et();var ae=$<0||(R&1024)!==0||N.kind===11;E.forEach(E.getSyntheticTrailingComments(N),emitTrailingSynthesizedComment);if((j>0||$>0)&&j!==$){pt=q;ft=G;mt=ie;if(!ae&&N.kind!==344){emitTrailingComments($)}}Tt()}function emitLeadingSynthesizedComment(E){if(E.hasLeadingNewline||E.kind===2){Ke.writeLine()}writeSynthesizedComment(E);if(E.hasTrailingNewLine||E.kind===2){Ke.writeLine()}else{Ke.writeSpace(" ")}}function emitTrailingSynthesizedComment(E){if(!Ke.isAtStartOfLine()){Ke.writeSpace(" ")}writeSynthesizedComment(E);if(E.hasTrailingNewLine){Ke.writeLine()}}function writeSynthesizedComment(N){var R=formatSynthesizedComment(N);var j=N.kind===3?E.computeLineStarts(R):undefined;E.writeCommentRange(R,j,Ke,0,R.length,Ne)}function formatSynthesizedComment(E){return E.kind===3?"/*"+E.text+"*/":"//"+E.text}function emitBodyWithDetachedComments(N,R,j){Et();var $=R.pos,q=R.end;var G=E.getEmitFlags(N);var ie=$<0||(G&512)!==0;var ae=vt||q<0||(G&1024)!==0;if(!ie){emitDetachedCommentsAndUpdateCommentsInfo(R)}Tt();if(G&2048&&!vt){vt=true;j(N);vt=false}else{j(N)}Et();if(!ae){emitLeadingComments(R.end,true);if(yt&&!Ke.isAtStartOfLine()){Ke.writeLine()}}Tt()}function originalNodesHaveSameParent(N,R){N=E.getOriginalNode(N);return N.parent&&N.parent===E.getOriginalNode(R).parent}function siblingNodePositionsAreComparable(N,R){if(R.pos<N.end){return false}N=E.getOriginalNode(N);R=E.getOriginalNode(R);var j=N.parent;if(!j||j!==R.parent){return false}var $=E.getContainingNodeArray(N);var q=$===null||$===void 0?void 0:$.indexOf(N);return q!==undefined&&q>-1&&$.indexOf(R)===q+1}function emitLeadingComments(E,N){yt=false;if(N){if(E===0&&(Be===null||Be===void 0?void 0:Be.isDeclarationFile)){forEachLeadingCommentToEmit(E,emitNonTripleSlashLeadingComment)}else{forEachLeadingCommentToEmit(E,emitLeadingComment)}}else if(E===0){forEachLeadingCommentToEmit(E,emitTripleSlashLeadingComment)}}function emitTripleSlashLeadingComment(E,N,R,j,$){if(isTripleSlashComment(E,N)){emitLeadingComment(E,N,R,j,$)}}function emitNonTripleSlashLeadingComment(E,N,R,j,$){if(!isTripleSlashComment(E,N)){emitLeadingComment(E,N,R,j,$)}}function shouldWriteComment(R,j){if(N.onlyPrintJsDocStyle){return E.isJSDocLikeText(R,j)||E.isPinnedComment(R,j)}return true}function emitLeadingComment(N,R,j,$,q){if(!shouldWriteComment(Be.text,N))return;if(!yt){E.emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(),Ke,q,N);yt=true}emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}else if(j===3){Ke.writeSpace(" ")}}function emitLeadingCommentsOfPosition(E){if(vt||E===-1){return}emitLeadingComments(E,true)}function emitTrailingComments(E){forEachTrailingCommentToEmit(E,emitTrailingComment)}function emitTrailingComment(N,R,j,$){if(!shouldWriteComment(Be.text,N))return;if(!Ke.isAtStartOfLine()){Ke.writeSpace(" ")}emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}}function emitTrailingCommentsOfPosition(E,N,R){if(vt){return}Et();forEachTrailingCommentToEmit(E,N?emitTrailingComment:R?emitTrailingCommentOfPositionNoNewline:emitTrailingCommentOfPosition);Tt()}function emitTrailingCommentOfPositionNoNewline(N,R,j){emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if(j===2){Ke.writeLine()}}function emitTrailingCommentOfPosition(N,R,j,$){emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}else{Ke.writeSpace(" ")}}function forEachLeadingCommentToEmit(N,R){if(Be&&(pt===-1||N!==pt)){if(hasDetachedComments(N)){forEachLeadingCommentWithoutDetachedComments(R)}else{E.forEachLeadingCommentRange(Be.text,N,R,N)}}}function forEachTrailingCommentToEmit(N,R){if(Be&&(ft===-1||N!==ft&&N!==mt)){E.forEachTrailingCommentRange(Be.text,N,R)}}function hasDetachedComments(N){return _t!==undefined&&E.last(_t).nodePos===N}function forEachLeadingCommentWithoutDetachedComments(N){var R=E.last(_t).detachedCommentEndPos;if(_t.length-1){_t.pop()}else{_t=undefined}E.forEachLeadingCommentRange(Be.text,R,N,R)}function emitDetachedCommentsAndUpdateCommentsInfo(N){var R=E.emitDetachedComments(Be.text,getCurrentLineMap(),Ke,emitComment,N,Ne,vt);if(R){if(_t){_t.push(R)}else{_t=[R]}}}function emitComment(N,R,j,$,q,G){if(!shouldWriteComment(Be.text,$))return;emitPos($);E.writeCommentRange(N,R,j,$,q,G);emitPos(q)}function isTripleSlashComment(N,R){return E.isRecognizedTripleSlashComment(Be.text,N,R)}function getParsedSourceMap(N){if(N.parsedSourceMap===undefined&&N.sourceMapText!==undefined){N.parsedSourceMap=E.tryParseRawSourceMap(N.sourceMapText)||false}return N.parsedSourceMap||undefined}function pipelineEmitWithSourceMaps(E,N){var R=getNextPipelinePhase(3,E,N);emitSourceMapsBeforeNode(N);R(E,N);emitSourceMapsAfterNode(N)}function emitSourceMapsBeforeNode(N){var R=E.getEmitFlags(N);var j=E.getSourceMapRange(N);if(E.isUnparsedNode(N)){E.Debug.assertIsDefined(N.parent,"UnparsedNodes must have parent pointers");var $=getParsedSourceMap(N.parent);if($&&ot){ot.appendSourceMap(Ke.getLine(),Ke.getColumn(),$,N.parent.sourceMapPath,N.parent.getLineAndCharacterOfPosition(N.pos),N.parent.getLineAndCharacterOfPosition(N.end))}}else{var q=j.source||st;if(N.kind!==344&&(R&16)===0&&j.pos>=0){emitSourcePos(j.source||st,skipSourceTrivia(q,j.pos))}if(R&64){it=true}}}function emitSourceMapsAfterNode(N){var R=E.getEmitFlags(N);var j=E.getSourceMapRange(N);if(!E.isUnparsedNode(N)){if(R&64){it=false}if(N.kind!==344&&(R&32)===0&&j.end>=0){emitSourcePos(j.source||st,j.end)}}}function skipSourceTrivia(N,R){return N.skipTrivia?N.skipTrivia(R):E.skipTrivia(N.text,R)}function emitPos(N){if(it||E.positionIsSynthesized(N)||isJsonSourceMapSource(st)){return}var R=E.getLineAndCharacterOfPosition(st,N),j=R.line,$=R.character;ot.addMapping(Ke.getLine(),Ke.getColumn(),ct,j,$,undefined)}function emitSourcePos(E,N){if(E!==st){var R=st;var j=ct;setSourceMapSource(E);emitPos(N);resetSourceMapSource(R,j)}else{emitPos(N)}}function emitTokenWithSourceMap(N,R,j,$,q){if(it||N&&E.isInJsonFile(N)){return q(R,j,$)}var G=N&&N.emitNode;var ie=G&&G.flags||0;var ae=G&&G.tokenSourceMapRanges&&G.tokenSourceMapRanges[R];var ce=ae&&ae.source||st;$=skipSourceTrivia(ce,ae?ae.pos:$);if((ie&128)===0&&$>=0){emitSourcePos(ce,$)}$=q(R,j,$);if(ae)$=ae.end;if((ie&256)===0&&$>=0){emitSourcePos(ce,$)}return $}function setSourceMapSource(E){if(it){return}st=E;if(E===ut){ct=dt;return}if(isJsonSourceMapSource(E)){return}ct=ot.addSource(E.fileName);if(N.inlineSources){ot.setSourceContent(ct,E.text)}ut=E;dt=ct}function resetSourceMapSource(E,N){st=E;ct=N}function isJsonSourceMapSource(N){return E.fileExtensionIs(N.fileName,".json")}}E.createPrinter=createPrinter;function createBracketsMap(){var E=[];E[1024]=["{","}"];E[2048]=["(",")"];E[4096]=["<",">"];E[8192]=["[","]"];return E}function getOpeningBracket(E){return N[E&15360][0]}function getClosingBracket(E){return N[E&15360][1]}var $;(function(E){E[E["Auto"]=0]="Auto";E[E["CountMask"]=268435455]="CountMask";E[E["_i"]=268435456]="_i"})($||($={}))})(ce||(ce={}));var ce;(function(E){function createCachedDirectoryStructureHost(N,R,j){if(!N.getDirectories||!N.readDirectory){return undefined}var $=new E.Map;var q=E.createGetCanonicalFileName(j);return{useCaseSensitiveFileNames:j,fileExists:fileExists,readFile:function(E,R){return N.readFile(E,R)},directoryExists:N.directoryExists&&directoryExists,getDirectories:getDirectories,readDirectory:readDirectory,createDirectory:N.createDirectory&&createDirectory,writeFile:N.writeFile&&writeFile,addOrDeleteFileOrDirectory:addOrDeleteFileOrDirectory,addOrDeleteFile:addOrDeleteFile,clearCache:clearCache,realpath:N.realpath&&realpath};function toPath(N){return E.toPath(N,R,q)}function getCachedFileSystemEntries(N){return $.get(E.ensureTrailingDirectorySeparator(N))}function getCachedFileSystemEntriesForBaseDir(N){return getCachedFileSystemEntries(E.getDirectoryPath(N))}function getBaseNameOfFileName(N){return E.getBaseFileName(E.normalizePath(N))}function createCachedFileSystemEntries(R,j){var q;if(!N.realpath||E.ensureTrailingDirectorySeparator(toPath(N.realpath(R)))===j){var G={files:E.map(N.readDirectory(R,undefined,undefined,["*.*"]),getBaseNameOfFileName)||[],directories:N.getDirectories(R)||[]};$.set(E.ensureTrailingDirectorySeparator(j),G);return G}if((q=N.directoryExists)===null||q===void 0?void 0:q.call(N,R)){$.set(j,false);return false}return undefined}function tryReadDirectory(N,R){R=E.ensureTrailingDirectorySeparator(R);var j=getCachedFileSystemEntries(R);if(j){return j}try{return createCachedFileSystemEntries(N,R)}catch(N){E.Debug.assert(!$.has(E.ensureTrailingDirectorySeparator(R)));return undefined}}function fileNameEqual(E,N){return q(E)===q(N)}function hasEntry(N,R){return E.some(N,(function(E){return fileNameEqual(E,R)}))}function updateFileSystemEntry(N,R,j){if(hasEntry(N,R)){if(!j){return E.filterMutate(N,(function(E){return!fileNameEqual(E,R)}))}}else if(j){return N.push(R)}}function writeFile(E,R,j){var $=toPath(E);var q=getCachedFileSystemEntriesForBaseDir($);if(q){updateFilesOfFileSystemEntry(q,getBaseNameOfFileName(E),true)}return N.writeFile(E,R,j)}function fileExists(E){var R=toPath(E);var j=getCachedFileSystemEntriesForBaseDir(R);return j&&hasEntry(j.files,getBaseNameOfFileName(E))||N.fileExists(E)}function directoryExists(R){var j=toPath(R);return $.has(E.ensureTrailingDirectorySeparator(j))||N.directoryExists(R)}function createDirectory(E){var R=toPath(E);var j=getCachedFileSystemEntriesForBaseDir(R);var $=getBaseNameOfFileName(E);if(j){updateFileSystemEntry(j.directories,$,true)}N.createDirectory(E)}function getDirectories(E){var R=toPath(E);var j=tryReadDirectory(E,R);if(j){return j.directories.slice()}return N.getDirectories(E)}function readDirectory($,q,G,ie,ae){var ce=toPath($);var le=tryReadDirectory($,ce);var _e;if(le!==undefined){return E.matchFiles($,q,G,ie,j,R,ae,getFileSystemEntries,realpath,directoryExists)}return N.readDirectory($,q,G,ie,ae);function getFileSystemEntries(N){var R=toPath(N);if(R===ce){return le||getFileSystemEntriesFromHost(N,R)}var j=tryReadDirectory(N,R);return j!==undefined?j||getFileSystemEntriesFromHost(N,R):E.emptyFileSystemEntries}function getFileSystemEntriesFromHost(R,j){if(_e&&j===ce)return _e;var $={files:E.map(N.readDirectory(R,undefined,undefined,["*.*"]),getBaseNameOfFileName)||E.emptyArray,directories:N.getDirectories(R)||E.emptyArray};if(j===ce)_e=$;return $}}function realpath(E){return N.realpath?N.realpath(E):E}function addOrDeleteFileOrDirectory(E,R){var j=getCachedFileSystemEntries(R);if(j!==undefined){clearCache();return undefined}var $=getCachedFileSystemEntriesForBaseDir(R);if(!$){return undefined}if(!N.directoryExists){clearCache();return undefined}var q=getBaseNameOfFileName(E);var G={fileExists:N.fileExists(R),directoryExists:N.directoryExists(R)};if(G.directoryExists||hasEntry($.directories,q)){clearCache()}else{updateFilesOfFileSystemEntry($,q,G.fileExists)}return G}function addOrDeleteFile(N,R,j){if(j===E.FileWatcherEventKind.Changed){return}var $=getCachedFileSystemEntriesForBaseDir(R);if($){updateFilesOfFileSystemEntry($,getBaseNameOfFileName(N),j===E.FileWatcherEventKind.Created)}}function updateFilesOfFileSystemEntry(E,N,R){updateFileSystemEntry(E.files,N,R)}function clearCache(){$.clear()}}E.createCachedDirectoryStructureHost=createCachedDirectoryStructureHost;var N;(function(E){E[E["None"]=0]="None";E[E["Partial"]=1]="Partial";E[E["Full"]=2]="Full"})(N=E.ConfigFileProgramReloadLevel||(E.ConfigFileProgramReloadLevel={}));function updateSharedExtendedConfigFileWatcher(N,R,j,$,q){var G;var ie=E.arrayToMap(((G=R===null||R===void 0?void 0:R.configFile)===null||G===void 0?void 0:G.extendedSourceFiles)||E.emptyArray,q);j.forEach((function(E,R){if(!ie.has(R)){E.projects.delete(N);E.close()}}));ie.forEach((function(R,q){var G=j.get(q);if(G){G.projects.add(N)}else{j.set(q,{projects:new E.Set([N]),watcher:$(R,q),close:function(){var E=j.get(q);if(!E||E.projects.size!==0)return;E.watcher.close();j.delete(q)}})}}))}E.updateSharedExtendedConfigFileWatcher=updateSharedExtendedConfigFileWatcher;function clearSharedExtendedConfigFileWatcher(E,N){N.forEach((function(N){if(N.projects.delete(E))N.close()}))}E.clearSharedExtendedConfigFileWatcher=clearSharedExtendedConfigFileWatcher;function cleanExtendedConfigCache(E,N,R){if(!E.delete(N))return;E.forEach((function(j,$){var q;var G=j.extendedResult;if((q=G.extendedSourceFiles)===null||q===void 0?void 0:q.some((function(E){return R(E)===N}))){cleanExtendedConfigCache(E,$,R)}}))}E.cleanExtendedConfigCache=cleanExtendedConfigCache;function updatePackageJsonWatch(N,R,j){var $=new E.Map(N);E.mutateMap(R,$,{createNewValue:j,onDeleteValue:E.closeFileWatcher})}E.updatePackageJsonWatch=updatePackageJsonWatch;function updateMissingFilePathsWatch(N,R,j){var $=N.getMissingFilePaths();var q=E.arrayToMap($,E.identity,E.returnTrue);E.mutateMap(R,q,{createNewValue:j,onDeleteValue:E.closeFileWatcher})}E.updateMissingFilePathsWatch=updateMissingFilePathsWatch;function updateWatchingWildcardDirectories(N,R,j){E.mutateMap(N,R,{createNewValue:createWildcardDirectoryWatcher,onDeleteValue:closeFileWatcherOf,onExistingValue:updateWildcardDirectoryWatcher});function createWildcardDirectoryWatcher(E,N){return{watcher:j(E,N),flags:N}}function updateWildcardDirectoryWatcher(E,R,j){if(E.flags===R){return}E.watcher.close();N.set(j,createWildcardDirectoryWatcher(j,R))}}E.updateWatchingWildcardDirectories=updateWatchingWildcardDirectories;function isIgnoredFileFromWildCardWatching(N){var R=N.watchedDirPath,j=N.fileOrDirectory,$=N.fileOrDirectoryPath,q=N.configFileName,G=N.options,ie=N.program,ae=N.extraFileExtensions,ce=N.currentDirectory,le=N.useCaseSensitiveFileNames,_e=N.writeLog,Ee=N.toPath;var Te=E.removeIgnoredPath($);if(!Te){_e("Project: "+q+" Detected ignored path: "+j);return true}$=Te;if($===R)return false;if(E.hasExtension($)&&!E.isSupportedSourceFileName(j,G,ae)){_e("Project: "+q+" Detected file add/remove of non supported extension: "+j);return true}if(E.isExcludedFile(j,G.configFile.configFileSpecs,E.getNormalizedAbsolutePath(E.getDirectoryPath(q),ce),le,ce)){_e("Project: "+q+" Detected excluded file: "+j);return true}if(!ie)return false;if(E.outFile(G)||G.outDir)return false;if(E.fileExtensionIs($,".d.ts")){if(G.declarationDir)return false}else if(!E.fileExtensionIsOneOf($,E.supportedJSExtensions)){return false}var we=E.removeFileExtension($);var Ie=E.isArray(ie)?undefined:isBuilderProgram(ie)?ie.getProgramOrUndefined():ie;var Ne=!Ie&&!E.isArray(ie)?ie:undefined;if(hasSourceFile(we+".ts")||hasSourceFile(we+".tsx")){_e("Project: "+q+" Detected output file: "+j);return true}return false;function hasSourceFile(N){return Ie?!!Ie.getSourceFileByPath(N):Ne?Ne.getState().fileInfos.has(N):!!E.find(ie,(function(E){return Ee(E)===N}))}}E.isIgnoredFileFromWildCardWatching=isIgnoredFileFromWildCardWatching;function isBuilderProgram(E){return!!E.getState}function isEmittedFileOfProgram(E,N){if(!E){return false}return E.isEmittedFile(N)}E.isEmittedFileOfProgram=isEmittedFileOfProgram;var R;(function(E){E[E["None"]=0]="None";E[E["TriggerOnly"]=1]="TriggerOnly";E[E["Verbose"]=2]="Verbose"})(R=E.WatchLogLevel||(E.WatchLogLevel={}));function getWatchFactory(N,$,q,G){E.setSysLog($===R.Verbose?q:E.noop);var ie={watchFile:function(E,R,j,$){return N.watchFile(E,R,j,$)},watchDirectory:function(E,R,j,$){return N.watchDirectory(E,R,(j&1)!==0,$)}};var ae=$!==R.None?{watchFile:createTriggerLoggingAddWatch("watchFile"),watchDirectory:createTriggerLoggingAddWatch("watchDirectory")}:undefined;var ce=$===R.Verbose?{watchFile:createFileWatcherWithLogging,watchDirectory:createDirectoryWatcherWithLogging}:ae||ie;var le=$===R.Verbose?createExcludeWatcherWithLogging:E.returnNoopFileWatcher;return{watchFile:createExcludeHandlingAddWatch("watchFile"),watchDirectory:createExcludeHandlingAddWatch("watchDirectory")};function createExcludeHandlingAddWatch(R){return function(j,$,q,G,ie,ae){var _e;return!E.matchesExclude(j,R==="watchFile"?G===null||G===void 0?void 0:G.excludeFiles:G===null||G===void 0?void 0:G.excludeDirectories,useCaseSensitiveFileNames(),((_e=N.getCurrentDirectory)===null||_e===void 0?void 0:_e.call(N))||"")?ce[R].call(undefined,j,$,q,G,ie,ae):le(j,q,G,ie,ae)}}function useCaseSensitiveFileNames(){return typeof N.useCaseSensitiveFileNames==="boolean"?N.useCaseSensitiveFileNames:N.useCaseSensitiveFileNames()}function createExcludeWatcherWithLogging(E,N,R,j,$){q("ExcludeWatcher:: Added:: "+getWatchInfo(E,N,R,j,$,G));return{close:function(){return q("ExcludeWatcher:: Close:: "+getWatchInfo(E,N,R,j,$,G))}}}function createFileWatcherWithLogging(E,N,R,j,$,ie){q("FileWatcher:: Added:: "+getWatchInfo(E,R,j,$,ie,G));var ce=ae.watchFile(E,N,R,j,$,ie);return{close:function(){q("FileWatcher:: Close:: "+getWatchInfo(E,R,j,$,ie,G));ce.close()}}}function createDirectoryWatcherWithLogging(N,R,j,$,ie,ce){var le="DirectoryWatcher:: Added:: "+getWatchInfo(N,j,$,ie,ce,G);q(le);var _e=E.timestamp();var Ee=ae.watchDirectory(N,R,j,$,ie,ce);var Te=E.timestamp()-_e;q("Elapsed:: "+Te+"ms "+le);return{close:function(){var R="DirectoryWatcher:: Close:: "+getWatchInfo(N,j,$,ie,ce,G);q(R);var ae=E.timestamp();Ee.close();var le=E.timestamp()-ae;q("Elapsed:: "+le+"ms "+R)}}}function createTriggerLoggingAddWatch(N){return function(R,$,ae,ce,le,_e){return ie[N].call(undefined,R,(function(){var ie=[];for(var Ee=0;Ee<arguments.length;Ee++){ie[Ee]=arguments[Ee]}var Te=(N==="watchFile"?"FileWatcher":"DirectoryWatcher")+":: Triggered with "+ie[0]+" "+(ie[1]!==undefined?ie[1]:"")+":: "+getWatchInfo(R,ae,ce,le,_e,G);q(Te);var we=E.timestamp();$.call.apply($,j([undefined],ie,false));var Ie=E.timestamp()-we;q("Elapsed:: "+Ie+"ms "+Te)}),ae,ce,le,_e)}}function getWatchInfo(E,N,R,j,$,q){return"WatchInfo: "+E+" "+N+" "+JSON.stringify(R)+" "+(q?q(j,$):$===undefined?j:j+" "+$)}}E.getWatchFactory=getWatchFactory;function getFallbackOptions(N){var R=N===null||N===void 0?void 0:N.fallbackPolling;return{watchFile:R!==undefined?R:E.WatchFileKind.PriorityPollingInterval}}E.getFallbackOptions=getFallbackOptions;function closeFileWatcherOf(E){E.watcher.close()}E.closeFileWatcherOf=closeFileWatcherOf})(ce||(ce={}));var ce;(function(E){function findConfigFile(N,R,j){if(j===void 0){j="tsconfig.json"}return E.forEachAncestorDirectory(N,(function(N){var $=E.combinePaths(N,j);return R($)?$:undefined}))}E.findConfigFile=findConfigFile;function resolveTripleslashReference(N,R){var j=E.getDirectoryPath(R);var $=E.isRootedDiskPath(N)?N:E.combinePaths(j,N);return E.normalizePath($)}E.resolveTripleslashReference=resolveTripleslashReference;function computeCommonSourceDirectoryOfFilenames(N,R,j){var $;var q=E.forEach(N,(function(N){var q=E.getNormalizedPathComponents(N,R);q.pop();if(!$){$=q;return}var G=Math.min($.length,q.length);for(var ie=0;ie<G;ie++){if(j($[ie])!==j(q[ie])){if(ie===0){return true}$.length=ie;break}}if(q.length<$.length){$.length=q.length}}));if(q){return""}if(!$){return R}return E.getPathFromPathComponents($)}E.computeCommonSourceDirectoryOfFilenames=computeCommonSourceDirectoryOfFilenames;function createCompilerHost(E,N){return createCompilerHostWorker(E,N)}E.createCompilerHost=createCompilerHost;function createCompilerHostWorker(N,R,j){if(j===void 0){j=E.sys}var $=new E.Map;var q=E.createGetCanonicalFileName(j.useCaseSensitiveFileNames);var G=E.maybeBind(j,j.createHash)||E.generateDjb2Hash;function getSourceFile(N,j,$){var q;try{E.performance.mark("beforeIORead");q=le.readFile(N);E.performance.mark("afterIORead");E.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(E){if($){$(E.message)}q=""}return q!==undefined?E.createSourceFile(N,q,j,R):undefined}function directoryExists(E){if($.has(E)){return true}if((le.directoryExists||j.directoryExists)(E)){$.set(E,true);return true}return false}function writeFile(N,R,$,q){try{E.performance.mark("beforeIOWrite");E.writeFileEnsuringDirectories(N,R,$,(function(E,N,R){return writeFileWorker(E,N,R)}),(function(E){return(le.createDirectory||j.createDirectory)(E)}),(function(E){return directoryExists(E)}));E.performance.mark("afterIOWrite");E.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(E){if(q){q(E.message)}}}var ie;function writeFileWorker(R,$,q){if(!E.isWatchSet(N)||!j.getModifiedTime){j.writeFile(R,$,q);return}if(!ie){ie=new E.Map}var ae=G($);var ce=j.getModifiedTime(R);if(ce){var le=ie.get(R);if(le&&le.byteOrderMark===q&&le.hash===ae&&le.mtime.getTime()===ce.getTime()){return}}j.writeFile(R,$,q);var _e=j.getModifiedTime(R)||E.missingFileModifiedTime;ie.set(R,{hash:ae,byteOrderMark:q,mtime:_e})}function getDefaultLibLocation(){return E.getDirectoryPath(E.normalizePath(j.getExecutingFilePath()))}var ae=E.getNewLineCharacter(N,(function(){return j.newLine}));var ce=j.realpath&&function(E){return j.realpath(E)};var le={getSourceFile:getSourceFile,getDefaultLibLocation:getDefaultLibLocation,getDefaultLibFileName:function(N){return E.combinePaths(getDefaultLibLocation(),E.getDefaultLibFileName(N))},writeFile:writeFile,getCurrentDirectory:E.memoize((function(){return j.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return j.useCaseSensitiveFileNames},getCanonicalFileName:q,getNewLine:function(){return ae},fileExists:function(E){return j.fileExists(E)},readFile:function(E){return j.readFile(E)},trace:function(E){return j.write(E+ae)},directoryExists:function(E){return j.directoryExists(E)},getEnvironmentVariable:function(E){return j.getEnvironmentVariable?j.getEnvironmentVariable(E):""},getDirectories:function(E){return j.getDirectories(E)},realpath:ce,readDirectory:function(E,N,R,$,q){return j.readDirectory(E,N,R,$,q)},createDirectory:function(E){return j.createDirectory(E)},createHash:E.maybeBind(j,j.createHash)};return le}E.createCompilerHostWorker=createCompilerHostWorker;function changeCompilerHostLikeToUseCache(N,R,j){var $=N.readFile;var q=N.fileExists;var G=N.directoryExists;var ie=N.createDirectory;var ae=N.writeFile;var ce=new E.Map;var le=new E.Map;var _e=new E.Map;var Ee=new E.Map;var readFileWithCache=function(E){var N=R(E);var j=ce.get(N);if(j!==undefined)return j!==false?j:undefined;return setReadFileCache(N,E)};var setReadFileCache=function(E,R){var j=$.call(N,R);ce.set(E,j!==undefined?j:false);return j};N.readFile=function(j){var q=R(j);var G=ce.get(q);if(G!==undefined)return G!==false?G:undefined;if(!E.fileExtensionIs(j,".json")&&!E.isBuildInfoFile(j)){return $.call(N,j)}return setReadFileCache(q,j)};var Te=j?function(N,$,q,G){var ie=R(N);var ae=Ee.get(ie);if(ae)return ae;var ce=j(N,$,q,G);if(ce&&(E.isDeclarationFileName(N)||E.fileExtensionIs(N,".json"))){Ee.set(ie,ce)}return ce}:undefined;N.fileExists=function(E){var j=R(E);var $=le.get(j);if($!==undefined)return $;var G=q.call(N,E);le.set(j,!!G);return G};if(ae){N.writeFile=function(E,j,$,q,G){var ie=R(E);le.delete(ie);var _e=ce.get(ie);if(_e!==undefined&&_e!==j){ce.delete(ie);Ee.delete(ie)}else if(Te){var we=Ee.get(ie);if(we&&we.text!==j){Ee.delete(ie)}}ae.call(N,E,j,$,q,G)}}if(G&&ie){N.directoryExists=function(E){var j=R(E);var $=_e.get(j);if($!==undefined)return $;var q=G.call(N,E);_e.set(j,!!q);return q};N.createDirectory=function(E){var j=R(E);_e.delete(j);ie.call(N,E)}}return{originalReadFile:$,originalFileExists:q,originalDirectoryExists:G,originalCreateDirectory:ie,originalWriteFile:ae,getSourceFileWithCache:Te,readFileWithCache:readFileWithCache}}E.changeCompilerHostLikeToUseCache=changeCompilerHostLikeToUseCache;function getPreEmitDiagnostics(N,R,j){var $;$=E.addRange($,N.getConfigFileParsingDiagnostics());$=E.addRange($,N.getOptionsDiagnostics(j));$=E.addRange($,N.getSyntacticDiagnostics(R,j));$=E.addRange($,N.getGlobalDiagnostics(j));$=E.addRange($,N.getSemanticDiagnostics(R,j));if(E.getEmitDeclarations(N.getCompilerOptions())){$=E.addRange($,N.getDeclarationDiagnostics(R,j))}return E.sortAndDeduplicateDiagnostics($||E.emptyArray)}E.getPreEmitDiagnostics=getPreEmitDiagnostics;function formatDiagnostics(E,N){var R="";for(var j=0,$=E;j<$.length;j++){var q=$[j];R+=formatDiagnostic(q,N)}return R}E.formatDiagnostics=formatDiagnostics;function formatDiagnostic(N,R){var j=E.diagnosticCategoryName(N)+" TS"+N.code+": "+flattenDiagnosticMessageText(N.messageText,R.getNewLine())+R.getNewLine();if(N.file){var $=E.getLineAndCharacterOfPosition(N.file,N.start),q=$.line,G=$.character;var ie=N.file.fileName;var ae=E.convertToRelativePath(ie,R.getCurrentDirectory(),(function(E){return R.getCanonicalFileName(E)}));return ae+"("+(q+1)+","+(G+1)+"): "+j}return j}E.formatDiagnostic=formatDiagnostic;var N;(function(E){E["Grey"]="";E["Red"]="";E["Yellow"]="";E["Blue"]="";E["Cyan"]=""})(N=E.ForegroundColorEscapeSequences||(E.ForegroundColorEscapeSequences={}));var R="";var $=" ";var q="";var G="...";var ie=" ";var ae=" ";function getCategoryFormat(R){switch(R){case E.DiagnosticCategory.Error:return N.Red;case E.DiagnosticCategory.Warning:return N.Yellow;case E.DiagnosticCategory.Suggestion:return E.Debug.fail("Should never get an Info diagnostic on the command line.");case E.DiagnosticCategory.Message:return N.Blue}}function formatColorAndReset(E,N){return N+E+q}E.formatColorAndReset=formatColorAndReset;function formatCodeSpan(N,j,ie,ae,ce,le){var _e=E.getLineAndCharacterOfPosition(N,j),Ee=_e.line,Te=_e.character;var we=E.getLineAndCharacterOfPosition(N,j+ie),Ie=we.line,Ne=we.character;var Me=E.getLineAndCharacterOfPosition(N,N.text.length).line;var Le=Ie-Ee>=4;var Be=(Ie+1+"").length;if(Le){Be=Math.max(G.length,Be)}var je="";for(var Ue=Ee;Ue<=Ie;Ue++){je+=le.getNewLine();if(Le&&Ee+1<Ue&&Ue<Ie-1){je+=ae+formatColorAndReset(E.padLeft(G,Be),R)+$+le.getNewLine();Ue=Ie-1}var ze=E.getPositionOfLineAndCharacter(N,Ue,0);var We=Ue<Me?E.getPositionOfLineAndCharacter(N,Ue+1,0):N.text.length;var Je=N.text.slice(ze,We);Je=E.trimStringEnd(Je);Je=Je.replace(/\t/g," ");je+=ae+formatColorAndReset(E.padLeft(Ue+1+"",Be),R)+$;je+=Je+le.getNewLine();je+=ae+formatColorAndReset(E.padLeft("",Be),R)+$;je+=ce;if(Ue===Ee){var Ve=Ue===Ie?Ne:undefined;je+=Je.slice(0,Te).replace(/\S/g," ");je+=Je.slice(Te,Ve).replace(/./g,"~")}else if(Ue===Ie){je+=Je.slice(0,Ne).replace(/./g,"~")}else{je+=Je.replace(/./g,"~")}je+=q}return je}function formatLocation(R,j,$,q){if(q===void 0){q=formatColorAndReset}var G=E.getLineAndCharacterOfPosition(R,j),ie=G.line,ae=G.character;var ce=$?E.convertToRelativePath(R.fileName,$.getCurrentDirectory(),(function(E){return $.getCanonicalFileName(E)})):R.fileName;var le="";le+=q(ce,N.Cyan);le+=":";le+=q(""+(ie+1),N.Yellow);le+=":";le+=q(""+(ae+1),N.Yellow);return le}E.formatLocation=formatLocation;function formatDiagnosticsWithColorAndContext(R,j){var $="";for(var q=0,G=R;q<G.length;q++){var ce=G[q];if(ce.file){var le=ce.file,_e=ce.start;$+=formatLocation(le,_e,j);$+=" - "}$+=formatColorAndReset(E.diagnosticCategoryName(ce),getCategoryFormat(ce.category));$+=formatColorAndReset(" TS"+ce.code+": ",N.Grey);$+=flattenDiagnosticMessageText(ce.messageText,j.getNewLine());if(ce.file){$+=j.getNewLine();$+=formatCodeSpan(ce.file,ce.start,ce.length,"",getCategoryFormat(ce.category),j)}if(ce.relatedInformation){$+=j.getNewLine();for(var Ee=0,Te=ce.relatedInformation;Ee<Te.length;Ee++){var we=Te[Ee],le=we.file,_e=we.start,Ie=we.length,Ne=we.messageText;if(le){$+=j.getNewLine();$+=ie+formatLocation(le,_e,j);$+=formatCodeSpan(le,_e,Ie,ae,N.Cyan,j)}$+=j.getNewLine();$+=ae+flattenDiagnosticMessageText(Ne,j.getNewLine())}}$+=j.getNewLine()}return $}E.formatDiagnosticsWithColorAndContext=formatDiagnosticsWithColorAndContext;function flattenDiagnosticMessageText(N,R,j){if(j===void 0){j=0}if(E.isString(N)){return N}else if(N===undefined){return""}var $="";if(j){$+=R;for(var q=0;q<j;q++){$+=" "}}$+=N.messageText;j++;if(N.next){for(var G=0,ie=N.next;G<ie.length;G++){var ae=ie[G];$+=flattenDiagnosticMessageText(ae,R,j)}}return $}E.flattenDiagnosticMessageText=flattenDiagnosticMessageText;function loadWithLocalCache(N,R,j,$){if(N.length===0){return[]}var q=[];var G=new E.Map;for(var ie=0,ae=N;ie<ae.length;ie++){var ce=ae[ie];var le=void 0;if(G.has(ce)){le=G.get(ce)}else{G.set(ce,le=$(ce,R,j))}q.push(le)}return q}E.loadWithLocalCache=loadWithLocalCache;function forEachResolvedProjectReference(E,N){return forEachProjectReference(undefined,E,(function(E,R){return E&&N(E,R)}))}E.forEachResolvedProjectReference=forEachResolvedProjectReference;function forEachProjectReference(N,R,j,$){var q;return worker(N,R,undefined);function worker(N,R,G){if($){var ie=$(N,G);if(ie){return ie}}return E.forEach(R,(function(N,R){if(N&&(q===null||q===void 0?void 0:q.has(N.sourceFile.path))){return undefined}var $=j(N,G,R);if($||!N)return $;(q||(q=new E.Set)).add(N.sourceFile.path);return worker(N.commandLine.projectReferences,N.references,N)}))}}E.inferredTypesContainingFile="__inferred type names__.ts";function isReferencedFile(N){switch(N===null||N===void 0?void 0:N.kind){case E.FileIncludeKind.Import:case E.FileIncludeKind.ReferenceFile:case E.FileIncludeKind.TypeReferenceDirective:case E.FileIncludeKind.LibReferenceDirective:return true;default:return false}}E.isReferencedFile=isReferencedFile;function isReferenceFileLocation(E){return E.pos!==undefined}E.isReferenceFileLocation=isReferenceFileLocation;function getReferencedFileLocation(N,R){var j,$,q;var G,ie,ae,ce;var le=E.Debug.checkDefined(N(R.file));var _e=R.kind,Ee=R.index;var Te,we,Ie;switch(_e){case E.FileIncludeKind.Import:var Ne=getModuleNameStringLiteralAt(le,Ee);Ie=(ie=(G=le.resolvedModules)===null||G===void 0?void 0:G.get(Ne.text))===null||ie===void 0?void 0:ie.packageId;if(Ne.pos===-1)return{file:le,packageId:Ie,text:Ne.text};Te=E.skipTrivia(le.text,Ne.pos);we=Ne.end;break;case E.FileIncludeKind.ReferenceFile:j=le.referencedFiles[Ee],Te=j.pos,we=j.end;break;case E.FileIncludeKind.TypeReferenceDirective:$=le.typeReferenceDirectives[Ee],Te=$.pos,we=$.end;Ie=(ce=(ae=le.resolvedTypeReferenceDirectiveNames)===null||ae===void 0?void 0:ae.get(E.toFileNameLowerCase(le.typeReferenceDirectives[Ee].fileName)))===null||ce===void 0?void 0:ce.packageId;break;case E.FileIncludeKind.LibReferenceDirective:q=le.libReferenceDirectives[Ee],Te=q.pos,we=q.end;break;default:return E.Debug.assertNever(_e)}return{file:le,pos:Te,end:we,packageId:Ie}}E.getReferencedFileLocation=getReferencedFileLocation;function isProgramUptoDate(N,R,j,$,q,G,ie,ae,ce){if(!N||(ie===null||ie===void 0?void 0:ie()))return false;if(!E.arrayIsEqualTo(N.getRootFileNames(),R))return false;var le;if(!E.arrayIsEqualTo(N.getProjectReferences(),ce,projectReferenceUptoDate))return false;if(N.getSourceFiles().some(sourceFileNotUptoDate))return false;if(N.getMissingFilePaths().some(q))return false;var _e=N.getCompilerOptions();if(!E.compareDataObjects(_e,j))return false;if(_e.configFile&&j.configFile)return _e.configFile.text===j.configFile.text;return true;function sourceFileNotUptoDate(E){return!sourceFileVersionUptoDate(E)||G(E.path)}function sourceFileVersionUptoDate(E){return E.version===$(E.resolvedPath,E.fileName)}function projectReferenceUptoDate(R,j,$){return E.projectReferenceIsEqualTo(R,j)&&resolvedProjectReferenceUptoDate(N.getResolvedProjectReferences()[$],R)}function resolvedProjectReferenceUptoDate(N,R){if(N){if(E.contains(le,N))return true;var j=resolveProjectReferencePath(R);var $=ae(j);if(!$)return false;if(N.commandLine.options.configFile!==$.options.configFile)return false;if(!E.arrayIsEqualTo(N.commandLine.fileNames,$.fileNames))return false;(le||(le=[])).push(N);return!E.forEach(N.references,(function(E,R){return!resolvedProjectReferenceUptoDate(E,N.commandLine.projectReferences[R])}))}var q=resolveProjectReferencePath(R);return!ae(q)}}E.isProgramUptoDate=isProgramUptoDate;function getConfigFileParsingDiagnostics(E){return E.options.configFile?j(j([],E.options.configFile.parseDiagnostics,true),E.errors,true):E.errors}E.getConfigFileParsingDiagnostics=getConfigFileParsingDiagnostics;function shouldProgramCreateNewSourceFiles(N,R){if(!N)return false;return E.optionsHaveChanges(N.getCompilerOptions(),R,E.sourceFileAffectingCompilerOptions)}function createCreateProgramOptions(E,N,R,j,$){return{rootNames:E,options:N,host:R,oldProgram:j,configFileParsingDiagnostics:$}}function createProgram(N,R,$,q,G){var ie,ae,ce;var le=E.isArray(N)?createCreateProgramOptions(N,R,$,q,G):N;var _e=le.rootNames,Ee=le.options,Te=le.configFileParsingDiagnostics,we=le.projectReferences;var Ie=le.oldProgram;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je=new E.Map;var Ve=E.createMultiMap();var qe={};var He={};var Ge=new E.Map;var Ke;var Qe=typeof Ee.maxNodeModuleJsDepth==="number"?Ee.maxNodeModuleJsDepth:0;var Xe=0;var Ye=new E.Map;var Ze=new E.Map;E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","createProgram",{configFilePath:Ee.configFilePath,rootDir:Ee.rootDir},true);E.performance.mark("beforeProgram");var et=le.host||createCompilerHost(Ee);var tt=parseConfigHostFromCompilerHostLike(et);var rt=Ee.noLib;var nt=E.memoize((function(){return et.getDefaultLibFileName(Ee)}));var it=et.getDefaultLibLocation?et.getDefaultLibLocation():E.getDirectoryPath(nt());var ot=E.createDiagnosticCollection();var st=et.getCurrentDirectory();var ct=E.getSupportedExtensions(Ee);var ut=E.getSuppoertedExtensionsWithJsonIfResolveJsonModule(Ee,ct);var dt=new E.Map;var pt;var ft;var mt;var ht;var _t=et.hasInvalidatedResolution||E.returnFalse;if(et.resolveModuleNames){ht=function(N,R,j,$){return et.resolveModuleNames(E.Debug.checkEachDefined(N),R,j,$,Ee).map((function(N){if(!N||N.extension!==undefined){return N}var R=E.clone(N);R.extension=E.extensionFromPath(N.resolvedFileName);return R}))}}else{ft=E.createModuleResolutionCache(st,getCanonicalFileName,Ee);var loader_1=function(N,R,j){return E.resolveModuleName(N,R,Ee,et,ft,j).resolvedModule};ht=function(N,R,j,$){return loadWithLocalCache(E.Debug.checkEachDefined(N),R,$,loader_1)}}var yt;if(et.resolveTypeReferenceDirectives){yt=function(N,R,j){return et.resolveTypeReferenceDirectives(E.Debug.checkEachDefined(N),R,j,Ee)}}else{mt=E.createTypeReferenceDirectiveResolutionCache(st,getCanonicalFileName,undefined,ft===null||ft===void 0?void 0:ft.getPackageJsonInfoCache());var loader_2=function(N,R,j){return E.resolveTypeReferenceDirective(N,R,Ee,et,j,mt).resolvedTypeReferenceDirective};yt=function(N,R,j){return loadWithLocalCache(E.Debug.checkEachDefined(N),R,j,loader_2)}}var vt=new E.Map;var bt=new E.Map;var xt=E.createMultiMap();var St=false;var Et=new E.Map;var Tt;var kt=et.useCaseSensitiveFileNames()?new E.Map:undefined;var Ct;var Dt;var At;var wt;var Pt=!!((ie=et.useSourceOfProjectReferenceRedirect)===null||ie===void 0?void 0:ie.call(et))&&!Ee.disableSourceOfProjectReferenceRedirect;var Ft=updateHostForUseSourceOfProjectReferenceRedirect({compilerHost:et,getSymlinkCache:getSymlinkCache,useSourceOfProjectReferenceRedirect:Pt,toPath:toPath,getResolvedProjectReferences:getResolvedProjectReferences,getSourceOfProjectReferenceRedirect:getSourceOfProjectReferenceRedirect,forEachResolvedProjectReference:forEachResolvedProjectReference}),It=Ft.onProgramCreateComplete,Nt=Ft.fileExists,Ot=Ft.directoryExists;E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","shouldProgramCreateNewSourceFiles",{hasOldProgram:!!Ie});var Mt=shouldProgramCreateNewSourceFiles(Ie,Ee);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();var Rt;E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","tryReuseStructureFromOldProgram",{});Rt=tryReuseStructureFromOldProgram();E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();if(Rt!==2){Ne=[];Me=[];if(we){if(!Ct){Ct=we.map(parseProjectReferenceConfigFile)}if(_e.length){Ct===null||Ct===void 0?void 0:Ct.forEach((function(N,R){if(!N)return;var j=E.outFile(N.commandLine.options);if(Pt){if(j||E.getEmitModuleKind(N.commandLine.options)===E.ModuleKind.None){for(var $=0,q=N.commandLine.fileNames;$<q.length;$++){var G=q[$];processProjectReferenceFile(G,{kind:E.FileIncludeKind.SourceFromProjectReference,index:R})}}}else{if(j){processProjectReferenceFile(E.changeExtension(j,".d.ts"),{kind:E.FileIncludeKind.OutputFromProjectReference,index:R})}else if(E.getEmitModuleKind(N.commandLine.options)===E.ModuleKind.None){var ie=E.memoize((function(){return E.getCommonSourceDirectoryOfConfig(N.commandLine,!et.useCaseSensitiveFileNames())}));for(var ae=0,ce=N.commandLine.fileNames;ae<ce.length;ae++){var G=ce[ae];if(!E.fileExtensionIs(G,".d.ts")&&!E.fileExtensionIs(G,".json")){processProjectReferenceFile(E.getOutputDeclarationFileName(G,N.commandLine,!et.useCaseSensitiveFileNames(),ie),{kind:E.FileIncludeKind.OutputFromProjectReference,index:R})}}}}}))}}E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","processRootFiles",{count:_e.length});E.forEach(_e,(function(N,R){return processRootFile(N,false,false,{kind:E.FileIncludeKind.RootFile,index:R})}));E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();var Lt=_e.length?E.getAutomaticTypeDirectiveNames(Ee,et):E.emptyArray;if(Lt.length){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","processTypeReferences",{count:Lt.length});var Bt=Ee.configFilePath?E.getDirectoryPath(Ee.configFilePath):et.getCurrentDirectory();var jt=E.combinePaths(Bt,E.inferredTypesContainingFile);var Ut=resolveTypeReferenceDirectiveNamesWorker(Lt,jt);for(var zt=0;zt<Lt.length;zt++){processTypeReferenceDirective(Lt[zt],Ut[zt],{kind:E.FileIncludeKind.AutomaticTypeDirectiveFile,typeReference:Lt[zt],packageId:(ae=Ut[zt])===null||ae===void 0?void 0:ae.packageId})}E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}if(_e.length&&!rt){var Wt=nt();if(!Ee.lib&&Wt){processRootFile(Wt,true,false,{kind:E.FileIncludeKind.LibFile})}else{E.forEach(Ee.lib,(function(N,R){processRootFile(E.combinePaths(it,N),true,false,{kind:E.FileIncludeKind.LibFile,index:R})}))}}Tt=E.arrayFrom(E.mapDefinedIterator(Et.entries(),(function(E){var N=E[0],R=E[1];return R===undefined?N:undefined})));Le=E.stableSort(Ne,compareDefaultLibFiles).concat(Me);Ne=undefined;Me=undefined}E.Debug.assert(!!Tt);if(Ie&&et.onReleaseOldSourceFile){var $t=Ie.getSourceFiles();for(var Jt=0,Vt=$t;Jt<Vt.length;Jt++){var qt=Vt[Jt];var Ht=getSourceFileByPath(qt.resolvedPath);if(Mt||!Ht||qt.resolvedPath===qt.path&&Ht.resolvedPath!==qt.path){et.onReleaseOldSourceFile(qt,Ie.getCompilerOptions(),!!getSourceFileByPath(qt.path))}}if(!et.getParsedCommandLine){Ie.forEachResolvedProjectReference((function(E){if(!getResolvedProjectReferenceByPath(E.sourceFile.path)){et.onReleaseOldSourceFile(E.sourceFile,Ie.getCompilerOptions(),false)}}))}}if(Ie&&et.onReleaseParsedCommandLine){forEachProjectReference(Ie.getProjectReferences(),Ie.getResolvedProjectReferences(),(function(E,N,R){var j=(N===null||N===void 0?void 0:N.commandLine.projectReferences[R])||Ie.getProjectReferences()[R];var $=resolveProjectReferencePath(j);if(!(Dt===null||Dt===void 0?void 0:Dt.has(toPath($)))){et.onReleaseParsedCommandLine($,E,Ie.getCompilerOptions())}}))}mt=undefined;Ie=undefined;var Gt={getRootFileNames:function(){return _e},getSourceFile:getSourceFile,getSourceFileByPath:getSourceFileByPath,getSourceFiles:function(){return Le},getMissingFilePaths:function(){return Tt},getModuleResolutionCache:function(){return ft},getFilesByNameMap:function(){return Et},getCompilerOptions:function(){return Ee},getSyntacticDiagnostics:getSyntacticDiagnostics,getOptionsDiagnostics:getOptionsDiagnostics,getGlobalDiagnostics:getGlobalDiagnostics,getSemanticDiagnostics:getSemanticDiagnostics,getCachedSemanticDiagnostics:getCachedSemanticDiagnostics,getSuggestionDiagnostics:getSuggestionDiagnostics,getDeclarationDiagnostics:getDeclarationDiagnostics,getBindAndCheckDiagnostics:getBindAndCheckDiagnostics,getProgramDiagnostics:getProgramDiagnostics,getTypeChecker:getTypeChecker,getClassifiableNames:getClassifiableNames,getDiagnosticsProducingTypeChecker:getDiagnosticsProducingTypeChecker,getCommonSourceDirectory:getCommonSourceDirectory,emit:emit,getCurrentDirectory:function(){return st},getNodeCount:function(){return getDiagnosticsProducingTypeChecker().getNodeCount()},getIdentifierCount:function(){return getDiagnosticsProducingTypeChecker().getIdentifierCount()},getSymbolCount:function(){return getDiagnosticsProducingTypeChecker().getSymbolCount()},getTypeCount:function(){return getDiagnosticsProducingTypeChecker().getTypeCount()},getInstantiationCount:function(){return getDiagnosticsProducingTypeChecker().getInstantiationCount()},getRelationCacheSizes:function(){return getDiagnosticsProducingTypeChecker().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return Ke},getResolvedTypeReferenceDirectives:function(){return Ge},isSourceFileFromExternalLibrary:isSourceFileFromExternalLibrary,isSourceFileDefaultLibrary:isSourceFileDefaultLibrary,dropDiagnosticsProducingTypeChecker:dropDiagnosticsProducingTypeChecker,getSourceFileFromReference:getSourceFileFromReference,getLibFileFromReference:getLibFileFromReference,sourceFileToPackageName:bt,redirectTargetsMap:xt,usesUriStyleNodeCoreModules:St,isEmittedFile:isEmittedFile,getConfigFileParsingDiagnostics:getConfigFileParsingDiagnostics,getResolvedModuleWithFailedLookupLocationsFromCache:getResolvedModuleWithFailedLookupLocationsFromCache,getProjectReferences:getProjectReferences,getResolvedProjectReferences:getResolvedProjectReferences,getProjectReferenceRedirect:getProjectReferenceRedirect,getResolvedProjectReferenceToRedirect:getResolvedProjectReferenceToRedirect,getResolvedProjectReferenceByPath:getResolvedProjectReferenceByPath,forEachResolvedProjectReference:forEachResolvedProjectReference,isSourceOfProjectReferenceRedirect:isSourceOfProjectReferenceRedirect,emitBuildInfo:emitBuildInfo,fileExists:Nt,directoryExists:Ot,getSymlinkCache:getSymlinkCache,realpath:(ce=et.realpath)===null||ce===void 0?void 0:ce.bind(et),useCaseSensitiveFileNames:function(){return et.useCaseSensitiveFileNames()},getFileIncludeReasons:function(){return Ve},structureIsReused:Rt};It();Ke===null||Ke===void 0?void 0:Ke.forEach((function(N){switch(N.kind){case 1:return ot.add(createDiagnosticExplainingFile(N.file&&getSourceFileByPath(N.file),N.fileProcessingReason,N.diagnostic,N.args||E.emptyArray));case 0:var R=getReferencedFileLocation(getSourceFileByPath,N.reason),$=R.file,q=R.pos,G=R.end;return ot.add(E.createFileDiagnostic.apply(void 0,j([$,E.Debug.checkDefined(q),E.Debug.checkDefined(G)-q,N.diagnostic],N.args||E.emptyArray,false)));default:E.Debug.assertNever(N)}}));verifyCompilerOptions();E.performance.mark("afterProgram");E.performance.measure("Program","beforeProgram","afterProgram");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return Gt;function resolveModuleNamesWorker(N,R,j){if(!N.length)return E.emptyArray;var $=E.getNormalizedAbsolutePath(R.originalFileName,st);var q=getRedirectReferenceForResolution(R);E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","resolveModuleNamesWorker",{containingFileName:$});E.performance.mark("beforeResolveModule");var G=ht(N,$,j,q);E.performance.mark("afterResolveModule");E.performance.measure("ResolveModule","beforeResolveModule","afterResolveModule");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}function resolveTypeReferenceDirectiveNamesWorker(N,R){if(!N.length)return[];var j=!E.isString(R)?E.getNormalizedAbsolutePath(R.originalFileName,st):R;var $=!E.isString(R)?getRedirectReferenceForResolution(R):undefined;E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","resolveTypeReferenceDirectiveNamesWorker",{containingFileName:j});E.performance.mark("beforeResolveTypeReference");var q=yt(N,j,$);E.performance.mark("afterResolveTypeReference");E.performance.measure("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return q}function getRedirectReferenceForResolution(N){var R=getResolvedProjectReferenceToRedirect(N.originalFileName);if(R||!E.fileExtensionIs(N.originalFileName,".d.ts"))return R;var j=getRedirectReferenceForResolutionFromSourceOfProject(N.originalFileName,N.path);if(j)return j;if(!et.realpath||!Ee.preserveSymlinks||!E.stringContains(N.originalFileName,E.nodeModulesPathPart))return undefined;var $=et.realpath(N.originalFileName);var q=toPath($);return q===N.path?undefined:getRedirectReferenceForResolutionFromSourceOfProject($,q)}function getRedirectReferenceForResolutionFromSourceOfProject(N,R){var j=getSourceOfProjectReferenceRedirect(N);if(E.isString(j))return getResolvedProjectReferenceToRedirect(j);if(!j)return undefined;return forEachResolvedProjectReference((function(N){var j=E.outFile(N.commandLine.options);if(!j)return undefined;return toPath(j)===R?N:undefined}))}function compareDefaultLibFiles(N,R){return E.compareValues(getDefaultLibFilePriority(N),getDefaultLibFilePriority(R))}function getDefaultLibFilePriority(N){if(E.containsPath(it,N.fileName,false)){var R=E.getBaseFileName(N.fileName);if(R==="lib.d.ts"||R==="lib.es6.d.ts")return 0;var j=E.removeSuffix(E.removePrefix(R,"lib."),".d.ts");var $=E.libs.indexOf(j);if($!==-1)return $+1}return E.libs.length+2}function getResolvedModuleWithFailedLookupLocationsFromCache(N,R){return ft&&E.resolveModuleNameFromCache(N,R,ft)}function toPath(N){return E.toPath(N,st,getCanonicalFileName)}function getCommonSourceDirectory(){if(je===undefined){var N=E.filter(Le,(function(N){return E.sourceFileMayBeEmitted(N,Gt)}));je=E.getCommonSourceDirectory(Ee,(function(){return E.mapDefined(N,(function(E){return E.isDeclarationFile?undefined:E.fileName}))}),st,getCanonicalFileName,(function(E){return checkSourceFilesBelongToPath(N,E)}))}return je}function getClassifiableNames(){var N;if(!We){getTypeChecker();We=new E.Set;for(var R=0,j=Le;R<j.length;R++){var $=j[R];(N=$.classifiableNames)===null||N===void 0?void 0:N.forEach((function(E){return We.add(E)}))}}return We}function resolveModuleNamesReusingOldState(N,R){if(Rt===0&&!R.ambientModuleNames.length){return resolveModuleNamesWorker(N,R,undefined)}var j=Ie&&Ie.getSourceFile(R.fileName);if(j!==R&&R.resolvedModules){var $=[];for(var q=0,G=N;q<G.length;q++){var ie=G[q];var ae=R.resolvedModules.get(ie);$.push(ae)}return $}var ce;var le;var _e;var Te={};for(var we=0;we<N.length;we++){var ie=N[we];if(R===j&&!_t(j.path)){var Ne=E.getResolvedModule(j,ie);if(Ne){if(E.isTraceEnabled(Ee,et)){E.trace(et,Ne.packageId?E.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:E.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,ie,E.getNormalizedAbsolutePath(R.originalFileName,st),Ne.resolvedFileName,Ne.packageId&&E.packageIdToString(Ne.packageId))}(le||(le=new Array(N.length)))[we]=Ne;(_e||(_e=[])).push(ie);continue}}var Me=false;if(E.contains(R.ambientModuleNames,ie)){Me=true;if(E.isTraceEnabled(Ee,et)){E.trace(et,E.Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,ie,E.getNormalizedAbsolutePath(R.originalFileName,st))}}else{Me=moduleNameResolvesToAmbientModuleInNonModifiedFile(ie)}if(Me){(le||(le=new Array(N.length)))[we]=Te}else{(ce||(ce=[])).push(ie)}}var Le=ce&&ce.length?resolveModuleNamesWorker(ce,R,_e):E.emptyArray;if(!le){E.Debug.assert(Le.length===N.length);return Le}var Be=0;for(var we=0;we<le.length;we++){if(le[we]){if(le[we]===Te){le[we]=undefined}}else{le[we]=Le[Be];Be++}}E.Debug.assert(Be===Le.length);return le;function moduleNameResolvesToAmbientModuleInNonModifiedFile(N){var R=E.getResolvedModule(j,N);var $=R&&Ie.getSourceFile(R.resolvedFileName);if(R&&$){return false}var q=Je.get(N);if(!q){return false}if(E.isTraceEnabled(Ee,et)){E.trace(et,E.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,N,q)}return true}}function canReuseProjectReferences(){return!forEachProjectReference(Ie.getProjectReferences(),Ie.getResolvedProjectReferences(),(function(N,R,j){var $=(R?R.commandLine.projectReferences:we)[j];var q=parseProjectReferenceConfigFile($);if(N){return!q||q.sourceFile!==N.sourceFile||!E.arrayIsEqualTo(N.commandLine.fileNames,q.commandLine.fileNames)}else{return q!==undefined}}),(function(N,R){var j=R?getResolvedProjectReferenceByPath(R.sourceFile.path).commandLine.projectReferences:we;return!E.arrayIsEqualTo(N,j,E.projectReferenceIsEqualTo)}))}function tryReuseStructureFromOldProgram(){var N;if(!Ie){return 0}var R=Ie.getCompilerOptions();if(E.changesAffectModuleResolution(R,Ee)){return 0}var j=Ie.getRootFileNames();if(!E.arrayIsEqualTo(j,_e)){return 0}if(!canReuseProjectReferences()){return 0}if(we){Ct=we.map(parseProjectReferenceConfigFile)}var $=[];var q=[];Rt=2;if(Ie.getMissingFilePaths().some((function(E){return et.fileExists(E)}))){return 0}var G=Ie.getSourceFiles();var ie;(function(E){E[E["Exists"]=0]="Exists";E[E["Modified"]=1]="Modified"})(ie||(ie={}));var ae=new E.Map;for(var ce=0,le=G;ce<le.length;ce++){var Te=le[ce];var Ne=et.getSourceFileByPath?et.getSourceFileByPath(Te.fileName,Te.resolvedPath,Ee.target,undefined,Mt):et.getSourceFile(Te.fileName,Ee.target,undefined,Mt);if(!Ne){return 0}E.Debug.assert(!Ne.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");var Me=void 0;if(Te.redirectInfo){if(Ne!==Te.redirectInfo.unredirected){return 0}Me=false;Ne=Te}else if(Ie.redirectTargetsMap.has(Te.path)){if(Ne!==Te){return 0}Me=false}else{Me=Ne!==Te}Ne.path=Te.path;Ne.originalFileName=Te.originalFileName;Ne.resolvedPath=Te.resolvedPath;Ne.fileName=Te.fileName;var Be=Ie.sourceFileToPackageName.get(Te.path);if(Be!==undefined){var je=ae.get(Be);var Ue=Me?1:0;if(je!==undefined&&Ue===1||je===1){return 0}ae.set(Be,Ue)}if(Me){if(!E.arrayIsEqualTo(Te.libReferenceDirectives,Ne.libReferenceDirectives,fileReferenceIsEqualTo)){Rt=1}if(Te.hasNoDefaultLib!==Ne.hasNoDefaultLib){Rt=1}if(!E.arrayIsEqualTo(Te.referencedFiles,Ne.referencedFiles,fileReferenceIsEqualTo)){Rt=1}collectExternalModuleReferences(Ne);if(!E.arrayIsEqualTo(Te.imports,Ne.imports,moduleNameIsEqualTo)){Rt=1}if(!E.arrayIsEqualTo(Te.moduleAugmentations,Ne.moduleAugmentations,moduleNameIsEqualTo)){Rt=1}if((Te.flags&3145728)!==(Ne.flags&3145728)){Rt=1}if(!E.arrayIsEqualTo(Te.typeReferenceDirectives,Ne.typeReferenceDirectives,fileReferenceIsEqualTo)){Rt=1}q.push({oldFile:Te,newFile:Ne})}else if(_t(Te.path)){Rt=1;q.push({oldFile:Te,newFile:Ne})}$.push(Ne)}if(Rt!==2){return Rt}var ze=q.map((function(E){return E.oldFile}));for(var We=0,qe=G;We<qe.length;We++){var He=qe[We];if(!E.contains(ze,He)){for(var Qe=0,Xe=He.ambientModuleNames;Qe<Xe.length;Qe++){var Ye=Xe[Qe];Je.set(Ye,He.fileName)}}}for(var tt=0,rt=q;tt<rt.length;tt++){var nt=rt[tt],Te=nt.oldFile,Ne=nt.newFile;var it=getModuleNames(Ne);var ot=resolveModuleNamesReusingOldState(it,Ne);var st=E.hasChangesInResolutions(it,ot,Te.resolvedModules,E.moduleResolutionIsEqualTo);if(st){Rt=1;Ne.resolvedModules=E.zipToMap(it,ot)}else{Ne.resolvedModules=Te.resolvedModules}var ct=E.map(Ne.typeReferenceDirectives,(function(N){return E.toFileNameLowerCase(N.fileName)}));var ut=resolveTypeReferenceDirectiveNamesWorker(ct,Ne);var dt=E.hasChangesInResolutions(ct,ut,Te.resolvedTypeReferenceDirectiveNames,E.typeDirectiveIsEqualTo);if(dt){Rt=1;Ne.resolvedTypeReferenceDirectiveNames=E.zipToMap(ct,ut)}else{Ne.resolvedTypeReferenceDirectiveNames=Te.resolvedTypeReferenceDirectiveNames}}if(Rt!==2){return Rt}if(E.changesAffectingProgramStructure(R,Ee)||((N=et.hasChangedAutomaticTypeDirectiveNames)===null||N===void 0?void 0:N.call(et))){return 1}Tt=Ie.getMissingFilePaths();E.Debug.assert($.length===Ie.getSourceFiles().length);for(var pt=0,ft=$;pt<ft.length;pt++){var Ne=ft[pt];Et.set(Ne.path,Ne)}var mt=Ie.getFilesByNameMap();mt.forEach((function(E,N){if(!E){Et.set(N,E);return}if(E.path===N){if(Ie.isSourceFileFromExternalLibrary(E)){Ze.set(E.path,true)}return}Et.set(N,Et.get(E.path))}));Le=$;Ve=Ie.getFileIncludeReasons();Ke=Ie.getFileProcessingDiagnostics();Ge=Ie.getResolvedTypeReferenceDirectives();bt=Ie.sourceFileToPackageName;xt=Ie.redirectTargetsMap;St=Ie.usesUriStyleNodeCoreModules;return 2}function getEmitHost(N){return{getPrependNodes:getPrependNodes,getCanonicalFileName:getCanonicalFileName,getCommonSourceDirectory:Gt.getCommonSourceDirectory,getCompilerOptions:Gt.getCompilerOptions,getCurrentDirectory:function(){return st},getNewLine:function(){return et.getNewLine()},getSourceFile:Gt.getSourceFile,getSourceFileByPath:Gt.getSourceFileByPath,getSourceFiles:Gt.getSourceFiles,getLibFileFromReference:Gt.getLibFileFromReference,isSourceFileFromExternalLibrary:isSourceFileFromExternalLibrary,getResolvedProjectReferenceToRedirect:getResolvedProjectReferenceToRedirect,getProjectReferenceRedirect:getProjectReferenceRedirect,isSourceOfProjectReferenceRedirect:isSourceOfProjectReferenceRedirect,getSymlinkCache:getSymlinkCache,writeFile:N||function(E,N,R,j,$){return et.writeFile(E,N,R,j,$)},isEmitBlocked:isEmitBlocked,readFile:function(E){return et.readFile(E)},fileExists:function(N){var R=toPath(N);if(getSourceFileByPath(R))return true;if(E.contains(Tt,R))return false;return et.fileExists(N)},useCaseSensitiveFileNames:function(){return et.useCaseSensitiveFileNames()},getProgramBuildInfo:function(){return Gt.getProgramBuildInfo&&Gt.getProgramBuildInfo()},getSourceFileFromReference:function(E,N){return Gt.getSourceFileFromReference(E,N)},redirectTargetsMap:xt,getFileIncludeReasons:Gt.getFileIncludeReasons}}function emitBuildInfo(N){E.Debug.assert(!E.outFile(Ee));E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("emit","emitBuildInfo",{},true);E.performance.mark("beforeEmit");var R=E.emitFiles(E.notImplementedResolver,getEmitHost(N),undefined,E.noTransformers,false,true);E.performance.mark("afterEmit");E.performance.measure("Emit","beforeEmit","afterEmit");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return R}function getResolvedProjectReferences(){return Ct}function getProjectReferences(){return we}function getPrependNodes(){return createPrependNodes(we,(function(E,N){var R;return(R=Ct[N])===null||R===void 0?void 0:R.commandLine}),(function(E){var N=toPath(E);var R=getSourceFileByPath(N);return R?R.text:Et.has(N)?undefined:et.readFile(N)}))}function isSourceFileFromExternalLibrary(E){return!!Ze.get(E.path)}function isSourceFileDefaultLibrary(N){if(N.hasNoDefaultLib){return true}if(!Ee.noLib){return false}var R=et.useCaseSensitiveFileNames()?E.equateStringsCaseSensitive:E.equateStringsCaseInsensitive;if(!Ee.lib){return R(N.fileName,nt())}else{return E.some(Ee.lib,(function(j){return R(N.fileName,E.combinePaths(it,j))}))}}function getDiagnosticsProducingTypeChecker(){return Ue||(Ue=E.createTypeChecker(Gt,true))}function dropDiagnosticsProducingTypeChecker(){Ue=undefined}function getTypeChecker(){return ze||(ze=E.createTypeChecker(Gt,false))}function emit(N,R,j,$,q,G){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("emit","emit",{path:N===null||N===void 0?void 0:N.path},true);var ie=runWithCancellationToken((function(){return emitWorker(Gt,N,R,j,$,q,G)}));E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return ie}function isEmitBlocked(E){return dt.has(toPath(E))}function emitWorker(N,R,j,$,q,G,ie){if(!ie){var ae=handleNoEmitOptions(N,R,j,$);if(ae)return ae}var ce=getDiagnosticsProducingTypeChecker().getEmitResolver(E.outFile(Ee)?undefined:R,$);E.performance.mark("beforeEmit");var le=E.emitFiles(ce,getEmitHost(j),R,E.getTransformers(Ee,G,q),q,false,ie);E.performance.mark("afterEmit");E.performance.measure("Emit","beforeEmit","afterEmit");return le}function getSourceFile(E){return getSourceFileByPath(toPath(E))}function getSourceFileByPath(E){return Et.get(E)||undefined}function getDiagnosticsHelper(N,R,j){if(N){return R(N,j)}return E.sortAndDeduplicateDiagnostics(E.flatMap(Gt.getSourceFiles(),(function(E){if(j){j.throwIfCancellationRequested()}return R(E,j)})))}function getSyntacticDiagnostics(E,N){return getDiagnosticsHelper(E,getSyntacticDiagnosticsForFile,N)}function getSemanticDiagnostics(E,N){return getDiagnosticsHelper(E,getSemanticDiagnosticsForFile,N)}function getCachedSemanticDiagnostics(E){var N;return E?(N=qe.perFile)===null||N===void 0?void 0:N.get(E.path):qe.allDiagnostics}function getBindAndCheckDiagnostics(E,N){return getBindAndCheckDiagnosticsForFile(E,N)}function getProgramDiagnostics(N){var R;if(E.skipTypeChecking(N,Ee,Gt)){return E.emptyArray}var j=ot.getDiagnostics(N.fileName);if(!((R=N.commentDirectives)===null||R===void 0?void 0:R.length)){return j}return getDiagnosticsWithPrecedingDirectives(N,N.commentDirectives,j).diagnostics}function getDeclarationDiagnostics(N,R){var j=Gt.getCompilerOptions();if(!N||E.outFile(j)){return getDeclarationDiagnosticsWorker(N,R)}else{return getDiagnosticsHelper(N,getDeclarationDiagnosticsForFile,R)}}function getSyntacticDiagnosticsForFile(N){if(E.isSourceFileJS(N)){if(!N.additionalSyntacticDiagnostics){N.additionalSyntacticDiagnostics=getJSSyntacticDiagnosticsForFile(N)}return E.concatenate(N.additionalSyntacticDiagnostics,N.parseDiagnostics)}return N.parseDiagnostics}function runWithCancellationToken(N){try{return N()}catch(N){if(N instanceof E.OperationCanceledException){ze=undefined;Ue=undefined}throw N}}function getSemanticDiagnosticsForFile(N,R){return E.concatenate(filterSemanticDiagnostics(getBindAndCheckDiagnosticsForFile(N,R),Ee),getProgramDiagnostics(N))}function getBindAndCheckDiagnosticsForFile(E,N){return getAndCacheDiagnostics(E,N,qe,getBindAndCheckDiagnosticsForFileNoCache)}function getBindAndCheckDiagnosticsForFileNoCache(N,R){return runWithCancellationToken((function(){if(E.skipTypeChecking(N,Ee,Gt)){return E.emptyArray}var j=getDiagnosticsProducingTypeChecker();E.Debug.assert(!!N.bindDiagnostics);var $=E.isCheckJsEnabledForFile(N,Ee);var q=!!N.checkJsDirective&&N.checkJsDirective.enabled===false;var G=!q&&(N.scriptKind===3||N.scriptKind===4||N.scriptKind===5||$||N.scriptKind===7);var ie=G?N.bindDiagnostics:E.emptyArray;var ae=G?j.getDiagnostics(N,R):E.emptyArray;return getMergedBindAndCheckDiagnostics(N,G,ie,ae,$?N.jsDocDiagnostics:undefined)}))}function getMergedBindAndCheckDiagnostics(N,R){var j;var $=[];for(var q=2;q<arguments.length;q++){$[q-2]=arguments[q]}var G=E.flatten($);if(!R||!((j=N.commentDirectives)===null||j===void 0?void 0:j.length)){return G}var ie=getDiagnosticsWithPrecedingDirectives(N,N.commentDirectives,G),ae=ie.diagnostics,ce=ie.directives;for(var le=0,_e=ce.getUnusedExpectations();le<_e.length;le++){var Ee=_e[le];ae.push(E.createDiagnosticForRange(N,Ee.range,E.Diagnostics.Unused_ts_expect_error_directive))}return ae}function getDiagnosticsWithPrecedingDirectives(N,R,j){var $=E.createCommentDirectivesMap(N,R);var q=j.filter((function(E){return markPrecedingCommentDirectiveLine(E,$)===-1}));return{diagnostics:q,directives:$}}function getSuggestionDiagnostics(E,N){return runWithCancellationToken((function(){return getDiagnosticsProducingTypeChecker().getSuggestionDiagnostics(E,N)}))}function markPrecedingCommentDirectiveLine(N,R){var j=N.file,$=N.start;if(!j){return-1}var q=E.getLineStarts(j);var G=E.computeLineAndCharacterOfPosition(q,$).line-1;while(G>=0){if(R.markUsed(G)){return G}var ie=j.text.slice(q[G],q[G+1]).trim();if(ie!==""&&!/^(\s*)\/\/(.*)$/.test(ie)){return-1}G--}return-1}function getJSSyntacticDiagnosticsForFile(N){return runWithCancellationToken((function(){var R=[];walk(N,N);E.forEachChildRecursively(N,walk,walkArray);return R;function walk(N,j){switch(j.kind){case 162:case 165:case 167:if(j.questionToken===N){R.push(createDiagnosticForNode(N,E.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?"));return"skip"}case 166:case 169:case 170:case 171:case 211:case 254:case 212:case 252:if(j.type===N){R.push(createDiagnosticForNode(N,E.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files));return"skip"}}switch(N.kind){case 265:if(N.isTypeOnly){R.push(createDiagnosticForNode(j,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type"));return"skip"}break;case 270:if(N.isTypeOnly){R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type"));return"skip"}break;case 263:R.push(createDiagnosticForNode(N,E.Diagnostics.import_can_only_be_used_in_TypeScript_files));return"skip";case 269:if(N.isExportEquals){R.push(createDiagnosticForNode(N,E.Diagnostics.export_can_only_be_used_in_TypeScript_files));return"skip"}break;case 289:var $=N;if($.token===117){R.push(createDiagnosticForNode(N,E.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files));return"skip"}break;case 256:var q=E.tokenToString(118);E.Debug.assertIsDefined(q);R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,q));return"skip";case 259:var G=N.flags&16?E.tokenToString(141):E.tokenToString(140);E.Debug.assertIsDefined(G);R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,G));return"skip";case 257:R.push(createDiagnosticForNode(N,E.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files));return"skip";case 258:var ie=E.Debug.checkDefined(E.tokenToString(92));R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,ie));return"skip";case 228:R.push(createDiagnosticForNode(N,E.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files));return"skip";case 227:R.push(createDiagnosticForNode(N.type,E.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files));return"skip";case 209:E.Debug.fail()}}function walkArray(N,j){if(j.decorators===N&&!Ee.experimentalDecorators){R.push(createDiagnosticForNode(j,E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning))}switch(j.kind){case 255:case 224:case 167:case 169:case 170:case 171:case 211:case 254:case 212:if(N===j.typeParameters){R.push(createDiagnosticForNodeArray(N,E.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files));return"skip"}case 235:if(N===j.modifiers){checkModifiers(j.modifiers,j.kind===235);return"skip"}break;case 165:if(N===j.modifiers){for(var $=0,q=N;$<q.length;$++){var G=q[$];if(G.kind!==124){R.push(createDiagnosticForNode(G,E.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,E.tokenToString(G.kind)))}}return"skip"}break;case 162:if(N===j.modifiers){R.push(createDiagnosticForNodeArray(N,E.Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files));return"skip"}break;case 206:case 207:case 226:case 277:case 278:case 208:if(N===j.typeArguments){R.push(createDiagnosticForNodeArray(N,E.Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files));return"skip"}break}}function checkModifiers(N,j){for(var $=0,q=N;$<q.length;$++){var G=q[$];switch(G.kind){case 85:if(j){continue}case 123:case 121:case 122:case 143:case 134:case 126:case 157:R.push(createDiagnosticForNode(G,E.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,E.tokenToString(G.kind)));break;case 124:case 93:case 88:}}}function createDiagnosticForNodeArray(R,j,$,q,G){var ie=R.pos;return E.createFileDiagnostic(N,ie,R.end-ie,j,$,q,G)}function createDiagnosticForNode(R,j,$,q,G){return E.createDiagnosticForNodeInSourceFile(N,R,j,$,q,G)}}))}function getDeclarationDiagnosticsWorker(E,N){return getAndCacheDiagnostics(E,N,He,getDeclarationDiagnosticsForFileNoCache)}function getDeclarationDiagnosticsForFileNoCache(N,R){return runWithCancellationToken((function(){var j=getDiagnosticsProducingTypeChecker().getEmitResolver(N,R);return E.getDeclarationDiagnostics(getEmitHost(E.noop),j,N)||E.emptyArray}))}function getAndCacheDiagnostics(N,R,j,$){var q;var G=N?(q=j.perFile)===null||q===void 0?void 0:q.get(N.path):j.allDiagnostics;if(G){return G}var ie=$(N,R);if(N){(j.perFile||(j.perFile=new E.Map)).set(N.path,ie)}else{j.allDiagnostics=ie}return ie}function getDeclarationDiagnosticsForFile(E,N){return E.isDeclarationFile?[]:getDeclarationDiagnosticsWorker(E,N)}function getOptionsDiagnostics(){return E.sortAndDeduplicateDiagnostics(E.concatenate(ot.getGlobalDiagnostics(),getOptionsDiagnosticsOfConfigFile()))}function getOptionsDiagnosticsOfConfigFile(){if(!Ee.configFile){return E.emptyArray}var N=ot.getDiagnostics(Ee.configFile.fileName);forEachResolvedProjectReference((function(R){N=E.concatenate(N,ot.getDiagnostics(R.sourceFile.fileName))}));return N}function getGlobalDiagnostics(){return _e.length?E.sortAndDeduplicateDiagnostics(getDiagnosticsProducingTypeChecker().getGlobalDiagnostics().slice()):E.emptyArray}function getConfigFileParsingDiagnostics(){return Te||E.emptyArray}function processRootFile(N,R,j,$){processSourceFile(E.normalizePath(N),R,j,undefined,$)}function fileReferenceIsEqualTo(E,N){return E.fileName===N.fileName}function moduleNameIsEqualTo(E,N){return E.kind===79?N.kind===79&&E.escapedText===N.escapedText:N.kind===10&&E.text===N.text}function createSyntheticImport(N,R){var j=E.factory.createStringLiteral(N);var $=E.factory.createImportDeclaration(undefined,undefined,undefined,j);E.addEmitFlags($,67108864);E.setParent(j,$);E.setParent($,R);j.flags&=~8;$.flags&=~8;return j}function collectExternalModuleReferences(N){if(N.imports){return}var R=E.isSourceFileJS(N);var j=E.isExternalModule(N);var $;var q;var G;if((Ee.isolatedModules||j)&&!N.isDeclarationFile){if(Ee.importHelpers){$=[createSyntheticImport(E.externalHelpersModuleNameText,N)]}var ie=E.getJSXRuntimeImport(E.getJSXImplicitImportBase(Ee,N),Ee);if(ie){($||($=[])).push(createSyntheticImport(ie,N))}}for(var ae=0,ce=N.statements;ae<ce.length;ae++){var le=ce[ae];collectModuleReferences(le,false)}if(N.flags&1048576||R){collectDynamicImportOrRequireCalls(N)}N.imports=$||E.emptyArray;N.moduleAugmentations=q||E.emptyArray;N.ambientModuleNames=G||E.emptyArray;return;function collectModuleReferences(R,ie){if(E.isAnyImportOrReExport(R)){var ae=E.getExternalModuleName(R);if(ae&&E.isStringLiteral(ae)&&ae.text&&(!ie||!E.isExternalModuleNameRelative(ae.text))){$=E.append($,ae);if(!St&&Xe===0&&!N.isDeclarationFile){St=E.startsWith(ae.text,"node:")}}}else if(E.isModuleDeclaration(R)){if(E.isAmbientModule(R)&&(ie||E.hasSyntacticModifier(R,2)||N.isDeclarationFile)){var ce=E.getTextOfIdentifierOrLiteral(R.name);if(j||ie&&!E.isExternalModuleNameRelative(ce)){(q||(q=[])).push(R.name)}else if(!ie){if(N.isDeclarationFile){(G||(G=[])).push(ce)}var le=R.body;if(le){for(var _e=0,Ee=le.statements;_e<Ee.length;_e++){var Te=Ee[_e];collectModuleReferences(Te,true)}}}}}}function collectDynamicImportOrRequireCalls(N){var j=/import|require/g;while(j.exec(N.text)!==null){var q=getNodeAtPosition(N,j.lastIndex);if(R&&E.isRequireCall(q,true)){$=E.append($,q.arguments[0])}else if(E.isImportCall(q)&&q.arguments.length===1&&E.isStringLiteralLike(q.arguments[0])){$=E.append($,q.arguments[0])}else if(E.isLiteralImportTypeNode(q)){$=E.append($,q.argument.literal)}}}function getNodeAtPosition(N,j){var $=N;var getContainingChild=function(E){if(E.pos<=j&&(j<E.end||j===E.end&&E.kind===1)){return E}};while(true){var q=R&&E.hasJSDocNodes($)&&E.forEach($.jsDoc,getContainingChild)||E.forEachChild($,getContainingChild);if(!q){return $}$=q}}}function getLibFileFromReference(N){var R=E.toFileNameLowerCase(N.fileName);var j=E.libMap.get(R);if(j){return getSourceFile(E.combinePaths(it,j))}}function getSourceFileFromReference(E,N){return getSourceFileFromReferenceWorker(resolveTripleslashReference(N.fileName,E.fileName),getSourceFile)}function getSourceFileFromReferenceWorker(N,R,j,$){if(E.hasExtension(N)){var q=et.getCanonicalFileName(N);if(!Ee.allowNonTsExtensions&&!E.forEach(ut,(function(N){return E.fileExtensionIs(q,N)}))){if(j){if(E.hasJSFileExtension(q)){j(E.Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,N)}else{j(E.Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,N,"'"+ct.join("', '")+"'")}}return undefined}var G=R(N);if(j){if(!G){var ie=getProjectReferenceRedirect(N);if(ie){j(E.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,ie,N)}else{j(E.Diagnostics.File_0_not_found,N)}}else if(isReferencedFile($)&&q===et.getCanonicalFileName(getSourceFileByPath($.file).fileName)){j(E.Diagnostics.A_file_cannot_have_a_reference_to_itself)}}return G}else{var ae=Ee.allowNonTsExtensions&&R(N);if(ae)return ae;if(j&&Ee.allowNonTsExtensions){j(E.Diagnostics.File_0_not_found,N);return undefined}var ce=E.forEach(ct,(function(E){return R(N+E)}));if(j&&!ce)j(E.Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,N,"'"+ct.join("', '")+"'");return ce}}function processSourceFile(E,N,R,j,$){getSourceFileFromReferenceWorker(E,(function(E){return findSourceFile(E,toPath(E),N,R,$,j)}),(function(E){var N=[];for(var R=1;R<arguments.length;R++){N[R-1]=arguments[R]}return addFilePreprocessingFileExplainingDiagnostic(undefined,$,E,N)}),$)}function processProjectReferenceFile(E,N){return processSourceFile(E,false,false,undefined,N)}function reportFileNamesDifferOnlyInCasingError(N,R,j){var $=!isReferencedFile(j)&&E.some(Ve.get(R.path),isReferencedFile);if($){addFilePreprocessingFileExplainingDiagnostic(R,j,E.Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[R.fileName,N])}else{addFilePreprocessingFileExplainingDiagnostic(R,j,E.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[N,R.fileName])}}function createRedirectSourceFile(E,N,R,j,$,q){var G=Object.create(E);G.fileName=R;G.path=j;G.resolvedPath=$;G.originalFileName=q;G.redirectInfo={redirectTarget:E,unredirected:N};Ze.set(j,Xe>0);Object.defineProperties(G,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(E){this.redirectInfo.redirectTarget.id=E}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(E){this.redirectInfo.redirectTarget.symbol=E}}});return G}function findSourceFile(N,R,j,$,q,G){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","findSourceFile",{fileName:N,isDefaultLib:j||undefined,fileIncludeKind:E.FileIncludeKind[q.kind]});var ie=findSourceFileWorker(N,R,j,$,q,G);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return ie}function findSourceFileWorker(N,R,j,$,q,G){if(Pt){var ie=getSourceOfProjectReferenceRedirect(N);if(!ie&&et.realpath&&Ee.preserveSymlinks&&E.isDeclarationFileName(N)&&E.stringContains(N,E.nodeModulesPathPart)){var ae=et.realpath(N);if(ae!==N)ie=getSourceOfProjectReferenceRedirect(ae)}if(ie){var ce=E.isString(ie)?findSourceFile(ie,toPath(ie),j,$,q,G):undefined;if(ce)addFileToFilesByName(ce,R,undefined);return ce}}var le=N;if(Et.has(R)){var _e=Et.get(R);addFileIncludeReason(_e||undefined,q);if(_e&&Ee.forceConsistentCasingInFileNames){var Te=_e.fileName;var we=toPath(Te)!==toPath(N);if(we){N=getProjectReferenceRedirect(N)||N}var Ie=E.getNormalizedAbsolutePathWithoutRoot(Te,st);var Le=E.getNormalizedAbsolutePathWithoutRoot(N,st);if(Ie!==Le){reportFileNamesDifferOnlyInCasingError(N,_e,q)}}if(_e&&Ze.get(_e.path)&&Xe===0){Ze.set(_e.path,false);if(!Ee.noResolve){processReferencedFiles(_e,j);processTypeReferenceDirectives(_e)}if(!Ee.noLib){processLibReferenceDirectives(_e)}Ye.set(_e.path,false);processImportedModules(_e)}else if(_e&&Ye.get(_e.path)){if(Xe<Qe){Ye.set(_e.path,false);processImportedModules(_e)}}return _e||undefined}var Be;if(isReferencedFile(q)&&!Pt){var je=getProjectReferenceRedirectProject(N);if(je){if(E.outFile(je.commandLine.options)){return undefined}var Ue=getProjectReferenceOutputName(je,N);N=Ue;Be=toPath(Ue)}}var ze=et.getSourceFile(N,Ee.target,(function(R){return addFilePreprocessingFileExplainingDiagnostic(undefined,q,E.Diagnostics.Cannot_read_file_0_Colon_1,[N,R])}),Mt);if(G){var We=E.packageIdToString(G);var Je=vt.get(We);if(Je){var Ve=createRedirectSourceFile(Je,ze,N,R,toPath(N),le);xt.add(Je.path,N);addFileToFilesByName(Ve,R,Be);addFileIncludeReason(Ve,q);bt.set(R,G.name);Me.push(Ve);return Ve}else if(ze){vt.set(We,ze);bt.set(R,G.name)}}addFileToFilesByName(ze,R,Be);if(ze){Ze.set(R,Xe>0);ze.fileName=N;ze.path=R;ze.resolvedPath=toPath(N);ze.originalFileName=le;addFileIncludeReason(ze,q);if(et.useCaseSensitiveFileNames()){var qe=E.toFileNameLowerCase(R);var He=kt.get(qe);if(He){reportFileNamesDifferOnlyInCasingError(N,He,q)}else{kt.set(qe,ze)}}rt=rt||ze.hasNoDefaultLib&&!$;if(!Ee.noResolve){processReferencedFiles(ze,j);processTypeReferenceDirectives(ze)}if(!Ee.noLib){processLibReferenceDirectives(ze)}processImportedModules(ze);if(j){Ne.push(ze)}else{Me.push(ze)}}return ze}function addFileIncludeReason(E,N){if(E)Ve.add(E.path,N)}function addFileToFilesByName(E,N,R){if(R){Et.set(R,E);Et.set(N,E||false)}else{Et.set(N,E)}}function getProjectReferenceRedirect(E){var N=getProjectReferenceRedirectProject(E);return N&&getProjectReferenceOutputName(N,E)}function getProjectReferenceRedirectProject(N){if(!Ct||!Ct.length||E.fileExtensionIs(N,".d.ts")||E.fileExtensionIs(N,".json")){return undefined}return getResolvedProjectReferenceToRedirect(N)}function getProjectReferenceOutputName(N,R){var j=E.outFile(N.commandLine.options);return j?E.changeExtension(j,".d.ts"):E.getOutputDeclarationFileName(R,N.commandLine,!et.useCaseSensitiveFileNames())}function getResolvedProjectReferenceToRedirect(N){if(At===undefined){At=new E.Map;forEachResolvedProjectReference((function(E){if(toPath(Ee.configFilePath)!==E.sourceFile.path){E.commandLine.fileNames.forEach((function(N){return At.set(toPath(N),E.sourceFile.path)}))}}))}var R=At.get(toPath(N));return R&&getResolvedProjectReferenceByPath(R)}function forEachResolvedProjectReference(N){return E.forEachResolvedProjectReference(Ct,N)}function getSourceOfProjectReferenceRedirect(N){if(!E.isDeclarationFileName(N))return undefined;if(wt===undefined){wt=new E.Map;forEachResolvedProjectReference((function(N){var R=E.outFile(N.commandLine.options);if(R){var j=E.changeExtension(R,".d.ts");wt.set(toPath(j),true)}else{var $=E.memoize((function(){return E.getCommonSourceDirectoryOfConfig(N.commandLine,!et.useCaseSensitiveFileNames())}));E.forEach(N.commandLine.fileNames,(function(R){if(!E.fileExtensionIs(R,".d.ts")&&!E.fileExtensionIs(R,".json")){var j=E.getOutputDeclarationFileName(R,N.commandLine,!et.useCaseSensitiveFileNames(),$);wt.set(toPath(j),R)}}))}}))}return wt.get(toPath(N))}function isSourceOfProjectReferenceRedirect(E){return Pt&&!!getResolvedProjectReferenceToRedirect(E)}function getResolvedProjectReferenceByPath(E){if(!Dt){return undefined}return Dt.get(E)||undefined}function processReferencedFiles(N,R){E.forEach(N.referencedFiles,(function(j,$){processSourceFile(resolveTripleslashReference(j.fileName,N.fileName),R,false,undefined,{kind:E.FileIncludeKind.ReferenceFile,file:N.path,index:$})}))}function processTypeReferenceDirectives(N){var R=E.map(N.typeReferenceDirectives,(function(N){return E.toFileNameLowerCase(N.fileName)}));if(!R){return}var j=resolveTypeReferenceDirectiveNamesWorker(R,N);for(var $=0;$<R.length;$++){var q=N.typeReferenceDirectives[$];var G=j[$];var ie=E.toFileNameLowerCase(q.fileName);E.setResolvedTypeReferenceDirective(N,ie,G);processTypeReferenceDirective(ie,G,{kind:E.FileIncludeKind.TypeReferenceDirective,file:N.path,index:$})}}function processTypeReferenceDirective(N,R,j){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","processTypeReferenceDirective",{directive:N,hasResolved:!!resolveModuleNamesReusingOldState,refKind:j.kind,refPath:isReferencedFile(j)?j.file:undefined});processTypeReferenceDirectiveWorker(N,R,j);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function processTypeReferenceDirectiveWorker(N,R,j){var $=Ge.get(N);if($&&$.primary){return}var q=true;if(R){if(R.isExternalLibraryImport)Xe++;if(R.primary){processSourceFile(R.resolvedFileName,false,false,R.packageId,j)}else{if($){if(R.resolvedFileName!==$.resolvedFileName){var G=et.readFile(R.resolvedFileName);var ie=getSourceFile($.resolvedFileName);if(G!==ie.text){addFilePreprocessingFileExplainingDiagnostic(ie,j,E.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[N,R.resolvedFileName,$.resolvedFileName])}}q=false}else{processSourceFile(R.resolvedFileName,false,false,R.packageId,j)}}if(R.isExternalLibraryImport)Xe--}else{addFilePreprocessingFileExplainingDiagnostic(undefined,j,E.Diagnostics.Cannot_find_type_definition_file_for_0,[N])}if(q){Ge.set(N,R)}}function processLibReferenceDirectives(N){E.forEach(N.libReferenceDirectives,(function(R,j){var $=E.toFileNameLowerCase(R.fileName);var q=E.libMap.get($);if(q){processRootFile(E.combinePaths(it,q),true,true,{kind:E.FileIncludeKind.LibReferenceDirective,file:N.path,index:j})}else{var G=E.removeSuffix(E.removePrefix($,"lib."),".d.ts");var ie=E.getSpellingSuggestion(G,E.libs,E.identity);var ae=ie?E.Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1:E.Diagnostics.Cannot_find_lib_definition_for_0;(Ke||(Ke=[])).push({kind:0,reason:{kind:E.FileIncludeKind.LibReferenceDirective,file:N.path,index:j},diagnostic:ae,args:[$,ie]})}}))}function getCanonicalFileName(E){return et.getCanonicalFileName(E)}function processImportedModules(N){var R;collectExternalModuleReferences(N);if(N.imports.length||N.moduleAugmentations.length){var j=getModuleNames(N);var $=resolveModuleNamesReusingOldState(j,N);E.Debug.assert($.length===j.length);var q=(Pt?(R=getRedirectReferenceForResolution(N))===null||R===void 0?void 0:R.commandLine.options:undefined)||Ee;for(var G=0;G<j.length;G++){var ie=$[G];E.setResolvedModule(N,j[G],ie);if(!ie){continue}var ae=ie.isExternalLibraryImport;var ce=!E.resolutionExtensionIsTSOrJson(ie.extension);var le=ae&&ce;var _e=ie.resolvedFileName;if(ae){Xe++}var Te=le&&Xe>Qe;var we=_e&&!getResolutionDiagnostic(q,ie)&&!q.noResolve&&G<N.imports.length&&!Te&&!(ce&&!E.getAllowJSCompilerOption(q))&&(E.isInJSFile(N.imports[G])||!(N.imports[G].flags&4194304));if(Te){Ye.set(N.path,true)}else if(we){var Ie=toPath(_e);findSourceFile(_e,Ie,false,false,{kind:E.FileIncludeKind.Import,file:N.path,index:G},ie.packageId)}if(ae){Xe--}}}else{N.resolvedModules=undefined}}function checkSourceFilesBelongToPath(N,R){var j=true;var $=et.getCanonicalFileName(E.getNormalizedAbsolutePath(R,st));for(var q=0,G=N;q<G.length;q++){var ie=G[q];if(!ie.isDeclarationFile){var ae=et.getCanonicalFileName(E.getNormalizedAbsolutePath(ie.fileName,st));if(ae.indexOf($)!==0){addProgramDiagnosticExplainingFile(ie,E.Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[ie.fileName,R]);j=false}}}return j}function parseProjectReferenceConfigFile(N){if(!Dt){Dt=new E.Map}var R=resolveProjectReferencePath(N);var j=toPath(R);var $=Dt.get(j);if($!==undefined){return $||undefined}var q;var G;if(et.getParsedCommandLine){q=et.getParsedCommandLine(R);if(!q){addFileToFilesByName(undefined,j,undefined);Dt.set(j,false);return undefined}G=E.Debug.checkDefined(q.options.configFile);E.Debug.assert(!G.path||G.path===j);addFileToFilesByName(G,j,undefined)}else{var ie=E.getNormalizedAbsolutePath(E.getDirectoryPath(R),et.getCurrentDirectory());G=et.getSourceFile(R,100);addFileToFilesByName(G,j,undefined);if(G===undefined){Dt.set(j,false);return undefined}q=E.parseJsonSourceFileConfigFileContent(G,tt,ie,undefined,R)}G.fileName=R;G.path=j;G.resolvedPath=j;G.originalFileName=R;var ae={commandLine:q,sourceFile:G};Dt.set(j,ae);if(q.projectReferences){ae.references=q.projectReferences.map(parseProjectReferenceConfigFile)}return ae}function verifyCompilerOptions(){if(Ee.strictPropertyInitialization&&!E.getStrictOptionValue(Ee,"strictNullChecks")){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks")}if(Ee.exactOptionalPropertyTypes&&!E.getStrictOptionValue(Ee,"strictNullChecks")){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks")}if(Ee.isolatedModules){if(Ee.out){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules")}if(Ee.outFile){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules")}}if(Ee.inlineSourceMap){if(Ee.sourceMap){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap")}if(Ee.mapRoot){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")}}if(Ee.composite){if(Ee.declaration===false){createDiagnosticForOptionName(E.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration")}if(Ee.incremental===false){createDiagnosticForOptionName(E.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,"declaration")}}var N=E.outFile(Ee);if(Ee.tsBuildInfoFile){if(!E.isIncrementalCompilation(Ee)){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite")}}else if(Ee.incremental&&!N&&!Ee.configFilePath){ot.add(E.createCompilerDiagnostic(E.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified))}verifyProjectReferences();if(Ee.composite){var R=new E.Set(_e.map(toPath));for(var j=0,$=Le;j<$.length;j++){var q=$[j];if(E.sourceFileMayBeEmitted(q,Gt)&&!R.has(q.path)){addProgramDiagnosticExplainingFile(q,E.Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[q.fileName,Ee.configFilePath||""])}}}if(Ee.paths){for(var G in Ee.paths){if(!E.hasProperty(Ee.paths,G)){continue}if(!E.hasZeroOrOneAsteriskCharacter(G)){createDiagnosticForOptionPaths(true,G,E.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,G)}if(E.isArray(Ee.paths[G])){var ie=Ee.paths[G].length;if(ie===0){createDiagnosticForOptionPaths(false,G,E.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,G)}for(var ae=0;ae<ie;ae++){var ce=Ee.paths[G][ae];var le=typeof ce;if(le==="string"){if(!E.hasZeroOrOneAsteriskCharacter(ce)){createDiagnosticForOptionPathKeyValue(G,ae,E.Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,ce,G)}if(!Ee.baseUrl&&!E.pathIsRelative(ce)&&!E.pathIsAbsolute(ce)){createDiagnosticForOptionPathKeyValue(G,ae,E.Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)}}else{createDiagnosticForOptionPathKeyValue(G,ae,E.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,ce,G,le)}}}else{createDiagnosticForOptionPaths(false,G,E.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,G)}}}if(!Ee.sourceMap&&!Ee.inlineSourceMap){if(Ee.inlineSources){createDiagnosticForOptionName(E.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources")}if(Ee.sourceRoot){createDiagnosticForOptionName(E.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")}}if(Ee.out&&Ee.outFile){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","outFile")}if(Ee.mapRoot&&!(Ee.sourceMap||Ee.declarationMap)){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap")}if(Ee.declarationDir){if(!E.getEmitDeclarations(Ee)){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite")}if(N){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"declarationDir",Ee.out?"out":"outFile")}}if(Ee.declarationMap&&!E.getEmitDeclarations(Ee)){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite")}if(Ee.lib&&Ee.noLib){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"lib","noLib")}if(Ee.noImplicitUseStrict&&E.getStrictOptionValue(Ee,"alwaysStrict")){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict")}var Te=Ee.target||0;var we=E.find(Le,(function(N){return E.isExternalModule(N)&&!N.isDeclarationFile}));if(Ee.isolatedModules){if(Ee.module===E.ModuleKind.None&&Te<2){createDiagnosticForOptionName(E.Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target")}if(Ee.preserveConstEnums===false){createDiagnosticForOptionName(E.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled,"preserveConstEnums","isolatedModules")}var Ie=E.find(Le,(function(N){return!E.isExternalModule(N)&&!E.isSourceFileJS(N)&&!N.isDeclarationFile&&N.scriptKind!==6}));if(Ie){var Ne=E.getErrorSpanForNode(Ie,Ie);ot.add(E.createFileDiagnostic(Ie,Ne.start,Ne.length,E.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module,E.getBaseFileName(Ie.fileName)))}}else if(we&&Te<2&&Ee.module===E.ModuleKind.None){var Ne=E.getErrorSpanForNode(we,we.externalModuleIndicator);ot.add(E.createFileDiagnostic(we,Ne.start,Ne.length,E.Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(N&&!Ee.emitDeclarationOnly){if(Ee.module&&!(Ee.module===E.ModuleKind.AMD||Ee.module===E.ModuleKind.System)){createDiagnosticForOptionName(E.Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0,Ee.out?"out":"outFile","module")}else if(Ee.module===undefined&&we){var Ne=E.getErrorSpanForNode(we,we.externalModuleIndicator);ot.add(E.createFileDiagnostic(we,Ne.start,Ne.length,E.Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,Ee.out?"out":"outFile"))}}if(Ee.resolveJsonModule){if(E.getEmitModuleResolutionKind(Ee)!==E.ModuleResolutionKind.NodeJs){createDiagnosticForOptionName(E.Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy,"resolveJsonModule")}else if(!E.hasJsonModuleEmitEnabled(Ee)){createDiagnosticForOptionName(E.Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")}}if(Ee.outDir||Ee.rootDir||Ee.sourceRoot||Ee.mapRoot){var Me=getCommonSourceDirectory();if(Ee.outDir&&Me===""&&Le.some((function(N){return E.getRootLength(N.fileName)>1}))){createDiagnosticForOptionName(E.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}}if(Ee.useDefineForClassFields&&Te===0){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields")}if(Ee.checkJs&&!E.getAllowJSCompilerOption(Ee)){ot.add(E.createCompilerDiagnostic(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"))}if(Ee.emitDeclarationOnly){if(!E.getEmitDeclarations(Ee)){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite")}if(Ee.noEmit){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")}}if(Ee.emitDecoratorMetadata&&!Ee.experimentalDecorators){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators")}if(Ee.jsxFactory){if(Ee.reactNamespace){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory")}if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",E.inverseJsxOptionMap.get(""+Ee.jsx))}if(!E.parseIsolatedEntityName(Ee.jsxFactory,Te)){createOptionValueDiagnostic("jsxFactory",E.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,Ee.jsxFactory)}}else if(Ee.reactNamespace&&!E.isIdentifierText(Ee.reactNamespace,Te)){createOptionValueDiagnostic("reactNamespace",E.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,Ee.reactNamespace)}if(Ee.jsxFragmentFactory){if(!Ee.jsxFactory){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory")}if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",E.inverseJsxOptionMap.get(""+Ee.jsx))}if(!E.parseIsolatedEntityName(Ee.jsxFragmentFactory,Te)){createOptionValueDiagnostic("jsxFragmentFactory",E.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,Ee.jsxFragmentFactory)}}if(Ee.reactNamespace){if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",E.inverseJsxOptionMap.get(""+Ee.jsx))}}if(Ee.jsxImportSource){if(Ee.jsx===2){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",E.inverseJsxOptionMap.get(""+Ee.jsx))}}if(!Ee.noEmit&&!Ee.suppressOutputPathCheck){var Be=getEmitHost();var je=new E.Set;E.forEachEmittedFile(Be,(function(E){if(!Ee.emitDeclarationOnly){verifyEmitFilePath(E.jsFilePath,je)}verifyEmitFilePath(E.declarationFilePath,je)}))}function verifyEmitFilePath(N,R){if(N){var j=toPath(N);if(Et.has(j)){var $=void 0;if(!Ee.configFilePath){$=E.chainDiagnosticMessages(undefined,E.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)}$=E.chainDiagnosticMessages($,E.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,N);blockEmittingOfFile(N,E.createCompilerDiagnosticFromMessageChain($))}var q=!et.useCaseSensitiveFileNames()?E.toFileNameLowerCase(j):j;if(R.has(q)){blockEmittingOfFile(N,E.createCompilerDiagnostic(E.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,N))}else{R.add(q)}}}}function createDiagnosticExplainingFile(N,R,$,q){var G;var ie;var ae;var ce=isReferencedFile(R)?R:undefined;if(N)(G=Ve.get(N.path))===null||G===void 0?void 0:G.forEach(processReason);if(R)processReason(R);if(ce&&(ie===null||ie===void 0?void 0:ie.length)===1)ie=undefined;var le=ce&&getReferencedFileLocation(getSourceFileByPath,ce);var _e=ie&&E.chainDiagnosticMessages(ie,E.Diagnostics.The_file_is_in_the_program_because_Colon);var Ee=N&&E.explainIfFileIsRedirect(N);var Te=E.chainDiagnosticMessages.apply(void 0,j([Ee?_e?j([_e],Ee,true):Ee:_e,$],q||E.emptyArray,false));return le&&isReferenceFileLocation(le)?E.createFileDiagnosticFromMessageChain(le.file,le.pos,le.end-le.pos,Te,ae):E.createCompilerDiagnosticFromMessageChain(Te,ae);function processReason(N){(ie||(ie=[])).push(E.fileIncludeReasonToDiagnostics(Gt,N));if(!ce&&isReferencedFile(N)){ce=N}else if(ce!==N){ae=E.append(ae,fileIncludeReasonToRelatedInformation(N))}if(N===R)R=undefined}}function addFilePreprocessingFileExplainingDiagnostic(E,N,R,j){(Ke||(Ke=[])).push({kind:1,file:E&&E.path,fileProcessingReason:N,diagnostic:R,args:j})}function addProgramDiagnosticExplainingFile(E,N,R){ot.add(createDiagnosticExplainingFile(E,undefined,N,R))}function fileIncludeReasonToRelatedInformation(N){if(isReferencedFile(N)){var R=getReferencedFileLocation(getSourceFileByPath,N);var j;switch(N.kind){case E.FileIncludeKind.Import:j=E.Diagnostics.File_is_included_via_import_here;break;case E.FileIncludeKind.ReferenceFile:j=E.Diagnostics.File_is_included_via_reference_here;break;case E.FileIncludeKind.TypeReferenceDirective:j=E.Diagnostics.File_is_included_via_type_library_reference_here;break;case E.FileIncludeKind.LibReferenceDirective:j=E.Diagnostics.File_is_included_via_library_reference_here;break;default:E.Debug.assertNever(N)}return isReferenceFileLocation(R)?E.createFileDiagnostic(R.file,R.pos,R.end-R.pos,j):undefined}if(!Ee.configFile)return undefined;var $;var q;switch(N.kind){case E.FileIncludeKind.RootFile:if(!Ee.configFile.configFileSpecs)return undefined;var G=E.getNormalizedAbsolutePath(_e[N.index],st);var ie=E.getMatchedFileSpec(Gt,G);if(ie){$=E.getTsConfigPropArrayElementValue(Ee.configFile,"files",ie);q=E.Diagnostics.File_is_matched_by_files_list_specified_here;break}var ae=E.getMatchedIncludeSpec(Gt,G);if(!ae)return undefined;$=E.getTsConfigPropArrayElementValue(Ee.configFile,"include",ae);q=E.Diagnostics.File_is_matched_by_include_pattern_specified_here;break;case E.FileIncludeKind.SourceFromProjectReference:case E.FileIncludeKind.OutputFromProjectReference:var ce=E.Debug.checkDefined(Ct===null||Ct===void 0?void 0:Ct[N.index]);var le=forEachProjectReference(we,Ct,(function(E,N,R){return E===ce?{sourceFile:(N===null||N===void 0?void 0:N.sourceFile)||Ee.configFile,index:R}:undefined}));if(!le)return undefined;var Te=le.sourceFile,Ie=le.index;var Ne=E.firstDefined(E.getTsConfigPropArray(Te,"references"),(function(N){return E.isArrayLiteralExpression(N.initializer)?N.initializer:undefined}));return Ne&&Ne.elements.length>Ie?E.createDiagnosticForNodeInSourceFile(Te,Ne.elements[Ie],N.kind===E.FileIncludeKind.OutputFromProjectReference?E.Diagnostics.File_is_output_from_referenced_project_specified_here:E.Diagnostics.File_is_source_from_referenced_project_specified_here):undefined;case E.FileIncludeKind.AutomaticTypeDirectiveFile:if(!Ee.types)return undefined;$=getOptionsSyntaxByArrayElementValue("types",N.typeReference);q=E.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case E.FileIncludeKind.LibFile:if(N.index!==undefined){$=getOptionsSyntaxByArrayElementValue("lib",Ee.lib[N.index]);q=E.Diagnostics.File_is_library_specified_here;break}var Me=E.forEachEntry(E.targetOptionDeclaration.type,(function(E,N){return E===Ee.target?N:undefined}));$=Me?getOptionsSyntaxByValue("target",Me):undefined;q=E.Diagnostics.File_is_default_library_for_target_specified_here;break;default:E.Debug.assertNever(N)}return $&&E.createDiagnosticForNodeInSourceFile(Ee.configFile,$,q)}function verifyProjectReferences(){var N=!Ee.suppressOutputPathCheck?E.getTsBuildInfoEmitOutputFilePath(Ee):undefined;forEachProjectReference(we,Ct,(function(R,j,$){var q=(j?j.commandLine.projectReferences:we)[$];var G=j&&j.sourceFile;if(!R){createDiagnosticForReference(G,$,E.Diagnostics.File_0_not_found,q.path);return}var ie=R.commandLine.options;if(!ie.composite||ie.noEmit){var ae=j?j.commandLine.fileNames:_e;if(ae.length){if(!ie.composite)createDiagnosticForReference(G,$,E.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,q.path);if(ie.noEmit)createDiagnosticForReference(G,$,E.Diagnostics.Referenced_project_0_may_not_disable_emit,q.path)}}if(q.prepend){var ce=E.outFile(ie);if(ce){if(!et.fileExists(ce)){createDiagnosticForReference(G,$,E.Diagnostics.Output_file_0_from_project_1_does_not_exist,ce,q.path)}}else{createDiagnosticForReference(G,$,E.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,q.path)}}if(!j&&N&&N===E.getTsBuildInfoEmitOutputFilePath(ie)){createDiagnosticForReference(G,$,E.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,N,q.path);dt.set(toPath(N),true)}}))}function createDiagnosticForOptionPathKeyValue(N,R,j,$,q,G){var ie=true;var ae=getOptionPathsSyntax();for(var ce=0,le=ae;ce<le.length;ce++){var _e=le[ce];if(E.isObjectLiteralExpression(_e.initializer)){for(var Te=0,we=E.getPropertyAssignment(_e.initializer,N);Te<we.length;Te++){var Ie=we[Te];var Ne=Ie.initializer;if(E.isArrayLiteralExpression(Ne)&&Ne.elements.length>R){ot.add(E.createDiagnosticForNodeInSourceFile(Ee.configFile,Ne.elements[R],j,$,q,G));ie=false}}}}if(ie){ot.add(E.createCompilerDiagnostic(j,$,q,G))}}function createDiagnosticForOptionPaths(N,R,j,$){var q=true;var G=getOptionPathsSyntax();for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];if(E.isObjectLiteralExpression(ce.initializer)&&createOptionDiagnosticInObjectLiteralSyntax(ce.initializer,N,R,undefined,j,$)){q=false}}if(q){ot.add(E.createCompilerDiagnostic(j,$))}}function getOptionsSyntaxByName(N){var R=getCompilerOptionsObjectLiteralSyntax();return R&&E.getPropertyAssignment(R,N)}function getOptionPathsSyntax(){return getOptionsSyntaxByName("paths")||E.emptyArray}function getOptionsSyntaxByValue(N,R){var j=getOptionsSyntaxByName(N);return j&&E.firstDefined(j,(function(N){return E.isStringLiteral(N.initializer)&&N.initializer.text===R?N.initializer:undefined}))}function getOptionsSyntaxByArrayElementValue(N,R){var j=getCompilerOptionsObjectLiteralSyntax();return j&&E.getPropertyArrayElementValue(j,N,R)}function createDiagnosticForOptionName(E,N,R,j){createDiagnosticForOption(true,N,R,E,N,R,j)}function createOptionValueDiagnostic(E,N,R){createDiagnosticForOption(false,E,undefined,N,R)}function createDiagnosticForReference(N,R,j,$,q){var G=E.firstDefined(E.getTsConfigPropArray(N||Ee.configFile,"references"),(function(N){return E.isArrayLiteralExpression(N.initializer)?N.initializer:undefined}));if(G&&G.elements.length>R){ot.add(E.createDiagnosticForNodeInSourceFile(N||Ee.configFile,G.elements[R],j,$,q))}else{ot.add(E.createCompilerDiagnostic(j,$,q))}}function createDiagnosticForOption(N,R,j,$,q,G,ie){var ae=getCompilerOptionsObjectLiteralSyntax();var ce=!ae||!createOptionDiagnosticInObjectLiteralSyntax(ae,N,R,j,$,q,G,ie);if(ce){ot.add(E.createCompilerDiagnostic($,q,G,ie))}}function getCompilerOptionsObjectLiteralSyntax(){if(pt===undefined){pt=false;var N=E.getTsConfigObjectLiteralExpression(Ee.configFile);if(N){for(var R=0,j=E.getPropertyAssignment(N,"compilerOptions");R<j.length;R++){var $=j[R];if(E.isObjectLiteralExpression($.initializer)){pt=$.initializer;break}}}}return pt||undefined}function createOptionDiagnosticInObjectLiteralSyntax(N,R,j,$,q,G,ie,ae){var ce=E.getPropertyAssignment(N,j,$);for(var le=0,_e=ce;le<_e.length;le++){var Te=_e[le];ot.add(E.createDiagnosticForNodeInSourceFile(Ee.configFile,R?Te.name:Te.initializer,q,G,ie,ae))}return!!ce.length}function blockEmittingOfFile(E,N){dt.set(toPath(E),true);ot.add(N)}function isEmittedFile(N){if(Ee.noEmit){return false}var R=toPath(N);if(getSourceFileByPath(R)){return false}var j=E.outFile(Ee);if(j){return isSameFile(R,j)||isSameFile(R,E.removeFileExtension(j)+".d.ts")}if(Ee.declarationDir&&E.containsPath(Ee.declarationDir,R,st,!et.useCaseSensitiveFileNames())){return true}if(Ee.outDir){return E.containsPath(Ee.outDir,R,st,!et.useCaseSensitiveFileNames())}if(E.fileExtensionIsOneOf(R,E.supportedJSExtensions)||E.fileExtensionIs(R,".d.ts")){var $=E.removeFileExtension(R);return!!getSourceFileByPath($+".ts")||!!getSourceFileByPath($+".tsx")}return false}function isSameFile(N,R){return E.comparePaths(N,R,st,!et.useCaseSensitiveFileNames())===0}function getSymlinkCache(){if(et.getSymlinkCache){return et.getSymlinkCache()}if(!Be){Be=E.createSymlinkCache(st,getCanonicalFileName)}if(Le&&Ge&&!Be.hasProcessedResolutions()){Be.setSymlinksFromResolutions(Le,Ge)}return Be}}E.createProgram=createProgram;function updateHostForUseSourceOfProjectReferenceRedirect(N){var R;var j=N.compilerHost.fileExists;var $=N.compilerHost.directoryExists;var q=N.compilerHost.getDirectories;var G=N.compilerHost.realpath;if(!N.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:E.noop,fileExists:fileExists};N.compilerHost.fileExists=fileExists;var ie;if($){ie=N.compilerHost.directoryExists=function(j){if($.call(N.compilerHost,j)){handleDirectoryCouldBeSymlink(j);return true}if(!N.getResolvedProjectReferences())return false;if(!R){R=new E.Set;N.forEachResolvedProjectReference((function(j){var $=E.outFile(j.commandLine.options);if($){R.add(E.getDirectoryPath(N.toPath($)))}else{var q=j.commandLine.options.declarationDir||j.commandLine.options.outDir;if(q){R.add(N.toPath(q))}}}))}return fileOrDirectoryExistsUsingSource(j,false)}}if(q){N.compilerHost.getDirectories=function(E){return!N.getResolvedProjectReferences()||$&&$.call(N.compilerHost,E)?q.call(N.compilerHost,E):[]}}if(G){N.compilerHost.realpath=function(E){var R;return((R=N.getSymlinkCache().getSymlinkedFiles())===null||R===void 0?void 0:R.get(N.toPath(E)))||G.call(N.compilerHost,E)}}return{onProgramCreateComplete:onProgramCreateComplete,fileExists:fileExists,directoryExists:ie};function onProgramCreateComplete(){N.compilerHost.fileExists=j;N.compilerHost.directoryExists=$;N.compilerHost.getDirectories=q}function fileExists(R){if(j.call(N.compilerHost,R))return true;if(!N.getResolvedProjectReferences())return false;if(!E.isDeclarationFileName(R))return false;return fileOrDirectoryExistsUsingSource(R,true)}function fileExistsIfProjectReferenceDts(R){var $=N.getSourceOfProjectReferenceRedirect(R);return $!==undefined?E.isString($)?j.call(N.compilerHost,$):true:undefined}function directoryExistsIfProjectReferenceDeclDir(j){var $=N.toPath(j);var q=""+$+E.directorySeparator;return E.forEachKey(R,(function(N){return $===N||E.startsWith(N,q)||E.startsWith($,N+"/")}))}function handleDirectoryCouldBeSymlink(R){var j;if(!N.getResolvedProjectReferences()||E.containsIgnoredPath(R))return;if(!G||!E.stringContains(R,E.nodeModulesPathPart))return;var $=N.getSymlinkCache();var q=E.ensureTrailingDirectorySeparator(N.toPath(R));if((j=$.getSymlinkedDirectories())===null||j===void 0?void 0:j.has(q))return;var ie=E.normalizePath(G.call(N.compilerHost,R));var ae;if(ie===R||(ae=E.ensureTrailingDirectorySeparator(N.toPath(ie)))===q){$.setSymlinkedDirectory(q,false);return}$.setSymlinkedDirectory(R,{real:E.ensureTrailingDirectorySeparator(ie),realPath:ae})}function fileOrDirectoryExistsUsingSource(R,j){var $;var q=j?function(E){return fileExistsIfProjectReferenceDts(E)}:function(E){return directoryExistsIfProjectReferenceDeclDir(E)};var G=q(R);if(G!==undefined)return G;var ie=N.getSymlinkCache();var ae=ie.getSymlinkedDirectories();if(!ae)return false;var ce=N.toPath(R);if(!E.stringContains(ce,E.nodeModulesPathPart))return false;if(j&&(($=ie.getSymlinkedFiles())===null||$===void 0?void 0:$.has(ce)))return true;return E.firstDefinedIterator(ae.entries(),(function($){var G=$[0],ae=$[1];if(!ae||!E.startsWith(ce,G))return undefined;var le=q(ce.replace(G,ae.realPath));if(j&&le){var _e=E.getNormalizedAbsolutePath(R,N.compilerHost.getCurrentDirectory());ie.setSymlinkedFile(ce,""+ae.real+_e.replace(new RegExp(G,"i"),""))}return le}))||false}}E.emitSkippedWithNoDiagnostics={diagnostics:E.emptyArray,sourceMaps:undefined,emittedFiles:undefined,emitSkipped:true};function handleNoEmitOptions(N,R,$,q){var G=N.getCompilerOptions();if(G.noEmit){N.getSemanticDiagnostics(R,q);return R||E.outFile(G)?E.emitSkippedWithNoDiagnostics:N.emitBuildInfo($,q)}if(!G.noEmitOnError)return undefined;var ie=j(j(j(j([],N.getOptionsDiagnostics(q),true),N.getSyntacticDiagnostics(R,q),true),N.getGlobalDiagnostics(q),true),N.getSemanticDiagnostics(R,q),true);if(ie.length===0&&E.getEmitDeclarations(N.getCompilerOptions())){ie=N.getDeclarationDiagnostics(undefined,q)}if(!ie.length)return undefined;var ae;if(!R&&!E.outFile(G)){var ce=N.emitBuildInfo($,q);if(ce.diagnostics)ie=j(j([],ie,true),ce.diagnostics,true);ae=ce.emittedFiles}return{diagnostics:ie,sourceMaps:undefined,emittedFiles:ae,emitSkipped:true}}E.handleNoEmitOptions=handleNoEmitOptions;function filterSemanticDiagnostics(N,R){return E.filter(N,(function(E){return!E.skippedOn||!R[E.skippedOn]}))}E.filterSemanticDiagnostics=filterSemanticDiagnostics;function parseConfigHostFromCompilerHostLike(N,R){if(R===void 0){R=N}return{fileExists:function(E){return R.fileExists(E)},readDirectory:function(N,j,$,q,G){E.Debug.assertIsDefined(R.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'");return R.readDirectory(N,j,$,q,G)},readFile:function(E){return R.readFile(E)},useCaseSensitiveFileNames:N.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return N.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:N.onUnRecoverableConfigFileDiagnostic||E.returnUndefined,trace:N.trace?function(E){return N.trace(E)}:undefined}}E.parseConfigHostFromCompilerHostLike=parseConfigHostFromCompilerHostLike;function createPrependNodes(N,R,j){if(!N)return E.emptyArray;var $;for(var q=0;q<N.length;q++){var G=N[q];var ie=R(G,q);if(G.prepend&&ie&&ie.options){var ae=E.outFile(ie.options);if(!ae)continue;var ce=E.getOutputPathsForBundle(ie.options,true),le=ce.jsFilePath,_e=ce.sourceMapFilePath,Ee=ce.declarationFilePath,Te=ce.declarationMapPath,we=ce.buildInfoPath;var Ie=E.createInputFiles(j,le,_e,Ee,Te,we);($||($=[])).push(Ie)}}return $||E.emptyArray}E.createPrependNodes=createPrependNodes;function resolveProjectReferencePath(N,R){var j=R?R:N;return E.resolveConfigFileProjectName(j.path)}E.resolveProjectReferencePath=resolveProjectReferencePath;function getResolutionDiagnostic(N,R){var j=R.extension;switch(j){case".ts":case".d.ts":return undefined;case".tsx":return needJsx();case".jsx":return needJsx()||needAllowJs();case".js":return needAllowJs();case".json":return needResolveJsonModule()}function needJsx(){return N.jsx?undefined:E.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function needAllowJs(){return E.getAllowJSCompilerOption(N)||!E.getStrictOptionValue(N,"noImplicitAny")?undefined:E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}function needResolveJsonModule(){return N.resolveJsonModule?undefined:E.Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used}}E.getResolutionDiagnostic=getResolutionDiagnostic;function getModuleNames(E){var N=E.imports,R=E.moduleAugmentations;var j=N.map((function(E){return E.text}));for(var $=0,q=R;$<q.length;$++){var G=q[$];if(G.kind===10){j.push(G.text)}}return j}function getModuleNameStringLiteralAt(N,R){var j=N.imports,$=N.moduleAugmentations;if(R<j.length)return j[R];var q=j.length;for(var G=0,ie=$;G<ie.length;G++){var ae=ie[G];if(ae.kind===10){if(R===q)return ae;q++}}E.Debug.fail("should never ask for module name at index higher than possible module name")}E.getModuleNameStringLiteralAt=getModuleNameStringLiteralAt})(ce||(ce={}));var ce;(function(E){function getFileEmitOutput(E,N,R,j,$,q){var G=[];var ie=E.emit(N,writeFile,j,R,$,q),ae=ie.emitSkipped,ce=ie.diagnostics,le=ie.exportedModulesFromDeclarationEmit;return{outputFiles:G,emitSkipped:ae,diagnostics:ce,exportedModulesFromDeclarationEmit:le};function writeFile(E,N,R){G.push({name:E,writeByteOrderMark:R,text:N})}}E.getFileEmitOutput=getFileEmitOutput;var N;(function(N){var R=0;function createManyToManyPathMap(){function create(N,j,$){var q=0;var G={id:R++,version:function(){return q},clone:function(){return create(new E.Map(N),new E.Map(j),$&&new E.Set($))},forEach:function(E){return N.forEach(E)},getKeys:function(E){return j.get(E)},getValues:function(E){return N.get(E)},hasKey:function(E){return N.has(E)},keys:function(){return N.keys()},deletedKeys:function(){return $},deleteKey:function(R){($||($=new E.Set)).add(R);var G=N.get(R);if(!G){return false}G.forEach((function(E){return deleteFromMultimap(j,E,R)}));N.delete(R);q++;return true},set:function(E,R){var ie=!!($===null||$===void 0?void 0:$.delete(E));var ae=N.get(E);N.set(E,R);ae===null||ae===void 0?void 0:ae.forEach((function(N){if(!R.has(N)){ie=true;deleteFromMultimap(j,N,E)}}));R.forEach((function(N){if(!(ae===null||ae===void 0?void 0:ae.has(N))){ie=true;addToMultimap(j,N,E)}}));if(ie){q++}return G}};return G}return create(new E.Map,new E.Map,undefined)}N.createManyToManyPathMap=createManyToManyPathMap;function addToMultimap(N,R,j){var $=N.get(R);if(!$){$=new E.Set;N.set(R,$)}$.add(j)}function deleteFromMultimap(E,N,R,j){if(j===void 0){j=true}var $=E.get(N);if($===null||$===void 0?void 0:$.delete(R)){if(j&&!$.size){E.delete(N)}return true}return false}function getReferencedFilesFromImportedModuleSymbol(N){return E.mapDefined(N.declarations,(function(N){var R;return(R=E.getSourceFileOfNode(N))===null||R===void 0?void 0:R.resolvedPath}))}function getReferencedFilesFromImportLiteral(E,N){var R=E.getSymbolAtLocation(N);return R&&getReferencedFilesFromImportedModuleSymbol(R)}function getReferencedFileFromFileName(N,R,j,$){return E.toPath(N.getProjectReferenceRedirect(R)||R,j,$)}function getReferencedFiles(N,R,j){var $;if(R.imports&&R.imports.length>0){var q=N.getTypeChecker();for(var G=0,ie=R.imports;G<ie.length;G++){var ae=ie[G];var ce=getReferencedFilesFromImportLiteral(q,ae);ce===null||ce===void 0?void 0:ce.forEach(addReferencedFile)}}var le=E.getDirectoryPath(R.resolvedPath);if(R.referencedFiles&&R.referencedFiles.length>0){for(var _e=0,Ee=R.referencedFiles;_e<Ee.length;_e++){var Te=Ee[_e];var we=getReferencedFileFromFileName(N,Te.fileName,le,j);addReferencedFile(we)}}if(R.resolvedTypeReferenceDirectiveNames){R.resolvedTypeReferenceDirectiveNames.forEach((function(E){if(!E){return}var R=E.resolvedFileName;var $=getReferencedFileFromFileName(N,R,le,j);addReferencedFile($)}))}if(R.moduleAugmentations.length){var q=N.getTypeChecker();for(var Ie=0,Ne=R.moduleAugmentations;Ie<Ne.length;Ie++){var Me=Ne[Ie];if(!E.isStringLiteral(Me)){continue}var Le=q.getSymbolAtLocation(Me);if(!Le){continue}addReferenceFromAmbientModule(Le)}}for(var Be=0,je=N.getTypeChecker().getAmbientModules();Be<je.length;Be++){var Ue=je[Be];if(Ue.declarations&&Ue.declarations.length>1){addReferenceFromAmbientModule(Ue)}}return $;function addReferenceFromAmbientModule(N){if(!N.declarations){return}for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];var G=E.getSourceFileOfNode(q);if(G&&G!==R){addReferencedFile(G.resolvedPath)}}}function addReferencedFile(N){($||($=new E.Set)).add(N)}}function canReuseOldState(E,N){return N&&!N.referencedMap===!E}N.canReuseOldState=canReuseOldState;function create(N,R,j,$){var q=new E.Map;var G=N.getCompilerOptions().module!==E.ModuleKind.None?createManyToManyPathMap():undefined;var ie=G?createManyToManyPathMap():undefined;var ae=new E.Set;var ce=canReuseOldState(G,j);N.getTypeChecker();for(var le=0,_e=N.getSourceFiles();le<_e.length;le++){var Ee=_e[le];var Te=E.Debug.checkDefined(Ee.version,"Program intended to be used with Builder should have source files with versions set");var we=ce?j.fileInfos.get(Ee.resolvedPath):undefined;if(G){var Ie=getReferencedFiles(N,Ee,R);if(Ie){G.set(Ee.resolvedPath,Ie)}if(ce){var Ne=j.exportedModulesMap.getValues(Ee.resolvedPath);if(Ne){ie.set(Ee.resolvedPath,Ne)}}}q.set(Ee.resolvedPath,{version:Te,signature:we&&we.signature,affectsGlobalScope:isFileAffectingGlobalScope(Ee)||undefined})}return{fileInfos:q,referencedMap:G,exportedModulesMap:ie,hasCalledUpdateShapeSignature:ae,useFileVersionAsSignature:!$&&!ce}}N.create=create;function releaseCache(E){E.allFilesExcludingDefaultLibraryFile=undefined;E.allFileNames=undefined}N.releaseCache=releaseCache;function clone(N){var R,j;return{fileInfos:new E.Map(N.fileInfos),referencedMap:(R=N.referencedMap)===null||R===void 0?void 0:R.clone(),exportedModulesMap:(j=N.exportedModulesMap)===null||j===void 0?void 0:j.clone(),hasCalledUpdateShapeSignature:new E.Set(N.hasCalledUpdateShapeSignature),useFileVersionAsSignature:N.useFileVersionAsSignature}}N.clone=clone;function getFilesAffectedBy(N,R,j,$,q,G,ie){var ae=G||new E.Map;var ce=R.getSourceFileByPath(j);if(!ce){return E.emptyArray}if(!updateShapeSignature(N,R,ce,ae,$,q,ie)){return[ce]}var le=(N.referencedMap?getFilesAffectedByUpdatedShapeWhenModuleEmit:getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(N,R,ce,ae,$,q,ie);if(!G){updateSignaturesFromCache(N,ae)}return le}N.getFilesAffectedBy=getFilesAffectedBy;function updateSignaturesFromCache(E,N){N.forEach((function(N,R){return updateSignatureOfFile(E,N,R)}))}N.updateSignaturesFromCache=updateSignaturesFromCache;function updateSignatureOfFile(E,N,R){E.fileInfos.get(R).signature=N;E.hasCalledUpdateShapeSignature.add(R)}N.updateSignatureOfFile=updateSignatureOfFile;function updateShapeSignature(N,R,j,$,q,G,ie,ae){if(ae===void 0){ae=N.useFileVersionAsSignature}E.Debug.assert(!!j);E.Debug.assert(!ie||!!N.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state");if(N.hasCalledUpdateShapeSignature.has(j.resolvedPath)||$.has(j.resolvedPath)){return false}var ce=N.fileInfos.get(j.resolvedPath);if(!ce)return E.Debug.fail();var le=ce.signature;var _e;if(!j.isDeclarationFile&&!ae){var Ee=getFileEmitOutput(R,j,true,q,undefined,true);var Te=E.firstOrUndefined(Ee.outputFiles);if(Te){E.Debug.assert(E.fileExtensionIs(Te.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+E.getAnyExtensionFromPath(Te.name)+" for "+Te.name+":: All output files: "+JSON.stringify(Ee.outputFiles.map((function(E){return E.name})))}));_e=(G||E.generateDjb2Hash)(Te.text);if(ie&&_e!==le){updateExportedModules(j,Ee.exportedModulesFromDeclarationEmit,ie)}}}if(_e===undefined){_e=j.version;if(ie&&_e!==le){var we=N.referencedMap?N.referencedMap.getValues(j.resolvedPath):undefined;if(we){ie.set(j.resolvedPath,we)}else{ie.deleteKey(j.resolvedPath)}}}$.set(j.resolvedPath,_e);return _e!==le}N.updateShapeSignature=updateShapeSignature;function updateExportedModules(N,R,j){if(!R){j.deleteKey(N.resolvedPath);return}var $;R.forEach((function(E){return addExportedModule(getReferencedFilesFromImportedModuleSymbol(E))}));if($){j.set(N.resolvedPath,$)}else{j.deleteKey(N.resolvedPath)}function addExportedModule(N){if(N===null||N===void 0?void 0:N.length){if(!$){$=new E.Set}N.forEach((function(E){return $.add(E)}))}}}function updateExportedFilesMapFromCache(N,R){var j;if(R){E.Debug.assert(!!N.exportedModulesMap);var $=R.id;var q=R.version();if(N.previousCache){if(N.previousCache.id===$&&N.previousCache.version===q){return}N.previousCache.id=$;N.previousCache.version=q}else{N.previousCache={id:$,version:q}}(j=R.deletedKeys())===null||j===void 0?void 0:j.forEach((function(E){return N.exportedModulesMap.deleteKey(E)}));R.forEach((function(E,R){return N.exportedModulesMap.set(R,E)}))}}N.updateExportedFilesMapFromCache=updateExportedFilesMapFromCache;function getAllDependencies(N,R,j){var $=R.getCompilerOptions();if(E.outFile($)){return getAllFileNames(N,R)}if(!N.referencedMap||isFileAffectingGlobalScope(j)){return getAllFileNames(N,R)}var q=new E.Set;var G=[j.resolvedPath];while(G.length){var ie=G.pop();if(!q.has(ie)){q.add(ie);var ae=N.referencedMap.getValues(ie);if(ae){var ce=ae.keys();for(var le=ce.next();!le.done;le=ce.next()){G.push(le.value)}}}}return E.arrayFrom(E.mapDefinedIterator(q.keys(),(function(E){var N,j;return(j=(N=R.getSourceFileByPath(E))===null||N===void 0?void 0:N.fileName)!==null&&j!==void 0?j:E})))}N.getAllDependencies=getAllDependencies;function getAllFileNames(N,R){if(!N.allFileNames){var j=R.getSourceFiles();N.allFileNames=j===E.emptyArray?E.emptyArray:j.map((function(E){return E.fileName}))}return N.allFileNames}function getReferencedByPaths(N,R){var j=N.referencedMap.getKeys(R);return j?E.arrayFrom(j.keys()):[]}N.getReferencedByPaths=getReferencedByPaths;function containsOnlyAmbientModules(N){for(var R=0,j=N.statements;R<j.length;R++){var $=j[R];if(!E.isModuleWithStringLiteralName($)){return false}}return true}function containsGlobalScopeAugmentation(N){return E.some(N.moduleAugmentations,(function(N){return E.isGlobalScopeAugmentation(N.parent)}))}function isFileAffectingGlobalScope(N){return containsGlobalScopeAugmentation(N)||!E.isExternalOrCommonJsModule(N)&&!E.isJsonSourceFile(N)&&!containsOnlyAmbientModules(N)}function getAllFilesExcludingDefaultLibraryFile(N,R,j){if(N.allFilesExcludingDefaultLibraryFile){return N.allFilesExcludingDefaultLibraryFile}var $;if(j)addSourceFile(j);for(var q=0,G=R.getSourceFiles();q<G.length;q++){var ie=G[q];if(ie!==j){addSourceFile(ie)}}N.allFilesExcludingDefaultLibraryFile=$||E.emptyArray;return N.allFilesExcludingDefaultLibraryFile;function addSourceFile(E){if(!R.isSourceFileDefaultLibrary(E)){($||($=[])).push(E)}}}N.getAllFilesExcludingDefaultLibraryFile=getAllFilesExcludingDefaultLibraryFile;function getFilesAffectedByUpdatedShapeWhenNonModuleEmit(N,R,j){var $=R.getCompilerOptions();if($&&E.outFile($)){return[j]}return getAllFilesExcludingDefaultLibraryFile(N,R,j)}function getFilesAffectedByUpdatedShapeWhenModuleEmit(N,R,j,$,q,G,ie){if(isFileAffectingGlobalScope(j)){return getAllFilesExcludingDefaultLibraryFile(N,R,j)}var ae=R.getCompilerOptions();if(ae&&(ae.isolatedModules||E.outFile(ae))){return[j]}var ce=new E.Map;ce.set(j.resolvedPath,j);var le=getReferencedByPaths(N,j.resolvedPath);while(le.length>0){var _e=le.pop();if(!ce.has(_e)){var Ee=R.getSourceFileByPath(_e);ce.set(_e,Ee);if(Ee&&updateShapeSignature(N,R,Ee,$,q,G,ie)){le.push.apply(le,getReferencedByPaths(N,Ee.resolvedPath))}}}return E.arrayFrom(E.mapDefinedIterator(ce.values(),(function(E){return E})))}})(N=E.BuilderState||(E.BuilderState={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["DtsOnly"]=0]="DtsOnly";E[E["Full"]=1]="Full"})(N=E.BuilderFileEmit||(E.BuilderFileEmit={}));function hasSameKeys(N,R){return N===R||N!==undefined&&R!==undefined&&N.size===R.size&&!E.forEachKey(N,(function(E){return!R.has(E)}))}function createBuilderProgramState(N,R,j,$){var q=E.BuilderState.create(N,R,j,$);q.program=N;var G=N.getCompilerOptions();q.compilerOptions=G;if(!E.outFile(G)){q.semanticDiagnosticsPerFile=new E.Map}q.changedFilesSet=new E.Set;var ie=E.BuilderState.canReuseOldState(q.referencedMap,j);var ae=ie?j.compilerOptions:undefined;var ce=ie&&j.semanticDiagnosticsPerFile&&!!q.semanticDiagnosticsPerFile&&!E.compilerOptionsAffectSemanticDiagnostics(G,ae);if(ie){if(!j.currentChangedFilePath){var le=j.currentAffectedFilesSignatures;E.Debug.assert(!j.affectedFiles&&(!le||!le.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var _e=j.changedFilesSet;if(ce){E.Debug.assert(!_e||!E.forEachKey(_e,(function(E){return j.semanticDiagnosticsPerFile.has(E)})),"Semantic diagnostics shouldnt be available for changed files")}_e===null||_e===void 0?void 0:_e.forEach((function(E){return q.changedFilesSet.add(E)}));if(!E.outFile(G)&&j.affectedFilesPendingEmit){q.affectedFilesPendingEmit=j.affectedFilesPendingEmit.slice();q.affectedFilesPendingEmitKind=j.affectedFilesPendingEmitKind&&new E.Map(j.affectedFilesPendingEmitKind);q.affectedFilesPendingEmitIndex=j.affectedFilesPendingEmitIndex;q.seenAffectedFiles=new E.Set}}var Ee=q.referencedMap;var Te=ie?j.referencedMap:undefined;var we=ce&&!G.skipLibCheck===!ae.skipLibCheck;var Ie=we&&!G.skipDefaultLibCheck===!ae.skipDefaultLibCheck;q.fileInfos.forEach((function($,G){var ae;var le;if(!ie||!(ae=j.fileInfos.get(G))||ae.version!==$.version||!hasSameKeys(le=Ee&&Ee.getValues(G),Te&&Te.getValues(G))||le&&E.forEachKey(le,(function(E){return!q.fileInfos.has(E)&&j.fileInfos.has(E)}))){q.changedFilesSet.add(G)}else if(ce){var _e=N.getSourceFileByPath(G);if(_e.isDeclarationFile&&!we){return}if(_e.hasNoDefaultLib&&!Ie){return}var Ne=j.semanticDiagnosticsPerFile.get(G);if(Ne){q.semanticDiagnosticsPerFile.set(G,j.hasReusableDiagnostic?convertToDiagnostics(Ne,N,R):Ne);if(!q.semanticDiagnosticsFromOldState){q.semanticDiagnosticsFromOldState=new E.Set}q.semanticDiagnosticsFromOldState.add(G)}}}));if(ie&&E.forEachEntry(j.fileInfos,(function(E,N){return E.affectsGlobalScope&&!q.fileInfos.has(N)}))){E.BuilderState.getAllFilesExcludingDefaultLibraryFile(q,N,undefined).forEach((function(E){return q.changedFilesSet.add(E.resolvedPath)}))}else if(ae&&!E.outFile(G)&&E.compilerOptionsAffectEmit(G,ae)){N.getSourceFiles().forEach((function(E){return addToAffectedFilesPendingEmit(q,E.resolvedPath,1)}));E.Debug.assert(!q.seenAffectedFiles||!q.seenAffectedFiles.size);q.seenAffectedFiles=q.seenAffectedFiles||new E.Set}q.buildInfoEmitPending=!!q.changedFilesSet.size;return q}function convertToDiagnostics(N,R,j){if(!N.length)return E.emptyArray;var $=E.getDirectoryPath(E.getNormalizedAbsolutePath(E.getTsBuildInfoEmitOutputFilePath(R.getCompilerOptions()),R.getCurrentDirectory()));return N.map((function(E){var N=convertToDiagnosticRelatedInformation(E,R,toPath);N.reportsUnnecessary=E.reportsUnnecessary;N.reportsDeprecated=E.reportDeprecated;N.source=E.source;N.skippedOn=E.skippedOn;var j=E.relatedInformation;N.relatedInformation=j?j.length?j.map((function(E){return convertToDiagnosticRelatedInformation(E,R,toPath)})):[]:undefined;return N}));function toPath(N){return E.toPath(N,$,j)}}function convertToDiagnosticRelatedInformation(E,N,R){var j=E.file;return $($({},E),{file:j?N.getSourceFileByPath(R(j)):undefined})}function releaseCache(N){E.BuilderState.releaseCache(N);N.program=undefined}function cloneBuilderProgramState(N){var R;var j=E.BuilderState.clone(N);j.semanticDiagnosticsPerFile=N.semanticDiagnosticsPerFile&&new E.Map(N.semanticDiagnosticsPerFile);j.changedFilesSet=new E.Set(N.changedFilesSet);j.affectedFiles=N.affectedFiles;j.affectedFilesIndex=N.affectedFilesIndex;j.currentChangedFilePath=N.currentChangedFilePath;j.currentAffectedFilesSignatures=N.currentAffectedFilesSignatures&&new E.Map(N.currentAffectedFilesSignatures);j.currentAffectedFilesExportedModulesMap=(R=N.currentAffectedFilesExportedModulesMap)===null||R===void 0?void 0:R.clone();j.seenAffectedFiles=N.seenAffectedFiles&&new E.Set(N.seenAffectedFiles);j.cleanedDiagnosticsOfLibFiles=N.cleanedDiagnosticsOfLibFiles;j.semanticDiagnosticsFromOldState=N.semanticDiagnosticsFromOldState&&new E.Set(N.semanticDiagnosticsFromOldState);j.program=N.program;j.compilerOptions=N.compilerOptions;j.affectedFilesPendingEmit=N.affectedFilesPendingEmit&&N.affectedFilesPendingEmit.slice();j.affectedFilesPendingEmitKind=N.affectedFilesPendingEmitKind&&new E.Map(N.affectedFilesPendingEmitKind);j.affectedFilesPendingEmitIndex=N.affectedFilesPendingEmitIndex;j.seenEmittedFiles=N.seenEmittedFiles&&new E.Map(N.seenEmittedFiles);j.programEmitComplete=N.programEmitComplete;return j}function assertSourceFileOkWithoutNextAffectedCall(N,R){E.Debug.assert(!R||!N.affectedFiles||N.affectedFiles[N.affectedFilesIndex-1]!==R||!N.semanticDiagnosticsPerFile.has(R.resolvedPath))}function getNextAffectedFile(N,R,j){while(true){var $=N.affectedFiles;if($){var q=N.seenAffectedFiles;var G=N.affectedFilesIndex;while(G<$.length){var ie=$[G];if(!q.has(ie.resolvedPath)){N.affectedFilesIndex=G;handleDtsMayChangeOfAffectedFile(N,ie,R,j);return ie}G++}N.changedFilesSet.delete(N.currentChangedFilePath);N.currentChangedFilePath=undefined;E.BuilderState.updateSignaturesFromCache(N,N.currentAffectedFilesSignatures);N.currentAffectedFilesSignatures.clear();E.BuilderState.updateExportedFilesMapFromCache(N,N.currentAffectedFilesExportedModulesMap);N.affectedFiles=undefined}var ae=N.changedFilesSet.keys().next();if(ae.done){return undefined}var ce=E.Debug.checkDefined(N.program);var le=ce.getCompilerOptions();if(E.outFile(le)){E.Debug.assert(!N.semanticDiagnosticsPerFile);return ce}if(!N.currentAffectedFilesSignatures)N.currentAffectedFilesSignatures=new E.Map;if(N.exportedModulesMap){N.currentAffectedFilesExportedModulesMap||(N.currentAffectedFilesExportedModulesMap=E.BuilderState.createManyToManyPathMap())}N.affectedFiles=E.BuilderState.getFilesAffectedBy(N,ce,ae.value,R,j,N.currentAffectedFilesSignatures,N.currentAffectedFilesExportedModulesMap);N.currentChangedFilePath=ae.value;N.affectedFilesIndex=0;if(!N.seenAffectedFiles)N.seenAffectedFiles=new E.Set}}function getNextAffectedFilePendingEmit(N){var R=N.affectedFilesPendingEmit;if(R){var j=N.seenEmittedFiles||(N.seenEmittedFiles=new E.Map);for(var $=N.affectedFilesPendingEmitIndex;$<R.length;$++){var q=E.Debug.checkDefined(N.program).getSourceFileByPath(R[$]);if(q){var G=j.get(q.resolvedPath);var ie=E.Debug.checkDefined(E.Debug.checkDefined(N.affectedFilesPendingEmitKind).get(q.resolvedPath));if(G===undefined||G<ie){N.affectedFilesPendingEmitIndex=$;return{affectedFile:q,emitKind:ie}}}}N.affectedFilesPendingEmit=undefined;N.affectedFilesPendingEmitKind=undefined;N.affectedFilesPendingEmitIndex=undefined}return undefined}function handleDtsMayChangeOfAffectedFile(N,R,j,$){var q;removeSemanticDiagnosticsOf(N,R.resolvedPath);if(N.allFilesExcludingDefaultLibraryFile===N.affectedFiles){if(!N.cleanedDiagnosticsOfLibFiles){N.cleanedDiagnosticsOfLibFiles=true;var G=E.Debug.checkDefined(N.program);var ie=G.getCompilerOptions();E.forEach(G.getSourceFiles(),(function(R){return G.isSourceFileDefaultLibrary(R)&&!E.skipTypeChecking(R,ie,G)&&removeSemanticDiagnosticsOf(N,R.resolvedPath)}))}E.BuilderState.updateShapeSignature(N,E.Debug.checkDefined(N.program),R,E.Debug.checkDefined(N.currentAffectedFilesSignatures),j,$,N.currentAffectedFilesExportedModulesMap);return}else{E.Debug.assert(N.hasCalledUpdateShapeSignature.has(R.resolvedPath)||((q=N.currentAffectedFilesSignatures)===null||q===void 0?void 0:q.has(R.resolvedPath)),"Signature not updated for affected file: "+R.fileName)}if(!N.compilerOptions.assumeChangesOnlyAffectDirectDependencies){forEachReferencingModulesOfExportOfAffectedFile(N,R,(function(E,N){return handleDtsMayChangeOf(E,N,j,$)}))}}function handleDtsMayChangeOf(N,R,j,$){removeSemanticDiagnosticsOf(N,R);if(!N.changedFilesSet.has(R)){var q=E.Debug.checkDefined(N.program);var G=q.getSourceFileByPath(R);if(G){E.BuilderState.updateShapeSignature(N,q,G,E.Debug.checkDefined(N.currentAffectedFilesSignatures),j,$,N.currentAffectedFilesExportedModulesMap,true);if(E.getEmitDeclarations(N.compilerOptions)){addToAffectedFilesPendingEmit(N,R,0)}}}}function removeSemanticDiagnosticsOf(E,N){if(!E.semanticDiagnosticsFromOldState){return true}E.semanticDiagnosticsFromOldState.delete(N);E.semanticDiagnosticsPerFile.delete(N);return!E.semanticDiagnosticsFromOldState.size}function isChangedSignature(N,R){var j=E.Debug.checkDefined(N.currentAffectedFilesSignatures).get(R);var $=E.Debug.checkDefined(N.fileInfos.get(R)).signature;return j!==$}function forEachReferencingModulesOfExportOfAffectedFile(N,R,j){var $,q;if(!N.exportedModulesMap||!N.changedFilesSet.has(R.resolvedPath)){return}if(!isChangedSignature(N,R.resolvedPath))return;if(N.compilerOptions.isolatedModules){var G=new E.Map;G.set(R.resolvedPath,true);var ie=E.BuilderState.getReferencedByPaths(N,R.resolvedPath);while(ie.length>0){var ae=ie.pop();if(!G.has(ae)){G.set(ae,true);j(N,ae);if(isChangedSignature(N,ae)){var ce=E.Debug.checkDefined(N.program).getSourceFileByPath(ae);ie.push.apply(ie,E.BuilderState.getReferencedByPaths(N,ce.resolvedPath))}}}}E.Debug.assert(!!N.currentAffectedFilesExportedModulesMap);var le=new E.Set;($=N.currentAffectedFilesExportedModulesMap.getKeys(R.resolvedPath))===null||$===void 0?void 0:$.forEach((function(E){return forEachFilesReferencingPath(N,E,le,j)}));(q=N.exportedModulesMap.getKeys(R.resolvedPath))===null||q===void 0?void 0:q.forEach((function(E){var R;return!N.currentAffectedFilesExportedModulesMap.hasKey(E)&&!((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E))&&forEachFilesReferencingPath(N,E,le,j)}))}function forEachFilesReferencingPath(E,N,R,j){var $;($=E.referencedMap.getKeys(N))===null||$===void 0?void 0:$.forEach((function(N){return forEachFileAndExportsOfFile(E,N,R,j)}))}function forEachFileAndExportsOfFile(N,R,j,$){var q,G,ie;if(!E.tryAddToSet(j,R)){return}$(N,R);E.Debug.assert(!!N.currentAffectedFilesExportedModulesMap);(q=N.currentAffectedFilesExportedModulesMap.getKeys(R))===null||q===void 0?void 0:q.forEach((function(E){return forEachFileAndExportsOfFile(N,E,j,$)}));(G=N.exportedModulesMap.getKeys(R))===null||G===void 0?void 0:G.forEach((function(E){var R;return!N.currentAffectedFilesExportedModulesMap.hasKey(E)&&!((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E))&&forEachFileAndExportsOfFile(N,E,j,$)}));(ie=N.referencedMap.getKeys(R))===null||ie===void 0?void 0:ie.forEach((function(E){return!j.has(E)&&$(N,E)}))}function doneWithAffectedFile(N,R,j,$,q){if(q){N.buildInfoEmitPending=false}else if(R===N.program){N.changedFilesSet.clear();N.programEmitComplete=true}else{N.seenAffectedFiles.add(R.resolvedPath);if(j!==undefined){(N.seenEmittedFiles||(N.seenEmittedFiles=new E.Map)).set(R.resolvedPath,j)}if($){N.affectedFilesPendingEmitIndex++;N.buildInfoEmitPending=true}else{N.affectedFilesIndex++}}}function toAffectedFileResult(E,N,R){doneWithAffectedFile(E,R);return{result:N,affected:R}}function toAffectedFileEmitResult(E,N,R,j,$,q){doneWithAffectedFile(E,R,j,$,q);return{result:N,affected:R}}function getSemanticDiagnosticsOfFile(N,R,j){return E.concatenate(getBinderAndCheckerDiagnosticsOfFile(N,R,j),E.Debug.checkDefined(N.program).getProgramDiagnostics(R))}function getBinderAndCheckerDiagnosticsOfFile(N,R,j){var $=R.resolvedPath;if(N.semanticDiagnosticsPerFile){var q=N.semanticDiagnosticsPerFile.get($);if(q){return E.filterSemanticDiagnostics(q,N.compilerOptions)}}var G=E.Debug.checkDefined(N.program).getBindAndCheckDiagnostics(R,j);if(N.semanticDiagnosticsPerFile){N.semanticDiagnosticsPerFile.set($,G)}return E.filterSemanticDiagnostics(G,N.compilerOptions)}function getProgramBuildInfo(N,R){if(E.outFile(N.compilerOptions))return undefined;var j=E.Debug.checkDefined(N.program).getCurrentDirectory();var $=E.getDirectoryPath(E.getNormalizedAbsolutePath(E.getTsBuildInfoEmitOutputFilePath(N.compilerOptions),j));var q=[];var G=new E.Map;var ie;var ae;var ce=E.arrayFrom(N.fileInfos.entries(),(function(R){var j=R[0],$=R[1];var G=toFileId(j);E.Debug.assert(q[G-1]===relativeToBuildInfo(j));var ie=N.currentAffectedFilesSignatures&&N.currentAffectedFilesSignatures.get(j);var ae=ie!==null&&ie!==void 0?ie:$.signature;return $.version===ae?$.affectsGlobalScope?{version:$.version,signature:undefined,affectsGlobalScope:true}:$.version:ae!==undefined?ie===undefined?$:{version:$.version,signature:ie,affectsGlobalScope:$.affectsGlobalScope}:{version:$.version,signature:false,affectsGlobalScope:$.affectsGlobalScope}}));var le;if(N.referencedMap){le=E.arrayFrom(N.referencedMap.keys()).sort(E.compareStringsCaseSensitive).map((function(E){return[toFileId(E),toFileIdListId(N.referencedMap.getValues(E))]}))}var _e;if(N.exportedModulesMap){_e=E.mapDefined(E.arrayFrom(N.exportedModulesMap.keys()).sort(E.compareStringsCaseSensitive),(function(E){var R;if(N.currentAffectedFilesExportedModulesMap){if((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E)){return undefined}var j=N.currentAffectedFilesExportedModulesMap.getValues(E);if(j){return[toFileId(E),toFileIdListId(j)]}}return[toFileId(E),toFileIdListId(N.exportedModulesMap.getValues(E))]}))}var Ee;if(N.semanticDiagnosticsPerFile){for(var Te=0,we=E.arrayFrom(N.semanticDiagnosticsPerFile.keys()).sort(E.compareStringsCaseSensitive);Te<we.length;Te++){var Ie=we[Te];var Ne=N.semanticDiagnosticsPerFile.get(Ie);(Ee||(Ee=[])).push(Ne.length?[toFileId(Ie),N.hasReusableDiagnostic?Ne:convertToReusableDiagnostics(Ne,relativeToBuildInfo)]:toFileId(Ie))}}var Me;if(N.affectedFilesPendingEmit){var Le=new E.Set;for(var Be=0,je=N.affectedFilesPendingEmit.slice(N.affectedFilesPendingEmitIndex).sort(E.compareStringsCaseSensitive);Be<je.length;Be++){var Ue=je[Be];if(E.tryAddToSet(Le,Ue)){(Me||(Me=[])).push([toFileId(Ue),N.affectedFilesPendingEmitKind.get(Ue)])}}}return{fileNames:q,fileInfos:ce,options:convertToProgramBuildInfoCompilerOptions(N.compilerOptions,relativeToBuildInfoEnsuringAbsolutePath),fileIdsList:ie,referencedMap:le,exportedModulesMap:_e,semanticDiagnosticsPerFile:Ee,affectedFilesPendingEmit:Me};function relativeToBuildInfoEnsuringAbsolutePath(N){return relativeToBuildInfo(E.getNormalizedAbsolutePath(N,j))}function relativeToBuildInfo(N){return E.ensurePathIsNonModuleName(E.getRelativePathFromDirectory($,N,R))}function toFileId(E){var N=G.get(E);if(N===undefined){q.push(relativeToBuildInfo(E));G.set(E,N=q.length)}return N}function toFileIdListId(N){var R=E.arrayFrom(N.keys(),toFileId).sort(E.compareValues);var j=R.join();var $=ae===null||ae===void 0?void 0:ae.get(j);if($===undefined){(ie||(ie=[])).push(R);(ae||(ae=new E.Map)).set(j,$=ie.length)}return $}}function convertToProgramBuildInfoCompilerOptions(N,R){var j;var $=E.getOptionsNameMap().optionsNameMap;for(var q=0,G=E.getOwnKeys(N).sort(E.compareStringsCaseSensitive);q<G.length;q++){var ie=G[q];var ae=ie.toLowerCase();var ce=$.get(ae);if((ce===null||ce===void 0?void 0:ce.affectsEmit)||(ce===null||ce===void 0?void 0:ce.affectsSemanticDiagnostics)||ae==="strict"||ae==="skiplibcheck"||ae==="skipdefaultlibcheck"){(j||(j={}))[ie]=convertToReusableCompilerOptionValue(ce,N[ie],R)}}return j}function convertToReusableCompilerOptionValue(E,N,R){if(E){if(E.type==="list"){var j=N;if(E.element.isFilePath&&j.length){return j.map(R)}}else if(E.isFilePath){return R(N)}}return N}function convertToReusableDiagnostics(N,R){E.Debug.assert(!!N.length);return N.map((function(E){var N=convertToReusableDiagnosticRelatedInformation(E,R);N.reportsUnnecessary=E.reportsUnnecessary;N.reportDeprecated=E.reportsDeprecated;N.source=E.source;N.skippedOn=E.skippedOn;var j=E.relatedInformation;N.relatedInformation=j?j.length?j.map((function(E){return convertToReusableDiagnosticRelatedInformation(E,R)})):[]:undefined;return N}))}function convertToReusableDiagnosticRelatedInformation(E,N){var R=E.file;return $($({},E),{file:R?N(R.resolvedPath):undefined})}var R;(function(E){E[E["SemanticDiagnosticsBuilderProgram"]=0]="SemanticDiagnosticsBuilderProgram";E[E["EmitAndSemanticDiagnosticsBuilderProgram"]=1]="EmitAndSemanticDiagnosticsBuilderProgram"})(R=E.BuilderProgramKind||(E.BuilderProgramKind={}));function getBuilderCreationParameters(N,R,j,$,q,G){var ie;var ae;var ce;if(N===undefined){E.Debug.assert(R===undefined);ie=j;ce=$;E.Debug.assert(!!ce);ae=ce.getProgram()}else if(E.isArray(N)){ce=$;ae=E.createProgram({rootNames:N,options:R,host:j,oldProgram:ce&&ce.getProgramOrUndefined(),configFileParsingDiagnostics:q,projectReferences:G});ie=j}else{ae=N;ie=R;ce=j;q=$}return{host:ie,newProgram:ae,oldProgram:ce,configFileParsingDiagnostics:q||E.emptyArray}}E.getBuilderCreationParameters=getBuilderCreationParameters;function createBuilderProgram(N,j){var $=j.newProgram,q=j.host,G=j.oldProgram,ie=j.configFileParsingDiagnostics;var ae=G&&G.getState();if(ae&&$===ae.program&&ie===$.getConfigFileParsingDiagnostics()){$=undefined;ae=undefined;return G}var ce=E.createGetCanonicalFileName(q.useCaseSensitiveFileNames());var le=E.maybeBind(q,q.createHash);var _e=createBuilderProgramState($,ce,ae,q.disableUseFileVersionAsSignature);var Ee;$.getProgramBuildInfo=function(){return getProgramBuildInfo(_e,ce)};$=undefined;G=undefined;ae=undefined;var getState=function(){return _e};var Te=createRedirectedBuilderProgram(getState,ie);Te.getState=getState;Te.backupState=function(){E.Debug.assert(Ee===undefined);Ee=cloneBuilderProgramState(_e)};Te.restoreState=function(){_e=E.Debug.checkDefined(Ee);Ee=undefined};Te.getAllDependencies=function(N){return E.BuilderState.getAllDependencies(_e,E.Debug.checkDefined(_e.program),N)};Te.getSemanticDiagnostics=getSemanticDiagnostics;Te.emit=emit;Te.releaseProgram=function(){releaseCache(_e);Ee=undefined};if(N===R.SemanticDiagnosticsBuilderProgram){Te.getSemanticDiagnosticsOfNextAffectedFile=getSemanticDiagnosticsOfNextAffectedFile}else if(N===R.EmitAndSemanticDiagnosticsBuilderProgram){Te.getSemanticDiagnosticsOfNextAffectedFile=getSemanticDiagnosticsOfNextAffectedFile;Te.emitNextAffectedFile=emitNextAffectedFile;Te.emitBuildInfo=emitBuildInfo}else{E.notImplemented()}return Te;function emitBuildInfo(N,R){if(_e.buildInfoEmitPending){var j=E.Debug.checkDefined(_e.program).emitBuildInfo(N||E.maybeBind(q,q.writeFile),R);_e.buildInfoEmitPending=false;return j}return E.emitSkippedWithNoDiagnostics}function emitNextAffectedFile(N,R,j,$){var G=getNextAffectedFile(_e,R,le);var ie=1;var ae=false;if(!G){if(!E.outFile(_e.compilerOptions)){var ce=getNextAffectedFilePendingEmit(_e);if(!ce){if(!_e.buildInfoEmitPending){return undefined}var Ee=E.Debug.checkDefined(_e.program);return toAffectedFileEmitResult(_e,Ee.emitBuildInfo(N||E.maybeBind(q,q.writeFile),R),Ee,1,false,true)}G=ce.affectedFile,ie=ce.emitKind;ae=true}else{var Te=E.Debug.checkDefined(_e.program);if(_e.programEmitComplete)return undefined;G=Te}}return toAffectedFileEmitResult(_e,E.Debug.checkDefined(_e.program).emit(G===_e.program?undefined:G,N||E.maybeBind(q,q.writeFile),R,j||ie===0,$),G,ie,ae)}function emit(j,$,G,ie,ae){var ce=false;var le;var Ee;var we;if(N!==R.EmitAndSemanticDiagnosticsBuilderProgram&&!j&&!E.outFile(_e.compilerOptions)&&!_e.compilerOptions.noEmit&&_e.compilerOptions.noEmitOnError){ce=true;le=_e.affectedFilesPendingEmit&&_e.affectedFilesPendingEmit.slice();Ee=_e.affectedFilesPendingEmitKind&&new E.Map(_e.affectedFilesPendingEmitKind);we=_e.affectedFilesPendingEmitIndex}if(N===R.EmitAndSemanticDiagnosticsBuilderProgram){assertSourceFileOkWithoutNextAffectedCall(_e,j)}var Ie=E.handleNoEmitOptions(Te,j,$,G);if(Ie)return Ie;if(ce){_e.affectedFilesPendingEmit=le;_e.affectedFilesPendingEmitKind=Ee;_e.affectedFilesPendingEmitIndex=we}if(!j&&N===R.EmitAndSemanticDiagnosticsBuilderProgram){var Ne=[];var Me=false;var Le=void 0;var Be=[];var je=void 0;while(je=emitNextAffectedFile($,G,ie,ae)){Me=Me||je.result.emitSkipped;Le=E.addRange(Le,je.result.diagnostics);Be=E.addRange(Be,je.result.emittedFiles);Ne=E.addRange(Ne,je.result.sourceMaps)}return{emitSkipped:Me,diagnostics:Le||E.emptyArray,emittedFiles:Be,sourceMaps:Ne}}return E.Debug.checkDefined(_e.program).emit(j,$||E.maybeBind(q,q.writeFile),G,ie,ae)}function getSemanticDiagnosticsOfNextAffectedFile(E,j){while(true){var $=getNextAffectedFile(_e,E,le);if(!$){return undefined}else if($===_e.program){return toAffectedFileResult(_e,_e.program.getSemanticDiagnostics(undefined,E),$)}if(N===R.EmitAndSemanticDiagnosticsBuilderProgram||_e.compilerOptions.noEmit||_e.compilerOptions.noEmitOnError){addToAffectedFilesPendingEmit(_e,$.resolvedPath,1)}if(j&&j($)){doneWithAffectedFile(_e,$);continue}return toAffectedFileResult(_e,getSemanticDiagnosticsOfFile(_e,$,E),$)}}function getSemanticDiagnostics(N,R){assertSourceFileOkWithoutNextAffectedCall(_e,N);var j=E.Debug.checkDefined(_e.program).getCompilerOptions();if(E.outFile(j)){E.Debug.assert(!_e.semanticDiagnosticsPerFile);return E.Debug.checkDefined(_e.program).getSemanticDiagnostics(N,R)}if(N){return getSemanticDiagnosticsOfFile(_e,N,R)}while(getSemanticDiagnosticsOfNextAffectedFile(R)){}var $;for(var q=0,G=E.Debug.checkDefined(_e.program).getSourceFiles();q<G.length;q++){var ie=G[q];$=E.addRange($,getSemanticDiagnosticsOfFile(_e,ie,R))}return $||E.emptyArray}}E.createBuilderProgram=createBuilderProgram;function addToAffectedFilesPendingEmit(N,R,j){if(!N.affectedFilesPendingEmit)N.affectedFilesPendingEmit=[];if(!N.affectedFilesPendingEmitKind)N.affectedFilesPendingEmitKind=new E.Map;var $=N.affectedFilesPendingEmitKind.get(R);N.affectedFilesPendingEmit.push(R);N.affectedFilesPendingEmitKind.set(R,$||j);if(N.affectedFilesPendingEmitIndex===undefined){N.affectedFilesPendingEmitIndex=0}}function toBuilderStateFileInfo(N){return E.isString(N)?{version:N,signature:N,affectsGlobalScope:undefined}:E.isString(N.signature)?N:{version:N.version,signature:N.signature===false?undefined:N.version,affectsGlobalScope:N.affectsGlobalScope}}E.toBuilderStateFileInfo=toBuilderStateFileInfo;function createBuildProgramUsingProgramBuildInfo(N,R,j){var $;var q=E.getDirectoryPath(E.getNormalizedAbsolutePath(R,j.getCurrentDirectory()));var G=E.createGetCanonicalFileName(j.useCaseSensitiveFileNames());var ie=N.fileNames.map(toPath);var ae=($=N.fileIdsList)===null||$===void 0?void 0:$.map((function(N){return new E.Set(N.map(toFilePath))}));var ce=new E.Map;N.fileInfos.forEach((function(E,N){return ce.set(toFilePath(N+1),toBuilderStateFileInfo(E))}));var le={fileInfos:ce,compilerOptions:N.options?E.convertToOptionsWithAbsolutePaths(N.options,toAbsolutePath):{},referencedMap:toManyToManyPathMap(N.referencedMap),exportedModulesMap:toManyToManyPathMap(N.exportedModulesMap),semanticDiagnosticsPerFile:N.semanticDiagnosticsPerFile&&E.arrayToMap(N.semanticDiagnosticsPerFile,(function(N){return toFilePath(E.isNumber(N)?N:N[0])}),(function(N){return E.isNumber(N)?E.emptyArray:N[1]})),hasReusableDiagnostic:true,affectedFilesPendingEmit:E.map(N.affectedFilesPendingEmit,(function(E){return toFilePath(E[0])})),affectedFilesPendingEmitKind:N.affectedFilesPendingEmit&&E.arrayToMap(N.affectedFilesPendingEmit,(function(E){return toFilePath(E[0])}),(function(E){return E[1]})),affectedFilesPendingEmitIndex:N.affectedFilesPendingEmit&&0};return{getState:function(){return le},backupState:E.noop,restoreState:E.noop,getProgram:E.notImplemented,getProgramOrUndefined:E.returnUndefined,releaseProgram:E.noop,getCompilerOptions:function(){return le.compilerOptions},getSourceFile:E.notImplemented,getSourceFiles:E.notImplemented,getOptionsDiagnostics:E.notImplemented,getGlobalDiagnostics:E.notImplemented,getConfigFileParsingDiagnostics:E.notImplemented,getSyntacticDiagnostics:E.notImplemented,getDeclarationDiagnostics:E.notImplemented,getSemanticDiagnostics:E.notImplemented,emit:E.notImplemented,getAllDependencies:E.notImplemented,getCurrentDirectory:E.notImplemented,emitNextAffectedFile:E.notImplemented,getSemanticDiagnosticsOfNextAffectedFile:E.notImplemented,emitBuildInfo:E.notImplemented,close:E.noop};function toPath(N){return E.toPath(N,q,G)}function toAbsolutePath(N){return E.getNormalizedAbsolutePath(N,q)}function toFilePath(E){return ie[E-1]}function toFilePathsSet(E){return ae[E-1]}function toManyToManyPathMap(N){if(!N){return undefined}var R=E.BuilderState.createManyToManyPathMap();N.forEach((function(E){var N=E[0],j=E[1];return R.set(toFilePath(N),toFilePathsSet(j))}));return R}}E.createBuildProgramUsingProgramBuildInfo=createBuildProgramUsingProgramBuildInfo;function createRedirectedBuilderProgram(N,R){return{getState:E.notImplemented,backupState:E.noop,restoreState:E.noop,getProgram:getProgram,getProgramOrUndefined:function(){return N().program},releaseProgram:function(){return N().program=undefined},getCompilerOptions:function(){return N().compilerOptions},getSourceFile:function(E){return getProgram().getSourceFile(E)},getSourceFiles:function(){return getProgram().getSourceFiles()},getOptionsDiagnostics:function(E){return getProgram().getOptionsDiagnostics(E)},getGlobalDiagnostics:function(E){return getProgram().getGlobalDiagnostics(E)},getConfigFileParsingDiagnostics:function(){return R},getSyntacticDiagnostics:function(E,N){return getProgram().getSyntacticDiagnostics(E,N)},getDeclarationDiagnostics:function(E,N){return getProgram().getDeclarationDiagnostics(E,N)},getSemanticDiagnostics:function(E,N){return getProgram().getSemanticDiagnostics(E,N)},emit:function(E,N,R,j,$){return getProgram().emit(E,N,R,j,$)},emitBuildInfo:function(E,N){return getProgram().emitBuildInfo(E,N)},getAllDependencies:E.notImplemented,getCurrentDirectory:function(){return getProgram().getCurrentDirectory()},close:E.noop};function getProgram(){return E.Debug.checkDefined(N().program)}}E.createRedirectedBuilderProgram=createRedirectedBuilderProgram})(ce||(ce={}));var ce;(function(E){function createSemanticDiagnosticsBuilderProgram(N,R,j,$,q,G){return E.createBuilderProgram(E.BuilderProgramKind.SemanticDiagnosticsBuilderProgram,E.getBuilderCreationParameters(N,R,j,$,q,G))}E.createSemanticDiagnosticsBuilderProgram=createSemanticDiagnosticsBuilderProgram;function createEmitAndSemanticDiagnosticsBuilderProgram(N,R,j,$,q,G){return E.createBuilderProgram(E.BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram,E.getBuilderCreationParameters(N,R,j,$,q,G))}E.createEmitAndSemanticDiagnosticsBuilderProgram=createEmitAndSemanticDiagnosticsBuilderProgram;function createAbstractBuilder(N,R,j,$,q,G){var ie=E.getBuilderCreationParameters(N,R,j,$,q,G),ae=ie.newProgram,ce=ie.configFileParsingDiagnostics;return E.createRedirectedBuilderProgram((function(){return{program:ae,compilerOptions:ae.getCompilerOptions()}}),ce)}E.createAbstractBuilder=createAbstractBuilder})(ce||(ce={}));var ce;(function(E){function removeIgnoredPath(N){if(E.endsWith(N,"/node_modules/.staging")){return E.removeSuffix(N,"/.staging")}return E.some(E.ignoredPaths,(function(R){return E.stringContains(N,R)}))?undefined:N}E.removeIgnoredPath=removeIgnoredPath;function canWatchDirectory(N){var R=E.getRootLength(N);if(N.length===R){return false}var j=N.indexOf(E.directorySeparator,R);if(j===-1){return false}var $=N.substring(R,j+1);var q=R>1||N.charCodeAt(0)!==47;if(q&&N.search(/[a-zA-Z]:/)!==0&&$.search(/[a-zA-z]\$\//)===0){j=N.indexOf(E.directorySeparator,j+1);if(j===-1){return false}$=N.substring(R+$.length,j+1)}if(q&&$.search(/users\//i)!==0){return true}for(var G=j+1,ie=2;ie>0;ie--){G=N.indexOf(E.directorySeparator,G)+1;if(G===0){return false}}return true}E.canWatchDirectory=canWatchDirectory;function createResolutionCache(N,R,j){var $;var q;var G;var ie=E.createMultiMap();var ae=[];var ce=E.createMultiMap();var le=false;var _e;var Ee;var Te;var we=E.memoize((function(){return N.getCurrentDirectory()}));var Ie=N.getCachedDirectoryStructureHost();var Ne=new E.Map;var Me=E.createCacheWithRedirects();var Le=E.createCacheWithRedirects();var Be=E.createModuleResolutionCache(we(),N.getCanonicalFileName,undefined,Me,Le);var je=new E.Map;var Ue=E.createCacheWithRedirects();var ze=E.createTypeReferenceDirectiveResolutionCache(we(),N.getCanonicalFileName,undefined,Be.getPackageJsonInfoCache(),Ue);var We=[".ts",".tsx",".js",".jsx",".json"];var Je=new E.Map;var Ve=new E.Map;var qe=R&&E.removeTrailingDirectorySeparator(E.getNormalizedAbsolutePath(R,we()));var He=qe&&N.toPath(qe);var Ge=He!==undefined?He.split(E.directorySeparator).length:0;var Ke=new E.Map;return{getModuleResolutionCache:function(){return Be},startRecordingFilesWithChangedResolutions:startRecordingFilesWithChangedResolutions,finishRecordingFilesWithChangedResolutions:finishRecordingFilesWithChangedResolutions,startCachingPerDirectoryResolution:clearPerDirectoryResolutions,finishCachingPerDirectoryResolution:finishCachingPerDirectoryResolution,resolveModuleNames:resolveModuleNames,getResolvedModuleWithFailedLookupLocationsFromCache:getResolvedModuleWithFailedLookupLocationsFromCache,resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,removeResolutionsFromProjectReferenceRedirects:removeResolutionsFromProjectReferenceRedirects,removeResolutionsOfFile:removeResolutionsOfFile,hasChangedAutomaticTypeDirectiveNames:function(){return le},invalidateResolutionOfFile:invalidateResolutionOfFile,invalidateResolutionsOfFailedLookupLocations:invalidateResolutionsOfFailedLookupLocations,setFilesWithInvalidatedNonRelativeUnresolvedImports:setFilesWithInvalidatedNonRelativeUnresolvedImports,createHasInvalidatedResolution:createHasInvalidatedResolution,isFileWithInvalidatedNonRelativeUnresolvedImports:isFileWithInvalidatedNonRelativeUnresolvedImports,updateTypeRootsWatch:updateTypeRootsWatch,closeTypeRootsWatch:closeTypeRootsWatch,clear:clear};function getResolvedModule(E){return E.resolvedModule}function getResolvedTypeReferenceDirective(E){return E.resolvedTypeReferenceDirective}function isInDirectoryPath(N,R){if(N===undefined||R.length<=N.length){return false}return E.startsWith(R,N)&&R[N.length]===E.directorySeparator}function clear(){E.clearMap(Ve,E.closeFileWatcherOf);Je.clear();ie.clear();closeTypeRootsWatch();Ne.clear();je.clear();ce.clear();ae.length=0;_e=undefined;Ee=undefined;Te=undefined;clearPerDirectoryResolutions();le=false}function startRecordingFilesWithChangedResolutions(){$=[]}function finishRecordingFilesWithChangedResolutions(){var E=$;$=undefined;return E}function isFileWithInvalidatedNonRelativeUnresolvedImports(E){if(!G){return false}var N=G.get(E);return!!N&&!!N.length}function createHasInvalidatedResolution(N){invalidateResolutionsOfFailedLookupLocations();if(N){q=undefined;return E.returnTrue}var R=q;q=undefined;return function(E){return!!R&&R.has(E)||isFileWithInvalidatedNonRelativeUnresolvedImports(E)}}function clearPerDirectoryResolutions(){Be.clear();ze.clear();ie.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);ie.clear()}function finishCachingPerDirectoryResolution(){G=undefined;clearPerDirectoryResolutions();Ve.forEach((function(E,N){if(E.refCount===0){Ve.delete(N);E.watcher.close()}}));le=false}function resolveModuleName(R,j,$,q,G){var ie;var ae=E.resolveModuleName(R,j,$,q,Be,G);if(!N.getGlobalCache){return ae}var ce=N.getGlobalCache();if(ce!==undefined&&!E.isExternalModuleNameRelative(R)&&!(ae.resolvedModule&&E.extensionIsTS(ae.resolvedModule.extension))){var le=E.loadModuleFromGlobalCache(E.Debug.checkDefined(N.globalCacheResolutionModuleName)(R),N.projectName,$,q,ce,Be),_e=le.resolvedModule,Ee=le.failedLookupLocations;if(_e){ae.resolvedModule=_e;(ie=ae.failedLookupLocations).push.apply(ie,Ee);return ae}}return ae}function resolveTypeReferenceDirective(N,R,j,$,q){return E.resolveTypeReferenceDirective(N,R,j,$,q,ze)}function resolveNamesWithLocalCache(R){var j,q,G;var ie=R.names,ae=R.containingFile,ce=R.redirectedReference,le=R.cache,_e=R.perDirectoryCacheWithRedirects,Ee=R.loader,Te=R.getResolutionWithResolvedFileName,we=R.shouldRetryResolution,Ie=R.reusedNames,Ne=R.logChanges;var Me=N.toPath(ae);var Le=le.get(Me)||le.set(Me,new E.Map).get(Me);var Be=E.getDirectoryPath(Me);var je=_e.getOrCreateMapOfCacheRedirects(ce);var Ue=je.get(Be);if(!Ue){Ue=new E.Map;je.set(Be,Ue)}var ze=[];var We=N.getCompilationSettings();var Je=Ne&&isFileWithInvalidatedNonRelativeUnresolvedImports(Me);var Ve=N.getCurrentProgram();var qe=Ve&&Ve.getResolvedProjectReferenceToRedirect(ae);var He=qe?!ce||ce.sourceFile.path!==qe.sourceFile.path:!!ce;var Ge=new E.Map;for(var Ke=0,Qe=ie;Ke<Qe.length;Ke++){var Xe=Qe[Ke];var Ye=Le.get(Xe);if(!Ge.has(Xe)&&He||!Ye||Ye.isInvalidated||Je&&!E.isExternalModuleNameRelative(Xe)&&we(Ye)){var Ze=Ye;var et=Ue.get(Xe);if(et){Ye=et;var tt=((j=N.getCompilerHost)===null||j===void 0?void 0:j.call(N))||N;if(E.isTraceEnabled(We,tt)){var rt=Te(Ye);E.trace(tt,Ee===resolveModuleName?(rt===null||rt===void 0?void 0:rt.resolvedFileName)?rt.packagetId?E.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:E.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:E.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:(rt===null||rt===void 0?void 0:rt.resolvedFileName)?rt.packagetId?E.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:E.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:E.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved,Xe,ae,E.getDirectoryPath(ae),rt===null||rt===void 0?void 0:rt.resolvedFileName,(rt===null||rt===void 0?void 0:rt.packagetId)&&E.packageIdToString(rt.packagetId))}}else{Ye=Ee(Xe,ae,We,((q=N.getCompilerHost)===null||q===void 0?void 0:q.call(N))||N,ce);Ue.set(Xe,Ye)}Le.set(Xe,Ye);watchFailedLookupLocationsOfExternalModuleResolutions(Xe,Ye,Me,Te);if(Ze){stopWatchFailedLookupLocationOfResolution(Ze,Me,Te)}if(Ne&&$&&!resolutionIsEqualTo(Ze,Ye)){$.push(Me);Ne=false}}else{var tt=((G=N.getCompilerHost)===null||G===void 0?void 0:G.call(N))||N;if(E.isTraceEnabled(We,tt)&&!Ge.has(Xe)){var rt=Te(Ye);E.trace(tt,Ee===resolveModuleName?(rt===null||rt===void 0?void 0:rt.resolvedFileName)?rt.packagetId?E.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:E.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:E.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:(rt===null||rt===void 0?void 0:rt.resolvedFileName)?rt.packagetId?E.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:E.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:E.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,Xe,ae,rt===null||rt===void 0?void 0:rt.resolvedFileName,(rt===null||rt===void 0?void 0:rt.packagetId)&&E.packageIdToString(rt.packagetId))}}E.Debug.assert(Ye!==undefined&&!Ye.isInvalidated);Ge.set(Xe,true);ze.push(Te(Ye))}Le.forEach((function(N,R){if(!Ge.has(R)&&!E.contains(Ie,R)){stopWatchFailedLookupLocationOfResolution(N,Me,Te);Le.delete(R)}}));return ze;function resolutionIsEqualTo(E,N){if(E===N){return true}if(!E||!N){return false}var R=Te(E);var j=Te(N);if(R===j){return true}if(!R||!j){return false}return R.resolvedFileName===j.resolvedFileName}}function resolveTypeReferenceDirectives(E,N,R){return resolveNamesWithLocalCache({names:E,containingFile:N,redirectedReference:R,cache:je,perDirectoryCacheWithRedirects:Ue,loader:resolveTypeReferenceDirective,getResolutionWithResolvedFileName:getResolvedTypeReferenceDirective,shouldRetryResolution:function(E){return E.resolvedTypeReferenceDirective===undefined}})}function resolveModuleNames(N,R,$,q){return resolveNamesWithLocalCache({names:N,containingFile:R,redirectedReference:q,cache:Ne,perDirectoryCacheWithRedirects:Me,loader:resolveModuleName,getResolutionWithResolvedFileName:getResolvedModule,shouldRetryResolution:function(N){return!N.resolvedModule||!E.resolutionExtensionIsTSOrJson(N.resolvedModule.extension)},reusedNames:$,logChanges:j})}function getResolvedModuleWithFailedLookupLocationsFromCache(E,R){var j=Ne.get(N.toPath(R));return j&&j.get(E)}function isNodeModulesAtTypesDirectory(N){return E.endsWith(N,"/node_modules/@types")}function getDirectoryToWatchFailedLookupLocation(N,R){if(isInDirectoryPath(He,R)){N=E.isRootedDiskPath(N)?E.normalizePath(N):E.getNormalizedAbsolutePath(N,we());var j=R.split(E.directorySeparator);var $=N.split(E.directorySeparator);E.Debug.assert($.length===j.length,"FailedLookup: "+N+" failedLookupLocationPath: "+R);if(j.length>Ge+1){return{dir:$.slice(0,Ge+1).join(E.directorySeparator),dirPath:j.slice(0,Ge+1).join(E.directorySeparator)}}else{return{dir:qe,dirPath:He,nonRecursive:false}}}return getDirectoryToWatchFromFailedLookupLocationDirectory(E.getDirectoryPath(E.getNormalizedAbsolutePath(N,we())),E.getDirectoryPath(R))}function getDirectoryToWatchFromFailedLookupLocationDirectory(N,R){while(E.pathContainsNodeModules(R)){N=E.getDirectoryPath(N);R=E.getDirectoryPath(R)}if(E.isNodeModulesDirectory(R)){return canWatchDirectory(E.getDirectoryPath(R))?{dir:N,dirPath:R}:undefined}var j=true;var $,q;if(He!==undefined){while(!isInDirectoryPath(R,He)){var G=E.getDirectoryPath(R);if(G===R){break}j=false;$=R;q=N;R=G;N=E.getDirectoryPath(N)}}return canWatchDirectory(R)?{dir:q||N,dirPath:$||R,nonRecursive:j}:undefined}function isPathWithDefaultFailedLookupExtension(N){return E.fileExtensionIsOneOf(N,We)}function watchFailedLookupLocationsOfExternalModuleResolutions(R,j,$,q){if(j.refCount){j.refCount++;E.Debug.assertDefined(j.files)}else{j.refCount=1;E.Debug.assert(E.length(j.files)===0);if(E.isExternalModuleNameRelative(R)){watchFailedLookupLocationOfResolution(j)}else{ie.add(R,j)}var G=q(j);if(G&&G.resolvedFileName){ce.add(N.toPath(G.resolvedFileName),j)}}(j.files||(j.files=[])).push($)}function watchFailedLookupLocationOfResolution(R){E.Debug.assert(!!R.refCount);var j=R.failedLookupLocations;if(!j.length)return;ae.push(R);var $=false;for(var q=0,G=j;q<G.length;q++){var ie=G[q];var ce=N.toPath(ie);var le=getDirectoryToWatchFailedLookupLocation(ie,ce);if(le){var _e=le.dir,Ee=le.dirPath,Te=le.nonRecursive;if(!isPathWithDefaultFailedLookupExtension(ce)){var we=Je.get(ce)||0;Je.set(ce,we+1)}if(Ee===He){E.Debug.assert(!Te);$=true}else{setDirectoryWatcher(_e,Ee,Te)}}}if($){setDirectoryWatcher(qe,He,true)}}function watchFailedLookupLocationOfNonRelativeModuleResolutions(E,R){var j=N.getCurrentProgram();if(!j||!j.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(R)){E.forEach(watchFailedLookupLocationOfResolution)}}function setDirectoryWatcher(N,R,j){var $=Ve.get(R);if($){E.Debug.assert(!!j===!!$.nonRecursive);$.refCount++}else{Ve.set(R,{watcher:createDirectoryWatcher(N,R,j),refCount:1,nonRecursive:j})}}function stopWatchFailedLookupLocationOfResolution(R,j,$){E.unorderedRemoveItem(E.Debug.assertDefined(R.files),j);R.refCount--;if(R.refCount){return}var q=$(R);if(q&&q.resolvedFileName){ce.remove(N.toPath(q.resolvedFileName),R)}if(!E.unorderedRemoveItem(ae,R)){return}var G=R.failedLookupLocations;var ie=false;for(var le=0,_e=G;le<_e.length;le++){var Ee=_e[le];var Te=N.toPath(Ee);var we=getDirectoryToWatchFailedLookupLocation(Ee,Te);if(we){var Ie=we.dirPath;var Ne=Je.get(Te);if(Ne){if(Ne===1){Je.delete(Te)}else{E.Debug.assert(Ne>1);Je.set(Te,Ne-1)}}if(Ie===He){ie=true}else{removeDirectoryWatcher(Ie)}}}if(ie){removeDirectoryWatcher(He)}}function removeDirectoryWatcher(E){var N=Ve.get(E);N.refCount--}function createDirectoryWatcher(E,R,j){return N.watchDirectoryOfFailedLookupLocation(E,(function(E){var j=N.toPath(E);if(Ie){Ie.addOrDeleteFileOrDirectory(E,j)}scheduleInvalidateResolutionOfFailedLookupLocation(j,R===j)}),j?0:1)}function removeResolutionsOfFileFromCache(E,N,R){var j=E.get(N);if(j){j.forEach((function(E){return stopWatchFailedLookupLocationOfResolution(E,N,R)}));E.delete(N)}}function removeResolutionsFromProjectReferenceRedirects(R){if(!E.fileExtensionIs(R,".json")){return}var j=N.getCurrentProgram();if(!j){return}var $=j.getResolvedProjectReferenceByPath(R);if(!$){return}$.commandLine.fileNames.forEach((function(E){return removeResolutionsOfFile(N.toPath(E))}))}function removeResolutionsOfFile(E){removeResolutionsOfFileFromCache(Ne,E,getResolvedModule);removeResolutionsOfFileFromCache(je,E,getResolvedTypeReferenceDirective)}function invalidateResolutions(N,R){if(!N)return false;var j=false;for(var $=0,G=N;$<G.length;$++){var ie=G[$];if(ie.isInvalidated||!R(ie))continue;ie.isInvalidated=j=true;for(var ae=0,ce=E.Debug.assertDefined(ie.files);ae<ce.length;ae++){var _e=ce[ae];(q||(q=new E.Set)).add(_e);le=le||E.endsWith(_e,E.inferredTypesContainingFile)}}return j}function invalidateResolutionOfFile(R){removeResolutionsOfFile(R);var j=le;if(invalidateResolutions(ce.get(R),E.returnTrue)&&le&&!j){N.onChangedAutomaticTypeDirectiveNames()}}function setFilesWithInvalidatedNonRelativeUnresolvedImports(N){E.Debug.assert(G===N||G===undefined);G=N}function scheduleInvalidateResolutionOfFailedLookupLocation(R,j){if(j){(Te||(Te=[])).push(R)}else{var $=removeIgnoredPath(R);if(!$)return false;R=$;if(N.fileIsOpen(R)){return false}var q=E.getDirectoryPath(R);if(isNodeModulesAtTypesDirectory(R)||E.isNodeModulesDirectory(R)||isNodeModulesAtTypesDirectory(q)||E.isNodeModulesDirectory(q)){(_e||(_e=[])).push(R);(Ee||(Ee=new E.Set)).add(R)}else{if(!isPathWithDefaultFailedLookupExtension(R)&&!Je.has(R)){return false}if(E.isEmittedFileOfProgram(N.getCurrentProgram(),R)){return false}(_e||(_e=[])).push(R);var G=E.parseNodeModuleFromPath(R);if(G)(Ee||(Ee=new E.Set)).add(G)}}N.scheduleInvalidateResolutionsOfFailedLookupLocations()}function invalidateResolutionsOfFailedLookupLocations(){if(!_e&&!Ee&&!Te){return false}var E=invalidateResolutions(ae,canInvalidateFailedLookupResolution);_e=undefined;Ee=undefined;Te=undefined;return E}function canInvalidateFailedLookupResolution(R){return R.failedLookupLocations.some((function(R){var j=N.toPath(R);return E.contains(_e,j)||E.firstDefinedIterator((Ee===null||Ee===void 0?void 0:Ee.keys())||E.emptyIterator,(function(N){return E.startsWith(j,N)?true:undefined}))||(Te===null||Te===void 0?void 0:Te.some((function(E){return isInDirectoryPath(E,j)})))}))}function closeTypeRootsWatch(){E.clearMap(Ke,E.closeFileWatcher)}function getDirectoryToWatchFailedLookupLocationFromTypeRoot(E,N){if(isInDirectoryPath(He,N)){return He}var R=getDirectoryToWatchFromFailedLookupLocationDirectory(E,N);return R&&Ve.has(R.dirPath)?R.dirPath:undefined}function createTypeRootsWatch(E,R){return N.watchTypeRootsDirectory(R,(function(j){var $=N.toPath(j);if(Ie){Ie.addOrDeleteFileOrDirectory(j,$)}le=true;N.onChangedAutomaticTypeDirectiveNames();var q=getDirectoryToWatchFailedLookupLocationFromTypeRoot(R,E);if(q){scheduleInvalidateResolutionOfFailedLookupLocation($,q===$)}}),1)}function updateTypeRootsWatch(){var R=N.getCompilationSettings();if(R.types){closeTypeRootsWatch();return}var j=E.getEffectiveTypeRoots(R,{directoryExists:directoryExistsForTypeRootWatch,getCurrentDirectory:we});if(j){E.mutateMap(Ke,E.arrayToMap(j,(function(E){return N.toPath(E)})),{createNewValue:createTypeRootsWatch,onDeleteValue:E.closeFileWatcher})}else{closeTypeRootsWatch()}}function directoryExistsForTypeRootWatch(R){var j=E.getDirectoryPath(E.getDirectoryPath(R));var $=N.toPath(j);return $===He||canWatchDirectory($)}}E.createResolutionCache=createResolutionCache})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(E){E[E["Relative"]=0]="Relative";E[E["NonRelative"]=1]="NonRelative";E[E["Shortest"]=2]="Shortest";E[E["ExternalNonRelative"]=3]="ExternalNonRelative"})(R||(R={}));var $;(function(E){E[E["Minimal"]=0]="Minimal";E[E["Index"]=1]="Index";E[E["JsExtension"]=2]="JsExtension"})($||($={}));function getPreferences(N,R,j){var $=N.importModuleSpecifierPreference,q=N.importModuleSpecifierEnding;return{relativePreference:$==="relative"?0:$==="non-relative"?1:$==="project-relative"?3:2,ending:getEnding()};function getEnding(){switch(q){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return usesJsExtensionOnImports(j)?2:E.getEmitModuleResolutionKind(R)!==E.ModuleResolutionKind.NodeJs?1:0}}}function getPreferencesForUpdate(N,R){return{relativePreference:E.isExternalModuleNameRelative(R)?0:1,ending:E.hasJSFileExtension(R)?2:E.getEmitModuleResolutionKind(N)!==E.ModuleResolutionKind.NodeJs||E.endsWith(R,"index")?1:0}}function updateModuleSpecifier(E,N,R,j,$){var q=getModuleSpecifierWorker(E,N,R,j,getPreferencesForUpdate(E,$),{});if(q===$)return undefined;return q}N.updateModuleSpecifier=updateModuleSpecifier;function getModuleSpecifier(E,N,R,j,$){return getModuleSpecifierWorker(E,R,j,$,getPreferences({},E,N),{})}N.getModuleSpecifier=getModuleSpecifier;function getNodeModulesPackageName(N,R,j,$,q){var G=getInfo(R,$);var ie=getAllModulePaths(R,j,$,q);return E.firstDefined(ie,(function(E){return tryGetModuleNameAsNodeModule(E,G,$,N,true)}))}N.getNodeModulesPackageName=getNodeModulesPackageName;function getModuleSpecifierWorker(N,R,j,$,q,G){var ie=getInfo(R,$);var ae=getAllModulePaths(R,j,$,G);return E.firstDefined(ae,(function(E){return tryGetModuleNameAsNodeModule(E,ie,$,N)}))||getLocalModuleSpecifier(j,ie,N,$,q)}function tryGetModuleSpecifiersFromCache(E,N,R,j){return tryGetModuleSpecifiersFromCacheWorker(E,N,R,j)[0]}N.tryGetModuleSpecifiersFromCache=tryGetModuleSpecifiersFromCache;function tryGetModuleSpecifiersFromCacheWorker(N,R,j,$){var q;var G=E.getSourceFileOfModule(N);if(!G){return E.emptyArray}var ie=(q=j.getModuleSpecifierCache)===null||q===void 0?void 0:q.call(j);var ae=ie===null||ie===void 0?void 0:ie.get(R.path,G.path,$);return[ae===null||ae===void 0?void 0:ae.moduleSpecifiers,G,ae===null||ae===void 0?void 0:ae.modulePaths,ie]}function getModuleSpecifiers(E,N,R,j,$,q){return getModuleSpecifiersWithCacheInfo(E,N,R,j,$,q).moduleSpecifiers}N.getModuleSpecifiers=getModuleSpecifiers;function getModuleSpecifiersWithCacheInfo(N,R,j,$,q,G){var ie=false;var ae=tryGetModuleNameFromAmbientModule(N,R);if(ae)return{moduleSpecifiers:[ae],computedWithoutCache:ie};var ce=tryGetModuleSpecifiersFromCacheWorker(N,$,q,G),le=ce[0],_e=ce[1],Ee=ce[2],Te=ce[3];if(le)return{moduleSpecifiers:le,computedWithoutCache:ie};if(!_e)return{moduleSpecifiers:E.emptyArray,computedWithoutCache:ie};ie=true;Ee||(Ee=getAllModulePathsWorker($.path,_e.originalFileName,q));var we=computeModuleSpecifiers(Ee,j,$,q,G);Te===null||Te===void 0?void 0:Te.set($.path,_e.path,G,Ee,we);return{moduleSpecifiers:we,computedWithoutCache:ie}}N.getModuleSpecifiersWithCacheInfo=getModuleSpecifiersWithCacheInfo;function computeModuleSpecifiers(N,R,j,$,q){var G=getInfo(j.path,$);var ie=getPreferences(q,R,j);var ae=E.forEach(N,(function(N){return E.forEach($.getFileIncludeReasons().get(E.toPath(N.path,$.getCurrentDirectory(),G.getCanonicalFileName)),(function(N){if(N.kind!==E.FileIncludeKind.Import||N.file!==j.path)return undefined;var R=E.getModuleNameStringLiteralAt(j,N.index).text;return ie.relativePreference!==1||!E.pathIsRelative(R)?R:undefined}))}));if(ae){var ce=[ae];return ce}var le=E.some(N,(function(E){return E.isInNodeModules}));var _e;var Ee;var Te;for(var we=0,Ie=N;we<Ie.length;we++){var Ne=Ie[we];var Me=tryGetModuleNameAsNodeModule(Ne,G,$,R);_e=E.append(_e,Me);if(Me&&Ne.isRedirect){return _e}if(!Me&&!Ne.isRedirect){var Le=getLocalModuleSpecifier(Ne.path,G,R,$,ie);if(E.pathIsBareSpecifier(Le)){Ee=E.append(Ee,Le)}else if(!le||Ne.isInNodeModules){Te=E.append(Te,Le)}}}return(Ee===null||Ee===void 0?void 0:Ee.length)?Ee:(_e===null||_e===void 0?void 0:_e.length)?_e:E.Debug.checkDefined(Te)}function getInfo(N,R){var j=E.createGetCanonicalFileName(R.useCaseSensitiveFileNames?R.useCaseSensitiveFileNames():true);var $=E.getDirectoryPath(N);return{getCanonicalFileName:j,importingSourceFileName:N,sourceDirectory:$}}function getLocalModuleSpecifier(N,R,j,$,q){var G=q.ending,ie=q.relativePreference;var ae=j.baseUrl,ce=j.paths,le=j.rootDirs;var _e=R.sourceDirectory,Ee=R.getCanonicalFileName;var Te=le&&tryGetModuleNameFromRootDirs(le,N,_e,Ee,G,j)||removeExtensionAndIndexPostFix(E.ensurePathIsNonModuleName(E.getRelativePathFromDirectory(_e,N,Ee)),G,j);if(!ae&&!ce||ie===0){return Te}var we=E.getNormalizedAbsolutePath(E.getPathsBasePath(j,$)||ae,$.getCurrentDirectory());var Ie=getRelativePathIfInDirectory(N,we,Ee);if(!Ie){return Te}var Ne=removeExtensionAndIndexPostFix(Ie,G,j);var Me=ce&&tryGetModuleNameFromPaths(E.removeFileExtension(Ie),Ne,ce);var Le=Me===undefined&&ae!==undefined?Ne:Me;if(!Le){return Te}if(ie===1){return Le}if(ie===3){var Be=j.configFilePath?E.toPath(E.getDirectoryPath(j.configFilePath),$.getCurrentDirectory(),R.getCanonicalFileName):R.getCanonicalFileName($.getCurrentDirectory());var je=E.toPath(N,Be,Ee);var Ue=E.startsWith(_e,Be);var ze=E.startsWith(je,Be);if(Ue&&!ze||!Ue&&ze){return Le}var We=getNearestAncestorDirectoryWithPackageJson($,E.getDirectoryPath(je));var Je=getNearestAncestorDirectoryWithPackageJson($,_e);if(Je!==We){return Le}return Te}if(ie!==2)E.Debug.assertNever(ie);return isPathRelativeToParent(Le)||countPathComponents(Te)<countPathComponents(Le)?Te:Le}function countPathComponents(N){var R=0;for(var j=E.startsWith(N,"./")?2:0;j<N.length;j++){if(N.charCodeAt(j)===47)R++}return R}N.countPathComponents=countPathComponents;function usesJsExtensionOnImports(N){var R=N.imports;return E.firstDefined(R,(function(N){var R=N.text;return E.pathIsRelative(R)?E.hasJSFileExtension(R):undefined}))||false}function comparePathsByRedirectAndNumberOfDirectorySeparators(N,R){return E.compareBooleans(R.isRedirect,N.isRedirect)||E.compareNumberOfDirectorySeparators(N.path,R.path)}function getNearestAncestorDirectoryWithPackageJson(N,R){if(N.getNearestAncestorDirectoryWithPackageJson){return N.getNearestAncestorDirectoryWithPackageJson(R)}return!!E.forEachAncestorDirectory(R,(function(R){return N.fileExists(E.combinePaths(R,"package.json"))?true:undefined}))}function forEachFileNameOfModule(N,R,$,q,G){var ie;var ae=E.hostGetCanonicalFileName($);var ce=$.getCurrentDirectory();var le=$.isSourceOfProjectReferenceRedirect(R)?$.getProjectReferenceRedirect(R):undefined;var _e=E.toPath(R,ce,ae);var Ee=$.redirectTargetsMap.get(_e)||E.emptyArray;var Te=j(j(j([],le?[le]:E.emptyArray,true),[R],false),Ee,true);var we=Te.map((function(N){return E.getNormalizedAbsolutePath(N,ce)}));var Ie=!E.every(we,E.containsIgnoredPath);if(!q){var Ne=E.forEach(we,(function(N){return!(Ie&&E.containsIgnoredPath(N))&&G(N,le===N)}));if(Ne)return Ne}var Me=(ie=$.getSymlinkCache)===null||ie===void 0?void 0:ie.call($).getSymlinkedDirectoriesByRealpath();var Le=E.getNormalizedAbsolutePath(R,ce);var Be=Me&&E.forEachAncestorDirectory(E.getDirectoryPath(Le),(function(R){var j=Me.get(E.ensureTrailingDirectorySeparator(E.toPath(R,ce,ae)));if(!j)return undefined;if(E.startsWithDirectory(N,R,ae)){return false}return E.forEach(we,(function(N){if(!E.startsWithDirectory(N,R,ae)){return}var $=E.getRelativePathFromDirectory(R,N,ae);for(var q=0,ie=j;q<ie.length;q++){var ce=ie[q];var _e=E.resolvePath(ce,$);var Ee=G(_e,N===le);Ie=true;if(Ee)return Ee}}))}));return Be||(q?E.forEach(we,(function(N){return Ie&&E.containsIgnoredPath(N)?undefined:G(N,N===le)})):undefined)}N.forEachFileNameOfModule=forEachFileNameOfModule;function getAllModulePaths(N,R,j,$,q){var G;if(q===void 0){q=E.toPath(R,j.getCurrentDirectory(),E.hostGetCanonicalFileName(j))}var ie=(G=j.getModuleSpecifierCache)===null||G===void 0?void 0:G.call(j);if(ie){var ae=ie.get(N,q,$);if(ae===null||ae===void 0?void 0:ae.modulePaths)return ae.modulePaths}var ce=getAllModulePathsWorker(N,R,j);if(ie){ie.setModulePaths(N,q,$,ce)}return ce}function getAllModulePathsWorker(N,R,j){var $=E.hostGetCanonicalFileName(j);var q=new E.Map;var G=false;forEachFileNameOfModule(N,R,j,true,(function(N,R){var j=E.pathContainsNodeModules(N);q.set(N,{path:$(N),isRedirect:R,isInNodeModules:j});G=G||j}));var ie=[];var _loop_31=function(N){var R=E.ensureTrailingDirectorySeparator(N);var j;q.forEach((function(N,$){var G=N.path,ie=N.isRedirect,ae=N.isInNodeModules;if(E.startsWith(G,R)){(j||(j=[])).push({path:$,isRedirect:ie,isInNodeModules:ae});q.delete($)}}));if(j){if(j.length>1){j.sort(comparePathsByRedirectAndNumberOfDirectorySeparators)}ie.push.apply(ie,j)}var $=E.getDirectoryPath(N);if($===N)return ae=N,"break";N=$;ae=N};var ae;for(var ce=E.getDirectoryPath(N);q.size!==0;){var le=_loop_31(ce);ce=ae;if(le==="break")break}if(q.size){var _e=E.arrayFrom(q.values());if(_e.length>1)_e.sort(comparePathsByRedirectAndNumberOfDirectorySeparators);ie.push.apply(ie,_e)}return ie}function tryGetModuleNameFromAmbientModule(N,R){var j;var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(N){return E.isNonGlobalAmbientModule(N)&&(!E.isExternalModuleAugmentation(N)||!E.isExternalModuleNameRelative(E.getTextOfIdentifierOrLiteral(N.name)))}));if($){return $.name.text}var q=E.mapDefined(N.declarations,(function(N){var j,$,q,G;if(!E.isModuleDeclaration(N))return;var ie=getTopNamespace(N);if(!(((j=ie===null||ie===void 0?void 0:ie.parent)===null||j===void 0?void 0:j.parent)&&E.isModuleBlock(ie.parent)&&E.isAmbientModule(ie.parent.parent)&&E.isSourceFile(ie.parent.parent.parent)))return;var ae=(G=(q=($=ie.parent.parent.symbol.exports)===null||$===void 0?void 0:$.get("export="))===null||q===void 0?void 0:q.valueDeclaration)===null||G===void 0?void 0:G.expression;if(!ae)return;var ce=R.getSymbolAtLocation(ae);if(!ce)return;var le=(ce===null||ce===void 0?void 0:ce.flags)&2097152?R.getAliasedSymbol(ce):ce;if(le===N.symbol)return ie.parent.parent;function getTopNamespace(E){while(E.flags&4){E=E.parent}return E}}));var G=q[0];if(G){return G.name.text}}function tryGetModuleNameFromPaths(N,R,j){for(var $ in j){for(var q=0,G=j[$];q<G.length;q++){var ie=G[q];var ae=E.removeFileExtension(E.normalizePath(ie));var ce=ae.indexOf("*");if(ce!==-1){var le=ae.substr(0,ce);var _e=ae.substr(ce+1);if(R.length>=le.length+_e.length&&E.startsWith(R,le)&&E.endsWith(R,_e)||!_e&&R===E.removeTrailingDirectorySeparator(le)){var Ee=R.substr(le.length,R.length-_e.length-le.length);return $.replace("*",Ee)}}else if(ae===R||ae===N){return $}}}}function tryGetModuleNameFromRootDirs(N,R,j,$,q,G){var ie=getPathRelativeToRootDirs(R,N,$);if(ie===undefined){return undefined}var ae=getPathRelativeToRootDirs(j,N,$);var ce=ae!==undefined?E.ensurePathIsNonModuleName(E.getRelativePathFromDirectory(ae,ie,$)):ie;return E.getEmitModuleResolutionKind(G)===E.ModuleResolutionKind.NodeJs?removeExtensionAndIndexPostFix(ce,q,G):E.removeFileExtension(ce)}function tryGetModuleNameAsNodeModule(N,R,j,$,q){var G=N.path,ie=N.isRedirect;var ae=R.getCanonicalFileName,ce=R.sourceDirectory;if(!j.fileExists||!j.readFile){return undefined}var le=getNodeModulePathParts(G);if(!le){return undefined}var _e=G;var Ee=false;if(!q){var Te=le.packageRootIndex;var we=void 0;while(true){var Ie=tryDirectoryWithPackageJson(Te),Ne=Ie.moduleFileToTry,Me=Ie.packageRootPath;if(Me){_e=Me;Ee=true;break}if(!we)we=Ne;Te=G.indexOf(E.directorySeparator,Te+1);if(Te===-1){_e=getExtensionlessFileName(we);break}}}if(ie&&!Ee){return undefined}var Le=j.getGlobalTypingsCacheLocation&&j.getGlobalTypingsCacheLocation();var Be=ae(_e.substring(0,le.topLevelNodeModulesIndex));if(!(E.startsWith(ce,Be)||Le&&E.startsWith(ae(Le),Be))){return undefined}var je=_e.substring(le.topLevelPackageNameIndex+1);var Ue=E.getPackageNameFromTypesPackageName(je);return E.getEmitModuleResolutionKind($)!==E.ModuleResolutionKind.NodeJs&&Ue===je?undefined:Ue;function tryDirectoryWithPackageJson(N){var R=G.substring(0,N);var q=E.combinePaths(R,"package.json");var ie=G;if(j.fileExists(q)){var ce=JSON.parse(j.readFile(q));var le=ce.typesVersions?E.getPackageJsonTypesVersionsPaths(ce.typesVersions):undefined;if(le){var _e=G.slice(R.length+1);var Ee=tryGetModuleNameFromPaths(E.removeFileExtension(_e),removeExtensionAndIndexPostFix(_e,0,$),le.paths);if(Ee!==undefined){ie=E.combinePaths(R,Ee)}}var Te=ce.typings||ce.types||ce.main;if(E.isString(Te)){var we=E.toPath(Te,R,ae);if(E.removeFileExtension(we)===E.removeFileExtension(ae(ie))){return{packageRootPath:R,moduleFileToTry:ie}}}}return{moduleFileToTry:ie}}function getExtensionlessFileName(N){var R=E.removeFileExtension(N);if(ae(R.substring(le.fileNameIndex))==="/index"&&!tryGetAnyFileFromPath(j,R.substring(0,le.fileNameIndex))){return R.substring(0,le.fileNameIndex)}return R}}function tryGetAnyFileFromPath(N,R){if(!N.fileExists)return;var j=E.getSupportedExtensions({allowJs:true},[{extension:"node",isMixedContent:false},{extension:"json",isMixedContent:false,scriptKind:6}]);for(var $=0,q=j;$<q.length;$++){var G=q[$];var ie=R+G;if(N.fileExists(ie)){return ie}}}function getNodeModulePathParts(N){var R=0;var j=0;var $=0;var q=0;var G;(function(E){E[E["BeforeNodeModules"]=0]="BeforeNodeModules";E[E["NodeModules"]=1]="NodeModules";E[E["Scope"]=2]="Scope";E[E["PackageContent"]=3]="PackageContent"})(G||(G={}));var ie=0;var ae=0;var ce=0;while(ae>=0){ie=ae;ae=N.indexOf("/",ie+1);switch(ce){case 0:if(N.indexOf(E.nodeModulesPathPart,ie)===ie){R=ie;j=ae;ce=1}break;case 1:case 2:if(ce===1&&N.charAt(ie+1)==="@"){ce=2}else{$=ae;ce=3}break;case 3:if(N.indexOf(E.nodeModulesPathPart,ie)===ie){ce=1}else{ce=3}break}}q=ie;return ce>1?{topLevelNodeModulesIndex:R,topLevelPackageNameIndex:j,packageRootIndex:$,fileNameIndex:q}:undefined}function getPathRelativeToRootDirs(N,R,j){return E.firstDefined(R,(function(E){var R=getRelativePathIfInDirectory(N,E,j);return isPathRelativeToParent(R)?undefined:R}))}function removeExtensionAndIndexPostFix(N,R,j){if(E.fileExtensionIs(N,".json"))return N;var $=E.removeFileExtension(N);switch(R){case 0:return E.removeSuffix($,"/index");case 1:return $;case 2:return $+getJSExtensionForFile(N,j);default:return E.Debug.assertNever(R)}}function getJSExtensionForFile(N,R){var j;return(j=tryGetJSExtensionForFile(N,R))!==null&&j!==void 0?j:E.Debug.fail("Extension "+E.extensionFromPath(N)+" is unsupported:: FileName:: "+N)}function tryGetJSExtensionForFile(N,R){var j=E.tryGetExtensionFromPath(N);switch(j){case".ts":case".d.ts":return".js";case".tsx":return R.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return j;default:return undefined}}N.tryGetJSExtensionForFile=tryGetJSExtensionForFile;function getRelativePathIfInDirectory(N,R,j){var $=E.getRelativePathToDirectoryOrUrl(R,N,R,j,false);return E.isRootedDiskPath($)?undefined:$}function isPathRelativeToParent(N){return E.startsWith(N,"..")}})(N=E.moduleSpecifiers||(E.moduleSpecifiers={}))})(ce||(ce={}));var ce;(function(E){var N=E.sys?{getCurrentDirectory:function(){return E.sys.getCurrentDirectory()},getNewLine:function(){return E.sys.newLine},getCanonicalFileName:E.createGetCanonicalFileName(E.sys.useCaseSensitiveFileNames)}:undefined;function createDiagnosticReporter(R,j){var $=R===E.sys&&N?N:{getCurrentDirectory:function(){return R.getCurrentDirectory()},getNewLine:function(){return R.newLine},getCanonicalFileName:E.createGetCanonicalFileName(R.useCaseSensitiveFileNames)};if(!j){return function(N){return R.write(E.formatDiagnostic(N,$))}}var q=new Array(1);return function(N){q[0]=N;R.write(E.formatDiagnosticsWithColorAndContext(q,$)+$.getNewLine());q[0]=undefined}}E.createDiagnosticReporter=createDiagnosticReporter;function clearScreenIfNotWatchingForFileChanges(N,R,j){if(N.clearScreen&&!j.preserveWatchOutput&&!j.extendedDiagnostics&&!j.diagnostics&&E.contains(E.screenStartingMessageCodes,R.code)){N.clearScreen();return true}return false}E.screenStartingMessageCodes=[E.Diagnostics.Starting_compilation_in_watch_mode.code,E.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function getPlainDiagnosticFollowingNewLines(N,R){return E.contains(E.screenStartingMessageCodes,N.code)?R+R:R}function getLocaleTimeString(E){return!E.now?(new Date).toLocaleTimeString():E.now().toLocaleTimeString("en-US",{timeZone:"UTC"})}E.getLocaleTimeString=getLocaleTimeString;function createWatchStatusReporter(N,R){return R?function(R,j,$){clearScreenIfNotWatchingForFileChanges(N,R,$);var q="["+E.formatColorAndReset(getLocaleTimeString(N),E.ForegroundColorEscapeSequences.Grey)+"] ";q+=""+E.flattenDiagnosticMessageText(R.messageText,N.newLine)+(j+j);N.write(q)}:function(R,j,$){var q="";if(!clearScreenIfNotWatchingForFileChanges(N,R,$)){q+=j}q+=getLocaleTimeString(N)+" - ";q+=""+E.flattenDiagnosticMessageText(R.messageText,N.newLine)+getPlainDiagnosticFollowingNewLines(R,j);N.write(q)}}E.createWatchStatusReporter=createWatchStatusReporter;function parseConfigFileWithSystem(N,R,j,$,q,G){var ie=q;ie.onUnRecoverableConfigFileDiagnostic=function(E){return reportUnrecoverableDiagnostic(q,G,E)};var ae=E.getParsedCommandLineOfConfigFile(N,R,ie,j,$);ie.onUnRecoverableConfigFileDiagnostic=undefined;return ae}E.parseConfigFileWithSystem=parseConfigFileWithSystem;function getErrorCountForSummary(N){return E.countWhere(N,(function(N){return N.category===E.DiagnosticCategory.Error}))}E.getErrorCountForSummary=getErrorCountForSummary;function getWatchErrorSummaryDiagnosticMessage(N){return N===1?E.Diagnostics.Found_1_error_Watching_for_file_changes:E.Diagnostics.Found_0_errors_Watching_for_file_changes}E.getWatchErrorSummaryDiagnosticMessage=getWatchErrorSummaryDiagnosticMessage;function getErrorSummaryText(N,R){if(N===0)return"";var j=E.createCompilerDiagnostic(N===1?E.Diagnostics.Found_1_error:E.Diagnostics.Found_0_errors,N);return""+R+E.flattenDiagnosticMessageText(j.messageText,R)+R+R}E.getErrorSummaryText=getErrorSummaryText;function isBuilderProgram(E){return!!E.getState}E.isBuilderProgram=isBuilderProgram;function listFiles(N,R){var j=N.getCompilerOptions();if(j.explainFiles){explainFiles(isBuilderProgram(N)?N.getProgram():N,R)}else if(j.listFiles||j.listFilesOnly){E.forEach(N.getSourceFiles(),(function(E){R(E.fileName)}))}}E.listFiles=listFiles;function explainFiles(N,R){var j,$;var q=N.getFileIncludeReasons();var G=E.createGetCanonicalFileName(N.useCaseSensitiveFileNames());var relativeFileName=function(R){return E.convertToRelativePath(R,N.getCurrentDirectory(),G)};for(var ie=0,ae=N.getSourceFiles();ie<ae.length;ie++){var ce=ae[ie];R(""+toFileName(ce,relativeFileName));(j=q.get(ce.path))===null||j===void 0?void 0:j.forEach((function(E){return R(" "+fileIncludeReasonToDiagnostics(N,E,relativeFileName).messageText)}));($=explainIfFileIsRedirect(ce,relativeFileName))===null||$===void 0?void 0:$.forEach((function(E){return R(" "+E.messageText)}))}}E.explainFiles=explainFiles;function explainIfFileIsRedirect(N,R){var j;if(N.path!==N.resolvedPath){(j||(j=[])).push(E.chainDiagnosticMessages(undefined,E.Diagnostics.File_is_output_of_project_reference_source_0,toFileName(N.originalFileName,R)))}if(N.redirectInfo){(j||(j=[])).push(E.chainDiagnosticMessages(undefined,E.Diagnostics.File_redirects_to_file_0,toFileName(N.redirectInfo.redirectTarget,R)))}return j}E.explainIfFileIsRedirect=explainIfFileIsRedirect;function getMatchedFileSpec(N,R){var j;var $=N.getCompilerOptions().configFile;if(!((j=$===null||$===void 0?void 0:$.configFileSpecs)===null||j===void 0?void 0:j.validatedFilesSpec))return undefined;var q=E.createGetCanonicalFileName(N.useCaseSensitiveFileNames());var G=q(R);var ie=E.getDirectoryPath(E.getNormalizedAbsolutePath($.fileName,N.getCurrentDirectory()));return E.find($.configFileSpecs.validatedFilesSpec,(function(N){return q(E.getNormalizedAbsolutePath(N,ie))===G}))}E.getMatchedFileSpec=getMatchedFileSpec;function getMatchedIncludeSpec(N,R){var j,$;var q=N.getCompilerOptions().configFile;if(!((j=q===null||q===void 0?void 0:q.configFileSpecs)===null||j===void 0?void 0:j.validatedIncludeSpecs))return undefined;var G=E.fileExtensionIs(R,".json");var ie=E.getDirectoryPath(E.getNormalizedAbsolutePath(q.fileName,N.getCurrentDirectory()));var ae=N.useCaseSensitiveFileNames();return E.find(($=q===null||q===void 0?void 0:q.configFileSpecs)===null||$===void 0?void 0:$.validatedIncludeSpecs,(function(N){if(G&&!E.endsWith(N,".json"))return false;var j=E.getPatternFromSpec(N,ie,"files");return!!j&&E.getRegexFromPattern("("+j+")$",ae).test(R)}))}E.getMatchedIncludeSpec=getMatchedIncludeSpec;function fileIncludeReasonToDiagnostics(N,R,j){var $,q;var G=N.getCompilerOptions();if(E.isReferencedFile(R)){var ie=E.getReferencedFileLocation((function(E){return N.getSourceFileByPath(E)}),R);var ae=E.isReferenceFileLocation(ie)?ie.file.text.substring(ie.pos,ie.end):'"'+ie.text+'"';var ce=void 0;E.Debug.assert(E.isReferenceFileLocation(ie)||R.kind===E.FileIncludeKind.Import,"Only synthetic references are imports");switch(R.kind){case E.FileIncludeKind.Import:if(E.isReferenceFileLocation(ie)){ce=ie.packageId?E.Diagnostics.Imported_via_0_from_file_1_with_packageId_2:E.Diagnostics.Imported_via_0_from_file_1}else if(ie.text===E.externalHelpersModuleNameText){ce=ie.packageId?E.Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:E.Diagnostics.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions}else{ce=ie.packageId?E.Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:E.Diagnostics.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions}break;case E.FileIncludeKind.ReferenceFile:E.Debug.assert(!ie.packageId);ce=E.Diagnostics.Referenced_via_0_from_file_1;break;case E.FileIncludeKind.TypeReferenceDirective:ce=ie.packageId?E.Diagnostics.Type_library_referenced_via_0_from_file_1_with_packageId_2:E.Diagnostics.Type_library_referenced_via_0_from_file_1;break;case E.FileIncludeKind.LibReferenceDirective:E.Debug.assert(!ie.packageId);ce=E.Diagnostics.Library_referenced_via_0_from_file_1;break;default:E.Debug.assertNever(R)}return E.chainDiagnosticMessages(undefined,ce,ae,toFileName(ie.file,j),ie.packageId&&E.packageIdToString(ie.packageId))}switch(R.kind){case E.FileIncludeKind.RootFile:if(!(($=G.configFile)===null||$===void 0?void 0:$.configFileSpecs))return E.chainDiagnosticMessages(undefined,E.Diagnostics.Root_file_specified_for_compilation);var le=E.getNormalizedAbsolutePath(N.getRootFileNames()[R.index],N.getCurrentDirectory());var _e=getMatchedFileSpec(N,le);if(_e)return E.chainDiagnosticMessages(undefined,E.Diagnostics.Part_of_files_list_in_tsconfig_json);var Ee=getMatchedIncludeSpec(N,le);return Ee?E.chainDiagnosticMessages(undefined,E.Diagnostics.Matched_by_include_pattern_0_in_1,Ee,toFileName(G.configFile,j)):E.chainDiagnosticMessages(undefined,E.Diagnostics.Root_file_specified_for_compilation);case E.FileIncludeKind.SourceFromProjectReference:case E.FileIncludeKind.OutputFromProjectReference:var Te=R.kind===E.FileIncludeKind.OutputFromProjectReference;var we=E.Debug.checkDefined((q=N.getResolvedProjectReferences())===null||q===void 0?void 0:q[R.index]);return E.chainDiagnosticMessages(undefined,E.outFile(G)?Te?E.Diagnostics.Output_from_referenced_project_0_included_because_1_specified:E.Diagnostics.Source_from_referenced_project_0_included_because_1_specified:Te?E.Diagnostics.Output_from_referenced_project_0_included_because_module_is_specified_as_none:E.Diagnostics.Source_from_referenced_project_0_included_because_module_is_specified_as_none,toFileName(we.sourceFile.fileName,j),G.outFile?"--outFile":"--out");case E.FileIncludeKind.AutomaticTypeDirectiveFile:return E.chainDiagnosticMessages(undefined,G.types?R.packageId?E.Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:E.Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions:R.packageId?E.Diagnostics.Entry_point_for_implicit_type_library_0_with_packageId_1:E.Diagnostics.Entry_point_for_implicit_type_library_0,R.typeReference,R.packageId&&E.packageIdToString(R.packageId));case E.FileIncludeKind.LibFile:if(R.index!==undefined)return E.chainDiagnosticMessages(undefined,E.Diagnostics.Library_0_specified_in_compilerOptions,G.lib[R.index]);var Ie=E.forEachEntry(E.targetOptionDeclaration.type,(function(E,N){return E===G.target?N:undefined}));return E.chainDiagnosticMessages(undefined,Ie?E.Diagnostics.Default_library_for_target_0:E.Diagnostics.Default_library,Ie);default:E.Debug.assertNever(R)}}E.fileIncludeReasonToDiagnostics=fileIncludeReasonToDiagnostics;function toFileName(N,R){var j=E.isString(N)?N:N.fileName;return R?R(j):j}function emitFilesAndReportErrors(N,R,j,$,q,G,ie,ae){var ce=!!N.getCompilerOptions().listFilesOnly;var le=N.getConfigFileParsingDiagnostics().slice();var _e=le.length;E.addRange(le,N.getSyntacticDiagnostics(undefined,G));if(le.length===_e){E.addRange(le,N.getOptionsDiagnostics(G));if(!ce){E.addRange(le,N.getGlobalDiagnostics(G));if(le.length===_e){E.addRange(le,N.getSemanticDiagnostics(undefined,G))}}}var Ee=ce?{emitSkipped:true,diagnostics:E.emptyArray}:N.emit(undefined,q,G,ie,ae);var Te=Ee.emittedFiles,we=Ee.diagnostics;E.addRange(le,we);var Ie=E.sortAndDeduplicateDiagnostics(le);Ie.forEach(R);if(j){var Ne=N.getCurrentDirectory();E.forEach(Te,(function(N){var R=E.getNormalizedAbsolutePath(N,Ne);j("TSFILE: "+R)}));listFiles(N,j)}if($){$(getErrorCountForSummary(Ie))}return{emitResult:Ee,diagnostics:Ie}}E.emitFilesAndReportErrors=emitFilesAndReportErrors;function emitFilesAndReportErrorsAndGetExitStatus(N,R,j,$,q,G,ie,ae){var ce=emitFilesAndReportErrors(N,R,j,$,q,G,ie,ae),le=ce.emitResult,_e=ce.diagnostics;if(le.emitSkipped&&_e.length>0){return E.ExitStatus.DiagnosticsPresent_OutputsSkipped}else if(_e.length>0){return E.ExitStatus.DiagnosticsPresent_OutputsGenerated}return E.ExitStatus.Success}E.emitFilesAndReportErrorsAndGetExitStatus=emitFilesAndReportErrorsAndGetExitStatus;E.noopFileWatcher={close:E.noop};E.returnNoopFileWatcher=function(){return E.noopFileWatcher};function createWatchHost(N,R){if(N===void 0){N=E.sys}var j=R||createWatchStatusReporter(N);return{onWatchStatusChange:j,watchFile:E.maybeBind(N,N.watchFile)||E.returnNoopFileWatcher,watchDirectory:E.maybeBind(N,N.watchDirectory)||E.returnNoopFileWatcher,setTimeout:E.maybeBind(N,N.setTimeout)||E.noop,clearTimeout:E.maybeBind(N,N.clearTimeout)||E.noop}}E.createWatchHost=createWatchHost;E.WatchType={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file"};function createWatchFactory(N,R){var j=N.trace?R.extendedDiagnostics?E.WatchLogLevel.Verbose:R.diagnostics?E.WatchLogLevel.TriggerOnly:E.WatchLogLevel.None:E.WatchLogLevel.None;var $=j!==E.WatchLogLevel.None?function(E){return N.trace(E)}:E.noop;var q=E.getWatchFactory(N,j,$);q.writeLog=$;return q}E.createWatchFactory=createWatchFactory;function createCompilerHostFromProgramHost(N,R,j){if(j===void 0){j=N}var $=N.useCaseSensitiveFileNames();var q=E.memoize((function(){return N.getNewLine()}));return{getSourceFile:function(j,$,q){var G;try{E.performance.mark("beforeIORead");G=N.readFile(j,R().charset);E.performance.mark("afterIORead");E.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(E){if(q){q(E.message)}G=""}return G!==undefined?E.createSourceFile(j,G,$):undefined},getDefaultLibLocation:E.maybeBind(N,N.getDefaultLibLocation),getDefaultLibFileName:function(E){return N.getDefaultLibFileName(E)},writeFile:writeFile,getCurrentDirectory:E.memoize((function(){return N.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return $},getCanonicalFileName:E.createGetCanonicalFileName($),getNewLine:function(){return E.getNewLineCharacter(R(),q)},fileExists:function(E){return N.fileExists(E)},readFile:function(E){return N.readFile(E)},trace:E.maybeBind(N,N.trace),directoryExists:E.maybeBind(j,j.directoryExists),getDirectories:E.maybeBind(j,j.getDirectories),realpath:E.maybeBind(N,N.realpath),getEnvironmentVariable:E.maybeBind(N,N.getEnvironmentVariable)||function(){return""},createHash:E.maybeBind(N,N.createHash),readDirectory:E.maybeBind(N,N.readDirectory),disableUseFileVersionAsSignature:N.disableUseFileVersionAsSignature};function writeFile(R,j,$,q){try{E.performance.mark("beforeIOWrite");E.writeFileEnsuringDirectories(R,j,$,(function(E,R,j){return N.writeFile(E,R,j)}),(function(E){return N.createDirectory(E)}),(function(E){return N.directoryExists(E)}));E.performance.mark("afterIOWrite");E.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(E){if(q){q(E.message)}}}}E.createCompilerHostFromProgramHost=createCompilerHostFromProgramHost;function setGetSourceFileAsHashVersioned(N,R){var $=N.getSourceFile;var q=E.maybeBind(R,R.createHash)||E.generateDjb2Hash;N.getSourceFile=function(){var E=[];for(var R=0;R<arguments.length;R++){E[R]=arguments[R]}var G=$.call.apply($,j([N],E,false));if(G){G.version=q(G.text)}return G}}E.setGetSourceFileAsHashVersioned=setGetSourceFileAsHashVersioned;function createProgramHost(N,R){var j=E.memoize((function(){return E.getDirectoryPath(E.normalizePath(N.getExecutingFilePath()))}));return{useCaseSensitiveFileNames:function(){return N.useCaseSensitiveFileNames},getNewLine:function(){return N.newLine},getCurrentDirectory:E.memoize((function(){return N.getCurrentDirectory()})),getDefaultLibLocation:j,getDefaultLibFileName:function(N){return E.combinePaths(j(),E.getDefaultLibFileName(N))},fileExists:function(E){return N.fileExists(E)},readFile:function(E,R){return N.readFile(E,R)},directoryExists:function(E){return N.directoryExists(E)},getDirectories:function(E){return N.getDirectories(E)},readDirectory:function(E,R,j,$,q){return N.readDirectory(E,R,j,$,q)},realpath:E.maybeBind(N,N.realpath),getEnvironmentVariable:E.maybeBind(N,N.getEnvironmentVariable),trace:function(E){return N.write(E+N.newLine)},createDirectory:function(E){return N.createDirectory(E)},writeFile:function(E,R,j){return N.writeFile(E,R,j)},createHash:E.maybeBind(N,N.createHash),createProgram:R||E.createEmitAndSemanticDiagnosticsBuilderProgram,disableUseFileVersionAsSignature:N.disableUseFileVersionAsSignature}}E.createProgramHost=createProgramHost;function createWatchCompilerHost(N,R,j,$){if(N===void 0){N=E.sys}var write=function(E){return N.write(E+N.newLine)};var q=createProgramHost(N,R);E.copyProperties(q,createWatchHost(N,$));q.afterProgramCreate=function(R){var $=R.getCompilerOptions();var G=E.getNewLineCharacter($,(function(){return N.newLine}));emitFilesAndReportErrors(R,j,write,(function(N){return q.onWatchStatusChange(E.createCompilerDiagnostic(getWatchErrorSummaryDiagnosticMessage(N),N),G,$,N)}))};return q}function reportUnrecoverableDiagnostic(N,R,j){R(j);N.exit(E.ExitStatus.DiagnosticsPresent_OutputsSkipped)}function createWatchCompilerHostOfConfigFile(E){var N=E.configFileName,R=E.optionsToExtend,j=E.watchOptionsToExtend,$=E.extraFileExtensions,q=E.system,G=E.createProgram,ie=E.reportDiagnostic,ae=E.reportWatchStatus;var ce=ie||createDiagnosticReporter(q);var le=createWatchCompilerHost(q,G,ce,ae);le.onUnRecoverableConfigFileDiagnostic=function(E){return reportUnrecoverableDiagnostic(q,ce,E)};le.configFileName=N;le.optionsToExtend=R;le.watchOptionsToExtend=j;le.extraFileExtensions=$;return le}E.createWatchCompilerHostOfConfigFile=createWatchCompilerHostOfConfigFile;function createWatchCompilerHostOfFilesAndCompilerOptions(E){var N=E.rootFiles,R=E.options,j=E.watchOptions,$=E.projectReferences,q=E.system,G=E.createProgram,ie=E.reportDiagnostic,ae=E.reportWatchStatus;var ce=createWatchCompilerHost(q,G,ie||createDiagnosticReporter(q),ae);ce.rootFiles=N;ce.options=R;ce.watchOptions=j;ce.projectReferences=$;return ce}E.createWatchCompilerHostOfFilesAndCompilerOptions=createWatchCompilerHostOfFilesAndCompilerOptions;function performIncrementalCompilation(N){var R=N.system||E.sys;var j=N.host||(N.host=E.createIncrementalCompilerHost(N.options,R));var $=E.createIncrementalProgram(N);var q=emitFilesAndReportErrorsAndGetExitStatus($,N.reportDiagnostic||createDiagnosticReporter(R),(function(E){return j.trace&&j.trace(E)}),N.reportErrorSummary||N.options.pretty?function(E){return R.write(getErrorSummaryText(E,R.newLine))}:undefined);if(N.afterProgramEmitAndDiagnostics)N.afterProgramEmitAndDiagnostics($);return q}E.performIncrementalCompilation=performIncrementalCompilation})(ce||(ce={}));var ce;(function(E){function readBuilderProgram(N,R){if(E.outFile(N))return undefined;var j=E.getTsBuildInfoEmitOutputFilePath(N);if(!j)return undefined;var $=R.readFile(j);if(!$)return undefined;var q=E.getBuildInfo($);if(q.version!==E.version)return undefined;if(!q.program)return undefined;return E.createBuildProgramUsingProgramBuildInfo(q.program,j,R)}E.readBuilderProgram=readBuilderProgram;function createIncrementalCompilerHost(N,R){if(R===void 0){R=E.sys}var j=E.createCompilerHostWorker(N,undefined,R);j.createHash=E.maybeBind(R,R.createHash);j.disableUseFileVersionAsSignature=R.disableUseFileVersionAsSignature;E.setGetSourceFileAsHashVersioned(j,R);E.changeCompilerHostLikeToUseCache(j,(function(N){return E.toPath(N,j.getCurrentDirectory(),j.getCanonicalFileName)}));return j}E.createIncrementalCompilerHost=createIncrementalCompilerHost;function createIncrementalProgram(N){var R=N.rootNames,j=N.options,$=N.configFileParsingDiagnostics,q=N.projectReferences,G=N.host,ie=N.createProgram;G=G||createIncrementalCompilerHost(j);ie=ie||E.createEmitAndSemanticDiagnosticsBuilderProgram;var ae=readBuilderProgram(j,G);return ie(R,j,G,ae,$,q)}E.createIncrementalProgram=createIncrementalProgram;function createWatchCompilerHost(N,R,j,$,q,G,ie,ae){if(E.isArray(N)){return E.createWatchCompilerHostOfFilesAndCompilerOptions({rootFiles:N,options:R,watchOptions:ae,projectReferences:ie,system:j,createProgram:$,reportDiagnostic:q,reportWatchStatus:G})}else{return E.createWatchCompilerHostOfConfigFile({configFileName:N,optionsToExtend:R,watchOptionsToExtend:ie,extraFileExtensions:ae,system:j,createProgram:$,reportDiagnostic:q,reportWatchStatus:G})}}E.createWatchCompilerHost=createWatchCompilerHost;function createWatchProgram(N){var R;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te=N.extendedConfigCache;var we=false;var Ie=new E.Map;var Ne;var Me=false;var Le=N.useCaseSensitiveFileNames();var Be=N.getCurrentDirectory();var je=N.configFileName,Ue=N.optionsToExtend,ze=Ue===void 0?{}:Ue,We=N.watchOptionsToExtend,Je=N.extraFileExtensions,Ve=N.createProgram;var qe=N.rootFiles,He=N.options,Ge=N.watchOptions,Ke=N.projectReferences;var Qe;var Xe;var Ye=false;var Ze=false;var et=je===undefined?undefined:E.createCachedDirectoryStructureHost(N,Be,Le);var tt=et||N;var rt=E.parseConfigHostFromCompilerHostLike(N,tt);var nt=updateNewLine();if(je&&N.configFileParsingResult){setConfigFileParsingResult(N.configFileParsingResult);nt=updateNewLine()}reportWatchDiagnostic(E.Diagnostics.Starting_compilation_in_watch_mode);if(je&&!N.configFileParsingResult){nt=E.getNewLineCharacter(ze,(function(){return N.getNewLine()}));E.Debug.assert(!qe);parseConfigFile();nt=updateNewLine()}var it=E.createWatchFactory(N,He),ot=it.watchFile,st=it.watchDirectory,ct=it.writeLog;var ut=E.createGetCanonicalFileName(Le);ct("Current directory: "+Be+" CaseSensitiveFileNames: "+Le);var dt;if(je){dt=ot(je,scheduleProgramReload,E.PollingInterval.High,Ge,E.WatchType.ConfigFile)}var pt=E.createCompilerHostFromProgramHost(N,(function(){return He}),tt);E.setGetSourceFileAsHashVersioned(pt,N);var ft=pt.getSourceFile;pt.getSourceFile=function(E){var N=[];for(var R=1;R<arguments.length;R++){N[R-1]=arguments[R]}return getVersionedSourceFileByPath.apply(void 0,j([E,toPath(E)],N,false))};pt.getSourceFileByPath=getVersionedSourceFileByPath;pt.getNewLine=function(){return nt};pt.fileExists=fileExists;pt.onReleaseOldSourceFile=onReleaseOldSourceFile;pt.onReleaseParsedCommandLine=onReleaseParsedCommandLine;pt.toPath=toPath;pt.getCompilationSettings=function(){return He};pt.useSourceOfProjectReferenceRedirect=E.maybeBind(N,N.useSourceOfProjectReferenceRedirect);pt.watchDirectoryOfFailedLookupLocation=function(N,R,j){return st(N,R,j,Ge,E.WatchType.FailedLookupLocations)};pt.watchTypeRootsDirectory=function(N,R,j){return st(N,R,j,Ge,E.WatchType.TypeRoots)};pt.getCachedDirectoryStructureHost=function(){return et};pt.scheduleInvalidateResolutionsOfFailedLookupLocations=scheduleInvalidateResolutionsOfFailedLookupLocations;pt.onInvalidatedResolution=scheduleProgramUpdate;pt.onChangedAutomaticTypeDirectiveNames=scheduleProgramUpdate;pt.fileIsOpen=E.returnFalse;pt.getCurrentProgram=getCurrentProgram;pt.writeLog=ct;pt.getParsedCommandLine=getParsedCommandLine;var mt=E.createResolutionCache(pt,je?E.getDirectoryPath(E.getNormalizedAbsolutePath(je,Be)):Be,false);pt.resolveModuleNames=N.resolveModuleNames?function(){var E=[];for(var R=0;R<arguments.length;R++){E[R]=arguments[R]}return N.resolveModuleNames.apply(N,E)}:function(E,N,R,j){return mt.resolveModuleNames(E,N,R,j)};pt.resolveTypeReferenceDirectives=N.resolveTypeReferenceDirectives?function(){var E=[];for(var R=0;R<arguments.length;R++){E[R]=arguments[R]}return N.resolveTypeReferenceDirectives.apply(N,E)}:function(E,N,R){return mt.resolveTypeReferenceDirectives(E,N,R)};var ht=!!N.resolveModuleNames||!!N.resolveTypeReferenceDirectives;R=readBuilderProgram(He,pt);synchronizeProgram();watchConfigFileWildCardDirectories();if(je)updateExtendedConfigFilesWatches(toPath(je),He,Ge,E.WatchType.ExtendedConfigFile);return je?{getCurrentProgram:getCurrentBuilderProgram,getProgram:updateProgram,close:close}:{getCurrentProgram:getCurrentBuilderProgram,getProgram:updateProgram,updateRootFileNames:updateRootFileNames,close:close};function close(){clearInvalidateResolutionsOfFailedLookupLocations();mt.clear();E.clearMap(Ie,(function(E){if(E&&E.fileWatcher){E.fileWatcher.close();E.fileWatcher=undefined}}));if(dt){dt.close();dt=undefined}Te===null||Te===void 0?void 0:Te.clear();Te=undefined;if(Ee){E.clearMap(Ee,E.closeFileWatcherOf);Ee=undefined}if(ae){E.clearMap(ae,E.closeFileWatcherOf);ae=undefined}if(G){E.clearMap(G,E.closeFileWatcher);G=undefined}if(_e){E.clearMap(_e,(function(N){var R;(R=N.watcher)===null||R===void 0?void 0:R.close();N.watcher=undefined;if(N.watchedDirectories)E.clearMap(N.watchedDirectories,E.closeFileWatcherOf);N.watchedDirectories=undefined}));_e=undefined}}function getCurrentBuilderProgram(){return R}function getCurrentProgram(){return R&&R.getProgramOrUndefined()}function synchronizeProgram(){ct("Synchronizing program");clearInvalidateResolutionsOfFailedLookupLocations();var j=getCurrentBuilderProgram();if(Me){nt=updateNewLine();if(j&&(we||E.changesAffectModuleResolution(j.getCompilerOptions(),He))){mt.clear()}}var $=mt.createHasInvalidatedResolution(ht||we);if(E.isProgramUptoDate(getCurrentProgram(),qe,He,getSourceVersion,fileExists,$,hasChangedAutomaticTypeDirectiveNames,getParsedCommandLine,Ke)){if(Ze){R=Ve(undefined,undefined,pt,R,Xe,Ke);Ze=false}}else{createNewProgram($)}we=false;if(N.afterProgramCreate&&j!==R){N.afterProgramCreate(R)}return R}function createNewProgram(N){ct("CreatingProgramWith::");ct(" roots: "+JSON.stringify(qe));ct(" options: "+JSON.stringify(He));if(Ke)ct(" projectReferences: "+JSON.stringify(Ke));var j=Me||!getCurrentProgram();Me=false;Ze=false;mt.startCachingPerDirectoryResolution();pt.hasInvalidatedResolution=N;pt.hasChangedAutomaticTypeDirectiveNames=hasChangedAutomaticTypeDirectiveNames;R=Ve(qe,He,pt,R,Xe,Ke);var $=E.map(mt.getModuleResolutionCache().getPackageJsonInfoCache().entries(),(function(E){var N=E[0],R=E[1];return[pt.realpath?toPath(pt.realpath(N)):N,R]}));mt.finishCachingPerDirectoryResolution();E.updateMissingFilePathsWatch(R.getProgram(),G||(G=new E.Map),watchMissingFilePath);E.updatePackageJsonWatch($,ie||(ie=new E.Map),watchPackageJsonLookupPath);if(j){mt.updateTypeRootsWatch()}if(Ne){for(var q=0,ae=Ne;q<ae.length;q++){var ce=ae[q];if(!G.has(ce)){Ie.delete(ce)}}Ne=undefined}}function updateRootFileNames(N){E.Debug.assert(!je,"Cannot update root file names with config file watch mode");qe=N;scheduleProgramUpdate()}function updateNewLine(){return E.getNewLineCharacter(He||ze,(function(){return N.getNewLine()}))}function toPath(N){return E.toPath(N,Be,ut)}function isFileMissingOnHost(E){return typeof E==="boolean"}function isFilePresenceUnknownOnHost(E){return typeof E.version==="boolean"}function fileExists(E){var N=toPath(E);if(isFileMissingOnHost(Ie.get(N))){return false}return tt.fileExists(E)}function getVersionedSourceFileByPath(N,R,j,$,q){var G=Ie.get(R);if(isFileMissingOnHost(G)){return undefined}if(G===undefined||q||isFilePresenceUnknownOnHost(G)){var ie=ft(N,j,$);if(G){if(ie){G.sourceFile=ie;G.version=ie.version;if(!G.fileWatcher){G.fileWatcher=watchFilePath(R,N,onSourceFileChange,E.PollingInterval.Low,Ge,E.WatchType.SourceFile)}}else{if(G.fileWatcher){G.fileWatcher.close()}Ie.set(R,false)}}else{if(ie){var ae=watchFilePath(R,N,onSourceFileChange,E.PollingInterval.Low,Ge,E.WatchType.SourceFile);Ie.set(R,{sourceFile:ie,version:ie.version,fileWatcher:ae})}else{Ie.set(R,false)}}return ie}return G.sourceFile}function nextSourceFileVersion(E){var N=Ie.get(E);if(N!==undefined){if(isFileMissingOnHost(N)){Ie.set(E,{version:false})}else{N.version=false}}}function getSourceVersion(E){var N=Ie.get(E);return!N||!N.version?undefined:N.version}function onReleaseOldSourceFile(E,N,R){var j=Ie.get(E.resolvedPath);if(j!==undefined){if(isFileMissingOnHost(j)){(Ne||(Ne=[])).push(E.path)}else if(j.sourceFile===E){if(j.fileWatcher){j.fileWatcher.close()}Ie.delete(E.resolvedPath);if(!R){mt.removeResolutionsOfFile(E.path)}}}}function reportWatchDiagnostic(R){if(N.onWatchStatusChange){N.onWatchStatusChange(E.createCompilerDiagnostic(R),nt,He||ze)}}function hasChangedAutomaticTypeDirectiveNames(){return mt.hasChangedAutomaticTypeDirectiveNames()}function clearInvalidateResolutionsOfFailedLookupLocations(){if(!le)return false;N.clearTimeout(le);le=undefined;return true}function scheduleInvalidateResolutionsOfFailedLookupLocations(){if(!N.setTimeout||!N.clearTimeout){return mt.invalidateResolutionsOfFailedLookupLocations()}var E=clearInvalidateResolutionsOfFailedLookupLocations();ct("Scheduling invalidateFailedLookup"+(E?", Cancelled earlier one":""));le=N.setTimeout(invalidateResolutionsOfFailedLookup,250)}function invalidateResolutionsOfFailedLookup(){le=undefined;if(mt.invalidateResolutionsOfFailedLookupLocations()){scheduleProgramUpdate()}}function scheduleProgramUpdate(){if(!N.setTimeout||!N.clearTimeout){return}if(ce){N.clearTimeout(ce)}ct("Scheduling update");ce=N.setTimeout(updateProgramWithWatchStatus,250)}function scheduleProgramReload(){E.Debug.assert(!!je);q=E.ConfigFileProgramReloadLevel.Full;scheduleProgramUpdate()}function updateProgramWithWatchStatus(){ce=undefined;reportWatchDiagnostic(E.Diagnostics.File_change_detected_Starting_incremental_compilation);updateProgram()}function updateProgram(){switch(q){case E.ConfigFileProgramReloadLevel.Partial:E.perfLogger.logStartUpdateProgram("PartialConfigReload");reloadFileNamesFromConfigFile();break;case E.ConfigFileProgramReloadLevel.Full:E.perfLogger.logStartUpdateProgram("FullConfigReload");reloadConfigFile();break;default:E.perfLogger.logStartUpdateProgram("SynchronizeProgram");synchronizeProgram();break}E.perfLogger.logStopUpdateProgram("Done");return getCurrentBuilderProgram()}function reloadFileNamesFromConfigFile(){ct("Reloading new file names and options");qe=E.getFileNamesFromConfigSpecs(He.configFile.configFileSpecs,E.getNormalizedAbsolutePath(E.getDirectoryPath(je),Be),He,rt,Je);if(E.updateErrorForNoInputFiles(qe,E.getNormalizedAbsolutePath(je,Be),He.configFile.configFileSpecs,Xe,Ye)){Ze=true}synchronizeProgram()}function reloadConfigFile(){ct("Reloading config file: "+je);q=E.ConfigFileProgramReloadLevel.None;if(et){et.clearCache()}parseConfigFile();Me=true;synchronizeProgram();watchConfigFileWildCardDirectories();updateExtendedConfigFilesWatches(toPath(je),He,Ge,E.WatchType.ExtendedConfigFile)}function parseConfigFile(){setConfigFileParsingResult(E.getParsedCommandLineOfConfigFile(je,ze,rt,Te||(Te=new E.Map),We,Je))}function setConfigFileParsingResult(N){qe=N.fileNames;He=N.options;Ge=N.watchOptions;Ke=N.projectReferences;Qe=N.wildcardDirectories;Xe=E.getConfigFileParsingDiagnostics(N).slice();Ye=E.canJsonReportNoInputFiles(N.raw);Ze=true}function getParsedCommandLine(R){var j=toPath(R);var q=_e===null||_e===void 0?void 0:_e.get(j);if(q){if(!q.reloadLevel)return q.parsedCommandLine;if(q.parsedCommandLine&&q.reloadLevel===E.ConfigFileProgramReloadLevel.Partial&&!N.getParsedCommandLine){ct("Reloading new file names and options");var G=E.getFileNamesFromConfigSpecs(q.parsedCommandLine.options.configFile.configFileSpecs,E.getNormalizedAbsolutePath(E.getDirectoryPath(R),Be),He,rt);q.parsedCommandLine=$($({},q.parsedCommandLine),{fileNames:G});q.reloadLevel=undefined;return q.parsedCommandLine}}ct("Loading config file: "+R);var ie=N.getParsedCommandLine?N.getParsedCommandLine(R):getParsedCommandLineFromConfigFileHost(R);if(q){q.parsedCommandLine=ie;q.reloadLevel=undefined}else{(_e||(_e=new E.Map)).set(j,q={parsedCommandLine:ie})}watchReferencedProject(R,j,q);return ie}function getParsedCommandLineFromConfigFileHost(N){var R=rt.onUnRecoverableConfigFileDiagnostic;rt.onUnRecoverableConfigFileDiagnostic=E.noop;var j=E.getParsedCommandLineOfConfigFile(N,undefined,rt,Te||(Te=new E.Map),We);rt.onUnRecoverableConfigFileDiagnostic=R;return j}function onReleaseParsedCommandLine(N){var R;var j=toPath(N);var $=_e===null||_e===void 0?void 0:_e.get(j);if(!$)return;_e.delete(j);if($.watchedDirectories)E.clearMap($.watchedDirectories,E.closeFileWatcherOf);(R=$.watcher)===null||R===void 0?void 0:R.close();E.clearSharedExtendedConfigFileWatcher(j,Ee)}function watchFilePath(E,N,R,j,$,q){return ot(N,(function(N,j){return R(N,j,E)}),j,$,q)}function onSourceFileChange(N,R,j){updateCachedSystemWithFile(N,j,R);if(R===E.FileWatcherEventKind.Deleted&&Ie.has(j)){mt.invalidateResolutionOfFile(j)}nextSourceFileVersion(j);scheduleProgramUpdate()}function updateCachedSystemWithFile(E,N,R){if(et){et.addOrDeleteFile(E,N,R)}}function watchMissingFilePath(N){return(_e===null||_e===void 0?void 0:_e.has(N))?E.noopFileWatcher:watchFilePath(N,N,onMissingFileChange,E.PollingInterval.Medium,Ge,E.WatchType.MissingFile)}function watchPackageJsonLookupPath(N){return Ie.has(N)?E.noopFileWatcher:watchFilePath(N,N,onPackageJsonChange,E.PollingInterval.High,Ge,E.WatchType.PackageJson)}function onPackageJsonChange(N,R,j){updateCachedSystemWithFile(N,j,R);q=E.ConfigFileProgramReloadLevel.Full;we=true;scheduleProgramUpdate()}function onMissingFileChange(N,R,j){updateCachedSystemWithFile(N,j,R);if(R===E.FileWatcherEventKind.Created&&G.has(j)){G.get(j).close();G.delete(j);nextSourceFileVersion(j);scheduleProgramUpdate()}}function watchConfigFileWildCardDirectories(){if(Qe){E.updateWatchingWildcardDirectories(ae||(ae=new E.Map),new E.Map(E.getEntries(Qe)),watchWildcardDirectory)}else if(ae){E.clearMap(ae,E.closeFileWatcherOf)}}function watchWildcardDirectory(N,R){return st(N,(function(R){E.Debug.assert(!!je);var j=toPath(R);if(et){et.addOrDeleteFileOrDirectory(R,j)}nextSourceFileVersion(j);if(E.isIgnoredFileFromWildCardWatching({watchedDirPath:toPath(N),fileOrDirectory:R,fileOrDirectoryPath:j,configFileName:je,extraFileExtensions:Je,options:He,program:getCurrentBuilderProgram()||qe,currentDirectory:Be,useCaseSensitiveFileNames:Le,writeLog:ct,toPath:toPath}))return;if(q!==E.ConfigFileProgramReloadLevel.Full){q=E.ConfigFileProgramReloadLevel.Partial;scheduleProgramUpdate()}}),R,Ge,E.WatchType.WildcardDirectory)}function updateExtendedConfigFilesWatches(N,R,j,$){E.updateSharedExtendedConfigFileWatcher(N,R,Ee||(Ee=new E.Map),(function(N,R){return ot(N,(function(j,$){var G;updateCachedSystemWithFile(N,R,$);if(Te)E.cleanExtendedConfigCache(Te,R,toPath);var ie=(G=Ee.get(R))===null||G===void 0?void 0:G.projects;if(!(ie===null||ie===void 0?void 0:ie.size))return;ie.forEach((function(N){if(toPath(je)===N){q=E.ConfigFileProgramReloadLevel.Full}else{var R=_e===null||_e===void 0?void 0:_e.get(N);if(R)R.reloadLevel=E.ConfigFileProgramReloadLevel.Full;mt.removeResolutionsFromProjectReferenceRedirects(N)}scheduleProgramUpdate()}))}),E.PollingInterval.High,j,$)}),toPath)}function watchReferencedProject(N,R,j){var $,q,G,ie,ae;j.watcher||(j.watcher=ot(N,(function(j,$){updateCachedSystemWithFile(N,R,$);var q=_e===null||_e===void 0?void 0:_e.get(R);if(q)q.reloadLevel=E.ConfigFileProgramReloadLevel.Full;mt.removeResolutionsFromProjectReferenceRedirects(R);scheduleProgramUpdate()}),E.PollingInterval.High,(($=j.parsedCommandLine)===null||$===void 0?void 0:$.watchOptions)||Ge,E.WatchType.ConfigFileOfReferencedProject));if((q=j.parsedCommandLine)===null||q===void 0?void 0:q.wildcardDirectories){E.updateWatchingWildcardDirectories(j.watchedDirectories||(j.watchedDirectories=new E.Map),new E.Map(E.getEntries((G=j.parsedCommandLine)===null||G===void 0?void 0:G.wildcardDirectories)),(function($,q){var G;return st($,(function(j){var q=toPath(j);if(et){et.addOrDeleteFileOrDirectory(j,q)}nextSourceFileVersion(q);var G=_e===null||_e===void 0?void 0:_e.get(R);if(!(G===null||G===void 0?void 0:G.parsedCommandLine))return;if(E.isIgnoredFileFromWildCardWatching({watchedDirPath:toPath($),fileOrDirectory:j,fileOrDirectoryPath:q,configFileName:N,options:G.parsedCommandLine.options,program:G.parsedCommandLine.fileNames,currentDirectory:Be,useCaseSensitiveFileNames:Le,writeLog:ct,toPath:toPath}))return;if(G.reloadLevel!==E.ConfigFileProgramReloadLevel.Full){G.reloadLevel=E.ConfigFileProgramReloadLevel.Partial;scheduleProgramUpdate()}}),q,((G=j.parsedCommandLine)===null||G===void 0?void 0:G.watchOptions)||Ge,E.WatchType.WildcardDirectoryOfReferencedProject)}))}else if(j.watchedDirectories){E.clearMap(j.watchedDirectories,E.closeFileWatcherOf);j.watchedDirectories=undefined}updateExtendedConfigFilesWatches(R,(ie=j.parsedCommandLine)===null||ie===void 0?void 0:ie.options,((ae=j.parsedCommandLine)===null||ae===void 0?void 0:ae.watchOptions)||Ge,E.WatchType.ExtendedConfigOfReferencedProject)}}E.createWatchProgram=createWatchProgram})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Unbuildable"]=0]="Unbuildable";E[E["UpToDate"]=1]="UpToDate";E[E["UpToDateWithUpstreamTypes"]=2]="UpToDateWithUpstreamTypes";E[E["OutOfDateWithPrepend"]=3]="OutOfDateWithPrepend";E[E["OutputMissing"]=4]="OutputMissing";E[E["OutOfDateWithSelf"]=5]="OutOfDateWithSelf";E[E["OutOfDateWithUpstream"]=6]="OutOfDateWithUpstream";E[E["UpstreamOutOfDate"]=7]="UpstreamOutOfDate";E[E["UpstreamBlocked"]=8]="UpstreamBlocked";E[E["ComputingUpstream"]=9]="ComputingUpstream";E[E["TsVersionOutputOfDate"]=10]="TsVersionOutputOfDate";E[E["ContainerOnly"]=11]="ContainerOnly"})(N=E.UpToDateStatusType||(E.UpToDateStatusType={}));function resolveConfigFileProjectName(N){if(E.fileExtensionIs(N,".json")){return N}return E.combinePaths(N,"tsconfig.json")}E.resolveConfigFileProjectName=resolveConfigFileProjectName})(ce||(ce={}));var ce;(function(E){var N=new Date(-864e13);var R=new Date(864e13);var $;(function(E){E[E["None"]=0]="None";E[E["Success"]=1]="Success";E[E["DeclarationOutputUnchanged"]=2]="DeclarationOutputUnchanged";E[E["ConfigFileErrors"]=4]="ConfigFileErrors";E[E["SyntaxErrors"]=8]="SyntaxErrors";E[E["TypeErrors"]=16]="TypeErrors";E[E["DeclarationEmitErrors"]=32]="DeclarationEmitErrors";E[E["EmitErrors"]=64]="EmitErrors";E[E["AnyErrors"]=124]="AnyErrors"})($||($={}));function getOrCreateValueFromConfigFileMap(E,N,R){var j=E.get(N);var $;if(!j){$=R();E.set(N,$)}return j||$}function getOrCreateValueMapFromConfigFileMap(N,R){return getOrCreateValueFromConfigFileMap(N,R,(function(){return new E.Map}))}function newer(E,N){return N>E?N:E}function isDeclarationFile(N){return E.fileExtensionIs(N,".d.ts")}function isCircularBuildOrder(E){return!!E&&!!E.buildOrder}E.isCircularBuildOrder=isCircularBuildOrder;function getBuildOrderFromAnyBuildOrder(E){return isCircularBuildOrder(E)?E.buildOrder:E}E.getBuildOrderFromAnyBuildOrder=getBuildOrderFromAnyBuildOrder;function createBuilderStatusReporter(N,R){return function(j){var $=R?"["+E.formatColorAndReset(E.getLocaleTimeString(N),E.ForegroundColorEscapeSequences.Grey)+"] ":E.getLocaleTimeString(N)+" - ";$+=""+E.flattenDiagnosticMessageText(j.messageText,N.newLine)+(N.newLine+N.newLine);N.write($)}}E.createBuilderStatusReporter=createBuilderStatusReporter;function createSolutionBuilderHostBase(N,R,j,$){var q=E.createProgramHost(N,R);q.getModifiedTime=N.getModifiedTime?function(E){return N.getModifiedTime(E)}:E.returnUndefined;q.setModifiedTime=N.setModifiedTime?function(E,R){return N.setModifiedTime(E,R)}:E.noop;q.deleteFile=N.deleteFile?function(E){return N.deleteFile(E)}:E.noop;q.reportDiagnostic=j||E.createDiagnosticReporter(N);q.reportSolutionBuilderStatus=$||createBuilderStatusReporter(N);q.now=E.maybeBind(N,N.now);return q}function createSolutionBuilderHost(N,R,j,$,q){if(N===void 0){N=E.sys}var G=createSolutionBuilderHostBase(N,R,j,$);G.reportErrorSummary=q;return G}E.createSolutionBuilderHost=createSolutionBuilderHost;function createSolutionBuilderWithWatchHost(N,R,j,$,q){if(N===void 0){N=E.sys}var G=createSolutionBuilderHostBase(N,R,j,$);var ie=E.createWatchHost(N,q);E.copyProperties(G,ie);return G}E.createSolutionBuilderWithWatchHost=createSolutionBuilderWithWatchHost;function getCompilerOptionsOfBuildOptions(N){var R={};E.commonOptionsWithBuild.forEach((function(j){if(E.hasProperty(N,j.name))R[j.name]=N[j.name]}));return R}function createSolutionBuilder(E,N,R){return createSolutionBuilderWorker(false,E,N,R)}E.createSolutionBuilder=createSolutionBuilder;function createSolutionBuilderWithWatch(E,N,R,j){return createSolutionBuilderWorker(true,E,N,R,j)}E.createSolutionBuilderWithWatch=createSolutionBuilderWithWatch;function createSolutionBuilderState(N,R,j,$,q){var G=R;var ie=R;var ae=G.getCurrentDirectory();var ce=E.createGetCanonicalFileName(G.useCaseSensitiveFileNames());var le=getCompilerOptionsOfBuildOptions($);var _e=E.createCompilerHostFromProgramHost(G,(function(){return Le.projectCompilerOptions}));E.setGetSourceFileAsHashVersioned(_e,G);_e.getParsedCommandLine=function(E){return parseConfigFile(Le,E,toResolvedConfigFilePath(Le,E))};_e.resolveModuleNames=E.maybeBind(G,G.resolveModuleNames);_e.resolveTypeReferenceDirectives=E.maybeBind(G,G.resolveTypeReferenceDirectives);var Ee=!_e.resolveModuleNames?E.createModuleResolutionCache(ae,ce):undefined;var Te=!_e.resolveTypeReferenceDirectives?E.createTypeReferenceDirectiveResolutionCache(ae,ce,undefined,Ee===null||Ee===void 0?void 0:Ee.getPackageJsonInfoCache()):undefined;if(!_e.resolveModuleNames){var loader_3=function(N,R,j){return E.resolveModuleName(N,R,Le.projectCompilerOptions,_e,Ee,j).resolvedModule};_e.resolveModuleNames=function(N,R,j,$){return E.loadWithLocalCache(E.Debug.checkEachDefined(N),R,$,loader_3)}}if(!_e.resolveTypeReferenceDirectives){var loader_4=function(N,R,j){return E.resolveTypeReferenceDirective(N,R,Le.projectCompilerOptions,_e,j,Le.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};_e.resolveTypeReferenceDirectives=function(N,R,j){return E.loadWithLocalCache(E.Debug.checkEachDefined(N),R,j,loader_4)}}var we=E.createWatchFactory(ie,$),Ie=we.watchFile,Ne=we.watchDirectory,Me=we.writeLog;var Le={host:G,hostWithWatch:ie,currentDirectory:ae,getCanonicalFileName:ce,parseConfigFileHost:E.parseConfigHostFromCompilerHostLike(G),write:E.maybeBind(G,G.trace),options:$,baseCompilerOptions:le,rootNames:j,baseWatchOptions:q,resolvedConfigFilePaths:new E.Map,configFileCache:new E.Map,projectStatus:new E.Map,buildInfoChecked:new E.Map,extendedConfigCache:new E.Map,builderPrograms:new E.Map,diagnostics:new E.Map,projectPendingBuild:new E.Map,projectErrorsReported:new E.Map,compilerHost:_e,moduleResolutionCache:Ee,typeReferenceDirectiveResolutionCache:Te,buildOrder:undefined,readFileWithCache:function(E){return G.readFile(E)},projectCompilerOptions:le,cache:undefined,allProjectBuildPending:true,needsSummary:true,watchAllProjectsPending:N,currentInvalidatedProject:undefined,watch:N,allWatchedWildcardDirectories:new E.Map,allWatchedInputFiles:new E.Map,allWatchedConfigFiles:new E.Map,allWatchedExtendedConfigFiles:new E.Map,allWatchedPackageJsonFiles:new E.Map,lastCachedPackageJsonLookups:new E.Map,timerToBuildInvalidatedProject:undefined,reportFileChangeDetected:false,watchFile:Ie,watchDirectory:Ne,writeLog:Me};return Le}function toPath(N,R){return E.toPath(R,N.currentDirectory,N.getCanonicalFileName)}function toResolvedConfigFilePath(E,N){var R=E.resolvedConfigFilePaths;var j=R.get(N);if(j!==undefined)return j;var $=toPath(E,N);R.set(N,$);return $}function isParsedCommandLine(E){return!!E.options}function getCachedParsedConfigFile(E,N){var R=E.configFileCache.get(N);return R&&isParsedCommandLine(R)?R:undefined}function parseConfigFile(N,R,j){var $=N.configFileCache;var q=$.get(j);if(q){return isParsedCommandLine(q)?q:undefined}var G;var ie=N.parseConfigFileHost,ae=N.baseCompilerOptions,ce=N.baseWatchOptions,le=N.extendedConfigCache,_e=N.host;var Ee;if(_e.getParsedCommandLine){Ee=_e.getParsedCommandLine(R);if(!Ee)G=E.createCompilerDiagnostic(E.Diagnostics.File_0_not_found,R)}else{ie.onUnRecoverableConfigFileDiagnostic=function(E){return G=E};Ee=E.getParsedCommandLineOfConfigFile(R,ae,ie,le,ce);ie.onUnRecoverableConfigFileDiagnostic=E.noop}$.set(j,Ee||G);return Ee}function resolveProjectName(N,R){return E.resolveConfigFileProjectName(E.resolvePath(N.currentDirectory,R))}function createBuildOrder(N,R){var j=new E.Map;var $=new E.Map;var q=[];var G;var ie;for(var ae=0,ce=R;ae<ce.length;ae++){var le=ce[ae];visit(le)}return ie?{buildOrder:G||E.emptyArray,circularDiagnostics:ie}:G||E.emptyArray;function visit(R,ae){var ce=toResolvedConfigFilePath(N,R);if($.has(ce))return;if(j.has(ce)){if(!ae){(ie||(ie=[])).push(E.createCompilerDiagnostic(E.Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,q.join("\r\n")))}return}j.set(ce,true);q.push(R);var le=parseConfigFile(N,R,ce);if(le&&le.projectReferences){for(var _e=0,Ee=le.projectReferences;_e<Ee.length;_e++){var Te=Ee[_e];var we=resolveProjectName(N,Te.path);visit(we,ae||Te.circular)}}q.pop();$.set(ce,true);(G||(G=[])).push(R)}}function getBuildOrder(E){return E.buildOrder||createStateBuildOrder(E)}function createStateBuildOrder(N){var R=createBuildOrder(N,N.rootNames.map((function(E){return resolveProjectName(N,E)})));N.resolvedConfigFilePaths.clear();var j=new E.Map(getBuildOrderFromAnyBuildOrder(R).map((function(E){return[toResolvedConfigFilePath(N,E),true]})));var $={onDeleteValue:E.noop};E.mutateMapSkippingNewValues(N.configFileCache,j,$);E.mutateMapSkippingNewValues(N.projectStatus,j,$);E.mutateMapSkippingNewValues(N.buildInfoChecked,j,$);E.mutateMapSkippingNewValues(N.builderPrograms,j,$);E.mutateMapSkippingNewValues(N.diagnostics,j,$);E.mutateMapSkippingNewValues(N.projectPendingBuild,j,$);E.mutateMapSkippingNewValues(N.projectErrorsReported,j,$);if(N.watch){E.mutateMapSkippingNewValues(N.allWatchedConfigFiles,j,{onDeleteValue:E.closeFileWatcher});N.allWatchedExtendedConfigFiles.forEach((function(E){E.projects.forEach((function(N){if(!j.has(N)){E.projects.delete(N)}}));E.close()}));E.mutateMapSkippingNewValues(N.allWatchedWildcardDirectories,j,{onDeleteValue:function(N){return N.forEach(E.closeFileWatcherOf)}});E.mutateMapSkippingNewValues(N.allWatchedInputFiles,j,{onDeleteValue:function(N){return N.forEach(E.closeFileWatcher)}});E.mutateMapSkippingNewValues(N.allWatchedPackageJsonFiles,j,{onDeleteValue:function(N){return N.forEach(E.closeFileWatcher)}})}return N.buildOrder=R}function getBuildOrderFor(N,R,j){var $=R&&resolveProjectName(N,R);var q=getBuildOrder(N);if(isCircularBuildOrder(q))return q;if($){var G=toResolvedConfigFilePath(N,$);var ie=E.findIndex(q,(function(E){return toResolvedConfigFilePath(N,E)===G}));if(ie===-1)return undefined}var ae=$?createBuildOrder(N,[$]):q;E.Debug.assert(!isCircularBuildOrder(ae));E.Debug.assert(!j||$!==undefined);E.Debug.assert(!j||ae[ae.length-1]===$);return j?ae.slice(0,ae.length-1):ae}function enableCache(N){if(N.cache){disableCache(N)}var R=N.compilerHost,$=N.host;var q=N.readFileWithCache;var G=R.getSourceFile;var ie=E.changeCompilerHostLikeToUseCache($,(function(E){return toPath(N,E)}),(function(){var E=[];for(var N=0;N<arguments.length;N++){E[N]=arguments[N]}return G.call.apply(G,j([R],E,false))})),ae=ie.originalReadFile,ce=ie.originalFileExists,le=ie.originalDirectoryExists,_e=ie.originalCreateDirectory,Ee=ie.originalWriteFile,Te=ie.getSourceFileWithCache,we=ie.readFileWithCache;N.readFileWithCache=we;R.getSourceFile=Te;N.cache={originalReadFile:ae,originalFileExists:ce,originalDirectoryExists:le,originalCreateDirectory:_e,originalWriteFile:Ee,originalReadFileWithCache:q,originalGetSourceFile:G}}function disableCache(E){if(!E.cache)return;var N=E.cache,R=E.host,j=E.compilerHost,$=E.extendedConfigCache,q=E.moduleResolutionCache,G=E.typeReferenceDirectiveResolutionCache;R.readFile=N.originalReadFile;R.fileExists=N.originalFileExists;R.directoryExists=N.originalDirectoryExists;R.createDirectory=N.originalCreateDirectory;R.writeFile=N.originalWriteFile;j.getSourceFile=N.originalGetSourceFile;E.readFileWithCache=N.originalReadFileWithCache;$.clear();q===null||q===void 0?void 0:q.clear();G===null||G===void 0?void 0:G.clear();E.cache=undefined}function clearProjectStatus(E,N){E.projectStatus.delete(N);E.diagnostics.delete(N)}function addProjToQueue(E,N,R){var j=E.projectPendingBuild;var $=j.get(N);if($===undefined){j.set(N,R)}else if($<R){j.set(N,R)}}function setupInitialBuild(N,R){if(!N.allProjectBuildPending)return;N.allProjectBuildPending=false;if(N.options.watch){reportWatchStatus(N,E.Diagnostics.Starting_compilation_in_watch_mode)}enableCache(N);var j=getBuildOrderFromAnyBuildOrder(getBuildOrder(N));j.forEach((function(R){return N.projectPendingBuild.set(toResolvedConfigFilePath(N,R),E.ConfigFileProgramReloadLevel.None)}));if(R){R.throwIfCancellationRequested()}}var q;(function(E){E[E["Build"]=0]="Build";E[E["UpdateBundle"]=1]="UpdateBundle";E[E["UpdateOutputFileStamps"]=2]="UpdateOutputFileStamps"})(q=E.InvalidatedProjectKind||(E.InvalidatedProjectKind={}));function doneInvalidatedProject(N,R){N.projectPendingBuild.delete(R);N.currentInvalidatedProject=undefined;return N.diagnostics.has(R)?E.ExitStatus.DiagnosticsPresent_OutputsSkipped:E.ExitStatus.Success}function createUpdateOutputFileStampsProject(E,N,R,j,$){var G=true;return{kind:q.UpdateOutputFileStamps,project:N,projectPath:R,buildOrder:$,getCompilerOptions:function(){return j.options},getCurrentDirectory:function(){return E.currentDirectory},updateOutputFileStatmps:function(){updateOutputTimestamps(E,j,R);G=false},done:function(){if(G){updateOutputTimestamps(E,j,R)}return doneInvalidatedProject(E,R)}}}var G;(function(E){E[E["CreateProgram"]=0]="CreateProgram";E[E["SyntaxDiagnostics"]=1]="SyntaxDiagnostics";E[E["SemanticDiagnostics"]=2]="SemanticDiagnostics";E[E["Emit"]=3]="Emit";E[E["EmitBundle"]=4]="EmitBundle";E[E["EmitBuildInfo"]=5]="EmitBuildInfo";E[E["BuildInvalidatedProjectOfBundle"]=6]="BuildInvalidatedProjectOfBundle";E[E["QueueReferencingProjects"]=7]="QueueReferencingProjects";E[E["Done"]=8]="Done"})(G||(G={}));function createBuildOrUpdateInvalidedProject(ie,ae,ce,le,_e,Ee,Te){var we=ie===q.Build?G.CreateProgram:G.EmitBundle;var Ie;var Ne;var Me;return ie===q.Build?{kind:ie,project:ce,projectPath:le,buildOrder:Te,getCompilerOptions:function(){return Ee.options},getCurrentDirectory:function(){return ae.currentDirectory},getBuilderProgram:function(){return withProgramOrUndefined(E.identity)},getProgram:function(){return withProgramOrUndefined((function(E){return E.getProgramOrUndefined()}))},getSourceFile:function(E){return withProgramOrUndefined((function(N){return N.getSourceFile(E)}))},getSourceFiles:function(){return withProgramOrEmptyArray((function(E){return E.getSourceFiles()}))},getOptionsDiagnostics:function(E){return withProgramOrEmptyArray((function(N){return N.getOptionsDiagnostics(E)}))},getGlobalDiagnostics:function(E){return withProgramOrEmptyArray((function(N){return N.getGlobalDiagnostics(E)}))},getConfigFileParsingDiagnostics:function(){return withProgramOrEmptyArray((function(E){return E.getConfigFileParsingDiagnostics()}))},getSyntacticDiagnostics:function(E,N){return withProgramOrEmptyArray((function(R){return R.getSyntacticDiagnostics(E,N)}))},getAllDependencies:function(E){return withProgramOrEmptyArray((function(N){return N.getAllDependencies(E)}))},getSemanticDiagnostics:function(E,N){return withProgramOrEmptyArray((function(R){return R.getSemanticDiagnostics(E,N)}))},getSemanticDiagnosticsOfNextAffectedFile:function(E,N){return withProgramOrUndefined((function(R){return R.getSemanticDiagnosticsOfNextAffectedFile&&R.getSemanticDiagnosticsOfNextAffectedFile(E,N)}))},emit:function(E,N,R,j,$){if(E||j){return withProgramOrUndefined((function(q){var G,ie;return q.emit(E,N,R,j,$||((ie=(G=ae.host).getCustomTransformers)===null||ie===void 0?void 0:ie.call(G,ce)))}))}executeSteps(G.SemanticDiagnostics,R);if(we===G.EmitBuildInfo){return emitBuildInfo(N,R)}if(we!==G.Emit)return undefined;return emit(N,R,$)},done:done}:{kind:ie,project:ce,projectPath:le,buildOrder:Te,getCompilerOptions:function(){return Ee.options},getCurrentDirectory:function(){return ae.currentDirectory},emit:function(E,N){if(we!==G.EmitBundle)return Me;return emitBundle(E,N)},done:done};function done(E,N,R){executeSteps(G.Done,E,N,R);return doneInvalidatedProject(ae,le)}function withProgramOrUndefined(E){executeSteps(G.CreateProgram);return Ie&&E(Ie)}function withProgramOrEmptyArray(N){return withProgramOrUndefined(N)||E.emptyArray}function createProgram(){var N,R;E.Debug.assert(Ie===undefined);if(ae.options.dry){reportStatus(ae,E.Diagnostics.A_non_dry_build_would_build_project_0,ce);Ne=$.Success;we=G.QueueReferencingProjects;return}if(ae.options.verbose)reportStatus(ae,E.Diagnostics.Building_project_0,ce);if(Ee.fileNames.length===0){reportAndStoreErrors(ae,le,E.getConfigFileParsingDiagnostics(Ee));Ne=$.None;we=G.QueueReferencingProjects;return}var j=ae.host,q=ae.compilerHost;ae.projectCompilerOptions=Ee.options;(N=ae.moduleResolutionCache)===null||N===void 0?void 0:N.update(Ee.options);(R=ae.typeReferenceDirectiveResolutionCache)===null||R===void 0?void 0:R.update(Ee.options);Ie=j.createProgram(Ee.fileNames,Ee.options,q,getOldProgram(ae,le,Ee),E.getConfigFileParsingDiagnostics(Ee),Ee.projectReferences);ae.lastCachedPackageJsonLookups.set(le,ae.moduleResolutionCache&&E.map(ae.moduleResolutionCache.getPackageJsonInfoCache().entries(),(function(E){var N=E[0],R=E[1];return[ae.host.realpath?toPath(ae,ae.host.realpath(N)):N,R]})));if(ae.watch){ae.builderPrograms.set(le,Ie)}we++}function handleDiagnostics(E,N,R){var j;if(E.length){j=buildErrors(ae,le,Ie,Ee,E,N,R),Ne=j.buildResult,we=j.step}else{we++}}function getSyntaxDiagnostics(N){E.Debug.assertIsDefined(Ie);handleDiagnostics(j(j(j(j([],Ie.getConfigFileParsingDiagnostics(),true),Ie.getOptionsDiagnostics(N),true),Ie.getGlobalDiagnostics(N),true),Ie.getSyntacticDiagnostics(undefined,N),true),$.SyntaxErrors,"Syntactic")}function getSemanticDiagnostics(N){handleDiagnostics(E.Debug.checkDefined(Ie).getSemanticDiagnostics(undefined,N),$.TypeErrors,"Semantic")}function emit(R,j,q){var ie;var _e,Te;E.Debug.assertIsDefined(Ie);E.Debug.assert(we===G.Emit);Ie.backupState();var Me;var reportDeclarationDiagnostics=function(E){return(Me||(Me=[])).push(E)};var Le=[];var Be=E.emitFilesAndReportErrors(Ie,reportDeclarationDiagnostics,undefined,undefined,(function(E,N,R){return Le.push({name:E,text:N,writeByteOrderMark:R})}),j,false,q||((Te=(_e=ae.host).getCustomTransformers)===null||Te===void 0?void 0:Te.call(_e,ce))).emitResult;if(Me){Ie.restoreState();ie=buildErrors(ae,le,Ie,Ee,Me,$.DeclarationEmitErrors,"Declaration file"),Ne=ie.buildResult,we=ie.step;return{emitSkipped:true,diagnostics:Be.diagnostics}}var je=ae.host,Ue=ae.compilerHost;var ze=$.DeclarationOutputUnchanged;var We=N;var Je=false;var Ve=E.createDiagnosticCollection();var qe=new E.Map;Le.forEach((function(N){var j=N.name,q=N.text,G=N.writeByteOrderMark;var ie;if(!Je&&isDeclarationFile(j)){if(je.fileExists(j)&&ae.readFileWithCache(j)===q){ie=je.getModifiedTime(j)}else{ze&=~$.DeclarationOutputUnchanged;Je=true}}qe.set(toPath(ae,j),j);E.writeFile(R?{writeFile:R}:Ue,Ve,j,q,G);if(ie!==undefined){We=newer(ie,We)}}));finishEmit(Ve,qe,We,Je,Le.length?Le[0].name:E.getFirstProjectOutput(Ee,!je.useCaseSensitiveFileNames()),ze);return Be}function emitBuildInfo(N,R){E.Debug.assertIsDefined(Ie);E.Debug.assert(we===G.EmitBuildInfo);var q=Ie.emitBuildInfo(N,R);if(q.diagnostics.length){reportErrors(ae,q.diagnostics);ae.diagnostics.set(le,j(j([],ae.diagnostics.get(le),true),q.diagnostics,true));Ne=$.EmitErrors&Ne}if(q.emittedFiles&&ae.write){q.emittedFiles.forEach((function(E){return listEmittedFile(ae,Ee,E)}))}afterProgramDone(ae,Ie,Ee);we=G.QueueReferencingProjects;return q}function finishEmit(N,j,q,ie,ce,_e){var Te;var Me=N.getDiagnostics();if(Me.length){Te=buildErrors(ae,le,Ie,Ee,Me,$.EmitErrors,"Emit"),Ne=Te.buildResult,we=Te.step;return Me}if(ae.write){j.forEach((function(E){return listEmittedFile(ae,Ee,E)}))}var Le=updateOutputTimestampsWorker(ae,Ee,q,E.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,j);ae.diagnostics.delete(le);ae.projectStatus.set(le,{type:E.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:ie?R:Le,oldestOutputFileName:ce});afterProgramDone(ae,Ie,Ee);we=G.QueueReferencingProjects;Ne=_e;return Me}function emitBundle(R,j){var Ie,Le;E.Debug.assert(ie===q.UpdateBundle);if(ae.options.dry){reportStatus(ae,E.Diagnostics.A_non_dry_build_would_update_output_of_project_0,ce);Ne=$.Success;we=G.QueueReferencingProjects;return undefined}if(ae.options.verbose)reportStatus(ae,E.Diagnostics.Updating_output_of_project_0,ce);var Be=ae.compilerHost;ae.projectCompilerOptions=Ee.options;var je=E.emitUsingBuildInfo(Ee,Be,(function(E){var N=resolveProjectName(ae,E.path);return parseConfigFile(ae,N,toResolvedConfigFilePath(ae,N))}),j||((Le=(Ie=ae.host).getCustomTransformers)===null||Le===void 0?void 0:Le.call(Ie,ce)));if(E.isString(je)){reportStatus(ae,E.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,ce,relName(ae,je));we=G.BuildInvalidatedProjectOfBundle;return Me=createBuildOrUpdateInvalidedProject(q.Build,ae,ce,le,_e,Ee,Te)}E.Debug.assert(!!je.length);var Ue=E.createDiagnosticCollection();var ze=new E.Map;je.forEach((function(N){var j=N.name,$=N.text,q=N.writeByteOrderMark;ze.set(toPath(ae,j),j);E.writeFile(R?{writeFile:R}:Be,Ue,j,$,q)}));var We=finishEmit(Ue,ze,N,false,je[0].name,$.DeclarationOutputUnchanged);return{emitSkipped:false,diagnostics:We}}function executeSteps(N,R,j,$){while(we<=N&&we<G.Done){var q=we;switch(we){case G.CreateProgram:createProgram();break;case G.SyntaxDiagnostics:getSyntaxDiagnostics(R);break;case G.SemanticDiagnostics:getSemanticDiagnostics(R);break;case G.Emit:emit(j,R,$);break;case G.EmitBuildInfo:emitBuildInfo(j,R);break;case G.EmitBundle:emitBundle(j,$);break;case G.BuildInvalidatedProjectOfBundle:E.Debug.checkDefined(Me).done(R,j,$);we=G.Done;break;case G.QueueReferencingProjects:queueReferencingProjects(ae,ce,le,_e,Ee,Te,E.Debug.checkDefined(Ne));we++;break;case G.Done:default:E.assertType(we)}E.Debug.assert(we>q)}}}function needsBuild(N,R,j){var $=N.options;if(R.type!==E.UpToDateStatusType.OutOfDateWithPrepend||$.force)return true;return j.fileNames.length===0||!!E.getConfigFileParsingDiagnostics(j).length||!E.isIncrementalCompilation(j.options)}function getNextInvalidatedProject(N,R,j){if(!N.projectPendingBuild.size)return undefined;if(isCircularBuildOrder(R))return undefined;if(N.currentInvalidatedProject){return E.arrayIsEqualTo(N.currentInvalidatedProject.buildOrder,R)?N.currentInvalidatedProject:undefined}var $=N.options,G=N.projectPendingBuild;for(var ie=0;ie<R.length;ie++){var ae=R[ie];var ce=toResolvedConfigFilePath(N,ae);var le=N.projectPendingBuild.get(ce);if(le===undefined)continue;if(j){j=false;reportBuildQueue(N,R)}var _e=parseConfigFile(N,ae,ce);if(!_e){reportParseConfigFileDiagnostic(N,ce);G.delete(ce);continue}if(le===E.ConfigFileProgramReloadLevel.Full){watchConfigFile(N,ae,ce,_e);watchExtendedConfigFiles(N,ce,_e);watchWildCardDirectories(N,ae,ce,_e);watchInputFiles(N,ae,ce,_e);watchPackageJsonFiles(N,ae,ce,_e)}else if(le===E.ConfigFileProgramReloadLevel.Partial){_e.fileNames=E.getFileNamesFromConfigSpecs(_e.options.configFile.configFileSpecs,E.getDirectoryPath(ae),_e.options,N.parseConfigFileHost);E.updateErrorForNoInputFiles(_e.fileNames,ae,_e.options.configFile.configFileSpecs,_e.errors,E.canJsonReportNoInputFiles(_e.raw));watchInputFiles(N,ae,ce,_e);watchPackageJsonFiles(N,ae,ce,_e)}var Ee=getUpToDateStatus(N,_e,ce);verboseReportProjectStatus(N,ae,Ee);if(!$.force){if(Ee.type===E.UpToDateStatusType.UpToDate){reportAndStoreErrors(N,ce,E.getConfigFileParsingDiagnostics(_e));G.delete(ce);if($.dry){reportStatus(N,E.Diagnostics.Project_0_is_up_to_date,ae)}continue}if(Ee.type===E.UpToDateStatusType.UpToDateWithUpstreamTypes){reportAndStoreErrors(N,ce,E.getConfigFileParsingDiagnostics(_e));return createUpdateOutputFileStampsProject(N,ae,ce,_e,R)}}if(Ee.type===E.UpToDateStatusType.UpstreamBlocked){reportAndStoreErrors(N,ce,E.getConfigFileParsingDiagnostics(_e));G.delete(ce);if($.verbose){reportStatus(N,Ee.upstreamProjectBlocked?E.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:E.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,ae,Ee.upstreamProjectName)}continue}if(Ee.type===E.UpToDateStatusType.ContainerOnly){reportAndStoreErrors(N,ce,E.getConfigFileParsingDiagnostics(_e));G.delete(ce);continue}return createBuildOrUpdateInvalidedProject(needsBuild(N,Ee,_e)?q.Build:q.UpdateBundle,N,ae,ce,ie,_e,R)}return undefined}function listEmittedFile(E,N,R){var j=E.write;if(j&&N.options.listEmittedFiles){j("TSFILE: "+R)}}function getOldProgram(N,R,j){var $=N.options,q=N.builderPrograms,G=N.compilerHost;if($.force)return undefined;var ie=q.get(R);if(ie)return ie;return E.readBuilderProgram(j.options,G)}function afterProgramDone(N,R,j){if(R){if(R&&N.write)E.listFiles(R,N.write);if(N.host.afterProgramEmitAndDiagnostics){N.host.afterProgramEmitAndDiagnostics(R)}R.releaseProgram()}else if(N.host.afterEmitBundle){N.host.afterEmitBundle(j)}N.projectCompilerOptions=N.baseCompilerOptions}function buildErrors(N,R,j,q,ie,ae,ce){var le=!(ae&$.SyntaxErrors)&&j&&!E.outFile(j.getCompilerOptions());reportAndStoreErrors(N,R,ie);N.projectStatus.set(R,{type:E.UpToDateStatusType.Unbuildable,reason:ce+" errors"});if(le)return{buildResult:ae,step:G.EmitBuildInfo};afterProgramDone(N,j,q);return{buildResult:ae,step:G.QueueReferencingProjects}}function checkConfigFileUpToDateStatus(N,R,j,$){var q=E.getModifiedTime(N.host,R);if(j<q){return{type:E.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:$,newerInputFileName:R}}}function getUpToDateStatusWorker(j,$,q){var G=!!j.options.force;var ie=undefined;var ae=N;var ce=j.host;for(var le=0,_e=$.fileNames;le<_e.length;le++){var Ee=_e[le];if(!ce.fileExists(Ee)){return{type:E.UpToDateStatusType.Unbuildable,reason:Ee+" does not exist"}}if(!G){var Te=E.getModifiedTime(ce,Ee);ce.getModifiedTime(Ee);if(Te>ae){ie=Ee;ae=Te}}}if(!$.fileNames.length&&!E.canJsonReportNoInputFiles($.raw)){return{type:E.UpToDateStatusType.ContainerOnly}}var we=E.getAllProjectOutputs($,!ce.useCaseSensitiveFileNames());var Ie="(none)";var Ne=R;var Me="(none)";var Le=N;var Be;var je=N;var Ue=false;if(!G){for(var ze=0,We=we;ze<We.length;ze++){var Je=We[ze];if(!ce.fileExists(Je)){Be=Je;break}var Ve=E.getModifiedTime(ce,Je);if(Ve<Ne){Ne=Ve;Ie=Je}if(Ve<ae){Ue=true;break}if(Ve>Le){Le=Ve;Me=Je}if(isDeclarationFile(Je)){var qe=E.getModifiedTime(ce,Je);je=newer(je,qe)}}}var He=false;var Ge=false;var Ke;if($.projectReferences){j.projectStatus.set(q,{type:E.UpToDateStatusType.ComputingUpstream});for(var Qe=0,Xe=$.projectReferences;Qe<Xe.length;Qe++){var Ye=Xe[Qe];Ge=Ge||!!Ye.prepend;var Ze=E.resolveProjectReferencePath(Ye);var et=toResolvedConfigFilePath(j,Ze);var tt=getUpToDateStatus(j,parseConfigFile(j,Ze,et),et);if(tt.type===E.UpToDateStatusType.ComputingUpstream||tt.type===E.UpToDateStatusType.ContainerOnly){continue}if(tt.type===E.UpToDateStatusType.Unbuildable||tt.type===E.UpToDateStatusType.UpstreamBlocked){return{type:E.UpToDateStatusType.UpstreamBlocked,upstreamProjectName:Ye.path,upstreamProjectBlocked:tt.type===E.UpToDateStatusType.UpstreamBlocked}}if(tt.type!==E.UpToDateStatusType.UpToDate){return{type:E.UpToDateStatusType.UpstreamOutOfDate,upstreamProjectName:Ye.path}}if(!G&&!Be){if(tt.newestInputFileTime&&tt.newestInputFileTime<=Ne){continue}if(tt.newestDeclarationFileContentChangedTime&&tt.newestDeclarationFileContentChangedTime<=Ne){He=true;Ke=Ye.path;continue}E.Debug.assert(Ie!==undefined,"Should have an oldest output filename here");return{type:E.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:Ie,newerProjectName:Ye.path}}}}if(Be!==undefined){return{type:E.UpToDateStatusType.OutputMissing,missingOutputFileName:Be}}if(Ue){return{type:E.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:Ie,newerInputFileName:ie}}else{var rt=checkConfigFileUpToDateStatus(j,$.options.configFilePath,Ne,Ie);if(rt)return rt;var nt=E.forEach($.options.configFile.extendedSourceFiles||E.emptyArray,(function(E){return checkConfigFileUpToDateStatus(j,E,Ne,Ie)}));if(nt)return nt;var it=E.forEach(j.lastCachedPackageJsonLookups.get(q)||E.emptyArray,(function(E){var N=E[0];return checkConfigFileUpToDateStatus(j,N,Ne,Ie)}));if(it)return it}if(!G&&!j.buildInfoChecked.has(q)){j.buildInfoChecked.set(q,true);var ot=E.getTsBuildInfoEmitOutputFilePath($.options);if(ot){var st=j.readFileWithCache(ot);var ct=st&&E.getBuildInfo(st);if(ct&&(ct.bundle||ct.program)&&ct.version!==E.version){return{type:E.UpToDateStatusType.TsVersionOutputOfDate,version:ct.version}}}}if(Ge&&He){return{type:E.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:Ie,newerProjectName:Ke}}return{type:He?E.UpToDateStatusType.UpToDateWithUpstreamTypes:E.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:je,newestInputFileTime:ae,newestOutputFileTime:Le,newestInputFileName:ie,newestOutputFileName:Me,oldestOutputFileName:Ie}}function getUpToDateStatus(N,R,j){if(R===undefined){return{type:E.UpToDateStatusType.Unbuildable,reason:"File deleted mid-build"}}var $=N.projectStatus.get(j);if($!==undefined){return $}var q=getUpToDateStatusWorker(N,R,j);N.projectStatus.set(j,q);return q}function updateOutputTimestampsWorker(N,R,j,$,q){if(R.options.noEmit)return j;var G=N.host;var ie=E.getAllProjectOutputs(R,!G.useCaseSensitiveFileNames());if(!q||ie.length!==q.size){var ae=!!N.options.verbose;var ce=G.now?G.now():new Date;for(var le=0,_e=ie;le<_e.length;le++){var Ee=_e[le];if(q&&q.has(toPath(N,Ee))){continue}if(ae){ae=false;reportStatus(N,$,R.options.configFilePath)}if(isDeclarationFile(Ee)){j=newer(j,E.getModifiedTime(G,Ee))}G.setModifiedTime(Ee,ce)}}return j}function updateOutputTimestamps(R,j,$){if(R.options.dry){return reportStatus(R,E.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,j.options.configFilePath)}var q=updateOutputTimestampsWorker(R,j,N,E.Diagnostics.Updating_output_timestamps_of_project_0);R.projectStatus.set($,{type:E.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:q,oldestOutputFileName:E.getFirstProjectOutput(j,!R.host.useCaseSensitiveFileNames())})}function queueReferencingProjects(N,R,j,q,G,ie,ae){if(ae&$.AnyErrors)return;if(!G.options.composite)return;for(var ce=q+1;ce<ie.length;ce++){var le=ie[ce];var _e=toResolvedConfigFilePath(N,le);if(N.projectPendingBuild.has(_e))continue;var Ee=parseConfigFile(N,le,_e);if(!Ee||!Ee.projectReferences)continue;for(var Te=0,we=Ee.projectReferences;Te<we.length;Te++){var Ie=we[Te];var Ne=resolveProjectName(N,Ie.path);if(toResolvedConfigFilePath(N,Ne)!==j)continue;var Me=N.projectStatus.get(_e);if(Me){switch(Me.type){case E.UpToDateStatusType.UpToDate:if(ae&$.DeclarationOutputUnchanged){if(Ie.prepend){N.projectStatus.set(_e,{type:E.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:Me.oldestOutputFileName,newerProjectName:R})}else{Me.type=E.UpToDateStatusType.UpToDateWithUpstreamTypes}break}case E.UpToDateStatusType.UpToDateWithUpstreamTypes:case E.UpToDateStatusType.OutOfDateWithPrepend:if(!(ae&$.DeclarationOutputUnchanged)){N.projectStatus.set(_e,{type:E.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:Me.type===E.UpToDateStatusType.OutOfDateWithPrepend?Me.outOfDateOutputFileName:Me.oldestOutputFileName,newerProjectName:R})}break;case E.UpToDateStatusType.UpstreamBlocked:if(toResolvedConfigFilePath(N,resolveProjectName(N,Me.upstreamProjectName))===j){clearProjectStatus(N,_e)}break}}addProjToQueue(N,_e,E.ConfigFileProgramReloadLevel.None);break}}}function build(N,R,j,$,q,G){var ie=getBuildOrderFor(N,R,G);if(!ie)return E.ExitStatus.InvalidProject_OutputsSkipped;setupInitialBuild(N,j);var ae=true;var ce=0;while(true){var le=getNextInvalidatedProject(N,ie,ae);if(!le)break;ae=false;le.done(j,$,q===null||q===void 0?void 0:q(le.project));if(!N.diagnostics.has(le.projectPath))ce++}disableCache(N);reportErrorSummary(N,ie);startWatching(N,ie);return isCircularBuildOrder(ie)?E.ExitStatus.ProjectReferenceCycle_OutputsSkipped:!ie.some((function(E){return N.diagnostics.has(toResolvedConfigFilePath(N,E))}))?E.ExitStatus.Success:ce?E.ExitStatus.DiagnosticsPresent_OutputsGenerated:E.ExitStatus.DiagnosticsPresent_OutputsSkipped}function clean(N,R,j){var $=getBuildOrderFor(N,R,j);if(!$)return E.ExitStatus.InvalidProject_OutputsSkipped;if(isCircularBuildOrder($)){reportErrors(N,$.circularDiagnostics);return E.ExitStatus.ProjectReferenceCycle_OutputsSkipped}var q=N.options,G=N.host;var ie=q.dry?[]:undefined;for(var ae=0,ce=$;ae<ce.length;ae++){var le=ce[ae];var _e=toResolvedConfigFilePath(N,le);var Ee=parseConfigFile(N,le,_e);if(Ee===undefined){reportParseConfigFileDiagnostic(N,_e);continue}var Te=E.getAllProjectOutputs(Ee,!G.useCaseSensitiveFileNames());if(!Te.length)continue;var we=new E.Set(Ee.fileNames.map((function(E){return toPath(N,E)})));for(var Ie=0,Ne=Te;Ie<Ne.length;Ie++){var Me=Ne[Ie];if(we.has(toPath(N,Me)))continue;if(G.fileExists(Me)){if(ie){ie.push(Me)}else{G.deleteFile(Me);invalidateProject(N,_e,E.ConfigFileProgramReloadLevel.None)}}}}if(ie){reportStatus(N,E.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0,ie.map((function(E){return"\r\n * "+E})).join(""))}return E.ExitStatus.Success}function invalidateProject(N,R,j){if(N.host.getParsedCommandLine&&j===E.ConfigFileProgramReloadLevel.Partial){j=E.ConfigFileProgramReloadLevel.Full}if(j===E.ConfigFileProgramReloadLevel.Full){N.configFileCache.delete(R);N.buildOrder=undefined}N.needsSummary=true;clearProjectStatus(N,R);addProjToQueue(N,R,j);enableCache(N)}function invalidateProjectAndScheduleBuilds(E,N,R){E.reportFileChangeDetected=true;invalidateProject(E,N,R);scheduleBuildInvalidatedProject(E)}function scheduleBuildInvalidatedProject(E){var N=E.hostWithWatch;if(!N.setTimeout||!N.clearTimeout){return}if(E.timerToBuildInvalidatedProject){N.clearTimeout(E.timerToBuildInvalidatedProject)}E.timerToBuildInvalidatedProject=N.setTimeout(buildNextInvalidatedProject,250,E)}function buildNextInvalidatedProject(N){N.timerToBuildInvalidatedProject=undefined;if(N.reportFileChangeDetected){N.reportFileChangeDetected=false;N.projectErrorsReported.clear();reportWatchStatus(N,E.Diagnostics.File_change_detected_Starting_incremental_compilation)}var R=getBuildOrder(N);var j=getNextInvalidatedProject(N,R,false);if(j){j.done();if(N.projectPendingBuild.size){if(N.watch&&!N.timerToBuildInvalidatedProject){scheduleBuildInvalidatedProject(N)}return}}disableCache(N);reportErrorSummary(N,R)}function watchConfigFile(N,R,j,$){if(!N.watch||N.allWatchedConfigFiles.has(j))return;N.allWatchedConfigFiles.set(j,N.watchFile(R,(function(){invalidateProjectAndScheduleBuilds(N,j,E.ConfigFileProgramReloadLevel.Full)}),E.PollingInterval.High,$===null||$===void 0?void 0:$.watchOptions,E.WatchType.ConfigFile,R))}function watchExtendedConfigFiles(N,R,j){E.updateSharedExtendedConfigFileWatcher(R,j===null||j===void 0?void 0:j.options,N.allWatchedExtendedConfigFiles,(function(R,$){return N.watchFile(R,(function(){var R;return(R=N.allWatchedExtendedConfigFiles.get($))===null||R===void 0?void 0:R.projects.forEach((function(R){return invalidateProjectAndScheduleBuilds(N,R,E.ConfigFileProgramReloadLevel.Full)}))}),E.PollingInterval.High,j===null||j===void 0?void 0:j.watchOptions,E.WatchType.ExtendedConfigFile)}),(function(E){return toPath(N,E)}))}function watchWildCardDirectories(N,R,j,$){if(!N.watch)return;E.updateWatchingWildcardDirectories(getOrCreateValueMapFromConfigFileMap(N.allWatchedWildcardDirectories,j),new E.Map(E.getEntries($.wildcardDirectories)),(function(q,G){return N.watchDirectory(q,(function(G){var ie;if(E.isIgnoredFileFromWildCardWatching({watchedDirPath:toPath(N,q),fileOrDirectory:G,fileOrDirectoryPath:toPath(N,G),configFileName:R,currentDirectory:N.currentDirectory,options:$.options,program:N.builderPrograms.get(j)||((ie=getCachedParsedConfigFile(N,j))===null||ie===void 0?void 0:ie.fileNames),useCaseSensitiveFileNames:N.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(E){return N.writeLog(E)},toPath:function(E){return toPath(N,E)}}))return;invalidateProjectAndScheduleBuilds(N,j,E.ConfigFileProgramReloadLevel.Partial)}),G,$===null||$===void 0?void 0:$.watchOptions,E.WatchType.WildcardDirectory,R)}))}function watchInputFiles(N,R,j,$){if(!N.watch)return;E.mutateMap(getOrCreateValueMapFromConfigFileMap(N.allWatchedInputFiles,j),E.arrayToMap($.fileNames,(function(E){return toPath(N,E)})),{createNewValue:function(q,G){return N.watchFile(G,(function(){return invalidateProjectAndScheduleBuilds(N,j,E.ConfigFileProgramReloadLevel.None)}),E.PollingInterval.Low,$===null||$===void 0?void 0:$.watchOptions,E.WatchType.SourceFile,R)},onDeleteValue:E.closeFileWatcher})}function watchPackageJsonFiles(N,R,j,$){if(!N.watch||!N.lastCachedPackageJsonLookups)return;E.mutateMap(getOrCreateValueMapFromConfigFileMap(N.allWatchedPackageJsonFiles,j),new E.Map(N.lastCachedPackageJsonLookups.get(j)),{createNewValue:function(q,G){return N.watchFile(q,(function(){return invalidateProjectAndScheduleBuilds(N,j,E.ConfigFileProgramReloadLevel.Full)}),E.PollingInterval.High,$===null||$===void 0?void 0:$.watchOptions,E.WatchType.PackageJson,R)},onDeleteValue:E.closeFileWatcher})}function startWatching(E,N){if(!E.watchAllProjectsPending)return;E.watchAllProjectsPending=false;for(var R=0,j=getBuildOrderFromAnyBuildOrder(N);R<j.length;R++){var $=j[R];var q=toResolvedConfigFilePath(E,$);var G=parseConfigFile(E,$,q);watchConfigFile(E,$,q,G);watchExtendedConfigFiles(E,q,G);if(G){watchWildCardDirectories(E,$,q,G);watchInputFiles(E,$,q,G);watchPackageJsonFiles(E,$,q,G)}}}function stopWatching(N){E.clearMap(N.allWatchedConfigFiles,E.closeFileWatcher);E.clearMap(N.allWatchedExtendedConfigFiles,E.closeFileWatcherOf);E.clearMap(N.allWatchedWildcardDirectories,(function(N){return E.clearMap(N,E.closeFileWatcherOf)}));E.clearMap(N.allWatchedInputFiles,(function(N){return E.clearMap(N,E.closeFileWatcher)}));E.clearMap(N.allWatchedPackageJsonFiles,(function(N){return E.clearMap(N,E.closeFileWatcher)}))}function createSolutionBuilderWorker(N,R,j,$,q){var G=createSolutionBuilderState(N,R,j,$,q);return{build:function(E,N,R,j){return build(G,E,N,R,j)},clean:function(E){return clean(G,E)},buildReferences:function(E,N,R,j){return build(G,E,N,R,j,true)},cleanReferences:function(E){return clean(G,E,true)},getNextInvalidatedProject:function(E){setupInitialBuild(G,E);return getNextInvalidatedProject(G,getBuildOrder(G),false)},getBuildOrder:function(){return getBuildOrder(G)},getUpToDateStatusOfProject:function(E){var N=resolveProjectName(G,E);var R=toResolvedConfigFilePath(G,N);return getUpToDateStatus(G,parseConfigFile(G,N,R),R)},invalidateProject:function(N,R){return invalidateProject(G,N,R||E.ConfigFileProgramReloadLevel.None)},buildNextInvalidatedProject:function(){return buildNextInvalidatedProject(G)},getAllParsedConfigs:function(){return E.arrayFrom(E.mapDefinedIterator(G.configFileCache.values(),(function(E){return isParsedCommandLine(E)?E:undefined})))},close:function(){return stopWatching(G)}}}function relName(N,R){return E.convertToRelativePath(R,N.currentDirectory,(function(E){return N.getCanonicalFileName(E)}))}function reportStatus(N,R){var $=[];for(var q=2;q<arguments.length;q++){$[q-2]=arguments[q]}N.host.reportSolutionBuilderStatus(E.createCompilerDiagnostic.apply(void 0,j([R],$,false)))}function reportWatchStatus(N,R){var $,q;var G=[];for(var ie=2;ie<arguments.length;ie++){G[ie-2]=arguments[ie]}(q=($=N.hostWithWatch).onWatchStatusChange)===null||q===void 0?void 0:q.call($,E.createCompilerDiagnostic.apply(void 0,j([R],G,false)),N.host.getNewLine(),N.baseCompilerOptions)}function reportErrors(E,N){var R=E.host;N.forEach((function(E){return R.reportDiagnostic(E)}))}function reportAndStoreErrors(E,N,R){reportErrors(E,R);E.projectErrorsReported.set(N,true);if(R.length){E.diagnostics.set(N,R)}}function reportParseConfigFileDiagnostic(E,N){reportAndStoreErrors(E,N,[E.configFileCache.get(N)])}function reportErrorSummary(N,R){if(!N.needsSummary)return;N.needsSummary=false;var j=N.watch||!!N.host.reportErrorSummary;var $=N.diagnostics;var q=0;if(isCircularBuildOrder(R)){reportBuildQueue(N,R.buildOrder);reportErrors(N,R.circularDiagnostics);if(j)q+=E.getErrorCountForSummary(R.circularDiagnostics)}else{R.forEach((function(R){var j=toResolvedConfigFilePath(N,R);if(!N.projectErrorsReported.has(j)){reportErrors(N,$.get(j)||E.emptyArray)}}));if(j)$.forEach((function(N){return q+=E.getErrorCountForSummary(N)}))}if(N.watch){reportWatchStatus(N,E.getWatchErrorSummaryDiagnosticMessage(q),q)}else if(N.host.reportErrorSummary){N.host.reportErrorSummary(q)}}function reportBuildQueue(N,R){if(N.options.verbose){reportStatus(N,E.Diagnostics.Projects_in_this_build_Colon_0,R.map((function(E){return"\r\n * "+relName(N,E)})).join(""))}}function reportUpToDateStatus(N,R,j){if(N.options.force&&(j.type===E.UpToDateStatusType.UpToDate||j.type===E.UpToDateStatusType.UpToDateWithUpstreamTypes)){return reportStatus(N,E.Diagnostics.Project_0_is_being_forcibly_rebuilt,relName(N,R))}switch(j.type){case E.UpToDateStatusType.OutOfDateWithSelf:return reportStatus(N,E.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,relName(N,R),relName(N,j.outOfDateOutputFileName),relName(N,j.newerInputFileName));case E.UpToDateStatusType.OutOfDateWithUpstream:return reportStatus(N,E.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,relName(N,R),relName(N,j.outOfDateOutputFileName),relName(N,j.newerProjectName));case E.UpToDateStatusType.OutputMissing:return reportStatus(N,E.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,relName(N,R),relName(N,j.missingOutputFileName));case E.UpToDateStatusType.UpToDate:if(j.newestInputFileTime!==undefined){return reportStatus(N,E.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,relName(N,R),relName(N,j.newestInputFileName||""),relName(N,j.oldestOutputFileName||""))}break;case E.UpToDateStatusType.OutOfDateWithPrepend:return reportStatus(N,E.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,relName(N,R),relName(N,j.newerProjectName));case E.UpToDateStatusType.UpToDateWithUpstreamTypes:return reportStatus(N,E.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,relName(N,R));case E.UpToDateStatusType.UpstreamOutOfDate:return reportStatus(N,E.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,relName(N,R),relName(N,j.upstreamProjectName));case E.UpToDateStatusType.UpstreamBlocked:return reportStatus(N,j.upstreamProjectBlocked?E.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:E.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,relName(N,R),relName(N,j.upstreamProjectName));case E.UpToDateStatusType.Unbuildable:return reportStatus(N,E.Diagnostics.Failed_to_parse_file_0_Colon_1,relName(N,R),j.reason);case E.UpToDateStatusType.TsVersionOutputOfDate:return reportStatus(N,E.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,relName(N,R),j.version,E.version);case E.UpToDateStatusType.ContainerOnly:case E.UpToDateStatusType.ComputingUpstream:break;default:E.assertType(j)}}function verboseReportProjectStatus(E,N,R){if(E.options.verbose){reportUpToDateStatus(E,N,R)}}})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.ActionSet="action::set";N.ActionInvalidate="action::invalidate";N.ActionPackageInstalled="action::packageInstalled";N.EventTypesRegistry="event::typesRegistry";N.EventBeginInstallTypes="event::beginInstallTypes";N.EventEndInstallTypes="event::endInstallTypes";N.EventInitializationFailed="event::initializationFailed";var R;(function(E){E.GlobalCacheLocation="--globalTypingsCacheLocation";E.LogFile="--logFile";E.EnableTelemetry="--enableTelemetry";E.TypingSafeListLocation="--typingSafeListLocation";E.TypesMapLocation="--typesMapLocation";E.NpmLocation="--npmLocation";E.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"})(R=N.Arguments||(N.Arguments={}));function hasArgument(N){return E.sys.args.indexOf(N)>=0}N.hasArgument=hasArgument;function findArgument(N){var R=E.sys.args.indexOf(N);return R>=0&&R<E.sys.args.length-1?E.sys.args[R+1]:undefined}N.findArgument=findArgument;function nowString(){var N=new Date;return E.padLeft(N.getHours().toString(),2,"0")+":"+E.padLeft(N.getMinutes().toString(),2,"0")+":"+E.padLeft(N.getSeconds().toString(),2,"0")+"."+E.padLeft(N.getMilliseconds().toString(),3,"0")}N.nowString=nowString})(N=E.server||(E.server={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function isTypingUpToDate(N,R){var j=new E.Version(E.getProperty(R,"ts"+E.versionMajorMinor)||E.getProperty(R,"latest"));return j.compareTo(N.version)<=0}N.isTypingUpToDate=isTypingUpToDate;var R=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","https","http2","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"];N.prefixedNodeCoreModuleList=R.map((function(E){return"node:"+E}));N.nodeCoreModuleList=j(j([],R,true),N.prefixedNodeCoreModuleList,true);N.nodeCoreModules=new E.Set(N.nodeCoreModuleList);function nonRelativeModuleNameForTypingCache(E){return N.nodeCoreModules.has(E)?"node":E}N.nonRelativeModuleNameForTypingCache=nonRelativeModuleNameForTypingCache;function loadSafeList(N,R){var j=E.readConfigFile(R,(function(E){return N.readFile(E)}));return new E.Map(E.getEntries(j.config))}N.loadSafeList=loadSafeList;function loadTypesMap(N,R){var j=E.readConfigFile(R,(function(E){return N.readFile(E)}));if(j.config){return new E.Map(E.getEntries(j.config.simpleMap))}return undefined}N.loadTypesMap=loadTypesMap;function discoverTypings(N,R,j,$,q,G,ie,ae,ce){if(!ie||!ie.enable){return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]}}var le=new E.Map;j=E.mapDefined(j,(function(N){var R=E.normalizePath(N);if(E.hasJSFileExtension(R)){return R}}));var _e=[];if(ie.include)addInferredTypings(ie.include,"Explicitly included types");var Ee=ie.exclude||[];var Te=new E.Set(j.map(E.getDirectoryPath));Te.add($);Te.forEach((function(N){var R=E.combinePaths(N,"package.json");getTypingNamesFromJson(R,_e);var j=E.combinePaths(N,"bower.json");getTypingNamesFromJson(j,_e);var $=E.combinePaths(N,"bower_components");getTypingNamesFromPackagesFolder($,_e);var q=E.combinePaths(N,"node_modules");getTypingNamesFromPackagesFolder(q,_e)}));if(!ie.disableFilenameBasedTypeAcquisition){getTypingNamesFromSourceFileNames(j)}if(ae){var we=E.deduplicate(ae.map(nonRelativeModuleNameForTypingCache),E.equateStringsCaseSensitive,E.compareStringsCaseSensitive);addInferredTypings(we,"Inferred typings from unresolved imports")}G.forEach((function(E,N){var R=ce.get(N);if(le.has(N)&&le.get(N)===undefined&&R!==undefined&&isTypingUpToDate(E,R)){le.set(N,E.typingLocation)}}));for(var Ie=0,Ne=Ee;Ie<Ne.length;Ie++){var Me=Ne[Ie];var Le=le.delete(Me);if(Le&&R)R("Typing for "+Me+" is in exclude list, will be ignored.")}var Be=[];var je=[];le.forEach((function(E,N){if(E!==undefined){je.push(E)}else{Be.push(N)}}));var Ue={cachedTypingPaths:je,newTypingNames:Be,filesToWatch:_e};if(R)R("Result: "+JSON.stringify(Ue));return Ue;function addInferredTyping(E){if(!le.has(E)){le.set(E,undefined)}}function addInferredTypings(N,j){if(R)R(j+": "+JSON.stringify(N));E.forEach(N,addInferredTyping)}function getTypingNamesFromJson(R,j){if(!N.fileExists(R)){return}j.push(R);var $=E.readConfigFile(R,(function(E){return N.readFile(E)})).config;var q=E.flatMap([$.dependencies,$.devDependencies,$.optionalDependencies,$.peerDependencies],E.getOwnKeys);addInferredTypings(q,"Typing names in '"+R+"' dependencies")}function getTypingNamesFromSourceFileNames(N){var j=E.mapDefined(N,(function(N){if(!E.hasJSFileExtension(N))return undefined;var R=E.removeFileExtension(E.getBaseFileName(N.toLowerCase()));var j=E.removeMinAndVersionNumbers(R);return q.get(j)}));if(j.length){addInferredTypings(j,"Inferred typings from file names")}var $=E.some(N,(function(N){return E.fileExtensionIs(N,".jsx")}));if($){if(R)R("Inferred 'react' typings due to presence of '.jsx' extension");addInferredTyping("react")}}function getTypingNamesFromPackagesFolder(j,$){$.push(j);if(!N.directoryExists(j)){return}var q=N.readDirectory(j,[".json"],undefined,undefined,2);if(R)R("Searching for typing names in "+j+"; all files: "+JSON.stringify(q));var G=[];for(var ie=0,ae=q;ie<ae.length;ie++){var ce=ae[ie];var _e=E.normalizePath(ce);var Ee=E.getBaseFileName(_e);if(Ee!=="package.json"&&Ee!=="bower.json"){continue}var Te=E.readConfigFile(_e,(function(E){return N.readFile(E)}));var we=Te.config;if(Ee==="package.json"&&we._requiredBy&&E.filter(we._requiredBy,(function(E){return E[0]==="#"||E==="/"})).length===0){continue}if(!we.name){continue}var Ie=we.types||we.typings;if(Ie){var Ne=E.getNormalizedAbsolutePath(Ie,E.getDirectoryPath(_e));if(R)R(" Package '"+we.name+"' provides its own types.");le.set(we.name,Ne)}else{G.push(we.name)}}addInferredTypings(G," Found package names")}}N.discoverTypings=discoverTypings;var $;(function(E){E[E["Ok"]=0]="Ok";E[E["EmptyName"]=1]="EmptyName";E[E["NameTooLong"]=2]="NameTooLong";E[E["NameStartsWithDot"]=3]="NameStartsWithDot";E[E["NameStartsWithUnderscore"]=4]="NameStartsWithUnderscore";E[E["NameContainsNonURISafeCharacters"]=5]="NameContainsNonURISafeCharacters"})($=N.NameValidationResult||(N.NameValidationResult={}));var q=214;function validatePackageName(E){return validatePackageNameWorker(E,true)}N.validatePackageName=validatePackageName;function validatePackageNameWorker(E,N){if(!E){return 1}if(E.length>q){return 2}if(E.charCodeAt(0)===46){return 3}if(E.charCodeAt(0)===95){return 4}if(N){var R=/^@([^/]+)\/([^/]+)$/.exec(E);if(R){var j=validatePackageNameWorker(R[1],false);if(j!==0){return{name:R[1],isScopeName:true,result:j}}var $=validatePackageNameWorker(R[2],false);if($!==0){return{name:R[2],isScopeName:false,result:$}}return 0}}if(encodeURIComponent(E)!==E){return 5}return 0}function renderPackageNameValidationFailure(E,N){return typeof E==="object"?renderPackageNameValidationFailureWorker(N,E.result,E.name,E.isScopeName):renderPackageNameValidationFailureWorker(N,E,N,false)}N.renderPackageNameValidationFailure=renderPackageNameValidationFailure;function renderPackageNameValidationFailureWorker(N,R,j,$){var G=$?"Scope":"Package";switch(R){case 1:return"'"+N+"':: "+G+" name '"+j+"' cannot be empty";case 2:return"'"+N+"':: "+G+" name '"+j+"' should be less than "+q+" characters";case 3:return"'"+N+"':: "+G+" name '"+j+"' cannot start with '.'";case 4:return"'"+N+"':: "+G+" name '"+j+"' cannot start with '_'";case 5:return"'"+N+"':: "+G+" name '"+j+"' contains non URI safe characters";case 0:return E.Debug.fail();default:throw E.Debug.assertNever(R)}}})(N=E.JsTyping||(E.JsTyping={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){var N=function(){function StringScriptSnapshot(E){this.text=E}StringScriptSnapshot.prototype.getText=function(E,N){return E===0&&N===this.text.length?this.text:this.text.substring(E,N)};StringScriptSnapshot.prototype.getLength=function(){return this.text.length};StringScriptSnapshot.prototype.getChangeRange=function(){return undefined};return StringScriptSnapshot}();function fromString(E){return new N(E)}E.fromString=fromString})(N=E.ScriptSnapshot||(E.ScriptSnapshot={}));var R;(function(E){E[E["Dependencies"]=1]="Dependencies";E[E["DevDependencies"]=2]="DevDependencies";E[E["PeerDependencies"]=4]="PeerDependencies";E[E["OptionalDependencies"]=8]="OptionalDependencies";E[E["All"]=15]="All"})(R=E.PackageJsonDependencyGroup||(E.PackageJsonDependencyGroup={}));var j;(function(E){E[E["Off"]=0]="Off";E[E["On"]=1]="On";E[E["Auto"]=2]="Auto"})(j=E.PackageJsonAutoImportPreference||(E.PackageJsonAutoImportPreference={}));var $;(function(E){E[E["Semantic"]=0]="Semantic";E[E["PartialSemantic"]=1]="PartialSemantic";E[E["Syntactic"]=2]="Syntactic"})($=E.LanguageServiceMode||(E.LanguageServiceMode={}));E.emptyOptions={};var q;(function(E){E["Original"]="original";E["TwentyTwenty"]="2020"})(q=E.SemanticClassificationFormat||(E.SemanticClassificationFormat={}));var G;(function(E){E[E["Invoked"]=1]="Invoked";E[E["TriggerCharacter"]=2]="TriggerCharacter";E[E["TriggerForIncompleteCompletions"]=3]="TriggerForIncompleteCompletions"})(G=E.CompletionTriggerKind||(E.CompletionTriggerKind={}));var ie;(function(E){E["Type"]="Type";E["Parameter"]="Parameter";E["Enum"]="Enum"})(ie=E.InlayHintKind||(E.InlayHintKind={}));var ae;(function(E){E["none"]="none";E["definition"]="definition";E["reference"]="reference";E["writtenReference"]="writtenReference"})(ae=E.HighlightSpanKind||(E.HighlightSpanKind={}));var ce;(function(E){E[E["None"]=0]="None";E[E["Block"]=1]="Block";E[E["Smart"]=2]="Smart"})(ce=E.IndentStyle||(E.IndentStyle={}));var le;(function(E){E["Ignore"]="ignore";E["Insert"]="insert";E["Remove"]="remove"})(le=E.SemicolonPreference||(E.SemicolonPreference={}));function getDefaultFormatCodeSettings(E){return{indentSize:4,tabSize:4,newLineCharacter:E||"\n",convertTabsToSpaces:true,indentStyle:ce.Smart,insertSpaceAfterConstructor:false,insertSpaceAfterCommaDelimiter:true,insertSpaceAfterSemicolonInForStatements:true,insertSpaceBeforeAndAfterBinaryOperators:true,insertSpaceAfterKeywordsInControlFlowStatements:true,insertSpaceAfterFunctionKeywordForAnonymousFunctions:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:true,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:false,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:false,insertSpaceBeforeFunctionParenthesis:false,placeOpenBraceOnNewLineForFunctions:false,placeOpenBraceOnNewLineForControlBlocks:false,semicolons:le.Ignore,trimTrailingWhitespace:true}}E.getDefaultFormatCodeSettings=getDefaultFormatCodeSettings;E.testFormatSettings=getDefaultFormatCodeSettings("\n");var _e;(function(E){E[E["aliasName"]=0]="aliasName";E[E["className"]=1]="className";E[E["enumName"]=2]="enumName";E[E["fieldName"]=3]="fieldName";E[E["interfaceName"]=4]="interfaceName";E[E["keyword"]=5]="keyword";E[E["lineBreak"]=6]="lineBreak";E[E["numericLiteral"]=7]="numericLiteral";E[E["stringLiteral"]=8]="stringLiteral";E[E["localName"]=9]="localName";E[E["methodName"]=10]="methodName";E[E["moduleName"]=11]="moduleName";E[E["operator"]=12]="operator";E[E["parameterName"]=13]="parameterName";E[E["propertyName"]=14]="propertyName";E[E["punctuation"]=15]="punctuation";E[E["space"]=16]="space";E[E["text"]=17]="text";E[E["typeParameterName"]=18]="typeParameterName";E[E["enumMemberName"]=19]="enumMemberName";E[E["functionName"]=20]="functionName";E[E["regularExpressionLiteral"]=21]="regularExpressionLiteral";E[E["link"]=22]="link";E[E["linkName"]=23]="linkName";E[E["linkText"]=24]="linkText"})(_e=E.SymbolDisplayPartKind||(E.SymbolDisplayPartKind={}));var Ee;(function(E){E["Comment"]="comment";E["Region"]="region";E["Code"]="code";E["Imports"]="imports"})(Ee=E.OutliningSpanKind||(E.OutliningSpanKind={}));var Te;(function(E){E[E["JavaScript"]=0]="JavaScript";E[E["SourceMap"]=1]="SourceMap";E[E["Declaration"]=2]="Declaration"})(Te=E.OutputFileType||(E.OutputFileType={}));var we;(function(E){E[E["None"]=0]="None";E[E["InMultiLineCommentTrivia"]=1]="InMultiLineCommentTrivia";E[E["InSingleQuoteStringLiteral"]=2]="InSingleQuoteStringLiteral";E[E["InDoubleQuoteStringLiteral"]=3]="InDoubleQuoteStringLiteral";E[E["InTemplateHeadOrNoSubstitutionTemplate"]=4]="InTemplateHeadOrNoSubstitutionTemplate";E[E["InTemplateMiddleOrTail"]=5]="InTemplateMiddleOrTail";E[E["InTemplateSubstitutionPosition"]=6]="InTemplateSubstitutionPosition"})(we=E.EndOfLineState||(E.EndOfLineState={}));var Ie;(function(E){E[E["Punctuation"]=0]="Punctuation";E[E["Keyword"]=1]="Keyword";E[E["Operator"]=2]="Operator";E[E["Comment"]=3]="Comment";E[E["Whitespace"]=4]="Whitespace";E[E["Identifier"]=5]="Identifier";E[E["NumberLiteral"]=6]="NumberLiteral";E[E["BigIntLiteral"]=7]="BigIntLiteral";E[E["StringLiteral"]=8]="StringLiteral";E[E["RegExpLiteral"]=9]="RegExpLiteral"})(Ie=E.TokenClass||(E.TokenClass={}));var Ne;(function(E){E["unknown"]="";E["warning"]="warning";E["keyword"]="keyword";E["scriptElement"]="script";E["moduleElement"]="module";E["classElement"]="class";E["localClassElement"]="local class";E["interfaceElement"]="interface";E["typeElement"]="type";E["enumElement"]="enum";E["enumMemberElement"]="enum member";E["variableElement"]="var";E["localVariableElement"]="local var";E["functionElement"]="function";E["localFunctionElement"]="local function";E["memberFunctionElement"]="method";E["memberGetAccessorElement"]="getter";E["memberSetAccessorElement"]="setter";E["memberVariableElement"]="property";E["constructorImplementationElement"]="constructor";E["callSignatureElement"]="call";E["indexSignatureElement"]="index";E["constructSignatureElement"]="construct";E["parameterElement"]="parameter";E["typeParameterElement"]="type parameter";E["primitiveType"]="primitive type";E["label"]="label";E["alias"]="alias";E["constElement"]="const";E["letElement"]="let";E["directory"]="directory";E["externalModuleName"]="external module name";E["jsxAttribute"]="JSX attribute";E["string"]="string";E["link"]="link";E["linkName"]="link name";E["linkText"]="link text"})(Ne=E.ScriptElementKind||(E.ScriptElementKind={}));var Me;(function(E){E["none"]="";E["publicMemberModifier"]="public";E["privateMemberModifier"]="private";E["protectedMemberModifier"]="protected";E["exportedModifier"]="export";E["ambientModifier"]="declare";E["staticModifier"]="static";E["abstractModifier"]="abstract";E["optionalModifier"]="optional";E["deprecatedModifier"]="deprecated";E["dtsModifier"]=".d.ts";E["tsModifier"]=".ts";E["tsxModifier"]=".tsx";E["jsModifier"]=".js";E["jsxModifier"]=".jsx";E["jsonModifier"]=".json"})(Me=E.ScriptElementKindModifier||(E.ScriptElementKindModifier={}));var Le;(function(E){E["comment"]="comment";E["identifier"]="identifier";E["keyword"]="keyword";E["numericLiteral"]="number";E["bigintLiteral"]="bigint";E["operator"]="operator";E["stringLiteral"]="string";E["whiteSpace"]="whitespace";E["text"]="text";E["punctuation"]="punctuation";E["className"]="class name";E["enumName"]="enum name";E["interfaceName"]="interface name";E["moduleName"]="module name";E["typeParameterName"]="type parameter name";E["typeAliasName"]="type alias name";E["parameterName"]="parameter name";E["docCommentTagName"]="doc comment tag name";E["jsxOpenTagName"]="jsx open tag name";E["jsxCloseTagName"]="jsx close tag name";E["jsxSelfClosingTagName"]="jsx self closing tag name";E["jsxAttribute"]="jsx attribute";E["jsxText"]="jsx text";E["jsxAttributeStringLiteralValue"]="jsx attribute string literal value"})(Le=E.ClassificationTypeNames||(E.ClassificationTypeNames={}));var Be;(function(E){E[E["comment"]=1]="comment";E[E["identifier"]=2]="identifier";E[E["keyword"]=3]="keyword";E[E["numericLiteral"]=4]="numericLiteral";E[E["operator"]=5]="operator";E[E["stringLiteral"]=6]="stringLiteral";E[E["regularExpressionLiteral"]=7]="regularExpressionLiteral";E[E["whiteSpace"]=8]="whiteSpace";E[E["text"]=9]="text";E[E["punctuation"]=10]="punctuation";E[E["className"]=11]="className";E[E["enumName"]=12]="enumName";E[E["interfaceName"]=13]="interfaceName";E[E["moduleName"]=14]="moduleName";E[E["typeParameterName"]=15]="typeParameterName";E[E["typeAliasName"]=16]="typeAliasName";E[E["parameterName"]=17]="parameterName";E[E["docCommentTagName"]=18]="docCommentTagName";E[E["jsxOpenTagName"]=19]="jsxOpenTagName";E[E["jsxCloseTagName"]=20]="jsxCloseTagName";E[E["jsxSelfClosingTagName"]=21]="jsxSelfClosingTagName";E[E["jsxAttribute"]=22]="jsxAttribute";E[E["jsxText"]=23]="jsxText";E[E["jsxAttributeStringLiteralValue"]=24]="jsxAttributeStringLiteralValue";E[E["bigintLiteral"]=25]="bigintLiteral"})(Be=E.ClassificationType||(E.ClassificationType={}))})(ce||(ce={}));var ce;(function(E){E.scanner=E.createScanner(99,true);var N;(function(E){E[E["None"]=0]="None";E[E["Value"]=1]="Value";E[E["Type"]=2]="Type";E[E["Namespace"]=4]="Namespace";E[E["All"]=7]="All"})(N=E.SemanticMeaning||(E.SemanticMeaning={}));function getMeaningFromDeclaration(N){switch(N.kind){case 252:return E.isInJSFile(N)&&E.getJSDocEnumTag(N)?7:1;case 162:case 201:case 165:case 164:case 291:case 292:case 167:case 166:case 169:case 170:case 171:case 254:case 211:case 212:case 290:case 283:return 1;case 161:case 256:case 257:case 180:return 2;case 340:return N.name===undefined?1|2:2;case 294:case 255:return 1|2;case 259:if(E.isAmbientModule(N)){return 4|1}else if(E.getModuleInstanceState(N)===1){return 4|1}else{return 4}case 258:case 267:case 268:case 263:case 264:case 269:case 270:return 7;case 300:return 4|1}return 7}E.getMeaningFromDeclaration=getMeaningFromDeclaration;function getMeaningFromLocation(N){N=getAdjustedReferenceLocation(N);var R=N.parent;if(N.kind===300){return 1}else if(E.isExportAssignment(R)||E.isExportSpecifier(R)||E.isExternalModuleReference(R)||E.isImportSpecifier(R)||E.isImportClause(R)||E.isImportEqualsDeclaration(R)&&N===R.name){var j=R;while(j){if(E.isImportEqualsDeclaration(j)||E.isImportClause(j)||E.isExportDeclaration(j)){return j.isTypeOnly?2:7}j=j.parent}return 7}else if(isInRightSideOfInternalImportEqualsDeclaration(N)){return getMeaningFromRightHandSideOfImportEquals(N)}else if(E.isDeclarationName(N)){return getMeaningFromDeclaration(R)}else if(E.isEntityName(N)&&E.findAncestor(N,E.or(E.isJSDocNameReference,E.isJSDocLinkLike,E.isJSDocMemberName))){return 7}else if(isTypeReference(N)){return 2}else if(isNamespaceReference(N)){return 4}else if(E.isTypeParameterDeclaration(R)){E.Debug.assert(E.isJSDocTemplateTag(R.parent));return 2}else if(E.isLiteralTypeNode(R)){return 2|1}else{return 1}}E.getMeaningFromLocation=getMeaningFromLocation;function getMeaningFromRightHandSideOfImportEquals(N){var R=N.kind===159?N:E.isQualifiedName(N.parent)&&N.parent.right===N?N.parent:undefined;return R&&R.parent.kind===263?7:4}function isInRightSideOfInternalImportEqualsDeclaration(N){while(N.parent.kind===159){N=N.parent}return E.isInternalModuleImportEqualsDeclaration(N.parent)&&N.parent.moduleReference===N}E.isInRightSideOfInternalImportEqualsDeclaration=isInRightSideOfInternalImportEqualsDeclaration;function isNamespaceReference(E){return isQualifiedNameNamespaceReference(E)||isPropertyAccessNamespaceReference(E)}function isQualifiedNameNamespaceReference(E){var N=E;var R=true;if(N.parent.kind===159){while(N.parent&&N.parent.kind===159){N=N.parent}R=N.right===E}return N.parent.kind===176&&!R}function isPropertyAccessNamespaceReference(E){var N=E;var R=true;if(N.parent.kind===204){while(N.parent&&N.parent.kind===204){N=N.parent}R=N.name===E}if(!R&&N.parent.kind===226&&N.parent.parent.kind===289){var j=N.parent.parent.parent;return j.kind===255&&N.parent.parent.token===117||j.kind===256&&N.parent.parent.token===94}return false}function isTypeReference(N){if(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}switch(N.kind){case 108:return!E.isExpressionNode(N);case 190:return true}switch(N.parent.kind){case 176:return true;case 198:return!N.parent.isTypeOf;case 226:return!E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)}return false}function isCallExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isCallExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isCallExpressionTarget=isCallExpressionTarget;function isNewExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isNewExpressionTarget=isNewExpressionTarget;function isCallOrNewExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isCallOrNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isCallOrNewExpressionTarget=isCallOrNewExpressionTarget;function isTaggedTemplateTag(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isTaggedTemplateExpression,selectTagOfTaggedTemplateExpression,R,j)}E.isTaggedTemplateTag=isTaggedTemplateTag;function isDecoratorTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isDecorator,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isDecoratorTarget=isDecoratorTarget;function isJsxOpeningLikeElementTagName(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isJsxOpeningLikeElement,selectTagNameOfJsxOpeningLikeElement,R,j)}E.isJsxOpeningLikeElementTagName=isJsxOpeningLikeElementTagName;function selectExpressionOfCallOrNewExpressionOrDecorator(E){return E.expression}function selectTagOfTaggedTemplateExpression(E){return E.tag}function selectTagNameOfJsxOpeningLikeElement(E){return E.tagName}function isCalleeWorker(N,R,j,$,q){var G=$?climbPastPropertyOrElementAccess(N):climbPastPropertyAccess(N);if(q){G=E.skipOuterExpressions(G)}return!!G&&!!G.parent&&R(G.parent)&&j(G.parent)===G}function climbPastPropertyAccess(E){return isRightSideOfPropertyAccess(E)?E.parent:E}E.climbPastPropertyAccess=climbPastPropertyAccess;function climbPastPropertyOrElementAccess(E){return isRightSideOfPropertyAccess(E)||isArgumentExpressionOfElementAccess(E)?E.parent:E}E.climbPastPropertyOrElementAccess=climbPastPropertyOrElementAccess;function getTargetLabel(E,N){while(E){if(E.kind===248&&E.label.escapedText===N){return E.label}E=E.parent}return undefined}E.getTargetLabel=getTargetLabel;function hasPropertyAccessExpressionWithName(N,R){if(!E.isPropertyAccessExpression(N.expression)){return false}return N.expression.name.text===R}E.hasPropertyAccessExpressionWithName=hasPropertyAccessExpressionWithName;function isJumpStatementTarget(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isBreakOrContinueStatement))===null||R===void 0?void 0:R.label)===N}E.isJumpStatementTarget=isJumpStatementTarget;function isLabelOfLabeledStatement(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isLabeledStatement))===null||R===void 0?void 0:R.label)===N}E.isLabelOfLabeledStatement=isLabelOfLabeledStatement;function isLabelName(E){return isLabelOfLabeledStatement(E)||isJumpStatementTarget(E)}E.isLabelName=isLabelName;function isTagName(N){var R;return((R=E.tryCast(N.parent,E.isJSDocTag))===null||R===void 0?void 0:R.tagName)===N}E.isTagName=isTagName;function isRightSideOfQualifiedName(N){var R;return((R=E.tryCast(N.parent,E.isQualifiedName))===null||R===void 0?void 0:R.right)===N}E.isRightSideOfQualifiedName=isRightSideOfQualifiedName;function isRightSideOfPropertyAccess(N){var R;return((R=E.tryCast(N.parent,E.isPropertyAccessExpression))===null||R===void 0?void 0:R.name)===N}E.isRightSideOfPropertyAccess=isRightSideOfPropertyAccess;function isArgumentExpressionOfElementAccess(N){var R;return((R=E.tryCast(N.parent,E.isElementAccessExpression))===null||R===void 0?void 0:R.argumentExpression)===N}E.isArgumentExpressionOfElementAccess=isArgumentExpressionOfElementAccess;function isNameOfModuleDeclaration(N){var R;return((R=E.tryCast(N.parent,E.isModuleDeclaration))===null||R===void 0?void 0:R.name)===N}E.isNameOfModuleDeclaration=isNameOfModuleDeclaration;function isNameOfFunctionDeclaration(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isFunctionLike))===null||R===void 0?void 0:R.name)===N}E.isNameOfFunctionDeclaration=isNameOfFunctionDeclaration;function isLiteralNameOfPropertyDeclarationOrIndexAccess(N){switch(N.parent.kind){case 165:case 164:case 291:case 294:case 167:case 166:case 170:case 171:case 259:return E.getNameOfDeclaration(N.parent)===N;case 205:return N.parent.argumentExpression===N;case 160:return true;case 194:return N.parent.parent.kind===192;default:return false}}E.isLiteralNameOfPropertyDeclarationOrIndexAccess=isLiteralNameOfPropertyDeclarationOrIndexAccess;function isExpressionOfExternalModuleImportEqualsDeclaration(N){return E.isExternalModuleImportEqualsDeclaration(N.parent.parent)&&E.getExternalModuleImportEqualsDeclarationExpression(N.parent.parent)===N}E.isExpressionOfExternalModuleImportEqualsDeclaration=isExpressionOfExternalModuleImportEqualsDeclaration;function getContainerNode(N){if(E.isJSDocTypeAlias(N)){N=N.parent.parent}while(true){N=N.parent;if(!N){return undefined}switch(N.kind){case 300:case 167:case 166:case 254:case 211:case 170:case 171:case 255:case 256:case 258:case 259:return N}}}E.getContainerNode=getContainerNode;function getNodeKind(N){switch(N.kind){case 300:return E.isExternalModule(N)?"module":"script";case 259:return"module";case 255:case 224:return"class";case 256:return"interface";case 257:case 333:case 340:return"type";case 258:return"enum";case 252:return getKindOfVariableDeclaration(N);case 201:return getKindOfVariableDeclaration(E.getRootDeclaration(N));case 212:case 254:case 211:return"function";case 170:return"getter";case 171:return"setter";case 167:case 166:return"method";case 291:var R=N.initializer;return E.isFunctionLike(R)?"method":"property";case 165:case 164:case 292:case 293:return"property";case 174:return"index";case 173:return"construct";case 172:return"call";case 169:case 168:return"constructor";case 161:return"type parameter";case 294:return"enum member";case 162:return E.hasSyntacticModifier(N,16476)?"property":"parameter";case 263:case 268:case 273:case 266:case 272:return"alias";case 219:var j=E.getAssignmentDeclarationKind(N);var $=N.right;switch(j){case 7:case 8:case 9:case 0:return"";case 1:case 2:var q=getNodeKind($);return q===""?"const":q;case 3:return E.isFunctionExpression($)?"method":"property";case 4:return"property";case 5:return E.isFunctionExpression($)?"method":"property";case 6:return"local class";default:{E.assertType(j);return""}}case 79:return E.isImportClause(N.parent)?"alias":"";case 269:var G=getNodeKind(N.expression);return G===""?"const":G;default:return""}function getKindOfVariableDeclaration(N){return E.isVarConst(N)?"const":E.isLet(N)?"let":"var"}}E.getNodeKind=getNodeKind;function isThis(N){switch(N.kind){case 108:return true;case 79:return E.identifierIsThisKeyword(N)&&N.parent.kind===162;default:return false}}E.isThis=isThis;var R=/^\/\/\/\s*</;function getLineStartPositionForPosition(N,R){var j=E.getLineStarts(R);var $=R.getLineAndCharacterOfPosition(N).line;return j[$]}E.getLineStartPositionForPosition=getLineStartPositionForPosition;function rangeContainsRange(E,N){return startEndContainsRange(E.pos,E.end,N)}E.rangeContainsRange=rangeContainsRange;function rangeContainsRangeExclusive(E,N){return rangeContainsPositionExclusive(E,N.pos)&&rangeContainsPositionExclusive(E,N.end)}E.rangeContainsRangeExclusive=rangeContainsRangeExclusive;function rangeContainsPosition(E,N){return E.pos<=N&&N<=E.end}E.rangeContainsPosition=rangeContainsPosition;function rangeContainsPositionExclusive(E,N){return E.pos<N&&N<E.end}E.rangeContainsPositionExclusive=rangeContainsPositionExclusive;function startEndContainsRange(E,N,R){return E<=R.pos&&N>=R.end}E.startEndContainsRange=startEndContainsRange;function rangeContainsStartEnd(E,N,R){return E.pos<=N&&E.end>=R}E.rangeContainsStartEnd=rangeContainsStartEnd;function rangeOverlapsWithStartEnd(E,N,R){return startEndOverlapsWithStartEnd(E.pos,E.end,N,R)}E.rangeOverlapsWithStartEnd=rangeOverlapsWithStartEnd;function nodeOverlapsWithStartEnd(E,N,R,j){return startEndOverlapsWithStartEnd(E.getStart(N),E.end,R,j)}E.nodeOverlapsWithStartEnd=nodeOverlapsWithStartEnd;function startEndOverlapsWithStartEnd(E,N,R,j){var $=Math.max(E,R);var q=Math.min(N,j);return $<q}E.startEndOverlapsWithStartEnd=startEndOverlapsWithStartEnd;function positionBelongsToNode(N,R,j){E.Debug.assert(N.pos<=R);return R<N.end||!isCompletedNode(N,j)}E.positionBelongsToNode=positionBelongsToNode;function isCompletedNode(N,R){if(N===undefined||E.nodeIsMissing(N)){return false}switch(N.kind){case 255:case 256:case 258:case 203:case 199:case 180:case 233:case 260:case 261:case 267:case 271:return nodeEndsWith(N,19,R);case 290:return isCompletedNode(N.block,R);case 207:if(!N.arguments){return true}case 206:case 210:case 189:return nodeEndsWith(N,21,R);case 177:case 178:return isCompletedNode(N.type,R);case 169:case 170:case 171:case 254:case 211:case 167:case 166:case 173:case 172:case 212:if(N.body){return isCompletedNode(N.body,R)}if(N.type){return isCompletedNode(N.type,R)}return hasChildOfKind(N,21,R);case 259:return!!N.body&&isCompletedNode(N.body,R);case 237:if(N.elseStatement){return isCompletedNode(N.elseStatement,R)}return isCompletedNode(N.thenStatement,R);case 236:return isCompletedNode(N.expression,R)||hasChildOfKind(N,26,R);case 202:case 200:case 205:case 160:case 182:return nodeEndsWith(N,23,R);case 174:if(N.type){return isCompletedNode(N.type,R)}return hasChildOfKind(N,23,R);case 287:case 288:return false;case 240:case 241:case 242:case 239:return isCompletedNode(N.statement,R);case 238:return hasChildOfKind(N,115,R)?nodeEndsWith(N,21,R):isCompletedNode(N.statement,R);case 179:return isCompletedNode(N.exprName,R);case 214:case 213:case 215:case 222:case 223:var j=N;return isCompletedNode(j.expression,R);case 208:return isCompletedNode(N.template,R);case 221:var $=E.lastOrUndefined(N.templateSpans);return isCompletedNode($,R);case 231:return E.nodeIsPresent(N.literal);case 270:case 264:return E.nodeIsPresent(N.moduleSpecifier);case 217:return isCompletedNode(N.operand,R);case 219:return isCompletedNode(N.right,R);case 220:return isCompletedNode(N.whenFalse,R);default:return true}}function nodeEndsWith(N,R,j){var $=N.getChildren(j);if($.length){var q=E.last($);if(q.kind===R){return true}else if(q.kind===26&&$.length!==1){return $[$.length-2].kind===R}}return false}function findListItemInfo(N){var R=findContainingList(N);if(!R){return undefined}var j=R.getChildren();var $=E.indexOfNode(j,N);return{listItemIndex:$,list:R}}E.findListItemInfo=findListItemInfo;function hasChildOfKind(E,N,R){return!!findChildOfKind(E,N,R)}E.hasChildOfKind=hasChildOfKind;function findChildOfKind(N,R,j){return E.find(N.getChildren(j),(function(E){return E.kind===R}))}E.findChildOfKind=findChildOfKind;function findContainingList(N){var R=E.find(N.parent.getChildren(),(function(R){return E.isSyntaxList(R)&&rangeContainsRange(R,N)}));E.Debug.assert(!R||E.contains(R.getChildren(),N));return R}E.findContainingList=findContainingList;function isDefaultModifier(E){return E.kind===88}function isClassKeyword(E){return E.kind===84}function isFunctionKeyword(E){return E.kind===98}function getAdjustedLocationForClass(N){if(E.isNamedDeclaration(N)){return N.name}if(E.isClassDeclaration(N)){var R=N.modifiers&&E.find(N.modifiers,isDefaultModifier);if(R)return R}if(E.isClassExpression(N)){var j=E.find(N.getChildren(),isClassKeyword);if(j)return j}}function getAdjustedLocationForFunction(N){if(E.isNamedDeclaration(N)){return N.name}if(E.isFunctionDeclaration(N)){var R=E.find(N.modifiers,isDefaultModifier);if(R)return R}if(E.isFunctionExpression(N)){var j=E.find(N.getChildren(),isFunctionKeyword);if(j)return j}}function getAncestorTypeNode(N){var R;E.findAncestor(N,(function(N){if(E.isTypeNode(N)){R=N}return!E.isQualifiedName(N.parent)&&!E.isTypeNode(N.parent)&&!E.isTypeElement(N.parent)}));return R}function getContextualTypeOrAncestorTypeNodeType(N,R){var j=R.getContextualType(N);if(j){return j}var $=N.parent;if($&&E.isBinaryExpression($)&&isEqualityOperatorKind($.operatorToken.kind)){return R.getTypeAtLocation(N===$.left?$.right:$.left)}var q=getAncestorTypeNode(N);return q&&R.getTypeAtLocation(q)}E.getContextualTypeOrAncestorTypeNodeType=getContextualTypeOrAncestorTypeNodeType;function getAdjustedLocationForDeclaration(N,R){if(!R){switch(N.kind){case 255:case 224:return getAdjustedLocationForClass(N);case 254:case 211:return getAdjustedLocationForFunction(N)}}if(E.isNamedDeclaration(N)){return N.name}}function getAdjustedLocationForImportDeclaration(N,R){if(N.importClause){if(N.importClause.name&&N.importClause.namedBindings){return}if(N.importClause.name){return N.importClause.name}if(N.importClause.namedBindings){if(E.isNamedImports(N.importClause.namedBindings)){var j=E.singleOrUndefined(N.importClause.namedBindings.elements);if(!j){return}return j.name}else if(E.isNamespaceImport(N.importClause.namedBindings)){return N.importClause.namedBindings.name}}}if(!R){return N.moduleSpecifier}}function getAdjustedLocationForExportDeclaration(N,R){if(N.exportClause){if(E.isNamedExports(N.exportClause)){var j=E.singleOrUndefined(N.exportClause.elements);if(!j){return}return N.exportClause.elements[0].name}else if(E.isNamespaceExport(N.exportClause)){return N.exportClause.name}}if(!R){return N.moduleSpecifier}}function getAdjustedLocationForHeritageClause(E){if(E.types.length===1){return E.types[0].expression}}function getAdjustedLocation(N,R){var j=N.parent;if(E.isModifier(N)&&(R||N.kind!==88)?E.contains(j.modifiers,N):N.kind===84?E.isClassDeclaration(j)||E.isClassExpression(N):N.kind===98?E.isFunctionDeclaration(j)||E.isFunctionExpression(N):N.kind===118?E.isInterfaceDeclaration(j):N.kind===92?E.isEnumDeclaration(j):N.kind===150?E.isTypeAliasDeclaration(j):N.kind===141||N.kind===140?E.isModuleDeclaration(j):N.kind===100?E.isImportEqualsDeclaration(j):N.kind===135?E.isGetAccessorDeclaration(j):N.kind===147&&E.isSetAccessorDeclaration(j)){var $=getAdjustedLocationForDeclaration(j,R);if($){return $}}if((N.kind===113||N.kind===85||N.kind===119)&&E.isVariableDeclarationList(j)&&j.declarations.length===1){var q=j.declarations[0];if(E.isIdentifier(q.name)){return q.name}}if(N.kind===150){if(E.isImportClause(j)&&j.isTypeOnly){var $=getAdjustedLocationForImportDeclaration(j.parent,R);if($){return $}}if(E.isExportDeclaration(j)&&j.isTypeOnly){var $=getAdjustedLocationForExportDeclaration(j,R);if($){return $}}}if(N.kind===127){if(E.isImportSpecifier(j)&&j.propertyName||E.isExportSpecifier(j)&&j.propertyName||E.isNamespaceImport(j)||E.isNamespaceExport(j)){return j.name}if(E.isExportDeclaration(j)&&j.exportClause&&E.isNamespaceExport(j.exportClause)){return j.exportClause.name}}if(N.kind===100&&E.isImportDeclaration(j)){var $=getAdjustedLocationForImportDeclaration(j,R);if($){return $}}if(N.kind===93){if(E.isExportDeclaration(j)){var $=getAdjustedLocationForExportDeclaration(j,R);if($){return $}}if(E.isExportAssignment(j)){return E.skipOuterExpressions(j.expression)}}if(N.kind===144&&E.isExternalModuleReference(j)){return j.expression}if(N.kind===154&&(E.isImportDeclaration(j)||E.isExportDeclaration(j))&&j.moduleSpecifier){return j.moduleSpecifier}if((N.kind===94||N.kind===117)&&E.isHeritageClause(j)&&j.token===N.kind){var $=getAdjustedLocationForHeritageClause(j);if($){return $}}if(N.kind===94){if(E.isTypeParameterDeclaration(j)&&j.constraint&&E.isTypeReferenceNode(j.constraint)){return j.constraint.typeName}if(E.isConditionalTypeNode(j)&&E.isTypeReferenceNode(j.extendsType)){return j.extendsType.typeName}}if(N.kind===136&&E.isInferTypeNode(j)){return j.typeParameter.name}if(N.kind===101&&E.isTypeParameterDeclaration(j)&&E.isMappedTypeNode(j.parent)){return j.name}if(N.kind===139&&E.isTypeOperatorNode(j)&&j.operator===139&&E.isTypeReferenceNode(j.type)){return j.type.typeName}if(N.kind===143&&E.isTypeOperatorNode(j)&&j.operator===143&&E.isArrayTypeNode(j.type)&&E.isTypeReferenceNode(j.type.elementType)){return j.type.elementType.typeName}if(!R){if(N.kind===103&&E.isNewExpression(j)||N.kind===114&&E.isVoidExpression(j)||N.kind===112&&E.isTypeOfExpression(j)||N.kind===131&&E.isAwaitExpression(j)||N.kind===125&&E.isYieldExpression(j)||N.kind===89&&E.isDeleteExpression(j)){if(j.expression){return E.skipOuterExpressions(j.expression)}}if((N.kind===101||N.kind===102)&&E.isBinaryExpression(j)&&j.operatorToken===N){return E.skipOuterExpressions(j.right)}if(N.kind===127&&E.isAsExpression(j)&&E.isTypeReferenceNode(j.type)){return j.type.typeName}if(N.kind===101&&E.isForInStatement(j)||N.kind===158&&E.isForOfStatement(j)){return E.skipOuterExpressions(j.expression)}}return N}function getAdjustedReferenceLocation(E){return getAdjustedLocation(E,false)}E.getAdjustedReferenceLocation=getAdjustedReferenceLocation;function getAdjustedRenameLocation(E){return getAdjustedLocation(E,true)}E.getAdjustedRenameLocation=getAdjustedRenameLocation;function getTouchingPropertyName(N,R){return getTouchingToken(N,R,(function(N){return E.isPropertyNameLiteral(N)||E.isKeyword(N.kind)||E.isPrivateIdentifier(N)}))}E.getTouchingPropertyName=getTouchingPropertyName;function getTouchingToken(E,N,R){return getTokenAtPositionWorker(E,N,false,R,false)}E.getTouchingToken=getTouchingToken;function getTokenAtPosition(E,N){return getTokenAtPositionWorker(E,N,true,undefined,false)}E.getTokenAtPosition=getTokenAtPosition;function getTokenAtPositionWorker(E,N,R,j,$){var q=E;e:while(true){for(var G=0,ie=q.getChildren(E);G<ie.length;G++){var ae=ie[G];var ce=R?ae.getFullStart():ae.getStart(E,true);if(ce>N){break}var le=ae.getEnd();if(N<le||N===le&&(ae.kind===1||$)){q=ae;continue e}else if(j&&le===N){var _e=findPrecedingToken(N,E,ae);if(_e&&j(_e)){return _e}}}return q}}function findFirstNonJsxWhitespaceToken(E,N){var R=getTokenAtPosition(E,N);while(isWhiteSpaceOnlyJsxText(R)){var j=findNextToken(R,R.parent,E);if(!j)return;R=j}return R}E.findFirstNonJsxWhitespaceToken=findFirstNonJsxWhitespaceToken;function findTokenOnLeftOfPosition(N,R){var j=getTokenAtPosition(N,R);if(E.isToken(j)&&R>j.getStart(N)&&R<j.getEnd()){return j}return findPrecedingToken(R,N)}E.findTokenOnLeftOfPosition=findTokenOnLeftOfPosition;function findNextToken(N,R,j){return find(R);function find(R){if(E.isToken(R)&&R.pos===N.end){return R}return E.firstDefined(R.getChildren(j),(function(E){var R=E.pos<=N.pos&&E.end>N.end||E.pos===N.end;return R&&nodeHasTokens(E,j)?find(E):undefined}))}}E.findNextToken=findNextToken;function findPrecedingToken(N,R,j,$){var q=find(j||R);E.Debug.assert(!(q&&isWhiteSpaceOnlyJsxText(q)));return q;function find(q){if(isNonWhitespaceToken(q)&&q.kind!==1){return q}var G=q.getChildren(R);var ie=E.binarySearchKey(G,N,(function(E,N){return N}),(function(E,R){if(N<G[E].end){if(!G[E-1]||N>=G[E-1].end){return 0}return 1}return-1}));if(ie>=0&&G[ie]){var ae=G[ie];if(N<ae.end){var ce=ae.getStart(R,!$);var le=ce>=N||!nodeHasTokens(ae,R)||isWhiteSpaceOnlyJsxText(ae);if(le){var _e=findRightmostChildNodeWithTokens(G,ie,R);return _e&&findRightmostToken(_e,R)}else{return find(ae)}}}E.Debug.assert(j!==undefined||q.kind===300||q.kind===1||E.isJSDocCommentContainingNode(q));var Ee=findRightmostChildNodeWithTokens(G,G.length,R);return Ee&&findRightmostToken(Ee,R)}}E.findPrecedingToken=findPrecedingToken;function isNonWhitespaceToken(N){return E.isToken(N)&&!isWhiteSpaceOnlyJsxText(N)}function findRightmostToken(E,N){if(isNonWhitespaceToken(E)){return E}var R=E.getChildren(N);if(R.length===0){return E}var j=findRightmostChildNodeWithTokens(R,R.length,N);return j&&findRightmostToken(j,N)}function findRightmostChildNodeWithTokens(N,R,j){for(var $=R-1;$>=0;$--){var q=N[$];if(isWhiteSpaceOnlyJsxText(q)){E.Debug.assert($>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`")}else if(nodeHasTokens(N[$],j)){return N[$]}}}function isInString(N,R,j){if(j===void 0){j=findPrecedingToken(R,N)}if(j&&E.isStringTextContainingNode(j)){var $=j.getStart(N);var q=j.getEnd();if($<R&&R<q){return true}if(R===q){return!!j.isUnterminated}}return false}E.isInString=isInString;function isInsideJsxElementOrAttribute(E,N){var R=getTokenAtPosition(E,N);if(!R){return false}if(R.kind===11){return true}if(R.kind===29&&R.parent.kind===11){return true}if(R.kind===29&&R.parent.kind===286){return true}if(R&&R.kind===19&&R.parent.kind===286){return true}if(R.kind===29&&R.parent.kind===279){return true}return false}E.isInsideJsxElementOrAttribute=isInsideJsxElementOrAttribute;function isWhiteSpaceOnlyJsxText(N){return E.isJsxText(N)&&N.containsOnlyTriviaWhiteSpaces}function isInTemplateString(N,R){var j=getTokenAtPosition(N,R);return E.isTemplateLiteralKind(j.kind)&&R>j.getStart(N)}E.isInTemplateString=isInTemplateString;function isInJSXText(N,R){var j=getTokenAtPosition(N,R);if(E.isJsxText(j)){return true}if(j.kind===18&&E.isJsxExpression(j.parent)&&E.isJsxElement(j.parent.parent)){return true}if(j.kind===29&&E.isJsxOpeningLikeElement(j.parent)&&E.isJsxElement(j.parent.parent)){return true}return false}E.isInJSXText=isInJSXText;function isInsideJsxElement(E,N){function isInsideJsxElementTraversal(R){while(R){if(R.kind>=277&&R.kind<=286||R.kind===11||R.kind===29||R.kind===31||R.kind===79||R.kind===19||R.kind===18||R.kind===43){R=R.parent}else if(R.kind===276){if(N>R.getStart(E))return true;R=R.parent}else{return false}}return false}return isInsideJsxElementTraversal(getTokenAtPosition(E,N))}E.isInsideJsxElement=isInsideJsxElement;function findPrecedingMatchingToken(N,R,j){var $=E.tokenToString(N.kind);var q=E.tokenToString(R);var G=N.getFullStart();var ie=j.text.lastIndexOf(q,G);if(ie===-1){return undefined}if(j.text.lastIndexOf($,G-1)<ie){var ae=findPrecedingToken(ie+1,j);if(ae&&ae.kind===R){return ae}}var ce=N.kind;var le=0;while(true){var _e=findPrecedingToken(N.getFullStart(),j);if(!_e){return undefined}N=_e;if(N.kind===R){if(le===0){return N}le--}else if(N.kind===ce){le++}}}E.findPrecedingMatchingToken=findPrecedingMatchingToken;function removeOptionality(E,N,R){return N?E.getNonNullableType():R?E.getNonOptionalType():E}E.removeOptionality=removeOptionality;function isPossiblyTypeArgumentPosition(N,R,j){var $=getPossibleTypeArgumentsInfo(N,R);return $!==undefined&&(E.isPartOfTypeNode($.called)||getPossibleGenericSignatures($.called,$.nTypeArguments,j).length!==0||isPossiblyTypeArgumentPosition($.called,R,j))}E.isPossiblyTypeArgumentPosition=isPossiblyTypeArgumentPosition;function getPossibleGenericSignatures(N,R,j){var $=j.getTypeAtLocation(N);if(E.isOptionalChain(N.parent)){$=removeOptionality($,E.isOptionalChainRoot(N.parent),true)}var q=E.isNewExpression(N.parent)?$.getConstructSignatures():$.getCallSignatures();return q.filter((function(E){return!!E.typeParameters&&E.typeParameters.length>=R}))}E.getPossibleGenericSignatures=getPossibleGenericSignatures;function getPossibleTypeArgumentsInfo(N,R){if(R.text.lastIndexOf("<",N?N.pos:R.text.length)===-1){return undefined}var j=N;var $=0;var q=0;while(j){switch(j.kind){case 29:j=findPrecedingToken(j.getFullStart(),R);if(j&&j.kind===28){j=findPrecedingToken(j.getFullStart(),R)}if(!j||!E.isIdentifier(j))return undefined;if(!$){return E.isDeclarationName(j)?undefined:{called:j,nTypeArguments:q}}$--;break;case 49:$=+3;break;case 48:$=+2;break;case 31:$++;break;case 19:j=findPrecedingMatchingToken(j,18,R);if(!j)return undefined;break;case 21:j=findPrecedingMatchingToken(j,20,R);if(!j)return undefined;break;case 23:j=findPrecedingMatchingToken(j,22,R);if(!j)return undefined;break;case 27:q++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 139:case 24:case 51:case 57:case 58:break;default:if(E.isTypeNode(j)){break}return undefined}j=findPrecedingToken(j.getFullStart(),R)}return undefined}E.getPossibleTypeArgumentsInfo=getPossibleTypeArgumentsInfo;function isInComment(N,R,j){return E.formatting.getRangeOfEnclosingComment(N,R,undefined,j)}E.isInComment=isInComment;function hasDocComment(N,R){var j=getTokenAtPosition(N,R);return!!E.findAncestor(j,E.isJSDoc)}E.hasDocComment=hasDocComment;function nodeHasTokens(E,N){return E.kind===1?!!E.jsDoc:E.getWidth(N)!==0}function getNodeModifiers(N,R){if(R===void 0){R=0}var j=[];var $=E.isDeclaration(N)?E.getCombinedNodeFlagsAlwaysIncludeJSDoc(N)&~R:0;if($&8)j.push("private");if($&16)j.push("protected");if($&4)j.push("public");if($&32||E.isClassStaticBlockDeclaration(N))j.push("static");if($&128)j.push("abstract");if($&1)j.push("export");if($&8192)j.push("deprecated");if(N.flags&8388608)j.push("declare");if(N.kind===269)j.push("export");return j.length>0?j.join(","):""}E.getNodeModifiers=getNodeModifiers;function getTypeArgumentOrTypeParameterList(N){if(N.kind===176||N.kind===206){return N.typeArguments}if(E.isFunctionLike(N)||N.kind===255||N.kind===256){return N.typeParameters}return undefined}E.getTypeArgumentOrTypeParameterList=getTypeArgumentOrTypeParameterList;function isComment(E){return E===2||E===3}E.isComment=isComment;function isStringOrRegularExpressionOrTemplateLiteral(N){if(N===10||N===13||E.isTemplateLiteralKind(N)){return true}return false}E.isStringOrRegularExpressionOrTemplateLiteral=isStringOrRegularExpressionOrTemplateLiteral;function isPunctuation(E){return 18<=E&&E<=78}E.isPunctuation=isPunctuation;function isInsideTemplateLiteral(N,R,j){return E.isTemplateLiteralKind(N.kind)&&(N.getStart(j)<R&&R<N.end)||!!N.isUnterminated&&R===N.end}E.isInsideTemplateLiteral=isInsideTemplateLiteral;function isAccessibilityModifier(E){switch(E){case 123:case 121:case 122:return true}return false}E.isAccessibilityModifier=isAccessibilityModifier;function cloneCompilerOptions(N){var R=E.clone(N);E.setConfigFileInOptions(R,N&&N.configFile);return R}E.cloneCompilerOptions=cloneCompilerOptions;function isArrayLiteralOrObjectLiteralDestructuringPattern(E){if(E.kind===202||E.kind===203){if(E.parent.kind===219&&E.parent.left===E&&E.parent.operatorToken.kind===63){return true}if(E.parent.kind===242&&E.parent.initializer===E){return true}if(isArrayLiteralOrObjectLiteralDestructuringPattern(E.parent.kind===291?E.parent.parent:E.parent)){return true}}return false}E.isArrayLiteralOrObjectLiteralDestructuringPattern=isArrayLiteralOrObjectLiteralDestructuringPattern;function isInReferenceComment(E,N){return isInReferenceCommentWorker(E,N,true)}E.isInReferenceComment=isInReferenceComment;function isInNonReferenceComment(E,N){return isInReferenceCommentWorker(E,N,false)}E.isInNonReferenceComment=isInNonReferenceComment;function isInReferenceCommentWorker(E,N,j){var $=isInComment(E,N,undefined);return!!$&&j===R.test(E.text.substring($.pos,$.end))}function getReplacementSpanForContextToken(E){if(!E)return undefined;switch(E.kind){case 10:case 14:return createTextSpanFromStringLiteralLikeContent(E);default:return createTextSpanFromNode(E)}}E.getReplacementSpanForContextToken=getReplacementSpanForContextToken;function createTextSpanFromNode(N,R,j){return E.createTextSpanFromBounds(N.getStart(R),(j||N).getEnd())}E.createTextSpanFromNode=createTextSpanFromNode;function createTextSpanFromStringLiteralLikeContent(N){if(N.isUnterminated)return undefined;return E.createTextSpanFromBounds(N.getStart()+1,N.getEnd()-1)}E.createTextSpanFromStringLiteralLikeContent=createTextSpanFromStringLiteralLikeContent;function createTextRangeFromNode(N,R){return E.createRange(N.getStart(R),N.end)}E.createTextRangeFromNode=createTextRangeFromNode;function createTextSpanFromRange(N){return E.createTextSpanFromBounds(N.pos,N.end)}E.createTextSpanFromRange=createTextSpanFromRange;function createTextRangeFromSpan(N){return E.createRange(N.start,N.start+N.length)}E.createTextRangeFromSpan=createTextRangeFromSpan;function createTextChangeFromStartLength(N,R,j){return createTextChange(E.createTextSpan(N,R),j)}E.createTextChangeFromStartLength=createTextChangeFromStartLength;function createTextChange(E,N){return{span:E,newText:N}}E.createTextChange=createTextChange;E.typeKeywords=[129,128,156,132,95,136,139,142,104,145,146,143,148,149,110,114,151,152,153];function isTypeKeyword(N){return E.contains(E.typeKeywords,N)}E.isTypeKeyword=isTypeKeyword;function isTypeKeywordToken(E){return E.kind===150}E.isTypeKeywordToken=isTypeKeywordToken;function isExternalModuleSymbol(E){return!!(E.flags&1536)&&E.name.charCodeAt(0)===34}E.isExternalModuleSymbol=isExternalModuleSymbol;function nodeSeenTracker(){var N=[];return function(R){var j=E.getNodeId(R);return!N[j]&&(N[j]=true)}}E.nodeSeenTracker=nodeSeenTracker;function getSnapshotText(E){return E.getText(0,E.getLength())}E.getSnapshotText=getSnapshotText;function repeatString(E,N){var R="";for(var j=0;j<N;j++){R+=E}return R}E.repeatString=repeatString;function skipConstraint(E){return E.isTypeParameter()?E.getConstraint()||E:E}E.skipConstraint=skipConstraint;function getNameFromPropertyName(N){return N.kind===160?E.isStringOrNumericLiteralLike(N.expression)?N.expression.text:undefined:E.isPrivateIdentifier(N)?E.idText(N):E.getTextOfIdentifierOrLiteral(N)}E.getNameFromPropertyName=getNameFromPropertyName;function programContainsModules(E){return E.getSourceFiles().some((function(N){return!N.isDeclarationFile&&!E.isSourceFileFromExternalLibrary(N)&&!!(N.externalModuleIndicator||N.commonJsModuleIndicator)}))}E.programContainsModules=programContainsModules;function programContainsEs6Modules(E){return E.getSourceFiles().some((function(N){return!N.isDeclarationFile&&!E.isSourceFileFromExternalLibrary(N)&&!!N.externalModuleIndicator}))}E.programContainsEs6Modules=programContainsEs6Modules;function compilerOptionsIndicateEs6Modules(E){return!!E.module||E.target>=2||!!E.noEmit}E.compilerOptionsIndicateEs6Modules=compilerOptionsIndicateEs6Modules;function createModuleSpecifierResolutionHost(N,R){return{fileExists:function(E){return N.fileExists(E)},getCurrentDirectory:function(){return R.getCurrentDirectory()},readFile:E.maybeBind(R,R.readFile),useCaseSensitiveFileNames:E.maybeBind(R,R.useCaseSensitiveFileNames),getSymlinkCache:E.maybeBind(R,R.getSymlinkCache)||N.getSymlinkCache,getModuleSpecifierCache:E.maybeBind(R,R.getModuleSpecifierCache),getGlobalTypingsCacheLocation:E.maybeBind(R,R.getGlobalTypingsCacheLocation),redirectTargetsMap:N.redirectTargetsMap,getProjectReferenceRedirect:function(E){return N.getProjectReferenceRedirect(E)},isSourceOfProjectReferenceRedirect:function(E){return N.isSourceOfProjectReferenceRedirect(E)},getNearestAncestorDirectoryWithPackageJson:E.maybeBind(R,R.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return N.getFileIncludeReasons()}}}E.createModuleSpecifierResolutionHost=createModuleSpecifierResolutionHost;function getModuleSpecifierResolverHost(E,N){return $($({},createModuleSpecifierResolutionHost(E,N)),{getCommonSourceDirectory:function(){return E.getCommonSourceDirectory()}})}E.getModuleSpecifierResolverHost=getModuleSpecifierResolverHost;function makeImportIfNecessary(E,N,R,j){return E||N&&N.length?makeImport(E,N,R,j):undefined}E.makeImportIfNecessary=makeImportIfNecessary;function makeImport(N,R,j,$,q){return E.factory.createImportDeclaration(undefined,undefined,N||R?E.factory.createImportClause(!!q,N,R&&R.length?E.factory.createNamedImports(R):undefined):undefined,typeof j==="string"?makeStringLiteral(j,$):j)}E.makeImport=makeImport;function makeStringLiteral(N,R){return E.factory.createStringLiteral(N,R===0)}E.makeStringLiteral=makeStringLiteral;var j;(function(E){E[E["Single"]=0]="Single";E[E["Double"]=1]="Double"})(j=E.QuotePreference||(E.QuotePreference={}));function quotePreferenceFromString(N,R){return E.isStringDoubleQuoted(N,R)?1:0}E.quotePreferenceFromString=quotePreferenceFromString;function getQuotePreference(N,R){if(R.quotePreference&&R.quotePreference!=="auto"){return R.quotePreference==="single"?0:1}else{var j=N.imports&&E.find(N.imports,(function(N){return E.isStringLiteral(N)&&!E.nodeIsSynthesized(N.parent)}));return j?quotePreferenceFromString(j,N):1}}E.getQuotePreference=getQuotePreference;function getQuoteFromPreference(N){switch(N){case 0:return"'";case 1:return'"';default:return E.Debug.assertNever(N)}}E.getQuoteFromPreference=getQuoteFromPreference;function symbolNameNoDefault(N){var R=symbolEscapedNameNoDefault(N);return R===undefined?undefined:E.unescapeLeadingUnderscores(R)}E.symbolNameNoDefault=symbolNameNoDefault;function symbolEscapedNameNoDefault(N){if(N.escapedName!=="default"){return N.escapedName}return E.firstDefined(N.declarations,(function(N){var R=E.getNameOfDeclaration(N);return R&&R.kind===79?R.escapedText:undefined}))}E.symbolEscapedNameNoDefault=symbolEscapedNameNoDefault;function isModuleSpecifierLike(N){return E.isStringLiteralLike(N)&&(E.isExternalModuleReference(N.parent)||E.isImportDeclaration(N.parent)||E.isRequireCall(N.parent,false)&&N.parent.arguments[0]===N||E.isImportCall(N.parent)&&N.parent.arguments[0]===N)}E.isModuleSpecifierLike=isModuleSpecifierLike;function isObjectBindingElementWithoutPropertyName(N){return E.isBindingElement(N)&&E.isObjectBindingPattern(N.parent)&&E.isIdentifier(N.name)&&!N.propertyName}E.isObjectBindingElementWithoutPropertyName=isObjectBindingElementWithoutPropertyName;function getPropertySymbolFromBindingElement(E,N){var R=E.getTypeAtLocation(N.parent);return R&&E.getPropertyOfType(R,N.name.text)}E.getPropertySymbolFromBindingElement=getPropertySymbolFromBindingElement;function getParentNodeInSpan(N,R,j){if(!N)return undefined;while(N.parent){if(E.isSourceFile(N.parent)||!spanContainsNode(j,N.parent,R)){return N}N=N.parent}}E.getParentNodeInSpan=getParentNodeInSpan;function spanContainsNode(N,R,j){return E.textSpanContainsPosition(N,R.getStart(j))&&R.getEnd()<=E.textSpanEnd(N)}function findModifier(N,R){return N.modifiers&&E.find(N.modifiers,(function(E){return E.kind===R}))}E.findModifier=findModifier;function insertImports(N,R,j,$){var q=E.isArray(j)?j[0]:j;var G=q.kind===235?E.isRequireVariableStatement:E.isAnyImportSyntax;var ie=E.filter(R.statements,G);var ae=E.isArray(j)?E.stableSort(j,E.OrganizeImports.compareImportsOrRequireStatements):[j];if(!ie.length){N.insertNodesAtTopOfFile(R,ae,$)}else if(ie&&E.OrganizeImports.importsAreSorted(ie)){for(var ce=0,le=ae;ce<le.length;ce++){var _e=le[ce];var Ee=E.OrganizeImports.getImportDeclarationInsertionIndex(ie,_e);if(Ee===0){var Te=ie[0]===R.statements[0]?{leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude}:{};N.insertNodeBefore(R,ie[0],_e,false,Te)}else{var we=ie[Ee-1];N.insertNodeAfter(R,we,_e)}}}else{var Ie=E.lastOrUndefined(ie);if(Ie){N.insertNodesAfter(R,Ie,ae)}else{N.insertNodesAtTopOfFile(R,ae,$)}}}E.insertImports=insertImports;function getTypeKeywordOfTypeOnlyImport(N,R){E.Debug.assert(N.isTypeOnly);return E.cast(N.getChildAt(0,R),isTypeKeywordToken)}E.getTypeKeywordOfTypeOnlyImport=getTypeKeywordOfTypeOnlyImport;function textSpansEqual(E,N){return!!E&&!!N&&E.start===N.start&&E.length===N.length}E.textSpansEqual=textSpansEqual;function documentSpansEqual(E,N){return E.fileName===N.fileName&&textSpansEqual(E.textSpan,N.textSpan)}E.documentSpansEqual=documentSpansEqual;function forEachUnique(E,N){if(E){for(var R=0;R<E.length;R++){if(E.indexOf(E[R])===R){var j=N(E[R],R);if(j){return j}}}}return undefined}E.forEachUnique=forEachUnique;function isTextWhiteSpaceLike(N,R,j){for(var $=R;$<j;$++){if(!E.isWhiteSpaceLike(N.charCodeAt($))){return false}}return true}E.isTextWhiteSpaceLike=isTextWhiteSpaceLike;function isFirstDeclarationOfSymbolParameter(E){return E.declarations&&E.declarations.length>0&&E.declarations[0].kind===162}E.isFirstDeclarationOfSymbolParameter=isFirstDeclarationOfSymbolParameter;var q=getDisplayPartWriter();function getDisplayPartWriter(){var N=E.defaultMaximumTruncationLength*10;var R;var j;var $;var q;resetWriter();var unknownWrite=function(N){return writeKind(N,E.SymbolDisplayPartKind.text)};return{displayParts:function(){var j=R.length&&R[R.length-1].text;if(q>N&&j&&j!=="..."){if(!E.isWhiteSpaceLike(j.charCodeAt(j.length-1))){R.push(displayPart(" ",E.SymbolDisplayPartKind.space))}R.push(displayPart("...",E.SymbolDisplayPartKind.punctuation))}return R},writeKeyword:function(N){return writeKind(N,E.SymbolDisplayPartKind.keyword)},writeOperator:function(N){return writeKind(N,E.SymbolDisplayPartKind.operator)},writePunctuation:function(N){return writeKind(N,E.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(N){return writeKind(N,E.SymbolDisplayPartKind.punctuation)},writeSpace:function(N){return writeKind(N,E.SymbolDisplayPartKind.space)},writeStringLiteral:function(N){return writeKind(N,E.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(N){return writeKind(N,E.SymbolDisplayPartKind.parameterName)},writeProperty:function(N){return writeKind(N,E.SymbolDisplayPartKind.propertyName)},writeLiteral:function(N){return writeKind(N,E.SymbolDisplayPartKind.stringLiteral)},writeSymbol:writeSymbol,writeLine:writeLine,write:unknownWrite,writeComment:unknownWrite,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return false},hasTrailingWhitespace:function(){return false},hasTrailingComment:function(){return false},rawWrite:E.notImplemented,getIndent:function(){return $},increaseIndent:function(){$++},decreaseIndent:function(){$--},clear:resetWriter,trackSymbol:function(){return false},reportInaccessibleThisError:E.noop,reportInaccessibleUniqueSymbolError:E.noop,reportPrivateInBaseOfClassExpression:E.noop};function writeIndent(){if(q>N)return;if(j){var G=E.getIndentString($);if(G){q+=G.length;R.push(displayPart(G,E.SymbolDisplayPartKind.space))}j=false}}function writeKind(E,j){if(q>N)return;writeIndent();q+=E.length;R.push(displayPart(E,j))}function writeSymbol(E,j){if(q>N)return;writeIndent();q+=E.length;R.push(symbolPart(E,j))}function writeLine(){if(q>N)return;q+=1;R.push(lineBreakPart());j=true}function resetWriter(){R=[];j=true;$=0;q=0}}function symbolPart(N,R){return displayPart(N,displayPartKind(R));function displayPartKind(N){var R=N.flags;if(R&3){return isFirstDeclarationOfSymbolParameter(N)?E.SymbolDisplayPartKind.parameterName:E.SymbolDisplayPartKind.localName}else if(R&4){return E.SymbolDisplayPartKind.propertyName}else if(R&32768){return E.SymbolDisplayPartKind.propertyName}else if(R&65536){return E.SymbolDisplayPartKind.propertyName}else if(R&8){return E.SymbolDisplayPartKind.enumMemberName}else if(R&16){return E.SymbolDisplayPartKind.functionName}else if(R&32){return E.SymbolDisplayPartKind.className}else if(R&64){return E.SymbolDisplayPartKind.interfaceName}else if(R&384){return E.SymbolDisplayPartKind.enumName}else if(R&1536){return E.SymbolDisplayPartKind.moduleName}else if(R&8192){return E.SymbolDisplayPartKind.methodName}else if(R&262144){return E.SymbolDisplayPartKind.typeParameterName}else if(R&524288){return E.SymbolDisplayPartKind.aliasName}else if(R&2097152){return E.SymbolDisplayPartKind.aliasName}return E.SymbolDisplayPartKind.text}}E.symbolPart=symbolPart;function displayPart(N,R){return{text:N,kind:E.SymbolDisplayPartKind[R]}}E.displayPart=displayPart;function spacePart(){return displayPart(" ",E.SymbolDisplayPartKind.space)}E.spacePart=spacePart;function keywordPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.keyword)}E.keywordPart=keywordPart;function punctuationPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.punctuation)}E.punctuationPart=punctuationPart;function operatorPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.operator)}E.operatorPart=operatorPart;function parameterNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.parameterName)}E.parameterNamePart=parameterNamePart;function propertyNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.propertyName)}E.propertyNamePart=propertyNamePart;function textOrKeywordPart(N){var R=E.stringToToken(N);return R===undefined?textPart(N):keywordPart(R)}E.textOrKeywordPart=textOrKeywordPart;function textPart(N){return displayPart(N,E.SymbolDisplayPartKind.text)}E.textPart=textPart;function typeAliasNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.aliasName)}E.typeAliasNamePart=typeAliasNamePart;function typeParameterNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.typeParameterName)}E.typeParameterNamePart=typeParameterNamePart;function linkTextPart(N){return displayPart(N,E.SymbolDisplayPartKind.linkText)}E.linkTextPart=linkTextPart;function linkNamePart(N,R){return{text:E.getTextOfNode(N),kind:E.SymbolDisplayPartKind[E.SymbolDisplayPartKind.linkName],target:{fileName:E.getSourceFileOfNode(R).fileName,textSpan:createTextSpanFromNode(R)}}}E.linkNamePart=linkNamePart;function linkPart(N){return displayPart(N,E.SymbolDisplayPartKind.link)}E.linkPart=linkPart;function buildLinkParts(N,R){var j;var $=E.isJSDocLink(N)?"link":E.isJSDocLinkCode(N)?"linkcode":"linkplain";var q=[linkPart("{@"+$+" ")];if(!N.name){if(N.text){q.push(linkTextPart(N.text))}}else{var G=R===null||R===void 0?void 0:R.getSymbolAtLocation(N.name);var ie=(G===null||G===void 0?void 0:G.valueDeclaration)||((j=G===null||G===void 0?void 0:G.declarations)===null||j===void 0?void 0:j[0]);if(ie){q.push(linkNamePart(N.name,ie));if(N.text){q.push(linkTextPart(N.text))}}else{q.push(linkTextPart(E.getTextOfNode(N.name)+" "+N.text))}}q.push(linkPart("}"));return q}E.buildLinkParts=buildLinkParts;var G="\r\n";function getNewLineOrDefaultFromHost(E,N){var R;return(N===null||N===void 0?void 0:N.newLineCharacter)||((R=E.getNewLine)===null||R===void 0?void 0:R.call(E))||G}E.getNewLineOrDefaultFromHost=getNewLineOrDefaultFromHost;function lineBreakPart(){return displayPart("\n",E.SymbolDisplayPartKind.lineBreak)}E.lineBreakPart=lineBreakPart;function mapToDisplayParts(E){try{E(q);return q.displayParts()}finally{q.clear()}}E.mapToDisplayParts=mapToDisplayParts;function typeToDisplayParts(E,N,R,j){if(j===void 0){j=0}return mapToDisplayParts((function($){E.writeType(N,R,j|1024|16384,$)}))}E.typeToDisplayParts=typeToDisplayParts;function symbolToDisplayParts(E,N,R,j,$){if($===void 0){$=0}return mapToDisplayParts((function(q){E.writeSymbol(N,R,j,$|8,q)}))}E.symbolToDisplayParts=symbolToDisplayParts;function signatureToDisplayParts(E,N,R,j){if(j===void 0){j=0}j|=16384|1024|32|8192;return mapToDisplayParts((function($){E.writeSignature(N,R,j,undefined,$)}))}E.signatureToDisplayParts=signatureToDisplayParts;function isImportOrExportSpecifierName(N){return!!N.parent&&E.isImportOrExportSpecifier(N.parent)&&N.parent.propertyName===N}E.isImportOrExportSpecifierName=isImportOrExportSpecifierName;function getScriptKind(N,R){return E.ensureScriptKind(N,R.getScriptKind&&R.getScriptKind(N))}E.getScriptKind=getScriptKind;function getSymbolTarget(N,R){var j=N;while(isAliasSymbol(j)||isTransientSymbol(j)&&j.target){if(isTransientSymbol(j)&&j.target){j=j.target}else{j=E.skipAlias(j,R)}}return j}E.getSymbolTarget=getSymbolTarget;function isTransientSymbol(E){return(E.flags&33554432)!==0}function isAliasSymbol(E){return(E.flags&2097152)!==0}function getUniqueSymbolId(N,R){return E.getSymbolId(E.skipAlias(N,R))}E.getUniqueSymbolId=getUniqueSymbolId;function getFirstNonSpaceCharacterPosition(N,R){while(E.isWhiteSpaceLike(N.charCodeAt(R))){R+=1}return R}E.getFirstNonSpaceCharacterPosition=getFirstNonSpaceCharacterPosition;function getPrecedingNonSpaceCharacterPosition(N,R){while(R>-1&&E.isWhiteSpaceSingleLine(N.charCodeAt(R))){R-=1}return R+1}E.getPrecedingNonSpaceCharacterPosition=getPrecedingNonSpaceCharacterPosition;function getSynthesizedDeepClone(E,N){if(N===void 0){N=true}var R=E&&getSynthesizedDeepCloneWorker(E);if(R&&!N)suppressLeadingAndTrailingTrivia(R);return R}E.getSynthesizedDeepClone=getSynthesizedDeepClone;function getSynthesizedDeepCloneWithReplacements(N,R,j){var $=j(N);if($){E.setOriginalNode($,N)}else{$=getSynthesizedDeepCloneWorker(N,j)}if($&&!R)suppressLeadingAndTrailingTrivia($);return $}E.getSynthesizedDeepCloneWithReplacements=getSynthesizedDeepCloneWithReplacements;function getSynthesizedDeepCloneWorker(N,R){var j=R?function(E){return getSynthesizedDeepCloneWithReplacements(E,true,R)}:getSynthesizedDeepClone;var $=R?function(E){return E&&getSynthesizedDeepClonesWithReplacements(E,true,R)}:function(E){return E&&getSynthesizedDeepClones(E)};var q=E.visitEachChild(N,j,E.nullTransformationContext,$,j);if(q===N){var G=E.isStringLiteral(N)?E.setOriginalNode(E.factory.createStringLiteralFromNode(N),N):E.isNumericLiteral(N)?E.setOriginalNode(E.factory.createNumericLiteral(N.text,N.numericLiteralFlags),N):E.factory.cloneNode(N);return E.setTextRange(G,N)}q.parent=undefined;return q}function getSynthesizedDeepClones(N,R){if(R===void 0){R=true}return N&&E.factory.createNodeArray(N.map((function(E){return getSynthesizedDeepClone(E,R)})),N.hasTrailingComma)}E.getSynthesizedDeepClones=getSynthesizedDeepClones;function getSynthesizedDeepClonesWithReplacements(N,R,j){return E.factory.createNodeArray(N.map((function(E){return getSynthesizedDeepCloneWithReplacements(E,R,j)})),N.hasTrailingComma)}E.getSynthesizedDeepClonesWithReplacements=getSynthesizedDeepClonesWithReplacements;function suppressLeadingAndTrailingTrivia(E){suppressLeadingTrivia(E);suppressTrailingTrivia(E)}E.suppressLeadingAndTrailingTrivia=suppressLeadingAndTrailingTrivia;function suppressLeadingTrivia(E){addEmitFlagsRecursively(E,512,getFirstChild)}E.suppressLeadingTrivia=suppressLeadingTrivia;function suppressTrailingTrivia(N){addEmitFlagsRecursively(N,1024,E.getLastChild)}E.suppressTrailingTrivia=suppressTrailingTrivia;function copyComments(E,N){var R=E.getSourceFile();var j=R.text;if(hasLeadingLineBreak(E,j)){copyLeadingComments(E,N,R)}else{copyTrailingAsLeadingComments(E,N,R)}copyTrailingComments(E,N,R)}E.copyComments=copyComments;function hasLeadingLineBreak(E,N){var R=E.getFullStart();var j=E.getStart();for(var $=R;$<j;$++){if(N.charCodeAt($)===10)return true}return false}function addEmitFlagsRecursively(N,R,j){E.addEmitFlags(N,R);var $=j(N);if($)addEmitFlagsRecursively($,R,j)}function getFirstChild(E){return E.forEachChild((function(E){return E}))}function getUniqueName(N,R){var j=N;for(var $=1;!E.isFileLevelUniqueName(R,j);$++){j=N+"_"+$}return j}E.getUniqueName=getUniqueName;function getRenameLocation(N,R,j,$){var q=0;var G=-1;for(var ie=0,ae=N;ie<ae.length;ie++){var ce=ae[ie],le=ce.fileName,_e=ce.textChanges;E.Debug.assert(le===R);for(var Ee=0,Te=_e;Ee<Te.length;Ee++){var we=Te[Ee];var Ie=we.span,Ne=we.newText;var Me=indexInTextChange(Ne,j);if(Me!==-1){G=Ie.start+q+Me;if(!$){return G}}q+=Ne.length-Ie.length}}E.Debug.assert($);E.Debug.assert(G>=0);return G}E.getRenameLocation=getRenameLocation;function copyLeadingComments(N,R,j,$,q){E.forEachLeadingCommentRange(j.text,N.pos,getAddCommentsFunction(R,j,$,q,E.addSyntheticLeadingComment))}E.copyLeadingComments=copyLeadingComments;function copyTrailingComments(N,R,j,$,q){E.forEachTrailingCommentRange(j.text,N.end,getAddCommentsFunction(R,j,$,q,E.addSyntheticTrailingComment))}E.copyTrailingComments=copyTrailingComments;function copyTrailingAsLeadingComments(N,R,j,$,q){E.forEachTrailingCommentRange(j.text,N.pos,getAddCommentsFunction(R,j,$,q,E.addSyntheticLeadingComment))}E.copyTrailingAsLeadingComments=copyTrailingAsLeadingComments;function getAddCommentsFunction(E,N,R,j,$){return function(q,G,ie,ae){if(ie===3){q+=2;G-=2}else{q+=2}$(E,R||ie,N.text.slice(q,G),j!==undefined?j:ae)}}function indexInTextChange(N,R){if(E.startsWith(N,R))return 0;var j=N.indexOf(" "+R);if(j===-1)j=N.indexOf("."+R);if(j===-1)j=N.indexOf('"'+R);return j===-1?-1:j+1}function needsParentheses(N){return E.isBinaryExpression(N)&&N.operatorToken.kind===27||E.isObjectLiteralExpression(N)||E.isAsExpression(N)&&E.isObjectLiteralExpression(N.expression)}E.needsParentheses=needsParentheses;function getContextualTypeFromParent(E,N){var R=E.parent;switch(R.kind){case 207:return N.getContextualType(R);case 219:{var j=R,$=j.left,q=j.operatorToken,G=j.right;return isEqualityOperatorKind(q.kind)?N.getTypeAtLocation(E===G?$:G):N.getContextualType(E)}case 287:return R.expression===E?getSwitchedType(R,N):undefined;default:return N.getContextualType(E)}}E.getContextualTypeFromParent=getContextualTypeFromParent;function quote(N,R,j){var $=getQuotePreference(N,R);var q=JSON.stringify(j);return $===0?"'"+E.stripQuotes(q).replace(/'/g,"\\'").replace(/\\"/g,'"')+"'":q}E.quote=quote;function isEqualityOperatorKind(E){switch(E){case 36:case 34:case 37:case 35:return true;default:return false}}E.isEqualityOperatorKind=isEqualityOperatorKind;function isStringLiteralOrTemplate(E){switch(E.kind){case 10:case 14:case 221:case 208:return true;default:return false}}E.isStringLiteralOrTemplate=isStringLiteralOrTemplate;function hasIndexSignature(E){return!!E.getStringIndexType()||!!E.getNumberIndexType()}E.hasIndexSignature=hasIndexSignature;function getSwitchedType(E,N){return N.getTypeAtLocation(E.parent.parent.expression)}E.getSwitchedType=getSwitchedType;E.ANONYMOUS="anonymous function";function getTypeNodeIfAccessible(E,N,R,j){var $=R.getTypeChecker();var q=true;var notAccessible=function(){q=false};var G=$.typeToTypeNode(E,N,1,{trackSymbol:function(E,N,R){q=q&&$.isSymbolAccessible(E,N,R,false).accessibility===0;return!q},reportInaccessibleThisError:notAccessible,reportPrivateInBaseOfClassExpression:notAccessible,reportInaccessibleUniqueSymbolError:notAccessible,moduleResolverHost:getModuleSpecifierResolverHost(R,j)});return q?G:undefined}E.getTypeNodeIfAccessible=getTypeNodeIfAccessible;function syntaxRequiresTrailingCommaOrSemicolonOrASI(E){return E===172||E===173||E===174||E===164||E===166}E.syntaxRequiresTrailingCommaOrSemicolonOrASI=syntaxRequiresTrailingCommaOrSemicolonOrASI;function syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(E){return E===254||E===169||E===167||E===170||E===171}E.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI;function syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(E){return E===259}E.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=syntaxRequiresTrailingModuleBlockOrSemicolonOrASI;function syntaxRequiresTrailingSemicolonOrASI(E){return E===235||E===236||E===238||E===243||E===244||E===245||E===249||E===251||E===165||E===257||E===264||E===263||E===270||E===262||E===269}E.syntaxRequiresTrailingSemicolonOrASI=syntaxRequiresTrailingSemicolonOrASI;E.syntaxMayBeASICandidate=E.or(syntaxRequiresTrailingCommaOrSemicolonOrASI,syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI,syntaxRequiresTrailingModuleBlockOrSemicolonOrASI,syntaxRequiresTrailingSemicolonOrASI);function nodeIsASICandidate(N,R){var j=N.getLastToken(R);if(j&&j.kind===26){return false}if(syntaxRequiresTrailingCommaOrSemicolonOrASI(N.kind)){if(j&&j.kind===27){return false}}else if(syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(N.kind)){var $=E.last(N.getChildren(R));if($&&E.isModuleBlock($)){return false}}else if(syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(N.kind)){var $=E.last(N.getChildren(R));if($&&E.isFunctionBlock($)){return false}}else if(!syntaxRequiresTrailingSemicolonOrASI(N.kind)){return false}if(N.kind===238){return true}var q=E.findAncestor(N,(function(E){return!E.parent}));var G=findNextToken(N,q,R);if(!G||G.kind===19){return true}var ie=R.getLineAndCharacterOfPosition(N.getEnd()).line;var ae=R.getLineAndCharacterOfPosition(G.getStart(R)).line;return ie!==ae}function positionIsASICandidate(N,R,j){var $=E.findAncestor(R,(function(R){if(R.end!==N){return"quit"}return E.syntaxMayBeASICandidate(R.kind)}));return!!$&&nodeIsASICandidate($,j)}E.positionIsASICandidate=positionIsASICandidate;function probablyUsesSemicolons(N){var R=0;var j=0;var $=5;E.forEachChild(N,(function visit(q){if(syntaxRequiresTrailingSemicolonOrASI(q.kind)){var G=q.getLastToken(N);if(G&&G.kind===26){R++}else{j++}}if(R+j>=$){return true}return E.forEachChild(q,visit)}));if(R===0&&j<=1){return true}return R/j>1/$}E.probablyUsesSemicolons=probablyUsesSemicolons;function tryGetDirectories(E,N){return tryIOAndConsumeErrors(E,E.getDirectories,N)||[]}E.tryGetDirectories=tryGetDirectories;function tryReadDirectory(N,R,j,$,q){return tryIOAndConsumeErrors(N,N.readDirectory,R,j,$,q)||E.emptyArray}E.tryReadDirectory=tryReadDirectory;function tryFileExists(E,N){return tryIOAndConsumeErrors(E,E.fileExists,N)}E.tryFileExists=tryFileExists;function tryDirectoryExists(N,R){return tryAndIgnoreErrors((function(){return E.directoryProbablyExists(R,N)}))||false}E.tryDirectoryExists=tryDirectoryExists;function tryAndIgnoreErrors(E){try{return E()}catch(E){return undefined}}E.tryAndIgnoreErrors=tryAndIgnoreErrors;function tryIOAndConsumeErrors(E,N){var R=[];for(var j=2;j<arguments.length;j++){R[j-2]=arguments[j]}return tryAndIgnoreErrors((function(){return N&&N.apply(E,R)}))}E.tryIOAndConsumeErrors=tryIOAndConsumeErrors;function findPackageJsons(N,R,j){var $=[];E.forEachAncestorDirectory(N,(function(N){if(N===j){return true}var q=E.combinePaths(N,"package.json");if(tryFileExists(R,q)){$.push(q)}}));return $}E.findPackageJsons=findPackageJsons;function findPackageJson(N,R){var j;E.forEachAncestorDirectory(N,(function(N){if(N==="node_modules")return true;j=E.findConfigFile(N,(function(E){return tryFileExists(R,E)}),"package.json");if(j){return true}}));return j}E.findPackageJson=findPackageJson;function getPackageJsonsVisibleToFile(N,R){if(!R.fileExists){return[]}var j=[];E.forEachAncestorDirectory(E.getDirectoryPath(N),(function(N){var $=E.combinePaths(N,"package.json");if(R.fileExists($)){var q=createPackageJsonInfo($,R);if(q){j.push(q)}}}));return j}E.getPackageJsonsVisibleToFile=getPackageJsonsVisibleToFile;function createPackageJsonInfo(N,R){if(!R.readFile){return undefined}var j=["dependencies","devDependencies","optionalDependencies","peerDependencies"];var q=R.readFile(N)||"";var G=tryParseJson(q);var ie={};if(G){for(var ae=0,ce=j;ae<ce.length;ae++){var le=ce[ae];var _e=G[le];if(!_e){continue}var Ee=new E.Map;for(var Te in _e){Ee.set(Te,_e[Te])}ie[le]=Ee}}var we=[[1,ie.dependencies],[2,ie.devDependencies],[8,ie.optionalDependencies],[4,ie.peerDependencies]];return $($({},ie),{parseable:!!G,fileName:N,get:get,has:function(E,N){return!!get(E,N)}});function get(E,N){if(N===void 0){N=15}for(var R=0,j=we;R<j.length;R++){var $=j[R],q=$[0],G=$[1];if(G&&N&q){var ie=G.get(E);if(ie!==undefined){return ie}}}}}E.createPackageJsonInfo=createPackageJsonInfo;function createPackageJsonImportFilter(N,R,j){var $=(j.getPackageJsonsVisibleToFile&&j.getPackageJsonsVisibleToFile(N.fileName)||getPackageJsonsVisibleToFile(N.fileName,j)).filter((function(E){return E.parseable}));var q;return{allowsImportingAmbientModule:allowsImportingAmbientModule,allowsImportingSourceFile:allowsImportingSourceFile,allowsImportingSpecifier:allowsImportingSpecifier};function moduleSpecifierIsCoveredByPackageJson(N){var R=getNodeModuleRootSpecifier(N);for(var j=0,q=$;j<q.length;j++){var G=q[j];if(G.has(R)||G.has(E.getTypesPackageName(R))){return true}}return false}function allowsImportingAmbientModule(N,R){if(!$.length||!N.valueDeclaration){return true}var j=N.valueDeclaration.getSourceFile();var q=getNodeModulesPackageNameFromFileName(j.fileName,R);if(typeof q==="undefined"){return true}var G=E.stripQuotes(N.getName());if(isAllowedCoreNodeModulesImport(G)){return true}return moduleSpecifierIsCoveredByPackageJson(q)||moduleSpecifierIsCoveredByPackageJson(G)}function allowsImportingSourceFile(E,N){if(!$.length){return true}var R=getNodeModulesPackageNameFromFileName(E.fileName,N);if(!R){return true}return moduleSpecifierIsCoveredByPackageJson(R)}function allowsImportingSpecifier(N){if(!$.length||isAllowedCoreNodeModulesImport(N)){return true}if(E.pathIsRelative(N)||E.isRootedDiskPath(N)){return true}return moduleSpecifierIsCoveredByPackageJson(N)}function isAllowedCoreNodeModulesImport(R){if(E.isSourceFileJS(N)&&E.JsTyping.nodeCoreModules.has(R)){if(q===undefined){q=consumesNodeCoreModules(N)}if(q){return true}}return false}function getNodeModulesPackageNameFromFileName($,q){if(!E.stringContains($,"node_modules")){return undefined}var G=E.moduleSpecifiers.getNodeModulesPackageName(j.getCompilationSettings(),N.path,$,q,R);if(!G){return undefined}if(!E.pathIsRelative(G)&&!E.isRootedDiskPath(G)){return getNodeModuleRootSpecifier(G)}}function getNodeModuleRootSpecifier(N){var R=E.getPathComponents(E.getPackageNameFromTypesPackageName(N)).slice(1);if(E.startsWith(R[0],"@")){return R[0]+"/"+R[1]}return R[0]}}E.createPackageJsonImportFilter=createPackageJsonImportFilter;function tryParseJson(E){try{return JSON.parse(E)}catch(E){return undefined}}function consumesNodeCoreModules(N){return E.some(N.imports,(function(N){var R=N.text;return E.JsTyping.nodeCoreModules.has(R)}))}E.consumesNodeCoreModules=consumesNodeCoreModules;function isInsideNodeModules(N){return E.contains(E.getPathComponents(N),"node_modules")}E.isInsideNodeModules=isInsideNodeModules;function isDiagnosticWithLocation(E){return E.file!==undefined&&E.start!==undefined&&E.length!==undefined}E.isDiagnosticWithLocation=isDiagnosticWithLocation;function findDiagnosticForNode(N,R){var j=createTextSpanFromNode(N);var $=E.binarySearchKey(R,j,E.identity,E.compareTextSpans);if($>=0){var q=R[$];E.Debug.assertEqual(q.file,N.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile");return E.cast(q,isDiagnosticWithLocation)}}E.findDiagnosticForNode=findDiagnosticForNode;function getDiagnosticsWithinSpan(N,R){var j;var $=E.binarySearchKey(R,N.start,(function(E){return E.start}),E.compareValues);if($<0){$=~$}while(((j=R[$-1])===null||j===void 0?void 0:j.start)===N.start){$--}var q=[];var G=E.textSpanEnd(N);while(true){var ie=E.tryCast(R[$],isDiagnosticWithLocation);if(!ie||ie.start>G){break}if(E.textSpanContainsTextSpan(N,ie)){q.push(ie)}$++}return q}E.getDiagnosticsWithinSpan=getDiagnosticsWithinSpan;function getRefactorContextSpan(N){var R=N.startPosition,j=N.endPosition;return E.createTextSpanFromBounds(R,j===undefined?R:j)}E.getRefactorContextSpan=getRefactorContextSpan;function mapOneOrMany(N,R,j){if(j===void 0){j=E.identity}return N?E.isArray(N)?j(E.map(N,R)):R(N,0):undefined}E.mapOneOrMany=mapOneOrMany;function firstOrOnly(N){return E.isArray(N)?E.first(N):N}E.firstOrOnly=firstOrOnly;function getNameForExportedSymbol(N,R){if(!(N.flags&33554432)&&(N.escapedName==="export="||N.escapedName==="default")){return E.firstDefined(N.declarations,(function(N){var R;return E.isExportAssignment(N)?(R=E.tryCast(E.skipOuterExpressions(N.expression),E.isIdentifier))===null||R===void 0?void 0:R.text:undefined}))||E.codefix.moduleSymbolToValidIdentifier(getSymbolParentOrFail(N),R)}return N.name}E.getNameForExportedSymbol=getNameForExportedSymbol;function getSymbolParentOrFail(N){var R;return E.Debug.checkDefined(N.parent,"Symbol parent was undefined. Flags: "+E.Debug.formatSymbolFlags(N.flags)+". "+("Declarations: "+((R=N.declarations)===null||R===void 0?void 0:R.map((function(N){var R=E.Debug.formatSyntaxKind(N.kind);var j=E.isInJSFile(N);var $=N.expression;return(j?"[JS]":"")+R+($?" (expression: "+E.Debug.formatSyntaxKind($.kind)+")":"")})).join(", "))+"."))}function stringContainsAt(E,N,R){var j=N.length;if(j+R>E.length){return false}for(var $=0;$<j;$++){if(N.charCodeAt($)!==E.charCodeAt($+R))return false}return true}E.stringContainsAt=stringContainsAt;function startsWithUnderscore(E){return E.charCodeAt(0)===95}E.startsWithUnderscore=startsWithUnderscore;function isGlobalDeclaration(E){return!isNonGlobalDeclaration(E)}E.isGlobalDeclaration=isGlobalDeclaration;function isNonGlobalDeclaration(N){var R=N.getSourceFile();if(!R.externalModuleIndicator&&!R.commonJsModuleIndicator){return false}return E.isInJSFile(N)||!E.findAncestor(N,E.isGlobalScopeAugmentation)}E.isNonGlobalDeclaration=isNonGlobalDeclaration;function isDeprecatedDeclaration(N){return!!(E.getCombinedNodeFlagsAlwaysIncludeJSDoc(N)&8192)}E.isDeprecatedDeclaration=isDeprecatedDeclaration;function shouldUseUriStyleNodeCoreModules(N,R){var j=E.firstDefined(N.imports,(function(N){if(E.JsTyping.nodeCoreModules.has(N.text)){return E.startsWith(N.text,"node:")}}));return j!==null&&j!==void 0?j:R.usesUriStyleNodeCoreModules}E.shouldUseUriStyleNodeCoreModules=shouldUseUriStyleNodeCoreModules})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Named"]=0]="Named";E[E["Default"]=1]="Default";E[E["Namespace"]=2]="Namespace";E[E["CommonJS"]=3]="CommonJS"})(N=E.ImportKind||(E.ImportKind={}));var R;(function(E){E[E["Named"]=0]="Named";E[E["Default"]=1]="Default";E[E["ExportEquals"]=2]="ExportEquals";E[E["UMD"]=3]="UMD"})(R=E.ExportKind||(E.ExportKind={}));function createCacheableExportInfoMap(N){var R=1;var j=E.createMultiMap();var $=new E.Map;var q;var G={isUsableByFile:function(E){return E===q},isEmpty:function(){return!j.size},clear:function(){j.clear();$.clear();q=undefined},add:function(N,ie,ae,ce,le,_e,Ee,Te,we){if(N!==q){G.clear();q=N}var Ie=_e===1;var Ne=Ie&&E.getLocalSymbolForExportDefault(ie)||ie;var Me=E.isExternalModuleSymbol(Ne)?E.unescapeLeadingUnderscores(ae):E.getNameForExportedSymbol(Ne,Te);var Le=E.stripQuotes(ce.name);var Be=R++;var je=ie.flags&33554432?undefined:ie;var Ue=ce.flags&33554432?undefined:ce;if(!je||!Ue)$.set(Be,[ie,ce]);j.add(key(Me,ie,Le,we),{id:Be,symbolTableKey:ae,symbolName:Me,moduleName:Le,moduleFile:le,moduleFileName:le===null||le===void 0?void 0:le.fileName,exportKind:_e,targetFlags:E.skipAlias(ie,we).flags,isFromPackageJson:Ee,symbol:je,moduleSymbol:Ue})},get:function(E,N,R,$,G){if(E!==q)return;var ie=j.get(key(N,R,$,G));return ie===null||ie===void 0?void 0:ie.map(rehydrateCachedInfo)},forEach:function(E,N){if(E!==q)return;j.forEach((function(E,R){var j=parseKey(R),$=j.symbolName,q=j.ambientModuleName;N(E.map(rehydrateCachedInfo),$,!!q)}))},releaseSymbols:function(){$.clear()},onFileChanged:function(N,R,j){if(fileIsGlobalOnly(N)&&fileIsGlobalOnly(R)){return false}if(q&&q!==R.path||j&&E.consumesNodeCoreModules(N)!==E.consumesNodeCoreModules(R)||!E.arrayIsEqualTo(N.moduleAugmentations,R.moduleAugmentations)||!ambientModuleDeclarationsAreEqual(N,R)){G.clear();return true}q=R.path;return false}};if(E.Debug.isDebugging){Object.defineProperty(G,"__cache",{get:function(){return j}})}return G;function rehydrateCachedInfo(R){if(R.symbol&&R.moduleSymbol)return R;var j=R.id,q=R.exportKind,G=R.targetFlags,ie=R.isFromPackageJson,ae=R.moduleFileName;var ce=$.get(j)||E.emptyArray,le=ce[0],_e=ce[1];if(le&&_e){return{symbol:le,moduleSymbol:_e,moduleFileName:ae,exportKind:q,targetFlags:G,isFromPackageJson:ie}}var Ee=(ie?N.getPackageJsonAutoImportProvider():N.getCurrentProgram()).getTypeChecker();var Te=R.moduleSymbol||_e||E.Debug.checkDefined(R.moduleFile?Ee.getMergedSymbol(R.moduleFile.symbol):Ee.tryFindAmbientModule(R.moduleName));var we=R.symbol||le||E.Debug.checkDefined(q===2?Ee.resolveExternalModuleSymbol(Te):Ee.tryGetMemberInModuleExportsAndProperties(E.unescapeLeadingUnderscores(R.symbolTableKey),Te),"Could not find symbol '"+R.symbolName+"' by key '"+R.symbolTableKey+"' in module "+Te.name);$.set(j,[we,Te]);return{symbol:we,moduleSymbol:Te,moduleFileName:ae,exportKind:q,targetFlags:G,isFromPackageJson:ie}}function key(N,R,j,$){var q=E.stripQuotes(j);var G=E.isExternalModuleNameRelative(q)?"/":q;var ie=E.skipAlias(R,$);return N+"|"+createSymbolKey(ie)+"|"+G}function parseKey(E){var N=E.substring(0,E.indexOf("|"));var R=E.substring(E.lastIndexOf("|")+1);var j=R==="/"?undefined:R;return{symbolName:N,ambientModuleName:j}}function createSymbolKey(E){var N=E.name;while(E.parent){N+=","+E.parent.name;E=E.parent}return N}function fileIsGlobalOnly(E){return!E.commonJsModuleIndicator&&!E.externalModuleIndicator&&!E.moduleAugmentations&&!E.ambientModuleNames}function ambientModuleDeclarationsAreEqual(N,R){if(!E.arrayIsEqualTo(N.ambientModuleNames,R.ambientModuleNames)){return false}var j=-1;var $=-1;var _loop_1=function(q){var isMatchingModuleDeclaration=function(N){return E.isNonGlobalAmbientModule(N)&&N.name.text===q};j=E.findIndex(N.statements,isMatchingModuleDeclaration,j+1);$=E.findIndex(R.statements,isMatchingModuleDeclaration,$+1);if(N.statements[j]!==R.statements[$]){return{value:false}}};for(var q=0,G=R.ambientModuleNames;q<G.length;q++){var ie=G[q];var ae=_loop_1(ie);if(typeof ae==="object")return ae.value}return true}}E.createCacheableExportInfoMap=createCacheableExportInfoMap;function isImportableFile(N,R,j,$,q,G,ie){var ae;if(R===j)return false;var ce=ie===null||ie===void 0?void 0:ie.get(R.path,j.path,$);if((ce===null||ce===void 0?void 0:ce.isAutoImportable)!==undefined){return ce.isAutoImportable}var le=E.hostGetCanonicalFileName(G);var _e=(ae=G.getGlobalTypingsCacheLocation)===null||ae===void 0?void 0:ae.call(G);var Ee=!!E.moduleSpecifiers.forEachFileNameOfModule(R.fileName,j.fileName,G,false,(function(E){var $=N.getSourceFile(E);return($===j||!$)&&isImportablePath(R.fileName,E,le,_e)}));if(q){var Te=Ee&&q.allowsImportingSourceFile(j,G);ie===null||ie===void 0?void 0:ie.setIsAutoImportable(R.path,j.path,$,Te);return Te}return Ee}E.isImportableFile=isImportableFile;function isImportablePath(N,R,j,$){var q=E.forEachAncestorDirectory(R,(function(N){return E.getBaseFileName(N)==="node_modules"?N:undefined}));var G=q&&E.getDirectoryPath(j(q));return G===undefined||E.startsWith(j(N),G)||!!$&&E.startsWith(j($),G)}function forEachExternalModuleToImportFrom(N,R,j,$){var q,G;forEachExternalModule(N.getTypeChecker(),N.getSourceFiles(),(function(E,R){return $(E,R,N,false)}));var ie=j&&((q=R.getPackageJsonAutoImportProvider)===null||q===void 0?void 0:q.call(R));if(ie){var ae=E.timestamp();forEachExternalModule(ie.getTypeChecker(),ie.getSourceFiles(),(function(E,N){return $(E,N,ie,true)}));(G=R.log)===null||G===void 0?void 0:G.call(R,"forEachExternalModuleToImportFrom autoImportProvider: "+(E.timestamp()-ae))}}E.forEachExternalModuleToImportFrom=forEachExternalModuleToImportFrom;function forEachExternalModule(N,R,j){for(var $=0,q=N.getAmbientModules();$<q.length;$++){var G=q[$];if(!E.stringContains(G.name,"*")){j(G,undefined)}}for(var ie=0,ae=R;ie<ae.length;ie++){var ce=ae[ie];if(E.isExternalOrCommonJsModule(ce)){j(N.getMergedSymbol(ce.symbol),ce)}}}function getExportInfoMap(N,R,j,$){var q,G,ie,ae,ce;var le=E.timestamp();(q=R.getPackageJsonAutoImportProvider)===null||q===void 0?void 0:q.call(R);var _e=((G=R.getCachedExportInfoMap)===null||G===void 0?void 0:G.call(R))||createCacheableExportInfoMap({getCurrentProgram:function(){return j},getPackageJsonAutoImportProvider:function(){var E;return(E=R.getPackageJsonAutoImportProvider)===null||E===void 0?void 0:E.call(R)}});if(_e.isUsableByFile(N.path)){(ie=R.log)===null||ie===void 0?void 0:ie.call(R,"getExportInfoMap: cache hit");return _e}(ae=R.log)===null||ae===void 0?void 0:ae.call(R,"getExportInfoMap: cache miss or empty; calculating new results");var Ee=j.getCompilerOptions();var Te=E.getEmitScriptTarget(Ee);var we=0;forEachExternalModuleToImportFrom(j,R,true,(function(R,j,q,G){if(++we%100===0)$===null||$===void 0?void 0:$.throwIfCancellationRequested();var ie=new E.Map;var ae=q.getTypeChecker();var ce=getDefaultLikeExportInfo(R,ae,Ee);if(ce&&isImportableSymbol(ce.symbol,ae)){_e.add(N.path,ce.symbol,ce.exportKind===1?"default":"export=",R,j,ce.exportKind,G,Te,ae)}ae.forEachExportAndPropertyOfModule(R,(function($,q){if($!==(ce===null||ce===void 0?void 0:ce.symbol)&&isImportableSymbol($,ae)&&E.addToSeen(ie,$)){_e.add(N.path,$,q,R,j,0,G,Te,ae)}}))}));(ce=R.log)===null||ce===void 0?void 0:ce.call(R,"getExportInfoMap: done in "+(E.timestamp()-le)+" ms");return _e}E.getExportInfoMap=getExportInfoMap;function getDefaultLikeExportInfo(E,N,R){var j=getDefaultLikeExportWorker(E,N);if(!j)return undefined;var q=j.symbol,G=j.exportKind;var ie=getDefaultExportInfoWorker(q,N,R);return ie&&$({symbol:q,exportKind:G},ie)}E.getDefaultLikeExportInfo=getDefaultLikeExportInfo;function isImportableSymbol(N,R){return!R.isUndefinedSymbol(N)&&!R.isUnknownSymbol(N)&&!E.isKnownSymbol(N)&&!E.isPrivateIdentifierSymbol(N)}function getDefaultLikeExportWorker(E,N){var R=N.resolveExternalModuleSymbol(E);if(R!==E)return{symbol:R,exportKind:2};var j=N.tryGetMemberInModuleExports("default",E);if(j)return{symbol:j,exportKind:1}}function getDefaultExportInfoWorker(N,R,j){var $=E.getLocalSymbolForExportDefault(N);if($)return{symbolForMeaning:$,name:$.name};var q=getNameForExportDefault(N);if(q!==undefined)return{symbolForMeaning:N,name:q};if(N.flags&2097152){var G=R.getImmediateAliasedSymbol(N);if(G&&G.parent){return getDefaultExportInfoWorker(G,R,j)}}if(N.escapedName!=="default"&&N.escapedName!=="export="){return{symbolForMeaning:N,name:N.getName()}}return{symbolForMeaning:N,name:E.getNameForExportedSymbol(N,j.target)}}function getNameForExportDefault(N){return N.declarations&&E.firstDefined(N.declarations,(function(N){var R;if(E.isExportAssignment(N)){return(R=E.tryCast(E.skipOuterExpressions(N.expression),E.isIdentifier))===null||R===void 0?void 0:R.text}else if(E.isExportSpecifier(N)){E.Debug.assert(N.name.text==="default","Expected the specifier to be a default export");return N.propertyName&&N.propertyName.text}}))}})(ce||(ce={}));var ce;(function(E){function createClassifier(){var R=E.createScanner(99,false);function getClassificationsForLine(E,N,R){return convertClassificationsToResult(getEncodedLexicalClassifications(E,N,R),E)}function getEncodedLexicalClassifications(j,$,q){var G=0;var ie=0;var ae=[];var ce=getPrefixFromLexState($),le=ce.prefix,_e=ce.pushTemplate;j=le+j;var Ee=le.length;if(_e){ae.push(15)}R.setText(j);var Te=0;var we=[];var Ie=0;do{G=R.scan();if(!E.isTrivia(G)){handleToken();ie=G}var Ne=R.getTextPos();pushEncodedClassification(R.getTokenPos(),Ne,Ee,classFromKind(G),we);if(Ne>=j.length){var Me=getNewEndOfLineState(R,G,E.lastOrUndefined(ae));if(Me!==undefined){Te=Me}}}while(G!==1);function handleToken(){switch(G){case 43:case 68:if(!N[ie]&&R.reScanSlashToken()===13){G=13}break;case 29:if(ie===79){Ie++}break;case 31:if(Ie>0){Ie--}break;case 129:case 148:case 145:case 132:case 149:if(Ie>0&&!q){G=79}break;case 15:ae.push(G);break;case 18:if(ae.length>0){ae.push(G)}break;case 19:if(ae.length>0){var j=E.lastOrUndefined(ae);if(j===15){G=R.reScanTemplateToken(false);if(G===17){ae.pop()}else{E.Debug.assertEqual(G,16,"Should have been a template middle.")}}else{E.Debug.assertEqual(j,18,"Should have been an open brace");ae.pop()}}break;default:if(!E.isKeyword(G)){break}if(ie===24){G=79}else if(E.isKeyword(ie)&&E.isKeyword(G)&&!canFollow(ie,G)){G=79}}}return{endOfLineState:Te,spans:we}}return{getClassificationsForLine:getClassificationsForLine,getEncodedLexicalClassifications:getEncodedLexicalClassifications}}E.createClassifier=createClassifier;var N=E.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],(function(E){return E}),(function(){return true}));function getNewEndOfLineState(N,R,j){switch(R){case 10:{if(!N.isUnterminated())return undefined;var $=N.getTokenText();var q=$.length-1;var G=0;while($.charCodeAt(q-G)===92){G++}if((G&1)===0)return undefined;return $.charCodeAt(0)===34?3:2}case 3:return N.isUnterminated()?1:undefined;default:if(E.isTemplateLiteralKind(R)){if(!N.isUnterminated()){return undefined}switch(R){case 17:return 5;case 14:return 4;default:return E.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+R)}}return j===15?6:undefined}}function pushEncodedClassification(E,N,R,j,$){if(j===8){return}if(E===0&&R>0){E+=R}var q=N-E;if(q>0){$.push(E-R,q,j)}}function convertClassificationsToResult(N,R){var j=[];var $=N.spans;var q=0;for(var G=0;G<$.length;G+=3){var ie=$[G];var ae=$[G+1];var ce=$[G+2];if(q>=0){var le=ie-q;if(le>0){j.push({length:le,classification:E.TokenClass.Whitespace})}}j.push({length:ae,classification:convertClassification(ce)});q=ie+ae}var _e=R.length-q;if(_e>0){j.push({length:_e,classification:E.TokenClass.Whitespace})}return{entries:j,finalLexState:N.endOfLineState}}function convertClassification(N){switch(N){case 1:return E.TokenClass.Comment;case 3:return E.TokenClass.Keyword;case 4:return E.TokenClass.NumberLiteral;case 25:return E.TokenClass.BigIntLiteral;case 5:return E.TokenClass.Operator;case 6:return E.TokenClass.StringLiteral;case 8:return E.TokenClass.Whitespace;case 10:return E.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return E.TokenClass.Identifier;default:return undefined}}function canFollow(N,R){if(!E.isAccessibilityModifier(N)){return true}switch(R){case 135:case 147:case 133:case 124:return true;default:return false}}function getPrefixFromLexState(N){switch(N){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:true};case 6:return{prefix:"",pushTemplate:true};case 0:return{prefix:""};default:return E.Debug.assertNever(N)}}function isBinaryExpressionOperatorToken(E){switch(E){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 102:case 101:case 127:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return true;default:return false}}function isPrefixUnaryExpressionOperatorToken(E){switch(E){case 39:case 40:case 54:case 53:case 45:case 46:return true;default:return false}}function classFromKind(N){if(E.isKeyword(N)){return 3}else if(isBinaryExpressionOperatorToken(N)||isPrefixUnaryExpressionOperatorToken(N)){return 5}else if(N>=18&&N<=78){return 10}switch(N){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 79:default:if(E.isTemplateLiteralKind(N)){return 6}return 2}}function getSemanticClassifications(E,N,R,j,$){return convertClassificationsToSpans(getEncodedSemanticClassifications(E,N,R,j,$))}E.getSemanticClassifications=getSemanticClassifications;function checkForClassificationCancellation(E,N){switch(N){case 259:case 255:case 256:case 254:case 224:case 211:case 212:E.throwIfCancellationRequested()}}function getEncodedSemanticClassifications(N,R,j,$,q){var G=[];j.forEachChild((function cb(G){if(!G||!E.textSpanIntersectsWith(q,G.pos,G.getFullWidth())){return}checkForClassificationCancellation(R,G.kind);if(E.isIdentifier(G)&&!E.nodeIsMissing(G)&&$.has(G.escapedText)){var ie=N.getSymbolAtLocation(G);var ae=ie&&classifySymbol(ie,E.getMeaningFromLocation(G),N);if(ae){pushClassification(G.getStart(j),G.getEnd(),ae)}}G.forEachChild(cb)}));return{spans:G,endOfLineState:0};function pushClassification(N,R,j){var $=R-N;E.Debug.assert($>0,"Classification had non-positive length of "+$);G.push(N);G.push($);G.push(j)}}E.getEncodedSemanticClassifications=getEncodedSemanticClassifications;function classifySymbol(E,N,R){var j=E.getFlags();if((j&2885600)===0){return undefined}else if(j&32){return 11}else if(j&384){return 12}else if(j&524288){return 16}else if(j&1536){return N&4||N&1&&hasValueSideModule(E)?14:undefined}else if(j&2097152){return classifySymbol(R.getAliasedSymbol(E),N,R)}else if(N&2){return j&64?13:j&262144?15:undefined}else{return undefined}}function hasValueSideModule(N){return E.some(N.declarations,(function(N){return E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)===1}))}function getClassificationTypeName(E){switch(E){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return undefined}}function convertClassificationsToSpans(N){E.Debug.assert(N.spans.length%3===0);var R=N.spans;var j=[];for(var $=0;$<R.length;$+=3){j.push({textSpan:E.createTextSpan(R[$],R[$+1]),classificationType:getClassificationTypeName(R[$+2])})}return j}function getSyntacticClassifications(E,N,R){return convertClassificationsToSpans(getEncodedSyntacticClassifications(E,N,R))}E.getSyntacticClassifications=getSyntacticClassifications;function getEncodedSyntacticClassifications(N,R,j){var $=j.start;var q=j.length;var G=E.createScanner(99,false,R.languageVariant,R.text);var ie=E.createScanner(99,false,R.languageVariant,R.text);var ae=[];processElement(R);return{spans:ae,endOfLineState:0};function pushClassification(E,N,R){ae.push(E);ae.push(N);ae.push(R)}function classifyLeadingTriviaAndGetTokenStart(N){G.setTextPos(N.pos);while(true){var j=G.getTextPos();if(!E.couldStartTrivia(R.text,j)){return j}var $=G.scan();var q=G.getTextPos();var ie=q-j;if(!E.isTrivia($)){return j}switch($){case 4:case 5:continue;case 2:case 3:classifyComment(N,$,j,ie);G.setTextPos(q);continue;case 7:var ae=R.text;var ce=ae.charCodeAt(j);if(ce===60||ce===62){pushClassification(j,ie,1);continue}E.Debug.assert(ce===124||ce===61);classifyDisabledMergeCode(ae,j,q);break;case 6:break;default:E.Debug.assertNever($)}}}function classifyComment(N,j,$,q){if(j===3){var G=E.parseIsolatedJSDocComment(R.text,$,q);if(G&&G.jsDoc){E.setParent(G.jsDoc,N);classifyJSDocComment(G.jsDoc);return}}else if(j===2){if(tryClassifyTripleSlashComment($,q)){return}}pushCommentRange($,q)}function pushCommentRange(E,N){pushClassification(E,N,1)}function classifyJSDocComment(E){var N,R,j,$,q,G,ie;var ae=E.pos;if(E.tags){for(var ce=0,le=E.tags;ce<le.length;ce++){var _e=le[ce];if(_e.pos!==ae){pushCommentRange(ae,_e.pos-ae)}pushClassification(_e.pos,1,10);pushClassification(_e.tagName.pos,_e.tagName.end-_e.tagName.pos,18);ae=_e.tagName.end;var Ee=_e.tagName.end;switch(_e.kind){case 335:var Te=_e;processJSDocParameterTag(Te);Ee=Te.isNameFirst&&((N=Te.typeExpression)===null||N===void 0?void 0:N.end)||Te.name.end;break;case 342:var we=_e;Ee=we.isNameFirst&&((R=we.typeExpression)===null||R===void 0?void 0:R.end)||we.name.end;break;case 339:processJSDocTemplateTag(_e);ae=_e.end;Ee=_e.typeParameters.end;break;case 340:var Ie=_e;Ee=((j=Ie.typeExpression)===null||j===void 0?void 0:j.kind)===304&&(($=Ie.fullName)===null||$===void 0?void 0:$.end)||((q=Ie.typeExpression)===null||q===void 0?void 0:q.end)||Ee;break;case 333:Ee=_e.typeExpression.end;break;case 338:processElement(_e.typeExpression);ae=_e.end;Ee=_e.typeExpression.end;break;case 337:case 334:Ee=_e.typeExpression.end;break;case 336:processElement(_e.typeExpression);ae=_e.end;Ee=((G=_e.typeExpression)===null||G===void 0?void 0:G.end)||Ee;break;case 341:Ee=((ie=_e.name)===null||ie===void 0?void 0:ie.end)||Ee;break;case 323:case 324:Ee=_e.class.end;break}if(typeof _e.comment==="object"){pushCommentRange(_e.comment.pos,_e.comment.end-_e.comment.pos)}else if(typeof _e.comment==="string"){pushCommentRange(Ee,_e.end-Ee)}}}if(ae!==E.end){pushCommentRange(ae,E.end-ae)}return;function processJSDocParameterTag(E){if(E.isNameFirst){pushCommentRange(ae,E.name.pos-ae);pushClassification(E.name.pos,E.name.end-E.name.pos,17);ae=E.name.end}if(E.typeExpression){pushCommentRange(ae,E.typeExpression.pos-ae);processElement(E.typeExpression);ae=E.typeExpression.end}if(!E.isNameFirst){pushCommentRange(ae,E.name.pos-ae);pushClassification(E.name.pos,E.name.end-E.name.pos,17);ae=E.name.end}}}function tryClassifyTripleSlashComment(N,j){var $=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im;var q=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim;var G=R.text.substr(N,j);var ie=$.exec(G);if(!ie){return false}if(!ie[3]||!(ie[3]in E.commentPragmas)){return false}var ae=N;pushCommentRange(ae,ie[1].length);ae+=ie[1].length;pushClassification(ae,ie[2].length,10);ae+=ie[2].length;pushClassification(ae,ie[3].length,21);ae+=ie[3].length;var ce=ie[4];var le=ae;while(true){var _e=q.exec(ce);if(!_e){break}var Ee=ae+_e.index+_e[1].length;if(Ee>le){pushCommentRange(le,Ee-le);le=Ee}pushClassification(le,_e[2].length,22);le+=_e[2].length;if(_e[3].length){pushCommentRange(le,_e[3].length);le+=_e[3].length}pushClassification(le,_e[4].length,5);le+=_e[4].length;if(_e[5].length){pushCommentRange(le,_e[5].length);le+=_e[5].length}pushClassification(le,_e[6].length,24);le+=_e[6].length}ae+=ie[4].length;if(ae>le){pushCommentRange(le,ae-le)}if(ie[5]){pushClassification(ae,ie[5].length,10);ae+=ie[5].length}var Te=N+j;if(ae<Te){pushCommentRange(ae,Te-ae)}return true}function processJSDocTemplateTag(E){for(var N=0,R=E.getChildren();N<R.length;N++){var j=R[N];processElement(j)}}function classifyDisabledMergeCode(N,R,j){var $;for($=R;$<j;$++){if(E.isLineBreak(N.charCodeAt($))){break}}pushClassification(R,$-R,1);ie.setTextPos($);while(ie.getTextPos()<j){classifyDisabledCodeToken()}}function classifyDisabledCodeToken(){var E=ie.getTextPos();var N=ie.scan();var R=ie.getTextPos();var j=classifyTokenType(N);if(j){pushClassification(E,R-E,j)}}function tryClassifyNode(N){if(E.isJSDoc(N)){return true}if(E.nodeIsMissing(N)){return true}var R=tryClassifyJsxElementName(N);if(!E.isToken(N)&&N.kind!==11&&R===undefined){return false}var j=N.kind===11?N.pos:classifyLeadingTriviaAndGetTokenStart(N);var $=N.end-j;E.Debug.assert($>=0);if($>0){var q=R||classifyTokenType(N.kind,N);if(q){pushClassification(j,$,q)}}return true}function tryClassifyJsxElementName(E){switch(E.parent&&E.parent.kind){case 278:if(E.parent.tagName===E){return 19}break;case 279:if(E.parent.tagName===E){return 20}break;case 277:if(E.parent.tagName===E){return 21}break;case 283:if(E.parent.name===E){return 22}break}return undefined}function classifyTokenType(N,R){if(E.isKeyword(N)){return 3}if(N===29||N===31){if(R&&E.getTypeArgumentOrTypeParameterList(R.parent)){return 10}}if(E.isPunctuation(N)){if(R){var j=R.parent;if(N===63){if(j.kind===252||j.kind===165||j.kind===162||j.kind===283){return 5}}if(j.kind===219||j.kind===217||j.kind===218||j.kind===220){return 5}}return 10}else if(N===8){return 4}else if(N===9){return 25}else if(N===10){return R&&R.parent.kind===283?24:6}else if(N===13){return 6}else if(E.isTemplateLiteralKind(N)){return 6}else if(N===11){return 23}else if(N===79){if(R){switch(R.parent.kind){case 255:if(R.parent.name===R){return 11}return;case 161:if(R.parent.name===R){return 15}return;case 256:if(R.parent.name===R){return 13}return;case 258:if(R.parent.name===R){return 12}return;case 259:if(R.parent.name===R){return 14}return;case 162:if(R.parent.name===R){return E.isThisIdentifier(R)?3:17}return}}return 2}}function processElement(j){if(!j){return}if(E.decodedTextSpanIntersectsWith($,q,j.pos,j.getFullWidth())){checkForClassificationCancellation(N,j.kind);for(var G=0,ie=j.getChildren(R);G<ie.length;G++){var ae=ie[G];if(!tryClassifyNode(ae)){processElement(ae)}}}}}E.getEncodedSyntacticClassifications=getEncodedSyntacticClassifications})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(N){var R;(function(E){E[E["typeOffset"]=8]="typeOffset";E[E["modifierMask"]=255]="modifierMask"})(R=N.TokenEncodingConsts||(N.TokenEncodingConsts={}));var j;(function(E){E[E["class"]=0]="class";E[E["enum"]=1]="enum";E[E["interface"]=2]="interface";E[E["namespace"]=3]="namespace";E[E["typeParameter"]=4]="typeParameter";E[E["type"]=5]="type";E[E["parameter"]=6]="parameter";E[E["variable"]=7]="variable";E[E["enumMember"]=8]="enumMember";E[E["property"]=9]="property";E[E["function"]=10]="function";E[E["member"]=11]="member"})(j=N.TokenType||(N.TokenType={}));var $;(function(E){E[E["declaration"]=0]="declaration";E[E["static"]=1]="static";E[E["async"]=2]="async";E[E["readonly"]=3]="readonly";E[E["defaultLibrary"]=4]="defaultLibrary";E[E["local"]=5]="local"})($=N.TokenModifier||(N.TokenModifier={}));function getSemanticClassifications(N,R,j,$){var q=getEncodedSemanticClassifications(N,R,j,$);E.Debug.assert(q.spans.length%3===0);var G=q.spans;var ie=[];for(var ae=0;ae<G.length;ae+=3){ie.push({textSpan:E.createTextSpan(G[ae],G[ae+1]),classificationType:G[ae+2]})}return ie}N.getSemanticClassifications=getSemanticClassifications;function getEncodedSemanticClassifications(E,N,R,j){return{spans:getSemanticTokens(E,R,j,N),endOfLineState:0}}N.getEncodedSemanticClassifications=getEncodedSemanticClassifications;function getSemanticTokens(E,N,R,j){var $=[];var collector=function(E,R,j){$.push(E.getStart(N),E.getWidth(N),(R+1<<8)+j)};if(E&&N){collectTokens(E,N,R,collector,j)}return $}function collectTokens(N,R,j,$,G){var ie=N.getTypeChecker();var ae=false;function visit(ce){switch(ce.kind){case 259:case 255:case 256:case 254:case 224:case 211:case 212:G.throwIfCancellationRequested()}if(!ce||!E.textSpanIntersectsWith(j,ce.pos,ce.getFullWidth())||ce.getFullWidth()===0){return}var le=ae;if(E.isJsxElement(ce)||E.isJsxSelfClosingElement(ce)){ae=true}if(E.isJsxExpression(ce)){ae=false}if(E.isIdentifier(ce)&&!ae&&!inImportClause(ce)&&!E.isInfinityOrNaNString(ce.escapedText)){var _e=ie.getSymbolAtLocation(ce);if(_e){if(_e.flags&2097152){_e=ie.getAliasedSymbol(_e)}var Ee=classifySymbol(_e,E.getMeaningFromLocation(ce));if(Ee!==undefined){var Te=0;if(ce.parent){var we=E.isBindingElement(ce.parent)||q.get(ce.parent.kind)===Ee;if(we&&ce.parent.name===ce){Te=1<<0}}if(Ee===6&&isRightSideOfQualifiedNameOrPropertyAccess(ce)){Ee=9}Ee=reclassifyByType(ie,ce,Ee);var Ie=_e.valueDeclaration;if(Ie){var Ne=E.getCombinedModifierFlags(Ie);var Me=E.getCombinedNodeFlags(Ie);if(Ne&32){Te|=1<<1}if(Ne&256){Te|=1<<2}if(Ee!==0&&Ee!==2){if(Ne&64||Me&2||_e.getFlags()&8){Te|=1<<3}}if((Ee===7||Ee===10)&&isLocalDeclaration(Ie,R)){Te|=1<<5}if(N.isSourceFileDefaultLibrary(Ie.getSourceFile())){Te|=1<<4}}else if(_e.declarations&&_e.declarations.some((function(E){return N.isSourceFileDefaultLibrary(E.getSourceFile())}))){Te|=1<<4}$(ce,Ee,Te)}}}E.forEachChild(ce,visit);ae=le}visit(R)}function classifySymbol(N,R){var j=N.getFlags();if(j&32){return 0}else if(j&384){return 1}else if(j&524288){return 5}else if(j&64){if(R&2){return 2}}else if(j&262144){return 4}var $=N.valueDeclaration||N.declarations&&N.declarations[0];if($&&E.isBindingElement($)){$=getDeclarationForBindingElement($)}return $&&q.get($.kind)}function reclassifyByType(E,N,R){if(R===7||R===9||R===6){var j=E.getTypeAtLocation(N);if(j){var test=function(E){return E(j)||j.isUnion()&&j.types.some(E)};if(R!==6&&test((function(E){return E.getConstructSignatures().length>0}))){return 0}if(test((function(E){return E.getCallSignatures().length>0}))&&!test((function(E){return E.getProperties().length>0}))||isExpressionInCallExpression(N)){return R===9?11:10}}}return R}function isLocalDeclaration(N,R){if(E.isBindingElement(N)){N=getDeclarationForBindingElement(N)}if(E.isVariableDeclaration(N)){return(!E.isSourceFile(N.parent.parent.parent)||E.isCatchClause(N.parent))&&N.getSourceFile()===R}else if(E.isFunctionDeclaration(N)){return!E.isSourceFile(N.parent)&&N.getSourceFile()===R}return false}function getDeclarationForBindingElement(N){while(true){if(E.isBindingElement(N.parent.parent)){N=N.parent.parent}else{return N.parent.parent}}}function inImportClause(N){var R=N.parent;return R&&(E.isImportClause(R)||E.isImportSpecifier(R)||E.isNamespaceImport(R))}function isExpressionInCallExpression(N){while(isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}return E.isCallExpression(N.parent)&&N.parent.expression===N}function isRightSideOfQualifiedNameOrPropertyAccess(N){return E.isQualifiedName(N.parent)&&N.parent.right===N||E.isPropertyAccessExpression(N.parent)&&N.parent.name===N}var q=new E.Map([[252,7],[162,6],[165,9],[259,3],[258,1],[294,8],[255,0],[167,11],[254,10],[211,10],[166,11],[170,9],[171,9],[164,9],[256,2],[257,5],[161,4],[291,9],[292,9]])})(R=N.v2020||(N.v2020={}))})(N=E.classifier||(E.classifier={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){function getStringLiteralCompletions(N,R,j,$,q,G,ie,ae){if(E.isInReferenceComment(N,R)){var ce=getTripleSlashReferenceCompletion(N,R,q,G);return ce&&convertPathCompletions(ce)}if(E.isInString(N,R,j)){if(!j||!E.isStringLiteralLike(j))return undefined;var ce=getStringLiteralCompletionEntries(N,j,R,$,q,G,ae);return convertStringLiteralCompletions(ce,j,N,$,ie,q,ae)}}R.getStringLiteralCompletions=getStringLiteralCompletions;function convertStringLiteralCompletions(R,j,$,q,G,ie,ae){if(R===undefined){return undefined}var ce=E.createTextSpanFromStringLiteralLikeContent(j);switch(R.kind){case 0:return convertPathCompletions(R.paths);case 1:{var le=[];N.getCompletionEntriesFromSymbols(R.symbols,le,j,$,$,q,99,G,4,ae,ie);return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:R.hasIndexSignature,optionalReplacementSpan:ce,entries:le}}case 2:{var le=R.types.map((function(R){return{name:R.value,kindModifiers:"",kind:"string",sortText:N.SortText.LocationPriority,replacementSpan:E.getReplacementSpanForContextToken(j)}}));return{isGlobalCompletion:false,isMemberCompletion:false,isNewIdentifierLocation:R.isNewIdentifier,optionalReplacementSpan:ce,entries:le}}default:return E.Debug.assertNever(R)}}function getStringLiteralCompletionDetails(N,R,j,$,q,G,ie,ae,ce){if(!$||!E.isStringLiteralLike($))return undefined;var le=getStringLiteralCompletionEntries(R,$,j,q,G,ie,ce);return le&&stringLiteralCompletionDetails(N,$,le,R,q,ae)}R.getStringLiteralCompletionDetails=getStringLiteralCompletionDetails;function stringLiteralCompletionDetails(R,j,$,q,G,ie){switch($.kind){case 0:{var ae=E.find($.paths,(function(E){return E.name===R}));return ae&&N.createCompletionDetails(R,kindModifiersFromExtension(ae.extension),ae.kind,[E.textPart(R)])}case 1:{var ae=E.find($.symbols,(function(E){return E.name===R}));return ae&&N.createCompletionDetailsForSymbol(ae,G,q,j,ie)}case 2:return E.find($.types,(function(E){return E.value===R}))?N.createCompletionDetails(R,"","type",[E.textPart(R)]):undefined;default:return E.Debug.assertNever($)}}function convertPathCompletions(E){var R=false;var j=true;var $=E.map((function(E){var R=E.name,j=E.kind,$=E.span,q=E.extension;return{name:R,kind:j,kindModifiers:kindModifiersFromExtension(q),sortText:N.SortText.LocationPriority,replacementSpan:$}}));return{isGlobalCompletion:R,isMemberCompletion:false,isNewIdentifierLocation:j,entries:$}}function kindModifiersFromExtension(N){switch(N){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".tsbuildinfo":return E.Debug.fail("Extension "+".tsbuildinfo"+" is unsupported.");case undefined:return"";default:return E.Debug.assertNever(N)}}var $;(function(E){E[E["Paths"]=0]="Paths";E[E["Properties"]=1]="Properties";E[E["Types"]=2]="Types"})($||($={}));function getStringLiteralCompletionEntries(N,R,j,$,q,G,ie){var ae=walkUpParentheses(R.parent);switch(ae.kind){case 194:{var ce=walkUpParentheses(ae.parent);switch(ce.kind){case 176:{var le=ce;var _e=E.findAncestor(ae,(function(E){return E.parent===le}));if(_e){return{kind:2,types:getStringLiteralTypes($.getTypeArgumentConstraint(_e)),isNewIdentifier:false}}return undefined}case 192:var Ee=ce,Te=Ee.indexType,we=Ee.objectType;if(!E.rangeContainsPosition(Te,j)){return undefined}return stringLiteralCompletionsFromProperties($.getTypeFromTypeNode(we));case 198:return{kind:0,paths:getStringLiteralCompletionsFromModuleNames(N,R,q,G,$,ie)};case 185:{if(!E.isTypeReferenceNode(ce.parent)){return undefined}var Ie=getAlreadyUsedTypesInStringLiteralUnion(ce,ae);var Ne=getStringLiteralTypes($.getTypeArgumentConstraint(ce)).filter((function(N){return!E.contains(Ie,N.value)}));return{kind:2,types:Ne,isNewIdentifier:false}}default:return undefined}}case 291:if(E.isObjectLiteralExpression(ae.parent)&&ae.name===R){return stringLiteralCompletionsForObjectLiteral($,ae.parent)}return fromContextualType();case 205:{var Me=ae,Le=Me.expression,Be=Me.argumentExpression;if(R===E.skipParentheses(Be)){return stringLiteralCompletionsFromProperties($.getTypeAtLocation(Le))}return undefined}case 206:case 207:if(!isRequireCallArgument(R)&&!E.isImportCall(ae)){var je=E.SignatureHelp.getArgumentInfoForCompletions(R,j,N);return je?getStringLiteralCompletionsFromSignature(je,$):fromContextualType()}case 264:case 270:case 275:return{kind:0,paths:getStringLiteralCompletionsFromModuleNames(N,R,q,G,$,ie)};default:return fromContextualType()}function fromContextualType(){return{kind:2,types:getStringLiteralTypes(E.getContextualTypeFromParent(R,$)),isNewIdentifier:false}}}function walkUpParentheses(N){switch(N.kind){case 189:return E.walkUpParenthesizedTypes(N);case 210:return E.walkUpParenthesizedExpressions(N);default:return N}}function getAlreadyUsedTypesInStringLiteralUnion(N,R){return E.mapDefined(N.types,(function(N){return N!==R&&E.isLiteralTypeNode(N)&&E.isStringLiteral(N.literal)?N.literal.text:undefined}))}function getStringLiteralCompletionsFromSignature(N,R){var j=false;var $=new E.Map;var q=[];R.getResolvedSignature(N.invocation,q,N.argumentCount);var G=E.flatMap(q,(function(q){if(!E.signatureHasRestParameter(q)&&N.argumentCount>q.parameters.length)return;var G=R.getParameterType(q,N.argumentIndex);j=j||!!(G.flags&4);return getStringLiteralTypes(G,$)}));return{kind:2,types:G,isNewIdentifier:j}}function stringLiteralCompletionsFromProperties(N){return N&&{kind:1,symbols:E.filter(N.getApparentProperties(),(function(N){return!(N.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(N.valueDeclaration))})),hasIndexSignature:E.hasIndexSignature(N)}}function stringLiteralCompletionsForObjectLiteral(R,j){var $=R.getContextualType(j);if(!$)return undefined;var q=R.getContextualType(j,4);var G=N.getPropertiesForObjectExpression($,q,j,R);return{kind:1,symbols:G,hasIndexSignature:E.hasIndexSignature($)}}function getStringLiteralTypes(N,R){if(R===void 0){R=new E.Map}if(!N)return E.emptyArray;N=E.skipConstraint(N);return N.isUnion()?E.flatMap(N.types,(function(E){return getStringLiteralTypes(E,R)})):N.isStringLiteral()&&!(N.flags&1024)&&E.addToSeen(R,N.value)?[N]:E.emptyArray}function nameAndKind(E,N,R){return{name:E,kind:N,extension:R}}function directoryResult(E){return nameAndKind(E,"directory",undefined)}function addReplacementSpans(N,R,j){var $=getDirectoryFragmentTextSpan(N,R);var q=N.length===0?undefined:E.createTextSpan(R,N.length);return j.map((function(N){var R=N.name,j=N.kind,G=N.extension;return Math.max(R.indexOf(E.directorySeparator),R.indexOf(E.altDirectorySeparator))!==-1?{name:R,kind:j,extension:G,span:q}:{name:R,kind:j,extension:G,span:$}}))}function getStringLiteralCompletionsFromModuleNames(E,N,R,j,$,q){return addReplacementSpans(N.text,N.getStart(E)+1,getStringLiteralCompletionsFromModuleNamesWorker(E,N,R,j,$,q))}function getStringLiteralCompletionsFromModuleNamesWorker(N,R,j,$,q,G){var ie=E.normalizeSlashes(R.text);var ae=N.path;var ce=E.getDirectoryPath(ae);return isPathRelativeToScript(ie)||!j.baseUrl&&(E.isRootedDiskPath(ie)||E.isUrl(ie))?getCompletionEntriesForRelativeModules(ie,ce,j,$,ae,G):getCompletionEntriesForNonRelativeModules(ie,ce,j,$,q)}function getExtensionOptions(E,N){if(N===void 0){N=0}return{extensions:getSupportedExtensionsForModuleResolution(E),includeExtensionsOption:N}}function getCompletionEntriesForRelativeModules(E,N,R,j,$,q){var G=q.importModuleSpecifierEnding==="js"?2:0;var ie=getExtensionOptions(R,G);if(R.rootDirs){return getCompletionEntriesForDirectoryFragmentWithRootDirs(R.rootDirs,E,N,ie,R,j,$)}else{return getCompletionEntriesForDirectoryFragment(E,N,ie,j,$)}}function getSupportedExtensionsForModuleResolution(N){var R=E.getSupportedExtensions(N);return N.resolveJsonModule&&E.getEmitModuleResolutionKind(N)===E.ModuleResolutionKind.NodeJs?R.concat(".json"):R}function getBaseDirectoriesFromRootDirs(N,R,$,q){N=N.map((function(N){return E.normalizePath(E.isRootedDiskPath(N)?N:E.combinePaths(R,N))}));var G=E.firstDefined(N,(function(N){return E.containsPath(N,$,R,q)?$.substr(N.length):undefined}));return E.deduplicate(j(j([],N.map((function(N){return E.combinePaths(N,G)})),true),[$],false),E.equateStringsCaseSensitive,E.compareStringsCaseSensitive)}function getCompletionEntriesForDirectoryFragmentWithRootDirs(N,R,j,$,q,G,ie){var ae=q.project||G.getCurrentDirectory();var ce=!(G.useCaseSensitiveFileNames&&G.useCaseSensitiveFileNames());var le=getBaseDirectoriesFromRootDirs(N,ae,j,ce);return E.flatMap(le,(function(E){return getCompletionEntriesForDirectoryFragment(R,E,$,G,ie)}))}var q;(function(E){E[E["Exclude"]=0]="Exclude";E[E["Include"]=1]="Include";E[E["ModuleSpecifierCompletion"]=2]="ModuleSpecifierCompletion"})(q||(q={}));function getCompletionEntriesForDirectoryFragment(N,R,j,$,q,G){var ie=j.extensions,ae=j.includeExtensionsOption;if(G===void 0){G=[]}if(N===undefined){N=""}N=E.normalizeSlashes(N);if(!E.hasTrailingDirectorySeparator(N)){N=E.getDirectoryPath(N)}if(N===""){N="."+E.directorySeparator}N=E.ensureTrailingDirectorySeparator(N);var ce=E.resolvePath(R,N);var le=E.hasTrailingDirectorySeparator(ce)?ce:E.getDirectoryPath(ce);var _e=!($.useCaseSensitiveFileNames&&$.useCaseSensitiveFileNames());if(!E.tryDirectoryExists($,le))return G;var Ee=E.tryReadDirectory($,le,ie,undefined,["./*"]);if(Ee){var Te=new E.Map;for(var we=0,Ie=Ee;we<Ie.length;we++){var Ne=Ie[we];Ne=E.normalizePath(Ne);if(q&&E.comparePaths(Ne,q,R,_e)===0){continue}var Me=void 0;var Le=E.moduleSpecifiers.tryGetJSExtensionForFile(Ne,$.getCompilationSettings());if(ae===0&&!E.fileExtensionIs(Ne,".json")){Me=E.removeFileExtension(E.getBaseFileName(Ne));Te.set(Me,E.tryGetExtensionFromPath(Ne))}else if(ae===2&&Le){Me=E.changeExtension(E.getBaseFileName(Ne),Le);Te.set(Me,Le)}else{Me=E.getBaseFileName(Ne);Te.set(Me,E.tryGetExtensionFromPath(Ne))}}Te.forEach((function(E,N){G.push(nameAndKind(N,"script",E))}))}var Be=E.tryGetDirectories($,le);if(Be){for(var je=0,Ue=Be;je<Ue.length;je++){var ze=Ue[je];var We=E.getBaseFileName(E.normalizePath(ze));if(We!=="@types"){G.push(directoryResult(We))}}}var Je=E.findPackageJson(le,$);if(Je){var Ve=E.readJson(Je,$);var qe=Ve.typesVersions;if(typeof qe==="object"){var He=E.getPackageJsonTypesVersionsPaths(qe);var Ge=He&&He.paths;var Ke=ce.slice(E.ensureTrailingDirectorySeparator(le).length);if(Ge){addCompletionEntriesFromPaths(G,Ke,le,ie,Ge,$)}}}return G}function addCompletionEntriesFromPaths(N,R,j,$,q,G){for(var ie in q){if(!E.hasProperty(q,ie))continue;var ae=q[ie];if(ae){var _loop_2=function(E,R,j){if(!N.some((function(N){return N.name===E}))){N.push(nameAndKind(E,R,j))}};for(var ce=0,le=getCompletionsForPathMapping(ie,ae,R,j,$,G);ce<le.length;ce++){var _e=le[ce],Ee=_e.name,Te=_e.kind,we=_e.extension;_loop_2(Ee,Te,we)}}}}function getCompletionEntriesForNonRelativeModules(N,R,j,$,q){var G=j.baseUrl,ie=j.paths;var ae=[];var ce=getExtensionOptions(j);if(G){var le=j.project||$.getCurrentDirectory();var _e=E.normalizePath(E.combinePaths(le,G));getCompletionEntriesForDirectoryFragment(N,_e,ce,$,undefined,ae);if(ie){addCompletionEntriesFromPaths(ae,N,_e,ce.extensions,ie,$)}}var Ee=getFragmentDirectory(N);for(var Te=0,we=getAmbientModuleCompletions(N,Ee,q);Te<we.length;Te++){var Ie=we[Te];ae.push(nameAndKind(Ie,"external module name",undefined))}getCompletionEntriesFromTypings($,j,R,Ee,ce,ae);if(E.getEmitModuleResolutionKind(j)===E.ModuleResolutionKind.NodeJs){var Ne=false;if(Ee===undefined){var _loop_3=function(E){if(!ae.some((function(N){return N.name===E}))){Ne=true;ae.push(nameAndKind(E,"external module name",undefined))}};for(var Me=0,Le=enumerateNodeModulesVisibleToScript($,R);Me<Le.length;Me++){var Be=Le[Me];_loop_3(Be)}}if(!Ne){E.forEachAncestorDirectory(R,(function(R){var j=E.combinePaths(R,"node_modules");if(E.tryDirectoryExists($,j)){getCompletionEntriesForDirectoryFragment(N,j,ce,$,undefined,ae)}}))}}return ae}function getFragmentDirectory(N){return containsSlash(N)?E.hasTrailingDirectorySeparator(N)?N:E.getDirectoryPath(N):undefined}function getCompletionsForPathMapping(N,R,j,$,q,G){if(!E.endsWith(N,"*")){return!E.stringContains(N,"*")?justPathMappingName(N):E.emptyArray}var ie=N.slice(0,N.length-1);var ae=E.tryRemovePrefix(j,ie);return ae===undefined?justPathMappingName(ie):E.flatMap(R,(function(E){return getModulesForPathsPattern(ae,$,E,q,G)}));function justPathMappingName(N){return E.startsWith(N,j)?[directoryResult(N)]:E.emptyArray}}function getModulesForPathsPattern(N,R,$,q,G){if(!G.readDirectory){return undefined}var ie=E.tryParsePattern($);if(ie===undefined||E.isString(ie)){return undefined}var ae=E.resolvePath(ie.prefix);var ce=E.hasTrailingDirectorySeparator(ie.prefix)?ae:E.getDirectoryPath(ae);var le=E.hasTrailingDirectorySeparator(ie.prefix)?"":E.getBaseFileName(ae);var _e=containsSlash(N);var Ee=_e?E.hasTrailingDirectorySeparator(N)?N:E.getDirectoryPath(N):undefined;var Te=_e?E.combinePaths(ce,le+Ee):ce;var we=E.normalizePath(ie.suffix);var Ie=E.normalizePath(E.combinePaths(R,Te));var Ne=_e?Ie:E.ensureTrailingDirectorySeparator(Ie)+le;var Me=we?"**/*":"./*";var Le=E.mapDefined(E.tryReadDirectory(G,Ie,q,undefined,[Me]),(function(N){var R=E.tryGetExtensionFromPath(N);var j=trimPrefixAndSuffix(N);return j===undefined?undefined:nameAndKind(E.removeFileExtension(j),"script",R)}));var Be=E.mapDefined(E.tryGetDirectories(G,Ie).map((function(N){return E.combinePaths(Ie,N)})),(function(E){var N=trimPrefixAndSuffix(E);return N===undefined?undefined:directoryResult(N)}));return j(j([],Le,true),Be,true);function trimPrefixAndSuffix(N){var R=withoutStartAndEnd(E.normalizePath(N),Ne,we);return R===undefined?undefined:removeLeadingDirectorySeparator(R)}}function withoutStartAndEnd(N,R,j){return E.startsWith(N,R)&&E.endsWith(N,j)?N.slice(R.length,N.length-j.length):undefined}function removeLeadingDirectorySeparator(N){return N[0]===E.directorySeparator?N.slice(1):N}function getAmbientModuleCompletions(N,R,j){var $=j.getAmbientModules().map((function(N){return E.stripQuotes(N.name)}));var q=$.filter((function(R){return E.startsWith(R,N)}));if(R!==undefined){var G=E.ensureTrailingDirectorySeparator(R);return q.map((function(N){return E.removePrefix(N,G)}))}return q}function getTripleSlashReferenceCompletion(N,R,j,$){var q=E.getTokenAtPosition(N,R);var ie=E.getLeadingCommentRanges(N.text,q.pos);var ae=ie&&E.find(ie,(function(E){return R>=E.pos&&R<=E.end}));if(!ae){return undefined}var ce=N.text.slice(ae.pos,R);var le=G.exec(ce);if(!le){return undefined}var _e=le[1],Ee=le[2],Te=le[3];var we=E.getDirectoryPath(N.path);var Ie=Ee==="path"?getCompletionEntriesForDirectoryFragment(Te,we,getExtensionOptions(j,1),$,N.path):Ee==="types"?getCompletionEntriesFromTypings($,j,we,getFragmentDirectory(Te),getExtensionOptions(j)):E.Debug.fail();return addReplacementSpans(Te,ae.pos+_e.length,Ie)}function getCompletionEntriesFromTypings(N,R,j,$,q,G){if(G===void 0){G=[]}var ie=new E.Map;var ae=E.tryAndIgnoreErrors((function(){return E.getEffectiveTypeRoots(R,N)}))||E.emptyArray;for(var ce=0,le=ae;ce<le.length;ce++){var _e=le[ce];getCompletionEntriesFromDirectories(_e)}for(var Ee=0,Te=E.findPackageJsons(j,N);Ee<Te.length;Ee++){var we=Te[Ee];var Ie=E.combinePaths(E.getDirectoryPath(we),"node_modules/@types");getCompletionEntriesFromDirectories(Ie)}return G;function getCompletionEntriesFromDirectories(j){if(!E.tryDirectoryExists(N,j))return;for(var ae=0,ce=E.tryGetDirectories(N,j);ae<ce.length;ae++){var le=ce[ae];var _e=E.unmangleScopedPackageName(le);if(R.types&&!E.contains(R.types,_e))continue;if($===undefined){if(!ie.has(_e)){G.push(nameAndKind(_e,"external module name",undefined));ie.set(_e,true)}}else{var Ee=E.combinePaths(j,le);var Te=E.tryRemoveDirectoryPrefix($,_e,E.hostGetCanonicalFileName(N));if(Te!==undefined){getCompletionEntriesForDirectoryFragment(Te,Ee,q,N,undefined,G)}}}}}function enumerateNodeModulesVisibleToScript(N,R){if(!N.readFile||!N.fileExists)return E.emptyArray;var j=[];for(var $=0,q=E.findPackageJsons(R,N);$<q.length;$++){var G=q[$];var ae=E.readJson(G,N);for(var ce=0,le=ie;ce<le.length;ce++){var _e=le[ce];var Ee=ae[_e];if(!Ee)continue;for(var Te in Ee){if(Ee.hasOwnProperty(Te)&&!E.startsWith(Te,"@types/")){j.push(Te)}}}}return j}function getDirectoryFragmentTextSpan(N,R){var j=Math.max(N.lastIndexOf(E.directorySeparator),N.lastIndexOf(E.altDirectorySeparator));var $=j!==-1?j+1:0;var q=N.length-$;return q===0||E.isIdentifierText(N.substr($,q),99)?undefined:E.createTextSpan(R+$,q)}function isPathRelativeToScript(E){if(E&&E.length>=2&&E.charCodeAt(0)===46){var N=E.length>=3&&E.charCodeAt(1)===46?2:1;var R=E.charCodeAt(N);return R===47||R===92}return false}var G=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/;var ie=["dependencies","devDependencies","peerDependencies","optionalDependencies"];function containsSlash(N){return E.stringContains(N,E.directorySeparator)}function isRequireCallArgument(N){return E.isCallExpression(N.parent)&&E.firstOrUndefined(N.parent.arguments)===N&&E.isIdentifier(N.parent.expression)&&N.parent.expression.escapedText==="require"}})(R=N.StringCompletions||(N.StringCompletions={}))})(N=E.Completions||(E.Completions={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.moduleSpecifierResolutionLimit=100;N.moduleSpecifierResolutionCacheAttemptLimit=1e3;var R;(function(E){E["LocalDeclarationPriority"]="10";E["LocationPriority"]="11";E["OptionalMember"]="12";E["MemberDeclaredBySpreadAssignment"]="13";E["SuggestedClassMembers"]="14";E["GlobalsOrKeywords"]="15";E["AutoImportSuggestions"]="16";E["JavascriptIdentifiers"]="17";E["DeprecatedLocalDeclarationPriority"]="18";E["DeprecatedLocationPriority"]="19";E["DeprecatedOptionalMember"]="20";E["DeprecatedMemberDeclaredBySpreadAssignment"]="21";E["DeprecatedSuggestedClassMembers"]="22";E["DeprecatedGlobalsOrKeywords"]="23";E["DeprecatedAutoImportSuggestions"]="24"})(R=N.SortText||(N.SortText={}));var j;(function(E){E[E["LocalDeclarationPriority"]=10]="LocalDeclarationPriority";E[E["LocationPriority"]=11]="LocationPriority";E[E["OptionalMember"]=12]="OptionalMember";E[E["MemberDeclaredBySpreadAssignment"]=13]="MemberDeclaredBySpreadAssignment";E[E["SuggestedClassMembers"]=14]="SuggestedClassMembers";E[E["GlobalsOrKeywords"]=15]="GlobalsOrKeywords";E[E["AutoImportSuggestions"]=16]="AutoImportSuggestions";E[E["_JavaScriptIdentifiers"]=17]="_JavaScriptIdentifiers";E[E["_DeprecatedStart"]=18]="_DeprecatedStart";E[E["_First"]=10]="_First";E[E["DeprecatedOffset"]=8]="DeprecatedOffset"})(j||(j={}));var q;(function(E){E["ThisProperty"]="ThisProperty/"})(q=N.CompletionSource||(N.CompletionSource={}));var G;(function(E){E[E["ThisType"]=1]="ThisType";E[E["SymbolMember"]=2]="SymbolMember";E[E["Export"]=4]="Export";E[E["Promise"]=8]="Promise";E[E["Nullable"]=16]="Nullable";E[E["ResolvedExport"]=32]="ResolvedExport";E[E["SymbolMemberNoExport"]=2]="SymbolMemberNoExport";E[E["SymbolMemberExport"]=6]="SymbolMemberExport"})(G||(G={}));function originIsThisType(E){return!!(E.kind&1)}function originIsSymbolMember(E){return!!(E.kind&2)}function originIsExport(E){return!!(E&&E.kind&4)}function originIsResolvedExport(E){return!!(E&&E.kind===32)}function originIncludesSymbolName(E){return originIsExport(E)||originIsResolvedExport(E)}function originIsPackageJsonImport(E){return(originIsExport(E)||originIsResolvedExport(E))&&!!E.isFromPackageJson}function originIsPromise(E){return!!(E.kind&8)}function originIsNullableMember(E){return!!(E.kind&16)}var ie;(function(E){E[E["None"]=0]="None";E[E["All"]=1]="All";E[E["ClassElementKeywords"]=2]="ClassElementKeywords";E[E["InterfaceElementKeywords"]=3]="InterfaceElementKeywords";E[E["ConstructorParameterKeywords"]=4]="ConstructorParameterKeywords";E[E["FunctionLikeBodyKeywords"]=5]="FunctionLikeBodyKeywords";E[E["TypeAssertionKeywords"]=6]="TypeAssertionKeywords";E[E["TypeKeywords"]=7]="TypeKeywords";E[E["Last"]=7]="Last"})(ie||(ie={}));var ae;(function(E){E[E["Continue"]=0]="Continue";E[E["Success"]=1]="Success";E[E["Fail"]=2]="Fail"})(ae||(ae={}));function resolvingModuleSpecifiers(R,j,$,q,G,ie,ae){var ce,le,_e;var Ee=E.timestamp();var Te=false;var we=0;var Ie=0;var Ne=0;var Me=0;var Le=ae({tryResolve:tryResolve,resolutionLimitExceeded:function(){return Te}});var Be=Me?" ("+(Ne/Me*100).toFixed(1)+"% hit rate)":"";(ce=j.log)===null||ce===void 0?void 0:ce.call(j,R+": resolved "+Ie+" module specifiers, plus "+we+" ambient and "+Ne+" from cache"+Be);(le=j.log)===null||le===void 0?void 0:le.call(j,R+": response is "+(Te?"incomplete":"complete"));(_e=j.log)===null||_e===void 0?void 0:_e.call(j,R+": "+(E.timestamp()-Ee));return Le;function tryResolve(R,ae){if(ae){var ce=E.codefix.getModuleSpecifierForBestExportInfo(R,q,$,j,G);if(ce){we++}return ce}var le=ie||G.allowIncompleteCompletions&&Ie<N.moduleSpecifierResolutionLimit;var _e=!le&&G.allowIncompleteCompletions&&Me<N.moduleSpecifierResolutionCacheAttemptLimit;var Ee=le||_e?E.codefix.getModuleSpecifierForBestExportInfo(R,q,$,j,G,_e):undefined;if(!le&&!_e||_e&&!Ee){Te=true}Ie+=(Ee===null||Ee===void 0?void 0:Ee.computedWithoutCacheCount)||0;Ne+=R.length-Ie;if(_e){Me++}return Ee}}function getCompletionsAtPosition(R,j,$,q,G,ie,ae,ce,le){var _e;var Ee=getRelevantTokens(G,q).previousToken;if(ae&&!E.isInString(q,G,Ee)&&!isValidTrigger(q,ae,Ee,G)){return undefined}if(ae===" "){if(ie.includeCompletionsForImportStatements&&ie.includeCompletionsWithInsertText){return{isGlobalCompletion:true,isMemberCompletion:false,isNewIdentifierLocation:true,isIncomplete:true,entries:[]}}return undefined}var Te=j.getTypeChecker();var we=j.getCompilerOptions();var Ie=ie.allowIncompleteCompletions?(_e=R.getIncompleteCompletionsCache)===null||_e===void 0?void 0:_e.call(R):undefined;if(Ie&&ce===3&&Ee&&E.isIdentifier(Ee)){var Ne=continuePreviousIncompleteResponse(Ie,q,Ee,j,R,ie,le);if(Ne){return Ne}}else{Ie===null||Ie===void 0?void 0:Ie.clear()}var Me=N.StringCompletions.getStringLiteralCompletions(q,G,Ee,Te,we,R,$,ie);if(Me){return Me}if(Ee&&E.isBreakOrContinueStatement(Ee.parent)&&(Ee.kind===81||Ee.kind===86||Ee.kind===79)){return getLabelCompletionAtPosition(Ee.parent)}var Le=getCompletionData(j,$,q,isUncheckedFile(q,we),G,ie,undefined,R,le);if(!Le){return undefined}switch(Le.kind){case 0:var Be=completionInfoFromData(q,Te,we,$,Le,ie);if(Be===null||Be===void 0?void 0:Be.isIncomplete){Ie===null||Ie===void 0?void 0:Ie.set(Be)}return Be;case 1:return jsdocCompletionInfo(E.JsDoc.getJSDocTagNameCompletions());case 2:return jsdocCompletionInfo(E.JsDoc.getJSDocTagCompletions());case 3:return jsdocCompletionInfo(E.JsDoc.getJSDocParameterNameCompletions(Le.tag));case 4:return specificKeywordCompletionInfo(Le.keywords);default:return E.Debug.assertNever(Le)}}N.getCompletionsAtPosition=getCompletionsAtPosition;function continuePreviousIncompleteResponse(N,R,j,q,G,ie,ae){var ce;var le=N.get();if(!le)return undefined;var _e=j.text.toLowerCase();var Ee=E.getExportInfoMap(R,G,q,ae);var Te=q.getTypeChecker();var we=(ce=G.getPackageJsonAutoImportProvider)===null||ce===void 0?void 0:ce.call(G);var Ie=we===null||we===void 0?void 0:we.getTypeChecker();var Ne=resolvingModuleSpecifiers("continuePreviousIncompleteResponse",G,q,R,ie,false,(function(N){var j=E.mapDefined(le.entries,(function(j){if(!j.hasAction||!j.source||!j.data||j.data.moduleSpecifier){return j}if(!charactersFuzzyMatchInString(j.name,_e)){return undefined}var ie=E.Debug.checkDefined(getAutoImportSymbolFromCompletionEntryData(j.name,j.data,q,G)),ae=ie.symbol,ce=ie.origin;var le=Ee.get(R.path,j.name,ae,ce.moduleSymbol.name,ce.isFromPackageJson?Ie:Te);var we=le&&N.tryResolve(le,!E.isExternalModuleNameRelative(E.stripQuotes(ce.moduleSymbol.name)));if(!we)return j;var Ne=$($({},ce),{kind:32,moduleSpecifier:we.moduleSpecifier});j.data=originToCompletionEntryData(Ne);j.source=getSourceFromOrigin(Ne);j.sourceDisplay=[E.textPart(Ne.moduleSpecifier)];return j}));if(!N.resolutionLimitExceeded()){le.isIncomplete=undefined}return j}));le.entries=Ne;return le}function jsdocCompletionInfo(E){return{isGlobalCompletion:false,isMemberCompletion:false,isNewIdentifierLocation:false,entries:E}}function specificKeywordCompletionInfo(N){return{isGlobalCompletion:false,isMemberCompletion:false,isNewIdentifierLocation:false,entries:N.map((function(N){return{name:E.tokenToString(N),kind:"keyword",kindModifiers:"",sortText:R.GlobalsOrKeywords}}))}}function getOptionalReplacementSpan(N){return(N===null||N===void 0?void 0:N.kind)===79?E.createTextSpanFromNode(N):undefined}function completionInfoFromData(N,R,j,$,q,G){var ie=q.symbols,ae=q.completionKind,ce=q.isInSnippetScope,le=q.isNewIdentifierLocation,_e=q.location,Ee=q.propertyAccessToConvert,Te=q.keywordFilters,we=q.literals,Ie=q.symbolToOriginInfoMap,Ne=q.recommendedCompletion,Me=q.isJsxInitializer,Le=q.isTypeOnlyLocation,Be=q.isJsxIdentifierExpected,je=q.importCompletionNode,Ue=q.insideJsDocTagTypeExpression,ze=q.symbolToSortTextIdMap,We=q.hasUnresolvedAutoImports;if(E.getLanguageVariant(N.scriptKind)===1){var Je=getJsxClosingTagCompletion(_e,N);if(Je){return Je}}var Ve=[];if(isUncheckedFile(N,j)){var qe=getCompletionEntriesFromSymbols(ie,Ve,undefined,_e,N,R,j.target,$,ae,G,j,Le,Ee,Be,Me,je,Ne,Ie,ze);getJSCompletionEntries(N,_e.pos,qe,j.target,Ve)}else{if(!le&&(!ie||ie.length===0)&&Te===0){return undefined}getCompletionEntriesFromSymbols(ie,Ve,undefined,_e,N,R,j.target,$,ae,G,j,Le,Ee,Be,Me,je,Ne,Ie,ze)}if(Te!==0){var He=new E.Set(Ve.map((function(E){return E.name})));for(var Ge=0,Ke=getKeywordCompletions(Te,!Ue&&E.isSourceFileJS(N));Ge<Ke.length;Ge++){var Qe=Ke[Ge];if(!He.has(Qe.name)){Ve.push(Qe)}}}for(var Xe=0,Ye=we;Xe<Ye.length;Xe++){var Ze=Ye[Xe];Ve.push(createCompletionEntryForLiteral(N,G,Ze))}return{isGlobalCompletion:ce,isIncomplete:G.allowIncompleteCompletions&&We?true:undefined,isMemberCompletion:isMemberCompletionKind(ae),isNewIdentifierLocation:le,optionalReplacementSpan:getOptionalReplacementSpan(_e),entries:Ve}}function isUncheckedFile(N,R){return E.isSourceFileJS(N)&&!E.isCheckJsEnabledForFile(N,R)}function isMemberCompletionKind(E){switch(E){case 0:case 3:case 2:return true;default:return false}}function getJsxClosingTagCompletion(N,j){var $=E.findAncestor(N,(function(E){switch(E.kind){case 279:return true;case 43:case 31:case 79:case 204:return false;default:return"quit"}}));if($){var q=!!E.findChildOfKind($,31,j);var G=$.parent.openingElement.tagName;var ie=G.getText(j);var ae=ie+(q?"":">");var ce=E.createTextSpanFromNode($.tagName);var le={name:ae,kind:"class",kindModifiers:undefined,sortText:R.LocationPriority};return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:false,optionalReplacementSpan:ce,entries:[le]}}return}function getJSCompletionEntries(N,j,$,q,G){E.getNameTable(N).forEach((function(N,ie){if(N===j){return}var ae=E.unescapeLeadingUnderscores(ie);if(!$.has(ae)&&E.isIdentifierText(ae,q)){$.add(ae);G.push({name:ae,kind:"warning",kindModifiers:"",sortText:R.JavascriptIdentifiers,isFromUncheckedFile:true})}}))}function completionNameForLiteral(N,R,j){return typeof j==="object"?E.pseudoBigIntToString(j)+"n":E.isString(j)?E.quote(N,R,j):JSON.stringify(j)}function createCompletionEntryForLiteral(E,N,j){return{name:completionNameForLiteral(E,N,j),kind:"string",kindModifiers:"",sortText:R.LocationPriority}}function createCompletionEntry(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne){var Me;var Le;var Be=E.getReplacementSpanForContextToken(j);var je;var Ue;var ze;var We;var Je=ce&&originIsNullableMember(ce);var Ve=ce&&originIsSymbolMember(ce)||ae;if(ce&&originIsThisType(ce)){Le=ae?"this"+(Je?"?.":"")+"["+quotePropertyName(q,Ne,ie)+"]":"this"+(Je?"?.":".")+ie}else if((Ve||Je)&&_e){Le=Ve?ae?"["+quotePropertyName(q,Ne,ie)+"]":"["+ie+"]":ie;if(Je||_e.questionDotToken){Le="?."+Le}var qe=E.findChildOfKind(_e,24,q)||E.findChildOfKind(_e,28,q);if(!qe){return undefined}var He=E.startsWith(ie,_e.name.text)?_e.name.end:qe.end;Be=E.createTextSpanFromBounds(qe.getStart(q),He)}if(Ee){if(Le===undefined)Le=ie;Le="{"+Le+"}";if(typeof Ee!=="boolean"){Be=E.createTextSpanFromNode(Ee,q)}}if(ce&&originIsPromise(ce)&&_e){if(Le===undefined)Le=ie;var Ge=E.findPrecedingToken(_e.pos,q);var Ke="";if(Ge&&E.positionIsASICandidate(Ge.end,Ge.parent,q)){Ke=";"}Ke+="(await "+_e.expression.getText()+")";Le=ae?""+Ke+Le:""+Ke+(Je?"?.":".")+Le;Be=E.createTextSpanFromBounds(_e.getStart(q),_e.end)}if(originIsResolvedExport(ce)){ze=[E.textPart(ce.moduleSpecifier)];if(Te){Me=getInsertTextAndReplacementSpanForImportCompletion(ie,Te,ce,we,Ie,Ne),Le=Me.insertText,Be=Me.replacementSpan;Ue=Ne.includeCompletionsWithSnippetText?true:undefined}}if(Le!==undefined&&!Ne.includeCompletionsWithInsertText){return undefined}if(originIsExport(ce)||originIsResolvedExport(ce)){je=originToCompletionEntryData(ce);We=!Te}return{name:ie,kind:E.SymbolDisplay.getSymbolKind(G,N,$),kindModifiers:E.SymbolDisplay.getSymbolModifiers(G,N),sortText:R,source:getSourceFromOrigin(ce),hasAction:We?true:undefined,isRecommended:isRecommendedCompletionMatch(N,le,G)||undefined,insertText:Le,replacementSpan:Be,sourceDisplay:ze,isSnippet:Ue,isPackageJsonImport:originIsPackageJsonImport(ce)||undefined,isImportStatementCompletion:!!Te||undefined,data:je}}function originToCompletionEntryData(N){return{exportName:N.exportName,fileName:N.fileName,ambientModuleName:N.fileName?undefined:E.stripQuotes(N.moduleSymbol.name),isPackageJsonImport:N.isFromPackageJson?true:undefined,moduleSpecifier:originIsResolvedExport(N)?N.moduleSpecifier:undefined}}function getInsertTextAndReplacementSpanForImportCompletion(N,R,j,$,q,G){var ie=R.getSourceFile();var ae=E.createTextSpanFromNode(R,ie);var ce=E.quote(ie,G,j.moduleSpecifier);var le=j.isDefaultExport?1:j.exportName==="export="?2:0;var _e=G.includeCompletionsWithSnippetText?"$1":"";var Ee=E.codefix.getImportKind(ie,le,q,true);var Te=$?";":"";switch(Ee){case 3:return{replacementSpan:ae,insertText:"import "+N+_e+" = require("+ce+")"+Te};case 1:return{replacementSpan:ae,insertText:"import "+N+_e+" from "+ce+Te};case 2:return{replacementSpan:ae,insertText:"import * as "+N+" from "+ce+Te};case 0:return{replacementSpan:ae,insertText:"import { "+N+_e+" } from "+ce+Te}}}function quotePropertyName(N,R,j){if(/^\d+$/.test(j)){return j}return E.quote(N,R,j)}function isRecommendedCompletionMatch(E,N,R){return E===N||!!(E.flags&1048576)&&R.getExportSymbolOfSymbol(E)===N}function getSourceFromOrigin(N){if(originIsExport(N)){return E.stripQuotes(N.moduleSymbol.name)}if(originIsResolvedExport(N)){return N.moduleSpecifier}if((N===null||N===void 0?void 0:N.kind)===1){return q.ThisProperty}}function getCompletionEntriesFromSymbols(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me,Le,Be){var je;var Ue=E.timestamp();var ze=getVariableDeclaration($);var We=E.probablyUsesSemicolons(q);var Je=new E.Map;for(var Ve=0;Ve<N.length;Ve++){var qe=N[Ve];var He=Le===null||Le===void 0?void 0:Le[Ve];var Ge=getCompletionEntryDisplayNameForSymbol(qe,ie,He,ce,!!we);if(!Ge||Je.get(Ge.name)||ce===1&&Be&&!shouldIncludeSymbol(qe,Be)){continue}var Ke=Ge.name,Qe=Ge.needsConvertPropertyAccess;var Xe=(je=Be===null||Be===void 0?void 0:Be[E.getSymbolId(qe)])!==null&&je!==void 0?je:11;var Ye=(isDeprecated(qe,G)?8+Xe:Xe).toString();var Ze=createCompletionEntry(qe,Ye,j,$,q,G,Ke,Qe,He,Me,Te,Ie,Ne,We,_e,le);if(!Ze){continue}var et=!He&&!(qe.parent===undefined&&!E.some(qe.declarations,(function(E){return E.getSourceFile()===$.getSourceFile()})));Je.set(Ke,et);R.push(Ze)}ae("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(E.timestamp()-Ue));return{has:function(E){return Je.has(E)},add:function(E){return Je.set(E,true)}};function shouldIncludeSymbol(N,R){if(!E.isSourceFile($)){if(E.isExportAssignment($.parent)){return true}if(ze&&N.valueDeclaration===ze){return false}var j=E.skipAlias(N,G);if(!!q.externalModuleIndicator&&!_e.allowUmdGlobalAccess&&R[E.getSymbolId(N)]===15&&(R[E.getSymbolId(j)]===16||R[E.getSymbolId(j)]===11)){return false}N=j;if(E.isInRightSideOfInternalImportEqualsDeclaration($)){return!!(N.flags&1920)}if(Ee){return symbolCanBeReferencedAtTypeLocation(N,G)}}return!!(E.getCombinedLocalAndExportSymbolFlags(N)&111551)}}N.getCompletionEntriesFromSymbols=getCompletionEntriesFromSymbols;function getLabelCompletionAtPosition(E){var N=getLabelStatementCompletions(E);if(N.length){return{isGlobalCompletion:false,isMemberCompletion:false,isNewIdentifierLocation:false,entries:N}}}function getLabelStatementCompletions(N){var j=[];var $=new E.Map;var q=N;while(q){if(E.isFunctionLike(q)){break}if(E.isLabeledStatement(q)){var G=q.label.text;if(!$.has(G)){$.set(G,true);j.push({name:G,kindModifiers:"",kind:"label",sortText:R.LocationPriority})}}q=q.parent}return j}function getSymbolCompletionFromEntryId(N,R,j,$,q,G,ie){if(q.data){var ae=getAutoImportSymbolFromCompletionEntryData(q.name,q.data,N,G);if(ae){return{type:"symbol",symbol:ae.symbol,location:E.getTouchingPropertyName(j,$),previousToken:E.findPrecedingToken($,j,undefined),isJsxInitializer:false,isTypeOnlyLocation:false,origin:ae.origin}}}var ce=N.getCompilerOptions();var le=getCompletionData(N,R,j,isUncheckedFile(j,ce),$,{includeCompletionsForModuleExports:true,includeCompletionsWithInsertText:true},q,G);if(!le){return{type:"none"}}if(le.kind!==0){return{type:"request",request:le}}var _e=le.symbols,Ee=le.literals,Te=le.location,we=le.completionKind,Ie=le.symbolToOriginInfoMap,Ne=le.previousToken,Me=le.isJsxInitializer,Le=le.isTypeOnlyLocation;var Be=E.find(Ee,(function(E){return completionNameForLiteral(j,ie,E)===q.name}));if(Be!==undefined)return{type:"literal",literal:Be};return E.firstDefined(_e,(function(E,N){var R=Ie[N];var j=getCompletionEntryDisplayNameForSymbol(E,ce.target,R,we,le.isJsxIdentifierExpected);return j&&j.name===q.name&&getSourceFromOrigin(R)===q.source?{type:"symbol",symbol:E,location:Te,origin:R,previousToken:Ne,isJsxInitializer:Me,isTypeOnlyLocation:Le}:undefined}))||{type:"none"}}function getCompletionEntryDetails(R,j,$,q,G,ie,ae,ce,le){var _e=R.getTypeChecker();var Te=R.getCompilerOptions();var we=G.name;var Ie=E.findPrecedingToken(q,$);if(E.isInString($,q,Ie)){return N.StringCompletions.getStringLiteralCompletionDetails(we,$,q,Ie,_e,Te,ie,le,ce)}var Ne=getSymbolCompletionFromEntryId(R,j,$,q,G,ie,ce);switch(Ne.type){case"request":{var Me=Ne.request;switch(Me.kind){case 1:return E.JsDoc.getJSDocTagNameCompletionDetails(we);case 2:return E.JsDoc.getJSDocTagCompletionDetails(we);case 3:return E.JsDoc.getJSDocParameterNameCompletionDetails(we);case 4:return Me.keywords.indexOf(E.stringToToken(we))>-1?createSimpleDetails(we,"keyword",E.SymbolDisplayPartKind.keyword):undefined;default:return E.Debug.assertNever(Me)}}case"symbol":{var Le=Ne.symbol,Be=Ne.location,je=Ne.origin,Ue=Ne.previousToken;var ze=getCompletionEntryCodeActionsAndSourceDisplay(je,Le,R,ie,Te,$,q,Ue,ae,ce,G.data),We=ze.codeActions,Je=ze.sourceDisplay;return createCompletionDetailsForSymbol(Le,_e,$,Be,le,We,Je)}case"literal":{var Ve=Ne.literal;return createSimpleDetails(completionNameForLiteral($,ce,Ve),"string",typeof Ve==="string"?E.SymbolDisplayPartKind.stringLiteral:E.SymbolDisplayPartKind.numericLiteral)}case"none":return Ee().some((function(E){return E.name===we}))?createSimpleDetails(we,"keyword",E.SymbolDisplayPartKind.keyword):undefined;default:E.Debug.assertNever(Ne)}}N.getCompletionEntryDetails=getCompletionEntryDetails;function createSimpleDetails(N,R,j){return createCompletionDetails(N,"",R,[E.displayPart(N,j)])}function createCompletionDetailsForSymbol(N,R,j,$,q,G,ie){var ae=R.runWithCancellationToken(q,(function(R){return E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(R,N,j,$,$,7)})),ce=ae.displayParts,le=ae.documentation,_e=ae.symbolKind,Ee=ae.tags;return createCompletionDetails(N.name,E.SymbolDisplay.getSymbolModifiers(R,N),_e,ce,le,Ee,G,ie)}N.createCompletionDetailsForSymbol=createCompletionDetailsForSymbol;function createCompletionDetails(E,N,R,j,$,q,G,ie){return{name:E,kindModifiers:N,kind:R,displayParts:j,documentation:$,tags:q,codeActions:G,source:ie,sourceDisplay:ie}}N.createCompletionDetails=createCompletionDetails;function getCompletionEntryCodeActionsAndSourceDisplay(N,R,j,$,q,G,ie,ae,ce,le,_e){if(_e===null||_e===void 0?void 0:_e.moduleSpecifier){var Ee=getRelevantTokens(ie,G),Te=Ee.contextToken,we=Ee.previousToken;if(we&&getImportCompletionNode(Te||we)){return{codeActions:undefined,sourceDisplay:[E.textPart(_e.moduleSpecifier)]}}}if(!N||!(originIsExport(N)||originIsResolvedExport(N))){return{codeActions:undefined,sourceDisplay:undefined}}var Ie=N.isFromPackageJson?$.getPackageJsonAutoImportProvider().getTypeChecker():j.getTypeChecker();var Ne=N.moduleSymbol;var Me=Ie.getMergedSymbol(E.skipAlias(R.exportSymbol||R,Ie));var Le=E.codefix.getImportCompletionAction(Me,Ne,G,E.getNameForExportedSymbol(R,q.target),$,j,ce,ae&&E.isIdentifier(ae)?ae.getStart(G):ie,le),Be=Le.moduleSpecifier,je=Le.codeAction;E.Debug.assert(!(_e===null||_e===void 0?void 0:_e.moduleSpecifier)||Be===_e.moduleSpecifier);return{sourceDisplay:[E.textPart(Be)],codeActions:[je]}}function getCompletionEntrySymbol(E,N,R,j,$,q,G){var ie=getSymbolCompletionFromEntryId(E,N,R,j,$,q,G);return ie.type==="symbol"?ie.symbol:undefined}N.getCompletionEntrySymbol=getCompletionEntrySymbol;var ce;(function(E){E[E["Data"]=0]="Data";E[E["JsDocTagName"]=1]="JsDocTagName";E[E["JsDocTag"]=2]="JsDocTag";E[E["JsDocParameterName"]=3]="JsDocParameterName";E[E["Keywords"]=4]="Keywords"})(ce||(ce={}));var le;(function(E){E[E["ObjectPropertyDeclaration"]=0]="ObjectPropertyDeclaration";E[E["Global"]=1]="Global";E[E["PropertyAccess"]=2]="PropertyAccess";E[E["MemberLike"]=3]="MemberLike";E[E["String"]=4]="String";E[E["None"]=5]="None"})(le=N.CompletionKind||(N.CompletionKind={}));function getRecommendedCompletion(N,R,j){return E.firstDefined(R&&(R.isUnion()?R.types:[R]),(function(R){var $=R&&R.symbol;return $&&($.flags&(8|384|32)&&!E.isAbstractConstructorSymbol($))?getFirstSymbolInChain($,N,j):undefined}))}function getContextualType(N,R,j,$){var q=N.parent;switch(N.kind){case 79:return E.getContextualTypeFromParent(N,$);case 63:switch(q.kind){case 252:return $.getContextualType(q.initializer);case 219:return $.getTypeAtLocation(q.left);case 283:return $.getContextualTypeForJsxAttribute(q);default:return undefined}case 103:return $.getContextualType(q);case 82:return E.getSwitchedType(E.cast(q,E.isCaseClause),$);case 18:return E.isJsxExpression(q)&&q.parent.kind!==276?$.getContextualTypeForJsxAttribute(q.parent):undefined;default:var G=E.SignatureHelp.getArgumentInfoForCompletions(N,R,j);return G?$.getContextualTypeForArgumentAtIndex(G.invocation,G.argumentIndex+(N.kind===27?1:0)):E.isEqualityOperatorKind(N.kind)&&E.isBinaryExpression(q)&&E.isEqualityOperatorKind(q.operatorToken.kind)?$.getTypeAtLocation(q.left):$.getContextualType(N)}}function getFirstSymbolInChain(N,R,j){var $=j.getAccessibleSymbolChain(N,R,67108863,false);if($)return E.first($);return N.parent&&(isModuleSymbol(N.parent)?N:getFirstSymbolInChain(N.parent,R,j))}function isModuleSymbol(E){var N;return!!((N=E.declarations)===null||N===void 0?void 0:N.some((function(E){return E.kind===300})))}function getCompletionData(N,R,j,$,q,G,ie,ae,ce){var le=N.getTypeChecker();var _e=E.timestamp();var Ee=E.getTokenAtPosition(j,q);R("getCompletionData: Get current token: "+(E.timestamp()-_e));_e=E.timestamp();var Te=E.isInComment(j,q,Ee);R("getCompletionData: Is inside comment: "+(E.timestamp()-_e));var we=false;var Ie=false;if(Te){if(E.hasDocComment(j,q)){if(j.text.charCodeAt(q-1)===64){return{kind:1}}else{var Ne=E.getLineStartPositionForPosition(q,j);if(!/[^\*|\s(/)]/.test(j.text.substring(Ne,q))){return{kind:2}}}}var Me=getJsDocTagAtPosition(Ee,q);if(Me){if(Me.tagName.pos<=q&&q<=Me.tagName.end){return{kind:1}}if(isTagWithTypeExpression(Me)&&Me.typeExpression&&Me.typeExpression.kind===304){Ee=E.getTokenAtPosition(j,q);if(!Ee||!E.isDeclarationName(Ee)&&(Ee.parent.kind!==342||Ee.parent.name!==Ee)){we=isCurrentlyEditingNode(Me.typeExpression)}}if(!we&&E.isJSDocParameterTag(Me)&&(E.nodeIsMissing(Me.name)||Me.name.pos<=q&&q<=Me.name.end)){return{kind:3,tag:Me}}}if(!we){R("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return undefined}}_e=E.timestamp();var Le=getRelevantTokens(q,j);var Be=Le.previousToken;var je=Le.contextToken;R("getCompletionData: Get previous token: "+(E.timestamp()-_e));var Ue=Ee;var ze;var We=false;var Je=false;var Ve=false;var qe=false;var He=false;var Ge=false;var Ke;var Qe=E.getTouchingPropertyName(j,q);if(je){var Xe=getImportCompletionNode(je);if(Xe===154){return{kind:4,keywords:[154]}}if(Xe&&G.includeCompletionsForImportStatements&&G.includeCompletionsWithInsertText){Ke=Xe}if(!Ke&&isCompletionListBlocker(je)){R("Returning an empty list because completion was requested in an invalid position.");return undefined}var Ye=je.parent;if(je.kind===24||je.kind===28){We=je.kind===24;Je=je.kind===28;switch(Ye.kind){case 204:ze=Ye;Ue=ze.expression;if((E.isCallExpression(Ue)||E.isFunctionLike(Ue))&&Ue.end===je.pos&&Ue.getChildCount(j)&&E.last(Ue.getChildren(j)).kind!==21){return undefined}break;case 159:Ue=Ye.left;break;case 259:Ue=Ye.name;break;case 198:Ue=Ye;break;case 229:Ue=Ye.getFirstToken(j);E.Debug.assert(Ue.kind===100||Ue.kind===103);break;default:return undefined}}else if(!Ke&&j.languageVariant===1){if(Ye&&Ye.kind===204){je=Ye;Ye=Ye.parent}if(Ee.parent===Qe){switch(Ee.kind){case 31:if(Ee.parent.kind===276||Ee.parent.kind===278){Qe=Ee}break;case 43:if(Ee.parent.kind===277){Qe=Ee}break}}switch(Ye.kind){case 279:if(je.kind===43){qe=true;Qe=je}break;case 219:if(!binaryExpressionMayBeOpenTag(Ye)){break}case 277:case 276:case 278:Ge=true;if(je.kind===29){Ve=true;Qe=je}break;case 286:case 285:if(Be.kind===19&&Ee.kind===31){Ge=true}break;case 283:if(Ye.initializer===Be&&Be.end<q){Ge=true;break}switch(Be.kind){case 63:He=true;break;case 79:Ge=true;if(Ye!==Be.parent&&!Ye.initializer&&E.findChildOfKind(Ye,63,j)){He=Be}}break}}}var Ze=E.timestamp();var et=5;var tt=false;var rt=false;var nt=false;var it=0;var ot=[];var st=[];var ct=[];var ut=new E.Map;var dt=isTypeOnlyCompletion();var pt=E.memoizeOne((function(R){return E.createModuleSpecifierResolutionHost(R?ae.getPackageJsonAutoImportProvider():N,ae)}));if(We||Je){getTypeScriptMemberSymbols()}else if(Ve){ot=le.getJsxIntrinsicTagNamesAt(Qe);E.Debug.assertEachIsDefined(ot,"getJsxIntrinsicTagNames() should all be defined");tryGetGlobalSymbols();et=1;it=0}else if(qe){var ft=je.parent.parent.openingElement.tagName;var mt=le.getSymbolAtLocation(ft);if(mt){ot=[mt]}et=1;it=0}else{if(!tryGetGlobalSymbols()){return undefined}}R("getCompletionData: Semantic work: "+(E.timestamp()-Ze));var ht=Be&&getContextualType(Be,q,j,le);var _t=E.mapDefined(ht&&(ht.isUnion()?ht.types:[ht]),(function(E){return E.isLiteral()?E.value:undefined}));var yt=Be&&ht&&getRecommendedCompletion(Be,ht,le);return{kind:0,symbols:ot,completionKind:et,isInSnippetScope:Ie,propertyAccessToConvert:ze,isNewIdentifierLocation:tt,location:Qe,keywordFilters:it,literals:_t,symbolToOriginInfoMap:st,recommendedCompletion:yt,previousToken:Be,isJsxInitializer:He,insideJsDocTagTypeExpression:we,symbolToSortTextIdMap:ct,isTypeOnlyLocation:dt,isJsxIdentifierExpected:Ge,importCompletionNode:Ke,hasUnresolvedAutoImports:nt};function isTagWithTypeExpression(E){switch(E.kind){case 335:case 342:case 336:case 338:case 340:return true;default:return false}}function getTypeScriptMemberSymbols(){et=2;var N=E.isLiteralImportTypeNode(Ue);var R=we||N&&!Ue.isTypeOf||E.isPartOfTypeNode(Ue.parent)||E.isPossiblyTypeArgumentPosition(je,j,le);var $=E.isInRightSideOfInternalImportEqualsDeclaration(Ue);if(E.isEntityName(Ue)||N||E.isPropertyAccessExpression(Ue)){var q=E.isModuleDeclaration(Ue.parent);if(q)tt=true;var ie=le.getSymbolAtLocation(Ue);if(ie){ie=E.skipAlias(ie,le);if(ie.flags&(1536|384)){var ae=le.getExportsOfModule(ie);E.Debug.assertEachIsDefined(ae,"getExportsOfModule() should all be defined");var isValidValueAccess_1=function(E){return le.isValidPropertyAccess(N?Ue:Ue.parent,E.name)};var isValidTypeAccess_1=function(E){return symbolCanBeReferencedAtTypeLocation(E,le)};var ce=q?function(E){var N;return!!(E.flags&1920)&&!((N=E.declarations)===null||N===void 0?void 0:N.every((function(E){return E.parent===Ue.parent})))}:$?function(E){return isValidTypeAccess_1(E)||isValidValueAccess_1(E)}:R?isValidTypeAccess_1:isValidValueAccess_1;for(var _e=0,Ee=ae;_e<Ee.length;_e++){var Te=Ee[_e];if(ce(Te)){ot.push(Te)}}if(!R&&ie.declarations&&ie.declarations.some((function(E){return E.kind!==300&&E.kind!==259&&E.kind!==258}))){var Ie=le.getTypeOfSymbolAtLocation(ie,Ue).getNonOptionalType();var Ne=false;if(Ie.isNullableType()){var Me=We&&!Je&&G.includeAutomaticOptionalChainCompletions!==false;if(Me||Je){Ie=Ie.getNonNullableType();if(Me){Ne=true}}}addTypeProperties(Ie,!!(Ue.flags&32768),Ne)}return}}}if(!R){var Le=E.getThisContainer(Ue,false);if(!E.isSourceFile(Le)&&Le.parent)le.getTypeAtLocation(Le);var Ie=le.getTypeAtLocation(Ue).getNonOptionalType();var Ne=false;if(Ie.isNullableType()){var Me=We&&!Je&&G.includeAutomaticOptionalChainCompletions!==false;if(Me||Je){Ie=Ie.getNonNullableType();if(Me){Ne=true}}}addTypeProperties(Ie,!!(Ue.flags&32768),Ne)}}function addTypeProperties(N,R,j){tt=!!N.getStringIndexType();if(Je&&E.some(N.getCallSignatures())){tt=true}var q=Ue.kind===198?Ue:Ue.parent;if($){ot.push.apply(ot,E.filter(getPropertiesForCompletion(N,le),(function(E){return le.isValidPropertyAccessForCompletions(q,N,E)})))}else{for(var ie=0,ae=N.getApparentProperties();ie<ae.length;ie++){var ce=ae[ie];if(le.isValidPropertyAccessForCompletions(q,N,ce)){addPropertySymbol(ce,false,j)}}}if(R&&G.includeCompletionsWithInsertText){var _e=le.getPromisedTypeOfPromise(N);if(_e){for(var Ee=0,Te=_e.getApparentProperties();Ee<Te.length;Ee++){var ce=Te[Ee];if(le.isValidPropertyAccessForCompletions(q,_e,ce)){addPropertySymbol(ce,true,j)}}}}}function addPropertySymbol(N,R,j){var $=E.firstDefined(N.declarations,(function(N){return E.tryCast(E.getNameOfDeclaration(N),E.isComputedPropertyName)}));if($){var q=getLeftMostName($.expression);var ie=q&&le.getSymbolAtLocation(q);var ae=ie&&getFirstSymbolInChain(ie,je,le);if(ae&&E.addToSeen(ut,E.getSymbolId(ae))){var ce=ot.length;ot.push(ae);var _e=ae.parent;if(!_e||!E.isExternalModuleSymbol(_e)){st[ce]={kind:getNullableSymbolOriginInfoKind(2)}}else{var Ee={kind:getNullableSymbolOriginInfoKind(6),moduleSymbol:_e,isDefaultExport:false,symbolName:ae.name,exportName:ae.name,fileName:E.isExternalModuleNameRelative(E.stripQuotes(_e.name))?E.cast(_e.valueDeclaration,E.isSourceFile).fileName:undefined};st[ce]=Ee}}else if(G.includeCompletionsWithInsertText){addSymbolOriginInfo(N);addSymbolSortInfo(N);ot.push(N)}}else{addSymbolOriginInfo(N);addSymbolSortInfo(N);ot.push(N)}function addSymbolSortInfo(N){if(isStaticProperty(N)){ct[E.getSymbolId(N)]=10}}function addSymbolOriginInfo(N){if(G.includeCompletionsWithInsertText){if(R&&E.addToSeen(ut,E.getSymbolId(N))){st[ot.length]={kind:getNullableSymbolOriginInfoKind(8)}}else if(j){st[ot.length]={kind:16}}}}function getNullableSymbolOriginInfoKind(E){return j?E|16:E}}function getLeftMostName(N){return E.isIdentifier(N)?N:E.isPropertyAccessExpression(N)?getLeftMostName(N.expression):undefined}function tryGetGlobalSymbols(){var E=tryGetObjectTypeLiteralInTypeArgumentCompletionSymbols()||tryGetObjectLikeCompletionSymbols()||tryGetImportCompletionSymbols()||tryGetImportOrExportClauseCompletionSymbols()||tryGetLocalNamedExportCompletionSymbols()||tryGetConstructorCompletion()||tryGetClassLikeCompletionSymbols()||tryGetJsxCompletionSymbols()||(getGlobalCompletions(),1);return E===1}function tryGetConstructorCompletion(){if(!tryGetConstructorLikeCompletionContainer(je))return 0;et=5;tt=true;it=4;return 1}function tryGetJsxCompletionSymbols(){var N=tryGetContainingJsxElement(je);var R=N&&le.getContextualType(N.attributes);if(!R)return 0;var j=N&&le.getContextualType(N.attributes,4);ot=E.concatenate(ot,filterJsxAttributes(getPropertiesForObjectExpression(R,j,N.attributes,le),N.attributes.properties));setSortTextToOptionalMember();et=3;tt=false;return 1}function tryGetImportCompletionSymbols(){if(!Ke)return 0;tt=true;collectAutoImports();return 1}function getGlobalCompletions(){it=tryGetFunctionLikeBodyCompletionContainer(je)?5:1;et=1;tt=isNewIdentifierDefinitionLocation();if(Be!==je){E.Debug.assert(!!Be,"Expected 'contextToken' to be defined when different from 'previousToken'.")}var N=Be!==je?Be.getStart():q;var R=getScopeNode(je,N,j)||j;Ie=isSnippetScope(R);var $=(dt?0:111551)|788968|1920|2097152;ot=E.concatenate(ot,le.getSymbolsInScope(R,$));E.Debug.assertEachIsDefined(ot,"getSymbolsInScope() should all be defined");for(var ie=0,ae=ot;ie<ae.length;ie++){var ce=ae[ie];if(!le.isArgumentsSymbol(ce)&&!E.some(ce.declarations,(function(E){return E.getSourceFile()===j}))){ct[E.getSymbolId(ce)]=15}}if(G.includeCompletionsWithInsertText&&R.kind!==300){var _e=le.tryGetThisTypeAt(R,false);if(_e&&!isProbablyGlobalType(_e,j,le)){for(var Ee=0,Te=getPropertiesForCompletion(_e,le);Ee<Te.length;Ee++){var ce=Te[Ee];st[ot.length]={kind:1};ot.push(ce);ct[E.getSymbolId(ce)]=14}}}collectAutoImports();if(dt){it=je&&E.isAssertionExpression(je.parent)?6:7}}function shouldOfferImportCompletions(){if(Ke)return true;if(rt)return false;if(!G.includeCompletionsForModuleExports)return false;if(j.externalModuleIndicator||j.commonJsModuleIndicator)return true;if(E.compilerOptionsIndicateEs6Modules(N.getCompilerOptions()))return true;return E.programContainsModules(N)}function isSnippetScope(N){switch(N.kind){case 300:case 221:case 286:case 233:return true;default:return E.isStatement(N)}}function isTypeOnlyCompletion(){return we||!isContextTokenValueLocation(je)&&(E.isPossiblyTypeArgumentPosition(je,j,le)||E.isPartOfTypeNode(Qe)||isContextTokenTypeLocation(je))}function isContextTokenValueLocation(N){return N&&(N.kind===112&&(N.parent.kind===179||E.isTypeOfExpression(N.parent))||N.kind===128&&N.parent.kind===175)}function isContextTokenTypeLocation(N){if(N){var R=N.parent.kind;switch(N.kind){case 58:return R===165||R===164||R===162||R===252||E.isFunctionLikeKind(R);case 63:return R===257;case 127:return R===227;case 29:return R===176||R===209;case 94:return R===161}}return false}function collectAutoImports(){var R,$;if(!shouldOfferImportCompletions())return;E.Debug.assert(!(ie===null||ie===void 0?void 0:ie.data),"Should not run 'collectAutoImports' when faster path is available via `data`");if(ie&&!ie.source){return}var q=(R=ae.getModuleSpecifierCache)===null||R===void 0?void 0:R.call(ae);var le=Be&&E.isIdentifier(Be)?Be.text.toLowerCase():"";var _e=E.getExportInfoMap(j,ae,N,ce);var Ee=($=ae.getPackageJsonAutoImportProvider)===null||$===void 0?void 0:$.call(ae);var Te=ie?undefined:E.createPackageJsonImportFilter(j,G,ae);resolvingModuleSpecifiers("collectAutoImports",ae,N,j,G,!!Ke,(function(N){_e.forEach(j.path,(function(R,j,$){if(!E.isIdentifierText(j,E.getEmitScriptTarget(ae.getCompilationSettings())))return;if(!ie&&E.isStringANonContextualKeyword(j))return;if(!dt&&!Ke&&!(R[0].targetFlags&111551))return;if(dt&&!(R[0].targetFlags&(1536|788968)))return;var q=ie&&E.some(R,(function(N){return ie.source===E.stripQuotes(N.moduleSymbol.name)}));if(q||!ie&&charactersFuzzyMatchInString(j,le)){var G=E.find(R,isImportableExportInfo);if(!G){return}var ce=N.tryResolve(R,$)||{},_e=ce.exportInfo,Ee=_e===void 0?G:_e,Te=ce.moduleSpecifier;var we=Ee.exportKind===1;var Ie=we&&E.getLocalSymbolForExportDefault(Ee.symbol)||Ee.symbol;pushAutoImportSymbol(Ie,{kind:Te?32:4,moduleSpecifier:Te,symbolName:j,exportName:Ee.exportKind===2?"export=":Ee.symbol.name,fileName:Ee.moduleFileName,isDefaultExport:we,moduleSymbol:Ee.moduleSymbol,isFromPackageJson:Ee.isFromPackageJson})}}));nt=N.resolutionLimitExceeded()}));function isImportableExportInfo(R){var $=E.tryCast(R.moduleSymbol.valueDeclaration,E.isSourceFile);if(!$){var ie=E.stripQuotes(R.moduleSymbol.name);if(E.JsTyping.nodeCoreModules.has(ie)&&E.startsWith(ie,"node:")!==E.shouldUseUriStyleNodeCoreModules(j,N)){return false}return Te?Te.allowsImportingAmbientModule(R.moduleSymbol,pt(R.isFromPackageJson)):true}return E.isImportableFile(R.isFromPackageJson?Ee:N,j,$,G,Te,pt(R.isFromPackageJson),q)}}function pushAutoImportSymbol(N,R){var j=E.getSymbolId(N);if(ct[j]===15){return}st[ot.length]=R;ct[j]=Ke?11:16;ot.push(N)}function getScopeNode(N,R,j){var $=N;while($&&!E.positionBelongsToNode($,R,j)){$=$.parent}return $}function isCompletionListBlocker(N){var j=E.timestamp();var $=isInStringOrRegularExpressionOrTemplateLiteral(N)||isSolelyIdentifierDefinitionLocation(N)||isDotOfNumericLiteral(N)||isInJsxText(N)||E.isBigIntLiteral(N);R("getCompletionsAtPosition: isCompletionListBlocker: "+(E.timestamp()-j));return $}function isInJsxText(E){if(E.kind===11){return true}if(E.kind===31&&E.parent){if(E.parent.kind===278){return Qe.parent.kind!==278}if(E.parent.kind===279||E.parent.kind===277){return!!E.parent.parent&&E.parent.parent.kind===276}}return false}function isNewIdentifierDefinitionLocation(){if(je){var E=je.parent.kind;switch(keywordForNode(je)){case 27:return E===206||E===169||E===207||E===202||E===219||E===177||E===203;case 20:return E===206||E===169||E===207||E===210||E===189;case 22:return E===202||E===174||E===160;case 140:case 141:return true;case 24:return E===259;case 18:return E===255||E===203;case 63:return E===252||E===219;case 15:return E===221;case 16:return E===231;case 123:case 121:case 122:return E===165}}return false}function isInStringOrRegularExpressionOrTemplateLiteral(N){return(E.isRegularExpressionLiteral(N)||E.isStringTextContainingNode(N))&&(E.rangeContainsPositionExclusive(E.createTextRangeFromSpan(E.createTextSpanFromNode(N)),q)||q===N.end&&(!!N.isUnterminated||E.isRegularExpressionLiteral(N)))}function tryGetObjectTypeLiteralInTypeArgumentCompletionSymbols(){var N=tryGetTypeLiteralNode(je);if(!N)return 0;var R=E.isIntersectionTypeNode(N.parent)?N.parent:undefined;var j=R||N;var $=getConstraintOfTypeArgumentProperty(j,le);if(!$)return 0;var q=le.getTypeFromTypeNode(j);var G=getPropertiesForCompletion($,le);var ie=getPropertiesForCompletion(q,le);var ae=new E.Set;ie.forEach((function(E){return ae.add(E.escapedName)}));ot=E.concatenate(ot,E.filter(G,(function(E){return!ae.has(E.escapedName)})));et=0;tt=true;return 1}function tryGetObjectLikeCompletionSymbols(){var N=tryGetObjectLikeCompletionContainer(je);if(!N)return 0;et=0;var R;var j;if(N.kind===203){var $=tryGetObjectLiteralContextualType(N,le);if($===undefined){if(N.flags&16777216){return 2}rt=true;return 0}var q=le.getContextualType(N,4);var G=(q||$).getStringIndexType();var ie=(q||$).getNumberIndexType();tt=!!G||!!ie;R=getPropertiesForObjectExpression($,q,N,le);j=N.properties;if(R.length===0){if(!ie){rt=true;return 0}}}else{E.Debug.assert(N.kind===199);tt=false;var ae=E.getRootDeclaration(N.parent);if(!E.isVariableLike(ae))return E.Debug.fail("Root declaration is not variable-like.");var ce=E.hasInitializer(ae)||E.hasType(ae)||ae.parent.parent.kind===242;if(!ce&&ae.kind===162){if(E.isExpression(ae.parent)){ce=!!le.getContextualType(ae.parent)}else if(ae.parent.kind===167||ae.parent.kind===171){ce=E.isExpression(ae.parent.parent)&&!!le.getContextualType(ae.parent.parent)}}if(ce){var _e=le.getTypeAtLocation(N);if(!_e)return 2;var Ee=E.getContainingClass(N);R=le.getPropertiesOfType(_e).filter((function(N){return!(E.getDeclarationModifierFlagsFromSymbol(N)&24)||Ee&&E.contains(_e.symbol.declarations,Ee)}));j=N.elements}}if(R&&R.length>0){ot=E.concatenate(ot,filterObjectMembersList(R,E.Debug.checkDefined(j)))}setSortTextToOptionalMember();return 1}function tryGetImportOrExportClauseCompletionSymbols(){var N=je&&(je.kind===18||je.kind===27)?E.tryCast(je.parent,E.isNamedImportsOrExports):undefined;if(!N)return 0;var R=(N.kind===267?N.parent.parent:N.parent).moduleSpecifier;if(!R)return N.kind===267?2:0;var j=le.getSymbolAtLocation(R);if(!j)return 2;et=3;tt=false;var $=le.getExportsAndPropertiesOfModule(j);var q=new E.Set(N.elements.filter((function(E){return!isCurrentlyEditingNode(E)})).map((function(E){return(E.propertyName||E.name).escapedText})));ot=E.concatenate(ot,$.filter((function(E){return E.escapedName!=="default"&&!q.has(E.escapedName)})));return 1}function tryGetLocalNamedExportCompletionSymbols(){var N;var R=je&&(je.kind===18||je.kind===27)?E.tryCast(je.parent,E.isNamedExports):undefined;if(!R){return 0}var j=E.findAncestor(R,E.or(E.isSourceFile,E.isModuleDeclaration));et=5;tt=false;(N=j.locals)===null||N===void 0?void 0:N.forEach((function(N,R){var $,q;ot.push(N);if((q=($=j.symbol)===null||$===void 0?void 0:$.exports)===null||q===void 0?void 0:q.has(R)){ct[E.getSymbolId(N)]=12}}));return 1}function tryGetClassLikeCompletionSymbols(){var N=tryGetObjectTypeDeclarationCompletionContainer(j,je,Qe,q);if(!N)return 0;et=3;tt=true;it=je.kind===41?0:E.isClassLike(N)?2:3;if(!E.isClassLike(N))return 1;var R=je.kind===26?je.parent.parent:je.parent;var $=E.isClassElement(R)?E.getEffectiveModifierFlags(R):0;if(je.kind===79&&!isCurrentlyEditingNode(je)){switch(je.getText()){case"private":$=$|8;break;case"static":$=$|32;break;case"override":$=$|16384;break}}if(E.isClassStaticBlockDeclaration(R)){$|=32}if(!($&8)){var G=E.isClassLike(N)&&$&16384?E.singleElementArray(E.getEffectiveBaseTypeNode(N)):E.getAllSuperTypeNodes(N);var ie=E.flatMap(G,(function(E){var R=le.getTypeAtLocation(E);return $&32?(R===null||R===void 0?void 0:R.symbol)&&le.getPropertiesOfType(le.getTypeOfSymbolAtLocation(R.symbol,N)):R&&le.getPropertiesOfType(R)}));ot=E.concatenate(ot,filterClassMembersList(ie,N.members,$))}return 1}function tryGetObjectLikeCompletionContainer(N){if(N){var R=N.parent;switch(N.kind){case 18:case 27:if(E.isObjectLiteralExpression(R)||E.isObjectBindingPattern(R)){return R}break;case 41:return E.isMethodDeclaration(R)?E.tryCast(R.parent,E.isObjectLiteralExpression):undefined;case 79:return N.text==="async"&&E.isShorthandPropertyAssignment(N.parent)?N.parent.parent:undefined}}return undefined}function isConstructorParameterCompletion(N){return!!N.parent&&E.isParameter(N.parent)&&E.isConstructorDeclaration(N.parent.parent)&&(E.isParameterPropertyModifier(N.kind)||E.isDeclarationName(N))}function tryGetConstructorLikeCompletionContainer(N){if(N){var R=N.parent;switch(N.kind){case 20:case 27:return E.isConstructorDeclaration(N.parent)?N.parent:undefined;default:if(isConstructorParameterCompletion(N)){return R.parent}}}return undefined}function tryGetFunctionLikeBodyCompletionContainer(N){if(N){var R;var j=E.findAncestor(N.parent,(function(N){if(E.isClassLike(N)){return"quit"}if(E.isFunctionLikeDeclaration(N)&&R===N.body){return true}R=N;return false}));return j&&j}}function tryGetContainingJsxElement(N){if(N){var R=N.parent;switch(N.kind){case 31:case 30:case 43:case 79:case 204:case 284:case 283:case 285:if(R&&(R.kind===277||R.kind===278)){if(N.kind===31){var $=E.findPrecedingToken(N.pos,j,undefined);if(!R.typeArguments||$&&$.kind===43)break}return R}else if(R.kind===283){return R.parent.parent}break;case 10:if(R&&(R.kind===283||R.kind===285)){return R.parent.parent}break;case 19:if(R&&R.kind===286&&R.parent&&R.parent.kind===283){return R.parent.parent.parent}if(R&&R.kind===285){return R.parent.parent}break}}return undefined}function isSolelyIdentifierDefinitionLocation(N){var R=N.parent;var j=R.kind;switch(N.kind){case 27:return j===252||isVariableDeclarationListButNotTypeArgument(N)||j===235||j===258||isFunctionLikeButNotConstructor(j)||j===256||j===200||j===257||E.isClassLike(R)&&!!R.typeParameters&&R.typeParameters.end>=N.pos;case 24:return j===200;case 58:return j===201;case 22:return j===200;case 20:return j===290||isFunctionLikeButNotConstructor(j);case 18:return j===258;case 29:return j===255||j===224||j===256||j===257||E.isFunctionLikeKind(j);case 124:return j===165&&!E.isClassLike(R.parent);case 25:return j===162||!!R.parent&&R.parent.kind===200;case 123:case 121:case 122:return j===162&&!E.isConstructorDeclaration(R.parent);case 127:return j===268||j===273||j===266;case 135:case 147:return!isFromObjectTypeDeclaration(N);case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 136:case 150:return true;case 41:return E.isFunctionLike(N.parent)&&!E.isMethodDeclaration(N.parent)}if(isClassMemberCompletionKeyword(keywordForNode(N))&&isFromObjectTypeDeclaration(N)){return false}if(isConstructorParameterCompletion(N)){if(!E.isIdentifier(N)||E.isParameterPropertyModifier(keywordForNode(N))||isCurrentlyEditingNode(N)){return false}}switch(keywordForNode(N)){case 126:case 84:case 85:case 134:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return true;case 130:return E.isPropertyDeclaration(N.parent)}var $=E.findAncestor(N.parent,E.isClassLike);if($&&N===Be&&isPreviousPropertyDeclarationTerminated(N,q)){return false}var G=E.getAncestor(N.parent,165);if(G&&N!==Be&&E.isClassLike(Be.parent.parent)&&q<=Be.end){if(isPreviousPropertyDeclarationTerminated(N,Be.end)){return false}else if(N.kind!==63&&(E.isInitializedProperty(G)||E.hasType(G))){return true}}return E.isDeclarationName(N)&&!E.isShorthandPropertyAssignment(N.parent)&&!E.isJsxAttribute(N.parent)&&!(E.isClassLike(N.parent)&&(N!==Be||q>Be.end))}function isPreviousPropertyDeclarationTerminated(N,R){return N.kind!==63&&(N.kind===26||!E.positionsAreOnSameLine(N.end,R,j))}function isFunctionLikeButNotConstructor(N){return E.isFunctionLikeKind(N)&&N!==169}function isDotOfNumericLiteral(E){if(E.kind===8){var N=E.getFullText();return N.charAt(N.length-1)==="."}return false}function isVariableDeclarationListButNotTypeArgument(N){return N.parent.kind===253&&!E.isPossiblyTypeArgumentPosition(N,j,le)}function filterObjectMembersList(N,R){if(R.length===0){return N}var j=new E.Set;var $=new E.Set;for(var q=0,G=R;q<G.length;q++){var ie=G[q];if(ie.kind!==291&&ie.kind!==292&&ie.kind!==201&&ie.kind!==167&&ie.kind!==170&&ie.kind!==171&&ie.kind!==293){continue}if(isCurrentlyEditingNode(ie)){continue}var ae=void 0;if(E.isSpreadAssignment(ie)){setMembersDeclaredBySpreadAssignment(ie,j)}else if(E.isBindingElement(ie)&&ie.propertyName){if(ie.propertyName.kind===79){ae=ie.propertyName.escapedText}}else{var ce=E.getNameOfDeclaration(ie);ae=ce&&E.isPropertyNameLiteral(ce)?E.getEscapedTextOfIdentifierOrLiteral(ce):undefined}if(ae!==undefined){$.add(ae)}}var le=N.filter((function(E){return!$.has(E.escapedName)}));setSortTextToMemberDeclaredBySpreadAssignment(j,le);return le}function setMembersDeclaredBySpreadAssignment(E,N){var R=E.expression;var j=le.getSymbolAtLocation(R);var $=j&&le.getTypeOfSymbolAtLocation(j,R);var q=$&&$.properties;if(q){q.forEach((function(E){N.add(E.name)}))}}function setSortTextToOptionalMember(){ot.forEach((function(N){var R;if(N.flags&16777216){var j=E.getSymbolId(N);ct[j]=(R=ct[j])!==null&&R!==void 0?R:12}}))}function setSortTextToMemberDeclaredBySpreadAssignment(N,R){if(N.size===0){return}for(var j=0,$=R;j<$.length;j++){var q=$[j];if(N.has(q.name)){ct[E.getSymbolId(q)]=13}}}function filterClassMembersList(N,R,j){var $=new E.Set;for(var q=0,G=R;q<G.length;q++){var ie=G[q];if(ie.kind!==165&&ie.kind!==167&&ie.kind!==170&&ie.kind!==171){continue}if(isCurrentlyEditingNode(ie)){continue}if(E.hasEffectiveModifier(ie,8)){continue}if(E.isStatic(ie)!==!!(j&32)){continue}var ae=E.getPropertyNameForPropertyNameNode(ie.name);if(ae){$.add(ae)}}return N.filter((function(N){return!$.has(N.escapedName)&&!!N.declarations&&!(E.getDeclarationModifierFlagsFromSymbol(N)&8)&&!(N.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(N.valueDeclaration))}))}function filterJsxAttributes(N,R){var j=new E.Set;var $=new E.Set;for(var q=0,G=R;q<G.length;q++){var ie=G[q];if(isCurrentlyEditingNode(ie)){continue}if(ie.kind===283){j.add(ie.name.escapedText)}else if(E.isJsxSpreadAttribute(ie)){setMembersDeclaredBySpreadAssignment(ie,$)}}var ae=N.filter((function(E){return!j.has(E.escapedName)}));setSortTextToMemberDeclaredBySpreadAssignment($,ae);return ae}function isCurrentlyEditingNode(E){return E.getStart(j)<=q&&q<=E.getEnd()}}function getRelevantTokens(N,R){var j=E.findPrecedingToken(N,R);if(j&&N<=j.end&&(E.isMemberName(j)||E.isKeyword(j.kind))){var $=E.findPrecedingToken(j.getFullStart(),R,undefined);return{contextToken:$,previousToken:j}}return{contextToken:j,previousToken:j}}function getAutoImportSymbolFromCompletionEntryData(N,R,j,$){var q=R.isPackageJsonImport?$.getPackageJsonAutoImportProvider():j;var G=q.getTypeChecker();var ie=R.ambientModuleName?G.tryFindAmbientModule(R.ambientModuleName):R.fileName?G.getMergedSymbol(E.Debug.checkDefined(q.getSourceFile(R.fileName)).symbol):undefined;if(!ie)return undefined;var ae=R.exportName==="export="?G.resolveExternalModuleSymbol(ie):G.tryGetMemberInModuleExportsAndProperties(R.exportName,ie);if(!ae)return undefined;var ce=R.exportName==="default";ae=ce&&E.getLocalSymbolForExportDefault(ae)||ae;return{symbol:ae,origin:{kind:R.moduleSpecifier?32:4,moduleSymbol:ie,symbolName:N,isDefaultExport:ce,exportName:R.exportName,fileName:R.fileName,isFromPackageJson:!!R.isPackageJsonImport}}}function getCompletionEntryDisplayNameForSymbol(N,R,j,$,q){var G=originIncludesSymbolName(j)?j.symbolName:N.name;if(G===undefined||N.flags&1536&&E.isSingleOrDoubleQuote(G.charCodeAt(0))||E.isKnownSymbol(N)){return undefined}var ie={name:G,needsConvertPropertyAccess:false};if(E.isIdentifierText(G,R,q?1:0)||N.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(N.valueDeclaration)){return ie}switch($){case 3:return undefined;case 0:return{name:JSON.stringify(G),needsConvertPropertyAccess:false};case 2:case 1:return G.charCodeAt(0)===32?undefined:{name:G,needsConvertPropertyAccess:true};case 5:case 4:return ie;default:E.Debug.assertNever($)}}var _e=[];var Ee=E.memoize((function(){var N=[];for(var j=81;j<=158;j++){N.push({name:E.tokenToString(j),kind:"keyword",kindModifiers:"",sortText:R.GlobalsOrKeywords})}return N}));function getKeywordCompletions(N,R){if(!R)return getTypescriptKeywordCompletions(N);var j=N+7+1;return _e[j]||(_e[j]=getTypescriptKeywordCompletions(N).filter((function(N){return!isTypeScriptOnlyKeyword(E.stringToToken(N.name))})))}function getTypescriptKeywordCompletions(N){return _e[N]||(_e[N]=Ee().filter((function(R){var j=E.stringToToken(R.name);switch(N){case 0:return false;case 1:return isFunctionLikeBodyKeyword(j)||j===134||j===140||j===150||j===141||E.isTypeKeyword(j)&&j!==151;case 5:return isFunctionLikeBodyKeyword(j);case 2:return isClassMemberCompletionKeyword(j);case 3:return isInterfaceOrTypeLiteralCompletionKeyword(j);case 4:return E.isParameterPropertyModifier(j);case 6:return E.isTypeKeyword(j)||j===85;case 7:return E.isTypeKeyword(j);default:return E.Debug.assertNever(N)}})))}function isTypeScriptOnlyKeyword(E){switch(E){case 126:case 129:case 156:case 132:case 134:case 92:case 155:case 117:case 136:case 118:case 138:case 139:case 140:case 141:case 142:case 145:case 146:case 157:case 121:case 122:case 123:case 143:case 148:case 149:case 150:case 152:case 153:return true;default:return false}}function isInterfaceOrTypeLiteralCompletionKeyword(E){return E===143}function isClassMemberCompletionKeyword(N){switch(N){case 126:case 133:case 135:case 147:case 130:case 134:case 157:return true;default:return E.isClassMemberModifier(N)}}function isFunctionLikeBodyKeyword(N){return N===130||N===131||N===127||!E.isContextualKeyword(N)&&!isClassMemberCompletionKeyword(N)}function keywordForNode(N){return E.isIdentifier(N)?N.originalKeywordKind||0:N.kind}function getJsDocTagAtPosition(N,R){var j=E.findAncestor(N,E.isJSDoc);return j&&j.tags&&(E.rangeContainsPosition(j,R)?E.findLast(j.tags,(function(E){return E.pos<R})):undefined)}function getPropertiesForObjectExpression(N,R,j,$){var q=R&&R!==N;var G=q&&!(R.flags&3)?$.getUnionType([N,R]):N;var ie=G.isUnion()?$.getAllPossiblePropertiesOfTypes(G.types.filter((function(N){return!(N.flags&131068||$.isArrayLikeType(N)||E.typeHasCallOrConstructSignatures(N,$)||$.isTypeInvalidDueToUnionDiscriminant(N,j))}))):G.getApparentProperties();return q?ie.filter(hasDeclarationOtherThanSelf):ie;function hasDeclarationOtherThanSelf(N){return E.some(N.declarations,(function(E){return E.parent!==j}))}}N.getPropertiesForObjectExpression=getPropertiesForObjectExpression;function getPropertiesForCompletion(N,R){return N.isUnion()?E.Debug.checkEachDefined(R.getAllPossiblePropertiesOfTypes(N.types),"getAllPossiblePropertiesOfTypes() should all be defined"):E.Debug.checkEachDefined(N.getApparentProperties(),"getApparentProperties() should all be defined")}function tryGetObjectTypeDeclarationCompletionContainer(N,R,j,$){switch(j.kind){case 343:return E.tryCast(j.parent,E.isObjectTypeDeclaration);case 1:var q=E.tryCast(E.lastOrUndefined(E.cast(j.parent,E.isSourceFile).statements),E.isObjectTypeDeclaration);if(q&&!E.findChildOfKind(q,19,N)){return q}break;case 79:{if(E.isPropertyDeclaration(j.parent)&&j.parent.initializer===j){return undefined}if(isFromObjectTypeDeclaration(j)){return E.findAncestor(j,E.isObjectTypeDeclaration)}}}if(!R)return undefined;if(j.kind===133||E.isIdentifier(R)&&E.isPropertyDeclaration(R.parent)&&E.isClassLike(j)){return E.findAncestor(R,E.isClassLike)}switch(R.kind){case 63:return undefined;case 26:case 19:return isFromObjectTypeDeclaration(j)&&j.parent.name===j?j.parent.parent:E.tryCast(j,E.isObjectTypeDeclaration);case 18:case 27:return E.tryCast(R.parent,E.isObjectTypeDeclaration);default:if(!isFromObjectTypeDeclaration(R)){if(E.getLineAndCharacterOfPosition(N,R.getEnd()).line!==E.getLineAndCharacterOfPosition(N,$).line&&E.isObjectTypeDeclaration(j)){return j}return undefined}var G=E.isClassLike(R.parent.parent)?isClassMemberCompletionKeyword:isInterfaceOrTypeLiteralCompletionKeyword;return G(R.kind)||R.kind===41||E.isIdentifier(R)&&G(E.stringToToken(R.text))?R.parent.parent:undefined}}function tryGetTypeLiteralNode(N){if(!N)return undefined;var R=N.parent;switch(N.kind){case 18:if(E.isTypeLiteralNode(R)){return R}break;case 26:case 27:case 79:if(R.kind===164&&E.isTypeLiteralNode(R.parent)){return R.parent}break}return undefined}function getConstraintOfTypeArgumentProperty(N,R){if(!N)return undefined;if(E.isTypeNode(N)&&E.isTypeReferenceType(N.parent)){return R.getTypeArgumentConstraint(N)}var j=getConstraintOfTypeArgumentProperty(N.parent,R);if(!j)return undefined;switch(N.kind){case 164:return R.getTypeOfPropertyOfContextualType(j,N.symbol.escapedName);case 186:case 180:case 185:return j}}function isFromObjectTypeDeclaration(N){return N.parent&&E.isClassOrTypeElement(N.parent)&&E.isObjectTypeDeclaration(N.parent.parent)}function isValidTrigger(N,R,j,$){switch(R){case".":case"@":return true;case'"':case"'":case"`":return!!j&&E.isStringLiteralOrTemplate(j)&&$===j.getStart(N)+1;case"#":return!!j&&E.isPrivateIdentifier(j)&&!!E.getContainingClass(j);case"<":return!!j&&j.kind===29&&(!E.isBinaryExpression(j.parent)||binaryExpressionMayBeOpenTag(j.parent));case"/":return!!j&&(E.isStringLiteralLike(j)?!!E.tryGetImportFromModuleSpecifier(j):j.kind===43&&E.isJsxClosingElement(j.parent));case" ":return!!j&&E.isImportKeyword(j)&&j.parent.kind===300;default:return E.Debug.assertNever(R)}}function binaryExpressionMayBeOpenTag(N){var R=N.left;return E.nodeIsMissing(R)}function isProbablyGlobalType(E,N,R){var j=R.resolveName("self",undefined,111551,false);if(j&&R.getTypeOfSymbolAtLocation(j,N)===E){return true}var $=R.resolveName("global",undefined,111551,false);if($&&R.getTypeOfSymbolAtLocation($,N)===E){return true}var q=R.resolveName("globalThis",undefined,111551,false);if(q&&R.getTypeOfSymbolAtLocation(q,N)===E){return true}return false}function isStaticProperty(N){return!!(N.valueDeclaration&&E.getEffectiveModifierFlags(N.valueDeclaration)&32&&E.isClassLike(N.valueDeclaration.parent))}function tryGetObjectLiteralContextualType(N,R){var j=R.getContextualType(N);if(j){return j}if(E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63&&N===N.parent.left){return R.getTypeAtLocation(N.parent)}return undefined}function getImportCompletionNode(N){var R=getCandidate();return R===154||R&&E.rangeIsOnSingleLine(R,R.getSourceFile())?R:undefined;function getCandidate(){var R=N.parent;if(E.isImportEqualsDeclaration(R)){return isModuleSpecifierMissingOrEmpty(R.moduleReference)?R:undefined}if(E.isNamedImports(R)||E.isNamespaceImport(R)){if(isModuleSpecifierMissingOrEmpty(R.parent.parent.moduleSpecifier)&&(E.isNamespaceImport(R)||R.elements.length<2)&&!R.parent.name){return N.kind===19||N.kind===79?154:R.parent.parent}return undefined}if(E.isImportKeyword(N)&&E.isSourceFile(R)){return N}if(E.isImportKeyword(N)&&E.isImportDeclaration(R)){return isModuleSpecifierMissingOrEmpty(R.moduleSpecifier)?R:undefined}return undefined}}function isModuleSpecifierMissingOrEmpty(N){var R;if(E.nodeIsMissing(N))return true;return!((R=E.tryCast(E.isExternalModuleReference(N)?N.expression:N,E.isStringLiteralLike))===null||R===void 0?void 0:R.text)}function getVariableDeclaration(N){var R=E.findAncestor(N,(function(N){return E.isFunctionBlock(N)||isArrowFunctionBody(N)||E.isBindingPattern(N)?"quit":E.isVariableDeclaration(N)}));return R}function isArrowFunctionBody(N){return N.parent&&E.isArrowFunction(N.parent)&&N.parent.body===N}function symbolCanBeReferencedAtTypeLocation(N,R,j){if(j===void 0){j=new E.Map}var $=E.skipAlias(N.exportSymbol||N,R);return!!($.flags&788968)||R.isUnknownSymbol($)||!!($.flags&1536)&&E.addToSeen(j,E.getSymbolId($))&&R.getExportsOfModule($).some((function(E){return symbolCanBeReferencedAtTypeLocation(E,R,j)}))}function isDeprecated(N,R){var j=E.skipAlias(N,R).declarations;return!!E.length(j)&&E.every(j,E.isDeprecatedDeclaration)}function charactersFuzzyMatchInString(E,N){if(N.length===0){return true}var R=false;var j;var $=0;var q=E.length;for(var G=0;G<q;G++){var ie=E.charCodeAt(G);var ae=N.charCodeAt($);if(ie===ae||ie===toUpperCharCode(ae)){R||(R=j===undefined||97<=j&&j<=122&&65<=ie&&ie<=90||j===95&&ie!==95);if(R){$++}if($===N.length){return true}}j=ie}return false}function toUpperCharCode(E){if(97<=E&&E<=122){return E-32}return E}})(N=E.Completions||(E.Completions={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function getDocumentHighlights(N,R,j,$,q){var G=E.getTouchingPropertyName(j,$);if(G.parent&&(E.isJsxOpeningElement(G.parent)&&G.parent.tagName===G||E.isJsxClosingElement(G.parent))){var ie=G.parent.parent,ae=ie.openingElement,ce=ie.closingElement;var le=[ae,ce].map((function(E){var N=E.tagName;return getHighlightSpanForNode(N,j)}));return[{fileName:j.fileName,highlightSpans:le}]}return getSemanticDocumentHighlights($,G,N,R,q)||getSyntacticDocumentHighlights(G,j)}N.getDocumentHighlights=getDocumentHighlights;function getHighlightSpanForNode(N,R){return{fileName:R.fileName,textSpan:E.createTextSpanFromNode(N,R),kind:"none"}}function getSemanticDocumentHighlights(N,R,j,$,q){var G=new E.Set(q.map((function(E){return E.fileName})));var ie=E.FindAllReferences.getReferenceEntriesForNode(N,R,j,q,$,undefined,G);if(!ie)return undefined;var ae=E.arrayToMultiMap(ie.map(E.FindAllReferences.toHighlightSpan),(function(E){return E.fileName}),(function(E){return E.span}));var ce=E.createGetCanonicalFileName(j.useCaseSensitiveFileNames());return E.mapDefined(E.arrayFrom(ae.entries()),(function(N){var R=N[0],$=N[1];if(!G.has(R)){if(!j.redirectTargetsMap.has(E.toPath(R,j.getCurrentDirectory(),ce))){return undefined}var ie=j.getSourceFile(R);var ae=E.find(q,(function(E){return!!E.redirectInfo&&E.redirectInfo.redirectTarget===ie}));R=ae.fileName;E.Debug.assert(G.has(R))}return{fileName:R,highlightSpans:$}}))}function getSyntacticDocumentHighlights(E,N){var R=getHighlightSpans(E,N);return R&&[{fileName:N.fileName,highlightSpans:R}]}function getHighlightSpans(N,R){switch(N.kind){case 99:case 91:return E.isIfStatement(N.parent)?getIfElseOccurrences(N.parent,R):undefined;case 105:return useParent(N.parent,E.isReturnStatement,getReturnOccurrences);case 109:return useParent(N.parent,E.isThrowStatement,getThrowOccurrences);case 111:case 83:case 96:var j=N.kind===83?N.parent.parent:N.parent;return useParent(j,E.isTryStatement,getTryCatchFinallyOccurrences);case 107:return useParent(N.parent,E.isSwitchStatement,getSwitchCaseDefaultOccurrences);case 82:case 88:{if(E.isDefaultClause(N.parent)||E.isCaseClause(N.parent)){return useParent(N.parent.parent.parent,E.isSwitchStatement,getSwitchCaseDefaultOccurrences)}return undefined}case 81:case 86:return useParent(N.parent,E.isBreakOrContinueStatement,getBreakOrContinueStatementOccurrences);case 97:case 115:case 90:return useParent(N.parent,(function(N){return E.isIterationStatement(N,true)}),getLoopBreakContinueOccurrences);case 133:return getFromAllDeclarations(E.isConstructorDeclaration,[133]);case 135:case 147:return getFromAllDeclarations(E.isAccessor,[135,147]);case 131:return useParent(N.parent,E.isAwaitExpression,getAsyncAndAwaitOccurrences);case 130:return highlightSpans(getAsyncAndAwaitOccurrences(N));case 125:return highlightSpans(getYieldOccurrences(N));default:return E.isModifierKind(N.kind)&&(E.isDeclaration(N.parent)||E.isVariableStatement(N.parent))?highlightSpans(getModifierOccurrences(N.kind,N.parent)):undefined}function getFromAllDeclarations(j,$){return useParent(N.parent,j,(function(N){return E.mapDefined(N.symbol.declarations,(function(N){return j(N)?E.find(N.getChildren(R),(function(N){return E.contains($,N.kind)})):undefined}))}))}function useParent(E,N,j){return N(E)?highlightSpans(j(E,R)):undefined}function highlightSpans(E){return E&&E.map((function(E){return getHighlightSpanForNode(E,R)}))}}function aggregateOwnedThrowStatements(N){if(E.isThrowStatement(N)){return[N]}else if(E.isTryStatement(N)){return E.concatenate(N.catchClause?aggregateOwnedThrowStatements(N.catchClause):N.tryBlock&&aggregateOwnedThrowStatements(N.tryBlock),N.finallyBlock&&aggregateOwnedThrowStatements(N.finallyBlock))}return E.isFunctionLike(N)?undefined:flatMapChildren(N,aggregateOwnedThrowStatements)}function getThrowStatementOwner(N){var R=N;while(R.parent){var j=R.parent;if(E.isFunctionBlock(j)||j.kind===300){return j}if(E.isTryStatement(j)&&j.tryBlock===R&&j.catchClause){return R}R=j}return undefined}function aggregateAllBreakAndContinueStatements(N){return E.isBreakOrContinueStatement(N)?[N]:E.isFunctionLike(N)?undefined:flatMapChildren(N,aggregateAllBreakAndContinueStatements)}function flatMapChildren(N,R){var j=[];N.forEachChild((function(N){var $=R(N);if($!==undefined){j.push.apply(j,E.toArray($))}}));return j}function ownsBreakOrContinueStatement(E,N){var R=getBreakOrContinueOwner(N);return!!R&&R===E}function getBreakOrContinueOwner(N){return E.findAncestor(N,(function(R){switch(R.kind){case 247:if(N.kind===243){return false}case 240:case 241:case 242:case 239:case 238:return!N.label||isLabeledBy(R,N.label.escapedText);default:return E.isFunctionLike(R)&&"quit"}}))}function getModifierOccurrences(N,R){return E.mapDefined(getNodesToSearchForModifier(R,E.modifierToFlag(N)),(function(R){return E.findModifier(R,N)}))}function getNodesToSearchForModifier(N,R){var $=N.parent;switch($.kind){case 260:case 300:case 233:case 287:case 288:if(R&128&&E.isClassDeclaration(N)){return j(j([],N.members,true),[N],false)}else{return $.statements}case 169:case 167:case 254:return j(j([],$.parameters,true),E.isClassLike($.parent)?$.parent.members:[],true);case 255:case 224:case 256:case 180:var q=$.members;if(R&(28|64)){var G=E.find($.members,E.isConstructorDeclaration);if(G){return j(j([],q,true),G.parameters,true)}}else if(R&128){return j(j([],q,true),[$],false)}return q;case 203:return undefined;default:E.Debug.assertNever($,"Invalid container kind.")}}function pushKeywordIf(N,R){var j=[];for(var $=2;$<arguments.length;$++){j[$-2]=arguments[$]}if(R&&E.contains(j,R.kind)){N.push(R);return true}return false}function getLoopBreakContinueOccurrences(N){var R=[];if(pushKeywordIf(R,N.getFirstToken(),97,115,90)){if(N.kind===238){var j=N.getChildren();for(var $=j.length-1;$>=0;$--){if(pushKeywordIf(R,j[$],115)){break}}}}E.forEach(aggregateAllBreakAndContinueStatements(N.statement),(function(E){if(ownsBreakOrContinueStatement(N,E)){pushKeywordIf(R,E.getFirstToken(),81,86)}}));return R}function getBreakOrContinueStatementOccurrences(E){var N=getBreakOrContinueOwner(E);if(N){switch(N.kind){case 240:case 241:case 242:case 238:case 239:return getLoopBreakContinueOccurrences(N);case 247:return getSwitchCaseDefaultOccurrences(N)}}return undefined}function getSwitchCaseDefaultOccurrences(N){var R=[];pushKeywordIf(R,N.getFirstToken(),107);E.forEach(N.caseBlock.clauses,(function(j){pushKeywordIf(R,j.getFirstToken(),82,88);E.forEach(aggregateAllBreakAndContinueStatements(j),(function(E){if(ownsBreakOrContinueStatement(N,E)){pushKeywordIf(R,E.getFirstToken(),81)}}))}));return R}function getTryCatchFinallyOccurrences(N,R){var j=[];pushKeywordIf(j,N.getFirstToken(),111);if(N.catchClause){pushKeywordIf(j,N.catchClause.getFirstToken(),83)}if(N.finallyBlock){var $=E.findChildOfKind(N,96,R);pushKeywordIf(j,$,96)}return j}function getThrowOccurrences(N,R){var j=getThrowStatementOwner(N);if(!j){return undefined}var $=[];E.forEach(aggregateOwnedThrowStatements(j),(function(N){$.push(E.findChildOfKind(N,109,R))}));if(E.isFunctionBlock(j)){E.forEachReturnStatement(j,(function(N){$.push(E.findChildOfKind(N,105,R))}))}return $}function getReturnOccurrences(N,R){var j=E.getContainingFunction(N);if(!j){return undefined}var $=[];E.forEachReturnStatement(E.cast(j.body,E.isBlock),(function(N){$.push(E.findChildOfKind(N,105,R))}));E.forEach(aggregateOwnedThrowStatements(j.body),(function(N){$.push(E.findChildOfKind(N,109,R))}));return $}function getAsyncAndAwaitOccurrences(N){var R=E.getContainingFunction(N);if(!R){return undefined}var j=[];if(R.modifiers){R.modifiers.forEach((function(E){pushKeywordIf(j,E,130)}))}E.forEachChild(R,(function(N){traverseWithoutCrossingFunction(N,(function(N){if(E.isAwaitExpression(N)){pushKeywordIf(j,N.getFirstToken(),131)}}))}));return j}function getYieldOccurrences(N){var R=E.getContainingFunction(N);if(!R){return undefined}var j=[];E.forEachChild(R,(function(N){traverseWithoutCrossingFunction(N,(function(N){if(E.isYieldExpression(N)){pushKeywordIf(j,N.getFirstToken(),125)}}))}));return j}function traverseWithoutCrossingFunction(N,R){R(N);if(!E.isFunctionLike(N)&&!E.isClassLike(N)&&!E.isInterfaceDeclaration(N)&&!E.isModuleDeclaration(N)&&!E.isTypeAliasDeclaration(N)&&!E.isTypeNode(N)){E.forEachChild(N,(function(E){return traverseWithoutCrossingFunction(E,R)}))}}function getIfElseOccurrences(N,R){var j=getIfElseKeywords(N,R);var $=[];for(var q=0;q<j.length;q++){if(j[q].kind===91&&q<j.length-1){var G=j[q];var ie=j[q+1];var ae=true;for(var ce=ie.getStart(R)-1;ce>=G.end;ce--){if(!E.isWhiteSpaceSingleLine(R.text.charCodeAt(ce))){ae=false;break}}if(ae){$.push({fileName:R.fileName,textSpan:E.createTextSpanFromBounds(G.getStart(),ie.end),kind:"reference"});q++;continue}}$.push(getHighlightSpanForNode(j[q],R))}return $}function getIfElseKeywords(N,R){var j=[];while(E.isIfStatement(N.parent)&&N.parent.elseStatement===N){N=N.parent}while(true){var $=N.getChildren(R);pushKeywordIf(j,$[0],99);for(var q=$.length-1;q>=0;q--){if(pushKeywordIf(j,$[q],91)){break}}if(!N.elseStatement||!E.isIfStatement(N.elseStatement)){break}N=N.elseStatement}return j}function isLabeledBy(N,R){return!!E.findAncestor(N.parent,(function(N){return!E.isLabeledStatement(N)?"quit":N.label.escapedText===R}))}})(N=E.DocumentHighlights||(E.DocumentHighlights={}))})(ce||(ce={}));var ce;(function(E){function isDocumentRegistryEntry(E){return!!E.sourceFile}function createDocumentRegistry(E,N){return createDocumentRegistryInternal(E,N)}E.createDocumentRegistry=createDocumentRegistry;function createDocumentRegistryInternal(N,R,j){if(R===void 0){R=""}var $=new E.Map;var q=E.createGetCanonicalFileName(!!N);function reportStats(){var N=E.arrayFrom($.keys()).filter((function(E){return E&&E.charAt(0)==="_"})).map((function(E){var N=$.get(E);var R=[];N.forEach((function(E,N){if(isDocumentRegistryEntry(E)){R.push({name:N,scriptKind:E.sourceFile.scriptKind,refCount:E.languageServiceRefCount})}else{E.forEach((function(E,j){return R.push({name:N,scriptKind:j,refCount:E.languageServiceRefCount})}))}}));R.sort((function(E,N){return N.refCount-E.refCount}));return{bucket:E,sourceFiles:R}}));return JSON.stringify(N,undefined,2)}function acquireDocument(N,j,$,G,ie){var ae=E.toPath(N,R,q);var ce=getKeyForCompilationSettings(j);return acquireDocumentWithKey(N,ae,j,ce,$,G,ie)}function acquireDocumentWithKey(E,N,R,j,$,q,G){return acquireOrUpdateDocument(E,N,R,j,$,q,true,G)}function updateDocument(N,j,$,G,ie){var ae=E.toPath(N,R,q);var ce=getKeyForCompilationSettings(j);return updateDocumentWithKey(N,ae,j,ce,$,G,ie)}function updateDocumentWithKey(E,N,R,j,$,q,G){return acquireOrUpdateDocument(E,N,R,j,$,q,false,G)}function getDocumentRegistryEntry(N,R){var j=isDocumentRegistryEntry(N)?N:N.get(E.Debug.checkDefined(R,"If there are more than one scriptKind's for same document the scriptKind should be provided"));E.Debug.assert(R===undefined||!j||j.sourceFile.scriptKind===R,"Script kind should match provided ScriptKind:"+R+" and sourceFile.scriptKind: "+(j===null||j===void 0?void 0:j.sourceFile.scriptKind)+", !entry: "+!j);return j}function acquireOrUpdateDocument(N,R,q,G,ie,ae,ce,le){le=E.ensureScriptKind(N,le);var _e=le===6?100:q.target||1;var Ee=E.getOrUpdate($,G,(function(){return new E.Map}));var Te=Ee.get(R);var we=Te&&getDocumentRegistryEntry(Te,le);if(!we&&j){var Ie=j.getDocument(G,R);if(Ie){E.Debug.assert(ce);we={sourceFile:Ie,languageServiceRefCount:0};setBucketEntry()}}if(!we){var Ie=E.createLanguageServiceSourceFile(N,ie,_e,ae,false,le);if(j){j.setDocument(G,R,Ie)}we={sourceFile:Ie,languageServiceRefCount:1};setBucketEntry()}else{if(we.sourceFile.version!==ae){we.sourceFile=E.updateLanguageServiceSourceFile(we.sourceFile,ie,ae,ie.getChangeRange(we.sourceFile.scriptSnapshot));if(j){j.setDocument(G,R,we.sourceFile)}}if(ce){we.languageServiceRefCount++}}E.Debug.assert(we.languageServiceRefCount!==0);return we.sourceFile;function setBucketEntry(){if(!Te){Ee.set(R,we)}else if(isDocumentRegistryEntry(Te)){var N=new E.Map;N.set(Te.sourceFile.scriptKind,Te);N.set(le,we);Ee.set(R,N)}else{Te.set(le,we)}}}function releaseDocument(N,j,$){var G=E.toPath(N,R,q);var ie=getKeyForCompilationSettings(j);return releaseDocumentWithKey(G,ie,$)}function releaseDocumentWithKey(N,R,j){var q=E.Debug.checkDefined($.get(R));var G=q.get(N);var ie=getDocumentRegistryEntry(G,j);ie.languageServiceRefCount--;E.Debug.assert(ie.languageServiceRefCount>=0);if(ie.languageServiceRefCount===0){if(isDocumentRegistryEntry(G)){q.delete(N)}else{G.delete(j);if(G.size===1){q.set(N,E.firstDefinedIterator(G.values(),E.identity))}}}}function getLanguageServiceRefCounts(N,R){return E.arrayFrom($.entries(),(function(E){var j=E[0],$=E[1];var q=$.get(N);var G=q&&getDocumentRegistryEntry(q,R);return[j,G&&G.languageServiceRefCount]}))}return{acquireDocument:acquireDocument,acquireDocumentWithKey:acquireDocumentWithKey,updateDocument:updateDocument,updateDocumentWithKey:updateDocumentWithKey,releaseDocument:releaseDocument,releaseDocumentWithKey:releaseDocumentWithKey,getLanguageServiceRefCounts:getLanguageServiceRefCounts,reportStats:reportStats,getKeyForCompilationSettings:getKeyForCompilationSettings}}E.createDocumentRegistryInternal=createDocumentRegistryInternal;function getKeyForCompilationSettings(N){return E.sourceFileAffectingCompilerOptions.map((function(R){return E.getCompilerOptionValue(N,R)})).join("|")}})(ce||(ce={}));var ce;(function(E){var N;(function(N){function createImportTracker(E,N,R,j){var q=getDirectImportsMap(E,R,j);return function(G,ie,ae){var ce=getImportersForExport(E,N,q,ie,R,j),le=ce.directImports,_e=ce.indirectUsers;return $({indirectUsers:_e},getSearchesFromDirectImports(le,G,ie.exportKind,R,ae))}}N.createImportTracker=createImportTracker;var R;(function(E){E[E["Named"]=0]="Named";E[E["Default"]=1]="Default";E[E["ExportEquals"]=2]="ExportEquals"})(R=N.ExportKind||(N.ExportKind={}));var j;(function(E){E[E["Import"]=0]="Import";E[E["Export"]=1]="Export"})(j=N.ImportExport||(N.ImportExport={}));function getImportersForExport(N,R,j,$,q,G){var ie=$.exportingModuleSymbol,ae=$.exportKind;var ce=E.nodeSeenTracker();var le=E.nodeSeenTracker();var _e=[];var Ee=!!ie.globalExports;var Te=Ee?undefined:[];handleDirectImports(ie);return{directImports:_e,indirectUsers:getIndirectUsers()};function getIndirectUsers(){if(Ee){return N}if(ie.declarations){for(var j=0,$=ie.declarations;j<$.length;j++){var q=$[j];if(E.isExternalModuleAugmentation(q)&&R.has(q.getSourceFile().fileName)){addIndirectUser(q)}}}return Te.map(E.getSourceFileOfNode)}function handleDirectImports(N){var R=getDirectImports(N);if(R){for(var j=0,$=R;j<$.length;j++){var ie=$[j];if(!ce(ie)){continue}if(G)G.throwIfCancellationRequested();switch(ie.kind){case 206:if(E.isImportCall(ie)){handleImportCall(ie);break}if(!Ee){var le=ie.parent;if(ae===2&&le.kind===252){var Te=le.name;if(Te.kind===79){_e.push(Te);break}}}break;case 79:break;case 263:handleNamespaceImport(ie,ie.name,E.hasSyntacticModifier(ie,1),false);break;case 264:_e.push(ie);var we=ie.importClause&&ie.importClause.namedBindings;if(we&&we.kind===266){handleNamespaceImport(ie,we.name,false,true)}else if(!Ee&&E.isDefaultImport(ie)){addIndirectUser(getSourceFileLikeForImportDeclaration(ie))}break;case 270:if(!ie.exportClause){handleDirectImports(getContainingModuleSymbol(ie,q))}else if(ie.exportClause.kind===272){addIndirectUser(getSourceFileLikeForImportDeclaration(ie),true)}else{_e.push(ie)}break;case 198:if(ie.isTypeOf&&!ie.qualifier&&isExported(ie)){addIndirectUser(ie.getSourceFile(),true)}_e.push(ie);break;default:E.Debug.failBadSyntaxKind(ie,"Unexpected import kind.")}}}}function handleImportCall(N){var R=E.findAncestor(N,isAmbientModuleDeclaration)||N.getSourceFile();addIndirectUser(R,!!isExported(N,true))}function isExported(N,R){if(R===void 0){R=false}return E.findAncestor(N,(function(N){if(R&&isAmbientModuleDeclaration(N))return"quit";return E.some(N.modifiers,(function(E){return E.kind===93}))}))}function handleNamespaceImport(N,R,j,$){if(ae===2){if(!$)_e.push(N)}else if(!Ee){var G=getSourceFileLikeForImportDeclaration(N);E.Debug.assert(G.kind===300||G.kind===259);if(j||findNamespaceReExports(G,R,q)){addIndirectUser(G,true)}else{addIndirectUser(G)}}}function addIndirectUser(N,R){if(R===void 0){R=false}E.Debug.assert(!Ee);var j=le(N);if(!j)return;Te.push(N);if(!R)return;var $=q.getMergedSymbol(N.symbol);if(!$)return;E.Debug.assert(!!($.flags&1536));var G=getDirectImports($);if(G){for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];if(!E.isImportTypeNode(ce)){addIndirectUser(getSourceFileLikeForImportDeclaration(ce),true)}}}}function getDirectImports(N){return j.get(E.getSymbolId(N).toString())}}function getSearchesFromDirectImports(N,R,j,$,q){var G=[];var ie=[];function addSearch(E,N){G.push([E,N])}if(N){for(var ae=0,ce=N;ae<ce.length;ae++){var le=ce[ae];handleImport(le)}}return{importSearches:G,singleReferences:ie};function handleImport(N){if(N.kind===263){if(isExternalModuleImportEquals(N)){handleNamespaceImportLike(N.name)}return}if(N.kind===79){handleNamespaceImportLike(N);return}if(N.kind===198){if(N.qualifier){var G=E.getFirstIdentifier(N.qualifier);if(G.escapedText===E.symbolName(R)){ie.push(G)}}else if(j===2){ie.push(N.argument.literal)}return}if(N.moduleSpecifier.kind!==10){return}if(N.kind===270){if(N.exportClause&&E.isNamedExports(N.exportClause)){searchForNamedImport(N.exportClause)}return}var ae=N.importClause||{name:undefined,namedBindings:undefined},ce=ae.name,le=ae.namedBindings;if(le){switch(le.kind){case 266:handleNamespaceImportLike(le.name);break;case 267:if(j===0||j===1){searchForNamedImport(le)}break;default:E.Debug.assertNever(le)}}if(ce&&(j===1||j===2)&&(!q||ce.escapedText===E.symbolEscapedNameNoDefault(R))){var _e=$.getSymbolAtLocation(ce);addSearch(ce,_e)}}function handleNamespaceImportLike(E){if(j===2&&(!q||isNameMatch(E.escapedText))){addSearch(E,$.getSymbolAtLocation(E))}}function searchForNamedImport(E){if(!E){return}for(var N=0,j=E.elements;N<j.length;N++){var G=j[N];var ae=G.name,ce=G.propertyName;if(!isNameMatch((ce||ae).escapedText)){continue}if(ce){ie.push(ce);if(!q||ae.escapedText===R.escapedName){addSearch(ae,$.getSymbolAtLocation(ae))}}else{var le=G.kind===273&&G.propertyName?$.getExportSpecifierLocalTargetSymbol(G):$.getSymbolAtLocation(ae);addSearch(ae,le)}}}function isNameMatch(E){return E===R.escapedName||j!==0&&E==="default"}}function findNamespaceReExports(N,R,j){var $=j.getSymbolAtLocation(R);return!!forEachPossibleImportOrExportStatement(N,(function(N){if(!E.isExportDeclaration(N))return;var R=N.exportClause,q=N.moduleSpecifier;return!q&&R&&E.isNamedExports(R)&&R.elements.some((function(E){return j.getExportSpecifierLocalTargetSymbol(E)===$}))}))}function findModuleReferences(E,N,R){var j=[];var $=E.getTypeChecker();for(var q=0,G=N;q<G.length;q++){var ie=G[q];var ae=R.valueDeclaration;if((ae===null||ae===void 0?void 0:ae.kind)===300){for(var ce=0,le=ie.referencedFiles;ce<le.length;ce++){var _e=le[ce];if(E.getSourceFileFromReference(ie,_e)===ae){j.push({kind:"reference",referencingFile:ie,ref:_e})}}for(var Ee=0,Te=ie.typeReferenceDirectives;Ee<Te.length;Ee++){var _e=Te[Ee];var we=E.getResolvedTypeReferenceDirectives().get(_e.fileName);if(we!==undefined&&we.resolvedFileName===ae.fileName){j.push({kind:"reference",referencingFile:ie,ref:_e})}}}forEachImport(ie,(function(E,N){var q=$.getSymbolAtLocation(N);if(q===R){j.push({kind:"import",literal:N})}}))}return j}N.findModuleReferences=findModuleReferences;function getDirectImportsMap(N,R,j){var $=new E.Map;for(var q=0,G=N;q<G.length;q++){var ie=G[q];if(j)j.throwIfCancellationRequested();forEachImport(ie,(function(N,j){var q=R.getSymbolAtLocation(j);if(q){var G=E.getSymbolId(q).toString();var ie=$.get(G);if(!ie){$.set(G,ie=[])}ie.push(N)}}))}return $}function forEachPossibleImportOrExportStatement(N,R){return E.forEach(N.kind===300?N.statements:N.body.statements,(function(N){return R(N)||isAmbientModuleDeclaration(N)&&E.forEach(N.body&&N.body.statements,R)}))}function forEachImport(N,R){if(N.externalModuleIndicator||N.imports!==undefined){for(var j=0,$=N.imports;j<$.length;j++){var q=$[j];R(E.importFromModuleSpecifier(q),q)}}else{forEachPossibleImportOrExportStatement(N,(function(N){switch(N.kind){case 270:case 264:{var j=N;if(j.moduleSpecifier&&E.isStringLiteral(j.moduleSpecifier)){R(j,j.moduleSpecifier)}break}case 263:{var j=N;if(isExternalModuleImportEquals(j)){R(j,j.moduleReference.expression)}break}}}))}}function getImportOrExportSymbol(N,R,j,$){return $?getExport():getExport()||getImport();function getExport(){var q;var G=N.parent;var ie=G.parent;if(R.exportSymbol){if(G.kind===204){return((q=R.declarations)===null||q===void 0?void 0:q.some((function(E){return E===G})))&&E.isBinaryExpression(ie)?getSpecialPropertyExport(ie,false):undefined}else{return exportInfo(R.exportSymbol,getExportKindForDeclaration(G))}}else{var ae=getExportNode(G,N);if(ae&&E.hasSyntacticModifier(ae,1)){if(E.isImportEqualsDeclaration(ae)&&ae.moduleReference===N){if($){return undefined}var ce=j.getSymbolAtLocation(ae.name);return{kind:0,symbol:ce}}else{return exportInfo(R,getExportKindForDeclaration(ae))}}else if(E.isNamespaceExport(G)){return exportInfo(R,0)}else if(E.isExportAssignment(G)){return getExportAssignmentExport(G)}else if(E.isExportAssignment(ie)){return getExportAssignmentExport(ie)}else if(E.isBinaryExpression(G)){return getSpecialPropertyExport(G,true)}else if(E.isBinaryExpression(ie)){return getSpecialPropertyExport(ie,true)}else if(E.isJSDocTypedefTag(G)){return exportInfo(R,0)}}function getExportAssignmentExport(E){if(!E.symbol.parent)return undefined;var N=E.isExportEquals?2:1;return{kind:1,symbol:R,exportInfo:{exportingModuleSymbol:E.symbol.parent,exportKind:N}}}function getSpecialPropertyExport(N,$){var q;switch(E.getAssignmentDeclarationKind(N)){case 1:q=0;break;case 2:q=2;break;default:return undefined}var G=$?j.getSymbolAtLocation(E.getNameOfAccessExpression(E.cast(N.left,E.isAccessExpression))):R;return G&&exportInfo(G,q)}}function getImport(){var $=isNodeImport(N);if(!$)return undefined;var q=j.getImmediateAliasedSymbol(R);if(!q)return undefined;q=skipExportSpecifierSymbol(q,j);if(q.escapedName==="export="){q=getExportEqualsLocalSymbol(q,j)}var G=E.symbolEscapedNameNoDefault(q);if(G===undefined||G==="default"||G===R.escapedName){return{kind:0,symbol:q}}}function exportInfo(E,N){var R=getExportInfo(E,N,j);return R&&{kind:1,symbol:E,exportInfo:R}}function getExportKindForDeclaration(N){return E.hasSyntacticModifier(N,512)?1:0}}N.getImportOrExportSymbol=getImportOrExportSymbol;function getExportEqualsLocalSymbol(N,R){if(N.flags&2097152){return E.Debug.checkDefined(R.getImmediateAliasedSymbol(N))}var j=E.Debug.checkDefined(N.valueDeclaration);if(E.isExportAssignment(j)){return E.Debug.checkDefined(j.expression.symbol)}else if(E.isBinaryExpression(j)){return E.Debug.checkDefined(j.right.symbol)}else if(E.isSourceFile(j)){return E.Debug.checkDefined(j.symbol)}return E.Debug.fail()}function getExportNode(N,R){var j=E.isVariableDeclaration(N)?N:E.isBindingElement(N)?E.walkUpBindingElementsAndPatterns(N):undefined;if(j){return N.name!==R?undefined:E.isCatchClause(j.parent)?undefined:E.isVariableStatement(j.parent.parent)?j.parent.parent:undefined}else{return N}}function isNodeImport(N){var R=N.parent;switch(R.kind){case 263:return R.name===N&&isExternalModuleImportEquals(R);case 268:return!R.propertyName;case 265:case 266:E.Debug.assert(R.name===N);return true;case 201:return E.isInJSFile(N)&&E.isRequireVariableDeclaration(R);default:return false}}function getExportInfo(N,R,j){var $=N.parent;if(!$)return undefined;var q=j.getMergedSymbol($);return E.isExternalModuleSymbol(q)?{exportingModuleSymbol:q,exportKind:R}:undefined}N.getExportInfo=getExportInfo;function skipExportSpecifierSymbol(N,R){if(N.declarations){for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(E.isExportSpecifier(q)&&!q.propertyName&&!q.parent.parent.moduleSpecifier){return R.getExportSpecifierLocalTargetSymbol(q)}else if(E.isPropertyAccessExpression(q)&&E.isModuleExportsAccessExpression(q.expression)&&!E.isPrivateIdentifier(q.name)){return R.getSymbolAtLocation(q)}else if(E.isShorthandPropertyAssignment(q)&&E.isBinaryExpression(q.parent.parent)&&E.getAssignmentDeclarationKind(q.parent.parent)===2){return R.getExportSpecifierLocalTargetSymbol(q.name)}}}return N}function getContainingModuleSymbol(E,N){return N.getMergedSymbol(getSourceFileLikeForImportDeclaration(E).symbol)}function getSourceFileLikeForImportDeclaration(N){if(N.kind===206){return N.getSourceFile()}var R=N.parent;if(R.kind===300){return R}E.Debug.assert(R.kind===260);return E.cast(R.parent,isAmbientModuleDeclaration)}function isAmbientModuleDeclaration(E){return E.kind===259&&E.name.kind===10}function isExternalModuleImportEquals(E){return E.moduleReference.kind===275&&E.moduleReference.expression.kind===10}})(N=E.FindAllReferences||(E.FindAllReferences={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(E){E[E["Symbol"]=0]="Symbol";E[E["Label"]=1]="Label";E[E["Keyword"]=2]="Keyword";E[E["This"]=3]="This";E[E["String"]=4]="String";E[E["TripleSlashReference"]=5]="TripleSlashReference"})(R=N.DefinitionKind||(N.DefinitionKind={}));var q;(function(E){E[E["Span"]=0]="Span";E[E["Node"]=1]="Node";E[E["StringLiteral"]=2]="StringLiteral";E[E["SearchedLocalFoundProperty"]=3]="SearchedLocalFoundProperty";E[E["SearchedPropertyFoundLocal"]=4]="SearchedPropertyFoundLocal"})(q=N.EntryKind||(N.EntryKind={}));function nodeEntry(E,N){if(N===void 0){N=1}return{kind:N,node:E.name||E,context:getContextNodeForNodeEntry(E)}}N.nodeEntry=nodeEntry;function isContextWithStartAndEndNode(E){return E&&E.kind===undefined}N.isContextWithStartAndEndNode=isContextWithStartAndEndNode;function getContextNodeForNodeEntry(N){if(E.isDeclaration(N)){return getContextNode(N)}if(!N.parent)return undefined;if(!E.isDeclaration(N.parent)&&!E.isExportAssignment(N.parent)){if(E.isInJSFile(N)){var R=E.isBinaryExpression(N.parent)?N.parent:E.isAccessExpression(N.parent)&&E.isBinaryExpression(N.parent.parent)&&N.parent.parent.left===N.parent?N.parent.parent:undefined;if(R&&E.getAssignmentDeclarationKind(R)!==0){return getContextNode(R)}}if(E.isJsxOpeningElement(N.parent)||E.isJsxClosingElement(N.parent)){return N.parent.parent}else if(E.isJsxSelfClosingElement(N.parent)||E.isLabeledStatement(N.parent)||E.isBreakOrContinueStatement(N.parent)){return N.parent}else if(E.isStringLiteralLike(N)){var j=E.tryGetImportFromModuleSpecifier(N);if(j){var $=E.findAncestor(j,(function(N){return E.isDeclaration(N)||E.isStatement(N)||E.isJSDocTag(N)}));return E.isDeclaration($)?getContextNode($):$}}var q=E.findAncestor(N,E.isComputedPropertyName);return q?getContextNode(q.parent):undefined}if(N.parent.name===N||E.isConstructorDeclaration(N.parent)||E.isExportAssignment(N.parent)||(E.isImportOrExportSpecifier(N.parent)||E.isBindingElement(N.parent))&&N.parent.propertyName===N||N.kind===88&&E.hasSyntacticModifier(N.parent,513)){return getContextNode(N.parent)}return undefined}function getContextNode(N){if(!N)return undefined;switch(N.kind){case 252:return!E.isVariableDeclarationList(N.parent)||N.parent.declarations.length!==1?N:E.isVariableStatement(N.parent.parent)?N.parent.parent:E.isForInOrOfStatement(N.parent.parent)?getContextNode(N.parent.parent):N.parent;case 201:return getContextNode(N.parent.parent);case 268:return N.parent.parent.parent;case 273:case 266:return N.parent.parent;case 265:case 272:return N.parent;case 219:return E.isExpressionStatement(N.parent)?N.parent:N;case 242:case 241:return{start:N.initializer,end:N.expression};case 291:case 292:return E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)?getContextNode(E.findAncestor(N.parent,(function(N){return E.isBinaryExpression(N)||E.isForInOrOfStatement(N)}))):N;default:return N}}N.getContextNode=getContextNode;function toContextSpan(E,N,R){if(!R)return undefined;var j=isContextWithStartAndEndNode(R)?getTextSpan(R.start,N,R.end):getTextSpan(R,N);return j.start!==E.start||j.length!==E.length?{contextSpan:j}:undefined}N.toContextSpan=toContextSpan;var G;(function(E){E[E["Other"]=0]="Other";E[E["References"]=1]="References";E[E["Rename"]=2]="Rename"})(G=N.FindReferencesUse||(N.FindReferencesUse={}));function findReferencedSymbols(N,R,j,$,q){var G=E.getTouchingPropertyName($,q);var ae=ie.getReferencedSymbolsForNode(q,G,N,j,R,{use:1});var ce=N.getTypeChecker();return!ae||!ae.length?undefined:E.mapDefined(ae,(function(E){var N=E.definition,j=E.references;return N&&{definition:ce.runWithCancellationToken(R,(function(E){return definitionToReferencedSymbolDefinitionInfo(N,E,G)})),references:j.map(toReferenceEntry)}}))}N.findReferencedSymbols=findReferencedSymbols;function getImplementationsAtPosition(N,R,$,q,G){var ie=E.getTouchingPropertyName(q,G);var ae;var ce=getImplementationReferenceEntries(N,R,$,ie,G);if(ie.parent.kind===204||ie.parent.kind===201||ie.parent.kind===205||ie.kind===106){ae=ce&&j([],ce,true)}else{var le=ce&&j([],ce,true);var _e=new E.Map;while(le&&le.length){var Ee=le.shift();if(!E.addToSeen(_e,E.getNodeId(Ee.node))){continue}ae=E.append(ae,Ee);var Te=getImplementationReferenceEntries(N,R,$,Ee.node,Ee.node.pos);if(Te){le.push.apply(le,Te)}}}var we=N.getTypeChecker();return E.map(ae,(function(E){return toImplementationLocation(E,we)}))}N.getImplementationsAtPosition=getImplementationsAtPosition;function getImplementationReferenceEntries(N,R,j,$,q){if($.kind===300){return undefined}var G=N.getTypeChecker();if($.parent.kind===292){var ae=[];ie.getReferenceEntriesForShorthandPropertyAssignment($,G,(function(E){return ae.push(nodeEntry(E))}));return ae}else if($.kind===106||E.isSuperProperty($.parent)){var ce=G.getSymbolAtLocation($);return ce.valueDeclaration&&[nodeEntry(ce.valueDeclaration)]}else{return getReferenceEntriesForNode(q,$,N,j,R,{implementations:true,use:1})}}function findReferenceOrRenameEntries(N,R,j,$,q,G,ae){return E.map(flattenEntries(ie.getReferencedSymbolsForNode(q,$,N,j,R,G)),(function(E){return ae(E,$,N.getTypeChecker())}))}N.findReferenceOrRenameEntries=findReferenceOrRenameEntries;function getReferenceEntriesForNode(N,R,j,$,q,G,ae){if(G===void 0){G={}}if(ae===void 0){ae=new E.Set($.map((function(E){return E.fileName})))}return flattenEntries(ie.getReferencedSymbolsForNode(N,R,j,$,q,G,ae))}N.getReferenceEntriesForNode=getReferenceEntriesForNode;function flattenEntries(N){return N&&E.flatMap(N,(function(E){return E.references}))}function definitionToReferencedSymbolDefinitionInfo(N,R,j){var q=function(){switch(N.type){case 0:{var q=N.symbol;var G=getDefinitionKindAndDisplayParts(q,R,j),ie=G.displayParts,ae=G.kind;var ce=ie.map((function(E){return E.text})).join("");var le=q.declarations&&E.firstOrUndefined(q.declarations);var _e=le?E.getNameOfDeclaration(le)||le:j;return $($({},getFileAndTextSpanFromNode(_e)),{name:ce,kind:ae,displayParts:ie,context:getContextNode(le)})}case 1:{var _e=N.node;return $($({},getFileAndTextSpanFromNode(_e)),{name:_e.text,kind:"label",displayParts:[E.displayPart(_e.text,E.SymbolDisplayPartKind.text)]})}case 2:{var _e=N.node;var Ee=E.tokenToString(_e.kind);return $($({},getFileAndTextSpanFromNode(_e)),{name:Ee,kind:"keyword",displayParts:[{text:Ee,kind:"keyword"}]})}case 3:{var _e=N.node;var q=R.getSymbolAtLocation(_e);var Te=q&&E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(R,q,_e.getSourceFile(),E.getContainerNode(_e),_e).displayParts||[E.textPart("this")];return $($({},getFileAndTextSpanFromNode(_e)),{name:"this",kind:"var",displayParts:Te})}case 4:{var _e=N.node;return $($({},getFileAndTextSpanFromNode(_e)),{name:_e.text,kind:"var",displayParts:[E.displayPart(E.getTextOfNode(_e),E.SymbolDisplayPartKind.stringLiteral)]})}case 5:{return{textSpan:E.createTextSpanFromRange(N.reference),sourceFile:N.file,name:N.reference.fileName,kind:"string",displayParts:[E.displayPart('"'+N.reference.fileName+'"',E.SymbolDisplayPartKind.stringLiteral)]}}default:return E.Debug.assertNever(N)}}();var G=q.sourceFile,ie=q.textSpan,ae=q.name,ce=q.kind,le=q.displayParts,_e=q.context;return $({containerKind:"",containerName:"",fileName:G.fileName,kind:ce,name:ae,textSpan:ie,displayParts:le},toContextSpan(ie,G,_e))}function getFileAndTextSpanFromNode(N){var R=N.getSourceFile();return{sourceFile:R,textSpan:getTextSpan(E.isComputedPropertyName(N)?N.expression:N,R)}}function getDefinitionKindAndDisplayParts(N,R,j){var $=ie.getIntersectingMeaningFromDeclarations(j,N);var q=N.declarations&&E.firstOrUndefined(N.declarations)||j;var G=E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(R,N,q.getSourceFile(),q,q,$),ae=G.displayParts,ce=G.symbolKind;return{displayParts:ae,kind:ce}}function toRenameLocation(E,N,R,j){return $($({},entryToDocumentSpan(E)),j&&getPrefixAndSuffixText(E,N,R))}N.toRenameLocation=toRenameLocation;function toReferenceEntry(E){var N=entryToDocumentSpan(E);if(E.kind===0){return $($({},N),{isWriteAccess:false,isDefinition:false})}var R=E.kind,j=E.node;return $($({},N),{isWriteAccess:isWriteAccessForReference(j),isDefinition:isDefinitionForReference(j),isInString:R===2?true:undefined})}N.toReferenceEntry=toReferenceEntry;function entryToDocumentSpan(E){if(E.kind===0){return{textSpan:E.textSpan,fileName:E.fileName}}else{var N=E.node.getSourceFile();var R=getTextSpan(E.node,N);return $({textSpan:R,fileName:N.fileName},toContextSpan(R,N,E.context))}}function getPrefixAndSuffixText(N,R,j){if(N.kind!==0&&E.isIdentifier(R)){var $=N.node,q=N.kind;var G=$.parent;var ie=R.text;var ae=E.isShorthandPropertyAssignment(G);if(ae||E.isObjectBindingElementWithoutPropertyName(G)&&G.name===$&&G.dotDotDotToken===undefined){var ce={prefixText:ie+": "};var le={suffixText:": "+ie};if(q===3){return ce}if(q===4){return le}if(ae){var _e=G.parent;if(E.isObjectLiteralExpression(_e)&&E.isBinaryExpression(_e.parent)&&E.isModuleExportsAccessExpression(_e.parent.left)){return ce}return le}else{return ce}}else if(E.isImportSpecifier(G)&&!G.propertyName){var Ee=E.isExportSpecifier(R.parent)?j.getExportSpecifierLocalTargetSymbol(R.parent):j.getSymbolAtLocation(R);return E.contains(Ee.declarations,G)?{prefixText:ie+" as "}:E.emptyOptions}else if(E.isExportSpecifier(G)&&!G.propertyName){return R===N.node||j.getSymbolAtLocation(R)===j.getSymbolAtLocation(N.node)?{prefixText:ie+" as "}:{suffixText:" as "+ie}}}return E.emptyOptions}function toImplementationLocation(E,N){var R=entryToDocumentSpan(E);if(E.kind!==0){var j=E.node;return $($({},R),implementationKindDisplayParts(j,N))}else{return $($({},R),{kind:"",displayParts:[]})}}function implementationKindDisplayParts(N,R){var j=R.getSymbolAtLocation(E.isDeclaration(N)&&N.name?N.name:N);if(j){return getDefinitionKindAndDisplayParts(j,R,N)}else if(N.kind===203){return{kind:"interface",displayParts:[E.punctuationPart(20),E.textPart("object literal"),E.punctuationPart(21)]}}else if(N.kind===224){return{kind:"local class",displayParts:[E.punctuationPart(20),E.textPart("anonymous local class"),E.punctuationPart(21)]}}else{return{kind:E.getNodeKind(N),displayParts:[]}}}function toHighlightSpan(E){var N=entryToDocumentSpan(E);if(E.kind===0){return{fileName:N.fileName,span:{textSpan:N.textSpan,kind:"reference"}}}var R=isWriteAccessForReference(E.node);var j=$({textSpan:N.textSpan,kind:R?"writtenReference":"reference",isInString:E.kind===2?true:undefined},N.contextSpan&&{contextSpan:N.contextSpan});return{fileName:N.fileName,span:j}}N.toHighlightSpan=toHighlightSpan;function getTextSpan(N,R,j){var $=N.getStart(R);var q=(j||N).getEnd();if(E.isStringLiteralLike(N)){E.Debug.assert(j===undefined);$+=1;q-=1}return E.createTextSpanFromBounds($,q)}function getTextSpanOfEntry(E){return E.kind===0?E.textSpan:getTextSpan(E.node,E.node.getSourceFile())}N.getTextSpanOfEntry=getTextSpanOfEntry;function isWriteAccessForReference(N){var R=E.getDeclarationFromName(N);return!!R&&declarationIsWriteAccess(R)||N.kind===88||E.isWriteAccess(N)}function isDefinitionForReference(N){return N.kind===88||!!E.getDeclarationFromName(N)||E.isLiteralComputedPropertyDeclarationName(N)||N.kind===133&&E.isConstructorDeclaration(N.parent)}function declarationIsWriteAccess(N){if(!!(N.flags&8388608))return true;switch(N.kind){case 219:case 201:case 255:case 224:case 88:case 258:case 294:case 273:case 265:case 263:case 268:case 256:case 333:case 340:case 283:case 259:case 262:case 266:case 272:case 162:case 292:case 257:case 161:return true;case 291:return!E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent);case 254:case 211:case 169:case 167:case 170:case 171:return!!N.body;case 252:case 165:return!!N.initializer||E.isCatchClause(N.parent);case 166:case 164:case 342:case 335:return false;default:return E.Debug.failBadSyntaxKind(N)}}var ie;(function(R){function getReferencedSymbolsForNode(N,R,j,$,q,G,ie){var ae,ce;if(G===void 0){G={}}if(ie===void 0){ie=new E.Set($.map((function(E){return E.fileName})))}if(G.use===1){R=E.getAdjustedReferenceLocation(R)}else if(G.use===2){R=E.getAdjustedRenameLocation(R)}if(E.isSourceFile(R)){var le=E.GoToDefinition.getReferenceAtPosition(R,N,j);if(!(le===null||le===void 0?void 0:le.file)){return undefined}var _e=j.getTypeChecker().getMergedSymbol(le.file.symbol);if(_e){return getReferencedSymbolsForModule(j,_e,false,$,ie)}var Ee=j.getFileIncludeReasons();if(!Ee){return undefined}return[{definition:{type:5,reference:le.reference,file:R},references:getReferencesForNonModule(le.file,Ee,j)||E.emptyArray}]}if(!G.implementations){var Te=getReferencedSymbolsSpecial(R,$,q);if(Te){return Te}}var we=j.getTypeChecker();var Ie=we.getSymbolAtLocation(E.isConstructorDeclaration(R)&&R.parent.name||R);if(!Ie){if(!G.implementations&&E.isStringLiteralLike(R)){if(E.isModuleSpecifierLike(R)){var Ee=j.getFileIncludeReasons();var Ne=(ce=(ae=R.getSourceFile().resolvedModules)===null||ae===void 0?void 0:ae.get(R.text))===null||ce===void 0?void 0:ce.resolvedFileName;var Me=Ne?j.getSourceFile(Ne):undefined;if(Me){return[{definition:{type:4,node:R},references:getReferencesForNonModule(Me,Ee,j)||E.emptyArray}]}}return getReferencesForStringLiteral(R,$,we,q)}return undefined}if(Ie.escapedName==="export="){return getReferencedSymbolsForModule(j,Ie.parent,false,$,ie)}var Le=getReferencedSymbolsForModuleIfDeclaredBySourceFile(Ie,j,$,q,G,ie);if(Le&&!(Ie.flags&33554432)){return Le}var Be=getMergedAliasedSymbolOfNamespaceExportDeclaration(R,Ie,we);var je=Be&&getReferencedSymbolsForModuleIfDeclaredBySourceFile(Be,j,$,q,G,ie);var Ue=getReferencedSymbolsForSymbol(Ie,R,$,ie,we,q,G);return mergeReferences(j,Le,Ue,je)}R.getReferencedSymbolsForNode=getReferencedSymbolsForNode;function getReferencesForFileName(N,R,j,$){var q,G;if($===void 0){$=new E.Set(j.map((function(E){return E.fileName})))}var ie=(q=R.getSourceFile(N))===null||q===void 0?void 0:q.symbol;if(ie){return((G=getReferencedSymbolsForModule(R,ie,false,j,$)[0])===null||G===void 0?void 0:G.references)||E.emptyArray}var ae=R.getFileIncludeReasons();var ce=R.getSourceFile(N);return ce&&ae&&getReferencesForNonModule(ce,ae,R)||E.emptyArray}R.getReferencesForFileName=getReferencesForFileName;function getReferencesForNonModule(N,R,j){var $;var q=R.get(N.path)||E.emptyArray;for(var G=0,ie=q;G<ie.length;G++){var ae=ie[G];if(E.isReferencedFile(ae)){var ce=j.getSourceFileByPath(ae.file);var le=E.getReferencedFileLocation(j.getSourceFileByPath,ae);if(E.isReferenceFileLocation(le)){$=E.append($,{kind:0,fileName:ce.fileName,textSpan:E.createTextSpanFromRange(le)})}}}return $}function getMergedAliasedSymbolOfNamespaceExportDeclaration(N,R,j){if(N.parent&&E.isNamespaceExportDeclaration(N.parent)){var $=j.getAliasedSymbol(R);var q=j.getMergedSymbol($);if($!==q){return q}}return undefined}function getReferencedSymbolsForModuleIfDeclaredBySourceFile(N,R,j,$,q,G){var ie=N.flags&1536&&N.declarations&&E.find(N.declarations,E.isSourceFile);if(!ie)return undefined;var ae=N.exports.get("export=");var ce=getReferencedSymbolsForModule(R,N,!!ae,j,G);if(!ae||!G.has(ie.fileName))return ce;var le=R.getTypeChecker();N=E.skipAlias(ae,le);return mergeReferences(R,ce,getReferencedSymbolsForSymbol(N,undefined,j,G,le,$,q))}function mergeReferences(N){var R=[];for(var j=1;j<arguments.length;j++){R[j-1]=arguments[j]}var $;for(var q=0,G=R;q<G.length;q++){var ie=G[q];if(!ie||!ie.length)continue;if(!$){$=ie;continue}var _loop_4=function(R){if(!R.definition||R.definition.type!==0){$.push(R);return"continue"}var j=R.definition.symbol;var q=E.findIndex($,(function(E){return!!E.definition&&E.definition.type===0&&E.definition.symbol===j}));if(q===-1){$.push(R);return"continue"}var G=$[q];$[q]={definition:G.definition,references:G.references.concat(R.references).sort((function(R,j){var $=getSourceFileIndexOfEntry(N,R);var q=getSourceFileIndexOfEntry(N,j);if($!==q){return E.compareValues($,q)}var G=getTextSpanOfEntry(R);var ie=getTextSpanOfEntry(j);return G.start!==ie.start?E.compareValues(G.start,ie.start):E.compareValues(G.length,ie.length)}))}};for(var ae=0,ce=ie;ae<ce.length;ae++){var le=ce[ae];_loop_4(le)}}return $}function getSourceFileIndexOfEntry(E,N){var R=N.kind===0?E.getSourceFile(N.fileName):N.node.getSourceFile();return E.getSourceFiles().indexOf(R)}function getReferencedSymbolsForModule(R,j,$,q,G){E.Debug.assert(!!j.valueDeclaration);var ie=E.mapDefined(N.findModuleReferences(R,q,j),(function(N){if(N.kind==="import"){var R=N.literal.parent;if(E.isLiteralTypeNode(R)){var j=E.cast(R.parent,E.isImportTypeNode);if($&&!j.qualifier){return undefined}}return nodeEntry(N.literal)}else{return{kind:0,fileName:N.referencingFile.fileName,textSpan:E.createTextSpanFromRange(N.ref)}}}));if(j.declarations){for(var ae=0,ce=j.declarations;ae<ce.length;ae++){var le=ce[ae];switch(le.kind){case 300:break;case 259:if(G.has(le.getSourceFile().fileName)){ie.push(nodeEntry(le.name))}break;default:E.Debug.assert(!!(j.flags&33554432),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}}}var _e=j.exports.get("export=");if(_e===null||_e===void 0?void 0:_e.declarations){for(var Ee=0,Te=_e.declarations;Ee<Te.length;Ee++){var le=Te[Ee];var we=le.getSourceFile();if(G.has(we.fileName)){var Ie=E.isBinaryExpression(le)&&E.isPropertyAccessExpression(le.left)?le.left.expression:E.isExportAssignment(le)?E.Debug.checkDefined(E.findChildOfKind(le,93,we)):E.getNameOfDeclaration(le)||le;ie.push(nodeEntry(Ie))}}}return ie.length?[{definition:{type:0,symbol:j},references:ie}]:E.emptyArray}function isReadonlyTypeOperator(N){return N.kind===143&&E.isTypeOperatorNode(N.parent)&&N.parent.operator===143}function getReferencedSymbolsSpecial(N,R,j){if(E.isTypeKeyword(N.kind)){if(N.kind===114&&E.isVoidExpression(N.parent)){return undefined}if(N.kind===143&&!isReadonlyTypeOperator(N)){return undefined}return getAllReferencesForKeyword(R,N.kind,j,N.kind===143?isReadonlyTypeOperator:undefined)}if(E.isStaticModifier(N)&&E.isClassStaticBlockDeclaration(N.parent)){return[{definition:{type:2,node:N},references:[nodeEntry(N)]}]}if(E.isJumpStatementTarget(N)){var $=E.getTargetLabel(N.parent,N.text);return $&&getLabelReferencesInNode($.parent,$)}else if(E.isLabelOfLabeledStatement(N)){return getLabelReferencesInNode(N.parent,N)}if(E.isThis(N)){return getReferencesForThisKeyword(N,R,j)}if(N.kind===106){return getReferencesForSuperKeyword(N)}return undefined}function getReferencedSymbolsForSymbol(N,R,j,q,G,ie,ae){var ce=R&&skipPastExportOrImportSpecifierOrUnion(N,R,G,!isForRenameWithPrefixAndSuffixText(ae))||N;var le=R?getIntersectingMeaningFromDeclarations(R,ce):7;var _e=[];var Ee=new $(j,q,R?getSpecialSearchKind(R):0,G,ie,le,ae,_e);var Te=!isForRenameWithPrefixAndSuffixText(ae)||!ce.declarations?undefined:E.find(ce.declarations,E.isExportSpecifier);if(Te){getReferencesAtExportSpecifier(Te.name,ce,Te,Ee.createSearch(R,N,undefined),Ee,true,true)}else if(R&&R.kind===88&&ce.escapedName==="default"&&ce.parent){addReference(R,ce,Ee);searchForImportsOfExport(R,ce,{exportingModuleSymbol:ce.parent,exportKind:1},Ee)}else{var we=Ee.createSearch(R,ce,undefined,{allSearchSymbols:R?populateSearchSymbolSet(ce,R,G,ae.use===2,!!ae.providePrefixAndSuffixTextForRename,!!ae.implementations):[ce]});getReferencesInContainerOrFiles(ce,Ee,we)}return _e}function getReferencesInContainerOrFiles(N,R,j){var $=getSymbolScope(N);if($){getReferencesInContainer($,$.getSourceFile(),j,R,!(E.isSourceFile($)&&!E.contains(R.sourceFiles,$)))}else{for(var q=0,G=R.sourceFiles;q<G.length;q++){var ie=G[q];R.cancellationToken.throwIfCancellationRequested();searchForName(ie,j,R)}}}function getSpecialSearchKind(N){switch(N.kind){case 169:case 133:return 1;case 79:if(E.isClassLike(N.parent)){E.Debug.assert(N.parent.name===N);return 2}default:return 0}}function skipPastExportOrImportSpecifierOrUnion(N,R,j,$){var q=R.parent;if(E.isExportSpecifier(q)&&$){return getLocalSymbolForExportSpecifier(R,N,q,j)}return E.firstDefined(N.declarations,(function($){if(!$.parent){if(N.flags&33554432)return undefined;E.Debug.fail("Unexpected symbol at "+E.Debug.formatSyntaxKind(R.kind)+": "+E.Debug.formatSymbol(N))}return E.isTypeLiteralNode($.parent)&&E.isUnionTypeNode($.parent.parent)?j.getPropertyOfType(j.getTypeFromTypeNode($.parent.parent),N.name):undefined}))}var j;(function(E){E[E["None"]=0]="None";E[E["Constructor"]=1]="Constructor";E[E["Class"]=2]="Class"})(j||(j={}));function getNonModuleSymbolOfMergedModuleSymbol(N){if(!(N.flags&(1536|33554432)))return undefined;var R=N.declarations&&E.find(N.declarations,(function(N){return!E.isSourceFile(N)&&!E.isModuleDeclaration(N)}));return R&&R.symbol}var $=function(){function State(N,R,j,$,q,G,ie,ae){this.sourceFiles=N;this.sourceFilesSet=R;this.specialSearchKind=j;this.checker=$;this.cancellationToken=q;this.searchMeaning=G;this.options=ie;this.result=ae;this.inheritsFromCache=new E.Map;this.markSeenContainingTypeReference=E.nodeSeenTracker();this.markSeenReExportRHS=E.nodeSeenTracker();this.symbolIdToReferences=[];this.sourceFileToSeenSymbols=[]}State.prototype.includesSourceFile=function(E){return this.sourceFilesSet.has(E.fileName)};State.prototype.getImportSearches=function(E,R){if(!this.importTracker)this.importTracker=N.createImportTracker(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken);return this.importTracker(E,R,this.options.use===2)};State.prototype.createSearch=function(N,R,j,$){if($===void 0){$={}}var q=$.text,G=q===void 0?E.stripQuotes(E.symbolName(E.getLocalSymbolForExportDefault(R)||getNonModuleSymbolOfMergedModuleSymbol(R)||R)):q,ie=$.allSearchSymbols,ae=ie===void 0?[R]:ie;var ce=E.escapeLeadingUnderscores(G);var le=this.options.implementations&&N?getParentSymbolsOfPropertyAccess(N,R,this.checker):undefined;return{symbol:R,comingFrom:j,text:G,escapedText:ce,parents:le,allSearchSymbols:ae,includes:function(N){return E.contains(ae,N)}}};State.prototype.referenceAdder=function(N){var R=E.getSymbolId(N);var j=this.symbolIdToReferences[R];if(!j){j=this.symbolIdToReferences[R]=[];this.result.push({definition:{type:0,symbol:N},references:j})}return function(E,N){return j.push(nodeEntry(E,N))}};State.prototype.addStringOrCommentReference=function(E,N){this.result.push({definition:undefined,references:[{kind:0,fileName:E,textSpan:N}]})};State.prototype.markSearchedSymbols=function(N,R){var j=E.getNodeId(N);var $=this.sourceFileToSeenSymbols[j]||(this.sourceFileToSeenSymbols[j]=new E.Set);var q=false;for(var G=0,ie=R;G<ie.length;G++){var ae=ie[G];q=E.tryAddToSet($,E.getSymbolId(ae))||q}return q};return State}();function searchForImportsOfExport(E,N,R,j){var $=j.getImportSearches(N,R),q=$.importSearches,G=$.singleReferences,ie=$.indirectUsers;if(G.length){var ae=j.referenceAdder(N);for(var ce=0,le=G;ce<le.length;ce++){var _e=le[ce];if(shouldAddSingleReference(_e,j))ae(_e)}}for(var Ee=0,Te=q;Ee<Te.length;Ee++){var we=Te[Ee],Ie=we[0],Ne=we[1];getReferencesInSourceFile(Ie.getSourceFile(),j.createSearch(Ie,Ne,1),j)}if(ie.length){var Me=void 0;switch(R.exportKind){case 0:Me=j.createSearch(E,N,1);break;case 1:Me=j.options.use===2?undefined:j.createSearch(E,N,1,{text:"default"});break;case 2:break}if(Me){for(var Le=0,Be=ie;Le<Be.length;Le++){var je=Be[Le];searchForName(je,Me,j)}}}}function eachExportReference(R,j,$,q,G,ie,ae,ce){var le=N.createImportTracker(R,new E.Set(R.map((function(E){return E.fileName}))),j,$);var _e=le(q,{exportKind:ae?1:0,exportingModuleSymbol:G},false),Ee=_e.importSearches,Te=_e.indirectUsers;for(var we=0,Ie=Ee;we<Ie.length;we++){var Ne=Ie[we][0];ce(Ne)}for(var Me=0,Le=Te;Me<Le.length;Me++){var Be=Le[Me];for(var je=0,Ue=getPossibleSymbolReferenceNodes(Be,ae?"default":ie);je<Ue.length;je++){var ze=Ue[je];var We=j.getSymbolAtLocation(ze);var Je=E.some(We===null||We===void 0?void 0:We.declarations,(function(N){return E.tryCast(N,E.isExportAssignment)?true:false}));if(E.isIdentifier(ze)&&!E.isImportOrExportSpecifier(ze.parent)&&(We===q||Je)){ce(ze)}}}}R.eachExportReference=eachExportReference;function shouldAddSingleReference(N,R){if(!hasMatchingMeaning(N,R))return false;if(R.options.use!==2)return true;if(!E.isIdentifier(N))return false;return!(E.isImportOrExportSpecifier(N.parent)&&N.escapedText==="default")}function searchForImportedSymbol(E,N){if(!E.declarations)return;for(var R=0,j=E.declarations;R<j.length;R++){var $=j[R];var q=$.getSourceFile();getReferencesInSourceFile(q,N.createSearch($,E,0),N,N.includesSourceFile(q))}}function searchForName(N,R,j){if(E.getNameTable(N).get(R.escapedText)!==undefined){getReferencesInSourceFile(N,R,j)}}function getPropertySymbolOfDestructuringAssignment(N,R){return E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent.parent)?R.getPropertySymbolOfDestructuringAssignment(N):undefined}function getSymbolScope(N){var R=N.declarations,j=N.flags,$=N.parent,q=N.valueDeclaration;if(q&&(q.kind===211||q.kind===224)){return q}if(!R){return undefined}if(j&(4|8192)){var G=E.find(R,(function(N){return E.hasEffectiveModifier(N,8)||E.isPrivateIdentifierClassElementDeclaration(N)}));if(G){return E.getAncestor(G,255)}return undefined}if(R.some(E.isObjectBindingElementWithoutPropertyName)){return undefined}var ie=$&&!(N.flags&262144);if(ie&&!(E.isExternalModuleSymbol($)&&!$.globalExports)){return undefined}var ae;for(var ce=0,le=R;ce<le.length;ce++){var _e=le[ce];var Ee=E.getContainerNode(_e);if(ae&&ae!==Ee){return undefined}if(!Ee||Ee.kind===300&&!E.isExternalOrCommonJsModule(Ee)){return undefined}ae=Ee;if(E.isFunctionExpression(ae)){var Te=void 0;while(Te=E.getNextJSDocCommentLocation(ae)){ae=Te}}}return ie?ae.getSourceFile():ae}function isSymbolReferencedInFile(E,N,R,j){if(j===void 0){j=R}return eachSymbolReferenceInFile(E,N,R,(function(){return true}),j)||false}R.isSymbolReferencedInFile=isSymbolReferencedInFile;function eachSymbolReferenceInFile(N,R,j,$,q){if(q===void 0){q=j}var G=E.isParameterPropertyDeclaration(N.parent,N.parent.parent)?E.first(R.getSymbolsOfParameterPropertyDeclaration(N.parent,N.text)):R.getSymbolAtLocation(N);if(!G)return undefined;for(var ie=0,ae=getPossibleSymbolReferenceNodes(j,G.name,q);ie<ae.length;ie++){var ce=ae[ie];if(!E.isIdentifier(ce)||ce===N||ce.escapedText!==N.escapedText)continue;var le=R.getSymbolAtLocation(ce);if(le===G||R.getShorthandAssignmentValueSymbol(ce.parent)===G||E.isExportSpecifier(ce.parent)&&getLocalSymbolForExportSpecifier(ce,le,ce.parent,R)===G){var _e=$(ce);if(_e)return _e}}}R.eachSymbolReferenceInFile=eachSymbolReferenceInFile;function someSignatureUsage(N,R,j,$){if(!N.name||!E.isIdentifier(N.name))return false;var q=E.Debug.checkDefined(j.getSymbolAtLocation(N.name));for(var G=0,ie=R;G<ie.length;G++){var ae=ie[G];for(var ce=0,le=getPossibleSymbolReferenceNodes(ae,q.name);ce<le.length;ce++){var _e=le[ce];if(!E.isIdentifier(_e)||_e===N.name||_e.escapedText!==N.name.escapedText)continue;var Ee=E.climbPastPropertyAccess(_e);var Te=E.isCallExpression(Ee.parent)&&Ee.parent.expression===Ee?Ee.parent:undefined;var we=j.getSymbolAtLocation(_e);if(we&&j.getRootSymbols(we).some((function(E){return E===q}))){if($(_e,Te)){return true}}}}return false}R.someSignatureUsage=someSignatureUsage;function getPossibleSymbolReferenceNodes(N,R,j){if(j===void 0){j=N}return getPossibleSymbolReferencePositions(N,R,j).map((function(R){return E.getTouchingPropertyName(N,R)}))}function getPossibleSymbolReferencePositions(N,R,j){if(j===void 0){j=N}var $=[];if(!R||!R.length){return $}var q=N.text;var G=q.length;var ie=R.length;var ae=q.indexOf(R,j.pos);while(ae>=0){if(ae>j.end)break;var ce=ae+ie;if((ae===0||!E.isIdentifierPart(q.charCodeAt(ae-1),99))&&(ce===G||!E.isIdentifierPart(q.charCodeAt(ce),99))){$.push(ae)}ae=q.indexOf(R,ae+ie+1)}return $}function getLabelReferencesInNode(N,R){var j=N.getSourceFile();var $=R.text;var q=E.mapDefined(getPossibleSymbolReferenceNodes(j,$,N),(function(N){return N===R||E.isJumpStatementTarget(N)&&E.getTargetLabel(N,$)===R?nodeEntry(N):undefined}));return[{definition:{type:1,node:R},references:q}]}function isValidReferencePosition(N,R){switch(N.kind){case 80:if(E.isJSDocMemberName(N.parent)){return true}case 79:return N.text.length===R.length;case 14:case 10:{var j=N;return(E.isLiteralNameOfPropertyDeclarationOrIndexAccess(j)||E.isNameOfModuleDeclaration(N)||E.isExpressionOfExternalModuleImportEqualsDeclaration(N)||E.isCallExpression(N.parent)&&E.isBindableObjectDefinePropertyCall(N.parent)&&N.parent.arguments[1]===N)&&j.text.length===R.length}case 8:return E.isLiteralNameOfPropertyDeclarationOrIndexAccess(N)&&N.text.length===R.length;case 88:return"default".length===R.length;default:return false}}function getAllReferencesForKeyword(N,R,j,$){var q=E.flatMap(N,(function(N){j.throwIfCancellationRequested();return E.mapDefined(getPossibleSymbolReferenceNodes(N,E.tokenToString(R),N),(function(E){if(E.kind===R&&(!$||$(E))){return nodeEntry(E)}}))}));return q.length?[{definition:{type:2,node:q[0].node},references:q}]:undefined}function getReferencesInSourceFile(E,N,R,j){if(j===void 0){j=true}R.cancellationToken.throwIfCancellationRequested();return getReferencesInContainer(E,E,N,R,j)}function getReferencesInContainer(E,N,R,j,$){if(!j.markSearchedSymbols(N,R.allSearchSymbols)){return}for(var q=0,G=getPossibleSymbolReferencePositions(N,R.text,E);q<G.length;q++){var ie=G[q];getReferencesAtLocation(N,ie,R,j,$)}}function hasMatchingMeaning(N,R){return!!(E.getMeaningFromLocation(N)&R.searchMeaning)}function getReferencesAtLocation(N,R,j,$,q){var G=E.getTouchingPropertyName(N,R);if(!isValidReferencePosition(G,j.text)){if(!$.options.implementations&&($.options.findInStrings&&E.isInString(N,R)||$.options.findInComments&&E.isInNonReferenceComment(N,R))){$.addStringOrCommentReference(N.fileName,E.createTextSpan(R,j.text.length))}return}if(!hasMatchingMeaning(G,$))return;var ie=$.checker.getSymbolAtLocation(G);if(!ie){return}var ae=G.parent;if(E.isImportSpecifier(ae)&&ae.propertyName===G){return}if(E.isExportSpecifier(ae)){E.Debug.assert(G.kind===79);getReferencesAtExportSpecifier(G,ie,ae,j,$,q);return}var ce=getRelatedSymbol(j,ie,G,$);if(!ce){getReferenceForShorthandProperty(ie,j,$);return}switch($.specialSearchKind){case 0:if(q)addReference(G,ce,$);break;case 1:addConstructorReferences(G,N,j,$);break;case 2:addClassStaticThisReferences(G,j,$);break;default:E.Debug.assertNever($.specialSearchKind)}ie=E.isInJSFile(G)&&G.parent.kind===201&&E.isRequireVariableDeclaration(G.parent)?G.parent.symbol:ie;getImportOrExportReferences(G,ie,j,$)}function getReferencesAtExportSpecifier(R,j,$,q,G,ie,ae){E.Debug.assert(!ae||!!G.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");var ce=$.parent,le=$.propertyName,_e=$.name;var Ee=ce.parent;var Te=getLocalSymbolForExportSpecifier(R,j,$,G.checker);if(!ae&&!q.includes(Te)){return}if(!le){if(!(G.options.use===2&&_e.escapedText==="default")){addRef()}}else if(R===le){if(!Ee.moduleSpecifier){addRef()}if(ie&&G.options.use!==2&&G.markSeenReExportRHS(_e)){addReference(_e,E.Debug.checkDefined($.symbol),G)}}else{if(G.markSeenReExportRHS(R)){addRef()}}if(!isForRenameWithPrefixAndSuffixText(G.options)||ae){var we=R.originalKeywordKind===88||$.name.originalKeywordKind===88;var Ie=we?1:0;var Ne=E.Debug.checkDefined($.symbol);var Me=N.getExportInfo(Ne,Ie,G.checker);if(Me){searchForImportsOfExport(R,Ne,Me,G)}}if(q.comingFrom!==1&&Ee.moduleSpecifier&&!le&&!isForRenameWithPrefixAndSuffixText(G.options)){var Le=G.checker.getExportSpecifierLocalTargetSymbol($);if(Le)searchForImportedSymbol(Le,G)}function addRef(){if(ie)addReference(R,Te,G)}}function getLocalSymbolForExportSpecifier(E,N,R,j){return isExportSpecifierAlias(E,R)&&j.getExportSpecifierLocalTargetSymbol(R)||N}function isExportSpecifierAlias(N,R){var j=R.parent,$=R.propertyName,q=R.name;E.Debug.assert($===N||q===N);if($){return $===N}else{return!j.parent.moduleSpecifier}}function getImportOrExportReferences(E,R,j,$){var q=N.getImportOrExportSymbol(E,R,$.checker,j.comingFrom===1);if(!q)return;var G=q.symbol;if(q.kind===0){if(!isForRenameWithPrefixAndSuffixText($.options)){searchForImportedSymbol(G,$)}}else{searchForImportsOfExport(E,G,q.exportInfo,$)}}function getReferenceForShorthandProperty(N,R,j){var $=N.flags,q=N.valueDeclaration;var G=j.checker.getShorthandAssignmentValueSymbol(q);var ie=q&&E.getNameOfDeclaration(q);if(!($&33554432)&&ie&&R.includes(G)){addReference(ie,G,j)}}function addReference(E,N,R){var j="kind"in N?N:{kind:undefined,symbol:N},$=j.kind,q=j.symbol;var G=R.referenceAdder(q);if(R.options.implementations){addImplementationReferences(E,G,R)}else{G(E,$)}}function addConstructorReferences(N,R,j,$){if(E.isNewExpressionTarget(N)){addReference(N,j.symbol,$)}var pusher=function(){return $.referenceAdder(j.symbol)};if(E.isClassLike(N.parent)){E.Debug.assert(N.kind===88||N.parent.name===N);findOwnConstructorReferences(j.symbol,R,pusher())}else{var q=tryGetClassByExtendingIdentifier(N);if(q){findSuperConstructorAccesses(q,pusher());findInheritedConstructorReferences(q,$)}}}function addClassStaticThisReferences(N,R,j){addReference(N,R.symbol,j);var $=N.parent;if(j.options.use===2||!E.isClassLike($))return;E.Debug.assert($.name===N);var q=j.referenceAdder(R.symbol);for(var G=0,ie=$.members;G<ie.length;G++){var ae=ie[G];if(!(E.isMethodOrAccessor(ae)&&E.isStatic(ae))){continue}if(ae.body){ae.body.forEachChild((function cb(N){if(N.kind===108){q(N)}else if(!E.isFunctionLike(N)&&!E.isClassLike(N)){N.forEachChild(cb)}}))}}}function findOwnConstructorReferences(N,R,j){var $=getClassConstructorSymbol(N);if($&&$.declarations){for(var q=0,G=$.declarations;q<G.length;q++){var ie=G[q];var ae=E.findChildOfKind(ie,133,R);E.Debug.assert(ie.kind===169&&!!ae);j(ae)}}if(N.exports){N.exports.forEach((function(N){var R=N.valueDeclaration;if(R&&R.kind===167){var $=R.body;if($){forEachDescendantOfKind($,108,(function(N){if(E.isNewExpressionTarget(N)){j(N)}}))}}}))}}function getClassConstructorSymbol(E){return E.members&&E.members.get("__constructor")}function findSuperConstructorAccesses(N,R){var j=getClassConstructorSymbol(N.symbol);if(!(j&&j.declarations)){return}for(var $=0,q=j.declarations;$<q.length;$++){var G=q[$];E.Debug.assert(G.kind===169);var ie=G.body;if(ie){forEachDescendantOfKind(ie,106,(function(N){if(E.isCallExpressionTarget(N)){R(N)}}))}}}function hasOwnConstructor(E){return!!getClassConstructorSymbol(E.symbol)}function findInheritedConstructorReferences(E,N){if(hasOwnConstructor(E))return;var R=E.symbol;var j=N.createSearch(undefined,R,undefined);getReferencesInContainerOrFiles(R,N,j)}function addImplementationReferences(N,R,j){if(E.isDeclarationName(N)&&isImplementation(N.parent)){R(N);return}if(N.kind!==79){return}if(N.parent.kind===292){getReferenceEntriesForShorthandPropertyAssignment(N,j.checker,R)}var $=getContainingClassIfInHeritageClause(N);if($){R($);return}var q=E.findAncestor(N,(function(N){return!E.isQualifiedName(N.parent)&&!E.isTypeNode(N.parent)&&!E.isTypeElement(N.parent)}));var G=q.parent;if(E.hasType(G)&&G.type===q&&j.markSeenContainingTypeReference(G)){if(E.hasInitializer(G)){addIfImplementation(G.initializer)}else if(E.isFunctionLike(G)&&G.body){var ie=G.body;if(ie.kind===233){E.forEachReturnStatement(ie,(function(E){if(E.expression)addIfImplementation(E.expression)}))}else{addIfImplementation(ie)}}else if(E.isAssertionExpression(G)){addIfImplementation(G.expression)}}function addIfImplementation(E){if(isImplementationExpression(E))R(E)}}function getContainingClassIfInHeritageClause(N){return E.isIdentifier(N)||E.isPropertyAccessExpression(N)?getContainingClassIfInHeritageClause(N.parent):E.isExpressionWithTypeArguments(N)?E.tryCast(N.parent.parent,E.isClassLike):undefined}function isImplementationExpression(E){switch(E.kind){case 210:return isImplementationExpression(E.expression);case 212:case 211:case 203:case 224:case 202:return true;default:return false}}function explicitlyInheritsFrom(N,R,j,$){if(N===R){return true}var q=E.getSymbolId(N)+","+E.getSymbolId(R);var G=j.get(q);if(G!==undefined){return G}j.set(q,false);var ie=!!N.declarations&&N.declarations.some((function(N){return E.getAllSuperTypeNodes(N).some((function(E){var N=$.getTypeAtLocation(E);return!!N&&!!N.symbol&&explicitlyInheritsFrom(N.symbol,R,j,$)}))}));j.set(q,ie);return ie}function getReferencesForSuperKeyword(N){var R=E.getSuperContainer(N,false);if(!R){return undefined}var j=32;switch(R.kind){case 165:case 164:case 167:case 166:case 169:case 170:case 171:j&=E.getSyntacticModifierFlags(R);R=R.parent;break;default:return undefined}var $=R.getSourceFile();var q=E.mapDefined(getPossibleSymbolReferenceNodes($,"super",R),(function(N){if(N.kind!==106){return}var $=E.getSuperContainer(N,false);return $&&E.isStatic($)===!!j&&$.parent.symbol===R.symbol?nodeEntry(N):undefined}));return[{definition:{type:0,symbol:R.symbol},references:q}]}function isParameterName(E){return E.kind===79&&E.parent.kind===162&&E.parent.name===E}function getReferencesForThisKeyword(N,R,j){var $=E.getThisContainer(N,false);var q=32;switch($.kind){case 167:case 166:if(E.isObjectLiteralMethod($)){q&=E.getSyntacticModifierFlags($);$=$.parent;break}case 165:case 164:case 169:case 170:case 171:q&=E.getSyntacticModifierFlags($);$=$.parent;break;case 300:if(E.isExternalModule($)||isParameterName(N)){return undefined}case 254:case 211:break;default:return undefined}var G=E.flatMap($.kind===300?R:[$.getSourceFile()],(function(N){j.throwIfCancellationRequested();return getPossibleSymbolReferenceNodes(N,"this",E.isSourceFile($)?N:$).filter((function(N){if(!E.isThis(N)){return false}var R=E.getThisContainer(N,false);switch($.kind){case 211:case 254:return $.symbol===R.symbol;case 167:case 166:return E.isObjectLiteralMethod($)&&$.symbol===R.symbol;case 224:case 255:case 203:return R.parent&&$.symbol===R.parent.symbol&&E.isStatic(R)===!!q;case 300:return R.kind===300&&!E.isExternalModule(R)&&!isParameterName(N)}}))})).map((function(E){return nodeEntry(E)}));var ie=E.firstDefined(G,(function(N){return E.isParameter(N.node.parent)?N.node:undefined}));return[{definition:{type:3,node:ie||N},references:G}]}function getReferencesForStringLiteral(N,R,j,$){var q=E.getContextualTypeOrAncestorTypeNodeType(N,j);var G=E.flatMap(R,(function(R){$.throwIfCancellationRequested();return E.mapDefined(getPossibleSymbolReferenceNodes(R,N.text),(function(R){if(E.isStringLiteralLike(R)&&R.text===N.text){if(q){var $=E.getContextualTypeOrAncestorTypeNodeType(R,j);if(q!==j.getStringType()&&q===$){return nodeEntry(R,2)}}else{return nodeEntry(R,2)}}}))}));return[{definition:{type:4,node:N},references:G}]}function populateSearchSymbolSet(E,N,R,j,$,q){var G=[];forEachRelatedSymbol(E,N,R,j,!(j&&$),(function(N,R,j){if(j){if(isStaticSymbol(E)!==isStaticSymbol(j)){j=undefined}}G.push(j||R||N)}),(function(){return!q}));return G}function forEachRelatedSymbol(N,R,j,$,q,G,ie){var ae=E.getContainingObjectLiteralElement(R);if(ae){var ce=j.getShorthandAssignmentValueSymbol(R.parent);if(ce&&$){return G(ce,undefined,undefined,3)}var le=j.getContextualType(ae.parent);var _e=le&&E.firstDefined(E.getPropertySymbolsFromContextualType(ae,j,le,true),(function(E){return fromRoot(E,4)}));if(_e)return _e;var Ee=getPropertySymbolOfDestructuringAssignment(R,j);var Te=Ee&&G(Ee,undefined,undefined,4);if(Te)return Te;var we=ce&&G(ce,undefined,undefined,3);if(we)return we}var Ie=getMergedAliasedSymbolOfNamespaceExportDeclaration(R,N,j);if(Ie){var Ne=G(Ie,undefined,undefined,1);if(Ne)return Ne}var Me=fromRoot(N);if(Me)return Me;if(N.valueDeclaration&&E.isParameterPropertyDeclaration(N.valueDeclaration,N.valueDeclaration.parent)){var Le=j.getSymbolsOfParameterPropertyDeclaration(E.cast(N.valueDeclaration,E.isParameter),N.name);E.Debug.assert(Le.length===2&&!!(Le[0].flags&1)&&!!(Le[1].flags&4));return fromRoot(N.flags&1?Le[1]:Le[0])}var Be=E.getDeclarationOfKind(N,273);if(!$||Be&&!Be.propertyName){var je=Be&&j.getExportSpecifierLocalTargetSymbol(Be);if(je){var Ue=G(je,undefined,undefined,1);if(Ue)return Ue}}if(!$){var ze=void 0;if(q){ze=E.isObjectBindingElementWithoutPropertyName(R.parent)?E.getPropertySymbolFromBindingElement(j,R.parent):undefined}else{ze=getPropertySymbolOfObjectBindingPatternWithoutPropertyName(N,j)}return ze&&fromRoot(ze,4)}E.Debug.assert($);var We=q;if(We){var ze=getPropertySymbolOfObjectBindingPatternWithoutPropertyName(N,j);return ze&&fromRoot(ze,4)}function fromRoot(N,R){return E.firstDefined(j.getRootSymbols(N),(function(E){return G(N,E,undefined,R)||(E.parent&&E.parent.flags&(32|64)&&ie(E)?getPropertySymbolsFromBaseTypes(E.parent,E.name,j,(function(j){return G(N,E,j,R)})):undefined)}))}function getPropertySymbolOfObjectBindingPatternWithoutPropertyName(N,R){var j=E.getDeclarationOfKind(N,201);if(j&&E.isObjectBindingElementWithoutPropertyName(j)){return E.getPropertySymbolFromBindingElement(R,j)}}}function getPropertySymbolsFromBaseTypes(N,R,j,$){var q=new E.Map;return recur(N);function recur(N){if(!(N.flags&(32|64))||!E.addToSeen(q,E.getSymbolId(N)))return;return E.firstDefined(N.declarations,(function(N){return E.firstDefined(E.getAllSuperTypeNodes(N),(function(N){var q=j.getTypeAtLocation(N);var G=q&&q.symbol&&j.getPropertyOfType(q,R);return q&&G&&(E.firstDefined(j.getRootSymbols(G),$)||recur(q.symbol))}))}))}}function isStaticSymbol(N){if(!N.valueDeclaration){return false}var R=E.getEffectiveModifierFlags(N.valueDeclaration);return!!(R&32)}function getRelatedSymbol(N,R,j,$){var q=$.checker;return forEachRelatedSymbol(R,j,q,false,$.options.use!==2||!!$.options.providePrefixAndSuffixTextForRename,(function(j,$,q,G){if(q){if(isStaticSymbol(R)!==isStaticSymbol(q)){q=undefined}}return N.includes(q||$||j)?{symbol:$&&!(E.getCheckFlags(j)&6)?$:j,kind:G}:undefined}),(function(E){return!(N.parents&&!N.parents.some((function(N){return explicitlyInheritsFrom(E.parent,N,$.inheritsFromCache,q)})))}))}function getIntersectingMeaningFromDeclarations(N,R){var j=E.getMeaningFromLocation(N);var $=R.declarations;if($){var q=void 0;do{q=j;for(var G=0,ie=$;G<ie.length;G++){var ae=ie[G];var ce=E.getMeaningFromDeclaration(ae);if(ce&j){j|=ce}}}while(j!==q)}return j}R.getIntersectingMeaningFromDeclarations=getIntersectingMeaningFromDeclarations;function isImplementation(N){return!!(N.flags&8388608)?!(E.isInterfaceDeclaration(N)||E.isTypeAliasDeclaration(N)):E.isVariableLike(N)?E.hasInitializer(N):E.isFunctionLikeDeclaration(N)?!!N.body:E.isClassLike(N)||E.isModuleOrEnumDeclaration(N)}function getReferenceEntriesForShorthandPropertyAssignment(N,R,j){var $=R.getSymbolAtLocation(N);var q=R.getShorthandAssignmentValueSymbol($.valueDeclaration);if(q){for(var G=0,ie=q.getDeclarations();G<ie.length;G++){var ae=ie[G];if(E.getMeaningFromDeclaration(ae)&1){j(ae)}}}}R.getReferenceEntriesForShorthandPropertyAssignment=getReferenceEntriesForShorthandPropertyAssignment;function forEachDescendantOfKind(N,R,j){E.forEachChild(N,(function(E){if(E.kind===R){j(E)}forEachDescendantOfKind(E,R,j)}))}function tryGetClassByExtendingIdentifier(N){return E.tryGetClassExtendingExpressionWithTypeArguments(E.climbPastPropertyAccess(N).parent)}function getParentSymbolsOfPropertyAccess(N,R,j){var $=E.isRightSideOfPropertyAccess(N)?N.parent:undefined;var q=$&&j.getTypeAtLocation($.expression);var G=E.mapDefined(q&&(q.isUnionOrIntersection()?q.types:q.symbol===R.parent?undefined:[q]),(function(E){return E.symbol&&E.symbol.flags&(32|64)?E.symbol:undefined}));return G.length===0?undefined:G}function isForRenameWithPrefixAndSuffixText(E){return E.use===2&&E.providePrefixAndSuffixTextForRename}})(ie=N.Core||(N.Core={}))})(N=E.FindAllReferences||(E.FindAllReferences={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function isNamedExpression(N){return(E.isFunctionExpression(N)||E.isClassExpression(N))&&E.isNamedDeclaration(N)}function isConstNamedExpression(N){return(E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isClassExpression(N))&&E.isVariableDeclaration(N.parent)&&N===N.parent.initializer&&E.isIdentifier(N.parent.name)&&!!(E.getCombinedNodeFlags(N.parent)&2)}function isPossibleCallHierarchyDeclaration(N){return E.isSourceFile(N)||E.isModuleDeclaration(N)||E.isFunctionDeclaration(N)||E.isFunctionExpression(N)||E.isClassDeclaration(N)||E.isClassExpression(N)||E.isClassStaticBlockDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isGetAccessorDeclaration(N)||E.isSetAccessorDeclaration(N)}function isValidCallHierarchyDeclaration(N){return E.isSourceFile(N)||E.isModuleDeclaration(N)&&E.isIdentifier(N.name)||E.isFunctionDeclaration(N)||E.isClassDeclaration(N)||E.isClassStaticBlockDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isGetAccessorDeclaration(N)||E.isSetAccessorDeclaration(N)||isNamedExpression(N)||isConstNamedExpression(N)}function getCallHierarchyDeclarationReferenceNode(N){if(E.isSourceFile(N))return N;if(E.isNamedDeclaration(N))return N.name;if(isConstNamedExpression(N))return N.parent.name;return E.Debug.checkDefined(N.modifiers&&E.find(N.modifiers,isDefaultModifier))}function isDefaultModifier(E){return E.kind===88}function getSymbolOfCallHierarchyDeclaration(E,N){var R=getCallHierarchyDeclarationReferenceNode(N);return R&&E.getSymbolAtLocation(R)}function getCallHierarchyItemName(N,R){if(E.isSourceFile(R)){return{text:R.fileName,pos:0,end:0}}if((E.isFunctionDeclaration(R)||E.isClassDeclaration(R))&&!E.isNamedDeclaration(R)){var j=R.modifiers&&E.find(R.modifiers,isDefaultModifier);if(j){return{text:"default",pos:j.getStart(),end:j.getEnd()}}}if(E.isClassStaticBlockDeclaration(R)){var $=R.getSourceFile();var q=E.skipTrivia($.text,E.moveRangePastModifiers(R).pos);var G=q+6;var ie=N.getTypeChecker();var ae=ie.getSymbolAtLocation(R.parent);var ce=ae?ie.symbolToString(ae,R.parent)+" ":"";return{text:ce+"static {}",pos:q,end:G}}var le=isConstNamedExpression(R)?R.parent.name:E.Debug.checkDefined(E.getNameOfDeclaration(R),"Expected call hierarchy item to have a name");var _e=E.isIdentifier(le)?E.idText(le):E.isStringOrNumericLiteralLike(le)?le.text:E.isComputedPropertyName(le)?E.isStringOrNumericLiteralLike(le.expression)?le.expression.text:undefined:undefined;if(_e===undefined){var ie=N.getTypeChecker();var ae=ie.getSymbolAtLocation(le);if(ae){_e=ie.symbolToString(ae,R)}}if(_e===undefined){var Ee=E.createPrinter({removeComments:true,omitTrailingSemicolon:true});_e=E.usingSingleLineStringWriter((function(E){return Ee.writeNode(4,R,R.getSourceFile(),E)}))}return{text:_e,pos:le.getStart(),end:le.getEnd()}}function getCallHierarchItemContainerName(N){var R,j;if(isConstNamedExpression(N)){if(E.isModuleBlock(N.parent.parent.parent.parent)&&E.isIdentifier(N.parent.parent.parent.parent.parent.name)){return N.parent.parent.parent.parent.parent.name.getText()}return}switch(N.kind){case 170:case 171:case 167:if(N.parent.kind===203){return(R=E.getAssignedName(N.parent))===null||R===void 0?void 0:R.getText()}return(j=E.getNameOfDeclaration(N.parent))===null||j===void 0?void 0:j.getText();case 254:case 255:case 259:if(E.isModuleBlock(N.parent)&&E.isIdentifier(N.parent.parent.name)){return N.parent.parent.name.getText()}}}function findImplementation(N,R){if(R.body){return R}if(E.isConstructorDeclaration(R)){return E.getFirstConstructorWithBody(R.parent)}if(E.isFunctionDeclaration(R)||E.isMethodDeclaration(R)){var j=getSymbolOfCallHierarchyDeclaration(N,R);if(j&&j.valueDeclaration&&E.isFunctionLikeDeclaration(j.valueDeclaration)&&j.valueDeclaration.body){return j.valueDeclaration}return undefined}return R}function findAllInitialDeclarations(N,R){var j=getSymbolOfCallHierarchyDeclaration(N,R);var $;if(j&&j.declarations){var q=E.indicesOf(j.declarations);var G=E.map(j.declarations,(function(E){return{file:E.getSourceFile().fileName,pos:E.pos}}));q.sort((function(N,R){return E.compareStringsCaseSensitive(G[N].file,G[R].file)||G[N].pos-G[R].pos}));var ie=E.map(q,(function(E){return j.declarations[E]}));var ae=void 0;for(var ce=0,le=ie;ce<le.length;ce++){var _e=le[ce];if(isValidCallHierarchyDeclaration(_e)){if(!ae||ae.parent!==_e.parent||ae.end!==_e.pos){$=E.append($,_e)}ae=_e}}}return $}function findImplementationOrAllInitialDeclarations(N,R){var j,$,q;if(E.isClassStaticBlockDeclaration(R)){return R}if(E.isFunctionLikeDeclaration(R)){return($=(j=findImplementation(N,R))!==null&&j!==void 0?j:findAllInitialDeclarations(N,R))!==null&&$!==void 0?$:R}return(q=findAllInitialDeclarations(N,R))!==null&&q!==void 0?q:R}function resolveCallHierarchyDeclaration(N,R){var j=N.getTypeChecker();var $=false;while(true){if(isValidCallHierarchyDeclaration(R)){return findImplementationOrAllInitialDeclarations(j,R)}if(isPossibleCallHierarchyDeclaration(R)){var q=E.findAncestor(R,isValidCallHierarchyDeclaration);return q&&findImplementationOrAllInitialDeclarations(j,q)}if(E.isDeclarationName(R)){if(isValidCallHierarchyDeclaration(R.parent)){return findImplementationOrAllInitialDeclarations(j,R.parent)}if(isPossibleCallHierarchyDeclaration(R.parent)){var q=E.findAncestor(R.parent,isValidCallHierarchyDeclaration);return q&&findImplementationOrAllInitialDeclarations(j,q)}if(E.isVariableDeclaration(R.parent)&&R.parent.initializer&&isConstNamedExpression(R.parent.initializer)){return R.parent.initializer}return undefined}if(E.isConstructorDeclaration(R)){if(isValidCallHierarchyDeclaration(R.parent)){return R.parent}return undefined}if(R.kind===124&&E.isClassStaticBlockDeclaration(R.parent)){R=R.parent;continue}if(E.isVariableDeclaration(R)&&R.initializer&&isConstNamedExpression(R.initializer)){return R.initializer}if(!$){var G=j.getSymbolAtLocation(R);if(G){if(G.flags&2097152){G=j.getAliasedSymbol(G)}if(G.valueDeclaration){$=true;R=G.valueDeclaration;continue}}}return undefined}}N.resolveCallHierarchyDeclaration=resolveCallHierarchyDeclaration;function createCallHierarchyItem(N,R){var j=R.getSourceFile();var $=getCallHierarchyItemName(N,R);var q=getCallHierarchItemContainerName(R);var G=E.getNodeKind(R);var ie=E.getNodeModifiers(R);var ae=E.createTextSpanFromBounds(E.skipTrivia(j.text,R.getFullStart(),false,true),R.getEnd());var ce=E.createTextSpanFromBounds($.pos,$.end);return{file:j.fileName,kind:G,kindModifiers:ie,name:$.text,containerName:q,span:ae,selectionSpan:ce}}N.createCallHierarchyItem=createCallHierarchyItem;function isDefined(E){return E!==undefined}function convertEntryToCallSite(N){if(N.kind===1){var R=N.node;if(E.isCallOrNewExpressionTarget(R,true,true)||E.isTaggedTemplateTag(R,true,true)||E.isDecoratorTarget(R,true,true)||E.isJsxOpeningLikeElementTagName(R,true,true)||E.isRightSideOfPropertyAccess(R)||E.isArgumentExpressionOfElementAccess(R)){var j=R.getSourceFile();var $=E.findAncestor(R,isValidCallHierarchyDeclaration)||j;return{declaration:$,range:E.createTextRangeFromNode(R,j)}}}}function getCallSiteGroupKey(N){return E.getNodeId(N.declaration)}function createCallHierarchyIncomingCall(E,N){return{from:E,fromSpans:N}}function convertCallSiteGroupToIncomingCall(N,R){return createCallHierarchyIncomingCall(createCallHierarchyItem(N,R[0].declaration),E.map(R,(function(N){return E.createTextSpanFromRange(N.range)})))}function getIncomingCalls(N,R,j){if(E.isSourceFile(R)||E.isModuleDeclaration(R)||E.isClassStaticBlockDeclaration(R)){return[]}var $=getCallHierarchyDeclarationReferenceNode(R);var q=E.filter(E.FindAllReferences.findReferenceOrRenameEntries(N,j,N.getSourceFiles(),$,0,{use:1},convertEntryToCallSite),isDefined);return q?E.group(q,getCallSiteGroupKey,(function(E){return convertCallSiteGroupToIncomingCall(N,E)})):[]}N.getIncomingCalls=getIncomingCalls;function createCallSiteCollector(N,R){function recordCallSite(j){var $=E.isTaggedTemplateExpression(j)?j.tag:E.isJsxOpeningLikeElement(j)?j.tagName:E.isAccessExpression(j)?j:E.isClassStaticBlockDeclaration(j)?j:j.expression;var q=resolveCallHierarchyDeclaration(N,$);if(q){var G=E.createTextRangeFromNode($,j.getSourceFile());if(E.isArray(q)){for(var ie=0,ae=q;ie<ae.length;ie++){var ce=ae[ie];R.push({declaration:ce,range:G})}}else{R.push({declaration:q,range:G})}}}function collect(N){if(!N)return;if(N.flags&8388608){return}if(isValidCallHierarchyDeclaration(N)){if(E.isClassLike(N)){for(var R=0,j=N.members;R<j.length;R++){var $=j[R];if($.name&&E.isComputedPropertyName($.name)){collect($.name.expression)}}}return}switch(N.kind){case 79:case 263:case 264:case 270:case 256:case 257:return;case 168:recordCallSite(N);return;case 209:case 227:collect(N.expression);return;case 252:case 162:collect(N.name);collect(N.initializer);return;case 206:recordCallSite(N);collect(N.expression);E.forEach(N.arguments,collect);return;case 207:recordCallSite(N);collect(N.expression);E.forEach(N.arguments,collect);return;case 208:recordCallSite(N);collect(N.tag);collect(N.template);return;case 278:case 277:recordCallSite(N);collect(N.tagName);collect(N.attributes);return;case 163:recordCallSite(N);collect(N.expression);return;case 204:case 205:recordCallSite(N);E.forEachChild(N,collect);break}if(E.isPartOfTypeNode(N)){return}E.forEachChild(N,collect)}return collect}function collectCallSitesOfSourceFile(N,R){E.forEach(N.statements,R)}function collectCallSitesOfModuleDeclaration(N,R){if(!E.hasSyntacticModifier(N,2)&&N.body&&E.isModuleBlock(N.body)){E.forEach(N.body.statements,R)}}function collectCallSitesOfFunctionLikeDeclaration(N,R,j){var $=findImplementation(N,R);if($){E.forEach($.parameters,j);j($.body)}}function collectCallSitesOfClassStaticBlockDeclaration(E,N){N(E.body)}function collectCallSitesOfClassLikeDeclaration(N,R){E.forEach(N.decorators,R);var j=E.getClassExtendsHeritageElement(N);if(j){R(j.expression)}for(var $=0,q=N.members;$<q.length;$++){var G=q[$];E.forEach(G.decorators,R);if(E.isPropertyDeclaration(G)){R(G.initializer)}else if(E.isConstructorDeclaration(G)&&G.body){E.forEach(G.parameters,R);R(G.body)}else if(E.isClassStaticBlockDeclaration(G)){R(G)}}}function collectCallSites(N,R){var j=[];var $=createCallSiteCollector(N,j);switch(R.kind){case 300:collectCallSitesOfSourceFile(R,$);break;case 259:collectCallSitesOfModuleDeclaration(R,$);break;case 254:case 211:case 212:case 167:case 170:case 171:collectCallSitesOfFunctionLikeDeclaration(N.getTypeChecker(),R,$);break;case 255:case 224:collectCallSitesOfClassLikeDeclaration(R,$);break;case 168:collectCallSitesOfClassStaticBlockDeclaration(R,$);break;default:E.Debug.assertNever(R)}return j}function createCallHierarchyOutgoingCall(E,N){return{to:E,fromSpans:N}}function convertCallSiteGroupToOutgoingCall(N,R){return createCallHierarchyOutgoingCall(createCallHierarchyItem(N,R[0].declaration),E.map(R,(function(N){return E.createTextSpanFromRange(N.range)})))}function getOutgoingCalls(N,R){if(R.flags&8388608||E.isMethodSignature(R)){return[]}return E.group(collectCallSites(N,R),getCallSiteGroupKey,(function(E){return convertCallSiteGroupToOutgoingCall(N,E)}))}N.getOutgoingCalls=getOutgoingCalls})(N=E.CallHierarchy||(E.CallHierarchy={}))})(ce||(ce={}));var ce;(function(E){function getEditsForFileRename(N,R,j,$,q,G,ie){var ae=E.hostUsesCaseSensitiveFileNames($);var ce=E.createGetCanonicalFileName(ae);var le=getPathUpdater(R,j,ce,ie);var _e=getPathUpdater(j,R,ce,ie);return E.textChanges.ChangeTracker.with({host:$,formatContext:q,preferences:G},(function(E){updateTsconfigFiles(N,E,le,R,j,$.getCurrentDirectory(),ae);updateImports(N,E,le,_e,$,ce)}))}E.getEditsForFileRename=getEditsForFileRename;function getPathUpdater(N,R,j,$){var q=j(N);return function(E){var N=$&&$.tryGetSourcePosition({fileName:E,pos:0});var R=getUpdatedPath(N?N.fileName:E);return N?R===undefined?undefined:makeCorrespondingRelativeChange(N.fileName,R,E,j):R};function getUpdatedPath(N){if(j(N)===q)return R;var $=E.tryRemoveDirectoryPrefix(N,q,j);return $===undefined?undefined:R+"/"+$}}E.getPathUpdater=getPathUpdater;function makeCorrespondingRelativeChange(N,R,j,$){var q=E.getRelativePathFromFile(N,R,$);return combinePathsSafe(E.getDirectoryPath(j),q)}function updateTsconfigFiles(N,R,j,$,q,G,ie){var ae=N.getCompilerOptions().configFile;if(!ae)return;var ce=E.getDirectoryPath(ae.fileName);var le=E.getTsConfigObjectLiteralExpression(ae);if(!le)return;forEachProperty(le,(function(N,j){switch(j){case"files":case"include":case"exclude":{var le=updatePaths(N);if(le||j!=="include"||!E.isArrayLiteralExpression(N.initializer))return;var _e=E.mapDefined(N.initializer.elements,(function(N){return E.isStringLiteral(N)?N.text:undefined}));if(_e.length===0)return;var Ee=E.getFileMatcherPatterns(ce,[],_e,ie,G);if(E.getRegexFromPattern(E.Debug.checkDefined(Ee.includeFilePattern),ie).test($)&&!E.getRegexFromPattern(E.Debug.checkDefined(Ee.includeFilePattern),ie).test(q)){R.insertNodeAfter(ae,E.last(N.initializer.elements),E.factory.createStringLiteral(relativePath(q)))}return}case"compilerOptions":forEachProperty(N.initializer,(function(N,R){var j=E.getOptionFromName(R);if(j&&(j.isFilePath||j.type==="list"&&j.element.isFilePath)){updatePaths(N)}else if(R==="paths"){forEachProperty(N.initializer,(function(N){if(!E.isArrayLiteralExpression(N.initializer))return;for(var R=0,j=N.initializer.elements;R<j.length;R++){var $=j[R];tryUpdateString($)}}))}}));return}}));function updatePaths(N){var R=E.isArrayLiteralExpression(N.initializer)?N.initializer.elements:[N.initializer];var j=false;for(var $=0,q=R;$<q.length;$++){var G=q[$];j=tryUpdateString(G)||j}return j}function tryUpdateString(N){if(!E.isStringLiteral(N))return false;var $=combinePathsSafe(ce,N.text);var q=j($);if(q!==undefined){R.replaceRangeWithText(ae,createStringRange(N,ae),relativePath(q));return true}return false}function relativePath(N){return E.getRelativePathFromDirectory(ce,N,!ie)}}function updateImports(N,R,j,$,q,G){var ie=N.getSourceFiles();var _loop_5=function(ae){var ce=j(ae.fileName);var le=ce!==null&&ce!==void 0?ce:ae.fileName;var _e=E.getDirectoryPath(le);var Ee=$(ae.fileName);var Te=Ee||ae.fileName;var we=E.getDirectoryPath(Te);var Ie=ce!==undefined||Ee!==undefined;updateImportsWorker(ae,R,(function(N){if(!E.pathIsRelative(N))return undefined;var R=combinePathsSafe(we,N);var $=j(R);return $===undefined?undefined:E.ensurePathIsNonModuleName(E.getRelativePathFromDirectory(_e,$,G))}),(function(R){var $=N.getTypeChecker().getSymbolAtLocation(R);if(($===null||$===void 0?void 0:$.declarations)&&$.declarations.some((function(N){return E.isAmbientModule(N)})))return undefined;var ce=Ee!==undefined?getSourceFileToImportFromResolved(R,E.resolveModuleName(R.text,Te,N.getCompilerOptions(),q),j,ie):getSourceFileToImport($,R,ae,N,q,j);return ce!==undefined&&(ce.updated||Ie&&E.pathIsRelative(R.text))?E.moduleSpecifiers.updateModuleSpecifier(N.getCompilerOptions(),G(le),ce.newFileName,E.createModuleSpecifierResolutionHost(N,q),R.text):undefined}))};for(var ae=0,ce=ie;ae<ce.length;ae++){var le=ce[ae];_loop_5(le)}}function combineNormal(N,R){return E.normalizePath(E.combinePaths(N,R))}function combinePathsSafe(N,R){return E.ensurePathIsNonModuleName(combineNormal(N,R))}function getSourceFileToImport(N,R,j,$,q,G){if(N){var ie=E.find(N.declarations,E.isSourceFile).fileName;var ae=G(ie);return ae===undefined?{newFileName:ie,updated:false}:{newFileName:ae,updated:true}}else{var ce=q.resolveModuleNames?q.getResolvedModuleWithFailedLookupLocationsFromCache&&q.getResolvedModuleWithFailedLookupLocationsFromCache(R.text,j.fileName):$.getResolvedModuleWithFailedLookupLocationsFromCache(R.text,j.fileName);return getSourceFileToImportFromResolved(R,ce,G,$.getSourceFiles())}}function getSourceFileToImportFromResolved(N,R,j,$){if(!R)return undefined;if(R.resolvedModule){var q=tryChange(R.resolvedModule.resolvedFileName);if(q)return q}var G=E.forEach(R.failedLookupLocations,tryChangeWithIgnoringPackageJsonExisting)||E.pathIsRelative(N.text)&&E.forEach(R.failedLookupLocations,tryChangeWithIgnoringPackageJson);if(G)return G;return R.resolvedModule&&{newFileName:R.resolvedModule.resolvedFileName,updated:false};function tryChangeWithIgnoringPackageJsonExisting(N){var R=j(N);return R&&E.find($,(function(E){return E.fileName===R}))?tryChangeWithIgnoringPackageJson(N):undefined}function tryChangeWithIgnoringPackageJson(N){return!E.endsWith(N,"/package.json")?tryChange(N):undefined}function tryChange(E){var N=j(E);return N&&{newFileName:N,updated:true}}}function updateImportsWorker(N,R,j,$){for(var q=0,G=N.referencedFiles||E.emptyArray;q<G.length;q++){var ie=G[q];var ae=j(ie.fileName);if(ae!==undefined&&ae!==N.text.slice(ie.pos,ie.end))R.replaceRangeWithText(N,ie,ae)}for(var ce=0,le=N.imports;ce<le.length;ce++){var _e=le[ce];var ae=$(_e);if(ae!==undefined&&ae!==_e.text)R.replaceRangeWithText(N,createStringRange(_e,N),ae)}}function createStringRange(N,R){return E.createRange(N.getStart(R)+1,N.end-1)}function forEachProperty(N,R){if(!E.isObjectLiteralExpression(N))return;for(var j=0,$=N.properties;j<$.length;j++){var q=$[j];if(E.isPropertyAssignment(q)&&E.isStringLiteral(q.name)){R(q,q.name.text)}}}})(ce||(ce={}));var ce;(function(E){var N;(function(N){function getDefinitionAtPosition(N,R,$){var q=getReferenceAtPosition(R,$,N);var G=q&&[getDefinitionInfoForFileReference(q.reference.fileName,q.fileName,q.unverified)]||E.emptyArray;if(q===null||q===void 0?void 0:q.file){return G}var ie=E.getTouchingPropertyName(R,$);if(ie===R){return undefined}var ae=ie.parent;var ce=N.getTypeChecker();if(ie.kind===157||E.isJSDocOverrideTag(ie)&&E.rangeContainsPosition(ie.tagName,$)){return getDefinitionFromOverriddenMember(ce,ie)||E.emptyArray}if(E.isJumpStatementTarget(ie)){var le=E.getTargetLabel(ie.parent,ie.text);return le?[createDefinitionInfoFromName(ce,le,"label",ie.text,undefined)]:undefined}if(E.isStaticModifier(ie)&&E.isClassStaticBlockDeclaration(ie.parent)){var _e=ie.parent.parent;var Ee=getSymbol(_e,ce);var Te=E.filter(_e.members,E.isClassStaticBlockDeclaration);var we=Ee?ce.symbolToString(Ee,_e):"";var Ie=ie.getSourceFile();return E.map(Te,(function(N){var R=E.moveRangePastModifiers(N).pos;R=E.skipTrivia(Ie.text,R);return createDefinitionInfoFromName(ce,N,"constructor","static {}",we,{start:R,length:"static".length})}))}var Ne=getSymbol(ie,ce);if(!Ne){return E.concatenate(G,getDefinitionInfoForIndexSignatures(ie,ce))}var Me=tryGetSignatureDeclaration(ce,ie);if(Me&&!(E.isJsxOpeningLikeElement(ie.parent)&&isConstructorLike(Me))){var Le=createDefinitionFromSignatureDeclaration(ce,Me);if(ce.getRootSymbols(Ne).some((function(E){return symbolMatchesSignature(E,Me)}))){return[Le]}else{var Be=getDefinitionFromSymbol(ce,Ne,ie,Me)||E.emptyArray;return ie.kind===106?j([Le],Be,true):j(j([],Be,true),[Le],false)}}if(ie.parent.kind===292){var je=ce.getShorthandAssignmentValueSymbol(Ne.valueDeclaration);var Ue=(je===null||je===void 0?void 0:je.declarations)?je.declarations.map((function(E){return createDefinitionInfo(E,ce,je,ie)})):E.emptyArray;return E.concatenate(Ue,getDefinitionFromObjectLiteralElement(ce,ie)||E.emptyArray)}if(E.isPropertyName(ie)&&E.isBindingElement(ae)&&E.isObjectBindingPattern(ae.parent)&&ie===(ae.propertyName||ae.name)){var ze=E.getNameFromPropertyName(ie);var We=ce.getTypeAtLocation(ae.parent);return ze===undefined?E.emptyArray:E.flatMap(We.isUnion()?We.types:[We],(function(E){var N=E.getProperty(ze);return N&&getDefinitionFromSymbol(ce,N,ie)}))}return E.concatenate(G,getDefinitionFromObjectLiteralElement(ce,ie)||getDefinitionFromSymbol(ce,Ne,ie))}N.getDefinitionAtPosition=getDefinitionAtPosition;function symbolMatchesSignature(N,R){return N===R.symbol||N===R.symbol.parent||E.isAssignmentExpression(R.parent)||!E.isCallLikeExpression(R.parent)&&N===R.parent.symbol}function getDefinitionFromObjectLiteralElement(N,R){var j=E.getContainingObjectLiteralElement(R);if(j){var $=j&&N.getContextualType(j.parent);if($){return E.flatMap(E.getPropertySymbolsFromContextualType(j,N,$,false),(function(E){return getDefinitionFromSymbol(N,E,R)}))}}}function getDefinitionFromOverriddenMember(N,R){var j=E.findAncestor(R,E.isClassElement);if(!(j&&j.name))return;var $=E.findAncestor(j,E.isClassLike);if(!$)return;var q=E.getEffectiveBaseTypeNode($);var G=q?N.getTypeAtLocation(q):undefined;if(!G)return;var ie=E.unescapeLeadingUnderscores(E.getTextOfPropertyName(j.name));var ae=E.hasStaticModifier(j)?N.getPropertyOfType(N.getTypeOfSymbolAtLocation(G.symbol,$),ie):N.getPropertyOfType(G,ie);if(!ae)return;return getDefinitionFromSymbol(N,ae,R)}function getReferenceAtPosition(N,R,j){var $,q;var G=findReferenceInPosition(N.referencedFiles,R);if(G){var ie=j.getSourceFileFromReference(N,G);return ie&&{reference:G,fileName:ie.fileName,file:ie,unverified:false}}var ae=findReferenceInPosition(N.typeReferenceDirectives,R);if(ae){var ce=j.getResolvedTypeReferenceDirectives().get(ae.fileName);var ie=ce&&j.getSourceFile(ce.resolvedFileName);return ie&&{reference:ae,fileName:ie.fileName,file:ie,unverified:false}}var le=findReferenceInPosition(N.libReferenceDirectives,R);if(le){var ie=j.getLibFileFromReference(le);return ie&&{reference:le,fileName:ie.fileName,file:ie,unverified:false}}if(($=N.resolvedModules)===null||$===void 0?void 0:$.size){var _e=E.getTokenAtPosition(N,R);if(E.isModuleSpecifierLike(_e)&&E.isExternalModuleNameRelative(_e.text)&&N.resolvedModules.has(_e.text)){var Ee=(q=N.resolvedModules.get(_e.text))===null||q===void 0?void 0:q.resolvedFileName;var Te=Ee||E.resolvePath(E.getDirectoryPath(N.fileName),_e.text);return{file:j.getSourceFile(Te),fileName:Te,reference:{pos:_e.getStart(),end:_e.getEnd(),fileName:_e.text},unverified:!Ee}}}return undefined}N.getReferenceAtPosition=getReferenceAtPosition;function getTypeDefinitionAtPosition(N,R,j){var $=E.getTouchingPropertyName(R,j);if($===R){return undefined}var q=N.getSymbolAtLocation($);if(!q)return undefined;var G=N.getTypeOfSymbolAtLocation(q,$);var ie=tryGetReturnTypeOfFunction(q,G,N);var ae=ie&&definitionFromType(ie,N,$);return ae&&ae.length!==0?ae:definitionFromType(G,N,$)}N.getTypeDefinitionAtPosition=getTypeDefinitionAtPosition;function definitionFromType(N,R,j){return E.flatMap(N.isUnion()&&!(N.flags&32)?N.types:[N],(function(E){return E.symbol&&getDefinitionFromSymbol(R,E.symbol,j)}))}function tryGetReturnTypeOfFunction(N,R,j){if(R.symbol===N||N.valueDeclaration&&R.symbol&&E.isVariableDeclaration(N.valueDeclaration)&&N.valueDeclaration.initializer===R.symbol.valueDeclaration){var $=R.getCallSignatures();if($.length===1)return j.getReturnTypeOfSignature(E.first($))}return undefined}function getDefinitionAndBoundSpan(N,R,j){var $=getDefinitionAtPosition(N,R,j);if(!$||$.length===0){return undefined}var q=findReferenceInPosition(R.referencedFiles,j)||findReferenceInPosition(R.typeReferenceDirectives,j)||findReferenceInPosition(R.libReferenceDirectives,j);if(q){return{definitions:$,textSpan:E.createTextSpanFromRange(q)}}var G=E.getTouchingPropertyName(R,j);var ie=E.createTextSpan(G.getStart(),G.getWidth());return{definitions:$,textSpan:ie}}N.getDefinitionAndBoundSpan=getDefinitionAndBoundSpan;function getDefinitionInfoForIndexSignatures(N,R){return E.mapDefined(R.getIndexInfosAtLocation(N),(function(E){return E.declaration&&createDefinitionFromSignatureDeclaration(R,E.declaration)}))}function getSymbol(E,N){var R=N.getSymbolAtLocation(E);if((R===null||R===void 0?void 0:R.declarations)&&R.flags&2097152&&shouldSkipAlias(E,R.declarations[0])){var j=N.getAliasedSymbol(R);if(j.declarations){return j}}return R}function shouldSkipAlias(N,R){if(N.kind!==79){return false}if(N.parent===R){return true}switch(R.kind){case 265:case 263:return true;case 268:return R.parent.kind===267;case 201:case 252:return E.isInJSFile(R)&&E.isRequireVariableDeclaration(R);default:return false}}function getDefinitionFromSymbol(N,R,j,$){var q=E.filter(R.declarations,(function(N){return N!==$&&(!E.isAssignmentDeclaration(N)||N===R.valueDeclaration)}))||undefined;return getConstructSignatureDefinition()||getCallSignatureDefinition()||E.map(q,(function(E){return createDefinitionInfo(E,N,R,j)}));function getConstructSignatureDefinition(){if(R.flags&32&&!(R.flags&(16|3))&&(E.isNewExpressionTarget(j)||j.kind===133)){var N=E.find(q,E.isClassLike)||E.Debug.fail("Expected declaration to have at least one class-like declaration");return getSignatureDefinition(N.members,true)}}function getCallSignatureDefinition(){return E.isCallOrNewExpressionTarget(j)||E.isNameOfFunctionDeclaration(j)?getSignatureDefinition(q,false):undefined}function getSignatureDefinition($,q){if(!$){return undefined}var G=$.filter(q?E.isConstructorDeclaration:E.isFunctionLike);var ie=G.filter((function(E){return!!E.body}));return G.length?ie.length!==0?ie.map((function(E){return createDefinitionInfo(E,N,R,j)})):[createDefinitionInfo(E.last(G),N,R,j)]:undefined}}function createDefinitionInfo(N,R,j,$){var q=R.symbolToString(j);var G=E.SymbolDisplay.getSymbolKind(R,j,$);var ie=j.parent?R.symbolToString(j.parent,$):"";return createDefinitionInfoFromName(R,N,G,q,ie)}function createDefinitionInfoFromName(N,R,j,q,G,ie){var ae=R.getSourceFile();if(!ie){var ce=E.getNameOfDeclaration(R)||R;ie=E.createTextSpanFromNode(ce,ae)}return $($({fileName:ae.fileName,textSpan:ie,kind:j,name:q,containerKind:undefined,containerName:G},E.FindAllReferences.toContextSpan(ie,ae,E.FindAllReferences.getContextNode(R))),{isLocal:!isDefinitionVisible(N,R)})}function isDefinitionVisible(N,R){if(N.isDeclarationVisible(R))return true;if(!R.parent)return false;if(E.hasInitializer(R.parent)&&R.parent.initializer===R)return isDefinitionVisible(N,R.parent);switch(R.kind){case 165:case 170:case 171:case 167:if(E.hasEffectiveModifier(R,8))return false;case 169:case 291:case 292:case 203:case 224:case 212:case 211:return isDefinitionVisible(N,R.parent);default:return false}}function createDefinitionFromSignatureDeclaration(E,N){return createDefinitionInfo(N,E,N.symbol,N)}function findReferenceInPosition(N,R){return E.find(N,(function(N){return E.textRangeContainsPositionInclusive(N,R)}))}N.findReferenceInPosition=findReferenceInPosition;function getDefinitionInfoForFileReference(N,R,j){return{fileName:R,textSpan:E.createTextSpanFromBounds(0,0),kind:"script",name:N,containerName:undefined,containerKind:undefined,unverified:j}}function getAncestorCallLikeExpression(N){var R=E.findAncestor(N,(function(N){return!E.isRightSideOfPropertyAccess(N)}));var j=R===null||R===void 0?void 0:R.parent;return j&&E.isCallLikeExpression(j)&&E.getInvokedExpression(j)===R?j:undefined}function tryGetSignatureDeclaration(N,R){var j=getAncestorCallLikeExpression(R);var $=j&&N.getResolvedSignature(j);return E.tryCast($&&$.declaration,(function(N){return E.isFunctionLike(N)&&!E.isFunctionTypeNode(N)}))}function isConstructorLike(E){switch(E.kind){case 169:case 178:case 173:return true;default:return false}}})(N=E.GoToDefinition||(E.GoToDefinition={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","link","listens","member","memberof","method","mixes","module","name","namespace","override","package","param","private","property","protected","public","readonly","requires","returns","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"];var $;var q;function getJsDocCommentsFromDeclarations(N,R){var j=[];E.forEachUnique(N,(function(N){for(var $=0,q=getCommentHavingNodes(N);$<q.length;$++){var G=q[$];if(G.comment===undefined||E.isJSDoc(G)&&N.kind!==340&&N.kind!==333&&G.tags&&G.tags.some((function(E){return E.kind===340||E.kind===333}))&&!G.tags.some((function(E){return E.kind===335||E.kind===336}))){continue}var ie=getDisplayPartsFromComment(G.comment,R);if(!E.contains(j,ie,isIdenticalListOfDisplayParts)){j.push(ie)}}}));return E.flatten(E.intersperse(j,[E.lineBreakPart()]))}N.getJsDocCommentsFromDeclarations=getJsDocCommentsFromDeclarations;function isIdenticalListOfDisplayParts(N,R){return E.arraysEqual(N,R,(function(E,N){return E.kind===N.kind&&E.text===N.text}))}function getCommentHavingNodes(N){switch(N.kind){case 335:case 342:return[N];case 333:case 340:return[N,N.parent];default:return E.getJSDocCommentsAndTags(N)}}function getJsDocTagsFromDeclarations(N,R){var j=[];E.forEachUnique(N,(function(N){var $=E.getJSDocTags(N);if($.some((function(E){return E.kind===340||E.kind===333}))&&!$.some((function(E){return E.kind===335||E.kind===336}))){return}for(var q=0,G=$;q<G.length;q++){var ie=G[q];j.push({name:ie.tagName.text,text:getCommentDisplayParts(ie,R)})}}));return j}N.getJsDocTagsFromDeclarations=getJsDocTagsFromDeclarations;function getDisplayPartsFromComment(N,R){if(typeof N==="string"){return[E.textPart(N)]}return E.flatMap(N,(function(N){return N.kind===316?[E.textPart(N.text)]:E.buildLinkParts(N,R)}))}function getCommentDisplayParts(N,R){var $=N.comment,q=N.kind;var G=getTagNameDisplayPart(q);switch(q){case 324:return withNode(N.class);case 323:return withNode(N.class);case 339:return addComment(N.typeParameters.map((function(E){return E.getText()})).join(", "));case 338:return withNode(N.typeExpression);case 340:case 333:case 342:case 335:case 341:var ie=N.name;return ie?withNode(ie):$===undefined?undefined:getDisplayPartsFromComment($,R);default:return $===undefined?undefined:getDisplayPartsFromComment($,R)}function withNode(E){return addComment(E.getText())}function addComment(N){if($){if(N.match(/^https?$/)){return j([E.textPart(N)],getDisplayPartsFromComment($,R),true)}else{return j([G(N),E.spacePart()],getDisplayPartsFromComment($,R),true)}}else{return[E.textPart(N)]}}}function getTagNameDisplayPart(N){switch(N){case 335:return E.parameterNamePart;case 342:return E.propertyNamePart;case 339:return E.typeParameterNamePart;case 340:case 333:return E.typeAliasNamePart;default:return E.textPart}}function getJSDocTagNameCompletions(){return $||($=E.map(R,(function(N){return{name:N,kind:"keyword",kindModifiers:"",sortText:E.Completions.SortText.LocationPriority}})))}N.getJSDocTagNameCompletions=getJSDocTagNameCompletions;N.getJSDocTagNameCompletionDetails=getJSDocTagCompletionDetails;function getJSDocTagCompletions(){return q||(q=E.map(R,(function(N){return{name:"@"+N,kind:"keyword",kindModifiers:"",sortText:E.Completions.SortText.LocationPriority}})))}N.getJSDocTagCompletions=getJSDocTagCompletions;function getJSDocTagCompletionDetails(N){return{name:N,kind:"",kindModifiers:"",displayParts:[E.textPart(N)],documentation:E.emptyArray,tags:undefined,codeActions:undefined}}N.getJSDocTagCompletionDetails=getJSDocTagCompletionDetails;function getJSDocParameterNameCompletions(N){if(!E.isIdentifier(N.name)){return E.emptyArray}var R=N.name.text;var j=N.parent;var $=j.parent;if(!E.isFunctionLike($))return[];return E.mapDefined($.parameters,(function($){if(!E.isIdentifier($.name))return undefined;var q=$.name.text;if(j.tags.some((function(R){return R!==N&&E.isJSDocParameterTag(R)&&E.isIdentifier(R.name)&&R.name.escapedText===q}))||R!==undefined&&!E.startsWith(q,R)){return undefined}return{name:q,kind:"parameter",kindModifiers:"",sortText:E.Completions.SortText.LocationPriority}}))}N.getJSDocParameterNameCompletions=getJSDocParameterNameCompletions;function getJSDocParameterNameCompletionDetails(N){return{name:N,kind:"parameter",kindModifiers:"",displayParts:[E.textPart(N)],documentation:E.emptyArray,tags:undefined,codeActions:undefined}}N.getJSDocParameterNameCompletionDetails=getJSDocParameterNameCompletionDetails;function getDocCommentTemplateAtPosition(N,R,j,$){var q=E.getTokenAtPosition(R,j);var G=E.findAncestor(q,E.isJSDoc);if(G&&(G.comment!==undefined||E.length(G.tags))){return undefined}var ie=q.getStart(R);if(!G&&ie<j){return undefined}var ae=getCommentOwnerInfo(q,$);if(!ae){return undefined}var ce=ae.commentOwner,le=ae.parameters,_e=ae.hasReturn;if(ce.getStart(R)<j){return undefined}var Ee=getIndentationStringAtPosition(R,j);var Te=E.hasJSFileExtension(R.fileName);var we=(le?parameterDocComments(le||[],Te,Ee,N):"")+(_e?returnsDocComment(Ee,N):"");var Ie="/**";var Ne=" */";if(we){var Me=Ie+N+Ee+" * ";var Le=ie===j?N+Ee:"";var Be=Me+N+we+Ee+Ne+Le;return{newText:Be,caretOffset:Me.length}}return{newText:Ie+Ne,caretOffset:3}}N.getDocCommentTemplateAtPosition=getDocCommentTemplateAtPosition;function getIndentationStringAtPosition(N,R){var j=N.text;var $=E.getLineStartPositionForPosition(R,N);var q=$;for(;q<=R&&E.isWhiteSpaceSingleLine(j.charCodeAt(q));q++);return j.slice($,q)}function parameterDocComments(E,N,R,j){return E.map((function(E,$){var q=E.name,G=E.dotDotDotToken;var ie=q.kind===79?q.text:"param"+$;var ae=N?G?"{...any} ":"{any} ":"";return R+" * @param "+ae+ie+j})).join("")}function returnsDocComment(E,N){return E+" * @returns"+N}function getCommentOwnerInfo(N,R){return E.forEachAncestor(N,(function(E){return getCommentOwnerInfoWorker(E,R)}))}function getCommentOwnerInfoWorker(N,R){switch(N.kind){case 254:case 211:case 167:case 169:case 166:case 212:var j=N;return{commentOwner:N,parameters:j.parameters,hasReturn:hasReturn(j,R)};case 291:return getCommentOwnerInfoWorker(N.initializer,R);case 255:case 256:case 164:case 258:case 294:case 257:return{commentOwner:N};case 235:{var $=N;var q=$.declarationList.declarations;var G=q.length===1&&q[0].initializer?getRightHandSideOfAssignment(q[0].initializer):undefined;return G?{commentOwner:N,parameters:G.parameters,hasReturn:hasReturn(G,R)}:{commentOwner:N}}case 300:return"quit";case 259:return N.parent.kind===259?undefined:{commentOwner:N};case 236:return getCommentOwnerInfoWorker(N.expression,R);case 219:{var ie=N;if(E.getAssignmentDeclarationKind(ie)===0){return"quit"}return E.isFunctionLike(ie.right)?{commentOwner:N,parameters:ie.right.parameters,hasReturn:hasReturn(ie.right,R)}:{commentOwner:N}}case 165:var ae=N.initializer;if(ae&&(E.isFunctionExpression(ae)||E.isArrowFunction(ae))){return{commentOwner:N,parameters:ae.parameters,hasReturn:hasReturn(ae,R)}}}}function hasReturn(N,R){return!!(R===null||R===void 0?void 0:R.generateReturnInDocTemplate)&&(E.isArrowFunction(N)&&E.isExpression(N.body)||E.isFunctionLikeDeclaration(N)&&N.body&&E.isBlock(N.body)&&!!E.forEachReturnStatement(N.body,(function(E){return E})))}function getRightHandSideOfAssignment(N){while(N.kind===210){N=N.expression}switch(N.kind){case 211:case 212:return N;case 224:return E.find(N.members,E.isConstructorDeclaration)}}})(N=E.JsDoc||(E.JsDoc={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function getNavigateToItems(N,R,j,$,q,G){var ie=E.createPatternMatcher($);if(!ie)return E.emptyArray;var ae=[];var _loop_6=function(E){j.throwIfCancellationRequested();if(G&&E.isDeclarationFile){return"continue"}E.getNamedDeclarations().forEach((function(N,j){getItemsFromNamedDeclaration(ie,j,N,R,E.fileName,ae)}))};for(var ce=0,le=N;ce<le.length;ce++){var _e=le[ce];_loop_6(_e)}ae.sort(compareNavigateToItems);return(q===undefined?ae:ae.slice(0,q)).map(createNavigateToItem)}N.getNavigateToItems=getNavigateToItems;function getItemsFromNamedDeclaration(E,N,R,j,$,q){var G=E.getMatchForLastSegmentOfPattern(N);if(!G){return}for(var ie=0,ae=R;ie<ae.length;ie++){var ce=ae[ie];if(!shouldKeepItem(ce,j))continue;if(E.patternContainsDots){var le=E.getFullMatch(getContainers(ce),N);if(le){q.push({name:N,fileName:$,matchKind:le.kind,isCaseSensitive:le.isCaseSensitive,declaration:ce})}}else{q.push({name:N,fileName:$,matchKind:G.kind,isCaseSensitive:G.isCaseSensitive,declaration:ce})}}}function shouldKeepItem(E,N){switch(E.kind){case 265:case 268:case 263:var R=N.getSymbolAtLocation(E.name);var j=N.getAliasedSymbol(R);return R.escapedName!==j.escapedName;default:return true}}function tryAddSingleDeclarationName(N,R){var j=E.getNameOfDeclaration(N);return!!j&&(pushLiteral(j,R)||j.kind===160&&tryAddComputedPropertyName(j.expression,R))}function tryAddComputedPropertyName(N,R){return pushLiteral(N,R)||E.isPropertyAccessExpression(N)&&(R.push(N.name.text),true)&&tryAddComputedPropertyName(N.expression,R)}function pushLiteral(N,R){return E.isPropertyNameLiteral(N)&&(R.push(E.getTextOfIdentifierOrLiteral(N)),true)}function getContainers(N){var R=[];var j=E.getNameOfDeclaration(N);if(j&&j.kind===160&&!tryAddComputedPropertyName(j.expression,R)){return E.emptyArray}R.shift();var $=E.getContainerNode(N);while($){if(!tryAddSingleDeclarationName($,R)){return E.emptyArray}$=E.getContainerNode($)}return R.reverse()}function compareNavigateToItems(N,R){return E.compareValues(N.matchKind,R.matchKind)||E.compareStringsCaseSensitiveUI(N.name,R.name)}function createNavigateToItem(N){var R=N.declaration;var j=E.getContainerNode(R);var $=j&&E.getNameOfDeclaration(j);return{name:N.name,kind:E.getNodeKind(R),kindModifiers:E.getNodeModifiers(R),matchKind:E.PatternMatchKind[N.matchKind],isCaseSensitive:N.isCaseSensitive,fileName:N.fileName,textSpan:E.createTextSpanFromNode(R),containerName:$?$.text:"",containerKind:$?E.getNodeKind(j):""}}})(N=E.NavigateTo||(E.NavigateTo={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;var j=/\s+/g;var q=150;var G;var ie;var ae=[];var ce;var le=[];var _e;var Ee=[];function getNavigationBarItems(N,R){G=R;ie=N;try{return E.map(primaryNavBarMenuItems(rootNavigationBarNode(N)),convertToPrimaryNavBarMenuItem)}finally{reset()}}N.getNavigationBarItems=getNavigationBarItems;function getNavigationTree(E,N){G=N;ie=E;try{return convertToTree(rootNavigationBarNode(E))}finally{reset()}}N.getNavigationTree=getNavigationTree;function reset(){ie=undefined;G=undefined;ae=[];ce=undefined;Ee=[]}function nodeText(E){return cleanText(E.getText(ie))}function navigationBarNodeKind(E){return E.node.kind}function pushChild(E,N){if(E.children){E.children.push(N)}else{E.children=[N]}}function rootNavigationBarNode(N){E.Debug.assert(!ae.length);var R={node:N,name:undefined,additionalNodes:undefined,parent:undefined,children:undefined,indent:0};ce=R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];addChildrenRecursively(q)}endNode();E.Debug.assert(!ce&&!ae.length);return R}function addLeafNode(E,N){pushChild(ce,emptyNavigationBarNode(E,N))}function emptyNavigationBarNode(N,R){return{node:N,name:R||(E.isDeclaration(N)||E.isExpression(N)?E.getNameOfDeclaration(N):undefined),additionalNodes:undefined,parent:ce,children:undefined,indent:ce.indent+1}}function addTrackedEs5Class(N){if(!_e){_e=new E.Map}_e.set(N,true)}function endNestedNodes(E){for(var N=0;N<E;N++)endNode()}function startNestedNodes(N,R){var j=[];while(!E.isPropertyNameLiteral(R)){var $=E.getNameOrArgument(R);var q=E.getElementOrPropertyAccessName(R);R=R.expression;if(q==="prototype"||E.isPrivateIdentifier($))continue;j.push($)}j.push(R);for(var G=j.length-1;G>0;G--){var $=j[G];startNode(N,$)}return[j.length-1,j[0]]}function startNode(E,N){var R=emptyNavigationBarNode(E,N);pushChild(ce,R);ae.push(ce);le.push(_e);_e=undefined;ce=R}function endNode(){if(ce.children){mergeChildren(ce.children,ce);sortChildren(ce.children)}ce=ae.pop();_e=le.pop()}function addNodeWithRecursiveChild(E,N,R){startNode(E,R);addChildrenRecursively(N);endNode()}function addNodeWithRecursiveInitializer(N){if(N.initializer&&isFunctionOrClassExpression(N.initializer)){startNode(N);E.forEachChild(N.initializer,addChildrenRecursively);endNode()}else{addNodeWithRecursiveChild(N,N.initializer)}}function hasNavigationBarName(N){return!E.hasDynamicName(N)||N.kind!==219&&E.isPropertyAccessExpression(N.name.expression)&&E.isIdentifier(N.name.expression.expression)&&E.idText(N.name.expression.expression)==="Symbol"}function addChildrenRecursively(N){var R;G.throwIfCancellationRequested();if(!N||E.isToken(N)){return}switch(N.kind){case 169:var j=N;addNodeWithRecursiveChild(j,j.body);for(var $=0,q=j.parameters;$<q.length;$++){var ie=q[$];if(E.isParameterPropertyDeclaration(ie,j)){addLeafNode(ie)}}break;case 167:case 170:case 171:case 166:if(hasNavigationBarName(N)){addNodeWithRecursiveChild(N,N.body)}break;case 165:if(hasNavigationBarName(N)){addNodeWithRecursiveInitializer(N)}break;case 164:if(hasNavigationBarName(N)){addLeafNode(N)}break;case 265:var ae=N;if(ae.name){addLeafNode(ae.name)}var ce=ae.namedBindings;if(ce){if(ce.kind===266){addLeafNode(ce)}else{for(var le=0,Ee=ce.elements;le<Ee.length;le++){var Te=Ee[le];addLeafNode(Te)}}}break;case 292:addNodeWithRecursiveChild(N,N.name);break;case 293:var we=N.expression;E.isIdentifier(we)?addLeafNode(N,we):addLeafNode(N);break;case 201:case 291:case 252:{var Ie=N;if(E.isBindingPattern(Ie.name)){addChildrenRecursively(Ie.name)}else{addNodeWithRecursiveInitializer(Ie)}break}case 254:var Ne=N.name;if(Ne&&E.isIdentifier(Ne)){addTrackedEs5Class(Ne.text)}addNodeWithRecursiveChild(N,N.body);break;case 212:case 211:addNodeWithRecursiveChild(N,N.body);break;case 258:startNode(N);for(var Me=0,Le=N.members;Me<Le.length;Me++){var Be=Le[Me];if(!isComputedProperty(Be)){addLeafNode(Be)}}endNode();break;case 255:case 224:case 256:startNode(N);for(var je=0,Ue=N.members;je<Ue.length;je++){var Be=Ue[je];addChildrenRecursively(Be)}endNode();break;case 259:addNodeWithRecursiveChild(N,getInteriorModule(N).body);break;case 269:{var ze=N.expression;var Ie=E.isObjectLiteralExpression(ze)||E.isCallExpression(ze)?ze:E.isArrowFunction(ze)||E.isFunctionExpression(ze)?ze.body:undefined;if(Ie){startNode(N);addChildrenRecursively(Ie);endNode()}else{addLeafNode(N)}break}case 273:case 263:case 174:case 172:case 173:case 257:addLeafNode(N);break;case 206:case 219:{var We=E.getAssignmentDeclarationKind(N);switch(We){case 1:case 2:addNodeWithRecursiveChild(N,N.right);return;case 6:case 3:{var Je=N;var Ve=Je.left;var qe=We===3?Ve.expression:Ve;var He=0;var Ge=void 0;if(E.isIdentifier(qe.expression)){addTrackedEs5Class(qe.expression.text);Ge=qe.expression}else{R=startNestedNodes(Je,qe.expression),He=R[0],Ge=R[1]}if(We===6){if(E.isObjectLiteralExpression(Je.right)){if(Je.right.properties.length>0){startNode(Je,Ge);E.forEachChild(Je.right,addChildrenRecursively);endNode()}}}else if(E.isFunctionExpression(Je.right)||E.isArrowFunction(Je.right)){addNodeWithRecursiveChild(N,Je.right,Ge)}else{startNode(Je,Ge);addNodeWithRecursiveChild(N,Je.right,Ve.name);endNode()}endNestedNodes(He);return}case 7:case 9:{var Ke=N;var Ge=We===7?Ke.arguments[0]:Ke.arguments[0].expression;var Qe=Ke.arguments[1];var Xe=startNestedNodes(N,Ge),He=Xe[0],Ye=Xe[1];startNode(N,Ye);startNode(N,E.setTextRange(E.factory.createIdentifier(Qe.text),Qe));addChildrenRecursively(N.arguments[2]);endNode();endNode();endNestedNodes(He);return}case 5:{var Je=N;var Ve=Je.left;var Ze=Ve.expression;if(E.isIdentifier(Ze)&&E.getElementOrPropertyAccessName(Ve)!=="prototype"&&_e&&_e.has(Ze.text)){if(E.isFunctionExpression(Je.right)||E.isArrowFunction(Je.right)){addNodeWithRecursiveChild(N,Je.right,Ze)}else if(E.isBindableStaticAccessExpression(Ve)){startNode(Je,Ze);addNodeWithRecursiveChild(Je.left,Je.right,E.getNameOrArgument(Ve));endNode()}return}break}case 4:case 0:case 8:break;default:E.Debug.assertNever(We)}}default:if(E.hasJSDocNodes(N)){E.forEach(N.jsDoc,(function(N){E.forEach(N.tags,(function(N){if(E.isJSDocTypeAlias(N)){addLeafNode(N)}}))}))}E.forEachChild(N,addChildrenRecursively)}}function mergeChildren(N,R){var j=new E.Map;E.filterMutate(N,(function(N,$){var q=N.name||E.getNameOfDeclaration(N.node);var G=q&&nodeText(q);if(!G){return true}var ie=j.get(G);if(!ie){j.set(G,N);return true}if(ie instanceof Array){for(var ae=0,ce=ie;ae<ce.length;ae++){var le=ce[ae];if(tryMerge(le,N,$,R)){return false}}ie.push(N);return true}else{var le=ie;if(tryMerge(le,N,$,R)){return false}j.set(G,[le,N]);return true}}))}var Te=(R={},R[5]=true,R[3]=true,R[7]=true,R[9]=true,R[0]=false,R[1]=false,R[2]=false,R[8]=false,R[6]=true,R[4]=false,R);function tryMergeEs5Class(N,R,j,q){function isPossibleConstructor(N){return E.isFunctionExpression(N)||E.isFunctionDeclaration(N)||E.isVariableDeclaration(N)}var G=E.isBinaryExpression(R.node)||E.isCallExpression(R.node)?E.getAssignmentDeclarationKind(R.node):0;var ie=E.isBinaryExpression(N.node)||E.isCallExpression(N.node)?E.getAssignmentDeclarationKind(N.node):0;if(Te[G]&&Te[ie]||isPossibleConstructor(N.node)&&Te[G]||isPossibleConstructor(R.node)&&Te[ie]||E.isClassDeclaration(N.node)&&isSynthesized(N.node)&&Te[G]||E.isClassDeclaration(R.node)&&Te[ie]||E.isClassDeclaration(N.node)&&isSynthesized(N.node)&&isPossibleConstructor(R.node)||E.isClassDeclaration(R.node)&&isPossibleConstructor(N.node)&&isSynthesized(N.node)){var ae=N.additionalNodes&&E.lastOrUndefined(N.additionalNodes)||N.node;if(!E.isClassDeclaration(N.node)&&!E.isClassDeclaration(R.node)||isPossibleConstructor(N.node)||isPossibleConstructor(R.node)){var ce=isPossibleConstructor(N.node)?N.node:isPossibleConstructor(R.node)?R.node:undefined;if(ce!==undefined){var le=E.setTextRange(E.factory.createConstructorDeclaration(undefined,undefined,[],undefined),ce);var _e=emptyNavigationBarNode(le);_e.indent=N.indent+1;_e.children=N.node===ce?N.children:R.children;N.children=N.node===ce?E.concatenate([_e],R.children||[R]):E.concatenate(N.children||[$({},N)],[_e])}else{if(N.children||R.children){N.children=E.concatenate(N.children||[$({},N)],R.children||[R]);if(N.children){mergeChildren(N.children,N);sortChildren(N.children)}}}ae=N.node=E.setTextRange(E.factory.createClassDeclaration(undefined,undefined,N.name||E.factory.createIdentifier("__class__"),undefined,undefined,[]),N.node)}else{N.children=E.concatenate(N.children,R.children);if(N.children){mergeChildren(N.children,N)}}var Ee=R.node;if(q.children[j-1].node.end===ae.end){E.setTextRange(ae,{pos:ae.pos,end:Ee.end})}else{if(!N.additionalNodes)N.additionalNodes=[];N.additionalNodes.push(E.setTextRange(E.factory.createClassDeclaration(undefined,undefined,N.name||E.factory.createIdentifier("__class__"),undefined,undefined,[]),R.node))}return true}return G===0?false:true}function tryMerge(E,N,R,j){if(tryMergeEs5Class(E,N,R,j)){return true}if(shouldReallyMerge(E.node,N.node,j)){merge(E,N);return true}return false}function shouldReallyMerge(N,R,j){if(N.kind!==R.kind||N.parent!==R.parent&&!(isOwnChild(N,j)&&isOwnChild(R,j))){return false}switch(N.kind){case 165:case 167:case 170:case 171:return E.isStatic(N)===E.isStatic(R);case 259:return areSameModule(N,R)&&getFullyQualifiedModuleName(N)===getFullyQualifiedModuleName(R);default:return true}}function isSynthesized(E){return!!(E.flags&8)}function isOwnChild(N,R){var j=E.isModuleBlock(N.parent)?N.parent.parent:N.parent;return j===R.node||E.contains(R.additionalNodes,j)}function areSameModule(E,N){return E.body.kind===N.body.kind&&(E.body.kind!==259||areSameModule(E.body,N.body))}function merge(N,R){var j;N.additionalNodes=N.additionalNodes||[];N.additionalNodes.push(R.node);if(R.additionalNodes){(j=N.additionalNodes).push.apply(j,R.additionalNodes)}N.children=E.concatenate(N.children,R.children);if(N.children){mergeChildren(N.children,N);sortChildren(N.children)}}function sortChildren(E){E.sort(compareChildren)}function compareChildren(N,R){return E.compareStringsCaseSensitiveUI(tryGetName(N.node),tryGetName(R.node))||E.compareValues(navigationBarNodeKind(N),navigationBarNodeKind(R))}function tryGetName(N){if(N.kind===259){return getModuleName(N)}var R=E.getNameOfDeclaration(N);if(R&&E.isPropertyName(R)){var j=E.getPropertyNameForPropertyNameNode(R);return j&&E.unescapeLeadingUnderscores(j)}switch(N.kind){case 211:case 212:case 224:return getFunctionOrClassName(N);default:return undefined}}function getItemName(N,R){if(N.kind===259){return cleanText(getModuleName(N))}if(R){var j=E.isIdentifier(R)?R.text:E.isElementAccessExpression(R)?"["+nodeText(R.argumentExpression)+"]":nodeText(R);if(j.length>0){return cleanText(j)}}switch(N.kind){case 300:var $=N;return E.isExternalModule($)?'"'+E.escapeString(E.getBaseFileName(E.removeFileExtension(E.normalizePath($.fileName))))+'"':"<global>";case 269:return E.isExportAssignment(N)&&N.isExportEquals?"export=":"default";case 212:case 254:case 211:case 255:case 224:if(E.getSyntacticModifierFlags(N)&512){return"default"}return getFunctionOrClassName(N);case 169:return"constructor";case 173:return"new()";case 172:return"()";case 174:return"[]";default:return"<unknown>"}}function primaryNavBarMenuItems(E){var N=[];function recur(E){if(shouldAppearInPrimaryNavBarMenu(E)){N.push(E);if(E.children){for(var R=0,j=E.children;R<j.length;R++){var $=j[R];recur($)}}}}recur(E);return N;function shouldAppearInPrimaryNavBarMenu(E){if(E.children){return true}switch(navigationBarNodeKind(E)){case 255:case 224:case 258:case 256:case 259:case 300:case 257:case 340:case 333:return true;case 212:case 254:case 211:return isTopLevelFunctionDeclaration(E);default:return false}function isTopLevelFunctionDeclaration(E){if(!E.node.body){return false}switch(navigationBarNodeKind(E.parent)){case 260:case 300:case 167:case 169:return true;default:return false}}}}function convertToTree(N){return{text:getItemName(N.node,N.name),kind:E.getNodeKind(N.node),kindModifiers:getModifiers(N.node),spans:getSpans(N),nameSpan:N.name&&getNodeSpan(N.name),childItems:E.map(N.children,convertToTree)}}function convertToPrimaryNavBarMenuItem(N){return{text:getItemName(N.node,N.name),kind:E.getNodeKind(N.node),kindModifiers:getModifiers(N.node),spans:getSpans(N),childItems:E.map(N.children,convertToSecondaryNavBarMenuItem)||Ee,indent:N.indent,bolded:false,grayed:false};function convertToSecondaryNavBarMenuItem(N){return{text:getItemName(N.node,N.name),kind:E.getNodeKind(N.node),kindModifiers:E.getNodeModifiers(N.node),spans:getSpans(N),childItems:Ee,indent:0,bolded:false,grayed:false}}}function getSpans(E){var N=[getNodeSpan(E.node)];if(E.additionalNodes){for(var R=0,j=E.additionalNodes;R<j.length;R++){var $=j[R];N.push(getNodeSpan($))}}return N}function getModuleName(N){if(E.isAmbientModule(N)){return E.getTextOfNode(N.name)}return getFullyQualifiedModuleName(N)}function getFullyQualifiedModuleName(N){var R=[E.getTextOfIdentifierOrLiteral(N.name)];while(N.body&&N.body.kind===259){N=N.body;R.push(E.getTextOfIdentifierOrLiteral(N.name))}return R.join(".")}function getInteriorModule(N){return N.body&&E.isModuleDeclaration(N.body)?getInteriorModule(N.body):N}function isComputedProperty(E){return!E.name||E.name.kind===160}function getNodeSpan(N){return N.kind===300?E.createTextSpanFromRange(N):E.createTextSpanFromNode(N,ie)}function getModifiers(N){if(N.parent&&N.parent.kind===252){N=N.parent}return E.getNodeModifiers(N)}function getFunctionOrClassName(N){var R=N.parent;if(N.name&&E.getFullWidth(N.name)>0){return cleanText(E.declarationNameToString(N.name))}else if(E.isVariableDeclaration(R)){return cleanText(E.declarationNameToString(R.name))}else if(E.isBinaryExpression(R)&&R.operatorToken.kind===63){return nodeText(R.left).replace(j,"")}else if(E.isPropertyAssignment(R)){return nodeText(R.name)}else if(E.getSyntacticModifierFlags(N)&512){return"default"}else if(E.isClassLike(N)){return"<class>"}else if(E.isCallExpression(R)){var $=getCalledExpressionName(R.expression);if($!==undefined){$=cleanText($);if($.length>q){return $+" callback"}var G=cleanText(E.mapDefined(R.arguments,(function(N){return E.isStringLiteralLike(N)?N.getText(ie):undefined})).join(", "));return $+"("+G+") callback"}}return"<function>"}function getCalledExpressionName(N){if(E.isIdentifier(N)){return N.text}else if(E.isPropertyAccessExpression(N)){var R=getCalledExpressionName(N.expression);var j=N.name.text;return R===undefined?j:R+"."+j}else{return undefined}}function isFunctionOrClassExpression(E){switch(E.kind){case 212:case 211:case 224:return true;default:return false}}function cleanText(E){E=E.length>q?E.substring(0,q)+"...":E;return E.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(N=E.NavigationBar||(E.NavigationBar={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function organizeImports(N,R,j,$,q,G){var ie=E.textChanges.ChangeTracker.fromContext({host:j,formatContext:R,preferences:q});var coalesceAndOrganizeImports=function(R){return E.stableSort(coalesceImports(removeUnusedImports(R,N,$,G)),(function(E,N){return compareImportsOrRequireStatements(E,N)}))};var ae=N.statements.filter(E.isImportDeclaration);organizeImportsWorker(ae,coalesceAndOrganizeImports);var ce=N.statements.filter(E.isExportDeclaration);organizeImportsWorker(ce,coalesceExports);for(var le=0,_e=N.statements.filter(E.isAmbientModule);le<_e.length;le++){var Ee=_e[le];if(!Ee.body){continue}var Te=Ee.body.statements.filter(E.isImportDeclaration);organizeImportsWorker(Te,coalesceAndOrganizeImports);var we=Ee.body.statements.filter(E.isExportDeclaration);organizeImportsWorker(we,coalesceExports)}return ie.getChanges();function organizeImportsWorker($,q){if(E.length($)===0){return}E.suppressLeadingTrivia($[0]);var G=E.group($,(function(E){return getExternalModuleName(E.moduleSpecifier)}));var ae=E.stableSort(G,(function(E,N){return compareModuleSpecifiers(E[0].moduleSpecifier,N[0].moduleSpecifier)}));var ce=E.flatMap(ae,(function(E){return getExternalModuleName(E[0].moduleSpecifier)?q(E):E}));if(ce.length===0){ie.deleteNodes(N,$,{trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include},true)}else{var le={leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include,suffix:E.getNewLineOrDefaultFromHost(j,R.options)};ie.replaceNodeWithNodes(N,$[0],ce,le);var _e=ie.nodeHasTrailingComment(N,$[0],le);ie.deleteNodes(N,$.slice(1),{trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include},_e)}}}N.organizeImports=organizeImports;function removeUnusedImports(N,R,j,$){if($){return N}var q=j.getTypeChecker();var G=q.getJsxNamespace(R);var ie=q.getJsxFragmentFactory(R);var ae=!!(R.transformFlags&2);var ce=[];for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];var Te=Ee.importClause,we=Ee.moduleSpecifier;if(!Te){ce.push(Ee);continue}var Ie=Te.name,Ne=Te.namedBindings;if(Ie&&!isDeclarationUsed(Ie)){Ie=undefined}if(Ne){if(E.isNamespaceImport(Ne)){if(!isDeclarationUsed(Ne.name)){Ne=undefined}}else{var Me=Ne.elements.filter((function(E){return isDeclarationUsed(E.name)}));if(Me.length<Ne.elements.length){Ne=Me.length?E.factory.updateNamedImports(Ne,Me):undefined}}}if(Ie||Ne){ce.push(updateImportDeclarationAndClause(Ee,Ie,Ne))}else if(hasModuleDeclarationMatchingSpecifier(R,we)){if(R.isDeclarationFile){ce.push(E.factory.createImportDeclaration(Ee.decorators,Ee.modifiers,undefined,we))}else{ce.push(Ee)}}}return ce;function isDeclarationUsed(N){return ae&&(N.text===G||ie&&N.text===ie)||E.FindAllReferences.Core.isSymbolReferencedInFile(N,q,R)}}function hasModuleDeclarationMatchingSpecifier(N,R){var j=E.isStringLiteral(R)&&R.text;return E.isString(j)&&E.some(N.moduleAugmentations,(function(N){return E.isStringLiteral(N)&&N.text===j}))}function getExternalModuleName(N){return N!==undefined&&E.isStringLiteralLike(N)?N.text:undefined}function coalesceImports(N){var R;if(N.length===0){return N}var j=getCategorizedImports(N),$=j.importWithoutClause,q=j.typeOnlyImports,G=j.regularImports;var ie=[];if($){ie.push($)}for(var ae=0,ce=[G,q];ae<ce.length;ae++){var le=ce[ae];var _e=le===q;var Ee=le.defaultImports,Te=le.namespaceImports,we=le.namedImports;if(!_e&&Ee.length===1&&Te.length===1&&we.length===0){var Ie=Ee[0];ie.push(updateImportDeclarationAndClause(Ie,Ie.importClause.name,Te[0].importClause.namedBindings));continue}var Ne=E.stableSort(Te,(function(E,N){return compareIdentifiers(E.importClause.namedBindings.name,N.importClause.namedBindings.name)}));for(var Me=0,Le=Ne;Me<Le.length;Me++){var Be=Le[Me];ie.push(updateImportDeclarationAndClause(Be,undefined,Be.importClause.namedBindings))}if(Ee.length===0&&we.length===0){continue}var je=void 0;var Ue=[];if(Ee.length===1){je=Ee[0].importClause.name}else{for(var ze=0,We=Ee;ze<We.length;ze++){var Ie=We[ze];Ue.push(E.factory.createImportSpecifier(E.factory.createIdentifier("default"),Ie.importClause.name))}}Ue.push.apply(Ue,E.flatMap(we,(function(E){return E.importClause.namedBindings.elements})));var Je=sortSpecifiers(Ue);var Ve=Ee.length>0?Ee[0]:we[0];var qe=Je.length===0?je?undefined:E.factory.createNamedImports(E.emptyArray):we.length===0?E.factory.createNamedImports(Je):E.factory.updateNamedImports(we[0].importClause.namedBindings,Je);if(_e&&je&&qe){ie.push(updateImportDeclarationAndClause(Ve,je,undefined));ie.push(updateImportDeclarationAndClause((R=we[0])!==null&&R!==void 0?R:Ve,undefined,qe))}else{ie.push(updateImportDeclarationAndClause(Ve,je,qe))}}return ie}N.coalesceImports=coalesceImports;function getCategorizedImports(N){var R;var j={defaultImports:[],namespaceImports:[],namedImports:[]};var $={defaultImports:[],namespaceImports:[],namedImports:[]};for(var q=0,G=N;q<G.length;q++){var ie=G[q];if(ie.importClause===undefined){R=R||ie;continue}var ae=ie.importClause.isTypeOnly?j:$;var ce=ie.importClause,le=ce.name,_e=ce.namedBindings;if(le){ae.defaultImports.push(ie)}if(_e){if(E.isNamespaceImport(_e)){ae.namespaceImports.push(ie)}else{ae.namedImports.push(ie)}}}return{importWithoutClause:R,typeOnlyImports:j,regularImports:$}}function coalesceExports(N){if(N.length===0){return N}var R=getCategorizedExports(N),j=R.exportWithoutClause,$=R.namedExports,q=R.typeOnlyExports;var G=[];if(j){G.push(j)}for(var ie=0,ae=[$,q];ie<ae.length;ie++){var ce=ae[ie];if(ce.length===0){continue}var le=[];le.push.apply(le,E.flatMap(ce,(function(N){return N.exportClause&&E.isNamedExports(N.exportClause)?N.exportClause.elements:E.emptyArray})));var _e=sortSpecifiers(le);var Ee=ce[0];G.push(E.factory.updateExportDeclaration(Ee,Ee.decorators,Ee.modifiers,Ee.isTypeOnly,Ee.exportClause&&(E.isNamedExports(Ee.exportClause)?E.factory.updateNamedExports(Ee.exportClause,_e):E.factory.updateNamespaceExport(Ee.exportClause,Ee.exportClause.name)),Ee.moduleSpecifier))}return G;function getCategorizedExports(E){var N;var R=[];var j=[];for(var $=0,q=E;$<q.length;$++){var G=q[$];if(G.exportClause===undefined){N=N||G}else if(G.isTypeOnly){j.push(G)}else{R.push(G)}}return{exportWithoutClause:N,namedExports:R,typeOnlyExports:j}}}N.coalesceExports=coalesceExports;function updateImportDeclarationAndClause(N,R,j){return E.factory.updateImportDeclaration(N,N.decorators,N.modifiers,E.factory.updateImportClause(N.importClause,N.importClause.isTypeOnly,R,j),N.moduleSpecifier)}function sortSpecifiers(N){return E.stableSort(N,compareImportOrExportSpecifiers)}function compareImportOrExportSpecifiers(E,N){return compareIdentifiers(E.propertyName||E.name,N.propertyName||N.name)||compareIdentifiers(E.name,N.name)}N.compareImportOrExportSpecifiers=compareImportOrExportSpecifiers;function compareModuleSpecifiers(N,R){var j=N===undefined?undefined:getExternalModuleName(N);var $=R===undefined?undefined:getExternalModuleName(R);return E.compareBooleans(j===undefined,$===undefined)||E.compareBooleans(E.isExternalModuleNameRelative(j),E.isExternalModuleNameRelative($))||E.compareStringsCaseInsensitive(j,$)}N.compareModuleSpecifiers=compareModuleSpecifiers;function compareIdentifiers(N,R){return E.compareStringsCaseInsensitive(N.text,R.text)}function getModuleSpecifierExpression(N){var R;switch(N.kind){case 263:return(R=E.tryCast(N.moduleReference,E.isExternalModuleReference))===null||R===void 0?void 0:R.expression;case 264:return N.moduleSpecifier;case 235:return N.declarationList.declarations[0].initializer.arguments[0]}}function importsAreSorted(N){return E.arrayIsSorted(N,compareImportsOrRequireStatements)}N.importsAreSorted=importsAreSorted;function importSpecifiersAreSorted(N){return E.arrayIsSorted(N,compareImportOrExportSpecifiers)}N.importSpecifiersAreSorted=importSpecifiersAreSorted;function getImportDeclarationInsertionIndex(N,R){var j=E.binarySearch(N,R,E.identity,compareImportsOrRequireStatements);return j<0?~j:j}N.getImportDeclarationInsertionIndex=getImportDeclarationInsertionIndex;function getImportSpecifierInsertionIndex(N,R){var j=E.binarySearch(N,R,E.identity,compareImportOrExportSpecifiers);return j<0?~j:j}N.getImportSpecifierInsertionIndex=getImportSpecifierInsertionIndex;function compareImportsOrRequireStatements(E,N){return compareModuleSpecifiers(getModuleSpecifierExpression(E),getModuleSpecifierExpression(N))||compareImportKind(E,N)}N.compareImportsOrRequireStatements=compareImportsOrRequireStatements;function compareImportKind(N,R){return E.compareValues(getImportKindOrder(N),getImportKindOrder(R))}function getImportKindOrder(E){var N;switch(E.kind){case 264:if(!E.importClause)return 0;if(E.importClause.isTypeOnly)return 1;if(((N=E.importClause.namedBindings)===null||N===void 0?void 0:N.kind)===266)return 2;if(E.importClause.name)return 3;return 4;case 263:return 5;case 235:return 6}}})(N=E.OrganizeImports||(E.OrganizeImports={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function collectElements(E,N){var R=[];addNodeOutliningSpans(E,N,R);addRegionOutliningSpans(E,R);return R.sort((function(E,N){return E.textSpan.start-N.textSpan.start}))}N.collectElements=collectElements;function addNodeOutliningSpans(N,R,$){var q=40;var G=0;var ie=j(j([],N.statements,true),[N.endOfFileToken],false);var ae=ie.length;while(G<ae){while(G<ae&&!E.isAnyImportSyntax(ie[G])){visitNonImportNode(ie[G]);G++}if(G===ae)break;var ce=G;while(G<ae&&E.isAnyImportSyntax(ie[G])){addOutliningForLeadingCommentsForNode(ie[G],N,R,$);G++}var le=G-1;if(le!==ce){$.push(createOutliningSpanFromBounds(E.findChildOfKind(ie[ce],100,N).getStart(N),ie[le].getEnd(),"imports"))}}function visitNonImportNode(j){var G;if(q===0)return;R.throwIfCancellationRequested();if(E.isDeclaration(j)||E.isVariableStatement(j)||E.isReturnStatement(j)||j.kind===1){addOutliningForLeadingCommentsForNode(j,N,R,$)}if(E.isFunctionLike(j)&&E.isBinaryExpression(j.parent)&&E.isPropertyAccessExpression(j.parent.left)){addOutliningForLeadingCommentsForNode(j.parent.left,N,R,$)}if(E.isBlock(j)||E.isModuleBlock(j)){addOutliningForLeadingCommentsForPos(j.statements.end,N,R,$)}if(E.isClassLike(j)||E.isInterfaceDeclaration(j)){addOutliningForLeadingCommentsForPos(j.members.end,N,R,$)}var ie=getOutliningSpanForNode(j,N);if(ie)$.push(ie);q--;if(E.isCallExpression(j)){q++;visitNonImportNode(j.expression);q--;j.arguments.forEach(visitNonImportNode);(G=j.typeArguments)===null||G===void 0?void 0:G.forEach(visitNonImportNode)}else if(E.isIfStatement(j)&&j.elseStatement&&E.isIfStatement(j.elseStatement)){visitNonImportNode(j.expression);visitNonImportNode(j.thenStatement);q++;visitNonImportNode(j.elseStatement);q--}else{j.forEachChild(visitNonImportNode)}q++}}function addRegionOutliningSpans(N,R){var j=[];var $=N.getLineStarts();for(var q=0,G=$;q<G.length;q++){var ie=G[q];var ae=N.getLineEndOfPosition(ie);var ce=N.text.substring(ie,ae);var le=isRegionDelimiter(ce);if(!le||E.isInComment(N,ie)){continue}if(!le[1]){var _e=E.createTextSpanFromBounds(N.text.indexOf("//",ie),ae);j.push(createOutliningSpan(_e,"region",_e,false,le[2]||"#region"))}else{var Ee=j.pop();if(Ee){Ee.textSpan.length=ae-Ee.textSpan.start;Ee.hintSpan.length=ae-Ee.textSpan.start;R.push(Ee)}}}}var R=/^#(end)?region(?:\s+(.*))?(?:\r)?$/;function isRegionDelimiter(N){N=E.trimStringStart(N);if(!E.startsWith(N,"//")){return null}N=E.trimString(N.slice(2));return R.exec(N)}function addOutliningForLeadingCommentsForPos(N,R,j,$){var q=E.getLeadingCommentRanges(R.text,N);if(!q)return;var G=-1;var ie=-1;var ae=0;var ce=R.getFullText();for(var le=0,_e=q;le<_e.length;le++){var Ee=_e[le],Te=Ee.kind,we=Ee.pos,Ie=Ee.end;j.throwIfCancellationRequested();switch(Te){case 2:var Ne=ce.slice(we,Ie);if(isRegionDelimiter(Ne)){combineAndAddMultipleSingleLineComments();ae=0;break}if(ae===0){G=we}ie=Ie;ae++;break;case 3:combineAndAddMultipleSingleLineComments();$.push(createOutliningSpanFromBounds(we,Ie,"comment"));ae=0;break;default:E.Debug.assertNever(Te)}}combineAndAddMultipleSingleLineComments();function combineAndAddMultipleSingleLineComments(){if(ae>1){$.push(createOutliningSpanFromBounds(G,ie,"comment"))}}}function addOutliningForLeadingCommentsForNode(N,R,j,$){if(E.isJsxText(N))return;addOutliningForLeadingCommentsForPos(N.pos,R,j,$)}function createOutliningSpanFromBounds(N,R,j){return createOutliningSpan(E.createTextSpanFromBounds(N,R),j)}function getOutliningSpanForNode(N,R){switch(N.kind){case 233:if(E.isFunctionLike(N.parent)){return functionSpan(N.parent,N,R)}switch(N.parent.kind){case 238:case 241:case 242:case 240:case 237:case 239:case 246:case 290:return spanForNode(N.parent);case 250:var j=N.parent;if(j.tryBlock===N){return spanForNode(N.parent)}else if(j.finallyBlock===N){var $=E.findChildOfKind(j,96,R);if($)return spanForNode($)}default:return createOutliningSpan(E.createTextSpanFromNode(N,R),"code")}case 260:return spanForNode(N.parent);case 255:case 224:case 256:case 258:case 261:case 180:case 199:return spanForNode(N);case 182:return spanForNode(N,false,!E.isTupleTypeNode(N.parent),22);case 287:case 288:return spanForNodeArray(N.statements);case 203:return spanForObjectOrArrayLiteral(N);case 202:return spanForObjectOrArrayLiteral(N,22);case 276:return spanForJSXElement(N);case 280:return spanForJSXFragment(N);case 277:case 278:return spanForJSXAttributes(N.attributes);case 221:case 14:return spanForTemplateLiteral(N);case 200:return spanForNode(N,false,!E.isBindingElement(N.parent),22);case 212:return spanForArrowFunction(N);case 206:return spanForCallExpression(N)}function spanForCallExpression(N){if(!N.arguments.length){return undefined}var j=E.findChildOfKind(N,20,R);var $=E.findChildOfKind(N,21,R);if(!j||!$||E.positionsAreOnSameLine(j.pos,$.pos,R)){return undefined}return spanBetweenTokens(j,$,N,R,false,true)}function spanForArrowFunction(N){if(E.isBlock(N.body)||E.positionsAreOnSameLine(N.body.getFullStart(),N.body.getEnd(),R)){return undefined}var j=E.createTextSpanFromBounds(N.body.getFullStart(),N.body.getEnd());return createOutliningSpan(j,"code",E.createTextSpanFromNode(N))}function spanForJSXElement(N){var j=E.createTextSpanFromBounds(N.openingElement.getStart(R),N.closingElement.getEnd());var $=N.openingElement.tagName.getText(R);var q="<"+$+">...</"+$+">";return createOutliningSpan(j,"code",j,false,q)}function spanForJSXFragment(N){var j=E.createTextSpanFromBounds(N.openingFragment.getStart(R),N.closingFragment.getEnd());var $="<>...</>";return createOutliningSpan(j,"code",j,false,$)}function spanForJSXAttributes(E){if(E.properties.length===0){return undefined}return createOutliningSpanFromBounds(E.getStart(R),E.getEnd(),"code")}function spanForTemplateLiteral(E){if(E.kind===14&&E.text.length===0){return undefined}return createOutliningSpanFromBounds(E.getStart(R),E.getEnd(),"code")}function spanForObjectOrArrayLiteral(N,R){if(R===void 0){R=18}return spanForNode(N,false,!E.isArrayLiteralExpression(N.parent)&&!E.isCallExpression(N.parent),R)}function spanForNode(j,$,q,G,ie){if($===void 0){$=false}if(q===void 0){q=true}if(G===void 0){G=18}if(ie===void 0){ie=G===18?19:23}var ae=E.findChildOfKind(N,G,R);var ce=E.findChildOfKind(N,ie,R);return ae&&ce&&spanBetweenTokens(ae,ce,j,R,$,q)}function spanForNodeArray(N){return N.length?createOutliningSpan(E.createTextSpanFromRange(N),"code"):undefined}}function functionSpan(N,R,j){var $=tryGetFunctionOpenToken(N,R,j);var q=E.findChildOfKind(R,19,j);return $&&q&&spanBetweenTokens($,q,N,j,N.kind!==212)}function spanBetweenTokens(N,R,j,$,q,G){if(q===void 0){q=false}if(G===void 0){G=true}var ie=E.createTextSpanFromBounds(G?N.getFullStart():N.getStart($),R.getEnd());return createOutliningSpan(ie,"code",E.createTextSpanFromNode(j,$),q)}function createOutliningSpan(E,N,R,j,$){if(R===void 0){R=E}if(j===void 0){j=false}if($===void 0){$="..."}return{textSpan:E,kind:N,hintSpan:R,bannerText:$,autoCollapse:j}}function tryGetFunctionOpenToken(N,R,j){if(E.isNodeArrayMultiLine(N.parameters,j)){var $=E.findChildOfKind(N,20,j);if($){return $}}return E.findChildOfKind(R,18,j)}})(N=E.OutliningElementsCollector||(E.OutliningElementsCollector={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["exact"]=0]="exact";E[E["prefix"]=1]="prefix";E[E["substring"]=2]="substring";E[E["camelCase"]=3]="camelCase"})(N=E.PatternMatchKind||(E.PatternMatchKind={}));function createPatternMatch(E,N){return{kind:E,isCaseSensitive:N}}function createPatternMatcher(N){var R=new E.Map;var j=N.trim().split(".").map((function(E){return createSegment(E.trim())}));if(j.some((function(E){return!E.subWordTextChunks.length})))return undefined;return{getFullMatch:function(E,N){return getFullMatch(E,N,j,R)},getMatchForLastSegmentOfPattern:function(N){return matchSegment(N,E.last(j),R)},patternContainsDots:j.length>1}}E.createPatternMatcher=createPatternMatcher;function getFullMatch(N,R,j,$){var q=matchSegment(R,E.last(j),$);if(!q){return undefined}if(j.length-1>N.length){return undefined}var G;for(var ie=j.length-2,ae=N.length-1;ie>=0;ie-=1,ae-=1){G=betterMatch(G,matchSegment(N[ae],j[ie],$))}return G}function getWordSpans(E,N){var R=N.get(E);if(!R){N.set(E,R=breakIntoWordSpans(E))}return R}function matchTextChunk(R,j,$){var q=indexOfIgnoringCase(R,j.textLowerCase);if(q===0){return createPatternMatch(j.text.length===R.length?N.exact:N.prefix,E.startsWith(R,j.text))}if(j.isLowerCase){if(q===-1)return undefined;var G=getWordSpans(R,$);for(var ie=0,ae=G;ie<ae.length;ie++){var ce=ae[ie];if(partStartsWith(R,ce,j.text,true)){return createPatternMatch(N.substring,partStartsWith(R,ce,j.text,false))}}if(j.text.length<R.length&&isUpperCaseLetter(R.charCodeAt(q))){return createPatternMatch(N.substring,false)}}else{if(R.indexOf(j.text)>0){return createPatternMatch(N.substring,true)}if(j.characterSpans.length>0){var le=getWordSpans(R,$);var _e=tryCamelCaseMatch(R,le,j,false)?true:tryCamelCaseMatch(R,le,j,true)?false:undefined;if(_e!==undefined){return createPatternMatch(N.camelCase,_e)}}}}function matchSegment(E,N,R){if(every(N.totalTextChunk.text,(function(E){return E!==32&&E!==42}))){var j=matchTextChunk(E,N.totalTextChunk,R);if(j)return j}var $=N.subWordTextChunks;var q;for(var G=0,ie=$;G<ie.length;G++){var ae=ie[G];q=betterMatch(q,matchTextChunk(E,ae,R))}return q}function betterMatch(N,R){return E.min(N,R,compareMatches)}function compareMatches(N,R){return N===undefined?1:R===undefined?-1:E.compareValues(N.kind,R.kind)||E.compareBooleans(!N.isCaseSensitive,!R.isCaseSensitive)}function partStartsWith(E,N,R,j,$){if($===void 0){$={start:0,length:R.length}}return $.length<=N.length&&everyInRange(0,$.length,(function(q){return equalChars(R.charCodeAt($.start+q),E.charCodeAt(N.start+q),j)}))}function equalChars(E,N,R){return R?toLowerCase(E)===toLowerCase(N):E===N}function tryCamelCaseMatch(N,R,j,$){var q=j.characterSpans;var G=0;var ie=0;var ae;var ce;while(true){if(ie===q.length){return true}else if(G===R.length){return false}var le=R[G];var _e=false;for(;ie<q.length;ie++){var Ee=q[ie];if(_e){if(!isUpperCaseLetter(j.text.charCodeAt(q[ie-1].start))||!isUpperCaseLetter(j.text.charCodeAt(q[ie].start))){break}}if(!partStartsWith(N,le,j.text,$,Ee)){break}_e=true;ae=ae===undefined?G:ae;ce=ce===undefined?true:ce;le=E.createTextSpan(le.start+Ee.length,le.length-Ee.length)}if(!_e&&ce!==undefined){ce=false}G++}}function createSegment(E){return{totalTextChunk:createTextChunk(E),subWordTextChunks:breakPatternIntoTextChunks(E)}}function isUpperCaseLetter(N){if(N>=65&&N<=90){return true}if(N<127||!E.isUnicodeIdentifierStart(N,99)){return false}var R=String.fromCharCode(N);return R===R.toUpperCase()}function isLowerCaseLetter(N){if(N>=97&&N<=122){return true}if(N<127||!E.isUnicodeIdentifierStart(N,99)){return false}var R=String.fromCharCode(N);return R===R.toLowerCase()}function indexOfIgnoringCase(E,N){var R=E.length-N.length;var _loop_7=function(R){if(every(N,(function(N,j){return toLowerCase(E.charCodeAt(j+R))===N}))){return{value:R}}};for(var j=0;j<=R;j++){var $=_loop_7(j);if(typeof $==="object")return $.value}return-1}function toLowerCase(E){if(E>=65&&E<=90){return 97+(E-65)}if(E<127){return E}return String.fromCharCode(E).toLowerCase().charCodeAt(0)}function isDigit(E){return E>=48&&E<=57}function isWordChar(E){return isUpperCaseLetter(E)||isLowerCaseLetter(E)||isDigit(E)||E===95||E===36}function breakPatternIntoTextChunks(E){var N=[];var R=0;var j=0;for(var $=0;$<E.length;$++){var q=E.charCodeAt($);if(isWordChar(q)){if(j===0){R=$}j++}else{if(j>0){N.push(createTextChunk(E.substr(R,j)));j=0}}}if(j>0){N.push(createTextChunk(E.substr(R,j)))}return N}function createTextChunk(E){var N=E.toLowerCase();return{text:E,textLowerCase:N,isLowerCase:E===N,characterSpans:breakIntoCharacterSpans(E)}}function breakIntoCharacterSpans(E){return breakIntoSpans(E,false)}E.breakIntoCharacterSpans=breakIntoCharacterSpans;function breakIntoWordSpans(E){return breakIntoSpans(E,true)}E.breakIntoWordSpans=breakIntoWordSpans;function breakIntoSpans(N,R){var j=[];var $=0;for(var q=1;q<N.length;q++){var G=isDigit(N.charCodeAt(q-1));var ie=isDigit(N.charCodeAt(q));var ae=transitionFromLowerToUpper(N,R,q);var ce=R&&transitionFromUpperToLower(N,q,$);if(charIsPunctuation(N.charCodeAt(q-1))||charIsPunctuation(N.charCodeAt(q))||G!==ie||ae||ce){if(!isAllPunctuation(N,$,q)){j.push(E.createTextSpan($,q-$))}$=q}}if(!isAllPunctuation(N,$,N.length)){j.push(E.createTextSpan($,N.length-$))}return j}function charIsPunctuation(E){switch(E){case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 45:case 46:case 47:case 58:case 59:case 63:case 64:case 91:case 92:case 93:case 95:case 123:case 125:return true}return false}function isAllPunctuation(E,N,R){return every(E,(function(E){return charIsPunctuation(E)&&E!==95}),N,R)}function transitionFromUpperToLower(E,N,R){return N!==R&&N+1<E.length&&isUpperCaseLetter(E.charCodeAt(N))&&isLowerCaseLetter(E.charCodeAt(N+1))&&every(E,isUpperCaseLetter,R,N)}function transitionFromLowerToUpper(E,N,R){var j=isUpperCaseLetter(E.charCodeAt(R-1));var $=isUpperCaseLetter(E.charCodeAt(R));return $&&(!N||!j)}function everyInRange(E,N,R){for(var j=E;j<N;j++){if(!R(j)){return false}}return true}function every(E,N,R,j){if(R===void 0){R=0}if(j===void 0){j=E.length}return everyInRange(R,j,(function(R){return N(E.charCodeAt(R),R)}))}})(ce||(ce={}));var ce;(function(E){function preProcessFile(N,R,j){if(R===void 0){R=true}if(j===void 0){j=false}var $={languageVersion:1,pragmas:undefined,checkJsDirective:undefined,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:undefined,moduleName:undefined};var q=[];var G;var ie;var ae;var ce=0;var le=false;function nextToken(){ie=ae;ae=E.scanner.scan();if(ae===18){ce++}else if(ae===19){ce--}return ae}function getFileReference(){var N=E.scanner.getTokenValue();var R=E.scanner.getTokenPos();return{fileName:N,pos:R,end:R+N.length}}function recordAmbientExternalModule(){if(!G){G=[]}G.push({ref:getFileReference(),depth:ce})}function recordModuleName(){q.push(getFileReference());markAsExternalModuleIfTopLevel()}function markAsExternalModuleIfTopLevel(){if(ce===0){le=true}}function tryConsumeDeclare(){var N=E.scanner.getToken();if(N===134){N=nextToken();if(N===140){N=nextToken();if(N===10){recordAmbientExternalModule()}}return true}return false}function tryConsumeImport(){if(ie===24){return false}var N=E.scanner.getToken();if(N===100){N=nextToken();if(N===20){N=nextToken();if(N===10||N===14){recordModuleName();return true}}else if(N===10){recordModuleName();return true}else{if(N===150){var R=E.scanner.lookAhead((function(){var N=E.scanner.scan();return N!==154&&(N===41||N===18||N===79||E.isKeyword(N))}));if(R){N=nextToken()}}if(N===79||E.isKeyword(N)){N=nextToken();if(N===154){N=nextToken();if(N===10){recordModuleName();return true}}else if(N===63){if(tryConsumeRequireCall(true)){return true}}else if(N===27){N=nextToken()}else{return true}}if(N===18){N=nextToken();while(N!==19&&N!==1){N=nextToken()}if(N===19){N=nextToken();if(N===154){N=nextToken();if(N===10){recordModuleName()}}}}else if(N===41){N=nextToken();if(N===127){N=nextToken();if(N===79||E.isKeyword(N)){N=nextToken();if(N===154){N=nextToken();if(N===10){recordModuleName()}}}}}}return true}return false}function tryConsumeExport(){var N=E.scanner.getToken();if(N===93){markAsExternalModuleIfTopLevel();N=nextToken();if(N===150){var R=E.scanner.lookAhead((function(){var N=E.scanner.scan();return N===41||N===18}));if(R){N=nextToken()}}if(N===18){N=nextToken();while(N!==19&&N!==1){N=nextToken()}if(N===19){N=nextToken();if(N===154){N=nextToken();if(N===10){recordModuleName()}}}}else if(N===41){N=nextToken();if(N===154){N=nextToken();if(N===10){recordModuleName()}}}else if(N===100){N=nextToken();if(N===150){var R=E.scanner.lookAhead((function(){var N=E.scanner.scan();return N===79||E.isKeyword(N)}));if(R){N=nextToken()}}if(N===79||E.isKeyword(N)){N=nextToken();if(N===63){if(tryConsumeRequireCall(true)){return true}}}}return true}return false}function tryConsumeRequireCall(N,R){if(R===void 0){R=false}var j=N?nextToken():E.scanner.getToken();if(j===144){j=nextToken();if(j===20){j=nextToken();if(j===10||R&&j===14){recordModuleName()}}return true}return false}function tryConsumeDefine(){var N=E.scanner.getToken();if(N===79&&E.scanner.getTokenValue()==="define"){N=nextToken();if(N!==20){return true}N=nextToken();if(N===10||N===14){N=nextToken();if(N===27){N=nextToken()}else{return true}}if(N!==22){return true}N=nextToken();while(N!==23&&N!==1){if(N===10||N===14){recordModuleName()}N=nextToken()}return true}return false}function processImports(){E.scanner.setText(N);nextToken();while(true){if(E.scanner.getToken()===1){break}if(tryConsumeDeclare()||tryConsumeImport()||tryConsumeExport()||j&&(tryConsumeRequireCall(false,true)||tryConsumeDefine())){continue}else{nextToken()}}E.scanner.setText(undefined)}if(R){processImports()}E.processCommentPragmas($,N);E.processPragmasIntoFields($,E.noop);if(le){if(G){for(var _e=0,Ee=G;_e<Ee.length;_e++){var Te=Ee[_e];q.push(Te.ref)}}return{referencedFiles:$.referencedFiles,typeReferenceDirectives:$.typeReferenceDirectives,libReferenceDirectives:$.libReferenceDirectives,importedFiles:q,isLibFile:!!$.hasNoDefaultLib,ambientExternalModules:undefined}}else{var we=void 0;if(G){for(var Ie=0,Ne=G;Ie<Ne.length;Ie++){var Te=Ne[Ie];if(Te.depth===0){if(!we){we=[]}we.push(Te.ref.fileName)}else{q.push(Te.ref)}}}return{referencedFiles:$.referencedFiles,typeReferenceDirectives:$.typeReferenceDirectives,libReferenceDirectives:$.libReferenceDirectives,importedFiles:q,isLibFile:!!$.hasNoDefaultLib,ambientExternalModules:we}}}E.preProcessFile=preProcessFile})(ce||(ce={}));var ce;(function(E){var N;(function(N){function getRenameInfo(N,R,j,$){var q=E.getAdjustedRenameLocation(E.getTouchingPropertyName(R,j));if(nodeIsEligibleForRename(q)){var G=getRenameInfoForNode(q,N.getTypeChecker(),R,N,$);if(G){return G}}return getRenameInfoError(E.Diagnostics.You_cannot_rename_this_element)}N.getRenameInfo=getRenameInfo;function getRenameInfoForNode(N,R,j,$,q){var G=R.getSymbolAtLocation(N);if(!G){if(E.isStringLiteralLike(N)){var ie=E.getContextualTypeOrAncestorTypeNodeType(N,R);if(ie&&(ie.flags&128||ie.flags&1048576&&E.every(ie.types,(function(E){return!!(E.flags&128)})))){return getRenameInfoSuccess(N.text,N.text,"string","",N,j)}}else if(E.isLabelName(N)){var ae=E.getTextOfNode(N);return getRenameInfoSuccess(ae,ae,"label","",N,j)}return undefined}var ce=G.declarations;if(!ce||ce.length===0)return;if(ce.some((function(E){return isDefinedInLibraryFile($,E)}))){return getRenameInfoError(E.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library)}if(E.isIdentifier(N)&&N.originalKeywordKind===88&&G.parent&&G.parent.flags&1536){return undefined}if(E.isStringLiteralLike(N)&&E.tryGetImportFromModuleSpecifier(N)){return q&&q.allowRenameOfImportPath?getRenameInfoForModule(N,j,G):undefined}var le=E.SymbolDisplay.getSymbolKind(R,G,N);var _e=E.isImportOrExportSpecifierName(N)||E.isStringOrNumericLiteralLike(N)&&N.parent.kind===160?E.stripQuotes(E.getTextOfIdentifierOrLiteral(N)):undefined;var Ee=_e||R.symbolToString(G);var Te=_e||R.getFullyQualifiedName(G);return getRenameInfoSuccess(Ee,Te,le,E.SymbolDisplay.getSymbolModifiers(R,G),N,j)}function isDefinedInLibraryFile(N,R){var j=R.getSourceFile();return N.isSourceFileDefaultLibrary(j)&&E.fileExtensionIs(j.fileName,".d.ts")}function getRenameInfoForModule(N,R,j){if(!E.isExternalModuleNameRelative(N.text)){return getRenameInfoError(E.Diagnostics.You_cannot_rename_a_module_via_a_global_import)}var $=j.declarations&&E.find(j.declarations,E.isSourceFile);if(!$)return undefined;var q=E.endsWith(N.text,"/index")||E.endsWith(N.text,"/index.js")?undefined:E.tryRemoveSuffix(E.removeFileExtension($.fileName),"/index");var G=q===undefined?$.fileName:q;var ie=q===undefined?"module":"directory";var ae=N.text.lastIndexOf("/")+1;var ce=E.createTextSpan(N.getStart(R)+1+ae,N.text.length-ae);return{canRename:true,fileToRename:G,kind:ie,displayName:G,fullDisplayName:G,kindModifiers:"",triggerSpan:ce}}function getRenameInfoSuccess(E,N,R,j,$,q){return{canRename:true,fileToRename:undefined,kind:R,displayName:E,fullDisplayName:N,kindModifiers:j,triggerSpan:createTriggerSpanForNode($,q)}}function getRenameInfoError(N){return{canRename:false,localizedErrorMessage:E.getLocaleSpecificMessage(N)}}function createTriggerSpanForNode(N,R){var j=N.getStart(R);var $=N.getWidth(R);if(E.isStringLiteralLike(N)){j+=1;$-=2}return E.createTextSpan(j,$)}function nodeIsEligibleForRename(N){switch(N.kind){case 79:case 80:case 10:case 14:case 108:return true;case 8:return E.isLiteralNameOfPropertyDeclarationOrIndexAccess(N);default:return false}}})(N=E.Rename||(E.Rename={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function getSmartSelectionRange(N,R){var j;var q={textSpan:E.createTextSpanFromBounds(R.getFullStart(),R.getEnd())};var G=R;e:while(true){var ie=getSelectionChildren(G);if(!ie.length)break;for(var ae=0;ae<ie.length;ae++){var ce=ie[ae-1];var le=ie[ae];var _e=ie[ae+1];if(E.getTokenPosOfNode(le,R,true)>N){break e}var Ee=E.singleOrUndefined(E.getTrailingCommentRanges(R.text,le.end));if(Ee&&Ee.kind===2){pushSelectionCommentRange(Ee.pos,Ee.end)}if(positionShouldSnapToNode(R,N,le)){if(E.isBlock(le)||E.isTemplateSpan(le)||E.isTemplateHead(le)||E.isTemplateTail(le)||ce&&E.isTemplateHead(ce)||E.isVariableDeclarationList(le)&&E.isVariableStatement(G)||E.isSyntaxList(le)&&E.isVariableDeclarationList(G)||E.isVariableDeclaration(le)&&E.isSyntaxList(G)&&ie.length===1||E.isJSDocTypeExpression(le)||E.isJSDocSignature(le)||E.isJSDocTypeLiteral(le)){G=le;break}if(E.isTemplateSpan(G)&&_e&&E.isTemplateMiddleOrTemplateTail(_e)){var Te=le.getFullStart()-"${".length;var we=_e.getStart()+"}".length;pushSelectionRange(Te,we)}var Ie=E.isSyntaxList(le)&&isListOpener(ce)&&isListCloser(_e)&&!E.positionsAreOnSameLine(ce.getStart(),_e.getStart(),R);var Ne=Ie?ce.getEnd():le.getStart();var Me=Ie?_e.getStart():getEndPos(R,le);if(E.hasJSDocNodes(le)&&((j=le.jsDoc)===null||j===void 0?void 0:j.length)){pushSelectionRange(E.first(le.jsDoc).getStart(),Me)}pushSelectionRange(Ne,Me);if(E.isStringLiteral(le)||E.isTemplateLiteral(le)){pushSelectionRange(Ne+1,Me-1)}G=le;break}if(ae===ie.length-1){break e}}}return q;function pushSelectionRange(R,j){if(R!==j){var G=E.createTextSpanFromBounds(R,j);if(!q||!E.textSpansEqual(G,q.textSpan)&&E.textSpanIntersectsWithPosition(G,N)){q=$({textSpan:G},q&&{parent:q})}}}function pushSelectionCommentRange(E,N){pushSelectionRange(E,N);var j=E;while(R.text.charCodeAt(j)===47){j++}pushSelectionRange(j,N)}}N.getSmartSelectionRange=getSmartSelectionRange;function positionShouldSnapToNode(N,R,j){E.Debug.assert(j.pos<=R);if(R<j.end){return true}var $=j.getEnd();if($===R){return E.getTouchingPropertyName(N,R).pos<j.end}return false}var R=E.or(E.isImportDeclaration,E.isImportEqualsDeclaration);function getSelectionChildren(N){if(E.isSourceFile(N)){return groupChildren(N.getChildAt(0).getChildren(),R)}if(E.isMappedTypeNode(N)){var j=N.getChildren(),$=j[0],q=j.slice(1);var G=E.Debug.checkDefined(q.pop());E.Debug.assertEqual($.kind,18);E.Debug.assertEqual(G.kind,19);var ie=groupChildren(q,(function(E){return E===N.readonlyToken||E.kind===143||E===N.questionToken||E.kind===57}));var ae=groupChildren(ie,(function(E){var N=E.kind;return N===22||N===161||N===23}));return[$,createSyntaxList(splitChildren(ae,(function(E){var N=E.kind;return N===58}))),G]}if(E.isPropertySignature(N)){var q=groupChildren(N.getChildren(),(function(R){return R===N.name||E.contains(N.modifiers,R)}));return splitChildren(q,(function(E){var N=E.kind;return N===58}))}if(E.isParameter(N)){var ce=groupChildren(N.getChildren(),(function(E){return E===N.dotDotDotToken||E===N.name}));var le=groupChildren(ce,(function(E){return E===ce[0]||E===N.questionToken}));return splitChildren(le,(function(E){var N=E.kind;return N===63}))}if(E.isBindingElement(N)){return splitChildren(N.getChildren(),(function(E){var N=E.kind;return N===63}))}return N.getChildren()}function groupChildren(E,N){var R=[];var j;for(var $=0,q=E;$<q.length;$++){var G=q[$];if(N(G)){j=j||[];j.push(G)}else{if(j){R.push(createSyntaxList(j));j=undefined}R.push(G)}}if(j){R.push(createSyntaxList(j))}return R}function splitChildren(N,R,j){if(j===void 0){j=true}if(N.length<2){return N}var $=E.findIndex(N,R);if($===-1){return N}var q=N.slice(0,$);var G=N[$];var ie=E.last(N);var ae=j&&ie.kind===26;var ce=N.slice($+1,ae?N.length-1:undefined);var le=E.compact([q.length?createSyntaxList(q):undefined,G,ce.length?createSyntaxList(ce):undefined]);return ae?le.concat(ie):le}function createSyntaxList(N){E.Debug.assertGreaterThanOrEqual(N.length,1);return E.setTextRangePosEnd(E.parseNodeFactory.createSyntaxList(N),N[0].pos,E.last(N).end)}function isListOpener(E){var N=E&&E.kind;return N===18||N===22||N===20||N===278}function isListCloser(E){var N=E&&E.kind;return N===19||N===23||N===21||N===279}function getEndPos(E,N){switch(N.kind){case 335:case 333:case 342:case 340:case 337:return E.getLineEndOfPosition(N.getStart());default:return N.getEnd()}}})(N=E.SmartSelectionRange||(E.SmartSelectionRange={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(E){E[E["Call"]=0]="Call";E[E["TypeArgs"]=1]="TypeArgs";E[E["Contextual"]=2]="Contextual"})(R||(R={}));function getSignatureHelpItems(N,R,j,$,q){var G=N.getTypeChecker();var ie=E.findTokenOnLeftOfPosition(R,j);if(!ie){return undefined}var ae=!!$&&$.kind==="characterTyped";if(ae&&(E.isInString(R,j,ie)||E.isInComment(R,j))){return undefined}var ce=!!$&&$.kind==="invoked";var le=getContainingArgumentInfo(ie,j,R,G,ce);if(!le)return undefined;q.throwIfCancellationRequested();var _e=getCandidateOrTypeInfo(le,G,R,ie,ae);q.throwIfCancellationRequested();if(!_e){return E.isSourceFileJS(R)?createJSSignatureHelpItems(le,N,q):undefined}return G.runWithCancellationToken(q,(function(E){return _e.kind===0?createSignatureHelpItems(_e.candidates,_e.resolvedSignature,le,R,E):createTypeHelpItems(_e.symbol,le,R,E)}))}N.getSignatureHelpItems=getSignatureHelpItems;var $;(function(E){E[E["Candidate"]=0]="Candidate";E[E["Type"]=1]="Type"})($||($={}));function getCandidateOrTypeInfo(N,R,j,$,q){var G=N.invocation,ie=N.argumentCount;switch(G.kind){case 0:{if(q&&!isSyntacticOwner($,G.node,j)){return undefined}var ae=[];var ce=R.getResolvedSignatureForSignatureHelp(G.node,ae,ie);return ae.length===0?undefined:{kind:0,candidates:ae,resolvedSignature:ce}}case 1:{var le=G.called;if(q&&!containsPrecedingToken($,j,E.isIdentifier(le)?le.parent:le)){return undefined}var ae=E.getPossibleGenericSignatures(le,ie,R);if(ae.length!==0)return{kind:0,candidates:ae,resolvedSignature:E.first(ae)};var _e=R.getSymbolAtLocation(le);return _e&&{kind:1,symbol:_e}}case 2:return{kind:0,candidates:[G.signature],resolvedSignature:G.signature};default:return E.Debug.assertNever(G)}}function isSyntacticOwner(N,R,j){if(!E.isCallOrNewExpression(R))return false;var $=R.getChildren(j);switch(N.kind){case 20:return E.contains($,N);case 27:{var q=E.findContainingList(N);return!!q&&E.contains($,q)}case 29:return containsPrecedingToken(N,j,R.expression);default:return false}}function createJSSignatureHelpItems(N,R,j){if(N.invocation.kind===2)return undefined;var $=getExpressionFromInvocation(N.invocation);var q=E.isPropertyAccessExpression($)?$.name.text:undefined;var G=R.getTypeChecker();return q===undefined?undefined:E.firstDefined(R.getSourceFiles(),(function(R){return E.firstDefined(R.getNamedDeclarations().get(q),(function(E){var $=E.symbol&&G.getTypeOfSymbolAtLocation(E.symbol,E);var q=$&&$.getCallSignatures();if(q&&q.length){return G.runWithCancellationToken(j,(function(E){return createSignatureHelpItems(q,q[0],N,R,E,true)}))}}))}))}function containsPrecedingToken(N,R,j){var $=N.getFullStart();var q=N.parent;while(q){var G=E.findPrecedingToken($,R,q,true);if(G){return E.rangeContainsRange(j,G)}q=q.parent}return E.Debug.fail("Could not find preceding token")}function getArgumentInfoForCompletions(E,N,R){var j=getImmediatelyContainingArgumentInfo(E,N,R);return!j||j.isTypeParameterList||j.invocation.kind!==0?undefined:{invocation:j.invocation.node,argumentCount:j.argumentCount,argumentIndex:j.argumentIndex}}N.getArgumentInfoForCompletions=getArgumentInfoForCompletions;function getArgumentOrParameterListInfo(N,R){var j=getArgumentOrParameterListAndIndex(N,R);if(!j)return undefined;var $=j.list,q=j.argumentIndex;var G=getArgumentCount($);if(q!==0){E.Debug.assertLessThan(q,G)}var ie=getApplicableSpanForArguments($,R);return{list:$,argumentIndex:q,argumentCount:G,argumentsSpan:ie}}function getArgumentOrParameterListAndIndex(N,R){if(N.kind===29||N.kind===20){return{list:getChildListThatStartsWithOpenerToken(N.parent,N,R),argumentIndex:0}}else{var j=E.findContainingList(N);return j&&{list:j,argumentIndex:getArgumentIndex(j,N)}}}function getImmediatelyContainingArgumentInfo(N,R,j){var $=N.parent;if(E.isCallOrNewExpression($)){var q=$;var G=getArgumentOrParameterListInfo(N,j);if(!G)return undefined;var ie=G.list,ae=G.argumentIndex,ce=G.argumentCount,le=G.argumentsSpan;var _e=!!$.typeArguments&&$.typeArguments.pos===ie.pos;return{isTypeParameterList:_e,invocation:{kind:0,node:q},argumentsSpan:le,argumentIndex:ae,argumentCount:ce}}else if(E.isNoSubstitutionTemplateLiteral(N)&&E.isTaggedTemplateExpression($)){if(E.isInsideTemplateLiteral(N,R,j)){return getArgumentListInfoForTemplate($,0,j)}return undefined}else if(E.isTemplateHead(N)&&$.parent.kind===208){var Ee=$;var Te=Ee.parent;E.Debug.assert(Ee.kind===221);var ae=E.isInsideTemplateLiteral(N,R,j)?0:1;return getArgumentListInfoForTemplate(Te,ae,j)}else if(E.isTemplateSpan($)&&E.isTaggedTemplateExpression($.parent.parent)){var we=$;var Te=$.parent.parent;if(E.isTemplateTail(N)&&!E.isInsideTemplateLiteral(N,R,j)){return undefined}var Ie=we.parent.templateSpans.indexOf(we);var ae=getArgumentIndexForTemplatePiece(Ie,N,R,j);return getArgumentListInfoForTemplate(Te,ae,j)}else if(E.isJsxOpeningLikeElement($)){var Ne=$.attributes.pos;var Me=E.skipTrivia(j.text,$.attributes.end,false);return{isTypeParameterList:false,invocation:{kind:0,node:$},argumentsSpan:E.createTextSpan(Ne,Me-Ne),argumentIndex:0,argumentCount:1}}else{var Le=E.getPossibleTypeArgumentsInfo(N,j);if(Le){var Be=Le.called,je=Le.nTypeArguments;var q={kind:1,called:Be};var le=E.createTextSpanFromBounds(Be.getStart(j),N.end);return{isTypeParameterList:true,invocation:q,argumentsSpan:le,argumentIndex:je,argumentCount:je+1}}return undefined}}function getImmediatelyContainingArgumentOrContextualParameterInfo(E,N,R,j){return tryGetParameterInfo(E,N,R,j)||getImmediatelyContainingArgumentInfo(E,N,R)}function getHighestBinary(N){return E.isBinaryExpression(N.parent)?getHighestBinary(N.parent):N}function countBinaryExpressionParameters(N){return E.isBinaryExpression(N.left)?countBinaryExpressionParameters(N.left)+1:2}function tryGetParameterInfo(N,R,j,$){var q=getContextualSignatureLocationInfo(N,j,$);if(!q)return undefined;var G=q.contextualType,ie=q.argumentIndex,ae=q.argumentCount,ce=q.argumentsSpan;var le=G.getNonNullableType();var _e=le.getCallSignatures();if(_e.length!==1)return undefined;var Ee={kind:2,signature:E.first(_e),node:N,symbol:chooseBetterSymbol(le.symbol)};return{isTypeParameterList:false,invocation:Ee,argumentsSpan:ce,argumentIndex:ie,argumentCount:ae}}function getContextualSignatureLocationInfo(N,R,j){if(N.kind!==20&&N.kind!==27)return undefined;var $=N.parent;switch($.kind){case 210:case 167:case 211:case 212:var q=getArgumentOrParameterListInfo(N,R);if(!q)return undefined;var G=q.argumentIndex,ie=q.argumentCount,ae=q.argumentsSpan;var ce=E.isMethodDeclaration($)?j.getContextualTypeForObjectLiteralElement($):j.getContextualType($);return ce&&{contextualType:ce,argumentIndex:G,argumentCount:ie,argumentsSpan:ae};case 219:{var le=getHighestBinary($);var _e=j.getContextualType(le);var Ee=N.kind===20?0:countBinaryExpressionParameters($)-1;var Te=countBinaryExpressionParameters(le);return _e&&{contextualType:_e,argumentIndex:Ee,argumentCount:Te,argumentsSpan:E.createTextSpanFromNode($)}}default:return undefined}}function chooseBetterSymbol(N){return N.name==="__type"?E.firstDefined(N.declarations,(function(N){return E.isFunctionTypeNode(N)?N.parent.symbol:undefined}))||N:N}function getArgumentIndex(E,N){var R=0;for(var j=0,$=E.getChildren();j<$.length;j++){var q=$[j];if(q===N){break}if(q.kind!==27){R++}}return R}function getArgumentCount(N){var R=N.getChildren();var j=E.countWhere(R,(function(E){return E.kind!==27}));if(R.length>0&&E.last(R).kind===27){j++}return j}function getArgumentIndexForTemplatePiece(N,R,j,$){E.Debug.assert(j>=R.getStart(),"Assumed 'position' could not occur before node.");if(E.isTemplateLiteralToken(R)){if(E.isInsideTemplateLiteral(R,j,$)){return 0}return N+2}return N+1}function getArgumentListInfoForTemplate(N,R,j){var $=E.isNoSubstitutionTemplateLiteral(N.template)?1:N.template.templateSpans.length+1;if(R!==0){E.Debug.assertLessThan(R,$)}return{isTypeParameterList:false,invocation:{kind:0,node:N},argumentsSpan:getApplicableSpanForTaggedTemplate(N,j),argumentIndex:R,argumentCount:$}}function getApplicableSpanForArguments(N,R){var j=N.getFullStart();var $=E.skipTrivia(R.text,N.getEnd(),false);return E.createTextSpan(j,$-j)}function getApplicableSpanForTaggedTemplate(N,R){var j=N.template;var $=j.getStart();var q=j.getEnd();if(j.kind===221){var G=E.last(j.templateSpans);if(G.literal.getFullWidth()===0){q=E.skipTrivia(R.text,q,false)}}return E.createTextSpan($,q-$)}function getContainingArgumentInfo(N,R,j,$,q){var _loop_8=function(N){E.Debug.assert(E.rangeContainsRange(N.parent,N),"Not a subspan",(function(){return"Child: "+E.Debug.formatSyntaxKind(N.kind)+", parent: "+E.Debug.formatSyntaxKind(N.parent.kind)}));var q=getImmediatelyContainingArgumentOrContextualParameterInfo(N,R,j,$);if(q){return{value:q}}};for(var G=N;!E.isSourceFile(G)&&(q||!E.isBlock(G));G=G.parent){var ie=_loop_8(G);if(typeof ie==="object")return ie.value}return undefined}function getChildListThatStartsWithOpenerToken(N,R,j){var $=N.getChildren(j);var q=$.indexOf(R);E.Debug.assert(q>=0&&$.length>q+1);return $[q+1]}function getExpressionFromInvocation(N){return N.kind===0?E.getInvokedExpression(N.node):N.called}function getEnclosingDeclarationFromInvocation(E){return E.kind===0?E.node:E.kind===1?E.called:E.node}var q=8192|70221824|16384;function createSignatureHelpItems(N,R,j,$,q,G){var ie;var ae=j.isTypeParameterList,ce=j.argumentCount,le=j.argumentsSpan,_e=j.invocation,Ee=j.argumentIndex;var Te=getEnclosingDeclarationFromInvocation(_e);var we=_e.kind===2?_e.symbol:q.getSymbolAtLocation(getExpressionFromInvocation(_e))||G&&((ie=R.declaration)===null||ie===void 0?void 0:ie.symbol);var Ie=we?E.symbolToDisplayParts(q,we,G?$:undefined,undefined):E.emptyArray;var Ne=E.map(N,(function(E){return getSignatureHelpItem(E,Ie,ae,q,Te,$)}));if(Ee!==0){E.Debug.assertLessThan(Ee,ce)}var Me=0;var Le=0;for(var Be=0;Be<Ne.length;Be++){var je=Ne[Be];if(N[Be]===R){Me=Le;if(je.length>1){var Ue=0;for(var ze=0,We=je;ze<We.length;ze++){var Je=We[ze];if(Je.isVariadic||Je.parameters.length>=ce){Me=Le+Ue;break}Ue++}}}Le+=je.length}E.Debug.assert(Me!==-1);var Ve={items:E.flatMapToMutable(Ne,E.identity),applicableSpan:le,selectedItemIndex:Me,argumentIndex:Ee,argumentCount:ce};var qe=Ve.items[Me];if(qe.isVariadic){var He=E.findIndex(qe.parameters,(function(E){return!!E.isRest}));if(-1<He&&He<qe.parameters.length-1){Ve.argumentIndex=qe.parameters.length}else{Ve.argumentIndex=Math.min(Ve.argumentIndex,qe.parameters.length-1)}}return Ve}function createTypeHelpItems(E,N,R,j){var $=N.argumentCount,q=N.argumentsSpan,G=N.invocation,ie=N.argumentIndex;var ae=j.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(E);if(!ae)return undefined;var ce=[getTypeHelpItem(E,ae,j,getEnclosingDeclarationFromInvocation(G),R)];return{items:ce,applicableSpan:q,selectedItemIndex:0,argumentIndex:ie,argumentCount:$}}function getTypeHelpItem(N,R,$,q,ie){var ae=E.symbolToDisplayParts($,N);var ce=E.createPrinter({removeComments:true});var le=R.map((function(E){return createSignatureHelpParameterForTypeParameter(E,$,q,ie,ce)}));var _e=N.getDocumentationComment($);var Ee=N.getJsDocTags($);var Te=j(j([],ae,true),[E.punctuationPart(29)],false);return{isVariadic:false,prefixDisplayParts:Te,suffixDisplayParts:[E.punctuationPart(31)],separatorDisplayParts:G,parameters:le,documentation:_e,tags:Ee}}var G=[E.punctuationPart(27),E.spacePart()];function getSignatureHelpItem(N,R,$,q,ie,ae){var ce=($?itemInfoForTypeParameters:itemInfoForParameters)(N,q,ie,ae);return E.map(ce,(function(E){var $=E.isVariadic,ae=E.parameters,ce=E.prefix,le=E.suffix;var _e=j(j([],R,true),ce,true);var Ee=j(j([],le,true),returnTypeToDisplayParts(N,ie,q),true);var Te=N.getDocumentationComment(q);var we=N.getJsDocTags();return{isVariadic:$,prefixDisplayParts:_e,suffixDisplayParts:Ee,separatorDisplayParts:G,parameters:ae,documentation:Te,tags:we}}))}function returnTypeToDisplayParts(N,R,j){return E.mapToDisplayParts((function(E){E.writePunctuation(":");E.writeSpace(" ");var $=j.getTypePredicateOfSignature(N);if($){j.writeTypePredicate($,R,undefined,E)}else{j.writeType(j.getReturnTypeOfSignature(N),R,undefined,E)}}))}function itemInfoForTypeParameters(N,R,$,G){var ie=(N.target||N).typeParameters;var ae=E.createPrinter({removeComments:true});var ce=(ie||E.emptyArray).map((function(E){return createSignatureHelpParameterForTypeParameter(E,R,$,G,ae)}));var le=N.thisParameter?[R.symbolToParameterDeclaration(N.thisParameter,$,q)]:[];return R.getExpandedParameters(N).map((function(N){var ie=E.factory.createNodeArray(j(j([],le,true),E.map(N,(function(E){return R.symbolToParameterDeclaration(E,$,q)})),true));var _e=E.mapToDisplayParts((function(E){ae.writeList(2576,ie,G,E)}));return{isVariadic:false,parameters:ce,prefix:[E.punctuationPart(29)],suffix:j([E.punctuationPart(31)],_e,true)}}))}function itemInfoForParameters(N,R,$,G){var ie=E.createPrinter({removeComments:true});var ae=E.mapToDisplayParts((function(j){if(N.typeParameters&&N.typeParameters.length){var ae=E.factory.createNodeArray(N.typeParameters.map((function(E){return R.typeParameterToDeclaration(E,$,q)})));ie.writeList(53776,ae,G,j)}}));var ce=R.getExpandedParameters(N);var le=!R.hasEffectiveRestParameter(N)?function(E){return false}:ce.length===1?function(E){return true}:function(E){return!!(E.length&&E[E.length-1].checkFlags&32768)};return ce.map((function(N){return{isVariadic:le(N),parameters:N.map((function(E){return createSignatureHelpParameterForParameter(E,R,$,G,ie)})),prefix:j(j([],ae,true),[E.punctuationPart(20)],false),suffix:[E.punctuationPart(21)]}}))}function createSignatureHelpParameterForParameter(N,R,j,$,G){var ie=E.mapToDisplayParts((function(E){var ie=R.symbolToParameterDeclaration(N,j,q);G.writeNode(4,ie,$,E)}));var ae=R.isOptionalParameter(N.valueDeclaration);var ce=!!(N.checkFlags&32768);return{name:N.name,documentation:N.getDocumentationComment(R),displayParts:ie,isOptional:ae,isRest:ce}}function createSignatureHelpParameterForTypeParameter(N,R,j,$,G){var ie=E.mapToDisplayParts((function(E){var ie=R.typeParameterToDeclaration(N,j,q);G.writeNode(4,ie,$,E)}));return{name:N.symbol.name,documentation:N.symbol.getDocumentationComment(R),displayParts:ie,isOptional:false,isRest:false}}})(N=E.SignatureHelp||(E.SignatureHelp={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=30;var leadingParameterNameCommentRegexFactory=function(E){return new RegExp("^\\s?/\\*\\*?\\s?"+E+"\\s?\\*\\/\\s?$")};function shouldShowParameterNameHints(E){return E.includeInlayParameterNameHints==="literals"||E.includeInlayParameterNameHints==="all"}function shouldShowLiteralParameterNameHintsOnly(E){return E.includeInlayParameterNameHints==="literals"}function provideInlayHints(N){var j=N.file,$=N.program,q=N.span,G=N.cancellationToken,ie=N.preferences;var ae=j.text;var ce=$.getCompilerOptions();var le=$.getTypeChecker();var _e=[];visitor(j);return _e;function visitor(N){if(!N||N.getFullWidth()===0){return}switch(N.kind){case 259:case 255:case 256:case 254:case 224:case 211:case 167:case 212:G.throwIfCancellationRequested()}if(!E.textSpanIntersectsWith(q,N.pos,N.getFullWidth())){return}if(E.isTypeNode(N)){return}if(ie.includeInlayVariableTypeHints&&E.isVariableDeclaration(N)){visitVariableLikeDeclaration(N)}else if(ie.includeInlayPropertyDeclarationTypeHints&&E.isPropertyDeclaration(N)){visitVariableLikeDeclaration(N)}else if(ie.includeInlayEnumMemberValueHints&&E.isEnumMember(N)){visitEnumMember(N)}else if(shouldShowParameterNameHints(ie)&&(E.isCallExpression(N)||E.isNewExpression(N))){visitCallOrNewExpression(N)}else{if(ie.includeInlayFunctionParameterTypeHints&&E.isFunctionLikeDeclaration(N)&&E.hasContextSensitiveParameters(N)){visitFunctionLikeForParameterType(N)}if(ie.includeInlayFunctionLikeReturnTypeHints&&isSignatureSupportingReturnAnnotation(N)){visitFunctionDeclarationLikeForReturnType(N)}}return E.forEachChild(N,visitor)}function isSignatureSupportingReturnAnnotation(N){return E.isArrowFunction(N)||E.isFunctionExpression(N)||E.isFunctionDeclaration(N)||E.isMethodDeclaration(N)||E.isGetAccessorDeclaration(N)}function addParameterHints(E,N,j){_e.push({text:""+(j?"...":"")+truncation(E,R)+":",position:N,kind:"Parameter",whitespaceAfter:true})}function addTypeHints(E,N){_e.push({text:": "+truncation(E,R),position:N,kind:"Type",whitespaceBefore:true})}function addEnumMemberValueHints(E,N){_e.push({text:"= "+truncation(E,R),position:N,kind:"Enum",whitespaceBefore:true})}function visitEnumMember(E){if(E.initializer){return}var N=le.getConstantValue(E);if(N!==undefined){addEnumMemberValueHints(N.toString(),E.end)}}function isModuleReferenceType(E){return E.symbol&&E.symbol.flags&1536}function visitVariableLikeDeclaration(N){if(!N.initializer||E.isBindingPattern(N.name)){return}var R=E.getEffectiveTypeAnnotationNode(N);if(R){return}var j=le.getTypeAtLocation(N);if(isModuleReferenceType(j)){return}var $=printTypeInSingleLine(j);if($){addTypeHints($,N.name.end)}}function visitCallOrNewExpression(N){var R=N.arguments;if(!R||!R.length){return}var j=[];var $=le.getResolvedSignatureForSignatureHelp(N,j);if(!$||!j.length){return}for(var q=0;q<R.length;++q){var G=R[q];var ae=E.skipParentheses(G);if(shouldShowLiteralParameterNameHintsOnly(ie)&&!isHintableLiteral(ae)){continue}var ce=le.getParameterIdentifierNameAtPosition($,q);if(ce){var _e=ce[0],Ee=ce[1];var Te=ie.includeInlayParameterNameHintsWhenArgumentMatchesName||!identifierOrAccessExpressionPostfixMatchesParameterName(ae,_e);if(!Te&&!Ee){continue}var we=E.unescapeLeadingUnderscores(_e);if(leadingCommentsContainsParameterName(ae,we)){continue}addParameterHints(we,G.getStart(),Ee)}}}function identifierOrAccessExpressionPostfixMatchesParameterName(N,R){if(E.isIdentifier(N)){return N.text===R}if(E.isPropertyAccessExpression(N)){return N.name.text===R}return false}function leadingCommentsContainsParameterName(N,R){if(!E.isIdentifierText(R,ce.target,E.getLanguageVariant(j.scriptKind))){return false}var $=E.getLeadingCommentRanges(ae,N.pos);if(!($===null||$===void 0?void 0:$.length)){return false}var q=leadingParameterNameCommentRegexFactory(R);return E.some($,(function(E){return q.test(ae.substring(E.pos,E.end))}))}function isHintableLiteral(N){switch(N.kind){case 217:{var R=N.operand;return E.isLiteralExpression(R)||E.isIdentifier(R)&&E.isInfinityOrNaNString(R.escapedText)}case 110:case 95:case 104:return true;case 79:{var j=N.escapedText;return isUndefined(j)||E.isInfinityOrNaNString(j)}}return E.isLiteralExpression(N)}function visitFunctionDeclarationLikeForReturnType(N){if(E.isArrowFunction(N)){if(!E.findChildOfKind(N,20,j)){return}}var R=E.getEffectiveReturnTypeNode(N);if(R||!N.body){return}var $=le.getSignatureFromDeclaration(N);if(!$){return}var q=le.getReturnTypeOfSignature($);if(isModuleReferenceType(q)){return}var G=printTypeInSingleLine(q);if(!G){return}addTypeHints(G,getTypeAnnotationPosition(N))}function getTypeAnnotationPosition(N){var R=E.findChildOfKind(N,21,j);if(R){return R.end}return N.parameters.end}function visitFunctionLikeForParameterType(N){var R=le.getSignatureFromDeclaration(N);if(!R){return}for(var j=0;j<N.parameters.length&&j<R.parameters.length;++j){var $=N.parameters[j];var q=E.getEffectiveTypeAnnotationNode($);if(q){continue}var G=getParameterDeclarationTypeDisplayString(R.parameters[j]);if(!G){continue}addTypeHints(G,$.end)}}function getParameterDeclarationTypeDisplayString(N){var R=N.valueDeclaration;if(!R||!E.isParameter(R)){return undefined}var j=le.getTypeOfSymbolAtLocation(N,R);if(isModuleReferenceType(j)){return undefined}return printTypeInSingleLine(j)}function truncation(E,N){if(E.length>N){return E.substr(0,N-"...".length)+"..."}return E}function printTypeInSingleLine(N){var R=70221824|1048576|16384;var $={removeComments:true};var q=E.createPrinter($);return E.usingSingleLineStringWriter((function($){var G=le.typeToTypeNode(N,undefined,R,$);E.Debug.assertIsDefined(G,"should always get typenode");q.writeNode(4,G,j,$)}))}function isUndefined(E){return E==="undefined"}}N.provideInlayHints=provideInlayHints})(N=E.InlayHints||(E.InlayHints={}))})(ce||(ce={}));var ce;(function(E){var N=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function getSourceMapper(N){var R=E.createGetCanonicalFileName(N.useCaseSensitiveFileNames());var j=N.getCurrentDirectory();var $=new E.Map;var q=new E.Map;return{tryGetSourcePosition:tryGetSourcePosition,tryGetGeneratedPosition:tryGetGeneratedPosition,toLineColumnOffset:toLineColumnOffset,clearCache:clearCache};function toPath(N){return E.toPath(N,j,R)}function getDocumentPositionMapper(j,$){var G=toPath(j);var ie=q.get(G);if(ie)return ie;var ae;if(N.getDocumentPositionMapper){ae=N.getDocumentPositionMapper(j,$)}else if(N.readFile){var ce=getSourceFileLike(j);ae=ce&&E.getDocumentPositionMapper({getSourceFileLike:getSourceFileLike,getCanonicalFileName:R,log:function(E){return N.log(E)}},j,E.getLineInfo(ce.text,E.getLineStarts(ce)),(function(E){return!N.fileExists||N.fileExists(E)?N.readFile(E):undefined}))}q.set(G,ae||E.identitySourceMapConsumer);return ae||E.identitySourceMapConsumer}function tryGetSourcePosition(N){if(!E.isDeclarationFileName(N.fileName))return undefined;var R=getSourceFile(N.fileName);if(!R)return undefined;var j=getDocumentPositionMapper(N.fileName).getSourcePosition(N);return!j||j===N?undefined:tryGetSourcePosition(j)||j}function tryGetGeneratedPosition($){if(E.isDeclarationFileName($.fileName))return undefined;var q=getSourceFile($.fileName);if(!q)return undefined;var G=N.getProgram();if(G.isSourceOfProjectReferenceRedirect(q.fileName)){return undefined}var ie=G.getCompilerOptions();var ae=E.outFile(ie);var ce=ae?E.removeFileExtension(ae)+".d.ts":E.getDeclarationEmitOutputFilePathWorker($.fileName,G.getCompilerOptions(),j,G.getCommonSourceDirectory(),R);if(ce===undefined)return undefined;var le=getDocumentPositionMapper(ce,$.fileName).getGeneratedPosition($);return le===$?undefined:le}function getSourceFile(E){var R=N.getProgram();if(!R)return undefined;var j=toPath(E);var $=R.getSourceFileByPath(j);return $&&$.resolvedPath===j?$:undefined}function getOrCreateSourceFileLike(E){var R=toPath(E);var j=$.get(R);if(j!==undefined)return j?j:undefined;if(!N.readFile||N.fileExists&&!N.fileExists(R)){$.set(R,false);return undefined}var q=N.readFile(R);var G=q?createSourceFileLike(q):false;$.set(R,G);return G?G:undefined}function getSourceFileLike(E){return!N.getSourceFileLike?getSourceFile(E)||getOrCreateSourceFileLike(E):N.getSourceFileLike(E)}function toLineColumnOffset(E,N){var R=getSourceFileLike(E);return R.getLineAndCharacterOfPosition(N)}function clearCache(){$.clear();q.clear()}}E.getSourceMapper=getSourceMapper;function getDocumentPositionMapper(R,j,$,q){var G=E.tryGetSourceMappingURL($);if(G){var ie=N.exec(G);if(ie){if(ie[1]){var ae=ie[1];return convertDocumentToSourceMapper(R,E.base64decode(E.sys,ae),j)}G=undefined}}var ce=[];if(G){ce.push(G)}ce.push(j+".map");var le=G&&E.getNormalizedAbsolutePath(G,E.getDirectoryPath(j));for(var _e=0,Ee=ce;_e<Ee.length;_e++){var Te=Ee[_e];var we=E.getNormalizedAbsolutePath(Te,E.getDirectoryPath(j));var Ie=q(we,le);if(E.isString(Ie)){return convertDocumentToSourceMapper(R,Ie,we)}if(Ie!==undefined){return Ie||undefined}}return undefined}E.getDocumentPositionMapper=getDocumentPositionMapper;function convertDocumentToSourceMapper(N,R,j){var $=E.tryParseRawSourceMap(R);if(!$||!$.sources||!$.file||!$.mappings){return undefined}if($.sourcesContent&&$.sourcesContent.some(E.isString))return undefined;return E.createDocumentPositionMapper(N,$,j)}function createSourceFileLike(N,R){return{text:N,lineMap:R,getLineAndCharacterOfPosition:function(N){return E.computeLineAndCharacterOfPosition(E.getLineStarts(this),N)}}}})(ce||(ce={}));var ce;(function(E){var N=new E.Map;function computeSuggestionDiagnostics(R,j,$){j.getSemanticDiagnostics(R,$);var q=[];var G=j.getTypeChecker();if(R.commonJsModuleIndicator&&(E.programContainsEs6Modules(j)||E.compilerOptionsIndicateEs6Modules(j.getCompilerOptions()))&&containsTopLevelCommonjs(R)){q.push(E.createDiagnosticForNode(getErrorNodeFromCommonJsIndicator(R.commonJsModuleIndicator),E.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module))}var ie=E.isSourceFileJS(R);N.clear();check(R);if(E.getAllowSyntheticDefaultImports(j.getCompilerOptions())){for(var ae=0,ce=R.imports;ae<ce.length;ae++){var le=ce[ae];var _e=E.importFromModuleSpecifier(le);var Ee=importNameForConvertToDefaultImport(_e);if(!Ee)continue;var Te=E.getResolvedModule(R,le.text);var we=Te&&j.getSourceFile(Te.resolvedFileName);if(we&&we.externalModuleIndicator&&E.isExportAssignment(we.externalModuleIndicator)&&we.externalModuleIndicator.isExportEquals){q.push(E.createDiagnosticForNode(Ee,E.Diagnostics.Import_may_be_converted_to_a_default_import))}}}E.addRange(q,R.bindSuggestionDiagnostics);E.addRange(q,j.getSuggestionDiagnostics(R,$));return q.sort((function(E,N){return E.start-N.start}));function check(N){if(ie){if(canBeConvertedToClass(N,G)){q.push(E.createDiagnosticForNode(E.isVariableDeclaration(N.parent)?N.parent.name:N,E.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration))}}else{if(E.isVariableStatement(N)&&N.parent===R&&N.declarationList.flags&2&&N.declarationList.declarations.length===1){var j=N.declarationList.declarations[0].initializer;if(j&&E.isRequireCall(j,true)){q.push(E.createDiagnosticForNode(j,E.Diagnostics.require_call_may_be_converted_to_an_import))}}if(E.codefix.parameterShouldGetTypeFromJSDoc(N)){q.push(E.createDiagnosticForNode(N.name||N,E.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}}if(canBeConvertedToAsync(N)){addConvertToAsyncFunctionDiagnostics(N,G,q)}N.forEachChild(check)}}E.computeSuggestionDiagnostics=computeSuggestionDiagnostics;function containsTopLevelCommonjs(N){return N.statements.some((function(N){switch(N.kind){case 235:return N.declarationList.declarations.some((function(N){return!!N.initializer&&E.isRequireCall(propertyAccessLeftHandSide(N.initializer),true)}));case 236:{var R=N.expression;if(!E.isBinaryExpression(R))return E.isRequireCall(R,true);var j=E.getAssignmentDeclarationKind(R);return j===1||j===2}default:return false}}))}function propertyAccessLeftHandSide(N){return E.isPropertyAccessExpression(N)?propertyAccessLeftHandSide(N.expression):N}function importNameForConvertToDefaultImport(N){switch(N.kind){case 264:var R=N.importClause,j=N.moduleSpecifier;return R&&!R.name&&R.namedBindings&&R.namedBindings.kind===266&&E.isStringLiteral(j)?R.namedBindings.name:undefined;case 263:return N.name;default:return undefined}}function addConvertToAsyncFunctionDiagnostics(R,j,$){if(isConvertibleFunction(R,j)&&!N.has(getKeyFromNode(R))){$.push(E.createDiagnosticForNode(!R.name&&E.isVariableDeclaration(R.parent)&&E.isIdentifier(R.parent.name)?R.parent.name:R,E.Diagnostics.This_may_be_converted_to_an_async_function))}}function isConvertibleFunction(N,R){return!E.isAsyncFunction(N)&&N.body&&E.isBlock(N.body)&&hasReturnStatementWithPromiseHandler(N.body,R)&&returnsPromise(N,R)}function returnsPromise(E,N){var R=N.getSignatureFromDeclaration(E);var j=R?N.getReturnTypeOfSignature(R):undefined;return!!j&&!!N.getPromisedTypeOfPromise(j)}E.returnsPromise=returnsPromise;function getErrorNodeFromCommonJsIndicator(N){return E.isBinaryExpression(N)?N.left:N}function hasReturnStatementWithPromiseHandler(N,R){return!!E.forEachReturnStatement(N,(function(E){return isReturnStatementWithFixablePromiseHandler(E,R)}))}function isReturnStatementWithFixablePromiseHandler(N,R){return E.isReturnStatement(N)&&!!N.expression&&isFixablePromiseHandler(N.expression,R)}E.isReturnStatementWithFixablePromiseHandler=isReturnStatementWithFixablePromiseHandler;function isFixablePromiseHandler(N,R){if(!isPromiseHandler(N)||!N.arguments.every((function(E){return isFixablePromiseArgument(E,R)}))){return false}var j=N.expression;while(isPromiseHandler(j)||E.isPropertyAccessExpression(j)){if(E.isCallExpression(j)&&!j.arguments.every((function(E){return isFixablePromiseArgument(E,R)}))){return false}j=j.expression}return true}E.isFixablePromiseHandler=isFixablePromiseHandler;function isPromiseHandler(N){return E.isCallExpression(N)&&(E.hasPropertyAccessExpressionWithName(N,"then")&&hasSupportedNumberOfArguments(N)||E.hasPropertyAccessExpressionWithName(N,"catch"))}function hasSupportedNumberOfArguments(N){if(N.arguments.length>2)return false;if(N.arguments.length<2)return true;return E.some(N.arguments,(function(N){return N.kind===104||E.isIdentifier(N)&&N.text==="undefined"}))}function isFixablePromiseArgument(R,j){switch(R.kind){case 254:case 211:var $=E.getFunctionFlags(R);if($&1){return false}case 212:N.set(getKeyFromNode(R),true);case 104:return true;case 79:case 204:{var q=j.getSymbolAtLocation(R);if(!q){return false}return j.isUndefinedSymbol(q)||E.some(E.skipAlias(q,j).declarations,(function(N){return E.isFunctionLike(N)||E.hasInitializer(N)&&!!N.initializer&&E.isFunctionLike(N.initializer)}))}default:return false}}function getKeyFromNode(E){return E.pos.toString()+":"+E.end.toString()}function canBeConvertedToClass(N,R){var j,$,q,G;if(N.kind===211){if(E.isVariableDeclaration(N.parent)&&((j=N.symbol.members)===null||j===void 0?void 0:j.size)){return true}var ie=R.getSymbolOfExpando(N,false);return!!(ie&&((($=ie.exports)===null||$===void 0?void 0:$.size)||((q=ie.members)===null||q===void 0?void 0:q.size)))}if(N.kind===254){return!!((G=N.symbol.members)===null||G===void 0?void 0:G.size)}return false}function canBeConvertedToAsync(E){switch(E.kind){case 254:case 167:case 211:case 212:return true;default:return false}}E.canBeConvertedToAsync=canBeConvertedToAsync})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=8192|70221824|16384;function getSymbolKind(N,R,j){var $=getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,R,j);if($!==""){return $}var q=E.getCombinedLocalAndExportSymbolFlags(R);if(q&32){return E.getDeclarationOfKind(R,224)?"local class":"class"}if(q&384)return"enum";if(q&524288)return"type";if(q&64)return"interface";if(q&262144)return"type parameter";if(q&8)return"enum member";if(q&2097152)return"alias";if(q&1536)return"module";return $}N.getSymbolKind=getSymbolKind;function getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,R,j){var $=N.getRootSymbols(R);if($.length===1&&E.first($).flags&8192&&N.getTypeOfSymbolAtLocation(R,j).getNonNullableType().getCallSignatures().length!==0){return"method"}if(N.isUndefinedSymbol(R)){return"var"}if(N.isArgumentsSymbol(R)){return"local var"}if(j.kind===108&&E.isExpression(j)){return"parameter"}var q=E.getCombinedLocalAndExportSymbolFlags(R);if(q&3){if(E.isFirstDeclarationOfSymbolParameter(R)){return"parameter"}else if(R.valueDeclaration&&E.isVarConst(R.valueDeclaration)){return"const"}else if(E.forEach(R.declarations,E.isLet)){return"let"}return isLocalVariableOrFunction(R)?"local var":"var"}if(q&16)return isLocalVariableOrFunction(R)?"local function":"function";if(q&32768)return"getter";if(q&65536)return"setter";if(q&8192)return"method";if(q&16384)return"constructor";if(q&4){if(q&33554432&&R.checkFlags&6){var G=E.forEach(N.getRootSymbols(R),(function(E){var N=E.getFlags();if(N&(98308|3)){return"property"}}));if(!G){var ie=N.getTypeOfSymbolAtLocation(R,j);if(ie.getCallSignatures().length){return"method"}return"property"}return G}switch(j.parent&&j.parent.kind){case 278:case 276:case 277:return j.kind===79?"property":"JSX attribute";case 283:return"JSX attribute";default:return"property"}}return""}function getNormalizedSymbolModifiers(N){if(N.declarations&&N.declarations.length){var R=N.declarations,j=R[0],$=R.slice(1);var q=E.length($)&&E.isDeprecatedDeclaration(j)&&E.some($,(function(N){return!E.isDeprecatedDeclaration(N)}))?8192:0;var G=E.getNodeModifiers(j,q);if(G){return G.split(",")}}return[]}function getSymbolModifiers(N,R){if(!R){return""}var j=new E.Set(getNormalizedSymbolModifiers(R));if(R.flags&2097152){var $=N.getAliasedSymbol(R);if($!==R){E.forEach(getNormalizedSymbolModifiers($),(function(E){j.add(E)}))}}if(R.flags&16777216){j.add("optional")}return j.size>0?E.arrayFrom(j.values()).join(","):""}N.getSymbolModifiers=getSymbolModifiers;function getSymbolDisplayPartsDocumentationAndSymbolKind(N,j,$,q,G,ie,ae){var ce;if(ie===void 0){ie=E.getMeaningFromLocation(G)}var le=[];var _e=[];var Ee=[];var Te=E.getCombinedLocalAndExportSymbolFlags(j);var we=ie&1?getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,j,G):"";var Ie=false;var Ne=G.kind===108&&E.isInExpressionContext(G);var Me;var Le;var Be;var je;var Ue=false;if(G.kind===108&&!Ne){return{displayParts:[E.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:undefined}}if(we!==""||Te&32||Te&2097152){if(we==="getter"||we==="setter"){we="property"}var ze=void 0;Me=Ne?N.getTypeAtLocation(G):N.getTypeOfSymbolAtLocation(j,G);if(G.parent&&G.parent.kind===204){var We=G.parent.name;if(We===G||We&&We.getFullWidth()===0){G=G.parent}}var Je=void 0;if(E.isCallOrNewExpression(G)){Je=G}else if(E.isCallExpressionTarget(G)||E.isNewExpressionTarget(G)){Je=G.parent}else if(G.parent&&(E.isJsxOpeningLikeElement(G.parent)||E.isTaggedTemplateExpression(G.parent))&&E.isFunctionLike(j.valueDeclaration)){Je=G.parent}if(Je){ze=N.getResolvedSignature(Je);var Ve=Je.kind===207||E.isCallExpression(Je)&&Je.expression.kind===106;var qe=Ve?Me.getConstructSignatures():Me.getCallSignatures();if(ze&&!E.contains(qe,ze.target)&&!E.contains(qe,ze)){ze=qe.length?qe[0]:undefined}if(ze){if(Ve&&Te&32){we="constructor";addPrefixForAnyFunctionOrVar(Me.symbol,we)}else if(Te&2097152){we="alias";pushSymbolKind(we);le.push(E.spacePart());if(Ve){if(ze.flags&4){le.push(E.keywordPart(126));le.push(E.spacePart())}le.push(E.keywordPart(103));le.push(E.spacePart())}addFullSymbolName(j)}else{addPrefixForAnyFunctionOrVar(j,we)}switch(we){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":le.push(E.punctuationPart(58));le.push(E.spacePart());if(!(E.getObjectFlags(Me)&16)&&Me.symbol){E.addRange(le,E.symbolToDisplayParts(N,Me.symbol,q,undefined,4|1));le.push(E.lineBreakPart())}if(Ve){if(ze.flags&4){le.push(E.keywordPart(126));le.push(E.spacePart())}le.push(E.keywordPart(103));le.push(E.spacePart())}addSignatureDisplayParts(ze,qe,262144);break;default:addSignatureDisplayParts(ze,qe)}Ie=true;Ue=qe.length>1}}else if(E.isNameOfFunctionDeclaration(G)&&!(Te&98304)||G.kind===133&&G.parent.kind===169){var He=G.parent;var Ge=j.declarations&&E.find(j.declarations,(function(E){return E===(G.kind===133?He.parent:He)}));if(Ge){var qe=He.kind===169?Me.getNonNullableType().getConstructSignatures():Me.getNonNullableType().getCallSignatures();if(!N.isImplementationOfOverload(He)){ze=N.getSignatureFromDeclaration(He)}else{ze=qe[0]}if(He.kind===169){we="constructor";addPrefixForAnyFunctionOrVar(Me.symbol,we)}else{addPrefixForAnyFunctionOrVar(He.kind===172&&!(Me.symbol.flags&2048||Me.symbol.flags&4096)?Me.symbol:j,we)}if(ze){addSignatureDisplayParts(ze,qe)}Ie=true;Ue=qe.length>1}}}if(Te&32&&!Ie&&!Ne){addAliasPrefixIfNecessary();if(E.getDeclarationOfKind(j,224)){pushSymbolKind("local class")}else{le.push(E.keywordPart(84))}le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$)}if(Te&64&&ie&2){prefixNextMeaning();le.push(E.keywordPart(118));le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$)}if(Te&524288&&ie&2){prefixNextMeaning();le.push(E.keywordPart(150));le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$);le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());E.addRange(le,E.typeToDisplayParts(N,N.getDeclaredTypeOfSymbol(j),q,8388608))}if(Te&384){prefixNextMeaning();if(E.some(j.declarations,(function(N){return E.isEnumDeclaration(N)&&E.isEnumConst(N)}))){le.push(E.keywordPart(85));le.push(E.spacePart())}le.push(E.keywordPart(92));le.push(E.spacePart());addFullSymbolName(j)}if(Te&1536&&!Ne){prefixNextMeaning();var Ke=E.getDeclarationOfKind(j,259);var Qe=Ke&&Ke.name&&Ke.name.kind===79;le.push(E.keywordPart(Qe?141:140));le.push(E.spacePart());addFullSymbolName(j)}if(Te&262144&&ie&2){prefixNextMeaning();le.push(E.punctuationPart(20));le.push(E.textPart("type parameter"));le.push(E.punctuationPart(21));le.push(E.spacePart());addFullSymbolName(j);if(j.parent){addInPrefix();addFullSymbolName(j.parent,q);writeTypeParametersOfSymbol(j.parent,q)}else{var Xe=E.getDeclarationOfKind(j,161);if(Xe===undefined)return E.Debug.fail();var Ke=Xe.parent;if(Ke){if(E.isFunctionLikeKind(Ke.kind)){addInPrefix();var ze=N.getSignatureFromDeclaration(Ke);if(Ke.kind===173){le.push(E.keywordPart(103));le.push(E.spacePart())}else if(Ke.kind!==172&&Ke.name){addFullSymbolName(Ke.symbol)}E.addRange(le,E.signatureToDisplayParts(N,ze,$,32))}else if(Ke.kind===257){addInPrefix();le.push(E.keywordPart(150));le.push(E.spacePart());addFullSymbolName(Ke.symbol);writeTypeParametersOfSymbol(Ke.symbol,$)}}}}if(Te&8){we="enum member";addPrefixForAnyFunctionOrVar(j,"enum member");var Ke=(ce=j.declarations)===null||ce===void 0?void 0:ce[0];if((Ke===null||Ke===void 0?void 0:Ke.kind)===294){var Ye=N.getConstantValue(Ke);if(Ye!==undefined){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());le.push(E.displayPart(E.getTextOfConstantValue(Ye),typeof Ye==="number"?E.SymbolDisplayPartKind.numericLiteral:E.SymbolDisplayPartKind.stringLiteral))}}}if(j.flags&2097152){prefixNextMeaning();if(!Ie){var Ze=N.getAliasedSymbol(j);if(Ze!==j&&Ze.declarations&&Ze.declarations.length>0){var et=Ze.declarations[0];var tt=E.getNameOfDeclaration(et);if(tt){var rt=E.isModuleWithStringLiteralName(et)&&E.hasSyntacticModifier(et,2);var nt=j.name!=="default"&&!rt;var it=getSymbolDisplayPartsDocumentationAndSymbolKind(N,Ze,E.getSourceFileOfNode(et),et,tt,ie,nt?j:Ze);le.push.apply(le,it.displayParts);le.push(E.lineBreakPart());Be=it.documentation;je=it.tags}else{Be=Ze.getContextualDocumentationComment(et,N);je=Ze.getJsDocTags(N)}}}if(j.declarations){switch(j.declarations[0].kind){case 262:le.push(E.keywordPart(93));le.push(E.spacePart());le.push(E.keywordPart(141));break;case 269:le.push(E.keywordPart(93));le.push(E.spacePart());le.push(E.keywordPart(j.declarations[0].isExportEquals?63:88));break;case 273:le.push(E.keywordPart(93));break;default:le.push(E.keywordPart(100))}}le.push(E.spacePart());addFullSymbolName(j);E.forEach(j.declarations,(function(R){if(R.kind===263){var j=R;if(E.isExternalModuleImportEqualsDeclaration(j)){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());le.push(E.keywordPart(144));le.push(E.punctuationPart(20));le.push(E.displayPart(E.getTextOfNode(E.getExternalModuleImportEqualsDeclarationExpression(j)),E.SymbolDisplayPartKind.stringLiteral));le.push(E.punctuationPart(21))}else{var $=N.getSymbolAtLocation(j.moduleReference);if($){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());addFullSymbolName($,q)}}return true}}))}if(!Ie){if(we!==""){if(Me){if(Ne){prefixNextMeaning();le.push(E.keywordPart(108))}else{addPrefixForAnyFunctionOrVar(j,we)}if(we==="property"||we==="JSX attribute"||Te&3||we==="local var"||Ne){le.push(E.punctuationPart(58));le.push(E.spacePart());if(Me.symbol&&Me.symbol.flags&262144){var ot=E.mapToDisplayParts((function(j){var $=N.typeParameterToDeclaration(Me,q,R);getPrinter().writeNode(4,$,E.getSourceFileOfNode(E.getParseTreeNode(q)),j)}));E.addRange(le,ot)}else{E.addRange(le,E.typeToDisplayParts(N,Me,q))}if(j.target&&j.target.tupleLabelDeclaration){var st=j.target.tupleLabelDeclaration;E.Debug.assertNode(st.name,E.isIdentifier);le.push(E.spacePart());le.push(E.punctuationPart(20));le.push(E.textPart(E.idText(st.name)));le.push(E.punctuationPart(21))}}else if(Te&16||Te&8192||Te&16384||Te&131072||Te&98304||we==="method"){var qe=Me.getNonNullableType().getCallSignatures();if(qe.length){addSignatureDisplayParts(qe[0],qe);Ue=qe.length>1}}}}else{we=getSymbolKind(N,j,G)}}if(_e.length===0&&!Ue){_e=j.getContextualDocumentationComment(q,N)}if(_e.length===0&&Te&4){if(j.parent&&j.declarations&&E.forEach(j.parent.declarations,(function(E){return E.kind===300}))){for(var ct=0,ut=j.declarations;ct<ut.length;ct++){var Ke=ut[ct];if(!Ke.parent||Ke.parent.kind!==219){continue}var dt=N.getSymbolAtLocation(Ke.parent.right);if(!dt){continue}_e=dt.getDocumentationComment(N);Ee=dt.getJsDocTags(N);if(_e.length>0){break}}}}if(Ee.length===0&&!Ue){Ee=j.getJsDocTags(N)}if(_e.length===0&&Be){_e=Be}if(Ee.length===0&&je){Ee=je}return{displayParts:le,documentation:_e,symbolKind:we,tags:Ee.length===0?undefined:Ee};function getPrinter(){if(!Le){Le=E.createPrinter({removeComments:true})}return Le}function prefixNextMeaning(){if(le.length){le.push(E.lineBreakPart())}addAliasPrefixIfNecessary()}function addAliasPrefixIfNecessary(){if(ae){pushSymbolKind("alias");le.push(E.spacePart())}}function addInPrefix(){le.push(E.spacePart());le.push(E.keywordPart(101));le.push(E.spacePart())}function addFullSymbolName(R,q){if(ae&&R===j){R=ae}var G=E.symbolToDisplayParts(N,R,q||$,undefined,1|2|4);E.addRange(le,G);if(j.flags&16777216){le.push(E.punctuationPart(57))}}function addPrefixForAnyFunctionOrVar(N,R){prefixNextMeaning();if(R){pushSymbolKind(R);if(N&&!E.some(N.declarations,(function(N){return E.isArrowFunction(N)||(E.isFunctionExpression(N)||E.isClassExpression(N))&&!N.name}))){le.push(E.spacePart());addFullSymbolName(N)}}}function pushSymbolKind(N){switch(N){case"var":case"function":case"let":case"const":case"constructor":le.push(E.textOrKeywordPart(N));return;default:le.push(E.punctuationPart(20));le.push(E.textOrKeywordPart(N));le.push(E.punctuationPart(21));return}}function addSignatureDisplayParts(R,j,$){if($===void 0){$=0}E.addRange(le,E.signatureToDisplayParts(N,R,q,$|32));if(j.length>1){le.push(E.spacePart());le.push(E.punctuationPart(20));le.push(E.operatorPart(39));le.push(E.displayPart((j.length-1).toString(),E.SymbolDisplayPartKind.numericLiteral));le.push(E.spacePart());le.push(E.textPart(j.length===2?"overload":"overloads"));le.push(E.punctuationPart(21))}_e=R.getDocumentationComment(N);Ee=R.getJsDocTags();if(j.length>1&&_e.length===0&&Ee.length===0){_e=j[0].getDocumentationComment(N);Ee=j[0].getJsDocTags()}}function writeTypeParametersOfSymbol(j,$){var q=E.mapToDisplayParts((function(q){var G=N.symbolToTypeParameterDeclarations(j,$,R);getPrinter().writeList(53776,G,E.getSourceFileOfNode(E.getParseTreeNode($)),q)}));E.addRange(le,q)}}N.getSymbolDisplayPartsDocumentationAndSymbolKind=getSymbolDisplayPartsDocumentationAndSymbolKind;function isLocalVariableOrFunction(N){if(N.parent){return false}return E.forEach(N.declarations,(function(N){if(N.kind===211){return true}if(N.kind!==252&&N.kind!==254){return false}for(var R=N.parent;!E.isFunctionBlock(R);R=R.parent){if(R.kind===300||R.kind===260){return false}}return true}))}})(N=E.SymbolDisplay||(E.SymbolDisplay={}))})(ce||(ce={}));var ce;(function(E){function transpileModule(N,R){var j=[];var $=R.compilerOptions?fixupCompilerOptions(R.compilerOptions,j):{};var q=E.getDefaultCompilerOptions();for(var G in q){if(E.hasProperty(q,G)&&$[G]===undefined){$[G]=q[G]}}for(var ie=0,ae=E.transpileOptionValueCompilerOptions;ie<ae.length;ie++){var ce=ae[ie];$[ce.name]=ce.transpileOptionValue}$.suppressOutputPathCheck=true;$.allowNonTsExtensions=true;var le=R.fileName||(R.compilerOptions&&R.compilerOptions.jsx?"module.tsx":"module.ts");var _e=E.createSourceFile(le,N,$.target);if(R.moduleName){_e.moduleName=R.moduleName}if(R.renamedDependencies){_e.renamedDependencies=new E.Map(E.getEntries(R.renamedDependencies))}var Ee=E.getNewLineCharacter($);var Te;var we;var Ie={getSourceFile:function(N){return N===E.normalizePath(le)?_e:undefined},writeFile:function(N,R){if(E.fileExtensionIs(N,".map")){E.Debug.assertEqual(we,undefined,"Unexpected multiple source map outputs, file:",N);we=R}else{E.Debug.assertEqual(Te,undefined,"Unexpected multiple outputs, file:",N);Te=R}},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return false},getCanonicalFileName:function(E){return E},getCurrentDirectory:function(){return""},getNewLine:function(){return Ee},fileExists:function(E){return E===le},readFile:function(){return""},directoryExists:function(){return true},getDirectories:function(){return[]}};var Ne=E.createProgram([le],$,Ie);if(R.reportDiagnostics){E.addRange(j,Ne.getSyntacticDiagnostics(_e));E.addRange(j,Ne.getOptionsDiagnostics())}Ne.emit(undefined,undefined,undefined,undefined,R.transformers);if(Te===undefined)return E.Debug.fail("Output generation failed");return{outputText:Te,diagnostics:j,sourceMapText:we}}E.transpileModule=transpileModule;function transpile(N,R,j,$,q){var G=transpileModule(N,{compilerOptions:R,fileName:j,reportDiagnostics:!!$,moduleName:q});E.addRange($,G.diagnostics);return G.outputText}E.transpile=transpile;var N;function fixupCompilerOptions(R,j){N=N||E.filter(E.optionDeclarations,(function(N){return typeof N.type==="object"&&!E.forEachEntry(N.type,(function(E){return typeof E!=="number"}))}));R=E.cloneCompilerOptions(R);var _loop_9=function(N){if(!E.hasProperty(R,N.name)){return"continue"}var $=R[N.name];if(E.isString($)){R[N.name]=E.parseCustomTypeOption(N,$,j)}else{if(!E.forEachEntry(N.type,(function(E){return E===$}))){j.push(E.createCompilerDiagnosticForInvalidCustomType(N))}}};for(var $=0,q=N;$<q.length;$++){var G=q[$];_loop_9(G)}return R}E.fixupCompilerOptions=fixupCompilerOptions})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(E){E[E["FormatDocument"]=0]="FormatDocument";E[E["FormatSelection"]=1]="FormatSelection";E[E["FormatOnEnter"]=2]="FormatOnEnter";E[E["FormatOnSemicolon"]=3]="FormatOnSemicolon";E[E["FormatOnOpeningCurlyBrace"]=4]="FormatOnOpeningCurlyBrace";E[E["FormatOnClosingCurlyBrace"]=5]="FormatOnClosingCurlyBrace"})(R=N.FormattingRequestKind||(N.FormattingRequestKind={}));var j=function(){function FormattingContext(E,N,R){this.sourceFile=E;this.formattingRequestKind=N;this.options=R}FormattingContext.prototype.updateContext=function(N,R,j,$,q){this.currentTokenSpan=E.Debug.checkDefined(N);this.currentTokenParent=E.Debug.checkDefined(R);this.nextTokenSpan=E.Debug.checkDefined(j);this.nextTokenParent=E.Debug.checkDefined($);this.contextNode=E.Debug.checkDefined(q);this.contextNodeAllOnSameLine=undefined;this.nextNodeAllOnSameLine=undefined;this.tokensAreOnSameLine=undefined;this.contextNodeBlockIsOnOneLine=undefined;this.nextNodeBlockIsOnOneLine=undefined};FormattingContext.prototype.ContextNodeAllOnSameLine=function(){if(this.contextNodeAllOnSameLine===undefined){this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)}return this.contextNodeAllOnSameLine};FormattingContext.prototype.NextNodeAllOnSameLine=function(){if(this.nextNodeAllOnSameLine===undefined){this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)}return this.nextNodeAllOnSameLine};FormattingContext.prototype.TokensAreOnSameLine=function(){if(this.tokensAreOnSameLine===undefined){var E=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line;var N=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=E===N}return this.tokensAreOnSameLine};FormattingContext.prototype.ContextNodeBlockIsOnOneLine=function(){if(this.contextNodeBlockIsOnOneLine===undefined){this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)}return this.contextNodeBlockIsOnOneLine};FormattingContext.prototype.NextNodeBlockIsOnOneLine=function(){if(this.nextNodeBlockIsOnOneLine===undefined){this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)}return this.nextNodeBlockIsOnOneLine};FormattingContext.prototype.NodeIsOnOneLine=function(E){var N=this.sourceFile.getLineAndCharacterOfPosition(E.getStart(this.sourceFile)).line;var R=this.sourceFile.getLineAndCharacterOfPosition(E.getEnd()).line;return N===R};FormattingContext.prototype.BlockIsOnOneLine=function(N){var R=E.findChildOfKind(N,18,this.sourceFile);var j=E.findChildOfKind(N,19,this.sourceFile);if(R&&j){var $=this.sourceFile.getLineAndCharacterOfPosition(R.getEnd()).line;var q=this.sourceFile.getLineAndCharacterOfPosition(j.getStart(this.sourceFile)).line;return $===q}return false};return FormattingContext}();N.FormattingContext=j})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=E.createScanner(99,false,0);var j=E.createScanner(99,false,1);var $;(function(E){E[E["Scan"]=0]="Scan";E[E["RescanGreaterThanToken"]=1]="RescanGreaterThanToken";E[E["RescanSlashToken"]=2]="RescanSlashToken";E[E["RescanTemplateToken"]=3]="RescanTemplateToken";E[E["RescanJsxIdentifier"]=4]="RescanJsxIdentifier";E[E["RescanJsxText"]=5]="RescanJsxText";E[E["RescanJsxAttributeValue"]=6]="RescanJsxAttributeValue"})($||($={}));function getFormattingScanner($,q,G,ie,ae){var ce=q===1?j:R;ce.setText($);ce.setTextPos(G);var le=true;var _e;var Ee;var Te;var we;var Ie;var Ne=ae({advance:advance,readTokenInfo:readTokenInfo,readEOFTokenRange:readEOFTokenRange,isOnToken:isOnToken,isOnEOF:isOnEOF,getCurrentLeadingTrivia:function(){return _e},lastTrailingTriviaWasNewLine:function(){return le},skipToEndOf:skipToEndOf,skipToStartOf:skipToStartOf});Ie=undefined;ce.setText(undefined);return Ne;function advance(){Ie=undefined;var N=ce.getStartPos()!==G;if(N){le=!!Ee&&E.last(Ee).kind===4}else{ce.scan()}_e=undefined;Ee=undefined;var R=ce.getStartPos();while(R<ie){var j=ce.getToken();if(!E.isTrivia(j)){break}ce.scan();var $={pos:R,end:ce.getStartPos(),kind:j};R=ce.getStartPos();_e=E.append(_e,$)}Te=ce.getStartPos()}function shouldRescanGreaterThanToken(E){switch(E.kind){case 33:case 71:case 72:case 49:case 48:return true}return false}function shouldRescanJsxIdentifier(N){if(N.parent){switch(N.parent.kind){case 283:case 278:case 279:case 277:return E.isKeyword(N.kind)||N.kind===79}}return false}function shouldRescanJsxText(N){return E.isJsxText(N)}function shouldRescanSlashToken(E){return E.kind===13}function shouldRescanTemplateToken(E){return E.kind===16||E.kind===17}function shouldRescanJsxAttributeValue(N){return N.parent&&E.isJsxAttribute(N.parent)&&N.parent.initializer===N}function startsWithSlashToken(E){return E===43||E===68}function readTokenInfo(R){E.Debug.assert(isOnToken());var j=shouldRescanGreaterThanToken(R)?1:shouldRescanSlashToken(R)?2:shouldRescanTemplateToken(R)?3:shouldRescanJsxIdentifier(R)?4:shouldRescanJsxText(R)?5:shouldRescanJsxAttributeValue(R)?6:0;if(Ie&&j===we){return fixTokenKind(Ie,R)}if(ce.getStartPos()!==Te){E.Debug.assert(Ie!==undefined);ce.setTextPos(Te);ce.scan()}var $=getNextToken(R,j);var q=N.createTextRangeWithKind(ce.getStartPos(),ce.getTextPos(),$);if(Ee){Ee=undefined}while(ce.getStartPos()<ie){$=ce.scan();if(!E.isTrivia($)){break}var G=N.createTextRangeWithKind(ce.getStartPos(),ce.getTextPos(),$);if(!Ee){Ee=[]}Ee.push(G);if($===4){ce.scan();break}}Ie={leadingTrivia:_e,trailingTrivia:Ee,token:q};return fixTokenKind(Ie,R)}function getNextToken(N,R){var j=ce.getToken();we=0;switch(R){case 1:if(j===31){we=1;var $=ce.reScanGreaterToken();E.Debug.assert(N.kind===$);return $}break;case 2:if(startsWithSlashToken(j)){we=2;var $=ce.reScanSlashToken();E.Debug.assert(N.kind===$);return $}break;case 3:if(j===19){we=3;return ce.reScanTemplateToken(false)}break;case 4:we=4;return ce.scanJsxIdentifier();case 5:we=5;return ce.reScanJsxToken(false);case 6:we=6;return ce.reScanJsxAttributeValue();case 0:break;default:E.Debug.assertNever(R)}return j}function readEOFTokenRange(){E.Debug.assert(isOnEOF());return N.createTextRangeWithKind(ce.getStartPos(),ce.getTextPos(),1)}function isOnToken(){var N=Ie?Ie.token.kind:ce.getToken();var R=Ie?Ie.token.pos:ce.getStartPos();return R<ie&&N!==1&&!E.isTrivia(N)}function isOnEOF(){var E=Ie?Ie.token.kind:ce.getToken();return E===1}function fixTokenKind(N,R){if(E.isToken(R)&&N.token.kind!==R.kind){N.token.kind=R.kind}return N}function skipToEndOf(E){ce.setTextPos(E.end);Te=ce.getStartPos();we=undefined;Ie=undefined;le=false;_e=undefined;Ee=undefined}function skipToStartOf(E){ce.setTextPos(E.pos);Te=ce.getStartPos();we=undefined;Ie=undefined;le=false;_e=undefined;Ee=undefined}}N.getFormattingScanner=getFormattingScanner})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.anyContext=E.emptyArray;var R;(function(E){E[E["StopProcessingSpaceActions"]=1]="StopProcessingSpaceActions";E[E["StopProcessingTokenActions"]=2]="StopProcessingTokenActions";E[E["InsertSpace"]=4]="InsertSpace";E[E["InsertNewLine"]=8]="InsertNewLine";E[E["DeleteSpace"]=16]="DeleteSpace";E[E["DeleteToken"]=32]="DeleteToken";E[E["InsertTrailingSemicolon"]=64]="InsertTrailingSemicolon";E[E["StopAction"]=3]="StopAction";E[E["ModifySpaceAction"]=28]="ModifySpaceAction";E[E["ModifyTokenAction"]=96]="ModifyTokenAction"})(R=N.RuleAction||(N.RuleAction={}));var j;(function(E){E[E["None"]=0]="None";E[E["CanDeleteNewLines"]=1]="CanDeleteNewLines"})(j=N.RuleFlags||(N.RuleFlags={}))})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function getAllRules(){var R=[];for(var $=0;$<=158;$++){if($!==1){R.push($)}}function anyTokenExcept(){var E=[];for(var N=0;N<arguments.length;N++){E[N]=arguments[N]}return{tokens:R.filter((function(N){return!E.some((function(E){return E===N}))})),isSpecific:false}}var q={tokens:R,isSpecific:false};var G=tokenRangeFrom(j(j([],R,true),[3],false));var ie=tokenRangeFrom(j(j([],R,true),[1],false));var ae=tokenRangeFromRange(81,158);var ce=tokenRangeFromRange(29,78);var le=[101,102,158,127,138];var _e=[45,46,54,53];var Ee=[8,9,79,20,22,18,108,103];var Te=[79,20,108,103];var we=[79,21,23,103];var Ie=[79,20,108,103];var Ne=[79,21,23,103];var Me=[2,3];var Le=j([79],E.typeKeywords,true);var Be=G;var je=tokenRangeFrom([79,3,84,93,100]);var Ue=tokenRangeFrom([21,3,90,111,96,91]);var ze=[rule("IgnoreBeforeComment",q,Me,N.anyContext,1),rule("IgnoreAfterLineComment",2,q,N.anyContext,1),rule("NotSpaceBeforeColon",q,58,[isNonJsxSameLineTokenContext,isNotBinaryOpContext,isNotTypeAnnotationContext],16),rule("SpaceAfterColon",58,q,[isNonJsxSameLineTokenContext,isNotBinaryOpContext],4),rule("NoSpaceBeforeQuestionMark",q,57,[isNonJsxSameLineTokenContext,isNotBinaryOpContext,isNotTypeAnnotationContext],16),rule("SpaceAfterQuestionMarkInConditionalOperator",57,q,[isNonJsxSameLineTokenContext,isConditionalOperatorContext],4),rule("NoSpaceAfterQuestionMark",57,q,[isNonJsxSameLineTokenContext],16),rule("NoSpaceBeforeDot",q,[24,28],[isNonJsxSameLineTokenContext],16),rule("NoSpaceAfterDot",[24,28],q,[isNonJsxSameLineTokenContext],16),rule("NoSpaceBetweenImportParenInImportType",100,20,[isNonJsxSameLineTokenContext,isImportTypeContext],16),rule("NoSpaceAfterUnaryPrefixOperator",_e,Ee,[isNonJsxSameLineTokenContext,isNotBinaryOpContext],16),rule("NoSpaceAfterUnaryPreincrementOperator",45,Te,[isNonJsxSameLineTokenContext],16),rule("NoSpaceAfterUnaryPredecrementOperator",46,Ie,[isNonJsxSameLineTokenContext],16),rule("NoSpaceBeforeUnaryPostincrementOperator",we,45,[isNonJsxSameLineTokenContext,isNotStatementConditionContext],16),rule("NoSpaceBeforeUnaryPostdecrementOperator",Ne,46,[isNonJsxSameLineTokenContext,isNotStatementConditionContext],16),rule("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("SpaceAfterAddWhenFollowedByPreincrement",39,45,[isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("NoSpaceAfterCloseBrace",19,[27,26],[isNonJsxSameLineTokenContext],16),rule("NewLineBeforeCloseBraceInBlockContext",G,19,[isMultilineBlockContext],8),rule("SpaceAfterCloseBrace",19,anyTokenExcept(21),[isNonJsxSameLineTokenContext,isAfterCodeBlockContext],4),rule("SpaceBetweenCloseBraceAndElse",19,91,[isNonJsxSameLineTokenContext],4),rule("SpaceBetweenCloseBraceAndWhile",19,115,[isNonJsxSameLineTokenContext],4),rule("NoSpaceBetweenEmptyBraceBrackets",18,19,[isNonJsxSameLineTokenContext,isObjectContext],16),rule("SpaceAfterConditionalClosingParen",21,22,[isControlDeclContext],4),rule("NoSpaceBetweenFunctionKeywordAndStar",98,41,[isFunctionDeclarationOrFunctionExpressionContext],16),rule("SpaceAfterStarInGeneratorDeclaration",41,79,[isFunctionDeclarationOrFunctionExpressionContext],4),rule("SpaceAfterFunctionInFuncDecl",98,q,[isFunctionDeclContext],4),rule("NewLineAfterOpenBraceInBlockContext",18,q,[isMultilineBlockContext],8),rule("SpaceAfterGetSetInMember",[135,147],79,[isFunctionDeclContext],4),rule("NoSpaceBetweenYieldKeywordAndStar",125,41,[isNonJsxSameLineTokenContext,isYieldOrYieldStarWithOperand],16),rule("SpaceBetweenYieldOrYieldStarAndOperand",[125,41],q,[isNonJsxSameLineTokenContext,isYieldOrYieldStarWithOperand],4),rule("NoSpaceBetweenReturnAndSemicolon",105,26,[isNonJsxSameLineTokenContext],16),rule("SpaceAfterCertainKeywords",[113,109,103,89,105,112,131],q,[isNonJsxSameLineTokenContext],4),rule("SpaceAfterLetConstInVariableDeclaration",[119,85],q,[isNonJsxSameLineTokenContext,isStartOfVariableDeclarationList],4),rule("NoSpaceBeforeOpenParenInFuncCall",q,20,[isNonJsxSameLineTokenContext,isFunctionCallOrNewContext,isPreviousTokenNotComma],16),rule("SpaceBeforeBinaryKeywordOperator",q,le,[isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("SpaceAfterBinaryKeywordOperator",le,q,[isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("SpaceAfterVoidOperator",114,q,[isNonJsxSameLineTokenContext,isVoidOpContext],4),rule("SpaceBetweenAsyncAndOpenParen",130,20,[isArrowFunctionContext,isNonJsxSameLineTokenContext],4),rule("SpaceBetweenAsyncAndFunctionKeyword",130,[98,79],[isNonJsxSameLineTokenContext],4),rule("NoSpaceBetweenTagAndTemplateString",[79,21],[14,15],[isNonJsxSameLineTokenContext],16),rule("SpaceBeforeJsxAttribute",q,79,[isNextTokenParentJsxAttribute,isNonJsxSameLineTokenContext],4),rule("SpaceBeforeSlashInJsxOpeningElement",q,43,[isJsxSelfClosingElementContext,isNonJsxSameLineTokenContext],4),rule("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[isJsxSelfClosingElementContext,isNonJsxSameLineTokenContext],16),rule("NoSpaceBeforeEqualInJsxAttribute",q,63,[isJsxAttributeContext,isNonJsxSameLineTokenContext],16),rule("NoSpaceAfterEqualInJsxAttribute",63,q,[isJsxAttributeContext,isNonJsxSameLineTokenContext],16),rule("NoSpaceAfterModuleImport",[140,144],20,[isNonJsxSameLineTokenContext],16),rule("SpaceAfterCertainTypeScriptKeywords",[126,84,134,88,92,93,94,135,117,100,118,140,141,121,123,122,143,147,124,150,154,139,136],q,[isNonJsxSameLineTokenContext],4),rule("SpaceBeforeCertainTypeScriptKeywords",q,[94,117,154],[isNonJsxSameLineTokenContext],4),rule("SpaceAfterModuleName",10,18,[isModuleDeclContext],4),rule("SpaceBeforeArrow",q,38,[isNonJsxSameLineTokenContext],4),rule("SpaceAfterArrow",38,q,[isNonJsxSameLineTokenContext],4),rule("NoSpaceAfterEllipsis",25,79,[isNonJsxSameLineTokenContext],16),rule("NoSpaceAfterOptionalParameters",57,[21,27],[isNonJsxSameLineTokenContext,isNotBinaryOpContext],16),rule("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[isNonJsxSameLineTokenContext,isObjectTypeContext],16),rule("NoSpaceBeforeOpenAngularBracket",Le,29,[isNonJsxSameLineTokenContext,isTypeArgumentOrParameterOrAssertionContext],16),rule("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[isNonJsxSameLineTokenContext,isTypeArgumentOrParameterOrAssertionContext],16),rule("NoSpaceAfterOpenAngularBracket",29,q,[isNonJsxSameLineTokenContext,isTypeArgumentOrParameterOrAssertionContext],16),rule("NoSpaceBeforeCloseAngularBracket",q,31,[isNonJsxSameLineTokenContext,isTypeArgumentOrParameterOrAssertionContext],16),rule("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[isNonJsxSameLineTokenContext,isTypeArgumentOrParameterOrAssertionContext,isNotFunctionDeclContext],16),rule("SpaceBeforeAt",[21,79],59,[isNonJsxSameLineTokenContext],4),rule("NoSpaceAfterAt",59,q,[isNonJsxSameLineTokenContext],16),rule("SpaceAfterDecorator",q,[126,79,93,88,84,124,123,121,122,135,147,22,41],[isEndOfDecoratorContextOnSameLine],4),rule("NoSpaceBeforeNonNullAssertionOperator",q,53,[isNonJsxSameLineTokenContext,isNonNullAssertionContext],16),rule("NoSpaceAfterNewKeywordOnConstructorSignature",103,20,[isNonJsxSameLineTokenContext,isConstructorSignatureContext],16),rule("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[isNonJsxSameLineTokenContext],4)];var We=[rule("SpaceAfterConstructor",133,20,[isOptionEnabled("insertSpaceAfterConstructor"),isNonJsxSameLineTokenContext],4),rule("NoSpaceAfterConstructor",133,20,[isOptionDisabledOrUndefined("insertSpaceAfterConstructor"),isNonJsxSameLineTokenContext],16),rule("SpaceAfterComma",27,q,[isOptionEnabled("insertSpaceAfterCommaDelimiter"),isNonJsxSameLineTokenContext,isNonJsxElementOrFragmentContext,isNextTokenNotCloseBracket,isNextTokenNotCloseParen],4),rule("NoSpaceAfterComma",27,q,[isOptionDisabledOrUndefined("insertSpaceAfterCommaDelimiter"),isNonJsxSameLineTokenContext,isNonJsxElementOrFragmentContext],16),rule("SpaceAfterAnonymousFunctionKeyword",[98,41],20,[isOptionEnabled("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),isFunctionDeclContext],4),rule("NoSpaceAfterAnonymousFunctionKeyword",[98,41],20,[isOptionDisabledOrUndefined("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),isFunctionDeclContext],16),rule("SpaceAfterKeywordInControl",ae,20,[isOptionEnabled("insertSpaceAfterKeywordsInControlFlowStatements"),isControlDeclContext],4),rule("NoSpaceAfterKeywordInControl",ae,20,[isOptionDisabledOrUndefined("insertSpaceAfterKeywordsInControlFlowStatements"),isControlDeclContext],16),rule("SpaceAfterOpenParen",20,q,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),isNonJsxSameLineTokenContext],4),rule("SpaceBeforeCloseParen",q,21,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),isNonJsxSameLineTokenContext],4),rule("SpaceBetweenOpenParens",20,20,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),isNonJsxSameLineTokenContext],4),rule("NoSpaceBetweenParens",20,21,[isNonJsxSameLineTokenContext],16),rule("NoSpaceAfterOpenParen",20,q,[isOptionDisabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),isNonJsxSameLineTokenContext],16),rule("NoSpaceBeforeCloseParen",q,21,[isOptionDisabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),isNonJsxSameLineTokenContext],16),rule("SpaceAfterOpenBracket",22,q,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),isNonJsxSameLineTokenContext],4),rule("SpaceBeforeCloseBracket",q,23,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),isNonJsxSameLineTokenContext],4),rule("NoSpaceBetweenBrackets",22,23,[isNonJsxSameLineTokenContext],16),rule("NoSpaceAfterOpenBracket",22,q,[isOptionDisabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),isNonJsxSameLineTokenContext],16),rule("NoSpaceBeforeCloseBracket",q,23,[isOptionDisabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),isNonJsxSameLineTokenContext],16),rule("SpaceAfterOpenBrace",18,q,[isOptionEnabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),isBraceWrappedContext],4),rule("SpaceBeforeCloseBrace",q,19,[isOptionEnabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),isBraceWrappedContext],4),rule("NoSpaceBetweenEmptyBraceBrackets",18,19,[isNonJsxSameLineTokenContext,isObjectContext],16),rule("NoSpaceAfterOpenBrace",18,q,[isOptionDisabled("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),isNonJsxSameLineTokenContext],16),rule("NoSpaceBeforeCloseBrace",q,19,[isOptionDisabled("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),isNonJsxSameLineTokenContext],16),rule("SpaceBetweenEmptyBraceBrackets",18,19,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),rule("NoSpaceBetweenEmptyBraceBrackets",18,19,[isOptionDisabled("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),isNonJsxSameLineTokenContext],16),rule("SpaceAfterTemplateHeadAndMiddle",[15,16],q,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),isNonJsxTextContext],4,1),rule("SpaceBeforeTemplateMiddleAndTail",q,[16,17],[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),isNonJsxSameLineTokenContext],4),rule("NoSpaceAfterTemplateHeadAndMiddle",[15,16],q,[isOptionDisabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),isNonJsxTextContext],16,1),rule("NoSpaceBeforeTemplateMiddleAndTail",q,[16,17],[isOptionDisabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),isNonJsxSameLineTokenContext],16),rule("SpaceAfterOpenBraceInJsxExpression",18,q,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),isNonJsxSameLineTokenContext,isJsxExpressionContext],4),rule("SpaceBeforeCloseBraceInJsxExpression",q,19,[isOptionEnabled("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),isNonJsxSameLineTokenContext,isJsxExpressionContext],4),rule("NoSpaceAfterOpenBraceInJsxExpression",18,q,[isOptionDisabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),isNonJsxSameLineTokenContext,isJsxExpressionContext],16),rule("NoSpaceBeforeCloseBraceInJsxExpression",q,19,[isOptionDisabledOrUndefined("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),isNonJsxSameLineTokenContext,isJsxExpressionContext],16),rule("SpaceAfterSemicolonInFor",26,q,[isOptionEnabled("insertSpaceAfterSemicolonInForStatements"),isNonJsxSameLineTokenContext,isForContext],4),rule("NoSpaceAfterSemicolonInFor",26,q,[isOptionDisabledOrUndefined("insertSpaceAfterSemicolonInForStatements"),isNonJsxSameLineTokenContext,isForContext],16),rule("SpaceBeforeBinaryOperator",q,ce,[isOptionEnabled("insertSpaceBeforeAndAfterBinaryOperators"),isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("SpaceAfterBinaryOperator",ce,q,[isOptionEnabled("insertSpaceBeforeAndAfterBinaryOperators"),isNonJsxSameLineTokenContext,isBinaryOpContext],4),rule("NoSpaceBeforeBinaryOperator",q,ce,[isOptionDisabledOrUndefined("insertSpaceBeforeAndAfterBinaryOperators"),isNonJsxSameLineTokenContext,isBinaryOpContext],16),rule("NoSpaceAfterBinaryOperator",ce,q,[isOptionDisabledOrUndefined("insertSpaceBeforeAndAfterBinaryOperators"),isNonJsxSameLineTokenContext,isBinaryOpContext],16),rule("SpaceBeforeOpenParenInFuncDecl",q,20,[isOptionEnabled("insertSpaceBeforeFunctionParenthesis"),isNonJsxSameLineTokenContext,isFunctionDeclContext],4),rule("NoSpaceBeforeOpenParenInFuncDecl",q,20,[isOptionDisabledOrUndefined("insertSpaceBeforeFunctionParenthesis"),isNonJsxSameLineTokenContext,isFunctionDeclContext],16),rule("NewLineBeforeOpenBraceInControl",Ue,18,[isOptionEnabled("placeOpenBraceOnNewLineForControlBlocks"),isControlDeclContext,isBeforeMultilineBlockContext],8,1),rule("NewLineBeforeOpenBraceInFunction",Be,18,[isOptionEnabled("placeOpenBraceOnNewLineForFunctions"),isFunctionDeclContext,isBeforeMultilineBlockContext],8,1),rule("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",je,18,[isOptionEnabled("placeOpenBraceOnNewLineForFunctions"),isTypeScriptDeclWithBlockContext,isBeforeMultilineBlockContext],8,1),rule("SpaceAfterTypeAssertion",31,q,[isOptionEnabled("insertSpaceAfterTypeAssertion"),isNonJsxSameLineTokenContext,isTypeAssertionContext],4),rule("NoSpaceAfterTypeAssertion",31,q,[isOptionDisabledOrUndefined("insertSpaceAfterTypeAssertion"),isNonJsxSameLineTokenContext,isTypeAssertionContext],16),rule("SpaceBeforeTypeAnnotation",q,[57,58],[isOptionEnabled("insertSpaceBeforeTypeAnnotation"),isNonJsxSameLineTokenContext,isTypeAnnotationContext],4),rule("NoSpaceBeforeTypeAnnotation",q,[57,58],[isOptionDisabledOrUndefined("insertSpaceBeforeTypeAnnotation"),isNonJsxSameLineTokenContext,isTypeAnnotationContext],16),rule("NoOptionalSemicolon",26,ie,[optionEquals("semicolons",E.SemicolonPreference.Remove),isSemicolonDeletionContext],32),rule("OptionalSemicolon",q,ie,[optionEquals("semicolons",E.SemicolonPreference.Insert),isSemicolonInsertionContext],64)];var Je=[rule("NoSpaceBeforeSemicolon",q,26,[isNonJsxSameLineTokenContext],16),rule("SpaceBeforeOpenBraceInControl",Ue,18,[isOptionDisabledOrUndefinedOrTokensOnSameLine("placeOpenBraceOnNewLineForControlBlocks"),isControlDeclContext,isNotFormatOnEnter,isSameLineTokenOrBeforeBlockContext],4,1),rule("SpaceBeforeOpenBraceInFunction",Be,18,[isOptionDisabledOrUndefinedOrTokensOnSameLine("placeOpenBraceOnNewLineForFunctions"),isFunctionDeclContext,isBeforeBlockContext,isNotFormatOnEnter,isSameLineTokenOrBeforeBlockContext],4,1),rule("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",je,18,[isOptionDisabledOrUndefinedOrTokensOnSameLine("placeOpenBraceOnNewLineForFunctions"),isTypeScriptDeclWithBlockContext,isNotFormatOnEnter,isSameLineTokenOrBeforeBlockContext],4,1),rule("NoSpaceBeforeComma",q,27,[isNonJsxSameLineTokenContext],16),rule("NoSpaceBeforeOpenBracket",anyTokenExcept(130,82),22,[isNonJsxSameLineTokenContext],16),rule("NoSpaceAfterCloseBracket",23,q,[isNonJsxSameLineTokenContext,isNotBeforeBlockInFunctionDeclarationContext],16),rule("SpaceAfterSemicolon",26,q,[isNonJsxSameLineTokenContext],4),rule("SpaceBetweenForAndAwaitKeyword",97,131,[isNonJsxSameLineTokenContext],4),rule("SpaceBetweenStatements",[21,90,91,82],q,[isNonJsxSameLineTokenContext,isNonJsxElementOrFragmentContext,isNotForContext],4),rule("SpaceAfterTryCatchFinally",[111,83,96],18,[isNonJsxSameLineTokenContext],4)];return j(j(j([],ze,true),We,true),Je,true)}N.getAllRules=getAllRules;function rule(E,N,R,j,$,q){if(q===void 0){q=0}return{leftTokenRange:toTokenRange(N),rightTokenRange:toTokenRange(R),rule:{debugName:E,context:j,action:$,flags:q}}}function tokenRangeFrom(E){return{tokens:E,isSpecific:true}}function toTokenRange(N){return typeof N==="number"?tokenRangeFrom([N]):E.isArray(N)?tokenRangeFrom(N):N}function tokenRangeFromRange(N,R,j){if(j===void 0){j=[]}var $=[];for(var q=N;q<=R;q++){if(!E.contains(j,q)){$.push(q)}}return tokenRangeFrom($)}function optionEquals(E,N){return function(R){return R.options&&R.options[E]===N}}function isOptionEnabled(E){return function(N){return N.options&&N.options.hasOwnProperty(E)&&!!N.options[E]}}function isOptionDisabled(E){return function(N){return N.options&&N.options.hasOwnProperty(E)&&!N.options[E]}}function isOptionDisabledOrUndefined(E){return function(N){return!N.options||!N.options.hasOwnProperty(E)||!N.options[E]}}function isOptionDisabledOrUndefinedOrTokensOnSameLine(E){return function(N){return!N.options||!N.options.hasOwnProperty(E)||!N.options[E]||N.TokensAreOnSameLine()}}function isOptionEnabledOrUndefined(E){return function(N){return!N.options||!N.options.hasOwnProperty(E)||!!N.options[E]}}function isForContext(E){return E.contextNode.kind===240}function isNotForContext(E){return!isForContext(E)}function isBinaryOpContext(E){switch(E.contextNode.kind){case 219:return E.contextNode.operatorToken.kind!==27;case 220:case 187:case 227:case 273:case 268:case 175:case 185:case 186:return true;case 201:case 257:case 263:case 269:case 252:case 162:case 294:case 165:case 164:return E.currentTokenSpan.kind===63||E.nextTokenSpan.kind===63;case 241:case 161:return E.currentTokenSpan.kind===101||E.nextTokenSpan.kind===101||E.currentTokenSpan.kind===63||E.nextTokenSpan.kind===63;case 242:return E.currentTokenSpan.kind===158||E.nextTokenSpan.kind===158}return false}function isNotBinaryOpContext(E){return!isBinaryOpContext(E)}function isNotTypeAnnotationContext(E){return!isTypeAnnotationContext(E)}function isTypeAnnotationContext(N){var R=N.contextNode.kind;return R===165||R===164||R===162||R===252||E.isFunctionLikeKind(R)}function isConditionalOperatorContext(E){return E.contextNode.kind===220||E.contextNode.kind===187}function isSameLineTokenOrBeforeBlockContext(E){return E.TokensAreOnSameLine()||isBeforeBlockContext(E)}function isBraceWrappedContext(E){return E.contextNode.kind===199||E.contextNode.kind===193||isSingleLineBlockContext(E)}function isBeforeMultilineBlockContext(E){return isBeforeBlockContext(E)&&!(E.NextNodeAllOnSameLine()||E.NextNodeBlockIsOnOneLine())}function isMultilineBlockContext(E){return isBlockContext(E)&&!(E.ContextNodeAllOnSameLine()||E.ContextNodeBlockIsOnOneLine())}function isSingleLineBlockContext(E){return isBlockContext(E)&&(E.ContextNodeAllOnSameLine()||E.ContextNodeBlockIsOnOneLine())}function isBlockContext(E){return nodeIsBlockContext(E.contextNode)}function isBeforeBlockContext(E){return nodeIsBlockContext(E.nextTokenParent)}function nodeIsBlockContext(E){if(nodeIsTypeScriptDeclWithBlockContext(E)){return true}switch(E.kind){case 233:case 261:case 203:case 260:return true}return false}function isFunctionDeclContext(E){switch(E.contextNode.kind){case 254:case 167:case 166:case 170:case 171:case 172:case 211:case 169:case 212:case 256:return true}return false}function isNotFunctionDeclContext(E){return!isFunctionDeclContext(E)}function isFunctionDeclarationOrFunctionExpressionContext(E){return E.contextNode.kind===254||E.contextNode.kind===211}function isTypeScriptDeclWithBlockContext(E){return nodeIsTypeScriptDeclWithBlockContext(E.contextNode)}function nodeIsTypeScriptDeclWithBlockContext(E){switch(E.kind){case 255:case 224:case 256:case 258:case 180:case 259:case 270:case 271:case 264:case 267:return true}return false}function isAfterCodeBlockContext(E){switch(E.currentTokenParent.kind){case 255:case 259:case 258:case 290:case 260:case 247:return true;case 233:{var N=E.currentTokenParent.parent;if(!N||N.kind!==212&&N.kind!==211){return true}}}return false}function isControlDeclContext(E){switch(E.contextNode.kind){case 237:case 247:case 240:case 241:case 242:case 239:case 250:case 238:case 246:case 290:return true;default:return false}}function isObjectContext(E){return E.contextNode.kind===203}function isFunctionCallContext(E){return E.contextNode.kind===206}function isNewContext(E){return E.contextNode.kind===207}function isFunctionCallOrNewContext(E){return isFunctionCallContext(E)||isNewContext(E)}function isPreviousTokenNotComma(E){return E.currentTokenSpan.kind!==27}function isNextTokenNotCloseBracket(E){return E.nextTokenSpan.kind!==23}function isNextTokenNotCloseParen(E){return E.nextTokenSpan.kind!==21}function isArrowFunctionContext(E){return E.contextNode.kind===212}function isImportTypeContext(E){return E.contextNode.kind===198}function isNonJsxSameLineTokenContext(E){return E.TokensAreOnSameLine()&&E.contextNode.kind!==11}function isNonJsxTextContext(E){return E.contextNode.kind!==11}function isNonJsxElementOrFragmentContext(E){return E.contextNode.kind!==276&&E.contextNode.kind!==280}function isJsxExpressionContext(E){return E.contextNode.kind===286||E.contextNode.kind===285}function isNextTokenParentJsxAttribute(E){return E.nextTokenParent.kind===283}function isJsxAttributeContext(E){return E.contextNode.kind===283}function isJsxSelfClosingElementContext(E){return E.contextNode.kind===277}function isNotBeforeBlockInFunctionDeclarationContext(E){return!isFunctionDeclContext(E)&&!isBeforeBlockContext(E)}function isEndOfDecoratorContextOnSameLine(E){return E.TokensAreOnSameLine()&&!!E.contextNode.decorators&&nodeIsInDecoratorContext(E.currentTokenParent)&&!nodeIsInDecoratorContext(E.nextTokenParent)}function nodeIsInDecoratorContext(N){while(E.isExpressionNode(N)){N=N.parent}return N.kind===163}function isStartOfVariableDeclarationList(E){return E.currentTokenParent.kind===253&&E.currentTokenParent.getStart(E.sourceFile)===E.currentTokenSpan.pos}function isNotFormatOnEnter(E){return E.formattingRequestKind!==2}function isModuleDeclContext(E){return E.contextNode.kind===259}function isObjectTypeContext(E){return E.contextNode.kind===180}function isConstructorSignatureContext(E){return E.contextNode.kind===173}function isTypeArgumentOrParameterOrAssertion(E,N){if(E.kind!==29&&E.kind!==31){return false}switch(N.kind){case 176:case 209:case 257:case 255:case 224:case 256:case 254:case 211:case 212:case 167:case 166:case 172:case 173:case 206:case 207:case 226:return true;default:return false}}function isTypeArgumentOrParameterOrAssertionContext(E){return isTypeArgumentOrParameterOrAssertion(E.currentTokenSpan,E.currentTokenParent)||isTypeArgumentOrParameterOrAssertion(E.nextTokenSpan,E.nextTokenParent)}function isTypeAssertionContext(E){return E.contextNode.kind===209}function isVoidOpContext(E){return E.currentTokenSpan.kind===114&&E.currentTokenParent.kind===215}function isYieldOrYieldStarWithOperand(E){return E.contextNode.kind===222&&E.contextNode.expression!==undefined}function isNonNullAssertionContext(E){return E.contextNode.kind===228}function isNotStatementConditionContext(E){return!isStatementConditionContext(E)}function isStatementConditionContext(E){switch(E.contextNode.kind){case 237:case 240:case 241:case 242:case 238:case 239:return true;default:return false}}function isSemicolonDeletionContext(N){var R=N.nextTokenSpan.kind;var j=N.nextTokenSpan.pos;if(E.isTrivia(R)){var $=N.nextTokenParent===N.currentTokenParent?E.findNextToken(N.currentTokenParent,E.findAncestor(N.currentTokenParent,(function(E){return!E.parent})),N.sourceFile):N.nextTokenParent.getFirstToken(N.sourceFile);if(!$){return true}R=$.kind;j=$.getStart(N.sourceFile)}var q=N.sourceFile.getLineAndCharacterOfPosition(N.currentTokenSpan.pos).line;var G=N.sourceFile.getLineAndCharacterOfPosition(j).line;if(q===G){return R===19||R===1}if(R===232||R===26){return false}if(N.contextNode.kind===256||N.contextNode.kind===257){return!E.isPropertySignature(N.currentTokenParent)||!!N.currentTokenParent.type||R!==20}if(E.isPropertyDeclaration(N.currentTokenParent)){return!N.currentTokenParent.initializer}return N.currentTokenParent.kind!==240&&N.currentTokenParent.kind!==234&&N.currentTokenParent.kind!==232&&R!==22&&R!==20&&R!==39&&R!==40&&R!==43&&R!==13&&R!==27&&R!==221&&R!==15&&R!==14&&R!==24}function isSemicolonInsertionContext(N){return E.positionIsASICandidate(N.currentTokenSpan.end,N.currentTokenParent,N.sourceFile)}})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function getFormatContext(E,N){return{options:E,getRules:getRulesMap(),host:N}}N.getFormatContext=getFormatContext;var R;function getRulesMap(){if(R===undefined){R=createRulesMap(N.getAllRules())}return R}function getRuleActionExclusion(E){var N=0;if(E&1){N|=28}if(E&2){N|=96}if(E&28){N|=28}if(E&96){N|=96}return N}function createRulesMap(N){var R=buildMap(N);return function(N){var j=R[getRuleBucketIndex(N.currentTokenSpan.kind,N.nextTokenSpan.kind)];if(j){var $=[];var q=0;for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];var ce=~getRuleActionExclusion(q);if(ae.action&ce&&E.every(ae.context,(function(E){return E(N)}))){$.push(ae);q|=ae.action}}if($.length){return $}}}}function buildMap(E){var N=new Array(q*q);var R=new Array(N.length);for(var j=0,$=E;j<$.length;j++){var G=$[j];var ie=G.leftTokenRange.isSpecific&&G.rightTokenRange.isSpecific;for(var ae=0,ce=G.leftTokenRange.tokens;ae<ce.length;ae++){var le=ce[ae];for(var _e=0,Ee=G.rightTokenRange.tokens;_e<Ee.length;_e++){var Te=Ee[_e];var we=getRuleBucketIndex(le,Te);var Ie=N[we];if(Ie===undefined){Ie=N[we]=[]}addRule(Ie,G.rule,ie,R,we)}}}return N}function getRuleBucketIndex(N,R){E.Debug.assert(N<=158&&R<=158,"Must compute formatting context from tokens");return N*q+R}var j=5;var $=31;var q=158+1;var G;(function(E){E[E["StopRulesSpecific"]=0]="StopRulesSpecific";E[E["StopRulesAny"]=j*1]="StopRulesAny";E[E["ContextRulesSpecific"]=j*2]="ContextRulesSpecific";E[E["ContextRulesAny"]=j*3]="ContextRulesAny";E[E["NoContextRulesSpecific"]=j*4]="NoContextRulesSpecific";E[E["NoContextRulesAny"]=j*5]="NoContextRulesAny"})(G||(G={}));function addRule(E,R,j,$,q){var ie=R.action&3?j?G.StopRulesSpecific:G.StopRulesAny:R.context!==N.anyContext?j?G.ContextRulesSpecific:G.ContextRulesAny:j?G.NoContextRulesSpecific:G.NoContextRulesAny;var ae=$[q]||0;E.splice(getInsertionIndex(ae,ie),0,R);$[q]=increaseInsertionIndex(ae,ie)}function getInsertionIndex(E,N){var R=0;for(var q=0;q<=N;q+=j){R+=E&$;E>>=j}return R}function increaseInsertionIndex(N,R){var j=(N>>R&$)+1;E.Debug.assert((j&$)===j,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.");return N&~($<<R)|j<<R}})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function createTextRangeWithKind(N,R,j){var $={pos:N,end:R,kind:j};if(E.Debug.isDebugging){Object.defineProperty($,"__debugKind",{get:function(){return E.Debug.formatSyntaxKind(j)}})}return $}N.createTextRangeWithKind=createTextRangeWithKind;var R;(function(E){E[E["Unknown"]=-1]="Unknown"})(R||(R={}));function formatOnEnter(N,R,j){var $=R.getLineAndCharacterOfPosition(N).line;if($===0){return[]}var q=E.getEndLinePosition($,R);while(E.isWhiteSpaceSingleLine(R.text.charCodeAt(q))){q--}if(E.isLineBreak(R.text.charCodeAt(q))){q--}var G={pos:E.getStartPositionOfLine($-1,R),end:q+1};return formatSpan(G,R,j,2)}N.formatOnEnter=formatOnEnter;function formatOnSemicolon(E,N,R){var j=findImmediatelyPrecedingTokenOfKind(E,26,N);return formatNodeLines(findOutermostNodeWithinListLevel(j),N,R,3)}N.formatOnSemicolon=formatOnSemicolon;function formatOnOpeningCurly(N,R,j){var $=findImmediatelyPrecedingTokenOfKind(N,18,R);if(!$){return[]}var q=$.parent;var G=findOutermostNodeWithinListLevel(q);var ie={pos:E.getLineStartPositionForPosition(G.getStart(R),R),end:N};return formatSpan(ie,R,j,4)}N.formatOnOpeningCurly=formatOnOpeningCurly;function formatOnClosingCurly(E,N,R){var j=findImmediatelyPrecedingTokenOfKind(E,19,N);return formatNodeLines(findOutermostNodeWithinListLevel(j),N,R,5)}N.formatOnClosingCurly=formatOnClosingCurly;function formatDocument(E,N){var R={pos:0,end:E.text.length};return formatSpan(R,E,N,0)}N.formatDocument=formatDocument;function formatSelection(N,R,j,$){var q={pos:E.getLineStartPositionForPosition(N,j),end:R};return formatSpan(q,j,$,1)}N.formatSelection=formatSelection;function findImmediatelyPrecedingTokenOfKind(N,R,j){var $=E.findPrecedingToken(N,j);return $&&$.kind===R&&N===$.getEnd()?$:undefined}function findOutermostNodeWithinListLevel(E){var N=E;while(N&&N.parent&&N.parent.end===E.end&&!isListElement(N.parent,N)){N=N.parent}return N}function isListElement(N,R){switch(N.kind){case 255:case 256:return E.rangeContainsRange(N.members,R);case 259:var j=N.body;return!!j&&j.kind===260&&E.rangeContainsRange(j.statements,R);case 300:case 233:case 260:return E.rangeContainsRange(N.statements,R);case 290:return E.rangeContainsRange(N.block.statements,R)}return false}function findEnclosingNode(N,R){return find(R);function find(j){var $=E.forEachChild(j,(function(j){return E.startEndContainsRange(j.getStart(R),j.end,N)&&j}));if($){var q=find($);if(q){return q}}return j}}function prepareRangeContainsErrorFunction(N,R){if(!N.length){return rangeHasNoErrors}var j=N.filter((function(N){return E.rangeOverlapsWithStartEnd(R,N.start,N.start+N.length)})).sort((function(E,N){return E.start-N.start}));if(!j.length){return rangeHasNoErrors}var $=0;return function(N){while(true){if($>=j.length){return false}var R=j[$];if(N.end<=R.start){return false}if(E.startEndOverlapsWithStartEnd(N.pos,N.end,R.start,R.start+R.length)){return true}$++}};function rangeHasNoErrors(){return false}}function getScanStartPosition(N,R,j){var $=N.getStart(j);if($===R.pos&&N.end===R.end){return $}var q=E.findPrecedingToken(R.pos,j);if(!q){return N.pos}if(q.end>=R.pos){return N.pos}return q.end}function getOwnOrInheritedDelta(E,R,j){var $=-1;var q;while(E){var G=j.getLineAndCharacterOfPosition(E.getStart(j)).line;if($!==-1&&G!==$){break}if(N.SmartIndenter.shouldIndentChildNode(R,E,q,j)){return R.indentSize}$=G;q=E;E=E.parent}return 0}function formatNodeGivenIndentation(E,R,j,$,q,G){var ie={pos:0,end:R.text.length};return N.getFormattingScanner(R.text,j,ie.pos,ie.end,(function(N){return formatSpanWorker(ie,E,$,q,N,G,1,(function(E){return false}),R)}))}N.formatNodeGivenIndentation=formatNodeGivenIndentation;function formatNodeLines(N,R,j,$){if(!N){return[]}var q={pos:E.getLineStartPositionForPosition(N.getStart(R),R),end:N.end};return formatSpan(q,R,j,$)}function formatSpan(E,R,j,$){var q=findEnclosingNode(E,R);return N.getFormattingScanner(R.text,R.languageVariant,getScanStartPosition(q,E,R),E.end,(function(G){return formatSpanWorker(E,q,N.SmartIndenter.getIndentationForNode(q,E,R,j.options),getOwnOrInheritedDelta(q,j.options,R),G,j,$,prepareRangeContainsErrorFunction(R.parseDiagnostics,E),R)}))}function formatSpanWorker(R,j,$,q,G,ie,ae,ce,le){var _e=ie.options,Ee=ie.getRules,Te=ie.host;var we=new N.FormattingContext(le,ae,_e);var Ie;var Ne;var Me;var Le;var Be=-1;var je=[];G.advance();if(G.isOnToken()){var Ue=le.getLineAndCharacterOfPosition(j.getStart(le)).line;var ze=Ue;if(j.decorators){ze=le.getLineAndCharacterOfPosition(E.getNonDecoratorTokenPosOfNode(j,le)).line}processNode(j,j,Ue,ze,$,q)}if(!G.isOnToken()){var We=N.SmartIndenter.nodeWillIndentChild(_e,j,undefined,le,false)?$+_e.indentSize:$;var Je=G.getCurrentLeadingTrivia();if(Je){indentTriviaItems(Je,We,false,(function(E){return processRange(E,le.getLineAndCharacterOfPosition(E.pos),j,j,undefined)}))}}if(_e.trimTrailingWhitespace!==false){trimTrailingWhitespacesForRemainingRange()}return je;function tryComputeIndentationForListItem(R,j,$,q,G){if(E.rangeOverlapsWithStartEnd(q,R,j)||E.rangeContainsStartEnd(q,R,j)){if(G!==-1){return G}}else{var ie=le.getLineAndCharacterOfPosition(R).line;var ae=E.getLineStartPositionForPosition(R,le);var ce=N.SmartIndenter.findFirstNonWhitespaceColumn(ae,R,le,_e);if(ie!==$||R===ce){var Ee=N.SmartIndenter.getBaseIndentation(_e);return Ee>ce?Ee:ce}}return-1}function computeIndentation(E,R,j,$,q,G){var ie=N.SmartIndenter.shouldIndentChildNode(_e,E)?_e.indentSize:0;if(G===R){return{indentation:R===Le?Be:q.getIndentation(),delta:Math.min(_e.indentSize,q.getDelta(E)+ie)}}else if(j===-1){if(E.kind===20&&R===Le){return{indentation:Be,delta:q.getDelta(E)}}else if(N.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement($,E,R,le)||N.SmartIndenter.childIsUnindentedBranchOfConditionalExpression($,E,R,le)||N.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument($,E,R,le)){return{indentation:q.getIndentation(),delta:ie}}else{return{indentation:q.getIndentation()+q.getDelta(E),delta:ie}}}else{return{indentation:j,delta:ie}}}function getFirstNonDecoratorTokenOfNode(N){if(N.modifiers&&N.modifiers.length){return N.modifiers[0].kind}switch(N.kind){case 255:return 84;case 256:return 118;case 254:return 98;case 258:return 258;case 170:return 135;case 171:return 147;case 167:if(N.asteriskToken){return 41}case 165:case 162:var R=E.getNameOfDeclaration(N);if(R){return R.kind}}}function getDynamicIndentation(E,R,j,$){return{getIndentationForComment:function(E,N,R){switch(E){case 19:case 23:case 21:return j+getDelta(R)}return N!==-1?N:j},getIndentationForToken:function(E,N,R,$){return!$&&shouldAddDelta(E,N,R)?j+getDelta(R):j},getIndentation:function(){return j},getDelta:getDelta,recomputeIndentation:function(R,q){if(N.SmartIndenter.shouldIndentChildNode(_e,q,E,le)){j+=R?_e.indentSize:-_e.indentSize;$=N.SmartIndenter.shouldIndentChildNode(_e,E)?_e.indentSize:0}}};function shouldAddDelta(N,j,$){switch(j){case 18:case 19:case 21:case 91:case 115:case 59:return false;case 43:case 31:switch($.kind){case 278:case 279:case 277:case 226:return false}break;case 22:case 23:if($.kind!==193){return false}break}return R!==N&&!(E.decorators&&j===getFirstNonDecoratorTokenOfNode(E))}function getDelta(R){return N.SmartIndenter.nodeWillIndentChild(_e,E,R,le,true)?$:0}}function processNode(j,$,q,ie,ae,Ee){if(!E.rangeOverlapsWithStartEnd(R,j.getStart(le),j.getEnd())){return}var Te=getDynamicIndentation(j,q,ae,Ee);var we=$;E.forEachChild(j,(function(E){processChildNode(E,-1,j,Te,q,ie,false)}),(function(E){processChildNodes(E,j,q,Te)}));while(G.isOnToken()){var je=G.readTokenInfo(j);if(je.token.end>j.end){break}consumeTokenAndAdvanceScanner(je,j,Te,j)}if(!j.parent&&G.isOnEOF()){var Ue=G.readEOFTokenRange();if(Ue.end<=j.end&&Ie){processPair(Ue,le.getLineAndCharacterOfPosition(Ue.pos).line,j,Ie,Me,Ne,$,Te)}}function processChildNode(N,$,q,ie,ae,ce,_e,Ee){var Te=N.getStart(le);var Ie=le.getLineAndCharacterOfPosition(Te).line;var Ne=Ie;if(N.decorators){Ne=le.getLineAndCharacterOfPosition(E.getNonDecoratorTokenPosOfNode(N,le)).line}var Me=-1;if(_e&&E.rangeContainsRange(R,q)){Me=tryComputeIndentationForListItem(Te,N.end,ae,R,$);if(Me!==-1){$=Me}}if(!E.rangeOverlapsWithStartEnd(R,N.pos,N.end)){if(N.end<R.pos){G.skipToEndOf(N)}return $}if(N.getFullWidth()===0){return $}while(G.isOnToken()){var Le=G.readTokenInfo(j);if(Le.token.end>Te){if(Le.token.pos>Te){G.skipToStartOf(N)}break}consumeTokenAndAdvanceScanner(Le,j,ie,j)}if(!G.isOnToken()){return $}if(E.isToken(N)){var Le=G.readTokenInfo(N);if(N.kind!==11){E.Debug.assert(Le.token.end===N.end,"Token end is child end");consumeTokenAndAdvanceScanner(Le,j,ie,N);return $}}var Be=N.kind===163?Ie:ce;var je=computeIndentation(N,Ie,Me,j,ie,Be);processNode(N,we,Ie,Ne,je.indentation,je.delta);we=j;if(Ee&&q.kind===202&&$===-1){$=je.indentation}return $}function processChildNodes(R,$,q,ie){E.Debug.assert(E.isNodeArray(R));var ae=getOpenTokenForList($,R);var ce=ie;var Ee=q;if(ae!==0){while(G.isOnToken()){var Te=G.readTokenInfo($);if(Te.token.end>R.pos){break}else if(Te.token.kind===ae){Ee=le.getLineAndCharacterOfPosition(Te.token.pos).line;consumeTokenAndAdvanceScanner(Te,$,ie,$);var we=void 0;if(Be!==-1){we=Be}else{var Ie=E.getLineStartPositionForPosition(Te.token.pos,le);we=N.SmartIndenter.findFirstNonWhitespaceColumn(Ie,Te.token.pos,le,_e)}ce=getDynamicIndentation($,q,we,_e.indentSize)}else{consumeTokenAndAdvanceScanner(Te,$,ie,$)}}}var Ne=-1;for(var Me=0;Me<R.length;Me++){var Le=R[Me];Ne=processChildNode(Le,Ne,j,ce,Ee,Ee,true,Me===0)}var je=getCloseTokenForOpenToken(ae);if(je!==0&&G.isOnToken()){var Te=G.readTokenInfo($);if(Te.token.kind===27&&E.isCallLikeExpression($)){var Ue=le.getLineAndCharacterOfPosition(Te.token.pos).line;if(Ee!==Ue){G.advance();Te=G.isOnToken()?G.readTokenInfo($):undefined}}if(Te&&Te.token.kind===je&&E.rangeContainsRange($,Te.token)){consumeTokenAndAdvanceScanner(Te,$,ce,$,true)}}}function consumeTokenAndAdvanceScanner(N,j,$,q,ie){E.Debug.assert(E.rangeContainsRange(j,N.token));var ae=G.lastTrailingTriviaWasNewLine();var _e=false;if(N.leadingTrivia){processTrivia(N.leadingTrivia,j,we,$)}var Ee=0;var Te=E.rangeContainsRange(R,N.token);var Ne=le.getLineAndCharacterOfPosition(N.token.pos);if(Te){var Me=ce(N.token);var je=Ie;Ee=processRange(N.token,Ne,j,we,$);if(!Me){if(Ee===0){var Ue=je&&le.getLineAndCharacterOfPosition(je.end).line;_e=ae&&Ne.line!==Ue}else{_e=Ee===1}}}if(N.trailingTrivia){processTrivia(N.trailingTrivia,j,we,$)}if(_e){var ze=Te&&!ce(N.token)?$.getIndentationForToken(Ne.line,N.token.kind,q,!!ie):-1;var We=true;if(N.leadingTrivia){var Je=$.getIndentationForComment(N.token.kind,ze,q);We=indentTriviaItems(N.leadingTrivia,Je,We,(function(E){return insertIndentation(E.pos,Je,false)}))}if(ze!==-1&&We){insertIndentation(N.token.pos,ze,Ee===1);Le=Ne.line;Be=ze}}G.advance();we=j}}function indentTriviaItems(N,j,$,q){for(var G=0,ie=N;G<ie.length;G++){var ae=ie[G];var ce=E.rangeContainsRange(R,ae);switch(ae.kind){case 3:if(ce){indentMultilineComment(ae,j,!$)}$=false;break;case 2:if($&&ce){q(ae)}$=false;break;case 4:$=true;break}}return $}function processTrivia(N,j,$,q){for(var G=0,ie=N;G<ie.length;G++){var ae=ie[G];if(E.isComment(ae.kind)&&E.rangeContainsRange(R,ae)){var ce=le.getLineAndCharacterOfPosition(ae.pos);processRange(ae,ce,j,$,q)}}}function processRange(E,N,j,$,q){var G=ce(E);var ie=0;if(!G){if(!Ie){var ae=le.getLineAndCharacterOfPosition(R.pos);trimTrailingWhitespacesForLines(ae.line,N.line)}else{ie=processPair(E,N.line,j,Ie,Me,Ne,$,q)}}Ie=E;Ne=j;Me=N.line;return ie}function processPair(N,R,j,$,q,G,ie,ae){we.updateContext($,G,N,j,ie);var ce=Ee(we);var _e=we.options.trimTrailingWhitespace!==false;var Te=0;if(ce){E.forEachRight(ce,(function(G){Te=applyRuleEdits(G,$,q,N,R);switch(Te){case 2:if(j.getStart(le)===N.pos){ae.recomputeIndentation(false,ie)}break;case 1:if(j.getStart(le)===N.pos){ae.recomputeIndentation(true,ie)}break;default:E.Debug.assert(Te===0)}_e=_e&&!(G.action&16)&&G.flags!==1}))}else{_e=_e&&N.kind!==1}if(R!==q&&_e){trimTrailingWhitespacesForLines(q,R,$)}return Te}function insertIndentation(N,R,j){var $=getIndentationString(R,_e);if(j){recordReplace(N,0,$)}else{var q=le.getLineAndCharacterOfPosition(N);var G=E.getStartPositionOfLine(q.line,le);if(R!==characterToColumn(G,q.character)||indentationIsDifferent($,G)){recordReplace(G,q.character,$)}}}function characterToColumn(E,N){var R=0;for(var j=0;j<N;j++){if(le.text.charCodeAt(E+j)===9){R+=_e.tabSize-R%_e.tabSize}else{R++}}return R}function indentationIsDifferent(E,N){return E!==le.text.substr(N,E.length)}function indentMultilineComment(R,j,$,q){if(q===void 0){q=true}var G=le.getLineAndCharacterOfPosition(R.pos).line;var ie=le.getLineAndCharacterOfPosition(R.end).line;if(G===ie){if(!$){insertIndentation(R.pos,j,false)}return}var ae=[];var ce=R.pos;for(var Ee=G;Ee<ie;Ee++){var Te=E.getEndLinePosition(Ee,le);ae.push({pos:ce,end:Te});ce=E.getStartPositionOfLine(Ee+1,le)}if(q){ae.push({pos:ce,end:R.end})}if(ae.length===0)return;var we=E.getStartPositionOfLine(G,le);var Ie=N.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(we,ae[0].pos,le,_e);var Ne=0;if($){Ne=1;G++}var Me=j-Ie.column;for(var Le=Ne;Le<ae.length;Le++,G++){var Be=E.getStartPositionOfLine(G,le);var je=Le===0?Ie:N.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(ae[Le].pos,ae[Le].end,le,_e);var Ue=je.column+Me;if(Ue>0){var ze=getIndentationString(Ue,_e);recordReplace(Be,je.character,ze)}else{recordDelete(Be,je.character)}}}function trimTrailingWhitespacesForLines(N,R,j){for(var $=N;$<R;$++){var q=E.getStartPositionOfLine($,le);var G=E.getEndLinePosition($,le);if(j&&(E.isComment(j.kind)||E.isStringOrRegularExpressionOrTemplateLiteral(j.kind))&&j.pos<=G&&j.end>G){continue}var ie=getTrailingWhitespaceStartPosition(q,G);if(ie!==-1){E.Debug.assert(ie===q||!E.isWhiteSpaceSingleLine(le.text.charCodeAt(ie-1)));recordDelete(ie,G+1-ie)}}}function getTrailingWhitespaceStartPosition(N,R){var j=R;while(j>=N&&E.isWhiteSpaceSingleLine(le.text.charCodeAt(j))){j--}if(j!==R){return j+1}return-1}function trimTrailingWhitespacesForRemainingRange(){var E=Ie?Ie.end:R.pos;var N=le.getLineAndCharacterOfPosition(E).line;var j=le.getLineAndCharacterOfPosition(R.end).line;trimTrailingWhitespacesForLines(N,j+1,Ie)}function recordDelete(N,R){if(R){je.push(E.createTextChangeFromStartLength(N,R,""))}}function recordReplace(N,R,j){if(R||j){je.push(E.createTextChangeFromStartLength(N,R,j))}}function recordInsert(N,R){if(R){je.push(E.createTextChangeFromStartLength(N,0,R))}}function applyRuleEdits(N,R,j,$,q){var G=q!==j;switch(N.action){case 1:return 0;case 16:if(R.end!==$.pos){recordDelete(R.end,$.pos-R.end);return G?2:0}break;case 32:recordDelete(R.pos,R.end-R.pos);break;case 8:if(N.flags!==1&&j!==q){return 0}var ie=q-j;if(ie!==1){recordReplace(R.end,$.pos-R.end,E.getNewLineOrDefaultFromHost(Te,_e));return G?0:1}break;case 4:if(N.flags!==1&&j!==q){return 0}var ae=$.pos-R.end;if(ae!==1||le.text.charCodeAt(R.end)!==32){recordReplace(R.end,$.pos-R.end," ");return G?2:0}break;case 64:recordInsert(R.end,";")}return 0}}var j;(function(E){E[E["None"]=0]="None";E[E["LineAdded"]=1]="LineAdded";E[E["LineRemoved"]=2]="LineRemoved"})(j||(j={}));function getRangeOfEnclosingComment(N,R,j,$){if($===void 0){$=E.getTokenAtPosition(N,R)}var q=E.findAncestor($,E.isJSDoc);if(q)$=q.parent;var G=$.getStart(N);if(G<=R&&R<$.getEnd()){return undefined}j=j===null?undefined:j===undefined?E.findPrecedingToken(R,N):j;var ie=j&&E.getTrailingCommentRanges(N.text,j.end);var ae=E.getLeadingCommentRangesOfNode($,N);var ce=E.concatenate(ie,ae);return ce&&E.find(ce,(function(j){return E.rangeContainsPositionExclusive(j,R)||R===j.end&&(j.kind===2||R===N.getFullWidth())}))}N.getRangeOfEnclosingComment=getRangeOfEnclosingComment;function getOpenTokenForList(E,N){switch(E.kind){case 169:case 254:case 211:case 167:case 166:case 212:if(E.typeParameters===N){return 29}else if(E.parameters===N){return 20}break;case 206:case 207:if(E.typeArguments===N){return 29}else if(E.arguments===N){return 20}break;case 176:if(E.typeArguments===N){return 29}break;case 180:return 18}return 0}function getCloseTokenForOpenToken(E){switch(E){case 20:return 21;case 29:return 31;case 18:return 19}return 0}var $;var q;var G;function getIndentationString(N,R){var j=!$||($.tabSize!==R.tabSize||$.indentSize!==R.indentSize);if(j){$={tabSize:R.tabSize,indentSize:R.indentSize};q=G=undefined}if(!R.convertTabsToSpaces){var ie=Math.floor(N/R.tabSize);var ae=N-ie*R.tabSize;var ce=void 0;if(!q){q=[]}if(q[ie]===undefined){q[ie]=ce=E.repeatString("\t",ie)}else{ce=q[ie]}return ae?ce+E.repeatString(" ",ae):ce}else{var le=void 0;var _e=Math.floor(N/R.indentSize);var Ee=N%R.indentSize;if(!G){G=[]}if(G[_e]===undefined){le=E.repeatString(" ",R.indentSize*_e);G[_e]=le}else{le=G[_e]}return Ee?le+E.repeatString(" ",Ee):le}}N.getIndentationString=getIndentationString})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j;(function(E){E[E["Unknown"]=-1]="Unknown"})(j||(j={}));function getIndentation(R,j,$,q){if(q===void 0){q=false}if(R>j.text.length){return getBaseIndentation($)}if($.indentStyle===E.IndentStyle.None){return 0}var G=E.findPrecedingToken(R,j,undefined,true);var ie=N.getRangeOfEnclosingComment(j,R,G||null);if(ie&&ie.kind===3){return getCommentIndent(j,R,$,ie)}if(!G){return getBaseIndentation($)}var ae=E.isStringOrRegularExpressionOrTemplateLiteral(G.kind);if(ae&&G.getStart(j)<=R&&R<G.end){return 0}var ce=j.getLineAndCharacterOfPosition(R).line;if($.indentStyle===E.IndentStyle.Block){return getBlockIndent(j,R,$)}if(G.kind===27&&G.parent.kind!==219){var le=getActualIndentationForListItemBeforeComma(G,j,$);if(le!==-1){return le}}var _e=getListByPosition(R,G.parent,j);if(_e&&!E.rangeContainsRange(_e,G)){return getActualIndentationForListStartLine(_e,j,$)+$.indentSize}return getSmartIndent(j,R,G,ce,q,$)}R.getIndentation=getIndentation;function getCommentIndent(N,R,j,$){var q=E.getLineAndCharacterOfPosition(N,R).line-1;var G=E.getLineAndCharacterOfPosition(N,$.pos).line;E.Debug.assert(G>=0);if(q<=G){return findFirstNonWhitespaceColumn(E.getStartPositionOfLine(G,N),R,N,j)}var ie=E.getStartPositionOfLine(q,N);var ae=findFirstNonWhitespaceCharacterAndColumn(ie,R,N,j),ce=ae.column,le=ae.character;if(ce===0){return ce}var _e=N.text.charCodeAt(ie+le);return _e===42?ce-1:ce}function getBlockIndent(N,R,j){var $=R;while($>0){var q=N.text.charCodeAt($);if(!E.isWhiteSpaceLike(q)){break}$--}var G=E.getLineStartPositionForPosition($,N);return findFirstNonWhitespaceColumn(G,$,N,j)}function getSmartIndent(N,R,j,$,q,G){var ie;var ae=j;while(ae){if(E.positionBelongsToNode(ae,R,N)&&shouldIndentChildNode(G,ae,ie,N,true)){var ce=getStartLineAndCharacterForNode(ae,N);var le=nextTokenIsCurlyBraceOnSameLineAsCursor(j,ae,$,N);var _e=le!==0?q&&le===2?G.indentSize:0:$!==ce.line?G.indentSize:0;return getIndentationForNodeWorker(ae,ce,undefined,_e,N,true,G)}var Ee=getActualIndentationForListItem(ae,N,G,true);if(Ee!==-1){return Ee}ie=ae;ae=ae.parent}return getBaseIndentation(G)}function getIndentationForNode(E,N,R,j){var $=R.getLineAndCharacterOfPosition(E.getStart(R));return getIndentationForNodeWorker(E,$,N,0,R,false,j)}R.getIndentationForNode=getIndentationForNode;function getBaseIndentation(E){return E.baseIndentSize||0}R.getBaseIndentation=getBaseIndentation;function getIndentationForNodeWorker(E,N,R,j,$,q,G){var ie;var ae=E.parent;while(ae){var ce=true;if(R){var le=E.getStart($);ce=le<R.pos||le>R.end}var _e=getContainingListOrParentStart(ae,E,$);var Ee=_e.line===N.line||childStartsOnTheSameLineWithElseInIfStatement(ae,E,N.line,$);if(ce){var Te=(ie=getContainingList(E,$))===null||ie===void 0?void 0:ie[0];var we=!!Te&&getStartLineAndCharacterForNode(Te,$).line>_e.line;var Ie=getActualIndentationForListItem(E,$,G,we);if(Ie!==-1){return Ie+j}Ie=getActualIndentationForNode(E,ae,N,Ee,$,G);if(Ie!==-1){return Ie+j}}if(shouldIndentChildNode(G,ae,E,$,q)&&!Ee){j+=G.indentSize}var Ne=isArgumentAndStartLineOverlapsExpressionBeingCalled(ae,E,N.line,$);E=ae;ae=E.parent;N=Ne?$.getLineAndCharacterOfPosition(E.getStart($)):_e}return j+getBaseIndentation(G)}function getContainingListOrParentStart(E,N,R){var j=getContainingList(N,R);var $=j?j.pos:E.getStart(R);return R.getLineAndCharacterOfPosition($)}function getActualIndentationForListItemBeforeComma(N,R,j){var $=E.findListItemInfo(N);if($&&$.listItemIndex>0){return deriveActualIndentationFromList($.list.getChildren(),$.listItemIndex-1,R,j)}else{return-1}}function getActualIndentationForNode(N,R,j,$,q,G){var ie=(E.isDeclaration(N)||E.isStatementButNotDeclaration(N))&&(R.kind===300||!$);if(!ie){return-1}return findColumnForFirstNonWhitespaceCharacterInLine(j,q,G)}var $;(function(E){E[E["Unknown"]=0]="Unknown";E[E["OpenBrace"]=1]="OpenBrace";E[E["CloseBrace"]=2]="CloseBrace"})($||($={}));function nextTokenIsCurlyBraceOnSameLineAsCursor(N,R,j,$){var q=E.findNextToken(N,R,$);if(!q){return 0}if(q.kind===18){return 1}else if(q.kind===19){var G=getStartLineAndCharacterForNode(q,$).line;return j===G?2:0}return 0}function getStartLineAndCharacterForNode(E,N){return N.getLineAndCharacterOfPosition(E.getStart(N))}function isArgumentAndStartLineOverlapsExpressionBeingCalled(N,R,j,$){if(!(E.isCallExpression(N)&&E.contains(N.arguments,R))){return false}var q=N.expression.getEnd();var G=E.getLineAndCharacterOfPosition($,q).line;return G===j}R.isArgumentAndStartLineOverlapsExpressionBeingCalled=isArgumentAndStartLineOverlapsExpressionBeingCalled;function childStartsOnTheSameLineWithElseInIfStatement(N,R,j,$){if(N.kind===237&&N.elseStatement===R){var q=E.findChildOfKind(N,91,$);E.Debug.assert(q!==undefined);var G=getStartLineAndCharacterForNode(q,$).line;return G===j}return false}R.childStartsOnTheSameLineWithElseInIfStatement=childStartsOnTheSameLineWithElseInIfStatement;function childIsUnindentedBranchOfConditionalExpression(N,R,j,$){if(E.isConditionalExpression(N)&&(R===N.whenTrue||R===N.whenFalse)){var q=E.getLineAndCharacterOfPosition($,N.condition.end).line;if(R===N.whenTrue){return j===q}else{var G=getStartLineAndCharacterForNode(N.whenTrue,$).line;var ie=E.getLineAndCharacterOfPosition($,N.whenTrue.end).line;return q===G&&ie===j}}return false}R.childIsUnindentedBranchOfConditionalExpression=childIsUnindentedBranchOfConditionalExpression;function argumentStartsOnSameLineAsPreviousArgument(N,R,j,$){if(E.isCallOrNewExpression(N)){if(!N.arguments)return false;var q=E.find(N.arguments,(function(E){return E.pos===R.pos}));if(!q)return false;var G=N.arguments.indexOf(q);if(G===0)return false;var ie=N.arguments[G-1];var ae=E.getLineAndCharacterOfPosition($,ie.getEnd()).line;if(j===ae){return true}}return false}R.argumentStartsOnSameLineAsPreviousArgument=argumentStartsOnSameLineAsPreviousArgument;function getContainingList(E,N){return E.parent&&getListByRange(E.getStart(N),E.getEnd(),E.parent,N)}R.getContainingList=getContainingList;function getListByPosition(E,N,R){return N&&getListByRange(E,E,N,R)}function getListByRange(N,R,j,$){switch(j.kind){case 176:return getList(j.typeArguments);case 203:return getList(j.properties);case 202:return getList(j.elements);case 180:return getList(j.members);case 254:case 211:case 212:case 167:case 166:case 172:case 169:case 178:case 173:return getList(j.typeParameters)||getList(j.parameters);case 255:case 224:case 256:case 257:case 339:return getList(j.typeParameters);case 207:case 206:return getList(j.typeArguments)||getList(j.arguments);case 253:return getList(j.declarations);case 267:case 271:return getList(j.elements);case 199:case 200:return getList(j.elements)}function getList(q){return q&&E.rangeContainsStartEnd(getVisualListRange(j,q,$),N,R)?q:undefined}}function getVisualListRange(E,N,R){var j=E.getChildren(R);for(var $=1;$<j.length-1;$++){if(j[$].pos===N.pos&&j[$].end===N.end){return{pos:j[$-1].end,end:j[$+1].getStart(R)}}}return N}function getActualIndentationForListStartLine(E,N,R){if(!E){return-1}return findColumnForFirstNonWhitespaceCharacterInLine(N.getLineAndCharacterOfPosition(E.pos),N,R)}function getActualIndentationForListItem(E,N,R,j){if(E.parent&&E.parent.kind===253){return-1}var $=getContainingList(E,N);if($){var q=$.indexOf(E);if(q!==-1){var G=deriveActualIndentationFromList($,q,N,R);if(G!==-1){return G}}return getActualIndentationForListStartLine($,N,R)+(j?R.indentSize:0)}return-1}function deriveActualIndentationFromList(N,R,j,$){E.Debug.assert(R>=0&&R<N.length);var q=N[R];var G=getStartLineAndCharacterForNode(q,j);for(var ie=R-1;ie>=0;ie--){if(N[ie].kind===27){continue}var ae=j.getLineAndCharacterOfPosition(N[ie].end).line;if(ae!==G.line){return findColumnForFirstNonWhitespaceCharacterInLine(G,j,$)}G=getStartLineAndCharacterForNode(N[ie],j)}return-1}function findColumnForFirstNonWhitespaceCharacterInLine(E,N,R){var j=N.getPositionOfLineAndCharacter(E.line,0);return findFirstNonWhitespaceColumn(j,j+E.character,N,R)}function findFirstNonWhitespaceCharacterAndColumn(N,R,j,$){var q=0;var G=0;for(var ie=N;ie<R;ie++){var ae=j.text.charCodeAt(ie);if(!E.isWhiteSpaceSingleLine(ae)){break}if(ae===9){G+=$.tabSize+G%$.tabSize}else{G++}q++}return{column:G,character:q}}R.findFirstNonWhitespaceCharacterAndColumn=findFirstNonWhitespaceCharacterAndColumn;function findFirstNonWhitespaceColumn(E,N,R,j){return findFirstNonWhitespaceCharacterAndColumn(E,N,R,j).column}R.findFirstNonWhitespaceColumn=findFirstNonWhitespaceColumn;function nodeWillIndentChild(E,N,R,j,$){var q=R?R.kind:0;switch(N.kind){case 236:case 255:case 224:case 256:case 258:case 257:case 202:case 233:case 260:case 203:case 180:case 193:case 182:case 261:case 288:case 287:case 210:case 204:case 206:case 207:case 235:case 269:case 245:case 220:case 200:case 199:case 278:case 281:case 277:case 286:case 166:case 172:case 173:case 162:case 177:case 178:case 189:case 208:case 216:case 271:case 267:case 273:case 268:case 165:return true;case 252:case 291:case 219:if(!E.indentMultiLineObjectLiteralBeginningOnBlankLine&&j&&q===203){return rangeIsOnOneLine(j,R)}if(N.kind!==219){return true}break;case 238:case 239:case 241:case 242:case 240:case 237:case 254:case 211:case 167:case 169:case 170:case 171:return q!==233;case 212:if(j&&q===210){return rangeIsOnOneLine(j,R)}return q!==233;case 270:return q!==271;case 264:return q!==265||!!R.namedBindings&&R.namedBindings.kind!==267;case 276:return q!==279;case 280:return q!==282;case 186:case 185:if(q===180||q===182){return false}break}return $}R.nodeWillIndentChild=nodeWillIndentChild;function isControlFlowEndingStatement(E,N){switch(E){case 245:case 249:case 243:case 244:return N.kind!==233;default:return false}}function shouldIndentChildNode(E,N,R,j,$){if($===void 0){$=false}return nodeWillIndentChild(E,N,R,j,false)&&!($&&R&&isControlFlowEndingStatement(R.kind,N))}R.shouldIndentChildNode=shouldIndentChildNode;function rangeIsOnOneLine(N,R){var j=E.skipTrivia(N.text,R.pos);var $=N.getLineAndCharacterOfPosition(j).line;var q=N.getLineAndCharacterOfPosition(R.end).line;return $===q}})(R=N.SmartIndenter||(N.SmartIndenter={}))})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function getPos(N){var R=N.__pos;E.Debug.assert(typeof R==="number");return R}function setPos(N,R){E.Debug.assert(typeof R==="number");N.__pos=R}function getEnd(N){var R=N.__end;E.Debug.assert(typeof R==="number");return R}function setEnd(N,R){E.Debug.assert(typeof R==="number");N.__end=R}var R;(function(E){E[E["Exclude"]=0]="Exclude";E[E["IncludeAll"]=1]="IncludeAll";E[E["JSDoc"]=2]="JSDoc";E[E["StartLine"]=3]="StartLine"})(R=N.LeadingTriviaOption||(N.LeadingTriviaOption={}));var q;(function(E){E[E["Exclude"]=0]="Exclude";E[E["ExcludeWhitespace"]=1]="ExcludeWhitespace";E[E["Include"]=2]="Include"})(q=N.TrailingTriviaOption||(N.TrailingTriviaOption={}));function skipWhitespacesAndLineBreaks(N,R){return E.skipTrivia(N,R,false,true)}function hasCommentsBeforeLineBreak(N,R){var j=R;while(j<N.length){var $=N.charCodeAt(j);if(E.isWhiteSpaceSingleLine($)){j++;continue}return $===47}return false}var G={leadingTriviaOption:R.Exclude,trailingTriviaOption:q.Exclude};var ie;(function(E){E[E["Remove"]=0]="Remove";E[E["ReplaceWithSingleNode"]=1]="ReplaceWithSingleNode";E[E["ReplaceWithMultipleNodes"]=2]="ReplaceWithMultipleNodes";E[E["Text"]=3]="Text"})(ie||(ie={}));function getAdjustedRange(E,N,R,j){return{pos:getAdjustedStartPosition(E,N,j),end:getAdjustedEndPosition(E,R,j)}}function getAdjustedStartPosition(N,j,$,q){var G,ie;if(q===void 0){q=false}var ae=$.leadingTriviaOption;if(ae===R.Exclude){return j.getStart(N)}if(ae===R.StartLine){var ce=j.getStart(N);var le=E.getLineStartPositionForPosition(ce,N);return E.rangeContainsPosition(j,le)?le:ce}if(ae===R.JSDoc){var _e=E.getJSDocCommentRanges(j,N.text);if(_e===null||_e===void 0?void 0:_e.length){return E.getLineStartPositionForPosition(_e[0].pos,N)}}var Ee=j.getFullStart();var Te=j.getStart(N);if(Ee===Te){return Te}var we=E.getLineStartPositionForPosition(Ee,N);var Ie=E.getLineStartPositionForPosition(Te,N);if(Ie===we){return ae===R.IncludeAll?Ee:Te}if(q){var Ne=((G=E.getLeadingCommentRanges(N.text,Ee))===null||G===void 0?void 0:G[0])||((ie=E.getTrailingCommentRanges(N.text,Ee))===null||ie===void 0?void 0:ie[0]);if(Ne){return E.skipTrivia(N.text,Ne.end,true,true)}}var Me=Ee>0?1:0;var Le=E.getStartPositionOfLine(E.getLineOfLocalPosition(N,we)+Me,N);Le=skipWhitespacesAndLineBreaks(N.text,Le);return E.getStartPositionOfLine(E.getLineOfLocalPosition(N,Le),N)}function getEndPositionOfMultilineTrailingComment(N,R,j){var $=R.end;var G=j.trailingTriviaOption;if(G===q.Include){var ie=E.getTrailingCommentRanges(N.text,$);if(ie){var ae=E.getLineOfLocalPosition(N,R.end);for(var ce=0,le=ie;ce<le.length;ce++){var _e=le[ce];if(_e.kind===2||E.getLineOfLocalPosition(N,_e.pos)>ae){break}var Ee=E.getLineOfLocalPosition(N,_e.end);if(Ee>ae){return E.skipTrivia(N.text,_e.end,true,true)}}}}return undefined}function getAdjustedEndPosition(N,R,j){var $;var G=R.end;var ie=j.trailingTriviaOption;if(ie===q.Exclude){return G}if(ie===q.ExcludeWhitespace){var ae=E.concatenate(E.getTrailingCommentRanges(N.text,G),E.getLeadingCommentRanges(N.text,G));var ce=($=ae===null||ae===void 0?void 0:ae[ae.length-1])===null||$===void 0?void 0:$.end;if(ce){return ce}return G}var le=getEndPositionOfMultilineTrailingComment(N,R,j);if(le){return le}var _e=E.skipTrivia(N.text,G,true);return _e!==G&&(ie===q.Include||E.isLineBreak(N.text.charCodeAt(_e-1)))?_e:G}function isSeparator(E,N){return!!N&&!!E.parent&&(N.kind===27||N.kind===26&&E.parent.kind===203)}function isThisTypeAnnotatable(N){return E.isFunctionExpression(N)||E.isFunctionDeclaration(N)}N.isThisTypeAnnotatable=isThisTypeAnnotatable;var ae=function(){function ChangeTracker(N,R){this.newLineCharacter=N;this.formatContext=R;this.changes=[];this.newFiles=[];this.classesWithNodesInsertedAtStart=new E.Map;this.deletedNodes=[]}ChangeTracker.fromContext=function(N){return new ChangeTracker(E.getNewLineOrDefaultFromHost(N.host,N.formatContext.options),N.formatContext)};ChangeTracker.with=function(E,N){var R=ChangeTracker.fromContext(E);N(R);return R.getChanges()};ChangeTracker.prototype.pushRaw=function(N,R){E.Debug.assertEqual(N.fileName,R.fileName);for(var j=0,$=R.textChanges;j<$.length;j++){var q=$[j];this.changes.push({kind:ie.Text,sourceFile:N,text:q.newText,range:E.createTextRangeFromSpan(q.span)})}};ChangeTracker.prototype.deleteRange=function(E,N){this.changes.push({kind:ie.Remove,sourceFile:E,range:N})};ChangeTracker.prototype.delete=function(E,N){this.deletedNodes.push({sourceFile:E,node:N})};ChangeTracker.prototype.deleteNode=function(E,N,j){if(j===void 0){j={leadingTriviaOption:R.IncludeAll}}this.deleteRange(E,getAdjustedRange(E,N,N,j))};ChangeTracker.prototype.deleteNodes=function(E,N,j,$){if(j===void 0){j={leadingTriviaOption:R.IncludeAll}}for(var q=0,G=N;q<G.length;q++){var ie=G[q];var ae=getAdjustedStartPosition(E,ie,j,$);var ce=getAdjustedEndPosition(E,ie,j);this.deleteRange(E,{pos:ae,end:ce});$=!!getEndPositionOfMultilineTrailingComment(E,ie,j)}};ChangeTracker.prototype.deleteModifier=function(N,R){this.deleteRange(N,{pos:R.getStart(N),end:E.skipTrivia(N.text,R.end,true)})};ChangeTracker.prototype.deleteNodeRange=function(E,N,j,$){if($===void 0){$={leadingTriviaOption:R.IncludeAll}}var q=getAdjustedStartPosition(E,N,$);var G=getAdjustedEndPosition(E,j,$);this.deleteRange(E,{pos:q,end:G})};ChangeTracker.prototype.deleteNodeRangeExcludingEnd=function(E,N,j,$){if($===void 0){$={leadingTriviaOption:R.IncludeAll}}var q=getAdjustedStartPosition(E,N,$);var G=j===undefined?E.text.length:getAdjustedStartPosition(E,j,$);this.deleteRange(E,{pos:q,end:G})};ChangeTracker.prototype.replaceRange=function(E,N,R,j){if(j===void 0){j={}}this.changes.push({kind:ie.ReplaceWithSingleNode,sourceFile:E,range:N,options:j,node:R})};ChangeTracker.prototype.replaceNode=function(E,N,R,j){if(j===void 0){j=G}this.replaceRange(E,getAdjustedRange(E,N,N,j),R,j)};ChangeTracker.prototype.replaceNodeRange=function(E,N,R,j,$){if($===void 0){$=G}this.replaceRange(E,getAdjustedRange(E,N,R,$),j,$)};ChangeTracker.prototype.replaceRangeWithNodes=function(E,N,R,j){if(j===void 0){j={}}this.changes.push({kind:ie.ReplaceWithMultipleNodes,sourceFile:E,range:N,options:j,nodes:R})};ChangeTracker.prototype.replaceNodeWithNodes=function(E,N,R,j){if(j===void 0){j=G}this.replaceRangeWithNodes(E,getAdjustedRange(E,N,N,j),R,j)};ChangeTracker.prototype.replaceNodeWithText=function(E,N,R){this.replaceRangeWithText(E,getAdjustedRange(E,N,N,G),R)};ChangeTracker.prototype.replaceNodeRangeWithNodes=function(E,N,R,j,$){if($===void 0){$=G}this.replaceRangeWithNodes(E,getAdjustedRange(E,N,R,$),j,$)};ChangeTracker.prototype.nodeHasTrailingComment=function(E,N,R){if(R===void 0){R=G}return!!getEndPositionOfMultilineTrailingComment(E,N,R)};ChangeTracker.prototype.nextCommaToken=function(N,R){var j=E.findNextToken(R,R.parent,N);return j&&j.kind===27?j:undefined};ChangeTracker.prototype.replacePropertyAssignment=function(E,N,R){var j=this.nextCommaToken(E,N)?"":","+this.newLineCharacter;this.replaceNode(E,N,R,{suffix:j})};ChangeTracker.prototype.insertNodeAt=function(N,R,j,$){if($===void 0){$={}}this.replaceRange(N,E.createRange(R),j,$)};ChangeTracker.prototype.insertNodesAt=function(N,R,j,$){if($===void 0){$={}}this.replaceRangeWithNodes(N,E.createRange(R),j,$)};ChangeTracker.prototype.insertNodeAtTopOfFile=function(E,N,R){this.insertAtTopOfFile(E,N,R)};ChangeTracker.prototype.insertNodesAtTopOfFile=function(E,N,R){this.insertAtTopOfFile(E,N,R)};ChangeTracker.prototype.insertAtTopOfFile=function(N,R,j){var $=getInsertionPositionAtSourceFileTop(N);var q={prefix:$===0?undefined:this.newLineCharacter,suffix:(E.isLineBreak(N.text.charCodeAt($))?"":this.newLineCharacter)+(j?this.newLineCharacter:"")};if(E.isArray(R)){this.insertNodesAt(N,$,R,q)}else{this.insertNodeAt(N,$,R,q)}};ChangeTracker.prototype.insertFirstParameter=function(N,R,j){var $=E.firstOrUndefined(R);if($){this.insertNodeBefore(N,$,j)}else{this.insertNodeAt(N,R.pos,j)}};ChangeTracker.prototype.insertNodeBefore=function(E,N,R,j,$){if(j===void 0){j=false}if($===void 0){$={}}this.insertNodeAt(E,getAdjustedStartPosition(E,N,$),R,this.getOptionsForInsertNodeBefore(N,R,j))};ChangeTracker.prototype.insertModifierAt=function(N,R,j,$){if($===void 0){$={}}this.insertNodeAt(N,R,E.factory.createToken(j),$)};ChangeTracker.prototype.insertModifierBefore=function(E,N,R){return this.insertModifierAt(E,R.getStart(E),N,{suffix:" "})};ChangeTracker.prototype.insertCommentBeforeLine=function(N,R,j,$){var q=E.getStartPositionOfLine(R,N);var G=E.getFirstNonSpaceCharacterPosition(N.text,q);var ie=isValidLocationToAddComment(N,G);var ae=E.getTouchingToken(N,ie?G:j);var ce=N.text.slice(q,G);var le=(ie?"":this.newLineCharacter)+"//"+$+this.newLineCharacter+ce;this.insertText(N,ae.getStart(N),le)};ChangeTracker.prototype.insertJsdocCommentBefore=function(N,R,j){var $=R.getStart(N);if(R.jsDoc){for(var q=0,G=R.jsDoc;q<G.length;q++){var ie=G[q];this.deleteRange(N,{pos:E.getLineStartPositionForPosition(ie.getStart(N),N),end:getAdjustedEndPosition(N,ie,{})})}}var ae=E.getPrecedingNonSpaceCharacterPosition(N.text,$-1);var ce=N.text.slice(ae,$);this.insertNodeAt(N,$,j,{preserveLeadingWhitespace:false,suffix:this.newLineCharacter+ce})};ChangeTracker.prototype.replaceRangeWithText=function(E,N,R){this.changes.push({kind:ie.Text,sourceFile:E,range:N,text:R})};ChangeTracker.prototype.insertText=function(N,R,j){this.replaceRangeWithText(N,E.createRange(R),j)};ChangeTracker.prototype.tryInsertTypeAnnotation=function(N,R,j){var $;var q;if(E.isFunctionLike(R)){q=E.findChildOfKind(R,21,N);if(!q){if(!E.isArrowFunction(R))return false;q=E.first(R.parameters)}}else{q=($=R.kind===252?R.exclamationToken:R.questionToken)!==null&&$!==void 0?$:R.name}this.insertNodeAt(N,q.end,j,{prefix:": "});return true};ChangeTracker.prototype.tryInsertThisTypeAnnotation=function(N,R,j){var $=E.findChildOfKind(R,20,N).getStart(N)+1;var q=R.parameters.length?", ":"";this.insertNodeAt(N,$,j,{prefix:"this: ",suffix:q})};ChangeTracker.prototype.insertTypeParameters=function(N,R,j){var $=(E.findChildOfKind(R,20,N)||E.first(R.parameters)).getStart(N);this.insertNodesAt(N,$,j,{prefix:"<",suffix:">",joiner:", "})};ChangeTracker.prototype.getOptionsForInsertNodeBefore=function(N,R,j){if(E.isStatement(N)||E.isClassElement(N)){return{suffix:j?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}}else if(E.isVariableDeclaration(N)){return{suffix:", "}}else if(E.isParameter(N)){return E.isParameter(R)?{suffix:", "}:{}}else if(E.isStringLiteral(N)&&E.isImportDeclaration(N.parent)||E.isNamedImports(N)){return{suffix:", "}}else if(E.isImportSpecifier(N)){return{suffix:","+(j?this.newLineCharacter:" ")}}return E.Debug.failBadSyntaxKind(N)};ChangeTracker.prototype.insertNodeAtConstructorStart=function(N,R,$){var q=E.firstOrUndefined(R.body.statements);if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j([$],R.body.statements,true))}else{this.insertNodeBefore(N,q,$)}};ChangeTracker.prototype.insertNodeAtConstructorStartAfterSuperCall=function(N,R,$){var q=E.find(R.body.statements,(function(N){return E.isExpressionStatement(N)&&E.isSuperCall(N.expression)}));if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j(j([],R.body.statements,true),[$],false))}else{this.insertNodeAfter(N,q,$)}};ChangeTracker.prototype.insertNodeAtConstructorEnd=function(N,R,$){var q=E.lastOrUndefined(R.body.statements);if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j(j([],R.body.statements,true),[$],false))}else{this.insertNodeAfter(N,q,$)}};ChangeTracker.prototype.replaceConstructorBody=function(N,R,j){this.replaceNode(N,R.body,E.factory.createBlock(j,true))};ChangeTracker.prototype.insertNodeAtEndOfScope=function(N,R,j){var $=getAdjustedStartPosition(N,R.getLastToken(),{});this.insertNodeAt(N,$,j,{prefix:E.isLineBreak(N.text.charCodeAt(R.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})};ChangeTracker.prototype.insertNodeAtClassStart=function(E,N,R){this.insertNodeAtStartWorker(E,N,R)};ChangeTracker.prototype.insertNodeAtObjectStart=function(E,N,R){this.insertNodeAtStartWorker(E,N,R)};ChangeTracker.prototype.insertNodeAtStartWorker=function(E,N,R){var j;var $=(j=this.guessIndentationFromExistingMembers(E,N))!==null&&j!==void 0?j:this.computeIndentationForNewMember(E,N);this.insertNodeAt(E,getMembersOrProperties(N).pos,R,this.getInsertNodeAtStartInsertOptions(E,N,$))};ChangeTracker.prototype.guessIndentationFromExistingMembers=function(N,R){var j;var $=R;for(var q=0,G=getMembersOrProperties(R);q<G.length;q++){var ie=G[q];if(E.rangeStartPositionsAreOnSameLine($,ie,N)){return undefined}var ae=ie.getStart(N);var ce=E.formatting.SmartIndenter.findFirstNonWhitespaceColumn(E.getLineStartPositionForPosition(ae,N),ae,N,this.formatContext.options);if(j===undefined){j=ce}else if(ce!==j){return undefined}$=ie}return j};ChangeTracker.prototype.computeIndentationForNewMember=function(N,R){var j;var $=R.getStart(N);return E.formatting.SmartIndenter.findFirstNonWhitespaceColumn(E.getLineStartPositionForPosition($,N),$,N,this.formatContext.options)+((j=this.formatContext.options.indentSize)!==null&&j!==void 0?j:4)};ChangeTracker.prototype.getInsertNodeAtStartInsertOptions=function(N,R,j){var $=getMembersOrProperties(R);var q=$.length===0;var G=E.addToSeen(this.classesWithNodesInsertedAtStart,E.getNodeId(R),{node:R,sourceFile:N});var ie=E.isObjectLiteralExpression(R)&&(!E.isJsonSourceFile(N)||!q);var ae=E.isObjectLiteralExpression(R)&&E.isJsonSourceFile(N)&&q&&!G;return{indentation:j,prefix:(ae?",":"")+this.newLineCharacter,suffix:ie?",":""}};ChangeTracker.prototype.insertNodeAfterComma=function(E,N,R){var j=this.insertNodeAfterWorker(E,this.nextCommaToken(E,N)||N,R);this.insertNodeAt(E,j,R,this.getInsertNodeAfterOptions(E,N))};ChangeTracker.prototype.insertNodeAfter=function(E,N,R){var j=this.insertNodeAfterWorker(E,N,R);this.insertNodeAt(E,j,R,this.getInsertNodeAfterOptions(E,N))};ChangeTracker.prototype.insertNodeAtEndOfList=function(E,N,R){this.insertNodeAt(E,N.end,R,{prefix:", "})};ChangeTracker.prototype.insertNodesAfter=function(N,R,j){var $=this.insertNodeAfterWorker(N,R,E.first(j));this.insertNodesAt(N,$,j,this.getInsertNodeAfterOptions(N,R))};ChangeTracker.prototype.insertNodeAfterWorker=function(N,R,j){if(needSemicolonBetween(R,j)){if(N.text.charCodeAt(R.end-1)!==59){this.replaceRange(N,E.createRange(R.end),E.factory.createToken(26))}}var $=getAdjustedEndPosition(N,R,{});return $};ChangeTracker.prototype.getInsertNodeAfterOptions=function(N,R){var j=this.getInsertNodeAfterOptionsWorker(R);return $($({},j),{prefix:R.end===N.end&&E.isStatement(R)?j.prefix?"\n"+j.prefix:"\n":j.prefix})};ChangeTracker.prototype.getInsertNodeAfterOptionsWorker=function(N){switch(N.kind){case 255:case 259:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 252:case 10:case 79:return{prefix:", "};case 291:return{suffix:","+this.newLineCharacter};case 93:return{prefix:" "};case 162:return{};default:E.Debug.assert(E.isStatement(N)||E.isClassOrTypeElement(N));return{suffix:this.newLineCharacter}}};ChangeTracker.prototype.insertName=function(N,R,j){E.Debug.assert(!R.name);if(R.kind===212){var $=E.findChildOfKind(R,38,N);var q=E.findChildOfKind(R,20,N);if(q){this.insertNodesAt(N,q.getStart(N),[E.factory.createToken(98),E.factory.createIdentifier(j)],{joiner:" "});deleteNode(this,N,$)}else{this.insertText(N,E.first(R.parameters).getStart(N),"function "+j+"(");this.replaceRange(N,$,E.factory.createToken(21))}if(R.body.kind!==233){this.insertNodesAt(N,R.body.getStart(N),[E.factory.createToken(18),E.factory.createToken(105)],{joiner:" ",suffix:" "});this.insertNodesAt(N,R.body.end,[E.factory.createToken(26),E.factory.createToken(19)],{joiner:" "})}}else{var G=E.findChildOfKind(R,R.kind===211?98:84,N).end;this.insertNodeAt(N,G,E.factory.createIdentifier(j),{prefix:" "})}};ChangeTracker.prototype.insertExportModifier=function(E,N){this.insertText(E,N.getStart(E),"export ")};ChangeTracker.prototype.insertNodeInListAfter=function(N,R,j,$){if($===void 0){$=E.formatting.SmartIndenter.getContainingList(R,N)}if(!$){E.Debug.fail("node is not a list element");return}var q=E.indexOfNode($,R);if(q<0){return}var G=R.getEnd();if(q!==$.length-1){var ie=E.getTokenAtPosition(N,R.end);if(ie&&isSeparator(R,ie)){var ae=$[q+1];var ce=skipWhitespacesAndLineBreaks(N.text,ae.getFullStart());var le=""+E.tokenToString(ie.kind)+N.text.substring(ie.end,ce);this.insertNodesAt(N,ce,[j],{suffix:le})}}else{var _e=R.getStart(N);var Ee=E.getLineStartPositionForPosition(_e,N);var Te=void 0;var we=false;if($.length===1){Te=27}else{var Ie=E.findPrecedingToken(R.pos,N);Te=isSeparator(R,Ie)?Ie.kind:27;var Ne=E.getLineStartPositionForPosition($[q-1].getStart(N),N);we=Ne!==Ee}if(hasCommentsBeforeLineBreak(N.text,R.end)){we=true}if(we){this.replaceRange(N,E.createRange(G),E.factory.createToken(Te));var Me=E.formatting.SmartIndenter.findFirstNonWhitespaceColumn(Ee,_e,N,this.formatContext.options);var Le=E.skipTrivia(N.text,G,true,false);while(Le!==G&&E.isLineBreak(N.text.charCodeAt(Le-1))){Le--}this.replaceRange(N,E.createRange(Le),j,{indentation:Me,prefix:this.newLineCharacter})}else{this.replaceRange(N,E.createRange(G),j,{prefix:E.tokenToString(Te)+" "})}}};ChangeTracker.prototype.parenthesizeExpression=function(N,R){this.replaceRange(N,E.rangeOfNode(R),E.factory.createParenthesizedExpression(R))};ChangeTracker.prototype.finishClassesWithNodesInsertedAtStart=function(){var N=this;this.classesWithNodesInsertedAtStart.forEach((function(R){var j=R.node,$=R.sourceFile;var q=getClassOrObjectBraceEnds(j,$),G=q[0],ie=q[1];if(G!==undefined&&ie!==undefined){var ae=getMembersOrProperties(j).length===0;var ce=E.positionsAreOnSameLine(G,ie,$);if(ae&&ce&&G!==ie-1){N.deleteRange($,E.createRange(G,ie-1))}if(ce){N.insertText($,ie-1,N.newLineCharacter)}}}))};ChangeTracker.prototype.finishDeleteDeclarations=function(){var N=this;var R=new E.Set;var _loop_10=function(N,$){if(!j.deletedNodes.some((function(R){return R.sourceFile===N&&E.rangeContainsRangeExclusive(R.node,$)}))){if(E.isArray($)){j.deleteRange(N,E.rangeOfTypeParameters(N,$))}else{le.deleteDeclaration(j,R,N,$)}}};var j=this;for(var $=0,q=this.deletedNodes;$<q.length;$++){var G=q[$],ie=G.sourceFile,ae=G.node;_loop_10(ie,ae)}R.forEach((function(j){var $=j.getSourceFile();var q=E.formatting.SmartIndenter.getContainingList(j,$);if(j!==E.last(q))return;var G=E.findLastIndex(q,(function(E){return!R.has(E)}),q.length-2);if(G!==-1){N.deleteRange($,{pos:q[G].end,end:startPositionToDeleteNodeInList($,q[G+1])})}}))};ChangeTracker.prototype.getChanges=function(E){this.finishDeleteDeclarations();this.finishClassesWithNodesInsertedAtStart();var N=ce.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,E);for(var R=0,j=this.newFiles;R<j.length;R++){var $=j[R],q=$.oldFile,G=$.fileName,ie=$.statements;N.push(ce.newFileChanges(q,G,ie,this.newLineCharacter,this.formatContext))}return N};ChangeTracker.prototype.createNewFile=function(E,N,R){this.newFiles.push({oldFile:E,fileName:N,statements:R})};return ChangeTracker}();N.ChangeTracker=ae;function startPositionToDeleteNodeInList(N,j){return E.skipTrivia(N.text,getAdjustedStartPosition(N,j,{leadingTriviaOption:R.IncludeAll}),false,true)}function getClassOrObjectBraceEnds(N,R){var j=E.findChildOfKind(N,18,R);var $=E.findChildOfKind(N,19,R);return[j===null||j===void 0?void 0:j.end,$===null||$===void 0?void 0:$.end]}function getMembersOrProperties(N){return E.isObjectLiteralExpression(N)?N.properties:N.members}function getNewFileText(E,N,R,j){return ce.newFileChangesWorker(undefined,N,E,R,j)}N.getNewFileText=getNewFileText;var ce;(function(N){function getTextChangesFromChanges(N,R,j,$){return E.mapDefined(E.group(N,(function(E){return E.sourceFile.path})),(function(N){var q=N[0].sourceFile;var G=E.stableSort(N,(function(E,N){return E.range.pos-N.range.pos||E.range.end-N.range.end}));var _loop_11=function(N){E.Debug.assert(G[N].range.end<=G[N+1].range.pos,"Changes overlap",(function(){return JSON.stringify(G[N].range)+" and "+JSON.stringify(G[N+1].range)}))};for(var ie=0;ie<G.length-1;ie++){_loop_11(ie)}var ae=E.mapDefined(G,(function(N){var G=E.createTextSpanFromRange(N.range);var ie=computeNewText(N,q,R,j,$);if(G.length===ie.length&&E.stringContainsAt(q.text,ie,G.start)){return undefined}return E.createTextChange(G,ie)}));return ae.length>0?{fileName:q.fileName,textChanges:ae}:undefined}))}N.getTextChangesFromChanges=getTextChangesFromChanges;function newFileChanges(N,R,j,$,q){var G=newFileChangesWorker(N,E.getScriptKindFromFileName(R),j,$,q);return{fileName:R,textChanges:[E.createTextChange(E.createTextSpan(0,0),G)],isNewFile:true}}N.newFileChanges=newFileChanges;function newFileChangesWorker(N,R,j,$,q){var G=j.map((function(E){return E===4?"":getNonformattedText(E,N,$).text})).join($);var ie=E.createSourceFile("any file name",G,99,true,R);var ae=E.formatting.formatDocument(ie,q);return applyChanges(G,ae)+$}N.newFileChangesWorker=newFileChangesWorker;function computeNewText(N,R,j,$,q){var G;if(N.kind===ie.Remove){return""}if(N.kind===ie.Text){return N.text}var ae=N.options,ce=ae===void 0?{}:ae,le=N.range.pos;var format=function(E){return getFormattedTextOfNode(E,R,le,ce,j,$,q)};var _e=N.kind===ie.ReplaceWithMultipleNodes?N.nodes.map((function(N){return E.removeSuffix(format(N),j)})).join(((G=N.options)===null||G===void 0?void 0:G.joiner)||j):format(N.node);var Ee=ce.preserveLeadingWhitespace||ce.indentation!==undefined||E.getLineStartPositionForPosition(le,R)===le?_e:_e.replace(/^\s+/,"");return(ce.prefix||"")+Ee+(!ce.suffix||E.endsWith(Ee,ce.suffix)?"":ce.suffix)}function getFormatCodeSettingsForWriting(N,R){var j=N.options;var q=!j.semicolons||j.semicolons===E.SemicolonPreference.Ignore;var G=j.semicolons===E.SemicolonPreference.Remove||q&&!E.probablyUsesSemicolons(R);return $($({},j),{semicolons:G?E.SemicolonPreference.Remove:E.SemicolonPreference.Ignore})}function getFormattedTextOfNode(N,R,j,q,G,ie,ae){var ce=q.indentation,le=q.prefix,_e=q.delta;var Ee=getNonformattedText(N,R,G),Te=Ee.node,we=Ee.text;if(ae)ae(Te,we);var Ie=getFormatCodeSettingsForWriting(ie,R);var Ne=ce!==undefined?ce:E.formatting.SmartIndenter.getIndentation(j,R,Ie,le===G||E.getLineStartPositionForPosition(j,R)===j);if(_e===undefined){_e=E.formatting.SmartIndenter.shouldIndentChildNode(Ie,N)?Ie.indentSize||0:0}var Me={text:we,getLineAndCharacterOfPosition:function(N){return E.getLineAndCharacterOfPosition(this,N)}};var Le=E.formatting.formatNodeGivenIndentation(Te,Me,R.languageVariant,Ne,_e,$($({},ie),{options:Ie}));return applyChanges(we,Le)}function getNonformattedText(N,R,j){var $=createWriter(j);var q=j==="\n"?1:0;E.createPrinter({newLine:q,neverAsciiEscape:true,preserveSourceNewlines:true,terminateUnterminatedLiterals:true},$).writeNode(4,N,R,$);return{text:$.getText(),node:assignPositionsToNode(N)}}N.getNonformattedText=getNonformattedText})(ce||(ce={}));function applyChanges(N,R){for(var j=R.length-1;j>=0;j--){var $=R[j],q=$.span,G=$.newText;N=""+N.substring(0,q.start)+G+N.substring(E.textSpanEnd(q))}return N}N.applyChanges=applyChanges;function isTrivia(N){return E.skipTrivia(N,0)===N.length}function assignPositionsToNode(N){var R=E.visitEachChild(N,assignPositionsToNode,E.nullTransformationContext,assignPositionsToNodeArray,assignPositionsToNode);var j=E.nodeIsSynthesized(R)?R:Object.create(R);E.setTextRangePosEnd(j,getPos(N),getEnd(N));return j}function assignPositionsToNodeArray(N,R,j,$,q){var G=E.visitNodes(N,R,j,$,q);if(!G){return G}var ie=G===N?E.factory.createNodeArray(G.slice(0)):G;E.setTextRangePosEnd(ie,getPos(N),getEnd(N));return ie}function createWriter(N){var R=0;var j=E.createTextWriter(N);var onBeforeEmitNode=function(E){if(E){setPos(E,R)}};var onAfterEmitNode=function(E){if(E){setEnd(E,R)}};var onBeforeEmitNodeArray=function(E){if(E){setPos(E,R)}};var onAfterEmitNodeArray=function(E){if(E){setEnd(E,R)}};var onBeforeEmitToken=function(E){if(E){setPos(E,R)}};var onAfterEmitToken=function(E){if(E){setEnd(E,R)}};function setLastNonTriviaPosition(N,$){if($||!isTrivia(N)){R=j.getTextPos();var q=0;while(E.isWhiteSpaceLike(N.charCodeAt(N.length-q-1))){q++}R-=q}}function write(E){j.write(E);setLastNonTriviaPosition(E,false)}function writeComment(E){j.writeComment(E)}function writeKeyword(E){j.writeKeyword(E);setLastNonTriviaPosition(E,false)}function writeOperator(E){j.writeOperator(E);setLastNonTriviaPosition(E,false)}function writePunctuation(E){j.writePunctuation(E);setLastNonTriviaPosition(E,false)}function writeTrailingSemicolon(E){j.writeTrailingSemicolon(E);setLastNonTriviaPosition(E,false)}function writeParameter(E){j.writeParameter(E);setLastNonTriviaPosition(E,false)}function writeProperty(E){j.writeProperty(E);setLastNonTriviaPosition(E,false)}function writeSpace(E){j.writeSpace(E);setLastNonTriviaPosition(E,false)}function writeStringLiteral(E){j.writeStringLiteral(E);setLastNonTriviaPosition(E,false)}function writeSymbol(E,N){j.writeSymbol(E,N);setLastNonTriviaPosition(E,false)}function writeLine(E){j.writeLine(E)}function increaseIndent(){j.increaseIndent()}function decreaseIndent(){j.decreaseIndent()}function getText(){return j.getText()}function rawWrite(E){j.rawWrite(E);setLastNonTriviaPosition(E,false)}function writeLiteral(E){j.writeLiteral(E);setLastNonTriviaPosition(E,true)}function getTextPos(){return j.getTextPos()}function getLine(){return j.getLine()}function getColumn(){return j.getColumn()}function getIndent(){return j.getIndent()}function isAtStartOfLine(){return j.isAtStartOfLine()}function clear(){j.clear();R=0}return{onBeforeEmitNode:onBeforeEmitNode,onAfterEmitNode:onAfterEmitNode,onBeforeEmitNodeArray:onBeforeEmitNodeArray,onAfterEmitNodeArray:onAfterEmitNodeArray,onBeforeEmitToken:onBeforeEmitToken,onAfterEmitToken:onAfterEmitToken,write:write,writeComment:writeComment,writeKeyword:writeKeyword,writeOperator:writeOperator,writePunctuation:writePunctuation,writeTrailingSemicolon:writeTrailingSemicolon,writeParameter:writeParameter,writeProperty:writeProperty,writeSpace:writeSpace,writeStringLiteral:writeStringLiteral,writeSymbol:writeSymbol,writeLine:writeLine,increaseIndent:increaseIndent,decreaseIndent:decreaseIndent,getText:getText,rawWrite:rawWrite,writeLiteral:writeLiteral,getTextPos:getTextPos,getLine:getLine,getColumn:getColumn,getIndent:getIndent,isAtStartOfLine:isAtStartOfLine,hasTrailingComment:function(){return j.hasTrailingComment()},hasTrailingWhitespace:function(){return j.hasTrailingWhitespace()},clear:clear}}function getInsertionPositionAtSourceFileTop(N){var R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];if(E.isPrologueDirective(q)){R=q}else{break}}var G=0;var ie=N.text;if(R){G=R.end;advancePastLineBreak();return G}var ae=E.getShebang(ie);if(ae!==undefined){G=ae.length;advancePastLineBreak()}var ce=E.getLeadingCommentRanges(ie,G);if(!ce)return G;var le;var _e;for(var Ee=0,Te=ce;Ee<Te.length;Ee++){var we=Te[Ee];if(we.kind===3){if(E.isPinnedComment(ie,we.pos)){le={range:we,pinnedOrTripleSlash:true};continue}}else if(E.isRecognizedTripleSlashComment(ie,we.pos,we.end)){le={range:we,pinnedOrTripleSlash:true};continue}if(le){if(le.pinnedOrTripleSlash)break;var Ie=N.getLineAndCharacterOfPosition(we.pos).line;var Ne=N.getLineAndCharacterOfPosition(le.range.end).line;if(Ie>=Ne+2)break}if(N.statements.length){if(_e===undefined)_e=N.getLineAndCharacterOfPosition(N.statements[0].getStart()).line;var Me=N.getLineAndCharacterOfPosition(we.end).line;if(_e<Me+2)break}le={range:we,pinnedOrTripleSlash:false}}if(le){G=le.range.end;advancePastLineBreak()}return G;function advancePastLineBreak(){if(G<ie.length){var N=ie.charCodeAt(G);if(E.isLineBreak(N)){G++;if(G<ie.length&&N===13&&ie.charCodeAt(G)===10){G++}}}}}function isValidLocationToAddComment(N,R){return!E.isInComment(N,R)&&!E.isInString(N,R)&&!E.isInTemplateString(N,R)&&!E.isInJSXText(N,R)}N.isValidLocationToAddComment=isValidLocationToAddComment;function needSemicolonBetween(N,R){return(E.isPropertySignature(N)||E.isPropertyDeclaration(N))&&E.isClassOrTypeElement(R)&&R.name.kind===160||E.isStatementButNotDeclaration(N)&&E.isStatementButNotDeclaration(R)}var le;(function(N){function deleteDeclaration(N,j,$,G){switch(G.kind){case 162:{var ie=G.parent;if(E.isArrowFunction(ie)&&ie.parameters.length===1&&!E.findChildOfKind(ie,20,$)){N.replaceNodeWithText($,G,"()")}else{deleteNodeInList(N,j,$,G)}break}case 264:case 263:var ae=$.imports.length&&G===E.first($.imports).parent||G===E.find($.statements,E.isAnyImportSyntax);deleteNode(N,$,G,{leadingTriviaOption:ae?R.Exclude:E.hasJSDocNodes(G)?R.JSDoc:R.StartLine});break;case 201:var ce=G.parent;var le=ce.kind===200&&G!==E.last(ce.elements);if(le){deleteNode(N,$,G)}else{deleteNodeInList(N,j,$,G)}break;case 252:deleteVariableDeclaration(N,j,$,G);break;case 161:deleteNodeInList(N,j,$,G);break;case 268:var _e=G.parent;if(_e.elements.length===1){deleteImportBinding(N,$,_e)}else{deleteNodeInList(N,j,$,G)}break;case 266:deleteImportBinding(N,$,G);break;case 26:deleteNode(N,$,G,{trailingTriviaOption:q.Exclude});break;case 98:deleteNode(N,$,G,{leadingTriviaOption:R.Exclude});break;case 255:case 254:deleteNode(N,$,G,{leadingTriviaOption:E.hasJSDocNodes(G)?R.JSDoc:R.StartLine});break;default:if(!G.parent){deleteNode(N,$,G)}else if(E.isImportClause(G.parent)&&G.parent.name===G){deleteDefaultImport(N,$,G.parent)}else if(E.isCallExpression(G.parent)&&E.contains(G.parent.arguments,G)){deleteNodeInList(N,j,$,G)}else{deleteNode(N,$,G)}}}N.deleteDeclaration=deleteDeclaration;function deleteDefaultImport(N,R,j){if(!j.namedBindings){deleteNode(N,R,j.parent)}else{var $=j.name.getStart(R);var q=E.getTokenAtPosition(R,j.name.end);if(q&&q.kind===27){var G=E.skipTrivia(R.text,q.end,false,true);N.deleteRange(R,{pos:$,end:G})}else{deleteNode(N,R,j.name)}}}function deleteImportBinding(N,R,j){if(j.parent.name){var $=E.Debug.checkDefined(E.getTokenAtPosition(R,j.pos-1));N.deleteRange(R,{pos:$.getStart(R),end:j.end})}else{var q=E.getAncestor(j,264);deleteNode(N,R,q)}}function deleteVariableDeclaration(N,j,$,q){var G=q.parent;if(G.kind===290){N.deleteNodeRange($,E.findChildOfKind(G,20,$),E.findChildOfKind(G,21,$));return}if(G.declarations.length!==1){deleteNodeInList(N,j,$,q);return}var ie=G.parent;switch(ie.kind){case 242:case 241:N.replaceNode($,q,E.factory.createObjectLiteralExpression());break;case 240:deleteNode(N,$,G);break;case 235:deleteNode(N,$,ie,{leadingTriviaOption:E.hasJSDocNodes(ie)?R.JSDoc:R.StartLine});break;default:E.Debug.assertNever(ie)}}})(le||(le={}));function deleteNode(E,N,j,$){if($===void 0){$={leadingTriviaOption:R.IncludeAll}}var q=getAdjustedStartPosition(N,j,$);var G=getAdjustedEndPosition(N,j,$);E.deleteRange(N,{pos:q,end:G})}N.deleteNode=deleteNode;function deleteNodeInList(N,R,j,$){var q=E.Debug.checkDefined(E.formatting.SmartIndenter.getContainingList($,j));var G=E.indexOfNode(q,$);E.Debug.assert(G!==-1);if(q.length===1){deleteNode(N,j,$);return}E.Debug.assert(!R.has($),"Deleting a node twice");R.add($);N.deleteRange(j,{pos:startPositionToDeleteNodeInList(j,$),end:G===q.length-1?getAdjustedEndPosition(j,$,{}):startPositionToDeleteNodeInList(j,q[G+1])})}})(N=E.textChanges||(E.textChanges={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=E.createMultiMap();var q=new E.Map;function diagnosticToString(N){return E.isArray(N)?E.formatStringFromArgs(E.getLocaleSpecificMessage(N[0]),N.slice(1)):E.getLocaleSpecificMessage(N)}function createCodeFixActionWithoutFixAll(E,N,R){return createCodeFixActionWorker(E,diagnosticToString(R),N,undefined,undefined)}N.createCodeFixActionWithoutFixAll=createCodeFixActionWithoutFixAll;function createCodeFixAction(E,N,R,j,$,q){return createCodeFixActionWorker(E,diagnosticToString(R),N,j,diagnosticToString($),q)}N.createCodeFixAction=createCodeFixAction;function createCodeFixActionMaybeFixAll(E,N,R,j,$,q){return createCodeFixActionWorker(E,diagnosticToString(R),N,j,$&&diagnosticToString($),q)}N.createCodeFixActionMaybeFixAll=createCodeFixActionMaybeFixAll;function createCodeFixActionWorker(E,N,R,j,$,q){return{fixName:E,description:N,changes:R,fixId:j,fixAllDescription:$,commands:q?[q]:undefined}}function registerCodeFix(N){for(var j=0,$=N.errorCodes;j<$.length;j++){var G=$[j];R.add(String(G),N)}if(N.fixIds){for(var ie=0,ae=N.fixIds;ie<ae.length;ie++){var ce=ae[ie];E.Debug.assert(!q.has(ce));q.set(ce,N)}}}N.registerCodeFix=registerCodeFix;function getSupportedErrorCodes(){return E.arrayFrom(R.keys())}N.getSupportedErrorCodes=getSupportedErrorCodes;function removeFixIdIfFixAllUnavailable(N,R){var j=N.errorCodes;var q=0;for(var G=0,ae=R;G<ae.length;G++){var ce=ae[G];if(E.contains(j,ce.code))q++;if(q>1)break}var le=q<2;return function(E){var N=E.fixId,R=E.fixAllDescription,j=ie(E,["fixId","fixAllDescription"]);return le?j:$($({},j),{fixId:N,fixAllDescription:R})}}function getFixes(N){var j=getDiagnostics(N);var $=R.get(String(N.errorCode));return E.flatMap($,(function(R){return E.map(R.getCodeActions(N),removeFixIdIfFixAllUnavailable(R,j))}))}N.getFixes=getFixes;function getAllFixes(N){return q.get(E.cast(N.fixId,E.isString)).getAllCodeActions(N)}N.getAllFixes=getAllFixes;function createCombinedCodeActions(E,N){return{changes:E,commands:N}}N.createCombinedCodeActions=createCombinedCodeActions;function createFileTextChanges(E,N){return{fileName:E,textChanges:N}}N.createFileTextChanges=createFileTextChanges;function codeFixAll(N,R,j){var $=[];var q=E.textChanges.ChangeTracker.with(N,(function(E){return eachDiagnostic(N,R,(function(N){return j(E,N,$)}))}));return createCombinedCodeActions(q,$.length===0?undefined:$)}N.codeFixAll=codeFixAll;function eachDiagnostic(N,R,j){for(var $=0,q=getDiagnostics(N);$<q.length;$++){var G=q[$];if(E.contains(R,G.code)){j(G)}}}N.eachDiagnostic=eachDiagnostic;function getDiagnostics(N){var R=N.program,$=N.sourceFile,q=N.cancellationToken;return j(j(j([],R.getSemanticDiagnostics($,q),true),R.getSyntacticDiagnostics($,q),true),E.computeSuggestionDiagnostics($,R,q),true)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=new E.Map;function registerRefactor(E,N){R.set(E,N)}N.registerRefactor=registerRefactor;function getApplicableRefactors(j){return E.arrayFrom(E.flatMapIterator(R.values(),(function(E){var R;return j.cancellationToken&&j.cancellationToken.isCancellationRequested()||!((R=E.kinds)===null||R===void 0?void 0:R.some((function(E){return N.refactorKindBeginsWith(E,j.kind)})))?undefined:E.getAvailableActions(j)})))}N.getApplicableRefactors=getApplicableRefactors;function getEditsForRefactor(E,N,j){var $=R.get(N);return $&&$.getEditsForAction(E,j)}N.getEditsForRefactor=getEditsForRefactor})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addConvertToUnknownForNonOverlappingTypes";var j=[E.Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Add_unknown_conversion_for_non_overlapping_types,R,E.Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);var q=E.Debug.checkDefined(E.findAncestor($,(function(N){return E.isAsExpression(N)||E.isTypeAssertionExpression(N)})),"Expected to find an assertion expression");var G=E.isAsExpression(q)?E.factory.createAsExpression(q.expression,E.factory.createKeywordTypeNode(153)):E.factory.createTypeAssertion(E.factory.createKeywordTypeNode(153),q.expression);N.replaceNode(R,q.expression,G)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.registerCodeFix({errorCodes:[E.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,E.Diagnostics.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(R){var j=R.sourceFile;var $=E.textChanges.ChangeTracker.with(R,(function(N){var R=E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([]),undefined);N.insertNodeAtEndOfScope(j,j,R)}));return[N.createCodeFixActionWithoutFixAll("addEmptyExportDeclaration",$,E.Diagnostics.Add_export_to_make_this_file_into_a_module)]}})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingAsync";var j=[E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code,E.Diagnostics.Type_0_is_not_comparable_to_type_1.code];N.registerCodeFix({fixIds:[R],errorCodes:j,getCodeActions:function(N){var R=N.sourceFile,j=N.errorCode,$=N.cancellationToken,q=N.program,G=N.span;var ie=E.find(q.getDiagnosticsProducingTypeChecker().getDiagnostics(R,$),getIsMatchingAsyncError(G,j));var ae=ie&&ie.relatedInformation&&E.find(ie.relatedInformation,(function(N){return N.code===E.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}));var ce=getFixableErrorSpanDeclaration(R,ae);if(!ce){return}var trackChanges=function(R){return E.textChanges.ChangeTracker.with(N,R)};return[getFix(N,ce,trackChanges)]},getAllCodeActions:function(R){var $=R.sourceFile;var q=new E.Set;return N.codeFixAll(R,j,(function(N,j){var G=j.relatedInformation&&E.find(j.relatedInformation,(function(N){return N.code===E.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}));var ie=getFixableErrorSpanDeclaration($,G);if(!ie){return}var trackChanges=function(E){return E(N),[]};return getFix(R,ie,trackChanges,q)}))}});function getFix(j,$,q,G){var ie=q((function(E){return makeChange(E,j.sourceFile,$,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Add_async_modifier_to_containing_function,R,E.Diagnostics.Add_all_missing_async_modifiers)}function makeChange(N,R,j,$){if($){if($.has(E.getNodeId(j))){return}}$===null||$===void 0?void 0:$.add(E.getNodeId(j));var q=E.factory.updateModifiers(E.getSynthesizedDeepClone(j,true),E.factory.createNodeArray(E.factory.createModifiersFromModifierFlags(E.getSyntacticModifierFlags(j)|256)));N.replaceNode(R,j,q)}function getFixableErrorSpanDeclaration(N,R){if(!R)return undefined;var j=E.getTokenAtPosition(N,R.start);var $=E.findAncestor(j,(function(j){if(j.getStart(N)<R.start||j.getEnd()>E.textSpanEnd(R)){return"quit"}return(E.isArrowFunction(j)||E.isMethodDeclaration(j)||E.isFunctionExpression(j)||E.isFunctionDeclaration(j))&&E.textSpansEqual(R,E.createTextSpanFromNode(j,N))}));return $}function getIsMatchingAsyncError(N,R){return function(j){var $=j.start,q=j.length,G=j.relatedInformation,ie=j.code;return E.isNumber($)&&E.isNumber(q)&&E.textSpansEqual({start:$,length:q},N)&&ie===R&&!!G&&E.some(G,(function(N){return N.code===E.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingAwait";var $=E.Diagnostics.Property_0_does_not_exist_on_type_1.code;var q=[E.Diagnostics.This_expression_is_not_callable.code,E.Diagnostics.This_expression_is_not_constructable.code];var G=j([E.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,E.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,E.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,E.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,E.Diagnostics.Type_0_is_not_an_array_type.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,$],q,true);N.registerCodeFix({fixIds:[R],errorCodes:G,getCodeActions:function(N){var R=N.sourceFile,j=N.errorCode,$=N.span,q=N.cancellationToken,G=N.program;var ie=getFixableErrorSpanExpression(R,j,$,q,G);if(!ie){return}var ae=N.program.getTypeChecker();var trackChanges=function(R){return E.textChanges.ChangeTracker.with(N,R)};return E.compact([getDeclarationSiteFix(N,ie,j,ae,trackChanges),getUseSiteFix(N,ie,j,ae,trackChanges)])},getAllCodeActions:function(R){var j=R.sourceFile,$=R.program,q=R.cancellationToken;var ie=R.program.getTypeChecker();var ae=new E.Set;return N.codeFixAll(R,G,(function(E,N){var G=getFixableErrorSpanExpression(j,N.code,N,q,$);if(!G){return}var trackChanges=function(N){return N(E),[]};return getDeclarationSiteFix(R,G,N.code,ie,trackChanges,ae)||getUseSiteFix(R,G,N.code,ie,trackChanges,ae)}))}});function getDeclarationSiteFix(R,j,$,q,G,ie){var ae=R.sourceFile,ce=R.program,le=R.cancellationToken;var _e=findAwaitableInitializers(j,ae,le,ce,q);if(_e){var Ee=G((function(N){E.forEach(_e.initializers,(function(E){var R=E.expression;return makeChange(N,$,ae,q,R,ie)}));if(ie&&_e.needsSecondPassForFixAll){makeChange(N,$,ae,q,j,ie)}}));return N.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",Ee,_e.initializers.length===1?[E.Diagnostics.Add_await_to_initializer_for_0,_e.initializers[0].declarationSymbol.name]:E.Diagnostics.Add_await_to_initializers)}}function getUseSiteFix(j,$,q,G,ie,ae){var ce=ie((function(E){return makeChange(E,q,j.sourceFile,G,$,ae)}));return N.createCodeFixAction(R,ce,E.Diagnostics.Add_await,R,E.Diagnostics.Fix_all_expressions_possibly_missing_await)}function isMissingAwaitError(N,R,j,$,q){var G=q.getDiagnosticsProducingTypeChecker();var ie=G.getDiagnostics(N,$);return E.some(ie,(function(N){var $=N.start,q=N.length,G=N.relatedInformation,ie=N.code;return E.isNumber($)&&E.isNumber(q)&&E.textSpansEqual({start:$,length:q},j)&&ie===R&&!!G&&E.some(G,(function(N){return N.code===E.Diagnostics.Did_you_forget_to_use_await.code}))}))}function getFixableErrorSpanExpression(N,R,j,$,q){var G=E.getTokenAtPosition(N,j.start);var ie=E.findAncestor(G,(function(R){if(R.getStart(N)<j.start||R.getEnd()>E.textSpanEnd(j)){return"quit"}return E.isExpression(R)&&E.textSpansEqual(j,E.createTextSpanFromNode(R,N))}));return ie&&isMissingAwaitError(N,R,j,$,q)&&isInsideAwaitableBody(ie)?ie:undefined}function findAwaitableInitializers(N,R,j,$,q){var G=getIdentifiersFromErrorSpanExpression(N,q);if(!G){return}var ie=G.isCompleteFix;var ae;var _loop_12=function(N){var G=q.getSymbolAtLocation(N);if(!G){return"continue"}var ce=E.tryCast(G.valueDeclaration,E.isVariableDeclaration);var le=ce&&E.tryCast(ce.name,E.isIdentifier);var _e=E.getAncestor(ce,235);if(!ce||!_e||ce.type||!ce.initializer||_e.getSourceFile()!==R||E.hasSyntacticModifier(_e,1)||!le||!isInsideAwaitableBody(ce.initializer)){ie=false;return"continue"}var Ee=$.getSemanticDiagnostics(R,j);var Te=E.FindAllReferences.Core.eachSymbolReferenceInFile(le,q,R,(function(E){return N!==E&&!symbolReferenceIsAlsoMissingAwait(E,Ee,R,q)}));if(Te){ie=false;return"continue"}(ae||(ae=[])).push({expression:ce.initializer,declarationSymbol:G})};for(var ce=0,le=G.identifiers;ce<le.length;ce++){var _e=le[ce];_loop_12(_e)}return ae&&{initializers:ae,needsSecondPassForFixAll:!ie}}function getIdentifiersFromErrorSpanExpression(N,R){if(E.isPropertyAccessExpression(N.parent)&&E.isIdentifier(N.parent.expression)){return{identifiers:[N.parent.expression],isCompleteFix:true}}if(E.isIdentifier(N)){return{identifiers:[N],isCompleteFix:true}}if(E.isBinaryExpression(N)){var j=void 0;var $=true;for(var q=0,G=[N.left,N.right];q<G.length;q++){var ie=G[q];var ae=R.getTypeAtLocation(ie);if(R.getPromisedTypeOfPromise(ae)){if(!E.isIdentifier(ie)){$=false;continue}(j||(j=[])).push(ie)}}return j&&{identifiers:j,isCompleteFix:$}}}function symbolReferenceIsAlsoMissingAwait(N,R,j,$){var q=E.isPropertyAccessExpression(N.parent)?N.parent.name:E.isBinaryExpression(N.parent)?N.parent:N;var ie=E.find(R,(function(E){return E.start===q.getStart(j)&&E.start+E.length===q.getEnd()}));return ie&&E.contains(G,ie.code)||$.getTypeAtLocation(q).flags&1}function isInsideAwaitableBody(N){return N.kind&32768||!!E.findAncestor(N,(function(N){return N.parent&&E.isArrowFunction(N.parent)&&N.parent.body===N||E.isBlock(N)&&(N.parent.kind===254||N.parent.kind===211||N.parent.kind===212||N.parent.kind===167)}))}function makeChange(N,R,j,G,ie,ae){if(E.isBinaryExpression(ie)){for(var ce=0,le=[ie.left,ie.right];ce<le.length;ce++){var _e=le[ce];if(ae&&E.isIdentifier(_e)){var Ee=G.getSymbolAtLocation(_e);if(Ee&&ae.has(E.getSymbolId(Ee))){continue}}var Te=G.getTypeAtLocation(_e);var we=G.getPromisedTypeOfPromise(Te)?E.factory.createAwaitExpression(_e):_e;N.replaceNode(j,_e,we)}}else if(R===$&&E.isPropertyAccessExpression(ie.parent)){if(ae&&E.isIdentifier(ie.parent.expression)){var Ee=G.getSymbolAtLocation(ie.parent.expression);if(Ee&&ae.has(E.getSymbolId(Ee))){return}}N.replaceNode(j,ie.parent.expression,E.factory.createParenthesizedExpression(E.factory.createAwaitExpression(ie.parent.expression)));insertLeadingSemicolonIfNeeded(N,ie.parent.expression,j)}else if(E.contains(q,R)&&E.isCallOrNewExpression(ie.parent)){if(ae&&E.isIdentifier(ie)){var Ee=G.getSymbolAtLocation(ie);if(Ee&&ae.has(E.getSymbolId(Ee))){return}}N.replaceNode(j,ie,E.factory.createParenthesizedExpression(E.factory.createAwaitExpression(ie)));insertLeadingSemicolonIfNeeded(N,ie,j)}else{if(ae&&E.isVariableDeclaration(ie.parent)&&E.isIdentifier(ie.parent.name)){var Ee=G.getSymbolAtLocation(ie.parent.name);if(Ee&&!E.tryAddToSet(ae,E.getSymbolId(Ee))){return}}N.replaceNode(j,ie,E.factory.createAwaitExpression(ie))}}function insertLeadingSemicolonIfNeeded(N,R,j){var $=E.findPrecedingToken(R.pos,j);if($&&E.positionIsASICandidate($.end,$.parent,j)){N.insertText(j,R.getStart(j),";")}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingConst";var j=[E.Diagnostics.Cannot_find_name_0.code,E.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start,j.program)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Add_const_to_unresolved_variable,R,E.Diagnostics.Add_const_to_all_unresolved_variables)]}},fixIds:[R],getAllCodeActions:function(R){var $=new E.Set;return N.codeFixAll(R,j,(function(E,N){return makeChange(E,N.file,N.start,R.program,$)}))}});function makeChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j);var ie=E.findAncestor(G,(function(N){return E.isForInOrOfStatement(N.parent)?N.parent.initializer===N:isPossiblyPartOfDestructuring(N)?false:"quit"}));if(ie)return applyChange(N,ie,R,q);var ae=G.parent;if(E.isBinaryExpression(ae)&&ae.operatorToken.kind===63&&E.isExpressionStatement(ae.parent)){return applyChange(N,G,R,q)}if(E.isArrayLiteralExpression(ae)){var ce=$.getTypeChecker();if(!E.every(ae.elements,(function(E){return arrayElementCouldBeVariableDeclaration(E,ce)}))){return}return applyChange(N,ae,R,q)}var le=E.findAncestor(G,(function(N){return E.isExpressionStatement(N.parent)?true:isPossiblyPartOfCommaSeperatedInitializer(N)?false:"quit"}));if(le){var _e=$.getTypeChecker();if(!expressionCouldBeVariableDeclaration(le,_e)){return}return applyChange(N,le,R,q)}}function applyChange(N,R,j,$){if(!$||E.tryAddToSet($,R)){N.insertModifierBefore(j,85,R)}}function isPossiblyPartOfDestructuring(E){switch(E.kind){case 79:case 202:case 203:case 291:case 292:return true;default:return false}}function arrayElementCouldBeVariableDeclaration(N,R){var j=E.isIdentifier(N)?N:E.isAssignmentExpression(N,true)&&E.isIdentifier(N.left)?N.left:undefined;return!!j&&!R.getSymbolAtLocation(j)}function isPossiblyPartOfCommaSeperatedInitializer(E){switch(E.kind){case 79:case 219:case 27:return true;default:return false}}function expressionCouldBeVariableDeclaration(N,R){if(!E.isBinaryExpression(N)){return false}if(N.operatorToken.kind===27){return E.every([N.left,N.right],(function(E){return expressionCouldBeVariableDeclaration(E,R)}))}return N.operatorToken.kind===63&&E.isIdentifier(N.left)&&!R.getSymbolAtLocation(N.left)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingDeclareProperty";var j=[E.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Prefix_with_declare,R,E.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]}},fixIds:[R],getAllCodeActions:function(R){var $=new E.Set;return N.codeFixAll(R,j,(function(E,N){return makeChange(E,N.file,N.start,$)}))}});function makeChange(N,R,j,$){var q=E.getTokenAtPosition(R,j);if(!E.isIdentifier(q)){return}var G=q.parent;if(G.kind===165&&(!$||E.tryAddToSet($,G))){N.insertModifierBefore(R,134,G)}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingInvocationForDecorator";var j=[E.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Call_decorator_expression,R,E.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);var q=E.findAncestor($,E.isDecorator);E.Debug.assert(!!q,"Expected position to be owned by a decorator.");var G=E.factory.createCallExpression(q.expression,undefined,undefined);N.replaceNode(R,q.expression,G)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addNameToNamelessParameter";var j=[E.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Add_parameter_name,R,E.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);if(!E.isIdentifier($)){return E.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+E.Debug.formatSyntaxKind($.kind))}var q=$.parent;if(!E.isParameter(q)){return E.Debug.fail("Tried to add a parameter name to a non-parameter: "+E.Debug.formatSyntaxKind($.kind))}var G=q.parent.parameters.indexOf(q);E.Debug.assert(!q.type,"Tried to add a parameter name to a parameter that already had one.");E.Debug.assert(G>-1,"Parameter not found in parent parameter list.");var ie=E.factory.createParameterDeclaration(undefined,q.modifiers,q.dotDotDotToken,"arg"+G,q.questionToken,E.factory.createTypeReferenceNode($,undefined),q.initializer);N.replaceNode(R,$,ie)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="annotateWithTypeFromJSDoc";var j=[E.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=getDeclaration(j.sourceFile,j.span.start);if(!$)return;var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,$)}));return[N.createCodeFixAction(R,q,E.Diagnostics.Annotate_with_type_from_JSDoc,R,E.Diagnostics.Annotate_everything_with_types_from_JSDoc)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getDeclaration(N.file,N.start);if(R)doChange(E,N.file,R)}))}});function getDeclaration(N,R){var j=E.getTokenAtPosition(N,R);return E.tryCast(E.isParameter(j.parent)?j.parent.parent:j.parent,parameterShouldGetTypeFromJSDoc)}function parameterShouldGetTypeFromJSDoc(E){return isDeclarationWithType(E)&&hasUsableJSDoc(E)}N.parameterShouldGetTypeFromJSDoc=parameterShouldGetTypeFromJSDoc;function hasUsableJSDoc(N){return E.isFunctionLikeDeclaration(N)?N.parameters.some(hasUsableJSDoc)||!N.type&&!!E.getJSDocReturnType(N):!N.type&&!!E.getJSDocType(N)}function doChange(N,R,j){if(E.isFunctionLikeDeclaration(j)&&(E.getJSDocReturnType(j)||j.parameters.some((function(N){return!!E.getJSDocType(N)})))){if(!j.typeParameters){var $=E.getJSDocTypeParameterDeclarations(j);if($.length)N.insertTypeParameters(R,j,$)}var q=E.isArrowFunction(j)&&!E.findChildOfKind(j,20,R);if(q)N.insertNodeBefore(R,E.first(j.parameters),E.factory.createToken(20));for(var G=0,ie=j.parameters;G<ie.length;G++){var ae=ie[G];if(!ae.type){var ce=E.getJSDocType(ae);if(ce)N.tryInsertTypeAnnotation(R,ae,transformJSDocType(ce))}}if(q)N.insertNodeAfter(R,E.last(j.parameters),E.factory.createToken(21));if(!j.type){var le=E.getJSDocReturnType(j);if(le)N.tryInsertTypeAnnotation(R,j,transformJSDocType(le))}}else{var _e=E.Debug.checkDefined(E.getJSDocType(j),"A JSDocType for this declaration should exist");E.Debug.assert(!j.type,"The JSDocType decl should have a type");N.tryInsertTypeAnnotation(R,j,transformJSDocType(_e))}}function isDeclarationWithType(N){return E.isFunctionLikeDeclaration(N)||N.kind===252||N.kind===164||N.kind===165}function transformJSDocType(N){switch(N.kind){case 307:case 308:return E.factory.createTypeReferenceNode("any",E.emptyArray);case 311:return transformJSDocOptionalType(N);case 310:return transformJSDocType(N.type);case 309:return transformJSDocNullableType(N);case 313:return transformJSDocVariadicType(N);case 312:return transformJSDocFunctionType(N);case 176:return transformJSDocTypeReference(N);default:var R=E.visitEachChild(N,transformJSDocType,E.nullTransformationContext);E.setEmitFlags(R,1);return R}}function transformJSDocOptionalType(N){return E.factory.createUnionTypeNode([E.visitNode(N.type,transformJSDocType),E.factory.createTypeReferenceNode("undefined",E.emptyArray)])}function transformJSDocNullableType(N){return E.factory.createUnionTypeNode([E.visitNode(N.type,transformJSDocType),E.factory.createTypeReferenceNode("null",E.emptyArray)])}function transformJSDocVariadicType(N){return E.factory.createArrayTypeNode(E.visitNode(N.type,transformJSDocType))}function transformJSDocFunctionType(N){var R;return E.factory.createFunctionTypeNode(E.emptyArray,N.parameters.map(transformJSDocParameter),(R=N.type)!==null&&R!==void 0?R:E.factory.createKeywordTypeNode(129))}function transformJSDocParameter(N){var R=N.parent.parameters.indexOf(N);var j=N.type.kind===313&&R===N.parent.parameters.length-1;var $=N.name||(j?"rest":"arg"+R);var q=j?E.factory.createToken(25):N.dotDotDotToken;return E.factory.createParameterDeclaration(N.decorators,N.modifiers,q,$,N.questionToken,E.visitNode(N.type,transformJSDocType),N.initializer)}function transformJSDocTypeReference(N){var R=N.typeName;var j=N.typeArguments;if(E.isIdentifier(N.typeName)){if(E.isJSDocIndexSignature(N)){return transformJSDocIndexSignature(N)}var $=N.typeName.text;switch(N.typeName.text){case"String":case"Boolean":case"Object":case"Number":$=$.toLowerCase();break;case"array":case"date":case"promise":$=$[0].toUpperCase()+$.slice(1);break}R=E.factory.createIdentifier($);if(($==="Array"||$==="Promise")&&!N.typeArguments){j=E.factory.createNodeArray([E.factory.createTypeReferenceNode("any",E.emptyArray)])}else{j=E.visitNodes(N.typeArguments,transformJSDocType)}}return E.factory.createTypeReferenceNode(R,j)}function transformJSDocIndexSignature(N){var R=E.factory.createParameterDeclaration(undefined,undefined,undefined,N.typeArguments[0].kind===145?"n":"s",undefined,E.factory.createTypeReferenceNode(N.typeArguments[0].kind===145?"number":"string",[]),undefined);var j=E.factory.createTypeLiteralNode([E.factory.createIndexSignature(undefined,undefined,[R],N.typeArguments[1])]);E.setEmitFlags(j,1);return j}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertFunctionToEs6Class";var j=[E.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,j.span.start,j.program.getTypeChecker(),j.preferences,j.program.getCompilerOptions())}));return[N.createCodeFixAction(R,$,E.Diagnostics.Convert_function_to_an_ES2015_class,R,E.Diagnostics.Convert_all_constructor_functions_to_classes)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){return doChange(N,R.file,R.start,E.program.getTypeChecker(),E.preferences,E.program.getCompilerOptions())}))}});function doChange(N,R,j,$,q,G){var ie=$.getSymbolAtLocation(E.getTokenAtPosition(R,j));if(!ie||!ie.valueDeclaration||!(ie.flags&(16|3))){return undefined}var ae=ie.valueDeclaration;if(E.isFunctionDeclaration(ae)){N.replaceNode(R,ae,createClassFromFunctionDeclaration(ae))}else if(E.isVariableDeclaration(ae)){var ce=createClassFromVariableDeclaration(ae);if(!ce){return undefined}var le=ae.parent.parent;if(E.isVariableDeclarationList(ae.parent)&&ae.parent.declarations.length>1){N.delete(R,ae);N.insertNodeAfter(R,le,ce)}else{N.replaceNode(R,le,ce)}}function createClassElementsFromSymbol(j){var $=[];if(j.members){j.members.forEach((function(E,j){if(j==="constructor"&&E.valueDeclaration){N.delete(R,E.valueDeclaration.parent);return}var q=createClassElement(E,undefined);if(q){$.push.apply($,q)}}))}if(j.exports){j.exports.forEach((function(N){if(N.name==="prototype"&&N.declarations){var R=N.declarations[0];if(N.declarations.length===1&&E.isPropertyAccessExpression(R)&&E.isBinaryExpression(R.parent)&&R.parent.operatorToken.kind===63&&E.isObjectLiteralExpression(R.parent.right)){var j=R.parent.right;var q=createClassElement(j.symbol,undefined);if(q){$.push.apply($,q)}}}else{var q=createClassElement(N,[E.factory.createToken(124)]);if(q){$.push.apply($,q)}}}))}return $;function shouldConvertDeclaration(N,R){if(E.isAccessExpression(N)){if(E.isPropertyAccessExpression(N)&&isConstructorAssignment(N))return true;return E.isFunctionLike(R)}else{return E.every(N.properties,(function(N){if(E.isMethodDeclaration(N)||E.isGetOrSetAccessorDeclaration(N))return true;if(E.isPropertyAssignment(N)&&E.isFunctionExpression(N.initializer)&&!!N.name)return true;if(isConstructorAssignment(N))return true;return false}))}}function createClassElement(j,$){var ie=[];if(!(j.flags&8192)&&!(j.flags&4096)){return ie}var ae=j.valueDeclaration;var ce=ae.parent;var le=ce.right;if(!shouldConvertDeclaration(ae,le)){return ie}var _e=ce.parent&&ce.parent.kind===236?ce.parent:ce;N.delete(R,_e);if(!le){ie.push(E.factory.createPropertyDeclaration([],$,j.name,undefined,undefined,undefined));return ie}if(E.isAccessExpression(ae)&&(E.isFunctionExpression(le)||E.isArrowFunction(le))){var Ee=E.getQuotePreference(R,q);var Te=tryGetPropertyName(ae,G,Ee);if(Te){return createFunctionLikeExpressionMember(ie,le,Te)}return ie}else if(E.isObjectLiteralExpression(le)){return E.flatMap(le.properties,(function(N){if(E.isMethodDeclaration(N)||E.isGetOrSetAccessorDeclaration(N)){return ie.concat(N)}if(E.isPropertyAssignment(N)&&E.isFunctionExpression(N.initializer)){return createFunctionLikeExpressionMember(ie,N.initializer,N.name)}if(isConstructorAssignment(N))return ie;return[]}))}else{if(E.isSourceFileJS(R))return ie;if(!E.isPropertyAccessExpression(ae))return ie;var we=E.factory.createPropertyDeclaration(undefined,$,ae.name,undefined,undefined,le);E.copyLeadingComments(ce.parent,we,R);ie.push(we);return ie}function createFunctionLikeExpressionMember(N,R,j){if(E.isFunctionExpression(R))return createFunctionExpressionMember(N,R,j);else return createArrowFunctionExpressionMember(N,R,j)}function createFunctionExpressionMember(N,j,q){var G=E.concatenate($,getModifierKindFromSource(j,130));var ie=E.factory.createMethodDeclaration(undefined,G,undefined,q,undefined,undefined,j.parameters,undefined,j.body);E.copyLeadingComments(ce,ie,R);return N.concat(ie)}function createArrowFunctionExpressionMember(N,j,q){var G=j.body;var ie;if(G.kind===233){ie=G}else{ie=E.factory.createBlock([E.factory.createReturnStatement(G)])}var ae=E.concatenate($,getModifierKindFromSource(j,130));var le=E.factory.createMethodDeclaration(undefined,ae,undefined,q,undefined,undefined,j.parameters,undefined,ie);E.copyLeadingComments(ce,le,R);return N.concat(le)}}}function createClassFromVariableDeclaration(N){var R=N.initializer;if(!R||!E.isFunctionExpression(R)||!E.isIdentifier(N.name)){return undefined}var j=createClassElementsFromSymbol(N.symbol);if(R.body){j.unshift(E.factory.createConstructorDeclaration(undefined,undefined,R.parameters,R.body))}var $=getModifierKindFromSource(N.parent.parent,93);var q=E.factory.createClassDeclaration(undefined,$,N.name,undefined,undefined,j);return q}function createClassFromFunctionDeclaration(N){var R=createClassElementsFromSymbol(ie);if(N.body){R.unshift(E.factory.createConstructorDeclaration(undefined,undefined,N.parameters,N.body))}var j=getModifierKindFromSource(N,93);var $=E.factory.createClassDeclaration(undefined,j,N.name,undefined,undefined,R);return $}}function getModifierKindFromSource(N,R){return E.filter(N.modifiers,(function(E){return E.kind===R}))}function isConstructorAssignment(N){if(!N.name)return false;if(E.isIdentifier(N.name)&&N.name.text==="constructor")return true;return false}function tryGetPropertyName(N,R,j){if(E.isPropertyAccessExpression(N)){return N.name}var $=N.argumentExpression;if(E.isNumericLiteral($)){return $}if(E.isStringLiteralLike($)){return E.isIdentifierText($.text,R.target)?E.factory.createIdentifier($.text):E.isNoSubstitutionTemplateLiteral($)?E.factory.createStringLiteral($.text,j===0):$}return undefined}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertToAsyncFunction";var $=[E.Diagnostics.This_may_be_converted_to_an_async_function.code];var q=true;N.registerCodeFix({errorCodes:$,getCodeActions:function(j){q=true;var $=E.textChanges.ChangeTracker.with(j,(function(E){return convertToAsyncFunction(E,j.sourceFile,j.span.start,j.program.getTypeChecker())}));return q?[N.createCodeFixAction(R,$,E.Diagnostics.Convert_to_async_function,R,E.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return convertToAsyncFunction(N,R.file,R.start,E.program.getTypeChecker())}))}});var G;(function(E){E[E["Identifier"]=0]="Identifier";E[E["BindingPattern"]=1]="BindingPattern"})(G||(G={}));function convertToAsyncFunction(N,R,j,$){var q=E.getTokenAtPosition(R,j);var G;if(E.isIdentifier(q)&&E.isVariableDeclaration(q.parent)&&q.parent.initializer&&E.isFunctionLikeDeclaration(q.parent.initializer)){G=q.parent.initializer}else{G=E.tryCast(E.getContainingFunction(E.getTokenAtPosition(R,j)),E.canBeConvertedToAsync)}if(!G){return}var ie=new E.Map;var ae=E.isInJSFile(G);var ce=getAllPromiseExpressionsToReturn(G,$);var le=renameCollidingVarNames(G,$,ie);if(!E.returnsPromise(le,$)){return}var _e=le.body&&E.isBlock(le.body)?getReturnStatementsWithPromiseHandlers(le.body,$):E.emptyArray;var Ee={checker:$,synthNamesMap:ie,setOfExpressionsToReturn:ce,isInJSFile:ae};if(!_e.length){return}var Te=G.modifiers?G.modifiers.end:G.decorators?E.skipTrivia(R.text,G.decorators.end):G.getStart(R);var we=G.modifiers?{prefix:" "}:{suffix:" "};N.insertModifierAt(R,Te,130,we);var _loop_13=function(j){E.forEachChild(j,(function visit($){if(E.isCallExpression($)){var q=transformExpression($,Ee);N.replaceNodeWithNodes(R,j,q)}else if(!E.isFunctionLike($)){E.forEachChild($,visit)}}))};for(var Ie=0,Ne=_e;Ie<Ne.length;Ie++){var Me=Ne[Ie];_loop_13(Me)}}function getReturnStatementsWithPromiseHandlers(N,R){var j=[];E.forEachReturnStatement(N,(function(N){if(E.isReturnStatementWithFixablePromiseHandler(N,R))j.push(N)}));return j}function getAllPromiseExpressionsToReturn(N,R){if(!N.body){return new E.Set}var j=new E.Set;E.forEachChild(N.body,(function visit(N){if(isPromiseReturningCallExpression(N,R,"then")){j.add(E.getNodeId(N));E.forEach(N.arguments,visit)}else if(isPromiseReturningCallExpression(N,R,"catch")){j.add(E.getNodeId(N));E.forEachChild(N,visit)}else if(isPromiseTypedExpression(N,R)){j.add(E.getNodeId(N))}else{E.forEachChild(N,visit)}}));return j}function isPromiseReturningCallExpression(N,R,j){if(!E.isCallExpression(N))return false;var $=E.hasPropertyAccessExpressionWithName(N,j);var q=$&&R.getTypeAtLocation(N);return!!(q&&R.getPromisedTypeOfPromise(q))}function isPromiseTypedExpression(N,R){if(!E.isExpression(N))return false;return!!R.getPromisedTypeOfPromise(R.getTypeAtLocation(N))}function renameCollidingVarNames(N,R,j){var $=new E.Map;var q=E.createMultiMap();E.forEachChild(N,(function visit(N){if(!E.isIdentifier(N)){E.forEachChild(N,visit);return}var G=R.getSymbolAtLocation(N);if(G){var ie=R.getTypeAtLocation(N);var ae=getLastCallSignature(ie,R);var ce=E.getSymbolId(G).toString();if(ae&&!E.isParameter(N.parent)&&!E.isFunctionLikeDeclaration(N.parent)&&!j.has(ce)){var le=E.firstOrUndefined(ae.parameters);var _e=(le===null||le===void 0?void 0:le.valueDeclaration)&&E.isParameter(le.valueDeclaration)&&E.tryCast(le.valueDeclaration.name,E.isIdentifier)||E.factory.createUniqueName("result",16);var Ee=getNewNameIfConflict(_e,q);j.set(ce,Ee);q.add(_e.text,G)}else if(N.parent&&(E.isParameter(N.parent)||E.isVariableDeclaration(N.parent)||E.isBindingElement(N.parent))){var Te=N.text;var we=q.get(Te);if(we&&we.some((function(E){return E!==G}))){var Ie=getNewNameIfConflict(N,q);$.set(ce,Ie.identifier);j.set(ce,Ie);q.add(Te,G)}else{var Ne=E.getSynthesizedDeepClone(N);j.set(ce,createSynthIdentifier(Ne));q.add(Te,G)}}}}));return E.getSynthesizedDeepCloneWithReplacements(N,true,(function(N){if(E.isBindingElement(N)&&E.isIdentifier(N.name)&&E.isObjectBindingPattern(N.parent)){var j=R.getSymbolAtLocation(N.name);var q=j&&$.get(String(E.getSymbolId(j)));if(q&&q.text!==(N.name||N.propertyName).getText()){return E.factory.createBindingElement(N.dotDotDotToken,N.propertyName||N.name,q,N.initializer)}}else if(E.isIdentifier(N)){var j=R.getSymbolAtLocation(N);var q=j&&$.get(String(E.getSymbolId(j)));if(q){return E.factory.createIdentifier(q.text)}}}))}function getNewNameIfConflict(N,R){var j=(R.get(N.text)||E.emptyArray).length;var $=j===0?N:E.factory.createIdentifier(N.text+"_"+j);return createSynthIdentifier($)}function silentFail(){q=false;return E.emptyArray}function transformExpression(N,R,j){if(isPromiseReturningCallExpression(N,R.checker,"then")){if(N.arguments.length===0)return silentFail();return transformThen(N,R,j)}if(isPromiseReturningCallExpression(N,R.checker,"catch")){return transformCatch(N,R,j)}if(E.isPropertyAccessExpression(N)){return transformExpression(N.expression,R,j)}var $=R.checker.getTypeAtLocation(N);if($&&R.checker.getPromisedTypeOfPromise($)){E.Debug.assertNode(N.original.parent,E.isPropertyAccessExpression);return transformPromiseExpressionOfPropertyAccess(N,R,j)}return silentFail()}function transformCatch(N,R,j){var $=E.singleOrUndefined(N.arguments);var q=$?getArgBindingName($,R):undefined;var G;if(j&&!shouldReturn(N,R)){if(isSynthIdentifier(j)){G=j;R.synthNamesMap.forEach((function(E,N){if(E.identifier.text===j.identifier.text){var $=createUniqueSynthName(j);R.synthNamesMap.set(N,$)}}))}else{G=createSynthIdentifier(E.factory.createUniqueName("result",16),j.types)}G.hasBeenDeclared=true}var ie=E.factory.createBlock(transformExpression(N.expression,R,G));var ae=$?getTransformationBody($,G,q,N,R):E.emptyArray;var ce=q?isSynthIdentifier(q)?q.identifier.text:q.bindingPattern:"e";var le=E.factory.createVariableDeclaration(ce);var _e=E.factory.createCatchClause(le,E.factory.createBlock(ae));var Ee;var Te;if(G&&!shouldReturn(N,R)){Te=E.getSynthesizedDeepClone(G.identifier);var we=G.types;var Ie=R.checker.getUnionType(we,2);var Ne=R.isInJSFile?undefined:R.checker.typeToTypeNode(Ie,undefined,undefined);var Me=[E.factory.createVariableDeclaration(Te,undefined,Ne)];Ee=E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList(Me,1))}var Le=E.factory.createTryStatement(ie,_e,undefined);var Be=j&&Te&&isSynthBindingPattern(j)&&E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(E.getSynthesizedDeepClone(j.bindingPattern),undefined,undefined,Te)],2));return E.compact([Ee,Le,Be])}function createUniqueSynthName(N){var R=E.factory.createUniqueName(N.identifier.text,16);return createSynthIdentifier(R)}function transformThen(N,R,j){var $=N.arguments,q=$[0],G=$[1];var ie=getArgBindingName(q,R);var ae=getTransformationBody(q,j,ie,N,R);if(G){var ce=getArgBindingName(G,R);var le=E.factory.createBlock(transformExpression(N.expression,R,ie).concat(ae));var _e=getTransformationBody(G,j,ce,N,R);var Ee=ce?isSynthIdentifier(ce)?ce.identifier.text:ce.bindingPattern:"e";var Te=E.factory.createVariableDeclaration(Ee);var we=E.factory.createCatchClause(Te,E.factory.createBlock(_e));return[E.factory.createTryStatement(le,we,undefined)]}return transformExpression(N.expression,R,ie).concat(ae)}function transformPromiseExpressionOfPropertyAccess(N,R,j){if(shouldReturn(N,R)){return[E.factory.createReturnStatement(E.getSynthesizedDeepClone(N))]}return createVariableOrAssignmentOrExpressionStatement(j,E.factory.createAwaitExpression(N),undefined)}function createVariableOrAssignmentOrExpressionStatement(N,R,j){if(!N||isEmptyBindingName(N)){return[E.factory.createExpressionStatement(R)]}if(isSynthIdentifier(N)&&N.hasBeenDeclared){return[E.factory.createExpressionStatement(E.factory.createAssignment(E.getSynthesizedDeepClone(N.identifier),R))]}return[E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(E.getSynthesizedDeepClone(getNode(N)),undefined,j,R)],2))]}function maybeAnnotateAndReturn(N,R){if(R&&N){var $=E.factory.createUniqueName("result",16);return j(j([],createVariableOrAssignmentOrExpressionStatement(createSynthIdentifier($),N,R),true),[E.factory.createReturnStatement($)],false)}return[E.factory.createReturnStatement(N)]}function getTransformationBody(N,R,j,$,q){var G,ie,ae,ce,le;switch(N.kind){case 104:break;case 204:case 79:if(!j){break}var _e=E.factory.createCallExpression(E.getSynthesizedDeepClone(N),undefined,isSynthIdentifier(j)?[j.identifier]:[]);if(shouldReturn($,q)){return maybeAnnotateAndReturn(_e,(G=$.typeArguments)===null||G===void 0?void 0:G[0])}var Ee=q.checker.getTypeAtLocation(N);var Te=q.checker.getSignaturesOfType(Ee,0);if(!Te.length){return silentFail()}var we=Te[0].getReturnType();var Ie=createVariableOrAssignmentOrExpressionStatement(R,E.factory.createAwaitExpression(_e),(ie=$.typeArguments)===null||ie===void 0?void 0:ie[0]);if(R){R.types.push(we)}return Ie;case 211:case 212:{var Ne=N.body;var Me=(ae=getLastCallSignature(q.checker.getTypeAtLocation(N),q.checker))===null||ae===void 0?void 0:ae.getReturnType();if(E.isBlock(Ne)){var Le=[];var Be=false;for(var je=0,Ue=Ne.statements;je<Ue.length;je++){var ze=Ue[je];if(E.isReturnStatement(ze)){Be=true;if(E.isReturnStatementWithFixablePromiseHandler(ze,q.checker)){Le=Le.concat(getInnerTransformationBody(q,[ze],R))}else{var We=Me&&ze.expression?getPossiblyAwaitedRightHandSide(q.checker,Me,ze.expression):ze.expression;Le.push.apply(Le,maybeAnnotateAndReturn(We,(ce=$.typeArguments)===null||ce===void 0?void 0:ce[0]))}}else{Le.push(ze)}}return shouldReturn($,q)?Le.map((function(N){return E.getSynthesizedDeepClone(N)})):removeReturns(Le,R,q,Be)}else{var Je=E.isFixablePromiseHandler(Ne,q.checker)?[E.factory.createReturnStatement(Ne)]:E.emptyArray;var Ve=getInnerTransformationBody(q,Je,R);if(Ve.length>0){return Ve}if(Me){var We=getPossiblyAwaitedRightHandSide(q.checker,Me,Ne);if(!shouldReturn($,q)){var qe=createVariableOrAssignmentOrExpressionStatement(R,We,undefined);if(R){R.types.push(Me)}return qe}else{return maybeAnnotateAndReturn(We,(le=$.typeArguments)===null||le===void 0?void 0:le[0])}}else{return silentFail()}}}default:return silentFail()}return E.emptyArray}function getPossiblyAwaitedRightHandSide(N,R,j){var $=E.getSynthesizedDeepClone(j);return!!N.getPromisedTypeOfPromise(R)?E.factory.createAwaitExpression($):$}function getLastCallSignature(N,R){var j=R.getSignaturesOfType(N,0);return E.lastOrUndefined(j)}function removeReturns(N,R,j,$){var q=[];for(var G=0,ie=N;G<ie.length;G++){var ae=ie[G];if(E.isReturnStatement(ae)){if(ae.expression){var ce=isPromiseTypedExpression(ae.expression,j.checker)?E.factory.createAwaitExpression(ae.expression):ae.expression;if(R===undefined){q.push(E.factory.createExpressionStatement(ce))}else{q.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(getNode(R),undefined,undefined,ce)],2)))}}}else{q.push(E.getSynthesizedDeepClone(ae))}}if(!$&&R!==undefined){q.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(getNode(R),undefined,undefined,E.factory.createIdentifier("undefined"))],2)))}return q}function getInnerTransformationBody(N,R,j){var $=[];for(var q=0,G=R;q<G.length;q++){var ie=G[q];E.forEachChild(ie,(function visit(R){if(E.isCallExpression(R)){var q=transformExpression(R,N,j);$=$.concat(q);if($.length>0){return}}else if(!E.isFunctionLike(R)){E.forEachChild(R,visit)}}))}return $}function getArgBindingName(N,R){var j=[];var $;if(E.isFunctionLikeDeclaration(N)){if(N.parameters.length>0){var q=N.parameters[0].name;$=getMappedBindingNameOrDefault(q)}}else if(E.isIdentifier(N)){$=getMapEntryOrDefault(N)}else if(E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)){$=getMapEntryOrDefault(N.name)}if(!$||"identifier"in $&&$.identifier.text==="undefined"){return undefined}return $;function getMappedBindingNameOrDefault(N){if(E.isIdentifier(N))return getMapEntryOrDefault(N);var R=E.flatMap(N.elements,(function(N){if(E.isOmittedExpression(N))return[];return[getMappedBindingNameOrDefault(N.name)]}));return createSynthBindingPattern(N,R)}function getMapEntryOrDefault(N){var $=getOriginalNode(N);var q=getSymbol($);if(!q){return createSynthIdentifier(N,j)}var G=R.synthNamesMap.get(E.getSymbolId(q).toString());return G||createSynthIdentifier(N,j)}function getSymbol(E){return E.symbol?E.symbol:R.checker.getSymbolAtLocation(E)}function getOriginalNode(E){return E.original?E.original:E}}function isEmptyBindingName(N){if(!N){return true}if(isSynthIdentifier(N)){return!N.identifier.text}return E.every(N.elements,isEmptyBindingName)}function getNode(E){return isSynthIdentifier(E)?E.identifier:E.bindingPattern}function createSynthIdentifier(E,N){if(N===void 0){N=[]}return{kind:0,identifier:E,types:N,hasBeenDeclared:false}}function createSynthBindingPattern(N,R,j){if(R===void 0){R=E.emptyArray}if(j===void 0){j=[]}return{kind:1,bindingPattern:N,elements:R,types:j}}function isSynthIdentifier(E){return E.kind===0}function isSynthBindingPattern(E){return E.kind===1}function shouldReturn(N,R){return!!N.original&&R.setOfExpressionsToReturn.has(E.getNodeId(N.original))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.registerCodeFix({errorCodes:[E.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(R){var j=R.sourceFile,$=R.program,q=R.preferences;var G=E.textChanges.ChangeTracker.with(R,(function(N){var R=convertFileToEs6Module(j,$.getTypeChecker(),N,$.getCompilerOptions().target,E.getQuotePreference(j,q));if(R){for(var G=0,ie=$.getSourceFiles();G<ie.length;G++){var ae=ie[G];fixImportOfModuleExports(ae,j,N,E.getQuotePreference(ae,q))}}}));return[N.createCodeFixActionWithoutFixAll("convertToEs6Module",G,E.Diagnostics.Convert_to_ES6_module)]}});function fixImportOfModuleExports(N,R,j,$){for(var q=0,G=N.imports;q<G.length;q++){var ie=G[q];var ae=E.getResolvedModule(N,ie.text);if(!ae||ae.resolvedFileName!==R.fileName){continue}var ce=E.importFromModuleSpecifier(ie);switch(ce.kind){case 263:j.replaceNode(N,ce,E.makeImport(ce.name,undefined,ie,$));break;case 206:if(E.isRequireCall(ce,false)){j.replaceNode(N,ce,E.factory.createPropertyAccessExpression(E.getSynthesizedDeepClone(ce),"default"))}break}}}function convertFileToEs6Module(N,R,j,$,q){var G={original:collectFreeIdentifiers(N),additional:new E.Set};var ie=collectExportRenames(N,R,G);convertExportsAccesses(N,ie,j);var ae=false;var ce;for(var le=0,_e=E.filter(N.statements,E.isVariableStatement);le<_e.length;le++){var Ee=_e[le];var Te=convertVariableStatement(N,Ee,j,R,G,$,q);if(Te){E.copyEntries(Te,ce!==null&&ce!==void 0?ce:ce=new E.Map)}}for(var we=0,Ie=E.filter(N.statements,(function(N){return!E.isVariableStatement(N)}));we<Ie.length;we++){var Ee=Ie[we];var Ne=convertStatement(N,Ee,R,j,G,$,ie,ce,q);ae=ae||Ne}ce===null||ce===void 0?void 0:ce.forEach((function(E,R){j.replaceNode(N,R,E)}));return ae}function collectExportRenames(N,R,j){var $=new E.Map;forEachExportReference(N,(function(N){var q=N.name,G=q.text,ie=q.originalKeywordKind;if(!$.has(G)&&(ie!==undefined&&E.isNonContextualKeyword(ie)||R.resolveName(G,N,111551,true))){$.set(G,makeUniqueName("_"+G,j))}}));return $}function convertExportsAccesses(N,R,j){forEachExportReference(N,(function($,q){if(q){return}var G=$.name.text;j.replaceNode(N,$,E.factory.createIdentifier(R.get(G)||G))}))}function forEachExportReference(N,R){N.forEachChild((function recur(j){if(E.isPropertyAccessExpression(j)&&E.isExportsOrModuleExportsOrAlias(N,j.expression)&&E.isIdentifier(j.name)){var $=j.parent;R(j,E.isBinaryExpression($)&&$.left===j&&$.operatorToken.kind===63)}j.forEachChild(recur)}))}function convertStatement(N,R,j,$,q,G,ie,ae,ce){switch(R.kind){case 235:convertVariableStatement(N,R,$,j,q,G,ce);return false;case 236:{var le=R.expression;switch(le.kind){case 206:{if(E.isRequireCall(le,true)){$.replaceNode(N,R,E.makeImport(undefined,undefined,le.arguments[0],ce))}return false}case 219:{var _e=le.operatorToken;return _e.kind===63&&convertAssignment(N,j,le,$,ie,ae)}}}default:return false}}function convertVariableStatement(N,R,j,$,q,G,ie){var ae=R.declarationList;var ce=false;var le=E.map(ae.declarations,(function(R){var j=R.name,le=R.initializer;if(le){if(E.isExportsOrModuleExportsOrAlias(N,le)){ce=true;return convertedImports([])}else if(E.isRequireCall(le,true)){ce=true;return convertSingleImport(j,le.arguments[0],$,q,G,ie)}else if(E.isPropertyAccessExpression(le)&&E.isRequireCall(le.expression,true)){ce=true;return convertPropertyAccessImport(j,le.name.text,le.expression.arguments[0],q,ie)}}return convertedImports([E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([R],ae.flags))])}));if(ce){j.replaceNodeWithNodes(N,R,E.flatMap(le,(function(E){return E.newImports})));var _e;E.forEach(le,(function(N){if(N.useSitesToUnqualify){E.copyEntries(N.useSitesToUnqualify,_e!==null&&_e!==void 0?_e:_e=new E.Map)}}));return _e}}function convertPropertyAccessImport(N,R,j,$,q){switch(N.kind){case 199:case 200:{var G=makeUniqueName(R,$);return convertedImports([makeSingleImport(G,R,j,q),makeConst(undefined,N,E.factory.createIdentifier(G))])}case 79:return convertedImports([makeSingleImport(N.text,R,j,q)]);default:return E.Debug.assertNever(N,"Convert to ES6 module got invalid syntax form "+N.kind)}}function convertAssignment(N,R,j,$,q,G){var ie=j.left,ae=j.right;if(!E.isPropertyAccessExpression(ie)){return false}if(E.isExportsOrModuleExportsOrAlias(N,ie)){if(E.isExportsOrModuleExportsOrAlias(N,ae)){$.delete(N,j.parent)}else{var ce=E.isObjectLiteralExpression(ae)?tryChangeModuleExportsObject(ae,G):E.isRequireCall(ae,true)?convertReExportAll(ae.arguments[0],R):undefined;if(ce){$.replaceNodeWithNodes(N,j.parent,ce[0]);return ce[1]}else{$.replaceRangeWithText(N,E.createRange(ie.getStart(N),ae.pos),"export default");return true}}}else if(E.isExportsOrModuleExportsOrAlias(N,ie.expression)){convertNamedExport(N,j,$,q)}return false}function tryChangeModuleExportsObject(N,R){var j=E.mapAllOrFail(N.properties,(function(N){switch(N.kind){case 170:case 171:case 292:case 293:return undefined;case 291:return!E.isIdentifier(N.name)?undefined:convertExportsDotXEquals_replaceNode(N.name.text,N.initializer,R);case 167:return!E.isIdentifier(N.name)?undefined:functionExpressionToDeclaration(N.name.text,[E.factory.createToken(93)],N,R);default:E.Debug.assertNever(N,"Convert to ES6 got invalid prop kind "+N.kind)}}));return j&&[j,false]}function convertNamedExport(N,R,j,$){var q=R.left.name.text;var G=$.get(q);if(G!==undefined){var ie=[makeConst(undefined,G,R.right),makeExportDeclaration([E.factory.createExportSpecifier(G,q)])];j.replaceNodeWithNodes(N,R.parent,ie)}else{convertExportsPropertyAssignment(R,N,j)}}function convertReExportAll(N,R){var j=N.text;var $=R.getSymbolAtLocation(N);var q=$?$.exports:E.emptyMap;return q.has("export=")?[[reExportDefault(j)],true]:!q.has("default")?[[reExportStar(j)],false]:q.size>1?[[reExportStar(j),reExportDefault(j)],true]:[[reExportDefault(j)],true]}function reExportStar(E){return makeExportDeclaration(undefined,E)}function reExportDefault(N){return makeExportDeclaration([E.factory.createExportSpecifier(undefined,"default")],N)}function convertExportsPropertyAssignment(N,R,j){var $=N.left,q=N.right,G=N.parent;var ie=$.name.text;if((E.isFunctionExpression(q)||E.isArrowFunction(q)||E.isClassExpression(q))&&(!q.name||q.name.text===ie)){j.replaceRange(R,{pos:$.getStart(R),end:q.getStart(R)},E.factory.createToken(93),{suffix:" "});if(!q.name)j.insertName(R,q,ie);var ae=E.findChildOfKind(G,26,R);if(ae)j.delete(R,ae)}else{j.replaceNodeRangeWithNodes(R,$.expression,E.findChildOfKind($,24,R),[E.factory.createToken(93),E.factory.createToken(85)],{joiner:" ",suffix:" "})}}function convertExportsDotXEquals_replaceNode(N,R,j){var $=[E.factory.createToken(93)];switch(R.kind){case 211:{var q=R.name;if(q&&q.text!==N){return exportConst()}}case 212:return functionExpressionToDeclaration(N,$,R,j);case 224:return classExpressionToDeclaration(N,$,R,j);default:return exportConst()}function exportConst(){return makeConst($,E.factory.createIdentifier(N),replaceImportUseSites(R,j))}}function replaceImportUseSites(N,R){if(!R||!E.some(E.arrayFrom(R.keys()),(function(R){return E.rangeContainsRange(N,R)}))){return N}return E.isArray(N)?E.getSynthesizedDeepClonesWithReplacements(N,true,replaceNode):E.getSynthesizedDeepCloneWithReplacements(N,true,replaceNode);function replaceNode(E){if(E.kind===204){var N=R.get(E);R.delete(E);return N}}}function convertSingleImport(R,j,$,q,G,ie){switch(R.kind){case 199:{var ae=E.mapAllOrFail(R.elements,(function(N){return N.dotDotDotToken||N.initializer||N.propertyName&&!E.isIdentifier(N.propertyName)||!E.isIdentifier(N.name)?undefined:makeImportSpecifier(N.propertyName&&N.propertyName.text,N.name.text)}));if(ae){return convertedImports([E.makeImport(undefined,ae,j,ie)])}}case 200:{var ce=makeUniqueName(N.moduleSpecifierToValidIdentifier(j.text,G),q);return convertedImports([E.makeImport(E.factory.createIdentifier(ce),undefined,j,ie),makeConst(undefined,E.getSynthesizedDeepClone(R),E.factory.createIdentifier(ce))])}case 79:return convertSingleIdentifierImport(R,j,$,q,ie);default:return E.Debug.assertNever(R,"Convert to ES6 module got invalid name kind "+R.kind)}}function convertSingleIdentifierImport(N,R,j,$,q){var G=j.getSymbolAtLocation(N);var ie=new E.Map;var ae=false;var ce;for(var le=0,_e=$.original.get(N.text);le<_e.length;le++){var Ee=_e[le];if(j.getSymbolAtLocation(Ee)!==G||Ee===N){continue}var Te=Ee.parent;if(E.isPropertyAccessExpression(Te)){var we=Te.name.text;if(we==="default"){ae=true;var Ie=Ee.getText();(ce!==null&&ce!==void 0?ce:ce=new E.Map).set(Te,E.factory.createIdentifier(Ie))}else{E.Debug.assert(Te.expression===Ee,"Didn't expect expression === use");var Ne=ie.get(we);if(Ne===undefined){Ne=makeUniqueName(we,$);ie.set(we,Ne)}(ce!==null&&ce!==void 0?ce:ce=new E.Map).set(Te,E.factory.createIdentifier(Ne))}}else{ae=true}}var Me=ie.size===0?undefined:E.arrayFrom(E.mapIterator(ie.entries(),(function(N){var R=N[0],j=N[1];return E.factory.createImportSpecifier(R===j?undefined:E.factory.createIdentifier(R),E.factory.createIdentifier(j))})));if(!Me){ae=true}return convertedImports([E.makeImport(ae?E.getSynthesizedDeepClone(N):undefined,Me,R,q)],ce)}function makeUniqueName(E,N){while(N.original.has(E)||N.additional.has(E)){E="_"+E}N.additional.add(E);return E}function collectFreeIdentifiers(N){var R=E.createMultiMap();forEachFreeIdentifier(N,(function(E){return R.add(E.text,E)}));return R}function forEachFreeIdentifier(N,R){if(E.isIdentifier(N)&&isFreeIdentifier(N))R(N);N.forEachChild((function(E){return forEachFreeIdentifier(E,R)}))}function isFreeIdentifier(E){var N=E.parent;switch(N.kind){case 204:return N.name!==E;case 201:return N.propertyName!==E;case 268:return N.propertyName!==E;default:return true}}function functionExpressionToDeclaration(N,R,j,$){return E.factory.createFunctionDeclaration(E.getSynthesizedDeepClones(j.decorators),E.concatenate(R,E.getSynthesizedDeepClones(j.modifiers)),E.getSynthesizedDeepClone(j.asteriskToken),N,E.getSynthesizedDeepClones(j.typeParameters),E.getSynthesizedDeepClones(j.parameters),E.getSynthesizedDeepClone(j.type),E.factory.converters.convertToFunctionBlock(replaceImportUseSites(j.body,$)))}function classExpressionToDeclaration(N,R,j,$){return E.factory.createClassDeclaration(E.getSynthesizedDeepClones(j.decorators),E.concatenate(R,E.getSynthesizedDeepClones(j.modifiers)),N,E.getSynthesizedDeepClones(j.typeParameters),E.getSynthesizedDeepClones(j.heritageClauses),replaceImportUseSites(j.members,$))}function makeSingleImport(N,R,j,$){return R==="default"?E.makeImport(E.factory.createIdentifier(N),undefined,j,$):E.makeImport(undefined,[makeImportSpecifier(R,N)],j,$)}function makeImportSpecifier(N,R){return E.factory.createImportSpecifier(N!==undefined&&N!==R?E.factory.createIdentifier(N):undefined,E.factory.createIdentifier(R))}function makeConst(N,R,j){return E.factory.createVariableStatement(N,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(R,undefined,undefined,j)],2))}function makeExportDeclaration(N,R){return E.factory.createExportDeclaration(undefined,undefined,false,N&&E.factory.createNamedExports(N),R===undefined?undefined:E.factory.createStringLiteral(R))}function convertedImports(E,N){return{newImports:E,useSitesToUnqualify:N}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="correctQualifiedNameToIndexedAccessType";var j=[E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=getQualifiedName(j.sourceFile,j.span.start);if(!$)return undefined;var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,$)}));var G=$.left.text+'["'+$.right.text+'"]';return[N.createCodeFixAction(R,q,[E.Diagnostics.Rewrite_as_the_indexed_access_type_0,G],R,E.Diagnostics.Rewrite_all_as_indexed_access_types)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getQualifiedName(N.file,N.start);if(R){doChange(E,N.file,R)}}))}});function getQualifiedName(N,R){var j=E.findAncestor(E.getTokenAtPosition(N,R),E.isQualifiedName);E.Debug.assert(!!j,"Expected position to be owned by a qualified name.");return E.isIdentifier(j.left)?j:undefined}function doChange(N,R,j){var $=j.right.text;var q=E.factory.createIndexedAccessTypeNode(E.factory.createTypeReferenceNode(j.left,undefined),E.factory.createLiteralTypeNode(E.factory.createStringLiteral($)));N.replaceNode(R,j,q)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code];var j="convertToTypeOnlyExport";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){return fixSingleExportDeclaration(E,getExportSpecifierForDiagnosticSpan(R.span,R.sourceFile),R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Convert_to_type_only_export,j,E.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]}},fixIds:[j],getAllCodeActions:function(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getExportSpecifierForDiagnosticSpan(R,j.sourceFile);if(q&&E.addToSeen($,E.getNodeId(q.parent.parent))){fixSingleExportDeclaration(N,q,j)}}))}});function getExportSpecifierForDiagnosticSpan(N,R){return E.tryCast(E.getTokenAtPosition(R,N.start).parent,E.isExportSpecifier)}function fixSingleExportDeclaration(N,R,j){if(!R){return}var $=R.parent;var q=$.parent;var G=getTypeExportSpecifiers(R,j);if(G.length===$.elements.length){N.insertModifierBefore(j.sourceFile,150,$)}else{var ie=E.factory.updateExportDeclaration(q,q.decorators,q.modifiers,false,E.factory.updateNamedExports($,E.filter($.elements,(function(N){return!E.contains(G,N)}))),q.moduleSpecifier);var ae=E.factory.createExportDeclaration(undefined,undefined,true,E.factory.createNamedExports(G),q.moduleSpecifier);N.replaceNode(j.sourceFile,q,ie,{leadingTriviaOption:E.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude});N.insertNodeAfter(j.sourceFile,q,ae)}}function getTypeExportSpecifiers(N,j){var $=N.parent;if($.elements.length===1){return $.elements}var q=E.getDiagnosticsWithinSpan(E.createTextSpanFromNode($),j.program.getSemanticDiagnostics(j.sourceFile,j.cancellationToken));return E.filter($.elements,(function(j){var $;return j===N||(($=E.findDiagnosticForNode(j,q))===null||$===void 0?void 0:$.code)===R[0]}))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code];var j="convertToTypeOnlyImport";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){var N=getImportDeclarationForDiagnosticSpan(R.span,R.sourceFile);fixSingleImportDeclaration(E,N,R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Convert_to_type_only_import,j,E.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]}},fixIds:[j],getAllCodeActions:function(E){return N.codeFixAll(E,R,(function(N,R){var j=getImportDeclarationForDiagnosticSpan(R,E.sourceFile);fixSingleImportDeclaration(N,j,E)}))}});function getImportDeclarationForDiagnosticSpan(N,R){return E.tryCast(E.getTokenAtPosition(R,N.start).parent,E.isImportDeclaration)}function fixSingleImportDeclaration(N,R,j){if(!(R===null||R===void 0?void 0:R.importClause)){return}var $=R.importClause;N.insertText(j.sourceFile,R.getStart()+"import".length," type");if($.name&&$.namedBindings){N.deleteNodeRangeExcludingEnd(j.sourceFile,$.name,R.importClause.namedBindings);N.insertNodeBefore(j.sourceFile,R,E.factory.updateImportDeclaration(R,undefined,undefined,E.factory.createImportClause(true,$.name,undefined),R.moduleSpecifier))}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertLiteralTypeToMappedType";var j=[E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getInfo($,q.start);if(!G){return undefined}var ie=G.name,ae=G.constraint;var ce=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ce,[E.Diagnostics.Convert_0_to_1_in_0,ae,ie],R,E.Diagnostics.Convert_all_type_literals_to_mapped_type)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getInfo(N.file,N.start);if(R){doChange(E,N.file,R)}}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);if(E.isIdentifier(j)){var $=E.cast(j.parent.parent,E.isPropertySignature);var q=j.getText(N);return{container:E.cast($.parent,E.isTypeLiteralNode),typeNode:$.type,constraint:q,name:q==="K"?"P":"K"}}return undefined}function doChange(N,R,j){var $=j.container,q=j.typeNode,G=j.constraint,ie=j.name;N.replaceNode(R,$,E.factory.createMappedTypeNode(undefined,E.factory.createTypeParameterDeclaration(ie,E.factory.createTypeReferenceNode(G)),undefined,undefined,q))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Class_0_incorrectly_implements_interface_1.code,E.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code];var j="fixClassIncorrectlyImplementsInterface";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=R.sourceFile,q=R.span;var G=getClass($,q.start);return E.mapDefined(E.getEffectiveImplementsTypeNodes(G),(function(q){var ie=E.textChanges.ChangeTracker.with(R,(function(E){return addMissingDeclarations(R,q,$,G,E,R.preferences)}));return ie.length===0?undefined:N.createCodeFixAction(j,ie,[E.Diagnostics.Implement_interface_0,q.getText($)],j,E.Diagnostics.Implement_all_unimplemented_interfaces)}))},fixIds:[j],getAllCodeActions:function(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getClass(R.file,R.start);if(E.addToSeen($,E.getNodeId(q))){for(var G=0,ie=E.getEffectiveImplementsTypeNodes(q);G<ie.length;G++){var ae=ie[G];addMissingDeclarations(j,ae,R.file,q,N,j.preferences)}}}))}});function getClass(N,R){return E.Debug.checkDefined(E.getContainingClass(E.getTokenAtPosition(N,R)),"There should be a containing class")}function symbolPointsToNonPrivateMember(N){return!N.valueDeclaration||!(E.getEffectiveModifierFlags(N.valueDeclaration)&8)}function addMissingDeclarations(R,j,$,q,G,ie){var ae=R.program.getTypeChecker();var ce=getHeritageClauseSymbolTable(q,ae);var le=ae.getTypeAtLocation(j);var _e=ae.getPropertiesOfType(le);var Ee=_e.filter(E.and(symbolPointsToNonPrivateMember,(function(E){return!ce.has(E.escapedName)})));var Te=ae.getTypeAtLocation(q);var we=E.find(q.members,(function(N){return E.isConstructorDeclaration(N)}));if(!Te.getNumberIndexType()){createMissingIndexSignatureDeclaration(le,1)}if(!Te.getStringIndexType()){createMissingIndexSignatureDeclaration(le,0)}var Ie=N.createImportAdder($,R.program,ie,R.host);N.createMissingMemberNodes(q,Ee,$,R,ie,Ie,(function(E){return insertInterfaceMemberNode($,q,E)}));Ie.writeFixes(G);function createMissingIndexSignatureDeclaration(E,j){var G=ae.getIndexInfoOfType(E,j);if(G){insertInterfaceMemberNode($,q,ae.indexInfoToIndexSignatureDeclaration(G,q,undefined,N.getNoopSymbolTrackerWithResolver(R)))}}function insertInterfaceMemberNode(E,N,R){if(we){G.insertNodeAfter(E,we,R)}else{G.insertNodeAtClassStart(E,N,R)}}}function getHeritageClauseSymbolTable(N,R){var j=E.getEffectiveBaseTypeNode(N);if(!j)return E.createSymbolTable();var $=R.getTypeAtLocation(j);var q=R.getPropertiesOfType($);return E.createSymbolTable(q.filter(symbolPointsToNonPrivateMember))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.importFixName="import";var R="fixMissingImport";var q=[E.Diagnostics.Cannot_find_name_0.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,E.Diagnostics.Cannot_find_namespace_0.code,E.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,E.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];N.registerCodeFix({errorCodes:q,getCodeActions:function(N){var R=N.errorCode,j=N.preferences,$=N.sourceFile,q=N.span;var G=getFixesInfo(N,R,q.start,true);if(!G)return undefined;var ie=G.fixes,ae=G.symbolName;var ce=E.getQuotePreference($,j);return ie.map((function(E){return codeActionForFix(N,$,ae,E,ce)}))},fixIds:[R],getAllCodeActions:function(R){var j=R.sourceFile,$=R.program,G=R.preferences,ie=R.host;var ae=createImportAdderWorker(j,$,true,G,ie);N.eachDiagnostic(R,q,(function(E){return ae.addImportFromDiagnostic(E,R)}));return N.createCombinedCodeActions(E.textChanges.ChangeTracker.with(R,ae.writeFixes))}});function createImportAdder(E,N,R,j){return createImportAdderWorker(E,N,false,R,j)}N.createImportAdder=createImportAdder;function createImportAdderWorker(N,R,j,$,q){var G=R.getCompilerOptions();var ae=[];var ce=[];var le=new E.Map;var _e=new E.Map;return{addImportFromDiagnostic:addImportFromDiagnostic,addImportFromExportedSymbol:addImportFromExportedSymbol,writeFixes:writeFixes};function addImportFromDiagnostic(E,N){var R=getFixesInfo(N,E.code,E.start,j);if(!R||!R.fixes.length)return;addImport(R)}function addImportFromExportedSymbol(ie,ae){var ce=E.Debug.checkDefined(ie.parent);var le=E.getNameForExportedSymbol(ie,E.getEmitScriptTarget(G));var _e=R.getTypeChecker();var Ee=_e.getMergedSymbol(E.skipAlias(ie,_e));var Te=getAllReExportingModules(N,Ee,ce,le,q,R,$,j);var we=!!ae&&G.importsNotUsedAsValues===2;var Ie=shouldUseRequire(N,R);var Ne=getImportFixForSymbol(N,Te,ce,le,R,undefined,we,Ie,q,$);if(Ne){addImport({fixes:[Ne],symbolName:le})}}function addImport(N){var R=N.fixes,j=N.symbolName;var $=E.first(R);switch($.kind){case 0:ae.push($);break;case 1:ce.push($);break;case 2:{var q=$.importClauseOrBindingPattern,G=$.importKind,ie=$.canUseTypeOnlyImport;var Ee=String(E.getNodeId(q));var Te=le.get(Ee);if(!Te){le.set(Ee,Te={importClauseOrBindingPattern:q,defaultImport:undefined,namedImports:[],canUseTypeOnlyImport:ie})}if(G===0){E.pushIfUnique(Te.namedImports,j)}else{E.Debug.assert(Te.defaultImport===undefined||Te.defaultImport===j,"(Add to Existing) Default import should be missing or match symbolName");Te.defaultImport=j}break}case 3:{var we=$.moduleSpecifier,G=$.importKind,Ie=$.useRequire,Ne=$.typeOnly;var Te=_e.get(we);if(!Te){_e.set(we,Te={namedImports:[],namespaceLikeImport:undefined,typeOnly:Ne,useRequire:Ie})}else{Te.typeOnly=Te.typeOnly&&Ne}switch(G){case 1:E.Debug.assert(Te.defaultImport===undefined||Te.defaultImport===j,"(Add new) Default import should be missing or match symbolName");Te.defaultImport=j;break;case 0:E.pushIfUnique(Te.namedImports||(Te.namedImports=[]),j);break;case 3:case 2:E.Debug.assert(Te.namespaceLikeImport===undefined||Te.namespaceLikeImport.name===j,"Namespacelike import shoudl be missing or match symbolName");Te.namespaceLikeImport={importKind:G,name:j};break}break}default:E.Debug.assertNever($,"fix wasn't never - got kind "+$.kind)}}function writeFixes(R){var j=E.getQuotePreference(N,$);for(var q=0,G=ae;q<G.length;q++){var Ee=G[q];addNamespaceQualifier(R,N,Ee)}for(var Te=0,we=ce;Te<we.length;Te++){var Ee=we[Te];addImportType(R,N,Ee,j)}le.forEach((function(E){var j=E.importClauseOrBindingPattern,$=E.defaultImport,q=E.namedImports,G=E.canUseTypeOnlyImport;doAddExistingFix(R,N,j,$,q,G)}));var Ie;_e.forEach((function(N,R){var $=N.useRequire,q=ie(N,["useRequire"]);var G=$?getNewRequires:getNewImports;Ie=E.combine(Ie,G(R,j,q))}));if(Ie){E.insertImports(R,N,Ie,true)}}}var G;(function(E){E[E["UseNamespace"]=0]="UseNamespace";E[E["ImportType"]=1]="ImportType";E[E["AddToExisting"]=2]="AddToExisting";E[E["AddNew"]=3]="AddNew"})(G||(G={}));function getImportCompletionAction(N,R,j,$,q,G,ie,ae,ce){var le=G.getCompilerOptions();var _e=E.pathIsBareSpecifier(E.stripQuotes(R.name))?[getSymbolExportInfoForSymbol(N,R,G,q)]:getAllReExportingModules(j,N,R,$,q,G,ce,true);var Ee=shouldUseRequire(j,G);var Te=le.importsNotUsedAsValues===2&&!E.isSourceFileJS(j)&&E.isValidTypeOnlyAliasUseSite(E.getTokenAtPosition(j,ae));var we=E.Debug.checkDefined(getImportFixForSymbol(j,_e,R,$,G,ae,Te,Ee,q,ce));return{moduleSpecifier:we.moduleSpecifier,codeAction:codeFixActionToCodeAction(codeActionForFix({host:q,formatContext:ie,preferences:ce},j,$,we,E.getQuotePreference(j,ce)))}}N.getImportCompletionAction=getImportCompletionAction;function getImportFixForSymbol(N,R,j,$,q,G,ie,ae,ce,le){E.Debug.assert(R.some((function(E){return E.moduleSymbol===j||E.symbol.parent===j})),"Some exportInfo should match the specified moduleSymbol");return getBestFix(getImportFixes(R,$,G,ie,ae,q,N,ce,le),N,q,ce,le)}function codeFixActionToCodeAction(E){var N=E.description,R=E.changes,j=E.commands;return{description:N,changes:R,commands:j}}function getSymbolExportInfoForSymbol(N,R,j,$){var q,G;var ie=j.getCompilerOptions();var ae=getInfoWithChecker(j.getTypeChecker(),false);if(ae){return ae}var ce=(G=(q=$.getPackageJsonAutoImportProvider)===null||q===void 0?void 0:q.call($))===null||G===void 0?void 0:G.getTypeChecker();return E.Debug.checkDefined(ce&&getInfoWithChecker(ce,true),"Could not find symbol in specified module for code actions");function getInfoWithChecker(j,$){var q=E.getDefaultLikeExportInfo(R,j,ie);if(q&&E.skipAlias(q.symbol,j)===N){return{symbol:q.symbol,moduleSymbol:R,moduleFileName:undefined,exportKind:q.exportKind,targetFlags:E.skipAlias(N,j).flags,isFromPackageJson:$}}var G=j.tryGetMemberInModuleExportsAndProperties(N.name,R);if(G&&E.skipAlias(G,j)===N){return{symbol:G,moduleSymbol:R,moduleFileName:undefined,exportKind:0,targetFlags:E.skipAlias(N,j).flags,isFromPackageJson:$}}}}function getAllReExportingModules(N,R,j,$,q,G,ie,ae){var ce=[];var le=G.getCompilerOptions();var _e=E.memoizeOne((function(N){return E.createModuleSpecifierResolutionHost(N?q.getPackageJsonAutoImportProvider():G,q)}));E.forEachExternalModuleToImportFrom(G,q,ae,(function(q,G,ie,ae){var _e=ie.getTypeChecker();if(G&&q!==j&&E.startsWith(N.fileName,E.getDirectoryPath(G.fileName))){return}var Ee=E.getDefaultLikeExportInfo(q,_e,le);if(Ee&&(Ee.name===$||moduleSymbolToValidIdentifier(q,le.target)===$)&&E.skipAlias(Ee.symbol,_e)===R&&isImportable(ie,G,ae)){ce.push({symbol:Ee.symbol,moduleSymbol:q,moduleFileName:G===null||G===void 0?void 0:G.fileName,exportKind:Ee.exportKind,targetFlags:E.skipAlias(Ee.symbol,_e).flags,isFromPackageJson:ae})}for(var Te=0,we=_e.getExportsAndPropertiesOfModule(q);Te<we.length;Te++){var Ie=we[Te];if(Ie.name===$&&E.skipAlias(Ie,_e)===R&&isImportable(ie,G,ae)){ce.push({symbol:Ie,moduleSymbol:q,moduleFileName:G===null||G===void 0?void 0:G.fileName,exportKind:0,targetFlags:E.skipAlias(Ie,_e).flags,isFromPackageJson:ae})}}}));return ce;function isImportable(R,j,$){var G;return!j||E.isImportableFile(R,N,j,ie,undefined,_e($),(G=q.getModuleSpecifierCache)===null||G===void 0?void 0:G.call(q))}}function getModuleSpecifierForBestExportInfo(E,N,R,j,q,G){var ie=getNewImportFixes(R,N,undefined,false,false,E,j,q,G),ae=ie.fixes,ce=ie.computedWithoutCacheCount;var le=getBestFix(ae,N,R,j,q);return le&&$($({},le),{computedWithoutCacheCount:ce})}N.getModuleSpecifierForBestExportInfo=getModuleSpecifierForBestExportInfo;function isTypeOnlyPosition(N,R){return E.isValidTypeOnlyAliasUseSite(E.getTokenAtPosition(N,R))}function getImportFixes(N,R,$,q,G,ie,ae,ce,le){var _e=ie.getTypeChecker();var Ee=E.flatMap(N,(function(E){return getExistingImportDeclarations(E,_e,ae,ie.getCompilerOptions())}));var Te=$===undefined?undefined:tryUseExistingNamespaceImport(Ee,R,$,_e);var we=tryAddToExistingImport(Ee,$!==undefined&&isTypeOnlyPosition(ae,$));var Ie=we?[we]:getFixesForAddImport(N,Ee,ie,ae,$,q,G,ce,le);return j(j([],Te?[Te]:E.emptyArray,true),Ie,true)}function tryUseExistingNamespaceImport(N,R,j,$){return E.firstDefined(N,(function(N){var q=N.declaration;var G=getNamespaceLikeImportText(q);var ie=E.tryGetModuleSpecifierFromDeclaration(q);if(G&&ie){var ae=getTargetModuleFromNamespaceLikeImport(q,$);if(ae&&ae.exports.has(E.escapeLeadingUnderscores(R))){return{kind:0,namespacePrefix:G,position:j,moduleSpecifier:ie}}}}))}function getTargetModuleFromNamespaceLikeImport(N,R){var j;switch(N.kind){case 252:return R.resolveExternalModuleName(N.initializer.arguments[0]);case 263:return R.getAliasedSymbol(N.symbol);case 264:var $=E.tryCast((j=N.importClause)===null||j===void 0?void 0:j.namedBindings,E.isNamespaceImport);return $&&R.getAliasedSymbol($.symbol);default:return E.Debug.assertNever(N)}}function getNamespaceLikeImportText(N){var R,j,$;switch(N.kind){case 252:return(R=E.tryCast(N.name,E.isIdentifier))===null||R===void 0?void 0:R.text;case 263:return N.name.text;case 264:return($=E.tryCast((j=N.importClause)===null||j===void 0?void 0:j.namedBindings,E.isNamespaceImport))===null||$===void 0?void 0:$.name.text;default:return E.Debug.assertNever(N)}}function tryAddToExistingImport(N,R){return E.firstDefined(N,(function(N){var j=N.declaration,$=N.importKind;if(j.kind===263)return undefined;if(j.kind===252){return($===0||$===1)&&j.name.kind===199?{kind:2,importClauseOrBindingPattern:j.name,importKind:$,moduleSpecifier:j.initializer.arguments[0].text,canUseTypeOnlyImport:false}:undefined}var q=j.importClause;if(!q||!E.isStringLiteralLike(j.moduleSpecifier))return undefined;var G=q.name,ie=q.namedBindings;if(q.isTypeOnly&&!($===0&&ie))return undefined;return $===1&&!G||$===0&&(!ie||ie.kind===267)?{kind:2,importClauseOrBindingPattern:q,importKind:$,moduleSpecifier:j.moduleSpecifier.text,canUseTypeOnlyImport:R}:undefined}))}function getExistingImportDeclarations(N,R,j,$){var q=N.moduleSymbol,G=N.exportKind,ie=N.targetFlags;if(!(ie&111551)&&E.isSourceFileJS(j))return E.emptyArray;var ae=getImportKind(j,G,$);return E.mapDefined(j.imports,(function(N){var j=E.importFromModuleSpecifier(N);if(E.isRequireVariableDeclaration(j.parent)){return R.resolveExternalModuleName(N)===q?{declaration:j.parent,importKind:ae}:undefined}if(j.kind===264||j.kind===263){return R.getSymbolAtLocation(N)===q?{declaration:j,importKind:ae}:undefined}}))}function shouldUseRequire(N,R){if(!E.isSourceFileJS(N)){return false}if(N.commonJsModuleIndicator&&!N.externalModuleIndicator)return true;if(N.externalModuleIndicator&&!N.commonJsModuleIndicator)return false;var j=R.getCompilerOptions();if(j.configFile){return E.getEmitModuleKind(j)<E.ModuleKind.ES2015}for(var $=0,q=R.getSourceFiles();$<q.length;$++){var G=q[$];if(G===N||!E.isSourceFileJS(G)||R.isSourceFileFromExternalLibrary(G))continue;if(G.commonJsModuleIndicator&&!G.externalModuleIndicator)return true;if(G.externalModuleIndicator&&!G.commonJsModuleIndicator)return false}return true}function getNewImportFixes(N,R,j,$,q,G,ie,ae,ce){var le=E.isSourceFileJS(R);var _e=N.getCompilerOptions();var Ee=E.createModuleSpecifierResolutionHost(N,ie);var Te=N.getTypeChecker();var we=ce?function(N){return{moduleSpecifiers:E.moduleSpecifiers.tryGetModuleSpecifiersFromCache(N,R,Ee,ae),computedWithoutCache:false}}:function(N){return E.moduleSpecifiers.getModuleSpecifiersWithCacheInfo(N,Te,_e,R,Ee,ae)};var Ie=0;var Ne=E.flatMap(G,(function(E){var N=we(E.moduleSymbol),G=N.computedWithoutCache,ie=N.moduleSpecifiers;Ie+=G?1:0;return ie===null||ie===void 0?void 0:ie.map((function(N){return!(E.targetFlags&111551)&&le&&j!==undefined?{kind:1,moduleSpecifier:N,position:j,exportInfo:E}:{kind:3,moduleSpecifier:N,importKind:getImportKind(R,E.exportKind,_e),useRequire:q,typeOnly:$,exportInfo:E}}))}));return{computedWithoutCacheCount:Ie,fixes:Ne}}function getFixesForAddImport(N,R,j,$,q,G,ie,ae,ce){var le=E.firstDefined(R,(function(E){return newImportInfoFromExistingSpecifier(E,G,ie)}));return le?[le]:getNewImportFixes(j,$,q,G,ie,N,ae,ce).fixes}function newImportInfoFromExistingSpecifier(N,R,j){var $=N.declaration,q=N.importKind;var G=E.tryGetModuleSpecifierFromDeclaration($);return G?{kind:3,moduleSpecifier:G,importKind:q,typeOnly:R,useRequire:j}:undefined}function getFixesInfo(N,R,j,q){var G=E.getTokenAtPosition(N.sourceFile,j);var ie=R===E.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code?getFixesInfoForUMDImport(N,G):E.isIdentifier(G)?getFixesInfoForNonUMDImport(N,G,q):undefined;return ie&&$($({},ie),{fixes:sortFixes(ie.fixes,N.sourceFile,N.program,N.host,N.preferences)})}function sortFixes(N,R,j,$,q){var G=E.createPackageJsonImportFilter(R,q,$).allowsImportingSpecifier;return E.sort(N,(function(N,$){return E.compareValues(N.kind,$.kind)||compareModuleSpecifiers(N,$,R,j,G)}))}function getBestFix(N,R,j,$,q){if(!E.some(N))return;if(N[0].kind===0||N[0].kind===2){return N[0]}var G=E.createPackageJsonImportFilter(R,q,$).allowsImportingSpecifier;return N.reduce((function(E,N){return compareModuleSpecifiers(N,E,R,j,G)===-1?N:E}))}function compareModuleSpecifiers(N,R,j,$,q){if(N.kind!==0&&R.kind!==0){return E.compareBooleans(q(N.moduleSpecifier),q(R.moduleSpecifier))||compareNodeCoreModuleSpecifiers(N.moduleSpecifier,R.moduleSpecifier,j,$)||E.compareNumberOfDirectorySeparators(N.moduleSpecifier,R.moduleSpecifier)}return 0}function compareNodeCoreModuleSpecifiers(N,R,j,$){if(E.startsWith(N,"node:")&&!E.startsWith(R,"node:"))return E.shouldUseUriStyleNodeCoreModules(j,$)?-1:1;if(E.startsWith(R,"node:")&&!E.startsWith(N,"node:"))return E.shouldUseUriStyleNodeCoreModules(j,$)?1:-1;return 0}function getFixesInfoForUMDImport(N,R){var j=N.sourceFile,$=N.program,q=N.host,G=N.preferences;var ie=$.getTypeChecker();var ae=getUmdSymbol(R,ie);if(!ae)return undefined;var ce=ie.getAliasedSymbol(ae);var le=ae.name;var _e=[{symbol:ae,moduleSymbol:ce,moduleFileName:undefined,exportKind:3,targetFlags:ce.flags,isFromPackageJson:false}];var Ee=shouldUseRequire(j,$);var Te=getImportFixes(_e,le,E.isIdentifier(R)?R.getStart(j):undefined,false,Ee,$,j,q,G);return{fixes:Te,symbolName:le}}function getUmdSymbol(N,R){var j=E.isIdentifier(N)?R.getSymbolAtLocation(N):undefined;if(E.isUMDExportSymbol(j))return j;var $=N.parent;return E.isJsxOpeningLikeElement($)&&$.tagName===N||E.isJsxOpeningFragment($)?E.tryCast(R.resolveName(R.getJsxNamespace($),E.isJsxOpeningLikeElement($)?N:$,111551,false),E.isUMDExportSymbol):undefined}function getImportKind(N,R,j,$){switch(R){case 0:return 0;case 1:return 1;case 2:return getExportEqualsImportKind(N,j,!!$);case 3:return getUmdImportKind(N,j,!!$);default:return E.Debug.assertNever(R)}}N.getImportKind=getImportKind;function getUmdImportKind(N,R,j){if(E.getAllowSyntheticDefaultImports(R)){return 1}var $=E.getEmitModuleKind(R);switch($){case E.ModuleKind.AMD:case E.ModuleKind.CommonJS:case E.ModuleKind.UMD:if(E.isInJSFile(N)){return E.isExternalModule(N)||j?2:3}return 3;case E.ModuleKind.System:case E.ModuleKind.ES2015:case E.ModuleKind.ES2020:case E.ModuleKind.ESNext:case E.ModuleKind.None:return 2;default:return E.Debug.assertNever($,"Unexpected moduleKind "+$)}}function getFixesInfoForNonUMDImport(N,R,j){var $=N.sourceFile,q=N.program,G=N.cancellationToken,ie=N.host,ae=N.preferences;var ce=q.getTypeChecker();var le=q.getCompilerOptions();var _e=getSymbolName($,ce,R,le);E.Debug.assert(_e!=="default","'default' isn't a legal identifier and couldn't occur here");var Ee=le.importsNotUsedAsValues===2&&E.isValidTypeOnlyAliasUseSite(R);var Te=shouldUseRequire($,q);var we=getExportInfos(_e,E.getMeaningFromLocation(R),G,$,q,j,ie,ae);var Ie=E.arrayFrom(E.flatMapIterator(we.entries(),(function(E){var N=E[0],j=E[1];return getImportFixes(j,_e,R.getStart($),Ee,Te,q,$,ie,ae)})));return{fixes:Ie,symbolName:_e}}function getSymbolName(N,R,j,$){var q=j.parent;if((E.isJsxOpeningLikeElement(q)||E.isJsxClosingElement(q))&&q.tagName===j&&$.jsx!==4&&$.jsx!==5){var G=R.getJsxNamespace(N);if(E.isIntrinsicJsxName(j.text)||!R.resolveName(G,q,111551,true)){return G}}return j.text}function getExportInfos(N,R,j,$,q,G,ie,ae){var ce;var le=E.createMultiMap();var _e=E.createPackageJsonImportFilter($,ae,ie);var Ee=(ce=ie.getModuleSpecifierCache)===null||ce===void 0?void 0:ce.call(ie);var Te=E.memoizeOne((function(N){return E.createModuleSpecifierResolutionHost(N?ie.getPackageJsonAutoImportProvider():q,ie)}));function addSymbol(N,R,j,q,G,ie){var ce=Te(ie);if(R&&E.isImportableFile(G,$,R,ae,_e,ce,Ee)||!R&&_e.allowsImportingAmbientModule(N,ce)){var we=G.getTypeChecker();le.add(E.getUniqueSymbolId(j,we).toString(),{symbol:j,moduleSymbol:N,moduleFileName:R===null||R===void 0?void 0:R.fileName,exportKind:q,targetFlags:E.skipAlias(j,we).flags,isFromPackageJson:ie})}}E.forEachExternalModuleToImportFrom(q,ie,G,(function($,q,G,ie){var ae=G.getTypeChecker();j.throwIfCancellationRequested();var ce=G.getCompilerOptions();var le=E.getDefaultLikeExportInfo($,ae,ce);if(le&&(le.name===N||moduleSymbolToValidIdentifier($,ce.target)===N)&&symbolHasMeaning(le.symbolForMeaning,R)){addSymbol($,q,le.symbol,le.exportKind,G,ie)}var _e=ae.tryGetMemberInModuleExportsAndProperties(N,$);if(_e&&symbolHasMeaning(_e,R)){addSymbol($,q,_e,0,G,ie)}}));return le}function getExportEqualsImportKind(N,R,j){var $=E.getAllowSyntheticDefaultImports(R);var q=E.isInJSFile(N);if(!q&&E.getEmitModuleKind(R)>=E.ModuleKind.ES2015){return $?1:2}if(q){return E.isExternalModule(N)||j?$?1:2:3}for(var G=0,ie=N.statements;G<ie.length;G++){var ae=ie[G];if(E.isImportEqualsDeclaration(ae)&&!E.nodeIsMissing(ae.moduleReference)){return 3}}return $?1:3}function codeActionForFix(j,$,q,G,ie){var ae;var ce=E.textChanges.ChangeTracker.with(j,(function(E){ae=codeActionForFixWorker(E,$,q,G,ie)}));return N.createCodeFixAction(N.importFixName,ce,ae,R,E.Diagnostics.Add_all_missing_imports)}function codeActionForFixWorker(N,R,j,$,q){switch($.kind){case 0:addNamespaceQualifier(N,R,$);return[E.Diagnostics.Change_0_to_1,j,$.namespacePrefix+"."+j];case 1:addImportType(N,R,$,q);return[E.Diagnostics.Change_0_to_1,j,getImportTypePrefix($.moduleSpecifier,q)+j];case 2:{var G=$.importClauseOrBindingPattern,ie=$.importKind,ae=$.canUseTypeOnlyImport,ce=$.moduleSpecifier;doAddExistingFix(N,R,G,ie===1?j:undefined,ie===0?[j]:E.emptyArray,ae);var le=E.stripQuotes(ce);return[ie===1?E.Diagnostics.Add_default_import_0_to_existing_import_declaration_from_1:E.Diagnostics.Add_0_to_existing_import_declaration_from_1,j,le]}case 3:{var ie=$.importKind,ce=$.moduleSpecifier,_e=$.typeOnly,Ee=$.useRequire;var Te=Ee?getNewRequires:getNewImports;var we=ie===1?{defaultImport:j,typeOnly:_e}:ie===0?{namedImports:[j],typeOnly:_e}:{namespaceLikeImport:{importKind:ie,name:j},typeOnly:_e};E.insertImports(N,R,Te(ce,q,we),true);return[ie===1?E.Diagnostics.Import_default_0_from_module_1:E.Diagnostics.Import_0_from_module_1,j,ce]}default:return E.Debug.assertNever($,"Unexpected fix kind "+$.kind)}}function doAddExistingFix(N,R,j,$,q,G){if(j.kind===199){if($){addElementToBindingPattern(j,$,"default")}for(var ie=0,ae=q;ie<ae.length;ie++){var ce=ae[ie];addElementToBindingPattern(j,ce,undefined)}return}var le=!G&&j.isTypeOnly;if($){E.Debug.assert(!j.name,"Cannot add a default import to an import clause that already has one");N.insertNodeAt(R,j.getStart(R),E.factory.createIdentifier($),{suffix:", "})}if(q.length){var _e=j.namedBindings&&E.cast(j.namedBindings,E.isNamedImports).elements;var Ee=E.stableSort(q.map((function(N){return E.factory.createImportSpecifier(undefined,E.factory.createIdentifier(N))})),E.OrganizeImports.compareImportOrExportSpecifiers);if((_e===null||_e===void 0?void 0:_e.length)&&E.OrganizeImports.importSpecifiersAreSorted(_e)){for(var Te=0,we=Ee;Te<we.length;Te++){var Ie=we[Te];var Ne=E.OrganizeImports.getImportSpecifierInsertionIndex(_e,Ie);var Me=j.namedBindings.elements[Ne-1];if(Me){N.insertNodeInListAfter(R,Me,Ie)}else{N.insertNodeBefore(R,_e[0],Ie,!E.positionsAreOnSameLine(_e[0].getStart(),j.parent.getStart(),R))}}}else if(_e===null||_e===void 0?void 0:_e.length){for(var Le=0,Be=Ee;Le<Be.length;Le++){var Ie=Be[Le];N.insertNodeInListAfter(R,E.last(_e),Ie,_e)}}else{if(Ee.length){var je=E.factory.createNamedImports(Ee);if(j.namedBindings){N.replaceNode(R,j.namedBindings,je)}else{N.insertNodeAfter(R,E.Debug.checkDefined(j.name,"Import clause must have either named imports or a default import"),je)}}}}if(le){N.delete(R,E.getTypeKeywordOfTypeOnlyImport(j,R))}function addElementToBindingPattern(j,$,q){var G=E.factory.createBindingElement(undefined,q,$);if(j.elements.length){N.insertNodeInListAfter(R,E.last(j.elements),G)}else{N.replaceNode(R,j,E.factory.createObjectBindingPattern([G]))}}}function addNamespaceQualifier(E,N,R){var j=R.namespacePrefix,$=R.position;E.insertText(N,$,j+".")}function addImportType(E,N,R,j){var $=R.moduleSpecifier,q=R.position;E.insertText(N,q,getImportTypePrefix($,j))}function getImportTypePrefix(N,R){var j=E.getQuoteFromPreference(R);return"import("+j+N+j+")."}function getNewImports(N,R,j){var $,q;var G=E.makeStringLiteral(N,R);var ie;if(j.defaultImport!==undefined||(($=j.namedImports)===null||$===void 0?void 0:$.length)){ie=E.combine(ie,E.makeImport(j.defaultImport===undefined?undefined:E.factory.createIdentifier(j.defaultImport),(q=j.namedImports)===null||q===void 0?void 0:q.map((function(N){return E.factory.createImportSpecifier(undefined,E.factory.createIdentifier(N))})),N,R,j.typeOnly))}var ae=j.namespaceLikeImport,ce=j.typeOnly;if(ae){var le=ae.importKind===3?E.factory.createImportEqualsDeclaration(undefined,undefined,ce,E.factory.createIdentifier(ae.name),E.factory.createExternalModuleReference(G)):E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(ce,undefined,E.factory.createNamespaceImport(E.factory.createIdentifier(ae.name))),G);ie=E.combine(ie,le)}return E.Debug.checkDefined(ie)}function getNewRequires(N,R,j){var $,q;var G=E.makeStringLiteral(N,R);var ie;if(j.defaultImport||(($=j.namedImports)===null||$===void 0?void 0:$.length)){var ae=((q=j.namedImports)===null||q===void 0?void 0:q.map((function(N){return E.factory.createBindingElement(undefined,undefined,N)})))||[];if(j.defaultImport){ae.unshift(E.factory.createBindingElement(undefined,"default",j.defaultImport))}var ce=createConstEqualsRequireDeclaration(E.factory.createObjectBindingPattern(ae),G);ie=E.combine(ie,ce)}if(j.namespaceLikeImport){var ce=createConstEqualsRequireDeclaration(j.namespaceLikeImport.name,G);ie=E.combine(ie,ce)}return E.Debug.checkDefined(ie)}function createConstEqualsRequireDeclaration(N,R){return E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(typeof N==="string"?E.factory.createIdentifier(N):N,undefined,undefined,E.factory.createCallExpression(E.factory.createIdentifier("require"),undefined,[R]))],2))}function symbolHasMeaning(N,R){var j=N.declarations;return E.some(j,(function(N){return!!(E.getMeaningFromDeclaration(N)&R)}))}function moduleSymbolToValidIdentifier(N,R){return moduleSpecifierToValidIdentifier(E.removeFileExtension(E.stripQuotes(N.name)),R)}N.moduleSymbolToValidIdentifier=moduleSymbolToValidIdentifier;function moduleSpecifierToValidIdentifier(N,R){var j=E.getBaseFileName(E.removeSuffix(N,"/index"));var $="";var q=true;var G=j.charCodeAt(0);if(E.isIdentifierStart(G,R)){$+=String.fromCharCode(G)}else{q=false}for(var ie=1;ie<j.length;ie++){var ae=j.charCodeAt(ie);var ce=E.isIdentifierPart(ae,R);if(ce){var le=String.fromCharCode(ae);if(!q){le=le.toUpperCase()}$+=le}q=ce}return!E.isStringANonContextualKeyword($)?$||"_":"_"+$}N.moduleSpecifierToValidIdentifier=moduleSpecifierToValidIdentifier})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;var j="fixOverrideModifier";var $="fixAddOverrideModifier";var q="fixRemoveOverrideModifier";var G=[E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,E.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,E.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,E.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,E.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code];var ie=(R={},R[E.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]=[E.Diagnostics.Add_override_modifier,$,E.Diagnostics.Add_all_missing_override_modifiers],R[E.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]=[E.Diagnostics.Remove_override_modifier,q,E.Diagnostics.Remove_all_unnecessary_override_modifiers],R[E.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]=[E.Diagnostics.Add_override_modifier,$,E.Diagnostics.Add_all_missing_override_modifiers],R[E.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]=[E.Diagnostics.Add_override_modifier,$,E.Diagnostics.Remove_all_unnecessary_override_modifiers],R[E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]=[E.Diagnostics.Remove_override_modifier,q,E.Diagnostics.Remove_all_unnecessary_override_modifiers],R);N.registerCodeFix({errorCodes:G,getCodeActions:function(R){var $=R.errorCode,q=R.span,G=R.sourceFile;var ae=ie[$];if(!ae)return E.emptyArray;var ce=ae[0],le=ae[1],_e=ae[2];if(E.isSourceFileJS(G))return E.emptyArray;var Ee=E.textChanges.ChangeTracker.with(R,(function(E){return dispatchChanges(E,R,$,q.start)}));return[N.createCodeFixActionMaybeFixAll(j,Ee,ce,le,_e)]},fixIds:[j,$,q],getAllCodeActions:function(R){return N.codeFixAll(R,G,(function(N,j){var $=j.code,q=j.start,G=j.file;var ae=ie[$];if(!ae||ae[1]!==R.fixId||E.isSourceFileJS(G)){return}dispatchChanges(N,R,$,q)}))}});function dispatchChanges(N,R,j,$){switch(j){case E.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case E.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case E.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:return doAddOverrideModifierChange(N,R.sourceFile,$);case E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case E.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:return doRemoveOverrideModifierChange(N,R.sourceFile,$);default:E.Debug.fail("Unexpected error code: "+j)}}function doAddOverrideModifierChange(N,R,j){var $=findContainerClassElementLike(R,j);var q=$.modifiers||E.emptyArray;var G=E.find(q,E.isStaticModifier);var ie=E.find(q,E.isAbstractModifier);var ae=E.find(q,(function(N){return E.isAccessibilityModifier(N.kind)}));var ce=ie?ie.end:G?G.end:ae?ae.end:$.decorators?E.skipTrivia(R.text,$.decorators.end):$.getStart(R);var le=ae||G||ie?{prefix:" "}:{suffix:" "};N.insertModifierAt(R,ce,157,le)}function doRemoveOverrideModifierChange(N,R,j){var $=findContainerClassElementLike(R,j);var q=$.modifiers&&E.find($.modifiers,(function(E){return E.kind===157}));E.Debug.assertIsDefined(q);N.deleteModifier(R,q)}function isClassElementLikeHasJSDoc(N){switch(N.kind){case 169:case 165:case 167:case 170:case 171:return true;case 162:return E.isParameterPropertyDeclaration(N,N.parent);default:return false}}function findContainerClassElementLike(N,R){var j=E.getTokenAtPosition(N,R);var $=E.findAncestor(j,(function(N){if(E.isClassLike(N))return"quit";return isClassElementLikeHasJSDoc(N)}));E.Debug.assert($&&isClassElementLikeHasJSDoc($));return $}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixNoPropertyAccessFromIndexSignature";var j=[E.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code];N.registerCodeFix({errorCodes:j,fixIds:[R],getCodeActions:function(j){var $=j.sourceFile,q=j.span,G=j.preferences;var ie=getPropertyAccessExpression($,q.start);var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,ie,G)}));return[N.createCodeFixAction(R,ae,[E.Diagnostics.Use_element_access_for_0,ie.name.text],R,E.Diagnostics.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){return doChange(N,R.file,getPropertyAccessExpression(R.file,R.start),E.preferences)}))}});function doChange(N,R,j,$){var q=E.getQuotePreference(R,$);var G=E.factory.createStringLiteral(j.name.text,q===0);N.replaceNode(R,j,E.isPropertyAccessChain(j)?E.factory.createElementAccessChain(j.expression,j.questionDotToken,G):E.factory.createElementAccessExpression(j.expression,G))}function getPropertyAccessExpression(N,R){return E.cast(E.getTokenAtPosition(N,R).parent,E.isPropertyAccessExpression)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixImplicitThis";var j=[E.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.program,G=j.span;var ie;var ae=E.textChanges.ChangeTracker.with(j,(function(E){ie=doChange(E,$,G.start,q.getTypeChecker())}));return ie?[N.createCodeFixAction(R,ae,ie,R,E.Diagnostics.Fix_all_implicit_this_errors)]:E.emptyArray},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){doChange(N,R.file,R.start,E.program.getTypeChecker())}))}});function doChange(N,R,j,$){var q=E.getTokenAtPosition(R,j);E.Debug.assert(q.kind===108);var G=E.getThisContainer(q,false);if(!E.isFunctionDeclaration(G)&&!E.isFunctionExpression(G))return undefined;if(!E.isSourceFile(E.getThisContainer(G,false))){var ie=E.Debug.assertDefined(E.findChildOfKind(G,98,R));var ae=G.name;var ce=E.Debug.assertDefined(G.body);if(E.isFunctionExpression(G)){if(ae&&E.FindAllReferences.Core.isSymbolReferencedInFile(ae,$,R,ce)){return undefined}N.delete(R,ie);if(ae){N.delete(R,ae)}N.insertText(R,ce.pos," =>");return[E.Diagnostics.Convert_function_expression_0_to_arrow_function,ae?ae.text:E.ANONYMOUS]}else{N.replaceNode(R,ie,E.factory.createToken(85));N.insertText(R,ae.end," = ");N.insertText(R,ce.pos," =>");return[E.Diagnostics.Convert_function_declaration_0_to_arrow_function,ae.text]}}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixIncorrectNamedTupleSyntax";var j=[E.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,E.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getNamedTupleMember($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,R,E.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[R]});function getNamedTupleMember(N,R){var j=E.getTokenAtPosition(N,R);return E.findAncestor(j,(function(E){return E.kind===195}))}function doChange(N,R,j){if(!j){return}var $=j.type;var q=false;var G=false;while($.kind===183||$.kind===184||$.kind===189){if($.kind===183){q=true}else if($.kind===184){G=true}$=$.type}var ie=E.factory.updateNamedTupleMember(j,j.dotDotDotToken||(G?E.factory.createToken(25):undefined),j.name,j.questionToken||(q?E.factory.createToken(57):undefined),$);if(ie===j){return}N.replaceNode(R,j,ie)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixSpelling";var j=[E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,E.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,E.Diagnostics.No_overload_matches_this_call.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.errorCode;var G=getInfo($,j.span.start,j,q);if(!G)return undefined;var ie=G.node,ae=G.suggestedSymbol;var ce=j.host.getCompilationSettings().target;var le=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie,ae,ce)}));return[N.createCodeFixAction("spelling",le,[E.Diagnostics.Change_spelling_to_0,E.symbolName(ae)],R,E.Diagnostics.Fix_all_detected_spelling_errors)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=getInfo(R.file,R.start,E,R.code);var $=E.host.getCompilationSettings().target;if(j)doChange(N,E.sourceFile,j.node,j.suggestedSymbol,$)}))}});function getInfo(N,R,j,$){var q=E.getTokenAtPosition(N,R);var G=q.parent;if(($===E.Diagnostics.No_overload_matches_this_call.code||$===E.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!E.isJsxAttribute(G))return undefined;var ie=j.program.getTypeChecker();var ae;if(E.isPropertyAccessExpression(G)&&G.name===q){E.Debug.assert(E.isMemberName(q),"Expected an identifier for spelling (property access)");var ce=ie.getTypeAtLocation(G.expression);if(G.flags&32){ce=ie.getNonNullableType(ce)}ae=ie.getSuggestedSymbolForNonexistentProperty(q,ce)}else if(E.isQualifiedName(G)&&G.right===q){var le=ie.getSymbolAtLocation(G.left);if(le&&le.flags&1536){ae=ie.getSuggestedSymbolForNonexistentModule(G.right,le)}}else if(E.isImportSpecifier(G)&&G.name===q){E.Debug.assertNode(q,E.isIdentifier,"Expected an identifier for spelling (import)");var _e=E.findAncestor(q,E.isImportDeclaration);var Ee=getResolvedSourceFileFromImportDeclaration(N,j,_e);if(Ee&&Ee.symbol){ae=ie.getSuggestedSymbolForNonexistentModule(q,Ee.symbol)}}else if(E.isJsxAttribute(G)&&G.name===q){E.Debug.assertNode(q,E.isIdentifier,"Expected an identifier for JSX attribute");var Te=E.findAncestor(q,E.isJsxOpeningLikeElement);var we=ie.getContextualTypeForArgumentAtIndex(Te,0);ae=ie.getSuggestedSymbolForNonexistentJSXAttribute(q,we)}else if(E.hasSyntacticModifier(G,16384)&&E.isClassElement(G)&&G.name===q){var Ie=E.findAncestor(q,E.isClassLike);var Ne=Ie?E.getEffectiveBaseTypeNode(Ie):undefined;var Me=Ne?ie.getTypeAtLocation(Ne):undefined;if(Me){ae=ie.getSuggestedSymbolForNonexistentClassMember(E.getTextOfNode(q),Me)}}else{var Le=E.getMeaningFromLocation(q);var Be=E.getTextOfNode(q);E.Debug.assert(Be!==undefined,"name should be defined");ae=ie.getSuggestedSymbolForNonexistentSymbol(q,Be,convertSemanticMeaningToSymbolFlags(Le))}return ae===undefined?undefined:{node:q,suggestedSymbol:ae}}function doChange(N,R,j,$,q){var G=E.symbolName($);if(!E.isIdentifierText(G,q)&&E.isPropertyAccessExpression(j.parent)){var ie=$.valueDeclaration;if(ie&&E.isNamedDeclaration(ie)&&E.isPrivateIdentifier(ie.name)){N.replaceNode(R,j,E.factory.createIdentifier(G))}else{N.replaceNode(R,j.parent,E.factory.createElementAccessExpression(j.parent.expression,E.factory.createStringLiteral(G)))}}else{N.replaceNode(R,j,E.factory.createIdentifier(G))}}function convertSemanticMeaningToSymbolFlags(E){var N=0;if(E&4){N|=1920}if(E&2){N|=788968}if(E&1){N|=111551}return N}function getResolvedSourceFileFromImportDeclaration(N,R,j){if(!j||!E.isStringLiteralLike(j.moduleSpecifier))return undefined;var $=E.getResolvedModule(N,j.moduleSpecifier.text);if(!$)return undefined;return R.program.getSourceFile($.resolvedFileName)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="returnValueCorrect";var j="fixAddReturnStatement";var $="fixRemoveBracesFromArrowFunctionBody";var q="fixWrapTheBlockWithParen";var G=[E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];var ie;(function(E){E[E["MissingReturnStatement"]=0]="MissingReturnStatement";E[E["MissingParentheses"]=1]="MissingParentheses"})(ie||(ie={}));N.registerCodeFix({errorCodes:G,fixIds:[j,$,q],getCodeActions:function(N){var R=N.program,j=N.sourceFile,$=N.span.start,q=N.errorCode;var G=getInfo(R.getTypeChecker(),j,$,q);if(!G)return undefined;if(G.kind===ie.MissingReturnStatement){return E.append([getActionForfixAddReturnStatement(N,G.expression,G.statement)],E.isArrowFunction(G.declaration)?getActionForFixRemoveBracesFromArrowFunctionBody(N,G.declaration,G.expression,G.commentSource):undefined)}else{return[getActionForfixWrapTheBlockWithParen(N,G.declaration,G.expression)]}},getAllCodeActions:function(R){return N.codeFixAll(R,G,(function(N,G){var ie=getInfo(R.program.getTypeChecker(),G.file,G.start,G.code);if(!ie)return undefined;switch(R.fixId){case j:addReturnStatement(N,G.file,ie.expression,ie.statement);break;case $:if(!E.isArrowFunction(ie.declaration))return undefined;removeBlockBodyBrace(N,G.file,ie.declaration,ie.expression,ie.commentSource,false);break;case q:if(!E.isArrowFunction(ie.declaration))return undefined;wrapBlockWithParen(N,G.file,ie.declaration,ie.expression);break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function createObjectTypeFromLabeledExpression(N,R,j){var $=N.createSymbol(4,R.escapedText);$.type=N.getTypeAtLocation(j);var q=E.createSymbolTable([$]);return N.createAnonymousType(undefined,q,[],[],[])}function getFixInfo(N,R,j,$){if(!R.body||!E.isBlock(R.body)||E.length(R.body.statements)!==1)return undefined;var q=E.first(R.body.statements);if(E.isExpressionStatement(q)&&checkFixedAssignableTo(N,R,N.getTypeAtLocation(q.expression),j,$)){return{declaration:R,kind:ie.MissingReturnStatement,expression:q.expression,statement:q,commentSource:q.expression}}else if(E.isLabeledStatement(q)&&E.isExpressionStatement(q.statement)){var G=E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment(q.label,q.statement.expression)]);var ae=createObjectTypeFromLabeledExpression(N,q.label,q.statement.expression);if(checkFixedAssignableTo(N,R,ae,j,$)){return E.isArrowFunction(R)?{declaration:R,kind:ie.MissingParentheses,expression:G,statement:q,commentSource:q.statement.expression}:{declaration:R,kind:ie.MissingReturnStatement,expression:G,statement:q,commentSource:q.statement.expression}}}else if(E.isBlock(q)&&E.length(q.statements)===1){var ce=E.first(q.statements);if(E.isLabeledStatement(ce)&&E.isExpressionStatement(ce.statement)){var G=E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment(ce.label,ce.statement.expression)]);var ae=createObjectTypeFromLabeledExpression(N,ce.label,ce.statement.expression);if(checkFixedAssignableTo(N,R,ae,j,$)){return{declaration:R,kind:ie.MissingReturnStatement,expression:G,statement:q,commentSource:ce}}}}return undefined}function checkFixedAssignableTo(N,R,j,$,q){if(q){var G=N.getSignatureFromDeclaration(R);if(G){if(E.hasSyntacticModifier(R,256)){j=N.createPromiseType(j)}var ie=N.createSignature(R,G.typeParameters,G.thisParameter,G.parameters,j,undefined,G.minArgumentCount,G.flags);j=N.createAnonymousType(undefined,E.createSymbolTable(),[ie],[],[])}else{j=N.getAnyType()}}return N.isTypeAssignableTo(j,$)}function getInfo(N,R,j,$){var q=E.getTokenAtPosition(R,j);if(!q.parent)return undefined;var G=E.findAncestor(q.parent,E.isFunctionLikeDeclaration);switch($){case E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!G||!G.body||!G.type||!E.rangeContainsRange(G.type,q))return undefined;return getFixInfo(N,G,N.getTypeFromTypeNode(G.type),false);case E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!G||!E.isCallExpression(G.parent)||!G.body)return undefined;var ie=G.parent.arguments.indexOf(G);var ae=N.getContextualTypeForArgumentAtIndex(G.parent,ie);if(!ae)return undefined;return getFixInfo(N,G,ae,true);case E.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!E.isDeclarationName(q)||!E.isVariableLike(q.parent)&&!E.isJsxAttribute(q.parent))return undefined;var ce=getVariableLikeInitializer(q.parent);if(!ce||!E.isFunctionLikeDeclaration(ce)||!ce.body)return undefined;return getFixInfo(N,ce,N.getTypeAtLocation(q.parent),true)}return undefined}function getVariableLikeInitializer(N){switch(N.kind){case 252:case 162:case 201:case 165:case 291:return N.initializer;case 283:return N.initializer&&(E.isJsxExpression(N.initializer)?N.initializer.expression:undefined);case 292:case 164:case 294:case 342:case 335:return undefined}}function addReturnStatement(N,R,j,$){E.suppressLeadingAndTrailingTrivia(j);var q=E.probablyUsesSemicolons(R);N.replaceNode(R,$,E.factory.createReturnStatement(j),{leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude,suffix:q?";":undefined})}function removeBlockBodyBrace(N,R,j,$,q,G){var ie=G||E.needsParentheses($)?E.factory.createParenthesizedExpression($):$;E.suppressLeadingAndTrailingTrivia(q);E.copyComments(q,ie);N.replaceNode(R,j.body,ie)}function wrapBlockWithParen(N,R,j,$){N.replaceNode(R,j.body,E.factory.createParenthesizedExpression($))}function getActionForfixAddReturnStatement($,q,G){var ie=E.textChanges.ChangeTracker.with($,(function(E){return addReturnStatement(E,$.sourceFile,q,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Add_a_return_statement,j,E.Diagnostics.Add_all_missing_return_statement)}function getActionForFixRemoveBracesFromArrowFunctionBody(j,q,G,ie){var ae=E.textChanges.ChangeTracker.with(j,(function(E){return removeBlockBodyBrace(E,j.sourceFile,q,G,ie,false)}));return N.createCodeFixAction(R,ae,E.Diagnostics.Remove_braces_from_arrow_function_body,$,E.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function getActionForfixWrapTheBlockWithParen(j,$,G){var ie=E.textChanges.ChangeTracker.with(j,(function(E){return wrapBlockWithParen(E,j.sourceFile,$,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,q,E.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixMissingMember";var $="fixMissingProperties";var q="fixMissingAttributes";var G="fixMissingFunctionDeclaration";var ie=[E.Diagnostics.Property_0_does_not_exist_on_type_1.code,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,E.Diagnostics.Cannot_find_name_0.code];N.registerCodeFix({errorCodes:ie,getCodeActions:function(j){var ie=j.program.getTypeChecker();var ae=getInfo(j.sourceFile,j.span.start,ie,j.program);if(!ae){return undefined}if(ae.kind===3){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addObjectLiteralProperties(E,j,ae)}));return[N.createCodeFixAction($,ce,E.Diagnostics.Add_missing_properties,$,E.Diagnostics.Add_all_missing_properties)]}if(ae.kind===4){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addJsxAttributes(E,j,ae)}));return[N.createCodeFixAction(q,ce,E.Diagnostics.Add_missing_attributes,q,E.Diagnostics.Add_all_missing_attributes)]}if(ae.kind===2){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addFunctionDeclaration(E,j,ae)}));return[N.createCodeFixAction(G,ce,[E.Diagnostics.Add_missing_function_declaration_0,ae.token.text],G,E.Diagnostics.Add_all_missing_function_declarations)]}if(ae.kind===0){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addEnumMemberDeclaration(E,j.program.getTypeChecker(),ae)}));return[N.createCodeFixAction(R,ce,[E.Diagnostics.Add_missing_enum_member_0,ae.token.text],R,E.Diagnostics.Add_all_missing_members)]}return E.concatenate(getActionsForMissingMethodDeclaration(j,ae),getActionsForMissingMemberDeclaration(j,ae))},fixIds:[R,G,$,q],getAllCodeActions:function(R){var j=R.program,ae=R.fixId;var ce=j.getTypeChecker();var le=new E.Map;var _e=new E.Map;return N.createCombinedCodeActions(E.textChanges.ChangeTracker.with(R,(function(Ee){N.eachDiagnostic(R,ie,(function(N){var j=getInfo(N.file,N.start,ce,R.program);if(!j||!E.addToSeen(le,E.getNodeId(j.parentDeclaration)+"#"+j.token.text)){return}if(ae===G&&j.kind===2){addFunctionDeclaration(Ee,R,j)}else if(ae===$&&j.kind===3){addObjectLiteralProperties(Ee,R,j)}else if(ae===q&&j.kind===4){addJsxAttributes(Ee,R,j)}else{if(j.kind===0){addEnumMemberDeclaration(Ee,ce,j)}if(j.kind===1){var ie=j.parentDeclaration,Te=j.token;var we=E.getOrUpdate(_e,ie,(function(){return[]}));if(!we.some((function(E){return E.token.text===Te.text}))){we.push(j)}}}}));_e.forEach((function($,q){var G=N.getAllSupers(q,ce);var _loop_14=function(N){if(G.some((function(E){var R=_e.get(E);return!!R&&R.some((function(E){var R=E.token;return R.text===N.token.text}))})))return"continue";var $=N.parentDeclaration,q=N.declSourceFile,ie=N.modifierFlags,ae=N.token,ce=N.call,le=N.isJSFile;if(ce&&!E.isPrivateIdentifier(ae)){addMethodDeclaration(R,Ee,ce,ae,ie&32,$,q)}else{if(le&&!E.isInterfaceDeclaration($)){addMissingMemberInJs(Ee,q,$,ae,!!(ie&32))}else{var Te=getTypeNode(j.getTypeChecker(),$,ae);addPropertyDeclaration(Ee,q,$,ae.text,Te,ie&32)}}};for(var ie=0,ae=$;ie<ae.length;ie++){var le=ae[ie];_loop_14(le)}}))})))}});var ae;(function(E){E[E["Enum"]=0]="Enum";E[E["ClassOrInterface"]=1]="ClassOrInterface";E[E["Function"]=2]="Function";E[E["ObjectLiteral"]=3]="ObjectLiteral";E[E["JsxAttributes"]=4]="JsxAttributes"})(ae||(ae={}));function getInfo(N,R,j,$){var q=E.getTokenAtPosition(N,R);if(!E.isIdentifier(q)&&!E.isPrivateIdentifier(q)){return undefined}var G=q.parent;if(E.isIdentifier(q)&&E.hasInitializer(G)&&G.initializer&&E.isObjectLiteralExpression(G.initializer)){var ie=E.arrayFrom(j.getUnmatchedProperties(j.getTypeAtLocation(G.initializer),j.getTypeAtLocation(q),false,false));if(E.length(ie)){return{kind:3,token:q,properties:ie,parentDeclaration:G.initializer}}}if(E.isIdentifier(q)&&E.isJsxOpeningLikeElement(q.parent)){var ae=getUnmatchedAttributes(j,q.parent);if(E.length(ae)){return{kind:4,token:q,attributes:ae,parentDeclaration:q.parent}}}if(E.isIdentifier(q)&&E.isCallExpression(G)){return{kind:2,token:q,call:G,sourceFile:N,modifierFlags:0,parentDeclaration:N}}if(!E.isPropertyAccessExpression(G)){return undefined}var ce=E.skipConstraint(j.getTypeAtLocation(G.expression));var le=ce.symbol;if(!le||!le.declarations){return undefined}if(E.isIdentifier(q)&&E.isCallExpression(G.parent)){var _e=E.find(le.declarations,E.isModuleDeclaration);var Ee=_e===null||_e===void 0?void 0:_e.getSourceFile();if(_e&&Ee&&!isSourceFileFromLibrary($,Ee)){return{kind:2,token:q,call:G.parent,sourceFile:N,modifierFlags:1,parentDeclaration:_e}}var Te=E.find(le.declarations,E.isSourceFile);if(N.commonJsModuleIndicator){return}if(Te&&!isSourceFileFromLibrary($,Te)){return{kind:2,token:q,call:G.parent,sourceFile:Te,modifierFlags:1,parentDeclaration:Te}}}var we=E.find(le.declarations,E.isClassLike);if(!we&&E.isPrivateIdentifier(q)){return undefined}var Ie=we||E.find(le.declarations,E.isInterfaceDeclaration);if(Ie&&!isSourceFileFromLibrary($,Ie.getSourceFile())){var Ne=(ce.target||ce)!==j.getDeclaredTypeOfSymbol(le);if(Ne&&(E.isPrivateIdentifier(q)||E.isInterfaceDeclaration(Ie))){return undefined}var Me=Ie.getSourceFile();var Le=(Ne?32:0)|(E.startsWithUnderscore(q.text)?8:0);var Be=E.isSourceFileJS(Me);var je=E.tryCast(G.parent,E.isCallExpression);return{kind:1,token:q,call:je,modifierFlags:Le,parentDeclaration:Ie,declSourceFile:Me,isJSFile:Be}}var Ue=E.find(le.declarations,E.isEnumDeclaration);if(Ue&&!E.isPrivateIdentifier(q)&&!isSourceFileFromLibrary($,Ue.getSourceFile())){return{kind:0,token:q,parentDeclaration:Ue}}return undefined}function isSourceFileFromLibrary(E,N){return E.isSourceFileFromExternalLibrary(N)||E.isSourceFileDefaultLibrary(N)}function getActionsForMissingMemberDeclaration(N,R){return R.isJSFile?E.singleElementArray(createActionForAddMissingMemberInJavascriptFile(N,R)):createActionsForAddMissingMemberInTypeScriptFile(N,R)}function createActionForAddMissingMemberInJavascriptFile(j,$){var q=$.parentDeclaration,G=$.declSourceFile,ie=$.modifierFlags,ae=$.token;if(E.isInterfaceDeclaration(q)){return undefined}var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addMissingMemberInJs(E,G,q,ae,!!(ie&32))}));if(ce.length===0){return undefined}var le=ie&32?E.Diagnostics.Initialize_static_property_0:E.isPrivateIdentifier(ae)?E.Diagnostics.Declare_a_private_field_named_0:E.Diagnostics.Initialize_property_0_in_the_constructor;return N.createCodeFixAction(R,ce,[le,ae.text],R,E.Diagnostics.Add_all_missing_members)}function addMissingMemberInJs(N,R,j,$,q){var G=$.text;if(q){if(j.kind===224){return}var ie=j.name.getText();var ae=initializePropertyToUndefined(E.factory.createIdentifier(ie),G);N.insertNodeAfter(R,j,ae)}else if(E.isPrivateIdentifier($)){var ce=E.factory.createPropertyDeclaration(undefined,undefined,G,undefined,undefined,undefined);var le=getNodeToInsertPropertyAfter(j);if(le){N.insertNodeAfter(R,le,ce)}else{N.insertNodeAtClassStart(R,j,ce)}}else{var _e=E.getFirstConstructorWithBody(j);if(!_e){return}var Ee=initializePropertyToUndefined(E.factory.createThis(),G);N.insertNodeAtConstructorEnd(R,_e,Ee)}}function initializePropertyToUndefined(N,R){return E.factory.createExpressionStatement(E.factory.createAssignment(E.factory.createPropertyAccessExpression(N,R),createUndefined()))}function createActionsForAddMissingMemberInTypeScriptFile(j,$){var q=$.parentDeclaration,G=$.declSourceFile,ie=$.modifierFlags,ae=$.token;var ce=ae.text;var le=ie&32;var _e=getTypeNode(j.program.getTypeChecker(),q,ae);var addPropertyDeclarationChanges=function(N){return E.textChanges.ChangeTracker.with(j,(function(E){return addPropertyDeclaration(E,G,q,ce,_e,N)}))};var Ee=[N.createCodeFixAction(R,addPropertyDeclarationChanges(ie&32),[le?E.Diagnostics.Declare_static_property_0:E.Diagnostics.Declare_property_0,ce],R,E.Diagnostics.Add_all_missing_members)];if(le||E.isPrivateIdentifier(ae)){return Ee}if(ie&8){Ee.unshift(N.createCodeFixActionWithoutFixAll(R,addPropertyDeclarationChanges(8),[E.Diagnostics.Declare_private_property_0,ce]))}Ee.push(createAddIndexSignatureAction(j,G,q,ae.text,_e));return Ee}function getTypeNode(N,R,j){var $;if(j.parent.parent.kind===219){var q=j.parent.parent;var G=j.parent===q.left?q.right:q.left;var ie=N.getWidenedType(N.getBaseTypeOfLiteralType(N.getTypeAtLocation(G)));$=N.typeToTypeNode(ie,R,1)}else{var ae=N.getContextualType(j.parent);$=ae?N.typeToTypeNode(ae,undefined,1):undefined}return $||E.factory.createKeywordTypeNode(129)}function addPropertyDeclaration(N,R,j,$,q,G){var ie=E.factory.createPropertyDeclaration(undefined,G?E.factory.createNodeArray(E.factory.createModifiersFromModifierFlags(G)):undefined,$,undefined,q,undefined);var ae=getNodeToInsertPropertyAfter(j);if(ae){N.insertNodeAfter(R,ae,ie)}else{N.insertNodeAtClassStart(R,j,ie)}}function getNodeToInsertPropertyAfter(N){var R;for(var j=0,$=N.members;j<$.length;j++){var q=$[j];if(!E.isPropertyDeclaration(q))break;R=q}return R}function createAddIndexSignatureAction(j,$,q,G,ie){var ae=E.factory.createKeywordTypeNode(148);var ce=E.factory.createParameterDeclaration(undefined,undefined,undefined,"x",undefined,ae,undefined);var le=E.factory.createIndexSignature(undefined,undefined,[ce],ie);var _e=E.textChanges.ChangeTracker.with(j,(function(E){return E.insertNodeAtClassStart($,q,le)}));return N.createCodeFixActionWithoutFixAll(R,_e,[E.Diagnostics.Add_index_signature_for_property_0,G])}function getActionsForMissingMethodDeclaration(j,$){var q=$.parentDeclaration,G=$.declSourceFile,ie=$.modifierFlags,ae=$.token,ce=$.call;if(ce===undefined){return undefined}if(E.isPrivateIdentifier(ae)){return undefined}var le=ae.text;var addMethodDeclarationChanges=function(N){return E.textChanges.ChangeTracker.with(j,(function(E){return addMethodDeclaration(j,E,ce,ae,N,q,G)}))};var _e=[N.createCodeFixAction(R,addMethodDeclarationChanges(ie&32),[ie&32?E.Diagnostics.Declare_static_method_0:E.Diagnostics.Declare_method_0,le],R,E.Diagnostics.Add_all_missing_members)];if(ie&8){_e.unshift(N.createCodeFixActionWithoutFixAll(R,addMethodDeclarationChanges(8),[E.Diagnostics.Declare_private_method_0,le]))}return _e}function addMethodDeclaration(R,j,$,q,G,ie,ae){var ce=N.createImportAdder(ae,R.program,R.preferences,R.host);var le=N.createSignatureDeclarationFromCallExpression(167,R,ce,$,q,G,ie);var _e=E.findAncestor($,(function(N){return E.isMethodDeclaration(N)||E.isConstructorDeclaration(N)}));if(_e&&_e.parent===ie){j.insertNodeAfter(ae,_e,le)}else{j.insertNodeAtClassStart(ae,ie,le)}ce.writeFixes(j)}function addEnumMemberDeclaration(N,R,j){var $=j.token,q=j.parentDeclaration;var G=E.some(q.members,(function(E){var N=R.getTypeAtLocation(E);return!!(N&&N.flags&402653316)}));var ie=E.factory.createEnumMember($,G?E.factory.createStringLiteral($.text):undefined);N.replaceNode(q.getSourceFile(),q,E.factory.updateEnumDeclaration(q,q.decorators,q.modifiers,q.name,E.concatenate(q.members,E.singleElementArray(ie))),{leadingTriviaOption:E.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude})}function addFunctionDeclaration(R,j,$){var q=N.createImportAdder(j.sourceFile,j.program,j.preferences,j.host);var G=N.createSignatureDeclarationFromCallExpression(254,j,q,$.call,E.idText($.token),$.modifierFlags,$.parentDeclaration);R.insertNodeAtEndOfScope($.sourceFile,$.parentDeclaration,G)}function addJsxAttributes(R,$,q){var G=N.createImportAdder($.sourceFile,$.program,$.preferences,$.host);var ie=E.getQuotePreference($.sourceFile,$.preferences);var ae=$.program.getTypeChecker();var ce=q.parentDeclaration.attributes;var le=E.some(ce.properties,E.isJsxSpreadAttribute);var _e=E.map(q.attributes,(function(N){var R=N.valueDeclaration?tryGetValueFromType($,ae,G,ie,ae.getTypeAtLocation(N.valueDeclaration)):createUndefined();return E.factory.createJsxAttribute(E.factory.createIdentifier(N.name),E.factory.createJsxExpression(undefined,R))}));var Ee=E.factory.createJsxAttributes(le?j(j([],_e,true),ce.properties,true):j(j([],ce.properties,true),_e,true));var Te={prefix:ce.pos===ce.end?" ":undefined};R.replaceNode($.sourceFile,ce,Ee,Te)}function addObjectLiteralProperties(R,$,q){var G=N.createImportAdder($.sourceFile,$.program,$.preferences,$.host);var ie=E.getQuotePreference($.sourceFile,$.preferences);var ae=$.program.getTypeChecker();var ce=E.map(q.properties,(function(N){var R=N.valueDeclaration?tryGetValueFromType($,ae,G,ie,ae.getTypeAtLocation(N.valueDeclaration)):createUndefined();return E.factory.createPropertyAssignment(N.name,R)}));R.replaceNode($.sourceFile,q.parentDeclaration,E.factory.createObjectLiteralExpression(j(j([],q.parentDeclaration.properties,true),ce,true),true))}function tryGetValueFromType(R,j,$,q,G){if(G.flags&3){return createUndefined()}if(G.flags&(4|134217728)){return E.factory.createStringLiteral("",q===0)}if(G.flags&8){return E.factory.createNumericLiteral(0)}if(G.flags&64){return E.factory.createBigIntLiteral("0n")}if(G.flags&16){return E.factory.createFalse()}if(G.flags&1056){var ie=G.symbol.exports?E.firstOrUndefined(E.arrayFrom(G.symbol.exports.values())):G.symbol;var ae=j.symbolToExpression(G.symbol.parent?G.symbol.parent:G.symbol,111551,undefined,undefined);return ie===undefined||ae===undefined?E.factory.createNumericLiteral(0):E.factory.createPropertyAccessExpression(ae,j.symbolToString(ie))}if(G.flags&256){return E.factory.createNumericLiteral(G.value)}if(G.flags&2048){return E.factory.createBigIntLiteral(G.value)}if(G.flags&128){return E.factory.createStringLiteral(G.value,q===0)}if(G.flags&512){return G===j.getFalseType()||G===j.getFalseType(true)?E.factory.createFalse():E.factory.createTrue()}if(G.flags&65536){return E.factory.createNull()}if(G.flags&1048576){var ce=E.firstDefined(G.types,(function(E){return tryGetValueFromType(R,j,$,q,E)}));return ce!==null&&ce!==void 0?ce:createUndefined()}if(j.isArrayLikeType(G)){return E.factory.createArrayLiteralExpression()}if(isObjectLiteralType(G)){var le=E.map(j.getPropertiesOfType(G),(function(N){var G=N.valueDeclaration?tryGetValueFromType(R,j,$,q,j.getTypeAtLocation(N.valueDeclaration)):createUndefined();return E.factory.createPropertyAssignment(N.name,G)}));return E.factory.createObjectLiteralExpression(le,true)}if(E.getObjectFlags(G)&16){var _e=E.find(G.symbol.declarations||E.emptyArray,E.or(E.isFunctionTypeNode,E.isMethodSignature,E.isMethodDeclaration));if(_e===undefined)return createUndefined();var Ee=j.getSignaturesOfType(G,0);if(Ee===undefined)return createUndefined();var Te=N.createSignatureDeclarationFromSignature(211,R,q,Ee[0],N.createStubbedBody(E.Diagnostics.Function_not_implemented.message,q),undefined,undefined,undefined,undefined,$);return Te!==null&&Te!==void 0?Te:createUndefined()}if(E.getObjectFlags(G)&1){var we=E.getClassLikeDeclarationOfSymbol(G.symbol);if(we===undefined||E.hasAbstractModifier(we))return createUndefined();var Ie=E.getFirstConstructorWithBody(we);if(Ie&&E.length(Ie.parameters))return createUndefined();return E.factory.createNewExpression(E.factory.createIdentifier(G.symbol.name),undefined,undefined)}return createUndefined()}function createUndefined(){return E.factory.createIdentifier("undefined")}function isObjectLiteralType(N){return N.flags&524288&&(E.getObjectFlags(N)&128||N.symbol&&E.tryCast(E.singleOrUndefined(N.symbol.declarations),E.isTypeLiteralNode))}function getUnmatchedAttributes(N,R){var j=N.getContextualType(R.attributes);if(j===undefined)return E.emptyArray;var $=j.getProperties();if(!E.length($))return E.emptyArray;var q=new E.Set;for(var G=0,ie=R.attributes.properties;G<ie.length;G++){var ae=ie[G];if(E.isJsxAttribute(ae)){q.add(ae.name.escapedText)}if(E.isJsxSpreadAttribute(ae)){var ce=N.getTypeAtLocation(ae.expression);for(var le=0,_e=ce.getProperties();le<_e.length;le++){var Ee=_e[le];q.add(Ee.escapedName)}}}return E.filter($,(function(N){return!(N.flags&16777216||E.getCheckFlags(N)&48||q.has(N.escapedName))}))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingNewOperator";var j=[E.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=E.textChanges.ChangeTracker.with(j,(function(E){return addMissingNewOperator(E,$,q)}));return[N.createCodeFixAction(R,G,E.Diagnostics.Add_missing_new_operator_to_call,R,E.Diagnostics.Add_missing_new_operator_to_all_calls)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){return addMissingNewOperator(N,E.sourceFile,R)}))}});function addMissingNewOperator(N,R,j){var $=E.cast(findAncestorMatchingSpan(R,j),E.isCallExpression);var q=E.factory.createNewExpression($.expression,$.typeArguments,$.arguments);N.replaceNode(R,$,q)}function findAncestorMatchingSpan(N,R){var j=E.getTokenAtPosition(N,R.start);var $=E.textSpanEnd(R);while(j.end<$){j=j.parent}return j}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixCannotFindModule";var j="installTypesPackage";var $=E.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code;var q=[$,E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code];N.registerCodeFix({errorCodes:q,getCodeActions:function($){var q=$.host,G=$.sourceFile,ie=$.span.start;var ae=tryGetImportedPackageName(G,ie);if(ae===undefined)return undefined;var ce=getTypesPackageNameToInstall(ae,q,$.errorCode);return ce===undefined?[]:[N.createCodeFixAction(R,[],[E.Diagnostics.Install_0,ce],j,E.Diagnostics.Install_all_missing_types_packages,getInstallCommand(G.fileName,ce))]},fixIds:[j],getAllCodeActions:function(R){return N.codeFixAll(R,q,(function(N,$,q){var G=tryGetImportedPackageName($.file,$.start);if(G===undefined)return undefined;switch(R.fixId){case j:{var ie=getTypesPackageNameToInstall(G,R.host,$.code);if(ie){q.push(getInstallCommand($.file.fileName,ie))}break}default:E.Debug.fail("Bad fixId: "+R.fixId)}}))}});function getInstallCommand(E,N){return{type:"install package",file:E,packageName:N}}function tryGetImportedPackageName(N,R){var j=E.tryCast(E.getTokenAtPosition(N,R),E.isStringLiteral);if(!j)return undefined;var $=j.text;var q=E.parsePackageName($).packageName;return E.isExternalModuleNameRelative(q)?undefined:q}function getTypesPackageNameToInstall(N,R,j){var q;return j===$?E.JsTyping.nodeCoreModules.has(N)?"@types/node":undefined:((q=R.isKnownTypesPackageName)===null||q===void 0?void 0:q.call(R,N))?E.getTypesPackageName(N):undefined}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,E.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code];var j="fixClassDoesntImplementInheritedAbstractMember";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=R.sourceFile,q=R.span;var G=E.textChanges.ChangeTracker.with(R,(function(E){return addMissingMembers(getClass($,q.start),$,R,E,R.preferences)}));return G.length===0?undefined:[N.createCodeFixAction(j,G,E.Diagnostics.Implement_inherited_abstract_class,j,E.Diagnostics.Implement_all_inherited_abstract_classes)]},fixIds:[j],getAllCodeActions:function(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getClass(R.file,R.start);if(E.addToSeen($,E.getNodeId(q))){addMissingMembers(q,j.sourceFile,j,N,j.preferences)}}))}});function getClass(N,R){var j=E.getTokenAtPosition(N,R);return E.cast(j.parent,E.isClassLike)}function addMissingMembers(R,j,$,q,G){var ie=E.getEffectiveBaseTypeNode(R);var ae=$.program.getTypeChecker();var ce=ae.getTypeAtLocation(ie);var le=ae.getPropertiesOfType(ce).filter(symbolPointsToNonPrivateAndAbstractMember);var _e=N.createImportAdder(j,$.program,G,$.host);N.createMissingMemberNodes(R,le,j,$,G,_e,(function(E){return q.insertNodeAtClassStart(j,R,E)}));_e.writeFixes(q)}function symbolPointsToNonPrivateAndAbstractMember(N){var R=E.getSyntacticModifierFlags(E.first(N.getDeclarations()));return!(R&8)&&!!(R&128)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="classSuperMustPrecedeThisAccess";var j=[E.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getNodes($,q.start);if(!G)return undefined;var ie=G.constructor,ae=G.superCall;var ce=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie,ae)}));return[N.createCodeFixAction(R,ce,E.Diagnostics.Make_super_call_the_first_statement_in_the_constructor,R,E.Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[R],getAllCodeActions:function(R){var $=R.sourceFile;var q=new E.Map;return N.codeFixAll(R,j,(function(N,R){var j=getNodes(R.file,R.start);if(!j)return;var G=j.constructor,ie=j.superCall;if(E.addToSeen(q,E.getNodeId(G.parent))){doChange(N,$,G,ie)}}))}});function doChange(E,N,R,j){E.insertNodeAtConstructorStart(N,R,j);E.delete(N,j)}function getNodes(N,R){var j=E.getTokenAtPosition(N,R);if(j.kind!==108)return undefined;var $=E.getContainingFunction(j);var q=findSuperCall($.body);return q&&!q.expression.arguments.some((function(N){return E.isPropertyAccessExpression(N)&&N.expression===j}))?{constructor:$,superCall:q}:undefined}function findSuperCall(N){return E.isExpressionStatement(N)&&E.isSuperCall(N.expression)?N:E.isFunctionLike(N)?undefined:E.forEachChild(N,findSuperCall)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="constructorForDerivedNeedSuperCall";var j=[E.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getNode($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Add_missing_super_call,R,E.Diagnostics.Add_all_missing_super_calls)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){return doChange(N,E.sourceFile,getNode(R.file,R.start))}))}});function getNode(N,R){var j=E.getTokenAtPosition(N,R);E.Debug.assert(E.isConstructorDeclaration(j.parent),"token should be at the constructor declaration");return j.parent}function doChange(N,R,j){var $=E.factory.createExpressionStatement(E.factory.createCallExpression(E.factory.createSuper(),undefined,E.emptyArray));N.insertNodeAtConstructorStart(R,j,$)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="enableExperimentalDecorators";var j=[E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.program.getCompilerOptions().configFile;if($===undefined){return undefined}var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$)}));return[N.createCodeFixActionWithoutFixAll(R,q,E.Diagnostics.Enable_the_experimentalDecorators_option_in_your_configuration_file)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N){var R=E.program.getCompilerOptions().configFile;if(R===undefined){return undefined}doChange(N,R)}))}});function doChange(R,j){N.setJsonCompilerOptionValue(R,j,"experimentalDecorators",E.factory.createTrue())}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixEnableJsxFlag";var j=[E.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.program.getCompilerOptions().configFile;if($===undefined){return undefined}var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$)}));return[N.createCodeFixActionWithoutFixAll(R,q,E.Diagnostics.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N){var R=E.program.getCompilerOptions().configFile;if(R===undefined){return undefined}doChange(N,R)}))}});function doChange(R,j){N.setJsonCompilerOptionValue(R,j,"jsx",E.factory.createStringLiteral("react"))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.registerCodeFix({errorCodes:[E.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher.code,E.Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(R){var j=R.program.getCompilerOptions();var $=j.configFile;if($===undefined){return undefined}var q=[];var G=E.getEmitModuleKind(j);var ie=G>=E.ModuleKind.ES2015&&G<E.ModuleKind.ESNext;if(ie){var ae=E.textChanges.ChangeTracker.with(R,(function(R){N.setJsonCompilerOptionValue(R,$,"module",E.factory.createStringLiteral("esnext"))}));q.push(N.createCodeFixActionWithoutFixAll("fixModuleOption",ae,[E.Diagnostics.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}var ce=E.getEmitScriptTarget(j);var le=ce<4||ce>99;if(le){var ae=E.textChanges.ChangeTracker.with(R,(function(R){var j=E.getTsConfigObjectLiteralExpression($);if(!j)return;var q=[["target",E.factory.createStringLiteral("es2017")]];if(G===E.ModuleKind.CommonJS){q.push(["module",E.factory.createStringLiteral("commonjs")])}N.setJsonCompilerOptionValues(R,$,q)}));q.push(N.createCodeFixActionWithoutFixAll("fixTargetOption",ae,[E.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return q.length?q:undefined}})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixPropertyAssignment";var j=[E.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];N.registerCodeFix({errorCodes:j,fixIds:[R],getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getProperty($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,G)}));return[N.createCodeFixAction(R,ie,[E.Diagnostics.Change_0_to_1,"=",":"],R,[E.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,getProperty(N.file,N.start))}))}});function doChange(N,R,j){N.replaceNode(R,j,E.factory.createPropertyAssignment(j.name,j.objectAssignmentInitializer))}function getProperty(N,R){return E.cast(E.getTokenAtPosition(N,R).parent,E.isShorthandPropertyAssignment)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="extendsInterfaceBecomesImplements";var j=[E.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile;var q=getNodes($,j.span.start);if(!q)return undefined;var G=q.extendsToken,ie=q.heritageClauses;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChanges(E,$,G,ie)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Change_extends_to_implements,R,E.Diagnostics.Change_all_extended_interfaces_to_implements)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getNodes(N.file,N.start);if(R)doChanges(E,N.file,R.extendsToken,R.heritageClauses)}))}});function getNodes(N,R){var j=E.getTokenAtPosition(N,R);var $=E.getContainingClass(j).heritageClauses;var q=$[0].getFirstToken();return q.kind===94?{extendsToken:q,heritageClauses:$}:undefined}function doChanges(N,R,j,$){N.replaceNode(R,j,E.factory.createToken(117));if($.length===2&&$[0].token===94&&$[1].token===117){var q=$[1].getFirstToken();var G=q.getFullStart();N.replaceRange(R,{pos:G,end:G},E.factory.createToken(27));var ie=R.text;var ae=q.end;while(ae<ie.length&&E.isWhiteSpaceSingleLine(ie.charCodeAt(ae))){ae++}N.deleteRange(R,{pos:q.getStart(),end:ae})}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="forgottenThisPropertyAccess";var j=E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code;var $=[E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code,j];N.registerCodeFix({errorCodes:$,getCodeActions:function(j){var $=j.sourceFile;var q=getInfo($,j.span.start,j.errorCode);if(!q){return undefined}var G=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,q)}));return[N.createCodeFixAction(R,G,[E.Diagnostics.Add_0_to_unresolved_variable,q.className||"this"],R,E.Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){var j=getInfo(R.file,R.start,R.code);if(j)doChange(N,E.sourceFile,j)}))}});function getInfo(N,R,$){var q=E.getTokenAtPosition(N,R);if(E.isIdentifier(q)){return{node:q,className:$===j?E.getContainingClass(q).name.text:undefined}}}function doChange(N,R,j){var $=j.node,q=j.className;E.suppressLeadingAndTrailingTrivia($);N.replaceNode(R,$,E.factory.createPropertyAccessExpression(q?E.factory.createIdentifier(q):E.factory.createThis(),$))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixInvalidJsxCharacters_expression";var j="fixInvalidJsxCharacters_htmlEntity";var $=[E.Diagnostics.Unexpected_token_Did_you_mean_or_gt.code,E.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code];N.registerCodeFix({errorCodes:$,fixIds:[R,j],getCodeActions:function($){var q=$.sourceFile,G=$.preferences,ie=$.span;var ae=E.textChanges.ChangeTracker.with($,(function(E){return doChange(E,G,q,ie.start,false)}));var ce=E.textChanges.ChangeTracker.with($,(function(E){return doChange(E,G,q,ie.start,true)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Wrap_invalid_character_in_an_expression_container,R,E.Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),N.createCodeFixAction(j,ce,E.Diagnostics.Convert_invalid_character_to_its_html_entity_code,j,E.Diagnostics.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return doChange(N,E.preferences,R.file,R.start,E.fixId===j)}))}});var q={">":"&gt;","}":"&rbrace;"};function isValidCharacter(N){return E.hasProperty(q,N)}function doChange(N,R,j,$,G){var ie=j.getText()[$];if(!isValidCharacter(ie)){return}var ae=G?q[ie]:"{"+E.quote(j,R,ie)+"}";N.replaceRangeWithText(j,{pos:$,end:$+1},ae)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="unusedIdentifier";var j="unusedIdentifier_prefix";var $="unusedIdentifier_delete";var q="unusedIdentifier_deleteImports";var G="unusedIdentifier_infer";var ie=[E.Diagnostics._0_is_declared_but_its_value_is_never_read.code,E.Diagnostics._0_is_declared_but_never_used.code,E.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,E.Diagnostics.All_imports_in_import_declaration_are_unused.code,E.Diagnostics.All_destructured_elements_are_unused.code,E.Diagnostics.All_variables_are_unused.code,E.Diagnostics.All_type_parameters_are_unused.code];N.registerCodeFix({errorCodes:ie,getCodeActions:function($){var ie=$.errorCode,ae=$.sourceFile,ce=$.program,le=$.cancellationToken;var _e=ce.getTypeChecker();var Ee=ce.getSourceFiles();var Te=E.getTokenAtPosition(ae,$.span.start);if(E.isJSDocTemplateTag(Te)){return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Te)})),E.Diagnostics.Remove_template_tag)]}if(Te.kind===29){var we=E.textChanges.ChangeTracker.with($,(function(E){return deleteTypeParameters(E,ae,Te)}));return[createDeleteFix(we,E.Diagnostics.Remove_type_parameters)]}var Ie=tryGetFullImport(Te);if(Ie){var we=E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Ie)}));return[N.createCodeFixAction(R,we,[E.Diagnostics.Remove_import_from_0,E.showModuleSpecifier(Ie)],q,E.Diagnostics.Delete_all_unused_imports)]}else if(isImport(Te)){var Ne=E.textChanges.ChangeTracker.with($,(function(E){return tryDeleteDeclaration(ae,Te,E,_e,Ee,ce,le,false)}));if(Ne.length){return[N.createCodeFixAction(R,Ne,[E.Diagnostics.Remove_unused_declaration_for_Colon_0,Te.getText(ae)],q,E.Diagnostics.Delete_all_unused_imports)]}}if(E.isObjectBindingPattern(Te.parent)||E.isArrayBindingPattern(Te.parent)){if(E.isParameter(Te.parent.parent)){var Me=Te.parent.elements;var Le=[Me.length>1?E.Diagnostics.Remove_unused_declarations_for_Colon_0:E.Diagnostics.Remove_unused_declaration_for_Colon_0,E.map(Me,(function(E){return E.getText(ae)})).join(", ")];return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return deleteDestructuringElements(E,ae,Te.parent)})),Le)]}return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Te.parent.parent)})),E.Diagnostics.Remove_unused_destructuring_declaration)]}if(canDeleteEntireVariableStatement(ae,Te)){return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return deleteEntireVariableStatement(E,ae,Te.parent)})),E.Diagnostics.Remove_variable_statement)]}var Be=[];if(Te.kind===136){var we=E.textChanges.ChangeTracker.with($,(function(E){return changeInferToUnknown(E,ae,Te)}));var je=E.cast(Te.parent,E.isInferTypeNode).typeParameter.name.text;Be.push(N.createCodeFixAction(R,we,[E.Diagnostics.Replace_infer_0_with_unknown,je],G,E.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var Ne=E.textChanges.ChangeTracker.with($,(function(E){return tryDeleteDeclaration(ae,Te,E,_e,Ee,ce,le,false)}));if(Ne.length){var je=E.isComputedPropertyName(Te.parent)?Te.parent:Te;Be.push(createDeleteFix(Ne,[E.Diagnostics.Remove_unused_declaration_for_Colon_0,je.getText(ae)]))}}var Ue=E.textChanges.ChangeTracker.with($,(function(E){return tryPrefixDeclaration(E,ie,ae,Te)}));if(Ue.length){Be.push(N.createCodeFixAction(R,Ue,[E.Diagnostics.Prefix_0_with_an_underscore,Te.getText(ae)],j,E.Diagnostics.Prefix_all_unused_declarations_with_where_possible))}return Be},fixIds:[j,$,q,G],getAllCodeActions:function(R){var ae=R.sourceFile,ce=R.program,le=R.cancellationToken;var _e=ce.getTypeChecker();var Ee=ce.getSourceFiles();return N.codeFixAll(R,ie,(function(N,ie){var Te=E.getTokenAtPosition(ae,ie.start);switch(R.fixId){case j:tryPrefixDeclaration(N,ie.code,ae,Te);break;case q:{var we=tryGetFullImport(Te);if(we){N.delete(ae,we)}else if(isImport(Te)){tryDeleteDeclaration(ae,Te,N,_e,Ee,ce,le,true)}break}case $:{if(Te.kind===136||isImport(Te)){break}else if(E.isJSDocTemplateTag(Te)){N.delete(ae,Te)}else if(Te.kind===29){deleteTypeParameters(N,ae,Te)}else if(E.isObjectBindingPattern(Te.parent)){if(Te.parent.parent.initializer){break}else if(!E.isParameter(Te.parent.parent)||isNotProvidedArguments(Te.parent.parent,_e,Ee)){N.delete(ae,Te.parent.parent)}}else if(E.isArrayBindingPattern(Te.parent.parent)&&Te.parent.parent.parent.initializer){break}else if(canDeleteEntireVariableStatement(ae,Te)){deleteEntireVariableStatement(N,ae,Te.parent)}else{tryDeleteDeclaration(ae,Te,N,_e,Ee,ce,le,true)}break}case G:if(Te.kind===136){changeInferToUnknown(N,ae,Te)}break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function changeInferToUnknown(N,R,j){N.replaceNode(R,j.parent,E.factory.createKeywordTypeNode(153))}function createDeleteFix(j,q){return N.createCodeFixAction(R,j,q,$,E.Diagnostics.Delete_all_unused_declarations)}function deleteTypeParameters(N,R,j){N.delete(R,E.Debug.checkDefined(E.cast(j.parent,E.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function isImport(E){return E.kind===100||E.kind===79&&(E.parent.kind===268||E.parent.kind===265)}function tryGetFullImport(N){return N.kind===100?E.tryCast(N.parent,E.isImportDeclaration):undefined}function canDeleteEntireVariableStatement(N,R){return E.isVariableDeclarationList(R.parent)&&E.first(R.parent.getChildren(N))===R}function deleteEntireVariableStatement(E,N,R){E.delete(N,R.parent.kind===235?R.parent:R)}function deleteDestructuringElements(N,R,j){E.forEach(j.elements,(function(E){return N.delete(R,E)}))}function tryPrefixDeclaration(N,R,j,$){if(R===E.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)return;if($.kind===136){$=E.cast($.parent,E.isInferTypeNode).typeParameter.name}if(E.isIdentifier($)&&canPrefix($)){N.replaceNode(j,$,E.factory.createIdentifier("_"+$.text));if(E.isParameter($.parent)){E.getJSDocParameterTags($.parent).forEach((function(R){if(E.isIdentifier(R.name)){N.replaceNode(j,R.name,E.factory.createIdentifier("_"+R.name.text))}}))}}}function canPrefix(E){switch(E.parent.kind){case 162:case 161:return true;case 252:{var N=E.parent;switch(N.parent.parent.kind){case 242:case 241:return true}}}return false}function tryDeleteDeclaration(N,R,j,$,q,G,ie,ae){tryDeleteDeclarationWorker(R,j,N,$,q,G,ie,ae);if(E.isIdentifier(R)){E.FindAllReferences.Core.eachSymbolReferenceInFile(R,$,N,(function(R){if(E.isPropertyAccessExpression(R.parent)&&R.parent.name===R)R=R.parent;if(!ae&&mayDeleteExpression(R)){j.delete(N,R.parent.parent)}}))}}function tryDeleteDeclarationWorker(N,R,j,$,q,G,ie,ae){var ce=N.parent;if(E.isParameter(ce)){tryDeleteParameter(R,j,ce,$,q,G,ie,ae)}else if(!(ae&&E.isIdentifier(N)&&E.FindAllReferences.Core.isSymbolReferencedInFile(N,$,j))){var le=E.isImportClause(ce)?N:E.isComputedPropertyName(ce)?ce.parent:ce;E.Debug.assert(le!==j,"should not delete whole source file");R.delete(j,le)}}function tryDeleteParameter(N,R,j,$,q,G,ie,ae){if(ae===void 0){ae=false}if(mayDeleteParameter($,R,j,q,G,ie,ae)){if(j.modifiers&&j.modifiers.length>0&&(!E.isIdentifier(j.name)||E.FindAllReferences.Core.isSymbolReferencedInFile(j.name,$,R))){j.modifiers.forEach((function(E){return N.deleteModifier(R,E)}))}else if(!j.initializer&&isNotProvidedArguments(j,$,q)){N.delete(R,j)}}}function isNotProvidedArguments(N,R,j){var $=N.parent.parameters.indexOf(N);return!E.FindAllReferences.Core.someSignatureUsage(N.parent,j,R,(function(E,N){return!N||N.arguments.length>$}))}function mayDeleteParameter(N,R,j,$,q,G,ie){var ae=j.parent;switch(ae.kind){case 167:case 169:var ce=ae.parameters.indexOf(j);var le=E.isMethodDeclaration(ae)?ae.name:ae;var _e=E.FindAllReferences.Core.getReferencedSymbolsForNode(ae.pos,le,q,$,G);if(_e){for(var Ee=0,Te=_e;Ee<Te.length;Ee++){var we=Te[Ee];for(var Ie=0,Ne=we.references;Ie<Ne.length;Ie++){var Me=Ne[Ie];if(Me.kind===1){var Le=E.isSuperKeyword(Me.node)&&E.isCallExpression(Me.node.parent)&&Me.node.parent.arguments.length>ce;var Be=E.isPropertyAccessExpression(Me.node.parent)&&E.isSuperKeyword(Me.node.parent.expression)&&E.isCallExpression(Me.node.parent.parent)&&Me.node.parent.parent.arguments.length>ce;var je=(E.isMethodDeclaration(Me.node.parent)||E.isMethodSignature(Me.node.parent))&&Me.node.parent!==j.parent&&Me.node.parent.parameters.length>ce;if(Le||Be||je)return false}}}}return true;case 254:{if(ae.name&&isCallbackLike(N,R,ae.name)){return isLastParameter(ae,j,ie)}return true}case 211:case 212:return isLastParameter(ae,j,ie);case 171:return false;default:return E.Debug.failBadSyntaxKind(ae)}}function isCallbackLike(N,R,j){return!!E.FindAllReferences.Core.eachSymbolReferenceInFile(j,N,R,(function(N){return E.isIdentifier(N)&&E.isCallExpression(N.parent)&&N.parent.arguments.indexOf(N)>=0}))}function isLastParameter(N,R,j){var $=N.parameters;var q=$.indexOf(R);E.Debug.assert(q!==-1,"The parameter should already be in the list");return j?$.slice(q+1).every((function(N){return E.isIdentifier(N.name)&&!N.symbol.isReferenced})):q===$.length-1}function mayDeleteExpression(N){return(E.isBinaryExpression(N.parent)&&N.parent.left===N||(E.isPostfixUnaryExpression(N.parent)||E.isPrefixUnaryExpression(N.parent))&&N.parent.operand===N)&&E.isExpressionStatement(N.parent.parent)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixUnreachableCode";var j=[E.Diagnostics.Unreachable_code_detected.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,j.span.start,j.span.length,j.errorCode)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Remove_unreachable_code,R,E.Diagnostics.Remove_all_unreachable_code)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,N.start,N.length,N.code)}))}});function doChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j);var ie=E.findAncestor(G,E.isStatement);if(ie.getStart(R)!==G.getStart(R)){var ae=JSON.stringify({statementKind:E.Debug.formatSyntaxKind(ie.kind),tokenKind:E.Debug.formatSyntaxKind(G.kind),errorCode:q,start:j,length:$});E.Debug.fail("Token and statement should start at the same point. "+ae)}var ce=(E.isBlock(ie.parent)?ie.parent:ie).parent;if(!E.isBlock(ie.parent)||ie===E.first(ie.parent.statements)){switch(ce.kind){case 237:if(ce.elseStatement){if(E.isBlock(ie.parent)){break}else{N.replaceNode(R,ie,E.factory.createBlock(E.emptyArray))}return}case 239:case 240:N.delete(R,ce);return}}if(E.isBlock(ie.parent)){var le=j+$;var _e=E.Debug.checkDefined(lastWhere(E.sliceAfter(ie.parent.statements,ie),(function(E){return E.pos<le})),"Some statement should be last");N.deleteNodeRange(R,ie,_e)}else{N.delete(R,ie)}}function lastWhere(E,N){var R;for(var j=0,$=E;j<$.length;j++){var q=$[j];if(!N(q))break;R=q}return R}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixUnusedLabel";var j=[E.Diagnostics.Unused_label.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Remove_unused_label,R,E.Diagnostics.Remove_all_unused_labels)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,N.start)}))}});function doChange(N,R,j){var $=E.getTokenAtPosition(R,j);var q=E.cast($.parent,E.isLabeledStatement);var G=$.getStart(R);var ie=q.statement.getStart(R);var ae=E.positionsAreOnSameLine(G,ie,R)?ie:E.skipTrivia(R.text,E.findChildOfKind(q,58,R).end,true);N.deleteRange(R,{pos:G,end:ae})}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixJSDocTypes_plain";var j="fixJSDocTypes_nullable";var $=[E.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code];N.registerCodeFix({errorCodes:$,getCodeActions:function($){var q=$.sourceFile;var G=$.program.getTypeChecker();var ie=getInfo(q,$.span.start,G);if(!ie)return undefined;var ae=ie.typeNode,ce=ie.type;var le=ae.getText(q);var _e=[fix(ce,R,E.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];if(ae.kind===309){_e.push(fix(G.getNullableType(ce,32768),j,E.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types))}return _e;function fix(R,j,ie){var ce=E.textChanges.ChangeTracker.with($,(function(E){return doChange(E,q,ae,R,G)}));return N.createCodeFixAction("jdocTypes",ce,[E.Diagnostics.Change_0_to_1,le,G.typeToString(R)],j,ie)}},fixIds:[R,j],getAllCodeActions:function(E){var R=E.fixId,q=E.program,G=E.sourceFile;var ie=q.getTypeChecker();return N.codeFixAll(E,$,(function(E,N){var $=getInfo(N.file,N.start,ie);if(!$)return;var q=$.typeNode,ae=$.type;var ce=q.kind===309&&R===j?ie.getNullableType(ae,32768):ae;doChange(E,G,q,ce,ie)}))}});function doChange(E,N,R,j,$){E.replaceNode(N,R,$.typeToTypeNode(j,R,undefined))}function getInfo(N,R,j){var $=E.findAncestor(E.getTokenAtPosition(N,R),isTypeContainer);var q=$&&$.type;return q&&{typeNode:q,type:j.getTypeFromTypeNode(q)}}function isTypeContainer(E){switch(E.kind){case 227:case 172:case 173:case 254:case 170:case 174:case 193:case 167:case 166:case 162:case 165:case 164:case 171:case 257:case 209:case 252:return true;default:return false}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixMissingCallParentheses";var j=[E.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code];N.registerCodeFix({errorCodes:j,fixIds:[R],getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getCallName($,q.start);if(!G)return;var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Add_missing_call_parentheses,R,E.Diagnostics.Add_all_missing_call_parentheses)]},getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getCallName(N.file,N.start);if(R)doChange(E,N.file,R)}))}});function doChange(E,N,R){E.replaceNodeWithText(N,R,R.text+"()")}function getCallName(N,R){var j=E.getTokenAtPosition(N,R);if(E.isPropertyAccessExpression(j.parent)){var $=j.parent;while(E.isPropertyAccessExpression($.parent)){$=$.parent}return $.name}if(E.isIdentifier(j)){return j}return undefined}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixAwaitInSyncFunction";var j=[E.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,E.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getNodes($,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Add_async_modifier_to_containing_function,R,E.Diagnostics.Add_all_missing_async_modifiers)]},fixIds:[R],getAllCodeActions:function(R){var $=new E.Map;return N.codeFixAll(R,j,(function(N,j){var q=getNodes(j.file,j.start);if(!q||!E.addToSeen($,E.getNodeId(q.insertBefore)))return;doChange(N,R.sourceFile,q)}))}});function getReturnType(N){if(N.type){return N.type}if(E.isVariableDeclaration(N.parent)&&N.parent.type&&E.isFunctionTypeNode(N.parent.type)){return N.parent.type.type}}function getNodes(N,R){var j=E.getTokenAtPosition(N,R);var $=E.getContainingFunction(j);if(!$){return}var q;switch($.kind){case 167:q=$.name;break;case 254:case 211:q=E.findChildOfKind($,98,N);break;case 212:q=E.findChildOfKind($,20,N)||E.first($.parameters);break;default:return}return q&&{insertBefore:q,returnType:getReturnType($)}}function doChange(N,R,j){var $=j.insertBefore,q=j.returnType;if(q){var G=E.getEntityNameFromTypeNode(q);if(!G||G.kind!==79||G.text!=="Promise"){N.replaceNode(R,q,E.factory.createTypeReferenceNode("Promise",E.factory.createNodeArray([q])))}}N.insertModifierBefore(R,130,$)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,E.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code];var j="fixPropertyOverrideAccessor";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=doChange(R.sourceFile,R.span.start,R.span.length,R.errorCode,R);if($){return[N.createCodeFixAction(j,$,E.Diagnostics.Generate_get_and_set_accessors,j,E.Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)]}},fixIds:[j],getAllCodeActions:function(E){return N.codeFixAll(E,R,(function(N,R){var j=doChange(R.file,R.start,R.length,R.code,E);if(j){for(var $=0,q=j;$<q.length;$++){var G=q[$];N.pushRaw(E.sourceFile,G)}}}))}});function doChange(R,j,$,q,G){var ie;var ae;if(q===E.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code){ie=j;ae=j+$}else if(q===E.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){var ce=G.program.getTypeChecker();var le=E.getTokenAtPosition(R,j).parent;E.Debug.assert(E.isAccessor(le),"error span of fixPropertyOverrideAccessor should only be on an accessor");var _e=le.parent;E.Debug.assert(E.isClassLike(_e),"erroneous accessors should only be inside classes");var Ee=E.singleOrUndefined(N.getAllSupers(_e,ce));if(!Ee)return[];var Te=E.unescapeLeadingUnderscores(E.getTextOfPropertyName(le.name));var we=ce.getPropertyOfType(ce.getTypeAtLocation(Ee),Te);if(!we||!we.valueDeclaration)return[];ie=we.valueDeclaration.pos;ae=we.valueDeclaration.end;R=E.getSourceFileOfNode(we.valueDeclaration)}else{E.Debug.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+q)}return N.generateAccessorFromProperty(R,G.program,ie,ae,G,E.Diagnostics.Generate_get_and_set_accessors.message)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="inferFromUsage";var $=[E.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,E.Diagnostics.Variable_0_implicitly_has_an_1_type.code,E.Diagnostics.Parameter_0_implicitly_has_an_1_type.code,E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,E.Diagnostics.Member_0_implicitly_has_an_1_type.code,E.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,E.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,E.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,E.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,E.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,E.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,E.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,E.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];N.registerCodeFix({errorCodes:$,getCodeActions:function(j){var $=j.sourceFile,q=j.program,G=j.span.start,ie=j.errorCode,ae=j.cancellationToken,ce=j.host,le=j.preferences;var _e=E.getTokenAtPosition($,G);var Ee;var Te=E.textChanges.ChangeTracker.with(j,(function(N){Ee=doChange(N,$,_e,ie,q,ae,E.returnTrue,ce,le)}));var we=Ee&&E.getNameOfDeclaration(Ee);return!we||Te.length===0?undefined:[N.createCodeFixAction(R,Te,[getDiagnostic(ie,_e),we.getText($)],R,E.Diagnostics.Infer_all_types_from_usage)]},fixIds:[R],getAllCodeActions:function(R){var j=R.sourceFile,q=R.program,G=R.cancellationToken,ie=R.host,ae=R.preferences;var ce=E.nodeSeenTracker();return N.codeFixAll(R,$,(function(N,R){doChange(N,j,E.getTokenAtPosition(R.file,R.start),R.code,q,G,ce,ie,ae)}))}});function getDiagnostic(N,R){switch(N){case E.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:case E.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return E.isSetAccessorDeclaration(E.getContainingFunction(R))?E.Diagnostics.Infer_type_of_0_from_usage:E.Diagnostics.Infer_parameter_types_from_usage;case E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:case E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return E.Diagnostics.Infer_parameter_types_from_usage;case E.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return E.Diagnostics.Infer_this_type_of_0_from_usage;default:return E.Diagnostics.Infer_type_of_0_from_usage}}function mapSuggestionDiagnostic(N){switch(N){case E.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return E.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case E.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return E.Diagnostics.Variable_0_implicitly_has_an_1_type.code;case E.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return E.Diagnostics.Parameter_0_implicitly_has_an_1_type.code;case E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code;case E.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return E.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case E.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case E.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return E.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case E.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return E.Diagnostics.Member_0_implicitly_has_an_1_type.code}return N}function doChange(R,j,$,q,G,ie,ae,ce,le){if(!E.isParameterPropertyModifier($.kind)&&$.kind!==79&&$.kind!==25&&$.kind!==108){return undefined}var _e=$.parent;var Ee=N.createImportAdder(j,G,le,ce);q=mapSuggestionDiagnostic(q);switch(q){case E.Diagnostics.Member_0_implicitly_has_an_1_type.code:case E.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(E.isVariableDeclaration(_e)&&ae(_e)||E.isPropertyDeclaration(_e)||E.isPropertySignature(_e)){annotateVariableDeclaration(R,Ee,j,_e,G,ce,ie);Ee.writeFixes(R);return _e}if(E.isPropertyAccessExpression(_e)){var Te=inferTypeForVariableFromUsage(_e.name,G,ie);var we=E.getTypeNodeIfAccessible(Te,_e,G,ce);if(we){var Ie=E.factory.createJSDocTypeTag(undefined,E.factory.createJSDocTypeExpression(we),undefined);addJSDocTags(R,j,E.cast(_e.parent.parent,E.isExpressionStatement),[Ie])}Ee.writeFixes(R);return _e}return undefined;case E.Diagnostics.Variable_0_implicitly_has_an_1_type.code:{var Ne=G.getTypeChecker().getSymbolAtLocation($);if(Ne&&Ne.valueDeclaration&&E.isVariableDeclaration(Ne.valueDeclaration)&&ae(Ne.valueDeclaration)){annotateVariableDeclaration(R,Ee,j,Ne.valueDeclaration,G,ce,ie);Ee.writeFixes(R);return Ne.valueDeclaration}return undefined}}var Me=E.getContainingFunction($);if(Me===undefined){return undefined}var Le;switch(q){case E.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:if(E.isSetAccessorDeclaration(Me)){annotateSetAccessor(R,Ee,j,Me,G,ce,ie);Le=Me;break}case E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:if(ae(Me)){var Be=E.cast(_e,E.isParameter);annotateParameters(R,Ee,j,Be,Me,G,ce,ie);Le=Be}break;case E.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:if(E.isGetAccessorDeclaration(Me)&&E.isIdentifier(Me.name)){annotate(R,Ee,j,Me,inferTypeForVariableFromUsage(Me.name,G,ie),G,ce);Le=Me}break;case E.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:if(E.isSetAccessorDeclaration(Me)){annotateSetAccessor(R,Ee,j,Me,G,ce,ie);Le=Me}break;case E.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:if(E.textChanges.isThisTypeAnnotatable(Me)&&ae(Me)){annotateThis(R,j,Me,G,ce,ie);Le=Me}break;default:return E.Debug.fail(String(q))}Ee.writeFixes(R);return Le}function annotateVariableDeclaration(N,R,j,$,q,G,ie){if(E.isIdentifier($.name)){annotate(N,R,j,$,inferTypeForVariableFromUsage($.name,q,ie),q,G)}}function annotateParameters(N,R,j,$,q,G,ie,ae){if(!E.isIdentifier($.name)){return}var ce=inferTypeForParametersFromUsage(q,j,G,ae);E.Debug.assert(q.parameters.length===ce.length,"Parameter count and inference count should match");if(E.isInJSFile(q)){annotateJSDocParameters(N,j,ce,G,ie)}else{var le=E.isArrowFunction(q)&&!E.findChildOfKind(q,20,j);if(le)N.insertNodeBefore(j,E.first(q.parameters),E.factory.createToken(20));for(var _e=0,Ee=ce;_e<Ee.length;_e++){var Te=Ee[_e],we=Te.declaration,Ie=Te.type;if(we&&!we.type&&!we.initializer){annotate(N,R,j,we,Ie,G,ie)}}if(le)N.insertNodeAfter(j,E.last(q.parameters),E.factory.createToken(21))}}function annotateThis(N,R,j,$,q,G){var ie=getFunctionReferences(j,R,$,G);if(!ie||!ie.length){return}var ae=inferTypeFromReferences($,ie,G).thisParameter();var ce=E.getTypeNodeIfAccessible(ae,j,$,q);if(!ce){return}if(E.isInJSFile(j)){annotateJSDocThis(N,R,j,ce)}else{N.tryInsertThisTypeAnnotation(R,j,ce)}}function annotateJSDocThis(N,R,j,$){addJSDocTags(N,R,j,[E.factory.createJSDocThisTag(undefined,E.factory.createJSDocTypeExpression($))])}function annotateSetAccessor(N,R,j,$,q,G,ie){var ae=E.firstOrUndefined($.parameters);if(ae&&E.isIdentifier($.name)&&E.isIdentifier(ae.name)){var ce=inferTypeForVariableFromUsage($.name,q,ie);if(ce===q.getTypeChecker().getAnyType()){ce=inferTypeForVariableFromUsage(ae.name,q,ie)}if(E.isInJSFile($)){annotateJSDocParameters(N,j,[{declaration:ae,type:ce}],q,G)}else{annotate(N,R,j,ae,ce,q,G)}}}function annotate(N,R,j,$,q,G,ie){var ae=E.getTypeNodeIfAccessible(q,$,G,ie);if(ae){if(E.isInJSFile(j)&&$.kind!==164){var ce=E.isVariableDeclaration($)?E.tryCast($.parent.parent,E.isVariableStatement):$;if(!ce){return}var le=E.factory.createJSDocTypeExpression(ae);var _e=E.isGetAccessorDeclaration($)?E.factory.createJSDocReturnTag(undefined,le,undefined):E.factory.createJSDocTypeTag(undefined,le,undefined);addJSDocTags(N,j,ce,[_e])}else if(!tryReplaceImportTypeNodeWithAutoImport(ae,$,j,N,R,E.getEmitScriptTarget(G.getCompilerOptions()))){N.tryInsertTypeAnnotation(j,$,ae)}}}function tryReplaceImportTypeNodeWithAutoImport(R,j,$,q,G,ie){var ae=N.tryGetAutoImportableReferenceFromTypeNode(R,ie);if(ae&&q.tryInsertTypeAnnotation($,j,ae.typeNode)){E.forEach(ae.symbols,(function(E){return G.addImportFromExportedSymbol(E,true)}));return true}return false}function annotateJSDocParameters(N,R,j,$,q){var G=j.length&&j[0].declaration.parent;if(!G){return}var ie=E.mapDefined(j,(function(N){var R=N.declaration;if(R.initializer||E.getJSDocType(R)||!E.isIdentifier(R.name)){return}var j=N.type&&E.getTypeNodeIfAccessible(N.type,R,$,q);if(j){var G=E.factory.cloneNode(R.name);E.setEmitFlags(G,1536|2048);return{name:E.factory.cloneNode(R.name),param:R,isOptional:!!N.isOptional,typeNode:j}}}));if(!ie.length){return}if(E.isArrowFunction(G)||E.isFunctionExpression(G)){var ae=E.isArrowFunction(G)&&!E.findChildOfKind(G,20,R);if(ae){N.insertNodeBefore(R,E.first(G.parameters),E.factory.createToken(20))}E.forEach(ie,(function(j){var $=j.typeNode,q=j.param;var G=E.factory.createJSDocTypeTag(undefined,E.factory.createJSDocTypeExpression($));var ie=E.factory.createJSDocComment(undefined,[G]);N.insertNodeAt(R,q.getStart(R),ie,{suffix:" "})}));if(ae){N.insertNodeAfter(R,E.last(G.parameters),E.factory.createToken(21))}}else{var ce=E.map(ie,(function(N){var R=N.name,j=N.typeNode,$=N.isOptional;return E.factory.createJSDocParameterTag(undefined,R,!!$,E.factory.createJSDocTypeExpression(j),false,undefined)}));addJSDocTags(N,R,G,ce)}}function addJSDocTags(N,R,$,q){var G=E.flatMap($.jsDoc,(function(N){return typeof N.comment==="string"?E.factory.createJSDocText(N.comment):N.comment}));var ie=E.flatMapToMutable($.jsDoc,(function(E){return E.tags}));var ae=q.filter((function(E){return!ie||!ie.some((function(N,R){var j=tryMergeJsdocTags(N,E);if(j)ie[R]=j;return!!j}))}));var ce=E.factory.createJSDocComment(E.factory.createNodeArray(E.intersperse(G,E.factory.createJSDocText("\n"))),E.factory.createNodeArray(j(j([],ie||E.emptyArray,true),ae,true)));var le=$.kind===212?getJsDocNodeForArrowFunction($):$;le.jsDoc=$.jsDoc;le.jsDocCache=$.jsDocCache;N.insertJsdocCommentBefore(R,le,ce)}N.addJSDocTags=addJSDocTags;function getJsDocNodeForArrowFunction(E){if(E.parent.kind===165){return E.parent}return E.parent.parent}function tryMergeJsdocTags(N,R){if(N.kind!==R.kind){return undefined}switch(N.kind){case 335:{var j=N;var $=R;return E.isIdentifier(j.name)&&E.isIdentifier($.name)&&j.name.escapedText===$.name.escapedText?E.factory.createJSDocParameterTag(undefined,$.name,false,$.typeExpression,$.isNameFirst,j.comment):undefined}case 336:return E.factory.createJSDocReturnTag(undefined,R.typeExpression,N.comment)}}function getReferences(N,R,j){return E.mapDefined(E.FindAllReferences.getReferenceEntriesForNode(-1,N,R,R.getSourceFiles(),j),(function(N){return N.kind!==0?E.tryCast(N.node,E.isIdentifier):undefined}))}function inferTypeForVariableFromUsage(E,N,R){var j=getReferences(E,N,R);return inferTypeFromReferences(N,j,R).single()}function inferTypeForParametersFromUsage(N,R,j,$){var q=getFunctionReferences(N,R,j,$);return q&&inferTypeFromReferences(j,q,$).parameters(N)||N.parameters.map((function(N){return{declaration:N,type:E.isIdentifier(N.name)?inferTypeForVariableFromUsage(N.name,j,$):j.getTypeChecker().getAnyType()}}))}function getFunctionReferences(N,R,j,$){var q;switch(N.kind){case 169:q=E.findChildOfKind(N,133,R);break;case 212:case 211:var G=N.parent;q=(E.isVariableDeclaration(G)||E.isPropertyDeclaration(G))&&E.isIdentifier(G.name)?G.name:N.name;break;case 254:case 167:case 166:q=N.name;break}if(!q){return undefined}return getReferences(q,j,$)}function inferTypeFromReferences(N,R,$){var q=N.getTypeChecker();var G={string:function(){return q.getStringType()},number:function(){return q.getNumberType()},Array:function(E){return q.createArrayType(E)},Promise:function(E){return q.createPromiseType(E)}};var ie=[q.getStringType(),q.getNumberType(),q.createArrayType(q.getAnyType()),q.createPromiseType(q.getAnyType())];return{single:single,parameters:parameters,thisParameter:thisParameter};function createEmptyUsage(){return{isNumber:undefined,isString:undefined,isNumberOrString:undefined,candidateTypes:undefined,properties:undefined,calls:undefined,constructs:undefined,numberIndex:undefined,stringIndex:undefined,candidateThisTypes:undefined,inferredTypes:undefined}}function combineUsages(N){var R=new E.Map;for(var j=0,$=N;j<$.length;j++){var q=$[j];if(q.properties){q.properties.forEach((function(E,N){if(!R.has(N)){R.set(N,[])}R.get(N).push(E)}))}}var G=new E.Map;R.forEach((function(E,N){G.set(N,combineUsages(E))}));return{isNumber:N.some((function(E){return E.isNumber})),isString:N.some((function(E){return E.isString})),isNumberOrString:N.some((function(E){return E.isNumberOrString})),candidateTypes:E.flatMap(N,(function(E){return E.candidateTypes})),properties:G,calls:E.flatMap(N,(function(E){return E.calls})),constructs:E.flatMap(N,(function(E){return E.constructs})),numberIndex:E.forEach(N,(function(E){return E.numberIndex})),stringIndex:E.forEach(N,(function(E){return E.stringIndex})),candidateThisTypes:E.flatMap(N,(function(E){return E.candidateThisTypes})),inferredTypes:undefined}}function single(){return combineTypes(inferTypesFromReferencesSingle(R))}function parameters(G){if(R.length===0||!G.parameters){return undefined}var ie=createEmptyUsage();for(var ae=0,ce=R;ae<ce.length;ae++){var le=ce[ae];$.throwIfCancellationRequested();calculateUsageOfNode(le,ie)}var _e=j(j([],ie.constructs||[],true),ie.calls||[],true);return G.parameters.map((function(R,j){var ie=[];var ae=E.isRestParameter(R);var ce=false;for(var le=0,Ee=_e;le<Ee.length;le++){var Te=Ee[le];if(Te.argumentTypes.length<=j){ce=E.isInJSFile(G);ie.push(q.getUndefinedType())}else if(ae){for(var we=j;we<Te.argumentTypes.length;we++){ie.push(q.getBaseTypeOfLiteralType(Te.argumentTypes[we]))}}else{ie.push(q.getBaseTypeOfLiteralType(Te.argumentTypes[j]))}}if(E.isIdentifier(R.name)){var Ie=inferTypesFromReferencesSingle(getReferences(R.name,N,$));ie.push.apply(ie,ae?E.mapDefined(Ie,q.getElementTypeOfArrayType):Ie)}var Ne=combineTypes(ie);return{type:ae?q.createArrayType(Ne):Ne,isOptional:ce&&!ae,declaration:R}}))}function thisParameter(){var N=createEmptyUsage();for(var j=0,q=R;j<q.length;j++){var G=q[j];$.throwIfCancellationRequested();calculateUsageOfNode(G,N)}return combineTypes(N.candidateThisTypes||E.emptyArray)}function inferTypesFromReferencesSingle(E){var N=createEmptyUsage();for(var R=0,j=E;R<j.length;R++){var q=j[R];$.throwIfCancellationRequested();calculateUsageOfNode(q,N)}return inferTypes(N)}function calculateUsageOfNode(N,R){while(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}switch(N.parent.kind){case 236:inferTypeFromExpressionStatement(N,R);break;case 218:R.isNumber=true;break;case 217:inferTypeFromPrefixUnaryExpression(N.parent,R);break;case 219:inferTypeFromBinaryExpression(N,N.parent,R);break;case 287:case 288:inferTypeFromSwitchStatementLabel(N.parent,R);break;case 206:case 207:if(N.parent.expression===N){inferTypeFromCallExpression(N.parent,R)}else{inferTypeFromContextualType(N,R)}break;case 204:inferTypeFromPropertyAccessExpression(N.parent,R);break;case 205:inferTypeFromPropertyElementExpression(N.parent,N,R);break;case 291:case 292:inferTypeFromPropertyAssignment(N.parent,R);break;case 165:inferTypeFromPropertyDeclaration(N.parent,R);break;case 252:{var j=N.parent,$=j.name,G=j.initializer;if(N===$){if(G){addCandidateType(R,q.getTypeAtLocation(G))}break}}default:return inferTypeFromContextualType(N,R)}}function inferTypeFromContextualType(N,R){if(E.isExpressionNode(N)){addCandidateType(R,q.getContextualType(N))}}function inferTypeFromExpressionStatement(N,R){addCandidateType(R,E.isCallExpression(N)?q.getVoidType():q.getAnyType())}function inferTypeFromPrefixUnaryExpression(E,N){switch(E.operator){case 45:case 46:case 40:case 54:N.isNumber=true;break;case 39:N.isNumberOrString=true;break}}function inferTypeFromBinaryExpression(N,R,j){switch(R.operatorToken.kind){case 42:case 41:case 43:case 44:case 47:case 48:case 49:case 50:case 51:case 52:case 65:case 67:case 66:case 68:case 69:case 73:case 74:case 78:case 70:case 72:case 71:case 40:case 29:case 32:case 31:case 33:var $=q.getTypeAtLocation(R.left===N?R.right:R.left);if($.flags&1056){addCandidateType(j,$)}else{j.isNumber=true}break;case 64:case 39:var G=q.getTypeAtLocation(R.left===N?R.right:R.left);if(G.flags&1056){addCandidateType(j,G)}else if(G.flags&296){j.isNumber=true}else if(G.flags&402653316){j.isString=true}else if(G.flags&1){}else{j.isNumberOrString=true}break;case 63:case 34:case 36:case 37:case 35:addCandidateType(j,q.getTypeAtLocation(R.left===N?R.right:R.left));break;case 101:if(N===R.left){j.isString=true}break;case 56:case 60:if(N===R.left&&(N.parent.parent.kind===252||E.isAssignmentExpression(N.parent.parent,true))){addCandidateType(j,q.getTypeAtLocation(R.right))}break;case 55:case 27:case 102:break}}function inferTypeFromSwitchStatementLabel(E,N){addCandidateType(N,q.getTypeAtLocation(E.parent.parent.expression))}function inferTypeFromCallExpression(E,N){var R={argumentTypes:[],return_:createEmptyUsage()};if(E.arguments){for(var j=0,$=E.arguments;j<$.length;j++){var G=$[j];R.argumentTypes.push(q.getTypeAtLocation(G))}}calculateUsageOfNode(E,R.return_);if(E.kind===206){(N.calls||(N.calls=[])).push(R)}else{(N.constructs||(N.constructs=[])).push(R)}}function inferTypeFromPropertyAccessExpression(N,R){var j=E.escapeLeadingUnderscores(N.name.text);if(!R.properties){R.properties=new E.Map}var $=R.properties.get(j)||createEmptyUsage();calculateUsageOfNode(N,$);R.properties.set(j,$)}function inferTypeFromPropertyElementExpression(E,N,R){if(N===E.argumentExpression){R.isNumberOrString=true;return}else{var j=q.getTypeAtLocation(E.argumentExpression);var $=createEmptyUsage();calculateUsageOfNode(E,$);if(j.flags&296){R.numberIndex=$}else{R.stringIndex=$}}}function inferTypeFromPropertyAssignment(N,R){var j=E.isVariableDeclaration(N.parent.parent)?N.parent.parent:N.parent;addCandidateThisType(R,q.getTypeAtLocation(j))}function inferTypeFromPropertyDeclaration(E,N){addCandidateThisType(N,q.getTypeAtLocation(E.parent))}function removeLowPriorityInferences(N,R){var j=[];for(var $=0,q=N;$<q.length;$++){var G=q[$];for(var ie=0,ae=R;ie<ae.length;ie++){var ce=ae[ie],le=ce.high,_e=ce.low;if(le(G)){E.Debug.assert(!_e(G),"Priority can't have both low and high");j.push(_e)}}}return N.filter((function(E){return j.every((function(N){return!N(E)}))}))}function combineFromUsage(E){return combineTypes(inferTypes(E))}function combineTypes(N){if(!N.length)return q.getAnyType();var R=q.getUnionType([q.getStringType(),q.getNumberType()]);var j=[{high:function(E){return E===q.getStringType()||E===q.getNumberType()},low:function(E){return E===R}},{high:function(E){return!(E.flags&(1|16384))},low:function(E){return!!(E.flags&(1|16384))}},{high:function(N){return!(N.flags&(98304|1|16384))&&!(E.getObjectFlags(N)&16)},low:function(N){return!!(E.getObjectFlags(N)&16)}}];var $=removeLowPriorityInferences(N,j);var G=$.filter((function(N){return E.getObjectFlags(N)&16}));if(G.length){$=$.filter((function(N){return!(E.getObjectFlags(N)&16)}));$.push(combineAnonymousTypes(G))}return q.getWidenedType(q.getUnionType($.map(q.getBaseTypeOfLiteralType),2))}function combineAnonymousTypes(N){if(N.length===1){return N[0]}var R=[];var j=[];var $=[];var G=[];var ie=false;var ae=false;var ce=E.createMultiMap();for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];for(var Te=0,we=q.getPropertiesOfType(Ee);Te<we.length;Te++){var Ie=we[Te];ce.add(Ie.name,Ie.valueDeclaration?q.getTypeOfSymbolAtLocation(Ie,Ie.valueDeclaration):q.getAnyType())}R.push.apply(R,q.getSignaturesOfType(Ee,0));j.push.apply(j,q.getSignaturesOfType(Ee,1));var Ne=q.getIndexInfoOfType(Ee,0);if(Ne){$.push(Ne.type);ie=ie||Ne.isReadonly}var Me=q.getIndexInfoOfType(Ee,1);if(Me){G.push(Me.type);ae=ae||Me.isReadonly}}var Le=E.mapEntries(ce,(function(E,R){var j=R.length<N.length?16777216:0;var $=q.createSymbol(4|j,E);$.type=q.getUnionType(R);return[E,$]}));var Be=[];if($.length)Be.push(q.createIndexInfo(q.getStringType(),q.getUnionType($),ie));if(G.length)Be.push(q.createIndexInfo(q.getNumberType(),q.getUnionType(G),ae));return q.createAnonymousType(N[0].symbol,Le,R,j,Be)}function inferTypes(E){var N,R,j;var $=[];if(E.isNumber){$.push(q.getNumberType())}if(E.isString){$.push(q.getStringType())}if(E.isNumberOrString){$.push(q.getUnionType([q.getStringType(),q.getNumberType()]))}if(E.numberIndex){$.push(q.createArrayType(combineFromUsage(E.numberIndex)))}if(((N=E.properties)===null||N===void 0?void 0:N.size)||((R=E.calls)===null||R===void 0?void 0:R.length)||((j=E.constructs)===null||j===void 0?void 0:j.length)||E.stringIndex){$.push(inferStructuralType(E))}$.push.apply($,(E.candidateTypes||[]).map((function(E){return q.getBaseTypeOfLiteralType(E)})));$.push.apply($,inferNamedTypesFromProperties(E));return $}function inferStructuralType(N){var R=new E.Map;if(N.properties){N.properties.forEach((function(E,N){var j=q.createSymbol(4,N);j.type=combineFromUsage(E);R.set(N,j)}))}var j=N.calls?[getSignatureFromCalls(N.calls)]:[];var $=N.constructs?[getSignatureFromCalls(N.constructs)]:[];var G=N.stringIndex?[q.createIndexInfo(q.getStringType(),combineFromUsage(N.stringIndex),false)]:[];return q.createAnonymousType(undefined,R,j,$,G)}function inferNamedTypesFromProperties(E){if(!E.properties||!E.properties.size)return[];var N=ie.filter((function(N){return allPropertiesAreAssignableToUsage(N,E)}));if(0<N.length&&N.length<3){return N.map((function(N){return inferInstantiationFromUsage(N,E)}))}return[]}function allPropertiesAreAssignableToUsage(N,R){if(!R.properties)return false;return!E.forEachEntry(R.properties,(function(E,R){var j=q.getTypeOfPropertyOfType(N,R);if(!j){return true}if(E.calls){var $=q.getSignaturesOfType(j,0);return!$.length||!q.isTypeAssignableTo(j,getFunctionFromCalls(E.calls))}else{return!q.isTypeAssignableTo(j,combineFromUsage(E))}}))}function inferInstantiationFromUsage(N,R){if(!(E.getObjectFlags(N)&4)||!R.properties){return N}var j=N.target;var $=E.singleOrUndefined(j.typeParameters);if(!$)return N;var ie=[];R.properties.forEach((function(N,R){var G=q.getTypeOfPropertyOfType(j,R);E.Debug.assert(!!G,"generic should have all the properties of its reference.");ie.push.apply(ie,inferTypeParameters(G,combineFromUsage(N),$))}));return G[N.symbol.escapedName](combineTypes(ie))}function inferTypeParameters(N,R,j){if(N===j){return[R]}else if(N.flags&3145728){return E.flatMap(N.types,(function(E){return inferTypeParameters(E,R,j)}))}else if(E.getObjectFlags(N)&4&&E.getObjectFlags(R)&4){var $=q.getTypeArguments(N);var G=q.getTypeArguments(R);var ie=[];if($&&G){for(var ae=0;ae<$.length;ae++){if(G[ae]){ie.push.apply(ie,inferTypeParameters($[ae],G[ae],j))}}}return ie}var ce=q.getSignaturesOfType(N,0);var le=q.getSignaturesOfType(R,0);if(ce.length===1&&le.length===1){return inferFromSignatures(ce[0],le[0],j)}return[]}function inferFromSignatures(N,R,j){var $=[];for(var G=0;G<N.parameters.length;G++){var ie=N.parameters[G];var ae=R.parameters[G];var ce=N.declaration&&E.isRestParameter(N.declaration.parameters[G]);if(!ae){break}var le=ie.valueDeclaration?q.getTypeOfSymbolAtLocation(ie,ie.valueDeclaration):q.getAnyType();var _e=ce&&q.getElementTypeOfArrayType(le);if(_e){le=_e}var Ee=ae.type||(ae.valueDeclaration?q.getTypeOfSymbolAtLocation(ae,ae.valueDeclaration):q.getAnyType());$.push.apply($,inferTypeParameters(le,Ee,j))}var Te=q.getReturnTypeOfSignature(N);var we=q.getReturnTypeOfSignature(R);$.push.apply($,inferTypeParameters(Te,we,j));return $}function getFunctionFromCalls(N){return q.createAnonymousType(undefined,E.createSymbolTable(),[getSignatureFromCalls(N)],E.emptyArray,E.emptyArray)}function getSignatureFromCalls(N){var R=[];var j=Math.max.apply(Math,N.map((function(E){return E.argumentTypes.length})));var _loop_15=function(j){var $=q.createSymbol(1,E.escapeLeadingUnderscores("arg"+j));$.type=combineTypes(N.map((function(E){return E.argumentTypes[j]||q.getUndefinedType()})));if(N.some((function(E){return E.argumentTypes[j]===undefined}))){$.flags|=16777216}R.push($)};for(var $=0;$<j;$++){_loop_15($)}var G=combineFromUsage(combineUsages(N.map((function(E){return E.return_}))));return q.createSignature(undefined,undefined,undefined,R,G,undefined,j,0)}function addCandidateType(E,N){if(N&&!(N.flags&1)&&!(N.flags&131072)){(E.candidateTypes||(E.candidateTypes=[])).push(N)}}function addCandidateThisType(E,N){if(N&&!(N.flags&1)&&!(N.flags&131072)){(E.candidateThisTypes||(E.candidateThisTypes=[])).push(N)}}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixReturnTypeInAsyncFunction";var j=[E.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code];N.registerCodeFix({errorCodes:j,fixIds:[R],getCodeActions:function(j){var $=j.sourceFile,q=j.program,G=j.span;var ie=q.getTypeChecker();var ae=getInfo($,q.getTypeChecker(),G.start);if(!ae){return undefined}var ce=ae.returnTypeNode,le=ae.returnType,_e=ae.promisedTypeNode,Ee=ae.promisedType;var Te=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ce,_e)}));return[N.createCodeFixAction(R,Te,[E.Diagnostics.Replace_0_with_Promise_1,ie.typeToString(le),ie.typeToString(Ee)],R,E.Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=getInfo(R.file,E.program.getTypeChecker(),R.start);if(j){doChange(N,R.file,j.returnTypeNode,j.promisedTypeNode)}}))}});function getInfo(N,R,j){if(E.isInJSFile(N)){return undefined}var $=E.getTokenAtPosition(N,j);var q=E.findAncestor($,E.isFunctionLikeDeclaration);var G=q===null||q===void 0?void 0:q.type;if(!G){return undefined}var ie=R.getTypeFromTypeNode(G);var ae=R.getAwaitedType(ie)||R.getVoidType();var ce=R.typeToTypeNode(ae,G,undefined);if(ce){return{returnTypeNode:G,returnType:ie,promisedTypeNode:ce,promisedType:ae}}}function doChange(N,R,j,$){N.replaceNode(R,j,E.factory.createTypeReferenceNode("Promise",[$]))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="disableJsDiagnostics";var j="disableJsDiagnostics";var $=E.mapDefined(Object.keys(E.Diagnostics),(function(N){var R=E.Diagnostics[N];return R.category===E.DiagnosticCategory.Error?R.code:undefined}));N.registerCodeFix({errorCodes:$,getCodeActions:function($){var q=$.sourceFile,G=$.program,ie=$.span,ae=$.host,ce=$.formatContext;if(!E.isInJSFile(q)||!E.isCheckJsEnabledForFile(q,G.getCompilerOptions())){return undefined}var le=q.checkJsDirective?"":E.getNewLineOrDefaultFromHost(ae,ce.options);var _e=[N.createCodeFixActionWithoutFixAll(R,[N.createFileTextChanges(q.fileName,[E.createTextChange(q.checkJsDirective?E.createTextSpanFromBounds(q.checkJsDirective.pos,q.checkJsDirective.end):E.createTextSpan(0,0),"// @ts-nocheck"+le)])],E.Diagnostics.Disable_checking_for_this_file)];if(E.textChanges.isValidLocationToAddComment(q,ie.start)){_e.unshift(N.createCodeFixAction(R,E.textChanges.ChangeTracker.with($,(function(E){return makeChange(E,q,ie.start)})),E.Diagnostics.Ignore_this_error_message,j,E.Diagnostics.Add_ts_ignore_to_all_error_messages))}return _e},fixIds:[j],getAllCodeActions:function(R){var j=new E.Set;return N.codeFixAll(R,$,(function(N,R){if(E.textChanges.isValidLocationToAddComment(R.file,R.start)){makeChange(N,R.file,R.start,j)}}))}});function makeChange(N,R,j,$){var q=E.getLineAndCharacterOfPosition(R,j).line;if(!$||E.tryAddToSet($,q)){N.insertCommentBeforeLine(R,q,j," @ts-ignore")}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function createMissingMemberNodes(E,N,R,j,$,q,G){var ie=E.symbol.members;for(var ae=0,ce=N;ae<ce.length;ae++){var le=ce[ae];if(!ie.has(le.escapedName)){addNewNodeForMemberSymbol(le,E,R,j,$,q,G)}}}N.createMissingMemberNodes=createMissingMemberNodes;function getNoopSymbolTrackerWithResolver(N){return{trackSymbol:function(){return false},moduleResolverHost:E.getModuleSpecifierResolverHost(N.program,N.host)}}N.getNoopSymbolTrackerWithResolver=getNoopSymbolTrackerWithResolver;function addNewNodeForMemberSymbol(N,R,j,$,q,G,ie){var ae=N.getDeclarations();if(!(ae&&ae.length)){return undefined}var ce=$.program.getTypeChecker();var le=E.getEmitScriptTarget($.program.getCompilerOptions());var _e=ae[0];var Ee=E.getSynthesizedDeepClone(E.getNameOfDeclaration(_e),false);var Te=createVisibilityModifier(E.getEffectiveModifierFlags(_e));var we=Te?E.factory.createNodeArray([Te]):undefined;var Ie=ce.getWidenedType(ce.getTypeOfSymbolAtLocation(N,R));var Ne=!!(N.flags&16777216);var Me=!!(R.flags&8388608);var Le=E.getQuotePreference(j,q);switch(_e.kind){case 164:case 165:var Be=Le===0?268435456:undefined;var je=ce.typeToTypeNode(Ie,R,Be,getNoopSymbolTrackerWithResolver($));if(G){var Ue=tryGetAutoImportableReferenceFromTypeNode(je,le);if(Ue){je=Ue.typeNode;importSymbols(G,Ue.symbols)}}ie(E.factory.createPropertyDeclaration(undefined,we,Ee,Ne?E.factory.createToken(57):undefined,je,undefined));break;case 170:case 171:{var ze=ce.typeToTypeNode(Ie,R,undefined,getNoopSymbolTrackerWithResolver($));var We=E.getAllAccessorDeclarations(ae,_e);var Je=We.secondAccessor?[We.firstAccessor,We.secondAccessor]:[We.firstAccessor];if(G){var Ue=tryGetAutoImportableReferenceFromTypeNode(ze,le);if(Ue){ze=Ue.typeNode;importSymbols(G,Ue.symbols)}}for(var Ve=0,qe=Je;Ve<qe.length;Ve++){var He=qe[Ve];if(E.isGetAccessorDeclaration(He)){ie(E.factory.createGetAccessorDeclaration(undefined,we,Ee,E.emptyArray,ze,Me?undefined:createStubbedMethodBody(Le)))}else{E.Debug.assertNode(He,E.isSetAccessorDeclaration,"The counterpart to a getter should be a setter");var Ge=E.getSetAccessorValueParameter(He);var Ke=Ge&&E.isIdentifier(Ge.name)?E.idText(Ge.name):undefined;ie(E.factory.createSetAccessorDeclaration(undefined,we,Ee,createDummyParameters(1,[Ke],[ze],1,false),Me?undefined:createStubbedMethodBody(Le)))}}break}case 166:case 167:var Qe=ce.getSignaturesOfType(Ie,0);if(!E.some(Qe)){break}if(ae.length===1){E.Debug.assert(Qe.length===1,"One declaration implies one signature");var Xe=Qe[0];outputMethod(Le,Xe,we,Ee,Me?undefined:createStubbedMethodBody(Le));break}for(var Ye=0,Ze=Qe;Ye<Ze.length;Ye++){var Xe=Ze[Ye];outputMethod(Le,Xe,E.getSynthesizedDeepClones(we,false),E.getSynthesizedDeepClone(Ee,false))}if(!Me){if(ae.length>Qe.length){var Xe=ce.getSignatureFromDeclaration(ae[ae.length-1]);outputMethod(Le,Xe,we,Ee,createStubbedMethodBody(Le))}else{E.Debug.assert(ae.length===Qe.length,"Declarations and signatures should match count");ie(createMethodImplementingSignatures(ce,$,R,Qe,Ee,Ne,we,Le))}}break}function outputMethod(E,N,j,q,ae){var ce=createSignatureDeclarationFromSignature(167,$,E,N,ae,q,j,Ne,R,G);if(ce)ie(ce)}}function createSignatureDeclarationFromSignature(N,R,j,$,q,G,ie,ae,ce,le){var _e=R.program;var Ee=_e.getTypeChecker();var Te=E.getEmitScriptTarget(_e.getCompilerOptions());var we=1|1073741824|256|(j===0?268435456:0);var Ie=Ee.signatureToSignatureDeclaration($,N,ce,we,getNoopSymbolTrackerWithResolver(R));if(!Ie){return undefined}var Ne=Ie.typeParameters;var Me=Ie.parameters;var Le=Ie.type;if(le){if(Ne){var Be=E.sameMap(Ne,(function(N){var R=N.constraint;var j=N.default;if(R){var $=tryGetAutoImportableReferenceFromTypeNode(R,Te);if($){R=$.typeNode;importSymbols(le,$.symbols)}}if(j){var $=tryGetAutoImportableReferenceFromTypeNode(j,Te);if($){j=$.typeNode;importSymbols(le,$.symbols)}}return E.factory.updateTypeParameterDeclaration(N,N.name,R,j)}));if(Ne!==Be){Ne=E.setTextRange(E.factory.createNodeArray(Be,Ne.hasTrailingComma),Ne)}}var je=E.sameMap(Me,(function(N){var R=tryGetAutoImportableReferenceFromTypeNode(N.type,Te);var j=N.type;if(R){j=R.typeNode;importSymbols(le,R.symbols)}return E.factory.updateParameterDeclaration(N,N.decorators,N.modifiers,N.dotDotDotToken,N.name,N.questionToken,j,N.initializer)}));if(Me!==je){Me=E.setTextRange(E.factory.createNodeArray(je,Me.hasTrailingComma),Me)}if(Le){var Ue=tryGetAutoImportableReferenceFromTypeNode(Le,Te);if(Ue){Le=Ue.typeNode;importSymbols(le,Ue.symbols)}}}var ze=ae?E.factory.createToken(57):undefined;var We=Ie.asteriskToken;if(E.isFunctionExpression(Ie)){return E.factory.updateFunctionExpression(Ie,ie,Ie.asteriskToken,E.tryCast(G,E.isIdentifier),Ne,Me,Le,q!==null&&q!==void 0?q:Ie.body)}if(E.isArrowFunction(Ie)){return E.factory.updateArrowFunction(Ie,ie,Ne,Me,Le,Ie.equalsGreaterThanToken,q!==null&&q!==void 0?q:Ie.body)}if(E.isMethodDeclaration(Ie)){return E.factory.updateMethodDeclaration(Ie,undefined,ie,We,G!==null&&G!==void 0?G:E.factory.createIdentifier(""),ze,Ne,Me,Le,q)}return undefined}N.createSignatureDeclarationFromSignature=createSignatureDeclarationFromSignature;function createSignatureDeclarationFromCallExpression(N,R,j,$,q,G,ie){var ae=E.getQuotePreference(R.sourceFile,R.preferences);var ce=E.getEmitScriptTarget(R.program.getCompilerOptions());var le=getNoopSymbolTrackerWithResolver(R);var _e=R.program.getTypeChecker();var Ee=E.isInJSFile(ie);var Te=$.typeArguments,we=$.arguments,Ie=$.parent;var Ne=Ee?undefined:_e.getContextualType($);var Me=E.map(we,(function(N){return E.isIdentifier(N)?N.text:E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)?N.name.text:undefined}));var Le=Ee?[]:E.map(we,(function(E){return typeToAutoImportableTypeNode(_e,j,_e.getBaseTypeOfLiteralType(_e.getTypeAtLocation(E)),ie,ce,undefined,le)}));var Be=G?E.factory.createNodeArray(E.factory.createModifiersFromModifierFlags(G)):undefined;var je=E.isYieldExpression(Ie)?E.factory.createToken(41):undefined;var Ue=Ee||Te===undefined?undefined:E.map(Te,(function(N,R){return E.factory.createTypeParameterDeclaration(84+Te.length-1<=90?String.fromCharCode(84+R):"T"+R)}));var ze=createDummyParameters(we.length,Me,Le,undefined,Ee);var We=Ee||Ne===undefined?undefined:_e.typeToTypeNode(Ne,ie,undefined,le);if(N===167){return E.factory.createMethodDeclaration(undefined,Be,je,q,undefined,Ue,ze,We,E.isInterfaceDeclaration(ie)?undefined:createStubbedMethodBody(ae))}return E.factory.createFunctionDeclaration(undefined,Be,je,q,Ue,ze,We,createStubbedBody(E.Diagnostics.Function_not_implemented.message,ae))}N.createSignatureDeclarationFromCallExpression=createSignatureDeclarationFromCallExpression;function typeToAutoImportableTypeNode(N,R,j,$,q,G,ie){var ae=N.typeToTypeNode(j,$,G,ie);if(ae&&E.isImportTypeNode(ae)){var ce=tryGetAutoImportableReferenceFromTypeNode(ae,q);if(ce){importSymbols(R,ce.symbols);ae=ce.typeNode}}return E.getSynthesizedDeepClone(ae)}N.typeToAutoImportableTypeNode=typeToAutoImportableTypeNode;function createDummyParameters(N,R,j,$,q){var G=[];for(var ie=0;ie<N;ie++){var ae=E.factory.createParameterDeclaration(undefined,undefined,undefined,R&&R[ie]||"arg"+ie,$!==undefined&&ie>=$?E.factory.createToken(57):undefined,q?undefined:j&&j[ie]||E.factory.createKeywordTypeNode(129),undefined);G.push(ae)}return G}function createMethodImplementingSignatures(N,R,j,$,q,G,ie,ae){var ce=$[0];var le=$[0].minArgumentCount;var _e=false;for(var Ee=0,Te=$;Ee<Te.length;Ee++){var we=Te[Ee];le=Math.min(we.minArgumentCount,le);if(E.signatureHasRestParameter(we)){_e=true}if(we.parameters.length>=ce.parameters.length&&(!E.signatureHasRestParameter(we)||E.signatureHasRestParameter(ce))){ce=we}}var Ie=ce.parameters.length-(E.signatureHasRestParameter(ce)?1:0);var Ne=ce.parameters.map((function(E){return E.name}));var Me=createDummyParameters(Ie,Ne,undefined,le,false);if(_e){var Le=E.factory.createArrayTypeNode(E.factory.createKeywordTypeNode(129));var Be=E.factory.createParameterDeclaration(undefined,undefined,E.factory.createToken(25),Ne[Ie]||"rest",Ie>=le?E.factory.createToken(57):undefined,Le,undefined);Me.push(Be)}return createStubbedMethod(ie,q,G,undefined,Me,getReturnTypeFromSignatures($,N,R,j),ae)}function getReturnTypeFromSignatures(N,R,j,$){if(E.length(N)){var q=R.getUnionType(E.map(N,R.getReturnTypeOfSignature));return R.typeToTypeNode(q,$,undefined,getNoopSymbolTrackerWithResolver(j))}}function createStubbedMethod(N,R,j,$,q,G,ie){return E.factory.createMethodDeclaration(undefined,N,undefined,R,j?E.factory.createToken(57):undefined,$,q,G,createStubbedMethodBody(ie))}function createStubbedMethodBody(N){return createStubbedBody(E.Diagnostics.Method_not_implemented.message,N)}function createStubbedBody(N,R){return E.factory.createBlock([E.factory.createThrowStatement(E.factory.createNewExpression(E.factory.createIdentifier("Error"),undefined,[E.factory.createStringLiteral(N,R===0)]))],true)}N.createStubbedBody=createStubbedBody;function createVisibilityModifier(N){if(N&4){return E.factory.createToken(123)}else if(N&16){return E.factory.createToken(122)}return undefined}function setJsonCompilerOptionValues(N,R,j){var $=E.getTsConfigObjectLiteralExpression(R);if(!$)return undefined;var q=findJsonProperty($,"compilerOptions");if(q===undefined){N.insertNodeAtObjectStart(R,$,createJsonPropertyAssignment("compilerOptions",E.factory.createObjectLiteralExpression(j.map((function(E){var N=E[0],R=E[1];return createJsonPropertyAssignment(N,R)})),true)));return}var G=q.initializer;if(!E.isObjectLiteralExpression(G)){return}for(var ie=0,ae=j;ie<ae.length;ie++){var ce=ae[ie],le=ce[0],_e=ce[1];var Ee=findJsonProperty(G,le);if(Ee===undefined){N.insertNodeAtObjectStart(R,G,createJsonPropertyAssignment(le,_e))}else{N.replaceNode(R,Ee.initializer,_e)}}}N.setJsonCompilerOptionValues=setJsonCompilerOptionValues;function setJsonCompilerOptionValue(E,N,R,j){setJsonCompilerOptionValues(E,N,[[R,j]])}N.setJsonCompilerOptionValue=setJsonCompilerOptionValue;function createJsonPropertyAssignment(N,R){return E.factory.createPropertyAssignment(E.factory.createStringLiteral(N),R)}N.createJsonPropertyAssignment=createJsonPropertyAssignment;function findJsonProperty(N,R){return E.find(N.properties,(function(N){return E.isPropertyAssignment(N)&&!!N.name&&E.isStringLiteral(N.name)&&N.name.text===R}))}N.findJsonProperty=findJsonProperty;function tryGetAutoImportableReferenceFromTypeNode(N,R){var j;var $=E.visitNode(N,visit);if(j&&$){return{typeNode:$,symbols:j}}function visit(N){var $;if(E.isLiteralImportTypeNode(N)&&N.qualifier){var q=E.getFirstIdentifier(N.qualifier);var G=E.getNameForExportedSymbol(q.symbol,R);var ie=G!==q.text?replaceFirstIdentifierOfEntityName(N.qualifier,E.factory.createIdentifier(G)):N.qualifier;j=E.append(j,q.symbol);var ae=($=N.typeArguments)===null||$===void 0?void 0:$.map(visit);return E.factory.createTypeReferenceNode(ie,ae)}return E.visitEachChild(N,visit,E.nullTransformationContext)}}N.tryGetAutoImportableReferenceFromTypeNode=tryGetAutoImportableReferenceFromTypeNode;function replaceFirstIdentifierOfEntityName(N,R){if(N.kind===79){return R}return E.factory.createQualifiedName(replaceFirstIdentifierOfEntityName(N.left,R),N.right)}function importSymbols(E,N){N.forEach((function(N){return E.addImportFromExportedSymbol(N,true)}))}N.importSymbols=importSymbols})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function generateAccessorFromProperty(N,R,j,$,q,G){var ie=getAccessorConvertiblePropertyAtPosition(N,R,j,$);if(!ie||E.refactor.isRefactorErrorInfo(ie))return undefined;var ae=E.textChanges.ChangeTracker.fromContext(q);var ce=ie.isStatic,le=ie.isReadonly,_e=ie.fieldName,Ee=ie.accessorName,Te=ie.originalName,we=ie.type,Ie=ie.container,Ne=ie.declaration;E.suppressLeadingAndTrailingTrivia(_e);E.suppressLeadingAndTrailingTrivia(Ee);E.suppressLeadingAndTrailingTrivia(Ne);E.suppressLeadingAndTrailingTrivia(Ie);var Me;var Le;if(E.isClassLike(Ie)){var Be=E.getEffectiveModifierFlags(Ne);if(E.isSourceFileJS(N)){var je=E.createModifiers(Be);Me=je;Le=je}else{Me=E.createModifiers(prepareModifierFlagsForAccessor(Be));Le=E.createModifiers(prepareModifierFlagsForField(Be))}}updateFieldDeclaration(ae,N,Ne,we,_e,Le);var Ue=generateGetAccessor(_e,Ee,we,Me,ce,Ie);E.suppressLeadingAndTrailingTrivia(Ue);insertAccessor(ae,N,Ue,Ne,Ie);if(le){var ze=E.getFirstConstructorWithBody(Ie);if(ze){updateReadonlyPropertyInitializerStatementConstructor(ae,N,ze,_e.text,Te)}}else{var We=generateSetAccessor(_e,Ee,we,Me,ce,Ie);E.suppressLeadingAndTrailingTrivia(We);insertAccessor(ae,N,We,Ne,Ie)}return ae.getChanges()}N.generateAccessorFromProperty=generateAccessorFromProperty;function isConvertibleName(N){return E.isIdentifier(N)||E.isStringLiteral(N)}function isAcceptedDeclaration(N){return E.isParameterPropertyDeclaration(N,N.parent)||E.isPropertyDeclaration(N)||E.isPropertyAssignment(N)}function createPropertyName(N,R){return E.isIdentifier(R)?E.factory.createIdentifier(N):E.factory.createStringLiteral(N)}function createAccessorAccessExpression(N,R,j){var $=R?j.name:E.factory.createThis();return E.isIdentifier(N)?E.factory.createPropertyAccessExpression($,N):E.factory.createElementAccessExpression($,E.factory.createStringLiteralFromNode(N))}function prepareModifierFlagsForAccessor(E){E&=~64;E&=~8;if(!(E&16)){E|=4}return E}function prepareModifierFlagsForField(E){E&=~4;E&=~16;E|=8;return E}function getAccessorConvertiblePropertyAtPosition(N,R,j,$,q){if(q===void 0){q=true}var G=E.getTokenAtPosition(N,j);var ie=j===$&&q;var ae=E.findAncestor(G.parent,isAcceptedDeclaration);var ce=28|32|64;if(!ae||!(E.nodeOverlapsWithStartEnd(ae.name,N,j,$)||ie)){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_property_for_which_to_generate_accessor)}}if(!isConvertibleName(ae.name)){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Name_is_not_valid)}}if((E.getEffectiveModifierFlags(ae)|ce)!==ce){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_property_with_modifier)}}var le=ae.name.text;var _e=E.startsWithUnderscore(le);var Ee=createPropertyName(_e?le:E.getUniqueName("_"+le,N),ae.name);var Te=createPropertyName(_e?E.getUniqueName(le.substring(1),N):le,ae.name);return{isStatic:E.hasStaticModifier(ae),isReadonly:E.hasEffectiveReadonlyModifier(ae),type:getDeclarationType(ae,R),container:ae.kind===162?ae.parent.parent:ae.parent,originalName:ae.name.text,declaration:ae,fieldName:Ee,accessorName:Te,renameAccessor:_e}}N.getAccessorConvertiblePropertyAtPosition=getAccessorConvertiblePropertyAtPosition;function generateGetAccessor(N,R,j,$,q,G){return E.factory.createGetAccessorDeclaration(undefined,$,R,undefined,j,E.factory.createBlock([E.factory.createReturnStatement(createAccessorAccessExpression(N,q,G))],true))}function generateSetAccessor(N,R,j,$,q,G){return E.factory.createSetAccessorDeclaration(undefined,$,R,[E.factory.createParameterDeclaration(undefined,undefined,undefined,E.factory.createIdentifier("value"),undefined,j)],E.factory.createBlock([E.factory.createExpressionStatement(E.factory.createAssignment(createAccessorAccessExpression(N,q,G),E.factory.createIdentifier("value")))],true))}function updatePropertyDeclaration(N,R,j,$,q,G){var ie=E.factory.updatePropertyDeclaration(j,j.decorators,G,q,j.questionToken||j.exclamationToken,$,j.initializer);N.replaceNode(R,j,ie)}function updatePropertyAssignmentDeclaration(N,R,j,$){var q=E.factory.updatePropertyAssignment(j,$,j.initializer);N.replacePropertyAssignment(R,j,q)}function updateFieldDeclaration(N,R,j,$,q,G){if(E.isPropertyDeclaration(j)){updatePropertyDeclaration(N,R,j,$,q,G)}else if(E.isPropertyAssignment(j)){updatePropertyAssignmentDeclaration(N,R,j,q)}else{N.replaceNode(R,j,E.factory.updateParameterDeclaration(j,j.decorators,G,j.dotDotDotToken,E.cast(q,E.isIdentifier),j.questionToken,j.type,j.initializer))}}function insertAccessor(N,R,j,$,q){E.isParameterPropertyDeclaration($,$.parent)?N.insertNodeAtClassStart(R,q,j):E.isPropertyAssignment($)?N.insertNodeAfterComma(R,$,j):N.insertNodeAfter(R,$,j)}function updateReadonlyPropertyInitializerStatementConstructor(N,R,j,$,q){if(!j.body)return;j.body.forEachChild((function recur(j){if(E.isElementAccessExpression(j)&&j.expression.kind===108&&E.isStringLiteral(j.argumentExpression)&&j.argumentExpression.text===q&&E.isWriteAccess(j)){N.replaceNode(R,j.argumentExpression,E.factory.createStringLiteral($))}if(E.isPropertyAccessExpression(j)&&j.expression.kind===108&&j.name.text===q&&E.isWriteAccess(j)){N.replaceNode(R,j.name,E.factory.createIdentifier($))}if(!E.isFunctionLike(j)&&!E.isClassLike(j)){j.forEachChild(recur)}}))}function getDeclarationType(N,R){var $=E.getTypeAnnotationNode(N);if(E.isPropertyDeclaration(N)&&$&&N.questionToken){var q=R.getTypeChecker();var G=q.getTypeFromTypeNode($);if(!q.isTypeAssignableTo(q.getUndefinedType(),G)){var ie=E.isUnionTypeNode($)?$.types:[$];return E.factory.createUnionTypeNode(j(j([],ie,true),[E.factory.createKeywordTypeNode(151)],false))}}return $}function getAllSupers(N,R){var j=[];while(N){var $=E.getClassExtendsHeritageElement(N);var q=$&&R.getSymbolAtLocation($.expression);if(!q)break;var G=q.flags&2097152?R.getAliasedSymbol(q):q;var ie=G.declarations&&E.find(G.declarations,E.isClassLike);if(!ie)break;j.push(ie);N=ie}return j}N.getAllSupers=getAllSupers})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="invalidImportSyntax";function getCodeFixesForImportDeclaration(N,R){var j=E.getSourceFileOfNode(R);var $=E.getNamespaceDeclarationNode(R);var q=N.program.getCompilerOptions();var G=[];G.push(createAction(N,j,R,E.makeImport($.name,undefined,R.moduleSpecifier,E.getQuotePreference(j,N.preferences))));if(E.getEmitModuleKind(q)===E.ModuleKind.CommonJS){G.push(createAction(N,j,R,E.factory.createImportEqualsDeclaration(undefined,undefined,false,$.name,E.factory.createExternalModuleReference(R.moduleSpecifier))))}return G}function createAction(j,$,q,G){var ie=E.textChanges.ChangeTracker.with(j,(function(E){return E.replaceNode($,q,G)}));return N.createCodeFixActionWithoutFixAll(R,ie,[E.Diagnostics.Replace_import_with_0,ie[0].textChanges[0].newText])}N.registerCodeFix({errorCodes:[E.Diagnostics.This_expression_is_not_callable.code,E.Diagnostics.This_expression_is_not_constructable.code],getCodeActions:getActionsForUsageOfInvalidImport});function getActionsForUsageOfInvalidImport(N){var R=N.sourceFile;var j=E.Diagnostics.This_expression_is_not_callable.code===N.errorCode?206:207;var $=E.findAncestor(E.getTokenAtPosition(R,N.span.start),(function(E){return E.kind===j}));if(!$){return[]}var q=$.expression;return getImportCodeFixesForExpression(N,q)}N.registerCodeFix({errorCodes:[E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,E.Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,E.Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,E.Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,E.Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3.code,E.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,E.Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,E.Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,E.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:getActionsForInvalidImportLocation});function getActionsForInvalidImportLocation(N){var R=N.sourceFile;var j=E.findAncestor(E.getTokenAtPosition(R,N.span.start),(function(E){return E.getStart()===N.span.start&&E.getEnd()===N.span.start+N.span.length}));if(!j){return[]}return getImportCodeFixesForExpression(N,j)}function getImportCodeFixesForExpression(j,$){var q=j.program.getTypeChecker().getTypeAtLocation($);if(!(q.symbol&&q.symbol.originatingImport)){return[]}var G=[];var ie=q.symbol.originatingImport;if(!E.isImportCall(ie)){E.addRange(G,getCodeFixesForImportDeclaration(j,ie))}if(E.isExpression($)&&!(E.isNamedDeclaration($.parent)&&$.parent.name===$)){var ae=j.sourceFile;var ce=E.textChanges.ChangeTracker.with(j,(function(N){return N.replaceNode(ae,$,E.factory.createPropertyAccessExpression($,"default"),{})}));G.push(N.createCodeFixActionWithoutFixAll(R,ce,E.Diagnostics.Use_synthetic_default_member))}return G}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="strictClassInitialization";var j="addMissingPropertyDefiniteAssignmentAssertions";var $="addMissingPropertyUndefinedType";var q="addMissingPropertyInitializer";var G=[E.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];N.registerCodeFix({errorCodes:G,getCodeActions:function(N){var R=getPropertyDeclaration(N.sourceFile,N.span.start);if(!R)return;var j=[getActionForAddMissingUndefinedType(N,R),getActionForAddMissingDefiniteAssignmentAssertion(N,R)];E.append(j,getActionForAddMissingInitializer(N,R));return j},fixIds:[j,$,q],getAllCodeActions:function(R){return N.codeFixAll(R,G,(function(N,G){var ie=getPropertyDeclaration(G.file,G.start);if(!ie)return;switch(R.fixId){case j:addDefiniteAssignmentAssertion(N,G.file,ie);break;case $:addUndefinedType(N,G.file,ie);break;case q:var ae=R.program.getTypeChecker();var ce=getInitializer(ae,ie);if(!ce)return;addInitializer(N,G.file,ie,ce);break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function getPropertyDeclaration(N,R){var j=E.getTokenAtPosition(N,R);return E.isIdentifier(j)?E.cast(j.parent,E.isPropertyDeclaration):undefined}function getActionForAddMissingDefiniteAssignmentAssertion($,q){var G=E.textChanges.ChangeTracker.with($,(function(E){return addDefiniteAssignmentAssertion(E,$.sourceFile,q)}));return N.createCodeFixAction(R,G,[E.Diagnostics.Add_definite_assignment_assertion_to_property_0,q.getText()],j,E.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function addDefiniteAssignmentAssertion(N,R,j){var $=E.factory.updatePropertyDeclaration(j,j.decorators,j.modifiers,j.name,E.factory.createToken(53),j.type,j.initializer);N.replaceNode(R,j,$)}function getActionForAddMissingUndefinedType(j,q){var G=E.textChanges.ChangeTracker.with(j,(function(E){return addUndefinedType(E,j.sourceFile,q)}));return N.createCodeFixAction(R,G,[E.Diagnostics.Add_undefined_type_to_property_0,q.name.getText()],$,E.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)}function addUndefinedType(N,R,j){var $=E.factory.createKeywordTypeNode(151);var q=j.type;var G=E.isUnionTypeNode(q)?q.types.concat($):[q,$];N.replaceNode(R,q,E.factory.createUnionTypeNode(G))}function getActionForAddMissingInitializer(j,$){var G=j.program.getTypeChecker();var ie=getInitializer(G,$);if(!ie)return undefined;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return addInitializer(E,j.sourceFile,$,ie)}));return N.createCodeFixAction(R,ae,[E.Diagnostics.Add_initializer_to_property_0,$.name.getText()],q,E.Diagnostics.Add_initializers_to_all_uninitialized_properties)}function addInitializer(N,R,j,$){var q=E.factory.updatePropertyDeclaration(j,j.decorators,j.modifiers,j.name,j.questionToken,j.type,$);N.replaceNode(R,j,q)}function getInitializer(E,N){return getDefaultValueFromType(E,E.getTypeFromTypeNode(N.type))}function getDefaultValueFromType(N,R){if(R.flags&512){return R===N.getFalseType()||R===N.getFalseType(true)?E.factory.createFalse():E.factory.createTrue()}else if(R.isStringLiteral()){return E.factory.createStringLiteral(R.value)}else if(R.isNumberLiteral()){return E.factory.createNumericLiteral(R.value)}else if(R.flags&2048){return E.factory.createBigIntLiteral(R.value)}else if(R.isUnion()){return E.firstDefined(R.types,(function(E){return getDefaultValueFromType(N,E)}))}else if(R.isClass()){var j=E.getClassLikeDeclarationOfSymbol(R.symbol);if(!j||E.hasSyntacticModifier(j,128))return undefined;var $=E.getFirstConstructorWithBody(j);if($&&$.parameters.length)return undefined;return E.factory.createNewExpression(E.factory.createIdentifier(R.symbol.name),undefined,undefined)}else if(N.isArrayLikeType(R)){return E.factory.createArrayLiteralExpression()}return undefined}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="requireInTs";var j=[E.Diagnostics.require_call_may_be_converted_to_an_import.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=getInfo(j.sourceFile,j.program,j.span.start);if(!$){return undefined}var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,$)}));return[N.createCodeFixAction(R,q,E.Diagnostics.Convert_require_to_import,R,E.Diagnostics.Convert_all_require_to_import)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=getInfo(R.file,E.program,R.start);if(j){doChange(N,E.sourceFile,j)}}))}});function doChange(N,R,j){var $=j.allowSyntheticDefaults,q=j.defaultImportName,G=j.namedImports,ie=j.statement,ae=j.required;N.replaceNode(R,ie,q&&!$?E.factory.createImportEqualsDeclaration(undefined,undefined,false,q,E.factory.createExternalModuleReference(ae)):E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(false,q,G),ae))}function getInfo(N,R,j){var $=E.getTokenAtPosition(N,j).parent;if(!E.isRequireCall($,true)){throw E.Debug.failBadSyntaxKind($)}var q=E.cast($.parent,E.isVariableDeclaration);var G=E.tryCast(q.name,E.isIdentifier);var ie=E.isObjectBindingPattern(q.name)?tryCreateNamedImportsFromObjectBindingPattern(q.name):undefined;if(G||ie){return{allowSyntheticDefaults:E.getAllowSyntheticDefaultImports(R.getCompilerOptions()),defaultImportName:G,namedImports:ie,statement:E.cast(q.parent.parent,E.isVariableStatement),required:E.first($.arguments)}}}function tryCreateNamedImportsFromObjectBindingPattern(N){var R=[];for(var j=0,$=N.elements;j<$.length;j++){var q=$[j];if(!E.isIdentifier(q.name)||q.initializer){return undefined}R.push(E.factory.createImportSpecifier(E.tryCast(q.propertyName,E.isIdentifier),q.name))}if(R.length){return E.factory.createNamedImports(R)}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="useDefaultImport";var j=[E.Diagnostics.Import_may_be_converted_to_a_default_import.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span.start;var G=getInfo($,q);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G,j.preferences)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Convert_to_default_import,R,E.Diagnostics.Convert_all_to_default_imports)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=getInfo(R.file,R.start);if(j)doChange(N,R.file,j,E.preferences)}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);if(!E.isIdentifier(j))return undefined;var $=j.parent;if(E.isImportEqualsDeclaration($)&&E.isExternalModuleReference($.moduleReference)){return{importNode:$,name:j,moduleSpecifier:$.moduleReference.expression}}else if(E.isNamespaceImport($)){var q=$.parent.parent;return{importNode:q,name:j,moduleSpecifier:q.moduleSpecifier}}}function doChange(N,R,j,$){N.replaceNode(R,j.importNode,E.makeImport(j.name,undefined,j.moduleSpecifier,E.getQuotePreference(R,$)))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="useBigintLiteral";var j=[E.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Convert_to_a_bigint_numeric_literal,R,E.Diagnostics.Convert_all_to_bigint_numeric_literals)]}},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N)}))}});function makeChange(N,R,j){var $=E.tryCast(E.getTokenAtPosition(R,j.start),E.isNumericLiteral);if(!$){return}var q=$.getText(R)+"n";N.replaceNode(R,$,E.factory.createBigIntLiteral(q))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixAddModuleReferTypeMissingTypeof";var j=R;var $=[E.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];N.registerCodeFix({errorCodes:$,getCodeActions:function(R){var $=R.sourceFile,q=R.span;var G=getImportTypeNode($,q.start);var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(j,ie,E.Diagnostics.Add_missing_typeof,j,E.Diagnostics.Add_missing_typeof)]},fixIds:[j],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return doChange(N,E.sourceFile,getImportTypeNode(R.file,R.start))}))}});function getImportTypeNode(N,R){var j=E.getTokenAtPosition(N,R);E.Debug.assert(j.kind===100,"This token should be an ImportKeyword");E.Debug.assert(j.parent.kind===198,"Token parent should be an ImportType");return j.parent}function doChange(N,R,j){var $=E.factory.updateImportTypeNode(j,j.argument,j.qualifier,j.typeArguments,true);N.replaceNode(R,j,$)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="wrapJsxInFragment";var j=[E.Diagnostics.JSX_expressions_must_have_one_parent_element.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=findNodeToFix($,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Wrap_in_JSX_fragment,R,E.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=findNodeToFix(E.sourceFile,R.start);if(!j)return undefined;doChange(N,E.sourceFile,j)}))}});function findNodeToFix(N,R){var j=E.getTokenAtPosition(N,R);var $=j.parent;var q=$.parent;if(!E.isBinaryExpression(q)){q=q.parent;if(!E.isBinaryExpression(q))return undefined}if(!E.nodeIsMissing(q.operatorToken))return undefined;return q}function doChange(N,R,j){var $=flattenInvalidBinaryExpr(j);if($)N.replaceNode(R,j,E.factory.createJsxFragment(E.factory.createJsxOpeningFragment(),$,E.factory.createJsxJsxClosingFragment()))}function flattenInvalidBinaryExpr(N){var R=[];var j=N;while(true){if(E.isBinaryExpression(j)&&E.nodeIsMissing(j.operatorToken)&&j.operatorToken.kind===27){R.push(j.left);if(E.isJsxChild(j.right)){R.push(j.right);return R}else if(E.isBinaryExpression(j.right)){j=j.right;continue}else return undefined}else return undefined}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixConvertToMappedObjectType";var $=R;var q=[E.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];N.registerCodeFix({errorCodes:q,getCodeActions:function(R){var j=R.sourceFile,q=R.span;var G=getInfo(j,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(E,j,G)}));var ae=E.idText(G.container.name);return[N.createCodeFixAction($,ie,[E.Diagnostics.Convert_0_to_mapped_object_type,ae],$,[E.Diagnostics.Convert_0_to_mapped_object_type,ae])]},fixIds:[$],getAllCodeActions:function(E){return N.codeFixAll(E,q,(function(E,N){var R=getInfo(N.file,N.start);if(R)doChange(E,N.file,R)}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);var $=E.cast(j.parent.parent,E.isIndexSignatureDeclaration);if(E.isClassDeclaration($.parent))return undefined;var q=E.isInterfaceDeclaration($.parent)?$.parent:E.cast($.parent.parent,E.isTypeAliasDeclaration);return{indexSignature:$,container:q}}function createTypeAliasFromInterface(N,R){return E.factory.createTypeAliasDeclaration(N.decorators,N.modifiers,N.name,N.typeParameters,R)}function doChange(N,R,$){var q=$.indexSignature,G=$.container;var ie=E.isInterfaceDeclaration(G)?G.members:G.type.members;var ae=ie.filter((function(N){return!E.isIndexSignatureDeclaration(N)}));var ce=E.first(q.parameters);var le=E.factory.createTypeParameterDeclaration(E.cast(ce.name,E.isIdentifier),ce.type);var _e=E.factory.createMappedTypeNode(E.hasEffectiveReadonlyModifier(q)?E.factory.createModifier(143):undefined,le,undefined,q.questionToken,q.type);var Ee=E.factory.createIntersectionTypeNode(j(j(j([],E.getAllSuperTypeNodes(G),true),[_e],false),ae.length?[E.factory.createTypeLiteralNode(ae)]:E.emptyArray,true));N.replaceNode(R,G,createTypeAliasFromInterface(G,Ee))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="removeAccidentalCallParentheses";var j=[E.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.findAncestor(E.getTokenAtPosition(j.sourceFile,j.span.start),E.isCallExpression);if(!$){return undefined}var q=E.textChanges.ChangeTracker.with(j,(function(E){E.deleteRange(j.sourceFile,{pos:$.expression.end,end:$.end})}));return[N.createCodeFixActionWithoutFixAll(R,q,E.Diagnostics.Remove_parentheses)]},fixIds:[R]})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="removeUnnecessaryAwait";var j=[E.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Remove_unnecessary_await,R,E.Diagnostics.Remove_all_unnecessary_uses_of_await)]}},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N)}))}});function makeChange(N,R,j){var $=E.tryCast(E.getTokenAtPosition(R,j.start),(function(E){return E.kind===131}));var q=$&&E.tryCast($.parent,E.isAwaitExpression);if(!q){return}var G=q;var ie=E.isParenthesizedExpression(q.parent);if(ie){var ae=E.getLeftmostExpression(q.expression,false);if(E.isIdentifier(ae)){var ce=E.findPrecedingToken(q.parent.pos,R);if(ce&&ce.kind!==103){G=q.parent}}}N.replaceNode(R,G,q.expression)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code];var j="splitTypeOnlyImport";N.registerCodeFix({errorCodes:R,fixIds:[j],getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){return splitTypeOnlyImport(E,getImportDeclaration(R.sourceFile,R.span),R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Split_into_two_separate_import_declarations,j,E.Diagnostics.Split_all_invalid_type_only_imports)]}},getAllCodeActions:function(E){return N.codeFixAll(E,R,(function(N,R){splitTypeOnlyImport(N,getImportDeclaration(E.sourceFile,R),E)}))}});function getImportDeclaration(N,R){return E.findAncestor(E.getTokenAtPosition(N,R.start),E.isImportDeclaration)}function splitTypeOnlyImport(N,R,j){if(!R){return}var $=E.Debug.checkDefined(R.importClause);N.replaceNode(j.sourceFile,R,E.factory.updateImportDeclaration(R,R.decorators,R.modifiers,E.factory.updateImportClause($,$.isTypeOnly,$.name,undefined),R.moduleSpecifier));N.insertNodeAfter(j.sourceFile,R,E.factory.createImportDeclaration(undefined,undefined,E.factory.updateImportClause($,$.isTypeOnly,undefined,$.namedBindings),R.moduleSpecifier))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixConvertConstToLet";var j=[E.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span,G=j.program;var ie=getConstTokenRange($,q.start,G);if(ie===undefined)return;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Convert_const_to_let,R,E.Diagnostics.Convert_const_to_let)]},fixIds:[R]});function getConstTokenRange(N,R,j){var $;var q=j.getTypeChecker();var G=q.getSymbolAtLocation(E.getTokenAtPosition(N,R));var ie=E.tryCast(($=G===null||G===void 0?void 0:G.valueDeclaration)===null||$===void 0?void 0:$.parent,E.isVariableDeclarationList);if(ie===undefined)return;var ae=E.findChildOfKind(ie,85,N);if(ae===undefined)return;return E.createRange(ae.pos,ae.end)}function doChange(E,N,R){E.replaceRangeWithText(N,R,"let")}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixExpectedComma";var j=E.Diagnostics._0_expected.code;var $=[j];N.registerCodeFix({errorCodes:$,getCodeActions:function(j){var $=j.sourceFile;var q=getInfo($,j.span.start,j.errorCode);if(!q){return undefined}var G=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,q)}));return[N.createCodeFixAction(R,G,[E.Diagnostics.Change_0_to_1,";",","],R,[E.Diagnostics.Change_0_to_1,";",","])]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){var j=getInfo(R.file,R.start,R.code);if(j)doChange(N,E.sourceFile,j)}))}});function getInfo(N,R,j){var $=E.getTokenAtPosition(N,R);return $.kind===26&&$.parent&&(E.isObjectLiteralExpression($.parent)||E.isArrayLiteralExpression($.parent))?{node:$}:undefined}function doChange(N,R,j){var $=j.node;var q=E.factory.createToken(27);N.replaceNode(R,$,q)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addVoidToPromise";var j="addVoidToPromise";var $=[E.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];N.registerCodeFix({errorCodes:$,fixIds:[j],getCodeActions:function($){var q=E.textChanges.ChangeTracker.with($,(function(E){return makeChange(E,$.sourceFile,$.span,$.program)}));if(q.length>0){return[N.createCodeFixAction(R,q,E.Diagnostics.Add_void_to_Promise_resolved_without_a_value,j,E.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]}},getAllCodeActions:function(R){return N.codeFixAll(R,$,(function(N,j){return makeChange(N,j.file,j,R.program,new E.Set)}))}});function makeChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j.start);if(!E.isIdentifier(G)||!E.isCallExpression(G.parent)||G.parent.expression!==G||G.parent.arguments.length!==0)return;var ie=$.getTypeChecker();var ae=ie.getSymbolAtLocation(G);var ce=ae===null||ae===void 0?void 0:ae.valueDeclaration;if(!ce||!E.isParameter(ce)||!E.isNewExpression(ce.parent.parent))return;if(q===null||q===void 0?void 0:q.has(ce))return;q===null||q===void 0?void 0:q.add(ce);var le=getEffectiveTypeArguments(ce.parent.parent);if(E.some(le)){var _e=le[0];var Ee=!E.isUnionTypeNode(_e)&&!E.isParenthesizedTypeNode(_e)&&E.isParenthesizedTypeNode(E.factory.createUnionTypeNode([_e,E.factory.createKeywordTypeNode(114)]).types[0]);if(Ee){N.insertText(R,_e.pos,"(")}N.insertText(R,_e.end,Ee?") | void":" | void")}else{var Te=ie.getResolvedSignature(G.parent);var we=Te===null||Te===void 0?void 0:Te.parameters[0];var Ie=we&&ie.getTypeOfSymbolAtLocation(we,ce.parent.parent);if(E.isInJSFile(ce)){if(!Ie||Ie.flags&3){N.insertText(R,ce.parent.parent.end,")");N.insertText(R,E.skipTrivia(R.text,ce.parent.parent.pos),"/** @type {Promise<void>} */(")}}else{if(!Ie||Ie.flags&2){N.insertText(R,ce.parent.parent.expression.end,"<void>")}}}}function getEffectiveTypeArguments(N){var R;if(E.isInJSFile(N)){if(E.isParenthesizedExpression(N.parent)){var j=(R=E.getJSDocTypeTag(N.parent))===null||R===void 0?void 0:R.typeExpression.type;if(j&&E.isTypeReferenceNode(j)&&E.isIdentifier(j.typeName)&&E.idText(j.typeName)==="Promise"){return j.typeArguments}}}else{return N.typeArguments}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Convert export";var j={name:"Convert default export to named export",description:E.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"};var q={name:"Convert named export to default export",description:E.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};N.registerRefactor(R,{kinds:[j.kind,q.kind],getAvailableActions:function(G){var ie=getInfo(G,G.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){var ae=ie.wasDefault?j:q;return[{name:R,description:ae.description,actions:[ae]}]}if(G.preferences.provideRefactorNotApplicableReason){return[{name:R,description:E.Diagnostics.Convert_default_export_to_named_export.message,actions:[$($({},j),{notApplicableReason:ie.error}),$($({},q),{notApplicableReason:ie.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){E.Debug.assert($===j.name||$===q.name,"Unexpected action name");var G=getInfo(R);E.Debug.assert(G&&!N.isRefactorErrorInfo(G),"Expected applicable refactor info");var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program,G,E,R.cancellationToken)}));return{edits:ie,renameFilename:undefined,renameLocation:undefined}}});function getInfo(N,R){if(R===void 0){R=true}var j=N.file,$=N.program;var q=E.getRefactorContextSpan(N);var G=E.getTokenAtPosition(j,q.start);var ie=!!(G.parent&&E.getSyntacticModifierFlags(G.parent)&1)&&R?G.parent:E.getParentNodeInSpan(G,j,q);if(!ie||!E.isSourceFile(ie.parent)&&!(E.isModuleBlock(ie.parent)&&E.isAmbientModule(ie.parent.parent))){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_export_statement)}}var ae=E.isSourceFile(ie.parent)?ie.parent.symbol:ie.parent.parent.symbol;var ce=E.getSyntacticModifierFlags(ie)||(E.isExportAssignment(ie)&&!ie.isExportEquals?513:0);var le=!!(ce&512);if(!(ce&1)||!le&&ae.exports.has("default")){return{error:E.getLocaleSpecificMessage(E.Diagnostics.This_file_already_has_a_default_export)}}var _e=$.getTypeChecker();var noSymbolError=function(N){return E.isIdentifier(N)&&_e.getSymbolAtLocation(N)?undefined:{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_named_export)}};switch(ie.kind){case 254:case 255:case 256:case 258:case 257:case 259:{var Ee=ie;if(!Ee.name)return undefined;return noSymbolError(Ee.name)||{exportNode:Ee,exportName:Ee.name,wasDefault:le,exportingModuleSymbol:ae}}case 235:{var Te=ie;if(!(Te.declarationList.flags&2)||Te.declarationList.declarations.length!==1){return undefined}var we=E.first(Te.declarationList.declarations);if(!we.initializer)return undefined;E.Debug.assert(!le,"Can't have a default flag here");return noSymbolError(we.name)||{exportNode:Te,exportName:we.name,wasDefault:le,exportingModuleSymbol:ae}}case 269:{var Ee=ie;if(Ee.isExportEquals)return undefined;return noSymbolError(Ee.expression)||{exportNode:Ee,exportName:Ee.expression,wasDefault:le,exportingModuleSymbol:ae}}default:return undefined}}function doChange(E,N,R,j,$){changeExport(E,R,j,N.getTypeChecker());changeImports(N,R,j,$)}function changeExport(N,R,j,$){var q=R.wasDefault,G=R.exportNode,ie=R.exportName;if(q){if(E.isExportAssignment(G)&&!G.isExportEquals){var ae=G.expression;var ce=makeExportSpecifier(ae.text,ae.text);j.replaceNode(N,G,E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([ce])))}else{j.delete(N,E.Debug.checkDefined(E.findModifier(G,88),"Should find a default keyword in modifier list"))}}else{var le=E.Debug.checkDefined(E.findModifier(G,93),"Should find an export keyword in modifier list");switch(G.kind){case 254:case 255:case 256:j.insertNodeAfter(N,le,E.factory.createToken(88));break;case 235:var _e=E.first(G.declarationList.declarations);if(!E.FindAllReferences.Core.isSymbolReferencedInFile(ie,$,N)&&!_e.type){j.replaceNode(N,G,E.factory.createExportDefault(E.Debug.checkDefined(_e.initializer,"Initializer was previously known to be present")));break}case 258:case 257:case 259:j.deleteModifier(N,le);j.insertNodeAfter(N,G,E.factory.createExportDefault(E.factory.createIdentifier(ie.text)));break;default:E.Debug.fail("Unexpected exportNode kind "+G.kind)}}}function changeImports(N,R,j,$){var q=R.wasDefault,G=R.exportName,ie=R.exportingModuleSymbol;var ae=N.getTypeChecker();var ce=E.Debug.checkDefined(ae.getSymbolAtLocation(G),"Export name should resolve to a symbol");E.FindAllReferences.Core.eachExportReference(N.getSourceFiles(),ae,$,ce,ie,G.text,q,(function(E){var N=E.getSourceFile();if(q){changeDefaultToNamedImport(N,E,j,G.text)}else{changeNamedToDefaultImport(N,E,j)}}))}function changeDefaultToNamedImport(N,R,j,$){var q=R.parent;switch(q.kind){case 204:j.replaceNode(N,R,E.factory.createIdentifier($));break;case 268:case 273:{var G=q;j.replaceNode(N,G,makeImportSpecifier($,G.name.text));break}case 265:{var ie=q;E.Debug.assert(ie.name===R,"Import clause name should match provided ref");var G=makeImportSpecifier($,R.text);var ae=ie.namedBindings;if(!ae){j.replaceNode(N,R,E.factory.createNamedImports([G]))}else if(ae.kind===266){j.deleteRange(N,{pos:R.getStart(N),end:ae.getStart(N)});var ce=E.isStringLiteral(ie.parent.moduleSpecifier)?E.quotePreferenceFromString(ie.parent.moduleSpecifier,N):1;var le=E.makeImport(undefined,[makeImportSpecifier($,R.text)],ie.parent.moduleSpecifier,ce);j.insertNodeAfter(N,ie.parent,le)}else{j.delete(N,R);j.insertNodeAtEndOfList(N,ae.elements,G)}break}default:E.Debug.failBadSyntaxKind(q)}}function changeNamedToDefaultImport(N,R,j){var $=R.parent;switch($.kind){case 204:j.replaceNode(N,R,E.factory.createIdentifier("default"));break;case 268:{var q=E.factory.createIdentifier($.name.text);if($.parent.elements.length===1){j.replaceNode(N,$.parent,q)}else{j.delete(N,$);j.insertNodeBefore(N,$.parent,q)}break}case 273:{j.replaceNode(N,$,makeExportSpecifier("default",$.name.text));break}default:E.Debug.assertNever($,"Unexpected parent kind "+$.kind)}}function makeImportSpecifier(N,R){return E.factory.createImportSpecifier(N===R?undefined:E.factory.createIdentifier(N),E.factory.createIdentifier(R))}function makeExportSpecifier(N,R){return E.factory.createExportSpecifier(N===R?undefined:E.factory.createIdentifier(N),E.factory.createIdentifier(R))}})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Convert import";var j={name:"Convert namespace import to named imports",description:E.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"};var q={name:"Convert named imports to namespace import",description:E.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"};N.registerRefactor(R,{kinds:[j.kind,q.kind],getAvailableActions:function(G){var ie=getImportToConvert(G,G.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){var ae=ie.kind===266;var ce=ae?j:q;return[{name:R,description:ce.description,actions:[ce]}]}if(G.preferences.provideRefactorNotApplicableReason){return[{name:R,description:j.description,actions:[$($({},j),{notApplicableReason:ie.error})]},{name:R,description:q.description,actions:[$($({},q),{notApplicableReason:ie.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){E.Debug.assert($===j.name||$===q.name,"Unexpected action name");var G=getImportToConvert(R);E.Debug.assert(G&&!N.isRefactorErrorInfo(G),"Expected applicable refactor info");var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program,E,G)}));return{edits:ie,renameFilename:undefined,renameLocation:undefined}}});function getImportToConvert(N,R){if(R===void 0){R=true}var j=N.file;var $=E.getRefactorContextSpan(N);var q=E.getTokenAtPosition(j,$.start);var G=R?E.findAncestor(q,E.isImportDeclaration):E.getParentNodeInSpan(q,j,$);if(!G||!E.isImportDeclaration(G))return{error:"Selection is not an import declaration."};if(G.getEnd()<$.start+$.length)return undefined;var ie=G.importClause;if(!ie){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_import_clause)}}if(!ie.namedBindings){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_namespace_import_or_named_imports)}}return ie.namedBindings}function doChange(N,R,j,$){var q=R.getTypeChecker();if($.kind===266){doChangeNamespaceToNamed(N,q,j,$,E.getAllowSyntheticDefaultImports(R.getCompilerOptions()))}else{doChangeNamedToNamespace(N,q,j,$)}}function doChangeNamespaceToNamed(N,R,j,$,q){var G=false;var ie=[];var ae=new E.Map;E.FindAllReferences.Core.eachSymbolReferenceInFile($.name,R,N,(function(N){if(!E.isPropertyAccessOrQualifiedName(N.parent)){G=true}else{var j=getRightOfPropertyAccessOrQualifiedName(N.parent).text;if(R.resolveName(j,N,67108863,true)){ae.set(j,true)}E.Debug.assert(getLeftOfPropertyAccessOrQualifiedName(N.parent)===N,"Parent expression should match id");ie.push(N.parent)}}));var ce=new E.Map;for(var le=0,_e=ie;le<_e.length;le++){var Ee=_e[le];var Te=getRightOfPropertyAccessOrQualifiedName(Ee).text;var we=ce.get(Te);if(we===undefined){ce.set(Te,we=ae.has(Te)?E.getUniqueName(Te,N):Te)}j.replaceNode(N,Ee,E.factory.createIdentifier(we))}var Ie=[];ce.forEach((function(N,R){Ie.push(E.factory.createImportSpecifier(N===R?undefined:E.factory.createIdentifier(R),E.factory.createIdentifier(N)))}));var Ne=$.parent.parent;if(G&&!q){j.insertNodeAfter(N,Ne,updateImport(Ne,undefined,Ie))}else{j.replaceNode(N,Ne,updateImport(Ne,G?E.factory.createIdentifier($.name.text):undefined,Ie))}}function getRightOfPropertyAccessOrQualifiedName(N){return E.isPropertyAccessExpression(N)?N.name:N.right}function getLeftOfPropertyAccessOrQualifiedName(N){return E.isPropertyAccessExpression(N)?N.expression:N.left}function doChangeNamedToNamespace(N,R,j,$){var q=$.parent.parent;var G=q.moduleSpecifier;var ie=new E.Set;$.elements.forEach((function(E){var N=R.getSymbolAtLocation(E.name);if(N){ie.add(N)}}));var ae=G&&E.isStringLiteral(G)?E.codefix.moduleSpecifierToValidIdentifier(G.text,99):"module";function hasNamespaceNameConflict(j){return!!E.FindAllReferences.Core.eachSymbolReferenceInFile(j.name,R,N,(function(N){var j=R.resolveName(ae,N,67108863,true);if(j){if(ie.has(j)){return E.isExportSpecifier(N.parent)}return true}return false}))}var ce=$.elements.some(hasNamespaceNameConflict);var le=ce?E.getUniqueName(ae,N):ae;var _e=new E.Set;var _loop_16=function($){var q=($.propertyName||$.name).text;E.FindAllReferences.Core.eachSymbolReferenceInFile($.name,R,N,(function(R){var G=E.factory.createPropertyAccessExpression(E.factory.createIdentifier(le),q);if(E.isShorthandPropertyAssignment(R.parent)){j.replaceNode(N,R.parent,E.factory.createPropertyAssignment(R.text,G))}else if(E.isExportSpecifier(R.parent)){_e.add($)}else{j.replaceNode(N,R,G)}}))};for(var Ee=0,Te=$.elements;Ee<Te.length;Ee++){var we=Te[Ee];_loop_16(we)}j.replaceNode(N,$,E.factory.createNamespaceImport(E.factory.createIdentifier(le)));if(_e.size){var Ie=E.arrayFrom(_e.values()).map((function(N){return E.factory.createImportSpecifier(N.propertyName&&E.factory.createIdentifier(N.propertyName.text),E.factory.createIdentifier(N.name.text))}));j.insertNodeAfter(N,$.parent.parent,updateImport(q,undefined,Ie))}}function updateImport(N,R,j){return E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(false,R,j&&j.length?E.factory.createNamedImports(j):undefined),N.moduleSpecifier)}})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert to optional chain expression";var q=E.getLocaleSpecificMessage(E.Diagnostics.Convert_to_optional_chain_expression);var G={name:j,description:q,kind:"refactor.rewrite.expression.optionalChain"};N.registerRefactor(j,{kinds:[G.kind],getAvailableActions:getAvailableActions,getEditsForAction:getEditsForAction});function getAvailableActions(R){var ie=getInfo(R,R.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){return[{name:j,description:q,actions:[G]}]}if(R.preferences.provideRefactorNotApplicableReason){return[{name:j,description:q,actions:[$($({},G),{notApplicableReason:ie.error})]}]}return E.emptyArray}function getEditsForAction(R,j){var $=getInfo(R);E.Debug.assert($&&!N.isRefactorErrorInfo($),"Expected applicable refactor info");var q=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program.getTypeChecker(),E,$,j)}));return{edits:q,renameFilename:undefined,renameLocation:undefined}}function isValidExpression(N){return E.isBinaryExpression(N)||E.isConditionalExpression(N)}function isValidStatement(N){return E.isExpressionStatement(N)||E.isReturnStatement(N)||E.isVariableStatement(N)}function isValidExpressionOrStatement(E){return isValidExpression(E)||isValidStatement(E)}function getInfo(N,R){if(R===void 0){R=true}var j=N.file,$=N.program;var q=E.getRefactorContextSpan(N);var G=q.length===0;if(G&&!R)return undefined;var ie=E.getTokenAtPosition(j,q.start);var ae=E.findTokenOnLeftOfPosition(j,q.start+q.length);var ce=E.createTextSpanFromBounds(ie.pos,ae&&ae.end>=ie.pos?ae.getEnd():ie.getEnd());var le=G?getValidParentNodeOfEmptySpan(ie):getValidParentNodeContainingSpan(ie,ce);var _e=le&&isValidExpressionOrStatement(le)?getExpression(le):undefined;if(!_e)return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)};var Ee=$.getTypeChecker();return E.isConditionalExpression(_e)?getConditionalInfo(_e,Ee):getBinaryInfo(_e)}function getConditionalInfo(N,R){var j=N.condition;var $=getFinalExpressionInChain(N.whenTrue);if(!$||R.isNullableType(R.getTypeAtLocation($))){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)}}if((E.isPropertyAccessExpression(j)||E.isIdentifier(j))&&getMatchingStart(j,$.expression)){return{finalExpression:$,occurrences:[j],expression:N}}else if(E.isBinaryExpression(j)){var q=getOccurrencesInExpression($.expression,j);return q?{finalExpression:$,occurrences:q,expression:N}:{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_matching_access_expressions)}}}function getBinaryInfo(N){if(N.operatorToken.kind!==55){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_logical_AND_access_chains)}}var R=getFinalExpressionInChain(N.right);if(!R)return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)};var j=getOccurrencesInExpression(R.expression,N.left);return j?{finalExpression:R,occurrences:j,expression:N}:{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_matching_access_expressions)}}function getOccurrencesInExpression(N,R){var j=[];while(E.isBinaryExpression(R)&&R.operatorToken.kind===55){var $=getMatchingStart(E.skipParentheses(N),E.skipParentheses(R.right));if(!$){break}j.push($);N=$;R=R.left}var q=getMatchingStart(N,R);if(q){j.push(q)}return j.length>0?j:undefined}function getMatchingStart(N,R){if(!E.isIdentifier(R)&&!E.isPropertyAccessExpression(R)&&!E.isElementAccessExpression(R)){return undefined}return chainStartsWith(N,R)?R:undefined}function chainStartsWith(N,R){while(E.isCallExpression(N)||E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)){if(getTextOfChainNode(N)===getTextOfChainNode(R))break;N=N.expression}while(E.isPropertyAccessExpression(N)&&E.isPropertyAccessExpression(R)||E.isElementAccessExpression(N)&&E.isElementAccessExpression(R)){if(getTextOfChainNode(N)!==getTextOfChainNode(R))return false;N=N.expression;R=R.expression}return E.isIdentifier(N)&&E.isIdentifier(R)&&N.getText()===R.getText()}function getTextOfChainNode(N){if(E.isIdentifier(N)||E.isStringOrNumericLiteralLike(N)){return N.getText()}if(E.isPropertyAccessExpression(N)){return getTextOfChainNode(N.name)}if(E.isElementAccessExpression(N)){return getTextOfChainNode(N.argumentExpression)}return undefined}function getValidParentNodeContainingSpan(E,N){while(E.parent){if(isValidExpressionOrStatement(E)&&N.length!==0&&E.end>=N.start+N.length){return E}E=E.parent}return undefined}function getValidParentNodeOfEmptySpan(E){while(E.parent){if(isValidExpressionOrStatement(E)&&!isValidExpressionOrStatement(E.parent)){return E}E=E.parent}return undefined}function getExpression(N){if(isValidExpression(N)){return N}if(E.isVariableStatement(N)){var R=E.getSingleVariableOfVariableStatement(N);var j=R===null||R===void 0?void 0:R.initializer;return j&&isValidExpression(j)?j:undefined}return N.expression&&isValidExpression(N.expression)?N.expression:undefined}function getFinalExpressionInChain(N){N=E.skipParentheses(N);if(E.isBinaryExpression(N)){return getFinalExpressionInChain(N.left)}else if((E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)||E.isCallExpression(N))&&!E.isOptionalChain(N)){return N}return undefined}function convertOccurrences(N,R,j){if(E.isPropertyAccessExpression(R)||E.isElementAccessExpression(R)||E.isCallExpression(R)){var $=convertOccurrences(N,R.expression,j);var q=j.length>0?j[j.length-1]:undefined;var G=(q===null||q===void 0?void 0:q.getText())===R.expression.getText();if(G)j.pop();if(E.isCallExpression(R)){return G?E.factory.createCallChain($,E.factory.createToken(28),R.typeArguments,R.arguments):E.factory.createCallChain($,R.questionDotToken,R.typeArguments,R.arguments)}else if(E.isPropertyAccessExpression(R)){return G?E.factory.createPropertyAccessChain($,E.factory.createToken(28),R.name):E.factory.createPropertyAccessChain($,R.questionDotToken,R.name)}else if(E.isElementAccessExpression(R)){return G?E.factory.createElementAccessChain($,E.factory.createToken(28),R.argumentExpression):E.factory.createElementAccessChain($,R.questionDotToken,R.argumentExpression)}}return R}function doChange(N,R,j,$,q){var G=$.finalExpression,ie=$.occurrences,ae=$.expression;var ce=ie[ie.length-1];var le=convertOccurrences(R,G,ie);if(le&&(E.isPropertyAccessExpression(le)||E.isElementAccessExpression(le)||E.isCallExpression(le))){if(E.isBinaryExpression(ae)){j.replaceNodeRange(N,ce,G,le)}else if(E.isConditionalExpression(ae)){j.replaceNode(N,ae,E.factory.createBinaryExpression(le,E.factory.createToken(60),ae.whenFalse))}}}})(R=N.convertToOptionalChainExpression||(N.convertToOptionalChainExpression={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert overload list to single signature";var $=E.Diagnostics.Convert_overload_list_to_single_signature.message;var q={name:j,description:$,kind:"refactor.rewrite.function.overloadList"};N.registerRefactor(j,{kinds:[q.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(N){var R=N.file,G=N.startPosition,ie=N.program;var ae=getConvertableOverloadListAtPosition(R,G,ie);if(!ae)return E.emptyArray;return[{name:j,description:$,actions:[q]}]}function getEditsForAction(N){var R=N.file,j=N.startPosition,$=N.program;var q=getConvertableOverloadListAtPosition(R,j,$);if(!q)return undefined;var G=$.getTypeChecker();var ie=q[q.length-1];var ae=ie;switch(ie.kind){case 166:{ae=E.factory.updateMethodSignature(ie,ie.modifiers,ie.name,ie.questionToken,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 167:{ae=E.factory.updateMethodDeclaration(ie,ie.decorators,ie.modifiers,ie.asteriskToken,ie.name,ie.questionToken,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type,ie.body);break}case 172:{ae=E.factory.updateCallSignature(ie,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 169:{ae=E.factory.updateConstructorDeclaration(ie,ie.decorators,ie.modifiers,getNewParametersForCombinedSignature(q),ie.body);break}case 173:{ae=E.factory.updateConstructSignature(ie,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 254:{ae=E.factory.updateFunctionDeclaration(ie,ie.decorators,ie.modifiers,ie.asteriskToken,ie.name,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type,ie.body);break}default:return E.Debug.failBadSyntaxKind(ie,"Unhandled signature kind in overload list conversion refactoring")}if(ae===ie){return}var ce=E.textChanges.ChangeTracker.with(N,(function(E){E.replaceNodeRange(R,q[0],q[q.length-1],ae)}));return{renameFilename:undefined,renameLocation:undefined,edits:ce};function getNewParametersForCombinedSignature(N){var R=N[N.length-1];if(E.isFunctionLikeDeclaration(R)&&R.body){N=N.slice(0,N.length-1)}return E.factory.createNodeArray([E.factory.createParameterDeclaration(undefined,undefined,E.factory.createToken(25),"args",undefined,E.factory.createUnionTypeNode(E.map(N,convertSignatureParametersToTuple)))])}function convertSignatureParametersToTuple(N){var R=E.map(N.parameters,convertParameterToNamedTupleMember);return E.setEmitFlags(E.factory.createTupleTypeNode(R),E.some(R,(function(N){return!!E.length(E.getSyntheticLeadingComments(N))}))?0:1)}function convertParameterToNamedTupleMember(N){E.Debug.assert(E.isIdentifier(N.name));var R=E.setTextRange(E.factory.createNamedTupleMember(N.dotDotDotToken,N.name,N.questionToken,N.type||E.factory.createKeywordTypeNode(129)),N);var j=N.symbol&&N.symbol.getDocumentationComment(G);if(j){var $=E.displayPartsToString(j);if($.length){E.setSyntheticLeadingComments(R,[{text:"*\n"+$.split("\n").map((function(E){return" * "+E})).join("\n")+"\n ",kind:3,pos:-1,end:-1,hasTrailingNewLine:true,hasLeadingNewline:true}])}}return R}}function isConvertableSignatureDeclaration(E){switch(E.kind){case 166:case 167:case 172:case 169:case 173:case 254:return true}return false}function getConvertableOverloadListAtPosition(N,R,j){var $=E.getTokenAtPosition(N,R);var q=E.findAncestor($,isConvertableSignatureDeclaration);if(!q){return}var G=j.getTypeChecker();var ie=q.symbol;if(!ie){return}var ae=ie.declarations;if(E.length(ae)<=1){return}if(!E.every(ae,(function(R){return E.getSourceFileOfNode(R)===N}))){return}if(!isConvertableSignatureDeclaration(ae[0])){return}var ce=ae[0].kind;if(!E.every(ae,(function(E){return E.kind===ce}))){return}var le=ae;if(E.some(le,(function(N){return!!N.typeParameters||E.some(N.parameters,(function(N){return!!N.decorators||!!N.modifiers||!E.isIdentifier(N.name)}))}))){return}var _e=E.mapDefined(le,(function(E){return G.getSignatureFromDeclaration(E)}));if(E.length(_e)!==E.length(ae)){return}var Ee=G.getReturnTypeOfSignature(_e[0]);if(!E.every(_e,(function(E){return G.getReturnTypeOfSignature(E)===Ee}))){return}return le}})(R=N.addOrRemoveBracesToArrowFunction||(N.addOrRemoveBracesToArrowFunction={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Extract Symbol";var q={name:"Extract Constant",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_constant),kind:"refactor.extract.constant"};var G={name:"Extract Function",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_function),kind:"refactor.extract.function"};N.registerRefactor(j,{kinds:[q.kind,G.kind],getAvailableActions:getAvailableActions,getEditsForAction:getEditsForAction});function getAvailableActions(R){var ie=R.kind;var ae=getRangeToExtract(R.file,E.getRefactorContextSpan(R),R.triggerReason==="invoked");var ce=ae.targetRange;if(ce===undefined){if(!ae.errors||ae.errors.length===0||!R.preferences.provideRefactorNotApplicableReason){return E.emptyArray}var le=[];if(N.refactorKindBeginsWith(G.kind,ie)){le.push({name:j,description:G.description,actions:[$($({},G),{notApplicableReason:getStringError(ae.errors)})]})}if(N.refactorKindBeginsWith(q.kind,ie)){le.push({name:j,description:q.description,actions:[$($({},q),{notApplicableReason:getStringError(ae.errors)})]})}return le}var _e=getPossibleExtractions(ce,R);if(_e===undefined){return E.emptyArray}var Ee=[];var Te=new E.Map;var we;var Ie=[];var Ne=new E.Map;var Me;var Le=0;for(var Be=0,je=_e;Be<je.length;Be++){var Ue=je[Be],ze=Ue.functionExtraction,We=Ue.constantExtraction;var Je=ze.description;if(N.refactorKindBeginsWith(G.kind,ie)){if(ze.errors.length===0){if(!Te.has(Je)){Te.set(Je,true);Ee.push({description:Je,name:"function_scope_"+Le,kind:G.kind})}}else if(!we){we={description:Je,name:"function_scope_"+Le,notApplicableReason:getStringError(ze.errors),kind:G.kind}}}if(N.refactorKindBeginsWith(q.kind,ie)){if(We.errors.length===0){var Ve=We.description;if(!Ne.has(Ve)){Ne.set(Ve,true);Ie.push({description:Ve,name:"constant_scope_"+Le,kind:q.kind})}}else if(!Me){Me={description:Je,name:"constant_scope_"+Le,notApplicableReason:getStringError(We.errors),kind:q.kind}}}Le++}var qe=[];if(Ee.length){qe.push({name:j,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_function),actions:Ee})}else if(R.preferences.provideRefactorNotApplicableReason&&we){qe.push({name:j,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_function),actions:[we]})}if(Ie.length){qe.push({name:j,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_constant),actions:Ie})}else if(R.preferences.provideRefactorNotApplicableReason&&Me){qe.push({name:j,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_constant),actions:[Me]})}return qe.length?qe:E.emptyArray;function getStringError(E){var N=E[0].messageText;if(typeof N!=="string"){N=N.messageText}return N}}R.getAvailableActions=getAvailableActions;function getEditsForAction(N,R){var j=getRangeToExtract(N.file,E.getRefactorContextSpan(N));var $=j.targetRange;var q=/^function_scope_(\d+)$/.exec(R);if(q){var G=+q[1];E.Debug.assert(isFinite(G),"Expected to parse a finite number from the function scope index");return getFunctionExtractionAtIndex($,N,G)}var ie=/^constant_scope_(\d+)$/.exec(R);if(ie){var G=+ie[1];E.Debug.assert(isFinite(G),"Expected to parse a finite number from the constant scope index");return getConstantExtractionAtIndex($,N,G)}E.Debug.fail("Unrecognized action name")}R.getEditsForAction=getEditsForAction;var ie;(function(N){function createMessage(N){return{message:N,code:0,category:E.DiagnosticCategory.Message,key:N}}N.cannotExtractRange=createMessage("Cannot extract range.");N.cannotExtractImport=createMessage("Cannot extract import statement.");N.cannotExtractSuper=createMessage("Cannot extract super call.");N.cannotExtractJSDoc=createMessage("Cannot extract JSDoc.");N.cannotExtractEmpty=createMessage("Cannot extract empty range.");N.expressionExpected=createMessage("expression expected.");N.uselessConstantType=createMessage("No reason to extract constant of type.");N.statementOrExpressionExpected=createMessage("Statement or expression expected.");N.cannotExtractRangeContainingConditionalBreakOrContinueStatements=createMessage("Cannot extract range containing conditional break or continue statements.");N.cannotExtractRangeContainingConditionalReturnStatement=createMessage("Cannot extract range containing conditional return statement.");N.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=createMessage("Cannot extract range containing labeled break or continue with target outside of the range.");N.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=createMessage("Cannot extract range containing writes to references located outside of the target range in generators.");N.typeWillNotBeVisibleInTheNewScope=createMessage("Type will not visible in the new scope.");N.functionWillNotBeVisibleInTheNewScope=createMessage("Function will not visible in the new scope.");N.cannotExtractIdentifier=createMessage("Select more than a single identifier.");N.cannotExtractExportedEntity=createMessage("Cannot extract exported declaration");N.cannotWriteInExpression=createMessage("Cannot write back side-effects when extracting an expression");N.cannotExtractReadonlyPropertyInitializerOutsideConstructor=createMessage("Cannot move initialization of read-only class property outside of the constructor");N.cannotExtractAmbientBlock=createMessage("Cannot extract code from ambient contexts");N.cannotAccessVariablesFromNestedScopes=createMessage("Cannot access variables from nested scopes");N.cannotExtractToJSClass=createMessage("Cannot extract constant to a class scope in JS");N.cannotExtractToExpressionArrowFunction=createMessage("Cannot extract constant to an arrow function without a block")})(ie=R.Messages||(R.Messages={}));var ae;(function(E){E[E["None"]=0]="None";E[E["HasReturn"]=1]="HasReturn";E[E["IsGenerator"]=2]="IsGenerator";E[E["IsAsyncFunction"]=4]="IsAsyncFunction";E[E["UsesThis"]=8]="UsesThis";E[E["InStaticRegion"]=16]="InStaticRegion"})(ae||(ae={}));function getRangeToExtract(N,R,j){if(j===void 0){j=true}var $=R.length;if($===0&&!j){return{errors:[E.createFileDiagnostic(N,R.start,$,ie.cannotExtractEmpty)]}}var q=$===0&&j;var G=E.findFirstNonJsxWhitespaceToken(N,R.start);var ce=E.findTokenOnLeftOfPosition(N,E.textSpanEnd(R));var le=G&&ce&&j?getAdjustedSpanFromNodes(G,ce,N):R;var _e=q?getExtractableParent(G):E.getParentNodeInSpan(G,N,le);var Ee=q?_e:E.getParentNodeInSpan(ce,N,le);var Te=[];var we=ae.None;if(!_e||!Ee){return{errors:[E.createFileDiagnostic(N,R.start,$,ie.cannotExtractRange)]}}if(E.isJSDoc(_e)){return{errors:[E.createFileDiagnostic(N,R.start,$,ie.cannotExtractJSDoc)]}}if(_e.parent!==Ee.parent){return{errors:[E.createFileDiagnostic(N,R.start,$,ie.cannotExtractRange)]}}if(_e!==Ee){if(!isBlockLike(_e.parent)){return{errors:[E.createFileDiagnostic(N,R.start,$,ie.cannotExtractRange)]}}var Ie=[];var Ne=_e;for(var Me=0,Le=Ne.parent.statements;Me<Le.length;Me++){var Be=Le[Me];if(Be===_e||Ie.length){var je=checkNode(Be);if(je){return{errors:je}}Ie.push(Be)}if(Be===Ee){break}}if(!Ie.length){return{errors:[E.createFileDiagnostic(N,R.start,$,ie.cannotExtractRange)]}}return{targetRange:{range:Ie,facts:we,declarations:Te}}}if(E.isReturnStatement(_e)&&!_e.expression){return{errors:[E.createFileDiagnostic(N,R.start,$,ie.cannotExtractRange)]}}var Ue=refineNode(_e);var ze=checkRootNode(Ue)||checkNode(Ue);if(ze){return{errors:ze}}return{targetRange:{range:getStatementOrExpressionRange(Ue),facts:we,declarations:Te}};function refineNode(N){if(E.isReturnStatement(N)){if(N.expression){return N.expression}}else if(E.isVariableStatement(N)){var R=0;var j=void 0;for(var $=0,q=N.declarationList.declarations;$<q.length;$++){var G=q[$];if(G.initializer){R++;j=G.initializer}}if(R===1){return j}}else if(E.isVariableDeclaration(N)){if(N.initializer){return N.initializer}}return N}function checkRootNode(N){if(E.isIdentifier(E.isExpressionStatement(N)?N.expression:N)){return[E.createDiagnosticForNode(N,ie.cannotExtractIdentifier)]}return undefined}function checkForStaticContext(N,R){var j=N;while(j!==R){if(j.kind===165){if(E.isStatic(j)){we|=ae.InStaticRegion}break}else if(j.kind===162){var $=E.getContainingFunction(j);if($.kind===169){we|=ae.InStaticRegion}break}else if(j.kind===167){if(E.isStatic(j)){we|=ae.InStaticRegion}}j=j.parent}}function checkNode(N){var j;(function(E){E[E["None"]=0]="None";E[E["Break"]=1]="Break";E[E["Continue"]=2]="Continue";E[E["Return"]=4]="Return"})(j||(j={}));E.Debug.assert(N.pos<=N.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)");E.Debug.assert(!E.positionIsSynthesized(N.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)");if(!E.isStatement(N)&&!(E.isExpressionNode(N)&&isExtractableExpression(N))){return[E.createDiagnosticForNode(N,ie.statementOrExpressionExpected)]}if(N.flags&8388608){return[E.createDiagnosticForNode(N,ie.cannotExtractAmbientBlock)]}var $=E.getContainingClass(N);if($){checkForStaticContext(N,$)}var q;var G=4;var ce;visit(N);return q;function visit(N){if(q){return true}if(E.isDeclaration(N)){var j=N.kind===252?N.parent.parent:N;if(E.hasSyntacticModifier(j,1)){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractExportedEntity));return true}Te.push(N.symbol)}switch(N.kind){case 264:(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractImport));return true;case 269:(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractExportedEntity));return true;case 106:if(N.parent.kind===206){var $=E.getContainingClass(N);if($.pos<R.start||$.end>=R.start+R.length){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractSuper));return true}}else{we|=ae.UsesThis}break;case 212:E.forEachChild(N,(function check(N){if(E.isThis(N)){we|=ae.UsesThis}else if(E.isClassLike(N)||E.isFunctionLike(N)&&!E.isArrowFunction(N)){return false}else{E.forEachChild(N,check)}}));case 255:case 254:if(E.isSourceFile(N.parent)&&N.parent.externalModuleIndicator===undefined){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.functionWillNotBeVisibleInTheNewScope))}case 224:case 211:case 167:case 169:case 170:case 171:return false}var le=G;switch(N.kind){case 237:G=0;break;case 250:G=0;break;case 233:if(N.parent&&N.parent.kind===250&&N.parent.finallyBlock===N){G=4}break;case 288:case 287:G|=1;break;default:if(E.isIterationStatement(N,false)){G|=1|2}break}switch(N.kind){case 190:case 108:we|=ae.UsesThis;break;case 248:{var _e=N.label;(ce||(ce=[])).push(_e.escapedText);E.forEachChild(N,visit);ce.pop();break}case 244:case 243:{var _e=N.label;if(_e){if(!E.contains(ce,_e.escapedText)){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange))}}else{if(!(G&(N.kind===244?1:2))){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingConditionalBreakOrContinueStatements))}}break}case 216:we|=ae.IsAsyncFunction;break;case 222:we|=ae.IsGenerator;break;case 245:if(G&4){we|=ae.HasReturn}else{(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingConditionalReturnStatement))}break;default:E.forEachChild(N,visit);break}G=le}}}R.getRangeToExtract=getRangeToExtract;function getAdjustedSpanFromNodes(E,N,R){var j=E.getStart(R);var $=N.getEnd();if(R.text.charCodeAt($)===59){$++}return{start:j,length:$-j}}function getStatementOrExpressionRange(N){if(E.isStatement(N)){return[N]}else if(E.isExpressionNode(N)){return E.isExpressionStatement(N.parent)?[N.parent]:N}return undefined}function isScope(N){return E.isFunctionLikeDeclaration(N)||E.isSourceFile(N)||E.isModuleBlock(N)||E.isClassLike(N)}function collectEnclosingScopes(N){var R=isReadonlyArray(N.range)?E.first(N.range):N.range;if(N.facts&ae.UsesThis){var j=E.getContainingClass(R);if(j){var $=E.findAncestor(R,E.isFunctionLikeDeclaration);return $?[$,j]:[j]}}var q=[];while(true){R=R.parent;if(R.kind===162){R=E.findAncestor(R,(function(N){return E.isFunctionLikeDeclaration(N)})).parent}if(isScope(R)){q.push(R);if(R.kind===300){return q}}}}function getFunctionExtractionAtIndex(N,R,j){var $=getPossibleExtractionsWorker(N,R),q=$.scopes,G=$.readsAndWrites,ie=G.target,ae=G.usagesPerScope,ce=G.functionErrorsPerScope,le=G.exposedVariableDeclarations;E.Debug.assert(!ce[j].length,"The extraction went missing? How?");R.cancellationToken.throwIfCancellationRequested();return extractFunctionInScope(ie,q[j],ae[j],le,N,R)}function getConstantExtractionAtIndex(N,R,j){var $=getPossibleExtractionsWorker(N,R),q=$.scopes,G=$.readsAndWrites,ie=G.target,ae=G.usagesPerScope,ce=G.constantErrorsPerScope,le=G.exposedVariableDeclarations;E.Debug.assert(!ce[j].length,"The extraction went missing? How?");E.Debug.assert(le.length===0,"Extract constant accepted a range containing a variable declaration?");R.cancellationToken.throwIfCancellationRequested();var _e=E.isExpression(ie)?ie:ie.statements[0].expression;return extractConstantInScope(_e,q[j],ae[j],N.facts,R)}function getPossibleExtractions(N,R){var j=getPossibleExtractionsWorker(N,R),$=j.scopes,q=j.readsAndWrites,G=q.functionErrorsPerScope,ie=q.constantErrorsPerScope;var ae=$.map((function(N,R){var j=getDescriptionForFunctionInScope(N);var $=getDescriptionForConstantInScope(N);var q=E.isFunctionLikeDeclaration(N)?getDescriptionForFunctionLikeDeclaration(N):E.isClassLike(N)?getDescriptionForClassLikeDeclaration(N):getDescriptionForModuleLikeDeclaration(N);var ae;var ce;if(q===1){ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[j,"global"]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[$,"global"])}else if(q===0){ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[j,"module"]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[$,"module"])}else{ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1),[j,q]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1),[$,q])}if(R===0&&!E.isClassLike(N)){ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_enclosing_scope),[$])}return{functionExtraction:{description:ae,errors:G[R]},constantExtraction:{description:ce,errors:ie[R]}}}));return ae}function getPossibleExtractionsWorker(E,N){var R=N.file;var j=collectEnclosingScopes(E);var $=getEnclosingTextRange(E,R);var q=collectReadsAndWrites(E,j,$,R,N.program.getTypeChecker(),N.cancellationToken);return{scopes:j,readsAndWrites:q}}function getDescriptionForFunctionInScope(N){return E.isFunctionLikeDeclaration(N)?"inner function":E.isClassLike(N)?"method":"function"}function getDescriptionForConstantInScope(N){return E.isClassLike(N)?"readonly field":"constant"}function getDescriptionForFunctionLikeDeclaration(N){switch(N.kind){case 169:return"constructor";case 211:case 254:return N.name?"function '"+N.name.text+"'":E.ANONYMOUS;case 212:return"arrow function";case 167:return"method '"+N.name.getText()+"'";case 170:return"'get "+N.name.getText()+"'";case 171:return"'set "+N.name.getText()+"'";default:throw E.Debug.assertNever(N,"Unexpected scope kind "+N.kind)}}function getDescriptionForClassLikeDeclaration(E){return E.kind===255?E.name?"class '"+E.name.text+"'":"anonymous class declaration":E.name?"class expression '"+E.name.text+"'":"anonymous class expression"}function getDescriptionForModuleLikeDeclaration(E){return E.kind===260?"namespace '"+E.parent.name.getText()+"'":E.externalModuleIndicator?0:1}var ce;(function(E){E[E["Module"]=0]="Module";E[E["Global"]=1]="Global"})(ce||(ce={}));function extractFunctionInScope(N,R,j,$,q,G){var ie=j.usages,ce=j.typeParameterUsages,le=j.substitutions;var _e=G.program.getTypeChecker();var Ee=E.getEmitScriptTarget(G.program.getCompilerOptions());var Te=E.codefix.createImportAdder(G.file,G.program,G.preferences,G.host);var we=R.getSourceFile();var Ie=E.getUniqueName(E.isClassLike(R)?"newMethod":"newFunction",we);var Ne=E.isInJSFile(R);var Me=E.factory.createIdentifier(Ie);var Le;var Be=[];var je=[];var Ue;ie.forEach((function(N,j){var $;if(!Ne){var q=_e.getTypeOfSymbolAtLocation(N.symbol,N.node);q=_e.getBaseTypeOfLiteralType(q);$=E.codefix.typeToAutoImportableTypeNode(_e,Te,q,R,Ee,1)}var G=E.factory.createParameterDeclaration(undefined,undefined,undefined,j,undefined,$);Be.push(G);if(N.usage===2){(Ue||(Ue=[])).push(N)}je.push(E.factory.createIdentifier(j))}));var ze=E.arrayFrom(ce.values()).map((function(E){return{type:E,declaration:getFirstDeclaration(E)}}));var We=ze.sort(compareTypesByDeclarationOrder);var Je=We.length===0?undefined:We.map((function(E){return E.declaration}));var Ve=Je!==undefined?Je.map((function(N){return E.factory.createTypeReferenceNode(N.name,undefined)})):undefined;if(E.isExpression(N)&&!Ne){var qe=_e.getContextualType(N);Le=_e.typeToTypeNode(qe,R,1)}var He=transformFunctionBody(N,$,Ue,le,!!(q.facts&ae.HasReturn)),Ge=He.body,Ke=He.returnValueProperty;E.suppressLeadingAndTrailingTrivia(Ge);var Qe;if(E.isClassLike(R)){var Xe=Ne?[]:[E.factory.createModifier(121)];if(q.facts&ae.InStaticRegion){Xe.push(E.factory.createModifier(124))}if(q.facts&ae.IsAsyncFunction){Xe.push(E.factory.createModifier(130))}Qe=E.factory.createMethodDeclaration(undefined,Xe.length?Xe:undefined,q.facts&ae.IsGenerator?E.factory.createToken(41):undefined,Me,undefined,Je,Be,Le,Ge)}else{Qe=E.factory.createFunctionDeclaration(undefined,q.facts&ae.IsAsyncFunction?[E.factory.createToken(130)]:undefined,q.facts&ae.IsGenerator?E.factory.createToken(41):undefined,Me,Je,Be,Le,Ge)}var Ye=E.textChanges.ChangeTracker.fromContext(G);var Ze=(isReadonlyArray(q.range)?E.last(q.range):q.range).end;var et=getNodeToInsertFunctionBefore(Ze,R);if(et){Ye.insertNodeBefore(G.file,et,Qe,true)}else{Ye.insertNodeAtEndOfScope(G.file,R,Qe)}Te.writeFixes(Ye);var tt=[];var rt=getCalledExpression(R,q,Ie);var nt=E.factory.createCallExpression(rt,Ve,je);if(q.facts&ae.IsGenerator){nt=E.factory.createYieldExpression(E.factory.createToken(41),nt)}if(q.facts&ae.IsAsyncFunction){nt=E.factory.createAwaitExpression(nt)}if(isInJSXContent(N)){nt=E.factory.createJsxExpression(undefined,nt)}if($.length&&!Ue){E.Debug.assert(!Ke,"Expected no returnValueProperty");E.Debug.assert(!(q.facts&ae.HasReturn),"Expected RangeFacts.HasReturn flag to be unset");if($.length===1){var it=$[0];tt.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(E.getSynthesizedDeepClone(it.name),undefined,E.getSynthesizedDeepClone(it.type),nt)],it.parent.flags)))}else{var ot=[];var st=[];var ct=$[0].parent.flags;var ut=false;for(var dt=0,pt=$;dt<pt.length;dt++){var it=pt[dt];ot.push(E.factory.createBindingElement(undefined,undefined,E.getSynthesizedDeepClone(it.name)));var ft=_e.typeToTypeNode(_e.getBaseTypeOfLiteralType(_e.getTypeAtLocation(it)),R,1);st.push(E.factory.createPropertySignature(undefined,it.symbol.name,undefined,ft));ut=ut||it.type!==undefined;ct=ct&it.parent.flags}var mt=ut?E.factory.createTypeLiteralNode(st):undefined;if(mt){E.setEmitFlags(mt,1)}tt.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(E.factory.createObjectBindingPattern(ot),undefined,mt,nt)],ct)))}}else if($.length||Ue){if($.length){for(var ht=0,_t=$;ht<_t.length;ht++){var it=_t[ht];var yt=it.parent.flags;if(yt&2){yt=yt&~2|1}tt.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(it.symbol.name,undefined,getTypeDeepCloneUnionUndefined(it.type))],yt)))}}if(Ke){tt.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(Ke,undefined,getTypeDeepCloneUnionUndefined(Le))],1)))}var vt=getPropertyAssignmentsForWritesAndVariableDeclarations($,Ue);if(Ke){vt.unshift(E.factory.createShorthandPropertyAssignment(Ke))}if(vt.length===1){E.Debug.assert(!Ke,"Shouldn't have returnValueProperty here");tt.push(E.factory.createExpressionStatement(E.factory.createAssignment(vt[0].name,nt)));if(q.facts&ae.HasReturn){tt.push(E.factory.createReturnStatement())}}else{tt.push(E.factory.createExpressionStatement(E.factory.createAssignment(E.factory.createObjectLiteralExpression(vt),nt)));if(Ke){tt.push(E.factory.createReturnStatement(E.factory.createIdentifier(Ke)))}}}else{if(q.facts&ae.HasReturn){tt.push(E.factory.createReturnStatement(nt))}else if(isReadonlyArray(q.range)){tt.push(E.factory.createExpressionStatement(nt))}else{tt.push(nt)}}if(isReadonlyArray(q.range)){Ye.replaceNodeRangeWithNodes(G.file,E.first(q.range),E.last(q.range),tt)}else{Ye.replaceNodeWithNodes(G.file,q.range,tt)}var bt=Ye.getChanges();var xt=isReadonlyArray(q.range)?E.first(q.range):q.range;var St=xt.getSourceFile().fileName;var Et=E.getRenameLocation(bt,St,Ie,false);return{renameFilename:St,renameLocation:Et,edits:bt};function getTypeDeepCloneUnionUndefined(N){if(N===undefined){return undefined}var R=E.getSynthesizedDeepClone(N);var j=R;while(E.isParenthesizedTypeNode(j)){j=j.type}return E.isUnionTypeNode(j)&&E.find(j.types,(function(E){return E.kind===151}))?R:E.factory.createUnionTypeNode([R,E.factory.createKeywordTypeNode(151)])}}function extractConstantInScope(N,R,j,$,q){var G;var ie=j.substitutions;var ce=q.program.getTypeChecker();var le=R.getSourceFile();var _e=E.getUniqueName(E.isClassLike(R)?"newProperty":"newLocal",le);var Ee=E.isInJSFile(R);var Te=Ee||!ce.isContextSensitive(N)?undefined:ce.typeToTypeNode(ce.getContextualType(N),R,1);var we=transformConstantInitializer(N,ie);G=transformFunctionInitializerAndType(Te,we),Te=G.variableType,we=G.initializer;E.suppressLeadingAndTrailingTrivia(we);var Ie=E.textChanges.ChangeTracker.fromContext(q);if(E.isClassLike(R)){E.Debug.assert(!Ee,"Cannot extract to a JS class");var Ne=[];Ne.push(E.factory.createModifier(121));if($&ae.InStaticRegion){Ne.push(E.factory.createModifier(124))}Ne.push(E.factory.createModifier(143));var Me=E.factory.createPropertyDeclaration(undefined,Ne,_e,undefined,Te,we);var Le=E.factory.createPropertyAccessExpression($&ae.InStaticRegion?E.factory.createIdentifier(R.name.getText()):E.factory.createThis(),E.factory.createIdentifier(_e));if(isInJSXContent(N)){Le=E.factory.createJsxExpression(undefined,Le)}var Be=N.pos;var je=getNodeToInsertPropertyBefore(Be,R);Ie.insertNodeBefore(q.file,je,Me,true);Ie.replaceNode(q.file,N,Le)}else{var Ue=E.factory.createVariableDeclaration(_e,undefined,Te,we);var ze=getContainingVariableDeclarationIfInList(N,R);if(ze){Ie.insertNodeBefore(q.file,ze,Ue);var Le=E.factory.createIdentifier(_e);Ie.replaceNode(q.file,N,Le)}else if(N.parent.kind===236&&R===E.findAncestor(N,isScope)){var We=E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([Ue],2));Ie.replaceNode(q.file,N.parent,We)}else{var We=E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([Ue],2));var je=getNodeToInsertConstantBefore(N,R);if(je.pos===0){Ie.insertNodeAtTopOfFile(q.file,We,false)}else{Ie.insertNodeBefore(q.file,je,We,false)}if(N.parent.kind===236){Ie.delete(q.file,N.parent)}else{var Le=E.factory.createIdentifier(_e);if(isInJSXContent(N)){Le=E.factory.createJsxExpression(undefined,Le)}Ie.replaceNode(q.file,N,Le)}}}var Je=Ie.getChanges();var Ve=N.getSourceFile().fileName;var qe=E.getRenameLocation(Je,Ve,_e,true);return{renameFilename:Ve,renameLocation:qe,edits:Je};function transformFunctionInitializerAndType(j,$){if(j===undefined)return{variableType:j,initializer:$};if(!E.isFunctionExpression($)&&!E.isArrowFunction($)||!!$.typeParameters)return{variableType:j,initializer:$};var q=ce.getTypeAtLocation(N);var G=E.singleOrUndefined(ce.getSignaturesOfType(q,0));if(!G)return{variableType:j,initializer:$};if(!!G.getTypeParameters())return{variableType:j,initializer:$};var ie=[];var ae=false;for(var le=0,_e=$.parameters;le<_e.length;le++){var Ee=_e[le];if(Ee.type){ie.push(Ee)}else{var Te=ce.getTypeAtLocation(Ee);if(Te===ce.getAnyType())ae=true;ie.push(E.factory.updateParameterDeclaration(Ee,Ee.decorators,Ee.modifiers,Ee.dotDotDotToken,Ee.name,Ee.questionToken,Ee.type||ce.typeToTypeNode(Te,R,1),Ee.initializer))}}if(ae)return{variableType:j,initializer:$};j=undefined;if(E.isArrowFunction($)){$=E.factory.updateArrowFunction($,N.modifiers,$.typeParameters,ie,$.type||ce.typeToTypeNode(G.getReturnType(),R,1),$.equalsGreaterThanToken,$.body)}else{if(G&&!!G.thisParameter){var we=E.firstOrUndefined(ie);if(!we||E.isIdentifier(we.name)&&we.name.escapedText!=="this"){var Ie=ce.getTypeOfSymbolAtLocation(G.thisParameter,N);ie.splice(0,0,E.factory.createParameterDeclaration(undefined,undefined,undefined,"this",undefined,ce.typeToTypeNode(Ie,R,1)))}}$=E.factory.updateFunctionExpression($,N.modifiers,$.asteriskToken,$.name,$.typeParameters,ie,$.type||ce.typeToTypeNode(G.getReturnType(),R,1),$.body)}return{variableType:j,initializer:$}}}function getContainingVariableDeclarationIfInList(N,R){var j;while(N!==undefined&&N!==R){if(E.isVariableDeclaration(N)&&N.initializer===j&&E.isVariableDeclarationList(N.parent)&&N.parent.declarations.length>1){return N}j=N;N=N.parent}}function getFirstDeclaration(E){var N;var R=E.symbol;if(R&&R.declarations){for(var j=0,$=R.declarations;j<$.length;j++){var q=$[j];if(N===undefined||q.pos<N.pos){N=q}}}return N}function compareTypesByDeclarationOrder(N,R){var j=N.type,$=N.declaration;var q=R.type,G=R.declaration;return E.compareProperties($,G,"pos",E.compareValues)||E.compareStringsCaseSensitive(j.symbol?j.symbol.getName():"",q.symbol?q.symbol.getName():"")||E.compareValues(j.id,q.id)}function getCalledExpression(N,R,j){var $=E.factory.createIdentifier(j);if(E.isClassLike(N)){var q=R.facts&ae.InStaticRegion?E.factory.createIdentifier(N.name.text):E.factory.createThis();return E.factory.createPropertyAccessExpression(q,$)}else{return $}}function transformFunctionBody(N,R,j,$,q){var G=j!==undefined||R.length>0;if(E.isBlock(N)&&!G&&$.size===0){return{body:E.factory.createBlock(N.statements,true),returnValueProperty:undefined}}var ie;var ae=false;var ce=E.factory.createNodeArray(E.isBlock(N)?N.statements.slice(0):[E.isStatement(N)?N:E.factory.createReturnStatement(N)]);if(G||$.size){var le=E.visitNodes(ce,visitor).slice();if(G&&!q&&E.isStatement(N)){var _e=getPropertyAssignmentsForWritesAndVariableDeclarations(R,j);if(_e.length===1){le.push(E.factory.createReturnStatement(_e[0].name))}else{le.push(E.factory.createReturnStatement(E.factory.createObjectLiteralExpression(_e)))}}return{body:E.factory.createBlock(le,true),returnValueProperty:ie}}else{return{body:E.factory.createBlock(ce,true),returnValueProperty:undefined}}function visitor(N){if(!ae&&E.isReturnStatement(N)&&G){var q=getPropertyAssignmentsForWritesAndVariableDeclarations(R,j);if(N.expression){if(!ie){ie="__return"}q.unshift(E.factory.createPropertyAssignment(ie,E.visitNode(N.expression,visitor)))}if(q.length===1){return E.factory.createReturnStatement(q[0].name)}else{return E.factory.createReturnStatement(E.factory.createObjectLiteralExpression(q))}}else{var ce=ae;ae=ae||E.isFunctionLikeDeclaration(N)||E.isClassLike(N);var le=$.get(E.getNodeId(N).toString());var _e=le?E.getSynthesizedDeepClone(le):E.visitEachChild(N,visitor,E.nullTransformationContext);ae=ce;return _e}}}function transformConstantInitializer(N,R){return R.size?visitor(N):N;function visitor(N){var j=R.get(E.getNodeId(N).toString());return j?E.getSynthesizedDeepClone(j):E.visitEachChild(N,visitor,E.nullTransformationContext)}}function getStatementsOrClassElements(N){if(E.isFunctionLikeDeclaration(N)){var R=N.body;if(E.isBlock(R)){return R.statements}}else if(E.isModuleBlock(N)||E.isSourceFile(N)){return N.statements}else if(E.isClassLike(N)){return N.members}else{E.assertType(N)}return E.emptyArray}function getNodeToInsertFunctionBefore(N,R){return E.find(getStatementsOrClassElements(R),(function(R){return R.pos>=N&&E.isFunctionLikeDeclaration(R)&&!E.isConstructorDeclaration(R)}))}function getNodeToInsertPropertyBefore(N,R){var j=R.members;E.Debug.assert(j.length>0,"Found no members");var $;var q=true;for(var G=0,ie=j;G<ie.length;G++){var ae=ie[G];if(ae.pos>N){return $||j[0]}if(q&&!E.isPropertyDeclaration(ae)){if($!==undefined){return ae}q=false}$=ae}if($===undefined)return E.Debug.fail();return $}function getNodeToInsertConstantBefore(N,R){E.Debug.assert(!E.isClassLike(R));var j;for(var $=N;$!==R;$=$.parent){if(isScope($)){j=$}}for(var $=(j||N).parent;;$=$.parent){if(isBlockLike($)){var q=void 0;for(var G=0,ie=$.statements;G<ie.length;G++){var ae=ie[G];if(ae.pos>N.pos){break}q=ae}if(!q&&E.isCaseClause($)){E.Debug.assert(E.isSwitchStatement($.parent.parent),"Grandparent isn't a switch statement");return $.parent.parent}return E.Debug.checkDefined(q,"prevStatement failed to get set")}E.Debug.assert($!==R,"Didn't encounter a block-like before encountering scope")}}function getPropertyAssignmentsForWritesAndVariableDeclarations(N,R){var j=E.map(N,(function(N){return E.factory.createShorthandPropertyAssignment(N.symbol.name)}));var $=E.map(R,(function(N){return E.factory.createShorthandPropertyAssignment(N.symbol.name)}));return j===undefined?$:$===undefined?j:j.concat($)}function isReadonlyArray(N){return E.isArray(N)}function getEnclosingTextRange(N,R){return isReadonlyArray(N.range)?{pos:E.first(N.range).getStart(R),end:E.last(N.range).getEnd()}:N.range}var le;(function(E){E[E["Read"]=1]="Read";E[E["Write"]=2]="Write"})(le||(le={}));function collectReadsAndWrites(N,R,j,$,q,G){var ce=new E.Map;var le=[];var _e=[];var Ee=[];var Te=[];var we=[];var Ie=new E.Map;var Ne=[];var Me;var Le=!isReadonlyArray(N.range)?N.range:N.range.length===1&&E.isExpressionStatement(N.range[0])?N.range[0].expression:undefined;var Be;if(Le===undefined){var je=N.range;var Ue=E.first(je).getStart();var ze=E.last(je).end;Be=E.createFileDiagnostic($,Ue,ze-Ue,ie.expressionExpected)}else if(q.getTypeAtLocation(Le).flags&(16384|131072)){Be=E.createDiagnosticForNode(Le,ie.uselessConstantType)}for(var We=0,Je=R;We<Je.length;We++){var Ve=Je[We];le.push({usages:new E.Map,typeParameterUsages:new E.Map,substitutions:new E.Map});_e.push(new E.Map);Ee.push([]);var qe=[];if(Be){qe.push(Be)}if(E.isClassLike(Ve)&&E.isInJSFile(Ve)){qe.push(E.createDiagnosticForNode(Ve,ie.cannotExtractToJSClass))}if(E.isArrowFunction(Ve)&&!E.isBlock(Ve.body)){qe.push(E.createDiagnosticForNode(Ve,ie.cannotExtractToExpressionArrowFunction))}Te.push(qe)}var He=new E.Map;var Ge=isReadonlyArray(N.range)?E.factory.createBlock(N.range):N.range;var Ke=isReadonlyArray(N.range)?E.first(N.range):N.range;var Qe=isInGenericContext(Ke);collectUsages(Ge);if(Qe&&!isReadonlyArray(N.range)){var Xe=q.getContextualType(N.range);recordTypeParameterUsages(Xe)}if(ce.size>0){var Ye=new E.Map;var Ze=0;for(var et=Ke;et!==undefined&&Ze<R.length;et=et.parent){if(et===R[Ze]){Ye.forEach((function(E,N){le[Ze].typeParameterUsages.set(N,E)}));Ze++}if(E.isDeclarationWithTypeParameters(et)){for(var tt=0,rt=E.getEffectiveTypeParameterDeclarations(et);tt<rt.length;tt++){var nt=rt[tt];var it=q.getTypeAtLocation(nt);if(ce.has(it.id.toString())){Ye.set(it.id.toString(),it)}}}}E.Debug.assert(Ze===R.length,"Should have iterated all scopes")}if(we.length){var ot=E.isBlockScope(R[0],R[0].parent)?R[0]:E.getEnclosingBlockScopeContainer(R[0]);E.forEachChild(ot,checkForUsedDeclarations)}var _loop_17=function(R){var j=le[R];if(R>0&&(j.usages.size>0||j.typeParameterUsages.size>0)){var $=isReadonlyArray(N.range)?N.range[0]:N.range;Te[R].push(E.createDiagnosticForNode($,ie.cannotAccessVariablesFromNestedScopes))}var q=false;var G;le[R].usages.forEach((function(N){if(N.usage===2){q=true;if(N.symbol.flags&106500&&N.symbol.valueDeclaration&&E.hasEffectiveModifier(N.symbol.valueDeclaration,64)){G=N.symbol.valueDeclaration}}}));E.Debug.assert(isReadonlyArray(N.range)||Ne.length===0,"No variable declarations expected if something was extracted");if(q&&!isReadonlyArray(N.range)){var ae=E.createDiagnosticForNode(N.range,ie.cannotWriteInExpression);Ee[R].push(ae);Te[R].push(ae)}else if(G&&R>0){var ae=E.createDiagnosticForNode(G,ie.cannotExtractReadonlyPropertyInitializerOutsideConstructor);Ee[R].push(ae);Te[R].push(ae)}else if(Me){var ae=E.createDiagnosticForNode(Me,ie.cannotExtractExportedEntity);Ee[R].push(ae);Te[R].push(ae)}};for(var st=0;st<R.length;st++){_loop_17(st)}return{target:Ge,usagesPerScope:le,functionErrorsPerScope:Ee,constantErrorsPerScope:Te,exposedVariableDeclarations:Ne};function isInGenericContext(N){return!!E.findAncestor(N,(function(N){return E.isDeclarationWithTypeParameters(N)&&E.getEffectiveTypeParameterDeclarations(N).length!==0}))}function recordTypeParameterUsages(E){var N=q.getSymbolWalker((function(){return G.throwIfCancellationRequested(),true}));var R=N.walkType(E).visitedTypes;for(var j=0,$=R;j<$.length;j++){var ie=$[j];if(ie.isTypeParameter()){ce.set(ie.id.toString(),ie)}}}function collectUsages(N,R){if(R===void 0){R=1}if(Qe){var j=q.getTypeAtLocation(N);recordTypeParameterUsages(j)}if(E.isDeclaration(N)&&N.symbol){we.push(N)}if(E.isAssignmentExpression(N)){collectUsages(N.left,2);collectUsages(N.right)}else if(E.isUnaryExpressionWithWrite(N)){collectUsages(N.operand,2)}else if(E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)){E.forEachChild(N,collectUsages)}else if(E.isIdentifier(N)){if(!N.parent){return}if(E.isQualifiedName(N.parent)&&N!==N.parent.left){return}if(E.isPropertyAccessExpression(N.parent)&&N!==N.parent.expression){return}recordUsage(N,R,E.isPartOfTypeNode(N))}else{E.forEachChild(N,collectUsages)}}function recordUsage(N,j,$){var q=recordUsagebySymbol(N,j,$);if(q){for(var G=0;G<R.length;G++){var ie=_e[G].get(q);if(ie){le[G].substitutions.set(E.getNodeId(N).toString(),ie)}}}}function recordUsagebySymbol(G,ce,we){var Ie=getSymbolReferencedByIdentifier(G);if(!Ie){return undefined}var Ne=E.getSymbolId(Ie).toString();var Me=He.get(Ne);if(Me&&Me>=ce){return Ne}He.set(Ne,ce);if(Me){for(var Le=0,Be=le;Le<Be.length;Le++){var je=Be[Le];var Ue=je.usages.get(G.text);if(Ue){je.usages.set(G.text,{usage:ce,symbol:Ie,node:G})}}return Ne}var ze=Ie.getDeclarations();var We=ze&&E.find(ze,(function(E){return E.getSourceFile()===$}));if(!We){return undefined}if(E.rangeContainsStartEnd(j,We.getStart(),We.end)){return undefined}if(N.facts&ae.IsGenerator&&ce===2){var Je=E.createDiagnosticForNode(G,ie.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(var Ve=0,qe=Ee;Ve<qe.length;Ve++){var Ge=qe[Ve];Ge.push(Je)}for(var Ke=0,Qe=Te;Ke<Qe.length;Ke++){var Ge=Qe[Ke];Ge.push(Je)}}for(var Xe=0;Xe<R.length;Xe++){var Ye=R[Xe];var Ze=q.resolveName(Ie.name,Ye,Ie.flags,false);if(Ze===Ie){continue}if(!_e[Xe].has(Ne)){var et=tryReplaceWithQualifiedNameOrPropertyAccess(Ie.exportSymbol||Ie,Ye,we);if(et){_e[Xe].set(Ne,et)}else if(we){if(!(Ie.flags&262144)){var Je=E.createDiagnosticForNode(G,ie.typeWillNotBeVisibleInTheNewScope);Ee[Xe].push(Je);Te[Xe].push(Je)}}else{le[Xe].usages.set(G.text,{usage:ce,symbol:Ie,node:G})}}}return Ne}function checkForUsedDeclarations(R){if(R===N.range||isReadonlyArray(N.range)&&N.range.indexOf(R)>=0){return}var j=E.isIdentifier(R)?getSymbolReferencedByIdentifier(R):q.getSymbolAtLocation(R);if(j){var $=E.find(we,(function(E){return E.symbol===j}));if($){if(E.isVariableDeclaration($)){var G=$.symbol.id.toString();if(!Ie.has(G)){Ne.push($);Ie.set(G,true)}}else{Me=Me||$}}}E.forEachChild(R,checkForUsedDeclarations)}function getSymbolReferencedByIdentifier(N){return N.parent&&E.isShorthandPropertyAssignment(N.parent)&&N.parent.name===N?q.getShorthandAssignmentValueSymbol(N.parent):q.getSymbolAtLocation(N)}function tryReplaceWithQualifiedNameOrPropertyAccess(N,R,j){if(!N){return undefined}var $=N.getDeclarations();if($&&$.some((function(E){return E.parent===R}))){return E.factory.createIdentifier(N.name)}var q=tryReplaceWithQualifiedNameOrPropertyAccess(N.parent,R,j);if(q===undefined){return undefined}return j?E.factory.createQualifiedName(q,E.factory.createIdentifier(N.name)):E.factory.createPropertyAccessExpression(q,N.name)}}function getExtractableParent(N){return E.findAncestor(N,(function(N){return N.parent&&isExtractableExpression(N)&&!E.isBinaryExpression(N.parent)}))}function isExtractableExpression(E){var N=E.parent;switch(N.kind){case 294:return false}switch(E.kind){case 10:return N.kind!==264&&N.kind!==268;case 223:case 199:case 201:return false;case 79:return N.kind!==201&&N.kind!==268&&N.kind!==273}return true}function isBlockLike(E){switch(E.kind){case 233:case 300:case 260:case 287:return true;default:return false}}function isInJSXContent(N){return(E.isJsxElement(N)||E.isJsxSelfClosingElement(N)||E.isJsxFragment(N))&&(E.isJsxElement(N.parent)||E.isJsxFragment(N.parent))}})(R=N.extractSymbol||(N.extractSymbol={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Extract type";var j={name:"Extract to type alias",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"};var q={name:"Extract to interface",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"};var G={name:"Extract to typedef",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};N.registerRefactor(R,{kinds:[j.kind,q.kind,G.kind],getAvailableActions:function(ie){var ae=getRangeToExtract(ie,ie.triggerReason==="invoked");if(!ae)return E.emptyArray;if(!N.isRefactorErrorInfo(ae)){return[{name:R,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_type),actions:ae.isJS?[G]:E.append([j],ae.typeElements&&q)}]}if(ie.preferences.provideRefactorNotApplicableReason){return[{name:R,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_type),actions:[$($({},G),{notApplicableReason:ae.error}),$($({},j),{notApplicableReason:ae.error}),$($({},q),{notApplicableReason:ae.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){var ie=R.file;var ae=getRangeToExtract(R);E.Debug.assert(ae&&!N.isRefactorErrorInfo(ae),"Expected to find a range to extract");var ce=E.getUniqueName("NewType",ie);var le=E.textChanges.ChangeTracker.with(R,(function(N){switch($){case j.name:E.Debug.assert(!ae.isJS,"Invalid actionName/JS combo");return doTypeAliasChange(N,ie,ce,ae);case G.name:E.Debug.assert(ae.isJS,"Invalid actionName/JS combo");return doTypedefChange(N,ie,ce,ae);case q.name:E.Debug.assert(!ae.isJS&&!!ae.typeElements,"Invalid actionName/JS combo");return doInterfaceChange(N,ie,ce,ae);default:E.Debug.fail("Unexpected action name")}}));var _e=ie.fileName;var Ee=E.getRenameLocation(le,_e,ce,false);return{edits:le,renameFilename:_e,renameLocation:Ee}}});function getRangeToExtract(N,R){if(R===void 0){R=true}var j=N.file,$=N.startPosition;var q=E.isSourceFileJS(j);var G=E.getTokenAtPosition(j,$);var ie=E.createTextRangeFromSpan(E.getRefactorContextSpan(N));var ae=ie.pos===ie.end&&R;var ce=E.findAncestor(G,(function(N){return N.parent&&E.isTypeNode(N)&&!rangeContainsSkipTrivia(ie,N.parent,j)&&(ae||E.nodeOverlapsWithStartEnd(G,j,ie.pos,ie.end))}));if(!ce||!E.isTypeNode(ce))return{error:E.getLocaleSpecificMessage(E.Diagnostics.Selection_is_not_a_valid_type_node)};var le=N.program.getTypeChecker();var _e=E.Debug.checkDefined(E.findAncestor(ce,E.isStatement),"Should find a statement");var Ee=collectTypeParameters(le,ce,_e,j);if(!Ee)return{error:E.getLocaleSpecificMessage(E.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var Te=flattenTypeLiteralNodeReference(le,ce);return{isJS:q,selection:ce,firstStatement:_e,typeParameters:Ee,typeElements:Te}}function flattenTypeLiteralNodeReference(N,R){if(!R)return undefined;if(E.isIntersectionTypeNode(R)){var j=[];var $=new E.Map;for(var q=0,G=R.types;q<G.length;q++){var ie=G[q];var ae=flattenTypeLiteralNodeReference(N,ie);if(!ae||!ae.every((function(N){return N.name&&E.addToSeen($,E.getNameFromPropertyName(N.name))}))){return undefined}E.addRange(j,ae)}return j}else if(E.isParenthesizedTypeNode(R)){return flattenTypeLiteralNodeReference(N,R.type)}else if(E.isTypeLiteralNode(R)){return R.members}return undefined}function rangeContainsSkipTrivia(N,R,j){return E.rangeContainsStartEnd(N,E.skipTrivia(j.text,R.pos),R.end)}function collectTypeParameters(N,R,j,$){var q=[];return visitor(R)?undefined:q;function visitor(G){if(E.isTypeReferenceNode(G)){if(E.isIdentifier(G.typeName)){var ie=N.resolveName(G.typeName.text,G.typeName,262144,true);if(ie===null||ie===void 0?void 0:ie.declarations){var ae=E.cast(E.first(ie.declarations),E.isTypeParameterDeclaration);if(rangeContainsSkipTrivia(j,ae,$)&&!rangeContainsSkipTrivia(R,ae,$)){E.pushIfUnique(q,ae)}}}}else if(E.isInferTypeNode(G)){var ce=E.findAncestor(G,(function(N){return E.isConditionalTypeNode(N)&&rangeContainsSkipTrivia(N.extendsType,G,$)}));if(!ce||!rangeContainsSkipTrivia(R,ce,$)){return true}}else if(E.isTypePredicateNode(G)||E.isThisTypeNode(G)){var le=E.findAncestor(G.parent,E.isFunctionLike);if(le&&le.type&&rangeContainsSkipTrivia(le.type,G,$)&&!rangeContainsSkipTrivia(R,le,$)){return true}}else if(E.isTypeQueryNode(G)){if(E.isIdentifier(G.exprName)){var ie=N.resolveName(G.exprName.text,G.exprName,111551,false);if((ie===null||ie===void 0?void 0:ie.valueDeclaration)&&rangeContainsSkipTrivia(j,ie.valueDeclaration,$)&&!rangeContainsSkipTrivia(R,ie.valueDeclaration,$)){return true}}else{if(E.isThisIdentifier(G.exprName.left)&&!rangeContainsSkipTrivia(R,G.parent,$)){return true}}}if($&&E.isTupleTypeNode(G)&&E.getLineAndCharacterOfPosition($,G.pos).line===E.getLineAndCharacterOfPosition($,G.end).line){E.setEmitFlags(G,1)}return E.forEachChild(G,visitor)}}function doTypeAliasChange(N,R,j,$){var q=$.firstStatement,G=$.selection,ie=$.typeParameters;var ae=E.factory.createTypeAliasDeclaration(undefined,undefined,j,ie.map((function(N){return E.factory.updateTypeParameterDeclaration(N,N.name,N.constraint,undefined)})),G);N.insertNodeBefore(R,q,E.ignoreSourceNewlines(ae),true);N.replaceNode(R,G,E.factory.createTypeReferenceNode(j,ie.map((function(N){return E.factory.createTypeReferenceNode(N.name,undefined)}))),{leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.ExcludeWhitespace})}function doInterfaceChange(N,R,j,$){var q;var G=$.firstStatement,ie=$.selection,ae=$.typeParameters,ce=$.typeElements;var le=E.factory.createInterfaceDeclaration(undefined,undefined,j,ae,undefined,ce);E.setTextRange(le,(q=ce[0])===null||q===void 0?void 0:q.parent);N.insertNodeBefore(R,G,E.ignoreSourceNewlines(le),true);N.replaceNode(R,ie,E.factory.createTypeReferenceNode(j,ae.map((function(N){return E.factory.createTypeReferenceNode(N.name,undefined)}))),{leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.ExcludeWhitespace})}function doTypedefChange(N,R,j,$){var q=$.firstStatement,G=$.selection,ie=$.typeParameters;var ae=E.factory.createJSDocTypedefTag(E.factory.createIdentifier("typedef"),E.factory.createJSDocTypeExpression(G),E.factory.createIdentifier(j));var ce=[];E.forEach(ie,(function(N){var R=E.getEffectiveConstraintOfTypeParameter(N);var j=E.factory.createTypeParameterDeclaration(N.name);var $=E.factory.createJSDocTemplateTag(E.factory.createIdentifier("template"),R&&E.cast(R,E.isJSDocTypeExpression),[j]);ce.push($)}));N.insertNodeBefore(R,q,E.factory.createJSDocComment(undefined,E.factory.createNodeArray(E.concatenate(ce,[ae]))),true);N.replaceNode(R,G,E.factory.createTypeReferenceNode(j,ie.map((function(N){return E.factory.createTypeReferenceNode(N.name,undefined)}))))}})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Generate 'get' and 'set' accessors";var q=E.Diagnostics.Generate_get_and_set_accessors.message;var G={name:j,description:q,kind:"refactor.rewrite.property.generateAccessors"};N.registerRefactor(j,{kinds:[G.kind],getEditsForAction:function(R,j){if(!R.endPosition)return undefined;var $=E.codefix.getAccessorConvertiblePropertyAtPosition(R.file,R.program,R.startPosition,R.endPosition);E.Debug.assert($&&!N.isRefactorErrorInfo($),"Expected applicable refactor info");var q=E.codefix.generateAccessorFromProperty(R.file,R.program,R.startPosition,R.endPosition,R,j);if(!q)return undefined;var G=R.file.fileName;var ie=$.renameAccessor?$.accessorName:$.fieldName;var ae=E.isIdentifier(ie)?0:-1;var ce=ae+E.getRenameLocation(q,G,ie.text,E.isParameter($.declaration));return{renameFilename:G,renameLocation:ce,edits:q}},getAvailableActions:function(R){if(!R.endPosition)return E.emptyArray;var ie=E.codefix.getAccessorConvertiblePropertyAtPosition(R.file,R.program,R.startPosition,R.endPosition,R.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){return[{name:j,description:q,actions:[G]}]}if(R.preferences.provideRefactorNotApplicableReason){return[{name:j,description:q,actions:[$($({},G),{notApplicableReason:ie.error})]}]}return E.emptyArray}})})(R=N.generateGetAccessorAndSetAccessor||(N.generateGetAccessorAndSetAccessor={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){function isRefactorErrorInfo(E){return E.error!==undefined}E.isRefactorErrorInfo=isRefactorErrorInfo;function refactorKindBeginsWith(E,N){if(!N)return true;return E.substr(0,N.length)===N}E.refactorKindBeginsWith=refactorKindBeginsWith})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Move to a new file";var q=E.getLocaleSpecificMessage(E.Diagnostics.Move_to_a_new_file);var G={name:R,description:q,kind:"refactor.move.newFile"};N.registerRefactor(R,{kinds:[G.kind],getAvailableActions:function(N){var j=getStatementsToMove(N);if(N.preferences.allowTextChangesInNewFiles&&j){return[{name:R,description:q,actions:[G]}]}if(N.preferences.provideRefactorNotApplicableReason){return[{name:R,description:q,actions:[$($({},G),{notApplicableReason:E.getLocaleSpecificMessage(E.Diagnostics.Selection_is_not_a_valid_statement_or_statements)})]}]}return E.emptyArray},getEditsForAction:function(N,j){E.Debug.assert(j===R,"Wrong refactor invoked");var $=E.Debug.checkDefined(getStatementsToMove(N));var q=E.textChanges.ChangeTracker.with(N,(function(E){return doChange(N.file,N.program,$,E,N.host,N.preferences)}));return{edits:q,renameFilename:undefined,renameLocation:undefined}}});function getRangeToMove(N){var R=N.file;var j=E.createTextRangeFromSpan(E.getRefactorContextSpan(N));var $=R.statements;var q=E.findIndex($,(function(E){return E.end>j.pos}));if(q===-1)return undefined;var G=$[q];if(E.isNamedDeclaration(G)&&G.name&&E.rangeContainsRange(G.name,j)){return{toMove:[$[q]],afterLast:$[q+1]}}if(j.pos>G.getStart(R))return undefined;var ie=E.findIndex($,(function(E){return E.end>j.end}),q);if(ie!==-1&&(ie===0||$[ie].getStart(R)<j.end))return undefined;return{toMove:$.slice(q,ie===-1?$.length:ie),afterLast:ie===-1?undefined:$[ie]}}function doChange(N,R,j,$,q,G){var ie=R.getTypeChecker();var ae=getUsageInfo(N,j.all,ie);var ce=E.getDirectoryPath(N.fileName);var le=E.extensionFromPath(N.fileName);var _e=makeUniqueModuleName(getNewModuleName(ae.movedSymbols),le,ce,q);var Ee=_e+le;$.createNewFile(N,E.combinePaths(ce,Ee),getNewStatementsAndRemoveFromOldFile(N,ae,$,j,R,_e,G));addNewFileToTsconfig(R,$,N.fileName,Ee,E.hostGetCanonicalFileName(q))}function getStatementsToMove(N){var R=getRangeToMove(N);if(R===undefined)return undefined;var j=[];var $=[];var q=R.toMove,G=R.afterLast;E.getRangesWhere(q,isAllowedStatementToMove,(function(E,N){for(var R=E;R<N;R++)j.push(q[R]);$.push({first:q[E],afterLast:G})}));return j.length===0?undefined:{all:j,ranges:$}}function isAllowedStatementToMove(N){return!isPureImport(N)&&!E.isPrologueDirective(N)}function isPureImport(N){switch(N.kind){case 264:return true;case 263:return!E.hasSyntacticModifier(N,1);case 235:return N.declarationList.declarations.every((function(N){return!!N.initializer&&E.isRequireCall(N.initializer,true)}));default:return false}}function addNewFileToTsconfig(N,R,j,$,q){var G=N.getCompilerOptions().configFile;if(!G)return;var ie=E.normalizePath(E.combinePaths(j,"..",$));var ae=E.getRelativePathFromFile(G.fileName,ie,q);var ce=G.statements[0]&&E.tryCast(G.statements[0].expression,E.isObjectLiteralExpression);var le=ce&&E.find(ce.properties,(function(N){return E.isPropertyAssignment(N)&&E.isStringLiteral(N.name)&&N.name.text==="files"}));if(le&&E.isArrayLiteralExpression(le.initializer)){R.insertNodeInListAfter(G,E.last(le.initializer.elements),E.factory.createStringLiteral(ae),le.initializer.elements)}}function getNewStatementsAndRemoveFromOldFile(N,R,$,q,G,ie,ae){var ce=G.getTypeChecker();var le=E.takeWhile(N.statements,E.isPrologueDirective);if(!N.externalModuleIndicator&&!N.commonJsModuleIndicator){deleteMovedStatements(N,q.ranges,$);return j(j([],le,true),q.all,true)}var _e=!!N.externalModuleIndicator;var Ee=E.getQuotePreference(N,ae);var Te=createOldFileImportsFromNewFile(R.oldFileImportsFromNewFile,ie,_e,Ee);if(Te){E.insertImports($,N,Te,true)}deleteUnusedOldImports(N,q.all,$,R.unusedImportsFromOldFile,ce);deleteMovedStatements(N,q.ranges,$);updateImportsInOtherFiles($,G,N,R.movedSymbols,ie);var we=getNewFileImportsAndAddExportInOldFile(N,R.oldImportsNeededByNewFile,R.newFileImportsFromOldFile,$,ce,_e,Ee);var Ie=addExports(N,q.all,R.oldFileImportsFromNewFile,_e);if(we.length&&Ie.length){return j(j(j(j([],le,true),we,true),[4],false),Ie,true)}return j(j(j([],le,true),we,true),Ie,true)}function deleteMovedStatements(E,N,R){for(var j=0,$=N;j<$.length;j++){var q=$[j],G=q.first,ie=q.afterLast;R.deleteNodeRangeExcludingEnd(E,G,ie)}}function deleteUnusedOldImports(N,R,j,$,q){for(var G=0,ie=N.statements;G<ie.length;G++){var ae=ie[G];if(E.contains(R,ae))continue;forEachImportInStatement(ae,(function(E){return deleteUnusedImports(N,E,j,(function(E){return $.has(q.getSymbolAtLocation(E))}))}))}}function updateImportsInOtherFiles(N,R,j,$,q){var G=R.getTypeChecker();var _loop_18=function(R){if(R===j)return"continue";var _loop_19=function(ie){forEachImportInStatement(ie,(function(ae){if(G.getSymbolAtLocation(moduleSpecifierFromImport(ae))!==j.symbol)return;var shouldMove=function(N){var R=E.isBindingElement(N.parent)?E.getPropertySymbolFromBindingElement(G,N.parent):E.skipAlias(G.getSymbolAtLocation(N),G);return!!R&&$.has(R)};deleteUnusedImports(R,ae,N,shouldMove);var ce=E.combinePaths(E.getDirectoryPath(moduleSpecifierFromImport(ae).text),q);var le=filterImport(ae,E.factory.createStringLiteral(ce),shouldMove);if(le)N.insertNodeAfter(R,ie,le);var _e=getNamespaceLikeImport(ae);if(_e)updateNamespaceLikeImport(N,R,G,$,q,ce,_e,ae)}))};for(var ie=0,ae=R.statements;ie<ae.length;ie++){var ce=ae[ie];_loop_19(ce)}};for(var ie=0,ae=R.getSourceFiles();ie<ae.length;ie++){var ce=ae[ie];_loop_18(ce)}}function getNamespaceLikeImport(N){switch(N.kind){case 264:return N.importClause&&N.importClause.namedBindings&&N.importClause.namedBindings.kind===266?N.importClause.namedBindings.name:undefined;case 263:return N.name;case 252:return E.tryCast(N.name,E.isIdentifier);default:return E.Debug.assertNever(N,"Unexpected node kind "+N.kind)}}function updateNamespaceLikeImport(N,R,j,$,q,G,ie,ae){var ce=E.codefix.moduleSpecifierToValidIdentifier(q,99);var le=false;var _e=[];E.FindAllReferences.Core.eachSymbolReferenceInFile(ie,j,R,(function(N){if(!E.isPropertyAccessExpression(N.parent))return;le=le||!!j.resolveName(ce,N,67108863,true);if($.has(j.getSymbolAtLocation(N.parent.name))){_e.push(N)}}));if(_e.length){var Ee=le?E.getUniqueName(ce,R):ce;for(var Te=0,we=_e;Te<we.length;Te++){var Ie=we[Te];N.replaceNode(R,Ie,E.factory.createIdentifier(Ee))}N.insertNodeAfter(R,ae,updateNamespaceLikeImportNode(ae,q,G))}}function updateNamespaceLikeImportNode(N,R,j){var $=E.factory.createIdentifier(R);var q=E.factory.createStringLiteral(j);switch(N.kind){case 264:return E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(false,undefined,E.factory.createNamespaceImport($)),q);case 263:return E.factory.createImportEqualsDeclaration(undefined,undefined,false,$,E.factory.createExternalModuleReference(q));case 252:return E.factory.createVariableDeclaration($,undefined,undefined,createRequireCall(q));default:return E.Debug.assertNever(N,"Unexpected node kind "+N.kind)}}function moduleSpecifierFromImport(E){return E.kind===264?E.moduleSpecifier:E.kind===263?E.moduleReference.expression:E.initializer.arguments[0]}function forEachImportInStatement(N,R){if(E.isImportDeclaration(N)){if(E.isStringLiteral(N.moduleSpecifier))R(N)}else if(E.isImportEqualsDeclaration(N)){if(E.isExternalModuleReference(N.moduleReference)&&E.isStringLiteralLike(N.moduleReference.expression)){R(N)}}else if(E.isVariableStatement(N)){for(var j=0,$=N.declarationList.declarations;j<$.length;j++){var q=$[j];if(q.initializer&&E.isRequireCall(q.initializer,true)){R(q)}}}}function createOldFileImportsFromNewFile(N,R,j,$){var q;var G=[];N.forEach((function(N){if(N.escapedName==="default"){q=E.factory.createIdentifier(E.symbolNameNoDefault(N))}else{G.push(N.name)}}));return makeImportOrRequire(q,G,R,j,$)}function makeImportOrRequire(N,R,j,$,q){j=E.ensurePathIsNonModuleName(j);if($){var G=R.map((function(N){return E.factory.createImportSpecifier(undefined,E.factory.createIdentifier(N))}));return E.makeImportIfNecessary(N,G,j,q)}else{E.Debug.assert(!N,"No default import should exist");var ie=R.map((function(N){return E.factory.createBindingElement(undefined,undefined,N)}));return ie.length?makeVariableStatement(E.factory.createObjectBindingPattern(ie),undefined,createRequireCall(E.factory.createStringLiteral(j))):undefined}}function makeVariableStatement(N,R,j,$){if($===void 0){$=2}return E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(N,undefined,R,j)],$))}function createRequireCall(N){return E.factory.createCallExpression(E.factory.createIdentifier("require"),undefined,[N])}function addExports(N,R,j,$){return E.flatMap(R,(function(R){if(isTopLevelDeclarationStatement(R)&&!isExported(N,R,$)&&forEachTopLevelDeclaration(R,(function(N){return j.has(E.Debug.checkDefined(N.symbol))}))){var q=addExport(R,$);if(q)return q}return R}))}function deleteUnusedImports(N,R,j,$){switch(R.kind){case 264:deleteUnusedImportsInDeclaration(N,R,j,$);break;case 263:if($(R.name)){j.delete(N,R)}break;case 252:deleteUnusedImportsInVariableDeclaration(N,R,j,$);break;default:E.Debug.assertNever(R,"Unexpected import decl kind "+R.kind)}}function deleteUnusedImportsInDeclaration(N,R,j,$){if(!R.importClause)return;var q=R.importClause,G=q.name,ie=q.namedBindings;var ae=!G||$(G);var ce=!ie||(ie.kind===266?$(ie.name):ie.elements.length!==0&&ie.elements.every((function(E){return $(E.name)})));if(ae&&ce){j.delete(N,R)}else{if(G&&ae){j.delete(N,G)}if(ie){if(ce){j.replaceNode(N,R.importClause,E.factory.updateImportClause(R.importClause,R.importClause.isTypeOnly,G,undefined))}else if(ie.kind===267){for(var le=0,_e=ie.elements;le<_e.length;le++){var Ee=_e[le];if($(Ee.name))j.delete(N,Ee)}}}}}function deleteUnusedImportsInVariableDeclaration(N,R,j,$){var q=R.name;switch(q.kind){case 79:if($(q)){j.delete(N,q)}break;case 200:break;case 199:if(q.elements.every((function(N){return E.isIdentifier(N.name)&&$(N.name)}))){j.delete(N,E.isVariableDeclarationList(R.parent)&&R.parent.declarations.length===1?R.parent.parent:R)}else{for(var G=0,ie=q.elements;G<ie.length;G++){var ae=ie[G];if(E.isIdentifier(ae.name)&&$(ae.name)){j.delete(N,ae.name)}}}break}}function getNewFileImportsAndAddExportInOldFile(N,R,j,$,q,G,ie){var ae=[];for(var ce=0,le=N.statements;ce<le.length;ce++){var _e=le[ce];forEachImportInStatement(_e,(function(N){E.append(ae,filterImport(N,moduleSpecifierFromImport(N),(function(E){return R.has(q.getSymbolAtLocation(E))})))}))}var Ee;var Te=[];var we=E.nodeSeenTracker();j.forEach((function(R){if(!R.declarations){return}for(var j=0,q=R.declarations;j<q.length;j++){var ie=q[j];if(!isTopLevelDeclaration(ie))continue;var ae=nameOfTopLevelDeclaration(ie);if(!ae)continue;var ce=getTopLevelDeclarationStatement(ie);if(we(ce)){addExportToChanges(N,ce,ae,$,G)}if(E.hasSyntacticModifier(ie,512)){Ee=ae}else{Te.push(ae.text)}}}));E.append(ae,makeImportOrRequire(Ee,Te,E.removeFileExtension(E.getBaseFileName(N.fileName)),G,ie));return ae}function makeUniqueModuleName(N,R,j,$){var q=N;for(var G=1;;G++){var ie=E.combinePaths(j,q+R);if(!$.fileExists(ie))return q;q=N+"."+G}}function getNewModuleName(N){return N.forEachEntry(E.symbolNameNoDefault)||"newFile"}function getUsageInfo(N,R,j){var $=new ie;var q=new ie;var G=new ie;var ae=E.find(R,(function(E){return!!(E.transformFlags&2)}));var ce=getJsxNamespaceSymbol(ae);if(ce){q.add(ce)}for(var le=0,_e=R;le<_e.length;le++){var Ee=_e[le];forEachTopLevelDeclaration(Ee,(function(N){$.add(E.Debug.checkDefined(E.isExpressionStatement(N)?j.getSymbolAtLocation(N.expression.left):N.symbol,"Need a symbol here"))}))}for(var Te=0,we=R;Te<we.length;Te++){var Ee=we[Te];forEachReference(Ee,j,(function(E){if(!E.declarations)return;for(var R=0,j=E.declarations;R<j.length;R++){var ie=j[R];if(isInImport(ie)){q.add(E)}else if(isTopLevelDeclaration(ie)&&sourceFileOfTopLevelDeclaration(ie)===N&&!$.has(E)){G.add(E)}}}))}var Ie=q.clone();var Ne=new ie;for(var Me=0,Le=N.statements;Me<Le.length;Me++){var Ee=Le[Me];if(E.contains(R,Ee))continue;if(ce&&!!(Ee.transformFlags&2)){Ie.delete(ce)}forEachReference(Ee,j,(function(E){if($.has(E))Ne.add(E);Ie.delete(E)}))}return{movedSymbols:$,newFileImportsFromOldFile:G,oldFileImportsFromNewFile:Ne,oldImportsNeededByNewFile:q,unusedImportsFromOldFile:Ie};function getJsxNamespaceSymbol(N){if(N===undefined){return undefined}var R=j.getJsxNamespace(N);var $=j.resolveName(R,N,1920,true);return!!$&&E.some($.declarations,isInImport)?$:undefined}}function isInImport(N){switch(N.kind){case 263:case 268:case 265:case 266:return true;case 252:return isVariableDeclarationInImport(N);case 201:return E.isVariableDeclaration(N.parent.parent)&&isVariableDeclarationInImport(N.parent.parent);default:return false}}function isVariableDeclarationInImport(N){return E.isSourceFile(N.parent.parent.parent)&&!!N.initializer&&E.isRequireCall(N.initializer,true)}function filterImport(N,R,j){switch(N.kind){case 264:{var $=N.importClause;if(!$)return undefined;var q=$.name&&j($.name)?$.name:undefined;var G=$.namedBindings&&filterNamedBindings($.namedBindings,j);return q||G?E.factory.createImportDeclaration(undefined,undefined,E.factory.createImportClause(false,q,G),R):undefined}case 263:return j(N.name)?N:undefined;case 252:{var ie=filterBindingName(N.name,j);return ie?makeVariableStatement(ie,N.type,createRequireCall(R),N.parent.flags):undefined}default:return E.Debug.assertNever(N,"Unexpected import kind "+N.kind)}}function filterNamedBindings(N,R){if(N.kind===266){return R(N.name)?N:undefined}else{var j=N.elements.filter((function(E){return R(E.name)}));return j.length?E.factory.createNamedImports(j):undefined}}function filterBindingName(N,R){switch(N.kind){case 79:return R(N)?N:undefined;case 200:return N;case 199:{var j=N.elements.filter((function(N){return N.propertyName||!E.isIdentifier(N.name)||R(N.name)}));return j.length?E.factory.createObjectBindingPattern(j):undefined}}}function forEachReference(N,R,j){N.forEachChild((function cb(N){if(E.isIdentifier(N)&&!E.isDeclarationName(N)){var $=R.getSymbolAtLocation(N);if($)j($)}else{N.forEachChild(cb)}}))}var ie=function(){function SymbolSet(){this.map=new E.Map}SymbolSet.prototype.add=function(N){this.map.set(String(E.getSymbolId(N)),N)};SymbolSet.prototype.has=function(N){return this.map.has(String(E.getSymbolId(N)))};SymbolSet.prototype.delete=function(N){this.map.delete(String(E.getSymbolId(N)))};SymbolSet.prototype.forEach=function(E){this.map.forEach(E)};SymbolSet.prototype.forEachEntry=function(N){return E.forEachEntry(this.map,N)};SymbolSet.prototype.clone=function(){var N=new SymbolSet;E.copyEntries(this.map,N.map);return N};return SymbolSet}();function isTopLevelDeclaration(N){return isNonVariableTopLevelDeclaration(N)&&E.isSourceFile(N.parent)||E.isVariableDeclaration(N)&&E.isSourceFile(N.parent.parent.parent)}function sourceFileOfTopLevelDeclaration(N){return E.isVariableDeclaration(N)?N.parent.parent.parent:N.parent}function isTopLevelDeclarationStatement(N){E.Debug.assert(E.isSourceFile(N.parent),"Node parent should be a SourceFile");return isNonVariableTopLevelDeclaration(N)||E.isVariableStatement(N)}function isNonVariableTopLevelDeclaration(E){switch(E.kind){case 254:case 255:case 259:case 258:case 257:case 256:case 263:return true;default:return false}}function forEachTopLevelDeclaration(N,R){switch(N.kind){case 254:case 255:case 259:case 258:case 257:case 256:case 263:return R(N);case 235:return E.firstDefined(N.declarationList.declarations,(function(E){return forEachTopLevelDeclarationInBindingName(E.name,R)}));case 236:{var j=N.expression;return E.isBinaryExpression(j)&&E.getAssignmentDeclarationKind(j)===1?R(N):undefined}}}function forEachTopLevelDeclarationInBindingName(N,R){switch(N.kind){case 79:return R(E.cast(N.parent,(function(N){return E.isVariableDeclaration(N)||E.isBindingElement(N)})));case 200:case 199:return E.firstDefined(N.elements,(function(N){return E.isOmittedExpression(N)?undefined:forEachTopLevelDeclarationInBindingName(N.name,R)}));default:return E.Debug.assertNever(N,"Unexpected name kind "+N.kind)}}function nameOfTopLevelDeclaration(N){return E.isExpressionStatement(N)?E.tryCast(N.expression.left.name,E.isIdentifier):E.tryCast(N.name,E.isIdentifier)}function getTopLevelDeclarationStatement(N){switch(N.kind){case 252:return N.parent.parent;case 201:return getTopLevelDeclarationStatement(E.cast(N.parent.parent,(function(N){return E.isVariableDeclaration(N)||E.isBindingElement(N)})));default:return N}}function addExportToChanges(N,R,j,$,q){if(isExported(N,R,q,j))return;if(q){if(!E.isExpressionStatement(R))$.insertExportModifier(N,R)}else{var G=getNamesToExportInCommonJS(R);if(G.length!==0)$.insertNodesAfter(N,R,G.map(createExportAssignment))}}function isExported(N,R,j,$){var q;if(j){return!E.isExpressionStatement(R)&&E.hasSyntacticModifier(R,1)||!!($&&((q=N.symbol.exports)===null||q===void 0?void 0:q.has($.escapedText)))}return getNamesToExportInCommonJS(R).some((function(R){return N.symbol.exports.has(E.escapeLeadingUnderscores(R))}))}function addExport(E,N){return N?[addEs6Export(E)]:addCommonjsExport(E)}function addEs6Export(N){var R=E.concatenate([E.factory.createModifier(93)],N.modifiers);switch(N.kind){case 254:return E.factory.updateFunctionDeclaration(N,N.decorators,R,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body);case 255:return E.factory.updateClassDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members);case 235:return E.factory.updateVariableStatement(N,R,N.declarationList);case 259:return E.factory.updateModuleDeclaration(N,N.decorators,R,N.name,N.body);case 258:return E.factory.updateEnumDeclaration(N,N.decorators,R,N.name,N.members);case 257:return E.factory.updateTypeAliasDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.type);case 256:return E.factory.updateInterfaceDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members);case 263:return E.factory.updateImportEqualsDeclaration(N,N.decorators,R,N.isTypeOnly,N.name,N.moduleReference);case 236:return E.Debug.fail();default:return E.Debug.assertNever(N,"Unexpected declaration kind "+N.kind)}}function addCommonjsExport(E){return j([E],getNamesToExportInCommonJS(E).map(createExportAssignment),true)}function getNamesToExportInCommonJS(N){switch(N.kind){case 254:case 255:return[N.name.text];case 235:return E.mapDefined(N.declarationList.declarations,(function(N){return E.isIdentifier(N.name)?N.name.text:undefined}));case 259:case 258:case 257:case 256:case 263:return E.emptyArray;case 236:return E.Debug.fail("Can't export an ExpressionStatement");default:return E.Debug.assertNever(N,"Unexpected decl kind "+N.kind)}}function createExportAssignment(N){return E.factory.createExpressionStatement(E.factory.createBinaryExpression(E.factory.createPropertyAccessExpression(E.factory.createIdentifier("exports"),E.factory.createIdentifier(N)),63,E.factory.createIdentifier(N)))}})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Add or remove braces in an arrow function";var q=E.Diagnostics.Add_or_remove_braces_in_an_arrow_function.message;var G={name:"Add braces to arrow function",description:E.Diagnostics.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"};var ie={name:"Remove braces from arrow function",description:E.Diagnostics.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"};N.registerRefactor(j,{kinds:[ie.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(R){var ae=R.file,ce=R.startPosition,le=R.triggerReason;var _e=getConvertibleArrowFunctionAtPosition(ae,ce,le==="invoked");if(!_e)return E.emptyArray;if(!N.isRefactorErrorInfo(_e)){return[{name:j,description:q,actions:[_e.addBraces?G:ie]}]}if(R.preferences.provideRefactorNotApplicableReason){return[{name:j,description:q,actions:[$($({},G),{notApplicableReason:_e.error}),$($({},ie),{notApplicableReason:_e.error})]}]}return E.emptyArray}function getEditsForAction(R,j){var $=R.file,q=R.startPosition;var ae=getConvertibleArrowFunctionAtPosition($,q);E.Debug.assert(ae&&!N.isRefactorErrorInfo(ae),"Expected applicable refactor info");var ce=ae.expression,le=ae.returnStatement,_e=ae.func;var Ee;if(j===G.name){var Te=E.factory.createReturnStatement(ce);Ee=E.factory.createBlock([Te],true);E.suppressLeadingAndTrailingTrivia(Ee);E.copyLeadingComments(ce,Te,$,3,true)}else if(j===ie.name&&le){var we=ce||E.factory.createVoidZero();Ee=E.needsParentheses(we)?E.factory.createParenthesizedExpression(we):we;E.suppressLeadingAndTrailingTrivia(Ee);E.copyTrailingAsLeadingComments(le,Ee,$,3,false);E.copyLeadingComments(le,Ee,$,3,false);E.copyTrailingComments(le,Ee,$,3,false)}else{E.Debug.fail("invalid action")}var Ie=E.textChanges.ChangeTracker.with(R,(function(E){E.replaceNode($,_e.body,Ee)}));return{renameFilename:undefined,renameLocation:undefined,edits:Ie}}function getConvertibleArrowFunctionAtPosition(R,j,$,q){if($===void 0){$=true}var ae=E.getTokenAtPosition(R,j);var ce=E.getContainingFunction(ae);if(!ce){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_a_containing_arrow_function)}}if(!E.isArrowFunction(ce)){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Containing_function_is_not_an_arrow_function)}}if(!E.rangeContainsRange(ce,ae)||E.rangeContainsRange(ce.body,ae)&&!$){return undefined}if(N.refactorKindBeginsWith(G.kind,q)&&E.isExpression(ce.body)){return{func:ce,addBraces:true,expression:ce.body}}else if(N.refactorKindBeginsWith(ie.kind,q)&&E.isBlock(ce.body)&&ce.body.statements.length===1){var le=E.first(ce.body.statements);if(E.isReturnStatement(le)){return{func:ce,addBraces:false,expression:le.expression,returnStatement:le}}}return undefined}})(R=N.addOrRemoveBracesToArrowFunction||(N.addOrRemoveBracesToArrowFunction={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var $="Convert parameters to destructured object";var q=2;var G=E.getLocaleSpecificMessage(E.Diagnostics.Convert_parameters_to_destructured_object);var ie={name:$,description:G,kind:"refactor.rewrite.parameters.toDestructured"};N.registerRefactor($,{kinds:[ie.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(N){var R=N.file,j=N.startPosition;var q=E.isSourceFileJS(R);if(q)return E.emptyArray;var ae=getFunctionDeclarationAtPosition(R,j,N.program.getTypeChecker());if(!ae)return E.emptyArray;return[{name:$,description:G,actions:[ie]}]}function getEditsForAction(N,R){E.Debug.assert(R===$,"Unexpected action name");var j=N.file,q=N.startPosition,G=N.program,ie=N.cancellationToken,ae=N.host;var ce=getFunctionDeclarationAtPosition(j,q,G.getTypeChecker());if(!ce||!ie)return undefined;var le=getGroupedReferences(ce,G,ie);if(le.valid){var _e=E.textChanges.ChangeTracker.with(N,(function(E){return doChange(j,G,ae,E,ce,le)}));return{renameFilename:undefined,renameLocation:undefined,edits:_e}}return{edits:[]}}function doChange(N,R,j,$,q,G){var ie=G.signature;var ae=E.map(createNewParameters(q,R,j),(function(N){return E.getSynthesizedDeepClone(N)}));if(ie){var ce=E.map(createNewParameters(ie,R,j),(function(N){return E.getSynthesizedDeepClone(N)}));replaceParameters(ie,ce)}replaceParameters(q,ae);var le=E.sortAndDeduplicate(G.functionCalls,(function(N,R){return E.compareValues(N.pos,R.pos)}));for(var _e=0,Ee=le;_e<Ee.length;_e++){var Te=Ee[_e];if(Te.arguments&&Te.arguments.length){var we=E.getSynthesizedDeepClone(createNewArgument(q,Te.arguments),true);$.replaceNodeRange(E.getSourceFileOfNode(Te),E.first(Te.arguments),E.last(Te.arguments),we,{leadingTriviaOption:E.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include})}}function replaceParameters(R,j){$.replaceNodeRangeWithNodes(N,E.first(R.parameters),E.last(R.parameters),j,{joiner:", ",indentation:0,leadingTriviaOption:E.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include})}}function getGroupedReferences(N,R,$){var q=getFunctionNames(N);var G=E.isConstructorDeclaration(N)?getClassNames(N):[];var ie=E.deduplicate(j(j([],q,true),G,true),E.equateValues);var ae=R.getTypeChecker();var ce=E.flatMap(ie,(function(N){return E.FindAllReferences.getReferenceEntriesForNode(-1,N,R,R.getSourceFiles(),$)}));var le=groupReferences(ce);if(!E.every(le.declarations,(function(N){return E.contains(ie,N)}))){le.valid=false}return le;function groupReferences(R){var j={accessExpressions:[],typeUsages:[]};var $={functionCalls:[],declarations:[],classReferences:j,valid:true};var ie=E.map(q,getSymbolTargetAtLocation);var ce=E.map(G,getSymbolTargetAtLocation);var le=E.isConstructorDeclaration(N);var _e=E.map(q,(function(E){return getSymbolForContextualType(E,ae)}));for(var Ee=0,Te=R;Ee<Te.length;Ee++){var we=Te[Ee];if(we.kind===0){$.valid=false;continue}if(E.contains(_e,getSymbolTargetAtLocation(we.node))){if(isValidMethodSignature(we.node.parent)){$.signature=we.node.parent;continue}var Ie=entryToFunctionCall(we);if(Ie){$.functionCalls.push(Ie);continue}}var Ne=getSymbolForContextualType(we.node,ae);if(Ne&&E.contains(_e,Ne)){var Me=entryToDeclaration(we);if(Me){$.declarations.push(Me);continue}}if(E.contains(ie,getSymbolTargetAtLocation(we.node))||E.isNewExpressionTarget(we.node)){var Le=entryToImportOrExport(we);if(Le){continue}var Me=entryToDeclaration(we);if(Me){$.declarations.push(Me);continue}var Ie=entryToFunctionCall(we);if(Ie){$.functionCalls.push(Ie);continue}}if(le&&E.contains(ce,getSymbolTargetAtLocation(we.node))){var Le=entryToImportOrExport(we);if(Le){continue}var Me=entryToDeclaration(we);if(Me){$.declarations.push(Me);continue}var Be=entryToAccessExpression(we);if(Be){j.accessExpressions.push(Be);continue}if(E.isClassDeclaration(N.parent)){var je=entryToType(we);if(je){j.typeUsages.push(je);continue}}}$.valid=false}return $}function getSymbolTargetAtLocation(N){var R=ae.getSymbolAtLocation(N);return R&&E.getSymbolTarget(R,ae)}}function getSymbolForContextualType(N,R){var j=E.getContainingObjectLiteralElement(N);if(j){var $=R.getContextualTypeForObjectLiteralElement(j);var q=$===null||$===void 0?void 0:$.getSymbol();if(q&&!(E.getCheckFlags(q)&6)){return q}}}function entryToImportOrExport(N){var R=N.node;if(E.isImportSpecifier(R.parent)||E.isImportClause(R.parent)||E.isImportEqualsDeclaration(R.parent)||E.isNamespaceImport(R.parent)){return R}if(E.isExportSpecifier(R.parent)||E.isExportAssignment(R.parent)){return R}return undefined}function entryToDeclaration(N){if(E.isDeclaration(N.node.parent)){return N.node}return undefined}function entryToFunctionCall(N){if(N.node.parent){var R=N.node;var j=R.parent;switch(j.kind){case 206:case 207:var $=E.tryCast(j,E.isCallOrNewExpression);if($&&$.expression===R){return $}break;case 204:var q=E.tryCast(j,E.isPropertyAccessExpression);if(q&&q.parent&&q.name===R){var G=E.tryCast(q.parent,E.isCallOrNewExpression);if(G&&G.expression===q){return G}}break;case 205:var ie=E.tryCast(j,E.isElementAccessExpression);if(ie&&ie.parent&&ie.argumentExpression===R){var ae=E.tryCast(ie.parent,E.isCallOrNewExpression);if(ae&&ae.expression===ie){return ae}}break}}return undefined}function entryToAccessExpression(N){if(N.node.parent){var R=N.node;var j=R.parent;switch(j.kind){case 204:var $=E.tryCast(j,E.isPropertyAccessExpression);if($&&$.expression===R){return $}break;case 205:var q=E.tryCast(j,E.isElementAccessExpression);if(q&&q.expression===R){return q}break}}return undefined}function entryToType(N){var R=N.node;if(E.getMeaningFromLocation(R)===2||E.isExpressionWithTypeArgumentsInClassExtendsClause(R.parent)){return R}return undefined}function getFunctionDeclarationAtPosition(N,R,j){var $=E.getTouchingToken(N,R);var q=E.getContainingFunctionDeclaration($);if(isTopLevelJSDoc($))return undefined;if(q&&isValidFunctionDeclaration(q,j)&&E.rangeContainsRange(q,$)&&!(q.body&&E.rangeContainsRange(q.body,$)))return q;return undefined}function isTopLevelJSDoc(N){var R=E.findAncestor(N,E.isJSDocNode);if(R){var j=E.findAncestor(R,(function(N){return!E.isJSDocNode(N)}));return!!j&&E.isFunctionLikeDeclaration(j)}return false}function isValidMethodSignature(N){return E.isMethodSignature(N)&&(E.isInterfaceDeclaration(N.parent)||E.isTypeLiteralNode(N.parent))}function isValidFunctionDeclaration(N,R){var j;if(!isValidParameterNodeArray(N.parameters,R))return false;switch(N.kind){case 254:return hasNameOrDefault(N)&&isSingleImplementation(N,R);case 167:if(E.isObjectLiteralExpression(N.parent)){var $=getSymbolForContextualType(N.name,R);return((j=$===null||$===void 0?void 0:$.declarations)===null||j===void 0?void 0:j.length)===1&&isSingleImplementation(N,R)}return isSingleImplementation(N,R);case 169:if(E.isClassDeclaration(N.parent)){return hasNameOrDefault(N.parent)&&isSingleImplementation(N,R)}else{return isValidVariableDeclaration(N.parent.parent)&&isSingleImplementation(N,R)}case 211:case 212:return isValidVariableDeclaration(N.parent)}return false}function isSingleImplementation(E,N){return!!E.body&&!N.isImplementationOfOverload(E)}function hasNameOrDefault(N){if(!N.name){var R=E.findModifier(N,88);return!!R}return true}function isValidParameterNodeArray(N,R){return getRefactorableParametersLength(N)>=q&&E.every(N,(function(E){return isValidParameterDeclaration(E,R)}))}function isValidParameterDeclaration(N,R){if(E.isRestParameter(N)){var j=R.getTypeAtLocation(N);if(!R.isArrayType(j)&&!R.isTupleType(j))return false}return!N.modifiers&&!N.decorators&&E.isIdentifier(N.name)}function isValidVariableDeclaration(N){return E.isVariableDeclaration(N)&&E.isVarConst(N)&&E.isIdentifier(N.name)&&!N.type}function hasThisParameter(N){return N.length>0&&E.isThis(N[0].name)}function getRefactorableParametersLength(E){if(hasThisParameter(E)){return E.length-1}return E.length}function getRefactorableParameters(N){if(hasThisParameter(N)){N=E.factory.createNodeArray(N.slice(1),N.hasTrailingComma)}return N}function createPropertyOrShorthandAssignment(N,R){if(E.isIdentifier(R)&&E.getTextOfIdentifierOrLiteral(R)===N){return E.factory.createShorthandPropertyAssignment(N)}return E.factory.createPropertyAssignment(N,R)}function createNewArgument(N,R){var j=getRefactorableParameters(N.parameters);var $=E.isRestParameter(E.last(j));var q=$?R.slice(0,j.length-1):R;var G=E.map(q,(function(N,R){var $=getParameterName(j[R]);var q=createPropertyOrShorthandAssignment($,N);E.suppressLeadingAndTrailingTrivia(q.name);if(E.isPropertyAssignment(q))E.suppressLeadingAndTrailingTrivia(q.initializer);E.copyComments(N,q);return q}));if($&&R.length>=j.length){var ie=R.slice(j.length-1);var ae=E.factory.createPropertyAssignment(getParameterName(E.last(j)),E.factory.createArrayLiteralExpression(ie));G.push(ae)}var ce=E.factory.createObjectLiteralExpression(G,false);return ce}function createNewParameters(N,R,j){var $=R.getTypeChecker();var q=getRefactorableParameters(N.parameters);var G=E.map(q,createBindingElementFromParameterDeclaration);var ie=E.factory.createObjectBindingPattern(G);var ae=createParameterTypeNode(q);var ce;if(E.every(q,isOptionalParameter)){ce=E.factory.createObjectLiteralExpression()}var le=E.factory.createParameterDeclaration(undefined,undefined,undefined,ie,undefined,ae,ce);if(hasThisParameter(N.parameters)){var _e=N.parameters[0];var Ee=E.factory.createParameterDeclaration(undefined,undefined,undefined,_e.name,undefined,_e.type);E.suppressLeadingAndTrailingTrivia(Ee.name);E.copyComments(_e.name,Ee.name);if(_e.type){E.suppressLeadingAndTrailingTrivia(Ee.type);E.copyComments(_e.type,Ee.type)}return E.factory.createNodeArray([Ee,le])}return E.factory.createNodeArray([le]);function createBindingElementFromParameterDeclaration(N){var R=E.factory.createBindingElement(undefined,undefined,getParameterName(N),E.isRestParameter(N)&&isOptionalParameter(N)?E.factory.createArrayLiteralExpression():N.initializer);E.suppressLeadingAndTrailingTrivia(R);if(N.initializer&&R.initializer){E.copyComments(N.initializer,R.initializer)}return R}function createParameterTypeNode(N){var R=E.map(N,createPropertySignatureFromParameterDeclaration);var j=E.addEmitFlags(E.factory.createTypeLiteralNode(R),1);return j}function createPropertySignatureFromParameterDeclaration(N){var R=N.type;if(!R&&(N.initializer||E.isRestParameter(N))){R=getTypeNode(N)}var j=E.factory.createPropertySignature(undefined,getParameterName(N),isOptionalParameter(N)?E.factory.createToken(57):N.questionToken,R);E.suppressLeadingAndTrailingTrivia(j);E.copyComments(N.name,j.name);if(N.type&&j.type){E.copyComments(N.type,j.type)}return j}function getTypeNode(N){var q=$.getTypeAtLocation(N);return E.getTypeNodeIfAccessible(q,N,R,j)}function isOptionalParameter(N){if(E.isRestParameter(N)){var R=$.getTypeAtLocation(N);return!$.isTupleType(R)}return $.isOptionalParameter(N)}}function getParameterName(N){return E.getTextOfIdentifierOrLiteral(N.name)}function getClassNames(N){switch(N.parent.kind){case 255:var R=N.parent;if(R.name)return[R.name];var j=E.Debug.checkDefined(E.findModifier(R,88),"Nameless class declaration should be a default export");return[j];case 224:var $=N.parent;var q=N.parent.parent;var G=$.name;if(G)return[G,q.name];return[q.name]}}function getFunctionNames(N){switch(N.kind){case 254:if(N.name)return[N.name];var R=E.Debug.checkDefined(E.findModifier(N,88),"Nameless function declaration should be a default export");return[R];case 167:return[N.name];case 169:var j=E.Debug.checkDefined(E.findChildOfKind(N,133,N.getSourceFile()),"Constructor declaration should have constructor keyword");if(N.parent.kind===224){var $=N.parent.parent;return[$.name,j]}return[j];case 212:return[N.parent.name];case 211:if(N.name)return[N.name,N.parent.name];return[N.parent.name];default:return E.Debug.assertNever(N,"Unexpected function declaration kind "+N.kind)}}})(R=N.convertParamsToDestructuredObject||(N.convertParamsToDestructuredObject={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert to template string";var q=E.getLocaleSpecificMessage(E.Diagnostics.Convert_to_template_string);var G={name:j,description:q,kind:"refactor.rewrite.string"};N.registerRefactor(j,{kinds:[G.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(N){var R=N.file,ie=N.startPosition;var ae=getNodeOrParentOfParentheses(R,ie);var ce=getParentBinaryExpression(ae);var le={name:j,description:q,actions:[]};if(E.isBinaryExpression(ce)&&treeToArray(ce).isValidConcatenation){le.actions.push(G);return[le]}else if(N.preferences.provideRefactorNotApplicableReason){le.actions.push($($({},G),{notApplicableReason:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_string_concatenation)}));return[le]}return E.emptyArray}function getNodeOrParentOfParentheses(N,R){var j=E.getTokenAtPosition(N,R);var $=getParentBinaryExpression(j);var q=!treeToArray($).isValidConcatenation;if(q&&E.isParenthesizedExpression($.parent)&&E.isBinaryExpression($.parent.parent)){return $.parent.parent}return j}function getEditsForAction(N,R){var j=N.file,$=N.startPosition;var G=getNodeOrParentOfParentheses(j,$);switch(R){case q:return{edits:getEditsForToTemplateLiteral(N,G)};default:return E.Debug.fail("invalid action")}}function getEditsForToTemplateLiteral(N,R){var j=getParentBinaryExpression(R);var $=N.file;var q=nodesToTemplate(treeToArray(j),$);var G=E.getTrailingCommentRanges($.text,j.end);if(G){var ie=G[G.length-1];var ae={pos:G[0].pos,end:ie.end};return E.textChanges.ChangeTracker.with(N,(function(E){E.deleteRange($,ae);E.replaceNode($,j,q)}))}else{return E.textChanges.ChangeTracker.with(N,(function(E){return E.replaceNode($,j,q)}))}}function isNotEqualsOperator(E){return E.operatorToken.kind!==63}function getParentBinaryExpression(N){var R=E.findAncestor(N.parent,(function(N){switch(N.kind){case 204:case 205:return false;case 221:case 219:return!(E.isBinaryExpression(N.parent)&&isNotEqualsOperator(N.parent));default:return"quit"}}));return R||N}function treeToArray(N){var loop=function(N){if(!E.isBinaryExpression(N)){return{nodes:[N],operators:[],validOperators:true,hasString:E.isStringLiteral(N)||E.isNoSubstitutionTemplateLiteral(N)}}var R=loop(N.left),j=R.nodes,$=R.operators,q=R.hasString,G=R.validOperators;if(!(q||E.isStringLiteral(N.right)||E.isTemplateExpression(N.right))){return{nodes:[N],operators:[],hasString:false,validOperators:true}}var ie=N.operatorToken.kind===39;var ae=G&&ie;j.push(N.right);$.push(N.operatorToken);return{nodes:j,operators:$,hasString:true,validOperators:ae}};var R=loop(N),j=R.nodes,$=R.operators,q=R.validOperators,G=R.hasString;return{nodes:j,operators:$,isValidConcatenation:q&&G}}var copyTrailingOperatorComments=function(N,R){return function(j,$){if(j<N.length){E.copyTrailingComments(N[j],$,R,3,false)}}};var copyCommentFromMultiNode=function(N,R,j){return function($,q){while($.length>0){var G=$.shift();E.copyTrailingComments(N[G],q,R,3,false);j(G,q)}}};function escapeRawStringForTemplate(E){return E.replace(/\\.|[$`]/g,(function(E){return E[0]==="\\"?E:"\\"+E}))}function getRawTextOfTemplate(N){var R=E.isTemplateHead(N)||E.isTemplateMiddle(N)?-2:-1;return E.getTextOfNode(N).slice(1,R)}function concatConsecutiveString(N,R){var j=[];var $="",q="";while(N<R.length){var G=R[N];if(E.isStringLiteralLike(G)){$+=G.text;q+=escapeRawStringForTemplate(E.getTextOfNode(G).slice(1,-1));j.push(N);N++}else if(E.isTemplateExpression(G)){$+=G.head.text;q+=getRawTextOfTemplate(G.head);break}else{break}}return[N,$,q,j]}function nodesToTemplate(N,R){var j=N.nodes,$=N.operators;var q=copyTrailingOperatorComments($,R);var G=copyCommentFromMultiNode(j,R,q);var ie=concatConsecutiveString(0,j),ae=ie[0],ce=ie[1],le=ie[2],_e=ie[3];if(ae===j.length){var Ee=E.factory.createNoSubstitutionTemplateLiteral(ce,le);G(_e,Ee);return Ee}var Te=[];var we=E.factory.createTemplateHead(ce,le);G(_e,we);var _loop_20=function(N){var R=getExpressionFromParenthesesOrExpression(j[N]);q(N,R);var $=concatConsecutiveString(N+1,j),ie=$[0],ae=$[1],ce=$[2],le=$[3];N=ie-1;var _e=N===j.length-1;if(E.isTemplateExpression(R)){var Ee=E.map(R.templateSpans,(function(N,j){copyExpressionComments(N);var $=j===R.templateSpans.length-1;var q=N.literal.text+($?ae:"");var G=getRawTextOfTemplate(N.literal)+($?ce:"");return E.factory.createTemplateSpan(N.expression,_e?E.factory.createTemplateTail(q,G):E.factory.createTemplateMiddle(q,G))}));Te.push.apply(Te,Ee)}else{var we=_e?E.factory.createTemplateTail(ae,ce):E.factory.createTemplateMiddle(ae,ce);G(le,we);Te.push(E.factory.createTemplateSpan(R,we))}Ie=N};var Ie;for(var Ne=ae;Ne<j.length;Ne++){_loop_20(Ne);Ne=Ie}return E.factory.createTemplateExpression(we,Te)}function copyExpressionComments(N){var R=N.getSourceFile();E.copyTrailingComments(N,N.expression,R,3,false);E.copyTrailingAsLeadingComments(N.expression,N.expression,R,3,false)}function getExpressionFromParenthesesOrExpression(N){if(E.isParenthesizedExpression(N)){copyExpressionComments(N);N=N.expression}return N}})(R=N.convertStringOrTemplateLiteral||(N.convertStringOrTemplateLiteral={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert arrow function or function expression";var q=E.getLocaleSpecificMessage(E.Diagnostics.Convert_arrow_function_or_function_expression);var G={name:"Convert to anonymous function",description:E.getLocaleSpecificMessage(E.Diagnostics.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"};var ie={name:"Convert to named function",description:E.getLocaleSpecificMessage(E.Diagnostics.Convert_to_named_function),kind:"refactor.rewrite.function.named"};var ae={name:"Convert to arrow function",description:E.getLocaleSpecificMessage(E.Diagnostics.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"};N.registerRefactor(j,{kinds:[G.kind,ie.kind,ae.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(R){var ce=R.file,le=R.startPosition,_e=R.program,Ee=R.kind;var Te=getFunctionInfo(ce,le,_e);if(!Te)return E.emptyArray;var we=Te.selectedVariableDeclaration,Ie=Te.func;var Ne=[];var Me=[];if(N.refactorKindBeginsWith(ie.kind,Ee)){var Le=we||E.isArrowFunction(Ie)&&E.isVariableDeclaration(Ie.parent)?undefined:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_convert_to_named_function);if(Le){Me.push($($({},ie),{notApplicableReason:Le}))}else{Ne.push(ie)}}if(N.refactorKindBeginsWith(G.kind,Ee)){var Le=!we&&E.isArrowFunction(Ie)?undefined:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_convert_to_anonymous_function);if(Le){Me.push($($({},G),{notApplicableReason:Le}))}else{Ne.push(G)}}if(N.refactorKindBeginsWith(ae.kind,Ee)){var Le=E.isFunctionExpression(Ie)?undefined:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_convert_to_arrow_function);if(Le){Me.push($($({},ae),{notApplicableReason:Le}))}else{Ne.push(ae)}}return[{name:j,description:q,actions:Ne.length===0&&R.preferences.provideRefactorNotApplicableReason?Me:Ne}]}function getEditsForAction(N,R){var j=N.file,$=N.startPosition,q=N.program;var ce=getFunctionInfo(j,$,q);if(!ce)return undefined;var le=ce.func;var _e=[];switch(R){case G.name:_e.push.apply(_e,getEditInfoForConvertToAnonymousFunction(N,le));break;case ie.name:var Ee=getVariableInfo(le);if(!Ee)return undefined;_e.push.apply(_e,getEditInfoForConvertToNamedFunction(N,le,Ee));break;case ae.name:if(!E.isFunctionExpression(le))return undefined;_e.push.apply(_e,getEditInfoForConvertToArrowFunction(N,le));break;default:return E.Debug.fail("invalid action")}return{renameFilename:undefined,renameLocation:undefined,edits:_e}}function containingThis(N){var R=false;N.forEachChild((function checkThis(N){if(E.isThis(N)){R=true;return}if(!E.isClassLike(N)&&!E.isFunctionDeclaration(N)&&!E.isFunctionExpression(N)){E.forEachChild(N,checkThis)}}));return R}function getFunctionInfo(N,R,j){var $=E.getTokenAtPosition(N,R);var q=j.getTypeChecker();var G=tryGetFunctionFromVariableDeclaration(N,q,$.parent);if(G&&!containingThis(G.body)&&!q.containsArgumentsReference(G)){return{selectedVariableDeclaration:true,func:G}}var ie=E.getContainingFunction($);if(ie&&(E.isFunctionExpression(ie)||E.isArrowFunction(ie))&&!E.rangeContainsRange(ie.body,$)&&!containingThis(ie.body)&&!q.containsArgumentsReference(ie)){if(E.isFunctionExpression(ie)&&isFunctionReferencedInFile(N,q,ie))return undefined;return{selectedVariableDeclaration:false,func:ie}}return undefined}function isSingleVariableDeclaration(N){return E.isVariableDeclaration(N)||E.isVariableDeclarationList(N)&&N.declarations.length===1}function tryGetFunctionFromVariableDeclaration(N,R,j){if(!isSingleVariableDeclaration(j)){return undefined}var $=E.isVariableDeclaration(j)?j:E.first(j.declarations);var q=$.initializer;if(q&&(E.isArrowFunction(q)||E.isFunctionExpression(q)&&!isFunctionReferencedInFile(N,R,q))){return q}return undefined}function convertToBlock(N){if(E.isExpression(N)){var R=E.factory.createReturnStatement(N);var j=N.getSourceFile();E.suppressLeadingAndTrailingTrivia(R);E.copyTrailingAsLeadingComments(N,R,j,undefined,true);return E.factory.createBlock([R],true)}else{return N}}function getVariableInfo(N){var R=N.parent;if(!E.isVariableDeclaration(R)||!E.isVariableDeclarationInVariableStatement(R))return undefined;var j=R.parent;var $=j.parent;if(!E.isVariableDeclarationList(j)||!E.isVariableStatement($)||!E.isIdentifier(R.name))return undefined;return{variableDeclaration:R,variableDeclarationList:j,statement:$,name:R.name}}function getEditInfoForConvertToAnonymousFunction(N,R){var j=N.file;var $=convertToBlock(R.body);var q=E.factory.createFunctionExpression(R.modifiers,R.asteriskToken,undefined,R.typeParameters,R.parameters,R.type,$);return E.textChanges.ChangeTracker.with(N,(function(E){return E.replaceNode(j,R,q)}))}function getEditInfoForConvertToNamedFunction(N,R,j){var $=N.file;var q=convertToBlock(R.body);var G=j.variableDeclaration,ie=j.variableDeclarationList,ae=j.statement,ce=j.name;E.suppressLeadingTrivia(ae);var le=E.getCombinedModifierFlags(G)&1|E.getEffectiveModifierFlags(R);var _e=E.factory.createModifiersFromModifierFlags(le);var Ee=E.factory.createFunctionDeclaration(R.decorators,E.length(_e)?_e:undefined,R.asteriskToken,ce,R.typeParameters,R.parameters,R.type,q);if(ie.declarations.length===1){return E.textChanges.ChangeTracker.with(N,(function(E){return E.replaceNode($,ae,Ee)}))}else{return E.textChanges.ChangeTracker.with(N,(function(E){E.delete($,G);E.insertNodeAfter($,ae,Ee)}))}}function getEditInfoForConvertToArrowFunction(N,R){var j=N.file;var $=R.body.statements;var q=$[0];var G;if(canBeConvertedToExpression(R.body,q)){G=q.expression;E.suppressLeadingAndTrailingTrivia(G);E.copyComments(q,G)}else{G=R.body}var ie=E.factory.createArrowFunction(R.modifiers,R.typeParameters,R.parameters,R.type,E.factory.createToken(38),G);return E.textChanges.ChangeTracker.with(N,(function(E){return E.replaceNode(j,R,ie)}))}function canBeConvertedToExpression(N,R){return N.statements.length===1&&(E.isReturnStatement(R)&&!!R.expression)}function isFunctionReferencedInFile(N,R,j){return!!j.name&&E.FindAllReferences.Core.isSymbolReferencedInFile(j.name,R,N)}})(R=N.convertArrowFunctionOrFunctionExpression||(N.convertArrowFunctionOrFunctionExpression={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Infer function return type";var q=E.Diagnostics.Infer_function_return_type.message;var G={name:j,description:q,kind:"refactor.rewrite.function.returnType"};N.registerRefactor(j,{kinds:[G.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getEditsForAction(R){var j=getInfo(R);if(j&&!N.isRefactorErrorInfo(j)){var $=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,E,j.declaration,j.returnTypeNode)}));return{renameFilename:undefined,renameLocation:undefined,edits:$}}return undefined}function getAvailableActions(R){var ie=getInfo(R);if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){return[{name:j,description:q,actions:[G]}]}if(R.preferences.provideRefactorNotApplicableReason){return[{name:j,description:q,actions:[$($({},G),{notApplicableReason:ie.error})]}]}return E.emptyArray}function doChange(N,R,j,$){var q=E.findChildOfKind(j,21,N);var G=E.isArrowFunction(j)&&q===undefined;var ie=G?E.first(j.parameters):q;if(ie){if(G){R.insertNodeBefore(N,ie,E.factory.createToken(20));R.insertNodeAfter(N,ie,E.factory.createToken(21))}R.insertNodeAt(N,ie.end,$,{prefix:": "})}}function getInfo(R){if(E.isInJSFile(R.file)||!N.refactorKindBeginsWith(G.kind,R.kind))return;var j=E.getTokenAtPosition(R.file,R.startPosition);var $=E.findAncestor(j,(function(N){return E.isBlock(N)||N.parent&&E.isArrowFunction(N.parent)&&(N.kind===38||N.parent.body===N)?"quit":isConvertibleDeclaration(N)}));if(!$||!$.body||$.type){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Return_type_must_be_inferred_from_a_function)}}var q=R.program.getTypeChecker();var ie=tryGetReturnType(q,$);if(!ie){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_determine_function_return_type)}}var ae=q.typeToTypeNode(ie,$,1);if(ae){return{declaration:$,returnTypeNode:ae}}}function isConvertibleDeclaration(E){switch(E.kind){case 254:case 211:case 212:case 167:return true;default:return false}}function tryGetReturnType(N,R){if(N.isImplementationOfOverload(R)){var j=N.getTypeAtLocation(R).getCallSignatures();if(j.length>1){return N.getUnionType(E.mapDefined(j,(function(E){return E.getReturnType()})))}}var $=N.getSignatureFromDeclaration(R);if($){return N.getReturnTypeOfSignature($)}}})(R=N.inferFunctionReturnType||(N.inferFunctionReturnType={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){E.servicesVersion="0.8";function createNode(R,j,$,q){var G=E.isNodeKind(R)?new N(R,j,$):R===79?new ce(79,j,$):R===80?new le(80,j,$):new ie(R,j,$);G.parent=q;G.flags=q.flags&25358336;return G}var N=function(){function NodeObject(E,N,R){this.pos=N;this.end=R;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.kind=E}NodeObject.prototype.assertHasRealPosition=function(N){E.Debug.assert(!E.positionIsSynthesized(this.pos)&&!E.positionIsSynthesized(this.end),N||"Node must have a real position for this operation")};NodeObject.prototype.getSourceFile=function(){return E.getSourceFileOfNode(this)};NodeObject.prototype.getStart=function(N,R){this.assertHasRealPosition();return E.getTokenPosOfNode(this,N,R)};NodeObject.prototype.getFullStart=function(){this.assertHasRealPosition();return this.pos};NodeObject.prototype.getEnd=function(){this.assertHasRealPosition();return this.end};NodeObject.prototype.getWidth=function(E){this.assertHasRealPosition();return this.getEnd()-this.getStart(E)};NodeObject.prototype.getFullWidth=function(){this.assertHasRealPosition();return this.end-this.pos};NodeObject.prototype.getLeadingTriviaWidth=function(E){this.assertHasRealPosition();return this.getStart(E)-this.pos};NodeObject.prototype.getFullText=function(E){this.assertHasRealPosition();return(E||this.getSourceFile()).text.substring(this.pos,this.end)};NodeObject.prototype.getText=function(E){this.assertHasRealPosition();if(!E){E=this.getSourceFile()}return E.text.substring(this.getStart(E),this.getEnd())};NodeObject.prototype.getChildCount=function(E){return this.getChildren(E).length};NodeObject.prototype.getChildAt=function(E,N){return this.getChildren(N)[E]};NodeObject.prototype.getChildren=function(E){this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine");return this._children||(this._children=createChildren(this,E))};NodeObject.prototype.getFirstToken=function(N){this.assertHasRealPosition();var R=this.getChildren(N);if(!R.length){return undefined}var j=E.find(R,(function(E){return E.kind<304||E.kind>342}));return j.kind<159?j:j.getFirstToken(N)};NodeObject.prototype.getLastToken=function(N){this.assertHasRealPosition();var R=this.getChildren(N);var j=E.lastOrUndefined(R);if(!j){return undefined}return j.kind<159?j:j.getLastToken(N)};NodeObject.prototype.forEachChild=function(N,R){return E.forEachChild(this,N,R)};return NodeObject}();function createChildren(N,R){if(!E.isNodeKind(N.kind)){return E.emptyArray}var j=[];if(E.isJSDocCommentContainingNode(N)){N.forEachChild((function(E){j.push(E)}));return j}E.scanner.setText((R||N.getSourceFile()).text);var $=N.pos;var processNode=function(E){addSyntheticNodes(j,$,E.pos,N);j.push(E);$=E.end};var processNodes=function(E){addSyntheticNodes(j,$,E.pos,N);j.push(createSyntaxList(E,N));$=E.end};E.forEach(N.jsDoc,processNode);$=N.pos;N.forEachChild(processNode,processNodes);addSyntheticNodes(j,$,N.end,N);E.scanner.setText(undefined);return j}function addSyntheticNodes(N,R,j,$){E.scanner.setTextPos(R);while(R<j){var q=E.scanner.scan();var G=E.scanner.getTextPos();if(G<=j){if(q===79){E.Debug.fail("Did not expect "+E.Debug.formatSyntaxKind($.kind)+" to have an Identifier in its trivia")}N.push(createNode(q,R,G,$))}R=G;if(q===1){break}}}function createSyntaxList(E,N){var R=createNode(343,E.pos,E.end,N);R._children=[];var j=E.pos;for(var $=0,q=E;$<q.length;$++){var G=q[$];addSyntheticNodes(R._children,j,G.pos,N);R._children.push(G);j=G.end}addSyntheticNodes(R._children,j,E.end,N);return R}var q=function(){function TokenOrIdentifierObject(E,N){this.pos=E;this.end=N;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined}TokenOrIdentifierObject.prototype.getSourceFile=function(){return E.getSourceFileOfNode(this)};TokenOrIdentifierObject.prototype.getStart=function(N,R){return E.getTokenPosOfNode(this,N,R)};TokenOrIdentifierObject.prototype.getFullStart=function(){return this.pos};TokenOrIdentifierObject.prototype.getEnd=function(){return this.end};TokenOrIdentifierObject.prototype.getWidth=function(E){return this.getEnd()-this.getStart(E)};TokenOrIdentifierObject.prototype.getFullWidth=function(){return this.end-this.pos};TokenOrIdentifierObject.prototype.getLeadingTriviaWidth=function(E){return this.getStart(E)-this.pos};TokenOrIdentifierObject.prototype.getFullText=function(E){return(E||this.getSourceFile()).text.substring(this.pos,this.end)};TokenOrIdentifierObject.prototype.getText=function(E){if(!E){E=this.getSourceFile()}return E.text.substring(this.getStart(E),this.getEnd())};TokenOrIdentifierObject.prototype.getChildCount=function(){return this.getChildren().length};TokenOrIdentifierObject.prototype.getChildAt=function(E){return this.getChildren()[E]};TokenOrIdentifierObject.prototype.getChildren=function(){return this.kind===1?this.jsDoc||E.emptyArray:E.emptyArray};TokenOrIdentifierObject.prototype.getFirstToken=function(){return undefined};TokenOrIdentifierObject.prototype.getLastToken=function(){return undefined};TokenOrIdentifierObject.prototype.forEachChild=function(){return undefined};return TokenOrIdentifierObject}();var G=function(){function SymbolObject(E,N){this.flags=E;this.escapedName=N}SymbolObject.prototype.getFlags=function(){return this.flags};Object.defineProperty(SymbolObject.prototype,"name",{get:function(){return E.symbolName(this)},enumerable:false,configurable:true});SymbolObject.prototype.getEscapedName=function(){return this.escapedName};SymbolObject.prototype.getName=function(){return this.name};SymbolObject.prototype.getDeclarations=function(){return this.declarations};SymbolObject.prototype.getDocumentationComment=function(N){if(!this.documentationComment){this.documentationComment=E.emptyArray;if(!this.declarations&&this.target&&this.target.tupleLabelDeclaration){var R=this.target.tupleLabelDeclaration;this.documentationComment=getDocumentationComment([R],N)}else{this.documentationComment=getDocumentationComment(this.declarations,N)}}return this.documentationComment};SymbolObject.prototype.getContextualDocumentationComment=function(N,R){switch(N===null||N===void 0?void 0:N.kind){case 170:if(!this.contextualGetAccessorDocumentationComment){this.contextualGetAccessorDocumentationComment=E.emptyArray;this.contextualGetAccessorDocumentationComment=getDocumentationComment(E.filter(this.declarations,E.isGetAccessor),R)}return this.contextualGetAccessorDocumentationComment;case 171:if(!this.contextualSetAccessorDocumentationComment){this.contextualSetAccessorDocumentationComment=E.emptyArray;this.contextualSetAccessorDocumentationComment=getDocumentationComment(E.filter(this.declarations,E.isSetAccessor),R)}return this.contextualSetAccessorDocumentationComment;default:return this.getDocumentationComment(R)}};SymbolObject.prototype.getJsDocTags=function(N){if(this.tags===undefined){this.tags=E.JsDoc.getJsDocTagsFromDeclarations(this.declarations,N)}return this.tags};return SymbolObject}();var ie=function(E){ae(TokenObject,E);function TokenObject(N,R,j){var $=E.call(this,R,j)||this;$.kind=N;return $}return TokenObject}(q);var ce=function(N){ae(IdentifierObject,N);function IdentifierObject(E,R,j){var $=N.call(this,R,j)||this;$.kind=79;return $}Object.defineProperty(IdentifierObject.prototype,"text",{get:function(){return E.idText(this)},enumerable:false,configurable:true});return IdentifierObject}(q);ce.prototype.kind=79;var le=function(N){ae(PrivateIdentifierObject,N);function PrivateIdentifierObject(E,R,j){return N.call(this,R,j)||this}Object.defineProperty(PrivateIdentifierObject.prototype,"text",{get:function(){return E.idText(this)},enumerable:false,configurable:true});return PrivateIdentifierObject}(q);le.prototype.kind=80;var _e=function(){function TypeObject(E,N){this.checker=E;this.flags=N}TypeObject.prototype.getFlags=function(){return this.flags};TypeObject.prototype.getSymbol=function(){return this.symbol};TypeObject.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)};TypeObject.prototype.getProperty=function(E){return this.checker.getPropertyOfType(this,E)};TypeObject.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)};TypeObject.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)};TypeObject.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)};TypeObject.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)};TypeObject.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)};TypeObject.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):undefined};TypeObject.prototype.isNullableType=function(){return this.checker.isNullableType(this)};TypeObject.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)};TypeObject.prototype.getNonOptionalType=function(){return this.checker.getNonOptionalType(this)};TypeObject.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)};TypeObject.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)};TypeObject.prototype.isUnion=function(){return!!(this.flags&1048576)};TypeObject.prototype.isIntersection=function(){return!!(this.flags&2097152)};TypeObject.prototype.isUnionOrIntersection=function(){return!!(this.flags&3145728)};TypeObject.prototype.isLiteral=function(){return!!(this.flags&384)};TypeObject.prototype.isStringLiteral=function(){return!!(this.flags&128)};TypeObject.prototype.isNumberLiteral=function(){return!!(this.flags&256)};TypeObject.prototype.isTypeParameter=function(){return!!(this.flags&262144)};TypeObject.prototype.isClassOrInterface=function(){return!!(E.getObjectFlags(this)&3)};TypeObject.prototype.isClass=function(){return!!(E.getObjectFlags(this)&1)};Object.defineProperty(TypeObject.prototype,"typeArguments",{get:function(){if(E.getObjectFlags(this)&4){return this.checker.getTypeArguments(this)}return undefined},enumerable:false,configurable:true});return TypeObject}();var Ee=function(){function SignatureObject(E,N){this.checker=E;this.flags=N}SignatureObject.prototype.getDeclaration=function(){return this.declaration};SignatureObject.prototype.getTypeParameters=function(){return this.typeParameters};SignatureObject.prototype.getParameters=function(){return this.parameters};SignatureObject.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)};SignatureObject.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=getDocumentationComment(E.singleElementArray(this.declaration),this.checker))};SignatureObject.prototype.getJsDocTags=function(){if(this.jsDocTags===undefined){this.jsDocTags=this.declaration?getJsDocTagsOfSignature(this.declaration,this.checker):[]}return this.jsDocTags};return SignatureObject}();function hasJSDocInheritDocTag(N){return E.getJSDocTags(N).some((function(E){return E.tagName.text==="inheritDoc"}))}function getJsDocTagsOfSignature(N,R){var $=E.JsDoc.getJsDocTagsFromDeclarations([N],R);if($.length===0||hasJSDocInheritDocTag(N)){var q=findBaseOfDeclaration(R,N,(function(E){var N;return((N=E.declarations)===null||N===void 0?void 0:N.length)===1?E.getJsDocTags():undefined}));if(q){$=j(j([],q,true),$,true)}}return $}function getDocumentationComment(N,R){if(!N)return E.emptyArray;var j=E.JsDoc.getJsDocCommentsFromDeclarations(N,R);if(R&&(j.length===0||N.some(hasJSDocInheritDocTag))){var $=new E.Set;for(var q=0,G=N;q<G.length;q++){var ie=G[q];var ae=findBaseOfDeclaration(R,ie,(function(E){if(!$.has(E)){$.add(E);return E.getDocumentationComment(R)}}));if(ae)j=j.length===0?ae.slice():ae.concat(E.lineBreakPart(),j)}}return j}function findBaseOfDeclaration(N,R,j){var $;var q=(($=R.parent)===null||$===void 0?void 0:$.kind)===169?R.parent.parent:R.parent;if(!q){return}return E.firstDefined(E.getAllSuperTypeNodes(q),(function(E){var $=N.getPropertyOfType(N.getTypeAtLocation(E),R.symbol.name);return $?j($):undefined}))}var Te=function(N){ae(SourceFileObject,N);function SourceFileObject(E,R,j){var $=N.call(this,E,R,j)||this;$.kind=300;return $}SourceFileObject.prototype.update=function(N,R){return E.updateSourceFile(this,N,R)};SourceFileObject.prototype.getLineAndCharacterOfPosition=function(N){return E.getLineAndCharacterOfPosition(this,N)};SourceFileObject.prototype.getLineStarts=function(){return E.getLineStarts(this)};SourceFileObject.prototype.getPositionOfLineAndCharacter=function(N,R,j){return E.computePositionOfLineAndCharacter(E.getLineStarts(this),N,R,this.text,j)};SourceFileObject.prototype.getLineEndOfPosition=function(E){var N=this.getLineAndCharacterOfPosition(E).line;var R=this.getLineStarts();var j;if(N+1>=R.length){j=this.getEnd()}if(!j){j=R[N+1]-1}var $=this.getFullText();return $[j]==="\n"&&$[j-1]==="\r"?j-1:j};SourceFileObject.prototype.getNamedDeclarations=function(){if(!this.namedDeclarations){this.namedDeclarations=this.computeNamedDeclarations()}return this.namedDeclarations};SourceFileObject.prototype.computeNamedDeclarations=function(){var N=E.createMultiMap();this.forEachChild(visit);return N;function addDeclaration(E){var R=getDeclarationName(E);if(R){N.add(R,E)}}function getDeclarations(E){var R=N.get(E);if(!R){N.set(E,R=[])}return R}function getDeclarationName(N){var R=E.getNonAssignedNameOfDeclaration(N);return R&&(E.isComputedPropertyName(R)&&E.isPropertyAccessExpression(R.expression)?R.expression.name.text:E.isPropertyName(R)?E.getNameFromPropertyName(R):undefined)}function visit(N){switch(N.kind){case 254:case 211:case 167:case 166:var R=N;var j=getDeclarationName(R);if(j){var $=getDeclarations(j);var q=E.lastOrUndefined($);if(q&&R.parent===q.parent&&R.symbol===q.symbol){if(R.body&&!q.body){$[$.length-1]=R}}else{$.push(R)}}E.forEachChild(N,visit);break;case 255:case 224:case 256:case 257:case 258:case 259:case 263:case 273:case 268:case 265:case 266:case 170:case 171:case 180:addDeclaration(N);E.forEachChild(N,visit);break;case 162:if(!E.hasSyntacticModifier(N,16476)){break}case 252:case 201:{var G=N;if(E.isBindingPattern(G.name)){E.forEachChild(G.name,visit);break}if(G.initializer){visit(G.initializer)}}case 294:case 165:case 164:addDeclaration(N);break;case 270:var ie=N;if(ie.exportClause){if(E.isNamedExports(ie.exportClause)){E.forEach(ie.exportClause.elements,visit)}else{visit(ie.exportClause.name)}}break;case 264:var ae=N.importClause;if(ae){if(ae.name){addDeclaration(ae.name)}if(ae.namedBindings){if(ae.namedBindings.kind===266){addDeclaration(ae.namedBindings)}else{E.forEach(ae.namedBindings.elements,visit)}}}break;case 219:if(E.getAssignmentDeclarationKind(N)!==0){addDeclaration(N)}default:E.forEachChild(N,visit)}}};return SourceFileObject}(N);var we=function(){function SourceMapSourceObject(E,N,R){this.fileName=E;this.text=N;this.skipTrivia=R}SourceMapSourceObject.prototype.getLineAndCharacterOfPosition=function(N){return E.getLineAndCharacterOfPosition(this,N)};return SourceMapSourceObject}();function getServicesObjectAllocator(){return{getNodeConstructor:function(){return N},getTokenConstructor:function(){return ie},getIdentifierConstructor:function(){return ce},getPrivateIdentifierConstructor:function(){return le},getSourceFileConstructor:function(){return Te},getSymbolConstructor:function(){return G},getTypeConstructor:function(){return _e},getSignatureConstructor:function(){return Ee},getSourceMapSourceConstructor:function(){return we}}}function toEditorSettings(N){var R=true;for(var j in N){if(E.hasProperty(N,j)&&!isCamelCase(j)){R=false;break}}if(R){return N}var $={};for(var j in N){if(E.hasProperty(N,j)){var q=isCamelCase(j)?j:j.charAt(0).toLowerCase()+j.substr(1);$[q]=N[j]}}return $}E.toEditorSettings=toEditorSettings;function isCamelCase(E){return!E.length||E.charAt(0)===E.charAt(0).toLowerCase()}function displayPartsToString(N){if(N){return E.map(N,(function(E){return E.text})).join("")}return""}E.displayPartsToString=displayPartsToString;function getDefaultCompilerOptions(){return{target:1,jsx:1}}E.getDefaultCompilerOptions=getDefaultCompilerOptions;function getSupportedCodeFixes(){return E.codefix.getSupportedErrorCodes()}E.getSupportedCodeFixes=getSupportedCodeFixes;var Ie=function(){function HostCache(N,R){this.host=N;this.currentDirectory=N.getCurrentDirectory();this.fileNameToEntry=new E.Map;var j=N.getScriptFileNames();for(var $=0,q=j;$<q.length;$++){var G=q[$];this.createEntry(G,E.toPath(G,this.currentDirectory,R))}}HostCache.prototype.createEntry=function(N,R){var j;var $=this.host.getScriptSnapshot(N);if($){j={hostFileName:N,version:this.host.getScriptVersion(N),scriptSnapshot:$,scriptKind:E.getScriptKind(N,this.host)}}else{j=N}this.fileNameToEntry.set(R,j);return j};HostCache.prototype.getEntryByPath=function(E){return this.fileNameToEntry.get(E)};HostCache.prototype.getHostFileInformation=function(N){var R=this.fileNameToEntry.get(N);return!E.isString(R)?R:undefined};HostCache.prototype.getOrCreateEntryByPath=function(N,R){var j=this.getEntryByPath(R)||this.createEntry(N,R);return E.isString(j)?undefined:j};HostCache.prototype.getRootFileNames=function(){var N=[];this.fileNameToEntry.forEach((function(R){if(E.isString(R)){N.push(R)}else{N.push(R.hostFileName)}}));return N};HostCache.prototype.getScriptSnapshot=function(E){var N=this.getHostFileInformation(E);return N&&N.scriptSnapshot};return HostCache}();var Ne=function(){function SyntaxTreeCache(E){this.host=E}SyntaxTreeCache.prototype.getCurrentSourceFile=function(N){var R=this.host.getScriptSnapshot(N);if(!R){throw new Error("Could not find file: '"+N+"'.")}var j=E.getScriptKind(N,this.host);var $=this.host.getScriptVersion(N);var q;if(this.currentFileName!==N){q=createLanguageServiceSourceFile(N,R,99,$,true,j)}else if(this.currentFileVersion!==$){var G=R.getChangeRange(this.currentFileScriptSnapshot);q=updateLanguageServiceSourceFile(this.currentSourceFile,R,$,G)}if(q){this.currentFileVersion=$;this.currentFileName=N;this.currentFileScriptSnapshot=R;this.currentSourceFile=q}return this.currentSourceFile};return SyntaxTreeCache}();function setSourceFileFields(E,N,R){E.version=R;E.scriptSnapshot=N}function createLanguageServiceSourceFile(N,R,j,$,q,G){var ie=E.createSourceFile(N,E.getSnapshotText(R),j,q,G);setSourceFileFields(ie,R,$);return ie}E.createLanguageServiceSourceFile=createLanguageServiceSourceFile;function updateLanguageServiceSourceFile(N,R,j,$,q){if($){if(j!==N.version){var G=void 0;var ie=$.span.start!==0?N.text.substr(0,$.span.start):"";var ae=E.textSpanEnd($.span)!==N.text.length?N.text.substr(E.textSpanEnd($.span)):"";if($.newLength===0){G=ie&&ae?ie+ae:ie||ae}else{var ce=R.getText($.span.start,$.span.start+$.newLength);G=ie&&ae?ie+ce+ae:ie?ie+ce:ce+ae}var le=E.updateSourceFile(N,G,$,q);setSourceFileFields(le,R,j);le.nameTable=undefined;if(N!==le&&N.scriptSnapshot){if(N.scriptSnapshot.dispose){N.scriptSnapshot.dispose()}N.scriptSnapshot=undefined}return le}}return createLanguageServiceSourceFile(N.fileName,R,N.languageVersion,j,true,N.scriptKind)}E.updateLanguageServiceSourceFile=updateLanguageServiceSourceFile;var Me={isCancellationRequested:E.returnFalse,throwIfCancellationRequested:E.noop};var Le=function(){function CancellationTokenObject(E){this.cancellationToken=E}CancellationTokenObject.prototype.isCancellationRequested=function(){return this.cancellationToken.isCancellationRequested()};CancellationTokenObject.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested()){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("session","cancellationThrown",{kind:"CancellationTokenObject"});throw new E.OperationCanceledException}};return CancellationTokenObject}();var Be=function(){function ThrottledCancellationToken(E,N){if(N===void 0){N=20}this.hostCancellationToken=E;this.throttleWaitMilliseconds=N;this.lastCancellationCheckTime=0}ThrottledCancellationToken.prototype.isCancellationRequested=function(){var N=E.timestamp();var R=Math.abs(N-this.lastCancellationCheckTime);if(R>=this.throttleWaitMilliseconds){this.lastCancellationCheckTime=N;return this.hostCancellationToken.isCancellationRequested()}return false};ThrottledCancellationToken.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested()){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"});throw new E.OperationCanceledException}};return ThrottledCancellationToken}();E.ThrottledCancellationToken=Be;var je=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"];var Ue=j(j([],je,true),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],false);function createLanguageService(N,R,q){var G;if(R===void 0){R=E.createDocumentRegistry(N.useCaseSensitiveFileNames&&N.useCaseSensitiveFileNames(),N.getCurrentDirectory())}var ie;if(q===undefined){ie=E.LanguageServiceMode.Semantic}else if(typeof q==="boolean"){ie=q?E.LanguageServiceMode.Syntactic:E.LanguageServiceMode.Semantic}else{ie=q}var ae=new Ne(N);var ce;var le;var _e=0;var Ee=N.getCancellationToken?new Le(N.getCancellationToken()):Me;var Te=N.getCurrentDirectory();if(!E.localizedDiagnosticMessages&&N.getLocalizedDiagnosticMessages){E.setLocalizedDiagnosticMessages(N.getLocalizedDiagnosticMessages())}function log(E){if(N.log){N.log(E)}}var we=E.hostUsesCaseSensitiveFileNames(N);var Be=E.createGetCanonicalFileName(we);var ze=E.getSourceMapper({useCaseSensitiveFileNames:function(){return we},getCurrentDirectory:function(){return Te},getProgram:getProgram,fileExists:E.maybeBind(N,N.fileExists),readFile:E.maybeBind(N,N.readFile),getDocumentPositionMapper:E.maybeBind(N,N.getDocumentPositionMapper),getSourceFileLike:E.maybeBind(N,N.getSourceFileLike),log:log});function getValidSourceFile(E){var N=ce.getSourceFile(E);if(!N){var R=new Error("Could not find source file: '"+E+"'.");R.ProgramFiles=ce.getSourceFiles().map((function(E){return E.fileName}));throw R}return N}function synchronizeHostData(){var j,$,q;E.Debug.assert(ie!==E.LanguageServiceMode.Syntactic);if(N.getProjectVersion){var G=N.getProjectVersion();if(G){if(le===G&&!((j=N.hasChangedAutomaticTypeDirectiveNames)===null||j===void 0?void 0:j.call(N))){return}le=G}}var ae=N.getTypeRootsVersion?N.getTypeRootsVersion():0;if(_e!==ae){log("TypeRoots version has changed; provide new program");ce=undefined;_e=ae}var Ne=new Ie(N,Be);var Me=Ne.getRootFileNames();var Le=N.getCompilationSettings()||getDefaultCompilerOptions();var je=N.hasInvalidatedResolution||E.returnFalse;var Ue=E.maybeBind(N,N.hasChangedAutomaticTypeDirectiveNames);var We=($=N.getProjectReferences)===null||$===void 0?void 0:$.call(N);var Je;var Ve={useCaseSensitiveFileNames:we,fileExists:fileExists,readFile:readFile,readDirectory:readDirectory,trace:E.maybeBind(N,N.trace),getCurrentDirectory:function(){return Te},onUnRecoverableConfigFileDiagnostic:E.noop};if(E.isProgramUptoDate(ce,Me,Le,(function(E,R){return N.getScriptVersion(R)}),fileExists,je,Ue,getParsedCommandLine,We)){return}var qe={getSourceFile:getOrCreateSourceFile,getSourceFileByPath:getOrCreateSourceFileByPath,getCancellationToken:function(){return Ee},getCanonicalFileName:Be,useCaseSensitiveFileNames:function(){return we},getNewLine:function(){return E.getNewLineCharacter(Le,(function(){return E.getNewLineOrDefaultFromHost(N)}))},getDefaultLibFileName:function(E){return N.getDefaultLibFileName(E)},writeFile:E.noop,getCurrentDirectory:function(){return Te},fileExists:fileExists,readFile:readFile,getSymlinkCache:E.maybeBind(N,N.getSymlinkCache),realpath:E.maybeBind(N,N.realpath),directoryExists:function(R){return E.directoryProbablyExists(R,N)},getDirectories:function(E){return N.getDirectories?N.getDirectories(E):[]},readDirectory:readDirectory,onReleaseOldSourceFile:onReleaseOldSourceFile,onReleaseParsedCommandLine:onReleaseParsedCommandLine,hasInvalidatedResolution:je,hasChangedAutomaticTypeDirectiveNames:Ue,trace:Ve.trace,resolveModuleNames:E.maybeBind(N,N.resolveModuleNames),resolveTypeReferenceDirectives:E.maybeBind(N,N.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:E.maybeBind(N,N.useSourceOfProjectReferenceRedirect),getParsedCommandLine:getParsedCommandLine};(q=N.setCompilerHost)===null||q===void 0?void 0:q.call(N,qe);var He=R.getKeyForCompilationSettings(Le);var Ge={rootNames:Me,options:Le,host:qe,oldProgram:ce,projectReferences:We};ce=E.createProgram(Ge);Ne=undefined;Je=undefined;ze.clearCache();ce.getTypeChecker();return;function getParsedCommandLine(R){var j=E.toPath(R,Te,Be);var $=Je===null||Je===void 0?void 0:Je.get(j);if($!==undefined)return $||undefined;var q=N.getParsedCommandLine?N.getParsedCommandLine(R):getParsedCommandLineOfConfigFileUsingSourceFile(R);(Je||(Je=new E.Map)).set(j,q||false);return q}function getParsedCommandLineOfConfigFileUsingSourceFile(N){var R=getOrCreateSourceFile(N,100);if(!R)return undefined;R.path=E.toPath(N,Te,Be);R.resolvedPath=R.path;R.originalFileName=R.fileName;return E.parseJsonSourceFileConfigFileContent(R,Ve,E.getNormalizedAbsolutePath(E.getDirectoryPath(N),Te),undefined,E.getNormalizedAbsolutePath(N,Te))}function onReleaseParsedCommandLine(E,R,j){var $;if(N.getParsedCommandLine){($=N.onReleaseParsedCommandLine)===null||$===void 0?void 0:$.call(N,E,R,j)}else if(R){onReleaseOldSourceFile(R.sourceFile,j)}}function fileExists(R){var j=E.toPath(R,Te,Be);var $=Ne&&Ne.getEntryByPath(j);return $?!E.isString($):!!N.fileExists&&N.fileExists(R)}function readFile(R){var j=E.toPath(R,Te,Be);var $=Ne&&Ne.getEntryByPath(j);if($){return E.isString($)?undefined:E.getSnapshotText($.scriptSnapshot)}return N.readFile&&N.readFile(R)}function readDirectory(R,j,$,q,G){E.Debug.checkDefined(N.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'");return N.readDirectory(R,j,$,q,G)}function onReleaseOldSourceFile(E,N){var j=R.getKeyForCompilationSettings(N);R.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind)}function getOrCreateSourceFile(N,R,j,$){return getOrCreateSourceFileByPath(N,E.toPath(N,Te,Be),R,j,$)}function getOrCreateSourceFileByPath(N,j,$,q,G){E.Debug.assert(Ne!==undefined,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var ie=Ne&&Ne.getOrCreateEntryByPath(N,j);if(!ie){return undefined}if(!G){var ae=ce&&ce.getSourceFileByPath(j);if(ae){if(ie.scriptKind===ae.scriptKind){return R.updateDocumentWithKey(N,j,Le,He,ie.scriptSnapshot,ie.version,ie.scriptKind)}else{R.releaseDocumentWithKey(ae.resolvedPath,R.getKeyForCompilationSettings(ce.getCompilerOptions()),ae.scriptKind)}}}return R.acquireDocumentWithKey(N,j,Le,He,ie.scriptSnapshot,ie.version,ie.scriptKind)}}function getProgram(){if(ie===E.LanguageServiceMode.Syntactic){E.Debug.assert(ce===undefined);return undefined}synchronizeHostData();return ce}function getAutoImportProvider(){var E;return(E=N.getPackageJsonAutoImportProvider)===null||E===void 0?void 0:E.call(N)}function cleanupSemanticCache(){ce=undefined}function dispose(){if(ce){var j=R.getKeyForCompilationSettings(ce.getCompilerOptions());E.forEach(ce.getSourceFiles(),(function(E){return R.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind)}));ce=undefined}N=undefined}function getSyntacticDiagnostics(E){synchronizeHostData();return ce.getSyntacticDiagnostics(getValidSourceFile(E),Ee).slice()}function getSemanticDiagnostics(N){synchronizeHostData();var R=getValidSourceFile(N);var $=ce.getSemanticDiagnostics(R,Ee);if(!E.getEmitDeclarations(ce.getCompilerOptions())){return $.slice()}var q=ce.getDeclarationDiagnostics(R,Ee);return j(j([],$,true),q,true)}function getSuggestionDiagnostics(N){synchronizeHostData();return E.computeSuggestionDiagnostics(getValidSourceFile(N),ce,Ee)}function getCompilerOptionsDiagnostics(){synchronizeHostData();return j(j([],ce.getOptionsDiagnostics(Ee),true),ce.getGlobalDiagnostics(Ee),true)}function getCompletionsAtPosition(R,j,q){if(q===void 0){q=E.emptyOptions}var G=$($({},E.identity(q)),{includeCompletionsForModuleExports:q.includeCompletionsForModuleExports||q.includeExternalModuleExports,includeCompletionsWithInsertText:q.includeCompletionsWithInsertText||q.includeInsertTextCompletions});synchronizeHostData();return E.Completions.getCompletionsAtPosition(N,ce,log,getValidSourceFile(R),j,G,q.triggerCharacter,q.triggerKind,Ee)}function getCompletionEntryDetails(R,j,$,q,G,ie,ae){if(ie===void 0){ie=E.emptyOptions}synchronizeHostData();return E.Completions.getCompletionEntryDetails(ce,log,getValidSourceFile(R),j,{name:$,source:G,data:ae},N,q&&E.formatting.getFormatContext(q,N),ie,Ee)}function getCompletionEntrySymbol(R,j,$,q,G){if(G===void 0){G=E.emptyOptions}synchronizeHostData();return E.Completions.getCompletionEntrySymbol(ce,log,getValidSourceFile(R),j,{name:$,source:q},N,G)}function getQuickInfoAtPosition(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.getTouchingPropertyName(j,R);if($===j){return undefined}var q=ce.getTypeChecker();var G=getNodeForQuickInfo($);var ie=getSymbolAtLocationForQuickInfo(G,q);if(!ie||q.isUnknownSymbol(ie)){var ae=shouldGetType(j,G,R)?q.getTypeAtLocation(G):undefined;return ae&&{kind:"",kindModifiers:"",textSpan:E.createTextSpanFromNode(G,j),displayParts:q.runWithCancellationToken(Ee,(function(N){return E.typeToDisplayParts(N,ae,E.getContainerNode(G))})),documentation:ae.symbol?ae.symbol.getDocumentationComment(q):undefined,tags:ae.symbol?ae.symbol.getJsDocTags(q):undefined}}var le=q.runWithCancellationToken(Ee,(function(N){return E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(N,ie,j,E.getContainerNode(G),G)})),_e=le.symbolKind,Te=le.displayParts,we=le.documentation,Ie=le.tags;return{kind:_e,kindModifiers:E.SymbolDisplay.getSymbolModifiers(q,ie),textSpan:E.createTextSpanFromNode(G,j),displayParts:Te,documentation:we,tags:Ie}}function getNodeForQuickInfo(N){if(E.isNewExpression(N.parent)&&N.pos===N.parent.pos){return N.parent.expression}if(E.isNamedTupleMember(N.parent)&&N.pos===N.parent.pos){return N.parent}return N}function shouldGetType(N,R,j){switch(R.kind){case 79:return!E.isLabelName(R)&&!E.isTagName(R)&&!E.isConstTypeReference(R.parent);case 204:case 159:return!E.isInComment(N,j);case 108:case 190:case 106:case 195:return true;default:return false}}function getDefinitionAtPosition(N,R){synchronizeHostData();return E.GoToDefinition.getDefinitionAtPosition(ce,getValidSourceFile(N),R)}function getDefinitionAndBoundSpan(N,R){synchronizeHostData();return E.GoToDefinition.getDefinitionAndBoundSpan(ce,getValidSourceFile(N),R)}function getTypeDefinitionAtPosition(N,R){synchronizeHostData();return E.GoToDefinition.getTypeDefinitionAtPosition(ce.getTypeChecker(),getValidSourceFile(N),R)}function getImplementationAtPosition(N,R){synchronizeHostData();return E.FindAllReferences.getImplementationsAtPosition(ce,Ee,ce.getSourceFiles(),getValidSourceFile(N),R)}function getOccurrencesAtPosition(N,R){return E.flatMap(getDocumentHighlights(N,R,[N]),(function(E){return E.highlightSpans.map((function(N){return $($({fileName:E.fileName,textSpan:N.textSpan,isWriteAccess:N.kind==="writtenReference",isDefinition:false},N.isInString&&{isInString:true}),N.contextSpan&&{contextSpan:N.contextSpan})}))}))}function getDocumentHighlights(N,R,j){var $=E.normalizePath(N);E.Debug.assert(j.some((function(N){return E.normalizePath(N)===$})));synchronizeHostData();var q=E.mapDefined(j,(function(E){return ce.getSourceFile(E)}));var G=getValidSourceFile(N);return E.DocumentHighlights.getDocumentHighlights(ce,Ee,G,R,q)}function findRenameLocations(N,R,j,q,G){synchronizeHostData();var ie=getValidSourceFile(N);var ae=E.getAdjustedRenameLocation(E.getTouchingPropertyName(ie,R));if(E.isIdentifier(ae)&&(E.isJsxOpeningElement(ae.parent)||E.isJsxClosingElement(ae.parent))&&E.isIntrinsicJsxName(ae.escapedText)){var ce=ae.parent.parent,le=ce.openingElement,_e=ce.closingElement;return[le,_e].map((function(N){var R=E.createTextSpanFromNode(N.tagName,ie);return $({fileName:ie.fileName,textSpan:R},E.FindAllReferences.toContextSpan(R,ie,N.parent))}))}else{return getReferencesWorker(ae,R,{findInStrings:j,findInComments:q,providePrefixAndSuffixTextForRename:G,use:2},(function(N,R,j){return E.FindAllReferences.toRenameLocation(N,R,j,G||false)}))}}function getReferencesAtPosition(N,R){synchronizeHostData();return getReferencesWorker(E.getTouchingPropertyName(getValidSourceFile(N),R),R,{use:1},E.FindAllReferences.toReferenceEntry)}function getReferencesWorker(N,R,j,$){synchronizeHostData();var q=j&&j.use===2?ce.getSourceFiles().filter((function(E){return!ce.isSourceFileDefaultLibrary(E)})):ce.getSourceFiles();return E.FindAllReferences.findReferenceOrRenameEntries(ce,Ee,q,N,R,j,$)}function findReferences(N,R){synchronizeHostData();return E.FindAllReferences.findReferencedSymbols(ce,Ee,ce.getSourceFiles(),getValidSourceFile(N),R)}function getFileReferences(N){synchronizeHostData();return E.FindAllReferences.Core.getReferencesForFileName(N,ce,ce.getSourceFiles()).map(E.FindAllReferences.toReferenceEntry)}function getNavigateToItems(N,R,j,$){if($===void 0){$=false}synchronizeHostData();var q=j?[getValidSourceFile(j)]:ce.getSourceFiles();return E.NavigateTo.getNavigateToItems(q,ce.getTypeChecker(),Ee,N,R,$)}function getEmitOutput(R,j,$){synchronizeHostData();var q=getValidSourceFile(R);var G=N.getCustomTransformers&&N.getCustomTransformers();return E.getFileEmitOutput(ce,q,!!j,Ee,G,$)}function getSignatureHelpItems(N,R,j){var $=j===void 0?E.emptyOptions:j,q=$.triggerReason;synchronizeHostData();var G=getValidSourceFile(N);return E.SignatureHelp.getSignatureHelpItems(ce,G,R,q,Ee)}function getNonBoundSourceFile(E){return ae.getCurrentSourceFile(E)}function getNameOrDottedNameSpan(N,R,j){var $=ae.getCurrentSourceFile(N);var q=E.getTouchingPropertyName($,R);if(q===$){return undefined}switch(q.kind){case 204:case 159:case 10:case 95:case 110:case 104:case 106:case 108:case 190:case 79:break;default:return undefined}var G=q;while(true){if(E.isRightSideOfPropertyAccess(G)||E.isRightSideOfQualifiedName(G)){G=G.parent}else if(E.isNameOfModuleDeclaration(G)){if(G.parent.parent.kind===259&&G.parent.parent.body===G.parent){G=G.parent.parent.name}else{break}}else{break}}return E.createTextSpanFromBounds(G.getStart(),q.getEnd())}function getBreakpointStatementAtPosition(N,R){var j=ae.getCurrentSourceFile(N);return E.BreakpointResolver.spanInSourceFileAtLocation(j,R)}function getNavigationBarItems(N){return E.NavigationBar.getNavigationBarItems(ae.getCurrentSourceFile(N),Ee)}function getNavigationTree(N){return E.NavigationBar.getNavigationTree(ae.getCurrentSourceFile(N),Ee)}function getSemanticClassifications(N,R,j){synchronizeHostData();var $=j||"original";if($==="2020"){return E.classifier.v2020.getSemanticClassifications(ce,Ee,getValidSourceFile(N),R)}else{return E.getSemanticClassifications(ce.getTypeChecker(),Ee,getValidSourceFile(N),ce.getClassifiableNames(),R)}}function getEncodedSemanticClassifications(N,R,j){synchronizeHostData();var $=j||"original";if($==="original"){return E.getEncodedSemanticClassifications(ce.getTypeChecker(),Ee,getValidSourceFile(N),ce.getClassifiableNames(),R)}else{return E.classifier.v2020.getEncodedSemanticClassifications(ce,Ee,getValidSourceFile(N),R)}}function getSyntacticClassifications(N,R){return E.getSyntacticClassifications(Ee,ae.getCurrentSourceFile(N),R)}function getEncodedSyntacticClassifications(N,R){return E.getEncodedSyntacticClassifications(Ee,ae.getCurrentSourceFile(N),R)}function getOutliningSpans(N){var R=ae.getCurrentSourceFile(N);return E.OutliningElementsCollector.collectElements(R,Ee)}var We=new E.Map(E.getEntries((G={},G[18]=19,G[20]=21,G[22]=23,G[31]=29,G)));We.forEach((function(E,N){return We.set(E.toString(),Number(N))}));function getBraceMatchingAtPosition(N,R){var j=ae.getCurrentSourceFile(N);var $=E.getTouchingToken(j,R);var q=$.getStart(j)===R?We.get($.kind.toString()):undefined;var G=q&&E.findChildOfKind($.parent,q,j);return G?[E.createTextSpanFromNode($,j),E.createTextSpanFromNode(G,j)].sort((function(E,N){return E.start-N.start})):E.emptyArray}function getIndentationAtPosition(N,R,j){var $=E.timestamp();var q=toEditorSettings(j);var G=ae.getCurrentSourceFile(N);log("getIndentationAtPosition: getCurrentSourceFile: "+(E.timestamp()-$));$=E.timestamp();var ie=E.formatting.SmartIndenter.getIndentation(R,G,q);log("getIndentationAtPosition: computeIndentation : "+(E.timestamp()-$));return ie}function getFormattingEditsForRange(R,j,$,q){var G=ae.getCurrentSourceFile(R);return E.formatting.formatSelection(j,$,G,E.formatting.getFormatContext(toEditorSettings(q),N))}function getFormattingEditsForDocument(R,j){return E.formatting.formatDocument(ae.getCurrentSourceFile(R),E.formatting.getFormatContext(toEditorSettings(j),N))}function getFormattingEditsAfterKeystroke(R,j,$,q){var G=ae.getCurrentSourceFile(R);var ie=E.formatting.getFormatContext(toEditorSettings(q),N);if(!E.isInComment(G,j)){switch($){case"{":return E.formatting.formatOnOpeningCurly(j,G,ie);case"}":return E.formatting.formatOnClosingCurly(j,G,ie);case";":return E.formatting.formatOnSemicolon(j,G,ie);case"\n":return E.formatting.formatOnEnter(j,G,ie)}}return[]}function getCodeFixesAtPosition(R,j,$,q,G,ie){if(ie===void 0){ie=E.emptyOptions}synchronizeHostData();var ae=getValidSourceFile(R);var le=E.createTextSpanFromBounds(j,$);var _e=E.formatting.getFormatContext(G,N);return E.flatMap(E.deduplicate(q,E.equateValues,E.compareValues),(function(R){Ee.throwIfCancellationRequested();return E.codefix.getFixes({errorCode:R,sourceFile:ae,span:le,program:ce,host:N,cancellationToken:Ee,formatContext:_e,preferences:ie})}))}function getCombinedCodeFix(R,j,$,q){if(q===void 0){q=E.emptyOptions}synchronizeHostData();E.Debug.assert(R.type==="file");var G=getValidSourceFile(R.fileName);var ie=E.formatting.getFormatContext($,N);return E.codefix.getAllFixes({fixId:j,sourceFile:G,program:ce,host:N,cancellationToken:Ee,formatContext:ie,preferences:q})}function organizeImports(R,j,$){if($===void 0){$=E.emptyOptions}synchronizeHostData();E.Debug.assert(R.type==="file");var q=getValidSourceFile(R.fileName);var G=E.formatting.getFormatContext(j,N);return E.OrganizeImports.organizeImports(q,G,N,ce,$,R.skipDestructiveCodeActions)}function getEditsForFileRename(R,j,$,q){if(q===void 0){q=E.emptyOptions}return E.getEditsForFileRename(getProgram(),R,j,N,E.formatting.getFormatContext($,N),q,ze)}function applyCodeActionCommand(N,R){var j=typeof N==="string"?R:N;return E.isArray(j)?Promise.all(j.map((function(E){return applySingleCodeActionCommand(E)}))):applySingleCodeActionCommand(j)}function applySingleCodeActionCommand(R){var getPath=function(N){return E.toPath(N,Te,Be)};E.Debug.assertEqual(R.type,"install package");return N.installPackage?N.installPackage({fileName:getPath(R.file),packageName:R.packageName}):Promise.reject("Host does not implement `installPackage`")}function getDocCommentTemplateAtPosition(R,j,$){return E.JsDoc.getDocCommentTemplateAtPosition(E.getNewLineOrDefaultFromHost(N),ae.getCurrentSourceFile(R),j,$)}function isValidBraceCompletionAtPosition(N,R,j){if(j===60){return false}var $=ae.getCurrentSourceFile(N);if(E.isInString($,R)){return false}if(E.isInsideJsxElementOrAttribute($,R)){return j===123}if(E.isInTemplateString($,R)){return false}switch(j){case 39:case 34:case 96:return!E.isInComment($,R)}return true}function getJsxClosingTagAtPosition(N,R){var j=ae.getCurrentSourceFile(N);var $=E.findPrecedingToken(R,j);if(!$)return undefined;var q=$.kind===31&&E.isJsxOpeningElement($.parent)?$.parent.parent:E.isJsxText($)?$.parent:undefined;if(q&&isUnclosedTag(q)){return{newText:"</"+q.openingElement.tagName.getText(j)+">"}}}function getLinesForRange(E,N){return{lineStarts:E.getLineStarts(),firstLine:E.getLineAndCharacterOfPosition(N.pos).line,lastLine:E.getLineAndCharacterOfPosition(N.end).line}}function toggleLineComment(N,R,j){var $=ae.getCurrentSourceFile(N);var q=[];var G=getLinesForRange($,R),ie=G.lineStarts,ce=G.firstLine,le=G.lastLine;var _e=j||false;var Ee=Number.MAX_VALUE;var Te=new E.Map;var we=new RegExp(/\S/);var Ie=E.isInsideJsxElement($,ie[ce]);var Ne=Ie?"{/*":"//";for(var Me=ce;Me<=le;Me++){var Le=$.text.substring(ie[Me],$.getLineEndOfPosition(ie[Me]));var Be=we.exec(Le);if(Be){Ee=Math.min(Ee,Be.index);Te.set(Me.toString(),Be.index);if(Le.substr(Be.index,Ne.length)!==Ne){_e=j===undefined||j}}}for(var Me=ce;Me<=le;Me++){if(ce!==le&&ie[Me]===R.end){continue}var je=Te.get(Me.toString());if(je!==undefined){if(Ie){q.push.apply(q,toggleMultilineComment(N,{pos:ie[Me]+Ee,end:$.getLineEndOfPosition(ie[Me])},_e,Ie))}else if(_e){q.push({newText:Ne,span:{length:0,start:ie[Me]+Ee}})}else if($.text.substr(ie[Me]+je,Ne.length)===Ne){q.push({newText:"",span:{length:Ne.length,start:ie[Me]+je}})}}}return q}function toggleMultilineComment(N,R,j,$){var q;var G=ae.getCurrentSourceFile(N);var ie=[];var ce=G.text;var le=false;var _e=j||false;var Ee=[];var Te=R.pos;var we=$!==undefined?$:E.isInsideJsxElement(G,Te);var Ie=we?"{/*":"/*";var Ne=we?"*/}":"*/";var Me=we?"\\{\\/\\*":"\\/\\*";var Le=we?"\\*\\/\\}":"\\*\\/";while(Te<=R.end){var Be=ce.substr(Te,Ie.length)===Ie?Ie.length:0;var je=E.isInComment(G,Te+Be);if(je){if(we){je.pos--;je.end++}Ee.push(je.pos);if(je.kind===3){Ee.push(je.end)}le=true;Te=je.end+1}else{var Ue=ce.substring(Te,R.end).search("("+Me+")|("+Le+")");_e=j!==undefined?j:_e||!E.isTextWhiteSpaceLike(ce,Te,Ue===-1?R.end:Te+Ue);Te=Ue===-1?R.end+1:Te+Ue+Ne.length}}if(_e||!le){if(((q=E.isInComment(G,R.pos))===null||q===void 0?void 0:q.kind)!==2){E.insertSorted(Ee,R.pos,E.compareValues)}E.insertSorted(Ee,R.end,E.compareValues);var ze=Ee[0];if(ce.substr(ze,Ie.length)!==Ie){ie.push({newText:Ie,span:{length:0,start:ze}})}for(var We=1;We<Ee.length-1;We++){if(ce.substr(Ee[We]-Ne.length,Ne.length)!==Ne){ie.push({newText:Ne,span:{length:0,start:Ee[We]}})}if(ce.substr(Ee[We],Ie.length)!==Ie){ie.push({newText:Ie,span:{length:0,start:Ee[We]}})}}if(ie.length%2!==0){ie.push({newText:Ne,span:{length:0,start:Ee[Ee.length-1]}})}}else{for(var Je=0,Ve=Ee;Je<Ve.length;Je++){var qe=Ve[Je];var He=qe-Ne.length>0?qe-Ne.length:0;var Be=ce.substr(He,Ne.length)===Ne?Ne.length:0;ie.push({newText:"",span:{length:Ie.length,start:qe-Be}})}}return ie}function commentSelection(E,N){var R=ae.getCurrentSourceFile(E);var j=getLinesForRange(R,N),$=j.firstLine,q=j.lastLine;return $===q&&N.pos!==N.end?toggleMultilineComment(E,N,true):toggleLineComment(E,N,true)}function uncommentSelection(N,R){var j=ae.getCurrentSourceFile(N);var $=[];var q=R.pos;var G=R.end;if(q===G){G+=E.isInsideJsxElement(j,q)?2:1}for(var ie=q;ie<=G;ie++){var ce=E.isInComment(j,ie);if(ce){switch(ce.kind){case 2:$.push.apply($,toggleLineComment(N,{end:ce.end,pos:ce.pos+1},false));break;case 3:$.push.apply($,toggleMultilineComment(N,{end:ce.end,pos:ce.pos+1},false))}ie=ce.end+1}}return $}function isUnclosedTag(N){var R=N.openingElement,j=N.closingElement,$=N.parent;return!E.tagNamesAreEquivalent(R.tagName,j.tagName)||E.isJsxElement($)&&E.tagNamesAreEquivalent(R.tagName,$.openingElement.tagName)&&isUnclosedTag($)}function getSpanOfEnclosingComment(N,R,j){var $=ae.getCurrentSourceFile(N);var q=E.formatting.getRangeOfEnclosingComment($,R);return q&&(!j||q.kind===3)?E.createTextSpanFromRange(q):undefined}function getTodoComments(N,R){synchronizeHostData();var j=getValidSourceFile(N);Ee.throwIfCancellationRequested();var $=j.text;var q=[];if(R.length>0&&!isNodeModulesFile(j.fileName)){var G=getTodoCommentsRegExp();var ie=void 0;while(ie=G.exec($)){Ee.throwIfCancellationRequested();var ae=3;E.Debug.assert(ie.length===R.length+ae);var ce=ie[1];var le=ie.index+ce.length;if(!E.isInComment(j,le)){continue}var _e=void 0;for(var Te=0;Te<R.length;Te++){if(ie[Te+ae]){_e=R[Te]}}if(_e===undefined)return E.Debug.fail();if(isLetterOrDigit($.charCodeAt(le+_e.text.length))){continue}var we=ie[2];q.push({descriptor:_e,message:we,position:le})}}return q;function escapeRegExp(E){return E.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function getTodoCommentsRegExp(){var N=/(?:\/\/+\s*)/.source;var j=/(?:\/\*+\s*)/.source;var $=/(?:^(?:\s|\*)*)/.source;var q="("+$+"|"+N+"|"+j+")";var G="(?:"+E.map(R,(function(E){return"("+escapeRegExp(E.text)+")"})).join("|")+")";var ie=/(?:$|\*\/)/.source;var ae=/(?:.*?)/.source;var ce="("+G+ae+")";var le=q+ce+ie;return new RegExp(le,"gim")}function isLetterOrDigit(E){return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57}function isNodeModulesFile(N){return E.stringContains(N,"/node_modules/")}}function getRenameInfo(N,R,j){synchronizeHostData();return E.Rename.getRenameInfo(ce,getValidSourceFile(N),R,j)}function getRefactorContext(R,j,$,q,G,ie){var ae=typeof j==="number"?[j,undefined]:[j.pos,j.end],ce=ae[0],le=ae[1];return{file:R,startPosition:ce,endPosition:le,program:getProgram(),host:N,formatContext:E.formatting.getFormatContext(q,N),cancellationToken:Ee,preferences:$,triggerReason:G,kind:ie}}function getInlayHintsContext(E,R,j){return{file:E,program:getProgram(),host:N,span:R,preferences:j,cancellationToken:Ee}}function getSmartSelectionRange(N,R){return E.SmartSelectionRange.getSmartSelectionRange(R,ae.getCurrentSourceFile(N))}function getApplicableRefactors(N,R,j,$,q){if(j===void 0){j=E.emptyOptions}synchronizeHostData();var G=getValidSourceFile(N);return E.refactor.getApplicableRefactors(getRefactorContext(G,R,j,E.emptyOptions,$,q))}function getEditsForRefactor(N,R,j,$,q,G){if(G===void 0){G=E.emptyOptions}synchronizeHostData();var ie=getValidSourceFile(N);return E.refactor.getEditsForRefactor(getRefactorContext(ie,j,G,R),$,q)}function toLineColumnOffset(E,N){if(N===0){return{line:0,character:0}}return ze.toLineColumnOffset(E,N)}function prepareCallHierarchy(N,R){synchronizeHostData();var j=E.CallHierarchy.resolveCallHierarchyDeclaration(ce,E.getTouchingPropertyName(getValidSourceFile(N),R));return j&&E.mapOneOrMany(j,(function(N){return E.CallHierarchy.createCallHierarchyItem(ce,N)}))}function provideCallHierarchyIncomingCalls(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.firstOrOnly(E.CallHierarchy.resolveCallHierarchyDeclaration(ce,R===0?j:E.getTouchingPropertyName(j,R)));return $?E.CallHierarchy.getIncomingCalls(ce,$,Ee):[]}function provideCallHierarchyOutgoingCalls(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.firstOrOnly(E.CallHierarchy.resolveCallHierarchyDeclaration(ce,R===0?j:E.getTouchingPropertyName(j,R)));return $?E.CallHierarchy.getOutgoingCalls(ce,$):[]}function provideInlayHints(N,R,j){if(j===void 0){j=E.emptyOptions}synchronizeHostData();var $=getValidSourceFile(N);return E.InlayHints.provideInlayHints(getInlayHintsContext($,R,j))}var Je={dispose:dispose,cleanupSemanticCache:cleanupSemanticCache,getSyntacticDiagnostics:getSyntacticDiagnostics,getSemanticDiagnostics:getSemanticDiagnostics,getSuggestionDiagnostics:getSuggestionDiagnostics,getCompilerOptionsDiagnostics:getCompilerOptionsDiagnostics,getSyntacticClassifications:getSyntacticClassifications,getSemanticClassifications:getSemanticClassifications,getEncodedSyntacticClassifications:getEncodedSyntacticClassifications,getEncodedSemanticClassifications:getEncodedSemanticClassifications,getCompletionsAtPosition:getCompletionsAtPosition,getCompletionEntryDetails:getCompletionEntryDetails,getCompletionEntrySymbol:getCompletionEntrySymbol,getSignatureHelpItems:getSignatureHelpItems,getQuickInfoAtPosition:getQuickInfoAtPosition,getDefinitionAtPosition:getDefinitionAtPosition,getDefinitionAndBoundSpan:getDefinitionAndBoundSpan,getImplementationAtPosition:getImplementationAtPosition,getTypeDefinitionAtPosition:getTypeDefinitionAtPosition,getReferencesAtPosition:getReferencesAtPosition,findReferences:findReferences,getFileReferences:getFileReferences,getOccurrencesAtPosition:getOccurrencesAtPosition,getDocumentHighlights:getDocumentHighlights,getNameOrDottedNameSpan:getNameOrDottedNameSpan,getBreakpointStatementAtPosition:getBreakpointStatementAtPosition,getNavigateToItems:getNavigateToItems,getRenameInfo:getRenameInfo,getSmartSelectionRange:getSmartSelectionRange,findRenameLocations:findRenameLocations,getNavigationBarItems:getNavigationBarItems,getNavigationTree:getNavigationTree,getOutliningSpans:getOutliningSpans,getTodoComments:getTodoComments,getBraceMatchingAtPosition:getBraceMatchingAtPosition,getIndentationAtPosition:getIndentationAtPosition,getFormattingEditsForRange:getFormattingEditsForRange,getFormattingEditsForDocument:getFormattingEditsForDocument,getFormattingEditsAfterKeystroke:getFormattingEditsAfterKeystroke,getDocCommentTemplateAtPosition:getDocCommentTemplateAtPosition,isValidBraceCompletionAtPosition:isValidBraceCompletionAtPosition,getJsxClosingTagAtPosition:getJsxClosingTagAtPosition,getSpanOfEnclosingComment:getSpanOfEnclosingComment,getCodeFixesAtPosition:getCodeFixesAtPosition,getCombinedCodeFix:getCombinedCodeFix,applyCodeActionCommand:applyCodeActionCommand,organizeImports:organizeImports,getEditsForFileRename:getEditsForFileRename,getEmitOutput:getEmitOutput,getNonBoundSourceFile:getNonBoundSourceFile,getProgram:getProgram,getAutoImportProvider:getAutoImportProvider,getApplicableRefactors:getApplicableRefactors,getEditsForRefactor:getEditsForRefactor,toLineColumnOffset:toLineColumnOffset,getSourceMapper:function(){return ze},clearSourceMapperCache:function(){return ze.clearCache()},prepareCallHierarchy:prepareCallHierarchy,provideCallHierarchyIncomingCalls:provideCallHierarchyIncomingCalls,provideCallHierarchyOutgoingCalls:provideCallHierarchyOutgoingCalls,toggleLineComment:toggleLineComment,toggleMultilineComment:toggleMultilineComment,commentSelection:commentSelection,uncommentSelection:uncommentSelection,provideInlayHints:provideInlayHints};switch(ie){case E.LanguageServiceMode.Semantic:break;case E.LanguageServiceMode.PartialSemantic:je.forEach((function(E){return Je[E]=function(){throw new Error("LanguageService Operation: "+E+" not allowed in LanguageServiceMode.PartialSemantic")}}));break;case E.LanguageServiceMode.Syntactic:Ue.forEach((function(E){return Je[E]=function(){throw new Error("LanguageService Operation: "+E+" not allowed in LanguageServiceMode.Syntactic")}}));break;default:E.Debug.assertNever(ie)}return Je}E.createLanguageService=createLanguageService;function getNameTable(E){if(!E.nameTable){initializeNameTable(E)}return E.nameTable}E.getNameTable=getNameTable;function initializeNameTable(N){var R=N.nameTable=new E.Map;N.forEachChild((function walk(N){if(E.isIdentifier(N)&&!E.isTagName(N)&&N.escapedText||E.isStringOrNumericLiteralLike(N)&&literalIsName(N)){var j=E.getEscapedTextOfIdentifierOrLiteral(N);R.set(j,R.get(j)===undefined?N.pos:-1)}else if(E.isPrivateIdentifier(N)){var j=N.escapedText;R.set(j,R.get(j)===undefined?N.pos:-1)}E.forEachChild(N,walk);if(E.hasJSDocNodes(N)){for(var $=0,q=N.jsDoc;$<q.length;$++){var G=q[$];E.forEachChild(G,walk)}}}))}function literalIsName(N){return E.isDeclarationName(N)||N.parent.kind===275||isArgumentOfElementAccessExpression(N)||E.isLiteralComputedPropertyDeclarationName(N)}function getContainingObjectLiteralElement(N){var R=getContainingObjectLiteralElementWorker(N);return R&&(E.isObjectLiteralExpression(R.parent)||E.isJsxAttributes(R.parent))?R:undefined}E.getContainingObjectLiteralElement=getContainingObjectLiteralElement;function getContainingObjectLiteralElementWorker(N){switch(N.kind){case 10:case 14:case 8:if(N.parent.kind===160){return E.isObjectLiteralElement(N.parent.parent)?N.parent.parent:undefined}case 79:return E.isObjectLiteralElement(N.parent)&&(N.parent.parent.kind===203||N.parent.parent.kind===284)&&N.parent.name===N?N.parent:undefined}return undefined}function getSymbolAtLocationForQuickInfo(N,R){var j=getContainingObjectLiteralElement(N);if(j){var $=R.getContextualType(j.parent);var q=$&&getPropertySymbolsFromContextualType(j,R,$,false);if(q&&q.length===1){return E.first(q)}}return R.getSymbolAtLocation(N)}function getPropertySymbolsFromContextualType(N,R,j,$){var q=E.getNameFromPropertyName(N.name);if(!q)return E.emptyArray;if(!j.isUnion()){var G=j.getProperty(q);return G?[G]:E.emptyArray}var ie=E.mapDefined(j.types,(function(j){return(E.isObjectLiteralExpression(N.parent)||E.isJsxAttributes(N.parent))&&R.isTypeInvalidDueToUnionDiscriminant(j,N.parent)?undefined:j.getProperty(q)}));if($&&(ie.length===0||ie.length===j.types.length)){var G=j.getProperty(q);if(G)return[G]}if(ie.length===0){return E.mapDefined(j.types,(function(E){return E.getProperty(q)}))}return ie}E.getPropertySymbolsFromContextualType=getPropertySymbolsFromContextualType;function isArgumentOfElementAccessExpression(E){return E&&E.parent&&E.parent.kind===205&&E.parent.argumentExpression===E}function getDefaultLibFilePath(N){if(typeof __dirname!=="undefined"){return R.ab+"typescript/lib"+E.directorySeparator+""+E.getDefaultLibFileName(N)}throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}E.getDefaultLibFilePath=getDefaultLibFilePath;E.setObjectAllocator(getServicesObjectAllocator())})(ce||(ce={}));var ce;(function(E){var N;(function(N){function spanInSourceFileAtLocation(N,R){if(N.isDeclarationFile){return undefined}var j=E.getTokenAtPosition(N,R);var $=N.getLineAndCharacterOfPosition(R).line;if(N.getLineAndCharacterOfPosition(j.getStart(N)).line>$){var q=E.findPrecedingToken(j.pos,N);if(!q||N.getLineAndCharacterOfPosition(q.getEnd()).line!==$){return undefined}j=q}if(j.flags&8388608){return undefined}return spanInNode(j);function textSpan(R,j){var $=R.decorators?E.skipTrivia(N.text,R.decorators.end):R.getStart(N);return E.createTextSpanFromBounds($,(j||R).getEnd())}function textSpanEndingAtNextToken(R,j){return textSpan(R,E.findNextToken(j,j.parent,N))}function spanInNodeIfStartsOnSameLine(E,R){if(E&&$===N.getLineAndCharacterOfPosition(E.getStart(N)).line){return spanInNode(E)}return spanInNode(R)}function spanInNodeArray(R){return E.createTextSpanFromBounds(E.skipTrivia(N.text,R.pos),R.end)}function spanInPreviousNode(R){return spanInNode(E.findPrecedingToken(R.pos,N))}function spanInNextNode(R){return spanInNode(E.findNextToken(R,R.parent,N))}function spanInNode(R){if(R){var j=R.parent;switch(R.kind){case 235:return spanInVariableDeclaration(R.declarationList.declarations[0]);case 252:case 165:case 164:return spanInVariableDeclaration(R);case 162:return spanInParameterDeclaration(R);case 254:case 167:case 166:case 170:case 171:case 169:case 211:case 212:return spanInFunctionDeclaration(R);case 233:if(E.isFunctionBlock(R)){return spanInFunctionBlock(R)}case 260:return spanInBlock(R);case 290:return spanInBlock(R.block);case 236:return textSpan(R.expression);case 245:return textSpan(R.getChildAt(0),R.expression);case 239:return textSpanEndingAtNextToken(R,R.expression);case 238:return spanInNode(R.statement);case 251:return textSpan(R.getChildAt(0));case 237:return textSpanEndingAtNextToken(R,R.expression);case 248:return spanInNode(R.statement);case 244:case 243:return textSpan(R.getChildAt(0),R.label);case 240:return spanInForStatement(R);case 241:return textSpanEndingAtNextToken(R,R.expression);case 242:return spanInInitializerOfForLike(R);case 247:return textSpanEndingAtNextToken(R,R.expression);case 287:case 288:return spanInNode(R.statements[0]);case 250:return spanInBlock(R.tryBlock);case 249:return textSpan(R,R.expression);case 269:return textSpan(R,R.expression);case 263:return textSpan(R,R.moduleReference);case 264:return textSpan(R,R.moduleSpecifier);case 270:return textSpan(R,R.moduleSpecifier);case 259:if(E.getModuleInstanceState(R)!==1){return undefined}case 255:case 258:case 294:case 201:return textSpan(R);case 246:return spanInNode(R.statement);case 163:return spanInNodeArray(j.decorators);case 199:case 200:return spanInBindingPattern(R);case 256:case 257:return undefined;case 26:case 1:return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N));case 27:return spanInPreviousNode(R);case 18:return spanInOpenBraceToken(R);case 19:return spanInCloseBraceToken(R);case 23:return spanInCloseBracketToken(R);case 20:return spanInOpenParenToken(R);case 21:return spanInCloseParenToken(R);case 58:return spanInColonToken(R);case 31:case 29:return spanInGreaterThanOrLessThanToken(R);case 115:return spanInWhileKeyword(R);case 91:case 83:case 96:return spanInNextNode(R);case 158:return spanInOfKeyword(R);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(R)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(R)}if((R.kind===79||R.kind===223||R.kind===291||R.kind===292)&&E.isArrayLiteralOrObjectLiteralDestructuringPattern(j)){return textSpan(R)}if(R.kind===219){var $=R,q=$.left,G=$.operatorToken;if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(q)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(q)}if(G.kind===63&&E.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent)){return textSpan(R)}if(G.kind===27){return spanInNode(q)}}if(E.isExpressionNode(R)){switch(j.kind){case 238:return spanInPreviousNode(R);case 163:return spanInNode(R.parent);case 240:case 242:return textSpan(R);case 219:if(R.parent.operatorToken.kind===27){return textSpan(R)}break;case 212:if(R.parent.body===R){return textSpan(R)}break}}switch(R.parent.kind){case 291:if(R.parent.name===R&&!E.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent.parent)){return spanInNode(R.parent.initializer)}break;case 209:if(R.parent.type===R){return spanInNextNode(R.parent.type)}break;case 252:case 162:{var ie=R.parent,ae=ie.initializer,ce=ie.type;if(ae===R||ce===R||E.isAssignmentOperator(R.kind)){return spanInPreviousNode(R)}break}case 219:{var q=R.parent.left;if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(q)&&R!==q){return spanInPreviousNode(R)}break}default:if(E.isFunctionLike(R.parent)&&R.parent.type===R){return spanInPreviousNode(R)}}return spanInNode(R.parent)}}function textSpanFromVariableDeclaration(R){if(E.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]===R){return textSpan(E.findPrecedingToken(R.pos,N,R.parent),R)}else{return textSpan(R)}}function spanInVariableDeclaration(R){if(R.parent.parent.kind===241){return spanInNode(R.parent.parent)}var j=R.parent;if(E.isBindingPattern(R.name)){return spanInBindingPattern(R.name)}if(R.initializer||E.hasSyntacticModifier(R,1)||j.parent.kind===242){return textSpanFromVariableDeclaration(R)}if(E.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]!==R){return spanInNode(E.findPrecedingToken(R.pos,N,R.parent))}}function canHaveSpanInParameterDeclaration(N){return!!N.initializer||N.dotDotDotToken!==undefined||E.hasSyntacticModifier(N,4|8)}function spanInParameterDeclaration(N){if(E.isBindingPattern(N.name)){return spanInBindingPattern(N.name)}else if(canHaveSpanInParameterDeclaration(N)){return textSpan(N)}else{var R=N.parent;var j=R.parameters.indexOf(N);E.Debug.assert(j!==-1);if(j!==0){return spanInParameterDeclaration(R.parameters[j-1])}else{return spanInNode(R.body)}}}function canFunctionHaveSpanInWholeDeclaration(N){return E.hasSyntacticModifier(N,1)||N.parent.kind===255&&N.kind!==169}function spanInFunctionDeclaration(E){if(!E.body){return undefined}if(canFunctionHaveSpanInWholeDeclaration(E)){return textSpan(E)}return spanInNode(E.body)}function spanInFunctionBlock(E){var N=E.statements.length?E.statements[0]:E.getLastToken();if(canFunctionHaveSpanInWholeDeclaration(E.parent)){return spanInNodeIfStartsOnSameLine(E.parent,N)}return spanInNode(N)}function spanInBlock(R){switch(R.parent.kind){case 259:if(E.getModuleInstanceState(R.parent)!==1){return undefined}case 239:case 237:case 241:return spanInNodeIfStartsOnSameLine(R.parent,R.statements[0]);case 240:case 242:return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),R.statements[0])}return spanInNode(R.statements[0])}function spanInInitializerOfForLike(E){if(E.initializer.kind===253){var N=E.initializer;if(N.declarations.length>0){return spanInNode(N.declarations[0])}}else{return spanInNode(E.initializer)}}function spanInForStatement(E){if(E.initializer){return spanInInitializerOfForLike(E)}if(E.condition){return textSpan(E.condition)}if(E.incrementor){return textSpan(E.incrementor)}}function spanInBindingPattern(N){var R=E.forEach(N.elements,(function(E){return E.kind!==225?E:undefined}));if(R){return spanInNode(R)}if(N.parent.kind===201){return textSpan(N.parent)}return textSpanFromVariableDeclaration(N.parent)}function spanInArrayLiteralOrObjectLiteralDestructuringPattern(N){E.Debug.assert(N.kind!==200&&N.kind!==199);var R=N.kind===202?N.elements:N.properties;var j=E.forEach(R,(function(E){return E.kind!==225?E:undefined}));if(j){return spanInNode(j)}return textSpan(N.parent.kind===219?N.parent:N)}function spanInOpenBraceToken(R){switch(R.parent.kind){case 258:var j=R.parent;return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),j.members.length?j.members[0]:j.getLastToken(N));case 255:var $=R.parent;return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),$.members.length?$.members[0]:$.getLastToken(N));case 261:return spanInNodeIfStartsOnSameLine(R.parent.parent,R.parent.clauses[0])}return spanInNode(R.parent)}function spanInCloseBraceToken(N){switch(N.parent.kind){case 260:if(E.getModuleInstanceState(N.parent.parent)!==1){return undefined}case 258:case 255:return textSpan(N);case 233:if(E.isFunctionBlock(N.parent)){return textSpan(N)}case 290:return spanInNode(E.lastOrUndefined(N.parent.statements));case 261:var R=N.parent;var j=E.lastOrUndefined(R.clauses);if(j){return spanInNode(E.lastOrUndefined(j.statements))}return undefined;case 199:var $=N.parent;return spanInNode(E.lastOrUndefined($.elements)||$);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)){var q=N.parent;return textSpan(E.lastOrUndefined(q.properties)||q)}return spanInNode(N.parent)}}function spanInCloseBracketToken(N){switch(N.parent.kind){case 200:var R=N.parent;return textSpan(E.lastOrUndefined(R.elements)||R);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)){var j=N.parent;return textSpan(E.lastOrUndefined(j.elements)||j)}return spanInNode(N.parent)}}function spanInOpenParenToken(E){if(E.parent.kind===238||E.parent.kind===206||E.parent.kind===207){return spanInPreviousNode(E)}if(E.parent.kind===210){return spanInNextNode(E)}return spanInNode(E.parent)}function spanInCloseParenToken(E){switch(E.parent.kind){case 211:case 254:case 212:case 167:case 166:case 170:case 171:case 169:case 239:case 238:case 240:case 242:case 206:case 207:case 210:return spanInPreviousNode(E);default:return spanInNode(E.parent)}}function spanInColonToken(N){if(E.isFunctionLike(N.parent)||N.parent.kind===291||N.parent.kind===162){return spanInPreviousNode(N)}return spanInNode(N.parent)}function spanInGreaterThanOrLessThanToken(E){if(E.parent.kind===209){return spanInNextNode(E)}return spanInNode(E.parent)}function spanInWhileKeyword(E){if(E.parent.kind===238){return textSpanEndingAtNextToken(E,E.parent.expression)}return spanInNode(E.parent)}function spanInOfKeyword(E){if(E.parent.kind===242){return spanInNextNode(E)}return spanInNode(E.parent)}}}N.spanInSourceFileAtLocation=spanInSourceFileAtLocation})(N=E.BreakpointResolver||(E.BreakpointResolver={}))})(ce||(ce={}));var ce;(function(E){function transform(N,R,j){var $=[];j=E.fixupCompilerOptions(j,$);var q=E.isArray(N)?N:[N];var G=E.transformNodes(undefined,undefined,E.factory,j,q,R,true);G.diagnostics=E.concatenate(G.diagnostics,$);return G}E.transform=transform})(ce||(ce={}));var le=function(){return this}();var ce;(function(E){function logInternalError(E,N){if(E){E.log("*INTERNAL ERROR* - Exception in typescript services: "+N.message)}}var N=function(){function ScriptSnapshotShimAdapter(E){this.scriptSnapshotShim=E}ScriptSnapshotShimAdapter.prototype.getText=function(E,N){return this.scriptSnapshotShim.getText(E,N)};ScriptSnapshotShimAdapter.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()};ScriptSnapshotShimAdapter.prototype.getChangeRange=function(N){var R=N;var j=this.scriptSnapshotShim.getChangeRange(R.scriptSnapshotShim);if(j===null){return null}var $=JSON.parse(j);return E.createTextChangeRange(E.createTextSpan($.span.start,$.span.length),$.newLength)};ScriptSnapshotShimAdapter.prototype.dispose=function(){if("dispose"in this.scriptSnapshotShim){this.scriptSnapshotShim.dispose()}};return ScriptSnapshotShimAdapter}();var R=function(){function LanguageServiceShimHostAdapter(N){var R=this;this.shimHost=N;this.loggingEnabled=false;this.tracingEnabled=false;if("getModuleResolutionsForFile"in this.shimHost){this.resolveModuleNames=function(N,j){var $=JSON.parse(R.shimHost.getModuleResolutionsForFile(j));return E.map(N,(function(N){var R=E.getProperty($,N);return R?{resolvedFileName:R,extension:E.extensionFromPath(R),isExternalLibraryImport:false}:undefined}))}}if("directoryExists"in this.shimHost){this.directoryExists=function(E){return R.shimHost.directoryExists(E)}}if("getTypeReferenceDirectiveResolutionsForFile"in this.shimHost){this.resolveTypeReferenceDirectives=function(N,j){var $=JSON.parse(R.shimHost.getTypeReferenceDirectiveResolutionsForFile(j));return E.map(N,(function(N){return E.getProperty($,N)}))}}}LanguageServiceShimHostAdapter.prototype.log=function(E){if(this.loggingEnabled){this.shimHost.log(E)}};LanguageServiceShimHostAdapter.prototype.trace=function(E){if(this.tracingEnabled){this.shimHost.trace(E)}};LanguageServiceShimHostAdapter.prototype.error=function(E){this.shimHost.error(E)};LanguageServiceShimHostAdapter.prototype.getProjectVersion=function(){if(!this.shimHost.getProjectVersion){return undefined}return this.shimHost.getProjectVersion()};LanguageServiceShimHostAdapter.prototype.getTypeRootsVersion=function(){if(!this.shimHost.getTypeRootsVersion){return 0}return this.shimHost.getTypeRootsVersion()};LanguageServiceShimHostAdapter.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false};LanguageServiceShimHostAdapter.prototype.getCompilationSettings=function(){var E=this.shimHost.getCompilationSettings();if(E===null||E===""){throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings")}var N=JSON.parse(E);N.allowNonTsExtensions=true;return N};LanguageServiceShimHostAdapter.prototype.getScriptFileNames=function(){var E=this.shimHost.getScriptFileNames();return JSON.parse(E)};LanguageServiceShimHostAdapter.prototype.getScriptSnapshot=function(E){var R=this.shimHost.getScriptSnapshot(E);return R&&new N(R)};LanguageServiceShimHostAdapter.prototype.getScriptKind=function(E){if("getScriptKind"in this.shimHost){return this.shimHost.getScriptKind(E)}else{return 0}};LanguageServiceShimHostAdapter.prototype.getScriptVersion=function(E){return this.shimHost.getScriptVersion(E)};LanguageServiceShimHostAdapter.prototype.getLocalizedDiagnosticMessages=function(){var E=this.shimHost.getLocalizedDiagnosticMessages();if(E===null||E===""){return null}try{return JSON.parse(E)}catch(E){this.log(E.description||"diagnosticMessages.generated.json has invalid JSON format");return null}};LanguageServiceShimHostAdapter.prototype.getCancellationToken=function(){var N=this.shimHost.getCancellationToken();return new E.ThrottledCancellationToken(N)};LanguageServiceShimHostAdapter.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()};LanguageServiceShimHostAdapter.prototype.getDirectories=function(E){return JSON.parse(this.shimHost.getDirectories(E))};LanguageServiceShimHostAdapter.prototype.getDefaultLibFileName=function(E){return this.shimHost.getDefaultLibFileName(JSON.stringify(E))};LanguageServiceShimHostAdapter.prototype.readDirectory=function(N,R,j,$,q){var G=E.getFileMatcherPatterns(N,j,$,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(N,JSON.stringify(R),JSON.stringify(G.basePaths),G.excludePattern,G.includeFilePattern,G.includeDirectoryPattern,q))};LanguageServiceShimHostAdapter.prototype.readFile=function(E,N){return this.shimHost.readFile(E,N)};LanguageServiceShimHostAdapter.prototype.fileExists=function(E){return this.shimHost.fileExists(E)};return LanguageServiceShimHostAdapter}();E.LanguageServiceShimHostAdapter=R;var q=function(){function CoreServicesShimHostAdapter(E){var N=this;this.shimHost=E;this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false;if("directoryExists"in this.shimHost){this.directoryExists=function(E){return N.shimHost.directoryExists(E)}}else{this.directoryExists=undefined}if("realpath"in this.shimHost){this.realpath=function(E){return N.shimHost.realpath(E)}}else{this.realpath=undefined}}CoreServicesShimHostAdapter.prototype.readDirectory=function(N,R,j,$,q){var G=E.getFileMatcherPatterns(N,j,$,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(N,JSON.stringify(R),JSON.stringify(G.basePaths),G.excludePattern,G.includeFilePattern,G.includeDirectoryPattern,q))};CoreServicesShimHostAdapter.prototype.fileExists=function(E){return this.shimHost.fileExists(E)};CoreServicesShimHostAdapter.prototype.readFile=function(E){return this.shimHost.readFile(E)};CoreServicesShimHostAdapter.prototype.getDirectories=function(E){return JSON.parse(this.shimHost.getDirectories(E))};return CoreServicesShimHostAdapter}();E.CoreServicesShimHostAdapter=q;function simpleForwardCall(N,R,j,$){var q;if($){N.log(R);q=E.timestamp()}var G=j();if($){var ie=E.timestamp();N.log(R+" completed in "+(ie-q)+" msec");if(E.isString(G)){var ae=G;if(ae.length>128){ae=ae.substring(0,128)+"..."}N.log(" result.length="+ae.length+", result='"+JSON.stringify(ae)+"'")}}return G}function forwardJSONCall(E,N,R,j){return forwardCall(E,N,true,R,j)}function forwardCall(N,R,j,$,q){try{var G=simpleForwardCall(N,R,$,q);return j?JSON.stringify({result:G}):G}catch(j){if(j instanceof E.OperationCanceledException){return JSON.stringify({canceled:true})}logInternalError(N,j);j.description=R;return JSON.stringify({error:j})}}var G=function(){function ShimBase(E){this.factory=E;E.registerShim(this)}ShimBase.prototype.dispose=function(E){this.factory.unregisterShim(this)};return ShimBase}();function realizeDiagnostics(E,N){return E.map((function(E){return realizeDiagnostic(E,N)}))}E.realizeDiagnostics=realizeDiagnostics;function realizeDiagnostic(N,R){return{message:E.flattenDiagnosticMessageText(N.messageText,R),start:N.start,length:N.length,category:E.diagnosticCategoryName(N),code:N.code,reportsUnnecessary:N.reportsUnnecessary,reportsDeprecated:N.reportsDeprecated}}var ce=function(N){ae(LanguageServiceShimObject,N);function LanguageServiceShimObject(E,R,j){var $=N.call(this,E)||this;$.host=R;$.languageService=j;$.logPerformance=false;$.logger=$.host;return $}LanguageServiceShimObject.prototype.forwardJSONCall=function(E,N){return forwardJSONCall(this.logger,E,N,this.logPerformance)};LanguageServiceShimObject.prototype.dispose=function(E){this.logger.log("dispose()");this.languageService.dispose();this.languageService=null;if(le&&le.CollectGarbage){le.CollectGarbage();this.logger.log("CollectGarbage()")}this.logger=null;N.prototype.dispose.call(this,E)};LanguageServiceShimObject.prototype.refresh=function(E){this.forwardJSONCall("refresh("+E+")",(function(){return null}))};LanguageServiceShimObject.prototype.cleanupSemanticCache=function(){var E=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){E.languageService.cleanupSemanticCache();return null}))};LanguageServiceShimObject.prototype.realizeDiagnostics=function(N){var R=E.getNewLineOrDefaultFromHost(this.host);return realizeDiagnostics(N,R)};LanguageServiceShimObject.prototype.getSyntacticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getSyntacticClassifications('"+N+"', "+R+", "+j+")",(function(){return $.languageService.getSyntacticClassifications(N,E.createTextSpan(R,j))}))};LanguageServiceShimObject.prototype.getSemanticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getSemanticClassifications('"+N+"', "+R+", "+j+")",(function(){return $.languageService.getSemanticClassifications(N,E.createTextSpan(R,j))}))};LanguageServiceShimObject.prototype.getEncodedSyntacticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+N+"', "+R+", "+j+")",(function(){return convertClassifications($.languageService.getEncodedSyntacticClassifications(N,E.createTextSpan(R,j)))}))};LanguageServiceShimObject.prototype.getEncodedSemanticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+N+"', "+R+", "+j+")",(function(){return convertClassifications($.languageService.getEncodedSemanticClassifications(N,E.createTextSpan(R,j)))}))};LanguageServiceShimObject.prototype.getSyntacticDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+E+"')",(function(){var R=N.languageService.getSyntacticDiagnostics(E);return N.realizeDiagnostics(R)}))};LanguageServiceShimObject.prototype.getSemanticDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSemanticDiagnostics('"+E+"')",(function(){var R=N.languageService.getSemanticDiagnostics(E);return N.realizeDiagnostics(R)}))};LanguageServiceShimObject.prototype.getSuggestionDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+E+"')",(function(){return N.realizeDiagnostics(N.languageService.getSuggestionDiagnostics(E))}))};LanguageServiceShimObject.prototype.getCompilerOptionsDiagnostics=function(){var E=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var N=E.languageService.getCompilerOptionsDiagnostics();return E.realizeDiagnostics(N)}))};LanguageServiceShimObject.prototype.getQuickInfoAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getQuickInfoAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getNameOrDottedNameSpan=function(E,N,R){var j=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getNameOrDottedNameSpan(E,N,R)}))};LanguageServiceShimObject.prototype.getBreakpointStatementAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getBreakpointStatementAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getSignatureHelpItems=function(E,N,R){var j=this;return this.forwardJSONCall("getSignatureHelpItems('"+E+"', "+N+")",(function(){return j.languageService.getSignatureHelpItems(E,N,R)}))};LanguageServiceShimObject.prototype.getDefinitionAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getDefinitionAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getDefinitionAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getDefinitionAndBoundSpan=function(E,N){var R=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+E+"', "+N+")",(function(){return R.languageService.getDefinitionAndBoundSpan(E,N)}))};LanguageServiceShimObject.prototype.getTypeDefinitionAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getTypeDefinitionAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getImplementationAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getImplementationAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getImplementationAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getRenameInfo=function(E,N,R){var j=this;return this.forwardJSONCall("getRenameInfo('"+E+"', "+N+")",(function(){return j.languageService.getRenameInfo(E,N,R)}))};LanguageServiceShimObject.prototype.getSmartSelectionRange=function(E,N){var R=this;return this.forwardJSONCall("getSmartSelectionRange('"+E+"', "+N+")",(function(){return R.languageService.getSmartSelectionRange(E,N)}))};LanguageServiceShimObject.prototype.findRenameLocations=function(E,N,R,j,$){var q=this;return this.forwardJSONCall("findRenameLocations('"+E+"', "+N+", "+R+", "+j+", "+$+")",(function(){return q.languageService.findRenameLocations(E,N,R,j,$)}))};LanguageServiceShimObject.prototype.getBraceMatchingAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getBraceMatchingAtPosition(E,N)}))};LanguageServiceShimObject.prototype.isValidBraceCompletionAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+E+"', "+N+", "+R+")",(function(){return j.languageService.isValidBraceCompletionAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getSpanOfEnclosingComment=function(E,N,R){var j=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+E+"', "+N+")",(function(){return j.languageService.getSpanOfEnclosingComment(E,N,R)}))};LanguageServiceShimObject.prototype.getIndentationAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getIndentationAtPosition('"+E+"', "+N+")",(function(){var $=JSON.parse(R);return j.languageService.getIndentationAtPosition(E,N,$)}))};LanguageServiceShimObject.prototype.getReferencesAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getReferencesAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getReferencesAtPosition(E,N)}))};LanguageServiceShimObject.prototype.findReferences=function(E,N){var R=this;return this.forwardJSONCall("findReferences('"+E+"', "+N+")",(function(){return R.languageService.findReferences(E,N)}))};LanguageServiceShimObject.prototype.getFileReferences=function(E){var N=this;return this.forwardJSONCall("getFileReferences('"+E+")",(function(){return N.languageService.getFileReferences(E)}))};LanguageServiceShimObject.prototype.getOccurrencesAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getOccurrencesAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getDocumentHighlights=function(N,R,j){var $=this;return this.forwardJSONCall("getDocumentHighlights('"+N+"', "+R+")",(function(){var q=$.languageService.getDocumentHighlights(N,R,JSON.parse(j));var G=E.toFileNameLowerCase(E.normalizeSlashes(N));return E.filter(q,(function(N){return E.toFileNameLowerCase(E.normalizeSlashes(N.fileName))===G}))}))};LanguageServiceShimObject.prototype.getCompletionsAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getCompletionsAtPosition('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getCompletionsAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getCompletionEntryDetails=function(E,N,R,j,$,q,G){var ie=this;return this.forwardJSONCall("getCompletionEntryDetails('"+E+"', "+N+", '"+R+"')",(function(){var ae=j===undefined?undefined:JSON.parse(j);return ie.languageService.getCompletionEntryDetails(E,N,R,ae,$,q,G)}))};LanguageServiceShimObject.prototype.getFormattingEditsForRange=function(E,N,R,j){var $=this;return this.forwardJSONCall("getFormattingEditsForRange('"+E+"', "+N+", "+R+")",(function(){var q=JSON.parse(j);return $.languageService.getFormattingEditsForRange(E,N,R,q)}))};LanguageServiceShimObject.prototype.getFormattingEditsForDocument=function(E,N){var R=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+E+"')",(function(){var j=JSON.parse(N);return R.languageService.getFormattingEditsForDocument(E,j)}))};LanguageServiceShimObject.prototype.getFormattingEditsAfterKeystroke=function(E,N,R,j){var $=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+E+"', "+N+", '"+R+"')",(function(){var q=JSON.parse(j);return $.languageService.getFormattingEditsAfterKeystroke(E,N,R,q)}))};LanguageServiceShimObject.prototype.getDocCommentTemplateAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+E+"', "+N+")",(function(){return j.languageService.getDocCommentTemplateAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getNavigateToItems=function(E,N,R){var j=this;return this.forwardJSONCall("getNavigateToItems('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getNavigateToItems(E,N,R)}))};LanguageServiceShimObject.prototype.getNavigationBarItems=function(E){var N=this;return this.forwardJSONCall("getNavigationBarItems('"+E+"')",(function(){return N.languageService.getNavigationBarItems(E)}))};LanguageServiceShimObject.prototype.getNavigationTree=function(E){var N=this;return this.forwardJSONCall("getNavigationTree('"+E+"')",(function(){return N.languageService.getNavigationTree(E)}))};LanguageServiceShimObject.prototype.getOutliningSpans=function(E){var N=this;return this.forwardJSONCall("getOutliningSpans('"+E+"')",(function(){return N.languageService.getOutliningSpans(E)}))};LanguageServiceShimObject.prototype.getTodoComments=function(E,N){var R=this;return this.forwardJSONCall("getTodoComments('"+E+"')",(function(){return R.languageService.getTodoComments(E,JSON.parse(N))}))};LanguageServiceShimObject.prototype.prepareCallHierarchy=function(E,N){var R=this;return this.forwardJSONCall("prepareCallHierarchy('"+E+"', "+N+")",(function(){return R.languageService.prepareCallHierarchy(E,N)}))};LanguageServiceShimObject.prototype.provideCallHierarchyIncomingCalls=function(E,N){var R=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+E+"', "+N+")",(function(){return R.languageService.provideCallHierarchyIncomingCalls(E,N)}))};LanguageServiceShimObject.prototype.provideCallHierarchyOutgoingCalls=function(E,N){var R=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+E+"', "+N+")",(function(){return R.languageService.provideCallHierarchyOutgoingCalls(E,N)}))};LanguageServiceShimObject.prototype.provideInlayHints=function(E,N,R){var j=this;return this.forwardJSONCall("provideInlayHints('"+E+"', '"+JSON.stringify(N)+"', "+JSON.stringify(R)+")",(function(){return j.languageService.provideInlayHints(E,N,R)}))};LanguageServiceShimObject.prototype.getEmitOutput=function(E){var N=this;return this.forwardJSONCall("getEmitOutput('"+E+"')",(function(){var R=N.languageService.getEmitOutput(E),j=R.diagnostics,q=ie(R,["diagnostics"]);return $($({},q),{diagnostics:N.realizeDiagnostics(j)})}))};LanguageServiceShimObject.prototype.getEmitOutputObject=function(E){var N=this;return forwardCall(this.logger,"getEmitOutput('"+E+"')",false,(function(){return N.languageService.getEmitOutput(E)}),this.logPerformance)};LanguageServiceShimObject.prototype.toggleLineComment=function(E,N){var R=this;return this.forwardJSONCall("toggleLineComment('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.toggleLineComment(E,N)}))};LanguageServiceShimObject.prototype.toggleMultilineComment=function(E,N){var R=this;return this.forwardJSONCall("toggleMultilineComment('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.toggleMultilineComment(E,N)}))};LanguageServiceShimObject.prototype.commentSelection=function(E,N){var R=this;return this.forwardJSONCall("commentSelection('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.commentSelection(E,N)}))};LanguageServiceShimObject.prototype.uncommentSelection=function(E,N){var R=this;return this.forwardJSONCall("uncommentSelection('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.uncommentSelection(E,N)}))};return LanguageServiceShimObject}(G);function convertClassifications(E){return{spans:E.spans.join(","),endOfLineState:E.endOfLineState}}var _e=function(N){ae(ClassifierShimObject,N);function ClassifierShimObject(R,j){var $=N.call(this,R)||this;$.logger=j;$.logPerformance=false;$.classifier=E.createClassifier();return $}ClassifierShimObject.prototype.getEncodedLexicalClassifications=function(E,N,R){var j=this;if(R===void 0){R=false}return forwardJSONCall(this.logger,"getEncodedLexicalClassifications",(function(){return convertClassifications(j.classifier.getEncodedLexicalClassifications(E,N,R))}),this.logPerformance)};ClassifierShimObject.prototype.getClassificationsForLine=function(E,N,R){if(R===void 0){R=false}var j=this.classifier.getClassificationsForLine(E,N,R);var $="";for(var q=0,G=j.entries;q<G.length;q++){var ie=G[q];$+=ie.length+"\n";$+=ie.classification+"\n"}$+=j.finalLexState;return $};return ClassifierShimObject}(G);var Ee=function(N){ae(CoreServicesShimObject,N);function CoreServicesShimObject(E,R,j){var $=N.call(this,E)||this;$.logger=R;$.host=j;$.logPerformance=false;return $}CoreServicesShimObject.prototype.forwardJSONCall=function(E,N){return forwardJSONCall(this.logger,E,N,this.logPerformance)};CoreServicesShimObject.prototype.resolveModuleName=function(N,R,j){var $=this;return this.forwardJSONCall("resolveModuleName('"+N+"')",(function(){var q=JSON.parse(j);var G=E.resolveModuleName(R,E.normalizeSlashes(N),q,$.host);var ie=G.resolvedModule?G.resolvedModule.resolvedFileName:undefined;if(G.resolvedModule&&G.resolvedModule.extension!==".ts"&&G.resolvedModule.extension!==".tsx"&&G.resolvedModule.extension!==".d.ts"){ie=undefined}return{resolvedFileName:ie,failedLookupLocations:G.failedLookupLocations}}))};CoreServicesShimObject.prototype.resolveTypeReferenceDirective=function(N,R,j){var $=this;return this.forwardJSONCall("resolveTypeReferenceDirective("+N+")",(function(){var q=JSON.parse(j);var G=E.resolveTypeReferenceDirective(R,E.normalizeSlashes(N),q,$.host);return{resolvedFileName:G.resolvedTypeReferenceDirective?G.resolvedTypeReferenceDirective.resolvedFileName:undefined,primary:G.resolvedTypeReferenceDirective?G.resolvedTypeReferenceDirective.primary:true,failedLookupLocations:G.failedLookupLocations}}))};CoreServicesShimObject.prototype.getPreProcessedFileInfo=function(N,R){var j=this;return this.forwardJSONCall("getPreProcessedFileInfo('"+N+"')",(function(){var N=E.preProcessFile(E.getSnapshotText(R),true,true);return{referencedFiles:j.convertFileReferences(N.referencedFiles),importedFiles:j.convertFileReferences(N.importedFiles),ambientExternalModules:N.ambientExternalModules,isLibFile:N.isLibFile,typeReferenceDirectives:j.convertFileReferences(N.typeReferenceDirectives),libReferenceDirectives:j.convertFileReferences(N.libReferenceDirectives)}}))};CoreServicesShimObject.prototype.getAutomaticTypeDirectiveNames=function(N){var R=this;return this.forwardJSONCall("getAutomaticTypeDirectiveNames('"+N+"')",(function(){var j=JSON.parse(N);return E.getAutomaticTypeDirectiveNames(j,R.host)}))};CoreServicesShimObject.prototype.convertFileReferences=function(N){if(!N){return undefined}var R=[];for(var j=0,$=N;j<$.length;j++){var q=$[j];R.push({path:E.normalizeSlashes(q.fileName),position:q.pos,length:q.end-q.pos})}return R};CoreServicesShimObject.prototype.getTSConfigFileInfo=function(N,R){var $=this;return this.forwardJSONCall("getTSConfigFileInfo('"+N+"')",(function(){var q=E.parseJsonText(N,E.getSnapshotText(R));var G=E.normalizeSlashes(N);var ie=E.parseJsonSourceFileConfigFileContent(q,$.host,E.getDirectoryPath(G),{},G);return{options:ie.options,typeAcquisition:ie.typeAcquisition,files:ie.fileNames,raw:ie.raw,errors:realizeDiagnostics(j(j([],q.parseDiagnostics,true),ie.errors,true),"\r\n")}}))};CoreServicesShimObject.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall("getDefaultCompilationSettings()",(function(){return E.getDefaultCompilerOptions()}))};CoreServicesShimObject.prototype.discoverTypings=function(N){var R=this;var j=E.createGetCanonicalFileName(false);return this.forwardJSONCall("discoverTypings()",(function(){var $=JSON.parse(N);if(R.safeList===undefined){R.safeList=E.JsTyping.loadSafeList(R.host,E.toPath($.safeListPath,$.safeListPath,j))}return E.JsTyping.discoverTypings(R.host,(function(E){return R.logger.log(E)}),$.fileNames,E.toPath($.projectRootPath,$.projectRootPath,j),R.safeList,$.packageNameToTypingLocation,$.typeAcquisition,$.unresolvedImports,$.typesRegistry)}))};return CoreServicesShimObject}(G);var Te=function(){function TypeScriptServicesFactory(){this._shims=[]}TypeScriptServicesFactory.prototype.getServicesVersion=function(){return E.servicesVersion};TypeScriptServicesFactory.prototype.createLanguageServiceShim=function(N){try{if(this.documentRegistry===undefined){this.documentRegistry=E.createDocumentRegistry(N.useCaseSensitiveFileNames&&N.useCaseSensitiveFileNames(),N.getCurrentDirectory())}var j=new R(N);var $=E.createLanguageService(j,this.documentRegistry,false);return new ce(this,N,$)}catch(E){logInternalError(N,E);throw E}};TypeScriptServicesFactory.prototype.createClassifierShim=function(E){try{return new _e(this,E)}catch(N){logInternalError(E,N);throw N}};TypeScriptServicesFactory.prototype.createCoreServicesShim=function(E){try{var N=new q(E);return new Ee(this,E,N)}catch(N){logInternalError(E,N);throw N}};TypeScriptServicesFactory.prototype.close=function(){E.clear(this._shims);this.documentRegistry=undefined};TypeScriptServicesFactory.prototype.registerShim=function(E){this._shims.push(E)};TypeScriptServicesFactory.prototype.unregisterShim=function(E){for(var N=0;N<this._shims.length;N++){if(this._shims[N]===E){delete this._shims[N];return}}throw new Error("Invalid operation")};return TypeScriptServicesFactory}();E.TypeScriptServicesFactory=Te})(ce||(ce={}));(function(){if(typeof globalThis==="object")return;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:true});__magic__.globalThis=__magic__;if(typeof globalThis==="undefined"){window.globalThis=window}delete Object.prototype.__magic__}catch(E){window.globalThis=window}})();if(typeof process==="undefined"||process.browser){globalThis.TypeScript=globalThis.TypeScript||{};globalThis.TypeScript.Services=globalThis.TypeScript.Services||{};globalThis.TypeScript.Services.TypeScriptServicesFactory=ce.TypeScriptServicesFactory;globalThis.toolsVersion=ce.versionMajorMinor}if(true&&E.exports){E.exports=ce}var ce;(function(E){var N={since:"4.0",warnAfter:"4.1",message:"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead."};E.createNodeArray=E.Debug.deprecate(E.factory.createNodeArray,N);E.createNumericLiteral=E.Debug.deprecate(E.factory.createNumericLiteral,N);E.createBigIntLiteral=E.Debug.deprecate(E.factory.createBigIntLiteral,N);E.createStringLiteral=E.Debug.deprecate(E.factory.createStringLiteral,N);E.createStringLiteralFromNode=E.Debug.deprecate(E.factory.createStringLiteralFromNode,N);E.createRegularExpressionLiteral=E.Debug.deprecate(E.factory.createRegularExpressionLiteral,N);E.createLoopVariable=E.Debug.deprecate(E.factory.createLoopVariable,N);E.createUniqueName=E.Debug.deprecate(E.factory.createUniqueName,N);E.createPrivateIdentifier=E.Debug.deprecate(E.factory.createPrivateIdentifier,N);E.createSuper=E.Debug.deprecate(E.factory.createSuper,N);E.createThis=E.Debug.deprecate(E.factory.createThis,N);E.createNull=E.Debug.deprecate(E.factory.createNull,N);E.createTrue=E.Debug.deprecate(E.factory.createTrue,N);E.createFalse=E.Debug.deprecate(E.factory.createFalse,N);E.createModifier=E.Debug.deprecate(E.factory.createModifier,N);E.createModifiersFromModifierFlags=E.Debug.deprecate(E.factory.createModifiersFromModifierFlags,N);E.createQualifiedName=E.Debug.deprecate(E.factory.createQualifiedName,N);E.updateQualifiedName=E.Debug.deprecate(E.factory.updateQualifiedName,N);E.createComputedPropertyName=E.Debug.deprecate(E.factory.createComputedPropertyName,N);E.updateComputedPropertyName=E.Debug.deprecate(E.factory.updateComputedPropertyName,N);E.createTypeParameterDeclaration=E.Debug.deprecate(E.factory.createTypeParameterDeclaration,N);E.updateTypeParameterDeclaration=E.Debug.deprecate(E.factory.updateTypeParameterDeclaration,N);E.createParameter=E.Debug.deprecate(E.factory.createParameterDeclaration,N);E.updateParameter=E.Debug.deprecate(E.factory.updateParameterDeclaration,N);E.createDecorator=E.Debug.deprecate(E.factory.createDecorator,N);E.updateDecorator=E.Debug.deprecate(E.factory.updateDecorator,N);E.createProperty=E.Debug.deprecate(E.factory.createPropertyDeclaration,N);E.updateProperty=E.Debug.deprecate(E.factory.updatePropertyDeclaration,N);E.createMethod=E.Debug.deprecate(E.factory.createMethodDeclaration,N);E.updateMethod=E.Debug.deprecate(E.factory.updateMethodDeclaration,N);E.createConstructor=E.Debug.deprecate(E.factory.createConstructorDeclaration,N);E.updateConstructor=E.Debug.deprecate(E.factory.updateConstructorDeclaration,N);E.createGetAccessor=E.Debug.deprecate(E.factory.createGetAccessorDeclaration,N);E.updateGetAccessor=E.Debug.deprecate(E.factory.updateGetAccessorDeclaration,N);E.createSetAccessor=E.Debug.deprecate(E.factory.createSetAccessorDeclaration,N);E.updateSetAccessor=E.Debug.deprecate(E.factory.updateSetAccessorDeclaration,N);E.createCallSignature=E.Debug.deprecate(E.factory.createCallSignature,N);E.updateCallSignature=E.Debug.deprecate(E.factory.updateCallSignature,N);E.createConstructSignature=E.Debug.deprecate(E.factory.createConstructSignature,N);E.updateConstructSignature=E.Debug.deprecate(E.factory.updateConstructSignature,N);E.updateIndexSignature=E.Debug.deprecate(E.factory.updateIndexSignature,N);E.createKeywordTypeNode=E.Debug.deprecate(E.factory.createKeywordTypeNode,N);E.createTypePredicateNodeWithModifier=E.Debug.deprecate(E.factory.createTypePredicateNode,N);E.updateTypePredicateNodeWithModifier=E.Debug.deprecate(E.factory.updateTypePredicateNode,N);E.createTypeReferenceNode=E.Debug.deprecate(E.factory.createTypeReferenceNode,N);E.updateTypeReferenceNode=E.Debug.deprecate(E.factory.updateTypeReferenceNode,N);E.createFunctionTypeNode=E.Debug.deprecate(E.factory.createFunctionTypeNode,N);E.updateFunctionTypeNode=E.Debug.deprecate(E.factory.updateFunctionTypeNode,N);E.createConstructorTypeNode=E.Debug.deprecate((function(N,R,j){return E.factory.createConstructorTypeNode(undefined,N,R,j)}),N);E.updateConstructorTypeNode=E.Debug.deprecate((function(N,R,j,$){return E.factory.updateConstructorTypeNode(N,N.modifiers,R,j,$)}),N);E.createTypeQueryNode=E.Debug.deprecate(E.factory.createTypeQueryNode,N);E.updateTypeQueryNode=E.Debug.deprecate(E.factory.updateTypeQueryNode,N);E.createTypeLiteralNode=E.Debug.deprecate(E.factory.createTypeLiteralNode,N);E.updateTypeLiteralNode=E.Debug.deprecate(E.factory.updateTypeLiteralNode,N);E.createArrayTypeNode=E.Debug.deprecate(E.factory.createArrayTypeNode,N);E.updateArrayTypeNode=E.Debug.deprecate(E.factory.updateArrayTypeNode,N);E.createTupleTypeNode=E.Debug.deprecate(E.factory.createTupleTypeNode,N);E.updateTupleTypeNode=E.Debug.deprecate(E.factory.updateTupleTypeNode,N);E.createOptionalTypeNode=E.Debug.deprecate(E.factory.createOptionalTypeNode,N);E.updateOptionalTypeNode=E.Debug.deprecate(E.factory.updateOptionalTypeNode,N);E.createRestTypeNode=E.Debug.deprecate(E.factory.createRestTypeNode,N);E.updateRestTypeNode=E.Debug.deprecate(E.factory.updateRestTypeNode,N);E.createUnionTypeNode=E.Debug.deprecate(E.factory.createUnionTypeNode,N);E.updateUnionTypeNode=E.Debug.deprecate(E.factory.updateUnionTypeNode,N);E.createIntersectionTypeNode=E.Debug.deprecate(E.factory.createIntersectionTypeNode,N);E.updateIntersectionTypeNode=E.Debug.deprecate(E.factory.updateIntersectionTypeNode,N);E.createConditionalTypeNode=E.Debug.deprecate(E.factory.createConditionalTypeNode,N);E.updateConditionalTypeNode=E.Debug.deprecate(E.factory.updateConditionalTypeNode,N);E.createInferTypeNode=E.Debug.deprecate(E.factory.createInferTypeNode,N);E.updateInferTypeNode=E.Debug.deprecate(E.factory.updateInferTypeNode,N);E.createImportTypeNode=E.Debug.deprecate(E.factory.createImportTypeNode,N);E.updateImportTypeNode=E.Debug.deprecate(E.factory.updateImportTypeNode,N);E.createParenthesizedType=E.Debug.deprecate(E.factory.createParenthesizedType,N);E.updateParenthesizedType=E.Debug.deprecate(E.factory.updateParenthesizedType,N);E.createThisTypeNode=E.Debug.deprecate(E.factory.createThisTypeNode,N);E.updateTypeOperatorNode=E.Debug.deprecate(E.factory.updateTypeOperatorNode,N);E.createIndexedAccessTypeNode=E.Debug.deprecate(E.factory.createIndexedAccessTypeNode,N);E.updateIndexedAccessTypeNode=E.Debug.deprecate(E.factory.updateIndexedAccessTypeNode,N);E.createMappedTypeNode=E.Debug.deprecate(E.factory.createMappedTypeNode,N);E.updateMappedTypeNode=E.Debug.deprecate(E.factory.updateMappedTypeNode,N);E.createLiteralTypeNode=E.Debug.deprecate(E.factory.createLiteralTypeNode,N);E.updateLiteralTypeNode=E.Debug.deprecate(E.factory.updateLiteralTypeNode,N);E.createObjectBindingPattern=E.Debug.deprecate(E.factory.createObjectBindingPattern,N);E.updateObjectBindingPattern=E.Debug.deprecate(E.factory.updateObjectBindingPattern,N);E.createArrayBindingPattern=E.Debug.deprecate(E.factory.createArrayBindingPattern,N);E.updateArrayBindingPattern=E.Debug.deprecate(E.factory.updateArrayBindingPattern,N);E.createBindingElement=E.Debug.deprecate(E.factory.createBindingElement,N);E.updateBindingElement=E.Debug.deprecate(E.factory.updateBindingElement,N);E.createArrayLiteral=E.Debug.deprecate(E.factory.createArrayLiteralExpression,N);E.updateArrayLiteral=E.Debug.deprecate(E.factory.updateArrayLiteralExpression,N);E.createObjectLiteral=E.Debug.deprecate(E.factory.createObjectLiteralExpression,N);E.updateObjectLiteral=E.Debug.deprecate(E.factory.updateObjectLiteralExpression,N);E.createPropertyAccess=E.Debug.deprecate(E.factory.createPropertyAccessExpression,N);E.updatePropertyAccess=E.Debug.deprecate(E.factory.updatePropertyAccessExpression,N);E.createPropertyAccessChain=E.Debug.deprecate(E.factory.createPropertyAccessChain,N);E.updatePropertyAccessChain=E.Debug.deprecate(E.factory.updatePropertyAccessChain,N);E.createElementAccess=E.Debug.deprecate(E.factory.createElementAccessExpression,N);E.updateElementAccess=E.Debug.deprecate(E.factory.updateElementAccessExpression,N);E.createElementAccessChain=E.Debug.deprecate(E.factory.createElementAccessChain,N);E.updateElementAccessChain=E.Debug.deprecate(E.factory.updateElementAccessChain,N);E.createCall=E.Debug.deprecate(E.factory.createCallExpression,N);E.updateCall=E.Debug.deprecate(E.factory.updateCallExpression,N);E.createCallChain=E.Debug.deprecate(E.factory.createCallChain,N);E.updateCallChain=E.Debug.deprecate(E.factory.updateCallChain,N);E.createNew=E.Debug.deprecate(E.factory.createNewExpression,N);E.updateNew=E.Debug.deprecate(E.factory.updateNewExpression,N);E.createTypeAssertion=E.Debug.deprecate(E.factory.createTypeAssertion,N);E.updateTypeAssertion=E.Debug.deprecate(E.factory.updateTypeAssertion,N);E.createParen=E.Debug.deprecate(E.factory.createParenthesizedExpression,N);E.updateParen=E.Debug.deprecate(E.factory.updateParenthesizedExpression,N);E.createFunctionExpression=E.Debug.deprecate(E.factory.createFunctionExpression,N);E.updateFunctionExpression=E.Debug.deprecate(E.factory.updateFunctionExpression,N);E.createDelete=E.Debug.deprecate(E.factory.createDeleteExpression,N);E.updateDelete=E.Debug.deprecate(E.factory.updateDeleteExpression,N);E.createTypeOf=E.Debug.deprecate(E.factory.createTypeOfExpression,N);E.updateTypeOf=E.Debug.deprecate(E.factory.updateTypeOfExpression,N);E.createVoid=E.Debug.deprecate(E.factory.createVoidExpression,N);E.updateVoid=E.Debug.deprecate(E.factory.updateVoidExpression,N);E.createAwait=E.Debug.deprecate(E.factory.createAwaitExpression,N);E.updateAwait=E.Debug.deprecate(E.factory.updateAwaitExpression,N);E.createPrefix=E.Debug.deprecate(E.factory.createPrefixUnaryExpression,N);E.updatePrefix=E.Debug.deprecate(E.factory.updatePrefixUnaryExpression,N);E.createPostfix=E.Debug.deprecate(E.factory.createPostfixUnaryExpression,N);E.updatePostfix=E.Debug.deprecate(E.factory.updatePostfixUnaryExpression,N);E.createBinary=E.Debug.deprecate(E.factory.createBinaryExpression,N);E.updateConditional=E.Debug.deprecate(E.factory.updateConditionalExpression,N);E.createTemplateExpression=E.Debug.deprecate(E.factory.createTemplateExpression,N);E.updateTemplateExpression=E.Debug.deprecate(E.factory.updateTemplateExpression,N);E.createTemplateHead=E.Debug.deprecate(E.factory.createTemplateHead,N);E.createTemplateMiddle=E.Debug.deprecate(E.factory.createTemplateMiddle,N);E.createTemplateTail=E.Debug.deprecate(E.factory.createTemplateTail,N);E.createNoSubstitutionTemplateLiteral=E.Debug.deprecate(E.factory.createNoSubstitutionTemplateLiteral,N);E.updateYield=E.Debug.deprecate(E.factory.updateYieldExpression,N);E.createSpread=E.Debug.deprecate(E.factory.createSpreadElement,N);E.updateSpread=E.Debug.deprecate(E.factory.updateSpreadElement,N);E.createOmittedExpression=E.Debug.deprecate(E.factory.createOmittedExpression,N);E.createAsExpression=E.Debug.deprecate(E.factory.createAsExpression,N);E.updateAsExpression=E.Debug.deprecate(E.factory.updateAsExpression,N);E.createNonNullExpression=E.Debug.deprecate(E.factory.createNonNullExpression,N);E.updateNonNullExpression=E.Debug.deprecate(E.factory.updateNonNullExpression,N);E.createNonNullChain=E.Debug.deprecate(E.factory.createNonNullChain,N);E.updateNonNullChain=E.Debug.deprecate(E.factory.updateNonNullChain,N);E.createMetaProperty=E.Debug.deprecate(E.factory.createMetaProperty,N);E.updateMetaProperty=E.Debug.deprecate(E.factory.updateMetaProperty,N);E.createTemplateSpan=E.Debug.deprecate(E.factory.createTemplateSpan,N);E.updateTemplateSpan=E.Debug.deprecate(E.factory.updateTemplateSpan,N);E.createSemicolonClassElement=E.Debug.deprecate(E.factory.createSemicolonClassElement,N);E.createBlock=E.Debug.deprecate(E.factory.createBlock,N);E.updateBlock=E.Debug.deprecate(E.factory.updateBlock,N);E.createVariableStatement=E.Debug.deprecate(E.factory.createVariableStatement,N);E.updateVariableStatement=E.Debug.deprecate(E.factory.updateVariableStatement,N);E.createEmptyStatement=E.Debug.deprecate(E.factory.createEmptyStatement,N);E.createExpressionStatement=E.Debug.deprecate(E.factory.createExpressionStatement,N);E.updateExpressionStatement=E.Debug.deprecate(E.factory.updateExpressionStatement,N);E.createStatement=E.Debug.deprecate(E.factory.createExpressionStatement,N);E.updateStatement=E.Debug.deprecate(E.factory.updateExpressionStatement,N);E.createIf=E.Debug.deprecate(E.factory.createIfStatement,N);E.updateIf=E.Debug.deprecate(E.factory.updateIfStatement,N);E.createDo=E.Debug.deprecate(E.factory.createDoStatement,N);E.updateDo=E.Debug.deprecate(E.factory.updateDoStatement,N);E.createWhile=E.Debug.deprecate(E.factory.createWhileStatement,N);E.updateWhile=E.Debug.deprecate(E.factory.updateWhileStatement,N);E.createFor=E.Debug.deprecate(E.factory.createForStatement,N);E.updateFor=E.Debug.deprecate(E.factory.updateForStatement,N);E.createForIn=E.Debug.deprecate(E.factory.createForInStatement,N);E.updateForIn=E.Debug.deprecate(E.factory.updateForInStatement,N);E.createForOf=E.Debug.deprecate(E.factory.createForOfStatement,N);E.updateForOf=E.Debug.deprecate(E.factory.updateForOfStatement,N);E.createContinue=E.Debug.deprecate(E.factory.createContinueStatement,N);E.updateContinue=E.Debug.deprecate(E.factory.updateContinueStatement,N);E.createBreak=E.Debug.deprecate(E.factory.createBreakStatement,N);E.updateBreak=E.Debug.deprecate(E.factory.updateBreakStatement,N);E.createReturn=E.Debug.deprecate(E.factory.createReturnStatement,N);E.updateReturn=E.Debug.deprecate(E.factory.updateReturnStatement,N);E.createWith=E.Debug.deprecate(E.factory.createWithStatement,N);E.updateWith=E.Debug.deprecate(E.factory.updateWithStatement,N);E.createSwitch=E.Debug.deprecate(E.factory.createSwitchStatement,N);E.updateSwitch=E.Debug.deprecate(E.factory.updateSwitchStatement,N);E.createLabel=E.Debug.deprecate(E.factory.createLabeledStatement,N);E.updateLabel=E.Debug.deprecate(E.factory.updateLabeledStatement,N);E.createThrow=E.Debug.deprecate(E.factory.createThrowStatement,N);E.updateThrow=E.Debug.deprecate(E.factory.updateThrowStatement,N);E.createTry=E.Debug.deprecate(E.factory.createTryStatement,N);E.updateTry=E.Debug.deprecate(E.factory.updateTryStatement,N);E.createDebuggerStatement=E.Debug.deprecate(E.factory.createDebuggerStatement,N);E.createVariableDeclarationList=E.Debug.deprecate(E.factory.createVariableDeclarationList,N);E.updateVariableDeclarationList=E.Debug.deprecate(E.factory.updateVariableDeclarationList,N);E.createFunctionDeclaration=E.Debug.deprecate(E.factory.createFunctionDeclaration,N);E.updateFunctionDeclaration=E.Debug.deprecate(E.factory.updateFunctionDeclaration,N);E.createClassDeclaration=E.Debug.deprecate(E.factory.createClassDeclaration,N);E.updateClassDeclaration=E.Debug.deprecate(E.factory.updateClassDeclaration,N);E.createInterfaceDeclaration=E.Debug.deprecate(E.factory.createInterfaceDeclaration,N);E.updateInterfaceDeclaration=E.Debug.deprecate(E.factory.updateInterfaceDeclaration,N);E.createTypeAliasDeclaration=E.Debug.deprecate(E.factory.createTypeAliasDeclaration,N);E.updateTypeAliasDeclaration=E.Debug.deprecate(E.factory.updateTypeAliasDeclaration,N);E.createEnumDeclaration=E.Debug.deprecate(E.factory.createEnumDeclaration,N);E.updateEnumDeclaration=E.Debug.deprecate(E.factory.updateEnumDeclaration,N);E.createModuleDeclaration=E.Debug.deprecate(E.factory.createModuleDeclaration,N);E.updateModuleDeclaration=E.Debug.deprecate(E.factory.updateModuleDeclaration,N);E.createModuleBlock=E.Debug.deprecate(E.factory.createModuleBlock,N);E.updateModuleBlock=E.Debug.deprecate(E.factory.updateModuleBlock,N);E.createCaseBlock=E.Debug.deprecate(E.factory.createCaseBlock,N);E.updateCaseBlock=E.Debug.deprecate(E.factory.updateCaseBlock,N);E.createNamespaceExportDeclaration=E.Debug.deprecate(E.factory.createNamespaceExportDeclaration,N);E.updateNamespaceExportDeclaration=E.Debug.deprecate(E.factory.updateNamespaceExportDeclaration,N);E.createImportEqualsDeclaration=E.Debug.deprecate(E.factory.createImportEqualsDeclaration,N);E.updateImportEqualsDeclaration=E.Debug.deprecate(E.factory.updateImportEqualsDeclaration,N);E.createImportDeclaration=E.Debug.deprecate(E.factory.createImportDeclaration,N);E.updateImportDeclaration=E.Debug.deprecate(E.factory.updateImportDeclaration,N);E.createNamespaceImport=E.Debug.deprecate(E.factory.createNamespaceImport,N);E.updateNamespaceImport=E.Debug.deprecate(E.factory.updateNamespaceImport,N);E.createNamedImports=E.Debug.deprecate(E.factory.createNamedImports,N);E.updateNamedImports=E.Debug.deprecate(E.factory.updateNamedImports,N);E.createImportSpecifier=E.Debug.deprecate(E.factory.createImportSpecifier,N);E.updateImportSpecifier=E.Debug.deprecate(E.factory.updateImportSpecifier,N);E.createExportAssignment=E.Debug.deprecate(E.factory.createExportAssignment,N);E.updateExportAssignment=E.Debug.deprecate(E.factory.updateExportAssignment,N);E.createNamedExports=E.Debug.deprecate(E.factory.createNamedExports,N);E.updateNamedExports=E.Debug.deprecate(E.factory.updateNamedExports,N);E.createExportSpecifier=E.Debug.deprecate(E.factory.createExportSpecifier,N);E.updateExportSpecifier=E.Debug.deprecate(E.factory.updateExportSpecifier,N);E.createExternalModuleReference=E.Debug.deprecate(E.factory.createExternalModuleReference,N);E.updateExternalModuleReference=E.Debug.deprecate(E.factory.updateExternalModuleReference,N);E.createJSDocTypeExpression=E.Debug.deprecate(E.factory.createJSDocTypeExpression,N);E.createJSDocTypeTag=E.Debug.deprecate(E.factory.createJSDocTypeTag,N);E.createJSDocReturnTag=E.Debug.deprecate(E.factory.createJSDocReturnTag,N);E.createJSDocThisTag=E.Debug.deprecate(E.factory.createJSDocThisTag,N);E.createJSDocComment=E.Debug.deprecate(E.factory.createJSDocComment,N);E.createJSDocParameterTag=E.Debug.deprecate(E.factory.createJSDocParameterTag,N);E.createJSDocClassTag=E.Debug.deprecate(E.factory.createJSDocClassTag,N);E.createJSDocAugmentsTag=E.Debug.deprecate(E.factory.createJSDocAugmentsTag,N);E.createJSDocEnumTag=E.Debug.deprecate(E.factory.createJSDocEnumTag,N);E.createJSDocTemplateTag=E.Debug.deprecate(E.factory.createJSDocTemplateTag,N);E.createJSDocTypedefTag=E.Debug.deprecate(E.factory.createJSDocTypedefTag,N);E.createJSDocCallbackTag=E.Debug.deprecate(E.factory.createJSDocCallbackTag,N);E.createJSDocSignature=E.Debug.deprecate(E.factory.createJSDocSignature,N);E.createJSDocPropertyTag=E.Debug.deprecate(E.factory.createJSDocPropertyTag,N);E.createJSDocTypeLiteral=E.Debug.deprecate(E.factory.createJSDocTypeLiteral,N);E.createJSDocImplementsTag=E.Debug.deprecate(E.factory.createJSDocImplementsTag,N);E.createJSDocAuthorTag=E.Debug.deprecate(E.factory.createJSDocAuthorTag,N);E.createJSDocPublicTag=E.Debug.deprecate(E.factory.createJSDocPublicTag,N);E.createJSDocPrivateTag=E.Debug.deprecate(E.factory.createJSDocPrivateTag,N);E.createJSDocProtectedTag=E.Debug.deprecate(E.factory.createJSDocProtectedTag,N);E.createJSDocReadonlyTag=E.Debug.deprecate(E.factory.createJSDocReadonlyTag,N);E.createJSDocTag=E.Debug.deprecate(E.factory.createJSDocUnknownTag,N);E.createJsxElement=E.Debug.deprecate(E.factory.createJsxElement,N);E.updateJsxElement=E.Debug.deprecate(E.factory.updateJsxElement,N);E.createJsxSelfClosingElement=E.Debug.deprecate(E.factory.createJsxSelfClosingElement,N);E.updateJsxSelfClosingElement=E.Debug.deprecate(E.factory.updateJsxSelfClosingElement,N);E.createJsxOpeningElement=E.Debug.deprecate(E.factory.createJsxOpeningElement,N);E.updateJsxOpeningElement=E.Debug.deprecate(E.factory.updateJsxOpeningElement,N);E.createJsxClosingElement=E.Debug.deprecate(E.factory.createJsxClosingElement,N);E.updateJsxClosingElement=E.Debug.deprecate(E.factory.updateJsxClosingElement,N);E.createJsxFragment=E.Debug.deprecate(E.factory.createJsxFragment,N);E.createJsxText=E.Debug.deprecate(E.factory.createJsxText,N);E.updateJsxText=E.Debug.deprecate(E.factory.updateJsxText,N);E.createJsxOpeningFragment=E.Debug.deprecate(E.factory.createJsxOpeningFragment,N);E.createJsxJsxClosingFragment=E.Debug.deprecate(E.factory.createJsxJsxClosingFragment,N);E.updateJsxFragment=E.Debug.deprecate(E.factory.updateJsxFragment,N);E.createJsxAttribute=E.Debug.deprecate(E.factory.createJsxAttribute,N);E.updateJsxAttribute=E.Debug.deprecate(E.factory.updateJsxAttribute,N);E.createJsxAttributes=E.Debug.deprecate(E.factory.createJsxAttributes,N);E.updateJsxAttributes=E.Debug.deprecate(E.factory.updateJsxAttributes,N);E.createJsxSpreadAttribute=E.Debug.deprecate(E.factory.createJsxSpreadAttribute,N);E.updateJsxSpreadAttribute=E.Debug.deprecate(E.factory.updateJsxSpreadAttribute,N);E.createJsxExpression=E.Debug.deprecate(E.factory.createJsxExpression,N);E.updateJsxExpression=E.Debug.deprecate(E.factory.updateJsxExpression,N);E.createCaseClause=E.Debug.deprecate(E.factory.createCaseClause,N);E.updateCaseClause=E.Debug.deprecate(E.factory.updateCaseClause,N);E.createDefaultClause=E.Debug.deprecate(E.factory.createDefaultClause,N);E.updateDefaultClause=E.Debug.deprecate(E.factory.updateDefaultClause,N);E.createHeritageClause=E.Debug.deprecate(E.factory.createHeritageClause,N);E.updateHeritageClause=E.Debug.deprecate(E.factory.updateHeritageClause,N);E.createCatchClause=E.Debug.deprecate(E.factory.createCatchClause,N);E.updateCatchClause=E.Debug.deprecate(E.factory.updateCatchClause,N);E.createPropertyAssignment=E.Debug.deprecate(E.factory.createPropertyAssignment,N);E.updatePropertyAssignment=E.Debug.deprecate(E.factory.updatePropertyAssignment,N);E.createShorthandPropertyAssignment=E.Debug.deprecate(E.factory.createShorthandPropertyAssignment,N);E.updateShorthandPropertyAssignment=E.Debug.deprecate(E.factory.updateShorthandPropertyAssignment,N);E.createSpreadAssignment=E.Debug.deprecate(E.factory.createSpreadAssignment,N);E.updateSpreadAssignment=E.Debug.deprecate(E.factory.updateSpreadAssignment,N);E.createEnumMember=E.Debug.deprecate(E.factory.createEnumMember,N);E.updateEnumMember=E.Debug.deprecate(E.factory.updateEnumMember,N);E.updateSourceFileNode=E.Debug.deprecate(E.factory.updateSourceFile,N);E.createNotEmittedStatement=E.Debug.deprecate(E.factory.createNotEmittedStatement,N);E.createPartiallyEmittedExpression=E.Debug.deprecate(E.factory.createPartiallyEmittedExpression,N);E.updatePartiallyEmittedExpression=E.Debug.deprecate(E.factory.updatePartiallyEmittedExpression,N);E.createCommaList=E.Debug.deprecate(E.factory.createCommaListExpression,N);E.updateCommaList=E.Debug.deprecate(E.factory.updateCommaListExpression,N);E.createBundle=E.Debug.deprecate(E.factory.createBundle,N);E.updateBundle=E.Debug.deprecate(E.factory.updateBundle,N);E.createImmediatelyInvokedFunctionExpression=E.Debug.deprecate(E.factory.createImmediatelyInvokedFunctionExpression,N);E.createImmediatelyInvokedArrowFunction=E.Debug.deprecate(E.factory.createImmediatelyInvokedArrowFunction,N);E.createVoidZero=E.Debug.deprecate(E.factory.createVoidZero,N);E.createExportDefault=E.Debug.deprecate(E.factory.createExportDefault,N);E.createExternalModuleExport=E.Debug.deprecate(E.factory.createExternalModuleExport,N);E.createNamespaceExport=E.Debug.deprecate(E.factory.createNamespaceExport,N);E.updateNamespaceExport=E.Debug.deprecate(E.factory.updateNamespaceExport,N);E.createToken=E.Debug.deprecate((function createToken(N){return E.factory.createToken(N)}),N);E.createIdentifier=E.Debug.deprecate((function createIdentifier(N){return E.factory.createIdentifier(N,undefined,undefined)}),N);E.createTempVariable=E.Debug.deprecate((function createTempVariable(N){return E.factory.createTempVariable(N,undefined)}),N);E.getGeneratedNameForNode=E.Debug.deprecate((function getGeneratedNameForNode(N){return E.factory.getGeneratedNameForNode(N,undefined)}),N);E.createOptimisticUniqueName=E.Debug.deprecate((function createOptimisticUniqueName(N){return E.factory.createUniqueName(N,16)}),N);E.createFileLevelUniqueName=E.Debug.deprecate((function createFileLevelUniqueName(N){return E.factory.createUniqueName(N,16|32)}),N);E.createIndexSignature=E.Debug.deprecate((function createIndexSignature(N,R,j,$){return E.factory.createIndexSignature(N,R,j,$)}),N);E.createTypePredicateNode=E.Debug.deprecate((function createTypePredicateNode(N,R){return E.factory.createTypePredicateNode(undefined,N,R)}),N);E.updateTypePredicateNode=E.Debug.deprecate((function updateTypePredicateNode(N,R,j){return E.factory.updateTypePredicateNode(N,undefined,R,j)}),N);E.createLiteral=E.Debug.deprecate((function createLiteral(N){if(typeof N==="number"){return E.factory.createNumericLiteral(N)}if(typeof N==="object"&&"base10Value"in N){return E.factory.createBigIntLiteral(N)}if(typeof N==="boolean"){return N?E.factory.createTrue():E.factory.createFalse()}if(typeof N==="string"){return E.factory.createStringLiteral(N,undefined)}return E.factory.createStringLiteralFromNode(N)}),{since:"4.0",warnAfter:"4.1",message:"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead."});E.createMethodSignature=E.Debug.deprecate((function createMethodSignature(N,R,j,$,q){return E.factory.createMethodSignature(undefined,$,q,N,R,j)}),N);E.updateMethodSignature=E.Debug.deprecate((function updateMethodSignature(N,R,j,$,q,G){return E.factory.updateMethodSignature(N,N.modifiers,q,G,R,j,$)}),N);E.createTypeOperatorNode=E.Debug.deprecate((function createTypeOperatorNode(N,R){var j;if(R){j=N}else{R=N;j=139}return E.factory.createTypeOperatorNode(j,R)}),N);E.createTaggedTemplate=E.Debug.deprecate((function createTaggedTemplate(N,R,j){var $;if(j){$=R}else{j=R}return E.factory.createTaggedTemplateExpression(N,$,j)}),N);E.updateTaggedTemplate=E.Debug.deprecate((function updateTaggedTemplate(N,R,j,$){var q;if($){q=j}else{$=j}return E.factory.updateTaggedTemplateExpression(N,R,q,$)}),N);E.updateBinary=E.Debug.deprecate((function updateBinary(N,R,j,$){if($===void 0){$=N.operatorToken}if(typeof $==="number"){$=$===N.operatorToken.kind?N.operatorToken:E.factory.createToken($)}return E.factory.updateBinaryExpression(N,R,$,j)}),N);E.createConditional=E.Debug.deprecate((function createConditional(N,R,j,$,q){return arguments.length===5?E.factory.createConditionalExpression(N,R,j,$,q):arguments.length===3?E.factory.createConditionalExpression(N,E.factory.createToken(57),R,E.factory.createToken(58),j):E.Debug.fail("Argument count mismatch")}),N);E.createYield=E.Debug.deprecate((function createYield(N,R){var j;if(R){j=N}else{R=N}return E.factory.createYieldExpression(j,R)}),N);E.createClassExpression=E.Debug.deprecate((function createClassExpression(N,R,j,$,q){return E.factory.createClassExpression(undefined,N,R,j,$,q)}),N);E.updateClassExpression=E.Debug.deprecate((function updateClassExpression(N,R,j,$,q,G){return E.factory.updateClassExpression(N,undefined,R,j,$,q,G)}),N);E.createPropertySignature=E.Debug.deprecate((function createPropertySignature(N,R,j,$,q){var G=E.factory.createPropertySignature(N,R,j,$);G.initializer=q;return G}),N);E.updatePropertySignature=E.Debug.deprecate((function updatePropertySignature(N,R,j,$,q,G){var ie=E.factory.updatePropertySignature(N,R,j,$,q);if(N.initializer!==G){if(ie===N){ie=E.factory.cloneNode(N)}ie.initializer=G}return ie}),N);E.createExpressionWithTypeArguments=E.Debug.deprecate((function createExpressionWithTypeArguments(N,R){return E.factory.createExpressionWithTypeArguments(R,N)}),N);E.updateExpressionWithTypeArguments=E.Debug.deprecate((function updateExpressionWithTypeArguments(N,R,j){return E.factory.updateExpressionWithTypeArguments(N,j,R)}),N);E.createArrowFunction=E.Debug.deprecate((function createArrowFunction(N,R,j,$,q,G){return arguments.length===6?E.factory.createArrowFunction(N,R,j,$,q,G):arguments.length===5?E.factory.createArrowFunction(N,R,j,$,undefined,q):E.Debug.fail("Argument count mismatch")}),N);E.updateArrowFunction=E.Debug.deprecate((function updateArrowFunction(N,R,j,$,q,G,ie){return arguments.length===7?E.factory.updateArrowFunction(N,R,j,$,q,G,ie):arguments.length===6?E.factory.updateArrowFunction(N,R,j,$,q,N.equalsGreaterThanToken,G):E.Debug.fail("Argument count mismatch")}),N);E.createVariableDeclaration=E.Debug.deprecate((function createVariableDeclaration(N,R,j,$){return arguments.length===4?E.factory.createVariableDeclaration(N,R,j,$):arguments.length>=1&&arguments.length<=3?E.factory.createVariableDeclaration(N,undefined,R,j):E.Debug.fail("Argument count mismatch")}),N);E.updateVariableDeclaration=E.Debug.deprecate((function updateVariableDeclaration(N,R,j,$,q){return arguments.length===5?E.factory.updateVariableDeclaration(N,R,j,$,q):arguments.length===4?E.factory.updateVariableDeclaration(N,R,N.exclamationToken,j,$):E.Debug.fail("Argument count mismatch")}),N);E.createImportClause=E.Debug.deprecate((function createImportClause(N,R,j){if(j===void 0){j=false}return E.factory.createImportClause(j,N,R)}),N);E.updateImportClause=E.Debug.deprecate((function updateImportClause(N,R,j,$){return E.factory.updateImportClause(N,$,R,j)}),N);E.createExportDeclaration=E.Debug.deprecate((function createExportDeclaration(N,R,j,$,q){if(q===void 0){q=false}return E.factory.createExportDeclaration(N,R,q,j,$)}),N);E.updateExportDeclaration=E.Debug.deprecate((function updateExportDeclaration(N,R,j,$,q,G){return E.factory.updateExportDeclaration(N,R,j,G,$,q)}),N);E.createJSDocParamTag=E.Debug.deprecate((function createJSDocParamTag(N,R,j,$){return E.factory.createJSDocParameterTag(undefined,N,R,j,false,$?E.factory.createNodeArray([E.factory.createJSDocText($)]):undefined)}),N);E.createComma=E.Debug.deprecate((function createComma(N,R){return E.factory.createComma(N,R)}),N);E.createLessThan=E.Debug.deprecate((function createLessThan(N,R){return E.factory.createLessThan(N,R)}),N);E.createAssignment=E.Debug.deprecate((function createAssignment(N,R){return E.factory.createAssignment(N,R)}),N);E.createStrictEquality=E.Debug.deprecate((function createStrictEquality(N,R){return E.factory.createStrictEquality(N,R)}),N);E.createStrictInequality=E.Debug.deprecate((function createStrictInequality(N,R){return E.factory.createStrictInequality(N,R)}),N);E.createAdd=E.Debug.deprecate((function createAdd(N,R){return E.factory.createAdd(N,R)}),N);E.createSubtract=E.Debug.deprecate((function createSubtract(N,R){return E.factory.createSubtract(N,R)}),N);E.createLogicalAnd=E.Debug.deprecate((function createLogicalAnd(N,R){return E.factory.createLogicalAnd(N,R)}),N);E.createLogicalOr=E.Debug.deprecate((function createLogicalOr(N,R){return E.factory.createLogicalOr(N,R)}),N);E.createPostfixIncrement=E.Debug.deprecate((function createPostfixIncrement(N){return E.factory.createPostfixIncrement(N)}),N);E.createLogicalNot=E.Debug.deprecate((function createLogicalNot(N){return E.factory.createLogicalNot(N)}),N);E.createNode=E.Debug.deprecate((function createNode(N,R,j){if(R===void 0){R=0}if(j===void 0){j=0}return E.setTextRangePosEnd(N===300?E.parseBaseNodeFactory.createBaseSourceFileNode(N):N===79?E.parseBaseNodeFactory.createBaseIdentifierNode(N):N===80?E.parseBaseNodeFactory.createBasePrivateIdentifierNode(N):!E.isNodeKind(N)?E.parseBaseNodeFactory.createBaseTokenNode(N):E.parseBaseNodeFactory.createBaseNode(N),R,j)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."});E.getMutableClone=E.Debug.deprecate((function getMutableClone(N){var R=E.factory.cloneNode(N);E.setTextRange(R,N);E.setParent(R,N.parent);return R}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."});E.isTypeAssertion=E.Debug.deprecate((function isTypeAssertion(E){return E.kind===209}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."});E.isIdentifierOrPrivateIdentifier=E.Debug.deprecate((function isIdentifierOrPrivateIdentifier(N){return E.isMemberName(N)}),{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(ce||(ce={}))},30823:function(E,N){
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
(function(E,R){true?R(N):0})(this,(function(E){"use strict";function merge(){for(var E=arguments.length,N=Array(E),R=0;R<E;R++){N[R]=arguments[R]}if(N.length>1){N[0]=N[0].slice(0,-1);var j=N.length-1;for(var $=1;$<j;++$){N[$]=N[$].slice(1,-1)}N[j]=N[j].slice(1);return N.join("")}else{return N[0]}}function subexp(E){return"(?:"+E+")"}function typeOf(E){return E===undefined?"undefined":E===null?"null":Object.prototype.toString.call(E).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(E){return E.toUpperCase()}function toArray(E){return E!==undefined&&E!==null?E instanceof Array?E:typeof E.length!=="number"||E.split||E.setInterval||E.call?[E]:Array.prototype.slice.call(E):[]}function assign(E,N){var R=E;if(N){for(var j in N){R[j]=N[j]}}return R}function buildExps(E){var N="[A-Za-z]",R="[\\x0D]",j="[0-9]",$="[\\x22]",q=merge(j,"[A-Fa-f]"),G="[\\x0A]",ie="[\\x20]",ae=subexp(subexp("%[EFef]"+q+"%"+q+q+"%"+q+q)+"|"+subexp("%[89A-Fa-f]"+q+"%"+q+q)+"|"+subexp("%"+q+q)),ce="[\\:\\/\\?\\#\\[\\]\\@]",le="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",_e=merge(ce,le),Ee=E?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Te=E?"[\\uE000-\\uF8FF]":"[]",we=merge(N,j,"[\\-\\.\\_\\~]",Ee),Ie=subexp(N+merge(N,j,"[\\+\\-\\.]")+"*"),Ne=subexp(subexp(ae+"|"+merge(we,le,"[\\:]"))+"*"),Me=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+j)+"|"+subexp("1"+j+j)+"|"+subexp("[1-9]"+j)+"|"+j),Le=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+j)+"|"+subexp("1"+j+j)+"|"+subexp("0?[1-9]"+j)+"|0?0?"+j),Be=subexp(Le+"\\."+Le+"\\."+Le+"\\."+Le),je=subexp(q+"{1,4}"),Ue=subexp(subexp(je+"\\:"+je)+"|"+Be),ze=subexp(subexp(je+"\\:")+"{6}"+Ue),We=subexp("\\:\\:"+subexp(je+"\\:")+"{5}"+Ue),Je=subexp(subexp(je)+"?\\:\\:"+subexp(je+"\\:")+"{4}"+Ue),Ve=subexp(subexp(subexp(je+"\\:")+"{0,1}"+je)+"?\\:\\:"+subexp(je+"\\:")+"{3}"+Ue),qe=subexp(subexp(subexp(je+"\\:")+"{0,2}"+je)+"?\\:\\:"+subexp(je+"\\:")+"{2}"+Ue),He=subexp(subexp(subexp(je+"\\:")+"{0,3}"+je)+"?\\:\\:"+je+"\\:"+Ue),Ge=subexp(subexp(subexp(je+"\\:")+"{0,4}"+je)+"?\\:\\:"+Ue),Ke=subexp(subexp(subexp(je+"\\:")+"{0,5}"+je)+"?\\:\\:"+je),Qe=subexp(subexp(subexp(je+"\\:")+"{0,6}"+je)+"?\\:\\:"),Xe=subexp([ze,We,Je,Ve,qe,He,Ge,Ke,Qe].join("|")),Ye=subexp(subexp(we+"|"+ae)+"+"),Ze=subexp(Xe+"\\%25"+Ye),et=subexp(Xe+subexp("\\%25|\\%(?!"+q+"{2})")+Ye),tt=subexp("[vV]"+q+"+\\."+merge(we,le,"[\\:]")+"+"),rt=subexp("\\["+subexp(et+"|"+Xe+"|"+tt)+"\\]"),nt=subexp(subexp(ae+"|"+merge(we,le))+"*"),it=subexp(rt+"|"+Be+"(?!"+nt+")"+"|"+nt),ot=subexp(j+"*"),st=subexp(subexp(Ne+"@")+"?"+it+subexp("\\:"+ot)+"?"),ct=subexp(ae+"|"+merge(we,le,"[\\:\\@]")),ut=subexp(ct+"*"),dt=subexp(ct+"+"),pt=subexp(subexp(ae+"|"+merge(we,le,"[\\@]"))+"+"),ft=subexp(subexp("\\/"+ut)+"*"),mt=subexp("\\/"+subexp(dt+ft)+"?"),ht=subexp(pt+ft),_t=subexp(dt+ft),yt="(?!"+ct+")",vt=subexp(ft+"|"+mt+"|"+ht+"|"+_t+"|"+yt),bt=subexp(subexp(ct+"|"+merge("[\\/\\?]",Te))+"*"),xt=subexp(subexp(ct+"|[\\/\\?]")+"*"),St=subexp(subexp("\\/\\/"+st+ft)+"|"+mt+"|"+_t+"|"+yt),Et=subexp(Ie+"\\:"+St+subexp("\\?"+bt)+"?"+subexp("\\#"+xt)+"?"),Tt=subexp(subexp("\\/\\/"+st+ft)+"|"+mt+"|"+ht+"|"+yt),kt=subexp(Tt+subexp("\\?"+bt)+"?"+subexp("\\#"+xt)+"?"),Ct=subexp(Et+"|"+kt),Dt=subexp(Ie+"\\:"+St+subexp("\\?"+bt)+"?"),At="^("+Ie+")\\:"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+mt+"|"+_t+"|"+yt+")")+subexp("\\?("+bt+")")+"?"+subexp("\\#("+xt+")")+"?$",wt="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+mt+"|"+ht+"|"+yt+")")+subexp("\\?("+bt+")")+"?"+subexp("\\#("+xt+")")+"?$",Pt="^("+Ie+")\\:"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+mt+"|"+_t+"|"+yt+")")+subexp("\\?("+bt+")")+"?$",Ft="^"+subexp("\\#("+xt+")")+"?$",It="^"+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",N,j,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",we,le),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",we,le),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",we,le),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",we,le),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",we,le,"[\\:\\@\\/\\?]",Te),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",we,le,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",we,le),"g"),UNRESERVED:new RegExp(we,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",we,_e),"g"),PCT_ENCODED:new RegExp(ae,"g"),IPV4ADDRESS:new RegExp("^("+Be+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Xe+")"+subexp(subexp("\\%25|\\%(?!"+q+"{2})")+"("+Ye+")")+"?\\]?$")}}var N=buildExps(false);var R=buildExps(true);var j=function(){function sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"])G["return"]()}finally{if($)throw q}}return R}return function(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(E){if(Array.isArray(E)){for(var N=0,R=Array(E.length);N<E.length;N++)R[N]=E[N];return R}else{return Array.from(E)}};var $=2147483647;var q=36;var G=1;var ie=26;var ae=38;var ce=700;var le=72;var _e=128;var Ee="-";var Te=/^xn--/;var we=/[^\0-\x7E]/;var Ie=/[\x2E\u3002\uFF0E\uFF61]/g;var Ne={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Me=q-G;var Le=Math.floor;var Be=String.fromCharCode;function error$1(E){throw new RangeError(Ne[E])}function map(E,N){var R=[];var j=E.length;while(j--){R[j]=N(E[j])}return R}function mapDomain(E,N){var R=E.split("@");var j="";if(R.length>1){j=R[0]+"@";E=R[1]}E=E.replace(Ie,".");var $=E.split(".");var q=map($,N).join(".");return j+q}function ucs2decode(E){var N=[];var R=0;var j=E.length;while(R<j){var $=E.charCodeAt(R++);if($>=55296&&$<=56319&&R<j){var q=E.charCodeAt(R++);if((q&64512)==56320){N.push((($&1023)<<10)+(q&1023)+65536)}else{N.push($);R--}}else{N.push($)}}return N}var je=function ucs2encode(E){return String.fromCodePoint.apply(String,toConsumableArray(E))};var Ue=function basicToDigit(E){if(E-48<10){return E-22}if(E-65<26){return E-65}if(E-97<26){return E-97}return q};var ze=function digitToBasic(E,N){return E+22+75*(E<26)-((N!=0)<<5)};var We=function adapt(E,N,R){var j=0;E=R?Le(E/ce):E>>1;E+=Le(E/N);for(;E>Me*ie>>1;j+=q){E=Le(E/Me)}return Le(j+(Me+1)*E/(E+ae))};var Je=function decode(E){var N=[];var R=E.length;var j=0;var ae=_e;var ce=le;var Te=E.lastIndexOf(Ee);if(Te<0){Te=0}for(var we=0;we<Te;++we){if(E.charCodeAt(we)>=128){error$1("not-basic")}N.push(E.charCodeAt(we))}for(var Ie=Te>0?Te+1:0;Ie<R;){var Ne=j;for(var Me=1,Be=q;;Be+=q){if(Ie>=R){error$1("invalid-input")}var je=Ue(E.charCodeAt(Ie++));if(je>=q||je>Le(($-j)/Me)){error$1("overflow")}j+=je*Me;var ze=Be<=ce?G:Be>=ce+ie?ie:Be-ce;if(je<ze){break}var Je=q-ze;if(Me>Le($/Je)){error$1("overflow")}Me*=Je}var Ve=N.length+1;ce=We(j-Ne,Ve,Ne==0);if(Le(j/Ve)>$-ae){error$1("overflow")}ae+=Le(j/Ve);j%=Ve;N.splice(j++,0,ae)}return String.fromCodePoint.apply(String,N)};var Ve=function encode(E){var N=[];E=ucs2decode(E);var R=E.length;var j=_e;var ae=0;var ce=le;var Te=true;var we=false;var Ie=undefined;try{for(var Ne=E[Symbol.iterator](),Me;!(Te=(Me=Ne.next()).done);Te=true){var je=Me.value;if(je<128){N.push(Be(je))}}}catch(E){we=true;Ie=E}finally{try{if(!Te&&Ne.return){Ne.return()}}finally{if(we){throw Ie}}}var Ue=N.length;var Je=Ue;if(Ue){N.push(Ee)}while(Je<R){var Ve=$;var qe=true;var He=false;var Ge=undefined;try{for(var Ke=E[Symbol.iterator](),Qe;!(qe=(Qe=Ke.next()).done);qe=true){var Xe=Qe.value;if(Xe>=j&&Xe<Ve){Ve=Xe}}}catch(E){He=true;Ge=E}finally{try{if(!qe&&Ke.return){Ke.return()}}finally{if(He){throw Ge}}}var Ye=Je+1;if(Ve-j>Le(($-ae)/Ye)){error$1("overflow")}ae+=(Ve-j)*Ye;j=Ve;var Ze=true;var et=false;var tt=undefined;try{for(var rt=E[Symbol.iterator](),nt;!(Ze=(nt=rt.next()).done);Ze=true){var it=nt.value;if(it<j&&++ae>$){error$1("overflow")}if(it==j){var ot=ae;for(var st=q;;st+=q){var ct=st<=ce?G:st>=ce+ie?ie:st-ce;if(ot<ct){break}var ut=ot-ct;var dt=q-ct;N.push(Be(ze(ct+ut%dt,0)));ot=Le(ut/dt)}N.push(Be(ze(ot,0)));ce=We(ae,Ye,Je==Ue);ae=0;++Je}}}catch(E){et=true;tt=E}finally{try{if(!Ze&&rt.return){rt.return()}}finally{if(et){throw tt}}}++ae;++j}return N.join("")};var qe=function toUnicode(E){return mapDomain(E,(function(E){return Te.test(E)?Je(E.slice(4).toLowerCase()):E}))};var He=function toASCII(E){return mapDomain(E,(function(E){return we.test(E)?"xn--"+Ve(E):E}))};var Ge={version:"2.1.0",ucs2:{decode:ucs2decode,encode:je},decode:Je,encode:Ve,toASCII:He,toUnicode:qe};var Ke={};function pctEncChar(E){var N=E.charCodeAt(0);var R=void 0;if(N<16)R="%0"+N.toString(16).toUpperCase();else if(N<128)R="%"+N.toString(16).toUpperCase();else if(N<2048)R="%"+(N>>6|192).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase();else R="%"+(N>>12|224).toString(16).toUpperCase()+"%"+(N>>6&63|128).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase();return R}function pctDecChars(E){var N="";var R=0;var j=E.length;while(R<j){var $=parseInt(E.substr(R+1,2),16);if($<128){N+=String.fromCharCode($);R+=3}else if($>=194&&$<224){if(j-R>=6){var q=parseInt(E.substr(R+4,2),16);N+=String.fromCharCode(($&31)<<6|q&63)}else{N+=E.substr(R,6)}R+=6}else if($>=224){if(j-R>=9){var G=parseInt(E.substr(R+4,2),16);var ie=parseInt(E.substr(R+7,2),16);N+=String.fromCharCode(($&15)<<12|(G&63)<<6|ie&63)}else{N+=E.substr(R,9)}R+=9}else{N+=E.substr(R,3);R+=3}}return N}function _normalizeComponentEncoding(E,N){function decodeUnreserved(E){var R=pctDecChars(E);return!R.match(N.UNRESERVED)?E:R}if(E.scheme)E.scheme=String(E.scheme).replace(N.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(N.NOT_SCHEME,"");if(E.userinfo!==undefined)E.userinfo=String(E.userinfo).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_USERINFO,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.host!==undefined)E.host=String(E.host).replace(N.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(N.NOT_HOST,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.path!==undefined)E.path=String(E.path).replace(N.PCT_ENCODED,decodeUnreserved).replace(E.scheme?N.NOT_PATH:N.NOT_PATH_NOSCHEME,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.query!==undefined)E.query=String(E.query).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_QUERY,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.fragment!==undefined)E.fragment=String(E.fragment).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_FRAGMENT,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);return E}function _stripLeadingZeros(E){return E.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(E,N){var R=E.match(N.IPV4ADDRESS)||[];var $=j(R,2),q=$[1];if(q){return q.split(".").map(_stripLeadingZeros).join(".")}else{return E}}function _normalizeIPv6(E,N){var R=E.match(N.IPV6ADDRESS)||[];var $=j(R,3),q=$[1],G=$[2];if(q){var ie=q.toLowerCase().split("::").reverse(),ae=j(ie,2),ce=ae[0],le=ae[1];var _e=le?le.split(":").map(_stripLeadingZeros):[];var Ee=ce.split(":").map(_stripLeadingZeros);var Te=N.IPV4ADDRESS.test(Ee[Ee.length-1]);var we=Te?7:8;var Ie=Ee.length-we;var Ne=Array(we);for(var Me=0;Me<we;++Me){Ne[Me]=_e[Me]||Ee[Ie+Me]||""}if(Te){Ne[we-1]=_normalizeIPv4(Ne[we-1],N)}var Le=Ne.reduce((function(E,N,R){if(!N||N==="0"){var j=E[E.length-1];if(j&&j.index+j.length===R){j.length++}else{E.push({index:R,length:1})}}return E}),[]);var Be=Le.sort((function(E,N){return N.length-E.length}))[0];var je=void 0;if(Be&&Be.length>1){var Ue=Ne.slice(0,Be.index);var ze=Ne.slice(Be.index+Be.length);je=Ue.join(":")+"::"+ze.join(":")}else{je=Ne.join(":")}if(G){je+="%"+G}return je}else{return E}}var Qe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Xe="".match(/(){0}/)[1]===undefined;function parse(E){var j=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var $={};var q=j.iri!==false?R:N;if(j.reference==="suffix")E=(j.scheme?j.scheme+":":"")+"//"+E;var G=E.match(Qe);if(G){if(Xe){$.scheme=G[1];$.userinfo=G[3];$.host=G[4];$.port=parseInt(G[5],10);$.path=G[6]||"";$.query=G[7];$.fragment=G[8];if(isNaN($.port)){$.port=G[5]}}else{$.scheme=G[1]||undefined;$.userinfo=E.indexOf("@")!==-1?G[3]:undefined;$.host=E.indexOf("//")!==-1?G[4]:undefined;$.port=parseInt(G[5],10);$.path=G[6]||"";$.query=E.indexOf("?")!==-1?G[7]:undefined;$.fragment=E.indexOf("#")!==-1?G[8]:undefined;if(isNaN($.port)){$.port=E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?G[4]:undefined}}if($.host){$.host=_normalizeIPv6(_normalizeIPv4($.host,q),q)}if($.scheme===undefined&&$.userinfo===undefined&&$.host===undefined&&$.port===undefined&&!$.path&&$.query===undefined){$.reference="same-document"}else if($.scheme===undefined){$.reference="relative"}else if($.fragment===undefined){$.reference="absolute"}else{$.reference="uri"}if(j.reference&&j.reference!=="suffix"&&j.reference!==$.reference){$.error=$.error||"URI is not a "+j.reference+" reference."}var ie=Ke[(j.scheme||$.scheme||"").toLowerCase()];if(!j.unicodeSupport&&(!ie||!ie.unicodeSupport)){if($.host&&(j.domainHost||ie&&ie.domainHost)){try{$.host=Ge.toASCII($.host.replace(q.PCT_ENCODED,pctDecChars).toLowerCase())}catch(E){$.error=$.error||"Host's domain name can not be converted to ASCII via punycode: "+E}}_normalizeComponentEncoding($,N)}else{_normalizeComponentEncoding($,q)}if(ie&&ie.parse){ie.parse($,j)}}else{$.error=$.error||"URI can not be parsed."}return $}function _recomposeAuthority(E,j){var $=j.iri!==false?R:N;var q=[];if(E.userinfo!==undefined){q.push(E.userinfo);q.push("@")}if(E.host!==undefined){q.push(_normalizeIPv6(_normalizeIPv4(String(E.host),$),$).replace($.IPV6ADDRESS,(function(E,N,R){return"["+N+(R?"%25"+R:"")+"]"})))}if(typeof E.port==="number"||typeof E.port==="string"){q.push(":");q.push(String(E.port))}return q.length?q.join(""):undefined}var Ye=/^\.\.?\//;var Ze=/^\/\.(\/|$)/;var et=/^\/\.\.(\/|$)/;var tt=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(E){var N=[];while(E.length){if(E.match(Ye)){E=E.replace(Ye,"")}else if(E.match(Ze)){E=E.replace(Ze,"/")}else if(E.match(et)){E=E.replace(et,"/");N.pop()}else if(E==="."||E===".."){E=""}else{var R=E.match(tt);if(R){var j=R[0];E=E.slice(j.length);N.push(j)}else{throw new Error("Unexpected dot segment condition")}}}return N.join("")}function serialize(E){var j=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var $=j.iri?R:N;var q=[];var G=Ke[(j.scheme||E.scheme||"").toLowerCase()];if(G&&G.serialize)G.serialize(E,j);if(E.host){if($.IPV6ADDRESS.test(E.host)){}else if(j.domainHost||G&&G.domainHost){try{E.host=!j.iri?Ge.toASCII(E.host.replace($.PCT_ENCODED,pctDecChars).toLowerCase()):Ge.toUnicode(E.host)}catch(N){E.error=E.error||"Host's domain name can not be converted to "+(!j.iri?"ASCII":"Unicode")+" via punycode: "+N}}}_normalizeComponentEncoding(E,$);if(j.reference!=="suffix"&&E.scheme){q.push(E.scheme);q.push(":")}var ie=_recomposeAuthority(E,j);if(ie!==undefined){if(j.reference!=="suffix"){q.push("//")}q.push(ie);if(E.path&&E.path.charAt(0)!=="/"){q.push("/")}}if(E.path!==undefined){var ae=E.path;if(!j.absolutePath&&(!G||!G.absolutePath)){ae=removeDotSegments(ae)}if(ie===undefined){ae=ae.replace(/^\/\//,"/%2F")}q.push(ae)}if(E.query!==undefined){q.push("?");q.push(E.query)}if(E.fragment!==undefined){q.push("#");q.push(E.fragment)}return q.join("")}function resolveComponents(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var j=arguments[3];var $={};if(!j){E=parse(serialize(E,R),R);N=parse(serialize(N,R),R)}R=R||{};if(!R.tolerant&&N.scheme){$.scheme=N.scheme;$.userinfo=N.userinfo;$.host=N.host;$.port=N.port;$.path=removeDotSegments(N.path||"");$.query=N.query}else{if(N.userinfo!==undefined||N.host!==undefined||N.port!==undefined){$.userinfo=N.userinfo;$.host=N.host;$.port=N.port;$.path=removeDotSegments(N.path||"");$.query=N.query}else{if(!N.path){$.path=E.path;if(N.query!==undefined){$.query=N.query}else{$.query=E.query}}else{if(N.path.charAt(0)==="/"){$.path=removeDotSegments(N.path)}else{if((E.userinfo!==undefined||E.host!==undefined||E.port!==undefined)&&!E.path){$.path="/"+N.path}else if(!E.path){$.path=N.path}else{$.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+N.path}$.path=removeDotSegments($.path)}$.query=N.query}$.userinfo=E.userinfo;$.host=E.host;$.port=E.port}$.scheme=E.scheme}$.fragment=N.fragment;return $}function resolve(E,N,R){var j=assign({scheme:"null"},R);return serialize(resolveComponents(parse(E,j),parse(N,j),j,true),j)}function normalize(E,N){if(typeof E==="string"){E=serialize(parse(E,N),N)}else if(typeOf(E)==="object"){E=parse(serialize(E,N),N)}return E}function equal(E,N,R){if(typeof E==="string"){E=serialize(parse(E,R),R)}else if(typeOf(E)==="object"){E=serialize(E,R)}if(typeof N==="string"){N=serialize(parse(N,R),R)}else if(typeOf(N)==="object"){N=serialize(N,R)}return E===N}function escapeComponent(E,j){return E&&E.toString().replace(!j||!j.iri?N.ESCAPE:R.ESCAPE,pctEncChar)}function unescapeComponent(E,j){return E&&E.toString().replace(!j||!j.iri?N.PCT_ENCODED:R.PCT_ENCODED,pctDecChars)}var rt={scheme:"http",domainHost:true,parse:function parse(E,N){if(!E.host){E.error=E.error||"HTTP URIs must have a host."}return E},serialize:function serialize(E,N){var R=String(E.scheme).toLowerCase()==="https";if(E.port===(R?443:80)||E.port===""){E.port=undefined}if(!E.path){E.path="/"}return E}};var nt={scheme:"https",domainHost:rt.domainHost,parse:rt.parse,serialize:rt.serialize};function isSecure(E){return typeof E.secure==="boolean"?E.secure:String(E.scheme).toLowerCase()==="wss"}var it={scheme:"ws",domainHost:true,parse:function parse(E,N){var R=E;R.secure=isSecure(R);R.resourceName=(R.path||"/")+(R.query?"?"+R.query:"");R.path=undefined;R.query=undefined;return R},serialize:function serialize(E,N){if(E.port===(isSecure(E)?443:80)||E.port===""){E.port=undefined}if(typeof E.secure==="boolean"){E.scheme=E.secure?"wss":"ws";E.secure=undefined}if(E.resourceName){var R=E.resourceName.split("?"),$=j(R,2),q=$[0],G=$[1];E.path=q&&q!=="/"?q:undefined;E.query=G;E.resourceName=undefined}E.fragment=undefined;return E}};var ot={scheme:"wss",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};var st={};var ct=true;var ut="[A-Za-z0-9\\-\\.\\_\\~"+(ct?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var dt="[0-9A-Fa-f]";var pt=subexp(subexp("%[EFef]"+dt+"%"+dt+dt+"%"+dt+dt)+"|"+subexp("%[89A-Fa-f]"+dt+"%"+dt+dt)+"|"+subexp("%"+dt+dt));var ft="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var mt="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var ht=merge(mt,'[\\"\\\\]');var _t="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var yt=new RegExp(ut,"g");var vt=new RegExp(pt,"g");var bt=new RegExp(merge("[^]",ft,"[\\.]",'[\\"]',ht),"g");var xt=new RegExp(merge("[^]",ut,_t),"g");var St=xt;function decodeUnreserved(E){var N=pctDecChars(E);return!N.match(yt)?E:N}var Et={scheme:"mailto",parse:function parse$$1(E,N){var R=E;var j=R.to=R.path?R.path.split(","):[];R.path=undefined;if(R.query){var $=false;var q={};var G=R.query.split("&");for(var ie=0,ae=G.length;ie<ae;++ie){var ce=G[ie].split("=");switch(ce[0]){case"to":var le=ce[1].split(",");for(var _e=0,Ee=le.length;_e<Ee;++_e){j.push(le[_e])}break;case"subject":R.subject=unescapeComponent(ce[1],N);break;case"body":R.body=unescapeComponent(ce[1],N);break;default:$=true;q[unescapeComponent(ce[0],N)]=unescapeComponent(ce[1],N);break}}if($)R.headers=q}R.query=undefined;for(var Te=0,we=j.length;Te<we;++Te){var Ie=j[Te].split("@");Ie[0]=unescapeComponent(Ie[0]);if(!N.unicodeSupport){try{Ie[1]=Ge.toASCII(unescapeComponent(Ie[1],N).toLowerCase())}catch(E){R.error=R.error||"Email address's domain name can not be converted to ASCII via punycode: "+E}}else{Ie[1]=unescapeComponent(Ie[1],N).toLowerCase()}j[Te]=Ie.join("@")}return R},serialize:function serialize$$1(E,N){var R=E;var j=toArray(E.to);if(j){for(var $=0,q=j.length;$<q;++$){var G=String(j[$]);var ie=G.lastIndexOf("@");var ae=G.slice(0,ie).replace(vt,decodeUnreserved).replace(vt,toUpperCase).replace(bt,pctEncChar);var ce=G.slice(ie+1);try{ce=!N.iri?Ge.toASCII(unescapeComponent(ce,N).toLowerCase()):Ge.toUnicode(ce)}catch(E){R.error=R.error||"Email address's domain name can not be converted to "+(!N.iri?"ASCII":"Unicode")+" via punycode: "+E}j[$]=ae+"@"+ce}R.path=j.join(",")}var le=E.headers=E.headers||{};if(E.subject)le["subject"]=E.subject;if(E.body)le["body"]=E.body;var _e=[];for(var Ee in le){if(le[Ee]!==st[Ee]){_e.push(Ee.replace(vt,decodeUnreserved).replace(vt,toUpperCase).replace(xt,pctEncChar)+"="+le[Ee].replace(vt,decodeUnreserved).replace(vt,toUpperCase).replace(St,pctEncChar))}}if(_e.length){R.query=_e.join("&")}return R}};var Tt=/^([^\:]+)\:(.*)/;var kt={scheme:"urn",parse:function parse$$1(E,N){var R=E.path&&E.path.match(Tt);var j=E;if(R){var $=N.scheme||j.scheme||"urn";var q=R[1].toLowerCase();var G=R[2];var ie=$+":"+(N.nid||q);var ae=Ke[ie];j.nid=q;j.nss=G;j.path=undefined;if(ae){j=ae.parse(j,N)}}else{j.error=j.error||"URN can not be parsed."}return j},serialize:function serialize$$1(E,N){var R=N.scheme||E.scheme||"urn";var j=E.nid;var $=R+":"+(N.nid||j);var q=Ke[$];if(q){E=q.serialize(E,N)}var G=E;var ie=E.nss;G.path=(j||N.nid)+":"+ie;return G}};var Ct=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var Dt={scheme:"urn:uuid",parse:function parse(E,N){var R=E;R.uuid=R.nss;R.nss=undefined;if(!N.tolerant&&(!R.uuid||!R.uuid.match(Ct))){R.error=R.error||"UUID is not valid."}return R},serialize:function serialize(E,N){var R=E;R.nss=(E.uuid||"").toLowerCase();return R}};Ke[rt.scheme]=rt;Ke[nt.scheme]=nt;Ke[it.scheme]=it;Ke[ot.scheme]=ot;Ke[Et.scheme]=Et;Ke[kt.scheme]=kt;Ke[Dt.scheme]=Dt;E.SCHEMES=Ke;E.pctEncChar=pctEncChar;E.pctDecChars=pctDecChars;E.parse=parse;E.removeDotSegments=removeDotSegments;E.serialize=serialize;E.resolveComponents=resolveComponents;E.resolve=resolve;E.normalize=normalize;E.equal=equal;E.escapeComponent=escapeComponent;E.unescapeComponent=unescapeComponent;Object.defineProperty(E,"__esModule",{value:true})}))},56755:(E,N,R)=>{"use strict";const j=R(82361).EventEmitter;const $=R(15808);const q=R(71017);const G=R(68862);const ie=Object.freeze({});let ae=1e3;const ce=R(22037).platform()==="darwin";const le=process.env.WATCHPACK_POLLING;const _e=`${+le}`===le?+le:!!le&&le!=="false";function withoutCase(E){return E.toLowerCase()}function needCalls(E,N){return function(){if(--E===0){return N()}}}class Watcher extends j{constructor(E,N,R){super();this.directoryWatcher=E;this.path=N;this.startTime=R&&+R;this._cachedTimeInfoEntries=undefined}checkStartTime(E,N){const R=this.startTime;if(typeof R!=="number")return!N;return R<=E}close(){this.emit("closed")}}class DirectoryWatcher extends j{constructor(E,N,R){super();if(_e){R.poll=_e}this.watcherManager=E;this.options=R;this.path=N;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=R.ignored;this.nestedWatching=false;this.polledWatching=typeof R.poll==="number"?R.poll:R.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(E){if(!this.ignored)return false;E=E.replace(/\\/g,"/");return this.ignored.test(E)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(ce){this.watchInParentDirectory()}this.watcher=G.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(E){this.onWatcherError(E)}}forEachWatcher(E,N){const R=this.watchers.get(withoutCase(E));if(R!==undefined){for(const E of R){N(E)}}}setMissing(E,N,R){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(E)}const j=this.directories.get(E);if(j){if(this.nestedWatching)j.close();this.directories.delete(E);this.forEachWatcher(E,(E=>E.emit("remove",R)));if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,null,R,N)))}}const $=this.files.get(E);if($){this.files.delete(E);const j=withoutCase(E);const $=this.filesWithoutCase.get(j)-1;if($<=0){this.filesWithoutCase.delete(j);this.forEachWatcher(E,(E=>E.emit("remove",R)))}else{this.filesWithoutCase.set(j,$)}if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,null,R,N)))}}}setFileTime(E,N,R,j,$){const q=Date.now();if(this.checkIgnore(E))return;const G=this.files.get(E);let ie,ce;if(R){ie=Math.min(q,N)+ae;ce=ae}else{ie=q;ce=0;if(G&&G.timestamp===N&&N+ae<q-1e3){return}}if(j&&G&&G.timestamp===N)return;this.files.set(E,{safeTime:ie,accuracy:ce,timestamp:N});this._cachedTimeInfoEntries=undefined;if(!G){const j=withoutCase(E);const q=this.filesWithoutCase.get(j);this.filesWithoutCase.set(j,(q||0)+1);if(q!==undefined){this.doScan(false)}this.forEachWatcher(E,(E=>{if(!R||E.checkStartTime(ie,R)){E.emit("change",N,$)}}))}else if(!R){this.forEachWatcher(E,(E=>E.emit("change",N,$)))}this.forEachWatcher(this.path,(N=>{if(!R||N.checkStartTime(ie,R)){N.emit("change",E,ie,$,R)}}))}setDirectory(E,N,R,j){if(this.checkIgnore(E))return;if(E===this.path){if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,N,j,R)))}}else{const $=this.directories.get(E);if(!$){const $=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(E)}else{this.directories.set(E,true)}let q;if(R){q=Math.min($,N)+ae}else{q=$}this.forEachWatcher(E,(E=>{if(!R||E.checkStartTime(q,false)){E.emit("change",N,j)}}));this.forEachWatcher(this.path,(N=>{if(!R||N.checkStartTime(q,R)){N.emit("change",E,q,j,R)}}))}}}createNestedWatcher(E){const N=this.watcherManager.watchDirectory(E,1);N.on("change",((E,N,R,j)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,($=>{if(!j||$.checkStartTime(N,j)){$.emit("change",E,N,R,j)}}))}));this.directories.set(E,N)}setNestedWatching(E){if(this.nestedWatching!==!!E){this.nestedWatching=!!E;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const E of this.directories.keys()){this.createNestedWatcher(E)}}else{for(const[E,N]of this.directories){N.close();this.directories.set(E,true)}}}}watch(E,N){const R=withoutCase(E);let j=this.watchers.get(R);if(j===undefined){j=new Set;this.watchers.set(R,j)}this.refs++;const $=new Watcher(this,E,N);$.on("closed",(()=>{if(--this.refs<=0){this.close();return}j.delete($);if(j.size===0){this.watchers.delete(R);if(this.path===E)this.setNestedWatching(false)}}));j.add($);let q;if(E===this.path){this.setNestedWatching(true);q=this.lastWatchEvent;for(const E of this.files.values()){fixupEntryAccuracy(E);q=Math.max(q,E.safeTime)}}else{const N=this.files.get(E);if(N){fixupEntryAccuracy(N);q=N.safeTime}else{q=0}}if(q){if(q>=N){process.nextTick((()=>{if(this.closed)return;if(E===this.path){$.emit("change",E,q,"watch (outdated on attach)",true)}else{$.emit("change",q,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(E)){process.nextTick((()=>{if(this.closed)return;$.emit("remove")}))}}else if(!this.directories.has(E)&&$.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;$.emit("initial-missing","watch (missing on attach)")}))}return $}onWatchEvent(E,N){if(this.closed)return;if(!N){this.doScan(false);return}const R=q.join(this.path,N);if(this.checkIgnore(R))return;if(this._activeEvents.get(N)===undefined){this._activeEvents.set(N,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(N,false);$.lstat(R,((j,G)=>{if(this.closed)return;if(this._activeEvents.get(N)===true){process.nextTick(checkStats);return}this._activeEvents.delete(N);if(j){if(j.code!=="ENOENT"&&j.code!=="EPERM"&&j.code!=="EBUSY"){this.onStatsError(j)}else{if(N===q.basename(this.path)){if(!$.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!G){this.setMissing(R,false,E)}else if(G.isDirectory()){this.setDirectory(R,+G.birthtime||1,false,E)}else if(G.isFile()||G.isSymbolicLink()){if(G.mtime){ensureFsAccuracy(G.mtime)}this.setFileTime(R,+G.mtime||+G.ctime||1,false,false,E)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(N,true)}}onWatcherError(E){if(this.closed)return;if(E){if(E.code!=="EPERM"&&E.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+E)}this.onDirectoryRemoved("watch error")}}onStatsError(E){if(E){console.error("Watchpack Error (stats): "+E)}}onScanError(E){if(E){console.error("Watchpack Error (initial scan): "+E)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(E){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const N=`directory-removed (${E})`;for(const E of this.directories.keys()){this.setMissing(E,null,N)}for(const E of this.files.keys()){this.setMissing(E,null,N)}}watchInParentDirectory(){if(!this.parentWatcher){const E=q.dirname(this.path);if(q.dirname(E)===E)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((E,N)=>{if(this.closed)return;if((!ce||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(R=>R.emit("change",this.path,E,N,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(E){if(this.scanning){if(this.scanAgain){if(!E)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=E}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;$.readdir(this.path,((N,R)=>{if(this.closed)return;if(N){if(N.code==="ENOENT"||N.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(N)}this.initialScan=false;this.initialScanFinished=Date.now();if(E){for(const E of this.watchers.values()){for(const N of E){if(N.checkStartTime(this.initialScanFinished,false)){N.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const j=new Set(R.map((E=>q.join(this.path,E.normalize("NFC")))));for(const N of this.files.keys()){if(!j.has(N)){this.setMissing(N,E,"scan (missing)")}}for(const N of this.directories.keys()){if(!j.has(N)){this.setMissing(N,E,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(E);return}const G=needCalls(j.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(E){const E=new Map(this.watchers);E.delete(withoutCase(this.path));for(const N of j){E.delete(withoutCase(N))}for(const N of E.values()){for(const E of N){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const N of j){$.lstat(N,((R,j)=>{if(this.closed)return;if(R){if(R.code==="ENOENT"||R.code==="EPERM"||R.code==="EBUSY"){this.setMissing(N,E,"scan ("+R.code+")")}else{this.onScanError(R)}G();return}if(j.isFile()||j.isSymbolicLink()){if(j.mtime){ensureFsAccuracy(j.mtime)}this.setFileTime(N,+j.mtime||+j.ctime||1,E,true,"scan (file)")}else if(j.isDirectory()){if(!E||!this.directories.has(N))this.setDirectory(N,+j.birthtime||1,E,"scan (dir)")}G()}))}G()}))}))}getTimes(){const E=Object.create(null);let N=this.lastWatchEvent;for(const[R,j]of this.files){fixupEntryAccuracy(j);N=Math.max(N,j.safeTime);E[R]=Math.max(j.safeTime,j.timestamp)}if(this.nestedWatching){for(const R of this.directories.values()){const j=R.directoryWatcher.getTimes();for(const R of Object.keys(j)){const $=j[R];N=Math.max(N,$);E[R]=$}}E[this.path]=N}if(!this.initialScan){for(const N of this.watchers.values()){for(const R of N){const N=R.path;if(!Object.prototype.hasOwnProperty.call(E,N)){E[N]=null}}}}return E}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const E=new Map;let N=this.lastWatchEvent;for(const[R,j]of this.files){fixupEntryAccuracy(j);N=Math.max(N,j.safeTime);E.set(R,j)}if(this.nestedWatching){for(const R of this.directories.values()){const j=R.directoryWatcher.getTimeInfoEntries();for(const[R,$]of j){if($){N=Math.max(N,$.safeTime)}E.set(R,$)}}E.set(this.path,{safeTime:N})}else{for(const N of this.directories.keys()){E.set(N,ie)}E.set(this.path,ie)}if(!this.initialScan){for(const N of this.watchers.values()){for(const R of N){const N=R.path;if(!E.has(N)){E.set(N,null)}}}this._cachedTimeInfoEntries=E}return E}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const E of this.directories.values()){E.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}E.exports=DirectoryWatcher;E.exports.EXISTANCE_ONLY_TIME_ENTRY=ie;function fixupEntryAccuracy(E){if(E.accuracy>ae){E.safeTime=E.safeTime-E.accuracy+ae;E.accuracy=ae}}function ensureFsAccuracy(E){if(!E)return;if(ae>1&&E%1!==0)ae=1;else if(ae>10&&E%10!==0)ae=10;else if(ae>100&&E%100!==0)ae=100}},99181:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const q=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")q.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(E){const N=this.cache.get(E);if(N!==undefined){return N}const R=$.dirname(E);if(R===E){const N=Object.freeze([E]);this.cache.set(E,N);return N}const G=this.resolve(R);let ie=E;if(G[0]!==R){const N=$.basename(E);ie=$.resolve(G[0],N)}try{const N=j.readlinkSync(ie);const R=$.resolve(G[0],N);const q=this.resolve(R);let ae;if(q.length>1&&G.length>1){const E=new Set(q);E.add(ie);for(let N=1;N<G.length;N++){E.add(G[N])}ae=Object.freeze(Array.from(E))}else if(G.length>1){ae=G.slice();ae[0]=q[0];ae.push(ie);Object.freeze(ae)}else if(q.length>1){ae=q.slice();ae.push(ie);Object.freeze(ae)}else{ae=Object.freeze([q[0],ie])}this.cache.set(E,ae);return ae}catch(N){if(!q.has(N.code)){throw N}const R=G.slice();R[0]=ie;Object.freeze(R);this.cache.set(E,R);return R}}}E.exports=LinkResolver},53982:(E,N,R)=>{"use strict";const j=R(71017);const $=R(56755);class WatcherManager{constructor(E){this.options=E;this.directoryWatchers=new Map}getDirectoryWatcher(E){const N=this.directoryWatchers.get(E);if(N===undefined){const N=new $(this,E,this.options);this.directoryWatchers.set(E,N);N.on("closed",(()=>{this.directoryWatchers.delete(E)}));return N}return N}watchFile(E,N){const R=j.dirname(E);if(R===E)return null;return this.getDirectoryWatcher(R).watch(E,N)}watchDirectory(E,N){return this.getDirectoryWatcher(E).watch(E,N)}}const q=new WeakMap;E.exports=E=>{const N=q.get(E);if(N!==undefined)return N;const R=new WatcherManager(E);q.set(E,R);return R};E.exports.WatcherManager=WatcherManager},27601:(E,N,R)=>{"use strict";const j=R(71017);E.exports=(E,N)=>{const R=new Map;for(const[N,j]of E){R.set(N,{filePath:N,parent:undefined,children:undefined,entries:1,active:true,value:j})}let $=R.size;for(const E of R.values()){const N=j.dirname(E.filePath);if(N!==E.filePath){let j=R.get(N);if(j===undefined){j={filePath:N,parent:undefined,children:[E],entries:E.entries,active:false,value:undefined};R.set(N,j);E.parent=j}else{E.parent=j;if(j.children===undefined){j.children=[E]}else{j.children.push(E)}do{j.entries+=E.entries;j=j.parent}while(j)}}}while($>N){const E=$-N;let j=undefined;let q=Infinity;for(const $ of R.values()){if($.entries<=1||!$.children||!$.parent)continue;if($.children.length===0)continue;if($.children.length===1&&!$.value)continue;const R=$.entries-1>=E?$.entries-1-E:E-$.entries+1+N*.3;if(R<q){j=$;q=R}}if(!j)break;const G=j.entries-1;j.active=true;j.entries=1;$-=G;let ie=j.parent;while(ie){ie.entries-=G;ie=ie.parent}const ae=new Set(j.children);for(const E of ae){E.active=false;E.entries=0;if(E.children){for(const N of E.children)ae.add(N)}}}const q=new Map;for(const E of R.values()){if(!E.active)continue;const N=new Map;const R=new Set([E]);for(const j of R){if(j.active&&j!==E)continue;if(j.value){if(Array.isArray(j.value)){for(const E of j.value){N.set(E,j.filePath)}}else{N.set(j.value,j.filePath)}}if(j.children){for(const E of j.children){R.add(E)}}}q.set(E.filePath,N)}return q}},68862:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const{EventEmitter:q}=R(82361);const G=R(27601);const ie=R(22037).platform()==="darwin";const ae=R(22037).platform()==="win32";const ce=ie||ae;const le=+process.env.WATCHPACK_WATCHER_LIMIT||(ie?2e3:1e4);const _e=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let Ee=false;let Te=0;const we=new Map;const Ie=new Map;const Ne=new Map;const Me=new Map;class DirectWatcher{constructor(E){this.filePath=E;this.watchers=new Set;this.watcher=undefined;try{const N=j.watch(E);this.watcher=N;N.on("change",((E,N)=>{for(const R of this.watchers){R.emit("change",E,N)}}));N.on("error",(E=>{for(const N of this.watchers){N.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const N of this.watchers){N.emit("error",E)}}))}Te++}add(E){Me.set(E,this);this.watchers.add(E)}remove(E){this.watchers.delete(E);if(this.watchers.size===0){Ne.delete(this.filePath);Te--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(E){this.rootPath=E;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const N=j.watch(E,{recursive:true});this.watcher=N;N.on("change",((E,N)=>{if(!N){if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const N of this.mapWatcherToPath.keys()){N.emit("change",E)}}else{const R=$.dirname(N);const j=this.mapPathToWatchers.get(R);if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) for '${N}' to ${j?j.size:0} watchers\n`)}if(j===undefined)return;for(const R of j){R.emit("change",E,$.basename(N))}}}));N.on("error",(E=>{for(const N of this.mapWatcherToPath.keys()){N.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const N of this.mapWatcherToPath.keys()){N.emit("error",E)}}))}Te++;if(_e){process.stderr.write(`[watchpack] created recursive watcher at ${E}\n`)}}add(E,N){Me.set(N,this);const R=E.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(N,R);const j=this.mapPathToWatchers.get(R);if(j===undefined){const E=new Set;E.add(N);this.mapPathToWatchers.set(R,E)}else{j.add(N)}}remove(E){const N=this.mapWatcherToPath.get(E);if(!N)return;this.mapWatcherToPath.delete(E);const R=this.mapPathToWatchers.get(N);R.delete(E);if(R.size===0){this.mapPathToWatchers.delete(N)}if(this.mapWatcherToPath.size===0){Ie.delete(this.rootPath);Te--;if(this.watcher)this.watcher.close();if(_e){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends q{close(){if(we.has(this)){we.delete(this);return}const E=Me.get(this);E.remove(this);Me.delete(this)}}const createDirectWatcher=E=>{const N=Ne.get(E);if(N!==undefined)return N;const R=new DirectWatcher(E);Ne.set(E,R);return R};const createRecursiveWatcher=E=>{const N=Ie.get(E);if(N!==undefined)return N;const R=new RecursiveWatcher(E);Ie.set(E,R);return R};const execute=()=>{const E=new Map;const addWatcher=(N,R)=>{const j=E.get(R);if(j===undefined){E.set(R,N)}else if(Array.isArray(j)){j.push(N)}else{E.set(R,[j,N])}};for(const[E,N]of we){addWatcher(E,N)}we.clear();if(!ce||le-Te>=E.size){for(const[N,R]of E){const E=createDirectWatcher(N);if(Array.isArray(R)){for(const N of R)E.add(N)}else{E.add(R)}}return}for(const E of Ie.values()){for(const[N,R]of E.getWatchers()){addWatcher(N,$.join(E.rootPath,R))}}for(const E of Ne.values()){for(const N of E.getWatchers()){addWatcher(N,E.filePath)}}const N=G(E,le*.9);for(const[E,R]of N){if(R.size===1){for(const[E,N]of R){const R=createDirectWatcher(N);const j=Me.get(E);if(j===R)continue;R.add(E);if(j!==undefined)j.remove(E)}}else{const N=new Set(R.values());if(N.size>1){const N=createRecursiveWatcher(E);for(const[E,j]of R){const R=Me.get(E);if(R===N)continue;N.add(j,E);if(R!==undefined)R.remove(E)}}else{for(const E of N){const N=createDirectWatcher(E);for(const E of R.keys()){const R=Me.get(E);if(R===N)continue;N.add(E);if(R!==undefined)R.remove(E)}}}}}};N.watch=E=>{const N=new Watcher;const R=Ne.get(E);if(R!==undefined){R.add(N);return N}let j=E;for(;;){const R=Ie.get(j);if(R!==undefined){R.add(E,N);return N}const q=$.dirname(j);if(q===j)break;j=q}we.set(N,E);if(!Ee)execute();return N};N.batch=E=>{Ee=true;try{E()}finally{Ee=false;execute()}};N.getNumberOfWatchers=()=>Te},92512:(E,N,R)=>{"use strict";const j=R(53982);const $=R(99181);const q=R(82361).EventEmitter;const G=R(70554);const ie=R(68862);let ae;const ce=[];const le={};function addWatchersToSet(E,N){for(const R of E){if(R!==true&&!N.has(R.directoryWatcher)){N.add(R.directoryWatcher);addWatchersToSet(R.directoryWatcher.directories.values(),N)}}}const stringToRegexp=E=>{const N=G(E,{globstar:true,extended:true}).source;const R=N.slice(0,N.length-1)+"(?:$|\\/)";return R};const ignoredToRegexp=E=>{if(Array.isArray(E)){return new RegExp(E.map((E=>stringToRegexp(E))).join("|"))}else if(typeof E==="string"){return new RegExp(stringToRegexp(E))}else if(E instanceof RegExp){return E}else if(E){throw new Error(`Invalid option for 'ignored': ${E}`)}else{return undefined}};const normalizeOptions=E=>({followSymlinks:!!E.followSymlinks,ignored:ignoredToRegexp(E.ignored),poll:E.poll});const _e=new WeakMap;const cachedNormalizeOptions=E=>{const N=_e.get(E);if(N!==undefined)return N;const R=normalizeOptions(E);_e.set(E,R);return R};class Watchpack extends q{constructor(E){super();if(!E)E=le;this.options=E;this.aggregateTimeout=typeof E.aggregateTimeout==="number"?E.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(E);this.watcherManager=j(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(E,N,R){let j,q,G,ae;if(!N){({files:j=ce,directories:q=ce,missing:G=ce,startTime:ae}=E)}else{j=E;q=N;G=ce;ae=R}this.paused=false;const le=this.fileWatchers;const _e=this.directoryWatchers;const Ee=this.watcherOptions.ignored;const Te=Ee?E=>!Ee.test(E.replace(/\\/g,"/")):()=>true;const addToMap=(E,N,R)=>{const j=E.get(N);if(j===undefined){E.set(N,[R])}else{j.push(R)}};const we=new Map;const Ie=new Map;const Ne=new Set;if(this.watcherOptions.followSymlinks){const E=new $;for(const N of j){if(Te(N)){for(const R of E.resolve(N)){if(N===R||Te(R)){addToMap(we,R,N)}}}}for(const N of G){if(Te(N)){for(const R of E.resolve(N)){if(N===R||Te(R)){Ne.add(N);addToMap(we,R,N)}}}}for(const N of q){if(Te(N)){let R=true;for(const j of E.resolve(N)){if(Te(j)){addToMap(R?Ie:we,j,N)}R=false}}}}else{for(const E of j){if(Te(E)){addToMap(we,E,E)}}for(const E of G){if(Te(E)){Ne.add(E);addToMap(we,E,E)}}for(const E of q){if(Te(E)){addToMap(Ie,E,E)}}}const Me=new Map;const Le=new Map;const setupFileWatcher=(E,N,R)=>{E.on("initial-missing",(E=>{for(const N of R){if(!Ne.has(N))this._onRemove(N,N,E)}}));E.on("change",((E,N)=>{for(const j of R){this._onChange(j,E,j,N)}}));E.on("remove",(E=>{for(const N of R){this._onRemove(N,N,E)}}));Me.set(N,E)};const setupDirectoryWatcher=(E,N,R)=>{E.on("initial-missing",(E=>{for(const N of R){this._onRemove(N,N,E)}}));E.on("change",((E,N,j)=>{for(const $ of R){this._onChange($,N,E,j)}}));E.on("remove",(E=>{for(const N of R){this._onRemove(N,N,E)}}));Le.set(N,E)};const Be=[];const je=[];for(const[E,N]of le){if(!we.has(E)){N.close()}else{Be.push(N)}}for(const[E,N]of _e){if(!Ie.has(E)){N.close()}else{je.push(N)}}ie.batch((()=>{for(const[E,N]of we){const R=this.watcherManager.watchFile(E,ae);if(R){setupFileWatcher(R,E,N)}}for(const[E,N]of Ie){const R=this.watcherManager.watchDirectory(E,ae);if(R){setupDirectoryWatcher(R,E,N)}}}));for(const E of Be)E.close();for(const E of je)E.close();this.fileWatchers=Me;this.directoryWatchers=Le;this.startTime=ae}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const E of this.fileWatchers.values())E.close();for(const E of this.directoryWatchers.values())E.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const N=Object.create(null);for(const R of E){const E=R.getTimes();for(const R of Object.keys(E))N[R]=E[R]}return N}getTimeInfoEntries(){if(ae===undefined){ae=R(56755).EXISTANCE_ONLY_TIME_ENTRY}const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const N=new Map;for(const R of E){const E=R.getTimeInfoEntries();for(const[R,j]of E){if(N.has(R)){if(j===ae)continue;const E=N.get(R);if(E===j)continue;if(E!==ae){N.set(R,Object.assign({},E,j));continue}}N.set(R,j)}}return N}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const E=this.aggregatedChanges;const N=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:E,removals:N}}_onChange(E,N,R,j){R=R||E;if(!this.paused){this.emit("change",R,N,j);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(E);this.aggregatedChanges.add(E)}_onRemove(E,N,R){N=N||E;if(!this.paused){this.emit("remove",N,R);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(E);this.aggregatedRemovals.add(E)}_onTimeout(){this.aggregateTimer=undefined;const E=this.aggregatedChanges;const N=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",E,N)}}E.exports=Watchpack},32323:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const q=R(66298);const G=R(87250);const{toConstantDependency:ie,evaluateToString:ae}=R(48472);const ce=R(64255);const le=R(75948);const _e={__webpack_require__:{expr:j.require,req:[j.require],type:"function",assign:false},__webpack_public_path__:{expr:j.publicPath,req:[j.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:j.baseURI,req:[j.baseURI],type:"string",assign:true},__webpack_modules__:{expr:j.moduleFactories,req:[j.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:j.ensureChunk,req:[j.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:j.scriptNonce,req:[j.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${j.getFullHash}()`,req:[j.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:j.chunkName,req:[j.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:j.getChunkScriptFilename,req:[j.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:j.runtimeId,req:[j.runtimeId],assign:false},"require.onError":{expr:j.uncaughtErrorHandler,req:[j.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:j.systemContext,req:[j.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:j.shareScopeMap,req:[j.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:j.initializeSharing,req:[j.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(E){E.hooks.compilation.tap("APIPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);E.hooks.runtimeRequirementInTree.for(j.chunkName).tap("APIPlugin",(N=>{E.addRuntimeModule(N,new ce(N.name));return true}));E.hooks.runtimeRequirementInTree.for(j.getFullHash).tap("APIPlugin",((N,R)=>{E.addRuntimeModule(N,new le);return true}));const handler=E=>{Object.keys(_e).forEach((N=>{const R=_e[N];E.hooks.expression.for(N).tap("APIPlugin",ie(E,R.expr,R.req));if(R.assign===false){E.hooks.assign.for(N).tap("APIPlugin",(E=>{const R=new $(`${N} must not be assigned`);R.loc=E.loc;throw R}))}if(R.type){E.hooks.evaluateTypeof.for(N).tap("APIPlugin",ae(R.type))}}));E.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(N=>{const R=new q(JSON.stringify(E.state.module.layer),N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(N=>(E.state.module.layer===null?(new G).setNull():(new G).setString(E.state.module.layer)).setRange(N.range)));E.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(N=>(new G).setString(E.state.module.layer===null?"object":"string").setRange(N.range)))};N.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);N.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}E.exports=APIPlugin},75884:(E,N,R)=>{"use strict";const j=R(81627);const $=/at ([a-zA-Z0-9_.]*)/;function createMessage(E){return`Abstract method${E?" "+E:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const E=this.stack.split("\n")[3].match($);this.message=E&&E[1]?createMessage(E[1]):createMessage()}class AbstractMethodError extends j{constructor(){super((new Message).message);this.name="AbstractMethodError"}}E.exports=AbstractMethodError},98221:(E,N,R)=>{"use strict";const j=R(32448);const $=R(56202);class AsyncDependenciesBlock extends j{constructor(E,N,R){super();if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupOptions=E;this.loc=N;this.request=R;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(E){if(this.groupOptions.name!==E){this.groupOptions.name=E;this._stringifiedGroupOptions=undefined}}updateHash(E,N){const{chunkGraph:R}=N;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const j=R.getBlockChunkGroup(this);E.update(`${this._stringifiedGroupOptions}${j?j.id:""}`);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.groupOptions);N(this.loc);N(this.request);super.serialize(E)}deserialize(E){const{read:N}=E;this.groupOptions=N();this.loc=N();this.request=N();super.deserialize(E)}}$(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});E.exports=AsyncDependenciesBlock},21357:(E,N,R)=>{"use strict";const j=R(81627);class AsyncDependencyToInitialChunkError extends j{constructor(E,N,R){super(`It's not allowed to load an initial chunk on demand. The chunk name "${E}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=N;this.loc=R}}E.exports=AsyncDependencyToInitialChunkError},20383:(E,N,R)=>{"use strict";const j=R(62355);const $=R(53520);const q=R(88281);class AutomaticPrefetchPlugin{apply(E){E.hooks.compilation.tap("AutomaticPrefetchPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N)}));let N=null;E.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(E=>{N=[];for(const R of E.modules){if(R instanceof $){N.push({context:R.context,request:R.request})}}}));E.hooks.make.tapAsync("AutomaticPrefetchPlugin",((R,$)=>{if(!N)return $();j.forEach(N,((N,j)=>{R.addModuleChain(N.context||E.context,new q(`!!${N.request}`),j)}),(E=>{N=null;$(E)}))}))}}E.exports=AutomaticPrefetchPlugin},58779:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(3080);const q=R(70354);const G=R(58159);const ie=R(35817);const ae=ie(R(50879),(()=>R(87298)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=E=>{if(!E.includes("\n")){return G.toComment(E)}return`/*!\n * ${E.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(E){if(typeof E==="string"||typeof E==="function"){E={banner:E}}ae(E);this.options=E;const N=E.banner;if(typeof N==="function"){const E=N;this.banner=this.options.raw?E:N=>wrapComment(E(N))}else{const E=this.options.raw?N:wrapComment(N);this.banner=()=>E}}apply(E){const N=this.options;const R=this.banner;const G=q.matchObject.bind(undefined,N);E.hooks.compilation.tap("BannerPlugin",(E=>{E.hooks.processAssets.tap({name:"BannerPlugin",stage:$.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const $ of E.chunks){if(N.entryOnly&&!$.canBeInitial()){continue}for(const N of $.files){if(!G(N)){continue}const q={chunk:$,filename:N};const ie=E.getPath(R,q);E.updateAsset(N,(E=>new j(ie,"\n",E)))}}}))}))}}E.exports=BannerPlugin},54725:(E,N,R)=>{"use strict";const{AsyncParallelHook:j,AsyncSeriesBailHook:$,SyncHook:q}=R(92960);const{makeWebpackError:G,makeWebpackErrorCallback:ie}=R(3728);const needCalls=(E,N)=>R=>{if(--E===0){return N(R)}if(R&&E>0){E=0;return N(R)}};class Cache{constructor(){this.hooks={get:new $(["identifier","etag","gotHandlers"]),store:new j(["identifier","etag","data"]),storeBuildDependencies:new j(["dependencies"]),beginIdle:new q([]),endIdle:new j([]),shutdown:new j([])}}get(E,N,R){const j=[];this.hooks.get.callAsync(E,N,j,((E,N)=>{if(E){R(G(E,"Cache.hooks.get"));return}if(N===null){N=undefined}if(j.length>1){const E=needCalls(j.length,(()=>R(null,N)));for(const R of j){R(N,E)}}else if(j.length===1){j[0](N,(()=>R(null,N)))}else{R(null,N)}}))}store(E,N,R,j){this.hooks.store.callAsync(E,N,R,ie(j,"Cache.hooks.store"))}storeBuildDependencies(E,N){this.hooks.storeBuildDependencies.callAsync(E,ie(N,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(E){this.hooks.endIdle.callAsync(ie(E,"Cache.hooks.endIdle"))}shutdown(E){this.hooks.shutdown.callAsync(ie(E,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;E.exports=Cache},6503:(E,N,R)=>{"use strict";const j=R(62355);const $=R(77034);const q=R(10168);class MultiItemCache{constructor(E){this._items=E;if(E.length===1)return E[0]}get(E){const next=N=>{this._items[N].get(((R,j)=>{if(R)return E(R);if(j!==undefined)return E(null,j);if(++N>=this._items.length)return E();next(N)}))};next(0)}getPromise(){const next=E=>this._items[E].getPromise().then((N=>{if(N!==undefined)return N;if(++E<this._items.length)return next(E)}));return next(0)}store(E,N){j.each(this._items,((N,R)=>N.store(E,R)),N)}storePromise(E){return Promise.all(this._items.map((N=>N.storePromise(E)))).then((()=>{}))}}class ItemCacheFacade{constructor(E,N,R){this._cache=E;this._name=N;this._etag=R}get(E){this._cache.get(this._name,this._etag,E)}getPromise(){return new Promise(((E,N)=>{this._cache.get(this._name,this._etag,((R,j)=>{if(R){N(R)}else{E(j)}}))}))}store(E,N){this._cache.store(this._name,this._etag,E,N)}storePromise(E){return new Promise(((N,R)=>{this._cache.store(this._name,this._etag,E,(E=>{if(E){R(E)}else{N()}}))}))}provide(E,N){this.get(((R,j)=>{if(R)return N(R);if(j!==undefined)return j;E(((E,R)=>{if(E)return N(E);this.store(R,(E=>{if(E)return N(E);N(null,R)}))}))}))}async providePromise(E){const N=await this.getPromise();if(N!==undefined)return N;const R=await E();await this.storePromise(R);return R}}class CacheFacade{constructor(E,N,R){this._cache=E;this._name=N;this._hashFunction=R}getChildCache(E){return new CacheFacade(this._cache,`${this._name}|${E}`,this._hashFunction)}getItemCache(E,N){return new ItemCacheFacade(this._cache,`${this._name}|${E}`,N)}getLazyHashedEtag(E){return $(E,this._hashFunction)}mergeEtags(E,N){return q(E,N)}get(E,N,R){this._cache.get(`${this._name}|${E}`,N,R)}getPromise(E,N){return new Promise(((R,j)=>{this._cache.get(`${this._name}|${E}`,N,((E,N)=>{if(E){j(E)}else{R(N)}}))}))}store(E,N,R,j){this._cache.store(`${this._name}|${E}`,N,R,j)}storePromise(E,N,R){return new Promise(((j,$)=>{this._cache.store(`${this._name}|${E}`,N,R,(E=>{if(E){$(E)}else{j()}}))}))}provide(E,N,R,j){this.get(E,N,(($,q)=>{if($)return j($);if(q!==undefined)return q;R(((R,$)=>{if(R)return j(R);this.store(E,N,$,(E=>{if(E)return j(E);j(null,$)}))}))}))}async providePromise(E,N,R){const j=await this.getPromise(E,N);if(j!==undefined)return j;const $=await R();await this.storePromise(E,N,$);return $}}E.exports=CacheFacade;E.exports.ItemCacheFacade=ItemCacheFacade;E.exports.MultiItemCache=MultiItemCache},41673:(E,N,R)=>{"use strict";const j=R(81627);const sortModules=E=>E.sort(((E,N)=>{const R=E.identifier();const j=N.identifier();if(R<j)return-1;if(R>j)return 1;return 0}));const createModulesListMessage=(E,N)=>E.map((E=>{let R=`* ${E.identifier()}`;const j=Array.from(N.getIncomingConnectionsByOriginModule(E).keys()).filter((E=>E));if(j.length>0){R+=`\n Used by ${j.length} module(s), i. e.`;R+=`\n ${j[0].identifier()}`}return R})).join("\n");class CaseSensitiveModulesWarning extends j{constructor(E,N){const R=sortModules(Array.from(E));const j=createModulesListMessage(R,N);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${j}`);this.name="CaseSensitiveModulesWarning";this.module=R[0]}}E.exports=CaseSensitiveModulesWarning},62433:(E,N,R)=>{"use strict";const j=R(45137);const $=R(71452);const{intersect:q}=R(26221);const G=R(16102);const ie=R(14146);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:ce,compareModulesById:le}=R(68673);const{createArrayToSetDeprecationSet:_e}=R(16595);const{mergeRuntime:Ee}=R(37416);const Te=_e("chunk.files");let we=1e3;class Chunk{constructor(E,N=true){this.id=null;this.ids=null;this.debugId=we++;this.name=E;this.idNameHints=new G;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new G(undefined,ce);this.runtime=undefined;this.files=N?new Te:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const E=Array.from(j.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(E.length===0){return undefined}else if(E.length===1){return E[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return j.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(E){const N=j.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(N.isModuleInChunk(E,this))return false;N.connectChunkAndModule(this,E);return true}removeModule(E){j.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,E)}getNumberOfModules(){return j.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const E=j.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return E.getOrderedChunkModulesIterable(this,ae)}compareTo(E){const N=j.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return N.compareChunks(this,E)}containsModule(E){return j.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(E,this)}getModules(){return j.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const E=j.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");E.disconnectChunk(this);this.disconnectFromGroups()}moveModule(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");R.disconnectChunkAndModule(this,E);R.connectChunkAndModule(N,E)}integrate(E){const N=j.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(N.canChunksBeIntegrated(this,E)){N.integrateChunks(this,E);return true}else{return false}}canBeIntegrated(E){const N=j.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return N.canChunksBeIntegrated(this,E)}isEmpty(){const E=j.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return E.getNumberOfChunkModules(this)===0}modulesSize(){const E=j.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return E.getChunkModulesSize(this)}size(E={}){const N=j.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return N.getChunkSize(this,E)}integratedSize(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return R.getIntegratedChunksSize(this,E,N)}getChunkModuleMaps(E){const N=j.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const R=Object.create(null);const $=Object.create(null);for(const j of this.getAllAsyncChunks()){let q;for(const G of N.getOrderedChunkModulesIterable(j,le(N))){if(E(G)){if(q===undefined){q=[];R[j.id]=q}const E=N.getModuleId(G);q.push(E);$[E]=N.getRenderedModuleHash(G,undefined)}}}return{id:R,hash:$}}hasModuleInGraph(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return R.hasModuleInGraph(this,E,N)}getChunkMaps(E){const N=Object.create(null);const R=Object.create(null);const j=Object.create(null);for(const $ of this.getAllAsyncChunks()){N[$.id]=E?$.hash:$.renderedHash;for(const E of Object.keys($.contentHash)){if(!R[E]){R[E]=Object.create(null)}R[E][$.id]=$.contentHash[E]}if($.name){j[$.id]=$.name}}return{hash:N,contentHash:R,name:j}}hasRuntime(){for(const E of this._groups){if(E instanceof $&&E.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const E of this._groups){if(E.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const E of this._groups){if(!E.isInitial())return false}return true}getEntryOptions(){for(const E of this._groups){if(E instanceof $){return E.options}}return undefined}addGroup(E){this._groups.add(E)}removeGroup(E){this._groups.delete(E)}isInGroup(E){return this._groups.has(E)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const E of this._groups){E.removeChunk(this)}}split(E){for(const N of this._groups){N.insertChunk(E,this);E.addGroup(N)}for(const N of this.idNameHints){E.idNameHints.add(N)}E.runtime=Ee(E.runtime,this.runtime)}updateHash(E,N){E.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const R=new ie;for(const E of N.getChunkModulesIterable(this)){R.add(N.getModuleHash(E,this.runtime))}R.updateHash(E);const j=N.getChunkEntryModulesWithChunkGroupIterable(this);for(const[R,$]of j){E.update(`entry${N.getModuleId(R)}${$.id}`)}}getAllAsyncChunks(){const E=new Set;const N=new Set;const R=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));const j=new Set(this.groupsIterable);for(const N of j){for(const R of N.childrenIterable){if(R instanceof $){j.add(R)}else{E.add(R)}}}for(const j of E){for(const E of j.chunks){if(!R.has(E)){N.add(E)}}for(const N of j.childrenIterable){E.add(N)}}return N}getAllInitialChunks(){const E=new Set;const N=new Set(this.groupsIterable);for(const R of N){if(R.isInitial()){for(const N of R.chunks)E.add(N);for(const E of R.childrenIterable)N.add(E)}}return E}getAllReferencedChunks(){const E=new Set(this.groupsIterable);const N=new Set;for(const R of E){for(const E of R.chunks){N.add(E)}for(const N of R.childrenIterable){E.add(N)}}return N}getAllReferencedAsyncEntrypoints(){const E=new Set(this.groupsIterable);const N=new Set;for(const R of E){for(const E of R.asyncEntrypointsIterable){N.add(E)}for(const N of R.childrenIterable){E.add(N)}}return N}hasAsyncChunks(){const E=new Set;const N=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));for(const N of this.groupsIterable){for(const R of N.childrenIterable){E.add(R)}}for(const R of E){for(const E of R.chunks){if(!N.has(E)){return true}}for(const N of R.childrenIterable){E.add(N)}}return false}getChildIdsByOrders(E,N){const R=new Map;for(const E of this.groupsIterable){if(E.chunks[E.chunks.length-1]===this){for(const N of E.childrenIterable){for(const E of Object.keys(N.options)){if(E.endsWith("Order")){const j=E.substr(0,E.length-"Order".length);let $=R.get(j);if($===undefined){$=[];R.set(j,$)}$.push({order:N.options[E],group:N})}}}}}const j=Object.create(null);for(const[$,q]of R){q.sort(((N,R)=>{const j=R.order-N.order;if(j!==0)return j;return N.group.compareTo(E,R.group)}));const R=new Set;for(const j of q){for(const $ of j.group.chunks){if(N&&!N($,E))continue;R.add($.id)}}if(R.size>0){j[$]=Array.from(R)}}return j}getChildrenOfTypeInOrder(E,N){const R=[];for(const E of this.groupsIterable){for(const j of E.childrenIterable){const $=j.options[N];if($===undefined)continue;R.push({order:$,group:E,childGroup:j})}}if(R.length===0)return undefined;R.sort(((N,R)=>{const j=R.order-N.order;if(j!==0)return j;return N.group.compareTo(E,R.group)}));const j=[];let $;for(const{group:E,childGroup:N}of R){if($&&$.onChunks===E.chunks){for(const E of N.chunks){$.chunks.add(E)}}else{j.push($={onChunks:E.chunks,chunks:new Set(N.chunks)})}}return j}getChildIdsByOrdersMap(E,N,R){const j=Object.create(null);const addChildIdsByOrdersToMap=N=>{const $=N.getChildIdsByOrders(E,R);for(const E of Object.keys($)){let R=j[E];if(R===undefined){j[E]=R=Object.create(null)}R[N.id]=$[E]}};if(N){const E=new Set;for(const N of this.groupsIterable){for(const R of N.chunks){E.add(R)}}for(const N of E){addChildIdsByOrdersToMap(N)}}for(const E of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(E)}return j}}E.exports=Chunk},45137:(E,N,R)=>{"use strict";const j=R(73837);const $=R(71452);const q=R(79900);const{first:G}=R(26221);const ie=R(16102);const{compareModulesById:ae,compareIterables:ce,compareModulesByIdentifier:le,concatComparators:_e,compareSelect:Ee,compareIds:Te}=R(68673);const we=R(35891);const Ie=R(62598);const{RuntimeSpecMap:Ne,RuntimeSpecSet:Me,runtimeToString:Le,mergeRuntime:Be,forEachRuntime:je}=R(37416);const Ue=new Set;const ze=BigInt(0);const We=ce(le);class ModuleHashInfo{constructor(E,N){this.hash=E;this.renderedHash=N}}const getArray=E=>Array.from(E);const getModuleRuntimes=E=>{const N=new Me;for(const R of E){N.add(R.runtime)}return N};const modulesBySourceType=E=>{const N=new Map;for(const R of E){for(const E of R.getSourceTypes()){let j=N.get(E);if(j===undefined){j=new ie;N.set(E,j)}j.add(R)}}for(const[R,j]of N){if(j.size===E.size){N.set(R,E)}}return N};const Je=new WeakMap;const createOrderedArrayFunction=E=>{let N=Je.get(E);if(N!==undefined)return N;N=N=>{N.sortWith(E);return Array.from(N)};Je.set(E,N);return N};const getModulesSize=E=>{let N=0;for(const R of E){for(const E of R.getSourceTypes()){N+=R.size(E)}}return N};const getModulesSizes=E=>{let N=Object.create(null);for(const R of E){for(const E of R.getSourceTypes()){N[E]=(N[E]||0)+R.size(E)}}return N};const isAvailableChunk=(E,N)=>{const R=new Set(N.groupsIterable);for(const N of R){if(E.isInGroup(N))continue;if(N.isInitial())return false;for(const E of N.parentsIterable){R.add(E)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ie;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ie;this.entryModules=new Map;this.runtimeModules=new ie;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(E,N="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=E;this._hashFunction=N;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(E){let N=this._modules.get(E);if(N===undefined){N=new ChunkGraphModule;this._modules.set(E,N)}return N}_getChunkGraphChunk(E){let N=this._chunks.get(E);if(N===undefined){N=new ChunkGraphChunk;this._chunks.set(E,N)}return N}_getGraphRoots(E){const{moduleGraph:N}=this;return Array.from(Ie(E,(E=>{const R=new Set;const addDependencies=E=>{for(const j of N.getOutgoingConnections(E)){if(!j.module)continue;const E=j.getActiveState(undefined);if(E===false)continue;if(E===q.TRANSITIVE_ONLY){addDependencies(j.module);continue}R.add(j.module)}};addDependencies(E);return R}))).sort(le)}connectChunkAndModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.chunks.add(E);j.modules.add(N)}disconnectChunkAndModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);j.modules.delete(N);R.chunks.delete(E)}disconnectChunk(E){const N=this._getChunkGraphChunk(E);for(const R of N.modules){const N=this._getChunkGraphModule(R);N.chunks.delete(E)}N.modules.clear();E.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(E)}attachModules(E,N){const R=this._getChunkGraphChunk(E);for(const E of N){R.modules.add(E)}}attachRuntimeModules(E,N){const R=this._getChunkGraphChunk(E);for(const E of N){R.runtimeModules.add(E)}}attachFullHashModules(E,N){const R=this._getChunkGraphChunk(E);if(R.fullHashModules===undefined)R.fullHashModules=new Set;for(const E of N){R.fullHashModules.add(E)}}attachDependentHashModules(E,N){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;for(const E of N){R.dependentHashModules.add(E)}}replaceModule(E,N){const R=this._getChunkGraphModule(E);const j=this._getChunkGraphModule(N);for(const $ of R.chunks){const R=this._getChunkGraphChunk($);R.modules.delete(E);R.modules.add(N);j.chunks.add($)}R.chunks.clear();if(R.entryInChunks!==undefined){if(j.entryInChunks===undefined){j.entryInChunks=new Set}for(const $ of R.entryInChunks){const R=this._getChunkGraphChunk($);const q=R.entryModules.get(E);const G=new Map;for(const[j,$]of R.entryModules){if(j===E){G.set(N,q)}else{G.set(j,$)}}R.entryModules=G;j.entryInChunks.add($)}R.entryInChunks=undefined}if(R.runtimeInChunks!==undefined){if(j.runtimeInChunks===undefined){j.runtimeInChunks=new Set}for(const $ of R.runtimeInChunks){const R=this._getChunkGraphChunk($);R.runtimeModules.delete(E);R.runtimeModules.add(N);j.runtimeInChunks.add($);if(R.fullHashModules!==undefined&&R.fullHashModules.has(E)){R.fullHashModules.delete(E);R.fullHashModules.add(N)}if(R.dependentHashModules!==undefined&&R.dependentHashModules.has(E)){R.dependentHashModules.delete(E);R.dependentHashModules.add(N)}}R.runtimeInChunks=undefined}}isModuleInChunk(E,N){const R=this._getChunkGraphChunk(N);return R.modules.has(E)}isModuleInChunkGroup(E,N){for(const R of N.chunks){if(this.isModuleInChunk(E,R))return true}return false}isEntryModule(E){const N=this._getChunkGraphModule(E);return N.entryInChunks!==undefined}getModuleChunksIterable(E){const N=this._getChunkGraphModule(E);return N.chunks}getOrderedModuleChunksIterable(E,N){const R=this._getChunkGraphModule(E);R.chunks.sortWith(N);return R.chunks}getModuleChunks(E){const N=this._getChunkGraphModule(E);return N.chunks.getFromCache(getArray)}getNumberOfModuleChunks(E){const N=this._getChunkGraphModule(E);return N.chunks.size}getModuleRuntimes(E){const N=this._getChunkGraphModule(E);return N.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(E){const N=this._getChunkGraphChunk(E);return N.modules.size}getNumberOfChunkFullHashModules(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules===undefined?0:N.fullHashModules.size}getChunkModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.modules}getChunkModulesIterableBySourceType(E,N){const R=this._getChunkGraphChunk(E);const j=R.modules.getFromUnorderedCache(modulesBySourceType).get(N);return j}getOrderedChunkModulesIterable(E,N){const R=this._getChunkGraphChunk(E);R.modules.sortWith(N);return R.modules}getOrderedChunkModulesIterableBySourceType(E,N,R){const j=this._getChunkGraphChunk(E);const $=j.modules.getFromUnorderedCache(modulesBySourceType).get(N);if($===undefined)return undefined;$.sortWith(R);return $}getChunkModules(E){const N=this._getChunkGraphChunk(E);return N.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(E,N){const R=this._getChunkGraphChunk(E);const j=createOrderedArrayFunction(N);return R.modules.getFromUnorderedCache(j)}getChunkModuleIdMap(E,N,R=false){const j=Object.create(null);for(const $ of R?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const R of this.getOrderedChunkModulesIterable($,ae(this))){if(N(R)){if(E===undefined){E=[];j[$.id]=E}const N=this.getModuleId(R);E.push(N)}}}return j}getChunkModuleRenderedHashMap(E,N,R=0,j=false){const $=Object.create(null);for(const q of j?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const j of this.getOrderedChunkModulesIterable(q,ae(this))){if(N(j)){if(E===undefined){E=Object.create(null);$[q.id]=E}const N=this.getModuleId(j);const G=this.getRenderedModuleHash(j,q.runtime);E[N]=R?G.slice(0,R):G}}}return $}getChunkConditionMap(E,N){const R=Object.create(null);for(const j of E.getAllReferencedChunks()){R[j.id]=N(j,this)}return R}hasModuleInGraph(E,N,R){const j=new Set(E.groupsIterable);const $=new Set;for(const E of j){for(const j of E.chunks){if(!$.has(j)){$.add(j);if(!R||R(j,this)){for(const E of this.getChunkModulesIterable(j)){if(N(E)){return true}}}}}for(const N of E.childrenIterable){j.add(N)}}return false}compareChunks(E,N){const R=this._getChunkGraphChunk(E);const j=this._getChunkGraphChunk(N);if(R.modules.size>j.modules.size)return-1;if(R.modules.size<j.modules.size)return 1;R.modules.sortWith(le);j.modules.sortWith(le);return We(R.modules,j.modules)}getChunkModulesSize(E){const N=this._getChunkGraphChunk(E);return N.modules.getFromUnorderedCache(getModulesSize)}getChunkModulesSizes(E){const N=this._getChunkGraphChunk(E);return N.modules.getFromUnorderedCache(getModulesSizes)}getChunkRootModules(E){const N=this._getChunkGraphChunk(E);return N.modules.getFromUnorderedCache(this._getGraphRoots)}getChunkSize(E,N={}){const R=this._getChunkGraphChunk(E);const j=R.modules.getFromUnorderedCache(getModulesSize);const $=typeof N.chunkOverhead==="number"?N.chunkOverhead:1e4;const q=typeof N.entryChunkMultiplicator==="number"?N.entryChunkMultiplicator:10;return $+j*(E.canBeInitial()?q:1)}getIntegratedChunksSize(E,N,R={}){const j=this._getChunkGraphChunk(E);const $=this._getChunkGraphChunk(N);const q=new Set(j.modules);for(const E of $.modules)q.add(E);let G=getModulesSize(q);const ie=typeof R.chunkOverhead==="number"?R.chunkOverhead:1e4;const ae=typeof R.entryChunkMultiplicator==="number"?R.entryChunkMultiplicator:10;return ie+G*(E.canBeInitial()||N.canBeInitial()?ae:1)}canChunksBeIntegrated(E,N){if(E.preventIntegration||N.preventIntegration){return false}const R=E.hasRuntime();const j=N.hasRuntime();if(R!==j){if(R){return isAvailableChunk(E,N)}else if(j){return isAvailableChunk(N,E)}else{return false}}if(this.getNumberOfEntryModules(E)>0||this.getNumberOfEntryModules(N)>0){return false}return true}integrateChunks(E,N){if(E.name&&N.name){if(this.getNumberOfEntryModules(E)>0===this.getNumberOfEntryModules(N)>0){if(E.name.length!==N.name.length){E.name=E.name.length<N.name.length?E.name:N.name}else{E.name=E.name<N.name?E.name:N.name}}else if(this.getNumberOfEntryModules(N)>0){E.name=N.name}}else if(N.name){E.name=N.name}for(const R of N.idNameHints){E.idNameHints.add(R)}E.runtime=Be(E.runtime,N.runtime);for(const R of this.getChunkModules(N)){this.disconnectChunkAndModule(N,R);this.connectChunkAndModule(E,R)}for(const[R,j]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(N))){this.disconnectChunkAndEntryModule(N,R);this.connectChunkAndEntryModule(E,R,j)}for(const R of N.groupsIterable){R.replaceChunk(N,E);E.addGroup(R);N.removeGroup(R)}ChunkGraph.clearChunkGraphForChunk(N)}upgradeDependentToFullHashModules(E){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)return;if(N.fullHashModules===undefined){N.fullHashModules=N.dependentHashModules}else{for(const E of N.dependentHashModules){N.fullHashModules.add(E)}N.dependentHashModules=undefined}}isEntryModuleInChunk(E,N){const R=this._getChunkGraphChunk(N);return R.entryModules.has(E)}connectChunkAndEntryModule(E,N,R){const j=this._getChunkGraphModule(N);const $=this._getChunkGraphChunk(E);if(j.entryInChunks===undefined){j.entryInChunks=new Set}j.entryInChunks.add(E);$.entryModules.set(N,R)}connectChunkAndRuntimeModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);if(R.runtimeInChunks===undefined){R.runtimeInChunks=new Set}R.runtimeInChunks.add(E);j.runtimeModules.add(N)}addFullHashModuleToChunk(E,N){const R=this._getChunkGraphChunk(E);if(R.fullHashModules===undefined)R.fullHashModules=new Set;R.fullHashModules.add(N)}addDependentHashModuleToChunk(E,N){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;R.dependentHashModules.add(N)}disconnectChunkAndEntryModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.entryInChunks.delete(E);if(R.entryInChunks.size===0){R.entryInChunks=undefined}j.entryModules.delete(N)}disconnectChunkAndRuntimeModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.runtimeInChunks.delete(E);if(R.runtimeInChunks.size===0){R.runtimeInChunks=undefined}j.runtimeModules.delete(N)}disconnectEntryModule(E){const N=this._getChunkGraphModule(E);for(const R of N.entryInChunks){const N=this._getChunkGraphChunk(R);N.entryModules.delete(E)}N.entryInChunks=undefined}disconnectEntries(E){const N=this._getChunkGraphChunk(E);for(const R of N.entryModules.keys()){const N=this._getChunkGraphModule(R);N.entryInChunks.delete(E);if(N.entryInChunks.size===0){N.entryInChunks=undefined}}N.entryModules.clear()}getNumberOfEntryModules(E){const N=this._getChunkGraphChunk(E);return N.entryModules.size}getNumberOfRuntimeModules(E){const N=this._getChunkGraphChunk(E);return N.runtimeModules.size}getChunkEntryModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.entryModules.keys()}getChunkEntryDependentChunksIterable(E){const N=new Set;for(const R of E.groupsIterable){if(R instanceof $){const j=R.getEntrypointChunk();const $=this._getChunkGraphChunk(j);for(const R of $.entryModules.values()){for(const $ of R.chunks){if($!==E&&$!==j&&!$.hasRuntime()){N.add($)}}}}}return N}hasChunkEntryDependentChunks(E){const N=this._getChunkGraphChunk(E);for(const R of N.entryModules.values()){for(const N of R.chunks){if(N!==E){return true}}}return false}getChunkRuntimeModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.runtimeModules}getChunkRuntimeModulesInOrder(E){const N=this._getChunkGraphChunk(E);const R=Array.from(N.runtimeModules);R.sort(_e(Ee((E=>E.stage),Te),le));return R}getChunkFullHashModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules}getChunkFullHashModulesSet(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules}getChunkDependentHashModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(E){const N=this._getChunkGraphChunk(E);return N.entryModules}getBlockChunkGroup(E){return this._blockChunkGroups.get(E)}connectBlockAndChunkGroup(E,N){this._blockChunkGroups.set(E,N);N.addBlock(E)}disconnectChunkGroup(E){for(const N of E.blocksIterable){this._blockChunkGroups.delete(N)}E._blocks.clear()}getModuleId(E){const N=this._getChunkGraphModule(E);return N.id}setModuleId(E,N){const R=this._getChunkGraphModule(E);R.id=N}getRuntimeId(E){return this._runtimeIds.get(E)}setRuntimeId(E,N){this._runtimeIds.set(E,N)}_getModuleHashInfo(E,N,R){if(!N){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(R)} (hashes not set at all)`)}else if(R===undefined){const R=new Set(N.values());if(R.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>Le(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return G(R)}else{const j=N.get(R);if(!j){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(R)} (available runtimes ${Array.from(N.keys(),Le).join(", ")})`)}return j}}hasModuleHashes(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return j&&j.has(N)}getModuleHash(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return this._getModuleHashInfo(E,j,N).hash}getRenderedModuleHash(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return this._getModuleHashInfo(E,j,N).renderedHash}setModuleHashes(E,N,R,j){const $=this._getChunkGraphModule(E);if($.hashes===undefined){$.hashes=new Ne}$.hashes.set(N,new ModuleHashInfo(R,j))}addModuleRuntimeRequirements(E,N,R,j=true){const $=this._getChunkGraphModule(E);const q=$.runtimeRequirements;if(q===undefined){const E=new Ne;E.set(N,j?R:new Set(R));$.runtimeRequirements=E;return}q.update(N,(E=>{if(E===undefined){return j?R:new Set(R)}else if(!j||E.size>=R.size){for(const N of R)E.add(N);return E}else{for(const N of E)R.add(N);return R}}))}addChunkRuntimeRequirements(E,N){const R=this._getChunkGraphChunk(E);const j=R.runtimeRequirements;if(j===undefined){R.runtimeRequirements=N}else if(j.size>=N.size){for(const E of N)j.add(E)}else{for(const E of j)N.add(E);R.runtimeRequirements=N}}addTreeRuntimeRequirements(E,N){const R=this._getChunkGraphChunk(E);const j=R.runtimeRequirementsInTree;for(const E of N)j.add(E)}getModuleRuntimeRequirements(E,N){const R=this._getChunkGraphModule(E);const j=R.runtimeRequirements&&R.runtimeRequirements.get(N);return j===undefined?Ue:j}getChunkRuntimeRequirements(E){const N=this._getChunkGraphChunk(E);const R=N.runtimeRequirements;return R===undefined?Ue:R}getModuleGraphHash(E,N,R=true){const j=this._getChunkGraphModule(E);return R?this._getModuleGraphHashWithConnections(j,E,N):this._getModuleGraphHashBigInt(j,E,N).toString(16)}getModuleGraphHashBigInt(E,N,R=true){const j=this._getChunkGraphModule(E);return R?BigInt(`0x${this._getModuleGraphHashWithConnections(j,E,N)}`):this._getModuleGraphHashBigInt(j,E,N)}_getModuleGraphHashBigInt(E,N,R){if(E.graphHashes===undefined){E.graphHashes=new Ne}const j=E.graphHashes.provide(R,(()=>{const j=we(this._hashFunction);j.update(`${E.id}${this.moduleGraph.isAsync(N)}`);this.moduleGraph.getExportsInfo(N).updateHash(j,R);return BigInt(`0x${j.digest("hex")}`)}));return j}_getModuleGraphHashWithConnections(E,N,R){if(E.graphHashesWithConnections===undefined){E.graphHashesWithConnections=new Ne}const activeStateToString=E=>{if(E===false)return"F";if(E===true)return"T";if(E===q.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const j=N.buildMeta&&N.buildMeta.strictHarmonyModule;return E.graphHashesWithConnections.provide(R,(()=>{const $=this._getModuleGraphHashBigInt(E,N,R).toString(16);const q=this.moduleGraph.getOutgoingConnections(N);const ie=new Set;const ae=new Map;const processConnection=(E,N)=>{const R=E.module;N+=R.getExportsType(this.moduleGraph,j);if(N==="Tnamespace")ie.add(R);else{const E=ae.get(N);if(E===undefined){ae.set(N,R)}else if(E instanceof Set){E.add(R)}else if(E!==R){ae.set(N,new Set([E,R]))}}};if(R===undefined||typeof R==="string"){for(const E of q){const N=E.getActiveState(R);if(N===false)continue;processConnection(E,N===true?"T":"O")}}else{for(const E of q){const N=new Set;let j="";je(R,(R=>{const $=E.getActiveState(R);N.add($);j+=activeStateToString($)+R}),true);if(N.size===1){const E=G(N);if(E===false)continue;j=activeStateToString(E)}processConnection(E,j)}}if(ie.size===0&&ae.size===0)return $;const ce=ae.size>1?Array.from(ae).sort((([E],[N])=>E<N?-1:1)):ae;const le=we(this._hashFunction);const addModuleToHash=E=>{le.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(E),E,R).toString(16))};const addModulesToHash=E=>{let N=ze;for(const j of E){N=N^this._getModuleGraphHashBigInt(this._getChunkGraphModule(j),j,R)}le.update(N.toString(16))};if(ie.size===1)addModuleToHash(ie.values().next().value);else if(ie.size>1)addModulesToHash(ie);for(const[E,N]of ce){le.update(E);if(N instanceof Set){addModulesToHash(N)}else{addModuleToHash(N)}}le.update($);return le.digest("hex")}))}getTreeRuntimeRequirements(E){const N=this._getChunkGraphChunk(E);return N.runtimeRequirementsInTree}static getChunkGraphForModule(E,N,R){const $=He.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=Ve.get(E);if(!R)throw new Error(N+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return R}),N+": Use new ChunkGraph API",R);He.set(N,q);return q(E)}static setChunkGraphForModule(E,N){Ve.set(E,N)}static clearChunkGraphForModule(E){Ve.delete(E)}static getChunkGraphForChunk(E,N,R){const $=Ge.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=qe.get(E);if(!R)throw new Error(N+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return R}),N+": Use new ChunkGraph API",R);Ge.set(N,q);return q(E)}static setChunkGraphForChunk(E,N){qe.set(E,N)}static clearChunkGraphForChunk(E){qe.delete(E)}}const Ve=new WeakMap;const qe=new WeakMap;const He=new Map;const Ge=new Map;E.exports=ChunkGraph},84558:(E,N,R)=>{"use strict";const j=R(73837);const $=R(16102);const{compareLocations:q,compareChunks:G,compareIterables:ie}=R(68673);let ae=5e3;const getArray=E=>Array.from(E);const sortById=(E,N)=>{if(E.id<N.id)return-1;if(N.id<E.id)return 1;return 0};const sortOrigin=(E,N)=>{const R=E.module?E.module.identifier():"";const j=N.module?N.module.identifier():"";if(R<j)return-1;if(R>j)return 1;return q(E.loc,N.loc)};class ChunkGroup{constructor(E){if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupDebugId=ae++;this.options=E;this._children=new $(undefined,sortById);this._parents=new $(undefined,sortById);this._asyncEntrypoints=new $(undefined,sortById);this._blocks=new $;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(E){for(const N of Object.keys(E)){if(this.options[N]===undefined){this.options[N]=E[N]}else if(this.options[N]!==E[N]){if(N.endsWith("Order")){this.options[N]=Math.max(this.options[N],E[N])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${N}`)}}}}get name(){return this.options.name}set name(E){this.options.name=E}get debugId(){return Array.from(this.chunks,(E=>E.debugId)).join("+")}get id(){return Array.from(this.chunks,(E=>E.id)).join("+")}unshiftChunk(E){const N=this.chunks.indexOf(E);if(N>0){this.chunks.splice(N,1);this.chunks.unshift(E)}else if(N<0){this.chunks.unshift(E);return true}return false}insertChunk(E,N){const R=this.chunks.indexOf(E);const j=this.chunks.indexOf(N);if(j<0){throw new Error("before chunk not found")}if(R>=0&&R>j){this.chunks.splice(R,1);this.chunks.splice(j,0,E)}else if(R<0){this.chunks.splice(j,0,E);return true}return false}pushChunk(E){const N=this.chunks.indexOf(E);if(N>=0){return false}this.chunks.push(E);return true}replaceChunk(E,N){const R=this.chunks.indexOf(E);if(R<0)return false;const j=this.chunks.indexOf(N);if(j<0){this.chunks[R]=N;return true}if(j<R){this.chunks.splice(R,1);return true}else if(j!==R){this.chunks[R]=N;this.chunks.splice(j,1);return true}}removeChunk(E){const N=this.chunks.indexOf(E);if(N>=0){this.chunks.splice(N,1);return true}return false}isInitial(){return false}addChild(E){const N=this._children.size;this._children.add(E);return N!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(E){if(!this._children.has(E)){return false}this._children.delete(E);E.removeParent(this);return true}addParent(E){if(!this._parents.has(E)){this._parents.add(E);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(E){return this._parents.has(E)}get parentsIterable(){return this._parents}removeParent(E){if(this._parents.delete(E)){E.removeChild(this);return true}return false}addAsyncEntrypoint(E){const N=this._asyncEntrypoints.size;this._asyncEntrypoints.add(E);return N!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(E){return this._blocks.has(E)}get blocksIterable(){return this._blocks}addBlock(E){if(!this._blocks.has(E)){this._blocks.add(E);return true}return false}addOrigin(E,N,R){this.origins.push({module:E,loc:N,request:R})}getFiles(){const E=new Set;for(const N of this.chunks){for(const R of N.files){E.add(R)}}return Array.from(E)}remove(){for(const E of this._parents){E._children.delete(this);for(const N of this._children){N.addParent(E);E.addChild(N)}}for(const E of this._children){E._parents.delete(this)}for(const E of this.chunks){E.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(E,N){if(this.chunks.length>N.chunks.length)return-1;if(this.chunks.length<N.chunks.length)return 1;return ie(G(E))(this.chunks,N.chunks)}getChildrenByOrders(E,N){const R=new Map;for(const E of this._children){for(const N of Object.keys(E.options)){if(N.endsWith("Order")){const j=N.substr(0,N.length-"Order".length);let $=R.get(j);if($===undefined){R.set(j,$=[])}$.push({order:E.options[N],group:E})}}}const j=Object.create(null);for(const[E,$]of R){$.sort(((E,R)=>{const j=R.order-E.order;if(j!==0)return j;return E.group.compareTo(N,R.group)}));j[E]=$.map((E=>E.group))}return j}setModulePreOrderIndex(E,N){this._modulePreOrderIndices.set(E,N)}getModulePreOrderIndex(E){return this._modulePreOrderIndices.get(E)}setModulePostOrderIndex(E,N){this._modulePostOrderIndices.set(E,N)}getModulePostOrderIndex(E){return this._modulePostOrderIndices.get(E)}checkConstraints(){const E=this;for(const N of E._children){if(!N._parents.has(E)){throw new Error(`checkConstraints: child missing parent ${E.debugId} -> ${N.debugId}`)}}for(const N of E._parents){if(!N._children.has(E)){throw new Error(`checkConstraints: parent missing child ${N.debugId} <- ${E.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=j.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=j.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");E.exports=ChunkGroup},44445:(E,N,R)=>{"use strict";const j=R(81627);class ChunkRenderError extends j{constructor(E,N,R){super();this.name="ChunkRenderError";this.error=R;this.message=R.message;this.details=R.stack;this.file=N;this.chunk=E}}E.exports=ChunkRenderError},13454:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const q=$((()=>R(18161)));class ChunkTemplate{constructor(E,N){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:j.deprecate(((E,R)=>{N.hooks.renderManifest.tap(E,((E,N)=>{if(N.chunk.hasRuntime())return E;return R(E,N)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderChunk.tap(E,((E,j)=>R(E,N.moduleTemplates.javascript,j)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderChunk.tap(E,((E,j)=>R(E,N.moduleTemplates.javascript,j)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).render.tap(E,((E,N)=>{if(N.chunkGraph.getNumberOfEntryModules(N.chunk)===0||N.chunk.hasRuntime()){return E}return R(E,N.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:j.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).chunkHash.tap(E,((E,N,j)=>{if(E.hasRuntime())return;R(N,E,j)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:j.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ChunkTemplate},61666:(E,N,R)=>{"use strict";const j=R(62355);const{SyncBailHook:$}=R(92960);const q=R(3080);const G=R(35817);const{join:ie}=R(95396);const ae=R(2117);const ce=G(undefined,(()=>{const{definitions:E}=R(46312);return{definitions:E,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(E,N,R,$)=>{const q=new Set;for(const E of R){q.add(E.replace(/(^|\/)[^/]*$/,""))}for(const E of q){q.add(E.replace(/(^|\/)[^/]*$/,""))}const G=new Set;j.forEachLimit(q,10,((j,$)=>{E.readdir(ie(E,N,j),((E,N)=>{if(E){if(E.code==="ENOENT")return $();if(E.code==="ENOTDIR"){G.add(j);return $()}return $(E)}for(const E of N){const N=E;const $=j?`${j}/${N}`:N;if(!q.has($)&&!R.has($)){G.add($)}}$()}))}),(E=>{if(E)return $(E);$(null,G)}))};const getDiffToOldAssets=(E,N)=>{const R=new Set;for(const j of N){if(!E.has(j))R.add(j)}return R};const applyDiff=(E,N,R,j,$,q,G)=>{const log=E=>{if(R){j.info(E)}else{j.log(E)}};const ce=Array.from($,(E=>({type:"check",filename:E,parent:undefined})));ae(ce,10,(({type:$,filename:G,parent:ae},ce,le)=>{const handleError=E=>{if(E.code==="ENOENT"){log(`${G} was removed during cleaning by something else`);handleParent();return le()}return le(E)};const handleParent=()=>{if(ae&&--ae.remaining===0)ce(ae.job)};const _e=ie(E,N,G);switch($){case"check":if(q(G)){log(`${G} will be kept`);return process.nextTick(le)}E.stat(_e,((N,R)=>{if(N)return handleError(N);if(!R.isDirectory()){ce({type:"unlink",filename:G,parent:ae});return le()}E.readdir(_e,((E,N)=>{if(E)return handleError(E);const R={type:"rmdir",filename:G,parent:ae};if(N.length===0){ce(R)}else{const E={remaining:N.length,job:R};for(const R of N){const N=R;if(N.startsWith(".")){log(`${G} will be kept (dot-files will never be removed)`);continue}ce({type:"check",filename:`${G}/${N}`,parent:E})}}return le()}))}));break;case"rmdir":log(`${G} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!E.rmdir){j.warn(`${G} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(le)}E.rmdir(_e,(E=>{if(E)return handleError(E);handleParent();le()}));break;case"unlink":log(`${G} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!E.unlink){j.warn(`${G} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(le)}E.unlink(_e,(E=>{if(E)return handleError(E);handleParent();le()}));break}}),G)};const le=new WeakMap;class CleanPlugin{static getCompilationHooks(E){if(!(E instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=le.get(E);if(N===undefined){N={keep:new $(["ignore"])};le.set(E,N)}return N}constructor(E={}){ce(E);this.options={dry:false,...E}}apply(E){const{dry:N,keep:R}=this.options;const j=typeof R==="function"?R:typeof R==="string"?E=>E.startsWith(R):typeof R==="object"&&R.test?E=>R.test(E):()=>false;let $;E.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((R,q)=>{const G=CleanPlugin.getCompilationHooks(R);const ie=R.getLogger("webpack.CleanPlugin");const ae=E.outputFileSystem;if(!ae.readdir){return q(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const ce=new Set;for(const E of Object.keys(R.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(E))continue;let N;let R=E.replace(/\\/g,"/");do{N=R;R=N.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(R!==N);if(N.startsWith("../"))continue;ce.add(N)}const le=R.getPath(E.outputPath,{});const isKept=E=>{const N=G.keep.call(E);if(N!==undefined)return N;return j(E)};const diffCallback=(E,R)=>{if(E){$=undefined;return q(E)}applyDiff(ae,le,N,ie,R,isKept,(E=>{if(E){$=undefined}else{$=ce}q(E)}))};if($){diffCallback(null,getDiffToOldAssets(ce,$))}else{getDiffToFs(ae,le,ce,diffCallback)}}))}}E.exports=CleanPlugin},93010:(E,N,R)=>{"use strict";const j=R(81627);class CodeGenerationError extends j{constructor(E,N){super();this.name="CodeGenerationError";this.error=N;this.message=N.message;this.details=N.stack;this.module=E}}E.exports=CodeGenerationError},53840:(E,N,R)=>{"use strict";const{provide:j}=R(67585);const{first:$}=R(26221);const q=R(35891);const{runtimeToString:G,RuntimeSpecMap:ie}=R(37416);class CodeGenerationResults{constructor(E="md4"){this.map=new Map;this._hashFunction=E}get(E,N){const R=this.map.get(E);if(R===undefined){throw new Error(`No code generation entry for ${E.identifier()} (existing entries: ${Array.from(this.map.keys(),(E=>E.identifier())).join(", ")})`)}if(N===undefined){if(R.size>1){const N=new Set(R.values());if(N.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>G(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return $(N)}return R.values().next().value}const j=R.get(N);if(j===undefined){throw new Error(`No code generation entry for runtime ${G(N)} for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>G(E))).join(", ")})`)}return j}has(E,N){const R=this.map.get(E);if(R===undefined){return false}if(N!==undefined){return R.has(N)}else if(R.size>1){const E=new Set(R.values());return E.size===1}else{return R.size===1}}getSource(E,N,R){return this.get(E,N).sources.get(R)}getRuntimeRequirements(E,N){return this.get(E,N).runtimeRequirements}getData(E,N,R){const j=this.get(E,N).data;return j===undefined?undefined:j.get(R)}getHash(E,N){const R=this.get(E,N);if(R.hash!==undefined)return R.hash;const j=q(this._hashFunction);for(const[E,N]of R.sources){j.update(E);N.updateHash(j)}if(R.runtimeRequirements){for(const E of R.runtimeRequirements)j.update(E)}return R.hash=j.digest("hex")}add(E,N,R){const $=j(this.map,E,(()=>new ie));$.set(N,R)}}E.exports=CodeGenerationResults},47207:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class CommentCompilationWarning extends j{constructor(E,N){super(E);this.name="CommentCompilationWarning";this.loc=N}}$(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");E.exports=CommentCompilationWarning},97489:(E,N,R)=>{"use strict";const j=R(66298);const $=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(E){E.hooks.compilation.tap("CompatibilityPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(j,new j.Template);N.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((E,N)=>{if(N.browserify!==undefined&&!N.browserify)return;E.hooks.call.for("require").tap("CompatibilityPlugin",(N=>{if(N.arguments.length!==2)return;const R=E.evaluateExpression(N.arguments[1]);if(!R.isBoolean())return;if(R.asBool()!==true)return;const $=new j("require",N.callee.range);$.loc=N.loc;if(E.state.current.dependencies.length>0){const N=E.state.current.dependencies[E.state.current.dependencies.length-1];if(N.critical&&N.options&&N.options.request==="."&&N.userRequest==="."&&N.options.recursive)E.state.current.dependencies.pop()}E.state.module.addPresentationalDependency($);return true}))}));const handler=E=>{E.hooks.preStatement.tap("CompatibilityPlugin",(N=>{if(N.type==="FunctionDeclaration"&&N.id&&N.id.name==="__webpack_require__"){const R=`__nested_webpack_require_${N.range[0]}__`;E.tagVariable(N.id.name,$,{name:R,declaration:{updated:false,loc:N.id.loc,range:N.id.range}});return true}}));E.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(N=>{const R=`__nested_webpack_require_${N.range[0]}__`;E.tagVariable(N.name,$,{name:R,declaration:{updated:false,loc:N.loc,range:N.range}});return true}));E.hooks.expression.for($).tap("CompatibilityPlugin",(N=>{const{name:R,declaration:$}=E.currentTagData;if(!$.updated){const N=new j(R,$.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N);$.updated=true}const q=new j(R,N.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}));E.hooks.program.tap("CompatibilityPlugin",((N,R)=>{if(R.length===0)return;const $=R[0];if($.type==="Line"&&$.range[0]===0){if(E.state.source.slice(0,2).toString()!=="#!")return;const N=new j("//",0);N.loc=$.loc;E.state.module.addPresentationalDependency(N)}}))};N.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",handler);N.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",handler)}))}}E.exports=CompatibilityPlugin},3080:(E,N,R)=>{"use strict";const j=R(62355);const{HookMap:$,SyncHook:q,SyncBailHook:G,SyncWaterfallHook:ie,AsyncSeriesHook:ae,AsyncSeriesBailHook:ce,AsyncParallelHook:le}=R(92960);const _e=R(73837);const{CachedSource:Ee}=R(48135);const{MultiItemCache:Te}=R(6503);const we=R(62433);const Ie=R(45137);const Ne=R(84558);const Me=R(44445);const Le=R(13454);const Be=R(93010);const je=R(53840);const Ue=R(28706);const ze=R(46828);const We=R(71452);const Je=R(50717);const Ve=R(22996);const{connectChunkGroupAndChunk:qe,connectChunkGroupParentAndChild:He}=R(4642);const{makeWebpackError:Ge,tryRunOrWebpackError:Ke}=R(3728);const Qe=R(73694);const Xe=R(53453);const Ye=R(82811);const Ze=R(23280);const et=R(75412);const tt=R(54032);const rt=R(99869);const nt=R(2210);const it=R(31467);const ot=R(68661);const st=R(76150);const ct=R(37130);const ut=R(10140);const dt=R(81627);const pt=R(25457);const ft=R(44547);const{Logger:mt,LogType:ht}=R(78539);const _t=R(87279);const yt=R(30533);const{equals:vt}=R(73910);const bt=R(9738);const xt=R(83379);const{provide:St}=R(67585);const Et=R(4396);const{cachedCleverMerge:Tt}=R(90149);const{compareLocations:kt,concatComparators:Ct,compareSelect:Dt,compareIds:At,compareStringsNumeric:wt,compareModulesByIdentifier:Pt}=R(68673);const Ft=R(35891);const{arrayToSetDeprecation:It,soonFrozenObjectDeprecation:Nt,createFakeHook:Ot}=R(16595);const Mt=R(2117);const{getRuntimeKey:Rt}=R(37416);const{isSourceEqual:Lt}=R(13559);const Bt=Object.freeze({});const jt="esm";const Ut=_e.deprecate((E=>R(53520).getCompilationHooks(E).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=E=>{Object.defineProperties(E,{asset:{enumerable:false,configurable:false,get:()=>{throw new dt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new dt("Compilation.moduleTemplates.webassembly has been removed")}}});E=undefined};const zt=Dt((E=>E.id),At);const Wt=Ct(Dt((E=>E.name),At),Dt((E=>E.fullHash),At));const $t=Dt((E=>`${E.message}`),wt);const Jt=Dt((E=>E.module&&E.module.identifier()||""),wt);const Vt=Dt((E=>E.loc),kt);const qt=Ct(Jt,Vt,$t);const Ht=new WeakMap;const Gt=new WeakMap;class Compilation{constructor(E,N){this._backCompat=E._backCompat;const getNormalModuleLoader=()=>Ut(this);const R=new ae(["assets"]);let j=new Set;const popNewAssets=E=>{let N=undefined;for(const R of Object.keys(E)){if(j.has(R))continue;if(N===undefined){N=Object.create(null)}N[R]=E[R];j.add(R)}return N};R.intercept({name:"Compilation",call:()=>{j=new Set(Object.keys(this.assets))},register:E=>{const{type:N,name:R}=E;const{fn:j,additionalAssets:$,...q}=E;const G=$===true?j:$;const ie=G?new WeakSet:undefined;switch(N){case"sync":if(G){this.hooks.processAdditionalAssets.tap(R,(E=>{if(ie.has(this.assets))G(E)}))}return{...q,type:"async",fn:(E,N)=>{try{j(E)}catch(E){return N(E)}if(ie!==undefined)ie.add(this.assets);const R=popNewAssets(E);if(R!==undefined){this.hooks.processAdditionalAssets.callAsync(R,N);return}N()}};case"async":if(G){this.hooks.processAdditionalAssets.tapAsync(R,((E,N)=>{if(ie.has(this.assets))return G(E,N);N()}))}return{...q,fn:(E,N)=>{j(E,(R=>{if(R)return N(R);if(ie!==undefined)ie.add(this.assets);const j=popNewAssets(E);if(j!==undefined){this.hooks.processAdditionalAssets.callAsync(j,N);return}N()}))}};case"promise":if(G){this.hooks.processAdditionalAssets.tapPromise(R,(E=>{if(ie.has(this.assets))return G(E);return Promise.resolve()}))}return{...q,fn:E=>{const N=j(E);if(!N||!N.then)return N;return N.then((()=>{if(ie!==undefined)ie.add(this.assets);const N=popNewAssets(E);if(N!==undefined){return this.hooks.processAdditionalAssets.promise(N)}}))}}}}});const Ee=new q(["assets"]);const createProcessAssetsHook=(E,N,j,$)=>{if(!this._backCompat&&$)return undefined;const errorMessage=N=>`Can't automatically convert plugin using Compilation.hooks.${E} to Compilation.hooks.processAssets because ${N}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=E=>{if(typeof E==="string")E={name:E};if(E.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...E,stage:N}};return Ot({name:E,intercept(E){throw new Error(errorMessage("it's using 'intercept'"))},tap:(E,N)=>{R.tap(getOptions(E),(()=>N(...j())))},tapAsync:(E,N)=>{R.tapAsync(getOptions(E),((E,R)=>N(...j(),R)))},tapPromise:(E,N)=>{R.tapPromise(getOptions(E),(()=>N(...j())))}},`${E} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,$)};this.hooks=Object.freeze({buildModule:new q(["module"]),rebuildModule:new q(["module"]),failedModule:new q(["module","error"]),succeedModule:new q(["module"]),stillValidModule:new q(["module"]),addEntry:new q(["entry","options"]),failedEntry:new q(["entry","options","error"]),succeedEntry:new q(["entry","options","module"]),dependencyReferencedExports:new ie(["referencedExports","dependency","runtime"]),executeModule:new q(["options","context"]),prepareModuleExecution:new le(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new q([]),seal:new q([]),beforeChunks:new q([]),afterChunks:new q(["chunks"]),optimizeDependencies:new G(["modules"]),afterOptimizeDependencies:new q(["modules"]),optimize:new q([]),optimizeModules:new G(["modules"]),afterOptimizeModules:new q(["modules"]),optimizeChunks:new G(["chunks","chunkGroups"]),afterOptimizeChunks:new q(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new q(["chunks","modules"]),optimizeChunkModules:new ce(["chunks","modules"]),afterOptimizeChunkModules:new q(["chunks","modules"]),shouldRecord:new G([]),additionalChunkRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new $((()=>new G(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new q(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new $((()=>new G(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new $((()=>new G(["chunk","runtimeRequirements","context"]))),runtimeModule:new q(["module","chunk"]),reviveModules:new q(["modules","records"]),beforeModuleIds:new q(["modules"]),moduleIds:new q(["modules"]),optimizeModuleIds:new q(["modules"]),afterOptimizeModuleIds:new q(["modules"]),reviveChunks:new q(["chunks","records"]),beforeChunkIds:new q(["chunks"]),chunkIds:new q(["chunks"]),optimizeChunkIds:new q(["chunks"]),afterOptimizeChunkIds:new q(["chunks"]),recordModules:new q(["modules","records"]),recordChunks:new q(["chunks","records"]),optimizeCodeGeneration:new q(["modules"]),beforeModuleHash:new q([]),afterModuleHash:new q([]),beforeCodeGeneration:new q([]),afterCodeGeneration:new q([]),beforeRuntimeRequirements:new q([]),afterRuntimeRequirements:new q([]),beforeHash:new q([]),contentHash:new q(["chunk"]),afterHash:new q([]),recordHash:new q(["records"]),record:new q(["compilation","records"]),beforeModuleAssets:new q([]),shouldGenerateChunkAssets:new G([]),beforeChunkAssets:new q([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:R,afterOptimizeAssets:Ee,processAssets:R,afterProcessAssets:Ee,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new G([]),afterSeal:new ae([]),renderManifest:new ie(["result","options"]),fullHash:new q(["hash"]),chunkHash:new q(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new q(["module","filename"]),chunkAsset:new q(["chunk","filename"]),assetPath:new ie(["path","options","assetInfo"]),needAdditionalPass:new G([]),childCompiler:new q(["childCompiler","compilerName","compilerIndex"]),log:new G(["origin","logEntry"]),processWarnings:new ie(["warnings"]),processErrors:new ie(["errors"]),statsPreset:new $((()=>new q(["options","context"]))),statsNormalize:new q(["options","context"]),statsFactory:new q(["statsFactory","options"]),statsPrinter:new q(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=E;this.resolverFactory=E.resolverFactory;this.inputFileSystem=E.inputFileSystem;this.fileSystemInfo=new Ve(this.inputFileSystem,{managedPaths:E.managedPaths,immutablePaths:E.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});if(E.fileTimestamps){this.fileSystemInfo.addFileTimestamps(E.fileTimestamps,true)}if(E.contextTimestamps){this.fileSystemInfo.addContextTimestamps(E.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=E.requestShortener;this.compilerPath=E.compilerPath;this.logger=this.getLogger("webpack.Compilation");const Te=E.options;this.options=Te;this.outputOptions=Te&&Te.output;this.bail=Te&&Te.bail||false;this.profile=Te&&Te.profile||false;this.params=N;this.mainTemplate=new Qe(this.outputOptions,this);this.chunkTemplate=new Le(this.outputOptions,this);this.runtimeTemplate=new ct(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ot(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new et;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new bt({name:"processDependencies",parallelism:Te.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new bt({name:"addModule",parent:this.processDependenciesQueue,getKey:E=>E.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new bt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new bt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new bt({name:"rebuild",parallelism:Te.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){It(this.chunks,"Compilation.chunks");It(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new ze;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new xt;this.contextDependencies=new xt;this.missingDependencies=new xt;this.buildDependencies=new xt;this.compilationDependencies={add:_e.deprecate((E=>this.fileDependencies.add(E)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const we=Te.module.unsafeCache;this._unsafeCache=!!we;this._unsafeCachePredicate=typeof we==="function"?we:()=>true}getStats(){return new ut(this)}createStatsOptions(E,N={}){if(typeof E==="boolean"||typeof E==="string"){E={preset:E}}if(typeof E==="object"&&E!==null){const R={};for(const N in E){R[N]=E[N]}if(R.preset!==undefined){this.hooks.statsPreset.for(R.preset).call(R,N)}this.hooks.statsNormalize.call(R,N);return R}else{const E={};this.hooks.statsNormalize.call(E,N);return E}}createStatsFactory(E){const N=new _t;this.hooks.statsFactory.call(N,E);return N}createStatsPrinter(E){const N=new yt;this.hooks.statsPrinter.call(N,E);return N}getCache(E){return this.compiler.getCache(E)}getLogger(E){if(!E){throw new TypeError("Compilation.getLogger(name) called without a name")}let N;return new mt(((R,j)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let $;switch(R){case ht.warn:case ht.error:case ht.trace:$=Je.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const q={time:Date.now(),type:R,args:j,trace:$};if(this.hooks.log.call(E,q)===undefined){if(q.type===ht.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${E}] ${q.args[0]}`)}}if(N===undefined){N=this.logging.get(E);if(N===undefined){N=[];this.logging.set(E,N)}}N.push(q);if(q.type===ht.profile){if(typeof console.profile==="function"){console.profile(`[${E}] ${q.args[0]}`)}}}}),(N=>{if(typeof E==="function"){if(typeof N==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}}else{if(typeof N==="function"){return this.getLogger((()=>{if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getLogger(`${E}/${N}`)}}}))}addModule(E,N){this.addModuleQueue.add(E,N)}_addModule(E,N){const R=E.identifier();const j=this._modules.get(R);if(j){return N(null,j)}const $=this.profile?this.moduleGraph.getProfile(E):undefined;if($!==undefined){$.markRestoringStart()}this._modulesCache.get(R,null,((j,q)=>{if(j)return N(new nt(E,j));if($!==undefined){$.markRestoringEnd();$.markIntegrationStart()}if(q){q.updateCacheModule(E);E=q}this._modules.set(R,E);this.modules.add(E);if(this._backCompat)et.setModuleGraphForModule(E,this.moduleGraph);if($!==undefined){$.markIntegrationEnd()}N(null,E)}))}getModule(E){const N=E.identifier();return this._modules.get(N)}findModule(E){return this._modules.get(E)}buildModule(E,N){this.buildQueue.add(E,N)}_buildModule(E,N){const R=this.profile?this.moduleGraph.getProfile(E):undefined;if(R!==undefined){R.markBuildingStart()}E.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((j,$)=>{if(j)return N(j);if(!$){if(R!==undefined){R.markBuildingEnd()}this.hooks.stillValidModule.call(E);return N()}this.hooks.buildModule.call(E);this.builtModules.add(E);E.build(this.options,this,this.resolverFactory.get("normal",E.resolveOptions),this.inputFileSystem,(j=>{if(R!==undefined){R.markBuildingEnd()}if(j){this.hooks.failedModule.call(E,j);return N(j)}if(R!==undefined){R.markStoringStart()}this._modulesCache.store(E.identifier(),null,E,(j=>{if(R!==undefined){R.markStoringEnd()}if(j){this.hooks.failedModule.call(E,j);return N(new it(E,j))}this.hooks.succeedModule.call(E);return N()}))}))}))}processModuleDependencies(E,N){this.processDependenciesQueue.add(E,N)}processModuleDependenciesNonRecursive(E){const processDependenciesBlock=N=>{if(N.dependencies){let R=0;for(const j of N.dependencies){this.moduleGraph.setParents(j,N,E,R++)}}if(N.blocks){for(const E of N.blocks)processDependenciesBlock(E)}};processDependenciesBlock(E)}_processModuleDependencies(E,N){const R=[];let j;let $;let q;let G;let ie;let ae;let ce;let le;let _e=1;let Ee=1;const onDependenciesSorted=E=>{if(E)return N(E);if(R.length===0&&Ee===1){return N()}this.processDependenciesQueue.increaseParallelism();for(const E of R){Ee++;this.handleModuleCreation(E,(E=>{if(E&&this.bail){if(Ee<=0)return;Ee=-1;E.stack=E.stack;onTransitiveTasksFinished(E);return}if(--Ee===0)onTransitiveTasksFinished()}))}if(--Ee===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=E=>{if(E)return N(E);this.processDependenciesQueue.decreaseParallelism();return N()};const processDependency=(N,R)=>{this.moduleGraph.setParents(N,j,E,R);if(this._unsafeCache){try{const R=Ht.get(N);if(R===null)return;if(R!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(R)){this._handleExistingModuleFromUnsafeCache(E,N,R);return}const j=R.identifier();const $=this._restoredUnsafeCacheEntries.get(j);if($!==undefined){Ht.set(N,$);this._handleExistingModuleFromUnsafeCache(E,N,$);return}_e++;this._modulesCache.get(j,null,(($,q)=>{if($){if(_e<=0)return;_e=-1;onDependenciesSorted($);return}try{if(!this._restoredUnsafeCacheEntries.has(j)){const $=Gt.get(q);if($===undefined){processDependencyForResolving(N);if(--_e===0)onDependenciesSorted();return}if(q!==R){Ht.set(N,q)}q.restoreFromUnsafeCache($,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set(j,q);this._restoredUnsafeCacheModuleEntries.add(q);if(!this.modules.has(q)){Ee++;this._handleNewModuleFromUnsafeCache(E,N,q,(E=>{if(E){if(Ee<=0)return;Ee=-1;onTransitiveTasksFinished(E)}if(--Ee===0)return onTransitiveTasksFinished()}));if(--_e===0)onDependenciesSorted();return}}if(R!==q){Ht.set(N,q)}this._handleExistingModuleFromUnsafeCache(E,N,q)}catch($){if(_e<=0)return;_e=-1;onDependenciesSorted($);return}if(--_e===0)onDependenciesSorted()}));return}}catch(E){console.error(E)}}processDependencyForResolving(N)};const processDependencyForResolving=N=>{const j=N.getResourceIdentifier();if(j!==undefined&&j!==null){const _e=N.category;const Ee=N.constructor;if(q===Ee){if(ae===_e&&ce===j){le.push(N);return}}else{const E=this.dependencyFactories.get(Ee);if(E===undefined){throw new Error(`No module factory available for dependency type: ${Ee.name}`)}if(G===E){q=Ee;if(ae===_e&&ce===j){le.push(N);return}}else{if(G!==undefined){if($===undefined)$=new Map;$.set(G,ie);ie=$.get(E);if(ie===undefined){ie=new Map}}else{ie=new Map}q=Ee;G=E}}const Te=_e===jt?j:`${_e}${j}`;let we=ie.get(Te);if(we===undefined){ie.set(Te,we=[]);R.push({factory:G,dependencies:we,originModule:E})}we.push(N);ae=_e;ce=j;le=we}};try{const N=[E];do{const E=N.pop();if(E.dependencies){j=E;let N=0;for(const R of E.dependencies)processDependency(R,N++)}if(E.blocks){for(const R of E.blocks)N.push(R)}}while(N.length!==0)}catch(E){return N(E)}if(--_e===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(E,N,R,j){const $=this.moduleGraph;$.setResolvedModule(E,N,R);$.setIssuerIfUnset(R,E!==undefined?E:null);this._modules.set(R.identifier(),R);this.modules.add(R);if(this._backCompat)et.setModuleGraphForModule(R,this.moduleGraph);this._handleModuleBuildAndDependencies(E,R,true,j)}_handleExistingModuleFromUnsafeCache(E,N,R){const j=this.moduleGraph;j.setResolvedModule(E,N,R)}handleModuleCreation({factory:E,dependencies:N,originModule:R,contextInfo:j,context:$,recursive:q=true,connectOrigin:G=q},ie){const ae=this.moduleGraph;const ce=this.profile?new rt:undefined;this.factorizeModule({currentProfile:ce,factory:E,dependencies:N,factoryResult:true,originModule:R,contextInfo:j,context:$},((E,j)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:E,contextDependencies:N,missingDependencies:R}=j;if(E){this.fileDependencies.addAll(E)}if(N){this.contextDependencies.addAll(N)}if(R){this.missingDependencies.addAll(R)}};if(E){if(j)applyFactoryResultDependencies();if(N.every((E=>E.optional))){this.warnings.push(E);return ie()}else{this.errors.push(E);return ie(E)}}const $=j.module;if(!$){applyFactoryResultDependencies();return ie()}if(ce!==undefined){ae.setProfile($,ce)}this.addModule($,((E,le)=>{if(E){applyFactoryResultDependencies();if(!E.module){E.module=le}this.errors.push(E);return ie(E)}if(this._unsafeCache&&j.cacheable!==false&&le.restoreFromUnsafeCache&&this._unsafeCachePredicate(le)){const E=le;for(let j=0;j<N.length;j++){const $=N[j];ae.setResolvedModule(G?R:null,$,E);Ht.set($,E)}if(!Gt.has(E)){Gt.set(E,E.getUnsafeCacheData())}}else{applyFactoryResultDependencies();for(let E=0;E<N.length;E++){const j=N[E];ae.setResolvedModule(G?R:null,j,le)}}ae.setIssuerIfUnset(le,R!==undefined?R:null);if(le!==$){if(ce!==undefined){const E=ae.getProfile(le);if(E!==undefined){ce.mergeInto(E)}else{ae.setProfile(le,ce)}}}this._handleModuleBuildAndDependencies(R,le,q,ie)}))}))}_handleModuleBuildAndDependencies(E,N,R,j){let $=undefined;if(!R&&this.buildQueue.isProcessing(E)){$=this.creatingModuleDuringBuild.get(E);if($===undefined){$=new Set;this.creatingModuleDuringBuild.set(E,$)}$.add(N);const R=this.creatingModuleDuringBuild.get(N);if(R!==undefined){const E=new Set(R);for(const R of E){const $=this.creatingModuleDuringBuild.get(R);if($!==undefined){for(const R of $){if(R===N){return j(new ft(N))}E.add(R)}}}}}this.buildModule(N,(E=>{if($!==undefined){$.delete(N)}if(E){if(!E.module){E.module=N}this.errors.push(E);return j(E)}if(!R){this.processModuleDependenciesNonRecursive(N);j(null,N);return}if(this.processDependenciesQueue.isProcessing(N)){return j()}this.processModuleDependencies(N,(E=>{if(E){return j(E)}j(null,N)}))}))}_factorizeModule({currentProfile:E,factory:N,dependencies:R,originModule:j,factoryResult:$,contextInfo:q,context:G},ie){if(E!==undefined){E.markFactoryStart()}N.create({contextInfo:{issuer:j?j.nameForCondition():"",issuerLayer:j?j.layer:null,compiler:this.compiler.name,...q},resolveOptions:j?j.resolveOptions:undefined,context:G?G:j?j.context:this.compiler.context,dependencies:R},((N,q)=>{if(q){if(q.module===undefined&&q instanceof Xe){q={module:q}}if(!$){const{fileDependencies:E,contextDependencies:N,missingDependencies:R}=q;if(E){this.fileDependencies.addAll(E)}if(N){this.contextDependencies.addAll(N)}if(R){this.missingDependencies.addAll(R)}}}if(N){const E=new tt(j,N,R.map((E=>E.loc)).filter(Boolean)[0]);return ie(E,$?q:undefined)}if(!q){return ie()}if(E!==undefined){E.markFactoryEnd()}ie(null,$?q:q.module)}))}addModuleChain(E,N,R){return this.addModuleTree({context:E,dependency:N},R)}addModuleTree({context:E,dependency:N,contextInfo:R},j){if(typeof N!=="object"||N===null||!N.constructor){return j(new dt("Parameter 'dependency' must be a Dependency"))}const $=N.constructor;const q=this.dependencyFactories.get($);if(!q){return j(new dt(`No dependency factory available for this dependency type: ${N.constructor.name}`))}this.handleModuleCreation({factory:q,dependencies:[N],originModule:null,contextInfo:R,context:E},((E,N)=>{if(E&&this.bail){j(E);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!E&&N){j(null,N)}else{j()}}))}addEntry(E,N,R,j){const $=typeof R==="object"?R:{name:R};this._addEntryItem(E,N,"dependencies",$,j)}addInclude(E,N,R,j){this._addEntryItem(E,N,"includeDependencies",R,j)}_addEntryItem(E,N,R,j,$){const{name:q}=j;let G=q!==undefined?this.entries.get(q):this.globalEntry;if(G===undefined){G={dependencies:[],includeDependencies:[],options:{name:undefined,...j}};G[R].push(N);this.entries.set(q,G)}else{G[R].push(N);for(const E of Object.keys(j)){if(j[E]===undefined)continue;if(G.options[E]===j[E])continue;if(Array.isArray(G.options[E])&&Array.isArray(j[E])&&vt(G.options[E],j[E])){continue}if(G.options[E]===undefined){G.options[E]=j[E]}else{return $(new dt(`Conflicting entry option ${E} = ${G.options[E]} vs ${j[E]}`))}}}this.hooks.addEntry.call(N,j);this.addModuleTree({context:E,dependency:N,contextInfo:G.options.layer?{issuerLayer:G.options.layer}:undefined},((E,R)=>{if(E){this.hooks.failedEntry.call(N,j,E);return $(E)}this.hooks.succeedEntry.call(N,j,R);return $(null,R)}))}rebuildModule(E,N){this.rebuildQueue.add(E,N)}_rebuildModule(E,N){this.hooks.rebuildModule.call(E);const R=E.dependencies.slice();const j=E.blocks.slice();E.invalidateBuild();this.buildQueue.invalidate(E);this.buildModule(E,($=>{if($){return this.hooks.finishRebuildingModule.callAsync(E,(E=>{if(E){N(Ge(E,"Compilation.hooks.finishRebuildingModule"));return}N($)}))}this.processDependenciesQueue.invalidate(E);this.moduleGraph.unfreeze();this.processModuleDependencies(E,($=>{if($)return N($);this.removeReasonsOfDependencyBlock(E,{dependencies:R,blocks:j});this.hooks.finishRebuildingModule.callAsync(E,(R=>{if(R){N(Ge(R,"Compilation.hooks.finishRebuildingModule"));return}N(null,E)}))}))}))}_computeAffectedModules(E){const N=this.compiler.moduleMemCaches;if(!N)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:R,moduleMemCaches:j}=this;const $=new Set;const q=new Set;let G=0;let ie=0;let ae=0;let ce=0;let le=0;const computeReferences=E=>{let N=undefined;for(const j of R.getOutgoingConnections(E)){const E=j.dependency;const R=j.module;if(!E||!R||Ht.has(E))continue;if(N===undefined)N=new WeakMap;N.set(E,R)}return N};const compareReferences=(E,N)=>{if(N===undefined)return true;for(const j of R.getOutgoingConnections(E)){const E=j.dependency;if(!E)continue;const R=N.get(E);if(R===undefined)continue;if(R!==j.module)return false}return true};const _e=new Set(E);for(const[E,R]of N){if(_e.has(E)){const G=E.buildInfo;if(G){if(R.buildInfo!==G){const N=new Et;j.set(E,N);$.add(E);R.buildInfo=G;R.references=computeReferences(E);R.memCache=N;ie++}else if(!compareReferences(E,R.references)){const N=new Et;j.set(E,N);$.add(E);R.references=computeReferences(E);R.memCache=N;ce++}else{j.set(E,R.memCache);ae++}}else{q.add(E);N.delete(E);le++}_e.delete(E)}else{N.delete(E)}}for(const E of _e){const R=E.buildInfo;if(R){const q=new Et;N.set(E,{buildInfo:R,references:computeReferences(E),memCache:q});j.set(E,q);$.add(E);G++}else{q.add(E);le++}}const reduceAffectType=E=>{let N=false;for(const{dependency:R}of E){if(!R)continue;const E=R.couldAffectReferencingModule();if(E===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(E===false)continue;N=true}return N};const Ee=new Set;for(const E of q){for(const[N,j]of R.getIncomingConnectionsByOriginModule(E)){if(!N)continue;if(q.has(N))continue;const E=reduceAffectType(j);if(!E)continue;if(E===true){Ee.add(N)}else{q.add(N)}}}for(const E of Ee)q.add(E);const Te=new Set;for(const E of $){for(const[G,ie]of R.getIncomingConnectionsByOriginModule(E)){if(!G)continue;if(q.has(G))continue;if($.has(G))continue;const E=reduceAffectType(ie);if(!E)continue;if(E===true){Te.add(G)}else{$.add(G)}const R=new Et;const ae=N.get(G);ae.memCache=R;j.set(G,R)}}for(const E of Te)$.add(E);this.logger.log(`${Math.round(100*($.size+q.size)/this.modules.size)}% (${$.size} affected + ${q.size} infected of ${this.modules.size}) modules flagged as affected (${G} new modules, ${ie} changed, ${ce} references changed, ${ae} unchanged, ${le} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:E}=this;if(!E)return;const N=this.moduleMemCaches2=new Map;const{moduleGraph:R,chunkGraph:j}=this;const $="memCache2";let q=0;let G=0;let ie=0;const computeReferences=E=>{let N=undefined;let $=undefined;const q=R.getOutgoingConnectionsByModule(E);if(q!==undefined){for(const E of q.keys()){if(!E)continue;if(N===undefined)N=new Map;N.set(E,j.getModuleId(E))}}if(E.blocks.length>0){$=[];const N=Array.from(E.blocks);for(const E of N){const R=j.getBlockChunkGroup(E);if(R){for(const E of R.chunks){$.push(E.id)}}else{$.push(null)}N.push.apply(N,E.blocks)}}return{modules:N,blocks:$}};const compareReferences=(E,{modules:N,blocks:R})=>{if(N!==undefined){for(const[E,R]of N){if(j.getModuleId(E)!==R)return false}}if(R!==undefined){const N=Array.from(E.blocks);let $=0;for(const E of N){const q=j.getBlockChunkGroup(E);if(q){for(const E of q.chunks){if($>=R.length||R[$++]!==E.id)return false}}else{if($>=R.length||R[$++]!==null)return false}N.push.apply(N,E.blocks)}if($!==R.length)return false}return true};for(const[R,j]of E){const E=j.get($);if(E===undefined){const E=new Et;j.set($,{references:computeReferences(R),memCache:E});N.set(R,E);ie++}else if(!compareReferences(R,E.references)){const j=new Et;E.references=computeReferences(R);E.memCache=j;N.set(R,j);G++}else{N.set(R,E.memCache);q++}}this.logger.log(`${Math.round(100*G/(ie+G+q))}% modules flagged as affected by chunk graph (${ie} new modules, ${G} changed, ${q} unchanged)`)}finish(E){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const E=R(382);const N=new E;const j=this.moduleGraph;const $=new Map;for(const E of this.modules){const R=j.getProfile(E);if(!R)continue;$.set(E,R);N.range(R.buildingStartTime,R.buildingEndTime,(E=>R.buildingParallelismFactor=E));N.range(R.factoryStartTime,R.factoryEndTime,(E=>R.factoryParallelismFactor=E));N.range(R.integrationStartTime,R.integrationEndTime,(E=>R.integrationParallelismFactor=E));N.range(R.storingStartTime,R.storingEndTime,(E=>R.storingParallelismFactor=E));N.range(R.restoringStartTime,R.restoringEndTime,(E=>R.restoringParallelismFactor=E));if(R.additionalFactoryTimes){for(const{start:E,end:j}of R.additionalFactoryTimes){const $=(j-E)/R.additionalFactories;N.range(E,j,(E=>R.additionalFactoriesParallelismFactor+=E*$))}}}N.calculate();const q=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(E,N)=>{if(E>1e3){q.error(N)}else if(E>500){q.warn(N)}else if(E>200){q.info(N)}else if(E>30){q.log(N)}else{q.debug(N)}};const logNormalSummary=(E,N,R)=>{let j=0;let q=0;for(const[G,ie]of $){const $=R(ie);const ae=N(ie);if(ae===0||$===0)continue;const ce=ae/$;j+=ce;if(ce<=10)continue;logByValue(ce,` | ${Math.round(ce)} ms${$>=1.1?` (parallelism ${Math.round($*10)/10})`:""} ${E} > ${G.readableIdentifier(this.requestShortener)}`);q=Math.max(q,ce)}if(j<=10)return;logByValue(Math.max(j/10,q),`${Math.round(j)} ms ${E}`)};const logByLoadersSummary=(E,N,R)=>{const j=new Map;for(const[E,N]of $){const R=St(j,E.type+"!"+E.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));R.push({module:E,profile:N})}let q=0;let G=0;for(const[$,ie]of j){let j=0;let ae=0;for(const{module:$,profile:q}of ie){const G=R(q);const ie=N(q);if(ie===0||G===0)continue;const ce=ie/G;j+=ce;if(ce<=10)continue;logByValue(ce,` | | ${Math.round(ce)} ms${G>=1.1?` (parallelism ${Math.round(G*10)/10})`:""} ${E} > ${$.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,ce)}q+=j;if(j<=10)continue;const ce=$.indexOf("!");const le=$.slice(ce+1);const _e=$.slice(0,ce);const Ee=Math.max(j/10,ae);logByValue(Ee,` | ${Math.round(j)} ms ${E} > ${le?`${ie.length} x ${_e} with ${this.requestShortener.shorten(le)}`:`${ie.length} x ${_e}`}`);G=Math.max(G,Ee)}if(q<=10)return;logByValue(Math.max(q/10,G),`${Math.round(q)} ms ${E}`)};logNormalSummary("resolve to new modules",(E=>E.factory),(E=>E.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(E=>E.additionalFactories),(E=>E.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));logByLoadersSummary("build modules",(E=>E.building),(E=>E.buildingParallelismFactor));logNormalSummary("store modules",(E=>E.storing),(E=>E.storingParallelismFactor));logNormalSummary("restore modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:N,moduleMemCaches:j}=this;this.hooks.finishModules.callAsync(N,(R=>{this.logger.timeEnd("finish modules");if(R)return E(R);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const E of N){const N=j&&j.get(E);if(N&&N.get("noWarningsOrErrors"))continue;let R=this.reportDependencyErrorsAndWarnings(E,[E]);const $=E.getErrors();if($!==undefined){for(const N of $){if(!N.module){N.module=E}this.errors.push(N);R=true}}const q=E.getWarnings();if(q!==undefined){for(const N of q){if(!N.module){N.module=E}this.warnings.push(N);R=true}}if(!R&&N)N.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");E()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(E){const finalCallback=N=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return E(N)};const N=new Ie(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=N;if(this._backCompat){for(const E of this.modules){Ie.setChunkGraphForModule(E,N)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const R=new Map;for(const[E,{dependencies:j,includeDependencies:$,options:q}]of this.entries){const G=this.addChunk(E);if(q.filename){G.filenameTemplate=q.filename}const ie=new We(q);if(!q.dependOn&&!q.runtime){ie.setRuntimeChunk(G)}ie.setEntrypointChunk(G);this.namedChunkGroups.set(E,ie);this.entrypoints.set(E,ie);this.chunkGroups.push(ie);qe(ie,G);const ae=new Set;for(const $ of[...this.globalEntry.dependencies,...j]){ie.addOrigin(null,{name:E},$.request);const j=this.moduleGraph.getModule($);if(j){N.connectChunkAndEntryModule(G,j,ie);ae.add(j);const E=R.get(ie);if(E===undefined){R.set(ie,[j])}else{E.push(j)}}}this.assignDepths(ae);const mapAndSort=E=>E.map((E=>this.moduleGraph.getModule(E))).filter(Boolean).sort(Pt);const ce=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort($)];let le=R.get(ie);if(le===undefined){R.set(ie,le=[])}for(const E of ce){this.assignDepth(E);le.push(E)}}const j=new Set;e:for(const[E,{options:{dependOn:N,runtime:R}}]of this.entries){if(N&&R){const N=new dt(`Entrypoint '${E}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const R=this.entrypoints.get(E);N.chunk=R.getEntrypointChunk();this.errors.push(N)}if(N){const R=this.entrypoints.get(E);const j=R.getEntrypointChunk().getAllReferencedChunks();const $=[];for(const q of N){const N=this.entrypoints.get(q);if(!N){throw new Error(`Entry ${E} depends on ${q}, but this entry was not found`)}if(j.has(N.getEntrypointChunk())){const N=new dt(`Entrypoints '${E}' and '${q}' use 'dependOn' to depend on each other in a circular way.`);const j=R.getEntrypointChunk();N.chunk=j;this.errors.push(N);R.setRuntimeChunk(j);continue e}$.push(N)}for(const E of $){He(E,R)}}else if(R){const N=this.entrypoints.get(E);let $=this.namedChunks.get(R);if($){if(!j.has($)){const j=new dt(`Entrypoint '${E}' has a 'runtime' option which points to another entrypoint named '${R}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(R)}' instead to allow using entrypoint '${E}' within the runtime of entrypoint '${R}'? For this '${R}' must always be loaded when '${E}' is used.\nOr do you want to use the entrypoints '${E}' and '${R}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const $=N.getEntrypointChunk();j.chunk=$;this.errors.push(j);N.setRuntimeChunk($);continue}}else{$=this.addChunk(R);$.preventIntegration=true;j.add($)}N.unshiftChunk($);$.addGroup(N);N.setRuntimeChunk($)}}pt(this,R);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const R=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(R){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((N=>{if(N){return finalCallback(N)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const j=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(j,(N=>{if(N){return finalCallback(N)}if(R){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Nt(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(R){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(E)}return this.hooks.afterSeal.callAsync((E=>{if(E){return finalCallback(Ge(E,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((E=>{this.logger.timeEnd("create chunk assets");if(E){return finalCallback(E)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(E,N){let R=false;for(let j=0;j<N.length;j++){const $=N[j];const q=$.dependencies;for(let N=0;N<q.length;N++){const j=q[N];const $=j.getWarnings(this.moduleGraph);if($){for(let N=0;N<$.length;N++){const q=$[N];const G=new Ze(E,q,j.loc);this.warnings.push(G);R=true}}const G=j.getErrors(this.moduleGraph);if(G){for(let N=0;N<G.length;N++){const $=G[N];const q=new Ye(E,$,j.loc);this.errors.push(q);R=true}}}if(this.reportDependencyErrorsAndWarnings(E,$.blocks))R=true}return R}codeGeneration(E){const{chunkGraph:N}=this;this.codeGenerationResults=new je(this.outputOptions.hashFunction);const R=[];for(const E of this.modules){const j=N.getModuleRuntimes(E);if(j.size===1){for(const $ of j){const j=N.getModuleHash(E,$);R.push({module:E,hash:j,runtime:$,runtimes:[$]})}}else if(j.size>1){const $=new Map;for(const q of j){const j=N.getModuleHash(E,q);const G=$.get(j);if(G===undefined){const N={module:E,hash:j,runtime:q,runtimes:[q]};R.push(N);$.set(j,N)}else{G.runtimes.push(q)}}}}this._runCodeGenerationJobs(R,E)}_runCodeGenerationJobs(E,N){let R=0;let $=0;const{chunkGraph:q,moduleGraph:G,dependencyTemplates:ie,runtimeTemplate:ae}=this;const ce=this.codeGenerationResults;const le=[];j.eachLimit(E,this.options.parallelism,(({module:E,hash:N,runtime:j,runtimes:_e},Ee)=>{this._codeGenerationModule(E,j,_e,N,ie,q,G,ae,le,ce,((E,N)=>{if(N)$++;else R++;Ee(E)}))}),(E=>{if(E)return N(E);if(le.length>0){le.sort(Dt((E=>E.module),Pt));for(const E of le){this.errors.push(E)}}this.logger.log(`${Math.round(100*$/($+R))}% code generated (${$} generated, ${R} from cache)`);N()}))}_codeGenerationModule(E,N,R,j,$,q,G,ie,ae,ce,le){let _e=false;const Ee=new Te(R.map((N=>this._codeGenerationCache.getItemCache(`${E.identifier()}|${Rt(N)}`,`${j}|${$.getHash()}`))));Ee.get(((j,Te)=>{if(j)return le(j);let we;if(!Te){try{_e=true;this.codeGeneratedModules.add(E);we=E.codeGeneration({chunkGraph:q,moduleGraph:G,dependencyTemplates:$,runtimeTemplate:ie,runtime:N})}catch(j){ae.push(new Be(E,j));we=Te={sources:new Map,runtimeRequirements:null}}}else{we=Te}for(const N of R){ce.add(E,N,we)}if(!Te){Ee.store(we,(E=>le(E,_e)))}else{le(null,_e)}}))}_getChunkGraphEntries(){const E=new Set;for(const N of this.entrypoints.values()){const R=N.getRuntimeChunk();if(R)E.add(R)}for(const N of this.asyncEntrypoints){const R=N.getRuntimeChunk();if(R)E.add(R)}return E}processRuntimeRequirements({chunkGraph:E=this.chunkGraph,modules:N=this.modules,chunks:R=this.chunks,codeGenerationResults:j=this.codeGenerationResults,chunkGraphEntries:$=this._getChunkGraphEntries()}={}){const q={chunkGraph:E,codeGenerationResults:j};const{moduleMemCaches2:G}=this;this.logger.time("runtime requirements.modules");const ie=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const R of N){if(E.getNumberOfModuleChunks(R)>0){const N=G&&G.get(R);for(const $ of E.getModuleRuntimes(R)){if(N){const j=N.get(`moduleRuntimeRequirements-${Rt($)}`);if(j!==undefined){if(j!==null){E.addModuleRuntimeRequirements(R,$,j,false)}continue}}let G;const ce=j.getRuntimeRequirements(R,$);if(ce&&ce.size>0){G=new Set(ce)}else if(ie.isUsed()){G=new Set}else{if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,null)}continue}ie.call(R,G,q);for(const E of G){const N=ae.get(E);if(N!==undefined)N.call(R,G,q)}if(G.size===0){if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,null)}}else{if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,G);E.addModuleRuntimeRequirements(R,$,G,false)}else{E.addModuleRuntimeRequirements(R,$,G)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const N of R){const R=new Set;for(const j of E.getChunkModulesIterable(N)){const $=E.getModuleRuntimeRequirements(j,N.runtime);for(const E of $)R.add(E)}this.hooks.additionalChunkRuntimeRequirements.call(N,R,q);for(const E of R){this.hooks.runtimeRequirementInChunk.for(E).call(N,R,q)}E.addChunkRuntimeRequirements(N,R)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const N of $){const R=new Set;for(const j of N.getAllReferencedChunks()){const N=E.getChunkRuntimeRequirements(j);for(const E of N)R.add(E)}this.hooks.additionalTreeRuntimeRequirements.call(N,R,q);for(const E of R){this.hooks.runtimeRequirementInTree.for(E).call(N,R,q)}E.addTreeRuntimeRequirements(N,R)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(E,N,R=this.chunkGraph){if(this._backCompat)et.setModuleGraphForModule(N,this.moduleGraph);this.modules.add(N);this._modules.set(N.identifier(),N);R.connectChunkAndModule(E,N);R.connectChunkAndRuntimeModule(E,N);if(N.fullHash){R.addFullHashModuleToChunk(E,N)}else if(N.dependentHash){R.addDependentHashModuleToChunk(E,N)}N.attach(this,E,R);const j=this.moduleGraph.getExportsInfo(N);j.setHasProvideInfo();if(typeof E.runtime==="string"){j.setUsedForSideEffectsOnly(E.runtime)}else if(E.runtime===undefined){j.setUsedForSideEffectsOnly(undefined)}else{for(const N of E.runtime){j.setUsedForSideEffectsOnly(N)}}R.addModuleRuntimeRequirements(N,E.runtime,new Set([st.requireScope]));R.setModuleId(N,"");this.hooks.runtimeModule.call(N,E)}addChunkInGroup(E,N,R,j){if(typeof E==="string"){E={name:E}}const $=E.name;if($){const q=this.namedChunkGroups.get($);if(q!==undefined){q.addOptions(E);if(N){q.addOrigin(N,R,j)}return q}}const q=new Ne(E);if(N)q.addOrigin(N,R,j);const G=this.addChunk($);qe(q,G);this.chunkGroups.push(q);if($){this.namedChunkGroups.set($,q)}return q}addAsyncEntrypoint(E,N,R,j){const $=E.name;if($){const E=this.namedChunkGroups.get($);if(E instanceof We){if(E!==undefined){if(N){E.addOrigin(N,R,j)}return E}}else if(E){throw new Error(`Cannot add an async entrypoint with the name '${$}', because there is already an chunk group with this name`)}}const q=this.addChunk($);if(E.filename){q.filenameTemplate=E.filename}const G=new We(E,false);G.setRuntimeChunk(q);G.setEntrypointChunk(q);if($){this.namedChunkGroups.set($,G)}this.chunkGroups.push(G);this.asyncEntrypoints.push(G);qe(G,q);if(N){G.addOrigin(N,R,j)}return G}addChunk(E){if(E){const N=this.namedChunks.get(E);if(N!==undefined){return N}}const N=new we(E,this._backCompat);this.chunks.add(N);if(this._backCompat)Ie.setChunkGraphForChunk(N,this.chunkGraph);if(E){this.namedChunks.set(E,N)}return N}assignDepth(E){const N=this.moduleGraph;const R=new Set([E]);let j;N.setDepth(E,0);const processModule=E=>{if(!N.setDepthIfLower(E,j))return;R.add(E)};for(E of R){R.delete(E);j=N.getDepth(E)+1;for(const R of N.getOutgoingConnections(E)){const E=R.module;if(E){processModule(E)}}}}assignDepths(E){const N=this.moduleGraph;const R=new Set(E);R.add(1);let j=0;let $=0;for(const E of R){$++;if(typeof E==="number"){j=E;if(R.size===$)return;R.add(j+1)}else{N.setDepth(E,j);for(const{module:j}of N.getOutgoingConnections(E)){if(j){R.add(j)}}}}}getDependencyReferencedExports(E,N){const R=E.getReferencedExports(this.moduleGraph,N);return this.hooks.dependencyReferencedExports.call(R,E,N)}removeReasonsOfDependencyBlock(E,N){if(N.blocks){for(const R of N.blocks){this.removeReasonsOfDependencyBlock(E,R)}}if(N.dependencies){for(const E of N.dependencies){const N=this.moduleGraph.getModule(E);if(N){this.moduleGraph.removeConnection(E);if(this.chunkGraph){for(const E of this.chunkGraph.getModuleChunks(N)){this.patchChunksAfterReasonRemoval(N,E)}}}}}}patchChunksAfterReasonRemoval(E,N){if(!E.hasReasons(this.moduleGraph,N.runtime)){this.removeReasonsOfDependencyBlock(E,E)}if(!E.hasReasonForChunk(N,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(E,N)){this.chunkGraph.disconnectChunkAndModule(N,E);this.removeChunkFromDependencies(E,N)}}}removeChunkFromDependencies(E,N){const iteratorDependency=E=>{const R=this.moduleGraph.getModule(E);if(!R){return}this.patchChunksAfterReasonRemoval(R,N)};const R=E.blocks;for(let N=0;N<R.length;N++){const j=R[N];const $=this.chunkGraph.getBlockChunkGroup(j);const q=$.chunks;for(let N=0;N<q.length;N++){const R=q[N];$.removeChunk(R);this.removeChunkFromDependencies(E,R)}}if(E.dependencies){for(const N of E.dependencies)iteratorDependency(N)}}assignRuntimeIds(){const{chunkGraph:E}=this;const processEntrypoint=N=>{const R=N.options.runtime||N.name;const j=N.getRuntimeChunk();E.setRuntimeId(R,j.id)};for(const E of this.entrypoints.values()){processEntrypoint(E)}for(const E of this.asyncEntrypoints){processEntrypoint(E)}}sortItemsWithChunkIds(){for(const E of this.chunkGroups){E.sortItems()}this.errors.sort(qt);this.warnings.sort(qt);this.children.sort(Wt)}summarizeDependencies(){for(let E=0;E<this.children.length;E++){const N=this.children[E];this.fileDependencies.addAll(N.fileDependencies);this.contextDependencies.addAll(N.contextDependencies);this.missingDependencies.addAll(N.missingDependencies);this.buildDependencies.addAll(N.buildDependencies)}for(const E of this.modules){E.addCacheDependencies(this.fileDependencies,this.contextDependencies,this.missingDependencies,this.buildDependencies)}}createModuleHashes(){let E=0;let N=0;const{chunkGraph:R,runtimeTemplate:j,moduleMemCaches2:$}=this;const{hashFunction:q,hashDigest:G,hashDigestLength:ie}=this.outputOptions;for(const ae of this.modules){const ce=$&&$.get(ae);for(const $ of R.getModuleRuntimes(ae)){if(ce){const E=ce.get(`moduleHash-${Rt($)}`);if(E!==undefined){R.setModuleHashes(ae,$,E,E.substr(0,ie));N++;continue}}E++;const le=this._createModuleHash(ae,R,$,q,j,G,ie);if(ce){ce.set(`moduleHash-${Rt($)}`,le)}}}this.logger.log(`${E} modules hashed, ${N} from cache (${Math.round(100*(E+N)/this.modules.size)/100} variants per module in average)`)}_createModuleHash(E,N,R,j,$,q,G){const ie=Ft(j);E.updateHash(ie,{chunkGraph:N,runtime:R,runtimeTemplate:$});const ae=ie.digest(q);N.setModuleHashes(E,R,ae,ae.substr(0,G));return ae}createHash(){this.logger.time("hashing: initialize hash");const E=this.chunkGraph;const N=this.runtimeTemplate;const R=this.outputOptions;const j=R.hashFunction;const $=R.hashDigest;const q=R.hashDigestLength;const G=Ft(j);if(R.hashSalt){G.update(R.hashSalt)}this.logger.timeEnd("hashing: initialize hash");if(this.children.length>0){this.logger.time("hashing: hash child compilations");for(const E of this.children){G.update(E.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const E of this.warnings){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const E of this.errors){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ie=[];const ae=[];for(const E of this.chunks){if(E.hasRuntime()){ie.push(E)}else{ae.push(E)}}ie.sort(zt);ae.sort(zt);const ce=new Map;for(const E of ie){ce.set(E,{chunk:E,referencedBy:[],remaining:0})}let le=0;for(const E of ce.values()){for(const N of new Set(Array.from(E.chunk.getAllReferencedAsyncEntrypoints()).map((E=>E.chunks[E.chunks.length-1])))){const R=ce.get(N);R.referencedBy.push(E);E.remaining++;le++}}const _e=[];for(const E of ce.values()){if(E.remaining===0){_e.push(E.chunk)}}if(le>0){const N=[];for(const R of _e){const j=E.getNumberOfChunkFullHashModules(R)!==0;const $=ce.get(R);for(const R of $.referencedBy){if(j){E.upgradeDependentToFullHashModules(R.chunk)}le--;if(--R.remaining===0){N.push(R.chunk)}}if(N.length>0){N.sort(zt);for(const E of N)_e.push(E);N.length=0}}}if(le>0){let E=[];for(const N of ce.values()){if(N.remaining!==0){E.push(N)}}E.sort(Dt((E=>E.chunk),zt));const N=new dt(`Circular dependency between chunks with runtime (${Array.from(E,(E=>E.chunk.name||E.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);N.chunk=E[0].chunk;this.warnings.push(N);for(const N of E)_e.push(N.chunk)}this.logger.timeEnd("hashing: sort chunks");const Ee=new Set;const Te=[];const we=new Map;const processChunk=ie=>{this.logger.time("hashing: hash runtime modules");const ae=ie.runtime;for(const R of E.getChunkModulesIterable(ie)){if(!E.hasModuleHashes(R,ae)){const G=this._createModuleHash(R,E,ae,j,N,$,q);let ie=we.get(G);if(ie){const E=ie.get(R);if(E){E.runtimes.push(ae);continue}}else{ie=new Map;we.set(G,ie)}const ce={module:R,hash:G,runtime:ae,runtimes:[ae]};ie.set(R,ce);Te.push(ce)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const ce=Ft(j);try{if(R.hashSalt){ce.update(R.hashSalt)}ie.updateHash(ce,E);this.hooks.chunkHash.call(ie,ce,{chunkGraph:E,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const N=ce.digest($);G.update(N);ie.hash=N;ie.renderedHash=ie.hash.substr(0,q);const j=E.getChunkFullHashModulesIterable(ie);if(j){Ee.add(ie)}else{this.hooks.contentHash.call(ie)}}catch(E){this.errors.push(new Me(ie,"",E))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const E of _e)processChunk(E);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(G);this.fullHash=G.digest($);this.hash=this.fullHash.substr(0,q);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const R of Ee){for(const G of E.getChunkFullHashModulesIterable(R)){const ie=Ft(j);G.updateHash(ie,{chunkGraph:E,runtime:R.runtime,runtimeTemplate:N});const ae=ie.digest($);const ce=E.getModuleHash(G,R.runtime);E.setModuleHashes(G,R.runtime,ae,ae.substr(0,q));we.get(ce).get(G).hash=ae}const G=Ft(j);G.update(R.hash);G.update(this.hash);const ie=G.digest($);R.hash=ie;R.renderedHash=R.hash.substr(0,q);this.hooks.contentHash.call(R)}this.logger.timeEnd("hashing: process full hash modules");return Te}emitAsset(E,N,R={}){if(this.assets[E]){if(!Lt(this.assets[E],N)){this.errors.push(new dt(`Conflict: Multiple assets emit different content to the same filename ${E}`));this.assets[E]=N;this._setAssetInfo(E,R);return}const j=this.assetsInfo.get(E);const $=Object.assign({},j,R);this._setAssetInfo(E,$,j);return}this.assets[E]=N;this._setAssetInfo(E,R,undefined)}_setAssetInfo(E,N,R=this.assetsInfo.get(E)){if(N===undefined){this.assetsInfo.delete(E)}else{this.assetsInfo.set(E,N)}const j=R&&R.related;const $=N&&N.related;if(j){for(const N of Object.keys(j)){const remove=R=>{const j=this._assetsRelatedIn.get(R);if(j===undefined)return;const $=j.get(N);if($===undefined)return;$.delete(E);if($.size!==0)return;j.delete(N);if(j.size===0)this._assetsRelatedIn.delete(R)};const R=j[N];if(Array.isArray(R)){R.forEach(remove)}else if(R){remove(R)}}}if($){for(const N of Object.keys($)){const add=R=>{let j=this._assetsRelatedIn.get(R);if(j===undefined){this._assetsRelatedIn.set(R,j=new Map)}let $=j.get(N);if($===undefined){j.set(N,$=new Set)}$.add(E)};const R=$[N];if(Array.isArray(R)){R.forEach(add)}else if(R){add(R)}}}}updateAsset(E,N,R=undefined){if(!this.assets[E]){throw new Error(`Called Compilation.updateAsset for not existing filename ${E}`)}if(typeof N==="function"){this.assets[E]=N(this.assets[E])}else{this.assets[E]=N}if(R!==undefined){const N=this.assetsInfo.get(E)||Bt;if(typeof R==="function"){this._setAssetInfo(E,R(N),N)}else{this._setAssetInfo(E,Tt(N,R),N)}}}renameAsset(E,N){const R=this.assets[E];if(!R){throw new Error(`Called Compilation.renameAsset for not existing filename ${E}`)}if(this.assets[N]){if(!Lt(this.assets[E],R)){this.errors.push(new dt(`Conflict: Called Compilation.renameAsset for already existing filename ${N} with different content`))}}const j=this.assetsInfo.get(E);const $=this._assetsRelatedIn.get(E);if($){for(const[R,j]of $){for(const $ of j){const j=this.assetsInfo.get($);if(!j)continue;const q=j.related;if(!q)continue;const G=q[R];let ie;if(Array.isArray(G)){ie=G.map((R=>R===E?N:R))}else if(G===E){ie=N}else continue;this.assetsInfo.set($,{...j,related:{...q,[R]:ie}})}}}this._setAssetInfo(E,undefined,j);this._setAssetInfo(N,j);delete this.assets[E];this.assets[N]=R;for(const R of this.chunks){{const j=R.files.size;R.files.delete(E);if(j!==R.files.size){R.files.add(N)}}{const j=R.auxiliaryFiles.size;R.auxiliaryFiles.delete(E);if(j!==R.auxiliaryFiles.size){R.auxiliaryFiles.add(N)}}}}deleteAsset(E){if(!this.assets[E]){return}delete this.assets[E];const N=this.assetsInfo.get(E);this._setAssetInfo(E,undefined,N);const R=N&&N.related;if(R){for(const E of Object.keys(R)){const checkUsedAndDelete=E=>{if(!this._assetsRelatedIn.has(E)){this.deleteAsset(E)}};const N=R[E];if(Array.isArray(N)){N.forEach(checkUsedAndDelete)}else if(N){checkUsedAndDelete(N)}}}for(const N of this.chunks){N.files.delete(E);N.auxiliaryFiles.delete(E)}}getAssets(){const E=[];for(const N of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,N)){E.push({name:N,source:this.assets[N],info:this.assetsInfo.get(N)||Bt})}}return E}getAsset(E){if(!Object.prototype.hasOwnProperty.call(this.assets,E))return undefined;return{name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Bt}}clearAssets(){for(const E of this.chunks){E.files.clear();E.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:E}=this;for(const N of this.modules){if(N.buildInfo.assets){const R=N.buildInfo.assetsInfo;for(const j of Object.keys(N.buildInfo.assets)){const $=this.getPath(j,{chunkGraph:this.chunkGraph,module:N});for(const R of E.getModuleChunksIterable(N)){R.auxiliaryFiles.add($)}this.emitAsset($,N.buildInfo.assets[j],R?R.get(j):undefined);this.hooks.moduleAsset.call(N,$)}}}}getRenderManifest(E){return this.hooks.renderManifest.call([],E)}createChunkAssets(E){const N=this.outputOptions;const R=new WeakMap;const $=new Map;j.forEachLimit(this.chunks,15,((E,q)=>{let G;try{G=this.getRenderManifest({chunk:E,hash:this.hash,fullHash:this.fullHash,outputOptions:N,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(N){this.errors.push(new Me(E,"",N));return q()}j.forEach(G,((N,j)=>{const q=N.identifier;const G=N.hash;const ie=this._assetsCache.getItemCache(q,G);ie.get(((q,ae)=>{let ce;let le;let _e;let Te=true;const errorAndCallback=N=>{const R=le||(typeof le==="string"?le:typeof ce==="string"?ce:"");this.errors.push(new Me(E,R,N));Te=false;return j()};try{if("filename"in N){le=N.filename;_e=N.info}else{ce=N.filenameTemplate;const E=this.getPathWithInfo(ce,N.pathOptions);le=E.path;_e=N.info?{...E.info,...N.info}:E.info}if(q){return errorAndCallback(q)}let we=ae;const Ie=$.get(le);if(Ie!==undefined){if(Ie.hash!==G){Te=false;return j(new dt(`Conflict: Multiple chunks emit assets to the same filename ${le}`+` (chunks ${Ie.chunk.id} and ${E.id})`))}else{we=Ie.source}}else if(!we){we=N.render();if(!(we instanceof Ee)){const E=R.get(we);if(E){we=E}else{const E=new Ee(we);R.set(we,E);we=E}}}this.emitAsset(le,we,_e);if(N.auxiliary){E.auxiliaryFiles.add(le)}else{E.files.add(le)}this.hooks.chunkAsset.call(E,le);$.set(le,{hash:G,source:we,chunk:E});if(we!==ae){ie.store(we,(E=>{if(E)return errorAndCallback(E);Te=false;return j()}))}else{Te=false;j()}}catch(q){if(!Te)throw q;errorAndCallback(q)}}))}),q)}),E)}getPath(E,N={}){if(!N.hash){N={hash:this.hash,...N}}return this.getAssetPath(E,N)}getPathWithInfo(E,N={}){if(!N.hash){N={hash:this.hash,...N}}return this.getAssetPathWithInfo(E,N)}getAssetPath(E,N){return this.hooks.assetPath.call(typeof E==="function"?E(N):E,N,undefined)}getAssetPathWithInfo(E,N){const R={};const j=this.hooks.assetPath.call(typeof E==="function"?E(N,R):E,N,R);return{path:j,info:R}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(E,N,R){const j=this.childrenCounters[E]||0;this.childrenCounters[E]=j+1;return this.compiler.createChildCompiler(this,E,j,N,R)}executeModule(E,N,R){const $=new Set([E]);Mt($,10,((E,N,R)=>{this.buildQueue.waitFor(E,(j=>{if(j)return R(j);this.processDependenciesQueue.waitFor(E,(j=>{if(j)return R(j);for(const{module:R}of this.moduleGraph.getOutgoingConnections(E)){const E=$.size;$.add(R);if($.size!==E)N(R)}R()}))}))}),(q=>{if(q)return R(q);const G=new Ie(this.moduleGraph,this.outputOptions.hashFunction);const ie="build time";const{hashFunction:ae,hashDigest:ce,hashDigestLength:le}=this.outputOptions;const _e=this.runtimeTemplate;const Ee=new we("build time chunk",this._backCompat);Ee.id=Ee.name;Ee.ids=[Ee.id];Ee.runtime=ie;const Te=new We({runtime:ie,chunkLoading:false,...N.entryOptions});G.connectChunkAndEntryModule(Ee,E,Te);qe(Te,Ee);Te.setRuntimeChunk(Ee);Te.setEntrypointChunk(Ee);const Ne=new Set([Ee]);for(const E of $){const N=E.identifier();G.setModuleId(E,N);G.connectChunkAndModule(Ee,E)}for(const E of $){this._createModuleHash(E,G,ie,ae,_e,ce,le)}const Me=new je(this.outputOptions.hashFunction);const Le=[];const codeGen=(E,N)=>{this._codeGenerationModule(E,ie,[ie],G.getModuleHash(E,ie),this.dependencyTemplates,G,this.moduleGraph,_e,Le,Me,((E,R)=>{N(E)}))};const reportErrors=()=>{if(Le.length>0){Le.sort(Dt((E=>E.module),Pt));for(const E of Le){this.errors.push(E)}Le.length=0}};j.eachLimit($,10,codeGen,(N=>{if(N)return R(N);reportErrors();const q=this.chunkGraph;this.chunkGraph=G;this.processRuntimeRequirements({chunkGraph:G,modules:$,chunks:Ne,codeGenerationResults:Me,chunkGraphEntries:Ne});this.chunkGraph=q;const Te=G.getChunkRuntimeModulesIterable(Ee);for(const E of Te){$.add(E);this._createModuleHash(E,G,ie,ae,_e,ce,le)}j.eachLimit(Te,10,codeGen,(N=>{if(N)return R(N);reportErrors();const q=new Map;const ae=new Map;const ce=new xt;const le=new xt;const _e=new xt;const Te=new xt;const we=new Map;let Ie=true;const Ne={assets:we,__webpack_require__:undefined,chunk:Ee,chunkGraph:G};j.eachLimit($,10,((E,N)=>{const R=Me.get(E,ie);const j={module:E,codeGenerationResult:R,preparedInfo:undefined,moduleObject:undefined};q.set(E,j);ae.set(E.identifier(),j);E.addCacheDependencies(ce,le,_e,Te);if(E.buildInfo.cacheable===false){Ie=false}if(E.buildInfo&&E.buildInfo.assets){const{assets:N,assetsInfo:R}=E.buildInfo;for(const E of Object.keys(N)){we.set(E,{source:N[E],info:R?R.get(E):undefined})}}this.hooks.prepareModuleExecution.callAsync(j,Ne,N)}),(N=>{if(N)return R(N);let j;try{const{strictModuleErrorHandling:N,strictModuleExceptionHandling:R}=this.outputOptions;const __nested_webpack_require_150631__=E=>{const N=ie[E];if(N!==undefined){if(N.error)throw N.error;return N.exports}const R=ae.get(E);return __webpack_require_module__(R,E)};const $=__nested_webpack_require_150631__[st.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ie=__nested_webpack_require_150631__[st.moduleCache.replace("__webpack_require__.","")]={};Ne.__webpack_require__=__nested_webpack_require_150631__;const __webpack_require_module__=(E,j)=>{var q={id:j,module:{id:j,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_150631__};$.forEach((E=>E(q)));const G=E.module;this.buildTimeExecutedModules.add(G);const ae=q.module;E.moduleObject=ae;try{if(j)ie[j]=ae;Ke((()=>this.hooks.executeModule.call(E,Ne)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(E){if(R){if(j)delete ie[j]}else if(N){ae.error=E}if(!E.module)E.module=G;throw E}};for(const E of G.getChunkRuntimeModulesInOrder(Ee)){__webpack_require_module__(q.get(E))}j=__nested_webpack_require_150631__(E.identifier())}catch(N){const j=new dt(`Execution of module code from module graph (${E.readableIdentifier(this.requestShortener)}) failed: ${N.message}`);j.stack=N.stack;j.module=N.module;return R(j)}R(null,{exports:j,assets:we,cacheable:Ie,fileDependencies:ce,contextDependencies:le,missingDependencies:_e,buildDependencies:Te})}))}))}))}))}checkConstraints(){const E=this.chunkGraph;const N=new Set;for(const R of this.modules){if(R.type==="runtime")continue;const j=E.getModuleId(R);if(j===null)continue;if(N.has(j)){throw new Error(`checkConstraints: duplicate module id ${j}`)}N.add(j)}for(const N of this.chunks){for(const R of E.getChunkModulesIterable(N)){if(!this.modules.has(R)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${N.debugId} ${R.debugId}`)}}for(const R of E.getChunkEntryModulesIterable(N)){if(!this.modules.has(R)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${N.debugId} ${R.debugId}`)}}}for(const E of this.chunkGroups){E.checkConstraints()}}}Compilation.prototype.factorizeModule=function(E,N){this.factorizeQueue.add(E,N)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:_e.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:_e.deprecate((E=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;E.exports=Compilation},63076:(E,N,R)=>{"use strict";const j=R(78688);const $=R(62355);const{SyncHook:q,SyncBailHook:G,AsyncParallelHook:ie,AsyncSeriesHook:ae}=R(92960);const{SizeOnlySource:ce}=R(48135);const le=R(86443);const _e=R(54725);const Ee=R(6503);const Te=R(45137);const we=R(3080);const Ie=R(27310);const Ne=R(89869);const Me=R(75412);const Le=R(43229);const Be=R(80910);const je=R(1819);const Ue=R(10140);const ze=R(84693);const We=R(81627);const{Logger:Je}=R(78539);const{join:Ve,dirname:qe,mkdirp:He}=R(95396);const{makePathsRelative:Ge}=R(49197);const{isSourceEqual:Ke}=R(13559);const isSorted=E=>{for(let N=1;N<E.length;N++){if(E[N-1]>E[N])return false}return true};const sortObject=(E,N)=>{const R={};for(const j of N.sort()){R[j]=E[j]}return R};const includesHash=(E,N)=>{if(!N)return false;if(Array.isArray(N)){return N.some((N=>E.includes(N)))}else{return E.includes(N)}};class Compiler{constructor(E,N={}){this.hooks=Object.freeze({initialize:new q([]),shouldEmit:new G(["compilation"]),done:new ae(["stats"]),afterDone:new q(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new q(["compilation","params"]),compilation:new q(["compilation","params"]),normalModuleFactory:new q(["normalModuleFactory"]),contextModuleFactory:new q(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new q(["params"]),make:new ie(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),watchRun:new ae(["compiler"]),failed:new q(["error"]),invalid:new q(["filename","changeTime"]),watchClose:new q([]),shutdown:new ae([]),infrastructureLog:new G(["origin","type","args"]),environment:new q([]),afterEnvironment:new q([]),afterPlugins:new q(["compiler"]),afterResolvers:new q(["compiler"]),entryOption:new G(["context","entry"])});this.webpack=le;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new je;this.infrastructureLogger=undefined;this.options=N;this.context=E;this.requestShortener=new Be(E,this.root);this.cache=new _e;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(E){return new Ee(this.cache,`${this.compilerPath}${E}`,this.options.output.hashFunction)}getInfrastructureLogger(E){if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new Je(((N,R)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(E,N,R)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(E,N,R)}}}),(N=>{if(typeof E==="function"){if(typeof N==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}}else{if(typeof N==="function"){return this.getInfrastructureLogger((()=>{if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getInfrastructureLogger(`${E}/${N}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const E of this._lastCompilation.modules){Te.clearChunkGraphForModule(E);Me.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of this._lastCompilation.chunks){Te.clearChunkGraphForChunk(E)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(E,N){if(this.running){return N(new Ie)}this.running=true;this.watchMode=true;this.watching=new ze(this,E,N);return this.watching}run(E){if(this.running){return E(new Ie)}let N;const finalCallback=(R,j)=>{if(N)N.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(N)N.timeEnd("beginIdle");this.running=false;if(R){this.hooks.failed.call(R)}if(E!==undefined)E(R,j);this.hooks.afterDone.call(j)};const R=Date.now();this.running=true;const onCompiled=(E,j)=>{if(E)return finalCallback(E);if(this.hooks.shouldEmit.call(j)===false){j.startTime=R;j.endTime=Date.now();const E=new Ue(j);this.hooks.done.callAsync(E,(N=>{if(N)return finalCallback(N);return finalCallback(null,E)}));return}process.nextTick((()=>{N=j.getLogger("webpack.Compiler");N.time("emitAssets");this.emitAssets(j,(E=>{N.timeEnd("emitAssets");if(E)return finalCallback(E);if(j.hooks.needAdditionalPass.call()){j.needAdditionalPass=true;j.startTime=R;j.endTime=Date.now();N.time("done hook");const E=new Ue(j);this.hooks.done.callAsync(E,(E=>{N.timeEnd("done hook");if(E)return finalCallback(E);this.hooks.additionalPass.callAsync((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}));return}N.time("emitRecords");this.emitRecords((E=>{N.timeEnd("emitRecords");if(E)return finalCallback(E);j.startTime=R;j.endTime=Date.now();N.time("done hook");const $=new Ue(j);this.hooks.done.callAsync($,(E=>{N.timeEnd("done hook");if(E)return finalCallback(E);this.cache.storeBuildDependencies(j.buildDependencies,(E=>{if(E)return finalCallback(E);return finalCallback(null,$)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(E=>{if(E)return finalCallback(E);this.hooks.run.callAsync(this,(E=>{if(E)return finalCallback(E);this.readRecords((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((E=>{if(E)return finalCallback(E);this.idle=false;run()}))}else{run()}}runAsChild(E){const N=Date.now();this.compile(((R,j)=>{if(R)return E(R);this.parentCompilation.children.push(j);for(const{name:E,source:N,info:R}of j.getAssets()){this.parentCompilation.emitAsset(E,N,R)}const $=[];for(const E of j.entrypoints.values()){$.push(...E.chunks)}j.startTime=N;j.endTime=Date.now();return E(null,$,j)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(E,N){let R;const emitFiles=j=>{if(j)return N(j);const q=E.getAssets();E.assets={...E.assets};const G=new Map;const ie=new Set;$.forEachLimit(q,15,(({name:N,source:j,info:$},q)=>{let ae=N;let le=$.immutable;const _e=ae.indexOf("?");if(_e>=0){ae=ae.substr(0,_e);le=le&&(includesHash(ae,$.contenthash)||includesHash(ae,$.chunkhash)||includesHash(ae,$.modulehash)||includesHash(ae,$.fullhash))}const writeOut=$=>{if($)return q($);const _e=Ve(this.outputFileSystem,R,ae);ie.add(_e);const Ee=this._assetEmittingWrittenFiles.get(_e);let Te=this._assetEmittingSourceCache.get(j);if(Te===undefined){Te={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(j,Te)}let we;const checkSimilarFile=()=>{const E=_e.toLowerCase();we=G.get(E);if(we!==undefined){const{path:E,source:R}=we;if(Ke(R,j)){if(we.size!==undefined){updateWithReplacementSource(we.size)}else{if(!we.waiting)we.waiting=[];we.waiting.push({file:N,cacheEntry:Te})}alreadyWritten()}else{const R=new We(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${_e}\n${E}`);R.file=N;q(R)}return true}else{G.set(E,we={path:_e,source:j,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof j.buffer==="function"){return j.buffer()}else{const E=j.source();if(Buffer.isBuffer(E)){return E}else{return Buffer.from(E,"utf8")}}};const alreadyWritten=()=>{if(Ee===undefined){const E=1;this._assetEmittingWrittenFiles.set(_e,E);Te.writtenTo.set(_e,E)}else{Te.writtenTo.set(_e,Ee)}q()};const doWrite=$=>{this.outputFileSystem.writeFile(_e,$,(G=>{if(G)return q(G);E.emittedAssets.add(N);const ie=Ee===undefined?1:Ee+1;Te.writtenTo.set(_e,ie);this._assetEmittingWrittenFiles.set(_e,ie);this.hooks.assetEmitted.callAsync(N,{content:$,source:j,outputPath:R,compilation:E,targetPath:_e},q)}))};const updateWithReplacementSource=E=>{updateFileWithReplacementSource(N,Te,E);we.size=E;if(we.waiting!==undefined){for(const{file:N,cacheEntry:R}of we.waiting){updateFileWithReplacementSource(N,R,E)}}};const updateFileWithReplacementSource=(N,R,j)=>{if(!R.sizeOnlySource){R.sizeOnlySource=new ce(j)}E.updateAsset(N,R.sizeOnlySource,{size:j})};const processExistingFile=R=>{if(le){updateWithReplacementSource(R.size);return alreadyWritten()}const j=getContent();updateWithReplacementSource(j.length);if(j.length===R.size){E.comparedForEmitAssets.add(N);return this.outputFileSystem.readFile(_e,((E,N)=>{if(E||!j.equals(N)){return doWrite(j)}else{return alreadyWritten()}}))}return doWrite(j)};const processMissingFile=()=>{const E=getContent();updateWithReplacementSource(E.length);return doWrite(E)};if(Ee!==undefined){const R=Te.writtenTo.get(_e);if(R===Ee){if(this._assetEmittingPreviousFiles.has(_e)){E.updateAsset(N,Te.sizeOnlySource,{size:Te.sizeOnlySource.size()});return q()}else{le=true}}else if(!le){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(_e,((E,N)=>{const R=!E&&N.isFile();if(R){processExistingFile(N)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const E=this.outputFileSystem;const N=qe(E,Ve(E,R,ae));He(E,N,writeOut)}else{writeOut()}}),(R=>{G.clear();if(R){this._assetEmittingPreviousFiles.clear();return N(R)}this._assetEmittingPreviousFiles=ie;this.hooks.afterEmit.callAsync(E,(E=>{if(E)return N(E);return N()}))}))};this.hooks.emit.callAsync(E,(j=>{if(j)return N(j);R=E.getPath(this.outputPath,{});He(this.outputFileSystem,R,emitFiles)}))}emitRecords(E){if(!this.recordsOutputPath)return E();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((E,N)=>{if(typeof N==="object"&&N!==null&&!Array.isArray(N)){const E=Object.keys(N);if(!isSorted(E)){return sortObject(N,E)}}return N}),2),E)};const N=qe(this.outputFileSystem,this.recordsOutputPath);if(!N){return writeFile()}He(this.outputFileSystem,N,(N=>{if(N)return E(N);writeFile()}))}readRecords(E){if(!this.recordsInputPath){this.records={};return E()}this.inputFileSystem.stat(this.recordsInputPath,(N=>{if(N)return E();this.inputFileSystem.readFile(this.recordsInputPath,((N,R)=>{if(N)return E(N);try{this.records=j(R.toString("utf-8"))}catch(N){N.message="Cannot parse records: "+N.message;return E(N)}return E()}))}))}createChildCompiler(E,N,R,j,$){const q=new Compiler(this.context,{...this.options,output:{...this.options.output,...j}});q.name=N;q.outputPath=this.outputPath;q.inputFileSystem=this.inputFileSystem;q.outputFileSystem=null;q.resolverFactory=this.resolverFactory;q.modifiedFiles=this.modifiedFiles;q.removedFiles=this.removedFiles;q.fileTimestamps=this.fileTimestamps;q.contextTimestamps=this.contextTimestamps;q.fsStartTime=this.fsStartTime;q.cache=this.cache;q.compilerPath=`${this.compilerPath}${N}|${R}|`;q._backCompat=this._backCompat;const G=Ge(this.context,N,this.root);if(!this.records[G]){this.records[G]=[]}if(this.records[G][R]){q.records=this.records[G][R]}else{this.records[G].push(q.records={})}q.parentCompilation=E;q.root=this.root;if(Array.isArray($)){for(const E of $){E.apply(q)}}for(const E in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(E)){if(q.hooks[E]){q.hooks[E].taps=this.hooks[E].taps.slice()}}}E.hooks.childCompiler.call(q,N,R);return q}isChild(){return!!this.parentCompilation}createCompilation(E){this._cleanupLastCompilation();return this._lastCompilation=new we(this,E)}newCompilation(E){const N=this.createCompilation(E);N.name=this.name;N.records=this.records;this.hooks.thisCompilation.call(N,E);this.hooks.compilation.call(N,E);return N}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const E=new Le({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=E;this.hooks.normalModuleFactory.call(E);return E}createContextModuleFactory(){const E=new Ne(this.resolverFactory);this.hooks.contextModuleFactory.call(E);return E}newCompilationParams(){const E={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return E}compile(E){const N=this.newCompilationParams();this.hooks.beforeCompile.callAsync(N,(R=>{if(R)return E(R);this.hooks.compile.call(N);const j=this.newCompilation(N);const $=j.getLogger("webpack.Compiler");$.time("make hook");this.hooks.make.callAsync(j,(N=>{$.timeEnd("make hook");if(N)return E(N);$.time("finish make hook");this.hooks.finishMake.callAsync(j,(N=>{$.timeEnd("finish make hook");if(N)return E(N);process.nextTick((()=>{$.time("finish compilation");j.finish((N=>{$.timeEnd("finish compilation");if(N)return E(N);$.time("seal compilation");j.seal((N=>{$.timeEnd("seal compilation");if(N)return E(N);$.time("afterCompile hook");this.hooks.afterCompile.callAsync(j,(N=>{$.timeEnd("afterCompile hook");if(N)return E(N);return E(null,j)}))}))}))}))}))}))}))}close(E){if(this.watching){this.watching.close((N=>{this.close(E)}));return}this.hooks.shutdown.callAsync((N=>{if(N)return E(N);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(E)}))}}E.exports=Compiler},77294:E=>{"use strict";const N=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const R="__WEBPACK_DEFAULT_EXPORT__";const j="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(E,N){this._currentModule=N;if(Array.isArray(E)){const N=new Map;for(const R of E){N.set(R.module,R)}E=N}this._modulesMap=E}isModuleInScope(E){return this._modulesMap.has(E)}registerExport(E,N){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(E)){this._currentModule.exportMap.set(E,N)}}registerRawExport(E,N){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(E)){this._currentModule.rawExportMap.set(E,N)}}registerNamespaceExport(E){this._currentModule.namespaceExportSymbol=E}createModuleReference(E,{ids:N=undefined,call:R=false,directImport:j=false,asiSafe:$=false}){const q=this._modulesMap.get(E);const G=R?"_call":"";const ie=j?"_directImport":"";const ae=$?"_asiSafe1":$===false?"_asiSafe0":"";const ce=N?Buffer.from(JSON.stringify(N),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${q.index}_${ce}${G}${ie}${ae}__._`}static isModuleReference(E){return N.test(E)}static matchModuleReference(E){const R=N.exec(E);if(!R)return null;const j=+R[1];const $=R[5];return{index:j,ids:R[2]==="ns"?[]:JSON.parse(Buffer.from(R[2],"hex").toString("utf-8")),call:!!R[3],directImport:!!R[4],asiSafe:$?$==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=R;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=j;E.exports=ConcatenationScope},27310:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class ConcurrentCompilationError extends j{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$}=R(48135);const q=R(63272);const G=R(58159);const{mergeRuntime:ie}=R(37416);const wrapInCondition=(E,N)=>{if(typeof N==="string"){return G.asString([`if (${E}) {`,G.indent(N),"}",""])}else{return new j(`if (${E}) {\n`,new $("\t",N),"}\n")}};class ConditionalInitFragment extends q{constructor(E,N,R,j,$=true,q){super(E,N,R,j,q);this.runtimeCondition=$}getContent(E){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const N=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(N==="true")return this.content;return wrapInCondition(N,this.content)}getEndContent(E){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const N=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(N==="true")return this.endContent;return wrapInCondition(N,this.endContent)}merge(E){if(this.runtimeCondition===true)return this;if(E.runtimeCondition===true)return E;if(this.runtimeCondition===false)return E;if(E.runtimeCondition===false)return this;const N=ie(this.runtimeCondition,E.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,N,this.endContent)}}E.exports=ConditionalInitFragment},40552:(E,N,R)=>{"use strict";const j=R(59455);const $=R(66298);const{evaluateToString:q}=R(48472);const{parseResource:G}=R(49197);const collectDeclaration=(E,N)=>{const R=[N];while(R.length>0){const N=R.pop();switch(N.type){case"Identifier":E.add(N.name);break;case"ArrayPattern":for(const E of N.elements){if(E){R.push(E)}}break;case"AssignmentPattern":R.push(N.left);break;case"ObjectPattern":for(const E of N.properties){R.push(E.value)}break;case"RestElement":R.push(N.argument);break}}};const getHoistedDeclarations=(E,N)=>{const R=new Set;const j=[E];while(j.length>0){const E=j.pop();if(!E)continue;switch(E.type){case"BlockStatement":for(const N of E.body){j.push(N)}break;case"IfStatement":j.push(E.consequent);j.push(E.alternate);break;case"ForStatement":j.push(E.init);j.push(E.body);break;case"ForInStatement":case"ForOfStatement":j.push(E.left);j.push(E.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":j.push(E.body);break;case"SwitchStatement":for(const N of E.cases){for(const E of N.consequent){j.push(E)}}break;case"TryStatement":j.push(E.block);if(E.handler){j.push(E.handler.body)}j.push(E.finalizer);break;case"FunctionDeclaration":if(N){collectDeclaration(R,E.id)}break;case"VariableDeclaration":if(E.kind==="var"){for(const N of E.declarations){collectDeclaration(R,N.id)}}break}}return Array.from(R)};class ConstPlugin{apply(E){const N=G.bindCache(E.root);E.hooks.compilation.tap("ConstPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set($,new $.Template);E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.statementIf.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;const R=E.evaluateExpression(N.test);const j=R.asBool();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()){const q=new $(`${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.test)}const q=j?N.alternate:N.consequent;if(q){let N;if(E.scope.isStrict){N=getHoistedDeclarations(q,false)}else{N=getHoistedDeclarations(q,true)}let R;if(N.length>0){R=`{ var ${N.join(", ")}; }`}else{R="{}"}const j=new $(R,q.range);j.loc=q.loc;E.state.module.addPresentationalDependency(j)}return j}}));E.hooks.expressionConditionalOperator.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;const R=E.evaluateExpression(N.test);const j=R.asBool();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()){const q=new $(` ${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.test)}const q=j?N.alternate:N.consequent;const G=new $("0",q.range);G.loc=q.loc;E.state.module.addPresentationalDependency(G);return j}}));E.hooks.expressionLogicalOperator.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(N.operator==="&&"||N.operator==="||"){const R=E.evaluateExpression(N.left);const j=R.asBool();if(typeof j==="boolean"){const q=N.operator==="&&"&&j||N.operator==="||"&&!j;if(!R.couldHaveSideEffects()&&(R.isBoolean()||q)){const q=new $(` ${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.left)}if(!q){const R=new $("0",N.right.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R)}return q}}else if(N.operator==="??"){const R=E.evaluateExpression(N.left);const j=R&&R.asNullish();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()&&j){const j=new $(" null",R.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j)}else{const R=new $("0",N.right.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);E.walkExpression(N.left)}return j}}}));E.hooks.optionalChaining.tap("ConstPlugin",(N=>{const R=[];let j=N.expression;while(j.type==="MemberExpression"||j.type==="CallExpression"){if(j.type==="MemberExpression"){if(j.optional){R.push(j.object)}j=j.object}else{if(j.optional){R.push(j.callee)}j=j.callee}}while(R.length){const j=R.pop();const q=E.evaluateExpression(j);if(q&&q.asNullish()){const R=new $(" undefined",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}}}));E.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(N(E.state.module.resource).query)(R)}));E.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const $=new j(JSON.stringify(N(E.state.module.resource).query),R.range,"__resourceQuery");$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(N(E.state.module.resource).fragment)(R)}));E.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const $=new j(JSON.stringify(N(E.state.module.resource).fragment),R.range,"__resourceFragment");$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}))};R.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}E.exports=ConstPlugin},51709:E=>{"use strict";class ContextExclusionPlugin{constructor(E){this.negativeMatcher=E}apply(E){E.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(E=>{E.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(E=>E.filter((E=>!this.negativeMatcher.test(E)))))}))}}E.exports=ContextExclusionPlugin},58126:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(98221);const{makeWebpackError:G}=R(3728);const ie=R(53453);const ae=R(76150);const ce=R(58159);const le=R(81627);const{compareLocations:_e,concatComparators:Ee,compareSelect:Te,keepOriginalOrder:we,compareModulesById:Ie}=R(68673);const{contextify:Ne,parseResource:Me}=R(49197);const Le=R(56202);const Be={timestamp:true};const je=new Set(["javascript"]);class ContextModule extends ie{constructor(E,N){const R=Me(N?N.resource:"");const j=R.path;const $=N&&N.resourceQuery||R.query;const q=N&&N.resourceFragment||R.fragment;super("javascript/dynamic",j);this.resolveDependencies=E;this.options={...N,resource:j,resourceQuery:$,resourceFragment:q};if(N&&N.resolveOptions!==undefined){this.resolveOptions=N.resolveOptions}if(N&&typeof N.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return je}updateCacheModule(E){const N=E;this.resolveDependencies=N.resolveDependencies;this.options=N.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(E){return E.substring(1,E.length-1).replace(/!/g,"%21")}_createIdentifier(){let E=this.context;if(this.options.resourceQuery){E+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){E+=`|${this.options.resourceFragment}`}if(this.options.mode){E+=`|${this.options.mode}`}if(!this.options.recursive){E+="|nonrecursive"}if(this.options.addon){E+=`|${this.options.addon}`}if(this.options.regExp){E+=`|${this.options.regExp}`}if(this.options.include){E+=`|include: ${this.options.include}`}if(this.options.exclude){E+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){E+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){E+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){E+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){E+="|strict namespace object"}else if(this.options.namespaceObject){E+="|namespace object"}return E}identifier(){return this._identifier}readableIdentifier(E){let N=E.shorten(this.context)+"/";if(this.options.resourceQuery){N+=` ${this.options.resourceQuery}`}if(this.options.mode){N+=` ${this.options.mode}`}if(!this.options.recursive){N+=" nonrecursive"}if(this.options.addon){N+=` ${E.shorten(this.options.addon)}`}if(this.options.regExp){N+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){N+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){N+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){N+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}if(this.options.chunkName){N+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const E=this.options.groupOptions;for(const R of Object.keys(E)){N+=` ${R}: ${E[R]}`}}if(this.options.namespaceObject==="strict"){N+=" strict namespace object"}else if(this.options.namespaceObject){N+=" namespace object"}return N}libIdent(E){let N=Ne(E.context,this.context,E.associatedObjectForCache);if(this.options.mode){N+=` ${this.options.mode}`}if(this.options.recursive){N+=" recursive"}if(this.options.addon){N+=` ${Ne(E.context,this.options.addon,E.associatedObjectForCache)}`}if(this.options.regExp){N+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){N+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){N+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){N+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}return N}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E},N){if(this._forceBuild)return N(null,true);if(!this.buildInfo.snapshot)return N(null,true);E.checkSnapshotValid(this.buildInfo.snapshot,((E,R)=>{N(E,!R)}))}build(E,N,R,j,$){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ie=Date.now();this.resolveDependencies(j,this.options,((E,R)=>{if(E){return $(G(E,"ContextModule.resolveDependencies"))}if(!R){$();return}for(const E of R){E.loc={name:E.userRequest};E.request=this.options.addon+E.request}R.sort(Ee(Te((E=>E.loc),_e),we(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=R}else if(this.options.mode==="lazy-once"){if(R.length>0){const E=new q({...this.options.groupOptions,name:this.options.chunkName});for(const N of R){E.addDependency(N)}this.addBlock(E)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const E of R){E.weak=true}this.dependencies=R}else if(this.options.mode==="lazy"){let E=0;for(const N of R){let R=this.options.chunkName;if(R){if(!/\[(index|request)\]/.test(R)){R+="[index]"}R=R.replace(/\[index\]/g,`${E++}`);R=R.replace(/\[request\]/g,ce.toPath(N.userRequest))}const j=new q({...this.options.groupOptions,name:R},N.loc,N.userRequest);j.addDependency(N);this.addBlock(j)}}else{$(new le(`Unsupported mode "${this.options.mode}" in context`));return}N.fileSystemInfo.createSnapshot(ie,null,[this.context],null,Be,((E,N)=>{if(E)return $(E);this.buildInfo.snapshot=N;$()}))}))}addCacheDependencies(E,N,R,j){N.add(this.context)}getUserRequestMap(E,N){const R=N.moduleGraph;const j=E.filter((E=>R.getModule(E))).sort(((E,N)=>{if(E.userRequest===N.userRequest){return 0}return E.userRequest<N.userRequest?-1:1}));const $=Object.create(null);for(const E of j){const j=R.getModule(E);$[E.userRequest]=N.getModuleId(j)}return $}getFakeMap(E,N){if(!this.options.namespaceObject){return 9}const R=N.moduleGraph;let j=0;const $=Ie(N);const q=E.map((E=>R.getModule(E))).filter(Boolean).sort($);const G=Object.create(null);for(const E of q){const $=E.getExportsType(R,this.options.namespaceObject==="strict");const q=N.getModuleId(E);switch($){case"namespace":G[q]=9;j|=1;break;case"dynamic":G[q]=7;j|=2;break;case"default-only":G[q]=1;j|=4;break;case"default-with-named":G[q]=3;j|=8;break;default:throw new Error(`Unexpected exports type ${$}`)}}if(j===1){return 9}if(j===2){return 7}if(j===4){return 1}if(j===8){return 3}if(j===0){return 9}return G}getFakeMapInitStatement(E){return typeof E==="object"?`var fakeMap = ${JSON.stringify(E,null,"\t")};`:""}getReturn(E,N){if(E===9){return"__webpack_require__(id)"}return`${ae.createFakeNamespaceObject}(id, ${E}${N?" | 16":""})`}getReturnModuleObjectSource(E,N,R="fakeMap[id]"){if(typeof E==="number"){return`return ${this.getReturn(E,N)};`}return`return ${ae.createFakeNamespaceObject}(id, ${R}${N?" | 16":""})`}getSyncSource(E,N,R){const j=this.getUserRequestMap(E,R);const $=this.getFakeMap(E,R);const q=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(N)};`}getWeakSyncSource(E,N,R){const j=this.getUserRequestMap(E,R);const $=this.getFakeMap(E,R);const q=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ae.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=j.supportsArrowFunction();const q=this.getUserRequestMap(E,R);const G=this.getFakeMap(E,R);const ie=this.getReturnModuleObjectSource(G,true);return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${$?"id =>":"function(id)"} {\n\t\tif(!${ae.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ie}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=j.supportsArrowFunction();const q=this.getUserRequestMap(E,R);const G=this.getFakeMap(E,R);const ie=G!==9?`${$?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(G)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ie});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(E,N,R,{runtimeTemplate:j,chunkGraph:$}){const q=j.blockPromise({chunkGraph:$,block:E,message:"lazy-once context",runtimeRequirements:new Set});const G=j.supportsArrowFunction();const ie=this.getUserRequestMap(N,$);const ce=this.getFakeMap(N,$);const le=ce!==9?`${G?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ce,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ie,null,"\t")};\n${this.getFakeMapInitStatement(ce)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${le});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${q}.then(${G?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getLazySource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=R.moduleGraph;const q=j.supportsArrowFunction();let G=false;let ie=true;const ce=this.getFakeMap(E.map((E=>E.dependencies[0])),R);const le=typeof ce==="object";const _e=E.map((E=>{const N=E.dependencies[0];return{dependency:N,module:$.getModule(N),block:E,userRequest:N.userRequest,chunks:undefined}})).filter((E=>E.module));for(const E of _e){const N=R.getBlockChunkGroup(E.block);const j=N&&N.chunks||[];E.chunks=j;if(j.length>0){ie=false}if(j.length!==1){G=true}}const Ee=ie&&!le;const Te=_e.sort(((E,N)=>{if(E.userRequest===N.userRequest)return 0;return E.userRequest<N.userRequest?-1:1}));const we=Object.create(null);for(const E of Te){const N=R.getModuleId(E.module);if(Ee){we[E.userRequest]=N}else{const R=[N];if(le){R.push(ce[N])}we[E.userRequest]=R.concat(E.chunks.map((E=>E.id)))}}const Ie=le?2:1;const Ne=ie?"Promise.resolve()":G?`Promise.all(ids.slice(${Ie}).map(${ae.ensureChunk}))`:`${ae.ensureChunk}(ids[${Ie}])`;const Me=this.getReturnModuleObjectSource(ce,true,Ee?"invalid":"ids[1]");const Le=Ne==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${Ee?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Me}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Ne}.then(${q?"() =>":"function()"} {\n\t\t${Me}\n\t});\n}`;return`var map = ${JSON.stringify(we,null,"\t")};\n${Le}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(E,N){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${N.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(E,N){const R=N.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${R?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${N.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(E,{runtimeTemplate:N,chunkGraph:R}){const j=R.getModuleId(this);if(E==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,j,{runtimeTemplate:N,chunkGraph:R})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,j,{chunkGraph:R,runtimeTemplate:N})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="lazy-once"){const E=this.blocks[0];if(E){return this.getLazyOnceSource(E,E.dependencies,j,{runtimeTemplate:N,chunkGraph:R})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,j,{chunkGraph:R,runtimeTemplate:N})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,j,R)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,j,R)}return this.getSourceForEmptyContext(j,N)}getSource(E){if(this.useSourceMap||this.useSimpleSourceMap){return new j(E,this.identifier())}return new $(E)}codeGeneration(E){const{chunkGraph:N}=E;const R=new Map;R.set("javascript",this.getSource(this.getSourceString(this.options.mode,E)));const j=new Set;const $=this.dependencies.concat(this.blocks.map((E=>E.dependencies[0])));j.add(ae.module);j.add(ae.hasOwnProperty);if($.length>0){const E=this.options.mode;j.add(ae.require);if(E==="weak"){j.add(ae.moduleFactories)}else if(E==="async-weak"){j.add(ae.moduleFactories);j.add(ae.ensureChunk)}else if(E==="lazy"||E==="lazy-once"){j.add(ae.ensureChunk)}if(this.getFakeMap($,N)!==9){j.add(ae.createFakeNamespaceObject)}}return{sources:R,runtimeRequirements:j}}size(E){let N=160;for(const E of this.dependencies){const R=E;N+=5+R.userRequest.length}return N}serialize(E){const{write:N}=E;N(this._identifier);N(this._forceBuild);super.serialize(E)}deserialize(E){const{read:N}=E;this._identifier=N();this._forceBuild=N();super.deserialize(E)}}Le(ContextModule,"webpack/lib/ContextModule");E.exports=ContextModule},89869:(E,N,R)=>{"use strict";const j=R(62355);const{AsyncSeriesWaterfallHook:$,SyncWaterfallHook:q}=R(92960);const G=R(58126);const ie=R(40674);const ae=R(90872);const ce=R(83379);const{cachedSetProperty:le}=R(90149);const{createFakeHook:_e}=R(16595);const{join:Ee}=R(95396);const Te={};E.exports=class ContextModuleFactory extends ie{constructor(E){super();const N=new $(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new $(["data"]),afterResolve:new $(["data"]),contextModuleFiles:new q(["files"]),alternatives:_e({name:"alternatives",intercept:E=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(E,R)=>{N.tap(E,R)},tapAsync:(E,R)=>{N.tapAsync(E,((E,N,j)=>R(E,j)))},tapPromise:(E,R)=>{N.tapPromise(E,R)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:N});this.resolverFactory=E}create(E,N){const R=E.context;const $=E.dependencies;const q=E.resolveOptions;const ie=$[0];const ae=new ce;const _e=new ce;const Ee=new ce;this.hooks.beforeResolve.callAsync({context:R,dependencies:$,resolveOptions:q,fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee,...ie.options},((E,R)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}if(!R){return N(null,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}const q=R.context;const ie=R.request;const ce=R.resolveOptions;let we,Ie,Ne="";const Me=ie.lastIndexOf("!");if(Me>=0){let E=ie.substr(0,Me+1);let N;for(N=0;N<E.length&&E[N]==="!";N++){Ne+="!"}E=E.substr(N).replace(/!+$/,"").replace(/!!+/g,"!");if(E===""){we=[]}else{we=E.split("!")}Ie=ie.substr(Me+1)}else{we=[];Ie=ie}const Le=this.resolverFactory.get("context",$.length>0?le(ce||Te,"dependencyType",$[0].category):ce);const Be=this.resolverFactory.get("loader");j.parallel([E=>{Le.resolve({},q,Ie,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee},((N,R)=>{if(N)return E(N);E(null,R)}))},E=>{j.map(we,((E,N)=>{Be.resolve({},q,E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee},((E,R)=>{if(E)return N(E);N(null,R)}))}),E)}],((E,j)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}this.hooks.afterResolve.callAsync({addon:Ne+j[1].join("!")+(j[1].length>0?"!":""),resource:j[0],resolveDependencies:this.resolveDependencies.bind(this),...R},((E,R)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}if(!R){return N(null,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}return N(null,{module:new G(R.resolveDependencies,R),fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}))}))}))}resolveDependencies(E,N,R){const $=this;const{resource:q,resourceQuery:G,resourceFragment:ie,recursive:ce,regExp:le,include:_e,exclude:Te,referencedExports:we,category:Ie,typePrefix:Ne}=N;if(!le||!q)return R(null,[]);const addDirectoryChecked=(N,R,j)=>{E.realpath(N,((E,$)=>{if(E)return j(E);if(R.has($))return j(null,[]);let q;addDirectory(N,((E,N)=>{if(q===undefined){q=new Set(R);q.add($)}addDirectoryChecked(E,q,N)}),j)}))};const addDirectory=(R,Me,Le)=>{E.readdir(R,((Be,je)=>{if(Be)return Le(Be);const Ue=$.hooks.contextModuleFiles.call(je.map((E=>E.normalize("NFC"))));if(!Ue||Ue.length===0)return Le(null,[]);j.map(Ue.filter((E=>E.indexOf(".")!==0)),((j,$)=>{const Le=Ee(E,R,j);if(!Te||!Le.match(Te)){E.stat(Le,((E,R)=>{if(E){if(E.code==="ENOENT"){return $()}else{return $(E)}}if(R.isDirectory()){if(!ce)return $();Me(Le,$)}else if(R.isFile()&&(!_e||Le.match(_e))){const E={context:q,request:"."+Le.substr(q.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([E],N,((E,N)=>{if(E)return $(E);N=N.filter((E=>le.test(E.request))).map((E=>{const N=new ae(E.request+G+ie,E.request,Ne,Ie,we);N.optional=true;return N}));$(null,N)}))}else{$()}}))}else{$()}}),((E,N)=>{if(E)return Le(E);if(!N)return Le(null,[]);const R=[];for(const E of N){if(E)R.push(...E)}Le(null,R)}))}))};if(typeof E.realpath==="function"){addDirectoryChecked(q,new Set,R)}else{const addSubDirectory=(E,N)=>addDirectory(E,addSubDirectory,N);addDirectory(q,addSubDirectory,R)}}}},26552:(E,N,R)=>{"use strict";const j=R(90872);const{join:$}=R(95396);class ContextReplacementPlugin{constructor(E,N,R,j){this.resourceRegExp=E;if(typeof N==="function"){this.newContentCallback=N}else if(typeof N==="string"&&typeof R==="object"){this.newContentResource=N;this.newContentCreateContextMap=(E,N)=>{N(null,R)}}else if(typeof N==="string"&&typeof R==="function"){this.newContentResource=N;this.newContentCreateContextMap=R}else{if(typeof N!=="string"){j=R;R=N;N=undefined}if(typeof R!=="boolean"){j=R;R=undefined}this.newContentResource=N;this.newContentRecursive=R;this.newContentRegExp=j}}apply(E){const N=this.resourceRegExp;const R=this.newContentCallback;const j=this.newContentResource;const q=this.newContentRecursive;const G=this.newContentRegExp;const ie=this.newContentCreateContextMap;E.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(E=>{if(!E)return;if(N.test(E.request)){if(j!==undefined){E.request=j}if(q!==undefined){E.recursive=q}if(G!==undefined){E.regExp=G}if(typeof R==="function"){R(E)}else{for(const N of E.dependencies){if(N.critical)N.critical=false}}}return E}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(N.test(ae.resource)){if(j!==undefined){if(j.startsWith("/")||j.length>1&&j[1]===":"){ae.resource=j}else{ae.resource=$(E.inputFileSystem,ae.resource,j)}}if(q!==undefined){ae.recursive=q}if(G!==undefined){ae.regExp=G}if(typeof ie==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(ie)}if(typeof R==="function"){const N=ae.resource;R(ae);if(ae.resource!==N&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=$(E.inputFileSystem,N,ae.resource)}}else{for(const E of ae.dependencies){if(E.critical)E.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=E=>{const resolveDependenciesFromContextMap=(N,R,$)=>{E(N,((E,N)=>{if(E)return $(E);const q=Object.keys(N).map((E=>new j(N[E]+R.resourceQuery+R.resourceFragment,E,R.category,R.referencedExports)));$(null,q)}))};return resolveDependenciesFromContextMap};E.exports=ContextReplacementPlugin},24820:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const q=R(66298);const G=R(87250);const{evaluateToString:ie,toConstantDependency:ae}=R(48472);const ce=R(35891);class RuntimeValue{constructor(E,N){this.fn=E;if(Array.isArray(N)){N={fileDependencies:N}}this.options=N||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(E,N,R){const j=E.state.module.buildInfo;if(this.options===true){j.cacheable=false}else{if(this.options.fileDependencies){for(const E of this.options.fileDependencies){j.fileDependencies.add(E)}}if(this.options.contextDependencies){for(const E of this.options.contextDependencies){j.contextDependencies.add(E)}}if(this.options.missingDependencies){for(const E of this.options.missingDependencies){j.missingDependencies.add(E)}}if(this.options.buildDependencies){for(const E of this.options.buildDependencies){j.buildDependencies.add(E)}}}return this.fn({module:E.state.module,key:R,get version(){return N.get(le+R)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(E,N,R,j,$,q)=>{let G;let ie=Array.isArray(E);if(ie){G=`[${E.map((E=>toCode(E,N,R,j,$,null))).join(",")}]`}else{G=`{${Object.keys(E).map((j=>{const q=E[j];return JSON.stringify(j)+":"+toCode(q,N,R,j,$,null)})).join(",")}}`}switch(q){case null:return G;case true:return ie?G:`(${G})`;case false:return ie?`;${G}`:`;(${G})`;default:return`/*#__PURE__*/Object(${G})`}};const toCode=(E,N,R,j,$,q)=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return toCode(E.exec(N,R,j),N,R,j,$,q)}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){return stringifyObj(E,N,R,j,$,q)}if(typeof E==="bigint"){return $.supportsBigIntLiteral()?`${E}n`:`BigInt("${E}")`}return E+""};const toCacheVersion=E=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return E.getCacheVersion()}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){const N=Object.keys(E).map((N=>({key:N,value:toCacheVersion(E[N])})));if(N.some((({value:E})=>E===undefined)))return undefined;return`{${N.map((({key:E,value:N})=>`${E}: ${N}`)).join(", ")}}`}if(typeof E==="bigint"){return`${E}n`}return E+""};const le="webpack/DefinePlugin ";const _e="webpack/DefinePlugin_hash";class DefinePlugin{constructor(E){this.definitions=E}static runtimeValue(E,N){return new RuntimeValue(E,N)}apply(E){const N=this.definitions;E.hooks.compilation.tap("DefinePlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);const{runtimeTemplate:Ee}=E;const Te=ce(E.outputOptions.hashFunction);Te.update(E.valueCacheVersions.get(_e)||"");const handler=R=>{const $=E.valueCacheVersions.get(_e);R.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:E}=R.state.module;if(!E.valueDependencies)E.valueDependencies=new Map;E.valueDependencies.set(_e,$)}));const addValueDependency=N=>{const{buildInfo:j}=R.state.module;j.valueDependencies.set(le+N,E.valueCacheVersions.get(le+N))};const withValueDependency=(E,N)=>(...R)=>{addValueDependency(E);return N(...R)};const walkDefinitions=(E,N)=>{Object.keys(E).forEach((R=>{const j=E[R];if(j&&typeof j==="object"&&!(j instanceof RuntimeValue)&&!(j instanceof RegExp)){walkDefinitions(j,N+R+".");applyObjectDefine(N+R,j);return}applyDefineKey(N,R);applyDefine(N+R,j)}))};const applyDefineKey=(E,N)=>{const j=N.split(".");j.slice(1).forEach((($,q)=>{const G=E+j.slice(0,q+1).join(".");R.hooks.canRename.for(G).tap("DefinePlugin",(()=>{addValueDependency(N);return true}))}))};const applyDefine=(N,$)=>{const q=N;const G=/^typeof\s+/.test(N);if(G)N=N.replace(/^typeof\s+/,"");let ie=false;let ce=false;if(!G){R.hooks.canRename.for(N).tap("DefinePlugin",(()=>{addValueDependency(q);return true}));R.hooks.evaluateIdentifier.for(N).tap("DefinePlugin",(j=>{if(ie)return;addValueDependency(q);ie=true;const G=R.evaluate(toCode($,R,E.valueCacheVersions,N,Ee,null));ie=false;G.setRange(j.range);return G}));R.hooks.expression.for(N).tap("DefinePlugin",(N=>{addValueDependency(q);const G=toCode($,R,E.valueCacheVersions,q,Ee,!R.isAsiPosition(N.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(R,G,[j.require])(N)}else if(/__webpack_require__/.test(G)){return ae(R,G,[j.requireScope])(N)}else{return ae(R,G)(N)}}))}R.hooks.evaluateTypeof.for(N).tap("DefinePlugin",(N=>{if(ce)return;ce=true;addValueDependency(q);const j=toCode($,R,E.valueCacheVersions,q,Ee,null);const ie=G?j:"typeof ("+j+")";const ae=R.evaluate(ie);ce=false;ae.setRange(N.range);return ae}));R.hooks.typeof.for(N).tap("DefinePlugin",(N=>{addValueDependency(q);const j=toCode($,R,E.valueCacheVersions,q,Ee,null);const ie=G?j:"typeof ("+j+")";const ce=R.evaluate(ie);if(!ce.isString())return;return ae(R,JSON.stringify(ce.string)).bind(R)(N)}))};const applyObjectDefine=(N,$)=>{R.hooks.canRename.for(N).tap("DefinePlugin",(()=>{addValueDependency(N);return true}));R.hooks.evaluateIdentifier.for(N).tap("DefinePlugin",(E=>{addValueDependency(N);return(new G).setTruthy().setSideEffects(false).setRange(E.range)}));R.hooks.evaluateTypeof.for(N).tap("DefinePlugin",withValueDependency(N,ie("object")));R.hooks.expression.for(N).tap("DefinePlugin",(q=>{addValueDependency(N);const G=stringifyObj($,R,E.valueCacheVersions,N,Ee,!R.isAsiPosition(q.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(R,G,[j.require])(q)}else if(/__webpack_require__/.test(G)){return ae(R,G,[j.requireScope])(q)}else{return ae(R,G)(q)}}));R.hooks.typeof.for(N).tap("DefinePlugin",withValueDependency(N,ae(R,JSON.stringify("object"))))};walkDefinitions(N,"")};R.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(N,R)=>{Object.keys(N).forEach((j=>{const q=N[j];const G=toCacheVersion(q);const ie=le+R+j;Te.update("|"+R+j);const ae=E.valueCacheVersions.get(ie);if(ae===undefined){E.valueCacheVersions.set(ie,G)}else if(ae!==G){const N=new $(`DefinePlugin\nConflicting values for '${R+j}'`);N.details=`'${ae}' !== '${G}'`;N.hideStack=true;E.warnings.push(N)}if(q&&typeof q==="object"&&!(q instanceof RuntimeValue)&&!(q instanceof RegExp)){walkDefinitionsForValues(q,R+j+".")}}))};walkDefinitionsForValues(N,"");E.valueCacheVersions.set(_e,Te.digest("hex").slice(0,8))}))}}E.exports=DefinePlugin},3955:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(53453);const G=R(76150);const ie=R(49422);const ae=R(96076);const ce=R(56202);const le=new Set(["javascript"]);const _e=new Set([G.module,G.require]);class DelegatedModule extends q{constructor(E,N,R,j,$){super("javascript/dynamic",null);this.sourceRequest=E;this.request=N.id;this.delegationType=R;this.userRequest=j;this.originalRequest=$;this.delegateData=N;this.delegatedSourceDependency=undefined}getSourceTypes(){return le}libIdent(E){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(E)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(E){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ie(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ae(this.delegateData.exports||true,false));$()}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const q=this.dependencies[0];const G=N.getModule(q);let ie;if(!G){ie=E.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ie=`module.exports = (${E.moduleExports({module:G,chunkGraph:R,request:q.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ie+=`(${JSON.stringify(this.request)})`;break;case"object":ie+=`[${JSON.stringify(this.request)}]`;break}ie+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new j(ie,this.identifier()))}else{ae.set("javascript",new $(ie))}return{sources:ae,runtimeRequirements:_e}}size(E){return 42}updateHash(E,N){E.update(this.delegationType);E.update(JSON.stringify(this.request));super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.sourceRequest);N(this.delegateData);N(this.delegationType);N(this.userRequest);N(this.originalRequest);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new DelegatedModule(N(),N(),N(),N(),N());R.deserialize(E);return R}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.delegationType=N.delegationType;this.userRequest=N.userRequest;this.originalRequest=N.originalRequest;this.delegateData=N.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}ce(DelegatedModule,"webpack/lib/DelegatedModule");E.exports=DelegatedModule},56396:(E,N,R)=>{"use strict";const j=R(3955);class DelegatedModuleFactoryPlugin{constructor(E){this.options=E;E.type=E.type||"require";E.extensions=E.extensions||["",".js",".json",".wasm"]}apply(E){const N=this.options.scope;if(N){E.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((E,R)=>{const[$]=E.dependencies;const{request:q}=$;if(q&&q.startsWith(`${N}/`)){const E="."+q.substr(N.length);let $;if(E in this.options.content){$=this.options.content[E];return R(null,new j(this.options.source,$,this.options.type,E,q))}for(let N=0;N<this.options.extensions.length;N++){const G=this.options.extensions[N];const ie=E+G;if(ie in this.options.content){$=this.options.content[ie];return R(null,new j(this.options.source,$,this.options.type,ie,q+G))}}}return R()}))}else{E.hooks.module.tap("DelegatedModuleFactoryPlugin",(E=>{const N=E.libIdent(this.options);if(N){if(N in this.options.content){const R=this.options.content[N];return new j(this.options.source,R,this.options.type,N,E)}}return E}))}}}E.exports=DelegatedModuleFactoryPlugin},82354:(E,N,R)=>{"use strict";const j=R(56396);const $=R(49422);class DelegatedPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("DelegatedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,N)}));E.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:N})=>{new j({associatedObjectForCache:E.root,...this.options}).apply(N)}))}}E.exports=DelegatedPlugin},32448:(E,N,R)=>{"use strict";const j=R(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let E=this;while(E.parent)E=E.parent;return E}addBlock(E){this.blocks.push(E);E.parent=this}addDependency(E){this.dependencies.push(E)}removeDependency(E){const N=this.dependencies.indexOf(E);if(N>=0){this.dependencies.splice(N,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(E,N){for(const R of this.dependencies){R.updateHash(E,N)}for(const R of this.blocks){R.updateHash(E,N)}}serialize({write:E}){E(this.dependencies);E(this.blocks)}deserialize({read:E}){this.dependencies=E();this.blocks=E();for(const E of this.blocks){E.parent=this}}}j(DependenciesBlock,"webpack/lib/DependenciesBlock");E.exports=DependenciesBlock},28706:(E,N,R)=>{"use strict";const j=R(91671);const $=Symbol("transitive");const q=j((()=>{const E=R(22804);return new E("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const E={};if(this._locSL>0){E.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){E.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){E.name=this._locN}if(this._locI!==undefined){E.index=this._locI}return this._loc=E}set loc(E){if("start"in E&&typeof E.start==="object"){this._locSL=E.start.line||0;this._locSC=E.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in E&&typeof E.end==="object"){this._locEL=E.end.line||0;this._locEC=E.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in E){this._locI=E.index}else{this._locI=undefined}if("name"in E){this._locN=E.name}else{this._locN=undefined}this._loc=E}getResourceIdentifier(){return null}couldAffectReferencingModule(){return $}getReference(E){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(E,N){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(E){return null}getExports(E){return undefined}getWarnings(E){return null}getErrors(E){return null}updateHash(E,N){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(E){return true}createIgnoredModule(E){return q()}serialize({write:E}){E(this.weak);E(this.optional);E(this._locSL);E(this._locSC);E(this._locEL);E(this._locEC);E(this._locI);E(this._locN)}deserialize({read:E}){this.weak=E();this.optional=E();this._locSL=E();this._locSC=E();this._locEL=E();this._locEC=E();this._locI=E();this._locN=E()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=$;E.exports=Dependency},84304:(E,N,R)=>{"use strict";class DependencyTemplate{apply(E,N,j){const $=R(75884);throw new $}}E.exports=DependencyTemplate},46828:(E,N,R)=>{"use strict";const j=R(35891);class DependencyTemplates{constructor(E="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=E}get(E){return this._map.get(E)}set(E,N){this._map.set(E,N)}updateHash(E){const N=j(this._hashFunction);N.update(`${this._hash}${E}`);this._hash=N.digest("hex")}getHash(){return this._hash}clone(){const E=new DependencyTemplates;E._map=new Map(this._map);E._hash=this._hash;return E}}E.exports=DependencyTemplates},9013:(E,N,R)=>{"use strict";const j=R(80419);const $=R(95189);const q=R(66583);class DllEntryPlugin{constructor(E,N,R){this.context=E;this.entries=N;this.options=R}apply(E){E.hooks.compilation.tap("DllEntryPlugin",((E,{normalModuleFactory:N})=>{const R=new j;E.dependencyFactories.set($,R);E.dependencyFactories.set(q,N)}));E.hooks.make.tapAsync("DllEntryPlugin",((E,N)=>{E.addEntry(this.context,new $(this.entries.map(((E,N)=>{const R=new q(E);R.loc={name:this.options.name,index:N};return R})),this.options.name),this.options,N)}))}}E.exports=DllEntryPlugin},44593:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(56202);const ie=new Set(["javascript"]);const ae=new Set([q.require,q.module]);class DllModule extends ${constructor(E,N,R){super("javascript/dynamic",E);this.dependencies=N;this.name=R}getSourceTypes(){return ie}identifier(){return`dll ${this.name}`}readableIdentifier(E){return`dll ${this.name}`}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={};return $()}codeGeneration(E){const N=new Map;N.set("javascript",new j("module.exports = __webpack_require__;"));return{sources:N,runtimeRequirements:ae}}needBuild(E,N){return N(null,!this.buildMeta)}size(E){return 12}updateHash(E,N){E.update(`dll module${this.name||""}`);super.updateHash(E,N)}serialize(E){E.write(this.name);super.serialize(E)}deserialize(E){this.name=E.read();super.deserialize(E)}updateCacheModule(E){super.updateCacheModule(E);this.dependencies=E.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}G(DllModule,"webpack/lib/DllModule");E.exports=DllModule},80419:(E,N,R)=>{"use strict";const j=R(44593);const $=R(40674);class DllModuleFactory extends ${constructor(){super();this.hooks=Object.freeze({})}create(E,N){const R=E.dependencies[0];N(null,{module:new j(E.context,R.dependencies,R.name)})}}E.exports=DllModuleFactory},73887:(E,N,R)=>{"use strict";const j=R(9013);const $=R(6283);const q=R(77750);const G=R(35817);const ie=G(R(43548),(()=>R(28991)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(E){ie(E);this.options={...E,entryOnly:E.entryOnly!==false}}apply(E){E.hooks.entryOption.tap("DllPlugin",((N,R)=>{if(typeof R!=="function"){for(const $ of Object.keys(R)){const q={name:$,filename:R.filename};new j(N,R[$].import,q).apply(E)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new q(this.options).apply(E);if(!this.options.entryOnly){new $("DllPlugin").apply(E)}}}E.exports=DllPlugin},83515:(E,N,R)=>{"use strict";const j=R(78688);const $=R(56396);const q=R(59084);const G=R(81627);const ie=R(49422);const ae=R(35817);const ce=R(49197).makePathsRelative;const le=ae(R(69744),(()=>R(67138)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(E){le(E);this.options=E;this._compilationData=new WeakMap}apply(E){E.hooks.compilation.tap("DllReferencePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(ie,N)}));E.hooks.beforeCompile.tapAsync("DllReferencePlugin",((N,R)=>{if("manifest"in this.options){const $=this.options.manifest;if(typeof $==="string"){E.inputFileSystem.readFile($,((q,G)=>{if(q)return R(q);const ie={path:$,data:undefined,error:undefined};try{ie.data=j(G.toString("utf-8"))}catch(N){const R=ce(E.options.context,$,E.root);ie.error=new DllManifestError(R,N.message)}this._compilationData.set(N,ie);return R()}));return}}return R()}));E.hooks.compile.tap("DllReferencePlugin",(N=>{let R=this.options.name;let j=this.options.sourceType;let G="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let E=this.options.manifest;let $;if(typeof E==="string"){const E=this._compilationData.get(N);if(E.error){return}$=E.data}else{$=E}if($){if(!R)R=$.name;if(!j)j=$.type;if(!G)G=$.content}}const ie={};const ae="dll-reference "+R;ie[ae]=R;const ce=N.normalModuleFactory;new q(j||"var",ie).apply(ce);new $({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||E.options.context,content:G,extensions:this.options.extensions,associatedObjectForCache:E.root}).apply(ce)}));E.hooks.compilation.tap("DllReferencePlugin",((E,N)=>{if("manifest"in this.options){let R=this.options.manifest;if(typeof R==="string"){const j=this._compilationData.get(N);if(j.error){E.errors.push(j.error)}E.fileDependencies.add(R)}}}))}}class DllManifestError extends G{constructor(E,N){super();this.name="DllManifestError";this.message=`Dll manifest ${E}\n${N}`}}E.exports=DllReferencePlugin},85227:(E,N,R)=>{"use strict";const j=R(64699);const $=R(59674);const q=R(66583);class DynamicEntryPlugin{constructor(E,N){this.context=E;this.entry=N}apply(E){E.hooks.compilation.tap("DynamicEntryPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N)}));E.hooks.make.tapPromise("DynamicEntryPlugin",((N,R)=>Promise.resolve(this.entry()).then((R=>{const q=[];for(const G of Object.keys(R)){const ie=R[G];const ae=j.entryDescriptionToOptions(E,G,ie);for(const E of ie.import){q.push(new Promise(((R,j)=>{N.addEntry(this.context,$.createDependency(E,ae),ae,(E=>{if(E)return j(E);R()}))})))}}return Promise.all(q)})).then((E=>{}))))}}E.exports=DynamicEntryPlugin},64699:(E,N,R)=>{"use strict";class EntryOptionPlugin{apply(E){E.hooks.entryOption.tap("EntryOptionPlugin",((N,R)=>{EntryOptionPlugin.applyEntryOption(E,N,R);return true}))}static applyEntryOption(E,N,j){if(typeof j==="function"){const $=R(85227);new $(N,j).apply(E)}else{const $=R(59674);for(const R of Object.keys(j)){const q=j[R];const G=EntryOptionPlugin.entryDescriptionToOptions(E,R,q);for(const R of q.import){new $(N,R,G).apply(E)}}}}static entryDescriptionToOptions(E,N,j){const $={name:N,filename:j.filename,runtime:j.runtime,layer:j.layer,dependOn:j.dependOn,publicPath:j.publicPath,chunkLoading:j.chunkLoading,wasmLoading:j.wasmLoading,library:j.library};if(j.layer!==undefined&&!E.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(j.chunkLoading){const N=R(50369);N.checkEnabled(E,j.chunkLoading)}if(j.wasmLoading){const N=R(69085);N.checkEnabled(E,j.wasmLoading)}if(j.library){const N=R(13984);N.checkEnabled(E,j.library.type)}return $}}E.exports=EntryOptionPlugin},59674:(E,N,R)=>{"use strict";const j=R(66583);class EntryPlugin{constructor(E,N,R){this.context=E;this.entry=N;this.options=R||""}apply(E){E.hooks.compilation.tap("EntryPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N)}));const{entry:N,options:R,context:$}=this;const q=EntryPlugin.createDependency(N,R);E.hooks.make.tapAsync("EntryPlugin",((E,N)=>{E.addEntry($,q,R,(E=>{N(E)}))}))}static createDependency(E,N){const R=new j(E);R.loc={name:typeof N==="object"?N.name:N};return R}}E.exports=EntryPlugin},71452:(E,N,R)=>{"use strict";const j=R(84558);class Entrypoint extends j{constructor(E,N=true){if(typeof E==="string"){E={name:E}}super({name:E.name});this.options=E;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=N}isInitial(){return this._initial}setRuntimeChunk(E){this._runtimeChunk=E}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const E of this.parentsIterable){if(E instanceof Entrypoint)return E.getRuntimeChunk()}return null}setEntrypointChunk(E){this._entrypointChunk=E}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(E,N){if(this._runtimeChunk===E)this._runtimeChunk=N;if(this._entrypointChunk===E)this._entrypointChunk=N;return super.replaceChunk(E,N)}}E.exports=Entrypoint},64856:(E,N,R)=>{"use strict";const j=R(24820);const $=R(81627);class EnvironmentPlugin{constructor(...E){if(E.length===1&&Array.isArray(E[0])){this.keys=E[0];this.defaultValues={}}else if(E.length===1&&E[0]&&typeof E[0]==="object"){this.keys=Object.keys(E[0]);this.defaultValues=E[0]}else{this.keys=E;this.defaultValues={}}}apply(E){const N={};for(const R of this.keys){const j=process.env[R]!==undefined?process.env[R]:this.defaultValues[R];if(j===undefined){E.hooks.thisCompilation.tap("EnvironmentPlugin",(E=>{const N=new $(`EnvironmentPlugin - ${R} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");N.name="EnvVariableNotDefinedError";E.errors.push(N)}))}N[`process.env.${R}`]=j===undefined?"undefined":JSON.stringify(j)}new j(N).apply(E)}}E.exports=EnvironmentPlugin},50717:(E,N)=>{"use strict";const R="LOADER_EXECUTION";const j="WEBPACK_OPTIONS";N.cutOffByFlag=(E,N)=>{E=E.split("\n");for(let R=0;R<E.length;R++){if(E[R].includes(N)){E.length=R}}return E.join("\n")};N.cutOffLoaderExecution=E=>N.cutOffByFlag(E,R);N.cutOffWebpackOptions=E=>N.cutOffByFlag(E,j);N.cutOffMultilineMessage=(E,N)=>{E=E.split("\n");N=N.split("\n");const R=[];E.forEach(((E,j)=>{if(!E.includes(N[j]))R.push(E)}));return R.join("\n")};N.cutOffMessage=(E,N)=>{const R=E.indexOf("\n");if(R===-1){return E===N?"":E}else{const j=E.substr(0,R);return j===N?E.substr(R+1):E}};N.cleanUp=(E,R)=>{E=N.cutOffLoaderExecution(E);E=N.cutOffMessage(E,R);return E};N.cleanUpWebpackOptions=(E,R)=>{E=N.cutOffWebpackOptions(E);E=N.cutOffMultilineMessage(E,R);return E}},91331:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(16734);const G=R(70354);const ie=R(18161);const ae=new WeakMap;const ce=new $(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(E){this.namespace=E.namespace||"";this.sourceUrlComment=E.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(E){E.hooks.compilation.tap("EvalDevToolModulePlugin",(E=>{const N=ie.getCompilationHooks(E);N.renderModuleContent.tap("EvalDevToolModulePlugin",((N,R,{runtimeTemplate:j,chunkGraph:ie})=>{const ce=ae.get(N);if(ce!==undefined)return ce;if(R instanceof q){ae.set(N,N);return N}const le=N.source();const _e=G.createFilename(R,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:j.requestShortener,chunkGraph:ie,hashFunction:E.outputOptions.hashFunction});const Ee="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(_e).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Te=new $(`eval(${JSON.stringify(le+Ee)});`);ae.set(N,Te);return Te}));N.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));N.render.tap("EvalDevToolModulePlugin",(E=>new j(ce,E)));N.chunkHash.tap("EvalDevToolModulePlugin",((E,N)=>{N.update("EvalDevToolModulePlugin");N.update("2")}))}))}}E.exports=EvalDevToolModulePlugin},23641:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(70354);const G=R(53520);const ie=R(26867);const ae=R(18161);const ce=R(95734);const{makePathsAbsolute:le}=R(49197);const _e=new WeakMap;const Ee=new $(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(E){let N;if(typeof E==="string"){N={append:E}}else{N=E}this.sourceMapComment=N.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=N.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=N.namespace||"";this.options=N}apply(E){const N=this.options;E.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(R=>{const Te=ae.getCompilationHooks(R);new ie(N).apply(R);const we=q.matchObject.bind(q,N);Te.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((j,ie,{runtimeTemplate:ae,chunkGraph:Ee})=>{const Te=_e.get(j);if(Te!==undefined){return Te}const result=E=>{_e.set(j,E);return E};if(ie instanceof G){const E=ie;if(!we(E.resource)){return result(j)}}else if(ie instanceof ce){const E=ie;if(E.rootModule instanceof G){const N=E.rootModule;if(!we(N.resource)){return result(j)}}else{return result(j)}}else{return result(j)}let Ie;let Ne;if(j.sourceAndMap){const E=j.sourceAndMap(N);Ie=E.map;Ne=E.source}else{Ie=j.map(N);Ne=j.source()}if(!Ie){return result(j)}Ie={...Ie};const Me=E.options.context;const Le=E.root;const Be=Ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=le(Me,E.slice(10),Le);const N=R.findModule(E);return N||E}));let je=Be.map((E=>q.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:Ee,hashFunction:R.outputOptions.hashFunction})));je=q.replaceDuplicates(je,((E,N,R)=>{for(let N=0;N<R;N++)E+="*";return E}));Ie.sources=je;Ie.sourceRoot=N.sourceRoot||"";const Ue=Ee.getModuleId(ie);Ie.file=`${Ue}.js`;const ze=this.sourceMapComment.replace(/\[url\]/g,`data:application/json;charset=utf-8;base64,${Buffer.from(JSON.stringify(Ie),"utf8").toString("base64")}`)+`\n//# sourceURL=webpack-internal:///${Ue}\n`;return result(new $(`eval(${JSON.stringify(Ne+ze)});`))}));Te.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval-source-map devtool is used."));Te.render.tap("EvalSourceMapDevToolPlugin",(E=>new j(Ee,E)));Te.chunkHash.tap("EvalSourceMapDevToolPlugin",((E,N)=>{N.update("EvalSourceMapDevToolPlugin");N.update("2")}))}))}}E.exports=EvalSourceMapDevToolPlugin},76632:(E,N,R)=>{"use strict";const{equals:j}=R(73910);const $=R(16102);const q=R(56202);const{forEachRuntime:G}=R(37416);const ie=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(E,N,R,j){this.exports=E;this.otherProvided=N;this.otherCanMangleProvide=R;this.otherTerminalBinding=j}serialize({write:E}){E(this.exports);E(this.otherProvided);E(this.otherCanMangleProvide);E(this.otherTerminalBinding)}static deserialize({read:E}){return new RestoreProvidedData(E(),E(),E(),E())}}q(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const E=new Map(this._redirectTo._exports);for(const[N,R]of this._exports){E.set(N,R)}return E.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const E=new Map(Array.from(this._redirectTo.orderedExports,(E=>[E.name,E])));for(const[N,R]of this._exports){E.set(N,R)}this._sortExportsMap(E);return E.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(E){if(E.size>1){const N=[];for(const R of E.values()){N.push(R.name)}N.sort();let R=0;for(const j of E.values()){const E=N[R];if(j.name!==E)break;R++}for(;R<N.length;R++){const j=N[R];const $=E.get(j);E.delete(j);E.set(j,$)}}}_sortExports(){this._sortExportsMap(this._exports);this._exportsAreOrdered=true}setRedirectNamedTo(E){if(this._redirectTo===E)return false;this._redirectTo=E;return true}setHasProvideInfo(){for(const E of this._exports.values()){if(E.provided===undefined){E.provided=false}if(E.canMangleProvide===undefined){E.canMangleProvide=true}}if(this._redirectTo!==undefined){this._redirectTo.setHasProvideInfo()}else{if(this._otherExportsInfo.provided===undefined){this._otherExportsInfo.provided=false}if(this._otherExportsInfo.canMangleProvide===undefined){this._otherExportsInfo.canMangleProvide=true}}}setHasUseInfo(){for(const E of this._exports.values()){E.setHasUseInfo()}this._sideEffectsOnlyInfo.setHasUseInfo();if(this._redirectTo!==undefined){this._redirectTo.setHasUseInfo()}else{this._otherExportsInfo.setHasUseInfo();if(this._otherExportsInfo.canMangleUse===undefined){this._otherExportsInfo.canMangleUse=true}}}getOwnExportInfo(E){const N=this._exports.get(E);if(N!==undefined)return N;const R=new ExportInfo(E,this._otherExportsInfo);this._exports.set(E,R);this._exportsAreOrdered=false;return R}getExportInfo(E){const N=this._exports.get(E);if(N!==undefined)return N;if(this._redirectTo!==undefined)return this._redirectTo.getExportInfo(E);const R=new ExportInfo(E,this._otherExportsInfo);this._exports.set(E,R);this._exportsAreOrdered=false;return R}getReadOnlyExportInfo(E){const N=this._exports.get(E);if(N!==undefined)return N;if(this._redirectTo!==undefined)return this._redirectTo.getReadOnlyExportInfo(E);return this._otherExportsInfo}getReadOnlyExportInfoRecursive(E){const N=this.getReadOnlyExportInfo(E[0]);if(E.length===1)return N;if(!N.exportsInfo)return undefined;return N.exportsInfo.getReadOnlyExportInfoRecursive(E.slice(1))}getNestedExportsInfo(E){if(Array.isArray(E)&&E.length>0){const N=this.getReadOnlyExportInfo(E[0]);if(!N.exportsInfo)return undefined;return N.exportsInfo.getNestedExportsInfo(E.slice(1))}return this}setUnknownExportsProvided(E,N,R,j,$){let q=false;if(N){for(const E of N){this.getExportInfo(E)}}for(const $ of this._exports.values()){if(N&&N.has($.name))continue;if($.provided!==true&&$.provided!==null){$.provided=null;q=true}if(!E&&$.canMangleProvide!==false){$.canMangleProvide=false;q=true}if(R){$.setTarget(R,j,[$.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(E,N,R,j,$)){q=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;q=true}if(!E&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;q=true}if(R){this._otherExportsInfo.setTarget(R,j,undefined,$)}}return q}setUsedInUnknownWay(E){let N=false;for(const R of this._exports.values()){if(R.setUsedInUnknownWay(E)){N=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(E)){N=true}}else{if(this._otherExportsInfo.setUsedConditionally((E=>E<ie.Unknown),ie.Unknown,E)){N=true}if(this._otherExportsInfo.canMangleUse!==false){this._otherExportsInfo.canMangleUse=false;N=true}}return N}setUsedWithoutInfo(E){let N=false;for(const R of this._exports.values()){if(R.setUsedWithoutInfo(E)){N=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedWithoutInfo(E)){N=true}}else{if(this._otherExportsInfo.setUsed(ie.NoInfo,E)){N=true}if(this._otherExportsInfo.canMangleUse!==false){this._otherExportsInfo.canMangleUse=false;N=true}}return N}setAllKnownExportsUsed(E){let N=false;for(const R of this._exports.values()){if(!R.provided)continue;if(R.setUsed(ie.Used,E)){N=true}}return N}setUsedForSideEffectsOnly(E){return this._sideEffectsOnlyInfo.setUsedConditionally((E=>E===ie.Unused),ie.Used,E)}isUsed(E){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(E)){return true}}else{if(this._otherExportsInfo.getUsed(E)!==ie.Unused){return true}}for(const N of this._exports.values()){if(N.getUsed(E)!==ie.Unused){return true}}return false}isModuleUsed(E){if(this.isUsed(E))return true;if(this._sideEffectsOnlyInfo.getUsed(E)!==ie.Unused)return true;return false}getUsedExports(E){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:case ie.OnlyPropertiesUsed:case ie.Used:return true}}const N=[];if(!this._exportsAreOrdered)this._sortExports();for(const R of this._exports.values()){switch(R.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:return true;case ie.OnlyPropertiesUsed:case ie.Used:N.push(R.name)}}if(this._redirectTo!==undefined){const R=this._redirectTo.getUsedExports(E);if(R===null)return null;if(R===true)return true;if(R!==false){for(const E of R){N.push(E)}}}if(N.length===0){switch(this._sideEffectsOnlyInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unused:return false}}return new $(N)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const N of this._exports.values()){switch(N.provided){case undefined:return null;case null:return true;case true:E.push(N.name)}}if(this._redirectTo!==undefined){const N=this._redirectTo.getProvidedExports();if(N===null)return null;if(N===true)return true;for(const R of N){if(!E.includes(R)){E.push(R)}}}return E}getRelevantExports(E){const N=[];for(const R of this._exports.values()){const j=R.getUsed(E);if(j===ie.Unused)continue;if(R.provided===false)continue;N.push(R)}if(this._redirectTo!==undefined){for(const R of this._redirectTo.getRelevantExports(E)){if(!this._exports.has(R.name))N.push(R)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(E)!==ie.Unused){N.push(this._otherExportsInfo)}return N}isExportProvided(E){if(Array.isArray(E)){const N=this.getReadOnlyExportInfo(E[0]);if(N.exportsInfo&&E.length>1){return N.exportsInfo.isExportProvided(E.slice(1))}return N.provided}const N=this.getReadOnlyExportInfo(E);return N.provided}getUsageKey(E){const N=[];if(this._redirectTo!==undefined){N.push(this._redirectTo.getUsageKey(E))}else{N.push(this._otherExportsInfo.getUsed(E))}N.push(this._sideEffectsOnlyInfo.getUsed(E));for(const R of this.orderedOwnedExports){N.push(R.getUsed(E))}return N.join("|")}isEquallyUsed(E,N){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(E,N))return false}else{if(this._otherExportsInfo.getUsed(E)!==this._otherExportsInfo.getUsed(N)){return false}}if(this._sideEffectsOnlyInfo.getUsed(E)!==this._sideEffectsOnlyInfo.getUsed(N)){return false}for(const R of this.ownedExports){if(R.getUsed(E)!==R.getUsed(N))return false}return true}getUsed(E,N){if(Array.isArray(E)){if(E.length===0)return this.otherExportsInfo.getUsed(N);let R=this.getReadOnlyExportInfo(E[0]);if(R.exportsInfo&&E.length>1){return R.exportsInfo.getUsed(E.slice(1),N)}return R.getUsed(N)}let R=this.getReadOnlyExportInfo(E);return R.getUsed(N)}getUsedName(E,N){if(Array.isArray(E)){if(E.length===0){if(!this.isUsed(N))return false;return E}let R=this.getReadOnlyExportInfo(E[0]);const j=R.getUsedName(E[0],N);if(j===false)return false;const $=j===E[0]&&E.length===1?E:[j];if(E.length===1){return $}if(R.exportsInfo&&R.getUsed(N)===ie.OnlyPropertiesUsed){const j=R.exportsInfo.getUsedName(E.slice(1),N);if(!j)return false;return $.concat(j)}else{return $.concat(E.slice(1))}}else{let R=this.getReadOnlyExportInfo(E);const j=R.getUsedName(E,N);return j}}updateHash(E,N){this._updateHash(E,N,new Set)}_updateHash(E,N,R){const j=new Set(R);j.add(this);for(const R of this.orderedExports){if(R.hasInfo(this._otherExportsInfo,N)){R._updateHash(E,N,j)}}this._sideEffectsOnlyInfo._updateHash(E,N,j);this._otherExportsInfo._updateHash(E,N,j);if(this._redirectTo!==undefined){this._redirectTo._updateHash(E,N,j)}}getRestoreProvidedData(){const E=this._otherExportsInfo.provided;const N=this._otherExportsInfo.canMangleProvide;const R=this._otherExportsInfo.terminalBinding;const j=[];for(const $ of this.orderedExports){if($.provided!==E||$.canMangleProvide!==N||$.terminalBinding!==R||$.exportsInfoOwned){j.push({name:$.name,provided:$.provided,canMangleProvide:$.canMangleProvide,terminalBinding:$.terminalBinding,exportsInfo:$.exportsInfoOwned?$.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(j,E,N,R)}restoreProvided({otherProvided:E,otherCanMangleProvide:N,otherTerminalBinding:R,exports:j}){let $=true;for(const j of this._exports.values()){$=false;j.provided=E;j.canMangleProvide=N;j.terminalBinding=R}this._otherExportsInfo.provided=E;this._otherExportsInfo.canMangleProvide=N;this._otherExportsInfo.terminalBinding=R;for(const E of j){const N=this.getExportInfo(E.name);N.provided=E.provided;N.canMangleProvide=E.canMangleProvide;N.terminalBinding=E.terminalBinding;if(E.exportsInfo){const R=N.createNestedExportsInfo();R.restoreProvided(E.exportsInfo)}}if($)this._exportsAreOrdered=true}}class ExportInfo{constructor(E,N){this.name=E;this._usedName=N?N._usedName:null;this._globalUsed=N?N._globalUsed:undefined;this._usedInRuntime=N&&N._usedInRuntime?new Map(N._usedInRuntime):undefined;this._hasUseInRuntimeInfo=N?N._hasUseInRuntimeInfo:false;this.provided=N?N.provided:undefined;this.terminalBinding=N?N.terminalBinding:false;this.canMangleProvide=N?N.canMangleProvide:undefined;this.canMangleUse=N?N.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(N&&N._target){this._target=new Map;for(const[R,j]of N._target){this._target.set(R,{connection:j.connection,export:j.export||[E],priority:j.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(E){throw new Error("REMOVED")}set usedName(E){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(E){let N=false;if(this.setUsedConditionally((E=>E<ie.Unknown),ie.Unknown,E)){N=true}if(this.canMangleUse!==false){this.canMangleUse=false;N=true}return N}setUsedWithoutInfo(E){let N=false;if(this.setUsed(ie.NoInfo,E)){N=true}if(this.canMangleUse!==false){this.canMangleUse=false;N=true}return N}setHasUseInfo(){if(!this._hasUseInRuntimeInfo){this._hasUseInRuntimeInfo=true}if(this.canMangleUse===undefined){this.canMangleUse=true}if(this.exportsInfoOwned){this.exportsInfo.setHasUseInfo()}}setUsedConditionally(E,N,R){if(R===undefined){if(this._globalUsed===undefined){this._globalUsed=N;return true}else{if(this._globalUsed!==N&&E(this._globalUsed)){this._globalUsed=N;return true}}}else if(this._usedInRuntime===undefined){if(N!==ie.Unused&&E(ie.Unused)){this._usedInRuntime=new Map;G(R,(E=>this._usedInRuntime.set(E,N)));return true}}else{let j=false;G(R,(R=>{let $=this._usedInRuntime.get(R);if($===undefined)$=ie.Unused;if(N!==$&&E($)){if(N===ie.Unused){this._usedInRuntime.delete(R)}else{this._usedInRuntime.set(R,N)}j=true}}));if(j){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(E,N){if(N===undefined){if(this._globalUsed!==E){this._globalUsed=E;return true}}else if(this._usedInRuntime===undefined){if(E!==ie.Unused){this._usedInRuntime=new Map;G(N,(N=>this._usedInRuntime.set(N,E)));return true}}else{let R=false;G(N,(N=>{let j=this._usedInRuntime.get(N);if(j===undefined)j=ie.Unused;if(E!==j){if(E===ie.Unused){this._usedInRuntime.delete(N)}else{this._usedInRuntime.set(N,E)}R=true}}));if(R){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(E){if(!this._target)return false;if(this._target.delete(E)){this._maxTarget=undefined;return true}return false}setTarget(E,N,R,$=0){if(R)R=[...R];if(!this._target){this._target=new Map;this._target.set(E,{connection:N,export:R,priority:$});return true}const q=this._target.get(E);if(!q){if(q===null&&!N)return false;this._target.set(E,{connection:N,export:R,priority:$});this._maxTarget=undefined;return true}if(q.connection!==N||q.priority!==$||(R?!q.export||!j(q.export,R):q.export)){q.connection=N;q.export=R;q.priority=$;this._maxTarget=undefined;return true}return false}getUsed(E){if(!this._hasUseInRuntimeInfo)return ie.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ie.Unused}else if(typeof E==="string"){const N=this._usedInRuntime.get(E);return N===undefined?ie.Unused:N}else if(E===undefined){let E=ie.Unused;for(const N of this._usedInRuntime.values()){if(N===ie.Used){return ie.Used}if(E<N)E=N}return E}else{let N=ie.Unused;for(const R of E){const E=this._usedInRuntime.get(R);if(E!==undefined){if(E===ie.Used){return ie.Used}if(N<E)N=E}}return N}}getUsedName(E,N){if(this._hasUseInRuntimeInfo){if(this._globalUsed!==undefined){if(this._globalUsed===ie.Unused)return false}else{if(this._usedInRuntime===undefined)return false;if(typeof N==="string"){if(!this._usedInRuntime.has(N)){return false}}else if(N!==undefined){if(Array.from(N).every((E=>!this._usedInRuntime.has(E)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||E}hasUsedName(){return this._usedName!==null}setUsedName(E){this._usedName=E}getTerminalBinding(E,N=RETURNS_TRUE){if(this.terminalBinding)return this;const R=this.getTarget(E,N);if(!R)return undefined;const j=E.getExportsInfo(R.module);if(!R.export)return j;return j.getReadOnlyExportInfoRecursive(R.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let E=-Infinity;let N=Infinity;for(const{priority:R}of this._target.values()){if(E<R)E=R;if(N>R)N=R}if(E===N)return this._maxTarget=this._target;const R=new Map;for(const[N,j]of this._target){if(E===j.priority){R.set(N,j)}}this._maxTarget=R;return R}findTarget(E,N){return this._findTarget(E,N,new Set)}_findTarget(E,N,R){if(!this._target||this._target.size===0)return undefined;let j=this._getMaxTarget().values().next().value;if(!j)return undefined;let $={module:j.connection.module,export:j.export};for(;;){if(N($.module))return $;const j=E.getExportsInfo($.module);const q=j.getExportInfo($.export[0]);if(R.has(q))return null;const G=q._findTarget(E,N,R);if(!G)return false;if($.export.length===1){$=G}else{$={module:G.module,export:G.export?G.export.concat($.export.slice(1)):$.export.slice(1)}}}}getTarget(E,N=RETURNS_TRUE){const R=this._getTarget(E,N,undefined);if(R===ae)return undefined;return R}_getTarget(E,N,R){const resolveTarget=(R,j)=>{if(!R)return null;if(!R.export){return{module:R.connection.module,connection:R.connection,export:undefined}}let $={module:R.connection.module,connection:R.connection,export:R.export};if(!N($))return $;let q=false;for(;;){const R=E.getExportsInfo($.module);const G=R.getExportInfo($.export[0]);if(!G)return $;if(j.has(G))return ae;const ie=G._getTarget(E,N,j);if(ie===ae)return ae;if(!ie)return $;if($.export.length===1){$=ie;if(!$.export)return $}else{$={module:ie.module,connection:ie.connection,export:ie.export?ie.export.concat($.export.slice(1)):$.export.slice(1)}}if(!N($))return $;if(!q){j=new Set(j);q=true}j.add(G)}};if(!this._target||this._target.size===0)return undefined;if(R&&R.has(this))return ae;const $=new Set(R);$.add(this);const q=this._getMaxTarget().values();const G=resolveTarget(q.next().value,$);if(G===ae)return ae;if(G===null)return undefined;let ie=q.next();while(!ie.done){const E=resolveTarget(ie.value,$);if(E===ae)return ae;if(E===null)return undefined;if(E.module!==G.module)return undefined;if(!E.export!==!G.export)return undefined;if(G.export&&!j(E.export,G.export))return undefined;ie=q.next()}return G}moveTarget(E,N,R){const j=this._getTarget(E,N,undefined);if(j===ae)return undefined;if(!j)return undefined;const $=this._getMaxTarget().values().next().value;if($.connection===j.connection&&$.export===j.export){return undefined}this._target.clear();this._target.set(undefined,{connection:R?R(j):j.connection,export:j.export,priority:0});return j}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const E=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(E){this.exportsInfo.setRedirectNamedTo(E)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(E,N){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(N)!==E.getUsed(N)}updateHash(E,N){this._updateHash(E,N,new Set)}_updateHash(E,N,R){E.update(`${this._usedName||this.name}${this.getUsed(N)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!R.has(this.exportsInfo)){this.exportsInfo._updateHash(E,N,R)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ie.Unused:return"unused";case ie.NoInfo:return"no usage info";case ie.Unknown:return"maybe used (runtime-defined)";case ie.Used:return"used";case ie.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const E=new Map;for(const[N,R]of this._usedInRuntime){const j=E.get(R);if(j!==undefined)j.push(N);else E.set(R,[N])}const N=Array.from(E,(([E,N])=>{switch(E){case ie.NoInfo:return`no usage info in ${N.join(", ")}`;case ie.Unknown:return`maybe used in ${N.join(", ")} (runtime-defined)`;case ie.Used:return`used in ${N.join(", ")}`;case ie.OnlyPropertiesUsed:return`only properties used in ${N.join(", ")}`}}));if(N.length>0){return N.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}E.exports=ExportsInfo;E.exports.ExportInfo=ExportInfo;E.exports.UsageState=ie},29672:(E,N,R)=>{"use strict";const j=R(66298);const $=R(51420);class ExportsInfoApiPlugin{apply(E){E.hooks.compilation.tap("ExportsInfoApiPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((N,R)=>{const j=R.length>=2?new $(N.range,R.slice(0,-1),R[R.length-1]):new $(N.range,null,R[0]);j.loc=N.loc;E.state.module.addDependency(j);return true}));E.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(N=>{const R=new j("true",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}))};N.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}E.exports=ExportsInfoApiPlugin},16734:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(77294);const{UsageState:G}=R(76632);const ie=R(63272);const ae=R(53453);const ce=R(76150);const le=R(58159);const _e=R(96076);const Ee=R(35891);const Te=R(10004);const we=R(56202);const Ie=R(68038);const{register:Ne}=R(24568);const Me=new Set(["javascript"]);const Le=new Set([ce.module]);const Be=new Set([ce.loadScript]);const je=new Set([ce.definePropertyGetters]);const Ue=new Set([]);const getSourceForGlobalVariableExternal=(E,N)=>{if(!Array.isArray(E)){E=[E]}const R=E.map((E=>`[${JSON.stringify(E)}]`)).join("");return{iife:N==="this",expression:`${N}${R}`}};const getSourceForCommonJsExternal=E=>{if(!Array.isArray(E)){return{expression:`require(${JSON.stringify(E)})`}}const N=E[0];return{expression:`require(${JSON.stringify(N)})${Ie(E,1)}`}};const getSourceForCommonJsExternalInNodeModule=E=>{const N=[new ie('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ie.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(E)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(E)})`,chunkInitFragments:N}}const R=E[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(R)})${Ie(E,1)}`,chunkInitFragments:N}};const getSourceForImportExternal=(E,N)=>{const R=N.outputOptions.importFunctionName;if(!N.supportsDynamicImport()&&R==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(E)){return{expression:`${R}(${JSON.stringify(E)});`}}if(E.length===1){return{expression:`${R}(${JSON.stringify(E[0])});`}}const j=E[0];return{expression:`${R}(${JSON.stringify(j)}).then(${N.returningFunction(`module${Ie(E,1)}`,"module")});`}};class ModuleExternalInitFragment extends ie{constructor(E,N,R="md4"){if(N===undefined){N=le.toIdentifier(E);if(N!==E){N+=`_${Ee(R).update(E).digest("hex").slice(0,8)}`}}const j=`__WEBPACK_EXTERNAL_MODULE_${N}__`;super(`import * as ${j} from ${JSON.stringify(E)};\n`,ie.STAGE_HARMONY_IMPORTS,0,`external module import ${N}`);this._ident=N;this._identifier=j;this._request=E}getNamespaceIdentifier(){return this._identifier}}Ne(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(E,{write:N}){N(E._request);N(E._ident)},deserialize({read:E}){return new ModuleExternalInitFragment(E(),E())}});const generateModuleRemapping=(E,N,R)=>{if(N.otherExportsInfo.getUsed(R)===G.Unused){const j=[];for(const $ of N.orderedExports){const N=$.getUsedName($.name,R);if(!N)continue;const q=$.getNestedExportsInfo();if(q){const R=generateModuleRemapping(`${E}${Ie([$.name])}`,q);if(R){j.push(`[${JSON.stringify(N)}]: y(${R})`);continue}}j.push(`[${JSON.stringify(N)}]: () => ${E}${Ie([$.name])}`)}return`x({ ${j.join(", ")} })`}};const getSourceForModuleExternal=(E,N,R,j)=>{if(!Array.isArray(E))E=[E];const $=new ModuleExternalInitFragment(E[0],undefined,j);const q=`${$.getNamespaceIdentifier()}${Ie(E,1)}`;const G=generateModuleRemapping(q,N,R);let ie=G||q;return{expression:ie,init:`var x = y => { var x = {}; ${ce.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:G?je:undefined,chunkInitFragments:[$]}};const getSourceForScriptExternal=(E,N)=>{if(typeof E==="string"){E=Te(E)}const R=E[0];const j=E[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${N.basicFunction("resolve, reject",[`if(typeof ${j} !== "undefined") return resolve();`,`${ce.loadScript}(${JSON.stringify(R)}, ${N.basicFunction("event",[`if(typeof ${j} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(j)});`])}).then(${N.returningFunction(`${j}${Ie(E,2)}`)})`,runtimeRequirements:Be}};const checkExternalVariable=(E,N,R)=>`if(typeof ${E} === 'undefined') { ${R.throwMissingModuleErrorBlock({request:N})} }\n`;const getSourceForAmdOrUmdExternal=(E,N,R,j)=>{const $=`__WEBPACK_EXTERNAL_MODULE_${le.toIdentifier(`${E}`)}__`;return{init:N?checkExternalVariable($,Array.isArray(R)?R.join("."):R,j):undefined,expression:$}};const getSourceForDefaultCase=(E,N,R)=>{if(!Array.isArray(N)){N=[N]}const j=N[0];const $=Ie(N,1);return{init:E?checkExternalVariable(j,N.join("."),R):undefined,expression:`${j}${$}`}};class ExternalModule extends ae{constructor(E,N,R){super("javascript/dynamic",null);this.request=E;this.externalType=N;this.userRequest=R}getSourceTypes(){return Me}libIdent(E){return this.userRequest}chunkCondition(E,{chunkGraph:N}){return N.getNumberOfEntryModules(E)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(E){return"external "+JSON.stringify(this.request)}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:N.outputOptions.module};const{request:q,externalType:G}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ie=false;this.clearDependenciesAndBlocks();switch(G){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}}else{this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}break}this.addDependency(new _e(true,ie));$()}restoreFromUnsafeCache(E,N){this._restoreFromUnsafeCache(E,N)}getConcatenationBailoutReason({moduleGraph:E}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:E,externalType:N}=this;if(typeof E==="object"&&!Array.isArray(E))E=E[N];return{request:E,externalType:N}}_getSourceData(E,N,R,j){const{request:$,externalType:q}=this._getRequestAndExternalType();switch(q){case"this":case"window":case"self":return getSourceForGlobalVariableExternal($,this.externalType);case"global":return getSourceForGlobalVariableExternal($,E.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal($);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule($):getSourceForCommonJsExternal($);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const j=R.getModuleId(this);return getSourceForAmdOrUmdExternal(j!==null?j:this.identifier(),this.isOptional(N),$,E)}case"import":return getSourceForImportExternal($,E);case"script":return getSourceForScriptExternal($,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal($,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal($,N.getExportsInfo(this),j,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(N),$,E)}}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R,runtime:G,concatenationScope:ie}){const ae=this._getSourceData(E,N,R,G);let le=ae.expression;if(ae.iife)le=`(function() { return ${le}; }())`;if(ie){le=`${E.supportsConst()?"const":"var"} ${q.NAMESPACE_OBJECT_EXPORT} = ${le};`;ie.registerNamespaceExport(q.NAMESPACE_OBJECT_EXPORT)}else{le=`module.exports = ${le};`}if(ae.init)le=`${ae.init}\n${le}`;let _e=undefined;if(ae.chunkInitFragments){_e=new Map;_e.set("chunkInitFragments",ae.chunkInitFragments)}const Ee=new Map;if(this.useSourceMap||this.useSimpleSourceMap){Ee.set("javascript",new j(le,this.identifier()))}else{Ee.set("javascript",new $(le))}let Te=ae.runtimeRequirements;if(!ie){if(!Te){Te=Le}else{const E=new Set(Te);E.add(ce.module);Te=E}}return{sources:Ee,runtimeRequirements:Te||Ue,data:_e}}size(E){return 42}updateHash(E,N){const{chunkGraph:R}=N;E.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(R.moduleGraph)}`);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.request);N(this.externalType);N(this.userRequest);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.externalType=N();this.userRequest=N();super.deserialize(E)}}we(ExternalModule,"webpack/lib/ExternalModule");E.exports=ExternalModule},59084:(E,N,R)=>{"use strict";const j=R(73837);const $=R(16734);const{resolveByProperty:q,cachedSetProperty:G}=R(90149);const ie=/^[a-z0-9-]+ /;const ae={};const ce=j.deprecate(((E,N,R,j)=>{E.call(null,N,R,j)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const le=new WeakMap;const resolveLayer=(E,N)=>{let R=le.get(E);if(R===undefined){R=new Map;le.set(E,R)}else{const E=R.get(N);if(E!==undefined)return E}const j=q(E,"byLayer",N);R.set(N,j);return j};class ExternalModuleFactoryPlugin{constructor(E,N){this.type=E;this.externals=N}apply(E){const N=this.type;E.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((R,j)=>{const q=R.context;const le=R.contextInfo;const _e=R.dependencies[0];const Ee=R.dependencyType;const handleExternal=(E,R,j)=>{if(E===false){return j()}let q;if(E===true){q=_e.request}else{q=E}if(R===undefined){if(typeof q==="string"&&ie.test(q)){const E=q.indexOf(" ");R=q.substr(0,E);q=q.substr(E+1)}else if(Array.isArray(q)&&q.length>0&&ie.test(q[0])){const E=q[0];const N=E.indexOf(" ");R=E.substr(0,N);q=[E.substr(N+1),...q.slice(1)]}}j(null,new $(q,R||N,_e.request))};const handleExternals=(N,j)=>{if(typeof N==="string"){if(N===_e.request){return handleExternal(_e.request,undefined,j)}}else if(Array.isArray(N)){let E=0;const next=()=>{let R;const handleExternalsAndCallback=(E,N)=>{if(E)return j(E);if(!N){if(R){R=false;return}return next()}j(null,N)};do{R=true;if(E>=N.length)return j();handleExternals(N[E++],handleExternalsAndCallback)}while(!R);R=false};next();return}else if(N instanceof RegExp){if(N.test(_e.request)){return handleExternal(_e.request,undefined,j)}}else if(typeof N==="function"){const cb=(E,N,R)=>{if(E)return j(E);if(N!==undefined){handleExternal(N,R,j)}else{j()}};if(N.length===3){ce(N,q,_e.request,cb)}else{const j=N({context:q,request:_e.request,dependencyType:Ee,contextInfo:le,getResolve:N=>(j,$,q)=>{const ie={fileDependencies:R.fileDependencies,missingDependencies:R.missingDependencies,contextDependencies:R.contextDependencies};let ce=E.getResolver("normal",Ee?G(R.resolveOptions||ae,"dependencyType",Ee):R.resolveOptions);if(N)ce=ce.withOptions(N);if(q){ce.resolve({},j,$,ie,q)}else{return new Promise(((E,N)=>{ce.resolve({},j,$,ie,((R,j)=>{if(R)N(R);else E(j)}))}))}}},cb);if(j&&j.then)j.then((E=>cb(null,E)),cb)}return}else if(typeof N==="object"){const E=resolveLayer(N,le.issuerLayer);if(Object.prototype.hasOwnProperty.call(E,_e.request)){return handleExternal(E[_e.request],undefined,j)}}j()};handleExternals(this.externals,j)}))}}E.exports=ExternalModuleFactoryPlugin},61050:(E,N,R)=>{"use strict";const j=R(59084);class ExternalsPlugin{constructor(E,N){this.type=E;this.externals=N}apply(E){E.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:E})=>{new j(this.type,this.externals).apply(E)}))}}E.exports=ExternalsPlugin},22996:(E,N,R)=>{"use strict";const{create:j}=R(17583);const $=R(62355);const q=R(9738);const G=R(37269);const ie=R(35891);const{join:ae,dirname:ce,relative:le,lstatReadlinkAbsolute:_e}=R(95396);const Ee=R(56202);const Te=R(2117);const we=+process.versions.modules>=83;let Ie=2e3;const Ne=new Set;const Me=0;const Le=1;const Be=2;const je=3;const Ue=4;const ze=5;const We=6;const Je=7;const Ve=8;const qe=9;const He=Symbol("invalid");const Ge=(new Set).keys().next();class SnapshotIterator{constructor(E){this.next=E}}class SnapshotIterable{constructor(E,N){this.snapshot=E;this.getMaps=N}[Symbol.iterator](){let E=0;let N;let R;let j;let $;let q;return new SnapshotIterator((()=>{for(;;){switch(E){case 0:$=this.snapshot;R=this.getMaps;j=R($);E=1;case 1:if(j.length>0){const R=j.pop();if(R!==undefined){N=R.keys();E=2}else{break}}else{E=3;break}case 2:{const R=N.next();if(!R.done)return R;E=1;break}case 3:{const N=$.children;if(N!==undefined){if(N.size===1){for(const E of N)$=E;j=R($);E=1;break}if(q===undefined)q=[];for(const E of N){q.push(E)}}if(q!==undefined&&q.length>0){$=q.pop();j=R($);E=1;break}else{E=4}}case 4:return Ge}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(E){this._flags=this._flags|1;this.startTime=E}setMergedStartTime(E,N){if(E){if(N.hasStartTime()){this.setStartTime(Math.min(E,N.startTime))}else{this.setStartTime(E)}}else{if(N.hasStartTime())this.setStartTime(N.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(E){this._flags=this._flags|2;this.fileTimestamps=E}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(E){this._flags=this._flags|4;this.fileHashes=E}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(E){this._flags=this._flags|8;this.fileTshs=E}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(E){this._flags=this._flags|16;this.contextTimestamps=E}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(E){this._flags=this._flags|32;this.contextHashes=E}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(E){this._flags=this._flags|64;this.contextTshs=E}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(E){this._flags=this._flags|128;this.missingExistence=E}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(E){this._flags=this._flags|256;this.managedItemInfo=E}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(E){this._flags=this._flags|512;this.managedFiles=E}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(E){this._flags=this._flags|1024;this.managedContexts=E}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(E){this._flags=this._flags|2048;this.managedMissing=E}hasChildren(){return(this._flags&4096)!==0}setChildren(E){this._flags=this._flags|4096;this.children=E}addChild(E){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(E)}serialize({write:E}){E(this._flags);if(this.hasStartTime())E(this.startTime);if(this.hasFileTimestamps())E(this.fileTimestamps);if(this.hasFileHashes())E(this.fileHashes);if(this.hasFileTshs())E(this.fileTshs);if(this.hasContextTimestamps())E(this.contextTimestamps);if(this.hasContextHashes())E(this.contextHashes);if(this.hasContextTshs())E(this.contextTshs);if(this.hasMissingExistence())E(this.missingExistence);if(this.hasManagedItemInfo())E(this.managedItemInfo);if(this.hasManagedFiles())E(this.managedFiles);if(this.hasManagedContexts())E(this.managedContexts);if(this.hasManagedMissing())E(this.managedMissing);if(this.hasChildren())E(this.children)}deserialize({read:E}){this._flags=E();if(this.hasStartTime())this.startTime=E();if(this.hasFileTimestamps())this.fileTimestamps=E();if(this.hasFileHashes())this.fileHashes=E();if(this.hasFileTshs())this.fileTshs=E();if(this.hasContextTimestamps())this.contextTimestamps=E();if(this.hasContextHashes())this.contextHashes=E();if(this.hasContextTshs())this.contextTshs=E();if(this.hasMissingExistence())this.missingExistence=E();if(this.hasManagedItemInfo())this.managedItemInfo=E();if(this.hasManagedFiles())this.managedFiles=E();if(this.hasManagedContexts())this.managedContexts=E();if(this.hasManagedMissing())this.managedMissing=E();if(this.hasChildren())this.children=E()}_createIterable(E){return new SnapshotIterable(this,E)}getFileIterable(){return this._createIterable((E=>[E.fileTimestamps,E.fileHashes,E.fileTshs,E.managedFiles]))}getContextIterable(){return this._createIterable((E=>[E.contextTimestamps,E.contextHashes,E.contextTshs,E.managedContexts]))}getMissingIterable(){return this._createIterable((E=>[E.missingExistence,E.managedMissing]))}}Ee(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const Ke=3;class SnapshotOptimization{constructor(E,N,R,j=true,$=false){this._has=E;this._get=N;this._set=R;this._useStartTime=j;this._isSet=$;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const E=this._statItemsShared+this._statItemsUnshared;if(E===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/E)}% (${this._statItemsShared}/${E}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(E,N){const increaseSharedAndStoreOptimizationEntry=E=>{if(E.children!==undefined){E.children.forEach(increaseSharedAndStoreOptimizationEntry)}E.shared++;storeOptimizationEntry(E)};const storeOptimizationEntry=E=>{for(const R of E.snapshotContent){const j=this._map.get(R);if(j.shared<E.shared){this._map.set(R,E)}N.delete(R)}};let R=undefined;const j=N.size;const $=new Set;for(const j of N){const N=this._map.get(j);if(N===undefined){if(R===undefined){R={snapshot:E,shared:0,snapshotContent:undefined,children:undefined}}this._map.set(j,R);continue}else{$.add(N)}}e:for(const R of $){const j=R.snapshot;if(R.shared>0){if(this._useStartTime&&E.startTime&&(!j.startTime||j.startTime>E.startTime)){continue}const $=new Set;const q=R.snapshotContent;const G=this._get(j);for(const E of q){if(!N.has(E)){if(!G.has(E)){continue e}$.add(E);continue}}if($.size===0){E.addChild(j);increaseSharedAndStoreOptimizationEntry(R);this._statReusedSharedSnapshots++}else{const N=q.size-$.size;if(N<Ke){continue e}let ie;if(this._isSet){ie=new Set;for(const E of G){if($.has(E))continue;ie.add(E);G.delete(E)}}else{ie=new Map;const E=G;for(const[N,R]of E){if($.has(N))continue;ie.set(N,R);G.delete(N)}}const ae=new Snapshot;if(this._useStartTime){ae.setMergedStartTime(E.startTime,j)}this._set(ae,ie);E.addChild(ae);j.addChild(ae);const ce={snapshot:ae,shared:R.shared+1,snapshotContent:new Set(ie.keys()),children:undefined};if(R.children===undefined)R.children=new Set;R.children.add(ce);storeOptimizationEntry(ce);this._statSharedSnapshots++}}else{const R=this._get(j);if(R===undefined){continue e}let $;if(this._isSet){$=new Set;const E=R;if(N.size<E.size){for(const R of N){if(E.has(R))$.add(R)}}else{for(const R of E){if(N.has(R))$.add(R)}}}else{$=new Map;const E=R;for(const R of N){const N=E.get(R);if(N===undefined)continue;$.set(R,N)}}if($.size<Ke){continue e}const q=new Snapshot;if(this._useStartTime){q.setMergedStartTime(E.startTime,j)}this._set(q,$);E.addChild(q);j.addChild(q);for(const E of $.keys())R.delete(E);const G=$.size;this._statItemsUnshared-=G;this._statItemsShared+=G;storeOptimizationEntry({snapshot:q,shared:2,snapshotContent:new Set($.keys()),children:undefined});this._statSharedSnapshots++}}const q=N.size;this._statItemsUnshared+=q;this._statItemsShared+=j-q}}const applyMtime=E=>{if(Ie>1&&E%2!==0)Ie=1;else if(Ie>10&&E%20!==0)Ie=10;else if(Ie>100&&E%200!==0)Ie=100;else if(Ie>1e3&&E%2e3!==0)Ie=1e3};const mergeMaps=(E,N)=>{if(!N||N.size===0)return E;if(!E||E.size===0)return N;const R=new Map(E);for(const[E,j]of N){R.set(E,j)}return R};const mergeSets=(E,N)=>{if(!N||N.size===0)return E;if(!E||E.size===0)return N;const R=new Set(E);for(const E of N){R.add(E)}return R};const getManagedItem=(E,N)=>{let R=E.length;let j=1;let $=true;e:while(R<N.length){switch(N.charCodeAt(R)){case 47:case 92:if(--j===0)break e;$=true;break;case 46:if($)return null;break;case 64:if(!$)return null;j++;break;default:$=false;break}R++}if(R===N.length)j--;if(j!==0)return null;if(N.length>=R+13&&N.charCodeAt(R+1)===110&&N.charCodeAt(R+2)===111&&N.charCodeAt(R+3)===100&&N.charCodeAt(R+4)===101&&N.charCodeAt(R+5)===95&&N.charCodeAt(R+6)===109&&N.charCodeAt(R+7)===111&&N.charCodeAt(R+8)===100&&N.charCodeAt(R+9)===117&&N.charCodeAt(R+10)===108&&N.charCodeAt(R+11)===101&&N.charCodeAt(R+12)===115){if(N.length===R+13){return N}const E=N.charCodeAt(R+13);if(E===47||E===92){return getManagedItem(N.slice(0,R+14),N)}}return N.slice(0,R)};const getResolvedTimestamp=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E:undefined};const getResolvedHash=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E.hash:undefined};const addAll=(E,N)=>{for(const R of E)N.add(R)};class FileSystemInfo{constructor(E,{managedPaths:N=[],immutablePaths:R=[],logger:j,hashFunction:$="md4"}={}){this.fs=E;this.logger=j;this._remainingLogs=j?40:0;this._loggedPaths=j?new Set:undefined;this._hashFunction=$;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((E=>E.hasFileTimestamps()),(E=>E.fileTimestamps),((E,N)=>E.setFileTimestamps(N)));this._fileHashesOptimization=new SnapshotOptimization((E=>E.hasFileHashes()),(E=>E.fileHashes),((E,N)=>E.setFileHashes(N)),false);this._fileTshsOptimization=new SnapshotOptimization((E=>E.hasFileTshs()),(E=>E.fileTshs),((E,N)=>E.setFileTshs(N)));this._contextTimestampsOptimization=new SnapshotOptimization((E=>E.hasContextTimestamps()),(E=>E.contextTimestamps),((E,N)=>E.setContextTimestamps(N)));this._contextHashesOptimization=new SnapshotOptimization((E=>E.hasContextHashes()),(E=>E.contextHashes),((E,N)=>E.setContextHashes(N)),false);this._contextTshsOptimization=new SnapshotOptimization((E=>E.hasContextTshs()),(E=>E.contextTshs),((E,N)=>E.setContextTshs(N)));this._missingExistenceOptimization=new SnapshotOptimization((E=>E.hasMissingExistence()),(E=>E.missingExistence),((E,N)=>E.setMissingExistence(N)),false);this._managedItemInfoOptimization=new SnapshotOptimization((E=>E.hasManagedItemInfo()),(E=>E.managedItemInfo),((E,N)=>E.setManagedItemInfo(N)),false);this._managedFilesOptimization=new SnapshotOptimization((E=>E.hasManagedFiles()),(E=>E.managedFiles),((E,N)=>E.setManagedFiles(N)),false,true);this._managedContextsOptimization=new SnapshotOptimization((E=>E.hasManagedContexts()),(E=>E.managedContexts),((E,N)=>E.setManagedContexts(N)),false,true);this._managedMissingOptimization=new SnapshotOptimization((E=>E.hasManagedMissing()),(E=>E.managedMissing),((E,N)=>E.setManagedMissing(N)),false,true);this._fileTimestamps=new G;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new G;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(N);this.managedPathsWithSlash=this.managedPaths.filter((E=>typeof E==="string")).map((N=>ae(E,N,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((E=>typeof E!=="string"));this.immutablePaths=Array.from(R);this.immutablePathsWithSlash=this.immutablePaths.filter((E=>typeof E==="string")).map((N=>ae(E,N,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((E=>typeof E!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(E,N)=>{if(N){this.logger.log(`${E}: ${N}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(E,N,...R){const j=E+N;if(this._loggedPaths.has(j))return;this._loggedPaths.add(j);this.logger.debug(`${E} invalidated because ${N}`,...R);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(E,N){this._fileTimestamps.addAll(E,N);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(E,N){this._contextTimestamps.addAll(E,N);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(E,N){const R=this._fileTimestamps.get(E);if(R!==undefined)return N(null,R);this.fileTimestampQueue.add(E,N)}getContextTimestamp(E,N){const R=this._contextTimestamps.get(E);if(R!==undefined){if(R==="ignore")return N(null,"ignore");const E=getResolvedTimestamp(R);if(E!==undefined)return N(null,E);return this._resolveContextTimestamp(R,N)}this.contextTimestampQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedTimestamp(R);if(j!==undefined)return N(null,j);this._resolveContextTimestamp(R,N)}))}_getUnresolvedContextTimestamp(E,N){const R=this._contextTimestamps.get(E);if(R!==undefined)return N(null,R);this.contextTimestampQueue.add(E,N)}getFileHash(E,N){const R=this._fileHashes.get(E);if(R!==undefined)return N(null,R);this.fileHashQueue.add(E,N)}getContextHash(E,N){const R=this._contextHashes.get(E);if(R!==undefined){const E=getResolvedHash(R);if(E!==undefined)return N(null,E);return this._resolveContextHash(R,N)}this.contextHashQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedHash(R);if(j!==undefined)return N(null,j);this._resolveContextHash(R,N)}))}_getUnresolvedContextHash(E,N){const R=this._contextHashes.get(E);if(R!==undefined)return N(null,R);this.contextHashQueue.add(E,N)}getContextTsh(E,N){const R=this._contextTshs.get(E);if(R!==undefined){const E=getResolvedTimestamp(R);if(E!==undefined)return N(null,E);return this._resolveContextTsh(R,N)}this.contextTshQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedTimestamp(R);if(j!==undefined)return N(null,j);this._resolveContextTsh(R,N)}))}_getUnresolvedContextTsh(E,N){const R=this._contextTshs.get(E);if(R!==undefined)return N(null,R);this.contextTshQueue.add(E,N)}_createBuildDependenciesResolvers(){const E=j({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const N=j({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const R=j({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const $=j({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:E,resolveEsm:$,resolveCjs:N,resolveCjsAsChild:R}}resolveBuildDependencies(E,N,j){const{resolveContext:$,resolveEsm:q,resolveCjs:G,resolveCjsAsChild:ie}=this._createBuildDependenciesResolvers();const _e=new Set;const Ee=new Set;const Ie=new Set;const Ne=new Set;const He=new Set;const Ge=new Set;const Ke=new Set;const Qe=new Set;const Xe=new Map;const Ye=new Set;const Ze={fileDependencies:Ge,contextDependencies:Ke,missingDependencies:Qe};const expectedToString=E=>E?` (expected ${E})`:"";const jobToString=E=>{switch(E.type){case Me:return`resolve commonjs ${E.path}${expectedToString(E.expected)}`;case Le:return`resolve esm ${E.path}${expectedToString(E.expected)}`;case Be:return`resolve directory ${E.path}`;case je:return`resolve commonjs file ${E.path}${expectedToString(E.expected)}`;case ze:return`resolve esm file ${E.path}${expectedToString(E.expected)}`;case We:return`directory ${E.path}`;case Je:return`file ${E.path}`;case Ve:return`directory dependencies ${E.path}`;case qe:return`file dependencies ${E.path}`}return`unknown ${E.type} ${E.path}`};const pathToString=E=>{let N=` at ${jobToString(E)}`;E=E.issuer;while(E!==undefined){N+=`\n at ${jobToString(E)}`;E=E.issuer}return N};Te(Array.from(N,(N=>({type:Me,context:E,path:N,expected:undefined,issuer:undefined}))),20,((E,N,j)=>{const{type:Te,context:He,path:Ke,expected:et}=E;const resolveDirectory=R=>{const q=`d\n${He}\n${R}`;if(Xe.has(q)){return j()}Xe.set(q,undefined);$(He,R,Ze,(($,G,ie)=>{if($){if(et===false){Xe.set(q,false);return j()}Ye.add(q);$.message+=`\nwhile resolving '${R}' in ${He} to a directory`;return j($)}const ae=ie.path;Xe.set(q,ae);N({type:We,context:undefined,path:ae,expected:undefined,issuer:E});j()}))};const resolveFile=(R,$,q)=>{const G=`${$}\n${He}\n${R}`;if(Xe.has(G)){return j()}Xe.set(G,undefined);q(He,R,Ze,(($,q,ie)=>{if(typeof et==="string"){if(!$&&ie&&ie.path===et){Xe.set(G,ie.path)}else{Ye.add(G);this.logger.warn(`Resolving '${R}' in ${He} for build dependencies doesn't lead to expected result '${et}', but to '${$||ie&&ie.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(E)}`)}}else{if($){if(et===false){Xe.set(G,false);return j()}Ye.add(G);$.message+=`\nwhile resolving '${R}' in ${He} as file\n${pathToString(E)}`;return j($)}const q=ie.path;Xe.set(G,q);N({type:Je,context:undefined,path:q,expected:undefined,issuer:E})}j()}))};switch(Te){case Me:{const E=/[\\/]$/.test(Ke);if(E){resolveDirectory(Ke.slice(0,Ke.length-1))}else{resolveFile(Ke,"f",G)}break}case Le:{const E=/[\\/]$/.test(Ke);if(E){resolveDirectory(Ke.slice(0,Ke.length-1))}else{resolveFile(Ke)}break}case Be:{resolveDirectory(Ke);break}case je:{resolveFile(Ke,"f",G);break}case Ue:{resolveFile(Ke,"c",ie);break}case ze:{resolveFile(Ke,"e",q);break}case Je:{if(_e.has(Ke)){j();break}_e.add(Ke);this.fs.realpath(Ke,((R,$)=>{if(R)return j(R);const q=$;if(q!==Ke){Ee.add(Ke);Ge.add(Ke);if(_e.has(q))return j();_e.add(q)}N({type:qe,context:undefined,path:q,expected:undefined,issuer:E});j()}));break}case We:{if(Ie.has(Ke)){j();break}Ie.add(Ke);this.fs.realpath(Ke,((R,$)=>{if(R)return j(R);const q=$;if(q!==Ke){Ne.add(Ke);Ge.add(Ke);if(Ie.has(q))return j();Ie.add(q)}N({type:Ve,context:undefined,path:q,expected:undefined,issuer:E});j()}));break}case qe:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ke)){process.nextTick(j);break}const $=require.cache[Ke];if($&&Array.isArray($.children)){e:for(const R of $.children){let j=R.filename;if(j){N({type:Je,context:undefined,path:j,expected:undefined,issuer:E});const q=ce(this.fs,Ke);for(const G of $.paths){if(j.startsWith(G)){let $=j.slice(G.length+1);const ie=/^(@[^\\/]+[\\/])[^\\/]+/.exec($);if(ie){N({type:Je,context:undefined,path:G+j[G.length]+ie[0]+j[G.length]+"package.json",expected:false,issuer:E})}let ae=$.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);N({type:Ue,context:q,path:ae,expected:R.filename,issuer:E});continue e}}let G=le(this.fs,q,j);if(G.endsWith(".js"))G=G.slice(0,-3);G=G.replace(/\\/g,"/");if(!G.startsWith("../"))G=`./${G}`;N({type:je,context:q,path:G,expected:R.filename,issuer:E})}}}else if(we&&/\.m?js$/.test(Ke)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const $=R(76218);$.init.then((()=>{this.fs.readFile(Ke,((R,q)=>{if(R)return j(R);try{const R=ce(this.fs,Ke);const j=q.toString();const[G]=$.parse(j);for(const $ of G){try{let q;if($.d===-1){q=JSON.parse(j.substring($.s-1,$.e+1))}else if($.d>-1){let E=j.substring($.s,$.e).trim();if(E[0]==="'")E=`"${E.slice(1,-1).replace(/"/g,'\\"')}"`;q=JSON.parse(E)}else{continue}N({type:ze,context:R,path:q,expected:undefined,issuer:E})}catch(N){this.logger.warn(`Parsing of ${Ke} for build dependencies failed at 'import(${j.substring($.s,$.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(E));this.logger.debug(N.stack)}}}catch(N){this.logger.warn(`Parsing of ${Ke} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(E));this.logger.debug(N.stack)}process.nextTick(j)}))}),j);break}else{this.logger.log(`Assuming ${Ke} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(E))}process.nextTick(j);break}case Ve:{const R=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Ke);const $=R?R[1]:Ke;const q=ae(this.fs,$,"package.json");this.fs.readFile(q,((R,G)=>{if(R){if(R.code==="ENOENT"){Qe.add(q);const R=ce(this.fs,$);if(R!==$){N({type:Ve,context:undefined,path:R,expected:undefined,issuer:E})}j();return}return j(R)}Ge.add(q);let ie;try{ie=JSON.parse(G.toString("utf-8"))}catch(E){return j(E)}const ae=ie.dependencies;const le=ie.optionalDependencies;const _e=new Set;const Ee=new Set;if(typeof ae==="object"&&ae){for(const E of Object.keys(ae)){_e.add(E)}}if(typeof le==="object"&&le){for(const E of Object.keys(le)){_e.add(E);Ee.add(E)}}for(const R of _e){N({type:Be,context:$,path:R,expected:!Ee.has(R),issuer:E})}j()}));break}}}),(E=>{if(E)return j(E);for(const E of Ee)_e.delete(E);for(const E of Ne)Ie.delete(E);for(const E of Ye)Xe.delete(E);j(null,{files:_e,directories:Ie,missing:He,resolveResults:Xe,resolveDependencies:{files:Ge,directories:Ke,missing:Qe}})}))}checkResolveResultsValid(E,N){const{resolveCjs:R,resolveCjsAsChild:j,resolveEsm:q,resolveContext:G}=this._createBuildDependenciesResolvers();$.eachLimit(E,20,(([E,N],$)=>{const[ie,ae,ce]=E.split("\n");switch(ie){case"d":G(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"f":R(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"c":j(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"e":q(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;default:$(new Error("Unexpected type in resolve result key"));break}}),(E=>{if(E===He){return N(null,false)}if(E){return N(E)}return N(null,true)}))}createSnapshot(E,N,R,j,$,q){const G=new Map;const ie=new Map;const ae=new Map;const ce=new Map;const le=new Map;const _e=new Map;const Ee=new Map;const Te=new Map;const we=new Set;const Ie=new Set;const Ne=new Set;const Me=new Set;const Le=new Snapshot;if(E)Le.setStartTime(E);const Be=new Set;const je=$&&$.hash?$.timestamp?3:2:1;let Ue=1;const jobDone=()=>{if(--Ue===0){if(G.size!==0){Le.setFileTimestamps(G)}if(ie.size!==0){Le.setFileHashes(ie)}if(ae.size!==0){Le.setFileTshs(ae)}if(ce.size!==0){Le.setContextTimestamps(ce)}if(le.size!==0){Le.setContextHashes(le)}if(_e.size!==0){Le.setContextTshs(_e)}if(Ee.size!==0){Le.setMissingExistence(Ee)}if(Te.size!==0){Le.setManagedItemInfo(Te)}this._managedFilesOptimization.optimize(Le,we);if(we.size!==0){Le.setManagedFiles(we)}this._managedContextsOptimization.optimize(Le,Ie);if(Ie.size!==0){Le.setManagedContexts(Ie)}this._managedMissingOptimization.optimize(Le,Ne);if(Ne.size!==0){Le.setManagedMissing(Ne)}if(Me.size!==0){Le.setChildren(Me)}this._snapshotCache.set(Le,true);this._statCreatedSnapshots++;q(null,Le)}};const jobError=()=>{if(Ue>0){Ue=-1e8;q(null,null)}};const checkManaged=(E,N)=>{for(const R of this.immutablePathsRegExps){if(R.test(E)){N.add(E);return true}}for(const R of this.immutablePathsWithSlash){if(E.startsWith(R)){N.add(E);return true}}for(const R of this.managedPathsRegExps){const j=R.exec(E);if(j){const R=getManagedItem(j[1],E);if(R){Be.add(R);N.add(E);return true}}}for(const R of this.managedPathsWithSlash){if(E.startsWith(R)){const j=getManagedItem(R,E);if(j){Be.add(j);N.add(E);return true}}}return false};const captureNonManaged=(E,N)=>{const R=new Set;for(const j of E){if(!checkManaged(j,N))R.add(j)}return R};if(N){const E=captureNonManaged(N,we);switch(je){case 3:this._fileTshsOptimization.optimize(Le,E);for(const N of E){const E=this._fileTshs.get(N);if(E!==undefined){ae.set(N,E)}else{Ue++;this._getFileTimestampAndHash(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${N}: ${E.stack}`)}jobError()}else{ae.set(N,R);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Le,E);for(const N of E){const E=this._fileHashes.get(N);if(E!==undefined){ie.set(N,E)}else{Ue++;this.fileHashQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${N}: ${E.stack}`)}jobError()}else{ie.set(N,R);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Le,E);for(const N of E){const E=this._fileTimestamps.get(N);if(E!==undefined){if(E!=="ignore"){G.set(N,E)}}else{Ue++;this.fileTimestampQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${N}: ${E.stack}`)}jobError()}else{G.set(N,R);jobDone()}}))}}break}}if(R){const E=captureNonManaged(R,Ie);switch(je){case 3:this._contextTshsOptimization.optimize(Le,E);for(const N of E){const E=this._contextTshs.get(N);let R;if(E!==undefined&&(R=getResolvedTimestamp(E))!==undefined){_e.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${N}: ${E.stack}`)}jobError()}else{_e.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextTsh(E,callback)}else{this.getContextTsh(N,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Le,E);for(const N of E){const E=this._contextHashes.get(N);let R;if(E!==undefined&&(R=getResolvedHash(E))!==undefined){le.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${N}: ${E.stack}`)}jobError()}else{le.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(N,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Le,E);for(const N of E){const E=this._contextTimestamps.get(N);if(E==="ignore")continue;let R;if(E!==undefined&&(R=getResolvedTimestamp(E))!==undefined){ce.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${N}: ${E.stack}`)}jobError()}else{ce.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextTimestamp(E,callback)}else{this.getContextTimestamp(N,callback)}}}break}}if(j){const E=captureNonManaged(j,Ne);this._missingExistenceOptimization.optimize(Le,E);for(const N of E){const E=this._fileTimestamps.get(N);if(E!==undefined){if(E!=="ignore"){Ee.set(N,Boolean(E))}}else{Ue++;this.fileTimestampQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${N}: ${E.stack}`)}jobError()}else{Ee.set(N,Boolean(R));jobDone()}}))}}}this._managedItemInfoOptimization.optimize(Le,Be);for(const E of Be){const N=this._managedItems.get(E);if(N!==undefined){Te.set(E,N)}else{Ue++;this.managedItemQueue.add(E,((N,R)=>{if(N){if(this.logger){this.logger.debug(`Error snapshotting managed item ${E}: ${N.stack}`)}jobError()}else{Te.set(E,R);jobDone()}}))}}jobDone()}mergeSnapshots(E,N){const R=new Snapshot;if(E.hasStartTime()&&N.hasStartTime())R.setStartTime(Math.min(E.startTime,N.startTime));else if(N.hasStartTime())R.startTime=N.startTime;else if(E.hasStartTime())R.startTime=E.startTime;if(E.hasFileTimestamps()||N.hasFileTimestamps()){R.setFileTimestamps(mergeMaps(E.fileTimestamps,N.fileTimestamps))}if(E.hasFileHashes()||N.hasFileHashes()){R.setFileHashes(mergeMaps(E.fileHashes,N.fileHashes))}if(E.hasFileTshs()||N.hasFileTshs()){R.setFileTshs(mergeMaps(E.fileTshs,N.fileTshs))}if(E.hasContextTimestamps()||N.hasContextTimestamps()){R.setContextTimestamps(mergeMaps(E.contextTimestamps,N.contextTimestamps))}if(E.hasContextHashes()||N.hasContextHashes()){R.setContextHashes(mergeMaps(E.contextHashes,N.contextHashes))}if(E.hasContextTshs()||N.hasContextTshs()){R.setContextTshs(mergeMaps(E.contextTshs,N.contextTshs))}if(E.hasMissingExistence()||N.hasMissingExistence()){R.setMissingExistence(mergeMaps(E.missingExistence,N.missingExistence))}if(E.hasManagedItemInfo()||N.hasManagedItemInfo()){R.setManagedItemInfo(mergeMaps(E.managedItemInfo,N.managedItemInfo))}if(E.hasManagedFiles()||N.hasManagedFiles()){R.setManagedFiles(mergeSets(E.managedFiles,N.managedFiles))}if(E.hasManagedContexts()||N.hasManagedContexts()){R.setManagedContexts(mergeSets(E.managedContexts,N.managedContexts))}if(E.hasManagedMissing()||N.hasManagedMissing()){R.setManagedMissing(mergeSets(E.managedMissing,N.managedMissing))}if(E.hasChildren()||N.hasChildren()){R.setChildren(mergeSets(E.children,N.children))}if(this._snapshotCache.get(E)===true&&this._snapshotCache.get(N)===true){this._snapshotCache.set(R,true)}return R}checkSnapshotValid(E,N){const R=this._snapshotCache.get(E);if(R!==undefined){this._statTestedSnapshotsCached++;if(typeof R==="boolean"){N(null,R)}else{R.push(N)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(E,N)}_checkSnapshotValidNoCache(E,N){let R=undefined;if(E.hasStartTime()){R=E.startTime}let j=1;const jobDone=()=>{if(--j===0){this._snapshotCache.set(E,true);N(null,true)}};const invalid=()=>{if(j>0){j=-1e8;this._snapshotCache.set(E,false);N(null,false)}};const invalidWithError=(E,N)=>{if(this._remainingLogs>0){this._log(E,`error occurred: %s`,N)}invalid()};const checkHash=(E,N,R)=>{if(N!==R){if(this._remainingLogs>0){this._log(E,`hashes differ (%s != %s)`,N,R)}return false}return true};const checkExistence=(E,N,R)=>{if(!N!==!R){if(this._remainingLogs>0){this._log(E,N?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(E,N,j,$=true)=>{if(N===j)return true;if(!checkExistence(E,Boolean(N),Boolean(j)))return false;if(N){if(typeof R==="number"&&N.safeTime>R){if($&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,N.safeTime,R)}return false}if(j.timestamp!==undefined&&N.timestamp!==j.timestamp){if($&&this._remainingLogs>0){this._log(E,`timestamps differ (%d != %d)`,N.timestamp,j.timestamp)}return false}}return true};const checkContext=(E,N,j,$=true)=>{if(N===j)return true;if(!checkExistence(E,Boolean(N),Boolean(j)))return false;if(N){if(typeof R==="number"&&N.safeTime>R){if($&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,N.safeTime,R)}return false}if(j.timestampHash!==undefined&&N.timestampHash!==j.timestampHash){if($&&this._remainingLogs>0){this._log(E,`timestamps hashes differ (%s != %s)`,N.timestampHash,j.timestampHash)}return false}}return true};if(E.hasChildren()){const childCallback=(E,N)=>{if(E||!N)return invalid();else jobDone()};for(const N of E.children){const E=this._snapshotCache.get(N);if(E!==undefined){this._statTestedChildrenCached++;if(typeof E==="boolean"){if(E===false){invalid();return}}else{j++;E.push(childCallback)}}else{this._statTestedChildrenNotCached++;j++;this._checkSnapshotValidNoCache(N,childCallback)}}}if(E.hasFileTimestamps()){const{fileTimestamps:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._fileTimestamps.get(E);if(N!==undefined){if(N!=="ignore"&&!checkFile(E,N,R)){invalid();return}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkFile(E,j,R)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(E,N)=>{const R=this._fileHashes.get(E);if(R!==undefined){if(R!=="ignore"&&!checkHash(E,R,N)){invalid();return}}else{j++;this.fileHashQueue.add(E,((R,j)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,j,N)){invalid()}else{jobDone()}}))}};if(E.hasFileHashes()){const{fileHashes:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){processFileHashSnapshot(E,R)}}if(E.hasFileTshs()){const{fileTshs:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){if(typeof R==="string"){processFileHashSnapshot(E,R)}else{const N=this._fileTimestamps.get(E);if(N!==undefined){if(N==="ignore"||!checkFile(E,N,R,false)){processFileHashSnapshot(E,R&&R.hash)}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkFile(E,j,R,false)){processFileHashSnapshot(E,R&&R.hash)}jobDone()}))}}}}if(E.hasContextTimestamps()){const{contextTimestamps:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._contextTimestamps.get(E);if(N==="ignore")continue;let $;if(N!==undefined&&($=getResolvedTimestamp(N))!==undefined){if(!checkContext(E,$,R)){invalid();return}}else{j++;const callback=(N,j)=>{if(N)return invalidWithError(E,N);if(!checkContext(E,j,R)){invalid()}else{jobDone()}};if(N!==undefined){this._resolveContextTimestamp(N,callback)}else{this.getContextTimestamp(E,callback)}}}}const processContextHashSnapshot=(E,N)=>{const R=this._contextHashes.get(E);let $;if(R!==undefined&&($=getResolvedHash(R))!==undefined){if(!checkHash(E,$,N)){invalid();return}}else{j++;const callback=(R,j)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,j,N)){invalid()}else{jobDone()}};if(R!==undefined){this._resolveContextHash(R,callback)}else{this.getContextHash(E,callback)}}};if(E.hasContextHashes()){const{contextHashes:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){processContextHashSnapshot(E,R)}}if(E.hasContextTshs()){const{contextTshs:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){if(typeof R==="string"){processContextHashSnapshot(E,R)}else{const N=this._contextTimestamps.get(E);if(N==="ignore")continue;let $;if(N!==undefined&&($=getResolvedTimestamp(N))!==undefined){if(!checkContext(E,$,R,false)){processContextHashSnapshot(E,R&&R.hash)}}else{j++;const callback=(N,j)=>{if(N)return invalidWithError(E,N);if(!checkContext(E,j,R,false)){processContextHashSnapshot(E,R&&R.hash)}jobDone()};if(N!==undefined){this._resolveContextTimestamp(N,callback)}else{this.getContextTimestamp(E,callback)}}}}}if(E.hasMissingExistence()){const{missingExistence:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._fileTimestamps.get(E);if(N!==undefined){if(N!=="ignore"&&!checkExistence(E,Boolean(N),Boolean(R))){invalid();return}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkExistence(E,Boolean(j),Boolean(R))){invalid()}else{jobDone()}}))}}}if(E.hasManagedItemInfo()){const{managedItemInfo:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._managedItems.get(E);if(N!==undefined){if(!checkHash(E,N,R)){invalid();return}}else{j++;this.managedItemQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,j,R)){invalid()}else{jobDone()}}))}}}jobDone();if(j>0){const R=[N];N=(E,N)=>{for(const j of R)j(E,N)};this._snapshotCache.set(E,R)}}_readFileTimestamp(E,N){this.fs.stat(E,((R,j)=>{if(R){if(R.code==="ENOENT"){this._fileTimestamps.set(E,null);this._cachedDeprecatedFileTimestamps=undefined;return N(null,null)}return N(R)}let $;if(j.isDirectory()){$={safeTime:0,timestamp:undefined}}else{const E=+j.mtime;if(E)applyMtime(E);$={safeTime:E?E+Ie:Infinity,timestamp:E}}this._fileTimestamps.set(E,$);this._cachedDeprecatedFileTimestamps=undefined;N(null,$)}))}_readFileHash(E,N){this.fs.readFile(E,((R,j)=>{if(R){if(R.code==="EISDIR"){this._fileHashes.set(E,"directory");return N(null,"directory")}if(R.code==="ENOENT"){this._fileHashes.set(E,null);return N(null,null)}if(R.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${E} for hashing as it's very large`);this._fileHashes.set(E,"too large");return N(null,"too large")}return N(R)}const $=ie(this._hashFunction);$.update(j);const q=$.digest("hex");this._fileHashes.set(E,q);N(null,q)}))}_getFileTimestampAndHash(E,N){const continueWithHash=R=>{const j=this._fileTimestamps.get(E);if(j!==undefined){if(j!=="ignore"){const $={...j,hash:R};this._fileTshs.set(E,$);return N(null,$)}else{this._fileTshs.set(E,R);return N(null,R)}}else{this.fileTimestampQueue.add(E,((j,$)=>{if(j){return N(j)}const q={...$,hash:R};this._fileTshs.set(E,q);return N(null,q)}))}};const R=this._fileHashes.get(E);if(R!==undefined){continueWithHash(R)}else{this.fileHashQueue.add(E,((E,R)=>{if(E){return N(E)}continueWithHash(R)}))}}_readContext({path:E,fromImmutablePath:N,fromManagedItem:R,fromSymlink:j,fromFile:q,fromDirectory:G,reduce:ie},ce){this.fs.readdir(E,((le,Ee)=>{if(le){if(le.code==="ENOENT"){return ce(null,null)}return ce(le)}const Te=Ee.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();$.map(Te,(($,ie)=>{const ce=ae(this.fs,E,$);for(const R of this.immutablePathsRegExps){if(R.test(E)){return ie(null,N(E))}}for(const R of this.immutablePathsWithSlash){if(E.startsWith(R)){return ie(null,N(E))}}for(const N of this.managedPathsRegExps){const j=N.exec(E);if(j){const N=getManagedItem(j[1],E);if(N){return this.managedItemQueue.add(N,((E,N)=>{if(E)return ie(E);return ie(null,R(N))}))}}}for(const N of this.managedPathsWithSlash){if(E.startsWith(N)){const E=getManagedItem(N,ce);if(E){return this.managedItemQueue.add(E,((E,N)=>{if(E)return ie(E);return ie(null,R(N))}))}}}_e(this.fs,ce,((E,N)=>{if(E)return ie(E);if(typeof N==="string"){return j(ce,N,ie)}if(N.isFile()){return q(ce,N,ie)}if(N.isDirectory()){return G(ce,N,ie)}ie(null,null)}))}),((E,N)=>{if(E)return ce(E);const R=ie(Te,N);ce(null,R)}))}))}_readContextTimestamp(E,N){this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E}),fromSymlink:(E,N,R)=>{R(null,{timestampHash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>{const j=this._fileTimestamps.get(E);if(j!==undefined)return R(null,j==="ignore"?null:j);const $=+N.mtime;if($)applyMtime($);const q={safeTime:$?$+Ie:Infinity,timestamp:$};this._fileTimestamps.set(E,q);this._cachedDeprecatedFileTimestamps=undefined;R(null,q)},fromDirectory:(E,N,R)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(E,((E,N)=>{this.contextTimestampQueue.decreaseParallelism();R(E,N)}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);for(const N of E)j.update(N);let $=0;for(const E of N){if(!E){j.update("n");continue}if(E.timestamp){j.update("f");j.update(`${E.timestamp}`)}else if(E.timestampHash){j.update("d");j.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(R===undefined)R=new Set;addAll(E.symlinks,R)}if(E.safeTime){$=Math.max($,E.safeTime)}}const q=j.digest("hex");const G={safeTime:$,timestampHash:q};if(R)G.symlinks=R;return G}},((R,j)=>{if(R)return N(R);this._contextTimestamps.set(E,j);this._cachedDeprecatedContextTimestamps=undefined;N(null,j)}))}_resolveContextTimestamp(E,N){const R=[];let j=0;Te(E.symlinks,10,((E,N,$)=>{this._getUnresolvedContextTimestamp(E,((E,q)=>{if(E)return $(E);if(q&&q!=="ignore"){R.push(q.timestampHash);if(q.safeTime){j=Math.max(j,q.safeTime)}if(q.symlinks!==undefined){for(const E of q.symlinks)N(E)}}$()}))}),($=>{if($)return N($);const q=ie(this._hashFunction);q.update(E.timestampHash);if(E.safeTime){j=Math.max(j,E.safeTime)}R.sort();for(const E of R){q.update(E)}N(null,E.resolved={safeTime:j,timestampHash:q.digest("hex")})}))}_readContextHash(E,N){this._readContext({path:E,fromImmutablePath:()=>"",fromManagedItem:E=>E||"",fromSymlink:(E,N,R)=>{R(null,{hash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>this.getFileHash(E,((E,N)=>{R(E,N||"")})),fromDirectory:(E,N,R)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(E,((E,N)=>{this.contextHashQueue.decreaseParallelism();R(E,N||"")}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);for(const N of E)j.update(N);for(const E of N){if(typeof E==="string"){j.update(E)}else{j.update(E.hash);if(E.symlinks){if(R===undefined)R=new Set;addAll(E.symlinks,R)}}}const $={hash:j.digest("hex")};if(R)$.symlinks=R;return $}},((R,j)=>{if(R)return N(R);this._contextHashes.set(E,j);return N(null,j)}))}_resolveContextHash(E,N){const R=[];Te(E.symlinks,10,((E,N,j)=>{this._getUnresolvedContextHash(E,((E,$)=>{if(E)return j(E);if($){R.push($.hash);if($.symlinks!==undefined){for(const E of $.symlinks)N(E)}}j()}))}),(j=>{if(j)return N(j);const $=ie(this._hashFunction);$.update(E.hash);R.sort();for(const E of R){$.update(E)}N(null,E.resolved=$.digest("hex"))}))}_readContextTimestampAndHash(E,N){const finalize=(R,j)=>{const $=R==="ignore"?j:{...R,...j};this._contextTshs.set(E,$);N(null,$)};const R=this._contextHashes.get(E);const j=this._contextTimestamps.get(E);if(R!==undefined){if(j!==undefined){finalize(j,R)}else{this.contextTimestampQueue.add(E,((E,j)=>{if(E)return N(E);finalize(j,R)}))}}else{if(j!==undefined){this.contextHashQueue.add(E,((E,R)=>{if(E)return N(E);finalize(j,R)}))}else{this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E,hash:E||""}),fromSymlink:(E,N,R)=>{R(null,{timestampHash:N,hash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>{this._getFileTimestampAndHash(E,R)},fromDirectory:(E,N,R)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(E,((E,N)=>{this.contextTshQueue.decreaseParallelism();R(E,N)}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);const $=ie(this._hashFunction);for(const N of E){j.update(N);$.update(N)}let q=0;for(const E of N){if(!E){j.update("n");continue}if(typeof E==="string"){j.update("n");$.update(E);continue}if(E.timestamp){j.update("f");j.update(`${E.timestamp}`)}else if(E.timestampHash){j.update("d");j.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(R===undefined)R=new Set;addAll(E.symlinks,R)}if(E.safeTime){q=Math.max(q,E.safeTime)}$.update(E.hash)}const G={safeTime:q,timestampHash:j.digest("hex"),hash:$.digest("hex")};if(R)G.symlinks=R;return G}},((R,j)=>{if(R)return N(R);this._contextTshs.set(E,j);return N(null,j)}))}}}_resolveContextTsh(E,N){const R=[];const j=[];let $=0;Te(E.symlinks,10,((E,N,q)=>{this._getUnresolvedContextTsh(E,((E,G)=>{if(E)return q(E);if(G){R.push(G.hash);if(G.timestampHash)j.push(G.timestampHash);if(G.safeTime){$=Math.max($,G.safeTime)}if(G.symlinks!==undefined){for(const E of G.symlinks)N(E)}}q()}))}),(q=>{if(q)return N(q);const G=ie(this._hashFunction);const ae=ie(this._hashFunction);G.update(E.hash);if(E.timestampHash)ae.update(E.timestampHash);if(E.safeTime){$=Math.max($,E.safeTime)}R.sort();for(const E of R){G.update(E)}j.sort();for(const E of j){ae.update(E)}N(null,E.resolved={safeTime:$,timestampHash:ae.digest("hex"),hash:G.digest("hex")})}))}_getManagedItemDirectoryInfo(E,N){this.fs.readdir(E,((R,j)=>{if(R){if(R.code==="ENOENT"||R.code==="ENOTDIR"){return N(null,Ne)}return N(R)}const $=new Set(j.map((N=>ae(this.fs,E,N))));N(null,$)}))}_getManagedItemInfo(E,N){const R=ce(this.fs,E);this.managedItemDirectoryQueue.add(R,((R,j)=>{if(R){return N(R)}if(!j.has(E)){this._managedItems.set(E,"missing");return N(null,"missing")}if(E.endsWith("node_modules")&&(E.endsWith("/node_modules")||E.endsWith("\\node_modules"))){this._managedItems.set(E,"exists");return N(null,"exists")}const $=ae(this.fs,E,"package.json");this.fs.readFile($,((R,j)=>{if(R){if(R.code==="ENOENT"||R.code==="ENOTDIR"){this.fs.readdir(E,((R,j)=>{if(!R&&j.length===1&&j[0]==="node_modules"){this._managedItems.set(E,"nested");return N(null,"nested")}const $=`Managed item ${E} isn't a directory or doesn't contain a package.json`;this.logger.warn($);return N(new Error($))}));return}return N(R)}let $;try{$=JSON.parse(j.toString("utf-8"))}catch(E){return N(E)}const q=`${$.name||""}@${$.version||""}`;this._managedItems.set(E,q);N(null,q)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const E=new Map;for(const[N,R]of this._fileTimestamps){if(R)E.set(N,typeof R==="object"?R.safeTime:null)}return this._cachedDeprecatedFileTimestamps=E}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const E=new Map;for(const[N,R]of this._contextTimestamps){if(R)E.set(N,typeof R==="object"?R.safeTime:null)}return this._cachedDeprecatedContextTimestamps=E}}E.exports=FileSystemInfo;E.exports.Snapshot=Snapshot},6283:(E,N,R)=>{"use strict";const{getEntryRuntime:j,mergeRuntimeOwned:$}=R(37416);class FlagAllModulesAsUsedPlugin{constructor(E){this.explanation=E}apply(E){E.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(R=>{let q=undefined;for(const[N,{options:R}]of E.entries){q=$(q,j(E,N,R))}for(const E of R){const R=N.getExportsInfo(E);R.setUsedInUnknownWay(q);N.addExtraReason(E,this.explanation);if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=false}}))}))}}E.exports=FlagAllModulesAsUsedPlugin},95629:(E,N,R)=>{"use strict";const j=R(62355);const $=R(39541);class FlagDependencyExportsPlugin{apply(E){E.hooks.compilation.tap("FlagDependencyExportsPlugin",(E=>{const N=E.moduleGraph;const R=E.getCache("FlagDependencyExportsPlugin");E.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((q,G)=>{const ie=E.getLogger("webpack.FlagDependencyExportsPlugin");let ae=0;let ce=0;let le=0;let _e=0;let Ee=0;let Te=0;const{moduleMemCaches:we}=E;const Ie=new $;ie.time("restore cached provided exports");j.each(q,((E,j)=>{const $=N.getExportsInfo(E);if(!E.buildMeta||!E.buildMeta.exportsType){if($.otherExportsInfo.provided!==null){le++;$.setHasProvideInfo();$.setUnknownExportsProvided();return j()}}if(typeof E.buildInfo.hash!=="string"){_e++;Ie.enqueue(E);$.setHasProvideInfo();return j()}const q=we&&we.get(E);const G=q&&q.get(this);if(G!==undefined){ae++;$.restoreProvided(G);return j()}R.get(E.identifier(),E.buildInfo.hash,((N,R)=>{if(N)return j(N);if(R!==undefined){ce++;$.restoreProvided(R)}else{Ee++;Ie.enqueue(E);$.setHasProvideInfo()}j()}))}),(E=>{ie.timeEnd("restore cached provided exports");if(E)return G(E);const $=new Set;const q=new Map;let Ne;let Me;const Le=new Map;let Be=true;let je=false;const processDependenciesBlock=E=>{for(const N of E.dependencies){processDependency(N)}for(const N of E.blocks){processDependenciesBlock(N)}};const processDependency=E=>{const R=E.getExports(N);if(!R)return;Le.set(E,R)};const processExportsSpec=(E,R)=>{const j=R.exports;const $=R.canMangle;const G=R.from;const ie=R.priority;const ae=R.terminalBinding||false;const ce=R.dependencies;if(R.hideExports){for(const N of R.hideExports){const R=Me.getExportInfo(N);R.unsetTarget(E)}}if(j===true){if(Me.setUnknownExportsProvided($,R.excludeExports,G&&E,G,ie)){je=true}}else if(Array.isArray(j)){const mergeExports=(R,j)=>{for(const ce of j){let j;let le=$;let _e=ae;let Ee=undefined;let Te=G;let we=undefined;let Ie=ie;let Me=false;if(typeof ce==="string"){j=ce}else{j=ce.name;if(ce.canMangle!==undefined)le=ce.canMangle;if(ce.export!==undefined)we=ce.export;if(ce.exports!==undefined)Ee=ce.exports;if(ce.from!==undefined)Te=ce.from;if(ce.priority!==undefined)Ie=ce.priority;if(ce.terminalBinding!==undefined)_e=ce.terminalBinding;if(ce.hidden!==undefined)Me=ce.hidden}const Le=R.getExportInfo(j);if(Le.provided===false||Le.provided===null){Le.provided=true;je=true}if(Le.canMangleProvide!==false&&le===false){Le.canMangleProvide=false;je=true}if(_e&&!Le.terminalBinding){Le.terminalBinding=true;je=true}if(Ee){const E=Le.createNestedExportsInfo();mergeExports(E,Ee)}if(Te&&(Me?Le.unsetTarget(E):Le.setTarget(E,Te,we===undefined?[j]:we,Ie))){je=true}const Be=Le.getTarget(N);let Ue=undefined;if(Be){const E=N.getExportsInfo(Be.module);Ue=E.getNestedExportsInfo(Be.export);const R=q.get(Be.module);if(R===undefined){q.set(Be.module,new Set([Ne]))}else{R.add(Ne)}}if(Le.exportsInfoOwned){if(Le.exportsInfo.setRedirectNamedTo(Ue)){je=true}}else if(Le.exportsInfo!==Ue){Le.exportsInfo=Ue;je=true}}};mergeExports(Me,j)}if(ce){Be=false;for(const E of ce){const N=q.get(E);if(N===undefined){q.set(E,new Set([Ne]))}else{N.add(Ne)}}}};const notifyDependencies=()=>{const E=q.get(Ne);if(E!==undefined){for(const N of E){Ie.enqueue(N)}}};ie.time("figure out provided exports");while(Ie.length>0){Ne=Ie.dequeue();Te++;Me=N.getExportsInfo(Ne);Be=true;je=false;Le.clear();N.freeze();processDependenciesBlock(Ne);N.unfreeze();for(const[E,N]of Le){processExportsSpec(E,N)}if(Be){$.add(Ne)}if(je){notifyDependencies()}}ie.timeEnd("figure out provided exports");ie.log(`${Math.round(100*(_e+Ee)/(ae+ce+Ee+_e+le))}% of exports of modules have been determined (${le} no declared exports, ${Ee} not cached, ${_e} flagged uncacheable, ${ce} from cache, ${ae} from mem cache, ${Te-Ee-_e} additional calculations due to dependencies)`);ie.time("store provided exports into cache");j.each($,((E,j)=>{if(typeof E.buildInfo.hash!=="string"){return j()}const $=N.getExportsInfo(E).getRestoreProvidedData();const q=we&&we.get(E);if(q){q.set(this,$)}R.store(E.identifier(),E.buildInfo.hash,$,j)}),(E=>{ie.timeEnd("store provided exports into cache");G(E)}))}))}));const q=new WeakMap;E.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(E=>{q.set(E,N.getExportsInfo(E).getRestoreProvidedData())}));E.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(E=>{N.getExportsInfo(E).restoreProvided(q.get(E))}))}))}}E.exports=FlagDependencyExportsPlugin},1596:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(79900);const{STAGE_DEFAULT:G}=R(82414);const ie=R(56561);const ae=R(34194);const{getEntryRuntime:ce,mergeRuntimeOwned:le}=R(37416);const{NO_EXPORTS_REFERENCED:_e,EXPORTS_OBJECT_REFERENCED:Ee}=j;class FlagDependencyUsagePlugin{constructor(E){this.global=E}apply(E){E.hooks.compilation.tap("FlagDependencyUsagePlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:G},(R=>{if(E.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const j=E.getLogger("webpack.FlagDependencyUsagePlugin");const G=new Map;const Te=new ae;const processReferencedModule=(E,R,j,q)=>{const ie=N.getExportsInfo(E);if(R.length>0){if(!E.buildMeta||!E.buildMeta.exportsType){if(ie.setUsedWithoutInfo(j)){Te.enqueue(E,j)}return}for(const N of R){let R;let q=true;if(Array.isArray(N)){R=N}else{R=N.name;q=N.canMangle!==false}if(R.length===0){if(ie.setUsedInUnknownWay(j)){Te.enqueue(E,j)}}else{let N=ie;for(let ae=0;ae<R.length;ae++){const ce=N.getExportInfo(R[ae]);if(q===false){ce.canMangleUse=false}const le=ae===R.length-1;if(!le){const R=ce.getNestedExportsInfo();if(R){if(ce.setUsedConditionally((E=>E===$.Unused),$.OnlyPropertiesUsed,j)){const R=N===ie?E:G.get(N);if(R){Te.enqueue(R,j)}}N=R;continue}}if(ce.setUsedConditionally((E=>E!==$.Used),$.Used,j)){const R=N===ie?E:G.get(N);if(R){Te.enqueue(R,j)}}break}}}}else{if(!q&&E.factoryMeta!==undefined&&E.factoryMeta.sideEffectFree){return}if(ie.setUsedForSideEffectsOnly(j)){Te.enqueue(E,j)}}};const processModule=(R,j,$)=>{const G=new Map;const ae=new ie;ae.enqueue(R);for(;;){const R=ae.dequeue();if(R===undefined)break;for(const E of R.blocks){if(!this.global&&E.groupOptions&&E.groupOptions.entryOptions){processModule(E,E.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(E)}}for(const $ of R.dependencies){const R=N.getConnection($);if(!R||!R.module){continue}const ie=R.getActiveState(j);if(ie===false)continue;const{module:ae}=R;if(ie===q.TRANSITIVE_ONLY){processModule(ae,j,false);continue}const ce=G.get(ae);if(ce===Ee){continue}const le=E.getDependencyReferencedExports($,j);if(ce===undefined||ce===_e||le===Ee){G.set(ae,le)}else if(ce!==undefined&&le===_e){continue}else{let E;if(Array.isArray(ce)){E=new Map;for(const N of ce){if(Array.isArray(N)){E.set(N.join("\n"),N)}else{E.set(N.name.join("\n"),N)}}G.set(ae,E)}else{E=ce}for(const N of le){if(Array.isArray(N)){const R=N.join("\n");const j=E.get(R);if(j===undefined){E.set(R,N)}}else{const R=N.name.join("\n");const j=E.get(R);if(j===undefined||Array.isArray(j)){E.set(R,N)}else{E.set(R,{name:N.name,canMangle:N.canMangle&&j.canMangle})}}}}}}for(const[E,N]of G){if(Array.isArray(N)){processReferencedModule(E,N,j,$)}else{processReferencedModule(E,Array.from(N.values()),j,$)}}};j.time("initialize exports usage");for(const E of R){const R=N.getExportsInfo(E);G.set(R,E);R.setHasUseInfo()}j.timeEnd("initialize exports usage");j.time("trace exports usage in graph");const processEntryDependency=(E,R)=>{const j=N.getModule(E);if(j){processReferencedModule(j,_e,R,true)}};let we=undefined;for(const[N,{dependencies:R,includeDependencies:j,options:$}]of E.entries){const q=this.global?undefined:ce(E,N,$);for(const E of R){processEntryDependency(E,q)}for(const E of j){processEntryDependency(E,q)}we=le(we,q)}for(const N of E.globalEntry.dependencies){processEntryDependency(N,we)}for(const N of E.globalEntry.includeDependencies){processEntryDependency(N,we)}while(Te.length){const[E,N]=Te.dequeue();processModule(E,N,false)}j.timeEnd("trace exports usage in graph")}))}))}}E.exports=FlagDependencyUsagePlugin},36253:(E,N,R)=>{"use strict";class Generator{static byType(E){return new ByTypeGenerator(E)}getTypes(E){const N=R(75884);throw new N}getSize(E,N){const j=R(75884);throw new j}generate(E,{dependencyTemplates:N,runtimeTemplate:j,moduleGraph:$,type:q}){const G=R(75884);throw new G}getConcatenationBailoutReason(E,N){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(E,{module:N,runtime:R}){}}class ByTypeGenerator extends Generator{constructor(E){super();this.map=E;this._types=new Set(Object.keys(E))}getTypes(E){return this._types}getSize(E,N){const R=N||"javascript";const j=this.map[R];return j?j.getSize(E,R):0}generate(E,N){const R=N.type;const j=this.map[R];if(!j){throw new Error(`Generator.byType: no generator specified for ${R}`)}return j.generate(E,N)}}E.exports=Generator},4642:(E,N)=>{"use strict";const connectChunkGroupAndChunk=(E,N)=>{if(E.pushChunk(N)){N.addGroup(E)}};const connectChunkGroupParentAndChild=(E,N)=>{if(E.addChild(N)){N.addParent(E)}};N.connectChunkGroupAndChunk=connectChunkGroupAndChunk;N.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class HarmonyLinkingError extends j{constructor(E){super(E);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(E,N,R)=>{"use strict";const j=R(81627);class HookWebpackError extends j{constructor(E,N){super(E.message);this.name="HookWebpackError";this.hook=N;this.error=E;this.hideStack=true;this.details=`caused by plugins in ${N}\n${E.stack}`;this.stack+=`\n-- inner error --\n${E.stack}`}}E.exports=HookWebpackError;const makeWebpackError=(E,N)=>{if(E instanceof j)return E;return new HookWebpackError(E,N)};E.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(E,N)=>(R,$)=>{if(R){if(R instanceof j){E(R);return}E(new HookWebpackError(R,N));return}E(null,$)};E.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(E,N)=>{let R;try{R=E()}catch(E){if(E instanceof j){throw E}throw new HookWebpackError(E,N)}return R};E.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(E,N,R)=>{"use strict";const{SyncBailHook:j}=R(92960);const{RawSource:$}=R(48135);const q=R(45137);const G=R(3080);const ie=R(22352);const ae=R(53520);const ce=R(76150);const le=R(81627);const _e=R(66298);const Ee=R(76302);const Te=R(5389);const we=R(21809);const Ie=R(73158);const Ne=R(79838);const Me=R(3711);const{evaluateToIdentifier:Le}=R(48472);const{find:Be,isSubset:je}=R(26221);const Ue=R(86949);const{compareModulesById:ze}=R(68673);const{getRuntimeKey:We,keyToRuntime:Je,forEachRuntime:Ve,mergeRuntimeOwned:qe,subtractRuntime:He,intersectRuntime:Ge}=R(37416);const Ke=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(E){if(!(E instanceof Me)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let N=Ke.get(E);if(N===undefined){N={hotAcceptCallback:new j(["expression","requests"]),hotAcceptWithoutCallback:new j(["expression","requests"])};Ke.set(E,N)}return N}constructor(E){this.options=E||{}}apply(E){const{_backCompat:N}=E;if(E.options.output.strictModuleErrorHandling===undefined)E.options.output.strictModuleErrorHandling=true;const R=[ce.module];const createAcceptHandler=(E,N)=>{const{hotAcceptCallback:j,hotAcceptWithoutCallback:$}=HotModuleReplacementPlugin.getParserHooks(E);return q=>{const G=E.state.module;const ie=new _e(`${G.moduleArgument}.hot.accept`,q.callee.range,R);ie.loc=q.loc;G.addPresentationalDependency(ie);G.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(q.arguments.length>=1){const R=E.evaluateExpression(q.arguments[0]);let ie=[];let ae=[];if(R.isString()){ie=[R]}else if(R.isArray()){ie=R.items.filter((E=>E.isString()))}if(ie.length>0){ie.forEach(((E,R)=>{const j=E.string;const $=new N(j,E.range);$.optional=true;$.loc=Object.create(q.loc);$.loc.index=R;G.addDependency($);ae.push(j)}));if(q.arguments.length>1){j.call(q.arguments[1],ae);for(let N=1;N<q.arguments.length;N++){E.walkExpression(q.arguments[N])}return true}else{$.call(q,ae);return true}}}E.walkExpressions(q.arguments);return true}};const createDeclineHandler=(E,N)=>j=>{const $=E.state.module;const q=new _e(`${$.moduleArgument}.hot.decline`,j.callee.range,R);q.loc=j.loc;$.addPresentationalDependency(q);$.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(j.arguments.length===1){const R=E.evaluateExpression(j.arguments[0]);let q=[];if(R.isString()){q=[R]}else if(R.isArray()){q=R.items.filter((E=>E.isString()))}q.forEach(((E,R)=>{const q=new N(E.string,E.range);q.optional=true;q.loc=Object.create(j.loc);q.loc.index=R;$.addDependency(q)}))}return true};const createHMRExpressionHandler=E=>N=>{const j=E.state.module;const $=new _e(`${j.moduleArgument}.hot`,N.range,R);$.loc=N.loc;j.addPresentationalDependency($);j.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=E=>{E.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(E=>Le("module.hot","module",(()=>["hot"]),true)(E)));E.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,we));E.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ie));E.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};const applyImportMetaHot=E=>{E.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(E=>Le("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(E)));E.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,Ee));E.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Te));E.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};E.hooks.compilation.tap("HotModuleReplacementPlugin",((R,{normalModuleFactory:j})=>{if(R.compiler!==E)return;R.dependencyFactories.set(we,j);R.dependencyTemplates.set(we,new we.Template);R.dependencyFactories.set(Ie,j);R.dependencyTemplates.set(Ie,new Ie.Template);R.dependencyFactories.set(Ee,j);R.dependencyTemplates.set(Ee,new Ee.Template);R.dependencyFactories.set(Te,j);R.dependencyTemplates.set(Te,new Te.Template);let _e=0;const Me={};const Le={};R.hooks.record.tap("HotModuleReplacementPlugin",((E,N)=>{if(N.hash===E.hash)return;const R=E.chunkGraph;N.hash=E.hash;N.hotIndex=_e;N.fullHashChunkModuleHashes=Me;N.chunkModuleHashes=Le;N.chunkHashes={};N.chunkRuntime={};for(const R of E.chunks){N.chunkHashes[R.id]=R.hash;N.chunkRuntime[R.id]=We(R.runtime)}N.chunkModuleIds={};for(const j of E.chunks){N.chunkModuleIds[j.id]=Array.from(R.getOrderedChunkModulesIterable(j,ze(R)),(E=>R.getModuleId(E)))}}));const Ke=new Ue;const Qe=new Ue;const Xe=new Ue;R.hooks.fullHash.tap("HotModuleReplacementPlugin",(E=>{const N=R.chunkGraph;const j=R.records;for(const E of R.chunks){const getModuleHash=j=>{if(R.codeGenerationResults.has(j,E.runtime)){return R.codeGenerationResults.getHash(j,E.runtime)}else{Xe.add(j,E.runtime);return N.getModuleHash(j,E.runtime)}};const $=N.getChunkFullHashModulesSet(E);if($!==undefined){for(const N of $){Qe.add(N,E)}}const q=N.getChunkModulesIterable(E);if(q!==undefined){if(j.chunkModuleHashes){if($!==undefined){for(const N of q){const R=`${E.id}|${N.identifier()}`;const q=getModuleHash(N);if($.has(N)){if(j.fullHashChunkModuleHashes[R]!==q){Ke.add(N,E)}Me[R]=q}else{if(j.chunkModuleHashes[R]!==q){Ke.add(N,E)}Le[R]=q}}}else{for(const N of q){const R=`${E.id}|${N.identifier()}`;const $=getModuleHash(N);if(j.chunkModuleHashes[R]!==$){Ke.add(N,E)}Le[R]=$}}}else{if($!==undefined){for(const N of q){const R=`${E.id}|${N.identifier()}`;const j=getModuleHash(N);if($.has(N)){Me[R]=j}else{Le[R]=j}}}else{for(const N of q){const R=`${E.id}|${N.identifier()}`;const j=getModuleHash(N);Le[R]=j}}}}}_e=j.hotIndex||0;if(Ke.size>0)_e++;E.update(`${_e}`)}));R.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:G.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const E=R.chunkGraph;const j=R.records;if(j.hash===R.hash)return;if(!j.chunkModuleHashes||!j.chunkHashes||!j.chunkModuleIds){return}for(const[N,$]of Qe){const q=`${$.id}|${N.identifier()}`;const G=Xe.has(N,$.runtime)?E.getModuleHash(N,$.runtime):R.codeGenerationResults.getHash(N,$.runtime);if(j.chunkModuleHashes[q]!==G){Ke.add(N,$)}Le[q]=G}const G=new Map;let ae;for(const E of Object.keys(j.chunkRuntime)){const N=Je(j.chunkRuntime[E]);ae=qe(ae,N)}Ve(ae,(E=>{const{path:N,info:$}=R.getPathWithInfo(R.outputOptions.hotUpdateMainFilename,{hash:j.hash,runtime:E});G.set(E,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:N,assetInfo:$})}));if(G.size===0)return;const ce=new Map;for(const N of R.modules){const R=E.getModuleId(N);ce.set(R,N)}const _e=new Set;for(const $ of Object.keys(j.chunkHashes)){const le=Je(j.chunkRuntime[$]);const Ee=[];for(const E of j.chunkModuleIds[$]){const N=ce.get(E);if(N===undefined){_e.add(E)}else{Ee.push(N)}}let Te;let we;let Ie;let Ne;let Me;let Le;let je;const Ue=Be(R.chunks,(E=>`${E.id}`===$));if(Ue){Te=Ue.id;Le=Ge(Ue.runtime,ae);if(Le===undefined)continue;we=E.getChunkModules(Ue).filter((E=>Ke.has(E,Ue)));Ie=Array.from(E.getChunkRuntimeModulesIterable(Ue)).filter((E=>Ke.has(E,Ue)));const N=E.getChunkFullHashModulesIterable(Ue);Ne=N&&Array.from(N).filter((E=>Ke.has(E,Ue)));const R=E.getChunkDependentHashModulesIterable(Ue);Me=R&&Array.from(R).filter((E=>Ke.has(E,Ue)));je=He(le,Le)}else{Te=`${+$}`===$?+$:$;je=le;Le=le}if(je){Ve(je,(E=>{G.get(E).removedChunkIds.add(Te)}));for(const N of Ee){const q=`${$}|${N.identifier()}`;const ie=j.chunkModuleHashes[q];const ae=E.getModuleRuntimes(N);if(le===Le&&ae.has(Le)){const j=Xe.has(N,Le)?E.getModuleHash(N,Le):R.codeGenerationResults.getHash(N,Le);if(j!==ie){if(N.type==="runtime"){Ie=Ie||[];Ie.push(N)}else{we=we||[];we.push(N)}}}else{Ve(je,(E=>{for(const N of ae){if(typeof N==="string"){if(N===E)return}else if(N!==undefined){if(N.has(E))return}}G.get(E).removedModules.add(N)}))}}}if(we&&we.length>0||Ie&&Ie.length>0){const $=new ie;if(N)q.setChunkGraphForChunk($,E);$.id=Te;$.runtime=Le;if(Ue){for(const E of Ue.groupsIterable)$.addGroup(E)}E.attachModules($,we||[]);E.attachRuntimeModules($,Ie||[]);if(Ne){E.attachFullHashModules($,Ne)}if(Me){E.attachDependentHashModules($,Me)}const ae=R.getRenderManifest({chunk:$,hash:j.hash,fullHash:j.hash,outputOptions:R.outputOptions,moduleTemplates:R.moduleTemplates,dependencyTemplates:R.dependencyTemplates,codeGenerationResults:R.codeGenerationResults,runtimeTemplate:R.runtimeTemplate,moduleGraph:R.moduleGraph,chunkGraph:E});for(const E of ae){let N;let j;if("filename"in E){N=E.filename;j=E.info}else{({path:N,info:j}=R.getPathWithInfo(E.filenameTemplate,E.pathOptions))}const $=E.render();R.additionalChunkAssets.push(N);R.emitAsset(N,$,{hotModuleReplacement:true,...j});if(Ue){Ue.files.add(N);R.hooks.chunkAsset.call(Ue,N)}}Ve(Le,(E=>{G.get(E).updatedChunkIds.add(Te)}))}}const Ee=Array.from(_e);const Te=new Map;for(const{removedChunkIds:E,removedModules:N,updatedChunkIds:j,filename:$,assetInfo:q}of G.values()){const G=Te.get($);if(G&&(!je(G.removedChunkIds,E)||!je(G.removedModules,N)||!je(G.updatedChunkIds,j))){R.warnings.push(new le(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const N of E)G.removedChunkIds.add(N);for(const E of N)G.removedModules.add(E);for(const E of j)G.updatedChunkIds.add(E);continue}Te.set($,{removedChunkIds:E,removedModules:N,updatedChunkIds:j,assetInfo:q})}for(const[N,{removedChunkIds:j,removedModules:q,updatedChunkIds:G,assetInfo:ie}]of Te){const ae={c:Array.from(G),r:Array.from(j),m:q.size===0?Ee:Ee.concat(Array.from(q,(N=>E.getModuleId(N))))};const ce=new $(JSON.stringify(ae));R.emitAsset(N,ce,{hotModuleReplacement:true,...ie})}}));R.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((E,N)=>{N.add(ce.hmrDownloadManifest);N.add(ce.hmrDownloadUpdateHandlers);N.add(ce.interceptModuleExecution);N.add(ce.moduleCache);R.addRuntimeModule(E,new Ne)}));j.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E);applyImportMetaHot(E)}));j.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E)}));j.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(E=>{applyImportMetaHot(E)}));ae.getCompilationHooks(R).loader.tap("HotModuleReplacementPlugin",(E=>{E.hot=true}))}))}}E.exports=HotModuleReplacementPlugin},22352:(E,N,R)=>{"use strict";const j=R(62433);class HotUpdateChunk extends j{constructor(){super()}}E.exports=HotUpdateChunk},16761:(E,N,R)=>{"use strict";const j=R(40674);class IgnoreErrorModuleFactory extends j{constructor(E){super();this.normalModuleFactory=E}create(E,N){this.normalModuleFactory.create(E,((E,R)=>N(null,R)))}}E.exports=IgnoreErrorModuleFactory},69276:(E,N,R)=>{"use strict";const j=R(35817);const $=j(R(44194),(()=>R(8679)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(E){$(E);this.options=E;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(E){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(E.request,E.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(E.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(E.context)){return false}}else{return false}}}apply(E){E.hooks.normalModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));E.hooks.contextModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}E.exports=IgnorePlugin},89056:E=>{"use strict";class IgnoreWarningsPlugin{constructor(E){this._ignoreWarnings=E}apply(E){E.hooks.compilation.tap("IgnoreWarningsPlugin",(E=>{E.hooks.processWarnings.tap("IgnoreWarningsPlugin",(N=>N.filter((N=>!this._ignoreWarnings.some((R=>R(N,E)))))))}))}}E.exports=IgnoreWarningsPlugin},63272:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(56202);const extractFragmentIndex=(E,N)=>[E,N];const sortFragmentWithIndex=([E,N],[R,j])=>{const $=E.stage-R.stage;if($!==0)return $;const q=E.position-R.position;if(q!==0)return q;return N-j};class InitFragment{constructor(E,N,R,j,$){this.content=E;this.stage=N;this.position=R;this.key=j;this.endContent=$}getContent(E){return this.content}getEndContent(E){return this.endContent}static addToSource(E,N,R){if(N.length>0){const $=N.map(extractFragmentIndex).sort(sortFragmentWithIndex);const q=new Map;for(const[E]of $){if(typeof E.mergeAll==="function"){if(!E.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${E.constructor.name}`)}const N=q.get(E.key);if(N===undefined){q.set(E.key,E)}else if(Array.isArray(N)){N.push(E)}else{q.set(E.key,[N,E])}continue}else if(typeof E.merge==="function"){const N=q.get(E.key);if(N!==undefined){q.set(E.key,E.merge(N));continue}}q.set(E.key||Symbol(),E)}const G=new j;const ie=[];for(let E of q.values()){if(Array.isArray(E)){E=E[0].mergeAll(E)}G.add(E.getContent(R));const N=E.getEndContent(R);if(N){ie.push(N)}}G.add(E);for(const E of ie.reverse()){G.add(E)}return G}else{return E}}serialize(E){const{write:N}=E;N(this.content);N(this.stage);N(this.position);N(this.key);N(this.endContent)}deserialize(E){const{read:N}=E;this.content=N();this.stage=N();this.position=N();this.key=N();this.endContent=N()}}$(InitFragment,"webpack/lib/InitFragment");InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;E.exports=InitFragment},49619:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class InvalidDependenciesModuleWarning extends j{constructor(E,N){const R=N?Array.from(N).sort():[];const j=R.map((E=>` * ${JSON.stringify(E)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${j.slice(0,3).join("\n")}${j.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=j.slice(3).join("\n");this.module=E}}$(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");E.exports=InvalidDependenciesModuleWarning},82527:(E,N,R)=>{"use strict";const j=R(58018);class JavascriptMetaInfoPlugin{apply(E){E.hooks.compilation.tap("JavascriptMetaInfoPlugin",((E,{normalModuleFactory:N})=>{const handler=E=>{E.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{E.state.module.buildInfo.moduleConcatenationBailout="eval()";E.state.module.buildInfo.usingEval=true;const N=j.getTopLevelSymbol(E.state);if(N){j.addUsage(E.state,null,N)}else{j.bailout(E.state)}}));E.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let N=E.state.module.buildInfo.topLevelDeclarations;if(N===undefined){N=E.state.module.buildInfo.topLevelDeclarations=new Set}for(const R of E.scope.definitions.asSet()){const j=E.getFreeInfoFromVariable(R);if(j===undefined){N.add(R)}}}))};N.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);N.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}E.exports=JavascriptMetaInfoPlugin},77750:(E,N,R)=>{"use strict";const j=R(62355);const $=R(66583);const{someInIterable:q}=R(11539);const{compareModulesById:G}=R(68673);const{dirname:ie,mkdirp:ae}=R(95396);class LibManifestPlugin{constructor(E){this.options=E}apply(E){E.hooks.emit.tapAsync("LibManifestPlugin",((N,R)=>{const ce=N.moduleGraph;j.forEach(Array.from(N.chunks),((R,j)=>{if(!R.canBeInitial()){j();return}const le=N.chunkGraph;const _e=N.getPath(this.options.path,{chunk:R});const Ee=this.options.name&&N.getPath(this.options.name,{chunk:R});const Te=Object.create(null);for(const N of le.getOrderedChunkModulesIterable(R,G(le))){if(this.options.entryOnly&&!q(ce.getIncomingConnections(N),(E=>E.dependency instanceof $))){continue}const R=N.libIdent({context:this.options.context||E.options.context,associatedObjectForCache:E.root});if(R){const E=ce.getExportsInfo(N);const j=E.getProvidedExports();const $={id:le.getModuleId(N),buildMeta:N.buildMeta,exports:Array.isArray(j)?j:undefined};Te[R]=$}}const we={name:Ee,type:this.options.type,content:Te};const Ie=this.options.format?JSON.stringify(we,null,2):JSON.stringify(we);const Ne=Buffer.from(Ie,"utf8");ae(E.intermediateFileSystem,ie(E.intermediateFileSystem,_e),(N=>{if(N)return j(N);E.intermediateFileSystem.writeFile(_e,Ne,j)}))}),R)}))}}E.exports=LibManifestPlugin},43351:(E,N,R)=>{"use strict";const j=R(13984);class LibraryTemplatePlugin{constructor(E,N,R,j,$){this.library={type:N||"var",name:E,umdNamedDefine:R,auxiliaryComment:j,export:$}}apply(E){const{output:N}=E.options;N.library=this.library;new j(this.library.type).apply(E)}}E.exports=LibraryTemplatePlugin},19674:(E,N,R)=>{"use strict";const j=R(70354);const $=R(53520);const q=R(35817);const G=q(R(80274),(()=>R(30685)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(E={}){G(E);if(typeof E!=="object")E={};if(!E.test){E.test={test:()=>true}}this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("LoaderOptionsPlugin",(E=>{$.getCompilationHooks(E).loader.tap("LoaderOptionsPlugin",((E,R)=>{const $=R.resource;if(!$)return;const q=$.indexOf("?");if(j.matchObject(N,q<0?$:$.substr(0,q))){for(const R of Object.keys(N)){if(R==="include"||R==="exclude"||R==="test"){continue}E[R]=N[R]}}}))}))}}E.exports=LoaderOptionsPlugin},97736:(E,N,R)=>{"use strict";const j=R(53520);class LoaderTargetPlugin{constructor(E){this.target=E}apply(E){E.hooks.compilation.tap("LoaderTargetPlugin",(E=>{j.getCompilationHooks(E).loader.tap("LoaderTargetPlugin",(E=>{E.target=this.target}))}))}}E.exports=LoaderTargetPlugin},73694:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(73837);const q=R(76150);const G=R(91671);const ie=G((()=>R(18161)));const ae=G((()=>R(58421)));const ce=G((()=>R(67104)));class MainTemplate{constructor(E,N){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:$.deprecate(((E,R)=>{N.hooks.renderManifest.tap(E,((E,N)=>{if(!N.chunk.hasRuntime())return E;return R(E,N)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).renderRequire.tap(E,R)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).render.tap(E,((E,j)=>{if(j.chunkGraph.getNumberOfEntryModules(j.chunk)===0||!j.chunk.hasRuntime()){return E}return R(E,j.chunk,N.hash,N.moduleTemplates.javascript,N.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).render.tap(E,((E,j)=>{if(j.chunkGraph.getNumberOfEntryModules(j.chunk)===0||!j.chunk.hasRuntime()){return E}return R(E,j.chunk,N.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:$.deprecate(((E,R)=>{N.hooks.assetPath.tap(E,R)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:$.deprecate(((E,R)=>N.getAssetPath(E,R)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:$.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).chunkHash.tap(E,((E,N)=>{if(!E.hasRuntime())return;return R(N,E)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:$.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:$.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new j(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new j(["source","chunk","hash"]),requireExtensions:new j(["source","chunk","hash"]),requireEnsure:new j(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const E=ce().getCompilationHooks(N);return E.createScript},get linkPrefetch(){const E=ae().getCompilationHooks(N);return E.linkPrefetch},get linkPreload(){const E=ae().getCompilationHooks(N);return E.linkPreload}});this.renderCurrentHashCode=$.deprecate(((E,N)=>{if(N){return`${q.getFullHash} ? ${q.getFullHash}().slice(0, ${N}) : ${E.slice(0,N)}`}return`${q.getFullHash} ? ${q.getFullHash}() : ${E}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=$.deprecate((E=>N.getAssetPath(N.outputOptions.publicPath,E)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=$.deprecate(((E,R)=>N.getAssetPath(E,R)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=$.deprecate(((E,R)=>N.getAssetPathWithInfo(E,R)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:$.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:$.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});E.exports=MainTemplate},53453:(E,N,R)=>{"use strict";const j=R(73837);const $=R(45137);const q=R(32448);const G=R(75412);const ie=R(76150);const{first:ae}=R(26221);const{compareChunksById:ce}=R(68673);const le=R(56202);const _e={};let Ee=1e3;const Te=new Set(["unknown"]);const we=new Set(["javascript"]);const Ie=j.deprecate(((E,N)=>E.needRebuild(N.fileSystemInfo.getDeprecatedFileTimestamps(),N.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends q{constructor(E,N=null,R=null){super();this.type=E;this.context=N;this.layer=R;this.needId=true;this.debugId=Ee++;this.resolveOptions=_e;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return $.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(E){if(E===""){this.needId=false;return}$.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,E)}get hash(){return $.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return $.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(E){G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,E)}get index(){return G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(E){G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,E)}get index2(){return G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(E){G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,E)}get depth(){return G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(E){G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,E)}get issuer(){return G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(E){G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,E)}get usedExports(){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return G.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(G.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(E){const N=$.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(N.isModuleInChunk(this,E))return false;N.connectChunkAndModule(E,this);return true}removeChunk(E){return $.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(E,this)}isInChunk(E){return $.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,E)}isEntryModule(){return $.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return $.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return $.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return $.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,ce)}isProvided(E){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,E)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(E,N){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return N?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return N?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(N)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const R=E.getReadOnlyExportInfo(this,"__esModule");if(R.provided===false){return handleDefault()}const j=R.getTarget(E);if(!j||!j.export||j.export.length!==1||j.export[0]!=="__esModule"){return"dynamic"}switch(j.module.buildMeta&&j.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return N?"default-with-named":"dynamic"}}addPresentationalDependency(E){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(E)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(E){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(E)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(E){if(this._errors===undefined){this._errors=[]}this._errors.push(E)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(E){let N=false;for(const R of E.getIncomingConnections(this)){if(!R.dependency||!R.dependency.optional||!R.isTargetActive(undefined)){return false}N=true}return N}isAccessibleInChunk(E,N,R){for(const R of N.groupsIterable){if(!this.isAccessibleInChunkGroup(E,R))return false}return true}isAccessibleInChunkGroup(E,N,R){const j=new Set([N]);e:for(const $ of j){for(const N of $.chunks){if(N!==R&&E.isModuleInChunk(this,N))continue e}if(N.isInitial())return false;for(const E of N.parentsIterable)j.add(E)}return true}hasReasonForChunk(E,N,R){for(const[j,$]of N.getIncomingConnectionsByOriginModule(this)){if(!$.some((N=>N.isTargetActive(E.runtime))))continue;for(const N of R.getModuleChunksIterable(j)){if(!this.isAccessibleInChunk(R,N,E))return true}}return false}hasReasons(E,N){for(const R of E.getIncomingConnections(this)){if(R.isTargetActive(N))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(E,N){N(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Ie(this,E))}needRebuild(E,N){return true}updateHash(E,N={chunkGraph:$.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:R,runtime:j}=N;E.update(R.getModuleGraphHash(this,j));if(this.presentationalDependencies!==undefined){for(const R of this.presentationalDependencies){R.updateHash(E,N)}}super.updateHash(E,N)}invalidateBuild(){}identifier(){const E=R(75884);throw new E}readableIdentifier(E){const N=R(75884);throw new N}build(E,N,j,$,q){const G=R(75884);throw new G}getSourceTypes(){if(this.source===Module.prototype.source){return Te}else{return we}}source(E,N,j="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const E=R(75884);throw new E}const q=$.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const G={dependencyTemplates:E,runtimeTemplate:N,moduleGraph:q.moduleGraph,chunkGraph:q,runtime:undefined};const ie=this.codeGeneration(G).sources;return j?ie.get(j):ie.get(ae(this.getSourceTypes()))}size(E){const N=R(75884);throw new N}libIdent(E){return null}nameForCondition(){return null}getConcatenationBailoutReason(E){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(E){return true}codeGeneration(E){const N=new Map;for(const R of this.getSourceTypes()){if(R!=="unknown"){N.set(R,this.source(E.dependencyTemplates,E.runtimeTemplate,R))}}return{sources:N,runtimeRequirements:new Set([ie.module,ie.exports,ie.require])}}chunkCondition(E,N){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(E){this.type=E.type;this.layer=E.layer;this.context=E.context;this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(E,N){this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(E,N,R,j){}serialize(E){const{write:N}=E;N(this.type);N(this.layer);N(this.context);N(this.resolveOptions);N(this.factoryMeta);N(this.useSourceMap);N(this.useSimpleSourceMap);N(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);N(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);N(this.buildMeta);N(this.buildInfo);N(this.presentationalDependencies);super.serialize(E)}deserialize(E){const{read:N}=E;this.type=N();this.layer=N();this.context=N();this.resolveOptions=N();this.factoryMeta=N();this.useSourceMap=N();this.useSimpleSourceMap=N();this._warnings=N();this._errors=N();this.buildMeta=N();this.buildInfo=N();this.presentationalDependencies=N();super.deserialize(E)}}le(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:j.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:j.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(E){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});E.exports=Module},26509:(E,N,R)=>{"use strict";const{cutOffLoaderExecution:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleBuildError extends ${constructor(E,{from:N=null}={}){let R="Module build failed";let $=undefined;if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const N=j(E.stack);if(!E.hideStack){R+=N}else{$=N;if(typeof E.message==="string"&&E.message){R+=E.message}else{R+=E}}}else if(typeof E.message==="string"&&E.message){R+=E.message}else{R+=String(E)}}else{R+=String(E)}super(R);this.name="ModuleBuildError";this.details=$;this.error=E}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}q(ModuleBuildError,"webpack/lib/ModuleBuildError");E.exports=ModuleBuildError},82811:(E,N,R)=>{"use strict";const j=R(81627);class ModuleDependencyError extends j{constructor(E,N,R){super(N.message);this.name="ModuleDependencyError";this.details=N&&!N.hideStack?N.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=R;this.error=N;if(N&&N.hideStack){this.stack=N.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}E.exports=ModuleDependencyError},23280:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class ModuleDependencyWarning extends j{constructor(E,N,R){super(N?N.message:"");this.name="ModuleDependencyWarning";this.details=N&&!N.hideStack?N.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=R;this.error=N;if(N&&N.hideStack){this.stack=N.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}$(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");E.exports=ModuleDependencyWarning},91613:(E,N,R)=>{"use strict";const{cleanUp:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleError extends ${constructor(E,{from:N=null}={}){let R="Module Error";if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E&&typeof E==="object"&&E.message){R+=E.message}else if(E){R+=E}super(R);this.name="ModuleError";this.error=E;this.details=E&&typeof E==="object"&&E.stack?j(E.stack,this.message):undefined}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}q(ModuleError,"webpack/lib/ModuleError");E.exports=ModuleError},40674:(E,N,R)=>{"use strict";class ModuleFactory{create(E,N){const j=R(75884);throw new j}}E.exports=ModuleFactory},70354:(E,N,R)=>{"use strict";const j=R(35891);const $=R(91671);const q=N;q.ALL_LOADERS_RESOURCE="[all-loaders][resource]";q.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;q.LOADERS_RESOURCE="[loaders][resource]";q.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;q.RESOURCE="[resource]";q.REGEXP_RESOURCE=/\[resource\]/gi;q.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";q.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;q.RESOURCE_PATH="[resource-path]";q.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;q.ALL_LOADERS="[all-loaders]";q.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;q.LOADERS="[loaders]";q.REGEXP_LOADERS=/\[loaders\]/gi;q.QUERY="[query]";q.REGEXP_QUERY=/\[query\]/gi;q.ID="[id]";q.REGEXP_ID=/\[id\]/gi;q.HASH="[hash]";q.REGEXP_HASH=/\[hash\]/gi;q.NAMESPACE="[namespace]";q.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(E,N)=>()=>{const R=E();const j=R.indexOf(N);return j<0?"":R.substr(j)};const getBefore=(E,N)=>()=>{const R=E();const j=R.lastIndexOf(N);return j<0?"":R.substr(0,j)};const getHash=(E,N)=>()=>{const R=j(N);R.update(E());const $=R.digest("hex");return $.substr(0,4)};const asRegExp=E=>{if(typeof E==="string"){E=new RegExp("^"+E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return E};const lazyObject=E=>{const N={};for(const R of Object.keys(E)){const j=E[R];Object.defineProperty(N,R,{get:()=>j(),set:E=>{Object.defineProperty(N,R,{value:E,enumerable:true,writable:true})},enumerable:true,configurable:true})}return N};const G=/\[\\*([\w-]+)\\*\]/gi;q.createFilename=(E="",N,{requestShortener:R,chunkGraph:j,hashFunction:ie="md4"})=>{const ae={namespace:"",moduleFilenameTemplate:"",...typeof N==="object"?N:{moduleFilenameTemplate:N}};let ce;let le;let _e;let Ee;let Te;if(typeof E==="string"){Te=$((()=>R.shorten(E)));_e=Te;Ee=()=>"";ce=()=>E.split("!").pop();le=getHash(_e,ie)}else{Te=$((()=>E.readableIdentifier(R)));_e=$((()=>R.shorten(E.identifier())));Ee=()=>j.getModuleId(E);ce=()=>E.identifier().split("!").pop();le=getHash(_e,ie)}const we=$((()=>Te().split("!").pop()));const Ie=getBefore(Te,"!");const Ne=getBefore(_e,"!");const Me=getAfter(we,"?");const resourcePath=()=>{const E=Me().length;return E===0?we():we().slice(0,-E)};if(typeof ae.moduleFilenameTemplate==="function"){return ae.moduleFilenameTemplate(lazyObject({identifier:_e,shortIdentifier:Te,resource:we,resourcePath:$(resourcePath),absoluteResourcePath:$(ce),allLoaders:$(Ne),query:$(Me),moduleId:$(Ee),hash:$(le),namespace:()=>ae.namespace}))}const Le=new Map([["identifier",_e],["short-identifier",Te],["resource",we],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",ce],["abs-resource-path",ce],["absoluteresource-path",ce],["absresource-path",ce],["absolute-resourcepath",ce],["abs-resourcepath",ce],["absoluteresourcepath",ce],["absresourcepath",ce],["all-loaders",Ne],["allloaders",Ne],["loaders",Ie],["query",Me],["id",Ee],["hash",le],["namespace",()=>ae.namespace]]);return ae.moduleFilenameTemplate.replace(q.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(q.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(G,((E,N)=>{if(N.length+2===E.length){const E=Le.get(N.toLowerCase());if(E!==undefined){return E()}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}))};q.replaceDuplicates=(E,N,R)=>{const j=Object.create(null);const $=Object.create(null);E.forEach(((E,N)=>{j[E]=j[E]||[];j[E].push(N);$[E]=0}));if(R){Object.keys(j).forEach((E=>{j[E].sort(R)}))}return E.map(((E,q)=>{if(j[E].length>1){if(R&&j[E][0]===q)return E;return N(E,q,$[E]++)}else{return E}}))};q.matchPart=(E,N)=>{if(!N)return true;N=asRegExp(N);if(Array.isArray(N)){return N.map(asRegExp).some((N=>N.test(E)))}else{return N.test(E)}};q.matchObject=(E,N)=>{if(E.test){if(!q.matchPart(N,E.test)){return false}}if(E.include){if(!q.matchPart(N,E.include)){return false}}if(E.exclude){if(q.matchPart(N,E.exclude)){return false}}return true}},75412:(E,N,R)=>{"use strict";const j=R(73837);const $=R(76632);const q=R(79900);const G=R(16102);const ie=R(4396);const ae=new Set;const getConnectionsByOriginModule=E=>{const N=new Map;let R=0;let j=undefined;for(const $ of E){const{originModule:E}=$;if(R===E){j.push($)}else{R=E;const q=N.get(E);if(q!==undefined){j=q;q.push($)}else{const R=[$];j=R;N.set(E,R)}}}return N};const getConnectionsByModule=E=>{const N=new Map;let R=0;let j=undefined;for(const $ of E){const{module:E}=$;if(R===E){j.push($)}else{R=E;const q=N.get(E);if(q!==undefined){j=q;q.push($)}else{const R=[$];j=R;N.set(E,R)}}}return N};class ModuleGraphModule{constructor(){this.incomingConnections=new G;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new $;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined}_getModuleGraphModule(E){let N=this._moduleMap.get(E);if(N===undefined){N=new ModuleGraphModule;this._moduleMap.set(E,N)}return N}setParents(E,N,R,j=-1){E._parentDependenciesBlockIndex=j;E._parentDependenciesBlock=N;E._parentModule=R}getParentModule(E){return E._parentModule}getParentBlock(E){return E._parentDependenciesBlock}getParentBlockIndex(E){return E._parentDependenciesBlockIndex}setResolvedModule(E,N,R){const j=new q(E,N,R,undefined,N.weak,N.getCondition(this));const $=this._getModuleGraphModule(R).incomingConnections;$.add(j);if(E){const N=this._getModuleGraphModule(E);if(N._unassignedConnections===undefined){N._unassignedConnections=[]}N._unassignedConnections.push(j);if(N.outgoingConnections===undefined){N.outgoingConnections=new G}N.outgoingConnections.add(j)}else{this._dependencyMap.set(N,j)}}updateModule(E,N){const R=this.getConnection(E);if(R.module===N)return;const j=R.clone();j.module=N;this._dependencyMap.set(E,j);R.setActive(false);const $=this._getModuleGraphModule(R.originModule);$.outgoingConnections.add(j);const q=this._getModuleGraphModule(N);q.incomingConnections.add(j)}removeConnection(E){const N=this.getConnection(E);const R=this._getModuleGraphModule(N.module);R.incomingConnections.delete(N);const j=this._getModuleGraphModule(N.originModule);j.outgoingConnections.delete(N);this._dependencyMap.set(E,null)}addExplanation(E,N){const R=this.getConnection(E);R.addExplanation(N)}cloneModuleAttributes(E,N){const R=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(N);j.postOrderIndex=R.postOrderIndex;j.preOrderIndex=R.preOrderIndex;j.depth=R.depth;j.exports=R.exports;j.async=R.async}removeModuleAttributes(E){const N=this._getModuleGraphModule(E);N.postOrderIndex=null;N.preOrderIndex=null;N.depth=null;N.async=false}removeAllModuleAttributes(){for(const E of this._moduleMap.values()){E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}}moveModuleConnections(E,N,R){if(E===N)return;const j=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(N);const q=j.outgoingConnections;if(q!==undefined){if($.outgoingConnections===undefined){$.outgoingConnections=new G}const E=$.outgoingConnections;for(const j of q){if(R(j)){j.originModule=N;E.add(j);q.delete(j)}}}const ie=j.incomingConnections;const ae=$.incomingConnections;for(const E of ie){if(R(E)){E.module=N;ae.add(E);ie.delete(E)}}}copyOutgoingModuleConnections(E,N,R){if(E===N)return;const j=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(N);const q=j.outgoingConnections;if(q!==undefined){if($.outgoingConnections===undefined){$.outgoingConnections=new G}const E=$.outgoingConnections;for(const j of q){if(R(j)){const R=j.clone();R.originModule=N;E.add(R);if(R.module!==undefined){const E=this._getModuleGraphModule(R.module);E.incomingConnections.add(R)}}}}}addExtraReason(E,N){const R=this._getModuleGraphModule(E).incomingConnections;R.add(new q(null,null,E,N))}getResolvedModule(E){const N=this.getConnection(E);return N!==undefined?N.resolvedModule:null}getConnection(E){const N=this._dependencyMap.get(E);if(N===undefined){const N=this.getParentModule(E);if(N!==undefined){const R=this._getModuleGraphModule(N);if(R._unassignedConnections&&R._unassignedConnections.length!==0){let N;for(const j of R._unassignedConnections){this._dependencyMap.set(j.dependency,j);if(j.dependency===E)N=j}R._unassignedConnections.length=0;if(N!==undefined){return N}}}this._dependencyMap.set(E,null);return undefined}return N===null?undefined:N}getModule(E){const N=this.getConnection(E);return N!==undefined?N.module:null}getOrigin(E){const N=this.getConnection(E);return N!==undefined?N.originModule:null}getResolvedOrigin(E){const N=this.getConnection(E);return N!==undefined?N.resolvedOriginModule:null}getIncomingConnections(E){const N=this._getModuleGraphModule(E).incomingConnections;return N}getOutgoingConnections(E){const N=this._getModuleGraphModule(E).outgoingConnections;return N===undefined?ae:N}getIncomingConnectionsByOriginModule(E){const N=this._getModuleGraphModule(E).incomingConnections;return N.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(E){const N=this._getModuleGraphModule(E).outgoingConnections;return N===undefined?undefined:N.getFromUnorderedCache(getConnectionsByModule)}getProfile(E){const N=this._getModuleGraphModule(E);return N.profile}setProfile(E,N){const R=this._getModuleGraphModule(E);R.profile=N}getIssuer(E){const N=this._getModuleGraphModule(E);return N.issuer}setIssuer(E,N){const R=this._getModuleGraphModule(E);R.issuer=N}setIssuerIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.issuer===undefined)R.issuer=N}getOptimizationBailout(E){const N=this._getModuleGraphModule(E);return N.optimizationBailout}getProvidedExports(E){const N=this._getModuleGraphModule(E);return N.exports.getProvidedExports()}isExportProvided(E,N){const R=this._getModuleGraphModule(E);const j=R.exports.isExportProvided(N);return j===undefined?null:j}getExportsInfo(E){const N=this._getModuleGraphModule(E);return N.exports}getExportInfo(E,N){const R=this._getModuleGraphModule(E);return R.exports.getExportInfo(N)}getReadOnlyExportInfo(E,N){const R=this._getModuleGraphModule(E);return R.exports.getReadOnlyExportInfo(N)}getUsedExports(E,N){const R=this._getModuleGraphModule(E);return R.exports.getUsedExports(N)}getPreOrderIndex(E){const N=this._getModuleGraphModule(E);return N.preOrderIndex}getPostOrderIndex(E){const N=this._getModuleGraphModule(E);return N.postOrderIndex}setPreOrderIndex(E,N){const R=this._getModuleGraphModule(E);R.preOrderIndex=N}setPreOrderIndexIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.preOrderIndex===null){R.preOrderIndex=N;return true}return false}setPostOrderIndex(E,N){const R=this._getModuleGraphModule(E);R.postOrderIndex=N}setPostOrderIndexIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.postOrderIndex===null){R.postOrderIndex=N;return true}return false}getDepth(E){const N=this._getModuleGraphModule(E);return N.depth}setDepth(E,N){const R=this._getModuleGraphModule(E);R.depth=N}setDepthIfLower(E,N){const R=this._getModuleGraphModule(E);if(R.depth===null||R.depth>N){R.depth=N;return true}return false}isAsync(E){const N=this._getModuleGraphModule(E);return N.async}setAsync(E){const N=this._getModuleGraphModule(E);N.async=true}getMeta(E){let N=this._metaMap.get(E);if(N===undefined){N=Object.create(null);this._metaMap.set(E,N)}return N}getMetaIfExisting(E){return this._metaMap.get(E)}freeze(E){this._cache=new ie;this._cacheStage=E}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(E,...N){if(this._cache===undefined)return E(this,...N);return this._cache.provide(E,...N,(()=>E(this,...N)))}setModuleMemCaches(E){this._moduleMemCaches=E}dependencyCacheProvide(E,...N){const R=N.pop();if(this._moduleMemCaches&&this._cacheStage){const j=this._moduleMemCaches.get(this.getParentModule(E));if(j!==undefined){return j.provide(E,this._cacheStage,...N,(()=>R(this,E,...N)))}}if(this._cache===undefined)return R(this,E,...N);return this._cache.provide(E,...N,(()=>R(this,E,...N)))}static getModuleGraphForModule(E,N,R){const $=le.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=ce.get(E);if(!R)throw new Error(N+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return R}),N+": Use new ModuleGraph API",R);le.set(N,q);return q(E)}static setModuleGraphForModule(E,N){ce.set(E,N)}static clearModuleGraphForModule(E){ce.delete(E)}}const ce=new WeakMap;const le=new Map;E.exports=ModuleGraph;E.exports.ModuleGraphConnection=q},79900:E=>{"use strict";const N=Symbol("transitive only");const R=Symbol("circular connection");const addConnectionStates=(E,R)=>{if(E===true||R===true)return true;if(E===false)return R;if(R===false)return E;if(E===N)return R;if(R===N)return E;return E};const intersectConnectionStates=(E,N)=>{if(E===false||N===false)return false;if(E===true)return N;if(N===true)return E;if(E===R)return N;if(N===R)return E;return E};class ModuleGraphConnection{constructor(E,N,R,j,$=false,q=undefined){this.originModule=E;this.resolvedOriginModule=E;this.dependency=N;this.resolvedModule=R;this.module=R;this.weak=$;this.conditional=!!q;this._active=q!==false;this.condition=q||undefined;this.explanations=undefined;if(j){this.explanations=new Set;this.explanations.add(j)}}clone(){const E=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);E.originModule=this.originModule;E.module=this.module;E.conditional=this.conditional;E._active=this._active;if(this.explanations)E.explanations=new Set(this.explanations);return E}addCondition(E){if(this.conditional){const N=this.condition;this.condition=(R,j)=>intersectConnectionStates(N(R,j),E(R,j))}else if(this._active){this.conditional=true;this.condition=E}}addExplanation(E){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(E)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(E){if(!this.conditional)return this._active;return this.condition(this,E)!==false}isTargetActive(E){if(!this.conditional)return this._active;return this.condition(this,E)===true}getActiveState(E){if(!this.conditional)return this._active;return this.condition(this,E)}setActive(E){this.conditional=false;this._active=E}set active(E){throw new Error("Use setActive instead")}}E.exports=ModuleGraphConnection;E.exports.addConnectionStates=addConnectionStates;E.exports.TRANSITIVE_ONLY=N;E.exports.CIRCULAR_CONNECTION=R},21542:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$,CachedSource:q}=R(48135);const{UsageState:G}=R(76632);const ie=R(58159);const ae=R(18161);const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const printExportsInfoToSource=(E,N,R,j,$,q=new Set)=>{const ae=R.otherExportsInfo;let ce=0;const le=[];for(const E of R.orderedExports){if(!q.has(E)){q.add(E);le.push(E)}else{ce++}}let _e=false;if(!q.has(ae)){q.add(ae);_e=true}else{ce++}for(const R of le){const G=R.getTarget(j);E.add(ie.toComment(`${N}export ${JSON.stringify(R.name).slice(1,-1)} [${R.getProvidedInfo()}] [${R.getUsedInfo()}] [${R.getRenameInfo()}]${G?` -> ${G.module.readableIdentifier($)}${G.export?` .${G.export.map((E=>JSON.stringify(E).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(R.exportsInfo){printExportsInfoToSource(E,N+" ",R.exportsInfo,j,$,q)}}if(ce){E.add(ie.toComment(`${N}... (${ce} already listed exports)`)+"\n")}if(_e){const R=ae.getTarget(j);if(R||ae.provided!==false||ae.getUsed(undefined)!==G.Unused){const j=le.length>0||ce>0?"other exports":"exports";E.add(ie.toComment(`${N}${j} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${R?` -> ${R.module.readableIdentifier($)}`:""}`)+"\n")}}};const ce=new WeakMap;class ModuleInfoHeaderPlugin{constructor(E=true){this._verbose=E}apply(E){const{_verbose:N}=this;E.hooks.compilation.tap("ModuleInfoHeaderPlugin",(E=>{const R=ae.getCompilationHooks(E);R.renderModulePackage.tap("ModuleInfoHeaderPlugin",((E,R,{chunk:G,chunkGraph:ae,moduleGraph:le,runtimeTemplate:_e})=>{const{requestShortener:Ee}=_e;let Te;let we=ce.get(Ee);if(we===undefined){ce.set(Ee,we=new WeakMap);we.set(R,Te={header:undefined,full:new WeakMap})}else{Te=we.get(R);if(Te===undefined){we.set(R,Te={header:undefined,full:new WeakMap})}else if(!N){const N=Te.full.get(E);if(N!==undefined)return N}}const Ie=new j;let Ne=Te.header;if(Ne===undefined){const E=R.readableIdentifier(Ee);const N=E.replace(/\*\//g,"*_/");const j="*".repeat(N.length);const q=`/*!****${j}****!*\\\n !*** ${N} ***!\n \\****${j}****/\n`;Ne=new $(q);Te.header=Ne}Ie.add(Ne);if(N){const N=R.buildMeta.exportsType;Ie.add(ie.toComment(N?`${N} exports`:"unknown exports (runtime-defined)")+"\n");if(N){const E=le.getExportsInfo(R);printExportsInfoToSource(Ie,"",E,le,Ee)}Ie.add(ie.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(R,G.runtime))}`)+"\n");const j=le.getOptimizationBailout(R);if(j){for(const E of j){let N;if(typeof E==="function"){N=E(Ee)}else{N=E}Ie.add(ie.toComment(`${N}`)+"\n")}}Ie.add(E);return Ie}else{Ie.add(E);const N=new q(Ie);Te.full.set(E,N);return N}}));R.chunkHash.tap("ModuleInfoHeaderPlugin",((E,N)=>{N.update("ModuleInfoHeaderPlugin");N.update("1")}))}))}}E.exports=ModuleInfoHeaderPlugin},54032:(E,N,R)=>{"use strict";const j=R(81627);const $={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends j{constructor(E,N,R){let j=`Module not found: ${N.toString()}`;const q=N.message.match(/Can't resolve '([^']+)'/);if(q){const E=q[1];const N=$[E];if(N){const R=N.indexOf("/");const $=R>0?N.slice(0,R):N;j+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";j+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${E}": require.resolve("${N}") }'\n`+`\t- install '${$}'\n`;j+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${E}": false }`}}super(j);this.name="ModuleNotFoundError";this.details=N.details;this.module=E;this.error=N;this.loc=R}}E.exports=ModuleNotFoundError},14489:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);const q=Buffer.from([0,97,115,109]);class ModuleParseError extends j{constructor(E,N,R,j){let $="Module parse failed: "+(N&&N.message);let G=undefined;if((Buffer.isBuffer(E)&&E.slice(0,4).equals(q)||typeof E==="string"&&/^\0asm/.test(E))&&!j.startsWith("webassembly")){$+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";$+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";$+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";$+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!R){$+="\nYou may need an appropriate loader to handle this file type."}else if(R.length>=1){$+=`\nFile was processed with these loaders:${R.map((E=>`\n * ${E}`)).join("")}`;$+="\nYou may need an additional loader to handle the result of these loaders."}else{$+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(N&&N.loc&&typeof N.loc==="object"&&typeof N.loc.line==="number"){var ie=N.loc.line;if(Buffer.isBuffer(E)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(E)){$+="\n(Source code omitted for this binary file)"}else{const N=E.split(/\r?\n/);const R=Math.max(0,ie-3);const j=N.slice(R,ie-1);const q=N[ie-1];const G=N.slice(ie,ie+2);$+=j.map((E=>`\n| ${E}`)).join("")+`\n> ${q}`+G.map((E=>`\n| ${E}`)).join("")}G={start:N.loc}}else if(N&&N.stack){$+="\n"+N.stack}super($);this.name="ModuleParseError";this.loc=G;this.error=N}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}$(ModuleParseError,"webpack/lib/ModuleParseError");E.exports=ModuleParseError},99869:E=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(E){E.additionalFactories=this.factory;(E.additionalFactoryTimes=E.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}E.exports=ModuleProfile},2210:(E,N,R)=>{"use strict";const j=R(81627);class ModuleRestoreError extends j{constructor(E,N){let R="Module restore failed: ";let j=undefined;if(N!==null&&typeof N==="object"){if(typeof N.stack==="string"&&N.stack){const E=N.stack;R+=E}else if(typeof N.message==="string"&&N.message){R+=N.message}else{R+=N}}else{R+=String(N)}super(R);this.name="ModuleRestoreError";this.details=j;this.module=E;this.error=N}}E.exports=ModuleRestoreError},31467:(E,N,R)=>{"use strict";const j=R(81627);class ModuleStoreError extends j{constructor(E,N){let R="Module storing failed: ";let j=undefined;if(N!==null&&typeof N==="object"){if(typeof N.stack==="string"&&N.stack){const E=N.stack;R+=E}else if(typeof N.message==="string"&&N.message){R+=N.message}else{R+=N}}else{R+=String(N)}super(R);this.name="ModuleStoreError";this.details=j;this.module=E;this.error=N}}E.exports=ModuleStoreError},68661:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const q=$((()=>R(18161)));class ModuleTemplate{constructor(E,N){this._runtimeTemplate=E;this.type="javascript";this.hooks=Object.freeze({content:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContent.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContent.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContainer.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModulePackage.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:j.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:j.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ModuleTemplate},8893:(E,N,R)=>{"use strict";const{cleanUp:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleWarning extends ${constructor(E,{from:N=null}={}){let R="Module Warning";if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E&&typeof E==="object"&&E.message){R+=E.message}else if(E){R+=String(E)}super(R);this.name="ModuleWarning";this.warning=E;this.details=E&&typeof E==="object"&&E.stack?j(E.stack,this.message):undefined}serialize(E){const{write:N}=E;N(this.warning);super.serialize(E)}deserialize(E){const{read:N}=E;this.warning=N();super.deserialize(E)}}q(ModuleWarning,"webpack/lib/ModuleWarning");E.exports=ModuleWarning},63433:(E,N,R)=>{"use strict";const j=R(62355);const{SyncHook:$,MultiHook:q}=R(92960);const G=R(27310);const ie=R(34884);const ae=R(10869);const ce=R(56561);E.exports=class MultiCompiler{constructor(E,N){if(!Array.isArray(E)){E=Object.keys(E).map((N=>{E[N].name=N;return E[N]}))}this.hooks=Object.freeze({done:new $(["stats"]),invalid:new q(E.map((E=>E.hooks.invalid))),run:new q(E.map((E=>E.hooks.run))),watchClose:new $([]),watchRun:new q(E.map((E=>E.hooks.watchRun))),infrastructureLog:new q(E.map((E=>E.hooks.infrastructureLog)))});this.compilers=E;this._options={parallelism:N.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const R=this.compilers.map((()=>null));let j=0;for(let E=0;E<this.compilers.length;E++){const N=this.compilers[E];const $=E;let q=false;N.hooks.done.tap("MultiCompiler",(E=>{if(!q){q=true;j++}R[$]=E;if(j===this.compilers.length){this.hooks.done.call(new ie(R))}}));N.hooks.invalid.tap("MultiCompiler",(()=>{if(q){q=false;j--}}))}}get options(){return Object.assign(this.compilers.map((E=>E.options)),this._options)}get outputPath(){let E=this.compilers[0].outputPath;for(const N of this.compilers){while(N.outputPath.indexOf(E)!==0&&/[/\\]/.test(E)){E=E.replace(/[/\\][^/\\]*$/,"")}}if(!E&&this.compilers[0].outputPath[0]==="/")return"/";return E}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(E){for(const N of this.compilers){N.inputFileSystem=E}}set outputFileSystem(E){for(const N of this.compilers){N.outputFileSystem=E}}set watchFileSystem(E){for(const N of this.compilers){N.watchFileSystem=E}}set intermediateFileSystem(E){for(const N of this.compilers){N.intermediateFileSystem=E}}getInfrastructureLogger(E){return this.compilers[0].getInfrastructureLogger(E)}setDependencies(E,N){this.dependencies.set(E,N)}validateDependencies(E){const N=new Set;const R=[];const targetFound=E=>{for(const R of N){if(R.target===E){return true}}return false};const sortEdges=(E,N)=>E.source.name.localeCompare(N.source.name)||E.target.name.localeCompare(N.target.name);for(const E of this.compilers){const j=this.dependencies.get(E);if(j){for(const $ of j){const j=this.compilers.find((E=>E.name===$));if(!j){R.push($)}else{N.add({source:E,target:j})}}}}const j=R.map((E=>`Compiler dependency \`${E}\` not found.`));const $=this.compilers.filter((E=>!targetFound(E)));while($.length>0){const E=$.pop();for(const R of N){if(R.source===E){N.delete(R);const E=R.target;if(!targetFound(E)){$.push(E)}}}}if(N.size>0){const E=Array.from(N).sort(sortEdges).map((E=>`${E.source.name} -> ${E.target.name}`));E.unshift("Circular dependency found in compiler dependencies.");j.unshift(E.join("\n"))}if(j.length>0){const N=j.join("\n");E(new Error(N));return false}return true}runWithDependencies(E,N,R){const $=new Set;let q=E;const isDependencyFulfilled=E=>$.has(E);const getReadyCompilers=()=>{let E=[];let N=q;q=[];for(const R of N){const N=this.dependencies.get(R);const j=!N||N.every(isDependencyFulfilled);if(j){E.push(R)}else{q.push(R)}}return E};const runCompilers=E=>{if(q.length===0)return E();j.map(getReadyCompilers(),((E,R)=>{N(E,(N=>{if(N)return R(N);$.add(E.name);runCompilers(R)}))}),E)};runCompilers(R)}_runGraph(E,N,R){const $=this.compilers.map((E=>({compiler:E,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const q=new Map;for(const E of $)q.set(E.compiler.name,E);for(const E of $){const N=this.dependencies.get(E.compiler);if(!N)continue;for(const R of N){const N=q.get(R);E.parents.push(N);N.children.push(E)}}const G=new ce;for(const E of $){if(E.parents.length===0){E.state="queued";G.enqueue(E)}}let ae=false;let le=0;const _e=this._options.parallelism;const nodeDone=(E,N,q)=>{if(ae)return;if(N){ae=true;return j.each($,((E,N)=>{if(E.compiler.watching){E.compiler.watching.close(N)}else{N()}}),(()=>R(N)))}E.result=q;le--;if(E.state==="running"){E.state="done";for(const N of E.children){if(N.state==="blocked")G.enqueue(N)}}else if(E.state==="running-outdated"){E.state="blocked";G.enqueue(E)}processQueue()};const nodeInvalidFromParent=E=>{if(E.state==="done"){E.state="blocked"}else if(E.state==="running"){E.state="running-outdated"}for(const N of E.children){nodeInvalidFromParent(N)}};const nodeInvalid=E=>{if(E.state==="done"){E.state="pending"}else if(E.state==="running"){E.state="running-outdated"}for(const N of E.children){nodeInvalidFromParent(N)}};const nodeChange=E=>{nodeInvalid(E);if(E.state==="pending"){E.state="blocked"}if(E.state==="blocked"){G.enqueue(E);processQueue()}};const Ee=[];$.forEach(((N,R)=>{Ee.push(N.setupResult=E(N.compiler,R,nodeDone.bind(null,N),(()=>N.state!=="starting"&&N.state!=="running"),(()=>nodeChange(N)),(()=>nodeInvalid(N))))}));let Te=true;const processQueue=()=>{if(Te)return;Te=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(le<_e&&G.length>0&&!ae){const E=G.dequeue();if(E.state==="queued"||E.state==="blocked"&&E.parents.every((E=>E.state==="done"))){le++;E.state="starting";N(E.compiler,E.setupResult,nodeDone.bind(null,E));E.state="running"}}Te=false;if(!ae&&le===0&&$.every((E=>E.state==="done"))){const E=[];for(const N of $){const R=N.result;if(R){N.result=undefined;E.push(R)}}if(E.length>0){R(null,new ie(E))}}};processQueueWorker();return Ee}watch(E,N){if(this.running){return N(new G)}this.running=true;if(this.validateDependencies(N)){const R=this._runGraph(((N,R,j,$,q,G)=>{const ie=N.watch(Array.isArray(E)?E[R]:E,j);if(ie){ie._onInvalid=G;ie._onChange=q;ie._isBlocked=$}return ie}),((E,N,R)=>{if(E.watching!==N)return;if(!N.running)N.invalidate()}),N);return new ae(R,this)}return new ae([],this)}run(E){if(this.running){return E(new G)}this.running=true;if(this.validateDependencies(E)){this._runGraph((()=>{}),((E,N,R)=>E.run(R)),((N,R)=>{this.running=false;if(E!==undefined){return E(N,R)}}))}}purgeInputFileSystem(){for(const E of this.compilers){if(E.inputFileSystem&&E.inputFileSystem.purge){E.inputFileSystem.purge()}}}close(E){j.each(this.compilers,((E,N)=>{E.close(N)}),E)}}},34884:(E,N,R)=>{"use strict";const j=R(49197);const indent=(E,N)=>{const R=E.replace(/\n([^\n])/g,"\n"+N+"$1");return N+R};class MultiStats{constructor(E){this.stats=E}get hash(){return this.stats.map((E=>E.hash)).join("")}hasErrors(){return this.stats.some((E=>E.hasErrors()))}hasWarnings(){return this.stats.some((E=>E.hasWarnings()))}_createChildOptions(E,N){if(!E){E={}}const{children:R=undefined,...j}=typeof E==="string"?{preset:E}:E;const $=this.stats.map(((E,$)=>{const q=Array.isArray(R)?R[$]:R;return E.compilation.createStatsOptions({...j,...typeof q==="string"?{preset:q}:q&&typeof q==="object"?q:undefined},N)}));return{version:$.every((E=>E.version)),hash:$.every((E=>E.hash)),errorsCount:$.every((E=>E.errorsCount)),warningsCount:$.every((E=>E.warningsCount)),errors:$.every((E=>E.errors)),warnings:$.every((E=>E.warnings)),children:$}}toJson(E){E=this._createChildOptions(E,{forToString:false});const N={};N.children=this.stats.map(((N,R)=>{const $=N.toJson(E.children[R]);const q=N.compilation.name;const G=q&&j.makePathsRelative(E.context,q,N.compilation.compiler.root);$.name=G;return $}));if(E.version){N.version=N.children[0].version}if(E.hash){N.hash=N.children.map((E=>E.hash)).join("")}const mapError=(E,N)=>({...N,compilerPath:N.compilerPath?`${E.name}.${N.compilerPath}`:E.name});if(E.errors){N.errors=[];for(const E of N.children){for(const R of E.errors){N.errors.push(mapError(E,R))}}}if(E.warnings){N.warnings=[];for(const E of N.children){for(const R of E.warnings){N.warnings.push(mapError(E,R))}}}if(E.errorsCount){N.errorsCount=0;for(const E of N.children){N.errorsCount+=E.errorsCount}}if(E.warningsCount){N.warningsCount=0;for(const E of N.children){N.warningsCount+=E.warningsCount}}return N}toString(E){E=this._createChildOptions(E,{forToString:true});const N=this.stats.map(((N,R)=>{const $=N.toString(E.children[R]);const q=N.compilation.name;const G=q&&j.makePathsRelative(E.context,q,N.compilation.compiler.root).replace(/\|/g," ");if(!$)return $;return G?`${G}:\n${indent($," ")}`:$}));return N.filter(Boolean).join("\n\n")}}E.exports=MultiStats},10869:(E,N,R)=>{"use strict";const j=R(62355);class MultiWatching{constructor(E,N){this.watchings=E;this.compiler=N}invalidate(E){if(E){j.each(this.watchings,((E,N)=>E.invalidate(N)),E)}else{for(const E of this.watchings){E.invalidate()}}}suspend(){for(const E of this.watchings){E.suspend()}}resume(){for(const E of this.watchings){E.resume()}}close(E){j.forEach(this.watchings,((E,N)=>{E.close(N)}),(N=>{this.compiler.hooks.watchClose.call();if(typeof E==="function"){this.compiler.running=false;E(N)}}))}}E.exports=MultiWatching},66962:E=>{"use strict";class NoEmitOnErrorsPlugin{apply(E){E.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(E=>{if(E.getStats().hasErrors())return false}));E.hooks.compilation.tap("NoEmitOnErrorsPlugin",(E=>{E.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(E.getStats().hasErrors())return false}))}))}}E.exports=NoEmitOnErrorsPlugin},24500:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class NoModeWarning extends j{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},39960:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class NodeStuffInWebError extends j{constructor(E,N,R){super(`${JSON.stringify(N)} has been used, it will be undefined in next major version.\n${R}`);this.name="NodeStuffInWebError";this.loc=E}}$(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");E.exports=NodeStuffInWebError},32125:(E,N,R)=>{"use strict";const j=R(39960);const $=R(76150);const q=R(59455);const G=R(66298);const{evaluateToString:ie,expressionIsUnsupported:ae}=R(48472);const{relative:ce}=R(95396);const{parseResource:le}=R(49197);class NodeStuffPlugin{constructor(E){this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("NodeStuffPlugin",((R,{normalModuleFactory:_e})=>{const handler=(R,_e)=>{if(_e.node===false)return;let Ee=N;if(_e.node){Ee={...Ee,..._e.node}}if(Ee.global!==false){const E=Ee.global==="warn";R.hooks.expression.for("global").tap("NodeStuffPlugin",(N=>{const q=new G($.global,N.range,[$.global]);q.loc=N.loc;R.state.module.addPresentationalDependency(q);if(E){R.state.module.addWarning(new j(q.loc,"global","The global namespace object is Node.js feature and doesn't present in browser."))}}))}const setModuleConstant=(E,N,$)=>{R.hooks.expression.for(E).tap("NodeStuffPlugin",(G=>{const ie=new q(JSON.stringify(N(R.state.module)),G.range,E);ie.loc=G.loc;R.state.module.addPresentationalDependency(ie);if($){R.state.module.addWarning(new j(ie.loc,E,$))}return true}))};const setConstant=(E,N,R)=>setModuleConstant(E,(()=>N),R);const Te=E.context;if(Ee.__filename){switch(Ee.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","The __filename is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__filename",(N=>ce(E.inputFileSystem,Te,N.resource)));break}R.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(E=>{if(!R.state.module)return;const N=le(R.state.module.resource);return ie(N.path)(E)}))}if(Ee.__dirname){switch(Ee.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","The __dirname is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__dirname",(N=>ce(E.inputFileSystem,Te,N.context)));break}R.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(E=>{if(!R.state.module)return;return ie(R.state.module.context)(E)}))}R.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ae(R,"require.extensions is not supported by webpack. Use a loader instead."))};_e.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);_e.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}E.exports=NodeStuffPlugin},53520:(E,N,R)=>{"use strict";const j=R(78688);const{getContext:$,runLoaders:q}=R(60425);const G=R(63477);const{HookMap:ie,SyncHook:ae,AsyncSeriesBailHook:ce}=R(92960);const{CachedSource:le,OriginalSource:_e,RawSource:Ee,SourceMapSource:Te}=R(48135);const we=R(3080);const Ie=R(3728);const Ne=R(53453);const Me=R(26509);const Le=R(91613);const Be=R(79900);const je=R(14489);const Ue=R(8893);const ze=R(76150);const We=R(77090);const Je=R(81627);const Ve=R(72380);const qe=R(83379);const{isSubset:He}=R(26221);const{getScheme:Ge}=R(45754);const{compareLocations:Ke,concatComparators:Qe,compareSelect:Xe,keepOriginalOrder:Ye}=R(68673);const Ze=R(35891);const{createFakeHook:et}=R(16595);const{join:tt}=R(95396);const{contextify:rt,absolutify:nt,makePathsRelative:it}=R(49197);const ot=R(56202);const st=R(91671);const ct=st((()=>R(49619)));const ut=st((()=>R(15235).validate));const dt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(E,N,R)=>{if(N.startsWith("webpack://"))return N;return`webpack://${it(E,N,R)}`};const contextifySourceMap=(E,N,R)=>{if(!Array.isArray(N.sources))return N;const{sourceRoot:j}=N;const $=!j?E=>E:j.endsWith("/")?E=>E.startsWith("/")?`${j.slice(0,-1)}${E}`:`${j}${E}`:E=>E.startsWith("/")?`${j}${E}`:`${j}/${E}`;const q=N.sources.map((N=>contextifySourceUrl(E,$(N),R)));return{...N,file:"x",sourceRoot:undefined,sources:q}};const asString=E=>{if(Buffer.isBuffer(E)){return E.toString("utf-8")}return E};const asBuffer=E=>{if(!Buffer.isBuffer(E)){return Buffer.from(E,"utf-8")}return E};class NonErrorEmittedError extends Je{constructor(E){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+E}}ot(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const pt=new WeakMap;class NormalModule extends Ne{static getCompilationHooks(E){if(!(E instanceof we)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=pt.get(E);if(N===undefined){N={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new ie((E=>{const R=N.readResource.for(E);return et({tap:(E,N)=>R.tap(E,(E=>N(E.resource,E._module))),tapAsync:(E,N)=>R.tapAsync(E,((E,R)=>N(E.resource,E._module,R))),tapPromise:(E,N)=>R.tapPromise(E,(E=>N(E.resource,E._module)))})})),readResource:new ie((()=>new ce(["loaderContext"]))),needBuild:new ce(["module","context"])};pt.set(E,N)}return N}constructor({layer:E,type:N,request:R,userRequest:j,rawRequest:q,loaders:G,resource:ie,resourceResolveData:ae,context:ce,matchResource:le,parser:_e,parserOptions:Ee,generator:Te,generatorOptions:we,resolveOptions:Ie}){super(N,ce||$(ie),E);this.request=R;this.userRequest=j;this.rawRequest=q;this.binary=/^(asset|webassembly)\b/.test(N);this.parser=_e;this.parserOptions=Ee;this.generator=Te;this.generatorOptions=we;this.resource=ie;this.resourceResolveData=ae;this.matchResource=le;this.loaders=G;if(Ie!==undefined){this.resolveOptions=Ie}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){if(this.type==="javascript/auto"){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(E){return E.shorten(this.userRequest)}libIdent(E){return rt(E.context,this.userRequest,E.associatedObjectForCache)}nameForCondition(){const E=this.matchResource||this.resource;const N=E.indexOf("?");if(N>=0)return E.substr(0,N);return E}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.binary=N.binary;this.request=N.request;this.userRequest=N.userRequest;this.rawRequest=N.rawRequest;this.parser=N.parser;this.parserOptions=N.parserOptions;this.generator=N.generator;this.generatorOptions=N.generatorOptions;this.resource=N.resource;this.resourceResolveData=N.resourceResolveData;this.context=N.context;this.matchResource=N.matchResource;this.loaders=N.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const E of this._sourceTypes){this.size(E)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const E=super.getUnsafeCacheData();E.parserOptions=this.parserOptions;E.generatorOptions=this.generatorOptions;return E}restoreFromUnsafeCache(E,N){this._restoreFromUnsafeCache(E,N)}_restoreFromUnsafeCache(E,N){super._restoreFromUnsafeCache(E,N);this.parserOptions=E.parserOptions;this.parser=N.getParser(this.type,this.parserOptions);this.generatorOptions=E.generatorOptions;this.generator=N.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(E,N,R,j,$){if(j){if(typeof j==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new _e(R,contextifySourceUrl(E,j,$))}if(this.useSourceMap){return new Te(R,N,contextifySourceMap(E,j,$))}}return new Ee(R)}_createLoaderContext(E,N,R,$,q){const{requestShortener:ie}=R.runtimeTemplate;const getCurrentLoaderName=()=>{const E=this.getCurrentLoader(Te);if(!E)return"(not in loader scope)";return ie.shorten(E.loader)};const getResolveContext=()=>({fileDependencies:{add:E=>Te.addDependency(E)},contextDependencies:{add:E=>Te.addContextDependency(E)},missingDependencies:{add:E=>Te.addMissingDependency(E)}});const ae=st((()=>nt.bindCache(R.compiler.root)));const ce=st((()=>nt.bindContextCache(this.context,R.compiler.root)));const le=st((()=>rt.bindCache(R.compiler.root)));const _e=st((()=>rt.bindContextCache(this.context,R.compiler.root)));const Ee={absolutify:(E,N)=>E===this.context?ce()(N):ae()(E,N),contextify:(E,N)=>E===this.context?_e()(N):le()(E,N),createHash:E=>Ze(E||R.outputOptions.hashFunction)};const Te={version:2,getOptions:E=>{const N=this.getCurrentLoader(Te);let{options:R}=N;if(typeof R==="string"){if(R.substr(0,1)==="{"&&R.substr(-1)==="}"){try{R=j(R)}catch(E){throw new Error(`Cannot parse string options: ${E.message}`)}}else{R=G.parse(R,"&","=",{maxKeys:0})}}if(R===null||R===undefined){R={}}if(E){let N="Loader";let j="options";let $;if(E.title&&($=/^(.+) (.+)$/.exec(E.title))){[,N,j]=$}ut()(E,R,{name:N,baseDataPath:j})}return R},emitWarning:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addWarning(new Ue(E,{from:getCurrentLoaderName()}))},emitError:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addError(new Le(E,{from:getCurrentLoaderName()}))},getLogger:E=>{const N=this.getCurrentLoader(Te);return R.getLogger((()=>[N&&N.loader,E,this.identifier()].filter(Boolean).join("|")))},resolve(N,R,j){E.resolve({},N,R,getResolveContext(),j)},getResolve(N){const R=N?E.withOptions(N):E;return(E,N,j)=>{if(j){R.resolve({},E,N,getResolveContext(),j)}else{return new Promise(((j,$)=>{R.resolve({},E,N,getResolveContext(),((E,N)=>{if(E)$(E);else j(N)}))}))}}},emitFile:(E,j,$,q)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[E]=this.createSourceForAsset(N.context,E,j,$,R.compiler.root);this.buildInfo.assetsInfo.set(E,q)},addBuildDependency:E=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new qe}this.buildInfo.buildDependencies.add(E)},utils:Ee,rootContext:N.context,webpack:true,sourceMap:!!this.useSourceMap,mode:N.mode||"production",_module:this,_compilation:R,_compiler:R.compiler,fs:$};Object.assign(Te,N.loader);q.loader.call(Te,this);return Te}getCurrentLoader(E,N=E.loaderIndex){if(this.loaders&&this.loaders.length&&N<this.loaders.length&&N>=0&&this.loaders[N]){return this.loaders[N]}return null}createSource(E,N,R,j){if(Buffer.isBuffer(N)){return new Ee(N)}if(!this.identifier){return new Ee(N)}const $=this.identifier();if(this.useSourceMap&&R){return new Te(N,contextifySourceUrl(E,$,j),contextifySourceMap(E,R,j))}if(this.useSourceMap||this.useSimpleSourceMap){return new _e(N,contextifySourceUrl(E,$,j))}return new Ee(N)}_doBuild(E,N,R,j,$,G){const ie=this._createLoaderContext(R,E,N,j,$);const processResult=(R,j)=>{if(R){if(!(R instanceof Error)){R=new NonErrorEmittedError(R)}const E=this.getCurrentLoader(ie);const j=new Me(R,{from:E&&N.runtimeTemplate.requestShortener.shorten(E.loader)});return G(j)}const $=j[0];const q=j.length>=1?j[1]:null;const ae=j.length>=2?j[2]:null;if(!Buffer.isBuffer($)&&typeof $!=="string"){const E=this.getCurrentLoader(ie,0);const R=new Error(`Final loader (${E?N.runtimeTemplate.requestShortener.shorten(E.loader):"unknown"}) didn't return a Buffer or String`);const j=new Me(R);return G(j)}this._source=this.createSource(E.context,this.binary?asBuffer($):asString($),q,N.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return G()};this.buildInfo.fileDependencies=new qe;this.buildInfo.contextDependencies=new qe;this.buildInfo.missingDependencies=new qe;this.buildInfo.cacheable=true;try{$.beforeLoaders.call(this.loaders,this,ie)}catch(E){processResult(E);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new qe}q({resource:this.resource,loaders:this.loaders,context:ie,processResource:(E,N,R)=>{const j=E.resource;const q=Ge(j);$.readResource.for(q).callAsync(E,((E,N)=>{if(E)return R(E);if(typeof N!=="string"&&!N){return R(new We(q,j))}return R(null,N)}))}},((E,N)=>{ie._compilation=ie._compiler=ie._module=ie.fs=undefined;if(!N){this.buildInfo.cacheable=false;return processResult(E||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(N.fileDependencies);this.buildInfo.contextDependencies.addAll(N.contextDependencies);this.buildInfo.missingDependencies.addAll(N.missingDependencies);for(const E of this.loaders){this.buildInfo.buildDependencies.add(E.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&N.cacheable;processResult(E,N.result)}))}markModuleAsErrored(E){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=E;this.addError(E)}applyNoParseRule(E,N){if(typeof E==="string"){return N.startsWith(E)}if(typeof E==="function"){return E(N)}return E.test(N)}shouldPreventParsing(E,N){if(!E){return false}if(!Array.isArray(E)){return this.applyNoParseRule(E,N)}for(let R=0;R<E.length;R++){const j=E[R];if(this.applyNoParseRule(j,N)){return true}}return false}_initBuildHash(E){const N=Ze(E.outputOptions.hashFunction);if(this._source){N.update("source");this._source.updateHash(N)}N.update("meta");N.update(JSON.stringify(this.buildMeta));this.buildInfo.hash=N.digest("hex")}build(E,N,R,j,$){this._forceBuild=false;this._source=null;if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._sourceTypes=undefined;this._ast=null;this.error=null;this.clearWarningsAndErrors();this.clearDependenciesAndBlocks();this.buildMeta={};this.buildInfo={cacheable:false,parsed:true,fileDependencies:undefined,contextDependencies:undefined,missingDependencies:undefined,buildDependencies:undefined,valueDependencies:undefined,hash:undefined,assets:undefined,assetsInfo:undefined};const q=N.compiler.fsStartTime||Date.now();const G=NormalModule.getCompilationHooks(N);return this._doBuild(E,N,R,j,G,(R=>{if(R){this.markModuleAsErrored(R);this._initBuildHash(N);return $()}const handleParseError=R=>{const j=this._source.source();const q=this.loaders.map((R=>rt(E.context,R.loader,N.compiler.root)));const G=new je(j,R,q,this.type);this.markModuleAsErrored(G);this._initBuildHash(N);return $()};const handleParseResult=E=>{this.dependencies.sort(Qe(Xe((E=>E.loc),Ke),Ye(this.dependencies)));this._initBuildHash(N);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{G.beforeSnapshot.call(this)}catch(E){this.markModuleAsErrored(E);return $()}const E=N.options.snapshot.module;if(!this.buildInfo.cacheable||!E){return $()}let R=undefined;const checkDependencies=E=>{for(const j of E){if(!dt.test(j)){if(R===undefined)R=new Set;R.add(j);E.delete(j);try{const R=j.replace(/[\\/]?\*.*$/,"");const $=tt(N.fileSystemInfo.fs,this.context,R);if($!==j&&dt.test($)){(R!==j?this.buildInfo.contextDependencies:E).add($)}}catch(E){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(R!==undefined){const E=ct();this.addWarning(new E(this,R))}N.fileSystemInfo.createSnapshot(q,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,E,((E,N)=>{if(E){this.markModuleAsErrored(E);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=N;return $()}))};try{G.beforeParse.call(this)}catch(R){this.markModuleAsErrored(R);this._initBuildHash(N);return $()}const j=E.module&&E.module.noParse;if(this.shouldPreventParsing(j,this.request)){this.buildInfo.parsed=false;this._initBuildHash(N);return handleBuildDone()}let ie;try{const R=this._source.source();ie=this.parser.parse(this._ast||R,{source:R,current:this,module:this,compilation:N,options:E})}catch(E){handleParseError(E);return}handleParseResult(ie)}))}getConcatenationBailoutReason(E){return this.generator.getConcatenationBailoutReason(this,E)}getSideEffectsConnectionState(E){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return Be.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let N=false;for(const R of this.dependencies){const j=R.getModuleEvaluationSideEffectsState(E);if(j===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(E)){this._addedSideEffectsBailout.add(E);E.getOptimizationBailout(this).push((()=>`Dependency (${R.type}) with side effects at ${Ve(R.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(j!==Be.CIRCULAR_CONNECTION){N=Be.addConnectionStates(N,j)}}this._isEvaluatingSideEffects=false;return N}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtime:$,concatenationScope:q}){const G=new Set;if(!this.buildInfo.parsed){G.add(ze.module);G.add(ze.exports);G.add(ze.thisAsExports)}let ie;const getData=()=>{if(ie===undefined)ie=new Map;return ie};const ae=new Map;for(const ie of this.generator.getTypes(this)){const ce=this.error?new Ee("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtimeRequirements:G,runtime:$,concatenationScope:q,getData:getData,type:ie});if(ce){ae.set(ie,new le(ce))}}const ce={sources:ae,runtimeRequirements:G,data:ie};return ce}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(E,N){const{fileSystemInfo:R,compilation:j,valueCacheVersions:$}=E;if(this._forceBuild)return N(null,true);if(this.error)return N(null,true);if(!this.buildInfo.cacheable)return N(null,true);if(!this.buildInfo.snapshot)return N(null,true);const q=this.buildInfo.valueDependencies;if(q){if(!$)return N(null,true);for(const[E,R]of q){if(R===undefined)return N(null,true);const j=$.get(E);if(R!==j&&(typeof R==="string"||typeof j==="string"||j===undefined||!He(R,j))){return N(null,true)}}}R.checkSnapshotValid(this.buildInfo.snapshot,((R,$)=>{if(R)return N(R);if(!$)return N(null,true);const q=NormalModule.getCompilationHooks(j);q.needBuild.callAsync(this,E,((E,R)=>{if(E){return N(Ie.makeWebpackError(E,"NormalModule.getCompilationHooks().needBuild"))}N(null,!!R)}))}))}size(E){const N=this._sourceSizes===undefined?undefined:this._sourceSizes.get(E);if(N!==undefined){return N}const R=Math.max(1,this.generator.getSize(this,E));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(E,R);return R}addCacheDependencies(E,N,R,j){const{snapshot:$,buildDependencies:q}=this.buildInfo;if($){E.addAll($.getFileIterable());N.addAll($.getContextIterable());R.addAll($.getMissingIterable())}else{const{fileDependencies:j,contextDependencies:$,missingDependencies:q}=this.buildInfo;if(j!==undefined)E.addAll(j);if($!==undefined)N.addAll($);if(q!==undefined)R.addAll(q)}if(q!==undefined){j.addAll(q)}}updateHash(E,N){E.update(this.buildInfo.hash);this.generator.updateHash(E,{module:this,...N});super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this._source);N(this.error);N(this._lastSuccessfulBuildMeta);N(this._forceBuild);super.serialize(E)}static deserialize(E){const N=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});N.deserialize(E);return N}deserialize(E){const{read:N}=E;this._source=N();this.error=N();this._lastSuccessfulBuildMeta=N();this._forceBuild=N();super.deserialize(E)}}ot(NormalModule,"webpack/lib/NormalModule");E.exports=NormalModule},43229:(E,N,R)=>{"use strict";const{getContext:j}=R(60425);const $=R(62355);const{AsyncSeriesBailHook:q,SyncWaterfallHook:G,SyncBailHook:ie,SyncHook:ae,HookMap:ce}=R(92960);const le=R(45137);const _e=R(53453);const Ee=R(40674);const Te=R(75412);const we=R(53520);const Ie=R(94288);const Ne=R(1976);const Me=R(95020);const Le=R(73817);const Be=R(19311);const je=R(83379);const{getScheme:Ue}=R(45754);const{cachedCleverMerge:ze,cachedSetProperty:We}=R(90149);const{join:Je}=R(95396);const{parseResource:Ve}=R(49197);const qe={};const He={};const Ge={};const Ke=[];const Qe=/^([^!]+)!=!/;const loaderToIdent=E=>{if(!E.options){return E.loader}if(typeof E.options==="string"){return E.loader+"?"+E.options}if(typeof E.options!=="object"){throw new Error("loader options must be string or object")}if(E.ident){return E.loader+"??"+E.ident}return E.loader+"?"+JSON.stringify(E.options)};const stringifyLoadersAndResource=(E,N)=>{let R="";for(const N of E){R+=loaderToIdent(N)+"!"}return R+N};const identToLoaderRequest=E=>{const N=E.indexOf("?");if(N>=0){const R=E.substr(0,N);const j=E.substr(N+1);return{loader:R,options:j}}else{return{loader:E,options:undefined}}};const needCalls=(E,N)=>R=>{if(--E===0){return N(R)}if(R&&E>0){E=NaN;return N(R)}};const mergeGlobalOptions=(E,N,R)=>{const j=N.split("/");let $;let q="";for(const N of j){q=q?`${q}/${N}`:N;const R=E[q];if(typeof R==="object"){if($===undefined){$=R}else{$=ze($,R)}}}if($===undefined){return R}else{return ze($,R)}};const deprecationChangedHookMessage=(E,N)=>{const R=N.taps.map((E=>E.name)).join(", ");return`NormalModuleFactory.${E} (${R}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const Xe=new Le([new Ne("test","resource"),new Ne("scheme"),new Ne("mimetype"),new Ne("dependency"),new Ne("include","resource"),new Ne("exclude","resource",true),new Ne("resource"),new Ne("resourceQuery"),new Ne("resourceFragment"),new Ne("realResource"),new Ne("issuer"),new Ne("compiler"),new Ne("issuerLayer"),new Me("assert","assertions"),new Me("descriptionData"),new Ie("type"),new Ie("sideEffects"),new Ie("parser"),new Ie("resolve"),new Ie("generator"),new Ie("layer"),new Be]);class NormalModuleFactory extends Ee{constructor({context:E,fs:N,resolverFactory:R,options:$,associatedObjectForCache:le,layers:Ee=false}){super();this.hooks=Object.freeze({resolve:new q(["resolveData"]),resolveForScheme:new ce((()=>new q(["resourceData","resolveData"]))),resolveInScheme:new ce((()=>new q(["resourceData","resolveData"]))),factorize:new q(["resolveData"]),beforeResolve:new q(["resolveData"]),afterResolve:new q(["resolveData"]),createModule:new q(["createData","resolveData"]),module:new G(["module","createData","resolveData"]),createParser:new ce((()=>new ie(["parserOptions"]))),parser:new ce((()=>new ae(["parser","parserOptions"]))),createGenerator:new ce((()=>new ie(["generatorOptions"]))),generator:new ce((()=>new ae(["generator","generatorOptions"])))});this.resolverFactory=R;this.ruleSet=Xe.compile([{rules:$.defaultRules},{rules:$.rules}]);this.context=E||"";this.fs=N;this._globalParserOptions=$.parser;this._globalGeneratorOptions=$.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const Te=Ve.bindCache(le);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((E,N)=>{this.hooks.resolve.callAsync(E,((R,j)=>{if(R)return N(R);if(j===false)return N();if(j instanceof _e)return N(null,j);if(typeof j==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(E,((R,j)=>{if(R)return N(R);if(typeof j==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(j===false)return N();const $=E.createData;this.hooks.createModule.callAsync($,E,((R,j)=>{if(!j){if(!E.request){return N(new Error("Empty dependency (no request)"))}j=new we($)}j=this.hooks.module.call(j,$,E);return N(null,j)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((E,N)=>{const{contextInfo:R,context:$,dependencies:q,dependencyType:G,request:ie,assertions:ae,resolveOptions:ce,fileDependencies:le,missingDependencies:_e,contextDependencies:we}=E;const Ie=this.getResolver("loader");let Ne=undefined;let Me;let Le;let Be=false;let je=false;let Ve=false;const He=Ue($);let Ge=Ue(ie);if(!Ge){let E=ie;const N=Qe.exec(ie);if(N){let R=N[1];if(R.charCodeAt(0)===46){const E=R.charCodeAt(1);if(E===47||E===46&&R.charCodeAt(2)===47){R=Je(this.fs,$,R)}}Ne={resource:R,...Te(R)};E=ie.substr(N[0].length)}Ge=Ue(E);if(!Ge&&!He){const N=E.charCodeAt(0);const R=E.charCodeAt(1);Be=N===45&&R===33;je=Be||N===33;Ve=N===33&&R===33;const j=E.slice(Be||Ve?2:je?1:0).split(/!+/);Me=j.pop();Le=j.map(identToLoaderRequest);Ge=Ue(Me)}else{Me=E;Le=Ke}}else{Me=ie;Le=Ke}const Xe={fileDependencies:le,missingDependencies:_e,contextDependencies:we};let Ye;let Ze;const et=needCalls(2,(ce=>{if(ce)return N(ce);try{for(const E of Ze){if(typeof E.options==="string"&&E.options[0]==="?"){const N=E.options.substr(1);if(N==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}E.options=this.ruleSet.references.get(N);if(E.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}E.ident=N}}}catch(E){return N(E)}if(!Ye){return N(null,q[0].createIgnoredModule($))}const le=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(Ze,Ye.resource);const _e={};const Te=[];const we=[];const Me=[];let Le;let Ue;if(Ne&&typeof(Le=Ne.resource)==="string"&&(Ue=/\.webpack\[([^\]]+)\]$/.exec(Le))){_e.type=Ue[1];Ne.resource=Ne.resource.slice(0,-_e.type.length-10)}else{_e.type="javascript/auto";const E=Ne||Ye;const N=this.ruleSet.exec({resource:E.path,realResource:Ye.path,resourceQuery:E.query,resourceFragment:E.fragment,scheme:Ge,assertions:ae,mimetype:Ne?"":Ye.data.mimetype||"",dependency:G,descriptionData:Ne?undefined:Ye.data.descriptionFileData,issuer:R.issuer,compiler:R.compiler,issuerLayer:R.issuerLayer||""});for(const E of N){if(E.type==="use"){if(!je&&!Ve){we.push(E.value)}}else if(E.type==="use-post"){if(!Ve){Te.push(E.value)}}else if(E.type==="use-pre"){if(!Be&&!Ve){Me.push(E.value)}}else if(typeof E.value==="object"&&E.value!==null&&typeof _e[E.type]==="object"&&_e[E.type]!==null){_e[E.type]=ze(_e[E.type],E.value)}else{_e[E.type]=E.value}}}let We,Je,qe;const He=needCalls(3,($=>{if($){return N($)}const q=We;if(Ne===undefined){for(const E of Ze)q.push(E);for(const E of Je)q.push(E)}else{for(const E of Je)q.push(E);for(const E of Ze)q.push(E)}for(const E of qe)q.push(E);let G=_e.type;const ae=_e.resolve;const ce=_e.layer;if(ce!==undefined&&!Ee){return N(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(E.createData,{layer:ce===undefined?R.issuerLayer||null:ce,request:stringifyLoadersAndResource(q,Ye.resource),userRequest:le,rawRequest:ie,loaders:q,resource:Ye.resource,context:Ye.context||j(Ye.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:Ye.data,settings:_e,type:G,parser:this.getParser(G,_e.parser),parserOptions:_e.parser,generator:this.getGenerator(G,_e.generator),generatorOptions:_e.generator,resolveOptions:ae})}catch(E){return N(E)}N()}));this.resolveRequestArray(R,this.context,Te,Ie,Xe,((E,N)=>{We=N;He(E)}));this.resolveRequestArray(R,this.context,we,Ie,Xe,((E,N)=>{Je=N;He(E)}));this.resolveRequestArray(R,this.context,Me,Ie,Xe,((E,N)=>{qe=N;He(E)}))}));this.resolveRequestArray(R,He?this.context:$,Le,Ie,Xe,((E,N)=>{if(E)return et(E);Ze=N;et()}));const defaultResolve=E=>{if(/^($|\?)/.test(Me)){Ye={resource:Me,data:{},...Te(Me)};et()}else{const N=this.getResolver("normal",G?We(ce||qe,"dependencyType",G):ce);this.resolveResource(R,E,Me,N,Xe,((E,N,R)=>{if(E)return et(E);if(N!==false){Ye={resource:N,data:R,...Te(N)}}et()}))}};if(Ge){Ye={resource:Me,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Ge).callAsync(Ye,E,(E=>{if(E)return et(E);et()}))}else if(He){Ye={resource:Me,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(He).callAsync(Ye,E,((E,N)=>{if(E)return et(E);if(!N)return defaultResolve(this.context);et()}))}else defaultResolve($)}))}cleanupForCache(){for(const E of this._restoredUnsafeCacheEntries){le.clearChunkGraphForModule(E);Te.clearModuleGraphForModule(E);E.cleanupForCache()}}create(E,N){const R=E.dependencies;const j=E.context||this.context;const $=E.resolveOptions||qe;const q=R[0];const G=q.request;const ie=q.assertions;const ae=E.contextInfo;const ce=new je;const le=new je;const _e=new je;const Ee=R.length>0&&R[0].category||"";const Te={contextInfo:ae,resolveOptions:$,context:j,request:G,assertions:ie,dependencies:R,dependencyType:Ee,fileDependencies:ce,missingDependencies:le,contextDependencies:_e,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(Te,((E,R)=>{if(E){return N(E,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:false})}if(R===false){return N(null,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:Te.cacheable})}if(typeof R==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(Te,((E,R)=>{if(E){return N(E,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:false})}const j={module:R,fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:Te.cacheable};N(null,j)}))}))}resolveResource(E,N,R,j,$,q){j.resolve(E,N,R,$,((G,ie,ae)=>{if(G){return this._resolveResourceErrorHints(G,E,N,R,j,$,((E,N)=>{if(E){G.message+=`\nAn fatal error happened during resolving additional hints for this error: ${E.message}`;G.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${E.stack}`;return q(G)}if(N&&N.length>0){G.message+=`\n${N.join("\n\n")}`}q(G)}))}q(G,ie,ae)}))}_resolveResourceErrorHints(E,N,R,j,q,G,ie){$.parallel([E=>{if(!q.options.fullySpecified)return E();q.withOptions({fullySpecified:false}).resolve(N,R,j,G,((N,R)=>{if(!N&&R){const N=Ve(R).path.replace(/^.*[\\/]/,"");return E(null,`Did you mean '${N}'?\nBREAKING CHANGE: The request '${j}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}E()}))},E=>{if(!q.options.enforceExtension)return E();q.withOptions({enforceExtension:false,extensions:[]}).resolve(N,R,j,G,((N,R)=>{if(!N&&R){let N="";const R=/(\.[^.]+)(\?|$)/.exec(j);if(R){const E=j.replace(/(\.[^.]+)(\?|$)/,"$2");if(q.options.extensions.has(R[1])){N=`Did you mean '${E}'?`}else{N=`Did you mean '${E}'? Also note that '${R[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{N=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return E(null,`The request '${j}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${N}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}E()}))},E=>{if(/^\.\.?\//.test(j)||q.options.preferRelative){return E()}q.resolve(N,R,`./${j}`,G,((N,R)=>{if(N||!R)return E();const $=q.options.modules.map((E=>Array.isArray(E)?E.join(", "):E)).join(", ");E(null,`Did you mean './${j}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${$}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((E,N)=>{if(E)return ie(E);ie(null,N.filter(Boolean))}))}resolveRequestArray(E,N,R,j,q,G){if(R.length===0)return G(null,R);$.map(R,((R,$)=>{j.resolve(E,N,R.loader,q,((G,ie)=>{if(G&&/^[^/]*$/.test(R.loader)&&!/-loader$/.test(R.loader)){return j.resolve(E,N,R.loader+"-loader",q,(E=>{if(!E){G.message=G.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${R.loader}-loader' instead of '${R.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}$(G)}))}if(G)return $(G);const ae=identToLoaderRequest(ie);const ce={loader:ae.loader,options:R.options===undefined?ae.options:R.options,ident:R.options===undefined?undefined:R.ident};return $(null,ce)}))}),G)}getParser(E,N=He){let R=this.parserCache.get(E);if(R===undefined){R=new WeakMap;this.parserCache.set(E,R)}let j=R.get(N);if(j===undefined){j=this.createParser(E,N);R.set(N,j)}return j}createParser(E,N={}){N=mergeGlobalOptions(this._globalParserOptions,E,N);const R=this.hooks.createParser.for(E).call(N);if(!R){throw new Error(`No parser registered for ${E}`)}this.hooks.parser.for(E).call(R,N);return R}getGenerator(E,N=Ge){let R=this.generatorCache.get(E);if(R===undefined){R=new WeakMap;this.generatorCache.set(E,R)}let j=R.get(N);if(j===undefined){j=this.createGenerator(E,N);R.set(N,j)}return j}createGenerator(E,N={}){N=mergeGlobalOptions(this._globalGeneratorOptions,E,N);const R=this.hooks.createGenerator.for(E).call(N);if(!R){throw new Error(`No generator registered for ${E}`)}this.hooks.generator.for(E).call(R,N);return R}getResolver(E,N){return this.resolverFactory.get(E,N)}}E.exports=NormalModuleFactory},92234:(E,N,R)=>{"use strict";const{join:j,dirname:$}=R(95396);class NormalModuleReplacementPlugin{constructor(E,N){this.resourceRegExp=E;this.newResource=N}apply(E){const N=this.resourceRegExp;const R=this.newResource;E.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(q=>{q.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(E=>{if(N.test(E.request)){if(typeof R==="function"){R(E)}else{E.request=R}}}));q.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(q=>{const G=q.createData;if(N.test(G.resource)){if(typeof R==="function"){R(q)}else{const N=E.inputFileSystem;if(R.startsWith("/")||R.length>1&&R[1]===":"){G.resource=R}else{G.resource=j(N,$(N,G.resource),R)}}}}))}))}}E.exports=NormalModuleReplacementPlugin},82414:(E,N)=>{"use strict";N.STAGE_BASIC=-10;N.STAGE_DEFAULT=0;N.STAGE_ADVANCED=10},97614:E=>{"use strict";class OptionsApply{process(E,N){}}E.exports=OptionsApply},2172:(E,N,R)=>{"use strict";class Parser{parse(E,N){const j=R(75884);throw new j}}E.exports=Parser},13125:(E,N,R)=>{"use strict";const j=R(88281);class PrefetchPlugin{constructor(E,N){if(N){this.context=E;this.request=N}else{this.context=null;this.request=E}}apply(E){E.hooks.compilation.tap("PrefetchPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N)}));E.hooks.make.tapAsync("PrefetchPlugin",((N,R)=>{N.addModuleChain(this.context||E.context,new j(this.request),(E=>{R(E)}))}))}}E.exports=PrefetchPlugin},52923:(E,N,R)=>{"use strict";const j=R(63076);const $=R(63433);const q=R(53520);const G=R(35817);const{contextify:ie}=R(49197);const ae=G(R(73971),(()=>R(43691)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(E,N,R)=>E+N+R-Math.max(E,N,R)-Math.min(E,N,R);const createDefaultHandler=(E,N)=>{const R=[];const defaultHandler=(j,$,...q)=>{if(E){if(j===0){R.length=0}const E=[$,...q];const G=E.map((E=>E.replace(/\d+\/\d+ /g,"")));const ie=Date.now();const ae=Math.max(G.length,R.length);for(let E=ae;E>=0;E--){const j=E<G.length?G[E]:undefined;const $=E<R.length?R[E]:undefined;if($){if(j!==$.value){const q=ie-$.time;if($.value){let j=$.value;if(E>0){j=R[E-1].value+" > "+j}const G=`${" | ".repeat(E)}${q} ms ${j}`;const ie=q;{if(ie>1e4){N.error(G)}else if(ie>1e3){N.warn(G)}else if(ie>10){N.info(G)}else if(ie>5){N.log(G)}else{N.debug(G)}}}if(j===undefined){R.length=E}else{$.value=j;$.time=ie;R.length=E+1}}}else{R[E]={value:j,time:ie}}}}N.status(`${Math.floor(j*100)}%`,$,...q);if(j===1||!$&&q.length===0)N.status()};return defaultHandler};const ce=new WeakMap;class ProgressPlugin{static getReporter(E){return ce.get(E)}constructor(E={}){if(typeof E==="function"){E={handler:E}}ae(E);E={...ProgressPlugin.defaultOptions,...E};this.profile=E.profile;this.handler=E.handler;this.modulesCount=E.modulesCount;this.dependenciesCount=E.dependenciesCount;this.showEntries=E.entries;this.showModules=E.modules;this.showDependencies=E.dependencies;this.showActiveModules=E.activeModules;this.percentBy=E.percentBy}apply(E){const N=this.handler||createDefaultHandler(this.profile,E.getInfrastructureLogger("webpack.Progress"));if(E instanceof $){this._applyOnMultiCompiler(E,N)}else if(E instanceof j){this._applyOnCompiler(E,N)}}_applyOnMultiCompiler(E,N){const R=E.compilers.map((()=>[0]));E.compilers.forEach(((E,j)=>{new ProgressPlugin(((E,$,...q)=>{R[j]=[E,$,...q];let G=0;for(const[E]of R)G+=E;N(G/R.length,`[${j}] ${$}`,...q)})).apply(E)}))}_applyOnCompiler(E,N){const R=this.showEntries;const j=this.showModules;const $=this.showDependencies;const q=this.showActiveModules;let G="";let ae="";let le=0;let _e=0;let Ee=0;let Te=0;let we=0;let Ie=1;let Ne=0;let Me=0;let Le=0;const Be=new Set;let je=0;const updateThrottled=()=>{if(je+500<Date.now())update()};const update=()=>{const ce=[];const Ue=Ne/Math.max(le||this.modulesCount||1,Te);const ze=Le/Math.max(Ee||this.dependenciesCount||1,Ie);const We=Me/Math.max(_e||1,we);let Je;switch(this.percentBy){case"entries":Je=ze;break;case"dependencies":Je=We;break;case"modules":Je=Ue;break;default:Je=median3(Ue,ze,We)}const Ve=.1+Je*.55;if(ae){ce.push(`import loader ${ie(E.context,ae,E.root)}`)}else{const E=[];if(R){E.push(`${Le}/${Ie} entries`)}if($){E.push(`${Me}/${we} dependencies`)}if(j){E.push(`${Ne}/${Te} modules`)}if(q){E.push(`${Be.size} active`)}if(E.length>0){ce.push(E.join(" "))}if(q){ce.push(G)}}N(Ve,"building",...ce);je=Date.now()};const factorizeAdd=()=>{we++;if(we<50||we%100===0)updateThrottled()};const factorizeDone=()=>{Me++;if(Me<50||Me%100===0)updateThrottled()};const moduleAdd=()=>{Te++;if(Te<50||Te%100===0)updateThrottled()};const moduleBuild=E=>{const N=E.identifier();if(N){Be.add(N);G=N;update()}};const entryAdd=(E,N)=>{Ie++;if(Ie<5||Ie%10===0)updateThrottled()};const moduleDone=E=>{Ne++;if(q){const N=E.identifier();if(N){Be.delete(N);if(G===N){G="";for(const E of Be){G=E}update();return}}}if(Ne<50||Ne%100===0)updateThrottled()};const entryDone=(E,N)=>{Le++;update()};const Ue=E.getCache("ProgressPlugin").getItemCache("counts",null);let ze;E.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!ze){ze=Ue.getPromise().then((E=>{if(E){le=le||E.modulesCount;_e=_e||E.dependenciesCount}return E}),(E=>{}))}}));E.hooks.afterCompile.tapPromise("ProgressPlugin",(E=>{if(E.compiler.isChild())return Promise.resolve();return ze.then((async E=>{if(!E||E.modulesCount!==Te||E.dependenciesCount!==we){await Ue.storePromise({modulesCount:Te,dependenciesCount:we})}}))}));E.hooks.compilation.tap("ProgressPlugin",(R=>{if(R.compiler.isChild())return;le=Te;Ee=Ie;_e=we;Te=we=Ie=0;Ne=Me=Le=0;R.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);R.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);R.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);R.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(q){R.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}R.hooks.addEntry.tap("ProgressPlugin",entryAdd);R.hooks.failedEntry.tap("ProgressPlugin",entryDone);R.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const j={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const $=Object.keys(j).length;Object.keys(j).forEach(((q,G)=>{const ie=j[q];const ae=G/$*.25+.7;R.hooks[q].intercept({name:"ProgressPlugin",call(){N(ae,"sealing",ie)},done(){ce.set(E,undefined);N(ae,"sealing",ie)},result(){N(ae,"sealing",ie)},error(){N(ae,"sealing",ie)},tap(E){ce.set(R.compiler,((R,...j)=>{N(ae,"sealing",ie,E.name,...j)}));N(ae,"sealing",ie,E.name)}})}))}));E.hooks.make.intercept({name:"ProgressPlugin",call(){N(.1,"building")},done(){N(.65,"building")}});const interceptHook=(R,j,$,q)=>{R.intercept({name:"ProgressPlugin",call(){N(j,$,q)},done(){ce.set(E,undefined);N(j,$,q)},result(){N(j,$,q)},error(){N(j,$,q)},tap(R){ce.set(E,((E,...G)=>{N(j,$,q,R.name,...G)}));N(j,$,q,R.name)}})};E.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){N(0,"")}});interceptHook(E.cache.hooks.endIdle,.01,"cache","end idle");E.hooks.initialize.intercept({name:"ProgressPlugin",call(){N(0,"")}});interceptHook(E.hooks.initialize,.01,"setup","initialize");interceptHook(E.hooks.beforeRun,.02,"setup","before run");interceptHook(E.hooks.run,.03,"setup","run");interceptHook(E.hooks.watchRun,.03,"setup","watch run");interceptHook(E.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(E.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(E.hooks.beforeCompile,.06,"setup","before compile");interceptHook(E.hooks.compile,.07,"setup","compile");interceptHook(E.hooks.thisCompilation,.08,"setup","compilation");interceptHook(E.hooks.compilation,.09,"setup","compilation");interceptHook(E.hooks.finishMake,.69,"building","finish");interceptHook(E.hooks.emit,.95,"emitting","emit");interceptHook(E.hooks.afterEmit,.98,"emitting","after emit");interceptHook(E.hooks.done,.99,"done","plugins");E.hooks.done.intercept({name:"ProgressPlugin",done(){N(.99,"")}});interceptHook(E.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(E.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(E.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(E.hooks.watchClose,.99,"end","closing watch compilation");E.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){N(1,"")}});E.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){N(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};E.exports=ProgressPlugin},40313:(E,N,R)=>{"use strict";const j=R(66298);const $=R(1335);const{approve:q}=R(48472);class ProvidePlugin{constructor(E){this.definitions=E}apply(E){const N=this.definitions;E.hooks.compilation.tap("ProvidePlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{Object.keys(N).forEach((R=>{const j=[].concat(N[R]);const G=R.split(".");if(G.length>0){G.slice(1).forEach(((N,R)=>{const j=G.slice(0,R+1).join(".");E.hooks.canRename.for(j).tap("ProvidePlugin",q)}))}E.hooks.expression.for(R).tap("ProvidePlugin",(N=>{const q=R.includes(".")?`__webpack_provided_${R.replace(/\./g,"_dot_")}`:R;const G=new $(j[0],q,j.slice(1),N.range);G.loc=N.loc;E.state.module.addDependency(G);return true}));E.hooks.call.for(R).tap("ProvidePlugin",(N=>{const q=R.includes(".")?`__webpack_provided_${R.replace(/\./g,"_dot_")}`:R;const G=new $(j[0],q,j.slice(1),N.callee.range);G.loc=N.callee.loc;E.state.module.addDependency(G);E.walkExpressions(N.arguments);return true}))}))};R.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);R.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}E.exports=ProvidePlugin},22804:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(53453);const G=R(56202);const ie=new Set(["javascript"]);class RawModule extends q{constructor(E,N,R,j){super("javascript/dynamic",null);this.sourceStr=E;this.identifierStr=N||this.sourceStr;this.readableIdentifierStr=R||this.identifierStr;this.runtimeRequirements=j||null}getSourceTypes(){return ie}identifier(){return this.identifierStr}size(E){return Math.max(1,this.sourceStr.length)}readableIdentifier(E){return E.shorten(this.readableIdentifierStr)}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={cacheable:true};$()}codeGeneration(E){const N=new Map;if(this.useSourceMap||this.useSimpleSourceMap){N.set("javascript",new j(this.sourceStr,this.identifier()))}else{N.set("javascript",new $(this.sourceStr))}return{sources:N,runtimeRequirements:this.runtimeRequirements}}updateHash(E,N){E.update(this.sourceStr);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.sourceStr);N(this.identifierStr);N(this.readableIdentifierStr);N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.sourceStr=N();this.identifierStr=N();this.readableIdentifierStr=N();this.runtimeRequirements=N();super.deserialize(E)}}G(RawModule,"webpack/lib/RawModule");E.exports=RawModule},43806:(E,N,R)=>{"use strict";const{compareNumbers:j}=R(68673);const $=R(49197);class RecordIdsPlugin{constructor(E){this.options=E||{}}apply(E){const N=this.options.portableIds;const R=$.makePathsRelative.bindContextCache(E.context,E.root);const getModuleIdentifier=E=>{if(N){return R(E.identifier())}return E.identifier()};E.hooks.compilation.tap("RecordIdsPlugin",(E=>{E.hooks.recordModules.tap("RecordIdsPlugin",((N,R)=>{const $=E.chunkGraph;if(!R.modules)R.modules={};if(!R.modules.byIdentifier)R.modules.byIdentifier={};const q=new Set;for(const E of N){const N=$.getModuleId(E);if(typeof N!=="number")continue;const j=getModuleIdentifier(E);R.modules.byIdentifier[j]=N;q.add(N)}R.modules.usedIds=Array.from(q).sort(j)}));E.hooks.reviveModules.tap("RecordIdsPlugin",((N,R)=>{if(!R.modules)return;if(R.modules.byIdentifier){const j=E.chunkGraph;const $=new Set;for(const E of N){const N=j.getModuleId(E);if(N!==null)continue;const q=getModuleIdentifier(E);const G=R.modules.byIdentifier[q];if(G===undefined)continue;if($.has(G))continue;$.add(G);j.setModuleId(E,G)}}if(Array.isArray(R.modules.usedIds)){E.usedModuleIds=new Set(R.modules.usedIds)}}));const getChunkSources=E=>{const N=[];for(const R of E.groupsIterable){const j=R.chunks.indexOf(E);if(R.name){N.push(`${j} ${R.name}`)}else{for(const E of R.origins){if(E.module){if(E.request){N.push(`${j} ${getModuleIdentifier(E.module)} ${E.request}`)}else if(typeof E.loc==="string"){N.push(`${j} ${getModuleIdentifier(E.module)} ${E.loc}`)}else if(E.loc&&typeof E.loc==="object"&&"start"in E.loc){N.push(`${j} ${getModuleIdentifier(E.module)} ${JSON.stringify(E.loc.start)}`)}}}}}return N};E.hooks.recordChunks.tap("RecordIdsPlugin",((E,N)=>{if(!N.chunks)N.chunks={};if(!N.chunks.byName)N.chunks.byName={};if(!N.chunks.bySource)N.chunks.bySource={};const R=new Set;for(const j of E){if(typeof j.id!=="number")continue;const E=j.name;if(E)N.chunks.byName[E]=j.id;const $=getChunkSources(j);for(const E of $){N.chunks.bySource[E]=j.id}R.add(j.id)}N.chunks.usedIds=Array.from(R).sort(j)}));E.hooks.reviveChunks.tap("RecordIdsPlugin",((N,R)=>{if(!R.chunks)return;const j=new Set;if(R.chunks.byName){for(const E of N){if(E.id!==null)continue;if(!E.name)continue;const N=R.chunks.byName[E.name];if(N===undefined)continue;if(j.has(N))continue;j.add(N);E.id=N;E.ids=[N]}}if(R.chunks.bySource){for(const E of N){if(E.id!==null)continue;const N=getChunkSources(E);for(const $ of N){const N=R.chunks.bySource[$];if(N===undefined)continue;if(j.has(N))continue;j.add(N);E.id=N;E.ids=[N];break}}}if(Array.isArray(R.chunks.usedIds)){E.usedChunkIds=new Set(R.chunks.usedIds)}}))}))}}E.exports=RecordIdsPlugin},80910:(E,N,R)=>{"use strict";const{contextify:j}=R(49197);class RequestShortener{constructor(E,N){this.contextify=j.bindContextCache(E,N)}shorten(E){if(!E){return E}return this.contextify(E)}}E.exports=RequestShortener},10830:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66298);const{toConstantDependency:q}=R(48472);E.exports=class RequireJsStuffPlugin{apply(E){E.hooks.compilation.tap("RequireJsStuffPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);const handler=(E,N)=>{if(N.requireJs===undefined||!N.requireJs){return}E.hooks.call.for("require.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",q(E,JSON.stringify("0.0.0")));E.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",q(E,j.uncaughtErrorHandler,[j.uncaughtErrorHandler]))};N.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(E,N,R)=>{"use strict";const j=R(17583).ResolverFactory;const{HookMap:$,SyncHook:q,SyncWaterfallHook:G}=R(92960);const{cachedCleverMerge:ie,removeOperations:ae,resolveByProperty:ce}=R(90149);const le={};const convertToResolveOptions=E=>{const{dependencyType:N,plugins:R,...j}=E;const $={...j,plugins:R&&R.filter((E=>E!=="..."))};if(!$.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const q=$;return ae(ce(q,"byDependency",N))};E.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new $((()=>new G(["resolveOptions"]))),resolver:new $((()=>new q(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(E,N=le){let R=this.cache.get(E);if(!R){R={direct:new WeakMap,stringified:new Map};this.cache.set(E,R)}const j=R.direct.get(N);if(j){return j}const $=JSON.stringify(N);const q=R.stringified.get($);if(q){R.direct.set(N,q);return q}const G=this._create(E,N);R.direct.set(N,G);R.stringified.set($,G);return G}_create(E,N){const R={...N};const $=convertToResolveOptions(this.hooks.resolveOptions.for(E).call(N));const q=j.createResolver($);if(!q){throw new Error("No resolver created")}const G=new WeakMap;q.withOptions=N=>{const j=G.get(N);if(j!==undefined)return j;const $=ie(R,N);const q=this.get(E,$);G.set(N,q);return q};this.hooks.resolver.for(E).call(q,$,R);return q}}},76150:(E,N)=>{"use strict";N.require="__webpack_require__";N.requireScope="__webpack_require__.*";N.exports="__webpack_exports__";N.thisAsExports="top-level-this-exports";N.returnExportsFromRuntime="return-exports-from-runtime";N.module="module";N.moduleId="module.id";N.moduleLoaded="module.loaded";N.publicPath="__webpack_require__.p";N.entryModuleId="__webpack_require__.s";N.moduleCache="__webpack_require__.c";N.moduleFactories="__webpack_require__.m";N.moduleFactoriesAddOnly="__webpack_require__.m (add only)";N.ensureChunk="__webpack_require__.e";N.ensureChunkHandlers="__webpack_require__.f";N.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";N.prefetchChunk="__webpack_require__.E";N.prefetchChunkHandlers="__webpack_require__.F";N.preloadChunk="__webpack_require__.G";N.preloadChunkHandlers="__webpack_require__.H";N.definePropertyGetters="__webpack_require__.d";N.makeNamespaceObject="__webpack_require__.r";N.createFakeNamespaceObject="__webpack_require__.t";N.compatGetDefaultExport="__webpack_require__.n";N.harmonyModuleDecorator="__webpack_require__.hmd";N.nodeModuleDecorator="__webpack_require__.nmd";N.getFullHash="__webpack_require__.h";N.wasmInstances="__webpack_require__.w";N.instantiateWasm="__webpack_require__.v";N.uncaughtErrorHandler="__webpack_require__.oe";N.scriptNonce="__webpack_require__.nc";N.loadScript="__webpack_require__.l";N.createScriptUrl="__webpack_require__.tu";N.chunkName="__webpack_require__.cn";N.runtimeId="__webpack_require__.j";N.getChunkScriptFilename="__webpack_require__.u";N.getChunkUpdateScriptFilename="__webpack_require__.hu";N.startup="__webpack_require__.x";N.startupNoDefault="__webpack_require__.x (no default handler)";N.startupOnlyAfter="__webpack_require__.x (only after)";N.startupOnlyBefore="__webpack_require__.x (only before)";N.chunkCallback="webpackChunk";N.startupEntrypoint="__webpack_require__.X";N.onChunksLoaded="__webpack_require__.O";N.externalInstallChunk="__webpack_require__.C";N.interceptModuleExecution="__webpack_require__.i";N.global="__webpack_require__.g";N.shareScopeMap="__webpack_require__.S";N.initializeSharing="__webpack_require__.I";N.currentRemoteGetScope="__webpack_require__.R";N.getUpdateManifestFilename="__webpack_require__.hmrF";N.hmrDownloadManifest="__webpack_require__.hmrM";N.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";N.hmrModuleData="__webpack_require__.hmrD";N.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";N.hmrRuntimeStatePrefix="__webpack_require__.hmrS";N.amdDefine="__webpack_require__.amdD";N.amdOptions="__webpack_require__.amdO";N.system="__webpack_require__.System";N.hasOwnProperty="__webpack_require__.o";N.systemContext="__webpack_require__.y";N.baseURI="__webpack_require__.b";N.relativeUrl="__webpack_require__.U";N.asyncModule="__webpack_require__.a"},66804:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(48135).OriginalSource;const q=R(53453);const G=new Set(["runtime"]);class RuntimeModule extends q{constructor(E,N=0){super("runtime");this.name=E;this.stage=N;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(E,N,R=E.chunkGraph){this.compilation=E;this.chunk=N;this.chunkGraph=R}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(E){return`webpack/runtime/${this.name}`}needBuild(E,N){return N(null,false)}build(E,N,R,j,$){$()}updateHash(E,N){E.update(this.name);E.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){E.update(this.generate())}else{E.update(this.getGeneratedCode())}}catch(N){E.update(N.message)}super.updateHash(E,N)}getSourceTypes(){return G}codeGeneration(E){const N=new Map;const R=this.getGeneratedCode();if(R){N.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new $(R,this.identifier()):new j(R))}return{sources:N,runtimeRequirements:null}}size(E){try{const E=this.getGeneratedCode();return E?E.length:0}catch(E){return 0}}generate(){const E=R(75884);throw new E}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;E.exports=RuntimeModule},89818:(E,N,R)=>{"use strict";const j=R(76150);const $=R(35424);const q=R(18161);const G=R(84997);const ie=R(31164);const ae=R(90202);const ce=R(16710);const le=R(3236);const _e=R(44160);const Ee=R(58957);const Te=R(59179);const we=R(9609);const Ie=R(36100);const Ne=R(13376);const Me=R(37522);const Le=R(67104);const Be=R(14676);const je=R(8299);const Ue=R(48977);const ze=R(21355);const We=R(41982);const Je=R(76752);const Ve=R(54825);const qe=R(14146);const He=[j.chunkName,j.runtimeId,j.compatGetDefaultExport,j.createFakeNamespaceObject,j.createScriptUrl,j.definePropertyGetters,j.ensureChunk,j.entryModuleId,j.getFullHash,j.global,j.makeNamespaceObject,j.moduleCache,j.moduleFactories,j.moduleFactoriesAddOnly,j.interceptModuleExecution,j.publicPath,j.baseURI,j.relativeUrl,j.scriptNonce,j.uncaughtErrorHandler,j.asyncModule,j.wasmInstances,j.instantiateWasm,j.shareScopeMap,j.initializeSharing,j.loadScript,j.systemContext,j.onChunksLoaded];const Ge={[j.moduleLoaded]:[j.module],[j.moduleId]:[j.module]};const Ke={[j.definePropertyGetters]:[j.hasOwnProperty],[j.compatGetDefaultExport]:[j.definePropertyGetters],[j.createFakeNamespaceObject]:[j.definePropertyGetters,j.makeNamespaceObject,j.require],[j.initializeSharing]:[j.shareScopeMap],[j.shareScopeMap]:[j.hasOwnProperty]};class RuntimePlugin{apply(E){E.hooks.compilation.tap("RuntimePlugin",(E=>{E.dependencyTemplates.set($,new $.Template);for(const N of He){E.hooks.runtimeRequirementInModule.for(N).tap("RuntimePlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(N).tap("RuntimePlugin",((E,N)=>{N.add(j.requireScope)}))}for(const N of Object.keys(Ke)){const R=Ke[N];E.hooks.runtimeRequirementInTree.for(N).tap("RuntimePlugin",((E,N)=>{for(const E of R)N.add(E)}))}for(const N of Object.keys(Ge)){const R=Ge[N];E.hooks.runtimeRequirementInModule.for(N).tap("RuntimePlugin",((E,N)=>{for(const E of R)N.add(E)}))}E.hooks.runtimeRequirementInTree.for(j.definePropertyGetters).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Ee);return true}));E.hooks.runtimeRequirementInTree.for(j.makeNamespaceObject).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Be);return true}));E.hooks.runtimeRequirementInTree.for(j.createFakeNamespaceObject).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new le);return true}));E.hooks.runtimeRequirementInTree.for(j.hasOwnProperty).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Me);return true}));E.hooks.runtimeRequirementInTree.for(j.compatGetDefaultExport).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new ae);return true}));E.hooks.runtimeRequirementInTree.for(j.runtimeId).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new We);return true}));E.hooks.runtimeRequirementInTree.for(j.publicPath).tap("RuntimePlugin",((N,R)=>{const{outputOptions:$}=E;const{publicPath:q,scriptType:G}=$;const ae=N.getEntryOptions();const ce=ae&&ae.publicPath!==undefined?ae.publicPath:q;if(ce==="auto"){const $=new ie;if(G!=="module")R.add(j.global);E.addRuntimeModule(N,$)}else{const R=new Ue(ce);if(typeof ce!=="string"||/\[(full)?hash\]/.test(ce)){R.fullHash=true}E.addRuntimeModule(N,R)}return true}));E.hooks.runtimeRequirementInTree.for(j.global).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Ne);return true}));E.hooks.runtimeRequirementInTree.for(j.asyncModule).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new G);return true}));E.hooks.runtimeRequirementInTree.for(j.systemContext).tap("RuntimePlugin",(N=>{if(E.outputOptions.library.type==="system"){E.addRuntimeModule(N,new Je)}return true}));E.hooks.runtimeRequirementInTree.for(j.getChunkScriptFilename).tap("RuntimePlugin",((N,R)=>{if(typeof E.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.chunkFilename)){R.add(j.getFullHash)}E.addRuntimeModule(N,new we("javascript","javascript",j.getChunkScriptFilename,(N=>N.filenameTemplate||(N.canBeInitial()?E.outputOptions.filename:E.outputOptions.chunkFilename)),false));return true}));E.hooks.runtimeRequirementInTree.for(j.getChunkUpdateScriptFilename).tap("RuntimePlugin",((N,R)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateChunkFilename))R.add(j.getFullHash);E.addRuntimeModule(N,new we("javascript","javascript update",j.getChunkUpdateScriptFilename,(N=>E.outputOptions.hotUpdateChunkFilename),true));return true}));E.hooks.runtimeRequirementInTree.for(j.getUpdateManifestFilename).tap("RuntimePlugin",((N,R)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateMainFilename)){R.add(j.getFullHash)}E.addRuntimeModule(N,new Ie("update manifest",j.getUpdateManifestFilename,E.outputOptions.hotUpdateMainFilename));return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunk).tap("RuntimePlugin",((N,R)=>{const $=N.hasAsyncChunks();if($){R.add(j.ensureChunkHandlers)}E.addRuntimeModule(N,new Te(R));return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkIncludeEntries).tap("RuntimePlugin",((E,N)=>{N.add(j.ensureChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(j.shareScopeMap).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new Ve);return true}));E.hooks.runtimeRequirementInTree.for(j.loadScript).tap("RuntimePlugin",((N,R)=>{const $=!!E.outputOptions.trustedTypes;if($){R.add(j.createScriptUrl)}E.addRuntimeModule(N,new Le($));return true}));E.hooks.runtimeRequirementInTree.for(j.createScriptUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new _e);return true}));E.hooks.runtimeRequirementInTree.for(j.relativeUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new ze);return true}));E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new je);return true}));E.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((N,R)=>{const{mainTemplate:j}=E;if(j.hooks.bootstrap.isUsed()||j.hooks.localVars.isUsed()||j.hooks.requireEnsure.isUsed()||j.hooks.requireExtensions.isUsed()){E.addRuntimeModule(N,new ce)}}));q.getCompilationHooks(E).chunkHash.tap("RuntimePlugin",((E,N,{chunkGraph:R})=>{const j=new qe;for(const N of R.getChunkRuntimeModulesIterable(E)){j.add(R.getModuleHash(N,E.runtime))}j.updateHash(N)}))}))}}E.exports=RuntimePlugin},37130:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const q=R(58159);const{equals:G}=R(73910);const ie=R(87274);const ae=R(68038);const{forEachRuntime:ce,subtractRuntime:le}=R(37416);const noModuleIdErrorMessage=(E,N)=>`Module ${E.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(N.getModuleChunksIterable(E),(E=>E.name||E.id||E.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(N.moduleGraph.getIncomingConnections(E),(E=>`\n - ${E.originModule&&E.originModule.identifier()} ${E.dependency&&E.dependency.type} ${E.explanations&&Array.from(E.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(E,N,R){this.compilation=E;this.outputOptions=N||{};this.requestShortener=R}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(E,N=""){return this.supportsArrowFunction()?`(${N}) => (${E})`:`function(${N}) { return ${E}; }`}basicFunction(E,N){return this.supportsArrowFunction()?`(${E}) => {\n${q.indent(N)}\n}`:`function(${E}) {\n${q.indent(N)}\n}`}expressionFunction(E,N=""){return this.supportsArrowFunction()?`(${N}) => (${E})`:`function(${N}) { ${E}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(E,N){return this.supportsDestructuring()?`var [${E.join(", ")}] = ${N};`:q.asString(E.map(((E,R)=>`var ${E} = ${N}[${R}];`)))}destructureObject(E,N){return this.supportsDestructuring()?`var {${E.join(", ")}} = ${N};`:q.asString(E.map((E=>`var ${E} = ${N}${ae([E])};`)))}iife(E,N){return`(${this.basicFunction(E,N)})()`}forEach(E,N,R){return this.supportsForOf()?`for(const ${E} of ${N}) {\n${q.indent(R)}\n}`:`${N}.forEach(function(${E}) {\n${q.indent(R)}\n});`}comment({request:E,chunkName:N,chunkReason:R,message:j,exportName:$}){let G;if(this.outputOptions.pathinfo){G=[j,E,N,R].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}else{G=[j,N,R].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}if(!G)return"";if(this.outputOptions.pathinfo){return q.toComment(G)+" "}else{return q.toNormalComment(G)+" "}}throwMissingModuleErrorBlock({request:E}){const N=`Cannot find module '${E}'`;return`var e = new Error(${JSON.stringify(N)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:E}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:E})} }`}missingModule({request:E}){return`Object(${this.throwMissingModuleErrorFunction({request:E})}())`}missingModuleStatement({request:E}){return`${this.missingModule({request:E})};\n`}missingModulePromise({request:E}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:E})})`}weakError({module:E,chunkGraph:N,request:R,idExpr:j,type:$}){const G=N.getModuleId(E);const ie=G===null?JSON.stringify("Module is not available (weak dependency)"):j?`"Module '" + ${j} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${G}' is not available (weak dependency)`);const ae=R?q.toNormalComment(R)+" ":"";const ce=`var e = new Error(${ie}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch($){case"statements":return ce;case"promise":return`Promise.resolve().then(${this.basicFunction("",ce)})`;case"expression":return this.iife("",ce)}}moduleId({module:E,chunkGraph:N,request:R,weak:j}){if(!E){return this.missingModule({request:R})}const $=N.getModuleId(E);if($===null){if(j){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,N)}`)}return`${this.comment({request:R})}${JSON.stringify($)}`}moduleRaw({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:q}){if(!E){return this.missingModule({request:R})}const G=N.getModuleId(E);if(G===null){if(j){return this.weakError({module:E,chunkGraph:N,request:R,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,N)}`)}q.add($.require);return`__webpack_require__(${this.moduleId({module:E,chunkGraph:N,request:R,weak:j})})`}moduleExports({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:$}){return this.moduleRaw({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:$})}moduleNamespace({module:E,chunkGraph:N,request:R,strict:j,weak:q,runtimeRequirements:G}){if(!E){return this.missingModule({request:R})}if(N.getModuleId(E)===null){if(q){return this.weakError({module:E,chunkGraph:N,request:R,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(E,N)}`)}const ie=this.moduleId({module:E,chunkGraph:N,request:R,weak:q});const ae=E.getExportsType(N.moduleGraph,j);switch(ae){case"namespace":return this.moduleRaw({module:E,chunkGraph:N,request:R,weak:q,runtimeRequirements:G});case"default-with-named":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 3)`;case"default-only":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 1)`;case"dynamic":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 7)`}}moduleNamespacePromise({chunkGraph:E,block:N,module:R,request:j,message:q,strict:G,weak:ie,runtimeRequirements:ae}){if(!R){return this.missingModulePromise({request:j})}const ce=E.getModuleId(R);if(ce===null){if(ie){return this.weakError({module:R,chunkGraph:E,request:j,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(R,E)}`)}const le=this.blockPromise({chunkGraph:E,block:N,message:q,runtimeRequirements:ae});let _e;let Ee=JSON.stringify(E.getModuleId(R));const Te=this.comment({request:j});let we="";if(ie){if(Ee.length>8){we+=`var id = ${Ee}; `;Ee="id"}ae.add($.moduleFactories);we+=`if(!${$.moduleFactories}[${Ee}]) { ${this.weakError({module:R,chunkGraph:E,request:j,idExpr:Ee,type:"statements"})} } `}const Ie=this.moduleId({module:R,chunkGraph:E,request:j,weak:ie});const Ne=R.getExportsType(E.moduleGraph,G);let Me=16;switch(Ne){case"namespace":if(we){const N=this.moduleRaw({module:R,chunkGraph:E,request:j,weak:ie,runtimeRequirements:ae});_e=`.then(${this.basicFunction("",`${we}return ${N};`)})`}else{ae.add($.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Te}${Ee}))`}break;case"dynamic":Me|=4;case"default-with-named":Me|=2;case"default-only":ae.add($.createFakeNamespaceObject);if(E.moduleGraph.isAsync(R)){if(we){const N=this.moduleRaw({module:R,chunkGraph:E,request:j,weak:ie,runtimeRequirements:ae});_e=`.then(${this.basicFunction("",`${we}return ${N};`)})`}else{ae.add($.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Te}${Ee}))`}_e+=`.then(${this.returningFunction(`${$.createFakeNamespaceObject}(m, ${Me})`,"m")})`}else{Me|=1;if(we){const E=`${$.createFakeNamespaceObject}(${Ie}, ${Me})`;_e=`.then(${this.basicFunction("",`${we}return ${E};`)})`}else{_e=`.then(${$.createFakeNamespaceObject}.bind(__webpack_require__, ${Te}${Ee}, ${Me}))`}}break}return`${le||"Promise.resolve()"}${_e}`}runtimeConditionExpression({chunkGraph:E,runtimeCondition:N,runtime:R,runtimeRequirements:j}){if(N===undefined)return"true";if(typeof N==="boolean")return`${N}`;const q=new Set;ce(N,(N=>q.add(`${E.getRuntimeId(N)}`)));const G=new Set;ce(le(R,N),(N=>G.add(`${E.getRuntimeId(N)}`)));j.add($.runtimeId);return ie.fromLists(Array.from(q),Array.from(G))($.runtimeId)}importStatement({update:E,module:N,chunkGraph:R,request:j,importVar:q,originModule:G,weak:ie,runtimeRequirements:ae}){if(!N){return[this.missingModuleStatement({request:j}),""]}if(R.getModuleId(N)===null){if(ie){return[this.weakError({module:N,chunkGraph:R,request:j,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(N,R)}`)}const ce=this.moduleId({module:N,chunkGraph:R,request:j,weak:ie});const le=E?"":"var ";const _e=N.getExportsType(R.moduleGraph,G.buildMeta.strictHarmonyModule);ae.add($.require);const Ee=`/* harmony import */ ${le}${q} = __webpack_require__(${ce});\n`;if(_e==="dynamic"){ae.add($.compatGetDefaultExport);return[Ee,`/* harmony import */ ${le}${q}_default = /*#__PURE__*/${$.compatGetDefaultExport}(${q});\n`]}return[Ee,""]}exportFromImport({moduleGraph:E,module:N,request:R,exportName:ie,originModule:ce,asiSafe:le,isCall:_e,callContext:Ee,defaultInterop:Te,importVar:we,initFragments:Ie,runtime:Ne,runtimeRequirements:Me}){if(!N){return this.missingModule({request:R})}if(!Array.isArray(ie)){ie=ie?[ie]:[]}const Le=N.getExportsType(E,ce.buildMeta.strictHarmonyModule);if(Te){if(ie.length>0&&ie[0]==="default"){switch(Le){case"dynamic":if(_e){return`${we}_default()${ae(ie,1)}`}else{return le?`(${we}_default()${ae(ie,1)})`:le===false?`;(${we}_default()${ae(ie,1)})`:`${we}_default.a${ae(ie,1)}`}case"default-only":case"default-with-named":ie=ie.slice(1);break}}else if(ie.length>0){if(Le==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(ie,1)}else if(Le!=="namespace"&&ie[0]==="__esModule"){return"/* __esModule */true"}}else if(Le==="default-only"||Le==="default-with-named"){Me.add($.createFakeNamespaceObject);Ie.push(new j(`var ${we}_namespace_cache;\n`,j.STAGE_CONSTANTS,-1,`${we}_namespace_cache`));return`/*#__PURE__*/ ${le?"":le===false?";":"Object"}(${we}_namespace_cache || (${we}_namespace_cache = ${$.createFakeNamespaceObject}(${we}${Le==="default-only"?"":", 2"})))`}}if(ie.length>0){const R=E.getExportsInfo(N);const j=R.getUsedName(ie,Ne);if(!j){const E=q.toNormalComment(`unused export ${ae(ie)}`);return`${E} undefined`}const $=G(j,ie)?"":q.toNormalComment(ae(ie))+" ";const ce=`${we}${$}${ae(j)}`;if(_e&&Ee===false){return le?`(0,${ce})`:le===false?`;(0,${ce})`:`/*#__PURE__*/Object(${ce})`}return ce}else{return we}}blockPromise({block:E,message:N,chunkGraph:R,runtimeRequirements:j}){if(!E){const E=this.comment({message:N});return`Promise.resolve(${E.trim()})`}const q=R.getBlockChunkGroup(E);if(!q||q.chunks.length===0){const E=this.comment({message:N});return`Promise.resolve(${E.trim()})`}const G=q.chunks.filter((E=>!E.hasRuntime()&&E.id!==null));const ie=this.comment({message:N,chunkName:E.chunkName});if(G.length===1){const E=JSON.stringify(G[0].id);j.add($.ensureChunk);return`${$.ensureChunk}(${ie}${E})`}else if(G.length>0){j.add($.ensureChunk);const requireChunkId=E=>`${$.ensureChunk}(${JSON.stringify(E.id)})`;return`Promise.all(${ie.trim()}[${G.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ie.trim()})`}}asyncModuleFactory({block:E,chunkGraph:N,runtimeRequirements:R,request:j}){const $=E.dependencies[0];const q=N.moduleGraph.getModule($);const G=this.blockPromise({block:E,message:"",chunkGraph:N,runtimeRequirements:R});const ie=this.returningFunction(this.moduleRaw({module:q,chunkGraph:N,request:j,runtimeRequirements:R}));return this.returningFunction(G.startsWith("Promise.resolve(")?`${ie}`:`${G}.then(${this.returningFunction(ie)})`)}syncModuleFactory({dependency:E,chunkGraph:N,runtimeRequirements:R,request:j}){const $=N.moduleGraph.getModule(E);const q=this.returningFunction(this.moduleRaw({module:$,chunkGraph:N,request:j,runtimeRequirements:R}));return this.returningFunction(q)}defineEsModuleFlagStatement({exportsArgument:E,runtimeRequirements:N}){N.add($.makeNamespaceObject);N.add($.exports);return`${$.makeNamespaceObject}(${E});\n`}}E.exports=RuntimeTemplate},31141:E=>{"use strict";class SelfModuleFactory{constructor(E){this.moduleGraph=E}create(E,N){const R=this.moduleGraph.getParentModule(E.dependencies[0]);N(null,{module:R})}}E.exports=SelfModuleFactory},9192:(E,N)=>{"use strict";N.formatSize=E=>{if(typeof E!=="number"||Number.isNaN(E)===true){return"unknown size"}if(E<=0){return"0 bytes"}const N=["bytes","KiB","MiB","GiB"];const R=Math.floor(Math.log(E)/Math.log(1024));return`${+(E/Math.pow(1024,R)).toPrecision(3)} ${N[R]}`}},26867:(E,N,R)=>{"use strict";const j=R(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(E){this.options=E}apply(E){const N=this.options;if(N.module!==false){E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}))}else{E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}))}j.getCompilationHooks(E).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}E.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(E,N,R)=>{"use strict";const j=R(62355);const{ConcatSource:$,RawSource:q}=R(48135);const G=R(3080);const ie=R(70354);const ae=R(52923);const ce=R(26867);const le=R(35817);const _e=R(35891);const{relative:Ee,dirname:Te}=R(95396);const{makePathsAbsolute:we}=R(49197);const Ie=le(R(68337),(()=>R(78061)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(E,N,R,j,$,q)=>{let G;let ie;if(N.sourceAndMap){const E=N.sourceAndMap(j);ie=E.map;G=E.source}else{ie=N.map(j);G=N.source()}if(!ie||typeof G!=="string")return;const ae=$.options.context;const ce=$.compiler.root;const le=we.bindContextCache(ae,ce);const _e=ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=le(E.slice(10));const N=$.findModule(E);return N||E}));return{file:E,asset:N,source:G,assetInfo:R,sourceMap:ie,modules:_e,cacheItem:q}};class SourceMapDevToolPlugin{constructor(E={}){Ie(E);this.sourceMapFilename=E.filename;this.sourceMappingURLComment=E.append===false?false:E.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=E.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(E){const N=E.outputFileSystem;const R=this.sourceMapFilename;const le=this.sourceMappingURLComment;const we=this.moduleFilenameTemplate;const Ie=this.namespace;const Ne=this.fallbackModuleFilenameTemplate;const Me=E.requestShortener;const Le=this.options;Le.test=Le.test||/\.((c|m)?js|css)($|\?)/i;const Be=ie.matchObject.bind(undefined,Le);E.hooks.compilation.tap("SourceMapDevToolPlugin",(E=>{new ce(Le).apply(E);E.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:G.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((G,ce)=>{const je=E.chunkGraph;const Ue=E.getCache("SourceMapDevToolPlugin");const ze=new Map;const We=ae.getReporter(E.compiler)||(()=>{});const Je=new Map;for(const N of E.chunks){for(const E of N.files){Je.set(E,N)}for(const E of N.auxiliaryFiles){Je.set(E,N)}}const Ve=[];for(const E of Object.keys(G)){if(Be(E)){Ve.push(E)}}We(0);const qe=[];let He=0;j.each(Ve,((N,R)=>{const j=E.getAsset(N);if(j.info.related&&j.info.related.sourceMap){He++;return R()}const $=Ue.getItemCache(N,Ue.mergeEtags(Ue.getLazyHashedEtag(j.source),Ie));$.get(((q,G)=>{if(q){return R(q)}if(G){const{assets:j,assetsInfo:$}=G;for(const R of Object.keys(j)){if(R===N){E.updateAsset(R,j[R],$[R])}else{E.emitAsset(R,j[R],$[R])}if(R!==N){const E=Je.get(N);if(E!==undefined)E.auxiliaryFiles.add(R)}}We(.5*++He/Ve.length,N,"restored cached SourceMap");return R()}We(.5*He/Ve.length,N,"generate SourceMap");const ae=getTaskForFile(N,j.source,j.info,{module:Le.module,columns:Le.columns},E,$);if(ae){const N=ae.modules;for(let R=0;R<N.length;R++){const j=N[R];if(!ze.get(j)){ze.set(j,ie.createFilename(j,{moduleFilenameTemplate:we,namespace:Ie},{requestShortener:Me,chunkGraph:je,hashFunction:E.outputOptions.hashFunction}))}}qe.push(ae)}We(.5*++He/Ve.length,N,"generated SourceMap");R()}))}),(G=>{if(G){return ce(G)}We(.5,"resolve sources");const ae=new Set(ze.values());const we=new Set;const Be=Array.from(ze.keys()).sort(((E,N)=>{const R=typeof E==="string"?E:E.identifier();const j=typeof N==="string"?N:N.identifier();return R.length-j.length}));for(let N=0;N<Be.length;N++){const R=Be[N];let j=ze.get(R);let $=we.has(j);if(!$){we.add(j);continue}j=ie.createFilename(R,{moduleFilenameTemplate:Ne,namespace:Ie},{requestShortener:Me,chunkGraph:je,hashFunction:E.outputOptions.hashFunction});$=ae.has(j);if(!$){ze.set(R,j);ae.add(j);continue}while($){j+="*";$=ae.has(j)}ze.set(R,j);ae.add(j)}let Ue=0;j.each(qe,((j,G)=>{const ie=Object.create(null);const ae=Object.create(null);const ce=j.file;const we=Je.get(ce);const Ie=j.sourceMap;const Ne=j.source;const Me=j.modules;We(.5+.5*Ue/qe.length,ce,"attach SourceMap");const Be=Me.map((E=>ze.get(E)));Ie.sources=Be;if(Le.noSources){Ie.sourcesContent=undefined}Ie.sourceRoot=Le.sourceRoot||"";Ie.file=ce;const je=R&&/\[contenthash(:\w+)?\]/.test(R);if(je&&j.assetInfo.contenthash){const E=j.assetInfo.contenthash;let N;if(Array.isArray(E)){N=E.map(quoteMeta).join("|")}else{N=quoteMeta(E)}Ie.file=Ie.file.replace(new RegExp(N,"g"),(E=>"x".repeat(E.length)))}let Ve=le;if(Ve!==false&&/\.css($|\?)/i.test(ce)){Ve=Ve.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const He=JSON.stringify(Ie);if(R){let j=ce;const G=je&&_e(E.outputOptions.hashFunction).update(He).digest("hex");const le={chunk:we,filename:Le.fileContext?Ee(N,`/${Le.fileContext}`,`/${j}`):j,contentHash:G};const{path:Ie,info:Me}=E.getPathWithInfo(R,le);const Be=Le.publicPath?Le.publicPath+Ie:Ee(N,Te(N,`/${ce}`),`/${Ie}`);let Ue=new q(Ne);if(Ve!==false){Ue=new $(Ue,E.getPath(Ve,Object.assign({url:Be},le)))}const ze={related:{sourceMap:Ie}};ie[ce]=Ue;ae[ce]=ze;E.updateAsset(ce,Ue,ze);const We=new q(He);const Je={...Me,development:true};ie[Ie]=We;ae[Ie]=Je;E.emitAsset(Ie,We,Je);if(we!==undefined)we.auxiliaryFiles.add(Ie)}else{if(Ve===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const N=new $(new q(Ne),Ve.replace(/\[map\]/g,(()=>He)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(He,"utf-8").toString("base64")}`)));ie[ce]=N;ae[ce]=undefined;E.updateAsset(ce,N)}j.cacheItem.store({assets:ie,assetsInfo:ae},(E=>{We(.5+.5*++Ue/qe.length,j.file,"attached SourceMap");if(E){return G(E)}G()}))}),(E=>{We(1);ce(E)}))}))}))}))}}E.exports=SourceMapDevToolPlugin},10140:E=>{"use strict";class Stats{constructor(E){this.compilation=E}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((E=>E.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((E=>E.getStats().hasErrors()))}toJson(E){E=this.compilation.createStatsOptions(E,{forToString:false});const N=this.compilation.createStatsFactory(E);return N.create("compilation",this.compilation,{compilation:this.compilation})}toString(E){E=this.compilation.createStatsOptions(E,{forToString:true});const N=this.compilation.createStatsFactory(E);const R=this.compilation.createStatsPrinter(E);const j=N.create("compilation",this.compilation,{compilation:this.compilation});const $=R.print("compilation",j);return $===undefined?"":$}}E.exports=Stats},58159:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$}=R(48135);const q="a".charCodeAt(0);const G="A".charCodeAt(0);const ie="z".charCodeAt(0)-q+1;const ae=ie*2+2;const ce=ae+10;const le=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const _e=/^\t/gm;const Ee=/\r?\n/g;const Te=/^([^a-zA-Z$_])/;const we=/[^a-zA-Z0-9$]+/g;const Ie=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Me=/^-|-$/g;class Template{static getFunctionContent(E){return E.toString().replace(le,"").replace(_e,"").replace(Ee,"\n")}static toIdentifier(E){if(typeof E!=="string")return"";return E.replace(Te,"_$1").replace(we,"_")}static toComment(E){if(!E)return"";return`/*! ${E.replace(Ie,"* /")} */`}static toNormalComment(E){if(!E)return"";return`/* ${E.replace(Ie,"* /")} */`}static toPath(E){if(typeof E!=="string")return"";return E.replace(Ne,"-").replace(Me,"")}static numberToIdentifier(E){if(E>=ae){return Template.numberToIdentifier(E%ae)+Template.numberToIdentifierContinuation(Math.floor(E/ae))}if(E<ie){return String.fromCharCode(q+E)}E-=ie;if(E<ie){return String.fromCharCode(G+E)}if(E===ie)return"_";return"$"}static numberToIdentifierContinuation(E){if(E>=ce){return Template.numberToIdentifierContinuation(E%ce)+Template.numberToIdentifierContinuation(Math.floor(E/ce))}if(E<ie){return String.fromCharCode(q+E)}E-=ie;if(E<ie){return String.fromCharCode(G+E)}E-=ie;if(E<10){return`${E}`}if(E===10)return"_";return"$"}static indent(E){if(Array.isArray(E)){return E.map(Template.indent).join("\n")}else{const N=E.trimRight();if(!N)return"";const R=N[0]==="\n"?"":"\t";return R+N.replace(/\n([^\n])/g,"\n\t$1")}}static prefix(E,N){const R=Template.asString(E).trim();if(!R)return"";const j=R[0]==="\n"?"":N;return j+R.replace(/\n([^\n])/g,"\n"+N+"$1")}static asString(E){if(Array.isArray(E)){return E.join("\n")}return E}static getModulesArrayBounds(E){let N=-Infinity;let R=Infinity;for(const j of E){const E=j.id;if(typeof E!=="number")return false;if(N<E)N=E;if(R>E)R=E}if(R<16+(""+R).length){R=0}let j=-1;for(const N of E){j+=`${N.id}`.length+2}const $=R===0?N:16+`${R}`.length+N;return $<j?[R,N]:false}static renderChunkModules(E,N,R,$=""){const{chunkGraph:q}=E;var G=new j;if(N.length===0){return null}const ie=N.map((E=>({id:q.getModuleId(E),source:R(E)||"false"})));const ae=Template.getModulesArrayBounds(ie);if(ae){const E=ae[0];const N=ae[1];if(E!==0){G.add(`Array(${E}).concat(`)}G.add("[\n");const R=new Map;for(const E of ie){R.set(E.id,E)}for(let j=E;j<=N;j++){const N=R.get(j);if(j!==E){G.add(",\n")}G.add(`/* ${j} */`);if(N){G.add("\n");G.add(N.source)}}G.add("\n"+$+"]");if(E!==0){G.add(")")}}else{G.add("{\n");for(let E=0;E<ie.length;E++){const N=ie[E];if(E!==0){G.add(",\n")}G.add(`\n/***/ ${JSON.stringify(N.id)}:\n`);G.add(N.source)}G.add(`\n\n${$}}`)}return G}static renderRuntimeModules(E,N){const R=new j;for(const j of E){const E=N.codeGenerationResults;let q;if(E){q=E.getSource(j,N.chunk.runtime,"runtime")}else{const E=j.codeGeneration({chunkGraph:N.chunkGraph,dependencyTemplates:N.dependencyTemplates,moduleGraph:N.moduleGraph,runtimeTemplate:N.runtimeTemplate,runtime:N.chunk.runtime});if(!E)continue;q=E.sources.get("runtime")}if(q){R.add(Template.toNormalComment(j.identifier())+"\n");if(!j.shouldIsolate()){R.add(q);R.add("\n\n")}else if(N.runtimeTemplate.supportsArrowFunction()){R.add("(() => {\n");R.add(new $("\t",q));R.add("\n})();\n\n")}else{R.add("!function() {\n");R.add(new $("\t",q));R.add("\n}();\n\n")}}}return R}static renderChunkRuntimeModules(E,N){return new $("/******/ ",new j("function(__webpack_require__) { // webpackRuntimeModules\n",this.renderRuntimeModules(E,N),"}\n"))}}E.exports=Template;E.exports.NUMBER_OF_IDENTIFIER_START_CHARS=ae;E.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=ce},30337:(E,N,R)=>{"use strict";const{basename:j,extname:$}=R(71017);const q=R(73837);const G=R(62433);const ie=R(53453);const{parseResource:ae}=R(49197);const ce=/\[\\*([\w:]+)\\*\]/gi;const prepareId=E=>{if(typeof E!=="string")return E;if(/^"\s\+*.*\+\s*"$/.test(E)){const N=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(E);return`" + (${N[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return E.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(E,N,R,j)=>{const fn=($,q,G)=>{let ie;const ae=q&&parseInt(q,10);if(ae&&N){ie=N(ae)}else{const N=E($,q,G);ie=ae?N.slice(0,ae):N}if(R){R.immutable=true;if(Array.isArray(R[j])){R[j]=[...R[j],ie]}else if(R[j]){R[j]=[R[j],ie]}else{R[j]=ie}}return ie};return fn};const replacer=(E,N)=>{const fn=(R,j,$)=>{if(typeof E==="function"){E=E()}if(E===null||E===undefined){if(!N){throw new Error(`Path variable ${R} not implemented in this context: ${$}`)}return""}else{return`${E}`}};return fn};const le=new Map;const _e=(()=>()=>{})();const deprecated=(E,N,R)=>{let j=le.get(N);if(j===undefined){j=q.deprecate(_e,N,R);le.set(N,j)}return(...N)=>{j();return E(...N)}};const replacePathVariables=(E,N,R)=>{const q=N.chunkGraph;const le=new Map;if(typeof N.filename==="string"){const{path:E,query:R,fragment:q}=ae(N.filename);const G=$(E);const ie=j(E);const ce=ie.slice(0,ie.length-G.length);const _e=E.slice(0,E.length-ie.length);le.set("file",replacer(E));le.set("query",replacer(R,true));le.set("fragment",replacer(q,true));le.set("path",replacer(_e,true));le.set("base",replacer(ie));le.set("name",replacer(ce));le.set("ext",replacer(G,true));le.set("filebase",deprecated(replacer(ie),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(N.hash){const E=hashLength(replacer(N.hash),N.hashWithLength,R,"fullhash");le.set("fullhash",E);le.set("hash",deprecated(E,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(N.chunk){const E=N.chunk;const j=N.contentHashType;const $=replacer(E.id);const q=replacer(E.name||E.id);const ie=hashLength(replacer(E instanceof G?E.renderedHash:E.hash),"hashWithLength"in E?E.hashWithLength:undefined,R,"chunkhash");const ae=hashLength(replacer(N.contentHash||j&&E.contentHash&&E.contentHash[j]),N.contentHashWithLength||("contentHashWithLength"in E&&E.contentHashWithLength?E.contentHashWithLength[j]:undefined),R,"contenthash");le.set("id",$);le.set("name",q);le.set("chunkhash",ie);le.set("contenthash",ae)}if(N.module){const E=N.module;const j=replacer((()=>prepareId(E instanceof ie?q.getModuleId(E):E.id)));const $=hashLength(replacer((()=>E instanceof ie?q.getRenderedModuleHash(E,N.runtime):E.hash)),"hashWithLength"in E?E.hashWithLength:undefined,R,"modulehash");const G=hashLength(replacer(N.contentHash),undefined,R,"contenthash");le.set("id",j);le.set("modulehash",$);le.set("contenthash",G);le.set("hash",N.contentHash?G:$);le.set("moduleid",deprecated(j,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(N.url){le.set("url",replacer(N.url))}if(typeof N.runtime==="string"){le.set("runtime",replacer((()=>prepareId(N.runtime))))}else{le.set("runtime",replacer("_"))}if(typeof E==="function"){E=E(N,R)}E=E.replace(ce,((N,R)=>{if(R.length+2===N.length){const j=/^(\w+)(?::(\w+))?$/.exec(R);if(!j)return N;const[,$,q]=j;const G=le.get($);if(G!==undefined){return G(N,q,E)}}else if(N.startsWith("[\\")&&N.endsWith("\\]")){return`[${N.slice(2,-2)}]`}return N}));return E};const Ee="TemplatedPathPlugin";class TemplatedPathPlugin{apply(E){E.hooks.compilation.tap(Ee,(E=>{E.hooks.assetPath.tap(Ee,replacePathVariables)}))}}E.exports=TemplatedPathPlugin},77090:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class UnhandledSchemeError extends j{constructor(E,N){super(`Reading from "${N}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${E}:" URIs.`);this.file=N;this.name="UnhandledSchemeError"}}$(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");E.exports=UnhandledSchemeError},53558:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class UnsupportedFeatureWarning extends j{constructor(E,N){super(E);this.name="UnsupportedFeatureWarning";this.loc=N;this.hideStack=true}}$(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");E.exports=UnsupportedFeatureWarning},79050:(E,N,R)=>{"use strict";const j=R(66298);class UseStrictPlugin{apply(E){E.hooks.compilation.tap("UseStrictPlugin",((E,{normalModuleFactory:N})=>{const handler=E=>{E.hooks.program.tap("UseStrictPlugin",(N=>{const R=N.body[0];if(R&&R.type==="ExpressionStatement"&&R.expression.type==="Literal"&&R.expression.value==="use strict"){const N=new j("",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);E.state.module.buildInfo.strict=true}}))};N.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);N.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}E.exports=UseStrictPlugin},12510:(E,N,R)=>{"use strict";const j=R(41673);class WarnCaseSensitiveModulesPlugin{apply(E){E.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(E=>{E.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const N=new Map;for(const R of E.modules){const E=R.identifier();const j=E.toLowerCase();let $=N.get(j);if($===undefined){$=new Map;N.set(j,$)}$.set(E,R)}for(const R of N){const N=R[1];if(N.size>1){E.warnings.push(new j(N.values(),E.moduleGraph))}}}))}))}}E.exports=WarnCaseSensitiveModulesPlugin},3571:(E,N,R)=>{"use strict";const j=R(81627);class WarnDeprecatedOptionPlugin{constructor(E,N,R){this.option=E;this.value=N;this.suggestion=R}apply(E){E.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(E=>{E.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends j{constructor(E,N,R){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${N}' for option '${E}' is deprecated. `+`Use '${R}' instead.`}}E.exports=WarnDeprecatedOptionPlugin},67586:(E,N,R)=>{"use strict";const j=R(24500);class WarnNoModeSetPlugin{apply(E){E.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(E=>{E.warnings.push(new j)}))}}E.exports=WarnNoModeSetPlugin},91265:(E,N,R)=>{"use strict";const j=R(35817);const $=j(R(12798),(()=>R(91014)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const q="ignore";class IgnoringWatchFileSystem{constructor(E,N){this.wfs=E;this.paths=N}watch(E,N,R,j,$,G,ie){E=Array.from(E);N=Array.from(N);const ignored=E=>this.paths.some((N=>N instanceof RegExp?N.test(E):E.indexOf(N)===0));const notIgnored=E=>!ignored(E);const ae=E.filter(ignored);const ce=N.filter(ignored);const le=this.wfs.watch(E.filter(notIgnored),N.filter(notIgnored),R,j,$,((E,N,R,j,$)=>{if(E)return G(E);for(const E of ae){N.set(E,q)}for(const E of ce){R.set(E,q)}G(E,N,R,j,$)}),ie);return{close:()=>le.close(),pause:()=>le.pause(),getContextTimeInfoEntries:()=>{const E=le.getContextTimeInfoEntries();for(const N of ce){E.set(N,q)}return E},getFileTimeInfoEntries:()=>{const E=le.getFileTimeInfoEntries();for(const N of ae){E.set(N,q)}return E}}}}class WatchIgnorePlugin{constructor(E){$(E);this.paths=E.paths}apply(E){E.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{E.watchFileSystem=new IgnoringWatchFileSystem(E.watchFileSystem,this.paths)}))}}E.exports=WatchIgnorePlugin},84693:(E,N,R)=>{"use strict";const j=R(10140);class Watching{constructor(E,N,R){this.startTime=null;this.invalid=false;this.handler=R;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof N==="number"){this.watchOptions={aggregateTimeout:N}}else if(N&&typeof N==="object"){this.watchOptions={...N}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=E;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(E,N){if(!E)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(E);this._collectedRemovedFiles=new Set(N)}else{for(const N of E){this._collectedChangedFiles.add(N);this._collectedRemovedFiles.delete(N)}for(const E of N){this._collectedChangedFiles.delete(E);this._collectedRemovedFiles.add(E)}}}_go(E,N,R,$){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(R||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=$||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=N||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((E=>{if(E)return this._done(E);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((E=>{if(E)return this._done(E);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(E=>{if(E)return this._done(E);const onCompiled=(E,N)=>{if(E)return this._done(E,N);if(this.invalid)return this._done(null,N);if(this.compiler.hooks.shouldEmit.call(N)===false){return this._done(null,N)}process.nextTick((()=>{const E=N.getLogger("webpack.Compiler");E.time("emitAssets");this.compiler.emitAssets(N,(R=>{E.timeEnd("emitAssets");if(R)return this._done(R,N);if(this.invalid)return this._done(null,N);E.time("emitRecords");this.compiler.emitRecords((R=>{E.timeEnd("emitRecords");if(R)return this._done(R,N);if(N.hooks.needAdditionalPass.call()){N.needAdditionalPass=true;N.startTime=this.startTime;N.endTime=Date.now();E.time("done hook");const R=new j(N);this.compiler.hooks.done.callAsync(R,(R=>{E.timeEnd("done hook");if(R)return this._done(R,N);this.compiler.hooks.additionalPass.callAsync((E=>{if(E)return this._done(E,N);this.compiler.compile(onCompiled)}))}));return}return this._done(null,N)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(E){const N=new j(E);return N}_done(E,N){this.running=false;const R=N&&N.getLogger("webpack.Watching");let $=null;const handleError=(E,N)=>{this.compiler.hooks.failed.call(E);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(E,$);if(!N){N=this.callbacks;this.callbacks=[]}for(const R of N)R(E)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(N){R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(E=>{R.timeEnd("storeBuildDependencies");if(E)return handleError(E);this._go()}))}else{this._go()}return}if(N){N.startTime=this.startTime;N.endTime=Date.now();$=new j(N)}this.startTime=null;if(E)return handleError(E);const q=this.callbacks;this.callbacks=[];R.time("done hook");this.compiler.hooks.done.callAsync($,(E=>{R.timeEnd("done hook");if(E)return handleError(E,q);this.handler(null,$);R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(E=>{R.timeEnd("storeBuildDependencies");if(E)return handleError(E,q);R.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;R.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(N.fileDependencies,N.contextDependencies,N.missingDependencies)}}));for(const E of q)E(null);this.compiler.hooks.afterDone.call($)}))}))}watch(E,N,R){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(E,N,R,this.lastWatcherStartTime,this.watchOptions,((E,N,R,j,$)=>{if(E){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(E)}this._invalidate(N,R,j,$);this._onChange()}),((E,N)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(E,N)}this._onInvalid()}))}invalidate(E){if(E){this.callbacks.push(E)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(E,N,R,j){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(R,j);return}if(this.running){this._mergeWithCollected(R,j);this.invalid=true}else{this._go(E,N,R,j)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(E){if(this._closeCallbacks){if(E){this._closeCallbacks.push(E)}return}const finalCallback=(E,N)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=E=>{this.compiler.hooks.watchClose.call();const N=this._closeCallbacks;this._closeCallbacks=undefined;for(const R of N)R(E)};if(N){const R=N.getLogger("webpack.Watching");R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(N=>{R.timeEnd("storeBuildDependencies");shutdown(E||N)}))}else{shutdown(E)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(E){this._closeCallbacks.push(E)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}E.exports=Watching},81627:(E,N,R)=>{"use strict";const j=R(73837).inspect.custom;const $=R(56202);class WebpackError extends Error{constructor(E){super(E);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[j](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:E}){E(this.name);E(this.message);E(this.stack);E(this.details);E(this.loc);E(this.hideStack)}deserialize({read:E}){this.name=E();this.message=E();this.stack=E();this.details=E();this.loc=E();this.hideStack=E()}}$(WebpackError,"webpack/lib/WebpackError");E.exports=WebpackError},57694:(E,N,R)=>{"use strict";const j=R(16761);const $=R(46715);const{toConstantDependency:q}=R(48472);class WebpackIsIncludedPlugin{apply(E){E.hooks.compilation.tap("WebpackIsIncludedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,new j(N));E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(N=>{if(N.type!=="CallExpression"||N.arguments.length!==1||N.arguments[0].type==="SpreadElement")return;const R=E.evaluateExpression(N.arguments[0]);if(!R.isString())return;const j=new $(R.string,N.range);j.loc=N.loc;E.state.module.addDependency(j);return true}));E.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",q(E,JSON.stringify("function")))};N.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);N.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}E.exports=WebpackIsIncludedPlugin},81721:(E,N,R)=>{"use strict";const j=R(97614);const $=R(75076);const q=R(18161);const G=R(9483);const ie=R(5538);const ae=R(64699);const ce=R(43806);const le=R(89818);const _e=R(32323);const Ee=R(97489);const Te=R(40552);const we=R(29672);const Ie=R(57694);const Ne=R(30337);const Me=R(79050);const Le=R(12510);const Be=R(68495);const je=R(99184);const Ue=R(13653);const ze=R(91630);const We=R(26165);const Je=R(38586);const Ve=R(54975);const qe=R(2451);const He=R(67634);const Ge=R(51727);const Ke=R(3085);const Qe=R(62630);const Xe=R(65577);const Ye=R(76373);const Ze=R(68778);const et=R(82527);const tt=R(9054);const rt=R(7391);const nt=R(61762);const{cleverMerge:it}=R(90149);class WebpackOptionsApply extends j{constructor(){super()}process(E,N){N.outputPath=E.output.path;N.recordsInputPath=E.recordsInputPath||null;N.recordsOutputPath=E.recordsOutputPath||null;N.name=E.name;if(E.externals){const j=R(61050);new j(E.externalsType,E.externals).apply(N)}if(E.externalsPresets.node){const E=R(84980);(new E).apply(N)}if(E.externalsPresets.electronMain){const E=R(25726);new E("main").apply(N)}if(E.externalsPresets.electronPreload){const E=R(25726);new E("preload").apply(N)}if(E.externalsPresets.electronRenderer){const E=R(25726);new E("renderer").apply(N)}if(E.externalsPresets.electron&&!E.externalsPresets.electronMain&&!E.externalsPresets.electronPreload&&!E.externalsPresets.electronRenderer){const E=R(25726);(new E).apply(N)}if(E.externalsPresets.nwjs){const E=R(61050);new E("node-commonjs","nw.gui").apply(N)}if(E.externalsPresets.webAsync){const E=R(61050);new E("import",/^(https?:\/\/|std:)/).apply(N)}else if(E.externalsPresets.web){const E=R(61050);new E("module",/^(https?:\/\/|std:)/).apply(N)}(new ie).apply(N);if(typeof E.output.chunkFormat==="string"){switch(E.output.chunkFormat){case"array-push":{const E=R(41113);(new E).apply(N);break}case"commonjs":{const E=R(77314);(new E).apply(N);break}case"module":{const E=R(57378);(new E).apply(N);break}default:throw new Error("Unsupported chunk format '"+E.output.chunkFormat+"'.")}}if(E.output.enabledChunkLoadingTypes.length>0){for(const j of E.output.enabledChunkLoadingTypes){const E=R(50369);new E(j).apply(N)}}if(E.output.enabledWasmLoadingTypes.length>0){for(const j of E.output.enabledWasmLoadingTypes){const E=R(69085);new E(j).apply(N)}}if(E.output.enabledLibraryTypes.length>0){for(const j of E.output.enabledLibraryTypes){const E=R(13984);new E(j).apply(N)}}if(E.output.pathinfo){const j=R(21542);new j(E.output.pathinfo!==true).apply(N)}if(E.output.clean){const j=R(61666);new j(E.output.clean===true?{}:E.output.clean).apply(N)}if(E.devtool){if(E.devtool.includes("source-map")){const j=E.devtool.includes("hidden");const $=E.devtool.includes("inline");const q=E.devtool.includes("eval");const G=E.devtool.includes("cheap");const ie=E.devtool.includes("module");const ae=E.devtool.includes("nosources");const ce=q?R(23641):R(2e4);new ce({filename:$?null:E.output.sourceMapFilename,moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:E.output.devtoolFallbackModuleFilenameTemplate,append:j?false:undefined,module:ie?true:G?false:true,columns:G?false:true,noSources:ae,namespace:E.output.devtoolNamespace}).apply(N)}else if(E.devtool.includes("eval")){const j=R(91331);new j({moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,namespace:E.output.devtoolNamespace}).apply(N)}}(new q).apply(N);(new G).apply(N);(new $).apply(N);if(!E.experiments.outputModule){if(E.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(E.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(E.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(E.experiments.syncWebAssembly){const j=R(84387);new j({mangleImports:E.optimization.mangleWasmImports}).apply(N)}if(E.experiments.asyncWebAssembly){const j=R(82422);new j({mangleImports:E.optimization.mangleWasmImports}).apply(N)}if(E.experiments.lazyCompilation){const j=R(10639);const $=typeof E.experiments.lazyCompilation==="object"?E.experiments.lazyCompilation:null;new j({backend:typeof $.backend==="function"?$.backend:R(64244)({...$.backend,client:$.backend&&$.backend.client||E.externalsPresets.node?R.ab+"lazy-compilation-node.js":R.ab+"lazy-compilation-web.js"}),entries:!$||$.entries!==false,imports:!$||$.imports!==false,test:$&&$.test||undefined}).apply(N)}if(E.experiments.buildHttp){const j=R(7201);const $=E.experiments.buildHttp;new j($).apply(N)}(new ae).apply(N);N.hooks.entryOption.call(E.context,E.entry);(new le).apply(N);(new Ze).apply(N);(new Be).apply(N);(new je).apply(N);(new Ee).apply(N);new We({topLevelAwait:E.experiments.topLevelAwait}).apply(N);if(E.amd!==false){const j=R(19765);const $=R(10830);new j(E.amd||{}).apply(N);(new $).apply(N)}(new ze).apply(N);new qe({}).apply(N);if(E.node!==false){const j=R(32125);new j(E.node).apply(N)}(new _e).apply(N);(new we).apply(N);(new Ie).apply(N);(new Te).apply(N);(new Me).apply(N);(new Ke).apply(N);(new Ge).apply(N);(new He).apply(N);(new Ve).apply(N);(new Qe).apply(N);(new Je).apply(N);(new Xe).apply(N);new Ye(E.output.workerChunkLoading,E.output.workerWasmLoading,E.output.module).apply(N);(new tt).apply(N);(new rt).apply(N);(new nt).apply(N);(new et).apply(N);if(typeof E.mode!=="string"){const E=R(67586);(new E).apply(N)}const j=R(38173);(new j).apply(N);if(E.optimization.removeAvailableModules){const E=R(78016);(new E).apply(N)}if(E.optimization.removeEmptyChunks){const E=R(62665);(new E).apply(N)}if(E.optimization.mergeDuplicateChunks){const E=R(70026);(new E).apply(N)}if(E.optimization.flagIncludedChunks){const E=R(76627);(new E).apply(N)}if(E.optimization.sideEffects){const j=R(63410);new j(E.optimization.sideEffects===true).apply(N)}if(E.optimization.providedExports){const E=R(95629);(new E).apply(N)}if(E.optimization.usedExports){const j=R(1596);new j(E.optimization.usedExports==="global").apply(N)}if(E.optimization.innerGraph){const E=R(10032);(new E).apply(N)}if(E.optimization.mangleExports){const j=R(41694);new j(E.optimization.mangleExports!=="size").apply(N)}if(E.optimization.concatenateModules){const E=R(35442);(new E).apply(N)}if(E.optimization.splitChunks){const j=R(40051);new j(E.optimization.splitChunks).apply(N)}if(E.optimization.runtimeChunk){const j=R(4674);new j(E.optimization.runtimeChunk).apply(N)}if(!E.optimization.emitOnErrors){const E=R(66962);(new E).apply(N)}if(E.optimization.realContentHash){const j=R(30699);new j({hashFunction:E.output.hashFunction,hashDigest:E.output.hashDigest}).apply(N)}if(E.optimization.checkWasmTypes){const E=R(8576);(new E).apply(N)}const ot=E.optimization.moduleIds;if(ot){switch(ot){case"natural":{const E=R(97781);(new E).apply(N);break}case"named":{const E=R(9297);(new E).apply(N);break}case"hashed":{const j=R(3571);const $=R(35853);new j("optimization.moduleIds","hashed","deterministic").apply(N);new $({hashFunction:E.output.hashFunction}).apply(N);break}case"deterministic":{const E=R(35579);(new E).apply(N);break}case"size":{const E=R(76059);new E({prioritiseInitial:true}).apply(N);break}default:throw new Error(`webpack bug: moduleIds: ${ot} is not implemented`)}}const st=E.optimization.chunkIds;if(st){switch(st){case"natural":{const E=R(18298);(new E).apply(N);break}case"named":{const E=R(64779);(new E).apply(N);break}case"deterministic":{const E=R(90444);(new E).apply(N);break}case"size":{const E=R(86169);new E({prioritiseInitial:true}).apply(N);break}case"total-size":{const E=R(86169);new E({prioritiseInitial:false}).apply(N);break}default:throw new Error(`webpack bug: chunkIds: ${st} is not implemented`)}}if(E.optimization.nodeEnv){const j=R(24820);new j({"process.env.NODE_ENV":JSON.stringify(E.optimization.nodeEnv)}).apply(N)}if(E.optimization.minimize){for(const R of E.optimization.minimizer){if(typeof R==="function"){R.call(N,N)}else if(R!=="..."){R.apply(N)}}}if(E.performance){const j=R(20625);new j(E.performance).apply(N)}(new Ne).apply(N);new ce({portableIds:E.optimization.portableRecords}).apply(N);(new Le).apply(N);const ct=R(46584);new ct(E.snapshot.managedPaths,E.snapshot.immutablePaths).apply(N);if(E.cache&&typeof E.cache==="object"){const j=E.cache;switch(j.type){case"memory":{if(isFinite(j.maxGenerations)){const E=R(71162);new E({maxGenerations:j.maxGenerations}).apply(N)}else{const E=R(47786);(new E).apply(N)}if(j.cacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}N.moduleMemCaches=new Map}break}case"filesystem":{const $=R(38016);for(const E in j.buildDependencies){const R=j.buildDependencies[E];new $(R).apply(N)}if(!isFinite(j.maxMemoryGenerations)){const E=R(47786);(new E).apply(N)}else if(j.maxMemoryGenerations!==0){const E=R(71162);new E({maxGenerations:j.maxMemoryGenerations}).apply(N)}if(j.memoryCacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}N.moduleMemCaches=new Map}switch(j.store){case"pack":{const $=R(66620);const q=R(83793);new $(new q({compiler:N,fs:N.intermediateFileSystem,context:E.context,cacheLocation:j.cacheLocation,version:j.version,logger:N.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:E.snapshot,maxAge:j.maxAge,profile:j.profile,allowCollectingMemory:j.allowCollectingMemory,compression:j.compression}),j.idleTimeout,j.idleTimeoutForInitialStore,j.idleTimeoutAfterLargeChanges).apply(N);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${j.type}`)}}(new Ue).apply(N);if(E.ignoreWarnings&&E.ignoreWarnings.length>0){const j=R(89056);new j(E.ignoreWarnings).apply(N)}N.hooks.afterPlugins.call(N);if(!N.inputFileSystem){throw new Error("No input filesystem provided")}N.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(R=>{R=it(E.resolve,R);R.fileSystem=N.inputFileSystem;return R}));N.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(R=>{R=it(E.resolve,R);R.fileSystem=N.inputFileSystem;R.resolveToContext=true;return R}));N.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(R=>{R=it(E.resolveLoader,R);R.fileSystem=N.inputFileSystem;return R}));N.hooks.afterResolvers.call(N);return E}}E.exports=WebpackOptionsApply},94820:(E,N,R)=>{"use strict";const{applyWebpackOptionsDefaults:j}=R(54411);const{getNormalizedWebpackOptions:$}=R(96590);class WebpackOptionsDefaulter{process(E){E=$(E);j(E);return E}}E.exports=WebpackOptionsDefaulter},20882:(E,N,R)=>{"use strict";const j=R(50007);const $=R(71017);const{RawSource:q}=R(48135);const G=R(36253);const ie=R(76150);const ae=R(35891);const{makePathsRelative:ce}=R(49197);const mergeMaybeArrays=(E,N)=>{const R=new Set;if(Array.isArray(E))for(const N of E)R.add(N);else R.add(E);if(Array.isArray(N))for(const E of N)R.add(E);else R.add(N);return Array.from(R)};const mergeAssetInfo=(E,N)=>{const R={...E,...N};for(const j of Object.keys(E)){if(j in N){if(E[j]===N[j])continue;switch(j){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":R[j]=mergeMaybeArrays(E[j],N[j]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":R[j]=E[j]||N[j];break;case"related":R[j]=mergeRelatedInfo(E[j],N[j]);break;default:throw new Error(`Can't handle conflicting asset info for ${j}`)}}}return R};const mergeRelatedInfo=(E,N)=>{const R={...E,...N};for(const j of Object.keys(E)){if(j in N){if(E[j]===N[j])continue;R[j]=mergeMaybeArrays(E[j],N[j])}}return R};const le=new Set(["javascript"]);const _e=new Set(["javascript","asset"]);class AssetGenerator extends G{constructor(E,N,R,j){super();this.dataUrlOptions=E;this.filename=N;this.publicPath=R;this.emit=j}generate(E,{runtime:N,chunkGraph:R,runtimeTemplate:G,runtimeRequirements:le,type:_e,getData:Ee}){switch(_e){case"asset":return E.originalSource();default:{le.add(ie.module);const _e=E.originalSource();if(E.buildInfo.dataUrl){let N;if(typeof this.dataUrlOptions==="function"){N=this.dataUrlOptions.call(null,_e.source(),{filename:E.matchResource||E.resource,module:E})}else{let R=this.dataUrlOptions.encoding;if(R===undefined){if(E.resourceResolveData&&E.resourceResolveData.encoding!==undefined){R=E.resourceResolveData.encoding}}if(R===undefined){R="base64"}let q;let G=this.dataUrlOptions.mimetype;if(G===undefined){q=$.extname(E.nameForCondition());if(E.resourceResolveData&&E.resourceResolveData.mimetype!==undefined){G=E.resourceResolveData.mimetype+E.resourceResolveData.parameters}else if(q){G=j.lookup(q)}}if(typeof G!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${q}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ie;if(E.resourceResolveData&&E.resourceResolveData.encoding===R){ie=E.resourceResolveData.encodedContent}else{switch(R){case"base64":{ie=_e.buffer().toString("base64");break}case false:{const E=_e.source();if(typeof E!=="string"){ie=E.toString("utf-8")}ie=encodeURIComponent(ie).replace(/[!'()*]/g,(E=>"%"+E.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${R}'`)}}N=`data:${G}${R?`;${R}`:""},${ie}`}return new q(`${ie.module}.exports = ${JSON.stringify(N)};`)}else{const j=this.filename||G.outputOptions.assetModuleFilename;const $=ae(G.outputOptions.hashFunction);if(G.outputOptions.hashSalt){$.update(G.outputOptions.hashSalt)}$.update(_e.buffer());const Te=$.digest(G.outputOptions.hashDigest);const we=Te.slice(0,G.outputOptions.hashDigestLength);E.buildInfo.fullContentHash=Te;const Ie=ce(G.compilation.compiler.context,E.matchResource||E.resource,G.compilation.compiler.root).replace(/^\.\//,"");let{path:Ne,info:Me}=G.compilation.getAssetPathWithInfo(j,{module:E,runtime:N,filename:Ie,chunkGraph:R,contentHash:we});let Le;if(this.publicPath!==undefined){const{path:j,info:$}=G.compilation.getAssetPathWithInfo(this.publicPath,{module:E,runtime:N,filename:Ie,chunkGraph:R,contentHash:we});Le=JSON.stringify(j);Me=mergeAssetInfo(Me,$)}else{Le=ie.publicPath;le.add(ie.publicPath)}Me={sourceFilename:Ie,...Me};E.buildInfo.filename=Ne;E.buildInfo.assetInfo=Me;if(Ee){const E=Ee();E.set("fullContentHash",Te);E.set("filename",Ne);E.set("assetInfo",Me)}return new q(`${ie.module}.exports = ${Le} + ${JSON.stringify(Ne)};`)}}}}getTypes(E){if(E.buildInfo&&E.buildInfo.dataUrl||this.emit===false){return le}else{return _e}}getSize(E,N){switch(N){case"asset":{const N=E.originalSource();if(!N){return 0}return N.size()}default:if(E.buildInfo&&E.buildInfo.dataUrl){const N=E.originalSource();if(!N){return 0}return N.size()*1.34+36}else{return 42}}}updateHash(E,{module:N}){E.update(N.buildInfo.dataUrl?"data-url":"resource")}}E.exports=AssetGenerator},75076:(E,N,R)=>{"use strict";const{cleverMerge:j}=R(90149);const{compareModulesByIdentifier:$}=R(68673);const q=R(35817);const G=R(91671);const getSchema=E=>{const{definitions:N}=R(46312);return{definitions:N,oneOf:[{$ref:`#/definitions/${E}`}]}};const ie={name:"Asset Modules Plugin",baseDataPath:"generator"};const ae={asset:q(R(68707),(()=>getSchema("AssetGeneratorOptions")),ie),"asset/resource":q(R(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ie),"asset/inline":q(R(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ie)};const ce=q(R(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const le=G((()=>R(20882)));const _e=G((()=>R(74795)));const Ee=G((()=>R(20139)));const Te=G((()=>R(54685)));const we="asset";const Ie="AssetModulesPlugin";class AssetModulesPlugin{apply(E){E.hooks.compilation.tap(Ie,((N,{normalModuleFactory:R})=>{R.hooks.createParser.for("asset").tap(Ie,(N=>{ce(N);N=j(E.options.module.parser.asset,N);let R=N.dataUrlCondition;if(!R||typeof R==="object"){R={maxSize:8096,...R}}const $=_e();return new $(R)}));R.hooks.createParser.for("asset/inline").tap(Ie,(E=>{const N=_e();return new N(true)}));R.hooks.createParser.for("asset/resource").tap(Ie,(E=>{const N=_e();return new N(false)}));R.hooks.createParser.for("asset/source").tap(Ie,(E=>{const N=Ee();return new N}));for(const E of["asset","asset/inline","asset/resource"]){R.hooks.createGenerator.for(E).tap(Ie,(N=>{ae[E](N);let R=undefined;if(E!=="asset/resource"){R=N.dataUrl;if(!R||typeof R==="object"){R={encoding:undefined,mimetype:undefined,...R}}}let j=undefined;let $=undefined;if(E!=="asset/inline"){j=N.filename;$=N.publicPath}const q=le();return new q(R,j,$,N.emit!==false)}))}R.hooks.createGenerator.for("asset/source").tap(Ie,(()=>{const E=Te();return new E}));N.hooks.renderManifest.tap(Ie,((E,R)=>{const{chunkGraph:j}=N;const{chunk:q,codeGenerationResults:G}=R;const ie=j.getOrderedChunkModulesIterableBySourceType(q,"asset",$);if(ie){for(const N of ie){try{const R=G.get(N,q.runtime);E.push({render:()=>R.sources.get(we),filename:N.buildInfo.filename||R.data.get("filename"),info:N.buildInfo.assetInfo||R.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${j.getModuleId(N)}`,hash:N.buildInfo.fullContentHash||R.data.get("fullContentHash")})}catch(E){E.message+=`\nduring rendering of asset ${N.identifier()}`;throw E}}}return E}));N.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((E,N)=>{const{codeGenerationResult:R}=E;const j=R.sources.get("asset");if(j===undefined)return;N.assets.set(R.data.get("filename"),{source:j,info:R.data.get("assetInfo")})}))}))}}E.exports=AssetModulesPlugin},74795:(E,N,R)=>{"use strict";const j=R(2172);class AssetParser extends j{constructor(E){super();this.dataUrlCondition=E}parse(E,N){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetParser doesn't accept preparsed AST")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){N.module.buildInfo.dataUrl=this.dataUrlCondition(E,{filename:N.module.matchResource||N.module.resource,module:N.module})}else if(typeof this.dataUrlCondition==="boolean"){N.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){N.module.buildInfo.dataUrl=Buffer.byteLength(E)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return N}}E.exports=AssetParser},54685:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(76150);const G=new Set(["javascript"]);class AssetSourceGenerator extends ${generate(E,{chunkGraph:N,runtimeTemplate:R,runtimeRequirements:$}){$.add(q.module);const G=E.originalSource();if(!G){return new j("")}const ie=G.source();let ae;if(typeof ie==="string"){ae=ie}else{ae=ie.toString("utf-8")}return new j(`${q.module}.exports = ${JSON.stringify(ae)};`)}getTypes(E){return G}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()+12}}E.exports=AssetSourceGenerator},20139:(E,N,R)=>{"use strict";const j=R(2172);class AssetSourceParser extends j{parse(E,N){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:R}=N;R.buildInfo.strict=true;R.buildMeta.exportsType="default";return N}}E.exports=AssetSourceParser},10813:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const q=R(58159);class AwaitDependenciesInitFragment extends j{constructor(E){super(undefined,j.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=E}merge(E){const N=new Set(this.promises);for(const R of E.promises){N.add(R)}return new AwaitDependenciesInitFragment(N)}getContent({runtimeRequirements:E}){E.add($.module);const N=this.promises;if(N.size===0){return""}if(N.size===1){for(const E of N){return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`${E} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const R=Array.from(N).join(", ");return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${R}]);`,`([${R}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}E.exports=AwaitDependenciesInitFragment},68778:(E,N,R)=>{"use strict";const j=R(37359);class InferAsyncModulesPlugin{apply(E){E.hooks.compilation.tap("InferAsyncModulesPlugin",(E=>{const{moduleGraph:N}=E;E.hooks.finishModules.tap("InferAsyncModulesPlugin",(E=>{const R=new Set;for(const N of E){if(N.buildMeta&&N.buildMeta.async){R.add(N)}}for(const E of R){N.setAsync(E);for(const[$,q]of N.getIncomingConnectionsByOriginModule(E)){if(q.some((E=>E.dependency instanceof j&&E.isTargetActive(undefined)))){R.add($)}}}}))}))}}E.exports=InferAsyncModulesPlugin},25457:(E,N,R)=>{"use strict";const j=R(21357);const{connectChunkGroupParentAndChild:$}=R(4642);const q=R(79900);const{getEntryRuntime:G,mergeRuntime:ie}=R(37416);const ae=new Set;ae.plus=ae;const bySetSize=(E,N)=>N.size+N.plus.size-E.size-E.plus.size;const extractBlockModules=(E,N,R,j)=>{let $;let G;const ie=[];const ae=[E];while(ae.length>0){const E=ae.pop();const N=[];ie.push(N);j.set(E,N);for(const N of E.blocks){ae.push(N)}}for(const q of N.getOutgoingConnections(E)){const E=q.dependency;if(!E)continue;const ie=q.module;if(!ie)continue;if(q.weak)continue;const ae=q.getActiveState(R);if(ae===false)continue;const ce=N.getParentBlock(E);let le=N.getParentBlockIndex(E);if(le<0){le=ce.dependencies.indexOf(E)}if($!==ce){G=j.get($=ce)}const _e=le<<2;G[_e]=ie;G[_e+1]=ae}for(const E of ie){if(E.length===0)continue;let N;let R=0;e:for(let j=0;j<E.length;j+=2){const $=E[j];if($===undefined)continue;const G=E[j+1];if(N===undefined){let j=0;for(;j<R;j+=2){if(E[j]===$){const N=E[j+1];if(N===true)continue e;E[j+1]=q.addConnectionStates(N,G)}}E[R]=$;R++;E[R]=G;R++;if(R>30){N=new Map;for(let j=0;j<R;j+=2){N.set(E[j],j+1)}}}else{const j=N.get($);if(j!==undefined){const N=E[j];if(N===true)continue e;E[j]=q.addConnectionStates(N,G)}else{E[R]=$;R++;E[R]=G;N.set($,R);R++}}}E.length=R}};const visitModules=(E,N,R,$,q,ce,le)=>{const{moduleGraph:_e,chunkGraph:Ee,moduleMemCaches:Te}=N;const we=new Map;let Ie=false;let Ne;const getBlockModules=(N,R)=>{if(Ie!==R){Ne=we.get(R);if(Ne===undefined){Ne=new Map;we.set(R,Ne)}}let j=Ne.get(N);if(j!==undefined)return j;const $=N.getRootBlock();const q=Te&&Te.get($);if(q!==undefined){const j=q.provide("bundleChunkGraph.blockModules",R,(()=>{E.time("visitModules: prepare");const N=new Map;extractBlockModules($,_e,R,N);E.timeAggregate("visitModules: prepare");return N}));for(const[E,N]of j)Ne.set(E,N);return j.get(N)}else{E.time("visitModules: prepare");extractBlockModules($,_e,R,Ne);j=Ne.get(N);E.timeAggregate("visitModules: prepare");return j}};let Me=0;let Le=0;let Be=0;let je=0;let Ue=0;let ze=0;let We=0;let Je=0;let Ve=0;let qe=0;let He=0;let Ge=0;let Ke=0;let Qe=0;let Xe=0;let Ye=0;const Ze=new Map;const et=new Map;const tt=new Map;const rt=0;const nt=1;const it=2;const ot=3;const st=4;const ct=5;let ut=[];const dt=new Map;const pt=new Set;for(const[E,j]of R){const R=G(N,E.name,E.options);const q={chunkGroup:E,runtime:R,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};E.index=Qe++;if(E.getNumberOfParents()>0){const E=new Set;for(const N of j){E.add(N)}q.skippedItems=E;pt.add(q)}else{q.minAvailableModules=ae;const N=E.getEntrypointChunk();for(const R of j){ut.push({action:nt,block:R,module:R,chunk:N,chunkGroup:E,chunkGroupInfo:q})}}$.set(E,q);if(E.name){et.set(E.name,q)}}for(const E of pt){const{chunkGroup:N}=E;E.availableSources=new Set;for(const R of N.parentsIterable){const N=$.get(R);E.availableSources.add(N);if(N.availableChildren===undefined){N.availableChildren=new Set}N.availableChildren.add(E)}}ut.reverse();const ft=new Set;const mt=new Set;let ht=[];const _t=[];const yt=[];const vt=[];let bt;let xt;let St;let Et;let Tt;const iteratorBlock=E=>{let R=Ze.get(E);let G;let ie;const ce=E.groupOptions&&E.groupOptions.entryOptions;if(R===undefined){const _e=E.groupOptions&&E.groupOptions.name||E.chunkName;if(ce){R=tt.get(_e);if(!R){ie=N.addAsyncEntrypoint(ce,bt,E.loc,E.request);ie.index=Qe++;R={chunkGroup:ie,runtime:ie.options.runtime||ie.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};$.set(ie,R);Ee.connectBlockAndChunkGroup(E,ie);if(_e){tt.set(_e,R)}}else{ie=R.chunkGroup;ie.addOrigin(bt,E.loc,E.request);Ee.connectBlockAndChunkGroup(E,ie)}ht.push({action:st,block:E,module:bt,chunk:ie.chunks[0],chunkGroup:ie,chunkGroupInfo:R})}else{R=et.get(_e);if(!R){G=N.addChunkInGroup(E.groupOptions||E.chunkName,bt,E.loc,E.request);G.index=Qe++;R={chunkGroup:G,runtime:Tt.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};le.add(G);$.set(G,R);if(_e){et.set(_e,R)}}else{G=R.chunkGroup;if(G.isInitial()){N.errors.push(new j(_e,bt,E.loc));G=St}G.addOptions(E.groupOptions);G.addOrigin(bt,E.loc,E.request)}q.set(E,[])}Ze.set(E,R)}else if(ce){ie=R.chunkGroup}else{G=R.chunkGroup}if(G!==undefined){q.get(E).push({originChunkGroupInfo:Tt,chunkGroup:G});let N=dt.get(Tt);if(N===undefined){N=new Set;dt.set(Tt,N)}N.add(R);ht.push({action:ot,block:E,module:bt,chunk:G.chunks[0],chunkGroup:G,chunkGroupInfo:R})}else{Tt.chunkGroup.addAsyncEntrypoint(ie)}};const processBlock=E=>{Le++;const N=getBlockModules(E,Tt.runtime);if(N!==undefined){const{minAvailableModules:E}=Tt;for(let R=0;R<N.length;R+=2){const j=N[R];if(Ee.isModuleInChunk(j,xt)){continue}const $=N[R+1];if($!==true){_t.push([j,$]);if($===false)continue}if($===true&&(E.has(j)||E.plus.has(j))){yt.push(j);continue}vt.push({action:$===true?nt:ot,block:j,module:j,chunk:xt,chunkGroup:St,chunkGroupInfo:Tt})}if(_t.length>0){let{skippedModuleConnections:E}=Tt;if(E===undefined){Tt.skippedModuleConnections=E=new Set}for(let N=_t.length-1;N>=0;N--){E.add(_t[N])}_t.length=0}if(yt.length>0){let{skippedItems:E}=Tt;if(E===undefined){Tt.skippedItems=E=new Set}for(let N=yt.length-1;N>=0;N--){E.add(yt[N])}yt.length=0}if(vt.length>0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const N of E.blocks){iteratorBlock(N)}if(E.blocks.length>0&&bt!==E){ce.add(E)}};const processEntryBlock=E=>{Le++;const N=getBlockModules(E,Tt.runtime);if(N!==undefined){for(let E=0;E<N.length;E+=2){const R=N[E];const j=N[E+1];vt.push({action:j===true?rt:ot,block:R,module:R,chunk:xt,chunkGroup:St,chunkGroupInfo:Tt})}if(vt.length>0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const N of E.blocks){iteratorBlock(N)}if(E.blocks.length>0&&bt!==E){ce.add(E)}};const processQueue=()=>{while(ut.length){Me++;const E=ut.pop();bt=E.module;Et=E.block;xt=E.chunk;St=E.chunkGroup;Tt=E.chunkGroupInfo;switch(E.action){case rt:Ee.connectChunkAndEntryModule(xt,bt,St);case nt:{if(Ee.isModuleInChunk(bt,xt)){break}Ee.connectChunkAndModule(xt,bt)}case it:{const N=St.getModulePreOrderIndex(bt);if(N===undefined){St.setModulePreOrderIndex(bt,Tt.preOrderIndex++)}if(_e.setPreOrderIndexIfUnset(bt,Xe)){Xe++}E.action=ct;ut.push(E)}case ot:{processBlock(Et);break}case st:{processEntryBlock(Et);break}case ct:{const E=St.getModulePostOrderIndex(bt);if(E===undefined){St.setModulePostOrderIndex(bt,Tt.postOrderIndex++)}if(_e.setPostOrderIndexIfUnset(bt,Ye)){Ye++}break}}}};const calculateResultingAvailableModules=E=>{if(E.resultingAvailableModules)return E.resultingAvailableModules;const N=E.minAvailableModules;let R;if(N.size>N.plus.size){R=new Set;for(const E of N.plus)N.add(E);N.plus=ae;R.plus=N;E.minAvailableModulesOwned=false}else{R=new Set(N);R.plus=N.plus}for(const N of E.chunkGroup.chunks){for(const E of Ee.getChunkModulesIterable(N)){R.add(E)}}return E.resultingAvailableModules=R};const processConnectQueue=()=>{for(const[E,N]of dt){if(E.children===undefined){E.children=N}else{for(const R of N){E.children.add(R)}}const R=calculateResultingAvailableModules(E);const j=E.runtime;for(const E of N){E.availableModulesToBeMerged.push(R);mt.add(E);const N=E.runtime;const $=ie(N,j);if(N!==$){E.runtime=$;ft.add(E)}}Be+=N.size}dt.clear()};const processChunkGroupsForMerging=()=>{je+=mt.size;for(const E of mt){const N=E.availableModulesToBeMerged;let R=E.minAvailableModules;Ue+=N.length;if(N.length>1){N.sort(bySetSize)}let j=false;e:for(const $ of N){if(R===undefined){R=$;E.minAvailableModules=R;E.minAvailableModulesOwned=false;j=true}else{if(E.minAvailableModulesOwned){if(R.plus===$.plus){for(const E of R){if(!$.has(E)){R.delete(E);j=true}}}else{for(const E of R){if(!$.has(E)&&!$.plus.has(E)){R.delete(E);j=true}}for(const E of R.plus){if(!$.has(E)&&!$.plus.has(E)){const N=R.plus[Symbol.iterator]();let q;while(!(q=N.next()).done){const N=q.value;if(N===E)break;R.add(N)}while(!(q=N.next()).done){const N=q.value;if($.has(N)||$.plus.has(E)){R.add(N)}}R.plus=ae;j=true;continue e}}}}else if(R.plus===$.plus){if($.size<R.size){ze++;We+=$.size;Ve+=R.size;const N=new Set;N.plus=$.plus;for(const E of $){if(R.has(E)){N.add(E)}}He+=N.size;R=N;E.minAvailableModulesOwned=true;E.minAvailableModules=N;j=true;continue e}for(const N of R){if(!$.has(N)){ze++;We+=R.size;Ve+=$.size;const q=new Set;q.plus=$.plus;const G=R[Symbol.iterator]();let ie;while(!(ie=G.next()).done){const E=ie.value;if(E===N)break;q.add(E)}while(!(ie=G.next()).done){const E=ie.value;if($.has(E)){q.add(E)}}He+=q.size;R=q;E.minAvailableModulesOwned=true;E.minAvailableModules=q;j=true;continue e}}}else{for(const N of R){if(!$.has(N)&&!$.plus.has(N)){ze++;We+=R.size;Je+=R.plus.size;Ve+=$.size;qe+=$.plus.size;const q=new Set;q.plus=ae;const G=R[Symbol.iterator]();let ie;while(!(ie=G.next()).done){const E=ie.value;if(E===N)break;q.add(E)}while(!(ie=G.next()).done){const E=ie.value;if($.has(E)||$.plus.has(E)){q.add(E)}}for(const E of R.plus){if($.has(E)||$.plus.has(E)){q.add(E)}}He+=q.size;R=q;E.minAvailableModulesOwned=true;E.minAvailableModules=q;j=true;continue e}}for(const N of R.plus){if(!$.has(N)&&!$.plus.has(N)){ze++;We+=R.size;Je+=R.plus.size;Ve+=$.size;qe+=$.plus.size;const q=new Set(R);q.plus=ae;const G=R.plus[Symbol.iterator]();let ie;while(!(ie=G.next()).done){const E=ie.value;if(E===N)break;q.add(E)}while(!(ie=G.next()).done){const E=ie.value;if($.has(E)||$.plus.has(E)){q.add(E)}}He+=q.size;R=q;E.minAvailableModulesOwned=true;E.minAvailableModules=q;j=true;continue e}}}}}N.length=0;if(j){E.resultingAvailableModules=undefined;ft.add(E)}}mt.clear()};const processChunkGroupsForCombining=()=>{for(const E of pt){for(const N of E.availableSources){if(!N.minAvailableModules){pt.delete(E);break}}}for(const E of pt){const N=new Set;N.plus=ae;const mergeSet=E=>{if(E.size>N.plus.size){for(const E of N.plus)N.add(E);N.plus=E}else{for(const R of E)N.add(R)}};for(const N of E.availableSources){const E=calculateResultingAvailableModules(N);mergeSet(E);mergeSet(E.plus)}E.minAvailableModules=N;E.minAvailableModulesOwned=false;E.resultingAvailableModules=undefined;ft.add(E)}pt.clear()};const processOutdatedChunkGroupInfo=()=>{Ge+=ft.size;for(const E of ft){if(E.skippedItems!==undefined){const{minAvailableModules:N}=E;for(const R of E.skippedItems){if(!N.has(R)&&!N.plus.has(R)){ut.push({action:nt,block:R,module:R,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E});E.skippedItems.delete(R)}}}if(E.skippedModuleConnections!==undefined){const{minAvailableModules:N}=E;for(const R of E.skippedModuleConnections){const[j,$]=R;if($===false)continue;if($===true){E.skippedModuleConnections.delete(R)}if($===true&&(N.has(j)||N.plus.has(j))){E.skippedItems.add(j);continue}ut.push({action:$===true?nt:ot,block:j,module:j,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E})}}if(E.children!==undefined){Ke+=E.children.size;for(const N of E.children){let R=dt.get(E);if(R===undefined){R=new Set;dt.set(E,R)}R.add(N)}}if(E.availableChildren!==undefined){for(const N of E.availableChildren){pt.add(N)}}}ft.clear()};while(ut.length||dt.size){E.time("visitModules: visiting");processQueue();E.timeAggregateEnd("visitModules: prepare");E.timeEnd("visitModules: visiting");if(pt.size>0){E.time("visitModules: combine available modules");processChunkGroupsForCombining();E.timeEnd("visitModules: combine available modules")}if(dt.size>0){E.time("visitModules: calculating available modules");processConnectQueue();E.timeEnd("visitModules: calculating available modules");if(mt.size>0){E.time("visitModules: merging available modules");processChunkGroupsForMerging();E.timeEnd("visitModules: merging available modules")}}if(ft.size>0){E.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();E.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const E=ut;ut=ht.reverse();ht=E}}E.log(`${Me} queue items processed (${Le} blocks)`);E.log(`${Be} chunk groups connected`);E.log(`${je} chunk groups processed for merging (${Ue} module sets, ${ze} forked, ${We} + ${Je} modules forked, ${Ve} + ${qe} modules merged into fork, ${He} resulting modules)`);E.log(`${Ge} chunk group info updated (${Ke} already connected chunk groups reconnected)`)};const connectChunkGroups=(E,N,R,j)=>{const{chunkGraph:q}=E;const areModulesAvailable=(E,N)=>{for(const R of E.chunks){for(const E of q.getChunkModulesIterable(R)){if(!N.has(E)&&!N.plus.has(E))return false}}return true};for(const[E,j]of R){if(!N.has(E)&&j.every((({chunkGroup:E,originChunkGroupInfo:N})=>areModulesAvailable(E,N.resultingAvailableModules)))){continue}for(let N=0;N<j.length;N++){const{chunkGroup:R,originChunkGroupInfo:G}=j[N];q.connectBlockAndChunkGroup(E,R);$(G.chunkGroup,R)}}};const cleanupUnconnectedGroups=(E,N)=>{const{chunkGraph:R}=E;for(const j of N){if(j.getNumberOfParents()===0){for(const N of j.chunks){E.chunks.delete(N);R.disconnectChunk(N)}R.disconnectChunkGroup(j);j.remove()}}};const buildChunkGraph=(E,N)=>{const R=E.getLogger("webpack.buildChunkGraph");const j=new Map;const $=new Set;const q=new Map;const G=new Set;R.time("visitModules");visitModules(R,E,N,q,j,G,$);R.timeEnd("visitModules");R.time("connectChunkGroups");connectChunkGroups(E,G,j,q);R.timeEnd("connectChunkGroups");for(const[E,N]of q){for(const R of E.chunks)R.runtime=ie(R.runtime,N.runtime)}R.time("cleanup");cleanupUnconnectedGroups(E,$);R.timeEnd("cleanup")};E.exports=buildChunkGraph},38016:E=>{"use strict";class AddBuildDependenciesPlugin{constructor(E){this.buildDependencies=new Set(E)}apply(E){E.hooks.compilation.tap("AddBuildDependenciesPlugin",(E=>{E.buildDependencies.addAll(this.buildDependencies)}))}}E.exports=AddBuildDependenciesPlugin},46584:E=>{"use strict";class AddManagedPathsPlugin{constructor(E,N){this.managedPaths=new Set(E);this.immutablePaths=new Set(N)}apply(E){for(const N of this.managedPaths){E.managedPaths.add(N)}for(const N of this.immutablePaths){E.immutablePaths.add(N)}}}E.exports=AddManagedPathsPlugin},66620:(E,N,R)=>{"use strict";const j=R(54725);const $=R(52923);const q=Symbol();class IdleFileCachePlugin{constructor(E,N,R,j){this.strategy=E;this.idleTimeout=N;this.idleTimeoutForInitialStore=R;this.idleTimeoutAfterLargeChanges=j}apply(E){let N=this.strategy;const R=this.idleTimeout;const G=Math.min(R,this.idleTimeoutForInitialStore);const ie=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let ce=0;let le=0;let _e=0;const Ee=new Map;E.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},((E,R,j)=>{Ee.set(E,(()=>N.store(E,R,j)))}));E.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},((E,R,j)=>{const restore=()=>N.restore(E,R).then(($=>{if($===undefined){j.push(((j,$)=>{if(j!==undefined){Ee.set(E,(()=>N.store(E,R,j)))}$()}))}else{return $}}));const $=Ee.get(E);if($!==undefined){Ee.delete(E);return $().then(restore)}return restore()}));E.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(E=>{Ee.set(q,(()=>N.storeBuildDependencies(E)))}));E.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}we=false;const R=$.getReporter(E);const j=Array.from(Ee.values());if(R)R(0,"process pending cache items");const q=j.map((E=>E()));Ee.clear();q.push(Te);const G=Promise.all(q);Te=G.then((()=>N.afterAllStored()));if(R){Te=Te.then((()=>{R(1,`stored`)}))}return Te.then((()=>{if(N.clear)N.clear()}))}));let Te=ae;let we=false;let Ie=true;const processIdleTasks=()=>{if(we){const R=Date.now();if(Ee.size>0){const E=[Te];const N=R+100;let j=100;for(const[R,$]of Ee){Ee.delete(R);E.push($());if(j--<=0||Date.now()>N)break}Te=Promise.all(E);Te.then((()=>{le+=Date.now()-R;Ne=setTimeout(processIdleTasks,0);Ne.unref()}));return}Te=Te.then((async()=>{await N.afterAllStored();le+=Date.now()-R;_e=Math.max(_e,le)*.9+le*.1;le=0;ce=0})).catch((N=>{const R=E.getInfrastructureLogger("IdleFileCachePlugin");R.warn(`Background tasks during idle failed: ${N.message}`);R.debug(N.stack)}));Ie=false}};let Ne=undefined;E.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{const N=ce>_e*2;if(Ie&&G<R){E.getInfrastructureLogger("IdleFileCachePlugin").log(`Initial cache was generated and cache will be persisted in ${G/1e3}s.`)}else if(N&&ie<R){E.getInfrastructureLogger("IdleFileCachePlugin").log(`Spend ${Math.round(ce)/1e3}s in build and ${Math.round(_e)/1e3}s in average in cache store. This is considered as large change and cache will be persisted in ${ie/1e3}s.`)}Ne=setTimeout((()=>{Ne=undefined;we=true;ae.then(processIdleTasks)}),Math.min(Ie?G:Infinity,N?ie:Infinity,R));Ne.unref()}));E.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}we=false}));E.hooks.done.tap("IdleFileCachePlugin",(E=>{ce*=.9;ce+=E.endTime-E.startTime}))}}E.exports=IdleFileCachePlugin},47786:(E,N,R)=>{"use strict";const j=R(54725);class MemoryCachePlugin{apply(E){const N=new Map;E.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},((E,R,j)=>{N.set(E,{etag:R,data:j})}));E.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},((E,R,j)=>{const $=N.get(E);if($===null){return null}else if($!==undefined){return $.etag===R?$.data:null}j.push(((j,$)=>{if(j===undefined){N.set(E,null)}else{N.set(E,{etag:R,data:j})}return $()}))}));E.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},(()=>{N.clear()}))}}E.exports=MemoryCachePlugin},71162:(E,N,R)=>{"use strict";const j=R(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:E}){this._maxGenerations=E}apply(E){const N=this._maxGenerations;const R=new Map;const $=new Map;let q=0;let G=0;const ie=E.getInfrastructureLogger("MemoryWithGcCachePlugin");E.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{q++;let E=0;let j;for(const[N,G]of $){if(G.until>q)break;$.delete(N);if(R.get(N)===undefined){R.delete(N);E++;j=N}}if(E>0||$.size>0){ie.log(`${R.size-$.size} active entries, ${$.size} recently unused cached entries${E>0?`, ${E} old unused cache entries removed e. g. ${j}`:""}`)}let ae=R.size/N|0;let ce=G>=R.size?0:G;G=ce+ae;for(const[E,j]of R){if(ce!==0){ce--;continue}if(j!==undefined){R.set(E,undefined);$.delete(E);$.set(E,{entry:j,until:q+N});if(ae--===0)break}}}));E.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},((E,N,j)=>{R.set(E,{etag:N,data:j})}));E.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},((E,N,j)=>{const q=R.get(E);if(q===null){return null}else if(q!==undefined){return q.etag===N?q.data:null}const G=$.get(E);if(G!==undefined){const j=G.entry;if(j===null){$.delete(E);R.set(E,j);return null}else{if(j.etag!==N)return null;$.delete(E);R.set(E,j);return j.data}}j.push(((j,$)=>{if(j===undefined){R.set(E,null)}else{R.set(E,{etag:N,data:j})}return $()}))}));E.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},(()=>{R.clear();$.clear()}))}}E.exports=MemoryWithGcCachePlugin},83793:(E,N,R)=>{"use strict";const j=R(22996);const $=R(52923);const{formatSize:q}=R(9192);const G=R(43065);const ie=R(83379);const ae=R(56202);const ce=R(91671);const{createFileSerializer:le,NOT_SERIALIZABLE:_e}=R(24568);class PackContainer{constructor(E,N,R,j,$,q){this.data=E;this.version=N;this.buildSnapshot=R;this.buildDependencies=j;this.resolveResults=$;this.resolveBuildDependenciesSnapshot=q}serialize({write:E,writeLazy:N}){E(this.version);E(this.buildSnapshot);E(this.buildDependencies);E(this.resolveResults);E(this.resolveBuildDependenciesSnapshot);N(this.data)}deserialize({read:E}){this.version=E();this.buildSnapshot=E();this.buildDependencies=E();this.resolveResults=E();this.resolveBuildDependenciesSnapshot=E();this.data=E()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const Ee=1024*1024;const Te=10;const we=100;const Ie=5e4;const Ne=1*60*1e3;class PackItemInfo{constructor(E,N,R){this.identifier=E;this.etag=N;this.location=-1;this.lastAccess=Date.now();this.freshValue=R}}class Pack{constructor(E,N){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=E;this.maxAge=N}_addRequest(E){this.requests.push(E);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Ne);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(E,N){const R=this.itemInfo.get(E);this._addRequest(E);if(R===undefined){return undefined}if(R.etag!==N)return null;R.lastAccess=Date.now();const j=R.location;if(j===-1){return R.freshValue}else{if(!this.content[j]){return undefined}return this.content[j].get(E)}}set(E,N,R){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${E}`)}const j=this.itemInfo.get(E);if(j===undefined){const j=new PackItemInfo(E,N,R);this.itemInfo.set(E,j);this._addRequest(E);this.freshContent.set(E,j)}else{const $=j.location;if($>=0){this._addRequest(E);this.freshContent.set(E,j);const N=this.content[$];N.delete(E);if(N.items.size===0){this.content[$]=undefined;this.logger.debug("Pack %d got empty and is removed",$)}}j.freshValue=R;j.lastAccess=Date.now();j.etag=N;j.location=-1}}getContentStats(){let E=0;let N=0;for(const R of this.content){if(R!==undefined){E++;const j=R.getSize();if(j>0){N+=j}}}return{count:E,size:N}}_findLocation(){let E;for(E=0;E<this.content.length&&this.content[E]!==undefined;E++);return E}_gcAndUpdateLocation(E,N,R){let j=0;let $;const q=Date.now();for(const G of E){const ie=this.itemInfo.get(G);if(q-ie.lastAccess>this.maxAge){this.itemInfo.delete(G);E.delete(G);N.delete(G);j++;$=G}else{ie.location=R}}if(j>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",j,R,E.size,$)}}_persistFreshContent(){const E=this.freshContent.size;if(E>0){const N=Math.ceil(E/Ie);const R=Math.ceil(E/N);const j=[];let $=0;let q=false;const createNextPack=()=>{const E=this._findLocation();this.content[E]=null;const N={items:new Set,map:new Map,loc:E};j.push(N);return N};let G=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const E of this.requests){if(E===undefined){if(q){q=false}else if(G.items.size>=we){$=0;G=createNextPack()}continue}const N=this.freshContent.get(E);if(N===undefined)continue;G.items.add(E);G.map.set(E,N.freshValue);N.location=G.loc;N.freshValue=undefined;this.freshContent.delete(E);if(++$>R){$=0;G=createNextPack();q=true}}this.requests.length=0;for(const E of j){this.content[E.loc]=new PackContent(E.items,new Set(E.items),new PackContentItems(E.map))}this.logger.log(`${E} fresh items in cache put into pack ${j.length>1?j.map((E=>`${E.loc} (${E.items.size} items)`)).join(", "):j[0].loc}`)}}_optimizeSmallContent(){const E=[];let N=0;const R=[];let j=0;for(let $=0;$<this.content.length;$++){const q=this.content[$];if(q===undefined)continue;if(q.outdated)continue;const G=q.getSize();if(G<0||G>Ee)continue;if(q.used.size>0){E.push($);N+=G}else{R.push($);j+=G}}let $;if(E.length>=Te||N>Ee){$=E}else if(R.length>=Te||j>Ee){$=R}else return;const q=[];for(const E of $){q.push(this.content[E]);this.content[E]=undefined}const G=new Set;const ie=new Set;const ae=[];for(const E of q){for(const N of E.items){G.add(N)}for(const N of E.used){ie.add(N)}ae.push((async N=>{await E.unpack("it should be merged with other small pack contents");for(const[R,j]of E.content){N.set(R,j)}}))}const le=this._findLocation();this._gcAndUpdateLocation(G,ie,le);if(G.size>0){this.content[le]=new PackContent(G,ie,ce((async()=>{const E=new Map;await Promise.all(ae.map((N=>N(E))));return new PackContentItems(E)})));this.logger.log("Merged %d small files with %d cache items into pack %d",q.length,G.size,le)}}_optimizeUnusedContent(){for(let E=0;E<this.content.length;E++){const N=this.content[E];if(N===undefined)continue;const R=N.getSize();if(R<Ee)continue;const j=N.used.size;const $=N.items.size;if(j>0&&j<$){this.content[E]=undefined;const R=new Set(N.used);const j=this._findLocation();this._gcAndUpdateLocation(R,R,j);if(R.size>0){this.content[j]=new PackContent(R,new Set(R),(async()=>{await N.unpack("it should be splitted into used and unused items");const E=new Map;for(const j of R){E.set(j,N.content.get(j))}return new PackContentItems(E)}))}const $=new Set(N.items);const q=new Set;for(const E of R){$.delete(E)}const G=this._findLocation();this._gcAndUpdateLocation($,q,G);if($.size>0){this.content[G]=new PackContent($,q,(async()=>{await N.unpack("it should be splitted into used and unused items");const E=new Map;for(const R of $){E.set(R,N.content.get(R))}return new PackContentItems(E)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",E,j,R.size,G,$.size);return}}}_gcOldestContent(){let E=undefined;for(const N of this.itemInfo.values()){if(E===undefined||N.lastAccess<E.lastAccess){E=N}}if(Date.now()-E.lastAccess>this.maxAge){const N=E.location;if(N<0)return;const R=this.content[N];const j=new Set(R.items);const $=new Set(R.used);this._gcAndUpdateLocation(j,$,N);this.content[N]=j.size>0?new PackContent(j,$,(async()=>{await R.unpack("it contains old items that should be garbage collected");const E=new Map;for(const N of j){E.set(N,R.content.get(N))}return new PackContentItems(E)})):undefined}}serialize({write:E,writeSeparate:N}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const N of this.itemInfo.keys()){E(N)}E(null);for(const N of this.itemInfo.values()){E(N.etag)}for(const N of this.itemInfo.values()){E(N.lastAccess)}for(let R=0;R<this.content.length;R++){const j=this.content[R];if(j!==undefined){E(j.items);j.writeLazy((E=>N(E,{name:`${R}`})))}else{E(undefined)}}E(null)}deserialize({read:E,logger:N}){this.logger=N;{const N=[];let R=E();while(R!==null){N.push(R);R=E()}this.itemInfo.clear();const j=N.map((E=>{const N=new PackItemInfo(E,undefined,undefined);this.itemInfo.set(E,N);return N}));for(const N of j){N.etag=E()}for(const N of j){N.lastAccess=E()}}this.content.length=0;let R=E();while(R!==null){if(R===undefined){this.content.push(R)}else{const j=this.content.length;const $=E();this.content.push(new PackContent(R,new Set,$,N,`${this.content.length}`));for(const E of R){this.itemInfo.get(E).location=j}}R=E()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(E){this.map=E}serialize({write:E,snapshot:N,rollback:R,logger:j,profile:$}){if($){E(false);for(const[$,q]of this.map){const G=N();try{E($);const N=process.hrtime();E(q);const R=process.hrtime(N);const G=R[0]*1e3+R[1]/1e6;if(G>1){if(G>500)j.error(`Serialization of '${$}': ${G} ms`);else if(G>50)j.warn(`Serialization of '${$}': ${G} ms`);else if(G>10)j.info(`Serialization of '${$}': ${G} ms`);else if(G>5)j.log(`Serialization of '${$}': ${G} ms`);else j.debug(`Serialization of '${$}': ${G} ms`)}}catch(E){R(G);if(E===_e)continue;j.warn(`Skipped not serializable cache item '${$}': ${E.message}`);j.debug(E.stack)}}E(null);return}const q=N();try{E(true);E(this.map)}catch($){R(q);E(false);for(const[$,q]of this.map){const G=N();try{E($);E(q)}catch(E){R(G);if(E===_e)continue;j.warn(`Skipped not serializable cache item '${$}': ${E.message}`);j.debug(E.stack)}}E(null)}}deserialize({read:E,logger:N,profile:R}){if(E()){this.map=E()}else if(R){const R=new Map;let j=E();while(j!==null){const $=process.hrtime();const q=E();const G=process.hrtime($);const ie=G[0]*1e3+G[1]/1e6;if(ie>1){if(ie>100)N.error(`Deserialization of '${j}': ${ie} ms`);else if(ie>20)N.warn(`Deserialization of '${j}': ${ie} ms`);else if(ie>5)N.info(`Deserialization of '${j}': ${ie} ms`);else if(ie>2)N.log(`Deserialization of '${j}': ${ie} ms`);else N.debug(`Deserialization of '${j}': ${ie} ms`)}R.set(j,q);j=E()}this.map=R}else{const N=new Map;let R=E();while(R!==null){N.set(R,E());R=E()}this.map=N}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(E,N,R,j,$){this.items=E;this.lazy=typeof R==="function"?R:undefined;this.content=typeof R==="function"?undefined:R.map;this.outdated=false;this.used=N;this.logger=j;this.lazyName=$}get(E){this.used.add(E);if(this.content){return this.content.get(E)}const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`restore cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to restore cache content ${N} (${q(this.getSize())}) because of request to: ${E}`);this.logger.time(R)}const j=this.lazy();if("then"in j){return j.then((N=>{const j=N.map;if(R){this.logger.timeEnd(R)}this.content=j;this.lazy=G.unMemoizeLazy(this.lazy);return j.get(E)}))}else{const N=j.map;if(R){this.logger.timeEnd(R)}this.content=N;this.lazy=G.unMemoizeLazy(this.lazy);return N.get(E)}}unpack(E){if(this.content)return;if(this.lazy){const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`unpack cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${N} (${q(this.getSize())}) because ${E}`);this.logger.time(R)}const j=this.lazy();if("then"in j){return j.then((E=>{if(R){this.logger.timeEnd(R)}this.content=E.map}))}else{if(R){this.logger.timeEnd(R)}this.content=j.map}}}getSize(){if(!this.lazy)return-1;const E=this.lazy.options;if(!E)return-1;const N=E.size;if(typeof N!=="number")return-1;return N}delete(E){this.items.delete(E);this.used.delete(E);this.outdated=true}writeLazy(E){if(!this.outdated&&this.lazy){E(this.lazy);return}if(!this.outdated&&this.content){const N=new Map(this.content);this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(N))));return}if(this.content){const N=new Map;for(const E of this.items){N.set(E,this.content.get(E))}this.outdated=false;this.content=N;this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(N))));return}const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`unpack cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${N} (${q(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(R)}const j=this.lazy();this.outdated=false;if("then"in j){this.lazy=E((()=>j.then((E=>{if(R){this.logger.timeEnd(R)}const N=E.map;const j=new Map;for(const E of this.items){j.set(E,N.get(E))}this.content=j;this.lazy=G.unMemoizeLazy(this.lazy);return new PackContentItems(j)}))))}else{if(R){this.logger.timeEnd(R)}const N=j.map;const $=new Map;for(const E of this.items){$.set(E,N.get(E))}this.content=$;this.lazy=E((()=>new PackContentItems($)))}}}const allowCollectingMemory=E=>{const N=E.buffer.byteLength-E.byteLength;if(N>8192&&(N>1048576||N>E.byteLength)){return Buffer.from(E)}return E};class PackFileCacheStrategy{constructor({compiler:E,fs:N,context:R,cacheLocation:$,version:q,logger:G,snapshot:ae,maxAge:ce,profile:_e,allowCollectingMemory:Ee,compression:Te}){this.fileSerializer=le(N,E.options.output.hashFunction);this.fileSystemInfo=new j(N,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:G.getChildLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});this.compiler=E;this.context=R;this.cacheLocation=$;this.version=q;this.logger=G;this.maxAge=ce;this.profile=_e;this.allowCollectingMemory=Ee;this.compression=Te;this._extension=Te==="brotli"?".pack.br":Te==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new ie;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:E,profile:N,cacheLocation:R,version:j}=this;let $;let q;let G;let ie;let ae;E.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${R}/index${this._extension}`,extension:`${this._extension}`,logger:E,profile:N,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((N=>{if(N.code!=="ENOENT"){E.warn(`Restoring pack failed from ${R}${this._extension}: ${N}`);E.debug(N.stack)}else{E.debug(`No pack exists at ${R}${this._extension}: ${N}`)}return undefined})).then((N=>{E.timeEnd("restore cache container");if(!N)return undefined;if(!(N instanceof PackContainer)){E.warn(`Restored pack from ${R}${this._extension}, but contained content is unexpected.`,N);return undefined}if(N.version!==j){E.log(`Restored pack from ${R}${this._extension}, but version doesn't match.`);return undefined}E.time("check build dependencies");return Promise.all([new Promise(((j,q)=>{this.fileSystemInfo.checkSnapshotValid(N.buildSnapshot,((q,G)=>{if(q){E.log(`Restored pack from ${R}${this._extension}, but checking snapshot of build dependencies errored: ${q}.`);E.debug(q.stack);return j(false)}if(!G){E.log(`Restored pack from ${R}${this._extension}, but build dependencies have changed.`);return j(false)}$=N.buildSnapshot;return j(true)}))})),new Promise(((j,$)=>{this.fileSystemInfo.checkSnapshotValid(N.resolveBuildDependenciesSnapshot,(($,ce)=>{if($){E.log(`Restored pack from ${R}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${$}.`);E.debug($.stack);return j(false)}if(ce){ie=N.resolveBuildDependenciesSnapshot;q=N.buildDependencies;ae=N.resolveResults;return j(true)}E.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(N.resolveResults,(($,q)=>{if($){E.log(`Restored pack from ${R}${this._extension}, but resolving of build dependencies errored: ${$}.`);E.debug($.stack);return j(false)}if(q){G=N.buildDependencies;ae=N.resolveResults;return j(true)}E.log(`Restored pack from ${R}${this._extension}, but build dependencies resolve to different locations.`);return j(false)}))}))}))]).catch((N=>{E.timeEnd("check build dependencies");throw N})).then((([R,j])=>{E.timeEnd("check build dependencies");if(R&&j){E.time("restore cache content metadata");const R=N.data();E.timeEnd("restore cache content metadata");return R}return undefined}))})).then((N=>{if(N){N.maxAge=this.maxAge;this.buildSnapshot=$;if(q)this.buildDependencies=q;if(G)this.newBuildDependencies.addAll(G);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=ie;return N}return new Pack(E,this.maxAge)})).catch((N=>{this.logger.warn(`Restoring pack from ${R}${this._extension} failed: ${N}`);this.logger.debug(N.stack);return new Pack(E,this.maxAge)}))}store(E,N,R){return this._getPack().then((j=>{j.set(E,N===null?null:N.toString(),R)}))}restore(E,N){return this._getPack().then((R=>R.get(E,N===null?null:N.toString()))).catch((N=>{if(N&&N.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${E} from pack: ${N}`);this.logger.debug(N.stack)}}))}storeBuildDependencies(E){this.newBuildDependencies.addAll(E)}afterAllStored(){const E=this.packPromise;if(E===undefined)return Promise.resolve();const N=$.getReporter(this.compiler);return this.storePromise=E.then((E=>{E.stopCapturingRequests();if(!E.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let R;const j=new Set;for(const E of this.newBuildDependencies){if(!this.buildDependencies.has(E)){j.add(E)}}if(j.size>0||!this.buildSnapshot){if(N)N(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(j).join(", ")})`);R=new Promise(((E,R)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,j,((j,$)=>{this.logger.timeEnd("resolve build dependencies");if(j)return R(j);this.logger.time("snapshot build dependencies");const{files:q,directories:G,missing:ie,resolveResults:ae,resolveDependencies:ce}=$;if(this.resolveResults){for(const[E,N]of ae){this.resolveResults.set(E,N)}}else{this.resolveResults=ae}if(N){N(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,ce.files,ce.directories,ce.missing,this.snapshot.resolveBuildDependencies,((j,$)=>{if(j){this.logger.timeEnd("snapshot build dependencies");return R(j)}if(!$){this.logger.timeEnd("snapshot build dependencies");return R(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,$)}else{this.resolveBuildDependenciesSnapshot=$}if(N){N(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,q,G,ie,this.snapshot.buildDependencies,((N,j)=>{this.logger.timeEnd("snapshot build dependencies");if(N)return R(N);if(!j){return R(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,j)}else{this.buildSnapshot=j}E()}))}))}))}))}else{R=Promise.resolve()}return R.then((()=>{if(N)N(.8,"serialize pack");this.logger.time(`store pack`);const R=new Set(this.buildDependencies);for(const E of j){R.add(E)}const $=new PackContainer(E,this.version,this.buildSnapshot,R,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize($,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const E of j){this.buildDependencies.add(E)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const N=E.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",E.itemInfo.size,N.count,Math.round(N.size/1024/1024))})).catch((E=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}))})).catch((E=>{this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}E.exports=PackFileCacheStrategy},13653:(E,N,R)=>{"use strict";const j=R(83379);const $=R(56202);class CacheEntry{constructor(E,N){this.result=E;this.snapshot=N}serialize({write:E}){E(this.result);E(this.snapshot)}deserialize({read:E}){this.result=E();this.snapshot=E()}}$(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(E,N)=>{if(E instanceof j){E.addAll(N)}else{for(const R of N){E.add(R)}}};const objectToString=(E,N)=>{let R="";for(const j in E){if(N&&j==="context")continue;const $=E[j];if(typeof $==="object"&&$!==null){R+=`|${j}=[${objectToString($,false)}|]`}else{R+=`|${j}=|${$}`}}return R};class ResolverCachePlugin{apply(E){const N=E.getCache("ResolverCachePlugin");let R;let $;let q=0;let G=0;let ie=0;let ae=0;E.hooks.thisCompilation.tap("ResolverCachePlugin",(E=>{$=E.options.snapshot.resolve;R=E.fileSystemInfo;E.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(q+G>0){const N=E.getLogger("webpack.ResolverCachePlugin");N.log(`${Math.round(100*q/(q+G))}% really resolved (${q} real resolves with ${ie} cached but invalid, ${G} cached valid, ${ae} concurrent)`);q=0;G=0;ie=0;ae=0}}))}));const doRealResolve=(E,N,G,ie,ae)=>{q++;const ce={_ResolverCachePluginCacheMiss:true,...ie};const le={...G,stack:new Set,missingDependencies:new j,fileDependencies:new j,contextDependencies:new j};const propagate=E=>{if(G[E]){addAllToSet(G[E],le[E])}};const _e=Date.now();N.doResolve(N.hooks.resolve,ce,"Cache miss",le,((N,j)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(N)return ae(N);const q=le.fileDependencies;const G=le.contextDependencies;const ie=le.missingDependencies;R.createSnapshot(_e,q,G,ie,$,((N,R)=>{if(N)return ae(N);if(!R){if(j)return ae(null,j);return ae()}E.store(new CacheEntry(j,R),(E=>{if(E)return ae(E);if(j)return ae(null,j);ae()}))}))}))};E.resolverFactory.hooks.resolver.intercept({factory(E,j){const $=new Map;j.tap("ResolverCachePlugin",((j,q,ae)=>{if(q.cache!==true)return;const ce=objectToString(ae,false);const le=q.cacheWithContext!==undefined?q.cacheWithContext:false;j.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((q,ae,_e)=>{if(q._ResolverCachePluginCacheMiss||!R){return _e()}const Ee=`${E}${ce}${objectToString(q,!le)}`;const Te=$.get(Ee);if(Te){Te.push(_e);return}const we=N.getItemCache(Ee,null);let Ie;const done=(E,N)=>{if(Ie===undefined){_e(E,N);Ie=false}else{for(const R of Ie){R(E,N)}$.delete(Ee);Ie=false}};const processCacheResult=(E,N)=>{if(E)return done(E);if(N){const{snapshot:E,result:$}=N;R.checkSnapshotValid(E,((N,R)=>{if(N||!R){ie++;return doRealResolve(we,j,ae,q,done)}G++;if(ae.missingDependencies){addAllToSet(ae.missingDependencies,E.getMissingIterable())}if(ae.fileDependencies){addAllToSet(ae.fileDependencies,E.getFileIterable())}if(ae.contextDependencies){addAllToSet(ae.contextDependencies,E.getContextIterable())}done(null,$)}))}else{doRealResolve(we,j,ae,q,done)}};we.get(processCacheResult);if(Ie===undefined){Ie=[_e];$.set(Ee,Ie)}}))}));return j}})}}E.exports=ResolverCachePlugin},77034:(E,N,R)=>{"use strict";const j=R(35891);class LazyHashedEtag{constructor(E,N="md4"){this._obj=E;this._hash=undefined;this._hashFunction=N}toString(){if(this._hash===undefined){const E=j(this._hashFunction);this._obj.updateHash(E);this._hash=E.digest("base64")}return this._hash}}const $=new Map;const q=new WeakMap;const getter=(E,N="md4")=>{let R;if(typeof N==="string"){R=$.get(N);if(R===undefined){const j=new LazyHashedEtag(E,N);R=new WeakMap;R.set(E,j);$.set(N,R);return j}}else{R=q.get(N);if(R===undefined){const j=new LazyHashedEtag(E,N);R=new WeakMap;R.set(E,j);q.set(N,R);return j}}const j=R.get(E);if(j!==undefined)return j;const G=new LazyHashedEtag(E,N);R.set(E,G);return G};E.exports=getter},10168:E=>{"use strict";class MergedEtag{constructor(E,N){this.a=E;this.b=N}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const N=new WeakMap;const R=new WeakMap;const mergeEtags=(E,j)=>{if(typeof E==="string"){if(typeof j==="string"){return`${E}|${j}`}else{const N=j;j=E;E=N}}else{if(typeof j!=="string"){let R=N.get(E);if(R===undefined){N.set(E,R=new WeakMap)}const $=R.get(j);if($===undefined){const N=new MergedEtag(E,j);R.set(j,N);return N}else{return $}}}let $=R.get(E);if($===undefined){R.set(E,$=new Map)}const q=$.get(j);if(q===undefined){const N=new MergedEtag(E,j);$.set(j,N);return N}else{return q}};E.exports=mergeEtags},61634:(E,N,R)=>{"use strict";const j=R(71017);const $=R(46312);const getArguments=(E=$)=>{const N={};const pathToArgumentName=E=>E.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=N=>{const R=N.split("/");let j=E;for(let E=1;E<R.length;E++){const N=j[R[E]];if(!N){break}j=N}return j};const getDescription=E=>{for(const{schema:N}of E){if(N.cli&&N.cli.helper)continue;if(N.description)return N.description}};const schemaToArgumentConfig=E=>{if(E.enum){return{type:"enum",values:E.enum}}switch(E.type){case"number":return{type:"number"};case"string":return{type:E.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(E.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=E=>{const R=E[0].path;const j=pathToArgumentName(`${R}.reset`);const $=getDescription(E);N[j]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${R}' configuration. ${$}`,path:R}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(E,R)=>{const j=schemaToArgumentConfig(E[0].schema);if(!j)return 0;const $=pathToArgumentName(E[0].path);const q={...j,multiple:R,description:getDescription(E),path:E[0].path};if(!N[$]){N[$]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(N[$].configs.some((E=>JSON.stringify(E)===JSON.stringify(q)))){return 0}if(N[$].configs.some((E=>E.type===q.type&&E.multiple!==R))){if(R){throw new Error(`Conflicting schema for ${E[0].path} with ${q.type} type (array type must be before single item type)`)}return 0}N[$].configs.push(q);return 1};const traverse=(E,N="",R=[],j=null)=>{while(E.$ref){E=getSchemaPart(E.$ref)}const $=R.filter((({schema:N})=>N===E));if($.length>=2||$.some((({path:E})=>E===N))){return 0}if(E.cli&&E.cli.exclude)return 0;const q=[{schema:E,path:N},...R];let G=0;G+=addFlag(q,!!j);if(E.type==="object"){if(E.properties){for(const R of Object.keys(E.properties)){G+=traverse(E.properties[R],N?`${N}.${R}`:R,q,j)}}return G}if(E.type==="array"){if(j){return 0}if(Array.isArray(E.items)){let R=0;for(const j of E.items){G+=traverse(j,`${N}.${R}`,q,N)}return G}G+=traverse(E.items,`${N}[]`,q,N);if(G>0){addResetFlag(q);G++}return G}const ie=E.oneOf||E.anyOf||E.allOf;if(ie){const E=ie;for(let R=0;R<E.length;R++){G+=traverse(E[R],N,q,j)}return G}return G};traverse(E);for(const E of Object.keys(N)){const R=N[E];R.description=R.configs.reduce(((E,{description:N})=>{if(!E)return N;if(!N)return E;if(E.includes(N))return E;return`${E} ${N}`}),undefined);R.simpleType=R.configs.reduce(((E,N)=>{let R="string";switch(N.type){case"number":R="number";break;case"reset":case"boolean":R="boolean";break;case"enum":if(N.values.every((E=>typeof E==="boolean")))R="boolean";if(N.values.every((E=>typeof E==="number")))R="number";break}if(E===undefined)return R;return E===R?E:"string"}),undefined);R.multiple=R.configs.some((E=>E.multiple))}return N};const q=new WeakMap;const getObjectAndProperty=(E,N,R=0)=>{if(!N)return{value:E};const j=N.split(".");let $=j.pop();let G=E;let ie=0;for(const E of j){const N=E.endsWith("[]");const $=N?E.slice(0,-2):E;let ae=G[$];if(N){if(ae===undefined){ae={};G[$]=[...Array.from({length:R}),ae];q.set(G[$],R+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:j.slice(0,ie).join(".")}}}else{let E=q.get(ae)||0;while(E<=R){ae.push(undefined);E++}q.set(ae,E);const N=ae.length-E+R;if(ae[N]===undefined){ae[N]={}}else if(ae[N]===null||typeof ae[N]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:j.slice(0,ie).join(".")}}}ae=ae[N]}}else{if(ae===undefined){ae=G[$]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:j.slice(0,ie).join(".")}}}}G=ae;ie++}let ae=G[$];if($.endsWith("[]")){const E=$.slice(0,-2);const j=G[E];if(j===undefined){G[E]=[...Array.from({length:R}),undefined];q.set(G[E],R+1);return{object:G[E],property:R,value:undefined}}else if(!Array.isArray(j)){G[E]=[j,...Array.from({length:R}),undefined];q.set(G[E],R+1);return{object:G[E],property:R+1,value:undefined}}else{let E=q.get(j)||0;while(E<=R){j.push(undefined);E++}q.set(j,E);const $=j.length-E+R;if(j[$]===undefined){j[$]={}}else if(j[$]===null||typeof j[$]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:N}}}return{object:j,property:$,value:j[$]}}}return{object:G,property:$,value:ae}};const setValue=(E,N,R,j)=>{const{problem:$,object:q,property:G}=getObjectAndProperty(E,N,j);if($)return $;q[G]=R;return null};const processArgumentConfig=(E,N,R,j)=>{if(j!==undefined&&!E.multiple){return{type:"multiple-values-unexpected",path:E.path}}const $=parseValueForArgumentConfig(E,R);if($===undefined){return{type:"invalid-value",path:E.path,expected:getExpectedValue(E)}}const q=setValue(N,E.path,$,j);if(q)return q;return null};const getExpectedValue=E=>{switch(E.type){default:return E.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return E.values.map((E=>`${E}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(E,N)=>{switch(E.type){case"string":if(typeof N==="string"){return N}break;case"path":if(typeof N==="string"){return j.resolve(N)}break;case"number":if(typeof N==="number")return N;if(typeof N==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const E=+N;if(!isNaN(E))return E}break;case"boolean":if(typeof N==="boolean")return N;if(N==="true")return true;if(N==="false")return false;break;case"RegExp":if(N instanceof RegExp)return N;if(typeof N==="string"){const E=/^\/(.*)\/([yugi]*)$/.exec(N);if(E&&!/[^\\]\//.test(E[1]))return new RegExp(E[1],E[2])}break;case"enum":if(E.values.includes(N))return N;for(const R of E.values){if(`${R}`===N)return R}break;case"reset":if(N===true)return[];break}};const processArguments=(E,N,R)=>{const j=[];for(const $ of Object.keys(R)){const q=E[$];if(!q){j.push({type:"unknown-argument",path:"",argument:$});continue}const processValue=(E,R)=>{const G=[];for(const j of q.configs){const q=processArgumentConfig(j,N,E,R);if(!q){return}G.push({...q,argument:$,value:E,index:R})}j.push(...G)};let G=R[$];if(Array.isArray(G)){for(let E=0;E<G.length;E++){processValue(G[E],E)}}else{processValue(G,undefined)}}if(j.length===0)return null;return j};N.getArguments=getArguments;N.processArguments=processArguments},27509:(E,N,R)=>{"use strict";const j=R(69328);const $=R(71017);const q=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(E,N)=>{if(!E){return{}}if($.isAbsolute(E)){const[,N,R]=q.exec(E)||[];return{configPath:N,env:R}}const R=j.findConfig(N);if(R&&Object.keys(R).includes(E)){return{env:E}}return{query:E}};const load=(E,N)=>{const{configPath:R,env:$,query:q}=parse(E,N);const G=q?q:R?j.loadConfig({config:R,env:$}):j.loadConfig({path:N,env:$});if(!G)return null;return j(G)};const resolve=E=>{const rawChecker=N=>E.every((E=>{const[R,j]=E.split(" ");if(!R)return false;const $=N[R];if(!$)return false;const[q,G]=j==="TP"?[Infinity,Infinity]:j.split(".");if(typeof $==="number"){return+q>=$}return $[0]===+q?+G>=$[1]:+q>$[0]}));const N=E.some((E=>/^node /.test(E)));const R=E.some((E=>/^(?!node)/.test(E)));const j=!R?false:N?null:true;const $=!N?false:R?null:true;const q=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:q,dynamicImportInWorker:q&&!N,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:j,electron:false,node:$,nwjs:false,web:j,webworker:false,document:j,fetchWasm:j,global:$,importScripts:false,importScriptsInWorker:true,nodeBuiltins:$,require:$}};E.exports={resolve:resolve,load:load}},54411:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const q=R(58159);const{cleverMerge:G}=R(90149);const{getTargetsProperties:ie,getTargetProperties:ae,getDefaultTarget:ce}=R(71322);const le=/[\\/]node_modules[\\/]/i;const D=(E,N,R)=>{if(E[N]===undefined){E[N]=R}};const F=(E,N,R)=>{if(E[N]===undefined){E[N]=R()}};const A=(E,N,R)=>{const j=E[N];if(j===undefined){E[N]=R()}else if(Array.isArray(j)){let $=undefined;for(let q=0;q<j.length;q++){const G=j[q];if(G==="..."){if($===undefined){$=j.slice(0,q);E[N]=$}const G=R();if(G!==undefined){for(const E of G){$.push(E)}}}else if($!==undefined){$.push(G)}}}};const applyWebpackOptionsBaseDefaults=E=>{F(E,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(E.infrastructureLogging)};const applyWebpackOptionsDefaults=E=>{F(E,"context",(()=>process.cwd()));F(E,"target",(()=>ce(E.context)));const{mode:N,name:j,target:$}=E;let q=$===false?false:typeof $==="string"?ae($,E.context):ie($,E.context);const le=N==="development";const _e=N==="production"||!N;if(typeof E.entry!=="function"){for(const N of Object.keys(E.entry)){F(E.entry[N],"import",(()=>["./src"]))}}F(E,"devtool",(()=>le?"eval":false));D(E,"watch",false);D(E,"profile",false);D(E,"parallelism",100);D(E,"recordsInputPath",false);D(E,"recordsOutputPath",false);applyExperimentsDefaults(E.experiments,{production:_e,development:le});const Ee=E.experiments.futureDefaults;F(E,"cache",(()=>le?{type:"memory"}:false));applyCacheDefaults(E.cache,{name:j||"default",mode:N||"production",development:le,cacheUnaffected:E.experiments.cacheUnaffected});const Te=!!E.cache;applySnapshotDefaults(E.snapshot,{production:_e,futureDefaults:Ee});applyModuleDefaults(E.module,{cache:Te,syncWebAssembly:E.experiments.syncWebAssembly,asyncWebAssembly:E.experiments.asyncWebAssembly});applyOutputDefaults(E.output,{context:E.context,targetProperties:q,isAffectedByBrowserslist:$===undefined||typeof $==="string"&&$.startsWith("browserslist")||Array.isArray($)&&$.some((E=>E.startsWith("browserslist"))),outputModule:E.experiments.outputModule,development:le,entry:E.entry,module:E.module,futureDefaults:Ee});applyExternalsPresetsDefaults(E.externalsPresets,{targetProperties:q,buildHttp:!!E.experiments.buildHttp});applyLoaderDefaults(E.loader,{targetProperties:q});F(E,"externalsType",(()=>{const N=R(46312).definitions.ExternalsType["enum"];return E.output.library&&N.includes(E.output.library.type)?E.output.library.type:E.output.module?"module":"var"}));applyNodeDefaults(E.node,{futureDefaults:E.experiments.futureDefaults,targetProperties:q});F(E,"performance",(()=>_e&&q&&(q.browser||q.browser===null)?{}:false));applyPerformanceDefaults(E.performance,{production:_e});applyOptimizationDefaults(E.optimization,{development:le,production:_e,records:!!(E.recordsInputPath||E.recordsOutputPath)});E.resolve=G(getResolveDefaults({cache:Te,context:E.context,targetProperties:q,mode:E.mode}),E.resolve);E.resolveLoader=G(getResolveLoaderDefaults({cache:Te}),E.resolveLoader)};const applyExperimentsDefaults=(E,{production:N,development:R})=>{D(E,"futureDefaults",false);D(E,"backCompat",!E.futureDefaults);D(E,"topLevelAwait",E.futureDefaults);D(E,"syncWebAssembly",false);D(E,"asyncWebAssembly",E.futureDefaults);D(E,"outputModule",false);D(E,"layers",false);D(E,"lazyCompilation",undefined);D(E,"buildHttp",undefined);D(E,"cacheUnaffected",E.futureDefaults);if(typeof E.buildHttp==="object"){D(E.buildHttp,"frozen",N);D(E.buildHttp,"upgrade",false)}};const applyCacheDefaults=(E,{name:N,mode:R,development:q,cacheUnaffected:G})=>{if(E===false)return;switch(E.type){case"filesystem":F(E,"name",(()=>N+"-"+R));D(E,"version","");F(E,"cacheDirectory",(()=>{const E=process.cwd();let N=E;for(;;){try{if(j.statSync($.join(N,"package.json")).isFile())break}catch(E){}const E=$.dirname(N);if(N===E){N=undefined;break}N=E}if(!N){return $.resolve(E,".cache/webpack")}else if(process.versions.pnp==="1"){return $.resolve(N,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return $.resolve(N,".yarn/.cache/webpack")}else{return $.resolve(N,"node_modules/.cache/webpack")}}));F(E,"cacheLocation",(()=>$.resolve(E.cacheDirectory,E.name)));D(E,"hashAlgorithm","md4");D(E,"store","pack");D(E,"compression",false);D(E,"profile",false);D(E,"idleTimeout",6e4);D(E,"idleTimeoutForInitialStore",5e3);D(E,"idleTimeoutAfterLargeChanges",1e3);D(E,"maxMemoryGenerations",q?5:Infinity);D(E,"maxAge",1e3*60*60*24*60);D(E,"allowCollectingMemory",q);D(E,"memoryCacheUnaffected",q&&G);D(E.buildDependencies,"defaultWebpack",[$.resolve(__dirname,"..")+$.sep]);break;case"memory":D(E,"maxGenerations",Infinity);D(E,"cacheUnaffected",q&&G);break}};const applySnapshotDefaults=(E,{production:N,futureDefaults:R})=>{if(R){F(E,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(E,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(E,"managedPaths",(()=>{if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[$.resolve(E[1],"unplugged")]}}else{const E=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));A(E,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const E=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}else if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}))}F(E,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(E,"buildDependencies",(()=>({timestamp:true,hash:true})));F(E,"module",(()=>N?{timestamp:true,hash:true}:{timestamp:true}));F(E,"resolve",(()=>N?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=E=>{D(E,"unknownContextRequest",".");D(E,"unknownContextRegExp",false);D(E,"unknownContextRecursive",true);D(E,"unknownContextCritical",true);D(E,"exprContextRequest",".");D(E,"exprContextRegExp",false);D(E,"exprContextRecursive",true);D(E,"exprContextCritical",true);D(E,"wrappedContextRegExp",/.*/);D(E,"wrappedContextRecursive",true);D(E,"wrappedContextCritical",false);D(E,"strictThisContextOnImports",false)};const applyModuleDefaults=(E,{cache:N,syncWebAssembly:R,asyncWebAssembly:j})=>{if(N){D(E,"unsafeCache",(E=>{const N=E.nameForCondition();return N&&le.test(N)}))}else{D(E,"unsafeCache",false)}F(E.parser,"asset",(()=>({})));F(E.parser.asset,"dataUrlCondition",(()=>({})));if(typeof E.parser.asset.dataUrlCondition==="object"){D(E.parser.asset.dataUrlCondition,"maxSize",8096)}F(E.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(E.parser.javascript);A(E,"defaultRules",(()=>{const E={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const N={type:"javascript/dynamic"};const $=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"module"},...E},{test:/\.cjs$/i,...N},{test:/\.js$/i,descriptionData:{type:"commonjs"},...N},{mimetype:{or:["text/javascript","application/javascript"]},...E}];if(j){const E={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};$.push({test:/\.wasm$/i,...E});$.push({mimetype:"application/wasm",...E})}else if(R){const E={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};$.push({test:/\.wasm$/i,...E});$.push({mimetype:"application/wasm",...E})}$.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:"json"});return $}))};const applyOutputDefaults=(E,{context:N,targetProperties:R,isAffectedByBrowserslist:G,outputModule:ie,development:ae,entry:ce,module:le,futureDefaults:_e})=>{const getLibraryName=E=>{const N=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E.name:E;if(Array.isArray(N)){return N.join(".")}else if(typeof N==="object"){return getLibraryName(N.root)}else if(typeof N==="string"){return N}return""};F(E,"uniqueName",(()=>{const R=getLibraryName(E.library);if(R)return R;const q=$.resolve(N,"package.json");try{const E=JSON.parse(j.readFileSync(q,"utf-8"));return E.name||""}catch(E){if(E.code!=="ENOENT"){E.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${q}`;throw E}return""}}));F(E,"module",(()=>!!ie));D(E,"filename",E.module?"[name].mjs":"[name].js");F(E,"iife",(()=>!E.module));D(E,"importFunctionName","import");D(E,"importMetaName","import.meta");F(E,"chunkFilename",(()=>{const N=E.filename;if(typeof N!=="function"){const E=N.includes("[name]");const R=N.includes("[id]");const j=N.includes("[chunkhash]");const $=N.includes("[contenthash]");if(j||$||E||R)return N;return N.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return E.module?"[id].mjs":"[id].js"}));D(E,"assetModuleFilename","[hash][ext][query]");D(E,"webassemblyModuleFilename","[hash].module.wasm");D(E,"compareBeforeEmit",true);D(E,"charset",true);F(E,"hotUpdateGlobal",(()=>q.toIdentifier("webpackHotUpdate"+q.toIdentifier(E.uniqueName))));F(E,"chunkLoadingGlobal",(()=>q.toIdentifier("webpackChunk"+q.toIdentifier(E.uniqueName))));F(E,"globalObject",(()=>{if(R){if(R.global)return"global";if(R.globalThis)return"globalThis"}return"self"}));F(E,"chunkFormat",(()=>{if(R){const N=G?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(E.module){if(R.dynamicImport)return"module";if(R.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+N)}else{if(R.document)return"array-push";if(R.require)return"commonjs";if(R.nodeBuiltins)return"commonjs";if(R.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+N)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(E,"chunkLoading",(()=>{if(R){switch(E.chunkFormat){case"array-push":if(R.document)return"jsonp";if(R.importScripts)return"import-scripts";break;case"commonjs":if(R.require)return"require";if(R.nodeBuiltins)return"async-node";break;case"module":if(R.dynamicImport)return"import";break}if(R.require===null||R.nodeBuiltins===null||R.document===null||R.importScripts===null){return"universal"}}return false}));F(E,"workerChunkLoading",(()=>{if(R){switch(E.chunkFormat){case"array-push":if(R.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(R.require)return"require";if(R.nodeBuiltins)return"async-node";break;case"module":if(R.dynamicImportInWorker)return"import";break}if(R.require===null||R.nodeBuiltins===null||R.importScriptsInWorker===null){return"universal"}}return false}));F(E,"wasmLoading",(()=>{if(R){if(R.fetchWasm)return"fetch";if(R.nodeBuiltins)return E.module?"async-node-module":"async-node";if(R.nodeBuiltins===null||R.fetchWasm===null){return"universal"}}return false}));F(E,"workerWasmLoading",(()=>E.wasmLoading));F(E,"devtoolNamespace",(()=>E.uniqueName));if(E.library){F(E.library,"type",(()=>E.module?"module":"var"))}F(E,"path",(()=>$.join(process.cwd(),"dist")));F(E,"pathinfo",(()=>ae));D(E,"sourceMapFilename","[file].map[query]");D(E,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${E.module?"mjs":"js"}`);D(E,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(E,"crossOriginLoading",false);F(E,"scriptType",(()=>E.module?"module":false));D(E,"publicPath",R&&(R.document||R.importScripts)||E.scriptType==="module"?"auto":"");D(E,"chunkLoadTimeout",12e4);D(E,"hashFunction",_e?"xxhash64":"md4");D(E,"hashDigest","hex");D(E,"hashDigestLength",20);D(E,"strictModuleExceptionHandling",false);const optimistic=E=>E||E===undefined;F(E.environment,"arrowFunction",(()=>R&&optimistic(R.arrowFunction)));F(E.environment,"const",(()=>R&&optimistic(R.const)));F(E.environment,"destructuring",(()=>R&&optimistic(R.destructuring)));F(E.environment,"forOf",(()=>R&&optimistic(R.forOf)));F(E.environment,"bigIntLiteral",(()=>R&&R.bigIntLiteral));F(E.environment,"dynamicImport",(()=>R&&R.dynamicImport));F(E.environment,"module",(()=>R&&R.module));const{trustedTypes:Ee}=E;if(Ee){F(Ee,"policyName",(()=>E.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=E=>{for(const N of Object.keys(ce)){E(ce[N])}};A(E,"enabledLibraryTypes",(()=>{const N=[];if(E.library){N.push(E.library.type)}forEachEntry((E=>{if(E.library){N.push(E.library.type)}}));return N}));A(E,"enabledChunkLoadingTypes",(()=>{const N=new Set;if(E.chunkLoading){N.add(E.chunkLoading)}if(E.workerChunkLoading){N.add(E.workerChunkLoading)}forEachEntry((E=>{if(E.chunkLoading){N.add(E.chunkLoading)}}));return Array.from(N)}));A(E,"enabledWasmLoadingTypes",(()=>{const N=new Set;if(E.wasmLoading){N.add(E.wasmLoading)}if(E.workerWasmLoading){N.add(E.workerWasmLoading)}forEachEntry((E=>{if(E.wasmLoading){N.add(E.wasmLoading)}}));return Array.from(N)}))};const applyExternalsPresetsDefaults=(E,{targetProperties:N,buildHttp:R})=>{D(E,"web",!R&&N&&N.web);D(E,"node",N&&N.node);D(E,"nwjs",N&&N.nwjs);D(E,"electron",N&&N.electron);D(E,"electronMain",N&&N.electron&&N.electronMain);D(E,"electronPreload",N&&N.electron&&N.electronPreload);D(E,"electronRenderer",N&&N.electron&&N.electronRenderer)};const applyLoaderDefaults=(E,{targetProperties:N})=>{F(E,"target",(()=>{if(N){if(N.electron){if(N.electronMain)return"electron-main";if(N.electronPreload)return"electron-preload";if(N.electronRenderer)return"electron-renderer";return"electron"}if(N.nwjs)return"nwjs";if(N.node)return"node";if(N.web)return"web"}}))};const applyNodeDefaults=(E,{futureDefaults:N,targetProperties:R})=>{if(E===false)return;F(E,"global",(()=>{if(R&&R.global)return false;return N?"warn":true}));F(E,"__filename",(()=>{if(R&&R.node)return"eval-only";return N?"warn-mock":"mock"}));F(E,"__dirname",(()=>{if(R&&R.node)return"eval-only";return N?"warn-mock":"mock"}))};const applyPerformanceDefaults=(E,{production:N})=>{if(E===false)return;D(E,"maxAssetSize",25e4);D(E,"maxEntrypointSize",25e4);F(E,"hints",(()=>N?"warning":false))};const applyOptimizationDefaults=(E,{production:N,development:j,records:$})=>{D(E,"removeAvailableModules",false);D(E,"removeEmptyChunks",true);D(E,"mergeDuplicateChunks",true);D(E,"flagIncludedChunks",N);F(E,"moduleIds",(()=>{if(N)return"deterministic";if(j)return"named";return"natural"}));F(E,"chunkIds",(()=>{if(N)return"deterministic";if(j)return"named";return"natural"}));F(E,"sideEffects",(()=>N?true:"flag"));D(E,"providedExports",true);D(E,"usedExports",N);D(E,"innerGraph",N);D(E,"mangleExports",N);D(E,"concatenateModules",N);D(E,"runtimeChunk",false);D(E,"emitOnErrors",!N);D(E,"checkWasmTypes",N);D(E,"mangleWasmImports",false);D(E,"portableRecords",$);D(E,"realContentHash",N);D(E,"minimize",N);A(E,"minimizer",(()=>[{apply:E=>{const N=R(96013);new N({terserOptions:{compress:{passes:2}}}).apply(E)}}]));F(E,"nodeEnv",(()=>{if(N)return"production";if(j)return"development";return false}));const{splitChunks:q}=E;if(q){A(q,"defaultSizeTypes",(()=>["javascript","unknown"]));D(q,"hidePathInfo",N);D(q,"chunks","async");D(q,"usedExports",E.usedExports===true);D(q,"minChunks",1);F(q,"minSize",(()=>N?2e4:1e4));F(q,"minRemainingSize",(()=>j?0:undefined));F(q,"enforceSizeThreshold",(()=>N?5e4:3e4));F(q,"maxAsyncRequests",(()=>N?30:Infinity));F(q,"maxInitialRequests",(()=>N?30:Infinity));D(q,"automaticNameDelimiter","-");const{cacheGroups:R}=q;F(R,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(R,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:le,priority:-10})))}};const getResolveDefaults=({cache:E,context:N,targetProperties:R,mode:j})=>{const $=["webpack"];$.push(j==="development"?"development":"production");if(R){if(R.webworker)$.push("worker");if(R.node)$.push("node");if(R.web)$.push("browser");if(R.electron)$.push("electron");if(R.nwjs)$.push("nwjs")}const q=[".js",".json",".wasm"];const G=R;const ie=G&&G.web&&(!G.node||G.electron&&G.electronRenderer);const cjsDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...q]});const esmDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...q]});const ae={cache:E,modules:["node_modules"],conditionNames:$,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[N],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:E})=>{const N={cache:E,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return N};const applyInfrastructureLoggingDefaults=E=>{F(E,"stream",(()=>process.stderr));const N=E.stream.isTTY&&process.env.TERM!=="dumb";D(E,"level","info");D(E,"debug",false);D(E,"colors",N);D(E,"appendOnly",!N)};N.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;N.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(E,N,R)=>{"use strict";const j=R(73837);const $=j.deprecate(((E,N)=>{if(N!==undefined&&!E===!N){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!E}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(E,N)=>E===undefined?N({}):N(E);const cloneObject=E=>({...E});const optionalNestedConfig=(E,N)=>E===undefined?undefined:N(E);const nestedArray=(E,N)=>Array.isArray(E)?N(E):N([]);const optionalNestedArray=(E,N)=>Array.isArray(E)?N(E):undefined;const keyedNestedConfig=(E,N,R)=>{const j=E===undefined?{}:Object.keys(E).reduce(((j,$)=>(j[$]=(R&&$ in R?R[$]:N)(E[$]),j)),{});if(R){for(const E of Object.keys(R)){if(!(E in j)){j[E]=R[E]({})}}}return j};const getNormalizedWebpackOptions=E=>({amd:E.amd,bail:E.bail,cache:optionalNestedConfig(E.cache,(E=>{if(E===false)return false;if(E===true){return{type:"memory",maxGenerations:undefined}}switch(E.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:E.allowCollectingMemory,maxMemoryGenerations:E.maxMemoryGenerations,maxAge:E.maxAge,profile:E.profile,buildDependencies:cloneObject(E.buildDependencies),cacheDirectory:E.cacheDirectory,cacheLocation:E.cacheLocation,hashAlgorithm:E.hashAlgorithm,compression:E.compression,idleTimeout:E.idleTimeout,idleTimeoutForInitialStore:E.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:E.idleTimeoutAfterLargeChanges,name:E.name,store:E.store,version:E.version};case undefined:case"memory":return{type:"memory",maxGenerations:E.maxGenerations};default:throw new Error(`Not implemented cache.type ${E.type}`)}})),context:E.context,dependencies:E.dependencies,devServer:optionalNestedConfig(E.devServer,(E=>({...E}))),devtool:E.devtool,entry:E.entry===undefined?{main:{}}:typeof E.entry==="function"?(E=>()=>Promise.resolve().then(E).then(getNormalizedEntryStatic))(E.entry):getNormalizedEntryStatic(E.entry),experiments:nestedConfig(E.experiments,(E=>({...E,buildHttp:optionalNestedConfig(E.buildHttp,(E=>Array.isArray(E)?{allowedUris:E}:E)),lazyCompilation:optionalNestedConfig(E.lazyCompilation,(E=>E===true?{}:E===false?undefined:E))}))),externals:E.externals,externalsPresets:cloneObject(E.externalsPresets),externalsType:E.externalsType,ignoreWarnings:E.ignoreWarnings?E.ignoreWarnings.map((E=>{if(typeof E==="function")return E;const N=E instanceof RegExp?{message:E}:E;return(E,{requestShortener:R})=>{if(!N.message&&!N.module&&!N.file)return false;if(N.message&&!N.message.test(E.message)){return false}if(N.module&&(!E.module||!N.module.test(E.module.readableIdentifier(R)))){return false}if(N.file&&(!E.file||!N.file.test(E.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(E.infrastructureLogging),loader:cloneObject(E.loader),mode:E.mode,module:nestedConfig(E.module,(E=>({noParse:E.noParse,unsafeCache:E.unsafeCache,parser:keyedNestedConfig(E.parser,cloneObject,{javascript:N=>({unknownContextRequest:E.unknownContextRequest,unknownContextRegExp:E.unknownContextRegExp,unknownContextRecursive:E.unknownContextRecursive,unknownContextCritical:E.unknownContextCritical,exprContextRequest:E.exprContextRequest,exprContextRegExp:E.exprContextRegExp,exprContextRecursive:E.exprContextRecursive,exprContextCritical:E.exprContextCritical,wrappedContextRegExp:E.wrappedContextRegExp,wrappedContextRecursive:E.wrappedContextRecursive,wrappedContextCritical:E.wrappedContextCritical,strictExportPresence:E.strictExportPresence,strictThisContextOnImports:E.strictThisContextOnImports,...N})}),generator:cloneObject(E.generator),defaultRules:optionalNestedArray(E.defaultRules,(E=>[...E])),rules:nestedArray(E.rules,(E=>[...E]))}))),name:E.name,node:nestedConfig(E.node,(E=>E&&{...E})),optimization:nestedConfig(E.optimization,(E=>({...E,runtimeChunk:getNormalizedOptimizationRuntimeChunk(E.runtimeChunk),splitChunks:nestedConfig(E.splitChunks,(E=>E&&{...E,defaultSizeTypes:E.defaultSizeTypes?[...E.defaultSizeTypes]:["..."],cacheGroups:cloneObject(E.cacheGroups)})),emitOnErrors:E.noEmitOnErrors!==undefined?$(E.noEmitOnErrors,E.emitOnErrors):E.emitOnErrors}))),output:nestedConfig(E.output,(E=>{const{library:N}=E;const R=N;const j=typeof N==="object"&&N&&!Array.isArray(N)&&"type"in N?N:R||E.libraryTarget?{name:R}:undefined;const $={assetModuleFilename:E.assetModuleFilename,charset:E.charset,chunkFilename:E.chunkFilename,chunkFormat:E.chunkFormat,chunkLoading:E.chunkLoading,chunkLoadingGlobal:E.chunkLoadingGlobal,chunkLoadTimeout:E.chunkLoadTimeout,clean:E.clean,compareBeforeEmit:E.compareBeforeEmit,crossOriginLoading:E.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:E.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:E.devtoolModuleFilenameTemplate,devtoolNamespace:E.devtoolNamespace,environment:cloneObject(E.environment),enabledChunkLoadingTypes:E.enabledChunkLoadingTypes?[...E.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:E.enabledLibraryTypes?[...E.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:E.enabledWasmLoadingTypes?[...E.enabledWasmLoadingTypes]:["..."],filename:E.filename,globalObject:E.globalObject,hashDigest:E.hashDigest,hashDigestLength:E.hashDigestLength,hashFunction:E.hashFunction,hashSalt:E.hashSalt,hotUpdateChunkFilename:E.hotUpdateChunkFilename,hotUpdateGlobal:E.hotUpdateGlobal,hotUpdateMainFilename:E.hotUpdateMainFilename,iife:E.iife,importFunctionName:E.importFunctionName,importMetaName:E.importMetaName,scriptType:E.scriptType,library:j&&{type:E.libraryTarget!==undefined?E.libraryTarget:j.type,auxiliaryComment:E.auxiliaryComment!==undefined?E.auxiliaryComment:j.auxiliaryComment,export:E.libraryExport!==undefined?E.libraryExport:j.export,name:j.name,umdNamedDefine:E.umdNamedDefine!==undefined?E.umdNamedDefine:j.umdNamedDefine},module:E.module,path:E.path,pathinfo:E.pathinfo,publicPath:E.publicPath,sourceMapFilename:E.sourceMapFilename,sourcePrefix:E.sourcePrefix,strictModuleExceptionHandling:E.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(E.trustedTypes,(E=>{if(E===true)return{};if(typeof E==="string")return{policyName:E};return{...E}})),uniqueName:E.uniqueName,wasmLoading:E.wasmLoading,webassemblyModuleFilename:E.webassemblyModuleFilename,workerChunkLoading:E.workerChunkLoading,workerWasmLoading:E.workerWasmLoading};return $})),parallelism:E.parallelism,performance:optionalNestedConfig(E.performance,(E=>{if(E===false)return false;return{...E}})),plugins:nestedArray(E.plugins,(E=>[...E])),profile:E.profile,recordsInputPath:E.recordsInputPath!==undefined?E.recordsInputPath:E.recordsPath,recordsOutputPath:E.recordsOutputPath!==undefined?E.recordsOutputPath:E.recordsPath,resolve:nestedConfig(E.resolve,(E=>({...E,byDependency:keyedNestedConfig(E.byDependency,cloneObject)}))),resolveLoader:cloneObject(E.resolveLoader),snapshot:nestedConfig(E.snapshot,(E=>({resolveBuildDependencies:optionalNestedConfig(E.resolveBuildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),buildDependencies:optionalNestedConfig(E.buildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),resolve:optionalNestedConfig(E.resolve,(E=>({timestamp:E.timestamp,hash:E.hash}))),module:optionalNestedConfig(E.module,(E=>({timestamp:E.timestamp,hash:E.hash}))),immutablePaths:optionalNestedArray(E.immutablePaths,(E=>[...E])),managedPaths:optionalNestedArray(E.managedPaths,(E=>[...E]))}))),stats:nestedConfig(E.stats,(E=>{if(E===false){return{preset:"none"}}if(E===true){return{preset:"normal"}}if(typeof E==="string"){return{preset:E}}return{...E}})),target:E.target,watch:E.watch,watchOptions:cloneObject(E.watchOptions)});const getNormalizedEntryStatic=E=>{if(typeof E==="string"){return{main:{import:[E]}}}if(Array.isArray(E)){return{main:{import:E}}}const N={};for(const R of Object.keys(E)){const j=E[R];if(typeof j==="string"){N[R]={import:[j]}}else if(Array.isArray(j)){N[R]={import:j}}else{N[R]={import:j.import&&(Array.isArray(j.import)?j.import:[j.import]),filename:j.filename,layer:j.layer,runtime:j.runtime,publicPath:j.publicPath,chunkLoading:j.chunkLoading,wasmLoading:j.wasmLoading,dependOn:j.dependOn&&(Array.isArray(j.dependOn)?j.dependOn:[j.dependOn]),library:j.library}}}return N};const getNormalizedOptimizationRuntimeChunk=E=>{if(E===undefined)return undefined;if(E===false)return false;if(E==="single"){return{name:()=>"runtime"}}if(E===true||E==="multiple"){return{name:E=>`runtime~${E.name}`}}const{name:N}=E;return{name:typeof N==="function"?N:()=>N}};N.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(27509)));const getDefaultTarget=E=>{const N=$().load(null,E);return N?"browserslist":"web"};const versionDependent=(E,N)=>{if(!E)return()=>undefined;E=+E;N=N?+N:0;return(R,j=0)=>E>R||E===R&&N>=j};const q=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(E,N)=>{const R=$();const j=R.load(E?E.trim():null,N);if(!j){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return R.resolve(j)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(E,N,R)=>{const j=versionDependent(N,R);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!E,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:j(12),const:j(6),arrowFunction:j(6),forOf:j(5),destructuring:j(6),bigIntLiteral:j(10,4),dynamicImport:j(12,17),dynamicImportInWorker:N?false:undefined,module:j(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(E,N,R)=>{const j=versionDependent(E,N);return{node:true,electron:true,web:R!=="main",webworker:false,browser:false,nwjs:false,electronMain:R==="main",electronPreload:R==="preload",electronRenderer:R==="renderer",global:true,nodeBuiltins:true,require:true,document:R==="renderer",fetchWasm:R==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:j(5),const:j(1,1),arrowFunction:j(1,1),forOf:j(0,36),destructuring:j(1,1),bigIntLiteral:j(4),dynamicImport:j(11),dynamicImportInWorker:E?false:undefined,module:j(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(E,N)=>{const R=versionDependent(E,N);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:R(0,43),const:R(0,15),arrowFunction:R(0,15),forOf:R(0,13),destructuring:R(0,15),bigIntLiteral:R(0,32),dynamicImport:R(0,43),dynamicImportInWorker:E?false:undefined,module:R(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,E=>{let N=+E;if(N<1e3)N=N+2009;return{const:N>=2015,arrowFunction:N>=2015,forOf:N>=2015,destructuring:N>=2015,module:N>=2015,globalThis:N>=2020,bigIntLiteral:N>=2020,dynamicImport:N>=2020,dynamicImportInWorker:N>=2020}}]];const getTargetProperties=(E,N)=>{for(const[,,R,j]of q){const $=R.exec(E);if($){const[,...E]=$;const R=j(...E,N);if(R)return R}}throw new Error(`Unknown target '${E}'. The following targets are supported:\n${q.map((([E,N])=>`* ${E}: ${N}`)).join("\n")}`)};const mergeTargetProperties=E=>{const N=new Set;for(const R of E){for(const E of Object.keys(R)){N.add(E)}}const R={};for(const j of N){let N=false;let $=false;for(const R of E){const E=R[j];switch(E){case true:N=true;break;case false:$=true;break}}if(N||$)R[j]=$&&N?null:N?true:false}return R};const getTargetsProperties=(E,N)=>mergeTargetProperties(E.map((E=>getTargetProperties(E,N))));N.getDefaultTarget=getDefaultTarget;N.getTargetProperties=getTargetProperties;N.getTargetsProperties=getTargetsProperties},76041:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class ContainerEntryDependency extends j{constructor(E,N,R){super();this.name=E;this.exposes=N;this.shareScope=R}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}$(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");E.exports=ContainerEntryDependency},89591:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(98221);const G=R(53453);const ie=R(76150);const ae=R(58159);const ce=R(56202);const le=R(4523);const _e=new Set(["javascript"]);class ContainerEntryModule extends G{constructor(E,N,R){super("javascript/dynamic",null);this._name=E;this._exposes=N;this._shareScope=R}getSourceTypes(){return _e}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(E){return`container entry`}libIdent(E){return`webpack/container/entry/${this._name}`}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[E,N]of this._exposes){const R=new q({name:N.name},{name:E},N.import[N.import.length-1]);let j=0;for(const $ of N.import){const N=new le(E,$);N.loc={name:E,index:j++};R.addDependency(N)}this.addBlock(R)}$()}codeGeneration({moduleGraph:E,chunkGraph:N,runtimeTemplate:R}){const q=new Map;const G=new Set([ie.definePropertyGetters,ie.hasOwnProperty,ie.exports]);const ce=[];for(const j of this.blocks){const{dependencies:$}=j;const q=$.map((N=>{const R=N;return{name:R.exposedName,module:E.getModule(R),request:R.userRequest}}));let ie;if(q.some((E=>!E.module))){ie=R.throwMissingModuleErrorBlock({request:q.map((E=>E.request)).join(", ")})}else{ie=`return ${R.blockPromise({block:j,message:"",chunkGraph:N,runtimeRequirements:G})}.then(${R.returningFunction(R.returningFunction(`(${q.map((({module:E,request:j})=>R.moduleRaw({module:E,chunkGraph:N,request:j,weak:false,runtimeRequirements:G}))).join(", ")})`))});`}ce.push(`${JSON.stringify(q[0].name)}: ${R.basicFunction("",ie)}`)}const le=ae.asString([`var moduleMap = {`,ae.indent(ce.join(",\n")),"};",`var get = ${R.basicFunction("module, getScope",[`${ie.currentRemoteGetScope} = getScope;`,"getScope = (",ae.indent([`${ie.hasOwnProperty}(moduleMap, module)`,ae.indent(["? moduleMap[module]()",`: Promise.resolve().then(${R.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ie.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${R.basicFunction("shareScope, initScope",[`if (!${ie.shareScopeMap}) return;`,`var oldScope = ${ie.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ie.shareScopeMap}[name] = shareScope;`,`return ${ie.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ie.definePropertyGetters}(exports, {`,ae.indent([`get: ${R.returningFunction("get")},`,`init: ${R.returningFunction("init")}`]),"});"]);q.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new j(le,"webpack/container-entry"):new $(le));return{sources:q,runtimeRequirements:G}}size(E){return 42}serialize(E){const{write:N}=E;N(this._name);N(this._exposes);N(this._shareScope);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ContainerEntryModule(N(),N(),N());R.deserialize(E);return R}}ce(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");E.exports=ContainerEntryModule},76912:(E,N,R)=>{"use strict";const j=R(40674);const $=R(89591);E.exports=class ContainerEntryModuleFactory extends j{create({dependencies:[E]},N){const R=E;N(null,{module:new $(R.name,R.exposes,R.shareScope)})}}},4523:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ContainerExposedDependency extends j{constructor(E,N){super(N);this.exposedName=E}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(E){E.write(this.exposedName);super.serialize(E)}deserialize(E){this.exposedName=E.read();super.deserialize(E)}}$(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");E.exports=ContainerExposedDependency},10419:(E,N,R)=>{"use strict";const j=R(35817);const $=R(76041);const q=R(76912);const G=R(4523);const{parseOptions:ie}=R(97264);const ae=j(R(28633),(()=>R(93944)),{name:"Container Plugin",baseDataPath:"options"});const ce="ContainerPlugin";class ContainerPlugin{constructor(E){ae(E);this._options={name:E.name,shareScope:E.shareScope||"default",library:E.library||{type:"var",name:E.name},runtime:E.runtime,filename:E.filename||undefined,exposes:ie(E.exposes,(E=>({import:Array.isArray(E)?E:[E],name:undefined})),(E=>({import:Array.isArray(E.import)?E.import:[E.import],name:E.name||undefined})))}}apply(E){const{name:N,exposes:R,shareScope:j,filename:ie,library:ae,runtime:le}=this._options;E.options.output.enabledLibraryTypes.push(ae.type);E.hooks.make.tapAsync(ce,((E,q)=>{const G=new $(N,R,j);G.loc={name:N};E.addEntry(E.options.context,G,{name:N,filename:ie,runtime:le,library:ae},(E=>{if(E)return q(E);q()}))}));E.hooks.thisCompilation.tap(ce,((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,new q);E.dependencyFactories.set(G,N)}))}}E.exports=ContainerPlugin},68839:(E,N,R)=>{"use strict";const j=R(61050);const $=R(76150);const q=R(35817);const G=R(27426);const ie=R(55525);const ae=R(68005);const ce=R(68679);const le=R(31122);const _e=R(44742);const{parseOptions:Ee}=R(97264);const Te=q(R(12e3),(()=>R(38279)),{name:"Container Reference Plugin",baseDataPath:"options"});const we="/".charCodeAt(0);class ContainerReferencePlugin{constructor(E){Te(E);this._remoteType=E.remoteType;this._remotes=Ee(E.remotes,(N=>({external:Array.isArray(N)?N:[N],shareScope:E.shareScope||"default"})),(N=>({external:Array.isArray(N.external)?N.external:[N.external],shareScope:N.shareScope||E.shareScope||"default"})))}apply(E){const{_remotes:N,_remoteType:R}=this;const q={};for(const[E,R]of N){let N=0;for(const j of R.external){if(j.startsWith("internal "))continue;q[`webpack/container/reference/${E}${N?`/fallback-${N}`:""}`]=j;N++}}new j(R,q).apply(E);E.hooks.compilation.tap("ContainerReferencePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(_e,R);E.dependencyFactories.set(ie,R);E.dependencyFactories.set(G,new ae);R.hooks.factorize.tap("ContainerReferencePlugin",(E=>{if(!E.request.includes("!")){for(const[R,j]of N){if(E.request.startsWith(`${R}`)&&(E.request.length===R.length||E.request.charCodeAt(R.length)===we)){return new ce(E.request,j.external.map(((E,N)=>E.startsWith("internal ")?E.slice(9):`webpack/container/reference/${R}${N?`/fallback-${N}`:""}`)),`.${E.request.slice(R.length)}`,j.shareScope)}}}}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ContainerReferencePlugin",((N,R)=>{R.add($.module);R.add($.moduleFactoriesAddOnly);R.add($.hasOwnProperty);R.add($.initializeSharing);R.add($.shareScopeMap);E.addRuntimeModule(N,new le)}))}))}}E.exports=ContainerReferencePlugin},27426:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class FallbackDependency extends j{constructor(E){super();this.requests=E}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(E){const{write:N}=E;N(this.requests);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new FallbackDependency(N());R.deserialize(E);return R}}$(FallbackDependency,"webpack/lib/container/FallbackDependency");E.exports=FallbackDependency},55525:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class FallbackItemDependency extends j{constructor(E){super(E)}get type(){return"fallback item"}get category(){return"esm"}}$(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");E.exports=FallbackItemDependency},13386:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(58159);const ie=R(56202);const ae=R(55525);const ce=new Set(["javascript"]);const le=new Set([q.module]);class FallbackModule extends ${constructor(E){super("fallback-module");this.requests=E;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(E){return this._identifier}libIdent(E){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(E,{chunkGraph:N}){return N.getNumberOfEntryModules(E)>0}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const E of this.requests)this.addDependency(new ae(E));$()}size(E){return this.requests.length*5+42}getSourceTypes(){return ce}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const $=this.dependencies.map((E=>R.getModuleId(N.getModule(E))));const q=G.asString([`var ids = ${JSON.stringify($)};`,"var error, result, i = 0;",`var loop = ${E.basicFunction("next",["while(i < ids.length) {",G.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${E.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${E.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ie=new Map;ie.set("javascript",new j(q));return{sources:ie,runtimeRequirements:le}}serialize(E){const{write:N}=E;N(this.requests);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new FallbackModule(N());R.deserialize(E);return R}}ie(FallbackModule,"webpack/lib/container/FallbackModule");E.exports=FallbackModule},68005:(E,N,R)=>{"use strict";const j=R(40674);const $=R(13386);E.exports=class FallbackModuleFactory extends j{create({dependencies:[E]},N){const R=E;N(null,{module:new $(R.requests)})}}},8019:(E,N,R)=>{"use strict";const j=R(92483);const $=R(16471);const q=R(35817);const G=R(10419);const ie=R(68839);const ae=q(R(43329),(()=>R(85195)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(E){ae(E);this._options=E}apply(E){const{_options:N}=this;const R=N.library||{type:"var",name:N.name};const q=N.remoteType||(N.library&&j(N.library.type)?N.library.type:"script");if(R&&!E.options.output.enabledLibraryTypes.includes(R.type)){E.options.output.enabledLibraryTypes.push(R.type)}E.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(N.exposes&&(Array.isArray(N.exposes)?N.exposes.length>0:Object.keys(N.exposes).length>0)){new G({name:N.name,library:R,filename:N.filename,runtime:N.runtime,exposes:N.exposes}).apply(E)}if(N.remotes&&(Array.isArray(N.remotes)?N.remotes.length>0:Object.keys(N.remotes).length>0)){new ie({remoteType:q,remotes:N.remotes}).apply(E)}if(N.shared){new $({shared:N.shared,shareScope:N.shareScope}).apply(E)}}))}}E.exports=ModuleFederationPlugin},68679:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(56202);const ie=R(27426);const ae=R(44742);const ce=new Set(["remote","share-init"]);const le=new Set([q.module]);class RemoteModule extends ${constructor(E,N,R,j){super("remote-module");this.request=E;this.externalRequests=N;this.internalRequest=R;this.shareScope=j;this._identifier=`remote (${j}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(E){return`remote ${this.request}`}libIdent(E){return`webpack/container/remote/${this.request}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new ae(this.externalRequests[0]))}else{this.addDependency(new ie(this.externalRequests))}$()}size(E){return 6}getSourceTypes(){return ce}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const $=N.getModule(this.dependencies[0]);const q=$&&R.getModuleId($);const G=new Map;G.set("remote",new j(""));const ie=new Map;ie.set("share-init",[{shareScope:this.shareScope,initStage:20,init:q===undefined?"":`initExternal(${JSON.stringify(q)});`}]);return{sources:G,data:ie,runtimeRequirements:le}}serialize(E){const{write:N}=E;N(this.request);N(this.externalRequests);N(this.internalRequest);N(this.shareScope);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new RemoteModule(N(),N(),N(),N());R.deserialize(E);return R}}G(RemoteModule,"webpack/lib/container/RemoteModule");E.exports=RemoteModule},31122:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class RemoteRuntimeModule extends ${constructor(){super("remotes loading")}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,moduleGraph:$}=E;const G={};const ie={};for(const E of this.chunk.getAllAsyncChunks()){const R=N.getChunkModulesIterableBySourceType(E,"remote");if(!R)continue;const j=G[E.id]=[];for(const E of R){const R=E;const q=R.internalRequest;const G=N.getModuleId(R);const ae=R.shareScope;const ce=R.dependencies[0];const le=$.getModule(ce);const _e=le&&N.getModuleId(le);j.push(G);ie[G]=[ae,q,_e]}}return q.asString([`var chunkMapping = ${JSON.stringify(G,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ie,null,"\t")};`,`${j.ensureChunkHandlers}.remotes = ${R.basicFunction("chunkId, promises",[`if(${j.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${R.basicFunction("id",[`var getScope = ${j.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${R.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',q.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${R.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${R.basicFunction("fn, arg1, arg2, d, next, first",["try {",q.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",q.indent([`var p = promise.then(${R.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",q.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",q.indent(["onError(error);"]),"}"])}`,`var onExternal = ${R.returningFunction(`external ? handleFunction(${j.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${R.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${R.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${R.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}E.exports=RemoteRuntimeModule},44742:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class RemoteToExternalDependency extends j{constructor(E){super(E)}get type(){return"remote to external"}get category(){return"esm"}}$(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");E.exports=RemoteToExternalDependency},97264:(E,N)=>{"use strict";const process=(E,N,R,j)=>{const array=E=>{for(const R of E){if(typeof R==="string"){j(R,N(R,R))}else if(R&&typeof R==="object"){object(R)}else{throw new Error("Unexpected options format")}}};const object=E=>{for(const[$,q]of Object.entries(E)){if(typeof q==="string"||Array.isArray(q)){j($,N(q,$))}else{j($,R(q,$))}}};if(!E){return}else if(Array.isArray(E)){array(E)}else if(typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}};const parseOptions=(E,N,R)=>{const j=[];process(E,N,R,((E,N)=>{j.push([E,N])}));return j};const scope=(E,N)=>{const R={};process(N,(E=>E),(E=>E),((N,j)=>{R[N.startsWith("./")?`${E}${N.slice(1)}`:`${E}/${N}`]=j}));return R};N.parseOptions=parseOptions;N.scope=scope},26802:(E,N,R)=>{"use strict";const{Tracer:j}=R(25954);const $=R(35817);const{dirname:q,mkdirpSync:G}=R(95396);const ie=$(R(2282),(()=>R(78555)),{name:"Profiling Plugin",baseDataPath:"options"});let ae=undefined;try{ae=R(31405)}catch(E){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(E){this.session=undefined;this.inspector=E;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new ae.Session;this.session.connect()}catch(E){this.session=undefined;return Promise.resolve()}const E=process.hrtime();this._startTime=E[0]*1e6+Math.round(E[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(E,N){if(this.hasSession()){return new Promise(((R,j)=>this.session.post(E,N,((E,N)=>{if(E!==null){j(E)}else{R(N)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:E})=>{const N=process.hrtime();const R=N[0]*1e6+Math.round(N[1]/1e3);if(E.startTime<this._startTime||E.endTime>R){const N=E.endTime-E.startTime;const j=R-this._startTime;const $=Math.max(0,j-N);E.startTime=this._startTime+$/2;E.endTime=R-$/2}return{profile:E}}))}}const createTrace=(E,N)=>{const R=new j({noStream:true});const $=new Profiler(ae);if(/\/|\\/.test(N)){const R=q(E,N);G(E,R)}const ie=E.createWriteStream(N);let ce=0;R.pipe(ie);R.instantEvent({name:"TracingStartedInPage",id:++ce,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});R.instantEvent({name:"TracingStartedInBrowser",id:++ce,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:R,counter:ce,profiler:$,end:E=>{ie.on("close",(()=>{E()}));R.push(null)}}};const ce="ProfilingPlugin";class ProfilingPlugin{constructor(E={}){ie(E);this.outputPath=E.outputPath||"events.json"}apply(E){const N=createTrace(E.intermediateFileSystem,this.outputPath);N.profiler.startProfiling();Object.keys(E.hooks).forEach((R=>{E.hooks[R].intercept(makeInterceptorFor("Compiler",N)(R))}));Object.keys(E.resolverFactory.hooks).forEach((R=>{E.resolverFactory.hooks[R].intercept(makeInterceptorFor("Resolver",N)(R))}));E.hooks.compilation.tap(ce,((E,{normalModuleFactory:R,contextModuleFactory:j})=>{interceptAllHooksFor(E,N,"Compilation");interceptAllHooksFor(R,N,"Normal Module Factory");interceptAllHooksFor(j,N,"Context Module Factory");interceptAllParserHooks(R,N);interceptAllJavascriptModulesPluginHooks(E,N)}));E.hooks.done.tapAsync({name:ce,stage:Infinity},((E,R)=>{N.profiler.stopProfiling().then((E=>{if(E===undefined){N.profiler.destroy();N.trace.flush();N.end(R);return}const j=E.profile.startTime;const $=E.profile.endTime;N.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++N.counter,cat:["toplevel"],ts:j,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});N.trace.completeEvent({name:"EvaluateScript",id:++N.counter,cat:["devtools.timeline"],ts:j,dur:$-j,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});N.trace.instantEvent({name:"CpuProfile",id:++N.counter,cat:["disabled-by-default-devtools.timeline"],ts:$,args:{data:{cpuProfile:E.profile}}});N.profiler.destroy();N.trace.flush();N.end(R)}))}))}}const interceptAllHooksFor=(E,N,R)=>{if(Reflect.has(E,"hooks")){Object.keys(E.hooks).forEach((j=>{const $=E.hooks[j];if(!$._fakeHook){$.intercept(makeInterceptorFor(R,N)(j))}}))}};const interceptAllParserHooks=(E,N)=>{const R=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];R.forEach((R=>{E.hooks.parser.for(R).tap("ProfilingPlugin",((E,R)=>{interceptAllHooksFor(E,N,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(E,N)=>{interceptAllHooksFor({hooks:R(18161).getCompilationHooks(E)},N,"JavascriptModulesPlugin")};const makeInterceptorFor=(E,N)=>E=>({register:({name:R,type:j,context:$,fn:q})=>{const G=makeNewProfiledTapFn(E,N,{name:R,type:j,fn:q});return{name:R,type:j,context:$,fn:G}}});const makeNewProfiledTapFn=(E,N,{name:R,type:j,fn:$})=>{const q=["blink.user_timing"];switch(j){case"promise":return(...E)=>{const j=++N.counter;N.trace.begin({name:R,id:j,cat:q});const G=$(...E);return G.then((E=>{N.trace.end({name:R,id:j,cat:q});return E}))};case"async":return(...E)=>{const j=++N.counter;N.trace.begin({name:R,id:j,cat:q});const G=E.pop();$(...E,((...E)=>{N.trace.end({name:R,id:j,cat:q});G(...E)}))};case"sync":return(...E)=>{const j=++N.counter;if(R===ce){return $(...E)}N.trace.begin({name:R,id:j,cat:q});let G;try{G=$(...E)}catch(E){N.trace.end({name:R,id:j,cat:q});throw E}N.trace.end({name:R,id:j,cat:q});return G};default:break}};E.exports=ProfilingPlugin;E.exports.Profiler=Profiler},46960:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);const G={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.require,j.exports,j.module]},o:{definition:"",content:"!(module.exports = #)",requests:[j.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.require,j.exports,j.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.exports,j.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[j.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.exports,j.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[j.require,j.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[j.require,j.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends q{constructor(E,N,R,j,$){super();this.range=E;this.arrayRange=N;this.functionRange=R;this.objectRange=j;this.namedModule=$;this.localModule=null}get type(){return"amd define"}serialize(E){const{write:N}=E;N(this.range);N(this.arrayRange);N(this.functionRange);N(this.objectRange);N(this.namedModule);N(this.localModule);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.arrayRange=N();this.functionRange=N();this.objectRange=N();this.namedModule=N();this.localModule=N();super.deserialize(E)}}$(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const j=E;const $=this.branch(j);const{definition:q,content:ie,requests:ae}=G[$];for(const E of ae){R.add(E)}this.replace(j,N,q,ie)}localModuleVar(E){return E.localModule&&E.localModule.used&&E.localModule.variableName()}branch(E){const N=this.localModuleVar(E)?"l":"";const R=E.arrayRange?"a":"";const j=E.objectRange?"o":"";const $=E.functionRange?"f":"";return N+R+j+$}replace(E,N,R,j){const $=this.localModuleVar(E);if($){j=j.replace(/XXX/g,$.replace(/\$/g,"$$$$"));R=R.replace(/XXX/g,$.replace(/\$/g,"$$$$"))}if(E.namedModule){j=j.replace(/YYY/g,JSON.stringify(E.namedModule))}const q=j.split("#");if(R)N.insert(0,R);let G=E.range[0];if(E.arrayRange){N.replace(G,E.arrayRange[0]-1,q.shift());G=E.arrayRange[1]}if(E.objectRange){N.replace(G,E.objectRange[0]-1,q.shift());G=E.objectRange[1]}else if(E.functionRange){N.replace(G,E.functionRange[0]-1,q.shift());G=E.functionRange[1]}N.replace(G,E.range[1]-1,q.shift());if(q.length>0)throw new Error("Implementation error")}};E.exports=AMDDefineDependency},98915:(E,N,R)=>{"use strict";const j=R(76150);const $=R(46960);const q=R(95715);const G=R(38145);const ie=R(29022);const ae=R(66298);const ce=R(95601);const le=R(28140);const _e=R(14229);const{addLocalModule:Ee,getLocalModule:Te}=R(61701);const isBoundFunctionExpression=E=>{if(E.type!=="CallExpression")return false;if(E.callee.type!=="MemberExpression")return false;if(E.callee.computed)return false;if(E.callee.object.type!=="FunctionExpression")return false;if(E.callee.property.type!=="Identifier")return false;if(E.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=E=>{if(E.type==="FunctionExpression")return true;if(E.type==="ArrowFunctionExpression")return true;return false};const isCallable=E=>{if(isUnboundFunctionExpression(E))return true;if(isBoundFunctionExpression(E))return true;return false};class AMDDefineDependencyParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,E))}processArray(E,N,R,j,$){if(R.isArray()){R.items.forEach(((R,q)=>{if(R.isString()&&["require","module","exports"].includes(R.string))j[q]=R.string;const G=this.processItem(E,N,R,$);if(G===undefined){this.processContext(E,N,R)}}));return true}else if(R.isConstArray()){const $=[];R.array.forEach(((R,q)=>{let G;let ie;if(R==="require"){j[q]=R;G="__webpack_require__"}else if(["exports","module"].includes(R)){j[q]=R;G=R}else if(ie=Te(E.state,R)){ie.flagUsed();G=new _e(ie,undefined,false);G.loc=N.loc;E.state.module.addPresentationalDependency(G)}else{G=this.newRequireItemDependency(R);G.loc=N.loc;G.optional=!!E.scope.inTry;E.state.current.addDependency(G)}$.push(G)}));const q=this.newRequireArrayDependency($,R.range);q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(q);return true}}processItem(E,N,R,$){if(R.isConditional()){R.options.forEach((R=>{const j=this.processItem(E,N,R);if(j===undefined){this.processContext(E,N,R)}}));return true}else if(R.isString()){let q,G;if(R.string==="require"){q=new ae("__webpack_require__",R.range,[j.require])}else if(R.string==="exports"){q=new ae("exports",R.range,[j.exports])}else if(R.string==="module"){q=new ae("module",R.range,[j.module])}else if(G=Te(E.state,R.string,$)){G.flagUsed();q=new _e(G,R.range,false)}else{q=this.newRequireItemDependency(R.string,R.range);q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true}q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}}processContext(E,N,R){const j=ce.create(G,R.range,R,N,this.options,{category:"amd"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}processCallDefine(E,N){let R,j,$,q;switch(N.arguments.length){case 1:if(isCallable(N.arguments[0])){j=N.arguments[0]}else if(N.arguments[0].type==="ObjectExpression"){$=N.arguments[0]}else{$=j=N.arguments[0]}break;case 2:if(N.arguments[0].type==="Literal"){q=N.arguments[0].value;if(isCallable(N.arguments[1])){j=N.arguments[1]}else if(N.arguments[1].type==="ObjectExpression"){$=N.arguments[1]}else{$=j=N.arguments[1]}}else{R=N.arguments[0];if(isCallable(N.arguments[1])){j=N.arguments[1]}else if(N.arguments[1].type==="ObjectExpression"){$=N.arguments[1]}else{$=j=N.arguments[1]}}break;case 3:q=N.arguments[0].value;R=N.arguments[1];if(isCallable(N.arguments[2])){j=N.arguments[2]}else if(N.arguments[2].type==="ObjectExpression"){$=N.arguments[2]}else{$=j=N.arguments[2]}break;default:return}le.bailout(E.state);let G=null;let ie=0;if(j){if(isUnboundFunctionExpression(j)){G=j.params}else if(isBoundFunctionExpression(j)){G=j.callee.object.params;ie=j.arguments.length-1;if(ie<0){ie=0}}}let ae=new Map;if(R){const j={};const $=E.evaluateExpression(R);const ce=this.processArray(E,N,$,j,q);if(!ce)return;if(G){G=G.slice(ie).filter(((N,R)=>{if(j[R]){ae.set(N.name,E.getVariableInfo(j[R]));return false}return true}))}}else{const N=["require","exports","module"];if(G){G=G.slice(ie).filter(((R,j)=>{if(N[j]){ae.set(R.name,E.getVariableInfo(N[j]));return false}return true}))}}let ce;if(j&&isUnboundFunctionExpression(j)){ce=E.scope.inTry;E.inScope(G,(()=>{for(const[N,R]of ae){E.setVariable(N,R)}E.scope.inTry=ce;if(j.body.type==="BlockStatement"){E.detectMode(j.body.body);const N=E.prevStatement;E.preWalkStatement(j.body);E.prevStatement=N;E.walkStatement(j.body)}else{E.walkExpression(j.body)}}))}else if(j&&isBoundFunctionExpression(j)){ce=E.scope.inTry;E.inScope(j.callee.object.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{for(const[N,R]of ae){E.setVariable(N,R)}E.scope.inTry=ce;if(j.callee.object.body.type==="BlockStatement"){E.detectMode(j.callee.object.body.body);const N=E.prevStatement;E.preWalkStatement(j.callee.object.body);E.prevStatement=N;E.walkStatement(j.callee.object.body)}else{E.walkExpression(j.callee.object.body)}}));if(j.arguments){E.walkExpressions(j.arguments)}}else if(j||$){E.walkExpression(j||$)}const _e=this.newDefineDependency(N.range,R?R.range:null,j?j.range:null,$?$.range:null,q?q:null);_e.loc=N.loc;if(q){_e.localModule=Ee(E.state,q)}E.state.module.addPresentationalDependency(_e);return true}newDefineDependency(E,N,R,j,q){return new $(E,N,R,j,q)}newRequireArrayDependency(E,N){return new q(E,N)}newRequireItemDependency(E,N){return new ie(E,N)}}E.exports=AMDDefineDependencyParserPlugin},19765:(E,N,R)=>{"use strict";const j=R(76150);const{approve:$,evaluateToIdentifier:q,evaluateToString:G,toConstantDependency:ie}=R(48472);const ae=R(46960);const ce=R(98915);const le=R(95715);const _e=R(38145);const Ee=R(19041);const Te=R(45167);const we=R(29022);const{AMDDefineRuntimeModule:Ie,AMDOptionsRuntimeModule:Ne}=R(29035);const Me=R(66298);const Le=R(14229);const Be=R(12584);class AMDPlugin{constructor(E){this.amdOptions=E}apply(E){const N=this.amdOptions;E.hooks.compilation.tap("AMDPlugin",((E,{contextModuleFactory:R,normalModuleFactory:je})=>{E.dependencyTemplates.set(Te,new Te.Template);E.dependencyFactories.set(we,je);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(_e,R);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(Be,new Be.Template);E.dependencyTemplates.set(Le,new Le.Template);E.hooks.runtimeRequirementInModule.for(j.amdDefine).tap("AMDPlugin",((E,N)=>{N.add(j.require)}));E.hooks.runtimeRequirementInModule.for(j.amdOptions).tap("AMDPlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.amdDefine).tap("AMDPlugin",((N,R)=>{E.addRuntimeModule(N,new Ie)}));E.hooks.runtimeRequirementInTree.for(j.amdOptions).tap("AMDPlugin",((R,j)=>{E.addRuntimeModule(R,new Ne(N))}));const handler=(E,N)=>{if(N.amd!==undefined&&!N.amd)return;const tapOptionsHooks=(N,R,$)=>{E.hooks.expression.for(N).tap("AMDPlugin",ie(E,j.amdOptions,[j.amdOptions]));E.hooks.evaluateIdentifier.for(N).tap("AMDPlugin",q(N,R,$,true));E.hooks.evaluateTypeof.for(N).tap("AMDPlugin",G("object"));E.hooks.typeof.for(N).tap("AMDPlugin",ie(E,JSON.stringify("object")))};new Ee(N).apply(E);new ce(N).apply(E);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));E.hooks.expression.for("define").tap("AMDPlugin",(N=>{const R=new Me(j.amdDefine,N.range,[j.amdDefine]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.typeof.for("define").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("define").tap("AMDPlugin",G("function"));E.hooks.canRename.for("define").tap("AMDPlugin",$);E.hooks.rename.for("define").tap("AMDPlugin",(N=>{const R=new Me(j.amdDefine,N.range,[j.amdDefine]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return false}));E.hooks.typeof.for("require").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("require").tap("AMDPlugin",G("function"))};je.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);je.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}E.exports=AMDPlugin},95715:(E,N,R)=>{"use strict";const j=R(84304);const $=R(56202);const q=R(12197);class AMDRequireArrayDependency extends q{constructor(E,N){super();this.depsArray=E;this.range=N}get type(){return"amd require array"}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.depsArray);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.depsArray=N();this.range=N();super.deserialize(E)}}$(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends j{apply(E,N,R){const j=E;const $=this.getContent(j,R);N.replace(j.range[0],j.range[1]-1,$)}getContent(E,N){const R=E.depsArray.map((E=>this.contentForDependency(E,N)));return`[${R.join(", ")}]`}contentForDependency(E,{runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtimeRequirements:$}){if(typeof E==="string"){return E}if(E.localModule){return E.localModule.variableName()}else{return N.moduleExports({module:R.getModule(E),chunkGraph:j,request:E.request,runtimeRequirements:$})}}};E.exports=AMDRequireArrayDependency},38145:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);class AMDRequireContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return"amd require context"}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=R(42740);E.exports=AMDRequireContextDependency},83842:(E,N,R)=>{"use strict";const j=R(98221);const $=R(56202);class AMDRequireDependenciesBlock extends j{constructor(E,N){super(null,E,N)}}$(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");E.exports=AMDRequireDependenciesBlock},19041:(E,N,R)=>{"use strict";const j=R(76150);const $=R(53558);const q=R(95715);const G=R(38145);const ie=R(83842);const ae=R(45167);const ce=R(29022);const le=R(66298);const _e=R(95601);const Ee=R(14229);const{getLocalModule:Te}=R(61701);const we=R(12584);const Ie=R(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(E){this.options=E}processFunctionArgument(E,N){let R=true;const j=Ie(N);if(j){E.inScope(j.fn.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{if(j.fn.body.type==="BlockStatement"){E.walkStatement(j.fn.body)}else{E.walkExpression(j.fn.body)}}));E.walkExpressions(j.expressions);if(j.needThis===false){R=false}}else{E.walkExpression(N)}return R}apply(E){E.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,E))}processArray(E,N,R){if(R.isArray()){for(const j of R.items){const R=this.processItem(E,N,j);if(R===undefined){this.processContext(E,N,j)}}return true}else if(R.isConstArray()){const j=[];for(const $ of R.array){let R,q;if($==="require"){R="__webpack_require__"}else if(["exports","module"].includes($)){R=$}else if(q=Te(E.state,$)){q.flagUsed();R=new Ee(q,undefined,false);R.loc=N.loc;E.state.module.addPresentationalDependency(R)}else{R=this.newRequireItemDependency($);R.loc=N.loc;R.optional=!!E.scope.inTry;E.state.current.addDependency(R)}j.push(R)}const $=this.newRequireArrayDependency(j,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency($);return true}}processItem(E,N,R){if(R.isConditional()){for(const j of R.options){const R=this.processItem(E,N,j);if(R===undefined){this.processContext(E,N,j)}}return true}else if(R.isString()){let $,q;if(R.string==="require"){$=new le("__webpack_require__",R.string,[j.require])}else if(R.string==="module"){$=new le(E.state.module.buildInfo.moduleArgument,R.range,[j.module])}else if(R.string==="exports"){$=new le(E.state.module.buildInfo.exportsArgument,R.range,[j.exports])}else if(q=Te(E.state,R.string)){q.flagUsed();$=new Ee(q,R.range,false)}else{$=this.newRequireItemDependency(R.string,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}$.loc=N.loc;E.state.module.addPresentationalDependency($);return true}}processContext(E,N,R){const j=_e.create(G,R.range,R,N,this.options,{category:"amd"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}processArrayForRequestString(E){if(E.isArray()){const N=E.items.map((E=>this.processItemForRequestString(E)));if(N.every(Boolean))return N.join(" ")}else if(E.isConstArray()){return E.array.join(" ")}}processItemForRequestString(E){if(E.isConditional()){const N=E.options.map((E=>this.processItemForRequestString(E)));if(N.every(Boolean))return N.join("|")}else if(E.isString()){return E.string}}processCallRequire(E,N){let R;let j;let q;let G;const ie=E.state.current;if(N.arguments.length>=1){R=E.evaluateExpression(N.arguments[0]);j=this.newRequireDependenciesBlock(N.loc,this.processArrayForRequestString(R));q=this.newRequireDependency(N.range,R.range,N.arguments.length>1?N.arguments[1].range:null,N.arguments.length>2?N.arguments[2].range:null);q.loc=N.loc;j.addDependency(q);E.state.current=j}if(N.arguments.length===1){E.inScope([],(()=>{G=this.processArray(E,N,R)}));E.state.current=ie;if(!G)return;E.state.current.addBlock(j);return true}if(N.arguments.length===2||N.arguments.length===3){try{E.inScope([],(()=>{G=this.processArray(E,N,R)}));if(!G){const R=new we("unsupported",N.range);ie.addPresentationalDependency(R);if(E.state.module){E.state.module.addError(new $("Cannot statically analyse 'require(…, …)' in line "+N.loc.start.line,N.loc))}j=null;return true}q.functionBindThis=this.processFunctionArgument(E,N.arguments[1]);if(N.arguments.length===3){q.errorCallbackBindThis=this.processFunctionArgument(E,N.arguments[2])}}finally{E.state.current=ie;if(j)E.state.current.addBlock(j)}return true}}newRequireDependenciesBlock(E,N){return new ie(E,N)}newRequireDependency(E,N,R,j){return new ae(E,N,R,j)}newRequireItemDependency(E,N){return new ce(E,N)}newRequireArrayDependency(E,N){return new q(E,N)}}E.exports=AMDRequireDependenciesBlockParserPlugin},45167:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class AMDRequireDependency extends q{constructor(E,N,R,j){super();this.outerRange=E;this.arrayRange=N;this.functionRange=R;this.errorCallbackRange=j;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.outerRange);N(this.arrayRange);N(this.functionRange);N(this.errorCallbackRange);N(this.functionBindThis);N(this.errorCallbackBindThis);super.serialize(E)}deserialize(E){const{read:N}=E;this.outerRange=N();this.arrayRange=N();this.functionRange=N();this.errorCallbackRange=N();this.functionBindThis=N();this.errorCallbackBindThis=N();super.deserialize(E)}}$(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.blockPromise({chunkGraph:q,block:ae,message:"AMD require",runtimeRequirements:G});if(ie.arrayRange&&!ie.functionRange){const E=`${ce}.then(function() {`;const R=`;})['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.replace(ie.arrayRange[1],ie.outerRange[1]-1,R);return}if(ie.functionRange&&!ie.arrayRange){const E=`${ce}.then((`;const R=`).bind(exports, __webpack_require__, exports, module))['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.functionRange[0]-1,E);N.replace(ie.functionRange[1],ie.outerRange[1]-1,R);return}if(ie.arrayRange&&ie.functionRange&&ie.errorCallbackRange){const E=`${ce}.then(function() { `;const R=`}${ie.functionBindThis?".bind(this)":""})['catch'](`;const j=`${ie.errorCallbackBindThis?".bind(this)":""})`;N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");N.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");N.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");N.replace(ie.functionRange[1],ie.errorCallbackRange[0]-1,R);N.replace(ie.errorCallbackRange[1],ie.outerRange[1]-1,j);return}if(ie.arrayRange&&ie.functionRange){const E=`${ce}.then(function() { `;const R=`}${ie.functionBindThis?".bind(this)":""})['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");N.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");N.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");N.replace(ie.functionRange[1],ie.outerRange[1]-1,R)}}};E.exports=AMDRequireDependency},29022:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(87283);class AMDRequireItemDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"amd require"}get category(){return"amd"}}j(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=q;E.exports=AMDRequireItemDependency},29035:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class AMDDefineRuntimeModule extends ${constructor(){super("amd define")}generate(){return q.asString([`${j.amdDefine} = function () {`,q.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends ${constructor(E){super("amd options");this.options=E}generate(){return q.asString([`${j.amdOptions} = ${JSON.stringify(this.options)};`])}}N.AMDDefineRuntimeModule=AMDDefineRuntimeModule;N.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(E,N,R)=>{"use strict";const j=R(84304);const $=R(63272);const q=R(56202);const G=R(12197);class CachedConstDependency extends G{constructor(E,N,R){super();this.expression=E;this.range=N;this.identifier=R;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.expression);N(this.range);N(this.identifier);super.serialize(E)}deserialize(E){const{read:N}=E;this.expression=N();this.range=N();this.identifier=N();super.deserialize(E)}}q(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends j{apply(E,N,{runtimeTemplate:R,dependencyTemplates:j,initFragments:q}){const G=E;q.push(new $(`var ${G.identifier} = ${G.expression};\n`,$.STAGE_CONSTANTS,0,`const ${G.identifier}`));if(typeof G.range==="number"){N.insert(G.range,G.identifier);return}N.replace(G.range[0],G.range[1]-1,G.identifier)}};E.exports=CachedConstDependency},73456:(E,N,R)=>{"use strict";const j=R(76150);N.handleDependencyBase=(E,N,R)=>{let $=undefined;let q;switch(E){case"exports":R.add(j.exports);$=N.exportsArgument;q="expression";break;case"module.exports":R.add(j.module);$=`${N.moduleArgument}.exports`;q="expression";break;case"this":R.add(j.thisAsExports);$="this";q="expression";break;case"Object.defineProperty(exports)":R.add(j.exports);$=N.exportsArgument;q="Object.defineProperty";break;case"Object.defineProperty(module.exports)":R.add(j.module);$=`${N.moduleArgument}.exports`;q="Object.defineProperty";break;case"Object.defineProperty(this)":R.add(j.thisAsExports);$="this";q="Object.defineProperty";break;default:throw new Error(`Unsupported base ${E}`)}return[q,$]}},1248:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(58159);const{equals:G}=R(73910);const ie=R(56202);const ae=R(68038);const{handleDependencyBase:ce}=R(73456);const le=R(79983);const _e=R(18971);const Ee=Symbol("CommonJsExportRequireDependency.ids");const Te={};class CommonJsExportRequireDependency extends le{constructor(E,N,R,j,$,q,G){super($);this.range=E;this.valueRange=N;this.base=R;this.names=j;this.ids=q;this.resultUsed=G;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return j.TRANSITIVE}getIds(E){return E.getMeta(this)[Ee]||this.ids}setIds(E,N){E.getMeta(this)[Ee]=N}getReferencedExports(E,N){const R=this.getIds(E);const getFullResult=()=>{if(R.length===0){return j.EXPORTS_OBJECT_REFERENCED}else{return[{name:R,canMangle:false}]}};if(this.resultUsed)return getFullResult();let q=E.getExportsInfo(E.getParentModule(this));for(const E of this.names){const R=q.getReadOnlyExportInfo(E);const G=R.getUsed(N);if(G===$.Unused)return j.NO_EXPORTS_REFERENCED;if(G!==$.OnlyPropertiesUsed)return getFullResult();q=R.exportsInfo;if(!q)return getFullResult()}if(q.otherExportsInfo.getUsed(N)!==$.Unused){return getFullResult()}const G=[];for(const E of q.orderedExports){_e(N,G,R.concat(E.name),E,false)}return G.map((E=>({name:E,canMangle:false})))}getExports(E){const N=this.getIds(E);if(this.names.length===1){const R=this.names[0];const j=E.getConnection(this);if(!j)return;return{exports:[{name:R,from:j,export:N.length===0?null:N,canMangle:!(R in Te)&&false}],dependencies:[j.module]}}else if(this.names.length>0){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in Te)&&false}],dependencies:undefined}}else{const R=E.getConnection(this);if(!R)return;const j=this.getStarReexports(E,undefined,R.module);if(j){return{exports:Array.from(j.exports,(E=>({name:E,from:R,export:N.concat(E),canMangle:!(E in Te)&&false}))),dependencies:[R.module]}}else{return{exports:true,from:N.length===0?R:undefined,canMangle:false,dependencies:[R.module]}}}}getStarReexports(E,N,R=E.getModule(this)){let j=E.getExportsInfo(R);const q=this.getIds(E);if(q.length>0)j=j.getNestedExportsInfo(q);let G=E.getExportsInfo(E.getParentModule(this));if(this.names.length>0)G=G.getNestedExportsInfo(this.names);const ie=j&&j.otherExportsInfo.provided===false;const ae=G&&G.otherExportsInfo.getUsed(N)===$.Unused;if(!ie&&!ae){return}const ce=R.getExportsType(E,false)==="namespace";const le=new Set;const _e=new Set;if(ae){for(const E of G.orderedExports){const R=E.name;if(E.getUsed(N)===$.Unused)continue;if(R==="__esModule"&&ce){le.add(R)}else if(j){const E=j.getReadOnlyExportInfo(R);if(E.provided===false)continue;le.add(R);if(E.provided===true)continue;_e.add(R)}else{le.add(R);_e.add(R)}}}else if(ie){for(const E of j.orderedExports){const R=E.name;if(E.provided===false)continue;if(G){const E=G.getReadOnlyExportInfo(R);if(E.getUsed(N)===$.Unused)continue}le.add(R);if(E.provided===true)continue;_e.add(R)}if(ce){le.add("__esModule");_e.delete("__esModule")}}return{exports:le,checked:_e}}serialize(E){const{write:N}=E;N(this.asiSafe);N(this.range);N(this.valueRange);N(this.base);N(this.names);N(this.ids);N(this.resultUsed);super.serialize(E)}deserialize(E){const{read:N}=E;this.asiSafe=N();this.range=N();this.valueRange=N();this.base=N();this.names=N();this.ids=N();this.resultUsed=N();super.deserialize(E)}}ie(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends le.Template{apply(E,N,{module:R,runtimeTemplate:j,chunkGraph:$,moduleGraph:ie,runtimeRequirements:le,runtime:_e}){const Ee=E;const Te=ie.getExportsInfo(R).getUsedName(Ee.names,_e);const[we,Ie]=ce(Ee.base,R,le);const Ne=ie.getModule(Ee);let Me=j.moduleExports({module:Ne,chunkGraph:$,request:Ee.request,weak:Ee.weak,runtimeRequirements:le});if(Ne){const E=Ee.getIds(ie);const N=ie.getExportsInfo(Ne).getUsedName(E,_e);if(N){const R=G(N,E)?"":q.toNormalComment(ae(E))+" ";Me+=`${R}${ae(N)}`}}switch(we){case"expression":N.replace(Ee.range[0],Ee.range[1]-1,Te?`${Ie}${ae(Te)} = ${Me}`:`/* unused reexport */ ${Me}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};E.exports=CommonJsExportRequireDependency},26702:(E,N,R)=>{"use strict";const j=R(63272);const $=R(56202);const q=R(68038);const{handleDependencyBase:G}=R(73456);const ie=R(12197);const ae={};class CommonJsExportsDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.valueRange=N;this.base=R;this.names=j}get type(){return"cjs exports"}getExports(E){const N=this.names[0];return{exports:[{name:N,canMangle:!(N in ae)}],dependencies:undefined}}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);N(this.base);N(this.names);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();this.base=N();this.names=N();super.deserialize(E)}}$(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:$,initFragments:ie,runtimeRequirements:ae,runtime:ce}){const le=E;const _e=$.getExportsInfo(R).getUsedName(le.names,ce);const[Ee,Te]=G(le.base,R,ae);switch(Ee){case"expression":if(!_e){ie.push(new j("var __webpack_unused_export__;\n",j.STAGE_CONSTANTS,0,"__webpack_unused_export__"));N.replace(le.range[0],le.range[1]-1,"__webpack_unused_export__");return}N.replace(le.range[0],le.range[1]-1,`${Te}${q(_e)}`);return;case"Object.defineProperty":if(!_e){ie.push(new j("var __webpack_unused_export__;\n",j.STAGE_CONSTANTS,0,"__webpack_unused_export__"));N.replace(le.range[0],le.valueRange[0]-1,"__webpack_unused_export__ = (");N.replace(le.valueRange[1],le.range[1]-1,")");return}N.replace(le.range[0],le.valueRange[0]-1,`Object.defineProperty(${Te}${q(_e.slice(0,-1))}, ${JSON.stringify(_e[_e.length-1])}, (`);N.replace(le.valueRange[1],le.range[1]-1,"))");return}}};E.exports=CommonJsExportsDependency},48235:(E,N,R)=>{"use strict";const j=R(76150);const $=R(72380);const{evaluateToString:q}=R(48472);const G=R(68038);const ie=R(1248);const ae=R(26702);const ce=R(94147);const le=R(28140);const _e=R(25702);const Ee=R(2706);const getValueOfPropertyDescription=E=>{if(E.type!=="ObjectExpression")return;for(const N of E.properties){if(N.computed)continue;const E=N.key;if(E.type!=="Identifier"||E.name!=="value")continue;return N.value}};const isTruthyLiteral=E=>{switch(E.type){case"Literal":return!!E.value;case"UnaryExpression":if(E.operator==="!")return isFalsyLiteral(E.argument)}return false};const isFalsyLiteral=E=>{switch(E.type){case"Literal":return!E.value;case"UnaryExpression":if(E.operator==="!")return isTruthyLiteral(E.argument)}return false};const parseRequireCall=(E,N)=>{const R=[];while(N.type==="MemberExpression"){if(N.object.type==="Super")return;if(!N.property)return;const E=N.property;if(N.computed){if(E.type!=="Literal")return;R.push(`${E.value}`)}else{if(E.type!=="Identifier")return;R.push(E.name)}N=N.object}if(N.type!=="CallExpression"||N.arguments.length!==1)return;const j=N.callee;if(j.type!=="Identifier"||E.getVariableInfo(j.name)!=="require"){return}const $=N.arguments[0];if($.type==="SpreadElement")return;const q=E.evaluateExpression($);return{argument:q,ids:R.reverse()}};class CommonJsExportsParserPlugin{constructor(E){this.moduleGraph=E}apply(E){const enableStructuredExports=()=>{le.enable(E.state)};const checkNamespace=(N,R,j)=>{if(!le.isEnabled(E.state))return;if(R.length>0&&R[0]==="__esModule"){if(j&&isTruthyLiteral(j)&&N){le.setFlagged(E.state)}else{le.setDynamic(E.state)}}};const bailout=N=>{le.bailout(E.state);if(N)bailoutHint(N)};const bailoutHint=N=>{this.moduleGraph.getOptimizationBailout(E.state.module).push(`CommonJS bailout: ${N}`)};E.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",q("object"));E.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",q("object"));const handleAssignExport=(N,R,j)=>{if(_e.isEnabled(E.state))return;const $=parseRequireCall(E,N.right);if($&&$.argument.isString()&&(j.length===0||j[0]!=="__esModule")){enableStructuredExports();if(j.length===0)le.setDynamic(E.state);const q=new ie(N.range,null,R,j,$.argument.string,$.ids,!E.isStatementLevelExpression(N));q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.module.addDependency(q);return true}if(j.length===0)return;enableStructuredExports();const q=j;checkNamespace(E.statementPath.length===1&&E.isStatementLevelExpression(N),q,N.right);const G=new ae(N.left.range,null,R,q);G.loc=N.loc;E.state.module.addDependency(G);E.walkExpression(N.right);return true};E.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAssignExport(E,"exports",N)));E.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAssignExport(N,"this",R)}));E.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAssignExport(E,"module.exports",N.slice(1))}));E.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(N=>{const R=N;if(!E.isStatementLevelExpression(R))return;if(R.arguments.length!==3)return;if(R.arguments[0].type==="SpreadElement")return;if(R.arguments[1].type==="SpreadElement")return;if(R.arguments[2].type==="SpreadElement")return;const j=E.evaluateExpression(R.arguments[0]);if(!j||!j.isIdentifier())return;if(j.identifier!=="exports"&&j.identifier!=="module.exports"&&(j.identifier!=="this"||!E.scope.topLevelScope)){return}const $=E.evaluateExpression(R.arguments[1]);if(!$)return;const q=$.asString();if(typeof q!=="string")return;enableStructuredExports();const G=R.arguments[2];checkNamespace(E.statementPath.length===1,[q],getValueOfPropertyDescription(G));const ie=new ae(R.range,R.arguments[2].range,`Object.defineProperty(${j.identifier})`,[q]);ie.loc=R.loc;E.state.module.addDependency(ie);E.walkExpression(R.arguments[2]);return true}));const handleAccessExport=(N,R,j,q=undefined)=>{if(_e.isEnabled(E.state))return;if(j.length===0){bailout(`${R} is used directly at ${$(N.loc)}`)}if(q&&j.length===1){bailoutHint(`${R}${G(j)}(...) prevents optimization as ${R} is passed as call context at ${$(N.loc)}`)}const ie=new ce(N.range,R,j,!!q);ie.loc=N.loc;E.state.module.addDependency(ie);if(q){E.walkExpressions(q.arguments)}return true};E.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAccessExport(E.callee,"exports",N,E)));E.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAccessExport(E,"exports",N)));E.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"exports",[])));E.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAccessExport(E.callee,"module.exports",N.slice(1),E)}));E.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAccessExport(E,"module.exports",N.slice(1))}));E.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"module.exports",[])));E.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N.callee,"this",R,N)}));E.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N,"this",R)}));E.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(N=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N,"this",[])}));E.hooks.expression.for("module").tap("CommonJsPlugin",(N=>{bailout();const R=_e.isEnabled(E.state);const $=new Ee(R?j.harmonyModuleDecorator:j.nodeModuleDecorator,!R);$.loc=N.loc;E.state.module.addDependency($);return true}))}}E.exports=CommonJsExportsParserPlugin},87519:(E,N,R)=>{"use strict";const j=R(58159);const{equals:$}=R(73910);const q=R(56202);const G=R(68038);const ie=R(79983);class CommonJsFullRequireDependency extends ie{constructor(E,N,R){super(E);this.range=N;this.names=R;this.call=false;this.asiSafe=undefined}getReferencedExports(E,N){if(this.call){const N=E.getModule(this);if(!N||N.getExportsType(E,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(E){const{write:N}=E;N(this.names);N(this.call);N(this.asiSafe);super.serialize(E)}deserialize(E){const{read:N}=E;this.names=N();this.call=N();this.asiSafe=N();super.deserialize(E)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ie.Template{apply(E,N,{module:R,runtimeTemplate:q,moduleGraph:ie,chunkGraph:ae,runtimeRequirements:ce,runtime:le,initFragments:_e}){const Ee=E;if(!Ee.range)return;const Te=ie.getModule(Ee);let we=q.moduleExports({module:Te,chunkGraph:ae,request:Ee.request,weak:Ee.weak,runtimeRequirements:ce});if(Te){const E=Ee.names;const N=ie.getExportsInfo(Te).getUsedName(E,le);if(N){const R=$(N,E)?"":j.toNormalComment(G(E))+" ";const q=`${R}${G(N)}`;we=Ee.asiSafe===true?`(${we}${q})`:`${we}${q}`}}N.replace(Ee.range[0],Ee.range[1]-1,we)}};q(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");E.exports=CommonJsFullRequireDependency},42218:(E,N,R)=>{"use strict";const j=R(47207);const $=R(76150);const q=R(53558);const{evaluateToIdentifier:G,evaluateToString:ie,expressionIsUnsupported:ae,toConstantDependency:ce}=R(48472);const le=R(87519);const _e=R(51454);const Ee=R(37313);const Te=R(66298);const we=R(95601);const Ie=R(14229);const{getLocalModule:Ne}=R(61701);const Me=R(70340);const Le=R(84817);const Be=R(76913);const je=R(23380);class CommonJsImportsParserPlugin{constructor(E){this.options=E}apply(E){const N=this.options;const tapRequireExpression=(N,R)=>{E.hooks.typeof.for(N).tap("CommonJsPlugin",ce(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for(N).tap("CommonJsPlugin",ie("function"));E.hooks.evaluateIdentifier.for(N).tap("CommonJsPlugin",G(N,"require",R,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));E.hooks.assign.for("require").tap("CommonJsPlugin",(N=>{const R=new Te("var require;",0);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.expression.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.call.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.call.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));E.hooks.rename.for("require").tap("CommonJsPlugin",(N=>{const R=new Te("undefined",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return false}));E.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",ce(E,$.moduleCache,[$.moduleCache,$.moduleId,$.moduleLoaded]));E.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(R=>{const j=new _e({request:N.unknownContextRequest,recursive:N.unknownContextRecursive,regExp:N.unknownContextRegExp,mode:"sync"},R.range,undefined,E.scope.inShorthand);j.critical=N.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}));const processRequireItem=(N,R)=>{if(R.isString()){const j=new Ee(R.string,R.range);j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}};const processRequireContext=(R,j)=>{const $=we.create(_e,R.range,j,R,N,{category:"commonjs"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true};const createRequireHandler=R=>$=>{if(N.commonjsMagicComments){const{options:N,errors:R}=E.parseCommentOptions($.range);if(R){for(const N of R){const{comment:R}=N;E.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${N.message}`,R.loc))}}if(N){if(N.webpackIgnore!==undefined){if(typeof N.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${N.webpackIgnore}.`,$.loc))}else{if(N.webpackIgnore){return true}}}}}if($.arguments.length!==1)return;let G;const ie=E.evaluateExpression($.arguments[0]);if(ie.isConditional()){let N=false;for(const E of ie.options){const R=processRequireItem($,E);if(R===undefined){N=true}}if(!N){const N=new Me($.callee.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N);return true}}if(ie.isString()&&(G=Ne(E.state,ie.string))){G.flagUsed();const N=new Ie(G,$.range,R);N.loc=$.loc;E.state.module.addPresentationalDependency(N);return true}else{const N=processRequireItem($,ie);if(N===undefined){processRequireContext($,ie)}else{const N=new Me($.callee.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N)}return true}};E.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));E.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(N,R,j,$)=>{if(j.arguments.length!==1)return;const q=E.evaluateExpression(j.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const R=new le(q.string,N.range,$);R.asiSafe=!E.isAsiPosition(N.range[0]);R.optional=!!E.scope.inTry;R.loc=N.loc;E.state.module.addDependency(R);return true}};const callChainHandler=(N,R,j,$)=>{if(j.arguments.length!==1)return;const q=E.evaluateExpression(j.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const R=new le(q.string,N.callee.range,$);R.call=true;R.asiSafe=!E.isAsiPosition(N.range[0]);R.optional=!!E.scope.inTry;R.loc=N.callee.loc;E.state.module.addDependency(R);E.walkExpressions(N.arguments);return true}};E.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);E.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(N,R)=>{if(N.arguments.length!==1)return;const j=E.evaluateExpression(N.arguments[0]);if(j.isConditional()){for(const E of j.options){const j=processResolveItem(N,E,R);if(j===undefined){processResolveContext(N,E,R)}}const $=new je(N.callee.range);$.loc=N.loc;E.state.module.addPresentationalDependency($);return true}else{const $=processResolveItem(N,j,R);if($===undefined){processResolveContext(N,j,R)}const q=new je(N.callee.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}};const processResolveItem=(N,R,j)=>{if(R.isString()){const $=new Be(R.string,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;$.weak=j;E.state.current.addDependency($);return true}};const processResolveContext=(R,j,$)=>{const q=we.create(Le,j.range,j,R,N,{category:"commonjs",mode:$?"weak":"sync"},E);if(!q)return;q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true};E.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,false)));E.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,true)))}}E.exports=CommonJsImportsParserPlugin},91630:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(31141);const G=R(58159);const ie=R(26702);const ae=R(87519);const ce=R(51454);const le=R(37313);const _e=R(94147);const Ee=R(2706);const Te=R(70340);const we=R(84817);const Ie=R(76913);const Ne=R(23380);const Me=R(35424);const Le=R(48235);const Be=R(42218);const{evaluateToIdentifier:je,toConstantDependency:Ue}=R(48472);const ze=R(1248);class CommonJsPlugin{apply(E){E.hooks.compilation.tap("CommonJsPlugin",((E,{contextModuleFactory:N,normalModuleFactory:R})=>{E.dependencyFactories.set(le,R);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(ae,R);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(ce,N);E.dependencyTemplates.set(ce,new ce.Template);E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyFactories.set(we,N);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(Ne,new Ne.Template);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(ze,R);E.dependencyTemplates.set(ze,new ze.Template);const $=new q(E.moduleGraph);E.dependencyFactories.set(_e,$);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,$);E.dependencyTemplates.set(Ee,new Ee.Template);E.hooks.runtimeRequirementInModule.for(j.harmonyModuleDecorator).tap("CommonJsPlugin",((E,N)=>{N.add(j.module);N.add(j.requireScope)}));E.hooks.runtimeRequirementInModule.for(j.nodeModuleDecorator).tap("CommonJsPlugin",((E,N)=>{N.add(j.module);N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.harmonyModuleDecorator).tap("CommonJsPlugin",((N,R)=>{E.addRuntimeModule(N,new HarmonyModuleDecoratorRuntimeModule)}));E.hooks.runtimeRequirementInTree.for(j.nodeModuleDecorator).tap("CommonJsPlugin",((N,R)=>{E.addRuntimeModule(N,new NodeModuleDecoratorRuntimeModule)}));const handler=(N,R)=>{if(R.commonjs!==undefined&&!R.commonjs)return;N.hooks.typeof.for("module").tap("CommonJsPlugin",Ue(N,JSON.stringify("object")));N.hooks.expression.for("require.main").tap("CommonJsPlugin",Ue(N,`${j.moduleCache}[${j.entryModuleId}]`,[j.moduleCache,j.entryModuleId]));N.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(E=>{N.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const R=new Me([j.moduleLoaded]);R.loc=E.loc;N.state.module.addPresentationalDependency(R);return true}));N.hooks.expression.for("module.id").tap("CommonJsPlugin",(E=>{N.state.module.buildInfo.moduleConcatenationBailout="module.id";const R=new Me([j.moduleId]);R.loc=E.loc;N.state.module.addPresentationalDependency(R);return true}));N.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",je("module.hot","module",(()=>["hot"]),null));new Be(R).apply(N);new Le(E.moduleGraph).apply(N)};R.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends ${constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${j.harmonyModuleDecorator} = ${E.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",G.indent(["enumerable: true,",`set: ${E.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends ${constructor(){super("node module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${j.nodeModuleDecorator} = ${E.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}E.exports=CommonJsPlugin},51454:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(42740);class CommonJsRequireContextDependency extends ${constructor(E,N,R,j){super(E);this.range=N;this.valueRange=R;this.inShorthand=j}get type(){return"cjs require context"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);N(this.inShorthand);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();this.inShorthand=N();super.deserialize(E)}}j(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=q;E.exports=CommonJsRequireContextDependency},37313:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class CommonJsRequireDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=q;j(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");E.exports=CommonJsRequireDependency},94147:(E,N,R)=>{"use strict";const j=R(76150);const{equals:$}=R(73910);const q=R(56202);const G=R(68038);const ie=R(12197);class CommonJsSelfReferenceDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.base=N;this.names=R;this.call=j}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,N){return[this.call?this.names.slice(0,-1):this.names]}serialize(E){const{write:N}=E;N(this.range);N(this.base);N(this.names);N(this.call);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.base=N();this.names=N();this.call=N();super.deserialize(E)}}q(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:q,runtime:ie,runtimeRequirements:ae}){const ce=E;let le;if(ce.names.length===0){le=ce.names}else{le=q.getExportsInfo(R).getUsedName(ce.names,ie)}if(!le){throw new Error("Self-reference dependency has unused export name: This should not happen")}let _e=undefined;switch(ce.base){case"exports":ae.add(j.exports);_e=R.exportsArgument;break;case"module.exports":ae.add(j.module);_e=`${R.moduleArgument}.exports`;break;case"this":ae.add(j.thisAsExports);_e="this";break;default:throw new Error(`Unsupported base ${ce.base}`)}if(_e===ce.base&&$(le,ce.names)){return}N.replace(ce.range[0],ce.range[1]-1,`${_e}${G(le)}`)}};E.exports=CommonJsSelfReferenceDependency},66298:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class ConstDependency extends ${constructor(E,N,R){super();this.expression=E;this.range=N;this.runtimeRequirements=R?new Set(R):null;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){let E=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const N of this.runtimeRequirements){E+="|";E+=N}}this._hashUpdate=E}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.expression);N(this.range);N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.expression=N();this.range=N();this.runtimeRequirements=N();super.deserialize(E)}}j(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends $.Template{apply(E,N,R){const j=E;if(j.runtimeRequirements){for(const E of j.runtimeRequirements){R.runtimeRequirements.add(E)}}if(typeof j.range==="number"){N.insert(j.range,j.expression);return}N.replace(j.range[0],j.range[1]-1,j.expression)}};E.exports=ConstDependency},400:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);const q=R(56202);const G=R(91671);const ie=G((()=>R(75314)));const regExpToString=E=>E?E+"":"";class ContextDependency extends j{constructor(E){super();this.options=E;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.inShorthand=undefined;this.replaces=undefined}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(E){let N=super.getWarnings(E);if(this.critical){if(!N)N=[];const E=ie();N.push(new E(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!N)N=[];const E=ie();N.push(new E("Contexts can't use RegExps with the 'g' or 'y' flags."))}return N}serialize(E){const{write:N}=E;N(this.options);N(this.userRequest);N(this.critical);N(this.hadGlobalOrStickyRegExp);N(this.request);N(this.range);N(this.valueRange);N(this.prepend);N(this.replaces);super.serialize(E)}deserialize(E){const{read:N}=E;this.options=N();this.userRequest=N();this.critical=N();this.hadGlobalOrStickyRegExp=N();this.request=N();this.range=N();this.valueRange=N();this.prepend=N();this.replaces=N();super.deserialize(E)}}q(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=$;E.exports=ContextDependency},95601:(E,N,R)=>{"use strict";const{parseResource:j}=R(49197);const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=E=>{const N=E.lastIndexOf("/");let R=".";if(N>=0){R=E.substr(0,N);E=`.${E.substr(N)}`}return{context:R,prefix:E}};N.create=(E,N,R,$,q,G,ie)=>{if(R.isTemplateString()){let ae=R.quasis[0].string;let ce=R.quasis.length>1?R.quasis[R.quasis.length-1].string:"";const le=R.range;const{context:_e,prefix:Ee}=splitContextFromPrefix(ae);const{path:Te,query:we,fragment:Ie}=j(ce,ie);const Ne=R.quasis.slice(1,R.quasis.length-1);const Me=q.wrappedContextRegExp.source+Ne.map((E=>quoteMeta(E.string)+q.wrappedContextRegExp.source)).join("");const Le=new RegExp(`^${quoteMeta(Ee)}${Me}${quoteMeta(Te)}$`);const Be=new E({request:_e+we+Ie,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},N,le);Be.loc=$.loc;const je=[];R.parts.forEach(((E,N)=>{if(N%2===0){let j=E.range;let $=E.string;if(R.templateStringKind==="cooked"){$=JSON.stringify($);$=$.slice(1,$.length-1)}if(N===0){$=Ee;j=[R.range[0],E.range[1]];$=(R.templateStringKind==="cooked"?"`":"String.raw`")+$}else if(N===R.parts.length-1){$=Te;j=[E.range[0],R.range[1]];$=$+"`"}else if(E.expression&&E.expression.type==="TemplateElement"&&E.expression.value.raw===$){return}je.push({range:j,value:$})}else{ie.walkExpression(E.expression)}}));Be.replaces=je;Be.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";return Be}else if(R.isWrapped()&&(R.prefix&&R.prefix.isString()||R.postfix&&R.postfix.isString())){let ae=R.prefix&&R.prefix.isString()?R.prefix.string:"";let ce=R.postfix&&R.postfix.isString()?R.postfix.string:"";const le=R.prefix&&R.prefix.isString()?R.prefix.range:null;const _e=R.postfix&&R.postfix.isString()?R.postfix.range:null;const Ee=R.range;const{context:Te,prefix:we}=splitContextFromPrefix(ae);const{path:Ie,query:Ne,fragment:Me}=j(ce,ie);const Le=new RegExp(`^${quoteMeta(we)}${q.wrappedContextRegExp.source}${quoteMeta(Ie)}$`);const Be=new E({request:Te+Ne+Me,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},N,Ee);Be.loc=$.loc;const je=[];if(le){je.push({range:le,value:JSON.stringify(we)})}if(_e){je.push({range:_e,value:JSON.stringify(Ie)})}Be.replaces=je;Be.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ie&&R.wrappedInnerExpressions){for(const E of R.wrappedInnerExpressions){if(E.expression)ie.walkExpression(E.expression)}}return Be}else{const j=new E({request:q.exprContextRequest,recursive:q.exprContextRecursive,regExp:q.exprContextRegExp,mode:"sync",...G},N,R.range);j.loc=$.loc;j.critical=q.exprContextCritical&&"the request of a dependency is an expression";ie.walkExpression(R.expression);return j}}},94148:(E,N,R)=>{"use strict";const j=R(400);class ContextDependencyTemplateAsId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;const ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,weak:G.weak,runtimeRequirements:q});if(j.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E<G.replaces.length;E++){const R=G.replaces[E];N.replace(R.range[0],R.range[1]-1,R.value)}}N.replace(G.valueRange[1],G.range[1]-1,")");N.replace(G.range[0],G.valueRange[0]-1,`${ie}.resolve(`)}else{N.replace(G.range[0],G.range[1]-1,`${ie}.resolve`)}}else{N.replace(G.range[0],G.range[1]-1,ie)}}}E.exports=ContextDependencyTemplateAsId},42740:(E,N,R)=>{"use strict";const j=R(400);class ContextDependencyTemplateAsRequireCall extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;let ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,runtimeRequirements:q});if(G.inShorthand){ie=`${G.inShorthand}: ${ie}`}if(j.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E<G.replaces.length;E++){const R=G.replaces[E];N.replace(R.range[0],R.range[1]-1,R.value)}}N.replace(G.valueRange[1],G.range[1]-1,")");N.replace(G.range[0],G.valueRange[0]-1,`${ie}(`)}else{N.replace(G.range[0],G.range[1]-1,ie)}}else{N.replace(G.range[0],G.range[1]-1,ie)}}}E.exports=ContextDependencyTemplateAsRequireCall},90872:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class ContextElementDependency extends q{constructor(E,N,R,j,$){super(E);this.referencedExports=$;this._typePrefix=R;this._category=j;if(N){this.userRequest=N}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(E,N){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):j.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.referencedExports=E.read();super.deserialize(E)}}$(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");E.exports=ContextElementDependency},7257:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class CreateScriptUrlDependency extends q{constructor(E){super();this.range=E}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const $=E;R.add(j.createScriptUrl);N.insert($.range[0],`${j.createScriptUrl}(`);N.insert($.range[1],")")}};$(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");E.exports=CreateScriptUrlDependency},75314:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class CriticalDependencyWarning extends j{constructor(E){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+E}}$(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");E.exports=CriticalDependencyWarning},49422:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);class DelegatedSourceDependency extends ${constructor(E){super(E)}get type(){return"delegated source"}get category(){return"esm"}}j(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");E.exports=DelegatedSourceDependency},95189:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class DllEntryDependency extends j{constructor(E,N){super();this.dependencies=E;this.name=N}get type(){return"dll entry"}serialize(E){const{write:N}=E;N(this.dependencies);N(this.name);super.serialize(E)}deserialize(E){const{read:N}=E;this.dependencies=N();this.name=N();super.deserialize(E)}}$(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");E.exports=DllEntryDependency},28140:(E,N)=>{"use strict";const R=new WeakMap;N.bailout=E=>{const N=R.get(E);R.set(E,false);if(N===true){E.module.buildMeta.exportsType=undefined;E.module.buildMeta.defaultObject=false}};N.enable=E=>{const N=R.get(E);if(N===false)return;R.set(E,true);if(N!==true){E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject="redirect"}};N.setFlagged=E=>{const N=R.get(E);if(N!==true)return;const j=E.module.buildMeta;if(j.exportsType==="dynamic")return;j.exportsType="flagged"};N.setDynamic=E=>{const N=R.get(E);if(N!==true)return;E.module.buildMeta.exportsType="dynamic"};N.isEnabled=E=>{const N=R.get(E);return N===true}},66583:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);class EntryDependency extends ${constructor(E){super(E)}get type(){return"entry"}get category(){return"esm"}}j(EntryDependency,"webpack/lib/dependencies/EntryDependency");E.exports=EntryDependency},51420:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(56202);const q=R(12197);const getProperty=(E,N,R,$,q)=>{if(!R){switch($){case"usedExports":{const R=E.getExportsInfo(N).getUsedExports(q);if(typeof R==="boolean"||R===undefined||R===null){return R}return Array.from(R).sort()}}}switch($){case"used":return E.getExportsInfo(N).getUsed(R,q)!==j.Unused;case"useInfo":{const $=E.getExportsInfo(N).getUsed(R,q);switch($){case j.Used:case j.OnlyPropertiesUsed:return true;case j.Unused:return false;case j.NoInfo:return undefined;case j.Unknown:return null;default:throw new Error(`Unexpected UsageState ${$}`)}}case"provideInfo":return E.getExportsInfo(N).isExportProvided(R)}return undefined};class ExportsInfoDependency extends q{constructor(E,N,R){super();this.range=E;this.exportName=N;this.property=R}serialize(E){const{write:N}=E;N(this.range);N(this.exportName);N(this.property);super.serialize(E)}static deserialize(E){const N=new ExportsInfoDependency(E.read(),E.read(),E.read());N.deserialize(E);return N}}$(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends q.Template{apply(E,N,{module:R,moduleGraph:j,runtime:$}){const q=E;const G=getProperty(j,R,q.exportName,q.property,$);N.replace(q.range[0],q.range[1]-1,G===undefined?"undefined":JSON.stringify(G))}};E.exports=ExportsInfoDependency},27790:(E,N,R)=>{"use strict";const j=R(58159);const $=R(56202);const q=R(37359);const G=R(12197);class HarmonyAcceptDependency extends G{constructor(E,N,R){super();this.range=E;this.dependencies=N;this.hasCallback=R}get type(){return"accepted harmony modules"}serialize(E){const{write:N}=E;N(this.range);N(this.dependencies);N(this.hasCallback);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.dependencies=N();this.hasCallback=N();super.deserialize(E)}}$(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends G.Template{apply(E,N,R){const $=E;const{module:G,runtime:ie,runtimeRequirements:ae,runtimeTemplate:ce,moduleGraph:le,chunkGraph:_e}=R;const Ee=$.dependencies.map((E=>{const N=le.getModule(E);return{dependency:E,runtimeCondition:N?q.Template.getImportEmittedRuntime(G,N):false}})).filter((({runtimeCondition:E})=>E!==false)).map((({dependency:E,runtimeCondition:N})=>{const $=ce.runtimeConditionExpression({chunkGraph:_e,runtime:ie,runtimeCondition:N,runtimeRequirements:ae});const q=E.getImportStatement(true,R);const G=q[0]+q[1];if($!=="true"){return`if (${$}) {\n${j.indent(G)}\n}\n`}return G})).join("");if($.hasCallback){if(ce.supportsArrowFunction()){N.insert($.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${Ee}(`);N.insert($.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{N.insert($.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${Ee}(`);N.insert($.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Te=ce.supportsArrowFunction();N.insert($.range[1]-.5,`, ${Te?"() =>":"function()"} { ${Ee} }`)}};E.exports=HarmonyAcceptDependency},80654:(E,N,R)=>{"use strict";const j=R(56202);const $=R(37359);class HarmonyAcceptImportDependency extends ${constructor(E){super(E,NaN);this.weak=true}get type(){return"harmony accept"}}j(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends $.Template{};E.exports=HarmonyAcceptImportDependency},54290:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(63272);const q=R(76150);const G=R(56202);const ie=R(12197);class HarmonyCompatibilityDependency extends ie{get type(){return"harmony export header"}}G(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,N,{module:R,runtimeTemplate:G,moduleGraph:ie,initFragments:ae,runtimeRequirements:ce,runtime:le,concatenationScope:_e}){if(_e)return;const Ee=ie.getExportsInfo(R);if(Ee.getReadOnlyExportInfo("__esModule").getUsed(le)!==j.Unused){const E=G.defineEsModuleFlagStatement({exportsArgument:R.exportsArgument,runtimeRequirements:ce});ae.push(new $(E,$.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ie.isAsync(R)){ce.add(q.module);ce.add(q.asyncModule);ae.push(new $(G.supportsArrowFunction()?`${q.asyncModule}(${R.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${q.asyncModule}(${R.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,$.STAGE_ASYNC_BOUNDARY,0,undefined,R.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};E.exports=HarmonyCompatibilityDependency},11720:(E,N,R)=>{"use strict";const j=R(28140);const $=R(54290);const q=R(25702);E.exports=class HarmonyDetectionParserPlugin{constructor(E){const{topLevelAwait:N=false}=E||{};this.topLevelAwait=N}apply(E){E.hooks.program.tap("HarmonyDetectionParserPlugin",(N=>{const R=E.state.module.type==="javascript/esm";const G=R||N.body.some((E=>E.type==="ImportDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration"));if(G){const N=E.state.module;const G=new $;G.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};N.addPresentationalDependency(G);j.bailout(E.state);q.enable(E.state,R);E.scope.isStrict=true}}));E.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const N=E.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!q.isEnabled(E.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}N.buildMeta.async=true}));const skipInHarmony=()=>{if(q.isEnabled(E.state)){return true}};const nullInHarmony=()=>{if(q.isEnabled(E.state)){return null}};const N=["define","exports"];for(const R of N){E.hooks.evaluateTypeof.for(R).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.typeof.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.evaluate.for(R).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.expression.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.call.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(E,N,R)=>{"use strict";const j=R(58018);const $=R(66298);const q=R(55037);const G=R(48752);const ie=R(44576);const ae=R(14696);const{ExportPresenceModes:ce}=R(37359);const{harmonySpecifierTag:le,getAssertions:_e}=R(29381);const Ee=R(69707);const{HarmonyStarExportsList:Te}=ie;E.exports=class HarmonyExportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.reexportExportPresence!==undefined?ce.fromUserOption(E.reexportExportPresence):E.exportPresence!==undefined?ce.fromUserOption(E.exportPresence):E.strictExportPresence?ce.ERROR:ce.AUTO}apply(E){const{exportPresenceMode:N}=this;E.hooks.export.tap("HarmonyExportDependencyParserPlugin",(N=>{const R=new G(N.declaration&&N.declaration.range,N.range);R.loc=Object.create(N.loc);R.loc.index=-1;E.state.module.addPresentationalDependency(R);return true}));E.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((N,R)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const j=new $("",N.range);j.loc=Object.create(N.loc);j.loc.index=-1;E.state.module.addPresentationalDependency(j);const q=new Ee(R,E.state.lastHarmonyImportOrder,_e(N));q.loc=Object.create(N.loc);q.loc.index=-1;E.state.current.addDependency(q);return true}));E.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((N,R)=>{const $=R.type==="FunctionDeclaration";const G=E.getComments([N.range[0],R.range[0]]);const ie=new q(R.range,N.range,G.map((E=>{switch(E.type){case"Block":return`/*${E.value}*/`;case"Line":return`//${E.value}\n`}return""})).join(""),R.type.endsWith("Declaration")&&R.id?R.id.name:$?{id:R.id?R.id.name:undefined,range:[R.range[0],R.params.length>0?R.params[0].range[0]:R.body.range[0]],prefix:`${R.async?"async ":""}function${R.generator?"*":""} `,suffix:`(${R.params.length>0?"":") "}`}:undefined);ie.loc=Object.create(N.loc);ie.loc.index=-1;E.state.current.addDependency(ie);j.addVariableUsage(E,R.type.endsWith("Declaration")&&R.id?R.id.name:"*default*","default");return true}));E.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((R,$,q,G)=>{const ce=E.getTagData($,le);let _e;const Ee=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;Ee.add(q);j.addVariableUsage(E,$,q);if(ce){_e=new ie(ce.source,ce.sourceOrder,ce.ids,q,Ee,null,N,null,ce.assertions)}else{_e=new ae($,q)}_e.loc=Object.create(R.loc);_e.loc.index=G;E.state.current.addDependency(_e);return true}));E.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((R,j,$,q,G)=>{const ae=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;let ce=null;if(q){ae.add(q)}else{ce=E.state.harmonyStarExports=E.state.harmonyStarExports||new Te}const le=new ie(j,E.state.lastHarmonyImportOrder,$?[$]:[],q,ae,ce&&ce.slice(),N,ce);if(ce){ce.push(le)}le.loc=Object.create(R.loc);le.loc.index=G;E.state.current.addDependency(le);return true}))}}},55037:(E,N,R)=>{"use strict";const j=R(77294);const $=R(76150);const q=R(56202);const G=R(82296);const ie=R(12197);class HarmonyExportExpressionDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.rangeStatement=N;this.prefix=R;this.declarationId=j}get type(){return"harmony export expression"}getExports(E){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.range);N(this.rangeStatement);N(this.prefix);N(this.declarationId);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.rangeStatement=N();this.prefix=N();this.declarationId=N();super.deserialize(E)}}q(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:q,runtimeTemplate:ie,runtimeRequirements:ae,initFragments:ce,runtime:le,concatenationScope:_e}){const Ee=E;const{declarationId:Te}=Ee;const we=R.exportsArgument;if(Te){let E;if(typeof Te==="string"){E=Te}else{E=j.DEFAULT_EXPORT;N.replace(Te.range[0],Te.range[1]-1,`${Te.prefix}${E}${Te.suffix}`)}if(_e){_e.registerExport("default",E)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){const R=new Map;R.set(N,`/* export default binding */ ${E}`);ce.push(new G(we,R))}}N.replace(Ee.rangeStatement[0],Ee.range[0]-1,`/* harmony default export */ ${Ee.prefix}`)}else{let E;const Te=j.DEFAULT_EXPORT;if(ie.supportsConst()){E=`/* harmony default export */ const ${Te} = `;if(_e){_e.registerExport("default",Te)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){ae.add($.exports);const E=new Map;E.set(N,Te);ce.push(new G(we,E))}else{E=`/* unused harmony default export */ var ${Te} = `}}}else if(_e){E=`/* harmony default export */ var ${Te} = `;_e.registerExport("default",Te)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){ae.add($.exports);E=`/* harmony default export */ ${we}[${JSON.stringify(N)}] = `}else{E=`/* unused harmony default export */ var ${Te} = `}}if(Ee.range){N.replace(Ee.rangeStatement[0],Ee.range[0]-1,E+"("+Ee.prefix);N.replace(Ee.range[1],Ee.rangeStatement[1]-.5,");");return}N.replace(Ee.rangeStatement[0],Ee.rangeStatement[1]-1,E)}}};E.exports=HarmonyExportExpressionDependency},48752:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class HarmonyExportHeaderDependency extends ${constructor(E,N){super();this.range=E;this.rangeStatement=N}get type(){return"harmony export header"}serialize(E){const{write:N}=E;N(this.range);N(this.rangeStatement);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.rangeStatement=N();super.deserialize(E)}}j(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends $.Template{apply(E,N,R){const j=E;const $="";const q=j.range?j.range[0]-1:j.rangeStatement[1]-1;N.replace(j.rangeStatement[0],q,$)}};E.exports=HarmonyExportHeaderDependency},44576:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(36756);const G=R(63272);const ie=R(76150);const ae=R(58159);const{countIterable:ce}=R(11539);const{first:le,combine:_e}=R(26221);const Ee=R(56202);const Te=R(68038);const{getRuntimeKey:we,keyToRuntime:Ie}=R(37416);const Ne=R(82296);const Me=R(37359);const Le=R(18971);const{ExportPresenceModes:Be}=Me;const je=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(E,N,R,j,$){this.name=E;this.ids=N;this.exportInfo=R;this.checked=j;this.hidden=$}}class ExportMode{constructor(E){this.type=E;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(E,N,R)=>{const j=new Set;const $=[];if(R){N=N.concat(R)}for(const R of N){const N=$.length;$[N]=j.size;const q=E.getModule(R);if(q){const R=E.getExportsInfo(q);for(const E of R.exports){if(E.provided===true&&E.name!=="default"&&!j.has(E.name)){j.add(E.name);$[N]=j.size}}}}$.push(j.size);return{names:Array.from(j),dependencyIndices:$}};const findDependencyForName=({names:E,dependencyIndices:N},R,j)=>{const $=j[Symbol.iterator]();const q=N[Symbol.iterator]();let G=$.next();let ie=q.next();if(ie.done)return;for(let N=0;N<E.length;N++){while(N>=ie.value){G=$.next();ie=q.next();if(ie.done)return}if(E[N]===R)return G.value}return undefined};const getMode=(E,N,R)=>{const j=E.getModule(N);if(!j){const E=new ExportMode("missing");E.userRequest=N.userRequest;return E}const q=N.name;const G=Ie(R);const ie=E.getParentModule(N);const ae=E.getExportsInfo(ie);if(q?ae.getUsed(q,G)===$.Unused:ae.isUsed(G)===false){const E=new ExportMode("unused");E.name=q||"*";return E}const ce=j.getExportsType(E,ie.buildMeta.strictHarmonyModule);const le=N.getIds(E);if(q&&le.length>0&&le[0]==="default"){switch(ce){case"dynamic":{const E=new ExportMode("reexport-dynamic-default");E.name=q;return E}case"default-only":case"default-with-named":{const E=ae.getReadOnlyExportInfo(q);const N=new ExportMode("reexport-named-default");N.name=q;N.partialNamespaceExportInfo=E;return N}}}if(q){let E;const N=ae.getReadOnlyExportInfo(q);if(le.length>0){switch(ce){case"default-only":E=new ExportMode("reexport-undefined");E.name=q;break;default:E=new ExportMode("normal-reexport");E.items=[new NormalReexportItem(q,le,N,false,false)];break}}else{switch(ce){case"default-only":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=N;E.fakeType=0;break;case"default-with-named":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=N;E.fakeType=2;break;case"dynamic":default:E=new ExportMode("reexport-namespace-object");E.name=q;E.partialNamespaceExportInfo=N}}return E}const{ignoredExports:_e,exports:Ee,checked:Te,hidden:we}=N.getStarReexports(E,G,ae,j);if(!Ee){const E=new ExportMode("dynamic-reexport");E.ignored=_e;E.hidden=we;return E}if(Ee.size===0){const E=new ExportMode("empty-star");E.hidden=we;return E}const Ne=new ExportMode("normal-reexport");Ne.items=Array.from(Ee,(E=>new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),Te.has(E),false)));if(we!==undefined){for(const E of we){Ne.items.push(new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),false,true))}}return Ne};class HarmonyExportImportedSpecifierDependency extends Me{constructor(E,N,R,j,$,q,G,ie,ae){super(E,N,ae);this.ids=R;this.name=j;this.activeExports=$;this.otherStarExports=q;this.exportPresenceMode=G;this.allStarExports=ie}couldAffectReferencingModule(){return j.TRANSITIVE}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(E){return E.getMeta(this)[je]||this.ids}setIds(E,N){E.getMeta(this)[je]=N}getMode(E,N){return E.dependencyCacheProvide(this,we(N),getMode)}getStarReexports(E,N,R=E.getExportsInfo(E.getParentModule(this)),j=E.getModule(this)){const q=E.getExportsInfo(j);const G=q.otherExportsInfo.provided===false;const ie=R.otherExportsInfo.getUsed(N)===$.Unused;const ae=new Set(["default",...this.activeExports]);let ce=undefined;const le=this._discoverActiveExportsFromOtherStarExports(E);if(le!==undefined){ce=new Set;for(let E=0;E<le.namesSlice;E++){ce.add(le.names[E])}for(const E of ae)ce.delete(E)}if(!G&&!ie){return{ignoredExports:ae,hidden:ce}}const _e=new Set;const Ee=new Set;const Te=ce!==undefined?new Set:undefined;if(ie){for(const E of R.orderedExports){const R=E.name;if(ae.has(R))continue;if(E.getUsed(N)===$.Unused)continue;const j=q.getReadOnlyExportInfo(R);if(j.provided===false)continue;if(ce!==undefined&&ce.has(R)){Te.add(R);continue}_e.add(R);if(j.provided===true)continue;Ee.add(R)}}else if(G){for(const E of q.orderedExports){const j=E.name;if(ae.has(j))continue;if(E.provided===false)continue;const q=R.getReadOnlyExportInfo(j);if(q.getUsed(N)===$.Unused)continue;if(ce!==undefined&&ce.has(j)){Te.add(j);continue}_e.add(j);if(E.provided===true)continue;Ee.add(j)}}return{ignoredExports:ae,exports:_e,checked:Ee,hidden:Te}}getCondition(E){return(N,R)=>{const j=this.getMode(E,R);return j.type!=="unused"&&j.type!=="empty-star"}}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,N){const R=this.getMode(E,N);switch(R.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return j.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return j.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!R.partialNamespaceExportInfo)return j.EXPORTS_OBJECT_REFERENCED;const E=[];Le(N,E,[],R.partialNamespaceExportInfo);return E}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!R.partialNamespaceExportInfo)return j.EXPORTS_OBJECT_REFERENCED;const E=[];Le(N,E,[],R.partialNamespaceExportInfo,R.type==="reexport-fake-namespace-object");return E}case"dynamic-reexport":return j.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const E=[];for(const{ids:j,exportInfo:$,hidden:q}of R.items){if(q)continue;Le(N,E,j,$,false)}return E}default:throw new Error(`Unknown mode ${R.type}`)}}_discoverActiveExportsFromOtherStarExports(E){if(!this.otherStarExports)return undefined;const N="length"in this.otherStarExports?this.otherStarExports.length:ce(this.otherStarExports);if(N===0)return undefined;if(this.allStarExports){const{names:R,dependencyIndices:j}=E.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:R,namesSlice:j[N-1],dependencyIndices:j,dependencyIndex:N}}const{names:R,dependencyIndices:j}=E.cached(determineExportAssignments,this.otherStarExports,this);return{names:R,namesSlice:j[N-1],dependencyIndices:j,dependencyIndex:N}}getExports(E){const N=this.getMode(E,undefined);switch(N.type){case"missing":return undefined;case"dynamic-reexport":{const R=E.getConnection(this);return{exports:true,from:R,canMangle:false,excludeExports:N.hidden?_e(N.ignored,N.hidden):N.ignored,hideExports:N.hidden,dependencies:[R.module]}}case"empty-star":return{exports:[],hideExports:N.hidden,dependencies:[E.getModule(this)]};case"normal-reexport":{const R=E.getConnection(this);return{exports:Array.from(N.items,(E=>({name:E.name,from:R,export:E.ids,hidden:E.hidden}))),priority:1,dependencies:[R.module]}}case"reexport-dynamic-default":{{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:["default"]}],priority:1,dependencies:[R.module]}}}case"reexport-undefined":return{exports:[N.name],dependencies:[E.getModule(this)]};case"reexport-fake-namespace-object":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:null,exports:[{name:"default",canMangle:false,from:R,export:null}]}],priority:1,dependencies:[R.module]}}case"reexport-namespace-object":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:null}],priority:1,dependencies:[R.module]}}case"reexport-named-default":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:["default"]}],priority:1,dependencies:[R.module]}}default:throw new Error(`Unknown mode ${N.type}`)}}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==Be.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?Be.ERROR:Be.WARN}getWarnings(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===Be.WARN){return this._getErrors(E)}return null}getErrors(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===Be.ERROR){return this._getErrors(E)}return null}_getErrors(E){const N=this.getIds(E);let R=this.getLinkingErrors(E,N,`(reexported as '${this.name}')`);if(N.length===0&&this.name===null){const N=this._discoverActiveExportsFromOtherStarExports(E);if(N&&N.namesSlice>0){const j=new Set(N.names.slice(N.namesSlice,N.dependencyIndices[N.dependencyIndex]));const $=E.getModule(this);if($){const G=E.getExportsInfo($);const ie=new Map;for(const R of G.orderedExports){if(R.provided!==true)continue;if(R.name==="default")continue;if(this.activeExports.has(R.name))continue;if(j.has(R.name))continue;const q=findDependencyForName(N,R.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!q)continue;const G=R.getTerminalBinding(E);if(!G)continue;const ae=E.getModule(q);if(ae===$)continue;const ce=E.getExportInfo(ae,R.name);const le=ce.getTerminalBinding(E);if(!le)continue;if(G===le)continue;const _e=ie.get(q.request);if(_e===undefined){ie.set(q.request,[R.name])}else{_e.push(R.name)}}for(const[E,N]of ie){if(!R)R=[];R.push(new q(`The requested module '${this.request}' contains conflicting star exports for the ${N.length>1?"names":"name"} ${N.map((E=>`'${E}'`)).join(", ")} with the previous requested module '${E}'`))}}}}return R}serialize(E){const{write:N,setCircularReference:R}=E;R(this);N(this.ids);N(this.name);N(this.activeExports);N(this.otherStarExports);N(this.exportPresenceMode);N(this.allStarExports);super.serialize(E)}deserialize(E){const{read:N,setCircularReference:R}=E;R(this);this.ids=N();this.name=N();this.activeExports=N();this.otherStarExports=N();this.exportPresenceMode=N();this.allStarExports=N();super.deserialize(E)}}Ee(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");E.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Me.Template{apply(E,N,R){const{moduleGraph:j,runtime:$,concatenationScope:q}=R;const G=E;const ie=G.getMode(j,$);if(q){switch(ie.type){case"reexport-undefined":q.registerRawExport(ie.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ie.type!=="unused"&&ie.type!=="empty-star"){super.apply(E,N,R);this._addExportFragments(R.initFragments,G,ie,R.module,j,$,R.runtimeTemplate,R.runtimeRequirements)}}_addExportFragments(E,N,R,j,$,q,ce,Ee){const Te=$.getModule(N);const we=N.getImportVar($);switch(R.type){case"missing":case"empty-star":E.push(new G("/* empty/unused harmony star reexport */\n",G.STAGE_HARMONY_EXPORTS,1));break;case"unused":E.push(new G(`${ae.toNormalComment(`unused harmony reexport ${R.name}`)}\n`,G.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":E.push(this.getReexportFragment(j,"reexport default from dynamic",$.getExportsInfo(j).getUsedName(R.name,q),we,null,Ee));break;case"reexport-fake-namespace-object":E.push(...this.getReexportFakeNamespaceObjectFragments(j,$.getExportsInfo(j).getUsedName(R.name,q),we,R.fakeType,Ee));break;case"reexport-undefined":E.push(this.getReexportFragment(j,"reexport non-default export from non-harmony",$.getExportsInfo(j).getUsedName(R.name,q),"undefined","",Ee));break;case"reexport-named-default":E.push(this.getReexportFragment(j,"reexport default export from named module",$.getExportsInfo(j).getUsedName(R.name,q),we,"",Ee));break;case"reexport-namespace-object":E.push(this.getReexportFragment(j,"reexport module object",$.getExportsInfo(j).getUsedName(R.name,q),we,"",Ee));break;case"normal-reexport":for(const{name:ie,ids:ae,checked:ce,hidden:le}of R.items){if(le)continue;if(ce){E.push(new G("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(j,ie,we,ae,Ee),$.isAsync(Te)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,N.sourceOrder))}else{E.push(this.getReexportFragment(j,"reexport safe",$.getExportsInfo(j).getUsedName(ie,q),we,$.getExportsInfo(Te).getUsedName(ae,q),Ee))}}break;case"dynamic-reexport":{const q=R.hidden?_e(R.ignored,R.hidden):R.ignored;const ae=ce.supportsConst()&&ce.supportsArrowFunction();let Ie="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${we}) `;if(q.size>1){Ie+="if("+JSON.stringify(Array.from(q))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(q.size===1){Ie+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(le(q))}) `}Ie+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Ie+=`() => ${we}[__WEBPACK_IMPORT_KEY__]`}else{Ie+=`function(key) { return ${we}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}Ee.add(ie.exports);Ee.add(ie.definePropertyGetters);const Ne=j.exportsArgument;E.push(new G(`${Ie}\n/* harmony reexport (unknown) */ ${ie.definePropertyGetters}(${Ne}, __WEBPACK_REEXPORT_OBJECT__);\n`,$.isAsync(Te)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,N.sourceOrder));break}default:throw new Error(`Unknown mode ${R.type}`)}}getReexportFragment(E,N,R,j,$,q){const G=this.getReturnValue(j,$);q.add(ie.exports);q.add(ie.definePropertyGetters);const ae=new Map;ae.set(R,`/* ${N} */ ${G}`);return new Ne(E.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(E,N,R,j,$){$.add(ie.exports);$.add(ie.definePropertyGetters);$.add(ie.createFakeNamespaceObject);const q=new Map;q.set(N,`/* reexport fake namespace object from non-harmony */ ${R}_namespace_cache || (${R}_namespace_cache = ${ie.createFakeNamespaceObject}(${R}${j?`, ${j}`:""}))`);return[new G(`var ${R}_namespace_cache;\n`,G.STAGE_CONSTANTS,-1,`${R}_namespace_cache`),new Ne(E.exportsArgument,q)]}getConditionalReexportStatement(E,N,R,j,$){if(j===false){return"/* unused export */\n"}const q=E.exportsArgument;const G=this.getReturnValue(R,j);$.add(ie.exports);$.add(ie.definePropertyGetters);$.add(ie.hasOwnProperty);return`if(${ie.hasOwnProperty}(${R}, ${JSON.stringify(j[0])})) ${ie.definePropertyGetters}(${q}, { ${JSON.stringify(N)}: function() { return ${G}; } });\n`}getReturnValue(E,N){if(N===null){return`${E}_default.a`}if(N===""){return E}if(N===false){return"/* unused export */ undefined"}return`${E}${Te(N)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(E){this.dependencies.push(E)}slice(){return this.dependencies.slice()}serialize({write:E,setCircularReference:N}){N(this);E(this.dependencies)}deserialize({read:E,setCircularReference:N}){N(this);this.dependencies=E()}}Ee(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");E.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const{first:q}=R(26221);const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const G=new Map;const ie=new Set;class HarmonyExportInitFragment extends j{constructor(E,N=G,R=ie){super(undefined,j.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=E;this.exportMap=N;this.unusedExports=R}mergeAll(E){let N;let R=false;let j;let $=false;for(const q of E){if(q.exportMap.size!==0){if(N===undefined){N=q.exportMap;R=false}else{if(!R){N=new Map(N);R=true}for(const[E,R]of q.exportMap){if(!N.has(E))N.set(E,R)}}}if(q.unusedExports.size!==0){if(j===undefined){j=q.unusedExports;$=false}else{if(!$){j=new Set(j);$=true}for(const E of q.unusedExports){j.add(E)}}}}return new HarmonyExportInitFragment(this.exportsArgument,N,j)}merge(E){let N;if(this.exportMap.size===0){N=E.exportMap}else if(E.exportMap.size===0){N=this.exportMap}else{N=new Map(E.exportMap);for(const[E,R]of this.exportMap){if(!N.has(E))N.set(E,R)}}let R;if(this.unusedExports.size===0){R=E.unusedExports}else if(E.unusedExports.size===0){R=this.unusedExports}else{R=new Set(E.unusedExports);for(const E of this.unusedExports){R.add(E)}}return new HarmonyExportInitFragment(this.exportsArgument,N,R)}getContent({runtimeTemplate:E,runtimeRequirements:N}){N.add($.exports);N.add($.definePropertyGetters);const R=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${q(this.unusedExports)} */\n`:"";const j=[];for(const[N,R]of this.exportMap){j.push(`\n/* harmony export */ ${JSON.stringify(N)}: ${E.returningFunction(R)}`)}const G=this.exportMap.size>0?`/* harmony export */ ${$.definePropertyGetters}(${this.exportsArgument}, {${j.join(",")}\n/* harmony export */ });\n`:"";return`${G}${R}`}}E.exports=HarmonyExportInitFragment},14696:(E,N,R)=>{"use strict";const j=R(56202);const $=R(82296);const q=R(12197);class HarmonyExportSpecifierDependency extends q{constructor(E,N){super();this.id=E;this.name=N}get type(){return"harmony export specifier"}getExports(E){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.id);N(this.name);super.serialize(E)}deserialize(E){const{read:N}=E;this.id=N();this.name=N();super.deserialize(E)}}j(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends q.Template{apply(E,N,{module:R,moduleGraph:j,initFragments:q,runtime:G,concatenationScope:ie}){const ae=E;if(ie){ie.registerExport(ae.name,ae.id);return}const ce=j.getExportsInfo(R).getUsedName(ae.name,G);if(!ce){const E=new Set;E.add(ae.name||"namespace");q.push(new $(R.exportsArgument,undefined,E));return}const le=new Map;le.set(ce,`/* binding */ ${ae.id}`);q.push(new $(R.exportsArgument,le,undefined))}};E.exports=HarmonyExportSpecifierDependency},25702:(E,N)=>{"use strict";const R=new WeakMap;N.enable=(E,N)=>{const j=R.get(E);if(j===false)return;R.set(E,true);if(j!==true){E.module.buildMeta.exportsType="namespace";E.module.buildInfo.strict=true;E.module.buildInfo.exportsArgument="__webpack_exports__";if(N){E.module.buildMeta.strictHarmonyModule=true;E.module.buildInfo.moduleArgument="__webpack_module__"}}};N.isEnabled=E=>{const N=R.get(E);return N===true}},37359:(E,N,R)=>{"use strict";const j=R(11518);const $=R(28706);const q=R(36756);const G=R(63272);const ie=R(58159);const ae=R(10813);const{filterRuntime:ce,mergeRuntime:le}=R(37416);const _e=R(79983);const Ee={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(E){switch(E){case"error":return Ee.ERROR;case"warn":return Ee.WARN;case false:return Ee.NONE;default:throw new Error(`Invalid export presence value ${E}`)}}};class HarmonyImportDependency extends _e{constructor(E,N,R){super(E);this.sourceOrder=N;this.assertions=R}get category(){return"esm"}getReferencedExports(E,N){return $.NO_EXPORTS_REFERENCED}getImportVar(E){const N=E.getParentModule(this);const R=E.getMeta(N);let j=R.importVarMap;if(!j)R.importVarMap=j=new Map;let $=j.get(E.getModule(this));if($)return $;$=`${ie.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${j.size}__`;j.set(E.getModule(this),$);return $}getImportStatement(E,{runtimeTemplate:N,module:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){return N.importStatement({update:E,module:j.getModule(this),chunkGraph:$,importVar:this.getImportVar(j),request:this.request,originModule:R,runtimeRequirements:q})}getLinkingErrors(E,N,R){const j=E.getModule(this);if(!j||j.getNumberOfErrors()>0){return}const $=E.getParentModule(this);const G=j.getExportsType(E,$.buildMeta.strictHarmonyModule);if(G==="namespace"||G==="default-with-named"){if(N.length===0){return}if((G!=="default-with-named"||N[0]!=="default")&&E.isExportProvided(j,N)===false){let $=0;let G=E.getExportsInfo(j);while($<N.length&&G){const E=N[$++];const j=G.getReadOnlyExportInfo(E);if(j.provided===false){const E=G.getProvidedExports();const j=!Array.isArray(E)?" (possible exports unknown)":E.length===0?" (module has no exports)":` (possible exports: ${E.join(", ")})`;return[new q(`export ${N.slice(0,$).map((E=>`'${E}'`)).join(".")} ${R} was not found in '${this.userRequest}'${j}`)]}G=j.getNestedExportsInfo()}return[new q(`export ${N.map((E=>`'${E}'`)).join(".")} ${R} was not found in '${this.userRequest}'`)]}}switch(G){case"default-only":if(N.length>0&&N[0]!=="default"){return[new q(`Can't import the named export ${N.map((E=>`'${E}'`)).join(".")} ${R} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(N.length>0&&N[0]!=="default"&&j.buildMeta.defaultObject==="redirect-warn"){return[new q(`Should not import the named export ${N.map((E=>`'${E}'`)).join(".")} ${R} from default-exporting module (only default export is available soon)`)]}break}}serialize(E){const{write:N}=E;N(this.sourceOrder);N(this.assertions);super.serialize(E)}deserialize(E){const{read:N}=E;this.sourceOrder=N();this.assertions=N();super.deserialize(E)}}E.exports=HarmonyImportDependency;const Te=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends _e.Template{apply(E,N,R){const $=E;const{module:q,chunkGraph:ie,moduleGraph:_e,runtime:Ee}=R;const we=_e.getConnection($);if(we&&!we.isTargetActive(Ee))return;const Ie=we&&we.module;if(we&&we.weak&&Ie&&ie.getModuleId(Ie)===null){return}const Ne=Ie?Ie.identifier():$.request;const Me=`harmony import ${Ne}`;const Le=$.weak?false:we?ce(Ee,(E=>we.isTargetActive(E))):true;if(q&&Ie){let E=Te.get(q);if(E===undefined){E=new WeakMap;Te.set(q,E)}let N=Le;const R=E.get(Ie)||false;if(R!==false&&N!==true){if(N===false||R===true){N=R}else{N=le(R,N)}}E.set(Ie,N)}const Be=$.getImportStatement(false,R);if(Ie&&R.moduleGraph.isAsync(Ie)){R.initFragments.push(new j(Be[0],G.STAGE_HARMONY_IMPORTS,$.sourceOrder,Me,Le));R.initFragments.push(new ae(new Set([$.getImportVar(R.moduleGraph)])));R.initFragments.push(new j(Be[1],G.STAGE_ASYNC_HARMONY_IMPORTS,$.sourceOrder,Me+" compat",Le))}else{R.initFragments.push(new j(Be[0]+Be[1],G.STAGE_HARMONY_IMPORTS,$.sourceOrder,Me,Le))}}static getImportEmittedRuntime(E,N){const R=Te.get(E);if(R===undefined)return false;return R.get(N)||false}};E.exports.ExportPresenceModes=Ee},29381:(E,N,R)=>{"use strict";const j=R(79972);const $=R(58018);const q=R(66298);const G=R(27790);const ie=R(80654);const ae=R(25702);const{ExportPresenceModes:ce}=R(37359);const le=R(69707);const _e=R(2230);const Ee=Symbol("harmony import");function getAssertions(E){const N=E.assertions;if(N===undefined){return undefined}const R={};for(const E of N){const N=E.key.type==="Identifier"?E.key.name:E.key.value;R[N]=E.value.value}return R}E.exports=class HarmonyImportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.importExportPresence!==undefined?ce.fromUserOption(E.importExportPresence):E.exportPresence!==undefined?ce.fromUserOption(E.exportPresence):E.strictExportPresence?ce.ERROR:ce.AUTO;this.strictThisContextOnImports=E.strictThisContextOnImports}apply(E){const{exportPresenceMode:N}=this;E.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(N=>{const R=N;if(E.isVariableDefined(R.name)||E.getTagData(R.name,Ee)){return true}}));E.hooks.import.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const j=new q(E.isAsiPosition(N.range[0])?";":"",N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);E.unsetAsiPosition(N.range[1]);const $=getAssertions(N);const G=new le(R,E.state.lastHarmonyImportOrder,$);G.loc=N.loc;E.state.module.addDependency(G);return true}));E.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((N,R,j,$)=>{const q=j===null?[]:[j];E.tagVariable($,Ee,{name:$,source:R,ids:q,sourceOrder:E.state.lastHarmonyImportOrder,assertions:getAssertions(N)});return true}));E.hooks.expression.for(Ee).tap("HarmonyImportDependencyParserPlugin",(R=>{const j=E.currentTagData;const q=new _e(j.source,j.sourceOrder,j.ids,j.name,R.range,N,j.assertions);q.shorthand=E.scope.inShorthand;q.directImport=true;q.asiSafe=!E.isAsiPosition(R.range[0]);q.loc=R.loc;E.state.module.addDependency(q);$.onUsage(E.state,(E=>q.usedByExports=E));return true}));E.hooks.expressionMemberChain.for(Ee).tap("HarmonyImportDependencyParserPlugin",((R,j)=>{const q=E.currentTagData;const G=q.ids.concat(j);const ie=new _e(q.source,q.sourceOrder,G,q.name,R.range,N,q.assertions);ie.asiSafe=!E.isAsiPosition(R.range[0]);ie.loc=R.loc;E.state.module.addDependency(ie);$.onUsage(E.state,(E=>ie.usedByExports=E));return true}));E.hooks.callMemberChain.for(Ee).tap("HarmonyImportDependencyParserPlugin",((R,j)=>{const{arguments:q,callee:G}=R;const ie=E.currentTagData;const ae=ie.ids.concat(j);const ce=new _e(ie.source,ie.sourceOrder,ae,ie.name,G.range,N,ie.assertions);ce.directImport=j.length===0;ce.call=true;ce.asiSafe=!E.isAsiPosition(G.range[0]);ce.namespaceObjectAsContext=j.length>0&&this.strictThisContextOnImports;ce.loc=G.loc;E.state.module.addDependency(ce);if(q)E.walkExpressions(q);$.onUsage(E.state,(E=>ce.usedByExports=E));return true}));const{hotAcceptCallback:R,hotAcceptWithoutCallback:ce}=j.getParserHooks(E);R.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{if(!ae.isEnabled(E.state)){return}const j=R.map((R=>{const j=new ie(R);j.loc=N.loc;E.state.module.addDependency(j);return j}));if(j.length>0){const R=new G(N.range,j,true);R.loc=N.loc;E.state.module.addDependency(R)}}));ce.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{if(!ae.isEnabled(E.state)){return}const j=R.map((R=>{const j=new ie(R);j.loc=N.loc;E.state.module.addDependency(j);return j}));if(j.length>0){const R=new G(N.range,j,false);R.loc=N.loc;E.state.module.addDependency(R)}}))}};E.exports.harmonySpecifierTag=Ee;E.exports.getAssertions=getAssertions},69707:(E,N,R)=>{"use strict";const j=R(56202);const $=R(37359);class HarmonyImportSideEffectDependency extends ${constructor(E,N,R){super(E,N,R)}get type(){return"harmony side effect evaluation"}getCondition(E){return N=>{const R=N.resolvedModule;if(!R)return true;return R.getSideEffectsConnectionState(E)}}getModuleEvaluationSideEffectsState(E){const N=E.getModule(this);if(!N)return true;return N.getSideEffectsConnectionState(E)}}j(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends $.Template{apply(E,N,R){const{moduleGraph:j,concatenationScope:$}=R;if($){const N=j.getModule(E);if($.isModuleInScope(N)){return}}super.apply(E,N,R)}};E.exports=HarmonyImportSideEffectDependency},2230:(E,N,R)=>{"use strict";const j=R(28706);const{getDependencyUsedByExportsCondition:$}=R(58018);const q=R(56202);const G=R(68038);const ie=R(37359);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:ce}=ie;class HarmonyImportSpecifierDependency extends ie{constructor(E,N,R,j,$,q,G){super(E,N,G);this.ids=R;this.name=j;this.range=$;this.exportPresenceMode=q;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(E){const N=E.getMetaIfExisting(this);if(N===undefined)return this.ids;const R=N[ae];return R!==undefined?R:this.ids}setIds(E,N){E.getMeta(this)[ae]=N}getCondition(E){return $(this,this.usedByExports,E)}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,N){let R=this.getIds(E);if(R.length===0)return j.EXPORTS_OBJECT_REFERENCED;let $=this.namespaceObjectAsContext;if(R[0]==="default"){const N=E.getParentModule(this);const q=E.getModule(this);switch(q.getExportsType(E,N.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(R.length===1)return j.EXPORTS_OBJECT_REFERENCED;R=R.slice(1);$=true;break;case"dynamic":return j.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&($||R.length>1)){if(R.length===1)return j.EXPORTS_OBJECT_REFERENCED;R=R.slice(0,-1)}return[R]}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==ce.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?ce.ERROR:ce.WARN}getWarnings(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===ce.WARN){return this._getErrors(E)}return null}getErrors(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===ce.ERROR){return this._getErrors(E)}return null}_getErrors(E){const N=this.getIds(E);return this.getLinkingErrors(E,N,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(E){const{write:N}=E;N(this.ids);N(this.name);N(this.range);N(this.exportPresenceMode);N(this.namespaceObjectAsContext);N(this.call);N(this.directImport);N(this.shorthand);N(this.asiSafe);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.ids=N();this.name=N();this.range=N();this.exportPresenceMode=N();this.namespaceObjectAsContext=N();this.call=N();this.directImport=N();this.shorthand=N();this.asiSafe=N();this.usedByExports=N();super.deserialize(E)}}q(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ie.Template{apply(E,N,R){const j=E;const{moduleGraph:$,module:q,runtime:ie,concatenationScope:ae}=R;const ce=$.getConnection(j);if(ce&&!ce.isTargetActive(ie))return;const le=j.getIds($);let _e;if(ce&&ae&&ae.isModuleInScope(ce.module)){if(le.length===0){_e=ae.createModuleReference(ce.module,{asiSafe:j.asiSafe})}else if(j.namespaceObjectAsContext&&le.length===1){_e=ae.createModuleReference(ce.module,{asiSafe:j.asiSafe})+G(le)}else{_e=ae.createModuleReference(ce.module,{ids:le,call:j.call,directImport:j.directImport,asiSafe:j.asiSafe})}}else{super.apply(E,N,R);const{runtimeTemplate:G,initFragments:ae,runtimeRequirements:ce}=R;_e=G.exportFromImport({moduleGraph:$,module:$.getModule(j),request:j.request,exportName:le,originModule:q,asiSafe:j.shorthand?true:j.asiSafe,isCall:j.call,callContext:!j.directImport,defaultInterop:true,importVar:j.getImportVar($),initFragments:ae,runtime:ie,runtimeRequirements:ce})}if(j.shorthand){N.insert(j.range[1],`: ${_e}`)}else{N.replace(j.range[0],j.range[1]-1,_e)}}};E.exports=HarmonyImportSpecifierDependency},26165:(E,N,R)=>{"use strict";const j=R(27790);const $=R(80654);const q=R(54290);const G=R(55037);const ie=R(48752);const ae=R(44576);const ce=R(14696);const le=R(69707);const _e=R(2230);const Ee=R(11720);const Te=R(16081);const we=R(29381);const Ie=R(13197);class HarmonyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("HarmonyModulesPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(le,N);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(_e,N);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyTemplates.set(G,new G.Template);E.dependencyTemplates.set(ce,new ce.Template);E.dependencyFactories.set(ae,N);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set($,N);E.dependencyTemplates.set($,new $.Template);const handler=(E,N)=>{if(N.harmony!==undefined&&!N.harmony)return;new Ee(this.options).apply(E);new we(N).apply(E);new Te(N).apply(E);(new Ie).apply(E)};N.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);N.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}E.exports=HarmonyModulesPlugin},13197:(E,N,R)=>{"use strict";const j=R(66298);const $=R(25702);class HarmonyTopLevelThisParserPlugin{apply(E){E.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(N=>{if(!E.scope.topLevelScope)return;if($.isEnabled(E.state)){const R=new j("undefined",N.range,null);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return this}}))}}E.exports=HarmonyTopLevelThisParserPlugin},4828:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(42740);class ImportContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=q;E.exports=ImportContextDependency},20013:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class ImportDependency extends q{constructor(E,N,R){super(E);this.range=N;this.referencedExports=R}get type(){return"import()"}get category(){return"esm"}getReferencedExports(E,N){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):j.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.range);E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.range=E.read();this.referencedExports=E.read();super.deserialize(E)}}$(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.moduleNamespacePromise({chunkGraph:q,block:ae,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ce)}};E.exports=ImportDependency},75708:(E,N,R)=>{"use strict";const j=R(56202);const $=R(20013);class ImportEagerDependency extends ${constructor(E,N,R){super(E,N,R)}get type(){return"import() eager"}get category(){return"esm"}}j(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=R.moduleNamespacePromise({chunkGraph:q,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportEagerDependency},76302:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ImportMetaHotAcceptDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}j(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=q;E.exports=ImportMetaHotAcceptDependency},5389:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ImportMetaHotDeclineDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}j(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=q;E.exports=ImportMetaHotDeclineDependency},38586:(E,N,R)=>{"use strict";const{pathToFileURL:j}=R(57310);const $=R(23280);const q=R(58159);const G=R(87250);const{evaluateToIdentifier:ie,toConstantDependency:ae,evaluateToString:ce,evaluateToNumber:le}=R(48472);const _e=R(91671);const Ee=R(68038);const Te=R(66298);const we=_e((()=>R(75314)));class ImportMetaPlugin{apply(E){E.hooks.compilation.tap("ImportMetaPlugin",((E,{normalModuleFactory:N})=>{const getUrl=E=>j(E.resource).toString();const parserHandler=(E,N)=>{E.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",ae(E,JSON.stringify("object")));E.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(N=>{const R=we();E.state.module.addWarning(new $(E.state.module,new R("Accessing import.meta directly is unsupported (only property access is supported)"),N.loc));const j=new Te(`${E.isAsiPosition(N.range[0])?";":""}({})`,N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",ce("object"));E.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ie("import.meta","import.meta",(()=>[]),true));E.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",ae(E,JSON.stringify("string")));E.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(N=>{const R=new Te(JSON.stringify(getUrl(E.state.module)),N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",ce("string"));E.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(N=>(new G).setString(getUrl(E.state.module)).setRange(N.range)));const j=parseInt(R(37589).i8,10);E.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify("number")));E.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify(j)));E.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",ce("number"));E.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",le(j));E.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((N,R)=>{const j=new Te(`${q.toNormalComment("unsupported import.meta."+R.join("."))} undefined${Ee(R,1)}`,N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(E=>{const N=E;if(N.object.type==="MetaProperty"&&N.object.meta.name==="import"&&N.object.property.name==="meta"&&N.property.type===(N.computed?"Literal":"Identifier")){return(new G).setUndefined().setRange(N.range)}}))};N.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);N.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}E.exports=ImportMetaPlugin},81467:(E,N,R)=>{"use strict";const j=R(98221);const $=R(47207);const q=R(53558);const G=R(95601);const ie=R(4828);const ae=R(20013);const ce=R(75708);const le=R(12849);class ImportParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.importCall.tap("ImportParserPlugin",(N=>{const R=E.evaluateExpression(N.source);let _e=null;let Ee="lazy";let Te=null;let we=null;let Ie=null;const Ne={};const{options:Me,errors:Le}=E.parseCommentOptions(N.range);if(Le){for(const N of Le){const{comment:R}=N;E.state.module.addWarning(new $(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${N.message}`,R.loc))}}if(Me){if(Me.webpackIgnore!==undefined){if(typeof Me.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Me.webpackIgnore}.`,N.loc))}else{if(Me.webpackIgnore){return false}}}if(Me.webpackChunkName!==undefined){if(typeof Me.webpackChunkName!=="string"){E.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Me.webpackChunkName}.`,N.loc))}else{_e=Me.webpackChunkName}}if(Me.webpackMode!==undefined){if(typeof Me.webpackMode!=="string"){E.state.module.addWarning(new q(`\`webpackMode\` expected a string, but received: ${Me.webpackMode}.`,N.loc))}else{Ee=Me.webpackMode}}if(Me.webpackPrefetch!==undefined){if(Me.webpackPrefetch===true){Ne.prefetchOrder=0}else if(typeof Me.webpackPrefetch==="number"){Ne.prefetchOrder=Me.webpackPrefetch}else{E.state.module.addWarning(new q(`\`webpackPrefetch\` expected true or a number, but received: ${Me.webpackPrefetch}.`,N.loc))}}if(Me.webpackPreload!==undefined){if(Me.webpackPreload===true){Ne.preloadOrder=0}else if(typeof Me.webpackPreload==="number"){Ne.preloadOrder=Me.webpackPreload}else{E.state.module.addWarning(new q(`\`webpackPreload\` expected true or a number, but received: ${Me.webpackPreload}.`,N.loc))}}if(Me.webpackInclude!==undefined){if(!Me.webpackInclude||Me.webpackInclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackInclude\` expected a regular expression, but received: ${Me.webpackInclude}.`,N.loc))}else{Te=new RegExp(Me.webpackInclude)}}if(Me.webpackExclude!==undefined){if(!Me.webpackExclude||Me.webpackExclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackExclude\` expected a regular expression, but received: ${Me.webpackExclude}.`,N.loc))}else{we=new RegExp(Me.webpackExclude)}}if(Me.webpackExports!==undefined){if(!(typeof Me.webpackExports==="string"||Array.isArray(Me.webpackExports)&&Me.webpackExports.every((E=>typeof E==="string")))){E.state.module.addWarning(new q(`\`webpackExports\` expected a string or an array of strings, but received: ${Me.webpackExports}.`,N.loc))}else{if(typeof Me.webpackExports==="string"){Ie=[[Me.webpackExports]]}else{Ie=Array.from(Me.webpackExports,(E=>[E]))}}}}if(R.isString()){if(Ee!=="lazy"&&Ee!=="eager"&&Ee!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${Ee}.`,N.loc))}if(Ee==="eager"){const j=new ce(R.string,N.range,Ie);E.state.current.addDependency(j)}else if(Ee==="weak"){const j=new le(R.string,N.range,Ie);E.state.current.addDependency(j)}else{const $=new j({...Ne,name:_e},N.loc,R.string);const q=new ae(R.string,N.range,Ie);q.loc=N.loc;$.addDependency(q);E.state.current.addBlock($)}return true}else{if(Ee!=="lazy"&&Ee!=="lazy-once"&&Ee!=="eager"&&Ee!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${Ee}.`,N.loc));Ee="lazy"}if(Ee==="weak"){Ee="async-weak"}const j=G.create(ie,N.range,R,N,this.options,{chunkName:_e,groupOptions:Ne,include:Te,exclude:we,mode:Ee,namespaceObject:E.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Ie},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}}))}}E.exports=ImportParserPlugin},54975:(E,N,R)=>{"use strict";const j=R(4828);const $=R(20013);const q=R(75708);const G=R(81467);const ie=R(12849);class ImportPlugin{apply(E){E.hooks.compilation.tap("ImportPlugin",((E,{contextModuleFactory:N,normalModuleFactory:R})=>{E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(q,R);E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(ie,R);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.import!==undefined&&!N.import)return;new G(N).apply(E)};R.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}E.exports=ImportPlugin},12849:(E,N,R)=>{"use strict";const j=R(56202);const $=R(20013);class ImportWeakDependency extends ${constructor(E,N,R){super(E,N,R);this.weak=true}get type(){return"import() weak"}}j(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=R.moduleNamespacePromise({chunkGraph:q,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportWeakDependency},38895:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);const getExportsFromData=E=>{if(E&&typeof E==="object"){if(Array.isArray(E)){return E.map(((E,N)=>({name:`${N}`,canMangle:true,exports:getExportsFromData(E)})))}else{const N=[];for(const R of Object.keys(E)){N.push({name:R,canMangle:true,exports:getExportsFromData(E[R])})}return N}}return undefined};class JsonExportsDependency extends ${constructor(E){super();this.exports=E;this._hashUpdate=undefined}get type(){return"json exports"}getExports(E){return{exports:this.exports,dependencies:undefined}}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.exports?JSON.stringify(this.exports):"undefined"}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.exports);super.serialize(E)}deserialize(E){const{read:N}=E;this.exports=N();super.deserialize(E)}}j(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");E.exports=JsonExportsDependency;E.exports.getExportsFromData=getExportsFromData},32876:(E,N,R)=>{"use strict";const j=R(79983);class LoaderDependency extends j{constructor(E){super(E)}get type(){return"loader"}get category(){return"loader"}}E.exports=LoaderDependency},79486:(E,N,R)=>{"use strict";const j=R(79983);class LoaderImportDependency extends j{constructor(E){super(E);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}E.exports=LoaderImportDependency},2451:(E,N,R)=>{"use strict";const j=R(53520);const $=R(83379);const q=R(32876);const G=R(79486);class LoaderPlugin{constructor(E={}){}apply(E){E.hooks.compilation.tap("LoaderPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyFactories.set(G,N)}));E.hooks.compilation.tap("LoaderPlugin",(E=>{const N=E.moduleGraph;j.getCompilationHooks(E).loader.tap("LoaderPlugin",(R=>{R.loadModule=(j,G)=>{const ie=new q(j);ie.loc={name:j};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return G(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:R._module,context:R.context,recursive:false},(j=>{E.buildQueue.decreaseParallelism();if(j){return G(j)}const q=N.getModule(ie);if(!q){return G(new Error("Cannot load the module"))}if(q.getNumberOfErrors()>0){return G(new Error("The loaded module contains errors"))}const ae=q.originalSource();if(!ae){return G(new Error("The module created for a LoaderDependency must have an original source"))}let ce,le;if(ae.sourceAndMap){const E=ae.sourceAndMap();le=E.map;ce=E.source}else{le=ae.map();ce=ae.source()}const _e=new $;const Ee=new $;const Te=new $;const we=new $;q.addCacheDependencies(_e,Ee,Te,we);for(const E of _e){R.addDependency(E)}for(const E of Ee){R.addContextDependency(E)}for(const E of Te){R.addMissingDependency(E)}for(const E of we){R.addBuildDependency(E)}return G(null,ce,le,q)}))};const importModule=(j,$,q)=>{const ie=new G(j);ie.loc={name:j};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return q(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:R._module,contextInfo:{issuerLayer:$.layer},context:R.context,connectOrigin:false},(j=>{E.buildQueue.decreaseParallelism();if(j){return q(j)}const G=N.getModule(ie);if(!G){return q(new Error("Cannot load the module"))}E.executeModule(G,{entryOptions:{publicPath:$.publicPath}},((E,N)=>{if(E)return q(E);for(const E of N.fileDependencies){R.addDependency(E)}for(const E of N.contextDependencies){R.addContextDependency(E)}for(const E of N.missingDependencies){R.addMissingDependency(E)}for(const E of N.buildDependencies){R.addBuildDependency(E)}if(N.cacheable===false)R.cacheable(false);for(const[E,{source:j,info:$}]of N.assets){const{buildInfo:N}=R._module;if(!N.assets){N.assets=Object.create(null);N.assetsInfo=new Map}N.assets[E]=j;N.assetsInfo.set(E,$)}q(null,N.exports)}))}))};R.importModule=(E,N,R)=>{if(!R){return new Promise(((R,j)=>{importModule(E,N||{},((E,N)=>{if(E)j(E);else R(N)}))}))}return importModule(E,N||{},R)}}))}))}}E.exports=LoaderPlugin},77230:(E,N,R)=>{"use strict";const j=R(56202);class LocalModule{constructor(E,N){this.name=E;this.idx=N;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(E){const{write:N}=E;N(this.name);N(this.idx);N(this.used)}deserialize(E){const{read:N}=E;this.name=N();this.idx=N();this.used=N()}}j(LocalModule,"webpack/lib/dependencies/LocalModule");E.exports=LocalModule},14229:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class LocalModuleDependency extends ${constructor(E,N,R){super();this.localModule=E;this.range=N;this.callNew=R}serialize(E){const{write:N}=E;N(this.localModule);N(this.range);N(this.callNew);super.serialize(E)}deserialize(E){const{read:N}=E;this.localModule=N();this.range=N();this.callNew=N();super.deserialize(E)}}j(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends $.Template{apply(E,N,R){const j=E;if(!j.range)return;const $=j.callNew?`new (function () { return ${j.localModule.variableName()}; })()`:j.localModule.variableName();N.replace(j.range[0],j.range[1]-1,$)}};E.exports=LocalModuleDependency},61701:(E,N,R)=>{"use strict";const j=R(77230);const lookup=(E,N)=>{if(N.charAt(0)!==".")return N;var R=E.split("/");var j=N.split("/");R.pop();for(let E=0;E<j.length;E++){const N=j[E];if(N===".."){R.pop()}else if(N!=="."){R.push(N)}}return R.join("/")};N.addLocalModule=(E,N)=>{if(!E.localModules){E.localModules=[]}const R=new j(N,E.localModules.length);E.localModules.push(R);return R};N.getLocalModule=(E,N,R)=>{if(!E.localModules)return null;if(R){N=lookup(R,N)}for(let R=0;R<E.localModules.length;R++){if(E.localModules[R].name===N){return E.localModules[R]}}return null}},2706:(E,N,R)=>{"use strict";const j=R(28706);const $=R(63272);const q=R(76150);const G=R(56202);const ie=R(12197);class ModuleDecoratorDependency extends ie{constructor(E,N){super();this.decorator=E;this.allowExportsAccess=N;this._hashUpdate=undefined}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,N){return this.allowExportsAccess?j.EXPORTS_OBJECT_REFERENCED:j.NO_EXPORTS_REFERENCED}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=`${this.decorator}${this.allowExportsAccess}`}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.decorator);N(this.allowExportsAccess);super.serialize(E)}deserialize(E){const{read:N}=E;this.decorator=N();this.allowExportsAccess=N();super.deserialize(E)}}G(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ie.Template{apply(E,N,{module:R,chunkGraph:j,initFragments:G,runtimeRequirements:ie}){const ae=E;ie.add(q.moduleLoaded);ie.add(q.moduleId);ie.add(q.module);ie.add(ae.decorator);G.push(new $(`/* module decorator */ ${R.moduleArgument} = ${ae.decorator}(${R.moduleArgument});\n`,$.STAGE_PROVIDES,0,`module decorator ${j.getModuleId(R)}`))}};E.exports=ModuleDecoratorDependency},79983:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);const q=R(91671);const G=q((()=>R(22804)));class ModuleDependency extends j{constructor(E){super();this.request=E;this.userRequest=E;this.range=undefined;this.assertions=undefined}getResourceIdentifier(){let E=`module${this.request}`;if(this.assertions!==undefined){E+=JSON.stringify(this.assertions)}return E}couldAffectReferencingModule(){return true}createIgnoredModule(E){const N=G();return new N("/* (ignored) */",`ignored|${E}|${this.request}`,`${this.request} (ignored)`)}serialize(E){const{write:N}=E;N(this.request);N(this.userRequest);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.userRequest=N();this.range=N();super.deserialize(E)}}ModuleDependency.Template=$;E.exports=ModuleDependency},80791:(E,N,R)=>{"use strict";const j=R(79983);class ModuleDependencyTemplateAsId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$}){const q=E;if(!q.range)return;const G=R.moduleId({module:j.getModule(q),chunkGraph:$,request:q.request,weak:q.weak});N.replace(q.range[0],q.range[1]-1,G)}}E.exports=ModuleDependencyTemplateAsId},87283:(E,N,R)=>{"use strict";const j=R(79983);class ModuleDependencyTemplateAsRequireId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;if(!G.range)return;const ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,weak:G.weak,runtimeRequirements:q});N.replace(G.range[0],G.range[1]-1,ie)}}E.exports=ModuleDependencyTemplateAsRequireId},21809:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ModuleHotAcceptDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}j(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=q;E.exports=ModuleHotAcceptDependency},73158:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ModuleHotDeclineDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}j(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=q;E.exports=ModuleHotDeclineDependency},12197:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);class NullDependency extends j{get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends ${apply(E,N,R){}};E.exports=NullDependency},88281:(E,N,R)=>{"use strict";const j=R(79983);class PrefetchDependency extends j{constructor(E){super(E)}get type(){return"prefetch"}get category(){return"esm"}}E.exports=PrefetchDependency},1335:(E,N,R)=>{"use strict";const j=R(63272);const $=R(56202);const q=R(79983);const pathToString=E=>E!==null&&E.length>0?E.map((E=>`[${JSON.stringify(E)}]`)).join(""):"";class ProvidedDependency extends q{constructor(E,N,R,j){super(E);this.identifier=N;this.path=R;this.range=j;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.path?this.path.join(","):"null")}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.identifier);N(this.path);super.serialize(E)}deserialize(E){const{read:N}=E;this.identifier=N();this.path=N();super.deserialize(E)}}$(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,initFragments:G,runtimeRequirements:ie}){const ae=E;G.push(new j(`/* provided dependency */ var ${ae.identifier} = ${R.moduleExports({module:$.getModule(ae),chunkGraph:q,request:ae.request,runtimeRequirements:ie})}${pathToString(ae.path)};\n`,j.STAGE_PROVIDES,1,`provided ${ae.identifier}`));N.replace(ae.range[0],ae.range[1]-1,ae.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;E.exports=ProvidedDependency},53567:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(56202);const{filterRuntime:q}=R(37416);const G=R(12197);class PureExpressionDependency extends G{constructor(E){super();this.range=E;this.usedByExports=false;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.range);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.usedByExports=N();super.deserialize(E)}}$(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends G.Template{apply(E,N,{chunkGraph:R,moduleGraph:$,runtime:G,runtimeTemplate:ie,runtimeRequirements:ae}){const ce=E;const le=ce.usedByExports;if(le!==false){const E=$.getParentModule(ce);const _e=$.getExportsInfo(E);const Ee=q(G,(E=>{for(const N of le){if(_e.getUsed(N,E)!==j.Unused){return true}}return false}));if(Ee===true)return;if(Ee!==false){const E=ie.runtimeConditionExpression({chunkGraph:R,runtime:G,runtimeCondition:Ee,runtimeRequirements:ae});N.insert(ce.range[0],`(/* runtime-dependent pure expression or super */ ${E} ? (`);N.insert(ce.range[1],") : null)");return}}N.insert(ce.range[0],`(/* unused pure expression or super */ null && (`);N.insert(ce.range[1],"))")}};E.exports=PureExpressionDependency},19204:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(87283);class RequireContextDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"require.context"}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();super.deserialize(E)}}j(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=q;E.exports=RequireContextDependency},38947:(E,N,R)=>{"use strict";const j=R(19204);E.exports=class RequireContextDependencyParserPlugin{apply(E){E.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(N=>{let R=/^\.\/.*$/;let $=true;let q="sync";switch(N.arguments.length){case 4:{const R=E.evaluateExpression(N.arguments[3]);if(!R.isString())return;q=R.string}case 3:{const j=E.evaluateExpression(N.arguments[2]);if(!j.isRegExp())return;R=j.regExp}case 2:{const R=E.evaluateExpression(N.arguments[1]);if(!R.isBoolean())return;$=R.bool}case 1:{const G=E.evaluateExpression(N.arguments[0]);if(!G.isString())return;const ie=new j({request:G.string,recursive:$,regExp:R,mode:q,category:"commonjs"},N.range);ie.loc=N.loc;ie.optional=!!E.scope.inTry;E.state.current.addDependency(ie);return true}}}))}}},67634:(E,N,R)=>{"use strict";const{cachedSetProperty:j}=R(90149);const $=R(90872);const q=R(19204);const G=R(38947);const ie={};class RequireContextPlugin{apply(E){E.hooks.compilation.tap("RequireContextPlugin",((N,{contextModuleFactory:R,normalModuleFactory:ae})=>{N.dependencyFactories.set(q,R);N.dependencyTemplates.set(q,new q.Template);N.dependencyFactories.set($,ae);const handler=(E,N)=>{if(N.requireContext!==undefined&&!N.requireContext)return;(new G).apply(E)};ae.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);R.hooks.alternativeRequests.tap("RequireContextPlugin",((N,R)=>{if(N.length===0)return N;const $=E.resolverFactory.get("normal",j(R.resolveOptions||ie,"dependencyType",R.category)).options;let q;if(!$.fullySpecified){q=[];for(const E of N){const{request:N,context:R}=E;for(const E of $.extensions){if(N.endsWith(E)){q.push({context:R,request:N.slice(0,-E.length)})}}if(!$.enforceExtension){q.push(E)}}N=q;q=[];for(const E of N){const{request:N,context:R}=E;for(const E of $.mainFiles){if(N.endsWith(`/${E}`)){q.push({context:R,request:N.slice(0,-E.length)});q.push({context:R,request:N.slice(0,-E.length-1)})}}q.push(E)}N=q}q=[];for(const E of N){let N=false;for(const R of $.modules){if(Array.isArray(R)){for(const j of R){if(E.request.startsWith(`./${j}/`)){q.push({context:E.context,request:E.request.slice(j.length+3)});N=true}}}else{const N=R.replace(/\\/g,"/");const j=E.context.replace(/\\/g,"/")+E.request.slice(1);if(j.startsWith(N)){q.push({context:E.context,request:j.slice(N.length+1)})}}}if(!N){q.push(E)}}return q}))}))}}E.exports=RequireContextPlugin},15196:(E,N,R)=>{"use strict";const j=R(98221);const $=R(56202);class RequireEnsureDependenciesBlock extends j{constructor(E,N){super(E,N,null)}}$(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");E.exports=RequireEnsureDependenciesBlock},90616:(E,N,R)=>{"use strict";const j=R(15196);const $=R(15427);const q=R(81058);const G=R(36134);E.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(E){E.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(N=>{let R=null;let ie=null;let ae=null;switch(N.arguments.length){case 4:{const j=E.evaluateExpression(N.arguments[3]);if(!j.isString())return;R=j.string}case 3:{ie=N.arguments[2];ae=G(ie);if(!ae&&!R){const j=E.evaluateExpression(N.arguments[2]);if(!j.isString())return;R=j.string}}case 2:{const ce=E.evaluateExpression(N.arguments[0]);const le=ce.isArray()?ce.items:[ce];const _e=N.arguments[1];const Ee=G(_e);if(Ee){E.walkExpressions(Ee.expressions)}if(ae){E.walkExpressions(ae.expressions)}const Te=new j(R,N.loc);const we=N.arguments.length===4||!R&&N.arguments.length===3;const Ie=new $(N.range,N.arguments[1].range,we&&N.arguments[2].range);Ie.loc=N.loc;Te.addDependency(Ie);const Ne=E.state.current;E.state.current=Te;try{let R=false;E.inScope([],(()=>{for(const E of le){if(E.isString()){const R=new q(E.string);R.loc=E.loc||N.loc;Te.addDependency(R)}else{R=true}}}));if(R){return}if(Ee){if(Ee.fn.body.type==="BlockStatement"){E.walkStatement(Ee.fn.body)}else{E.walkExpression(Ee.fn.body)}}Ne.addBlock(Te)}finally{E.state.current=Ne}if(!Ee){E.walkExpression(_e)}if(ae){if(ae.fn.body.type==="BlockStatement"){E.walkStatement(ae.fn.body)}else{E.walkExpression(ae.fn.body)}}else if(ie){E.walkExpression(ie)}return true}}}))}}},15427:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class RequireEnsureDependency extends q{constructor(E,N,R){super();this.range=E;this.contentRange=N;this.errorHandlerRange=R}get type(){return"require.ensure"}serialize(E){const{write:N}=E;N(this.range);N(this.contentRange);N(this.errorHandlerRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.contentRange=N();this.errorHandlerRange=N();super.deserialize(E)}}$(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.blockPromise({chunkGraph:q,block:ae,message:"require.ensure",runtimeRequirements:G});const le=ie.range;const _e=ie.contentRange;const Ee=ie.errorHandlerRange;N.replace(le[0],_e[0]-1,`${ce}.then((`);if(Ee){N.replace(_e[1],Ee[0]-1,").bind(null, __webpack_require__))['catch'](");N.replace(Ee[1],le[1]-1,")")}else{N.replace(_e[1],le[1]-1,`).bind(null, __webpack_require__))['catch'](${j.uncaughtErrorHandler})`)}}};E.exports=RequireEnsureDependency},81058:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(12197);class RequireEnsureItemDependency extends ${constructor(E){super(E)}get type(){return"require.ensure item"}get category(){return"commonjs"}}j(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=q.Template;E.exports=RequireEnsureItemDependency},51727:(E,N,R)=>{"use strict";const j=R(15427);const $=R(81058);const q=R(90616);const{evaluateToString:G,toConstantDependency:ie}=R(48472);class RequireEnsurePlugin{apply(E){E.hooks.compilation.tap("RequireEnsurePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,N);E.dependencyTemplates.set($,new $.Template);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.requireEnsure!==undefined&&!N.requireEnsure)return;(new q).apply(E);E.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",G("function"));E.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ie(E,JSON.stringify("function")))};N.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}E.exports=RequireEnsurePlugin},70340:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class RequireHeaderDependency extends q{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}static deserialize(E){const N=new RequireHeaderDependency(E.read());N.deserialize(E);return N}}$(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const $=E;R.add(j.require);N.replace($.range[0],$.range[1]-1,"__webpack_require__")}};E.exports=RequireHeaderDependency},63556:(E,N,R)=>{"use strict";const j=R(28706);const $=R(58159);const q=R(56202);const G=R(79983);class RequireIncludeDependency extends G{constructor(E,N){super(E);this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}q(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends G.Template{apply(E,N,{runtimeTemplate:R}){const j=E;const q=R.outputOptions.pathinfo?$.toComment(`require.include ${R.requestShortener.shorten(j.request)}`):"";N.replace(j.range[0],j.range[1]-1,`undefined${q}`)}};E.exports=RequireIncludeDependency},1913:(E,N,R)=>{"use strict";const j=R(81627);const{evaluateToString:$,toConstantDependency:q}=R(48472);const G=R(56202);const ie=R(63556);E.exports=class RequireIncludeDependencyParserPlugin{constructor(E){this.warn=E}apply(E){const{warn:N}=this;E.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(R=>{if(R.arguments.length!==1)return;const j=E.evaluateExpression(R.arguments[0]);if(!j.isString())return;if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}const $=new ie(j.string,R.range);$.loc=R.loc;E.state.current.addDependency($);return true}));E.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(R=>{if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}return $("function")(R)}));E.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(R=>{if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}return q(E,JSON.stringify("function"))(R)}))}};class RequireIncludeDeprecationWarning extends j{constructor(E){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=E}}G(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(E,N,R)=>{"use strict";const j=R(63556);const $=R(1913);class RequireIncludePlugin{apply(E){E.hooks.compilation.tap("RequireIncludePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.requireInclude===false)return;const R=N.requireInclude===undefined;new $(R).apply(E)};N.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}E.exports=RequireIncludePlugin},84817:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(94148);class RequireResolveContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return"amd require context"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=q;E.exports=RequireResolveContextDependency},76913:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);const G=R(80791);class RequireResolveDependency extends q{constructor(E,N){super(E);this.range=N}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}}$(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=G;E.exports=RequireResolveDependency},23380:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class RequireResolveHeaderDependency extends ${constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}static deserialize(E){const N=new RequireResolveHeaderDependency(E.read());N.deserialize(E);return N}}j(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends $.Template{apply(E,N,R){const j=E;N.replace(j.range[0],j.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(E,N,R){R.replace(N.range[0],N.range[1]-1,"/*require.resolve*/")}};E.exports=RequireResolveHeaderDependency},35424:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class RuntimeRequirementsDependency extends ${constructor(E){super();this.runtimeRequirements=new Set(E);this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.runtimeRequirements=N();super.deserialize(E)}}j(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends $.Template{apply(E,N,{runtimeRequirements:R}){const j=E;for(const E of j.runtimeRequirements){R.add(E)}}};E.exports=RuntimeRequirementsDependency},96076:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class StaticExportsDependency extends ${constructor(E,N){super();this.exports=E;this.canMangle=N}get type(){return"static exports"}getExports(E){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(E){const{write:N}=E;N(this.exports);N(this.canMangle);super.serialize(E)}deserialize(E){const{read:N}=E;this.exports=N();this.canMangle=N();super.deserialize(E)}}j(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");E.exports=StaticExportsDependency},62630:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const{evaluateToString:q,expressionIsUnsupported:G,toConstantDependency:ie}=R(48472);const ae=R(56202);const ce=R(66298);const le=R(60125);class SystemPlugin{apply(E){E.hooks.compilation.tap("SystemPlugin",((E,{normalModuleFactory:N})=>{E.hooks.runtimeRequirementInModule.for(j.system).tap("SystemPlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.system).tap("SystemPlugin",((N,R)=>{E.addRuntimeModule(N,new le)}));const handler=(E,N)=>{if(N.system===undefined||!N.system){return}const setNotSupported=N=>{E.hooks.evaluateTypeof.for(N).tap("SystemPlugin",q("undefined"));E.hooks.expression.for(N).tap("SystemPlugin",G(E,N+" is not supported by webpack."))};E.hooks.typeof.for("System.import").tap("SystemPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",q("function"));E.hooks.typeof.for("System").tap("SystemPlugin",ie(E,JSON.stringify("object")));E.hooks.evaluateTypeof.for("System").tap("SystemPlugin",q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");E.hooks.expression.for("System").tap("SystemPlugin",(N=>{const R=new ce(j.system,N.range,[j.system]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.call.for("System.import").tap("SystemPlugin",(N=>{E.state.module.addWarning(new SystemImportDeprecationWarning(N.loc));return E.hooks.importCall.call({type:"ImportExpression",source:N.arguments[0],loc:N.loc,range:N.range})}))};N.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends ${constructor(E){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=E}}ae(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");E.exports=SystemPlugin;E.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class SystemRuntimeModule extends ${constructor(){super("system")}generate(){return q.asString([`${j.system} = {`,q.indent(["import: function () {",q.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}E.exports=SystemRuntimeModule},66444:(E,N,R)=>{"use strict";const j=R(76150);const{getDependencyUsedByExportsCondition:$}=R(58018);const q=R(56202);const G=R(91671);const ie=R(79983);const ae=G((()=>R(22804)));class URLDependency extends ie{constructor(E,N,R,j){super(E);this.range=N;this.outerRange=R;this.relative=j||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(E){return $(this,this.usedByExports,E)}createIgnoredModule(E){const N=ae();return new N('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([j.module]))}serialize(E){const{write:N}=E;N(this.outerRange);N(this.relative);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.outerRange=N();this.relative=N();this.usedByExports=N();super.deserialize(E)}}URLDependency.Template=class URLDependencyTemplate extends ie.Template{apply(E,N,R){const{chunkGraph:$,moduleGraph:q,runtimeRequirements:G,runtimeTemplate:ie,runtime:ae}=R;const ce=E;const le=q.getConnection(ce);if(le&&!le.isTargetActive(ae)){N.replace(ce.outerRange[0],ce.outerRange[1]-1,"/* unused asset import */ undefined");return}G.add(j.require);if(ce.relative){G.add(j.relativeUrl);N.replace(ce.outerRange[0],ce.outerRange[1]-1,`/* asset import */ new ${j.relativeUrl}(${ie.moduleRaw({chunkGraph:$,module:q.getModule(ce),request:ce.request,runtimeRequirements:G,weak:false})})`)}else{G.add(j.baseURI);N.replace(ce.range[0],ce.range[1]-1,`/* asset import */ ${ie.moduleRaw({chunkGraph:$,module:q.getModule(ce),request:ce.request,runtimeRequirements:G,weak:false})}, ${j.baseURI}`)}}};q(URLDependency,"webpack/lib/dependencies/URLDependency");E.exports=URLDependency},65577:(E,N,R)=>{"use strict";const{approve:j}=R(48472);const $=R(58018);const q=R(66444);class URLPlugin{apply(E){E.hooks.compilation.tap("URLPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyTemplates.set(q,new q.Template);const parserCallback=(E,N)=>{if(N.url===false)return;const R=N.url==="relative";const getUrlRequest=N=>{if(N.arguments.length!==2)return;const[R,j]=N.arguments;if(j.type!=="MemberExpression"||R.type==="SpreadElement")return;const $=E.extractMemberExpressionChain(j);if($.members.length!==1||$.object.type!=="MetaProperty"||$.object.meta.name!=="import"||$.object.property.name!=="meta"||$.members[0]!=="url")return;const q=E.evaluateExpression(R).asString();return q};E.hooks.canRename.for("URL").tap("URLPlugin",j);E.hooks.new.for("URL").tap("URLPlugin",(N=>{const j=N;const G=getUrlRequest(j);if(!G)return;const[ie,ae]=j.arguments;const ce=new q(G,[ie.range[0],ae.range[1]],j.range,R);ce.loc=j.loc;E.state.module.addDependency(ce);$.onUsage(E.state,(E=>ce.usedByExports=E));return true}));E.hooks.isPure.for("NewExpression").tap("URLPlugin",(N=>{const R=N;const{callee:j}=R;if(j.type!=="Identifier")return;const $=E.getFreeInfoFromVariable(j.name);if(!$||$.name!=="URL")return;const q=getUrlRequest(R);if(q)return true}))};N.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);N.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}E.exports=URLPlugin},12584:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class UnsupportedDependency extends ${constructor(E,N){super();this.request=E;this.range=N}serialize(E){const{write:N}=E;N(this.request);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.range=N();super.deserialize(E)}}j(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R}){const j=E;N.replace(j.range[0],j.range[1],R.missingModule({request:j.request}))}};E.exports=UnsupportedDependency},30697:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class WebAssemblyExportImportedDependency extends q{constructor(E,N,R,j){super(N);this.exportName=E;this.name=R;this.valueType=j}couldAffectReferencingModule(){return j.TRANSITIVE}getReferencedExports(E,N){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(E){const{write:N}=E;N(this.exportName);N(this.name);N(this.valueType);super.serialize(E)}deserialize(E){const{read:N}=E;this.exportName=N();this.name=N();this.valueType=N();super.deserialize(E)}}$(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");E.exports=WebAssemblyExportImportedDependency},33081:(E,N,R)=>{"use strict";const j=R(56202);const $=R(59422);const q=R(79983);class WebAssemblyImportDependency extends q{constructor(E,N,R,j){super(E);this.name=N;this.description=R;this.onlyDirectImport=j}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(E,N){return[[this.name]]}getErrors(E){const N=E.getModule(this);if(this.onlyDirectImport&&N&&!N.type.startsWith("webassembly")){return[new $(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(E){const{write:N}=E;N(this.name);N(this.description);N(this.onlyDirectImport);super.serialize(E)}deserialize(E){const{read:N}=E;this.name=N();this.description=N();this.onlyDirectImport=N();super.deserialize(E)}}j(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");E.exports=WebAssemblyImportDependency},46715:(E,N,R)=>{"use strict";const j=R(28706);const $=R(58159);const q=R(56202);const G=R(79983);class WebpackIsIncludedDependency extends G{constructor(E,N){super(E);this.weak=true;this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}q(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends G.Template{apply(E,N,{runtimeTemplate:R,chunkGraph:j,moduleGraph:q}){const G=E;const ie=q.getConnection(G);const ae=ie?j.getNumberOfModuleChunks(ie.module)>0:false;const ce=R.outputOptions.pathinfo?$.toComment(`__webpack_is_included__ ${R.requestShortener.shorten(G.request)}`):"";N.replace(G.range[0],G.range[1]-1,`${ce}${JSON.stringify(ae)}`)}};E.exports=WebpackIsIncludedDependency},89017:(E,N,R)=>{"use strict";const j=R(28706);const $=R(76150);const q=R(56202);const G=R(79983);class WorkerDependency extends G{constructor(E,N){super(E);this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends G.Template{apply(E,N,R){const{chunkGraph:j,moduleGraph:q,runtimeRequirements:G}=R;const ie=E;const ae=q.getParentBlock(E);const ce=j.getBlockChunkGroup(ae);const le=ce.getEntrypointChunk();G.add($.publicPath);G.add($.baseURI);G.add($.getChunkScriptFilename);N.replace(ie.range[0],ie.range[1]-1,`/* worker import */ ${$.publicPath} + ${$.getChunkScriptFilename}(${JSON.stringify(le.id)}), ${$.baseURI}`)}};q(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");E.exports=WorkerDependency},76373:(E,N,R)=>{"use strict";const{pathToFileURL:j}=R(57310);const $=R(98221);const q=R(47207);const G=R(53558);const ie=R(50369);const{equals:ae}=R(73910);const ce=R(35891);const{contextify:le}=R(49197);const _e=R(69085);const Ee=R(66298);const Te=R(7257);const{harmonySpecifierTag:we}=R(29381);const Ie=R(89017);const getUrl=E=>j(E.resource).toString();const Ne=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Me=new WeakMap;class WorkerPlugin{constructor(E,N,R){this._chunkLoading=E;this._wasmLoading=N;this._module=R}apply(E){if(this._chunkLoading){new ie(this._chunkLoading).apply(E)}if(this._wasmLoading){new _e(this._wasmLoading).apply(E)}const N=le.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("WorkerPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyTemplates.set(Te,new Te.Template);const parseModuleUrl=(E,N)=>{if(N.type!=="NewExpression"||N.callee.type==="Super"||N.arguments.length!==2)return;const[R,j]=N.arguments;if(R.type==="SpreadElement")return;if(j.type==="SpreadElement")return;const $=E.evaluateExpression(N.callee);if(!$.isIdentifier()||$.identifier!=="URL")return;const q=E.evaluateExpression(j);if(!q.isString()||!q.string.startsWith("file://")||q.string!==getUrl(E.state.module)){return}const G=E.evaluateExpression(R);return[G,[R.range[0],j.range[1]]]};const parseObjectExpression=(E,N)=>{const R={};const j={};const $=[];let q=false;for(const G of N.properties){if(G.type==="SpreadElement"){q=true}else if(G.type==="Property"&&!G.method&&!G.computed&&G.key.type==="Identifier"){j[G.key.name]=G.value;if(!G.shorthand&&!G.value.type.endsWith("Pattern")){const N=E.evaluateExpression(G.value);if(N.isCompileTimeValue())R[G.key.name]=N.asCompileTimeValue()}}else{$.push(G)}}const G=N.properties.length>0?"comma":"single";const ie=N.properties[N.properties.length-1].range[1];return{expressions:j,otherElements:$,values:R,spread:q,insertType:G,insertLocation:ie}};const parserPlugin=(R,j)=>{if(j.worker===false)return;const ie=!Array.isArray(j.worker)?["..."]:j.worker;const handleNewWorker=j=>{if(j.arguments.length===0||j.arguments.length>2)return;const[ie,ae]=j.arguments;if(ie.type==="SpreadElement")return;if(ae&&ae.type==="SpreadElement")return;const le=parseModuleUrl(R,ie);if(!le)return;const[_e,we]=le;if(!_e.isString())return;const{expressions:Ne,otherElements:Le,values:Be,spread:je,insertType:Ue,insertLocation:ze}=ae&&ae.type==="ObjectExpression"?parseObjectExpression(R,ae):{expressions:{},otherElements:[],values:{},spread:false,insertType:ae?"spread":"argument",insertLocation:ae?ae.range:ie.range[1]};const{options:We,errors:Je}=R.parseCommentOptions(j.range);if(Je){for(const E of Je){const{comment:N}=E;R.state.module.addWarning(new q(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${E.message}`,N.loc))}}let Ve={};if(We){if(We.webpackIgnore!==undefined){if(typeof We.webpackIgnore!=="boolean"){R.state.module.addWarning(new G(`\`webpackIgnore\` expected a boolean, but received: ${We.webpackIgnore}.`,j.loc))}else{if(We.webpackIgnore){return false}}}if(We.webpackEntryOptions!==undefined){if(typeof We.webpackEntryOptions!=="object"||We.webpackEntryOptions===null){R.state.module.addWarning(new G(`\`webpackEntryOptions\` expected a object, but received: ${We.webpackEntryOptions}.`,j.loc))}else{Object.assign(Ve,We.webpackEntryOptions)}}if(We.webpackChunkName!==undefined){if(typeof We.webpackChunkName!=="string"){R.state.module.addWarning(new G(`\`webpackChunkName\` expected a string, but received: ${We.webpackChunkName}.`,j.loc))}else{Ve.name=We.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(Ve,"name")&&Be&&typeof Be.name==="string"){Ve.name=Be.name}if(Ve.runtime===undefined){let j=Me.get(R.state)||0;Me.set(R.state,j+1);let $=`${N(R.state.module.identifier())}|${j}`;const q=ce(E.outputOptions.hashFunction);q.update($);const G=q.digest(E.outputOptions.hashDigest);Ve.runtime=G.slice(0,E.outputOptions.hashDigestLength)}const qe=new $({name:Ve.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...Ve}});qe.loc=j.loc;const He=new Ie(_e.string,we);He.loc=j.loc;qe.addDependency(He);R.state.module.addBlock(qe);if(E.outputOptions.trustedTypes){const E=new Te(j.arguments[0].range);E.loc=j.loc;R.state.module.addDependency(E)}if(Ne.type){const E=Ne.type;if(Be.type!==false){const N=new Ee(this._module?'"module"':"undefined",E.range);N.loc=E.loc;R.state.module.addPresentationalDependency(N);Ne.type=undefined}}else if(Ue==="comma"){if(this._module||je){const E=new Ee(`, type: ${this._module?'"module"':"undefined"}`,ze);E.loc=j.loc;R.state.module.addPresentationalDependency(E)}}else if(Ue==="spread"){const E=new Ee("Object.assign({}, ",ze[0]);const N=new Ee(`, { type: ${this._module?'"module"':"undefined"} })`,ze[1]);E.loc=j.loc;N.loc=j.loc;R.state.module.addPresentationalDependency(E);R.state.module.addPresentationalDependency(N)}else if(Ue==="argument"){if(this._module){const E=new Ee(', { type: "module" }',ze);E.loc=j.loc;R.state.module.addPresentationalDependency(E)}}R.walkExpression(j.callee);for(const E of Object.keys(Ne)){if(Ne[E])R.walkExpression(Ne[E])}for(const E of Le){R.walkProperty(E)}if(Ue==="spread"){R.walkExpression(ae)}return true};const processItem=E=>{if(E.endsWith("()")){R.hooks.call.for(E.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const N=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(E);if(N){const E=N[1].split(".");const j=N[2];const $=N[3];(j?R.hooks.call:R.hooks.new).for(we).tap("WorkerPlugin",(N=>{const j=R.currentTagData;if(!j||j.source!==$||!ae(j.ids,E)){return}return handleNewWorker(N)}))}else{R.hooks.new.for(E).tap("WorkerPlugin",handleNewWorker)}}};for(const E of ie){if(E==="..."){Ne.forEach(processItem)}else processItem(E)}};R.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);R.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}E.exports=WorkerPlugin},36134:E=>{"use strict";E.exports=E=>{if(E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"){return{fn:E,expressions:[],needThis:false}}if(E.type==="CallExpression"&&E.callee.type==="MemberExpression"&&E.callee.object.type==="FunctionExpression"&&E.callee.property.type==="Identifier"&&E.callee.property.name==="bind"&&E.arguments.length===1){return{fn:E.callee.object,expressions:[E.arguments[0]],needThis:undefined}}if(E.type==="CallExpression"&&E.callee.type==="FunctionExpression"&&E.callee.body.type==="BlockStatement"&&E.arguments.length===1&&E.arguments[0].type==="ThisExpression"&&E.callee.body.body&&E.callee.body.body.length===1&&E.callee.body.body[0].type==="ReturnStatement"&&E.callee.body.body[0].argument&&E.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:E.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const processExportInfo=(E,N,R,$,q=false,G=new Set)=>{if(!$){N.push(R);return}const ie=$.getUsed(E);if(ie===j.Unused)return;if(G.has($)){N.push(R);return}G.add($);if(ie!==j.OnlyPropertiesUsed||!$.exportsInfo||$.exportsInfo.otherExportsInfo.getUsed(E)!==j.Unused){G.delete($);N.push(R);return}const ae=$.exportsInfo;for(const j of ae.orderedExports){processExportInfo(E,N,q&&j.name==="default"?R:R.concat(j.name),j,false,G)}G.delete($)};E.exports=processExportInfo},25726:(E,N,R)=>{"use strict";const j=R(61050);class ElectronTargetPlugin{constructor(E){this._context=E}apply(E){new j("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(E);switch(this._context){case"main":new j("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(E);break;case"preload":case"renderer":new j("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(E);break}}}E.exports=ElectronTargetPlugin},44547:(E,N,R)=>{"use strict";const j=R(81627);class BuildCycleError extends j{constructor(E){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=E}}E.exports=BuildCycleError},33228:(E,N,R)=>{"use strict";const j=R(66804);class ExportWebpackRequireRuntimeModule extends j{constructor(){super("export webpack runtime",j.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}E.exports=ExportWebpackRequireRuntimeModule},57378:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const{RuntimeGlobals:q}=R(86443);const G=R(22352);const ie=R(58159);const{getCompilationHooks:ae,getChunkFilenameTemplate:ce}=R(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=R(13085);class ModuleChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((N,R)=>{if(N.hasRuntime())return;if(E.chunkGraph.getNumberOfEntryModules(N)>0){R.add(q.require);R.add(q.startupEntrypoint);R.add(q.externalInstallChunk)}}));const N=ae(E);N.renderChunk.tap("ModuleChunkFormatPlugin",((R,ae)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:Te}=ae;const we=_e instanceof G?_e:null;const Ie=new j;if(we){throw new Error("HMR is not implemented for module chunk format yet")}else{Ie.add(`export const id = ${JSON.stringify(_e.id)};\n`);Ie.add(`export const ids = ${JSON.stringify(_e.ids)};\n`);Ie.add(`export const modules = `);Ie.add(R);Ie.add(`;\n`);const G=Ee.getChunkRuntimeModulesInOrder(_e);if(G.length>0){Ie.add("export const runtime =\n");Ie.add(ie.renderChunkRuntimeModules(G,ae))}const we=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(we.length>0){const R=we[0][1].getRuntimeChunk();const G=E.getPath(ce(_e,E.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const ie=E.getPath(ce(R,E.outputOptions),{chunk:R,contentHashType:"javascript"}).split("/");const Ne=G.pop();while(G.length>0&&ie.length>0&&G[0]===ie[0]){G.shift();ie.shift()}const Me=(G.length>0?"../".repeat(G.length):"./")+ie.join("/");const Le=new j;Le.add(Ie);Le.add(";\n\n// load runtime\n");Le.add(`import __webpack_require__ from ${JSON.stringify(Me)};\n`);Le.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+Ne)};\n`);Le.add(`${q.externalInstallChunk}(__webpack_self_exports__);\n`);const Be=new $(le(Ee,Te,we,_e,false));Le.add(N.renderStartup.call(Be,we[we.length-1][0],{...ae,inlined:false}));return Le}}return Ie}));N.chunkHash.tap("ModuleChunkFormatPlugin",((E,N,{chunkGraph:R,runtimeTemplate:j})=>{if(E.hasRuntime())return;N.update("ModuleChunkFormatPlugin");N.update("1");const $=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));_e(N,R,$,E)}))}))}}E.exports=ModuleChunkFormatPlugin},90662:(E,N,R)=>{"use strict";const j=R(76150);const $=R(33228);const q=R(61451);class ModuleChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading||N;return j==="import"};const R=new WeakSet;const handler=(N,$)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;$.add(j.moduleFactoriesAddOnly);$.add(j.hasOwnProperty);E.addRuntimeModule(N,new q($))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;E.addRuntimeModule(N,new $)}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkScriptFilename)}))}))}}E.exports=ModuleChunkLoadingPlugin},61451:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(66804);const ie=R(58159);const{getChunkFilenameTemplate:ae,chunkHasJs:ce}=R(18161);const{getInitialChunkIds:le}=R(13085);const _e=R(87274);const{getUndoPath:Ee}=R(49197);const Te=new WeakMap;class ModuleChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=Te.get(E);if(N===undefined){N={linkPreload:new j(["source","chunk"]),linkPrefetch:new j(["source","chunk"])};Te.set(E,N)}return N}constructor(E){super("import chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunk:N}=this;const{runtimeTemplate:R,chunkGraph:j,outputOptions:{importFunctionName:$,importMetaName:G}}=E;const Te=q.ensureChunkHandlers;const we=this._runtimeRequirements.has(q.baseURI);const Ie=this._runtimeRequirements.has(q.externalInstallChunk);const Ne=this._runtimeRequirements.has(q.ensureChunkHandlers);const Me=this._runtimeRequirements.has(q.onChunksLoaded);const Le=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const Be=j.getChunkConditionMap(N,ce);const je=_e(Be);const Ue=le(N,j);const ze=this.compilation.getPath(ae(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const We=Ee(ze,this.compilation.outputOptions.path,true);const Je=Le?`${q.hmrRuntimeStatePrefix}_module`:undefined;return ie.asString([we?ie.asString([`${q.baseURI} = new URL(${JSON.stringify(We)}, ${G}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Je?`${Je} = ${Je} || `:""}{`,ie.indent(Array.from(Ue,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Ne||Ie?`var installChunk = ${R.basicFunction("data",[R.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ie.indent([`if(${q.hasOwnProperty}(modules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ie.indent(["chunkId = ids[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Me?`${q.onChunksLoaded}();`:""])}`:"// no install chunk","",Ne?ie.asString([`${Te}.j = ${R.basicFunction("chunkId, promises",je!==false?ie.indent(["// import() chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[1]);"]),"} else {",ie.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = ${$}(${JSON.stringify(We)} + ${q.getChunkScriptFilename}(chunkId)).then(installChunk, ${R.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${R.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Ie?ie.asString([`${q.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?`${q.onChunksLoaded}.j = ${R.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}E.exports=ModuleChunkLoadingRuntimeModule},72380:E=>{"use strict";const formatPosition=E=>{if(E&&typeof E==="object"){if("line"in E&&"column"in E){return`${E.line}:${E.column}`}else if("line"in E){return`${E.line}:?`}}return""};const formatLocation=E=>{if(E&&typeof E==="object"){if("start"in E&&E.start&&"end"in E&&E.end){if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column==="number"&&E.start.line===E.end.line){return`${formatPosition(E.start)}-${E.end.column}`}else if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.start.column!=="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column!=="number"){return`${E.start.line}-${E.end.line}`}else{return`${formatPosition(E.start)}-${formatPosition(E.end)}`}}if("start"in E&&E.start){return formatPosition(E.start)}if("name"in E&&"index"in E){return`${E.name}[${E.index}]`}if("name"in E){return E.name}}return""};E.exports=formatLocation},49464:E=>{"use strict";var N=undefined;var R=undefined;var j=undefined;var $=undefined;var q=undefined;var G=undefined;var ie=undefined;E.exports=function(){var E={};var ae=R;var ce;var le=[];var _e=[];var Ee="idle";var Te;var we;var Ie;j=E;N.push((function(E){var N=E.module;var R=createRequire(E.require,E.id);N.hot=createModuleHotObject(E.id,N);N.parents=le;N.children=[];le=[];E.require=R}));q={};G={};function createRequire(E,N){var R=ae[N];if(!R)return E;var fn=function(j){if(R.hot.active){if(ae[j]){var $=ae[j].parents;if($.indexOf(N)===-1){$.push(N)}}else{le=[N];ce=j}if(R.children.indexOf(j)===-1){R.children.push(j)}}else{console.warn("[HMR] unexpected require("+j+") from disposed module "+N);le=[]}return E(j)};var createPropertyDescriptor=function(N){return{configurable:true,enumerable:true,get:function(){return E[N]},set:function(R){E[N]=R}}};for(var j in E){if(Object.prototype.hasOwnProperty.call(E,j)&&j!=="e"){Object.defineProperty(fn,j,createPropertyDescriptor(j))}}fn.e=function(N){return trackBlockingPromise(E.e(N))};return fn}function createModuleHotObject(N,R){var j=ce!==N;var $={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:j,_requireSelf:function(){le=R.parents.slice();ce=j?undefined:N;ie(N)},active:true,accept:function(E,N,R){if(E===undefined)$._selfAccepted=true;else if(typeof E==="function")$._selfAccepted=E;else if(typeof E==="object"&&E!==null){for(var j=0;j<E.length;j++){$._acceptedDependencies[E[j]]=N||function(){};$._acceptedErrorHandlers[E[j]]=R}}else{$._acceptedDependencies[E]=N||function(){};$._acceptedErrorHandlers[E]=R}},decline:function(E){if(E===undefined)$._selfDeclined=true;else if(typeof E==="object"&&E!==null)for(var N=0;N<E.length;N++)$._declinedDependencies[E[N]]=true;else $._declinedDependencies[E]=true},dispose:function(E){$._disposeHandlers.push(E)},addDisposeHandler:function(E){$._disposeHandlers.push(E)},removeDisposeHandler:function(E){var N=$._disposeHandlers.indexOf(E);if(N>=0)$._disposeHandlers.splice(N,1)},invalidate:function(){this._selfInvalidated=true;switch(Ee){case"idle":we=[];Object.keys(G).forEach((function(E){G[E](N,we)}));setStatus("ready");break;case"ready":Object.keys(G).forEach((function(E){G[E](N,we)}));break;case"prepare":case"check":case"dispose":case"apply":(Ie=Ie||[]).push(N);break;default:break}},check:hotCheck,apply:hotApply,status:function(E){if(!E)return Ee;_e.push(E)},addStatusHandler:function(E){_e.push(E)},removeStatusHandler:function(E){var N=_e.indexOf(E);if(N>=0)_e.splice(N,1)},data:E[N]};ce=undefined;return $}function setStatus(E){Ee=E;var N=[];for(var R=0;R<_e.length;R++)N[R]=_e[R].call(null,E);return Promise.all(N)}function trackBlockingPromise(E){switch(Ee){case"ready":setStatus("prepare");Te.push(E);waitForBlockingPromises((function(){return setStatus("ready")}));return E;case"prepare":Te.push(E);return E;default:return E}}function waitForBlockingPromises(E){if(Te.length===0)return E();var N=Te;Te=[];return Promise.all(N).then((function(){return waitForBlockingPromises(E)}))}function hotCheck(E){if(Ee!=="idle"){throw new Error("check() is only allowed in idle status")}return setStatus("check").then($).then((function(N){if(!N){return setStatus(applyInvalidatedModules()?"ready":"idle").then((function(){return null}))}return setStatus("prepare").then((function(){var R=[];Te=[];we=[];return Promise.all(Object.keys(q).reduce((function(E,j){q[j](N.c,N.r,N.m,E,we,R);return E}),[])).then((function(){return waitForBlockingPromises((function(){if(E){return internalApply(E)}else{return setStatus("ready").then((function(){return R}))}}))}))}))}))}function hotApply(E){if(Ee!=="ready"){return Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status")}))}return internalApply(E)}function internalApply(E){E=E||{};applyInvalidatedModules();var N=we.map((function(N){return N(E)}));we=undefined;var R=N.map((function(E){return E.error})).filter(Boolean);if(R.length>0){return setStatus("abort").then((function(){throw R[0]}))}var j=setStatus("dispose");N.forEach((function(E){if(E.dispose)E.dispose()}));var $=setStatus("apply");var q;var reportError=function(E){if(!q)q=E};var G=[];N.forEach((function(E){if(E.apply){var N=E.apply(reportError);if(N){for(var R=0;R<N.length;R++){G.push(N[R])}}}}));return Promise.all([j,$]).then((function(){if(q){return setStatus("fail").then((function(){throw q}))}if(Ie){return internalApply(E).then((function(E){G.forEach((function(N){if(E.indexOf(N)<0)E.push(N)}));return E}))}return setStatus("idle").then((function(){return G}))}))}function applyInvalidatedModules(){if(Ie){if(!we)we=[];Object.keys(G).forEach((function(E){Ie.forEach((function(N){G[E](N,we)}))}));Ie=undefined;return true}}}},79838:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class HotModuleReplacementRuntimeModule extends ${constructor(){super("hot module replacement",$.STAGE_BASIC)}generate(){return q.getFunctionContent(R(49464)).replace(/\$getFullHash\$/g,j.getFullHash).replace(/\$interceptModuleExecution\$/g,j.interceptModuleExecution).replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,j.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers)}}E.exports=HotModuleReplacementRuntimeModule},22215:E=>{"use strict";var N=undefined;var R=undefined;var j=undefined;var $=undefined;var q=undefined;var G=undefined;var ie=undefined;var ae=undefined;var ce=undefined;var le=undefined;E.exports=function(){var E;var _e;var Ee;var Te;function applyHandler(R){if(q)delete q.$key$Hmr;E=undefined;function getAffectedModuleEffects(E){var N=[E];var R={};var $=N.map((function(E){return{chain:[E],id:E}}));while($.length>0){var q=$.pop();var G=q.id;var ie=q.chain;var ae=j[G];if(!ae||ae.hot._selfAccepted&&!ae.hot._selfInvalidated)continue;if(ae.hot._selfDeclined){return{type:"self-declined",chain:ie,moduleId:G}}if(ae.hot._main){return{type:"unaccepted",chain:ie,moduleId:G}}for(var ce=0;ce<ae.parents.length;ce++){var le=ae.parents[ce];var _e=j[le];if(!_e)continue;if(_e.hot._declinedDependencies[G]){return{type:"declined",chain:ie.concat([le]),moduleId:G,parentId:le}}if(N.indexOf(le)!==-1)continue;if(_e.hot._acceptedDependencies[G]){if(!R[le])R[le]=[];addAllToSet(R[le],[G]);continue}delete R[le];N.push(le);$.push({chain:ie.concat([le]),id:le})}}return{type:"accepted",moduleId:E,outdatedModules:N,outdatedDependencies:R}}function addAllToSet(E,N){for(var R=0;R<N.length;R++){var j=N[R];if(E.indexOf(j)===-1)E.push(j)}}var ae={};var ce=[];var we={};var Ie=function warnUnexpectedRequire(E){console.warn("[HMR] unexpected require("+E.id+") to disposed module")};for(var Ne in _e){if(G(_e,Ne)){var Me=_e[Ne];var Le;if(Me){Le=getAffectedModuleEffects(Ne)}else{Le={type:"disposed",moduleId:Ne}}var Be=false;var je=false;var Ue=false;var ze="";if(Le.chain){ze="\nUpdate propagation: "+Le.chain.join(" -> ")}switch(Le.type){case"self-declined":if(R.onDeclined)R.onDeclined(Le);if(!R.ignoreDeclined)Be=new Error("Aborted because of self decline: "+Le.moduleId+ze);break;case"declined":if(R.onDeclined)R.onDeclined(Le);if(!R.ignoreDeclined)Be=new Error("Aborted because of declined dependency: "+Le.moduleId+" in "+Le.parentId+ze);break;case"unaccepted":if(R.onUnaccepted)R.onUnaccepted(Le);if(!R.ignoreUnaccepted)Be=new Error("Aborted because "+Ne+" is not accepted"+ze);break;case"accepted":if(R.onAccepted)R.onAccepted(Le);je=true;break;case"disposed":if(R.onDisposed)R.onDisposed(Le);Ue=true;break;default:throw new Error("Unexception type "+Le.type)}if(Be){return{error:Be}}if(je){we[Ne]=Me;addAllToSet(ce,Le.outdatedModules);for(Ne in Le.outdatedDependencies){if(G(Le.outdatedDependencies,Ne)){if(!ae[Ne])ae[Ne]=[];addAllToSet(ae[Ne],Le.outdatedDependencies[Ne])}}}if(Ue){addAllToSet(ce,[Le.moduleId]);we[Ne]=Ie}}}_e=undefined;var We=[];for(var Je=0;Je<ce.length;Je++){var Ve=ce[Je];var qe=j[Ve];if(qe&&(qe.hot._selfAccepted||qe.hot._main)&&we[Ve]!==Ie&&!qe.hot._selfInvalidated){We.push({module:Ve,require:qe.hot._requireSelf,errorHandler:qe.hot._selfAccepted})}}var He;return{dispose:function(){Ee.forEach((function(E){delete N[E]}));Ee=undefined;var E;var R=ce.slice();while(R.length>0){var $=R.pop();var q=j[$];if(!q)continue;var le={};var _e=q.hot._disposeHandlers;for(Je=0;Je<_e.length;Je++){_e[Je].call(null,le)}ie[$]=le;q.hot.active=false;delete j[$];delete ae[$];for(Je=0;Je<q.children.length;Je++){var Te=j[q.children[Je]];if(!Te)continue;E=Te.parents.indexOf($);if(E>=0){Te.parents.splice(E,1)}}}var we;for(var Ie in ae){if(G(ae,Ie)){q=j[Ie];if(q){He=ae[Ie];for(Je=0;Je<He.length;Je++){we=He[Je];E=q.children.indexOf(we);if(E>=0)q.children.splice(E,1)}}}}},apply:function(E){for(var N in we){if(G(we,N)){$[N]=we[N]}}for(var q=0;q<Te.length;q++){Te[q](le)}for(var ie in ae){if(G(ae,ie)){var _e=j[ie];if(_e){He=ae[ie];var Ee=[];var Ie=[];var Ne=[];for(var Me=0;Me<He.length;Me++){var Le=He[Me];var Be=_e.hot._acceptedDependencies[Le];var je=_e.hot._acceptedErrorHandlers[Le];if(Be){if(Ee.indexOf(Be)!==-1)continue;Ee.push(Be);Ie.push(je);Ne.push(Le)}}for(var Ue=0;Ue<Ee.length;Ue++){try{Ee[Ue].call(null,He)}catch(N){if(typeof Ie[Ue]==="function"){try{Ie[Ue](N,{moduleId:ie,dependencyId:Ne[Ue]})}catch(j){if(R.onErrored){R.onErrored({type:"accept-error-handler-errored",moduleId:ie,dependencyId:Ne[Ue],error:j,originalError:N})}if(!R.ignoreErrored){E(j);E(N)}}}else{if(R.onErrored){R.onErrored({type:"accept-errored",moduleId:ie,dependencyId:Ne[Ue],error:N})}if(!R.ignoreErrored){E(N)}}}}}}}for(var ze=0;ze<We.length;ze++){var Je=We[ze];var Ve=Je.module;try{Je.require(Ve)}catch(N){if(typeof Je.errorHandler==="function"){try{Je.errorHandler(N,{moduleId:Ve,module:j[Ve]})}catch(j){if(R.onErrored){R.onErrored({type:"self-accept-error-handler-errored",moduleId:Ve,error:j,originalError:N})}if(!R.ignoreErrored){E(j);E(N)}}}else{if(R.onErrored){R.onErrored({type:"self-accept-errored",moduleId:Ve,error:N})}if(!R.ignoreErrored){E(N)}}}}return ce}}}ce.$key$=function(E,N){if(!_e){_e={};Te=[];Ee=[];N.push(applyHandler)}if(!G(_e,E)){_e[E]=$[E]}};ae.$key$=function(j,$,ie,ae,ce,le){ce.push(applyHandler);E={};Ee=$;_e=ie.reduce((function(E,N){E[N]=false;return E}),{});Te=[];j.forEach((function(j){if(G(N,j)&&N[j]!==undefined){ae.push(R(j,le));E[j]=true}}));if(q){q.$key$Hmr=function(j,$){if(E&&!G(E,j)&&G(N,j)&&N[j]!==undefined){$.push(R(j));E[j]=true}}}}}},10639:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(98221);const q=R(28706);const G=R(53453);const ie=R(40674);const ae=R(76150);const ce=R(58159);const le=R(37313);const{registerNotSerializable:_e}=R(24568);const Ee=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N)}if(typeof E==="string"){const R=N.nameForCondition();return R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.nameForCondition();return R&&E.test(R)}return false};const Te=new Set(["javascript"]);class LazyCompilationDependency extends q{constructor(E){super();this.proxyModule=E}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}_e(LazyCompilationDependency);class LazyCompilationProxyModule extends G{constructor(E,N,R,j,$,q){super("lazy-compilation-proxy",E,N.layer);this.originalModule=N;this.request=R;this.client=j;this.data=$;this.active=q}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(E){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(E)}`}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.originalModule=N.originalModule;this.request=N.request;this.client=N.client;this.data=N.data;this.active=N.active}libIdent(E){return`${this.originalModule.libIdent(E)}!lazy-compilation-proxy`}needBuild(E,N){N(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(E,N,R,j,q){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const G=new le(this.client);this.addDependency(G);if(this.active){const E=new LazyCompilationDependency(this);const N=new $({});N.addDependency(E);this.addBlock(N)}q()}getSourceTypes(){return Te}size(E){return 200}codeGeneration({runtimeTemplate:E,chunkGraph:N,moduleGraph:R}){const $=new Map;const q=new Set;q.add(ae.module);const G=this.dependencies[0];const ie=R.getModule(G);const le=this.blocks[0];const _e=ce.asString([`var client = ${E.moduleExports({module:ie,chunkGraph:N,request:G.userRequest,runtimeRequirements:q})}`,`var data = ${JSON.stringify(this.data)};`]);const Ee=ce.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!le)}, module: module, onError: onError });`]);let Te;if(le){const j=le.dependencies[0];const $=R.getModule(j);Te=ce.asString([_e,`module.exports = ${E.moduleNamespacePromise({chunkGraph:N,block:le,module:$,request:this.request,strict:false,message:"import()",runtimeRequirements:q})};`,"if (module.hot) {",ce.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(N.getModuleId($))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",Ee])}else{Te=ce.asString([_e,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",ce.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",Ee])}$.set("javascript",new j(Te));return{sources:$,runtimeRequirements:q}}updateHash(E,N){super.updateHash(E,N);E.update(this.active?"active":"");E.update(JSON.stringify(this.data))}}_e(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ie{constructor(E){super();this._factory=E}create(E,N){const R=E.dependencies[0];N(null,{module:R.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:E,entries:N,imports:R,test:j}){this.backend=E;this.entries=N;this.imports=R;this.test=j}apply(E){let N;E.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((R,j)=>{if(N!==undefined)return j();const $=this.backend(E,((E,R)=>{if(E)return j(E);N=R;j()}));if($&&$.then){$.then((E=>{N=E;j()}),j)}}));E.hooks.thisCompilation.tap("LazyCompilationPlugin",((R,{normalModuleFactory:j})=>{j.hooks.module.tap("LazyCompilationPlugin",((R,j,$)=>{if($.dependencies.every((E=>Ee.has(E.type)||this.imports&&(E.type==="import()"||E.type==="import() context element")||this.entries&&E.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test($.request)&&checkTest(this.test,R)){const j=N.module(R);if(!j)return;const{client:q,data:G,active:ie}=j;return new LazyCompilationProxyModule(E.context,R,$.request,q,G,ie)}}));R.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));E.hooks.shutdown.tapAsync("LazyCompilationPlugin",(E=>{N.dispose(E)}))}}E.exports=LazyCompilationPlugin},64244:(E,N,R)=>{"use strict";E.exports=E=>(N,j)=>{const $=N.getInfrastructureLogger("LazyCompilationBackend");const q=new Map;const G="/lazy-compilation-using-";const ie=E.protocol==="https"||typeof E.server==="object"&&("key"in E.server||"pfx"in E.server);const ae=typeof E.server==="function"?E.server:(()=>{const N=ie?R(95687):R(13685);return N.createServer.bind(N,E.server)})();const ce=typeof E.listen==="function"?E.listen:N=>{let R=E.listen;if(typeof R==="object"&&!("port"in R))R={...R,port:undefined};N.listen(R)};const le=E.protocol||(ie?"https":"http");const requestListener=(E,R)=>{const j=E.url.slice(G.length).split("@");E.socket.on("close",(()=>{setTimeout((()=>{for(const E of j){const N=q.get(E)||0;q.set(E,N-1);if(N===1){$.log(`${E} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));E.socket.setNoDelay(true);R.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});R.write("\n");let ie=false;for(const E of j){const N=q.get(E)||0;q.set(E,N+1);if(N===0){$.log(`${E} is now in use and will be compiled.`);ie=true}}if(ie&&N.watching)N.watching.invalidate()};const _e=ae();_e.on("request",requestListener);let Ee=false;const Te=new Set;_e.on("connection",(E=>{Te.add(E);E.on("close",(()=>{Te.delete(E)}));if(Ee)E.destroy()}));_e.on("clientError",(E=>{if(E.message!=="Server is disposing")$.warn(E)}));_e.on("listening",(N=>{if(N)return j(N);const R=_e.address();if(typeof R==="string")throw new Error("addr must not be a string");const ie=R.address==="::"||R.address==="0.0.0.0"?`${le}://localhost:${R.port}`:R.family==="IPv6"?`${le}://[${R.address}]:${R.port}`:`${le}://${R.address}:${R.port}`;$.log(`Server-Sent-Events server for lazy compilation open at ${ie}.`);j(null,{dispose(E){Ee=true;_e.off("request",requestListener);_e.close((N=>{E(N)}));for(const E of Te){E.destroy(new Error("Server is disposing"))}},module(N){const R=`${encodeURIComponent(N.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const j=q.get(R)>0;return{client:`${E.client}?${encodeURIComponent(ie+G)}`,data:R,active:j}}})}));ce(_e)}},30484:(E,N,R)=>{"use strict";const{find:j}=R(26221);const{compareModulesByPreOrderIndexOrIdentifier:$,compareModulesByPostOrderIndexOrIdentifier:q}=R(68673);class ChunkModuleIdRangePlugin{constructor(E){this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("ChunkModuleIdRangePlugin",(E=>{const R=E.moduleGraph;E.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(G=>{const ie=E.chunkGraph;const ae=j(E.chunks,(E=>E.name===N.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${N.name}"' was not found`)}let ce;if(N.order){let E;switch(N.order){case"index":case"preOrderIndex":E=$(R);break;case"index2":case"postOrderIndex":E=q(R);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}ce=ie.getOrderedChunkModules(ae,E)}else{ce=Array.from(G).filter((E=>ie.isModuleInChunk(E,ae))).sort($(R))}let le=N.start||0;for(let E=0;E<ce.length;E++){const R=ce[E];if(R.needId&&ie.getModuleId(R)===null){ie.setModuleId(R,le++)}if(N.end&&le>N.end)break}}))}))}}E.exports=ChunkModuleIdRangePlugin},90444:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{getFullChunkName:$,getUsedChunkIds:q,assignDeterministicIds:G}=R(30328);class DeterministicChunkIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicChunkIdsPlugin",(N=>{N.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(R=>{const ie=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const ce=this.options.maxLength||3;const le=j(ie);const _e=q(N);G(Array.from(R).filter((E=>E.id===null)),(N=>$(N,ie,ae,E.root)),le,((E,N)=>{const R=_e.size;_e.add(`${N}`);if(R===_e.size)return false;E.id=N;E.ids=[N];return true}),[Math.pow(10,ce)],10,_e.size)}))}))}}E.exports=DeterministicChunkIdsPlugin},35579:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const{getUsedModuleIds:$,getFullModuleName:q,assignDeterministicIds:G}=R(30328);class DeterministicModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicModuleIdsPlugin",(N=>{N.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(R=>{const ie=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const ce=this.options.maxLength||3;const le=$(N);G(Array.from(R).filter((E=>{if(!E.needId)return false;if(ie.getNumberOfModuleChunks(E)===0)return false;return ie.getModuleId(E)===null})),(N=>q(N,ae,E.root)),j(N.moduleGraph),((E,N)=>{const R=le.size;le.add(`${N}`);if(R===le.size)return false;ie.setModuleId(E,N);return true}),[Math.pow(10,ce)],10,le.size)}))}))}}E.exports=DeterministicModuleIdsPlugin},35853:(E,N,R)=>{"use strict";E=R.nmd(E);const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const $=R(35817);const q=R(35891);const{getUsedModuleIds:G,getFullModuleName:ie}=R(30328);const ae=$(R(42959),(()=>R(39586)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(E={}){ae(E);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...E}}apply(N){const R=this.options;N.hooks.compilation.tap("HashedModuleIdsPlugin",($=>{$.hooks.moduleIds.tap("HashedModuleIdsPlugin",(ae=>{const ce=$.chunkGraph;const le=this.options.context?this.options.context:N.context;const _e=G($);const Ee=Array.from(ae).filter((N=>{if(!N.needId)return false;if(ce.getNumberOfModuleChunks(N)===0)return false;return ce.getModuleId(E)===null})).sort(j($.moduleGraph));for(const E of Ee){const j=ie(E,le,N.root);const $=q(R.hashFunction);$.update(j||"");const G=$.digest(R.hashDigest);let ae=R.hashDigestLength;while(_e.has(G.substr(0,ae)))ae++;const Ee=G.substr(0,ae);ce.setModuleId(E,Ee);_e.add(Ee)}}))}))}}E.exports=HashedModuleIdsPlugin},30328:(E,N,R)=>{"use strict";const j=R(35891);const{makePathsRelative:$}=R(49197);const q=R(12631);const getHash=(E,N,R)=>{const $=j(R);$.update(E);const q=$.digest("hex");return q.substr(0,N)};const avoidNumber=E=>{if(E.length>21)return E;const N=E.charCodeAt(0);if(N<49){if(N!==45)return E}else if(N>57){return E}if(E===+E+""){return`_${E}`}return E};const requestToId=E=>E.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");N.requestToId=requestToId;const shortenLongString=(E,N,R)=>{if(E.length<100)return E;return E.slice(0,100-6-N.length)+N+getHash(E,6,R)};const getShortModuleName=(E,N,R)=>{const j=E.libIdent({context:N,associatedObjectForCache:R});if(j)return avoidNumber(j);const q=E.nameForCondition();if(q)return avoidNumber($(N,q,R));return""};N.getShortModuleName=getShortModuleName;const getLongModuleName=(E,N,R,j,$)=>{const q=getFullModuleName(N,R,$);return`${E}?${getHash(q,4,j)}`};N.getLongModuleName=getLongModuleName;const getFullModuleName=(E,N,R)=>$(N,E.identifier(),R);N.getFullModuleName=getFullModuleName;const getShortChunkName=(E,N,R,j,$,q)=>{const G=N.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,R,q))));E.idNameHints.sort();const ae=Array.from(E.idNameHints).concat(ie).filter(Boolean).join(j);return shortenLongString(ae,j,$)};N.getShortChunkName=getShortChunkName;const getLongChunkName=(E,N,R,j,$,q)=>{const G=N.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,R,q))));const ae=G.map((E=>requestToId(getLongModuleName("",E,R,$,q))));E.idNameHints.sort();const ce=Array.from(E.idNameHints).concat(ie,ae).filter(Boolean).join(j);return shortenLongString(ce,j,$)};N.getLongChunkName=getLongChunkName;const getFullChunkName=(E,N,R,j)=>{if(E.name)return E.name;const q=N.getChunkRootModules(E);const G=q.map((E=>$(R,E.identifier(),j)));return G.join()};N.getFullChunkName=getFullChunkName;const addToMapOfItems=(E,N,R)=>{let j=E.get(N);if(j===undefined){j=[];E.set(N,j)}j.push(R)};const getUsedModuleIds=E=>{const N=E.chunkGraph;const R=new Set;if(E.usedModuleIds){for(const N of E.usedModuleIds){R.add(N+"")}}for(const j of E.modules){const E=N.getModuleId(j);if(E!==null){R.add(E+"")}}return R};N.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=E=>{const N=new Set;if(E.usedChunkIds){for(const R of E.usedChunkIds){N.add(R+"")}}for(const R of E.chunks){const E=R.id;if(E!==null){N.add(E+"")}}return N};N.getUsedChunkIds=getUsedChunkIds;const assignNames=(E,N,R,j,$,q)=>{const G=new Map;for(const R of E){const E=N(R);addToMapOfItems(G,E,R)}const ie=new Map;for(const[E,N]of G){if(N.length>1||!E){for(const j of N){const N=R(j,E);addToMapOfItems(ie,N,j)}}else{addToMapOfItems(ie,E,N[0])}}const ae=[];for(const[E,N]of ie){if(!E){for(const E of N){ae.push(E)}}else if(N.length===1&&!$.has(E)){q(N[0],E);$.add(E)}else{N.sort(j);let R=0;for(const j of N){while(ie.has(E+R)&&$.has(E+R))R++;q(j,E+R);$.add(E+R);R++}}}ae.sort(j);return ae};N.assignNames=assignNames;const assignDeterministicIds=(E,N,R,j,$=[10],G=10,ie=0)=>{E.sort(R);const ae=Math.min(Math.ceil(E.length*20)+ie,Number.MAX_SAFE_INTEGER);let ce=0;let le=$[ce];while(le<ae){ce++;if(ce<$.length){le=Math.min($[ce],Number.MAX_SAFE_INTEGER)}else{le=Math.min(le*G,Number.MAX_SAFE_INTEGER)}}for(const R of E){const E=N(R);let $;let G=0;do{$=q(E+G++,le)}while(!j(R,$))}};N.assignDeterministicIds=assignDeterministicIds;const assignAscendingModuleIds=(E,N)=>{const R=N.chunkGraph;const j=getUsedModuleIds(N);let $=0;let q;if(j.size>0){q=E=>{if(R.getModuleId(E)===null){while(j.has($+""))$++;R.setModuleId(E,$++)}}}else{q=E=>{if(R.getModuleId(E)===null){R.setModuleId(E,$++)}}}for(const N of E){q(N)}};N.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(E,N)=>{const R=getUsedChunkIds(N);let j=0;if(R.size>0){for(const N of E){if(N.id===null){while(R.has(j+""))j++;N.id=j;N.ids=[j];j++}}}else{for(const N of E){if(N.id===null){N.id=j;N.ids=[j];j++}}}};N.assignAscendingChunkIds=assignAscendingChunkIds},64779:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{getShortChunkName:$,getLongChunkName:q,assignNames:G,getUsedChunkIds:ie,assignAscendingChunkIds:ae}=R(30328);class NamedChunkIdsPlugin{constructor(E){this.delimiter=E&&E.delimiter||"-";this.context=E&&E.context}apply(E){E.hooks.compilation.tap("NamedChunkIdsPlugin",(N=>{const{hashFunction:R}=N.outputOptions;N.hooks.chunkIds.tap("NamedChunkIdsPlugin",(ce=>{const le=N.chunkGraph;const _e=this.context?this.context:E.context;const Ee=this.delimiter;const Te=G(Array.from(ce).filter((E=>{if(E.name){E.id=E.name;E.ids=[E.name]}return E.id===null})),(N=>$(N,le,_e,Ee,R,E.root)),(N=>q(N,le,_e,Ee,R,E.root)),j(le),ie(N),((E,N)=>{E.id=N;E.ids=[N]}));if(Te.length>0){ae(Te,N)}}))}))}}E.exports=NamedChunkIdsPlugin},9297:(E,N,R)=>{"use strict";const{compareModulesByIdentifier:j}=R(68673);const{getShortModuleName:$,getLongModuleName:q,assignNames:G,getUsedModuleIds:ie,assignAscendingModuleIds:ae}=R(30328);class NamedModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){const{root:N}=E;E.hooks.compilation.tap("NamedModuleIdsPlugin",(R=>{const{hashFunction:ce}=R.outputOptions;R.hooks.moduleIds.tap("NamedModuleIdsPlugin",(le=>{const _e=R.chunkGraph;const Ee=this.options.context?this.options.context:E.context;const Te=G(Array.from(le).filter((E=>{if(!E.needId)return false;if(_e.getNumberOfModuleChunks(E)===0)return false;return _e.getModuleId(E)===null})),(E=>$(E,Ee,N)),((E,R)=>q(R,E,Ee,ce,N)),j,ie(R),((E,N)=>_e.setModuleId(E,N)));if(Te.length>0){ae(Te,R)}}))}))}}E.exports=NamedModuleIdsPlugin},18298:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{assignAscendingChunkIds:$}=R(30328);class NaturalChunkIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(N=>{const R=E.chunkGraph;const q=j(R);const G=Array.from(N).sort(q);$(G,E)}))}))}}E.exports=NaturalChunkIdsPlugin},97781:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const{assignAscendingModuleIds:$}=R(30328);class NaturalModuleIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(N=>{const R=E.chunkGraph;const q=Array.from(N).filter((E=>E.needId&&R.getNumberOfModuleChunks(E)>0&&R.getModuleId(E)===null)).sort(j(E.moduleGraph));$(q,E)}))}))}}E.exports=NaturalModuleIdsPlugin},86169:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const $=R(35817);const{assignAscendingChunkIds:q}=R(30328);const G=$(R(18511),(()=>R(9659)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const N=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(R=>{const $=E.chunkGraph;const G=new Map;const ie=j($);for(const E of R){let N=0;for(const R of E.groupsIterable){for(const E of R.parentsIterable){if(E.isInitial())N++}}G.set(E,N)}const ae=Array.from(R).sort(((E,R)=>{if(N){const N=G.get(E);const j=G.get(R);if(N>j)return-1;if(N<j)return 1}const j=E.getNumberOfGroups();const $=R.getNumberOfGroups();if(j>$)return-1;if(j<$)return 1;return ie(E,R)}));q(ae,E)}))}))}}E.exports=OccurrenceChunkIdsPlugin},76059:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const $=R(35817);const{assignAscendingModuleIds:q}=R(30328);const G=$(R(52042),(()=>R(37931)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const N=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(E=>{const R=E.moduleGraph;E.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",($=>{const G=E.chunkGraph;const ie=Array.from($).filter((E=>E.needId&&G.getNumberOfModuleChunks(E)>0&&G.getModuleId(E)===null));const ae=new Map;const ce=new Map;const le=new Map;const _e=new Map;for(const E of ie){let N=0;let R=0;for(const j of G.getModuleChunksIterable(E)){if(j.canBeInitial())N++;if(G.isEntryModuleInChunk(E,j))R++}le.set(E,N);_e.set(E,R)}const countOccursInEntry=E=>{let N=0;for(const[j,$]of R.getIncomingConnectionsByOriginModule(E)){if(!j)continue;if(!$.some((E=>E.isTargetActive(undefined))))continue;N+=le.get(j)}return N};const countOccurs=E=>{let N=0;for(const[j,$]of R.getIncomingConnectionsByOriginModule(E)){if(!j)continue;const E=G.getNumberOfModuleChunks(j);for(const R of $){if(!R.isTargetActive(undefined))continue;if(!R.dependency)continue;const j=R.dependency.getNumberOfIdOccurrences();if(j===0)continue;N+=j*E}}return N};if(N){for(const E of ie){const N=countOccursInEntry(E)+le.get(E)+_e.get(E);ae.set(E,N)}}for(const E of $){const N=countOccurs(E)+G.getNumberOfModuleChunks(E)+_e.get(E);ce.set(E,N)}const Ee=j(E.moduleGraph);ie.sort(((E,R)=>{if(N){const N=ae.get(E);const j=ae.get(R);if(N>j)return-1;if(N<j)return 1}const j=ce.get(E);const $=ce.get(R);if(j>$)return-1;if(j<$)return 1;return Ee(E,R)}));q(ie,E)}))}))}}E.exports=OccurrenceModuleIdsPlugin},86443:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const lazyFunction=E=>{const N=$(E);const f=(...E)=>N()(...E);return f};const mergeExports=(E,N)=>{const R=Object.getOwnPropertyDescriptors(N);for(const N of Object.keys(R)){const j=R[N];if(j.get){const R=j.get;Object.defineProperty(E,N,{configurable:false,enumerable:true,get:$(R)})}else if(typeof j.value==="object"){Object.defineProperty(E,N,{configurable:false,enumerable:true,writable:false,value:mergeExports({},j.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(E)};const q=lazyFunction((()=>R(2982)));E.exports=mergeExports(q,{get webpack(){return R(2982)},get validate(){const E=R(63221);const N=$((()=>{const E=R(33316);const N=R(46312);return R=>E(N,R)}));return R=>{if(!E(R))N()(R)}},get validateSchema(){const E=R(33316);return E},get version(){return R(37589).i8},get cli(){return R(61634)},get AutomaticPrefetchPlugin(){return R(20383)},get AsyncDependenciesBlock(){return R(98221)},get BannerPlugin(){return R(58779)},get Cache(){return R(54725)},get Chunk(){return R(62433)},get ChunkGraph(){return R(45137)},get CleanPlugin(){return R(61666)},get Compilation(){return R(3080)},get Compiler(){return R(63076)},get ConcatenationScope(){return R(77294)},get ContextExclusionPlugin(){return R(51709)},get ContextReplacementPlugin(){return R(26552)},get DefinePlugin(){return R(24820)},get DelegatedPlugin(){return R(82354)},get Dependency(){return R(28706)},get DllPlugin(){return R(73887)},get DllReferencePlugin(){return R(83515)},get DynamicEntryPlugin(){return R(85227)},get EntryOptionPlugin(){return R(64699)},get EntryPlugin(){return R(59674)},get EnvironmentPlugin(){return R(64856)},get EvalDevToolModulePlugin(){return R(91331)},get EvalSourceMapDevToolPlugin(){return R(23641)},get ExternalModule(){return R(16734)},get ExternalsPlugin(){return R(61050)},get Generator(){return R(36253)},get HotUpdateChunk(){return R(22352)},get HotModuleReplacementPlugin(){return R(79972)},get IgnorePlugin(){return R(69276)},get JavascriptModulesPlugin(){return j.deprecate((()=>R(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return R(77750)},get LibraryTemplatePlugin(){return j.deprecate((()=>R(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return R(19674)},get LoaderTargetPlugin(){return R(97736)},get Module(){return R(53453)},get ModuleFilenameHelpers(){return R(70354)},get ModuleGraph(){return R(75412)},get ModuleGraphConnection(){return R(79900)},get NoEmitOnErrorsPlugin(){return R(66962)},get NormalModule(){return R(53520)},get NormalModuleReplacementPlugin(){return R(92234)},get MultiCompiler(){return R(63433)},get Parser(){return R(2172)},get PrefetchPlugin(){return R(13125)},get ProgressPlugin(){return R(52923)},get ProvidePlugin(){return R(40313)},get RuntimeGlobals(){return R(76150)},get RuntimeModule(){return R(66804)},get SingleEntryPlugin(){return j.deprecate((()=>R(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return R(2e4)},get Stats(){return R(10140)},get Template(){return R(58159)},get UsageState(){return R(76632).UsageState},get WatchIgnorePlugin(){return R(91265)},get WebpackError(){return R(81627)},get WebpackOptionsApply(){return R(81721)},get WebpackOptionsDefaulter(){return j.deprecate((()=>R(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return R(15235).ValidationError},get ValidationError(){return R(15235).ValidationError},cache:{get MemoryCachePlugin(){return R(47786)}},config:{get getNormalizedWebpackOptions(){return R(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return R(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return R(79983)},get ConstDependency(){return R(66298)},get NullDependency(){return R(12197)}},ids:{get ChunkModuleIdRangePlugin(){return R(30484)},get NaturalModuleIdsPlugin(){return R(97781)},get OccurrenceModuleIdsPlugin(){return R(76059)},get NamedModuleIdsPlugin(){return R(9297)},get DeterministicChunkIdsPlugin(){return R(90444)},get DeterministicModuleIdsPlugin(){return R(35579)},get NamedChunkIdsPlugin(){return R(64779)},get OccurrenceChunkIdsPlugin(){return R(86169)},get HashedModuleIdsPlugin(){return R(35853)}},javascript:{get EnableChunkLoadingPlugin(){return R(50369)},get JavascriptModulesPlugin(){return R(18161)},get JavascriptParser(){return R(3711)}},optimize:{get AggressiveMergingPlugin(){return R(61332)},get AggressiveSplittingPlugin(){return j.deprecate((()=>R(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return R(58018)},get LimitChunkCountPlugin(){return R(92922)},get MinChunkSizePlugin(){return R(52383)},get ModuleConcatenationPlugin(){return R(35442)},get RealContentHashPlugin(){return R(30699)},get RuntimeChunkPlugin(){return R(4674)},get SideEffectsFlagPlugin(){return R(63410)},get SplitChunksPlugin(){return R(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return R(9609)},get LoadScriptRuntimeModule(){return R(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return R(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return R(52687)},get FetchCompileWasmPlugin(){return R(71100)},get JsonpChunkLoadingRuntimeModule(){return R(4038)},get JsonpTemplatePlugin(){return R(58421)}},webworker:{get WebWorkerTemplatePlugin(){return R(67439)}},node:{get NodeEnvironmentPlugin(){return R(93632)},get NodeSourcePlugin(){return R(92662)},get NodeTargetPlugin(){return R(84980)},get NodeTemplatePlugin(){return R(91591)},get ReadFileCompileWasmPlugin(){return R(71049)}},electron:{get ElectronTargetPlugin(){return R(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return R(82422)}},library:{get AbstractLibraryPlugin(){return R(9786)},get EnableLibraryPlugin(){return R(13984)}},container:{get ContainerPlugin(){return R(10419)},get ContainerReferencePlugin(){return R(68839)},get ModuleFederationPlugin(){return R(8019)},get scope(){return R(97264).scope}},sharing:{get ConsumeSharedPlugin(){return R(71968)},get ProvideSharedPlugin(){return R(48151)},get SharePlugin(){return R(16471)},get scope(){return R(97264).scope}},debug:{get ProfilingPlugin(){return R(26802)}},util:{get createHash(){return R(35891)},get comparators(){return R(68673)},get runtime(){return R(37416)},get serialization(){return R(24568)},get cleverMerge(){return R(90149).cachedCleverMerge},get LazySet(){return R(83379)}},get sources(){return R(48135)},experiments:{schemes:{get HttpUriPlugin(){return R(7201)}}}})},41113:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$,RawSource:q}=R(48135);const{RuntimeGlobals:G}=R(86443);const ie=R(22352);const ae=R(58159);const{getCompilationHooks:ce}=R(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=R(13085);class ArrayPushCallbackChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;if(R.getNumberOfEntryModules(E)>0){N.add(G.onChunksLoaded);N.add(G.require)}N.add(G.chunkCallback)}));const N=ce(E);N.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((R,ce)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:Te}=ce;const we=_e instanceof ie?_e:null;const Ie=Te.outputOptions.globalObject;const Ne=new j;const Me=Ee.getChunkRuntimeModulesInOrder(_e);if(we){const E=Te.outputOptions.hotUpdateGlobal;Ne.add(`${Ie}[${JSON.stringify(E)}](`);Ne.add(`${JSON.stringify(_e.id)},`);Ne.add(R);if(Me.length>0){Ne.add(",\n");const E=ae.renderChunkRuntimeModules(Me,ce);Ne.add(E)}Ne.add(")")}else{const ie=Te.outputOptions.chunkLoadingGlobal;Ne.add(`(${Ie}[${JSON.stringify(ie)}] = ${Ie}[${JSON.stringify(ie)}] || []).push([`);Ne.add(`${JSON.stringify(_e.ids)},`);Ne.add(R);const we=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(Me.length>0||we.length>0){const R=new j((Te.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n");if(Me.length>0){R.add(ae.renderRuntimeModules(Me,{...ce,codeGenerationResults:E.codeGenerationResults}))}if(we.length>0){const E=new q(le(Ee,Te,we,_e,true));R.add(N.renderStartup.call(E,we[we.length-1][0],{...ce,inlined:false}));if(Ee.getChunkRuntimeRequirements(_e).has(G.returnExportsFromRuntime)){R.add("return __webpack_exports__;\n")}}R.add("}\n");Ne.add(",\n");Ne.add(new $("/******/ ",R))}Ne.add("])")}return Ne}));N.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((E,N,{chunkGraph:R,runtimeTemplate:j})=>{if(E.hasRuntime())return;N.update(`ArrayPushCallbackChunkFormatPlugin1${j.outputOptions.chunkLoadingGlobal}${j.outputOptions.hotUpdateGlobal}${j.outputOptions.globalObject}`);const $=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));_e(N,R,$,E)}))}))}}E.exports=ArrayPushCallbackChunkFormatPlugin},87250:E=>{"use strict";const N=0;const R=1;const j=2;const $=3;const q=4;const G=5;const ie=6;const ae=7;const ce=8;const le=9;const _e=10;const Ee=11;const Te=12;const we=13;class BasicEvaluatedExpression{constructor(){this.type=N;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===N}isNull(){return this.type===j}isUndefined(){return this.type===R}isString(){return this.type===$}isNumber(){return this.type===q}isBigInt(){return this.type===we}isBoolean(){return this.type===G}isRegExp(){return this.type===ie}isConditional(){return this.type===ae}isArray(){return this.type===ce}isConstArray(){return this.type===le}isIdentifier(){return this.type===_e}isWrapped(){return this.type===Ee}isTemplateString(){return this.type===Te}isPrimitiveType(){switch(this.type){case R:case j:case $:case q:case G:case we:case Ee:case Te:return true;case ie:case ce:case le:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case R:case j:case $:case q:case G:case ie:case le:case we:return true;default:return false}}asCompileTimeValue(){switch(this.type){case R:return undefined;case j:return null;case $:return this.string;case q:return this.number;case G:return this.bool;case ie:return this.regExp;case le:return this.array;case we:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const E=this.asString();if(typeof E==="string")return E!==""}return undefined}asNullish(){const E=this.isNullish();if(E===true||this.isNull()||this.isUndefined())return true;if(E===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let E=[];for(const N of this.items){const R=N.asString();if(R===undefined)return undefined;E.push(R)}return`${E}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let E="";for(const N of this.parts){const R=N.asString();if(R===undefined)return undefined;E+=R}return E}return undefined}setString(E){this.type=$;this.string=E;this.sideEffects=false;return this}setUndefined(){this.type=R;this.sideEffects=false;return this}setNull(){this.type=j;this.sideEffects=false;return this}setNumber(E){this.type=q;this.number=E;this.sideEffects=false;return this}setBigInt(E){this.type=we;this.bigint=E;this.sideEffects=false;return this}setBoolean(E){this.type=G;this.bool=E;this.sideEffects=false;return this}setRegExp(E){this.type=ie;this.regExp=E;this.sideEffects=false;return this}setIdentifier(E,N,R){this.type=_e;this.identifier=E;this.rootInfo=N;this.getMembers=R;this.sideEffects=true;return this}setWrapped(E,N,R){this.type=Ee;this.prefix=E;this.postfix=N;this.wrappedInnerExpressions=R;this.sideEffects=true;return this}setOptions(E){this.type=ae;this.options=E;this.sideEffects=true;return this}addOptions(E){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const N of E){this.options.push(N)}return this}setItems(E){this.type=ce;this.items=E;this.sideEffects=E.some((E=>E.couldHaveSideEffects()));return this}setArray(E){this.type=le;this.array=E;this.sideEffects=false;return this}setTemplateString(E,N,R){this.type=Te;this.quasis=E;this.parts=N;this.templateStringKind=R;this.sideEffects=N.some((E=>E.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(E){this.nullish=E;if(E)return this.setFalsy();return this}setRange(E){this.range=E;return this}setSideEffects(E=true){this.sideEffects=E;return this}setExpression(E){this.expression=E;return this}}BasicEvaluatedExpression.isValidRegExpFlags=E=>{const N=E.length;if(N===0)return true;if(N>4)return false;let R=0;for(let j=0;j<N;j++)switch(E.charCodeAt(j)){case 103:if(R&8)return false;R|=8;break;case 105:if(R&4)return false;R|=4;break;case 109:if(R&2)return false;R|=2;break;case 121:if(R&1)return false;R|=1;break;default:return false}return true};E.exports=BasicEvaluatedExpression},77314:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(76150);const G=R(58159);const{getChunkFilenameTemplate:ie,getCompilationHooks:ae}=R(18161);const{generateEntryStartup:ce,updateHashForEntryStartup:le}=R(13085);class CommonJsChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;if(R.getNumberOfEntryModules(E)>0){N.add(q.require);N.add(q.startupEntrypoint);N.add(q.externalInstallChunk)}}));const N=ae(E);N.renderChunk.tap("CommonJsChunkFormatPlugin",((R,ae)=>{const{chunk:le,chunkGraph:_e,runtimeTemplate:Ee}=ae;const Te=new j;Te.add(`exports.id = ${JSON.stringify(le.id)};\n`);Te.add(`exports.ids = ${JSON.stringify(le.ids)};\n`);Te.add(`exports.modules = `);Te.add(R);Te.add(";\n");const we=_e.getChunkRuntimeModulesInOrder(le);if(we.length>0){Te.add("exports.runtime =\n");Te.add(G.renderChunkRuntimeModules(we,ae))}const Ie=Array.from(_e.getChunkEntryModulesWithChunkGroupIterable(le));if(Ie.length>0){const R=Ie[0][1].getRuntimeChunk();const G=E.getPath(ie(le,E.outputOptions),{chunk:le,contentHashType:"javascript"}).split("/");const we=E.getPath(ie(R,E.outputOptions),{chunk:R,contentHashType:"javascript"}).split("/");G.pop();while(G.length>0&&we.length>0&&G[0]===we[0]){G.shift();we.shift()}const Ne=(G.length>0?"../".repeat(G.length):"./")+we.join("/");const Me=new j;Me.add(`(${Ee.supportsArrowFunction()?"() => ":"function() "}{\n`);Me.add("var exports = {};\n");Me.add(Te);Me.add(";\n\n// load runtime\n");Me.add(`var __webpack_require__ = require(${JSON.stringify(Ne)});\n`);Me.add(`${q.externalInstallChunk}(exports);\n`);const Le=new $(ce(_e,Ee,Ie,le,false));Me.add(N.renderStartup.call(Le,Ie[Ie.length-1][0],{...ae,inlined:false}));Me.add("\n})()");return Me}return Te}));N.chunkHash.tap("CommonJsChunkFormatPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;N.update("CommonJsChunkFormatPlugin");N.update("1");const j=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));le(N,R,j,E)}))}))}}E.exports=CommonJsChunkFormatPlugin},50369:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableChunkLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Chunk loading type "${N}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){switch(N){case"jsonp":{const N=R(76853);(new N).apply(E);break}case"import-scripts":{const N=R(82779);(new N).apply(E);break}case"require":{const N=R(82827);new N({asyncChunkLoading:false}).apply(E);break}case"async-node":{const N=R(82827);new N({asyncChunkLoading:true}).apply(E);break}case"import":{const N=R(90662);(new N).apply(E);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${N}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableChunkLoadingPlugin},99371:(E,N,R)=>{"use strict";const j=R(73837);const{RawSource:$,ReplaceSource:q}=R(48135);const G=R(36253);const ie=R(63272);const ae=R(54290);const ce=j.deprecate(((E,N,R)=>E.getInitFragments(N,R)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const le=new Set(["javascript"]);class JavascriptGenerator extends G{getTypes(E){return le}getSize(E,N){const R=E.originalSource();if(!R){return 39}return R.size()}getConcatenationBailoutReason(E,N){if(!E.buildMeta||E.buildMeta.exportsType!=="namespace"||E.presentationalDependencies===undefined||!E.presentationalDependencies.some((E=>E instanceof ae))){return"Module is not an ECMAScript module"}if(E.buildInfo&&E.buildInfo.moduleConcatenationBailout){return`Module uses ${E.buildInfo.moduleConcatenationBailout}`}}generate(E,N){const R=E.originalSource();if(!R){return new $("throw new Error('No source available');")}const j=new q(R);const G=[];this.sourceModule(E,G,j,N);return ie.addToSource(j,G,N)}sourceModule(E,N,R,j){for(const $ of E.dependencies){this.sourceDependency(E,$,N,R,j)}if(E.presentationalDependencies!==undefined){for(const $ of E.presentationalDependencies){this.sourceDependency(E,$,N,R,j)}}for(const $ of E.blocks){this.sourceBlock(E,$,N,R,j)}}sourceBlock(E,N,R,j,$){for(const q of N.dependencies){this.sourceDependency(E,q,R,j,$)}for(const q of N.blocks){this.sourceBlock(E,q,R,j,$)}}sourceDependency(E,N,R,j,$){const q=N.constructor;const G=$.dependencyTemplates.get(q);if(!G){throw new Error("No template for dependency: "+N.constructor.name)}const ie={runtimeTemplate:$.runtimeTemplate,dependencyTemplates:$.dependencyTemplates,moduleGraph:$.moduleGraph,chunkGraph:$.chunkGraph,module:E,runtime:$.runtime,runtimeRequirements:$.runtimeRequirements,concatenationScope:$.concatenationScope,initFragments:R};G.apply(N,j,ie);if("getInitFragments"in G){const E=ce(G,N,ie);if(E){for(const N of E){R.push(N)}}}}}E.exports=JavascriptGenerator},18161:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j,SyncHook:$,SyncBailHook:q}=R(92960);const G=R(26144);const{ConcatSource:ie,OriginalSource:ae,PrefixSource:ce,RawSource:le,CachedSource:_e}=R(48135);const Ee=R(3080);const{tryRunOrWebpackError:Te}=R(3728);const we=R(22352);const Ie=R(63272);const Ne=R(76150);const Me=R(58159);const{last:Le,someInIterable:Be}=R(11539);const je=R(14146);const{compareModulesByIdentifier:Ue}=R(68673);const ze=R(35891);const{intersectRuntime:We}=R(37416);const Je=R(99371);const Ve=R(3711);const chunkHasJs=(E,N)=>{if(N.getNumberOfEntryModules(E)>0)return true;return N.getChunkModulesIterableBySourceType(E,"javascript")?true:false};const printGeneratedCodeForStack=(E,N)=>{const R=N.split("\n");const j=`${R.length}`.length;return`\n\nGenerated code for ${E.identifier()}\n${R.map(((E,N,R)=>{const $=`${N+1}`;return`${" ".repeat(j-$.length)}${$} | ${E}`})).join("\n")}`};const qe=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(E){if(!(E instanceof Ee)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=qe.get(E);if(N===undefined){N={renderModuleContent:new j(["source","module","renderContext"]),renderModuleContainer:new j(["source","module","renderContext"]),renderModulePackage:new j(["source","module","renderContext"]),render:new j(["source","renderContext"]),renderContent:new j(["source","renderContext"]),renderStartup:new j(["source","module","startupRenderContext"]),renderChunk:new j(["source","renderContext"]),renderMain:new j(["source","renderContext"]),renderRequire:new j(["code","renderContext"]),inlineInRuntimeBailout:new q(["module","renderContext"]),embedInRuntimeBailout:new q(["module","renderContext"]),strictRuntimeBailout:new q(["renderContext"]),chunkHash:new $(["chunk","hash","context"]),useSourceMap:new q(["chunk","renderContext"])};qe.set(E,N)}return N}constructor(E={}){this.options=E;this._moduleFactoryCache=new WeakMap}apply(E){E.hooks.compilation.tap("JavascriptModulesPlugin",((E,{normalModuleFactory:N})=>{const R=JavascriptModulesPlugin.getCompilationHooks(E);N.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(E=>new Ve("auto")));N.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(E=>new Ve("script")));N.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(E=>new Ve("module")));N.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new Je));N.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new Je));N.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new Je));E.hooks.renderManifest.tap("JavascriptModulesPlugin",((N,j)=>{const{hash:$,chunk:q,chunkGraph:G,moduleGraph:ie,runtimeTemplate:ae,dependencyTemplates:ce,outputOptions:le,codeGenerationResults:_e}=j;const Ee=q instanceof we?q:null;let Te;const Ie=JavascriptModulesPlugin.getChunkFilenameTemplate(q,le);if(Ee){Te=()=>this.renderChunk({chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R)}else if(q.hasRuntime()){Te=()=>this.renderMain({hash:$,chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R,E)}else{if(!chunkHasJs(q,G)){return N}Te=()=>this.renderChunk({chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R)}N.push({render:Te,filenameTemplate:Ie,pathOptions:{hash:$,runtime:q.runtime,chunk:q,contentHashType:"javascript"},info:{javascriptModule:E.runtimeTemplate.isModule()},identifier:Ee?`hotupdatechunk${q.id}`:`chunk${q.id}`,hash:q.contentHash.javascript});return N}));E.hooks.chunkHash.tap("JavascriptModulesPlugin",((E,N,j)=>{R.chunkHash.call(E,N,j);if(E.hasRuntime()){this.updateHashWithBootstrap(N,{hash:"0000",chunk:E,chunkGraph:j.chunkGraph,moduleGraph:j.moduleGraph,runtimeTemplate:j.runtimeTemplate},R)}}));E.hooks.contentHash.tap("JavascriptModulesPlugin",(N=>{const{chunkGraph:j,moduleGraph:$,runtimeTemplate:q,outputOptions:{hashSalt:G,hashDigest:ie,hashDigestLength:ae,hashFunction:ce}}=E;const le=ze(ce);if(G)le.update(G);if(N.hasRuntime()){this.updateHashWithBootstrap(le,{hash:"0000",chunk:N,chunkGraph:E.chunkGraph,moduleGraph:E.moduleGraph,runtimeTemplate:E.runtimeTemplate},R)}else{le.update(`${N.id} `);le.update(N.ids?N.ids.join(","):"")}R.chunkHash.call(N,le,{chunkGraph:j,moduleGraph:$,runtimeTemplate:q});const _e=j.getChunkModulesIterableBySourceType(N,"javascript");if(_e){const E=new je;for(const R of _e){E.add(j.getModuleHash(R,N.runtime))}E.updateHash(le)}const Ee=j.getChunkModulesIterableBySourceType(N,"runtime");if(Ee){const E=new je;for(const R of Ee){E.add(j.getModuleHash(R,N.runtime))}E.updateHash(le)}const Te=le.digest(ie);N.contentHash.javascript=Te.substr(0,ae)}));E.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((E,N,{chunkGraph:R})=>{if(!N.has(Ne.startupNoDefault)&&R.hasChunkEntryDependentChunks(E)){N.add(Ne.onChunksLoaded);N.add(Ne.require)}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,N)=>{const R=E.codeGenerationResult.sources.get("javascript");if(R===undefined)return;const{module:j,moduleObject:$}=E;const q=R.source();const ie=G.runInThisContext(`(function(${j.moduleArgument}, ${j.exportsArgument}, __webpack_require__) {\n${q}\n/**/})`,{filename:j.identifier(),lineOffset:-1});try{ie.call($.exports,$,$.exports,N.__webpack_require__)}catch(N){N.stack+=printGeneratedCodeForStack(E.module,q);throw N}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,N)=>{const R=E.codeGenerationResult.sources.get("runtime");if(R===undefined)return;let j=R.source();if(typeof j!=="string")j=j.toString();const $=G.runInThisContext(`(function(__webpack_require__) {\n${j}\n/**/})`,{filename:E.module.identifier(),lineOffset:-1});try{$.call(null,N.__webpack_require__)}catch(N){N.stack+=printGeneratedCodeForStack(E.module,j);throw N}}))}))}static getChunkFilenameTemplate(E,N){if(E.filenameTemplate){return E.filenameTemplate}else if(E instanceof we){return N.hotUpdateChunkFilename}else if(E.canBeInitial()){return N.filename}else{return N.chunkFilename}}renderModule(E,N,R,j){const{chunk:$,chunkGraph:q,runtimeTemplate:G,codeGenerationResults:ae,strictMode:ce}=N;try{const le=ae.get(E,$.runtime);const Ee=le.sources.get("javascript");if(!Ee)return null;if(le.data!==undefined){const E=le.data.get("chunkInitFragments");if(E){for(const R of E)N.chunkInitFragments.push(R)}}const we=Te((()=>R.renderModuleContent.call(Ee,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Ie;if(j){const j=q.getModuleRuntimeRequirements(E,$.runtime);const ae=j.has(Ne.module);const le=j.has(Ne.exports);const Ee=j.has(Ne.require)||j.has(Ne.requireScope);const Me=j.has(Ne.thisAsExports);const Le=E.buildInfo.strict&&!ce;const Be=this._moduleFactoryCache.get(we);let je;if(Be&&Be.needModule===ae&&Be.needExports===le&&Be.needRequire===Ee&&Be.needThisAsExports===Me&&Be.needStrict===Le){je=Be.source}else{const N=new ie;const R=[];if(le||Ee||ae)R.push(ae?E.moduleArgument:"__unused_webpack_"+E.moduleArgument);if(le||Ee)R.push(le?E.exportsArgument:"__unused_webpack_"+E.exportsArgument);if(Ee)R.push("__webpack_require__");if(!Me&&G.supportsArrowFunction()){N.add("/***/ (("+R.join(", ")+") => {\n\n")}else{N.add("/***/ (function("+R.join(", ")+") {\n\n")}if(Le){N.add('"use strict";\n')}N.add(we);N.add("\n\n/***/ })");je=new _e(N);this._moduleFactoryCache.set(we,{source:je,needModule:ae,needExports:le,needRequire:Ee,needThisAsExports:Me,needStrict:Le})}Ie=Te((()=>R.renderModuleContainer.call(je,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Ie=we}return Te((()=>R.renderModulePackage.call(Ie,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(N){N.module=E;throw N}}renderChunk(E,N){const{chunk:R,chunkGraph:j}=E;const $=j.getOrderedChunkModulesIterableBySourceType(R,"javascript",Ue);const q=$?Array.from($):[];let G;let ae=E.strictMode;if(!ae&&q.every((E=>E.buildInfo.strict))){const R=N.strictRuntimeBailout.call(E);G=R?`// runtime can't be in strict mode because ${R}.\n`:'"use strict";\n';if(!R)ae=true}const ce={...E,chunkInitFragments:[],strictMode:ae};const _e=Me.renderChunkModules(ce,q,(E=>this.renderModule(E,ce,N,true)))||new le("{}");let Ee=Te((()=>N.renderChunk.call(_e,ce)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");Ee=Te((()=>N.renderContent.call(Ee,ce)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ee){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ee=Ie.addToSource(Ee,ce.chunkInitFragments,ce);Ee=Te((()=>N.render.call(Ee,ce)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ee){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}R.rendered=true;return G?new ie(G,Ee,";"):E.runtimeTemplate.isModule()?Ee:new ie(Ee,";")}renderMain(E,N,R){const{chunk:j,chunkGraph:$,runtimeTemplate:q}=E;const G=$.getTreeRuntimeRequirements(j);const _e=q.isIIFE();const Ee=this.renderBootstrap(E,N);const we=N.useSourceMap.call(j,E);const Be=Array.from($.getOrderedChunkModulesIterableBySourceType(j,"javascript",Ue)||[]);const je=$.getNumberOfEntryModules(j)>0;let ze;if(Ee.allowInlineStartup&&je){ze=new Set($.getChunkEntryModulesIterable(j))}let We=new ie;let Je;if(_e){if(q.supportsArrowFunction()){We.add("/******/ (() => { // webpackBootstrap\n")}else{We.add("/******/ (function() { // webpackBootstrap\n")}Je="/******/ \t"}else{Je="/******/ "}let Ve=E.strictMode;if(!Ve&&Be.every((E=>E.buildInfo.strict))){const R=N.strictRuntimeBailout.call(E);if(R){We.add(Je+`// runtime can't be in strict mode because ${R}.\n`)}else{Ve=true;We.add(Je+'"use strict";\n')}}const qe={...E,chunkInitFragments:[],strictMode:Ve};const He=Me.renderChunkModules(qe,ze?Be.filter((E=>!ze.has(E))):Be,(E=>this.renderModule(E,qe,N,true)),Je);if(He||G.has(Ne.moduleFactories)||G.has(Ne.moduleFactoriesAddOnly)||G.has(Ne.require)){We.add(Je+"var __webpack_modules__ = (");We.add(He||"{}");We.add(");\n");We.add("/************************************************************************/\n")}if(Ee.header.length>0){const E=Me.asString(Ee.header)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/bootstrap"):new le(E)));We.add("/************************************************************************/\n")}const Ge=E.chunkGraph.getChunkRuntimeModulesInOrder(j);if(Ge.length>0){We.add(new ce(Je,Me.renderRuntimeModules(Ge,qe)));We.add("/************************************************************************/\n");for(const E of Ge){R.codeGeneratedModules.add(E)}}if(ze){if(Ee.beforeStartup.length>0){const E=Me.asString(Ee.beforeStartup)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/before-startup"):new le(E)))}const R=Le(ze);const _e=new ie;_e.add(`var __webpack_exports__ = {};\n`);for(const G of ze){const ie=this.renderModule(G,qe,N,false);if(ie){const ae=!Ve&&G.buildInfo.strict;const ce=$.getModuleRuntimeRequirements(G,j.runtime);const le=ce.has(Ne.exports);const Ee=le&&G.exportsArgument==="__webpack_exports__";let Te=ae?"it need to be in strict mode.":ze.size>1?"it need to be isolated against other entry modules.":He?"it need to be isolated against other modules in the chunk.":le&&!Ee?`it uses a non-standard name for the exports (${G.exportsArgument}).`:N.embedInRuntimeBailout.call(G,E);let we;if(Te!==undefined){_e.add(`// This entry need to be wrapped in an IIFE because ${Te}\n`);const E=q.supportsArrowFunction();if(E){_e.add("(() => {\n");we="\n})();\n\n"}else{_e.add("!function() {\n");we="\n}();\n"}if(ae)_e.add('"use strict";\n')}else{we="\n"}if(le){if(G!==R)_e.add(`var ${G.exportsArgument} = {};\n`);else if(G.exportsArgument!=="__webpack_exports__")_e.add(`var ${G.exportsArgument} = __webpack_exports__;\n`)}_e.add(ie);_e.add(we)}}if(G.has(Ne.onChunksLoaded)){_e.add(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);\n`)}We.add(N.renderStartup.call(_e,R,{...E,inlined:true}));if(Ee.afterStartup.length>0){const E=Me.asString(Ee.afterStartup)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/after-startup"):new le(E)))}}else{const R=Le($.getChunkEntryModulesIterable(j));const q=we?(E,N)=>new ae(Me.asString(E),N):E=>new le(Me.asString(E));We.add(new ce(Je,new ie(q(Ee.beforeStartup,"webpack/before-startup"),"\n",N.renderStartup.call(q(Ee.startup.concat(""),"webpack/startup"),R,{...E,inlined:false}),q(Ee.afterStartup,"webpack/after-startup"),"\n")))}if(je&&G.has(Ne.returnExportsFromRuntime)){We.add(`${Je}return __webpack_exports__;\n`)}if(_e){We.add("/******/ })()\n")}let Ke=Te((()=>N.renderMain.call(We,E)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Ke=Te((()=>N.renderContent.call(Ke,E)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ke=Ie.addToSource(Ke,qe.chunkInitFragments,qe);Ke=Te((()=>N.render.call(Ke,E)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}j.rendered=true;return _e?new ie(Ke,";"):Ke}updateHashWithBootstrap(E,N,R){const j=this.renderBootstrap(N,R);for(const N of Object.keys(j)){E.update(N);if(Array.isArray(j[N])){for(const R of j[N]){E.update(R)}}else{E.update(JSON.stringify(j[N]))}}}renderBootstrap(E,N){const{chunkGraph:R,moduleGraph:j,chunk:$,runtimeTemplate:q}=E;const G=R.getTreeRuntimeRequirements($);const ie=G.has(Ne.require);const ae=G.has(Ne.moduleCache);const ce=G.has(Ne.moduleFactories);const le=G.has(Ne.module);const _e=G.has(Ne.requireScope);const Ee=G.has(Ne.interceptModuleExecution);const Te=ie||Ee||le;const we={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Ie,startup:Le,beforeStartup:je,afterStartup:Ue}=we;if(we.allowInlineStartup&&ce){Le.push("// module factories are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&ae){Le.push("// module cache are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&Ee){Le.push("// module execution is intercepted so entry inlining is disabled");we.allowInlineStartup=false}if(Te||ae){Ie.push("// The module cache");Ie.push("var __webpack_module_cache__ = {};");Ie.push("")}if(Te){Ie.push("// The require function");Ie.push(`function __webpack_require__(moduleId) {`);Ie.push(Me.indent(this.renderRequire(E,N)));Ie.push("}");Ie.push("")}else if(G.has(Ne.requireScope)){Ie.push("// The require scope");Ie.push("var __webpack_require__ = {};");Ie.push("")}if(ce||G.has(Ne.moduleFactoriesAddOnly)){Ie.push("// expose the modules object (__webpack_modules__)");Ie.push(`${Ne.moduleFactories} = __webpack_modules__;`);Ie.push("")}if(ae){Ie.push("// expose the module cache");Ie.push(`${Ne.moduleCache} = __webpack_module_cache__;`);Ie.push("")}if(Ee){Ie.push("// expose the module execution interceptor");Ie.push(`${Ne.interceptModuleExecution} = [];`);Ie.push("")}if(!G.has(Ne.startupNoDefault)){if(R.getNumberOfEntryModules($)>0){const G=[];const ie=R.getTreeRuntimeRequirements($);G.push("// Load entry module and return exports");let ae=R.getNumberOfEntryModules($);for(const[ce,le]of R.getChunkEntryModulesWithChunkGroupIterable($)){const Ee=le.chunks.filter((E=>E!==$));if(we.allowInlineStartup&&Ee.length>0){G.push("// This entry module depends on other loaded chunks and execution need to be delayed");we.allowInlineStartup=false}if(we.allowInlineStartup&&Be(j.getIncomingConnectionsByOriginModule(ce),(([E,N])=>E&&N.some((E=>E.isTargetActive($.runtime)))&&Be(R.getModuleRuntimes(E),(E=>We(E,$.runtime)!==undefined))))){G.push("// This entry module is referenced by other modules so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup&&(!ce.buildInfo||!ce.buildInfo.topLevelDeclarations)){G.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup){const R=N.inlineInRuntimeBailout.call(ce,E);if(R!==undefined){G.push(`// This entry module can't be inlined because ${R}`);we.allowInlineStartup=false}}ae--;const Ie=R.getModuleId(ce);const Me=R.getModuleRuntimeRequirements(ce,$.runtime);let Le=JSON.stringify(Ie);if(ie.has(Ne.entryModuleId)){Le=`${Ne.entryModuleId} = ${Le}`}if(we.allowInlineStartup&&Me.has(Ne.module)){we.allowInlineStartup=false;G.push("// This entry module used 'module' so it can't be inlined")}if(Ee.length>0){G.push(`${ae===0?"var __webpack_exports__ = ":""}${Ne.onChunksLoaded}(undefined, ${JSON.stringify(Ee.map((E=>E.id)))}, ${q.returningFunction(`__webpack_require__(${Le})`)})`)}else if(Te){G.push(`${ae===0?"var __webpack_exports__ = ":""}__webpack_require__(${Le});`)}else{if(ae===0)G.push("var __webpack_exports__ = {};");if(_e){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Me.has(Ne.exports)){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"});`)}else{G.push(`__webpack_modules__[${Le}]();`)}}}if(ie.has(Ne.onChunksLoaded)){G.push(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);`)}if(ie.has(Ne.startup)||ie.has(Ne.startupOnlyBefore)&&ie.has(Ne.startupOnlyAfter)){we.allowInlineStartup=false;Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.basicFunction("",[...G,"return __webpack_exports__;"])};`);Ie.push("");Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}else if(ie.has(Ne.startupOnlyBefore)){Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.emptyFunction()};`);je.push("// run runtime startup");je.push(`${Ne.startup}();`);Le.push("// startup");Le.push(Me.asString(G))}else if(ie.has(Ne.startupOnlyAfter)){Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// startup");Le.push(Me.asString(G));Ue.push("// run runtime startup");Ue.push(`${Ne.startup}();`)}else{Le.push("// startup");Le.push(Me.asString(G))}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Ie.push("// the startup function","// It's empty as no entry modules are in this chunk",`${Ne.startup} = ${q.emptyFunction()};`,"")}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){we.allowInlineStartup=false;Ie.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}return we}renderRequire(E,N){const{chunk:R,chunkGraph:j,runtimeTemplate:{outputOptions:$}}=E;const q=j.getTreeRuntimeRequirements(R);const G=q.has(Ne.interceptModuleExecution)?Me.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${Ne.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):q.has(Ne.thisAsExports)?Me.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Me.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ie=q.has(Ne.moduleId);const ae=q.has(Ne.moduleLoaded);const ce=Me.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",$.strictModuleErrorHandling?Me.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Me.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Me.indent([ie?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",$.strictModuleExceptionHandling?Me.asString(["// Execute the module function","var threw = true;","try {",Me.indent([G,"threw = false;"]),"} finally {",Me.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):$.strictModuleErrorHandling?Me.asString(["// Execute the module function","try {",Me.indent(G),"} catch(e) {",Me.indent(["module.error = e;","throw e;"]),"}"]):Me.asString(["// Execute the module function",G]),ae?Me.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Te((()=>N.renderRequire.call(ce,E)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}E.exports=JavascriptModulesPlugin;E.exports.chunkHasJs=chunkHasJs},3711:(E,N,R)=>{"use strict";const{Parser:j}=R(14150);const{importAssertions:$}=R(3385);const{SyncBailHook:q,HookMap:G}=R(92960);const ie=R(26144);const ae=R(2172);const ce=R(80371);const le=R(31017);const _e=R(91671);const Ee=R(87250);const Te=[];const we=1;const Ie=2;const Ne=3;const Me=j.extend($);class VariableInfo{constructor(E,N,R){this.declaredScope=E;this.freeName=N;this.tagInfo=R}}const joinRanges=(E,N)=>{if(!N)return E;if(!E)return N;return[E[0],N[1]]};const objectAndMembersToName=(E,N)=>{let R=E;for(let E=N.length-1;E>=0;E--){R=R+"."+N[E]}return R};const getRootName=E=>{switch(E.type){case"Identifier":return E.name;case"ThisExpression":return"this";case"MetaProperty":return`${E.meta.name}.${E.property.name}`;default:return undefined}};const Le={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const Be=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const je={options:null,errors:null};class JavascriptParser extends ae{constructor(E="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new G((()=>new q(["expression"]))),evaluate:new G((()=>new q(["expression"]))),evaluateIdentifier:new G((()=>new q(["expression"]))),evaluateDefinedIdentifier:new G((()=>new q(["expression"]))),evaluateCallExpressionMember:new G((()=>new q(["expression","param"]))),isPure:new G((()=>new q(["expression","commentsStartPosition"]))),preStatement:new q(["statement"]),blockPreStatement:new q(["declaration"]),statement:new q(["statement"]),statementIf:new q(["statement"]),classExtendsExpression:new q(["expression","classDefinition"]),classBodyElement:new q(["element","classDefinition"]),classBodyValue:new q(["expression","element","classDefinition"]),label:new G((()=>new q(["statement"]))),import:new q(["statement","source"]),importSpecifier:new q(["statement","source","exportName","identifierName"]),export:new q(["statement"]),exportImport:new q(["statement","source"]),exportDeclaration:new q(["statement","declaration"]),exportExpression:new q(["statement","declaration"]),exportSpecifier:new q(["statement","identifierName","exportName","index"]),exportImportSpecifier:new q(["statement","source","identifierName","exportName","index"]),preDeclarator:new q(["declarator","statement"]),declarator:new q(["declarator","statement"]),varDeclaration:new G((()=>new q(["declaration"]))),varDeclarationLet:new G((()=>new q(["declaration"]))),varDeclarationConst:new G((()=>new q(["declaration"]))),varDeclarationVar:new G((()=>new q(["declaration"]))),pattern:new G((()=>new q(["pattern"]))),canRename:new G((()=>new q(["initExpression"]))),rename:new G((()=>new q(["initExpression"]))),assign:new G((()=>new q(["expression"]))),assignMemberChain:new G((()=>new q(["expression","members"]))),typeof:new G((()=>new q(["expression"]))),importCall:new q(["expression"]),topLevelAwait:new q(["expression"]),call:new G((()=>new q(["expression"]))),callMemberChain:new G((()=>new q(["expression","members"]))),memberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new q(["optionalChaining"]),new:new G((()=>new q(["expression"]))),expression:new G((()=>new q(["expression"]))),expressionMemberChain:new G((()=>new q(["expression","members"]))),unhandledExpressionMemberChain:new G((()=>new q(["expression","members"]))),expressionConditionalOperator:new q(["expression"]),expressionLogicalOperator:new q(["expression"]),program:new q(["ast","comments"]),finish:new q(["ast","comments"])});this.sourceType=E;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(E=>{const N=E;switch(typeof N.value){case"number":return(new Ee).setNumber(N.value).setRange(N.range);case"bigint":return(new Ee).setBigInt(N.value).setRange(N.range);case"string":return(new Ee).setString(N.value).setRange(N.range);case"boolean":return(new Ee).setBoolean(N.value).setRange(N.range)}if(N.value===null){return(new Ee).setNull().setRange(N.range)}if(N.value instanceof RegExp){return(new Ee).setRegExp(N.value).setRange(N.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(E=>{const N=E;const R=N.callee;if(R.type!=="Identifier"||R.name!=="RegExp"||N.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let j,$;const q=N.arguments[0];if(q){if(q.type==="SpreadElement")return;const E=this.evaluateExpression(q);if(!E)return;j=E.asString();if(!j)return}else{return(new Ee).setRegExp(new RegExp("")).setRange(N.range)}const G=N.arguments[1];if(G){if(G.type==="SpreadElement")return;const E=this.evaluateExpression(G);if(!E)return;if(!E.isUndefined()){$=E.asString();if($===undefined||!Ee.isValidRegExpFlags($))return}}return(new Ee).setRegExp($?new RegExp(j,$):new RegExp(j)).setRange(N.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.left);if(!R)return;let j=false;let $;if(N.operator==="&&"){const E=R.asBool();if(E===false)return R.setRange(N.range);j=E===true;$=false}else if(N.operator==="||"){const E=R.asBool();if(E===true)return R.setRange(N.range);j=E===false;$=true}else if(N.operator==="??"){const E=R.asNullish();if(E===false)return R.setRange(N.range);if(E!==true)return;j=true}else return;const q=this.evaluateExpression(N.right);if(!q)return;if(j){if(R.couldHaveSideEffects())q.setSideEffects();return q.setRange(N.range)}const G=q.asBool();if($===true&&G===true){return(new Ee).setRange(N.range).setTruthy()}else if($===false&&G===false){return(new Ee).setRange(N.range).setFalsy()}}));const valueAsExpression=(E,N,R)=>{switch(typeof E){case"boolean":return(new Ee).setBoolean(E).setSideEffects(R).setRange(N.range);case"number":return(new Ee).setNumber(E).setSideEffects(R).setRange(N.range);case"bigint":return(new Ee).setBigInt(E).setSideEffects(R).setRange(N.range);case"string":return(new Ee).setString(E).setSideEffects(R).setRange(N.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(E=>{const N=E;const handleConstOperation=E=>{const R=this.evaluateExpression(N.left);if(!R||!R.isCompileTimeValue())return;const j=this.evaluateExpression(N.right);if(!j||!j.isCompileTimeValue())return;const $=E(R.asCompileTimeValue(),j.asCompileTimeValue());return valueAsExpression($,N,R.couldHaveSideEffects()||j.couldHaveSideEffects())};const isAlwaysDifferent=(E,N)=>E===true&&N===false||E===false&&N===true;const handleTemplateStringCompare=(E,N,R,j)=>{const getPrefix=E=>{let N="";for(const R of E){const E=R.asString();if(E!==undefined)N+=E;else break}return N};const getSuffix=E=>{let N="";for(let R=E.length-1;R>=0;R--){const j=E[R].asString();if(j!==undefined)N=j+N;else break}return N};const $=getPrefix(E.parts);const q=getPrefix(N.parts);const G=getSuffix(E.parts);const ie=getSuffix(N.parts);const ae=Math.min($.length,q.length);const ce=Math.min(G.length,ie.length);if($.slice(0,ae)!==q.slice(0,ae)||G.slice(-ce)!==ie.slice(-ce)){return R.setBoolean(!j).setSideEffects(E.couldHaveSideEffects()||N.couldHaveSideEffects())}};const handleStrictEqualityComparison=E=>{const R=this.evaluateExpression(N.left);if(!R)return;const j=this.evaluateExpression(N.right);if(!j)return;const $=new Ee;$.setRange(N.range);const q=R.isCompileTimeValue();const G=j.isCompileTimeValue();if(q&&G){return $.setBoolean(E===(R.asCompileTimeValue()===j.asCompileTimeValue())).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isArray()&&j.isArray()){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isTemplateString()&&j.isTemplateString()){return handleTemplateStringCompare(R,j,$,E)}const ie=R.isPrimitiveType();const ae=j.isPrimitiveType();if(ie===false&&(q||ae===true)||ae===false&&(G||ie===true)||isAlwaysDifferent(R.asBool(),j.asBool())||isAlwaysDifferent(R.asNullish(),j.asNullish())){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}};const handleAbstractEqualityComparison=E=>{const R=this.evaluateExpression(N.left);if(!R)return;const j=this.evaluateExpression(N.right);if(!j)return;const $=new Ee;$.setRange(N.range);const q=R.isCompileTimeValue();const G=j.isCompileTimeValue();if(q&&G){return $.setBoolean(E===(R.asCompileTimeValue()==j.asCompileTimeValue())).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isArray()&&j.isArray()){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isTemplateString()&&j.isTemplateString()){return handleTemplateStringCompare(R,j,$,E)}};if(N.operator==="+"){const E=this.evaluateExpression(N.left);if(!E)return;const R=this.evaluateExpression(N.right);if(!R)return;const j=new Ee;if(E.isString()){if(R.isString()){j.setString(E.string+R.string)}else if(R.isNumber()){j.setString(E.string+R.number)}else if(R.isWrapped()&&R.prefix&&R.prefix.isString()){j.setWrapped((new Ee).setString(E.string+R.prefix.string).setRange(joinRanges(E.range,R.prefix.range)),R.postfix,R.wrappedInnerExpressions)}else if(R.isWrapped()){j.setWrapped(E,R.postfix,R.wrappedInnerExpressions)}else{j.setWrapped(E,null,[R])}}else if(E.isNumber()){if(R.isString()){j.setString(E.number+R.string)}else if(R.isNumber()){j.setNumber(E.number+R.number)}else{return}}else if(E.isBigInt()){if(R.isBigInt()){j.setBigInt(E.bigint+R.bigint)}}else if(E.isWrapped()){if(E.postfix&&E.postfix.isString()&&R.isString()){j.setWrapped(E.prefix,(new Ee).setString(E.postfix.string+R.string).setRange(joinRanges(E.postfix.range,R.range)),E.wrappedInnerExpressions)}else if(E.postfix&&E.postfix.isString()&&R.isNumber()){j.setWrapped(E.prefix,(new Ee).setString(E.postfix.string+R.number).setRange(joinRanges(E.postfix.range,R.range)),E.wrappedInnerExpressions)}else if(R.isString()){j.setWrapped(E.prefix,R,E.wrappedInnerExpressions)}else if(R.isNumber()){j.setWrapped(E.prefix,(new Ee).setString(R.number+"").setRange(R.range),E.wrappedInnerExpressions)}else if(R.isWrapped()){j.setWrapped(E.prefix,R.postfix,E.wrappedInnerExpressions&&R.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix]:[]).concat(R.prefix?[R.prefix]:[]).concat(R.wrappedInnerExpressions))}else{j.setWrapped(E.prefix,null,E.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix,R]:[R]))}}else{if(R.isString()){j.setWrapped(null,R,[E])}else if(R.isWrapped()){j.setWrapped(null,R.postfix,R.wrappedInnerExpressions&&(R.prefix?[E,R.prefix]:[E]).concat(R.wrappedInnerExpressions))}else{return}}if(E.couldHaveSideEffects()||R.couldHaveSideEffects())j.setSideEffects();j.setRange(N.range);return j}else if(N.operator==="-"){return handleConstOperation(((E,N)=>E-N))}else if(N.operator==="*"){return handleConstOperation(((E,N)=>E*N))}else if(N.operator==="/"){return handleConstOperation(((E,N)=>E/N))}else if(N.operator==="**"){return handleConstOperation(((E,N)=>E**N))}else if(N.operator==="==="){return handleStrictEqualityComparison(true)}else if(N.operator==="=="){return handleAbstractEqualityComparison(true)}else if(N.operator==="!=="){return handleStrictEqualityComparison(false)}else if(N.operator==="!="){return handleAbstractEqualityComparison(false)}else if(N.operator==="&"){return handleConstOperation(((E,N)=>E&N))}else if(N.operator==="|"){return handleConstOperation(((E,N)=>E|N))}else if(N.operator==="^"){return handleConstOperation(((E,N)=>E^N))}else if(N.operator===">>>"){return handleConstOperation(((E,N)=>E>>>N))}else if(N.operator===">>"){return handleConstOperation(((E,N)=>E>>N))}else if(N.operator==="<<"){return handleConstOperation(((E,N)=>E<<N))}else if(N.operator==="<"){return handleConstOperation(((E,N)=>E<N))}else if(N.operator===">"){return handleConstOperation(((E,N)=>E>N))}else if(N.operator==="<="){return handleConstOperation(((E,N)=>E<=N))}else if(N.operator===">="){return handleConstOperation(((E,N)=>E>=N))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(E=>{const N=E;const handleConstOperation=E=>{const R=this.evaluateExpression(N.argument);if(!R||!R.isCompileTimeValue())return;const j=E(R.asCompileTimeValue());return valueAsExpression(j,N,R.couldHaveSideEffects())};if(N.operator==="typeof"){switch(N.argument.type){case"Identifier":{const E=this.callHooksForName(this.hooks.evaluateTypeof,N.argument.name,N);if(E!==undefined)return E;break}case"MetaProperty":{const E=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(N.argument),N);if(E!==undefined)return E;break}case"MemberExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,N.argument,N);if(E!==undefined)return E;break}case"ChainExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,N.argument.expression,N);if(E!==undefined)return E;break}case"FunctionExpression":{return(new Ee).setString("function").setRange(N.range)}}const E=this.evaluateExpression(N.argument);if(E.isUnknown())return;if(E.isString()){return(new Ee).setString("string").setRange(N.range)}if(E.isWrapped()){return(new Ee).setString("string").setSideEffects().setRange(N.range)}if(E.isUndefined()){return(new Ee).setString("undefined").setRange(N.range)}if(E.isNumber()){return(new Ee).setString("number").setRange(N.range)}if(E.isBigInt()){return(new Ee).setString("bigint").setRange(N.range)}if(E.isBoolean()){return(new Ee).setString("boolean").setRange(N.range)}if(E.isConstArray()||E.isRegExp()||E.isNull()){return(new Ee).setString("object").setRange(N.range)}if(E.isArray()){return(new Ee).setString("object").setSideEffects(E.couldHaveSideEffects()).setRange(N.range)}}else if(N.operator==="!"){const E=this.evaluateExpression(N.argument);if(!E)return;const R=E.asBool();if(typeof R!=="boolean")return;return(new Ee).setBoolean(!R).setSideEffects(E.couldHaveSideEffects()).setRange(N.range)}else if(N.operator==="~"){return handleConstOperation((E=>~E))}else if(N.operator==="+"){return handleConstOperation((E=>+E))}else if(N.operator==="-"){return handleConstOperation((E=>-E))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(E=>(new Ee).setString("undefined").setRange(E.range)));const tapEvaluateWithVariableInfo=(E,N)=>{let R=undefined;let j=undefined;this.hooks.evaluate.for(E).tap("JavascriptParser",(E=>{const $=E;const q=N(E);if(q!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,q.name,(E=>{R=$;j=q}),(E=>{const N=this.hooks.evaluateDefinedIdentifier.get(E);if(N!==undefined){return N.call($)}}),$)}}));this.hooks.evaluate.for(E).tap({name:"JavascriptParser",stage:100},(E=>{const $=R===E?j:N(E);if($!==undefined){return(new Ee).setIdentifier($.name,$.rootInfo,$.getMembers).setRange(E.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{R=j=undefined}))};tapEvaluateWithVariableInfo("Identifier",(E=>{const N=this.getVariableInfo(E.name);if(typeof N==="string"||N instanceof VariableInfo&&typeof N.freeName==="string"){return{name:N,rootInfo:N,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(E=>{const N=this.getVariableInfo("this");if(typeof N==="string"||N instanceof VariableInfo&&typeof N.freeName==="string"){return{name:N,rootInfo:N,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(E=>{const N=E;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(E),N)}));tapEvaluateWithVariableInfo("MemberExpression",(E=>this.getMemberExpressionInfo(E,Ie)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(E=>{const N=E;if(N.callee.type!=="MemberExpression"||N.callee.property.type!==(N.callee.computed?"Literal":"Identifier")){return}const R=this.evaluateExpression(N.callee.object);if(!R)return;const j=N.callee.property.type==="Literal"?`${N.callee.property.value}`:N.callee.property.name;const $=this.hooks.evaluateCallExpressionMember.get(j);if($!==undefined){return $.call(N,R)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length===0)return;const[R,j]=E.arguments;if(R.type==="SpreadElement")return;const $=this.evaluateExpression(R);if(!$.isString())return;const q=$.string;let G;if(j){if(j.type==="SpreadElement")return;const E=this.evaluateExpression(j);if(!E.isNumber())return;G=N.string.indexOf(q,E.number)}else{G=N.string.indexOf(q)}return(new Ee).setNumber(G).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length!==2)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;let R=this.evaluateExpression(E.arguments[0]);let j=this.evaluateExpression(E.arguments[1]);if(!R.isString()&&!R.isRegExp())return;const $=R.regExp||R.string;if(!j.isString())return;const q=j.string;return(new Ee).setString(N.string.replace($,q)).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));["substr","substring","slice"].forEach((E=>{this.hooks.evaluateCallExpressionMember.for(E).tap("JavascriptParser",((N,R)=>{if(!R.isString())return;let j;let $,q=R.string;switch(N.arguments.length){case 1:if(N.arguments[0].type==="SpreadElement")return;j=this.evaluateExpression(N.arguments[0]);if(!j.isNumber())return;$=q[E](j.number);break;case 2:{if(N.arguments[0].type==="SpreadElement")return;if(N.arguments[1].type==="SpreadElement")return;j=this.evaluateExpression(N.arguments[0]);const R=this.evaluateExpression(N.arguments[1]);if(!j.isNumber())return;if(!R.isNumber())return;$=q[E](j.number,R.number);break}default:return}return(new Ee).setString($).setSideEffects(R.couldHaveSideEffects()).setRange(N.range)}))}));const getSimplifiedTemplateResult=(E,N)=>{const R=[];const j=[];for(let $=0;$<N.quasis.length;$++){const q=N.quasis[$];const G=q.value[E];if($>0){const E=j[j.length-1];const R=this.evaluateExpression(N.expressions[$-1]);const ie=R.asString();if(typeof ie==="string"&&!R.couldHaveSideEffects()){E.setString(E.string+ie+G);E.setRange([E.range[0],q.range[1]]);E.setExpression(undefined);continue}j.push(R)}const ie=(new Ee).setString(G).setRange(q.range).setExpression(q);R.push(ie);j.push(ie)}return{quasis:R,parts:j}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(E=>{const N=E;const{quasis:R,parts:j}=getSimplifiedTemplateResult("cooked",N);if(j.length===1){return j[0].setRange(N.range)}return(new Ee).setTemplateString(R,j,"cooked").setRange(N.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.tag);if(R.isIdentifier()&&R.identifier!=="String.raw")return;const{quasis:j,parts:$}=getSimplifiedTemplateResult("raw",N.quasi);return(new Ee).setTemplateString(j,$,"raw").setRange(N.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((E,N)=>{if(!N.isString()&&!N.isWrapped())return;let R=null;let j=false;const $=[];for(let N=E.arguments.length-1;N>=0;N--){const q=E.arguments[N];if(q.type==="SpreadElement")return;const G=this.evaluateExpression(q);if(j||!G.isString()&&!G.isNumber()){j=true;$.push(G);continue}const ie=G.isString()?G.string:""+G.number;const ae=ie+(R?R.string:"");const ce=[G.range[0],(R||G).range[1]];R=(new Ee).setString(ae).setSideEffects(R&&R.couldHaveSideEffects()||G.couldHaveSideEffects()).setRange(ce)}if(j){const j=N.isString()?N:N.prefix;const q=N.isWrapped()&&N.wrappedInnerExpressions?N.wrappedInnerExpressions.concat($.reverse()):$.reverse();return(new Ee).setWrapped(j,R,q).setRange(E.range)}else if(N.isWrapped()){const j=R||N.postfix;const q=N.wrappedInnerExpressions?N.wrappedInnerExpressions.concat($.reverse()):$.reverse();return(new Ee).setWrapped(N.prefix,j,q).setRange(E.range)}else{const j=N.string+(R?R.string:"");return(new Ee).setString(j).setSideEffects(R&&R.couldHaveSideEffects()||N.couldHaveSideEffects()).setRange(E.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length!==1)return;if(E.arguments[0].type==="SpreadElement")return;let R;const j=this.evaluateExpression(E.arguments[0]);if(j.isString()){R=N.string.split(j.string)}else if(j.isRegExp()){R=N.string.split(j.regExp)}else{return}return(new Ee).setArray(R).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.test);const j=R.asBool();let $;if(j===undefined){const E=this.evaluateExpression(N.consequent);const R=this.evaluateExpression(N.alternate);if(!E||!R)return;$=new Ee;if(E.isConditional()){$.setOptions(E.options)}else{$.setOptions([E])}if(R.isConditional()){$.addOptions(R.options)}else{$.addOptions([R])}}else{$=this.evaluateExpression(j?N.consequent:N.alternate);if(R.couldHaveSideEffects())$.setSideEffects()}$.setRange(N.range);return $}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(E=>{const N=E;const R=N.elements.map((E=>E!==null&&E.type!=="SpreadElement"&&this.evaluateExpression(E)));if(!R.every(Boolean))return;return(new Ee).setItems(R).setRange(N.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(E=>{const N=E;const R=[];let j=N.expression;while(j.type==="MemberExpression"||j.type==="CallExpression"){if(j.type==="MemberExpression"){if(j.optional){R.push(j.object)}j=j.object}else{if(j.optional){R.push(j.callee)}j=j.callee}}while(R.length>0){const N=R.pop();const j=this.evaluateExpression(N);if(j&&j.asNullish()){return j.setRange(E.range)}}return this.evaluateExpression(N.expression)}))}getRenameIdentifier(E){const N=this.evaluateExpression(E);if(N&&N.isIdentifier()){return N.identifier}}walkClass(E){if(E.superClass){if(!this.hooks.classExtendsExpression.call(E.superClass,E)){this.walkExpression(E.superClass)}}if(E.body&&E.body.type==="ClassBody"){for(const N of E.body.body){if(!this.hooks.classBodyElement.call(N,E)){if(N.computed&&N.key){this.walkExpression(N.key)}if(N.value){if(!this.hooks.classBodyValue.call(N.value,N,E)){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(N.value);this.scope.topLevelScope=E}}}}}}preWalkStatements(E){for(let N=0,R=E.length;N<R;N++){const R=E[N];this.preWalkStatement(R)}}blockPreWalkStatements(E){for(let N=0,R=E.length;N<R;N++){const R=E[N];this.blockPreWalkStatement(R)}}walkStatements(E){for(let N=0,R=E.length;N<R;N++){const R=E[N];this.walkStatement(R)}}preWalkStatement(E){this.statementPath.push(E);if(this.hooks.preStatement.call(E)){this.prevStatement=this.statementPath.pop();return}switch(E.type){case"BlockStatement":this.preWalkBlockStatement(E);break;case"DoWhileStatement":this.preWalkDoWhileStatement(E);break;case"ForInStatement":this.preWalkForInStatement(E);break;case"ForOfStatement":this.preWalkForOfStatement(E);break;case"ForStatement":this.preWalkForStatement(E);break;case"FunctionDeclaration":this.preWalkFunctionDeclaration(E);break;case"IfStatement":this.preWalkIfStatement(E);break;case"LabeledStatement":this.preWalkLabeledStatement(E);break;case"SwitchStatement":this.preWalkSwitchStatement(E);break;case"TryStatement":this.preWalkTryStatement(E);break;case"VariableDeclaration":this.preWalkVariableDeclaration(E);break;case"WhileStatement":this.preWalkWhileStatement(E);break;case"WithStatement":this.preWalkWithStatement(E);break}this.prevStatement=this.statementPath.pop()}blockPreWalkStatement(E){this.statementPath.push(E);if(this.hooks.blockPreStatement.call(E)){this.prevStatement=this.statementPath.pop();return}switch(E.type){case"ImportDeclaration":this.blockPreWalkImportDeclaration(E);break;case"ExportAllDeclaration":this.blockPreWalkExportAllDeclaration(E);break;case"ExportDefaultDeclaration":this.blockPreWalkExportDefaultDeclaration(E);break;case"ExportNamedDeclaration":this.blockPreWalkExportNamedDeclaration(E);break;case"VariableDeclaration":this.blockPreWalkVariableDeclaration(E);break;case"ClassDeclaration":this.blockPreWalkClassDeclaration(E);break}this.prevStatement=this.statementPath.pop()}walkStatement(E){this.statementPath.push(E);if(this.hooks.statement.call(E)!==undefined){this.prevStatement=this.statementPath.pop();return}switch(E.type){case"BlockStatement":this.walkBlockStatement(E);break;case"ClassDeclaration":this.walkClassDeclaration(E);break;case"DoWhileStatement":this.walkDoWhileStatement(E);break;case"ExportDefaultDeclaration":this.walkExportDefaultDeclaration(E);break;case"ExportNamedDeclaration":this.walkExportNamedDeclaration(E);break;case"ExpressionStatement":this.walkExpressionStatement(E);break;case"ForInStatement":this.walkForInStatement(E);break;case"ForOfStatement":this.walkForOfStatement(E);break;case"ForStatement":this.walkForStatement(E);break;case"FunctionDeclaration":this.walkFunctionDeclaration(E);break;case"IfStatement":this.walkIfStatement(E);break;case"LabeledStatement":this.walkLabeledStatement(E);break;case"ReturnStatement":this.walkReturnStatement(E);break;case"SwitchStatement":this.walkSwitchStatement(E);break;case"ThrowStatement":this.walkThrowStatement(E);break;case"TryStatement":this.walkTryStatement(E);break;case"VariableDeclaration":this.walkVariableDeclaration(E);break;case"WhileStatement":this.walkWhileStatement(E);break;case"WithStatement":this.walkWithStatement(E);break}this.prevStatement=this.statementPath.pop()}walkNestedStatement(E){this.prevStatement=undefined;this.walkStatement(E)}preWalkBlockStatement(E){this.preWalkStatements(E.body)}walkBlockStatement(E){this.inBlockScope((()=>{const N=E.body;const R=this.prevStatement;this.blockPreWalkStatements(N);this.prevStatement=R;this.walkStatements(N)}))}walkExpressionStatement(E){this.walkExpression(E.expression)}preWalkIfStatement(E){this.preWalkStatement(E.consequent);if(E.alternate){this.preWalkStatement(E.alternate)}}walkIfStatement(E){const N=this.hooks.statementIf.call(E);if(N===undefined){this.walkExpression(E.test);this.walkNestedStatement(E.consequent);if(E.alternate){this.walkNestedStatement(E.alternate)}}else{if(N){this.walkNestedStatement(E.consequent)}else if(E.alternate){this.walkNestedStatement(E.alternate)}}}preWalkLabeledStatement(E){this.preWalkStatement(E.body)}walkLabeledStatement(E){const N=this.hooks.label.get(E.label.name);if(N!==undefined){const R=N.call(E);if(R===true)return}this.walkNestedStatement(E.body)}preWalkWithStatement(E){this.preWalkStatement(E.body)}walkWithStatement(E){this.walkExpression(E.object);this.walkNestedStatement(E.body)}preWalkSwitchStatement(E){this.preWalkSwitchCases(E.cases)}walkSwitchStatement(E){this.walkExpression(E.discriminant);this.walkSwitchCases(E.cases)}walkTerminatingStatement(E){if(E.argument)this.walkExpression(E.argument)}walkReturnStatement(E){this.walkTerminatingStatement(E)}walkThrowStatement(E){this.walkTerminatingStatement(E)}preWalkTryStatement(E){this.preWalkStatement(E.block);if(E.handler)this.preWalkCatchClause(E.handler);if(E.finializer)this.preWalkStatement(E.finializer)}walkTryStatement(E){if(this.scope.inTry){this.walkStatement(E.block)}else{this.scope.inTry=true;this.walkStatement(E.block);this.scope.inTry=false}if(E.handler)this.walkCatchClause(E.handler);if(E.finalizer)this.walkStatement(E.finalizer)}preWalkWhileStatement(E){this.preWalkStatement(E.body)}walkWhileStatement(E){this.walkExpression(E.test);this.walkNestedStatement(E.body)}preWalkDoWhileStatement(E){this.preWalkStatement(E.body)}walkDoWhileStatement(E){this.walkNestedStatement(E.body);this.walkExpression(E.test)}preWalkForStatement(E){if(E.init){if(E.init.type==="VariableDeclaration"){this.preWalkStatement(E.init)}}this.preWalkStatement(E.body)}walkForStatement(E){this.inBlockScope((()=>{if(E.init){if(E.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.init);this.prevStatement=undefined;this.walkStatement(E.init)}else{this.walkExpression(E.init)}}if(E.test){this.walkExpression(E.test)}if(E.update){this.walkExpression(E.update)}const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkForInStatement(E){if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForInStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkForOfStatement(E){if(E.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(E)}if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForOfStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkFunctionDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkFunctionDeclaration(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,E.params,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}blockPreWalkImportDeclaration(E){const N=E.source.value;this.hooks.import.call(E,N);for(const R of E.specifiers){const j=R.local.name;switch(R.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(E,N,"default",j)){this.defineVariable(j)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(E,N,R.imported.name,j)){this.defineVariable(j)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(E,N,null,j)){this.defineVariable(j)}break;default:this.defineVariable(j)}}}enterDeclaration(E,N){switch(E.type){case"VariableDeclaration":for(const R of E.declarations){switch(R.type){case"VariableDeclarator":{this.enterPattern(R.id,N);break}}}break;case"FunctionDeclaration":this.enterPattern(E.id,N);break;case"ClassDeclaration":this.enterPattern(E.id,N);break}}blockPreWalkExportNamedDeclaration(E){let N;if(E.source){N=E.source.value;this.hooks.exportImport.call(E,N)}else{this.hooks.export.call(E)}if(E.declaration){if(!this.hooks.exportDeclaration.call(E,E.declaration)){const N=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=N;this.blockPreWalkStatement(E.declaration);let R=0;this.enterDeclaration(E.declaration,(N=>{this.hooks.exportSpecifier.call(E,N,N,R++)}))}}if(E.specifiers){for(let R=0;R<E.specifiers.length;R++){const j=E.specifiers[R];switch(j.type){case"ExportSpecifier":{const $=j.exported.name;if(N){this.hooks.exportImportSpecifier.call(E,N,j.local.name,$,R)}else{this.hooks.exportSpecifier.call(E,j.local.name,$,R)}break}}}}}walkExportNamedDeclaration(E){if(E.declaration){this.walkStatement(E.declaration)}}blockPreWalkExportDefaultDeclaration(E){const N=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=N;this.blockPreWalkStatement(E.declaration);if(E.declaration.id&&E.declaration.type!=="FunctionExpression"&&E.declaration.type!=="ClassExpression"){this.hooks.exportSpecifier.call(E,E.declaration.id.name,"default",undefined)}}walkExportDefaultDeclaration(E){this.hooks.export.call(E);if(E.declaration.id&&E.declaration.type!=="FunctionExpression"&&E.declaration.type!=="ClassExpression"){if(!this.hooks.exportDeclaration.call(E,E.declaration)){this.walkStatement(E.declaration)}}else{if(E.declaration.type==="FunctionDeclaration"||E.declaration.type==="ClassDeclaration"){this.walkStatement(E.declaration)}else{this.walkExpression(E.declaration)}if(!this.hooks.exportExpression.call(E,E.declaration)){this.hooks.exportSpecifier.call(E,E.declaration,"default",undefined)}}}blockPreWalkExportAllDeclaration(E){const N=E.source.value;const R=E.exported?E.exported.name:null;this.hooks.exportImport.call(E,N);this.hooks.exportImportSpecifier.call(E,N,null,R,0)}preWalkVariableDeclaration(E){if(E.kind!=="var")return;this._preWalkVariableDeclaration(E,this.hooks.varDeclarationVar)}blockPreWalkVariableDeclaration(E){if(E.kind==="var")return;const N=E.kind==="const"?this.hooks.varDeclarationConst:this.hooks.varDeclarationLet;this._preWalkVariableDeclaration(E,N)}_preWalkVariableDeclaration(E,N){for(const R of E.declarations){switch(R.type){case"VariableDeclarator":{if(!this.hooks.preDeclarator.call(R,E)){this.enterPattern(R.id,((E,R)=>{let j=N.get(E);if(j===undefined||!j.call(R)){j=this.hooks.varDeclaration.get(E);if(j===undefined||!j.call(R)){this.defineVariable(E)}}}))}break}}}}walkVariableDeclaration(E){for(const N of E.declarations){switch(N.type){case"VariableDeclarator":{const R=N.init&&this.getRenameIdentifier(N.init);if(R&&N.id.type==="Identifier"){const E=this.hooks.canRename.get(R);if(E!==undefined&&E.call(N.init)){const E=this.hooks.rename.get(R);if(E===undefined||!E.call(N.init)){this.setVariable(N.id.name,R)}break}}if(!this.hooks.declarator.call(N,E)){this.walkPattern(N.id);if(N.init)this.walkExpression(N.init)}break}}}}blockPreWalkClassDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkClassDeclaration(E){this.walkClass(E)}preWalkSwitchCases(E){for(let N=0,R=E.length;N<R;N++){const R=E[N];this.preWalkStatements(R.consequent)}}walkSwitchCases(E){this.inBlockScope((()=>{const N=E.length;for(let R=0;R<N;R++){const N=E[R];if(N.consequent.length>0){const E=this.prevStatement;this.blockPreWalkStatements(N.consequent);this.prevStatement=E}}for(let R=0;R<N;R++){const N=E[R];if(N.test){this.walkExpression(N.test)}if(N.consequent.length>0){this.walkStatements(N.consequent)}}}))}preWalkCatchClause(E){this.preWalkStatement(E.body)}walkCatchClause(E){this.inBlockScope((()=>{if(E.param!==null){this.enterPattern(E.param,(E=>{this.defineVariable(E)}));this.walkPattern(E.param)}const N=this.prevStatement;this.blockPreWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}))}walkPattern(E){switch(E.type){case"ArrayPattern":this.walkArrayPattern(E);break;case"AssignmentPattern":this.walkAssignmentPattern(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"ObjectPattern":this.walkObjectPattern(E);break;case"RestElement":this.walkRestElement(E);break}}walkAssignmentPattern(E){this.walkExpression(E.right);this.walkPattern(E.left)}walkObjectPattern(E){for(let N=0,R=E.properties.length;N<R;N++){const R=E.properties[N];if(R){if(R.computed)this.walkExpression(R.key);if(R.value)this.walkPattern(R.value)}}}walkArrayPattern(E){for(let N=0,R=E.elements.length;N<R;N++){const R=E.elements[N];if(R)this.walkPattern(R)}}walkRestElement(E){this.walkPattern(E.argument)}walkExpressions(E){for(const N of E){if(N){this.walkExpression(N)}}}walkExpression(E){switch(E.type){case"ArrayExpression":this.walkArrayExpression(E);break;case"ArrowFunctionExpression":this.walkArrowFunctionExpression(E);break;case"AssignmentExpression":this.walkAssignmentExpression(E);break;case"AwaitExpression":this.walkAwaitExpression(E);break;case"BinaryExpression":this.walkBinaryExpression(E);break;case"CallExpression":this.walkCallExpression(E);break;case"ChainExpression":this.walkChainExpression(E);break;case"ClassExpression":this.walkClassExpression(E);break;case"ConditionalExpression":this.walkConditionalExpression(E);break;case"FunctionExpression":this.walkFunctionExpression(E);break;case"Identifier":this.walkIdentifier(E);break;case"ImportExpression":this.walkImportExpression(E);break;case"LogicalExpression":this.walkLogicalExpression(E);break;case"MetaProperty":this.walkMetaProperty(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"NewExpression":this.walkNewExpression(E);break;case"ObjectExpression":this.walkObjectExpression(E);break;case"SequenceExpression":this.walkSequenceExpression(E);break;case"SpreadElement":this.walkSpreadElement(E);break;case"TaggedTemplateExpression":this.walkTaggedTemplateExpression(E);break;case"TemplateLiteral":this.walkTemplateLiteral(E);break;case"ThisExpression":this.walkThisExpression(E);break;case"UnaryExpression":this.walkUnaryExpression(E);break;case"UpdateExpression":this.walkUpdateExpression(E);break;case"YieldExpression":this.walkYieldExpression(E);break}}walkAwaitExpression(E){if(this.scope.topLevelScope===true)this.hooks.topLevelAwait.call(E);this.walkExpression(E.argument)}walkArrayExpression(E){if(E.elements){this.walkExpressions(E.elements)}}walkSpreadElement(E){if(E.argument){this.walkExpression(E.argument)}}walkObjectExpression(E){for(let N=0,R=E.properties.length;N<R;N++){const R=E.properties[N];this.walkProperty(R)}}walkProperty(E){if(E.type==="SpreadElement"){this.walkExpression(E.argument);return}if(E.computed){this.walkExpression(E.key)}if(E.shorthand&&E.value&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.walkIdentifier(E.value);this.scope.inShorthand=false}else{this.walkExpression(E.value)}}walkFunctionExpression(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=false;const R=E.params;if(E.id){R.push(E.id.name)}this.inFunctionScope(true,R,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}walkArrowFunctionExpression(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=N?"arrow":false;this.inFunctionScope(false,E.params,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}walkSequenceExpression(E){if(!E.expressions)return;const N=this.statementPath[this.statementPath.length-1];if(N===E||N.type==="ExpressionStatement"&&N.expression===E){const N=this.statementPath.pop();for(const N of E.expressions){this.statementPath.push(N);this.walkExpression(N);this.statementPath.pop()}this.statementPath.push(N)}else{this.walkExpressions(E.expressions)}}walkUpdateExpression(E){this.walkExpression(E.argument)}walkUnaryExpression(E){if(E.operator==="typeof"){const N=this.callHooksForExpression(this.hooks.typeof,E.argument,E);if(N===true)return;if(E.argument.type==="ChainExpression"){const N=this.callHooksForExpression(this.hooks.typeof,E.argument.expression,E);if(N===true)return}}this.walkExpression(E.argument)}walkLeftRightExpression(E){this.walkExpression(E.left);this.walkExpression(E.right)}walkBinaryExpression(E){this.walkLeftRightExpression(E)}walkLogicalExpression(E){const N=this.hooks.expressionLogicalOperator.call(E);if(N===undefined){this.walkLeftRightExpression(E)}else{if(N){this.walkExpression(E.right)}}}walkAssignmentExpression(E){if(E.left.type==="Identifier"){const N=this.getRenameIdentifier(E.right);if(N){if(this.callHooksForInfo(this.hooks.canRename,N,E.right)){if(!this.callHooksForInfo(this.hooks.rename,N,E.right)){this.setVariable(E.left.name,this.getVariableInfo(N))}return}}this.walkExpression(E.right);this.enterPattern(E.left,((N,R)=>{if(!this.callHooksForName(this.hooks.assign,N,E)){this.walkExpression(E.left)}}));return}if(E.left.type.endsWith("Pattern")){this.walkExpression(E.right);this.enterPattern(E.left,((N,R)=>{if(!this.callHooksForName(this.hooks.assign,N,E)){this.defineVariable(N)}}));this.walkPattern(E.left)}else if(E.left.type==="MemberExpression"){const N=this.getMemberExpressionInfo(E.left,Ie);if(N){if(this.callHooksForInfo(this.hooks.assignMemberChain,N.rootInfo,E,N.getMembers())){return}}this.walkExpression(E.right);this.walkExpression(E.left)}else{this.walkExpression(E.right);this.walkExpression(E.left)}}walkConditionalExpression(E){const N=this.hooks.expressionConditionalOperator.call(E);if(N===undefined){this.walkExpression(E.test);this.walkExpression(E.consequent);if(E.alternate){this.walkExpression(E.alternate)}}else{if(N){this.walkExpression(E.consequent)}else if(E.alternate){this.walkExpression(E.alternate)}}}walkNewExpression(E){const N=this.callHooksForExpression(this.hooks.new,E.callee,E);if(N===true)return;this.walkExpression(E.callee);if(E.arguments){this.walkExpressions(E.arguments)}}walkYieldExpression(E){if(E.argument){this.walkExpression(E.argument)}}walkTemplateLiteral(E){if(E.expressions){this.walkExpressions(E.expressions)}}walkTaggedTemplateExpression(E){if(E.tag){this.walkExpression(E.tag)}if(E.quasi&&E.quasi.expressions){this.walkExpressions(E.quasi.expressions)}}walkClassExpression(E){this.walkClass(E)}walkChainExpression(E){const N=this.hooks.optionalChaining.call(E);if(N===undefined){if(E.expression.type==="CallExpression"){this.walkCallExpression(E.expression)}else{this.walkMemberExpression(E.expression)}}}_walkIIFE(E,N,R){const getVarInfo=E=>{const N=this.getRenameIdentifier(E);if(N){if(this.callHooksForInfo(this.hooks.canRename,N,E)){if(!this.callHooksForInfo(this.hooks.rename,N,E)){return this.getVariableInfo(N)}}}this.walkExpression(E)};const{params:j,type:$}=E;const q=$==="ArrowFunctionExpression";const G=R?getVarInfo(R):null;const ie=N.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&q?"arrow":false;const ce=j.filter(((E,N)=>!ie[N]));if(E.id){ce.push(E.id.name)}this.inFunctionScope(true,ce,(()=>{if(G&&!q){this.setVariable("this",G)}for(let E=0;E<ie.length;E++){const N=ie[E];if(!N)continue;if(!j[E]||j[E].type!=="Identifier")continue;this.setVariable(j[E].name,N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=ae}walkImportExpression(E){let N=this.hooks.importCall.call(E);if(N===true)return;this.walkExpression(E.source)}walkCallExpression(E){const isSimpleFunction=E=>E.params.every((E=>E.type==="Identifier"));if(E.callee.type==="MemberExpression"&&E.callee.object.type.endsWith("FunctionExpression")&&!E.callee.computed&&(E.callee.property.name==="call"||E.callee.property.name==="bind")&&E.arguments.length>0&&isSimpleFunction(E.callee.object)){this._walkIIFE(E.callee.object,E.arguments.slice(1),E.arguments[0])}else if(E.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(E.callee)){this._walkIIFE(E.callee,E.arguments,null)}else{if(E.callee.type==="MemberExpression"){const N=this.getMemberExpressionInfo(E.callee,we);if(N&&N.type==="call"){const R=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,N.rootInfo,E,N.getCalleeMembers(),N.call,N.getMembers());if(R===true)return}}const N=this.evaluateExpression(E.callee);if(N.isIdentifier()){const R=this.callHooksForInfo(this.hooks.callMemberChain,N.rootInfo,E,N.getMembers());if(R===true)return;const j=this.callHooksForInfo(this.hooks.call,N.identifier,E);if(j===true)return}if(E.callee){if(E.callee.type==="MemberExpression"){this.walkExpression(E.callee.object);if(E.callee.computed===true)this.walkExpression(E.callee.property)}else{this.walkExpression(E.callee)}}if(E.arguments)this.walkExpressions(E.arguments)}}walkMemberExpression(E){const N=this.getMemberExpressionInfo(E,Ne);if(N){switch(N.type){case"expression":{const R=this.callHooksForInfo(this.hooks.expression,N.name,E);if(R===true)return;const j=N.getMembers();const $=this.callHooksForInfo(this.hooks.expressionMemberChain,N.rootInfo,E,j);if($===true)return;this.walkMemberExpressionWithExpressionName(E,N.name,N.rootInfo,j.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,N.rootInfo,E,j)));return}case"call":{const R=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,N.rootInfo,E,N.getCalleeMembers(),N.call,N.getMembers());if(R===true)return;this.walkExpression(N.call);return}}}this.walkExpression(E.object);if(E.computed===true)this.walkExpression(E.property)}walkMemberExpressionWithExpressionName(E,N,R,j,$){if(E.object.type==="MemberExpression"){const q=E.property.name||`${E.property.value}`;N=N.slice(0,-q.length-1);j.pop();const G=this.callHooksForInfo(this.hooks.expression,N,E.object);if(G===true)return;this.walkMemberExpressionWithExpressionName(E.object,N,R,j,$)}else if(!$||!$()){this.walkExpression(E.object)}if(E.computed===true)this.walkExpression(E.property)}walkThisExpression(E){this.callHooksForName(this.hooks.expression,"this",E)}walkIdentifier(E){this.callHooksForName(this.hooks.expression,E.name,E)}walkMetaProperty(E){this.hooks.expression.for(getRootName(E)).call(E)}callHooksForExpression(E,N,...R){return this.callHooksForExpressionWithFallback(E,N,undefined,undefined,...R)}callHooksForExpressionWithFallback(E,N,R,j,...$){const q=this.getMemberExpressionInfo(N,Ie);if(q!==undefined){const N=q.getMembers();return this.callHooksForInfoWithFallback(E,N.length===0?q.rootInfo:q.name,R&&(E=>R(E,q.rootInfo,q.getMembers)),j&&(()=>j(q.name)),...$)}}callHooksForName(E,N,...R){return this.callHooksForNameWithFallback(E,N,undefined,undefined,...R)}callHooksForInfo(E,N,...R){return this.callHooksForInfoWithFallback(E,N,undefined,undefined,...R)}callHooksForInfoWithFallback(E,N,R,j,...$){let q;if(typeof N==="string"){q=N}else{if(!(N instanceof VariableInfo)){if(j!==undefined){return j()}return}let R=N.tagInfo;while(R!==undefined){const N=E.get(R.tag);if(N!==undefined){this.currentTagData=R.data;const E=N.call(...$);this.currentTagData=undefined;if(E!==undefined)return E}R=R.next}if(N.freeName===true){if(j!==undefined){return j()}return}q=N.freeName}const G=E.get(q);if(G!==undefined){const E=G.call(...$);if(E!==undefined)return E}if(R!==undefined){return R(q)}}callHooksForNameWithFallback(E,N,R,j,...$){return this.callHooksForInfoWithFallback(E,this.getVariableInfo(N),R,j,...$)}inScope(E,N){const R=this.scope;this.scope={topLevelScope:R.topLevelScope,inTry:false,inShorthand:false,isStrict:R.isStrict,isAsmJs:R.isAsmJs,definitions:R.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(E,((E,N)=>{this.defineVariable(E)}));N();this.scope=R}inFunctionScope(E,N,R){const j=this.scope;this.scope={topLevelScope:j.topLevelScope,inTry:false,inShorthand:false,isStrict:j.isStrict,isAsmJs:j.isAsmJs,definitions:j.definitions.createChild()};if(E){this.undefineVariable("this")}this.enterPatterns(N,((E,N)=>{this.defineVariable(E)}));R();this.scope=j}inBlockScope(E){const N=this.scope;this.scope={topLevelScope:N.topLevelScope,inTry:N.inTry,inShorthand:false,isStrict:N.isStrict,isAsmJs:N.isAsmJs,definitions:N.definitions.createChild()};E();this.scope=N}detectMode(E){const N=E.length>=1&&E[0].type==="ExpressionStatement"&&E[0].expression.type==="Literal";if(N&&E[0].expression.value==="use strict"){this.scope.isStrict=true}if(N&&E[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(E,N){for(const R of E){if(typeof R!=="string"){this.enterPattern(R,N)}else if(R){N(R)}}}enterPattern(E,N){if(!E)return;switch(E.type){case"ArrayPattern":this.enterArrayPattern(E,N);break;case"AssignmentPattern":this.enterAssignmentPattern(E,N);break;case"Identifier":this.enterIdentifier(E,N);break;case"ObjectPattern":this.enterObjectPattern(E,N);break;case"RestElement":this.enterRestElement(E,N);break;case"Property":if(E.shorthand&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.enterIdentifier(E.value,N);this.scope.inShorthand=false}else{this.enterPattern(E.value,N)}break}}enterIdentifier(E,N){if(!this.callHooksForName(this.hooks.pattern,E.name,E)){N(E.name,E)}}enterObjectPattern(E,N){for(let R=0,j=E.properties.length;R<j;R++){const j=E.properties[R];this.enterPattern(j,N)}}enterArrayPattern(E,N){for(let R=0,j=E.elements.length;R<j;R++){const j=E.elements[R];this.enterPattern(j,N)}}enterRestElement(E,N){this.enterPattern(E.argument,N)}enterAssignmentPattern(E,N){this.enterPattern(E.left,N)}evaluateExpression(E){try{const N=this.hooks.evaluate.get(E.type);if(N!==undefined){const R=N.call(E);if(R!==undefined){if(R){R.setExpression(E)}return R}}}catch(E){console.warn(E)}return(new Ee).setRange(E.range).setExpression(E)}parseString(E){switch(E.type){case"BinaryExpression":if(E.operator==="+"){return this.parseString(E.left)+this.parseString(E.right)}break;case"Literal":return E.value+""}throw new Error(E.type+" is not supported as parameter for require")}parseCalculatedString(E){switch(E.type){case"BinaryExpression":if(E.operator==="+"){const N=this.parseCalculatedString(E.left);const R=this.parseCalculatedString(E.right);if(N.code){return{range:N.range,value:N.value,code:true,conditional:false}}else if(R.code){return{range:[N.range[0],R.range?R.range[1]:N.range[1]],value:N.value+R.value,code:true,conditional:false}}else{return{range:[N.range[0],R.range[1]],value:N.value+R.value,code:false,conditional:false}}}break;case"ConditionalExpression":{const N=this.parseCalculatedString(E.consequent);const R=this.parseCalculatedString(E.alternate);const j=[];if(N.conditional){j.push(...N.conditional)}else if(!N.code){j.push(N)}else{break}if(R.conditional){j.push(...R.conditional)}else if(!R.code){j.push(R)}else{break}return{range:undefined,value:"",code:true,conditional:j}}case"Literal":return{range:E.range,value:E.value+"",code:false,conditional:false}}return{range:undefined,value:"",code:true,conditional:false}}parse(E,N){let R;let j;const $=new Set;if(E===null){throw new Error("source must not be null")}if(Buffer.isBuffer(E)){E=E.toString("utf-8")}if(typeof E==="object"){R=E;j=E.comments}else{j=[];R=JavascriptParser._parse(E,{sourceType:this.sourceType,onComment:j,onInsertedSemicolon:E=>$.add(E)})}const q=this.scope;const G=this.state;const ie=this.comments;const ae=this.semicolons;const le=this.statementPath;const _e=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new ce};this.state=N;this.comments=j;this.semicolons=$;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(R,j)===undefined){this.detectMode(R.body);this.preWalkStatements(R.body);this.prevStatement=undefined;this.blockPreWalkStatements(R.body);this.prevStatement=undefined;this.walkStatements(R.body)}this.hooks.finish.call(R,j);this.scope=q;this.state=G;this.comments=ie;this.semicolons=ae;this.statementPath=le;this.prevStatement=_e;return N}evaluate(E){const N=JavascriptParser._parse("("+E+")",{sourceType:this.sourceType,locations:false});if(N.body.length!==1||N.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(N.body[0].expression)}isPure(E,N){if(!E)return true;const R=this.hooks.isPure.for(E.type).call(E,N);if(typeof R==="boolean")return R;switch(E.type){case"ClassDeclaration":case"ClassExpression":{if(E.body.type!=="ClassBody")return false;if(E.superClass&&!this.isPure(E.superClass,E.range[0])){return false}const N=E.body.body;return N.every((E=>(!E.computed||!E.key||this.isPure(E.key,E.range[0]))&&(!E.static||!E.value||this.isPure(E.value,E.key?E.key.range[1]:E.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return E.declarations.every((E=>this.isPure(E.init,E.range[0])));case"ConditionalExpression":return this.isPure(E.test,N)&&this.isPure(E.consequent,E.test.range[1])&&this.isPure(E.alternate,E.consequent.range[1]);case"SequenceExpression":return E.expressions.every((E=>{const R=this.isPure(E,N);N=E.range[1];return R}));case"CallExpression":{const R=E.range[0]-N>12&&this.getComments([N,E.range[0]]).some((E=>E.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(E.value)));if(!R)return false;N=E.callee.range[1];return E.arguments.every((E=>{if(E.type==="SpreadElement")return false;const R=this.isPure(E,N);N=E.range[1];return R}))}}const j=this.evaluateExpression(E);return!j.couldHaveSideEffects()}getComments(E){const[N,R]=E;const compare=(E,N)=>E.range[0]-N;let j=le.ge(this.comments,N,compare);let $=[];while(this.comments[j]&&this.comments[j].range[1]<=R){$.push(this.comments[j]);j++}return $}isAsiPosition(E){const N=this.statementPath[this.statementPath.length-1];if(N===undefined)throw new Error("Not in statement");return N.range[1]===E&&this.semicolons.has(E)||N.range[0]===E&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(E){this.semicolons.delete(E)}isStatementLevelExpression(E){const N=this.statementPath[this.statementPath.length-1];return E===N||N.type==="ExpressionStatement"&&N.expression===E}getTagData(E,N){const R=this.scope.definitions.get(E);if(R instanceof VariableInfo){let E=R.tagInfo;while(E!==undefined){if(E.tag===N)return E.data;E=E.next}}}tagVariable(E,N,R){const j=this.scope.definitions.get(E);let $;if(j===undefined){$=new VariableInfo(this.scope,E,{tag:N,data:R,next:undefined})}else if(j instanceof VariableInfo){$=new VariableInfo(j.declaredScope,j.freeName,{tag:N,data:R,next:j.tagInfo})}else{$=new VariableInfo(j,true,{tag:N,data:R,next:undefined})}this.scope.definitions.set(E,$)}defineVariable(E){const N=this.scope.definitions.get(E);if(N instanceof VariableInfo&&N.declaredScope===this.scope)return;this.scope.definitions.set(E,this.scope)}undefineVariable(E){this.scope.definitions.delete(E)}isVariableDefined(E){const N=this.scope.definitions.get(E);if(N===undefined)return false;if(N instanceof VariableInfo){return N.freeName===true}return true}getVariableInfo(E){const N=this.scope.definitions.get(E);if(N===undefined){return E}else{return N}}setVariable(E,N){if(typeof N==="string"){if(N===E){this.scope.definitions.delete(E)}else{this.scope.definitions.set(E,new VariableInfo(this.scope,N,undefined))}}else{this.scope.definitions.set(E,N)}}parseCommentOptions(E){const N=this.getComments(E);if(N.length===0){return je}let R={};let j=[];for(const E of N){const{value:N}=E;if(N&&Be.test(N)){try{const E=ie.runInNewContext(`(function(){return {${N}};})()`);Object.assign(R,E)}catch(N){N.comment=E;j.push(N)}}}return{options:R,errors:j}}extractMemberExpressionChain(E){let N=E;const R=[];while(N.type==="MemberExpression"){if(N.computed){if(N.property.type!=="Literal")break;R.push(`${N.property.value}`)}else{if(N.property.type!=="Identifier")break;R.push(N.property.name)}N=N.object}return{members:R,object:N}}getFreeInfoFromVariable(E){const N=this.getVariableInfo(E);let R;if(N instanceof VariableInfo){R=N.freeName;if(typeof R!=="string")return undefined}else if(typeof N!=="string"){return undefined}else{R=N}return{info:N,name:R}}getMemberExpressionInfo(E,N){const{object:R,members:j}=this.extractMemberExpressionChain(E);switch(R.type){case"CallExpression":{if((N&we)===0)return undefined;let E=R.callee;let $=Te;if(E.type==="MemberExpression"){({object:E,members:$}=this.extractMemberExpressionChain(E))}const q=getRootName(E);if(!q)return undefined;const G=this.getFreeInfoFromVariable(q);if(!G)return undefined;const{info:ie,name:ae}=G;const ce=objectAndMembersToName(ae,$);return{type:"call",call:R,calleeName:ce,rootInfo:ie,getCalleeMembers:_e((()=>$.reverse())),name:objectAndMembersToName(`${ce}()`,j),getMembers:_e((()=>j.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((N&Ie)===0)return undefined;const E=getRootName(R);if(!E)return undefined;const $=this.getFreeInfoFromVariable(E);if(!$)return undefined;const{info:q,name:G}=$;return{type:"expression",name:objectAndMembersToName(G,j),rootInfo:q,getMembers:_e((()=>j.reverse()))}}}}getNameForExpression(E){return this.getMemberExpressionInfo(E,Ie)}static _parse(E,N){const R=N?N.sourceType:"module";const j={...Le,allowReturnOutsideFunction:R==="script",...N,sourceType:R==="auto"?"module":R};let $;let q;let G=false;try{$=Me.parse(E,j)}catch(E){q=E;G=true}if(G&&R==="auto"){j.sourceType="script";if(!("allowReturnOutsideFunction"in N)){j.allowReturnOutsideFunction=true}if(Array.isArray(j.onComment)){j.onComment.length=0}try{$=Me.parse(E,j);G=false}catch(E){}}if(G){throw q}return $}}E.exports=JavascriptParser;E.exports.ALLOWED_MEMBER_TYPES_ALL=Ne;E.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Ie;E.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=we},48472:(E,N,R)=>{"use strict";const j=R(53558);const $=R(66298);const q=R(87250);N.toConstantDependency=(E,N,R)=>function constDependency(j){const q=new $(N,j.range,R);q.loc=j.loc;E.state.module.addPresentationalDependency(q);return true};N.evaluateToString=E=>function stringExpression(N){return(new q).setString(E).setRange(N.range)};N.evaluateToNumber=E=>function stringExpression(N){return(new q).setNumber(E).setRange(N.range)};N.evaluateToBoolean=E=>function booleanExpression(N){return(new q).setBoolean(E).setRange(N.range)};N.evaluateToIdentifier=(E,N,R,j)=>function identifierExpression($){let G=(new q).setIdentifier(E,N,R).setSideEffects(false).setRange($.range);switch(j){case true:G.setTruthy();break;case null:G.setNullish(true);break;case false:G.setFalsy();break}return G};N.expressionIsUnsupported=(E,N)=>function unsupportedExpression(R){const q=new $("(void 0)",R.range,null);q.loc=R.loc;E.state.module.addPresentationalDependency(q);if(!E.state.module)return;E.state.module.addWarning(new j(N,R.loc));return true};N.skipTraversal=()=>true;N.approve=()=>true},13085:(E,N,R)=>{"use strict";const j=R(71452);const $=R(76150);const q=R(58159);const{isSubset:G}=R(26221);const{chunkHasJs:ie}=R(18161);const getAllChunks=(E,N,R)=>{const $=new Set([E]);const q=new Set;for(const E of $){for(const j of E.chunks){if(j===N)continue;if(j===R)continue;q.add(j)}for(const N of E.parentsIterable){if(N instanceof j)$.add(N)}}return q};const ae="var __webpack_exports__ = ";N.generateEntryStartup=(E,N,R,j,ie)=>{const ce=[`var __webpack_exec__ = ${N.returningFunction(`__webpack_require__(${$.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=E=>`__webpack_exec__(${JSON.stringify(E)})`;const outputCombination=(E,R,j)=>{if(E.size===0){ce.push(`${j?ae:""}(${R.map(runModule).join(", ")});`)}else{const q=N.returningFunction(R.map(runModule).join(", "));ce.push(`${j&&!ie?ae:""}${ie?$.onChunksLoaded:$.startupEntrypoint}(0, ${JSON.stringify(Array.from(E,(E=>E.id)))}, ${q});`);if(j&&ie){ce.push(`${ae}${$.onChunksLoaded}();`)}}};let le=undefined;let _e=undefined;for(const[N,$]of R){const R=$.getRuntimeChunk();const q=E.getModuleId(N);const ie=getAllChunks($,j,R);if(le&&le.size===ie.size&&G(le,ie)){_e.push(q)}else{if(le){outputCombination(le,_e)}le=ie;_e=[q]}}if(le){outputCombination(le,_e,true)}ce.push("");return q.asString(ce)};N.updateHashForEntryStartup=(E,N,R,j)=>{for(const[$,q]of R){const R=q.getRuntimeChunk();const G=N.getModuleId($);E.update(`${G}`);for(const N of getAllChunks(q,j,R))E.update(`${N.id}`)}};N.getInitialChunkIds=(E,N)=>{const R=new Set(E.ids);for(const j of E.getAllInitialChunks()){if(j===E||ie(j,N))continue;for(const E of j.ids)R.add(E)}return R}},72055:(E,N,R)=>{"use strict";const{register:j}=R(24568);class JsonData{constructor(E){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(E)){this._buffer=E}else{this._data=E}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}j(JsonData,"webpack/lib/json/JsonData",null,{serialize(E,{write:N}){if(E._buffer===undefined&&E._data!==undefined){E._buffer=Buffer.from(JSON.stringify(E._data))}N(E._buffer)},deserialize({read:E}){return new JsonData(E())}});E.exports=JsonData},79279:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(77294);const{UsageState:q}=R(76632);const G=R(36253);const ie=R(76150);const stringifySafe=E=>{const N=JSON.stringify(E);if(!N){return undefined}return N.replace(/\u2028|\u2029/g,(E=>E==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(E,N,R)=>{if(N.otherExportsInfo.getUsed(R)!==q.Unused)return E;const j=Array.isArray(E);const $=j?[]:{};for(const j of Object.keys(E)){const G=N.getReadOnlyExportInfo(j);const ie=G.getUsed(R);if(ie===q.Unused)continue;let ae;if(ie===q.OnlyPropertiesUsed&&G.exportsInfo){ae=createObjectForExportsInfo(E[j],G.exportsInfo,R)}else{ae=E[j]}const ce=G.getUsedName(j,R);$[ce]=ae}if(j){let j=N.getReadOnlyExportInfo("length").getUsed(R)!==q.Unused?E.length:undefined;let G=0;for(let E=0;E<$.length;E++){if($[E]===undefined){G-=2}else{G+=`${E}`.length+3}}if(j!==undefined){G+=`${j}`.length+8-(j-$.length)*2}if(G<0)return Object.assign(j===undefined?{}:{length:j},$);const ie=j!==undefined?Math.max(j,$.length):$.length;for(let E=0;E<ie;E++){if($[E]===undefined){$[E]=0}}}return $};const ae=new Set(["javascript"]);class JsonGenerator extends G{getTypes(E){return ae}getSize(E,N){let R=E.buildInfo&&E.buildInfo.jsonData&&E.buildInfo.jsonData.get();if(!R)return 0;return stringifySafe(R).length+10}getConcatenationBailoutReason(E,N){return undefined}generate(E,{moduleGraph:N,runtimeTemplate:R,runtimeRequirements:G,runtime:ae,concatenationScope:ce}){const le=E.buildInfo&&E.buildInfo.jsonData&&E.buildInfo.jsonData.get();if(le===undefined){return new j(R.missingModuleStatement({request:E.rawRequest}))}const _e=N.getExportsInfo(E);let Ee=typeof le==="object"&&le&&_e.otherExportsInfo.getUsed(ae)===q.Unused?createObjectForExportsInfo(le,_e,ae):le;const Te=stringifySafe(Ee);const we=Te.length>20&&typeof Ee==="object"?`JSON.parse('${Te.replace(/[\\']/g,"\\$&")}')`:Te;let Ie;if(ce){Ie=`${R.supportsConst()?"const":"var"} ${$.NAMESPACE_OBJECT_EXPORT} = ${we};`;ce.registerNamespaceExport($.NAMESPACE_OBJECT_EXPORT)}else{G.add(ie.module);Ie=`${E.moduleArgument}.exports = ${we};`}return new j(Ie)}}E.exports=JsonGenerator},9483:(E,N,R)=>{"use strict";const j=R(35817);const $=R(79279);const q=R(79232);const G=j(R(71633),(()=>R(89408)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(E){E.hooks.compilation.tap("JsonModulesPlugin",((E,{normalModuleFactory:N})=>{N.hooks.createParser.for("json").tap("JsonModulesPlugin",(E=>{G(E);return new q(E)}));N.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new $))}))}}E.exports=JsonModulesPlugin},79232:(E,N,R)=>{"use strict";const j=R(78688);const $=R(2172);const q=R(38895);const G=R(72055);class JsonParser extends ${constructor(E){super();this.options=E||{}}parse(E,N){if(Buffer.isBuffer(E)){E=E.toString("utf-8")}const R=typeof this.options.parse==="function"?this.options.parse:j;const $=typeof E==="object"?E:R(E[0]==="\ufeff"?E.slice(1):E);N.module.buildInfo.jsonData=new G($);N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="default";N.module.buildMeta.defaultObject=typeof $==="object"?"redirect-warn":false;N.module.addDependency(new q(q.getExportsFromData($)));return N}}E.exports=JsonParser},9786:(E,N,R)=>{"use strict";const j=R(76150);const $=R(18161);const q="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:E,type:N}){this._pluginName=E;this._type=N;this._parseCache=new WeakMap}apply(E){const{_pluginName:N}=this;E.hooks.thisCompilation.tap(N,(E=>{E.hooks.finishModules.tap({name:N,stage:10},(()=>{for(const[N,{dependencies:R,options:{library:j}}]of E.entries){const $=this._parseOptionsCached(j!==undefined?j:E.outputOptions.library);if($!==false){const j=R[R.length-1];if(j){const R=E.moduleGraph.getModule(j);if(R){this.finishEntryModule(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}}}}}));const getOptionsForChunk=N=>{if(E.chunkGraph.getNumberOfEntryModules(N)===0)return false;const R=N.getEntryOptions();const j=R&&R.library;return this._parseOptionsCached(j!==undefined?j:E.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){E.hooks.additionalChunkRuntimeRequirements.tap(N,((N,R,{chunkGraph:j})=>{const $=getOptionsForChunk(N);if($!==false){this.runtimeRequirements(N,R,{options:$,compilation:E,chunkGraph:j})}}))}const R=$.getCompilationHooks(E);if(this.render!==AbstractLibraryPlugin.prototype.render){R.render.tap(N,((N,R)=>{const j=getOptionsForChunk(R.chunk);if(j===false)return N;return this.render(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){R.embedInRuntimeBailout.tap(N,((N,R)=>{const j=getOptionsForChunk(R.chunk);if(j===false)return;return this.embedInRuntimeBailout(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){R.strictRuntimeBailout.tap(N,(N=>{const R=getOptionsForChunk(N.chunk);if(R===false)return;return this.strictRuntimeBailout(N,{options:R,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){R.renderStartup.tap(N,((N,R,j)=>{const $=getOptionsForChunk(j.chunk);if($===false)return N;return this.renderStartup(N,R,j,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}R.chunkHash.tap(N,((N,R,j)=>{const $=getOptionsForChunk(N);if($===false)return;this.chunkHash(N,R,j,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}))}_parseOptionsCached(E){if(!E)return false;if(E.type!==this._type)return false;const N=this._parseCache.get(E);if(N!==undefined)return N;const R=this.parseOptions(E);this._parseCache.set(E,R);return R}parseOptions(E){const N=R(75884);throw new N}finishEntryModule(E,N,R){}embedInRuntimeBailout(E,N,R){return undefined}strictRuntimeBailout(E,N){return undefined}runtimeRequirements(E,N,R){if(this.render!==AbstractLibraryPlugin.prototype.render)N.add(j.returnExportsFromRuntime)}render(E,N,R){return E}renderStartup(E,N,R,j){return E}chunkHash(E,N,R,j){const $=this._parseOptionsCached(j.compilation.outputOptions.library);N.update(this._pluginName);N.update(JSON.stringify($))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=q;E.exports=AbstractLibraryPlugin},17982:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(16734);const q=R(58159);const G=R(9786);class AmdLibraryPlugin extends G{constructor(E){super({pluginName:"AmdLibraryPlugin",type:E.type});this.requireAsWrapper=E.requireAsWrapper}parseOptions(E){const{name:N}=E;if(this.requireAsWrapper){if(N){throw new Error(`AMD library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(N&&typeof N!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:N}}render(E,{chunkGraph:N,chunk:R,runtimeTemplate:G},{options:ie,compilation:ae}){const ce=G.supportsArrowFunction();const le=N.getChunkModules(R).filter((E=>E instanceof $));const _e=le;const Ee=JSON.stringify(_e.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Te=_e.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${N.getModuleId(E)}`)}__`)).join(", ");const we=G.isIIFE();const Ie=(ce?`(${Te}) => {`:`function(${Te}) {`)+(we||!R.hasRuntime()?" return ":"\n");const Ne=we?";\n}":"\n}";if(this.requireAsWrapper){return new j(`require(${Ee}, ${Ie}`,E,`${Ne});`)}else if(ie.name){const N=ae.getPath(ie.name,{chunk:R});return new j(`define(${JSON.stringify(N)}, ${Ee}, ${Ie}`,E,`${Ne});`)}else if(Te){return new j(`define(${Ee}, ${Ie}`,E,`${Ne});`)}else{return new j(`define(${Ie}`,E,`${Ne});`)}}chunkHash(E,N,R,{options:j,compilation:$}){N.update("AmdLibraryPlugin");if(this.requireAsWrapper){N.update("requireAsWrapper")}else if(j.name){N.update("named");const R=$.getPath(j.name,{chunk:E});N.update(R)}}}E.exports=AmdLibraryPlugin},69444:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(58159);const G=R(68038);const{getEntryRuntime:ie}=R(37416);const ae=R(9786);const ce=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const le=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=E=>!ce.test(E)&&le.test(E);const accessWithInit=(E,N,R=false)=>{const j=E[0];if(E.length===1&&!R)return j;let $=N>0?j:`(${j} = typeof ${j} === "undefined" ? {} : ${j})`;let q=1;let ie;if(N>q){ie=E.slice(1,N);q=N;$+=G(ie)}else{ie=[]}const ae=R?E.length:E.length-1;for(;q<ae;q++){const N=E[q];ie.push(N);$=`(${$}${G([N])} = ${j}${G(ie)} || {})`}if(q<E.length)$=`${$}${G([E[E.length-1]])}`;return $};class AssignLibraryPlugin extends ae{constructor(E){super({pluginName:"AssignLibraryPlugin",type:E.type});this.prefix=E.prefix;this.declare=E.declare;this.unnamed=E.unnamed;this.named=E.named||"assign"}parseOptions(E){const{name:N}=E;if(this.unnamed==="error"){if(typeof N!=="string"&&!Array.isArray(N)){throw new Error(`Library name must be a string or string array. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(N&&typeof N!=="string"&&!Array.isArray(N)){throw new Error(`Library name must be a string, string array or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:N,export:E.export}}finishEntryModule(E,N,{options:R,compilation:j,compilation:{moduleGraph:q}}){const G=ie(j,N);if(R.export){const N=q.getExportInfo(E,Array.isArray(R.export)?R.export[0]:R.export);N.setUsed($.Used,G);N.canMangleUse=false}else{const N=q.getExportsInfo(E);N.setUsedInUnknownWay(G)}q.addExtraReason(E,"used as library export")}_getPrefix(E){return this.prefix==="global"?[E.outputOptions.globalObject]:this.prefix}_getResolvedFullName(E,N,R){const j=this._getPrefix(R);const $=E.name?j.concat(E.name):j;return $.map((E=>R.getPath(E,{chunk:N})))}render(E,{chunk:N},{options:R,compilation:$}){const G=this._getResolvedFullName(R,N,$);if(this.declare){const N=G[0];if(!isNameValid(N)){throw new Error(`Library name base (${N}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${q.toIdentifier(N)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}E=new j(`${this.declare} ${N};\n`,E)}return E}embedInRuntimeBailout(E,{chunk:N},{options:R,compilation:j}){const $=E.buildInfo&&E.buildInfo.topLevelDeclarations;if(!$)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(R,N,j);const G=q[0];if($.has(G))return`it declares '${G}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:E},{options:N,compilation:R}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!N.name){return}return"a global variable is assign and maybe created"}renderStartup(E,N,{chunk:R},{options:$,compilation:q}){const ie=this._getResolvedFullName($,R,q);const ae=$.export?G(Array.isArray($.export)?$.export:[$.export]):"";const ce=new j(E);if($.name?this.named==="copy":this.unnamed==="copy"){ce.add(`var __webpack_export_target__ = ${accessWithInit(ie,this._getPrefix(q).length,true)};\n`);let E="__webpack_exports__";if(ae){ce.add(`var __webpack_exports_export__ = __webpack_exports__${ae};\n`);E="__webpack_exports_export__"}ce.add(`for(var i in ${E}) __webpack_export_target__[i] = ${E}[i];\n`);ce.add(`if(${E}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{ce.add(`${accessWithInit(ie,this._getPrefix(q).length,false)} = __webpack_exports__${ae};\n`)}return ce}runtimeRequirements(E,N,R){}chunkHash(E,N,R,{options:j,compilation:$}){N.update("AssignLibraryPlugin");const q=this.prefix==="global"?[$.outputOptions.globalObject]:this.prefix;const G=j.name?q.concat(j.name):q;const ie=G.map((N=>$.getPath(N,{chunk:E})));if(j.name?this.named==="copy":this.unnamed==="copy"){N.update("copy")}if(this.declare){N.update(this.declare)}N.update(ie.join("."));if(j.export){N.update(`${j.export}`)}}}E.exports=AssignLibraryPlugin},13984:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableLibraryPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Library type "${N}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){const enableExportProperty=()=>{const j=R(97140);new j({type:N,nsObjectUsed:N!=="module"}).apply(E)};switch(N){case"var":{const j=R(69444);new j({type:N,prefix:[],declare:"var",unnamed:"error"}).apply(E);break}case"assign-properties":{const j=R(69444);new j({type:N,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(E);break}case"assign":{const j=R(69444);new j({type:N,prefix:[],declare:false,unnamed:"error"}).apply(E);break}case"this":{const j=R(69444);new j({type:N,prefix:["this"],declare:false,unnamed:"copy"}).apply(E);break}case"window":{const j=R(69444);new j({type:N,prefix:["window"],declare:false,unnamed:"copy"}).apply(E);break}case"self":{const j=R(69444);new j({type:N,prefix:["self"],declare:false,unnamed:"copy"}).apply(E);break}case"global":{const j=R(69444);new j({type:N,prefix:"global",declare:false,unnamed:"copy"}).apply(E);break}case"commonjs":{const j=R(69444);new j({type:N,prefix:["exports"],declare:false,unnamed:"copy"}).apply(E);break}case"commonjs2":case"commonjs-module":{const j=R(69444);new j({type:N,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(E);break}case"amd":case"amd-require":{enableExportProperty();const j=R(17982);new j({type:N,requireAsWrapper:N==="amd-require"}).apply(E);break}case"umd":case"umd2":{enableExportProperty();const j=R(76456);new j({type:N,optionalAmdExternalAsGlobal:N==="umd2"}).apply(E);break}case"system":{enableExportProperty();const j=R(59405);new j({type:N}).apply(E);break}case"jsonp":{enableExportProperty();const j=R(63154);new j({type:N}).apply(E);break}case"module":{enableExportProperty();const j=R(68111);new j({type:N}).apply(E);break}default:throw new Error(`Unsupported library type ${N}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableLibraryPlugin},97140:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(68038);const{getEntryRuntime:G}=R(37416);const ie=R(9786);class ExportPropertyLibraryPlugin extends ie{constructor({type:E,nsObjectUsed:N}){super({pluginName:"ExportPropertyLibraryPlugin",type:E});this.nsObjectUsed=N}parseOptions(E){return{export:E.export}}finishEntryModule(E,N,{options:R,compilation:j,compilation:{moduleGraph:q}}){const ie=G(j,N);if(R.export){const N=q.getExportInfo(E,Array.isArray(R.export)?R.export[0]:R.export);N.setUsed($.Used,ie);N.canMangleUse=false}else{const N=q.getExportsInfo(E);if(this.nsObjectUsed){N.setUsedInUnknownWay(ie)}else{N.setAllKnownExportsUsed(ie)}}q.addExtraReason(E,"used as library export")}runtimeRequirements(E,N,R){}renderStartup(E,N,R,{options:$}){if(!$.export)return E;const G=`__webpack_exports__ = __webpack_exports__${q(Array.isArray($.export)?$.export:[$.export])};\n`;return new j(E,G)}}E.exports=ExportPropertyLibraryPlugin},63154:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(9786);class JsonpLibraryPlugin extends ${constructor(E){super({pluginName:"JsonpLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(typeof N!=="string"){throw new Error(`Jsonp library name must be a simple string. ${$.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}render(E,{chunk:N},{options:R,compilation:$}){const q=$.getPath(R.name,{chunk:N});return new j(`${q}(`,E,")")}chunkHash(E,N,R,{options:j,compilation:$}){N.update("JsonpLibraryPlugin");N.update($.getPath(j.name,{chunk:E}))}}E.exports=JsonpLibraryPlugin},68111:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(58159);const q=R(68038);const G=R(9786);class ModuleLibraryPlugin extends G{constructor(E){super({pluginName:"ModuleLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(N){throw new Error(`Library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}renderStartup(E,N,{moduleGraph:R,chunk:G},{options:ie,compilation:ae}){const ce=new j(E);const le=R.getExportsInfo(N);const _e=[];const Ee=R.isAsync(N);if(Ee){ce.add(`__webpack_exports__ = await __webpack_exports__;\n`)}for(const E of le.orderedExports){if(!E.provided)continue;const N=`__webpack_exports__${$.toIdentifier(E.name)}`;ce.add(`var ${N} = __webpack_exports__${q([E.getUsedName(E.name,G.runtime)])};\n`);_e.push(`${N} as ${E.name}`)}if(_e.length>0){ce.add(`export { ${_e.join(", ")} };\n`)}return ce}}E.exports=ModuleLibraryPlugin},59405:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(16734);const G=R(58159);const ie=R(68038);const ae=R(9786);class SystemLibraryPlugin extends ae{constructor(E){super({pluginName:"SystemLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(N&&typeof N!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}render(E,{chunkGraph:N,moduleGraph:R,chunk:ae},{options:ce,compilation:le}){const _e=N.getChunkModules(ae).filter((E=>E instanceof q&&E.externalType==="system"));const Ee=_e;const Te=ce.name?`${JSON.stringify(le.getPath(ce.name,{chunk:ae}))}, `:"";const we=JSON.stringify(Ee.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ie="__WEBPACK_DYNAMIC_EXPORT__";const Ne=Ee.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${N.getModuleId(E)}`)}__`));const Me=Ne.map((E=>`var ${E} = {};`)).join("\n");const Le=[];const Be=Ne.length===0?"":G.asString(["setters: [",G.indent(Ee.map(((E,N)=>{const j=Ne[N];const q=R.getExportsInfo(E);const ce=q.otherExportsInfo.getUsed(ae.runtime)===$.Unused;const le=[];const _e=[];for(const E of q.orderedExports){const N=E.getUsedName(undefined,ae.runtime);if(N){if(ce||N!==E.name){le.push(`${j}${ie([N])} = module${ie([E.name])};`);_e.push(E.name)}}else{_e.push(E.name)}}if(!ce){if(!Array.isArray(E.request)||E.request.length===1){Le.push(`Object.defineProperty(${j}, "__esModule", { value: true });`)}if(_e.length>0){const E=`${j}handledNames`;Le.push(`var ${E} = ${JSON.stringify(_e)};`);le.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`if(${E}.indexOf(key) >= 0)`,G.indent(`${j}[key] = module[key];`)]),"});"]))}else{le.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`${j}[key] = module[key];`]),"});"]))}}if(le.length===0)return"function() {}";return G.asString(["function(module) {",G.indent(le),"}"])})).join(",\n")),"],"]);return new j(G.asString([`System.register(${Te}${we}, function(${Ie}, __system_context__) {`,G.indent([Me,G.asString(Le),"return {",G.indent([Be,"execute: function() {",G.indent(`${Ie}(`)])]),""]),E,G.asString(["",G.indent([G.indent([G.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(E,N,R,{options:j,compilation:$}){N.update("SystemLibraryPlugin");if(j.name){N.update($.getPath(j.name,{chunk:E}))}}}E.exports=SystemLibraryPlugin},76456:(E,N,R)=>{"use strict";const{ConcatSource:j,OriginalSource:$}=R(48135);const q=R(16734);const G=R(58159);const ie=R(9786);const accessorToObjectAccess=E=>E.map((E=>`[${JSON.stringify(E)}]`)).join("");const accessorAccess=(E,N,R=", ")=>{const j=Array.isArray(N)?N:[N];return j.map(((N,R)=>{const $=E?E+accessorToObjectAccess(j.slice(0,R+1)):j[0]+accessorToObjectAccess(j.slice(1,R+1));if(R===j.length-1)return $;if(R===0&&E===undefined)return`${$} = typeof ${$} === "object" ? ${$} : {}`;return`${$} = ${$} || {}`})).join(R)};class UmdLibraryPlugin extends ie{constructor(E){super({pluginName:"UmdLibraryPlugin",type:E.type});this.optionalAmdExternalAsGlobal=E.optionalAmdExternalAsGlobal}parseOptions(E){let N;let R;if(typeof E.name==="object"&&!Array.isArray(E.name)){N=E.name.root||E.name.amd||E.name.commonjs;R=E.name}else{N=E.name;const j=Array.isArray(N)?N[0]:N;R={commonjs:j,root:E.name,amd:j}}return{name:N,names:R,auxiliaryComment:E.auxiliaryComment,namedDefine:E.umdNamedDefine}}render(E,{chunkGraph:N,runtimeTemplate:R,chunk:ie,moduleGraph:ae},{options:ce,compilation:le}){const _e=N.getChunkModules(ie).filter((E=>E instanceof q&&(E.externalType==="umd"||E.externalType==="umd2")));let Ee=_e;const Te=[];let we=[];if(this.optionalAmdExternalAsGlobal){for(const E of Ee){if(E.isOptional(ae)){Te.push(E)}else{we.push(E)}}Ee=we.concat(Te)}else{we=Ee}const replaceKeys=E=>le.getPath(E,{chunk:ie});const externalsDepsArray=E=>`[${replaceKeys(E.map((E=>JSON.stringify(typeof E.request==="object"?E.request.amd:E.request))).join(", "))}]`;const externalsRootArray=E=>replaceKeys(E.map((E=>{let N=E.request;if(typeof N==="object")N=N.root;return`root${accessorToObjectAccess([].concat(N))}`})).join(", "));const externalsRequireArray=E=>replaceKeys(Ee.map((N=>{let R;let j=N.request;if(typeof j==="object"){j=j[E]}if(j===undefined){throw new Error("Missing external configuration for type:"+E)}if(Array.isArray(j)){R=`require(${JSON.stringify(j[0])})${accessorToObjectAccess(j.slice(1))}`}else{R=`require(${JSON.stringify(j)})`}if(N.isOptional(ae)){R=`(function webpackLoadOptionalExternalModule() { try { return ${R}; } catch(e) {} }())`}return R})).join(", "));const externalsArguments=E=>E.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${N.getModuleId(E)}`)}__`)).join(", ");const libraryName=E=>JSON.stringify(replaceKeys([].concat(E).pop()));let Ie;if(Te.length>0){const E=externalsArguments(we);const N=we.length>0?externalsArguments(we)+", "+externalsRootArray(Te):externalsRootArray(Te);Ie=`function webpackLoadOptionalExternalModuleAmd(${E}) {\n`+`\t\t\treturn factory(${N});\n`+"\t\t}"}else{Ie="factory"}const{auxiliaryComment:Ne,namedDefine:Me,names:Le}=ce;const getAuxiliaryComment=E=>{if(Ne){if(typeof Ne==="string")return"\t//"+Ne+"\n";if(Ne[E])return"\t//"+Ne[E]+"\n"}return""};return new j(new $("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(we.length>0?Le.amd&&Me===true?"\t\tdefine("+libraryName(Le.amd)+", "+externalsDepsArray(we)+", "+Ie+");\n":"\t\tdefine("+externalsDepsArray(we)+", "+Ie+");\n":Le.amd&&Me===true?"\t\tdefine("+libraryName(Le.amd)+", [], "+Ie+");\n":"\t\tdefine([], "+Ie+");\n")+(Le.root||Le.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Le.commonjs||Le.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Le.root||Le.commonjs))+" = factory("+externalsRootArray(Ee)+");\n":"\telse {\n"+(Ee.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(Ee)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${R.outputOptions.globalObject}, function(${externalsArguments(Ee)}) {\nreturn `,"webpack/universalModuleDefinition"),E,";\n})")}}E.exports=UmdLibraryPlugin},78539:(E,N)=>{"use strict";const R=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});N.LogType=R;const j=Symbol("webpack logger raw log method");const $=Symbol("webpack logger times");const q=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(E,N){this[j]=E;this.getChildLogger=N}error(...E){this[j](R.error,E)}warn(...E){this[j](R.warn,E)}info(...E){this[j](R.info,E)}log(...E){this[j](R.log,E)}debug(...E){this[j](R.debug,E)}assert(E,...N){if(!E){this[j](R.error,N)}}trace(){this[j](R.trace,["Trace"])}clear(){this[j](R.clear)}status(...E){this[j](R.status,E)}group(...E){this[j](R.group,E)}groupCollapsed(...E){this[j](R.groupCollapsed,E)}groupEnd(...E){this[j](R.groupEnd,E)}profile(E){this[j](R.profile,[E])}profileEnd(E){this[j](R.profileEnd,[E])}time(E){this[$]=this[$]||new Map;this[$].set(E,process.hrtime())}timeLog(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeLog()`)}const q=process.hrtime(N);this[j](R.time,[E,...q])}timeEnd(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeEnd()`)}const q=process.hrtime(N);this[$].delete(E);this[j](R.time,[E,...q])}timeAggregate(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeAggregate()`)}const R=process.hrtime(N);this[$].delete(E);this[q]=this[q]||new Map;const j=this[q].get(E);if(j!==undefined){if(R[1]+j[1]>1e9){R[0]+=j[0]+1;R[1]=R[1]-1e9+j[1]}else{R[0]+=j[0];R[1]+=j[1]}}this[q].set(E,R)}timeAggregateEnd(E){if(this[q]===undefined)return;const N=this[q].get(E);if(N===undefined)return;this[q].delete(E);this[j](R.time,[E,...N])}}N.Logger=WebpackLogger},70108:(E,N,R)=>{"use strict";const{LogType:j}=R(78539);const filterToFunction=E=>{if(typeof E==="string"){const N=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>N.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return N=>E.test(N)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const $={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};E.exports=({level:E="info",debug:N=false,console:R})=>{const q=typeof N==="boolean"?[()=>N]:[].concat(N).map(filterToFunction);const G=$[`${E}`]||0;const logger=(E,N,ie)=>{const labeledArgs=()=>{if(Array.isArray(ie)){if(ie.length>0&&typeof ie[0]==="string"){return[`[${E}] ${ie[0]}`,...ie.slice(1)]}else{return[`[${E}]`,...ie]}}else{return[]}};const ae=q.some((N=>N(E)));switch(N){case j.debug:if(!ae)return;if(typeof R.debug==="function"){R.debug(...labeledArgs())}else{R.log(...labeledArgs())}break;case j.log:if(!ae&&G>$.log)return;R.log(...labeledArgs());break;case j.info:if(!ae&&G>$.info)return;R.info(...labeledArgs());break;case j.warn:if(!ae&&G>$.warn)return;R.warn(...labeledArgs());break;case j.error:if(!ae&&G>$.error)return;R.error(...labeledArgs());break;case j.trace:if(!ae)return;R.trace();break;case j.groupCollapsed:if(!ae&&G>$.log)return;if(!ae&&G>$.verbose){if(typeof R.groupCollapsed==="function"){R.groupCollapsed(...labeledArgs())}else{R.log(...labeledArgs())}break}case j.group:if(!ae&&G>$.log)return;if(typeof R.group==="function"){R.group(...labeledArgs())}else{R.log(...labeledArgs())}break;case j.groupEnd:if(!ae&&G>$.log)return;if(typeof R.groupEnd==="function"){R.groupEnd()}break;case j.time:{if(!ae&&G>$.log)return;const N=ie[1]*1e3+ie[2]/1e6;const j=`[${E}] ${ie[0]}: ${N} ms`;if(typeof R.logTime==="function"){R.logTime(j)}else{R.log(j)}break}case j.profile:if(typeof R.profile==="function"){R.profile(...labeledArgs())}break;case j.profileEnd:if(typeof R.profileEnd==="function"){R.profileEnd(...labeledArgs())}break;case j.clear:if(!ae&&G>$.log)return;if(typeof R.clear==="function"){R.clear()}break;case j.status:if(!ae&&G>$.info)return;if(typeof R.status==="function"){if(ie.length===0){R.status()}else{R.status(...labeledArgs())}}else{if(ie.length!==0){R.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${N}`)}};return logger}},50595:E=>{"use strict";const arraySum=E=>{let N=0;for(const R of E)N+=R;return N};const truncateArgs=(E,N)=>{const R=E.map((E=>`${E}`.length));const j=N-R.length+1;if(j>0&&E.length===1){if(j>=E[0].length){return E}else if(j>3){return["..."+E[0].slice(-j+3)]}else{return[E[0].slice(-j)]}}if(j<arraySum(R.map((E=>Math.min(E,6))))){if(E.length>1)return truncateArgs(E.slice(0,E.length-1),N);return[]}let $=arraySum(R);if($<=j)return E;while($>j){const E=Math.max(...R);const N=R.filter((N=>N!==E));const q=N.length>0?Math.max(...N):0;const G=E-q;let ie=R.length-N.length;let ae=$-j;for(let N=0;N<R.length;N++){if(R[N]===E){const E=Math.min(Math.floor(ae/ie),G);R[N]-=E;$-=E;ae-=E;ie--}}}return E.map(((E,N)=>{const j=`${E}`;const $=R[N];if(j.length===$){return j}else if($>5){return"..."+j.slice(-$+3)}else if($>0){return j.slice(-$)}else{return""}}))};E.exports=truncateArgs},82827:(E,N,R)=>{"use strict";const j=R(76150);const $=R(64997);class CommonJsChunkLoadingPlugin{constructor(E){E=E||{};this._asyncChunkLoading=E.asyncChunkLoading}apply(E){const N=this._asyncChunkLoading?R(26020):R(75491);const q=this._asyncChunkLoading?"async-node":"require";new $({chunkLoading:q,asyncChunkLoading:this._asyncChunkLoading}).apply(E);E.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const j=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return j===q};const $=new WeakSet;const handler=(R,q)=>{if($.has(R))return;$.add(R);if(!isEnabledForChunk(R))return;q.add(j.moduleFactoriesAddOnly);q.add(j.hasOwnProperty);E.addRuntimeModule(R,new N(q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getUpdateManifestFilename)}))}))}}E.exports=CommonJsChunkLoadingPlugin},93632:(E,N,R)=>{"use strict";const j=R(67703);const $=R(15808);const q=R(70108);const G=R(2255);const ie=R(56642);class NodeEnvironmentPlugin{constructor(E){this.options=E}apply(E){const{infrastructureLogging:N}=this.options;E.infrastructureLogger=q({level:N.level||"info",debug:N.debug||false,console:N.console||ie({colors:N.colors,appendOnly:N.appendOnly,stream:N.stream})});E.inputFileSystem=new j($,6e4);const R=E.inputFileSystem;E.outputFileSystem=$;E.intermediateFileSystem=$;E.watchFileSystem=new G(E.inputFileSystem);E.hooks.beforeRun.tap("NodeEnvironmentPlugin",(E=>{if(E.inputFileSystem===R){E.fsStartTime=Date.now();R.purge()}}))}}E.exports=NodeEnvironmentPlugin},92662:E=>{"use strict";class NodeSourcePlugin{apply(E){}}E.exports=NodeSourcePlugin},84980:(E,N,R)=>{"use strict";const j=R(61050);const $=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(E){new j("node-commonjs",$).apply(E)}}E.exports=NodeTargetPlugin},91591:(E,N,R)=>{"use strict";const j=R(77314);const $=R(50369);class NodeTemplatePlugin{constructor(E){this._options=E||{}}apply(E){const N=this._options.asyncChunkLoading?"async-node":"require";E.options.output.chunkLoading=N;(new j).apply(E);new $(N).apply(E)}}E.exports=NodeTemplatePlugin},2255:(E,N,R)=>{"use strict";const j=R(92512);class NodeWatchFileSystem{constructor(E){this.inputFileSystem=E;this.watcherOptions={aggregateTimeout:0};this.watcher=new j(this.watcherOptions)}watch(E,N,R,$,q,G,ie){if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!N||typeof N[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!R||typeof R[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof G!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof $!=="number"&&$){throw new Error("Invalid arguments: 'startTime'")}if(typeof q!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ie!=="function"&&ie){throw new Error("Invalid arguments: 'callbackUndelayed'")}const ae=this.watcher;this.watcher=new j(q);if(ie){this.watcher.once("change",ie)}this.watcher.once("aggregated",((E,N)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}for(const E of N){R.purge(E)}}const R=this.watcher.getTimeInfoEntries();G(null,R,R,E,N)}));this.watcher.watch({files:E,directories:N,missing:R,startTime:$});if(ae){ae.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const E=this.watcher&&this.watcher.aggregatedRemovals;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}}return E},getAggregatedChanges:()=>{const E=this.watcher&&this.watcher.aggregatedChanges;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}}return E},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}E.exports=NodeWatchFileSystem},26020:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class ReadFileChunkLoadingRuntimeModule extends ${constructor(E){super("readFile chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:N}=this;const{runtimeTemplate:$}=this.compilation;const _e=j.ensureChunkHandlers;const Ee=this.runtimeRequirements.has(j.baseURI);const Te=this.runtimeRequirements.has(j.externalInstallChunk);const we=this.runtimeRequirements.has(j.onChunksLoaded);const Ie=this.runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Me=this.runtimeRequirements.has(j.hmrDownloadManifest);const Le=E.getChunkConditionMap(N,G);const Be=ce(Le);const je=ae(N,E);const Ue=this.compilation.getPath(ie(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const ze=le(Ue,this.compilation.outputOptions.path,false);const We=Ne?`${j.hmrRuntimeStatePrefix}_readFileVm`:undefined;return q.asString([Ee?q.asString([`${j.baseURI} = require("url").pathToFileURL(${ze?`__dirname + ${JSON.stringify("/"+ze)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(je,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",we?`${j.onChunksLoaded}.readFileVm = ${$.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Ie||Te?`var installChunk = ${$.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${j.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",q.indent(["if(installedChunks[chunkIds[i]]) {",q.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",we?`${j.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?q.asString(["// ReadFile + VM.run chunk loading for javascript",`${_e}.readFileVm = function(chunkId, promises) {`,Be!==false?q.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",q.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Te?q.asString(["module.exports = __webpack_require__;",`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${j.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Me?q.asString([`${j.hmrDownloadManifest} = function() {`,q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) {",q.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}E.exports=ReadFileChunkLoadingRuntimeModule},21273:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(34943);class ReadFileCompileAsyncWasmPlugin{constructor({type:E="async-node",import:N=false}={}){this._type=E;this._import=N}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j===this._type};const R=this._import?E=>$.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",$.indent([`readFile(new URL(${E}, import.meta.url), (err, buffer) => {`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):E=>$.asString(["new Promise(function (resolve, reject) {",$.indent(["try {",$.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${E}), function(err, buffer){`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(j.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((N,$)=>{if(!isEnabledForChunk(N))return;const G=E.chunkGraph;if(!G.hasModuleInGraph(N,(E=>E.type==="webassembly/async"))){return}$.add(j.publicPath);E.addRuntimeModule(N,new q({generateLoadBinaryCode:R,supportsStreaming:false}))}))}))}}E.exports=ReadFileCompileAsyncWasmPlugin},71049:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(61006);class ReadFileCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="async-node"};const generateLoadBinaryCode=E=>$.asString(["new Promise(function (resolve, reject) {",$.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",$.indent([`readFile(join(__dirname, ${E}), function(err, buffer){`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const $=E.chunkGraph;if(!$.hasModuleInGraph(N,(E=>E.type==="webassembly/sync"))){return}R.add(j.moduleCache);E.addRuntimeModule(N,new q({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:R}))}))}))}}E.exports=ReadFileCompileWasmPlugin},75491:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class RequireChunkLoadingRuntimeModule extends ${constructor(E){super("require chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:N}=this;const{runtimeTemplate:$}=this.compilation;const _e=j.ensureChunkHandlers;const Ee=this.runtimeRequirements.has(j.baseURI);const Te=this.runtimeRequirements.has(j.externalInstallChunk);const we=this.runtimeRequirements.has(j.onChunksLoaded);const Ie=this.runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Me=this.runtimeRequirements.has(j.hmrDownloadManifest);const Le=E.getChunkConditionMap(N,G);const Be=ce(Le);const je=ae(N,E);const Ue=this.compilation.getPath(ie(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const ze=le(Ue,this.compilation.outputOptions.path,true);const We=Ne?`${j.hmrRuntimeStatePrefix}_require`:undefined;return q.asString([Ee?q.asString([`${j.baseURI} = require("url").pathToFileURL(${ze!=="./"?`__dirname + ${JSON.stringify("/"+ze)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(je,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",we?`${j.onChunksLoaded}.require = ${$.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Ie||Te?`var installChunk = ${$.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${j.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",q.indent("installedChunks[chunkIds[i]] = 1;"),we?`${j.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?q.asString(["// require() chunk loading for javascript",`${_e}.require = ${$.basicFunction("chunkId, promises",Be!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent([`installChunk(require(${JSON.stringify(ze)} + ${j.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Te?q.asString(["module.exports = __webpack_require__;",`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent([`var update = require(${JSON.stringify(ze)} + ${j.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${j.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Me?q.asString([`${j.hmrDownloadManifest} = function() {`,q.indent(["return Promise.resolve().then(function() {",q.indent([`return require(${JSON.stringify(ze)} + ${j.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}E.exports=RequireChunkLoadingRuntimeModule},56642:(E,N,R)=>{"use strict";const j=R(73837);const $=R(50595);E.exports=({colors:E,appendOnly:N,stream:R})=>{let q=undefined;let G=false;let ie="";let ae=0;const indent=(N,R,j,$)=>{if(N==="")return N;R=ie+R;if(E){return R+j+N.replace(/\n/g,$+"\n"+R+j)+$}else{return R+N.replace(/\n/g,"\n"+R)}};const clearStatusMessage=()=>{if(G){R.write("\r");G=false}};const writeStatusMessage=()=>{if(!q)return;const E=R.columns;const N=E?$(q,E-1):q;const j=N.join(" ");const ie=`${j}`;R.write(`\r${ie}`);G=true};const writeColored=(E,N,$)=>(...q)=>{if(ae>0)return;clearStatusMessage();const G=indent(j.format(...q),E,N,$);R.write(G+"\n");writeStatusMessage()};const ce=writeColored("<-> ","","");const le=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored("<i> ","",""),warn:writeColored("<w> ","",""),error:writeColored("<e> ","",""),logTime:writeColored("<t> ","",""),group:(...E)=>{ce(...E);if(ae>0){ae++}else{ie+=" "}},groupCollapsed:(...E)=>{le(...E);ae++},groupEnd:()=>{if(ae>0)ae--;else if(ie.length>=2)ie=ie.slice(0,ie.length-2)},profile:console.profile&&(E=>console.profile(E)),profileEnd:console.profileEnd&&(E=>console.profileEnd(E)),clear:!N&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:N?writeColored("<s> ","",""):(E,...N)=>{N=N.filter(Boolean);if(E===undefined&&N.length===0){clearStatusMessage();q=undefined}else if(typeof E==="string"&&E.startsWith("[webpack.Progress] ")){q=[E.slice(19),...N];writeStatusMessage()}else if(E==="[webpack.Progress]"){q=[...N];writeStatusMessage()}else{q=[E,...N];writeStatusMessage()}}}}},61332:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);class AggressiveMergingPlugin{constructor(E){if(E!==undefined&&typeof E!=="object"||Array.isArray(E)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=E||{}}apply(E){const N=this.options;const R=N.minSizeReduce||1.5;E.hooks.thisCompilation.tap("AggressiveMergingPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:j},(N=>{const j=E.chunkGraph;let $=[];for(const E of N){if(E.canBeInitial())continue;for(const R of N){if(R.canBeInitial())continue;if(R===E)break;if(!j.canChunksBeIntegrated(E,R)){continue}const N=j.getChunkSize(R,{chunkOverhead:0});const q=j.getChunkSize(E,{chunkOverhead:0});const G=j.getIntegratedChunksSize(R,E,{chunkOverhead:0});const ie=(N+q)/G;$.push({a:E,b:R,improvement:ie})}}$.sort(((E,N)=>N.improvement-E.improvement));const q=$[0];if(!q)return;if(q.improvement<R)return;j.integrateChunks(q.b,q.a);E.chunks.delete(q.a);return true}))}))}}E.exports=AggressiveMergingPlugin},94827:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const{intersect:$}=R(26221);const{compareModulesByIdentifier:q,compareChunks:G}=R(68673);const ie=R(35817);const ae=R(49197);const ce=ie(R(77593),(()=>R(3484)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(E,N,R)=>j=>{E.disconnectChunkAndModule(N,j);E.connectChunkAndModule(R,j)};const isNotAEntryModule=(E,N)=>R=>!E.isEntryModuleInChunk(R,N);const le=new WeakSet;class AggressiveSplittingPlugin{constructor(E={}){ce(E);this.options=E;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(E){return le.has(E)}apply(E){E.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(N=>{let R=false;let ie;let ce;let _e;N.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ie=[];ce=new Set;_e=new Map}));N.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:j},(R=>{const j=N.chunkGraph;const le=new Map;const Ee=new Map;const Te=ae.makePathsRelative.bindContextCache(E.context,E.root);for(const E of N.modules){const N=Te(E.identifier());le.set(N,E);Ee.set(E,N)}const we=new Set;for(const E of R){we.add(E.id)}const Ie=N.records&&N.records.aggressiveSplits||[];const Ne=ie?Ie.concat(ie):Ie;const Me=this.options.minSize;const Le=this.options.maxSize;const applySplit=E=>{if(E.id!==undefined&&we.has(E.id)){return false}const R=E.modules.map((E=>le.get(E)));if(!R.every(Boolean))return false;let q=0;for(const E of R)q+=E.size();if(q!==E.size)return false;const G=$(R.map((E=>new Set(j.getModuleChunksIterable(E)))));if(G.size===0)return false;if(G.size===1&&j.getNumberOfChunkModules(Array.from(G)[0])===R.length){const N=Array.from(G)[0];if(ce.has(N))return false;ce.add(N);_e.set(N,E);return true}const ie=N.addChunk();ie.chunkReason="aggressive splitted";for(const E of G){R.forEach(moveModuleBetween(j,E,ie));E.split(ie);E.name=null}ce.add(ie);_e.set(ie,E);if(E.id!==null&&E.id!==undefined){ie.id=E.id;ie.ids=[E.id]}return true};let Be=false;for(let E=0;E<Ne.length;E++){const N=Ne[E];if(applySplit(N))Be=true}const je=G(j);const Ue=Array.from(R).sort(((E,N)=>{const R=j.getChunkModulesSize(N)-j.getChunkModulesSize(E);if(R)return R;const $=j.getNumberOfChunkModules(E)-j.getNumberOfChunkModules(N);if($)return $;return je(E,N)}));for(const E of Ue){if(ce.has(E))continue;const N=j.getChunkModulesSize(E);if(N>Le&&j.getNumberOfChunkModules(E)>1){const N=j.getOrderedChunkModules(E,q).filter(isNotAEntryModule(j,E));const R=[];let $=0;for(let E=0;E<N.length;E++){const j=N[E];const q=$+j.size();if(q>Le&&$>=Me){break}$=q;R.push(j)}if(R.length===0)continue;const G={modules:R.map((E=>Ee.get(E))).sort(),size:$};if(applySplit(G)){ie=(ie||[]).concat(G);Be=true}}}if(Be)return true}));N.hooks.recordHash.tap("AggressiveSplittingPlugin",(E=>{const j=new Set;const $=new Set;for(const E of N.chunks){const N=_e.get(E);if(N!==undefined){if(N.hash&&E.hash!==N.hash){$.add(N)}}}if($.size>0){E.aggressiveSplits=E.aggressiveSplits.filter((E=>!$.has(E)));R=true}else{for(const E of N.chunks){const N=_e.get(E);if(N!==undefined){N.hash=E.hash;N.id=E.id;j.add(N);le.add(E)}}const q=N.records&&N.records.aggressiveSplits;if(q){for(const E of q){if(!$.has(E))j.add(E)}}E.aggressiveSplits=Array.from(j);R=false}}));N.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(R){R=false;return true}}))}))}}E.exports=AggressiveSplittingPlugin},95734:(E,N,R)=>{"use strict";const j=R(19579);const $=R(36337);const{CachedSource:q,ConcatSource:G,ReplaceSource:ie}=R(48135);const ae=R(77294);const{UsageState:ce}=R(76632);const le=R(53453);const _e=R(76150);const Ee=R(58159);const Te=R(37359);const we=R(3711);const{equals:Ie}=R(73910);const Ne=R(83379);const{concatComparators:Me,keepOriginalOrder:Le}=R(68673);const Be=R(35891);const{makePathsRelative:je}=R(49197);const Ue=R(56202);const ze=R(68038);const{filterRuntime:We,intersectRuntime:Je,mergeRuntimeCondition:Ve,mergeRuntimeConditionNonFalse:qe,runtimeConditionToString:He,subtractRuntimeCondition:Ge}=R(37416);const Ke=$;if(!Ke.prototype.PropertyDefinition){Ke.prototype.PropertyDefinition=Ke.prototype.Property}const Qe=new Set([ae.DEFAULT_EXPORT,ae.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(E,N)=>{const R=E.sourceOrder;const j=N.sourceOrder;if(isNaN(R)){if(!isNaN(j)){return 1}}else{if(isNaN(j)){return-1}if(R!==j){return R<j?-1:1}}return 0};const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const getFinalBinding=(E,N,R,j,$,q,G,ie,ae,ce,le,_e=new Set)=>{const Te=N.module.getExportsType(E,ce);if(R.length===0){switch(Te){case"default-only":N.interopNamespaceObject2Used=true;return{info:N,rawName:N.interopNamespaceObject2Name,ids:R,exportName:R};case"default-with-named":N.interopNamespaceObjectUsed=true;return{info:N,rawName:N.interopNamespaceObjectName,ids:R,exportName:R};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Te}`)}}else{switch(Te){case"namespace":break;case"default-with-named":switch(R[0]){case"default":R=R.slice(1);break;case"__esModule":return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}break;case"default-only":{const E=R[0];if(E==="__esModule"){return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}R=R.slice(1);if(E!=="default"){return{info:N,rawName:"/* non-default import from default-exporting module */undefined",ids:R,exportName:R}}break}case"dynamic":switch(R[0]){case"default":{R=R.slice(1);N.interopDefaultAccessUsed=true;const E=ae?`${N.interopDefaultAccessName}()`:le?`(${N.interopDefaultAccessName}())`:le===false?`;(${N.interopDefaultAccessName}())`:`${N.interopDefaultAccessName}.a`;return{info:N,rawName:E,ids:R,exportName:R}}case"__esModule":return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}break;default:throw new Error(`Unexpected exportsType ${Te}`)}}if(R.length===0){switch(N.type){case"concatenated":ie.add(N);return{info:N,rawName:N.namespaceObjectName,ids:R,exportName:R};case"external":return{info:N,rawName:N.name,ids:R,exportName:R}}}const we=E.getExportsInfo(N.module);const Ne=we.getExportInfo(R[0]);if(_e.has(Ne)){return{info:N,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:R}}_e.add(Ne);switch(N.type){case"concatenated":{const ce=R[0];if(Ne.provided===false){ie.add(N);return{info:N,rawName:N.namespaceObjectName,ids:R,exportName:R}}const Ee=N.exportMap&&N.exportMap.get(ce);if(Ee){const E=we.getUsedName(R,$);if(!E){return{info:N,rawName:"/* unused export */ undefined",ids:R.slice(1),exportName:R}}return{info:N,name:Ee,ids:E.slice(1),exportName:R}}const Te=N.rawExportMap&&N.rawExportMap.get(ce);if(Te){return{info:N,rawName:Te,ids:R.slice(1),exportName:R}}const Ie=Ne.findTarget(E,(E=>j.has(E)));if(Ie===false){throw new Error(`Target module of reexport from '${N.module.readableIdentifier(q)}' is not part of the concatenation (export '${ce}')\nModules in the concatenation:\n${Array.from(j,(([E,N])=>` * ${N.type} ${E.readableIdentifier(q)}`)).join("\n")}`)}if(Ie){const ce=j.get(Ie.module);return getFinalBinding(E,ce,Ie.export?[...Ie.export,...R.slice(1)]:R.slice(1),j,$,q,G,ie,ae,N.module.buildMeta.strictHarmonyModule,le,_e)}if(N.namespaceExportSymbol){const E=we.getUsedName(R,$);return{info:N,rawName:N.namespaceObjectName,ids:E,exportName:R}}throw new Error(`Cannot get final name for export '${R.join(".")}' of ${N.module.readableIdentifier(q)}`)}case"external":{const E=we.getUsedName(R,$);if(!E){return{info:N,rawName:"/* unused export */ undefined",ids:R.slice(1),exportName:R}}const j=Ie(E,R)?"":Ee.toNormalComment(`${R.join(".")}`);return{info:N,rawName:N.name+j,ids:E,exportName:R}}}};const getFinalName=(E,N,R,j,$,q,G,ie,ae,ce,le,_e)=>{const Ee=getFinalBinding(E,N,R,j,$,q,G,ie,ae,le,_e);{const{ids:E,comment:N}=Ee;let R;let j;if("rawName"in Ee){R=`${Ee.rawName}${N||""}${ze(E)}`;j=E.length>0}else{const{info:$,name:G}=Ee;const ie=$.internalNames.get(G);if(!ie){throw new Error(`The export "${G}" in "${$.module.readableIdentifier(q)}" has no internal name (existing names: ${Array.from($.internalNames,(([E,N])=>`${E}: ${N}`)).join(", ")||"none"})`)}R=`${ie}${N||""}${ze(E)}`;j=E.length>1}if(j&&ae&&ce===false){return _e?`(0,${R})`:_e===false?`;(0,${R})`:`/*#__PURE__*/Object(${R})`}return R}};const addScopeSymbols=(E,N,R,j)=>{let $=E;while($){if(R.has($))break;if(j.has($))break;R.add($);for(const E of $.variables){N.add(E.name)}$=$.upper}};const getAllReferences=E=>{let N=E.references;const R=new Set(E.identifiers);for(const j of E.scope.childScopes){for(const E of j.variables){if(E.identifiers.some((E=>R.has(E)))){N=N.concat(E.references);break}}}return N};const getPathInAst=(E,N)=>{if(E===N){return[]}const R=N.range;const enterNode=E=>{if(!E)return undefined;const j=E.range;if(j){if(j[0]<=R[0]&&j[1]>=R[1]){const R=getPathInAst(E,N);if(R){R.push(E);return R}}}return undefined};if(Array.isArray(E)){for(let N=0;N<E.length;N++){const R=enterNode(E[N]);if(R!==undefined)return R}}else if(E&&typeof E==="object"){const R=Object.keys(E);for(let j=0;j<R.length;j++){const $=E[R[j]];if(Array.isArray($)){const E=getPathInAst($,N);if(E!==undefined)return E}else if($&&typeof $==="object"){const E=enterNode($);if(E!==undefined)return E}}}};const Xe=new Set(["javascript"]);class ConcatenatedModule extends le{static create(E,N,R,j,$="md4"){const q=ConcatenatedModule._createIdentifier(E,N,j,$);return new ConcatenatedModule({identifier:q,rootModule:E,modules:N,runtime:R})}constructor({identifier:E,rootModule:N,modules:R,runtime:j}){super("javascript/esm",null,N&&N.layer);this._identifier=E;this.rootModule=N;this._modules=R;this._runtime=j;this.factoryMeta=N&&N.factoryMeta}updateCacheModule(E){throw new Error("Must not be called")}getSourceTypes(){return Xe}get modules(){return Array.from(this._modules)}identifier(){return this._identifier}readableIdentifier(E){return this.rootModule.readableIdentifier(E)+` + ${this._modules.size-1} modules`}libIdent(E){return this.rootModule.libIdent(E)}nameForCondition(){return this.rootModule.nameForCondition()}getSideEffectsConnectionState(E){return this.rootModule.getSideEffectsConnectionState(E)}build(E,N,R,j,$){const{rootModule:q}=this;this.buildInfo={strict:true,cacheable:true,moduleArgument:q.buildInfo.moduleArgument,exportsArgument:q.buildInfo.exportsArgument,fileDependencies:new Ne,contextDependencies:new Ne,missingDependencies:new Ne,topLevelDeclarations:new Set,assets:undefined};this.buildMeta=q.buildMeta;this.clearDependenciesAndBlocks();this.clearWarningsAndErrors();for(const E of this._modules){if(!E.buildInfo.cacheable){this.buildInfo.cacheable=false}for(const R of E.dependencies.filter((E=>!(E instanceof Te)||!this._modules.has(N.moduleGraph.getModule(E))))){this.dependencies.push(R)}for(const N of E.blocks){this.blocks.push(N)}const R=E.getWarnings();if(R!==undefined){for(const E of R){this.addWarning(E)}}const j=E.getErrors();if(j!==undefined){for(const E of j){this.addError(E)}}if(E.buildInfo.topLevelDeclarations){const N=this.buildInfo.topLevelDeclarations;if(N!==undefined){for(const R of E.buildInfo.topLevelDeclarations){if(Qe.has(R))continue;N.add(R)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(E.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,E.buildInfo.assets)}if(E.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[N,R]of E.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(N,R)}}}$()}size(E){let N=0;for(const R of this._modules){N+=R.size(E)}return N}_createConcatenationList(E,N,R,j){const $=[];const q=new Map;const getConcatenatedImports=N=>{let $=Array.from(j.getOutgoingConnections(N));if(N===E){for(const E of j.getOutgoingConnections(this))$.push(E)}const q=$.filter((E=>{if(!(E.dependency instanceof Te))return false;return E&&E.resolvedOriginModule===N&&E.module&&E.isTargetActive(R)})).map((E=>({connection:E,sourceOrder:E.dependency.sourceOrder})));q.sort(Me(bySourceOrder,Le(q)));const G=new Map;for(const{connection:E}of q){const N=We(R,(N=>E.isTargetActive(N)));if(N===false)continue;const j=E.module;const $=G.get(j);if($===undefined){G.set(j,{connection:E,runtimeCondition:N});continue}$.runtimeCondition=qe($.runtimeCondition,N,R)}return G.values()};const enterModule=(E,j)=>{const G=E.module;if(!G)return;const ie=q.get(G);if(ie===true){return}if(N.has(G)){q.set(G,true);if(j!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${G.identifier()} in ${this.rootModule.identifier()}, ${He(j)}). This should not happen.`)}const N=getConcatenatedImports(G);for(const{connection:E,runtimeCondition:R}of N)enterModule(E,R);$.push({type:"concatenated",module:E.module,runtimeCondition:j})}else{if(ie!==undefined){const N=Ge(j,ie,R);if(N===false)return;j=N;q.set(E.module,qe(ie,j,R))}else{q.set(E.module,j)}if($.length>0){const N=$[$.length-1];if(N.type==="external"&&N.module===E.module){N.runtimeCondition=Ve(N.runtimeCondition,j,R);return}}$.push({type:"external",get module(){return E.module},runtimeCondition:j})}};q.set(E,true);const G=getConcatenatedImports(E);for(const{connection:E,runtimeCondition:N}of G)enterModule(E,N);$.push({type:"concatenated",module:E,runtimeCondition:true});return $}static _createIdentifier(E,N,R,j="md4"){const $=je.bindContextCache(E.context,R);let q=[];for(const E of N){q.push($(E.identifier()))}q.sort();const G=Be(j);G.update(q.join(" "));return E.identifier()+"|"+G.digest("hex")}addCacheDependencies(E,N,R,j){for(const $ of this._modules){$.addCacheDependencies(E,N,R,j)}}codeGeneration({dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtime:$}){const ie=new Set;const le=Je($,this._runtime);const Ee=N.requestShortener;const[Te,we]=this._getModulesWithInfo(R,le);const Ie=new Set;for(const $ of we.values()){this._analyseModule(we,$,E,N,R,j,le)}const Ne=new Set(Qe);const Me=new Map;const getUsedNamesInScopeInfo=(E,N)=>{const R=`${E}-${N}`;let j=Me.get(R);if(j===undefined){j={usedNames:new Set,alreadyCheckedScopes:new Set};Me.set(R,j)}return j};const Le=new Set;for(const E of Te){if(E.type==="concatenated"){if(E.moduleScope){Le.add(E.moduleScope)}const j=new WeakMap;const getSuperClassExpressions=E=>{const N=j.get(E);if(N!==undefined)return N;const R=[];for(const N of E.childScopes){if(N.type!=="class")continue;const E=N.block;if((E.type==="ClassDeclaration"||E.type==="ClassExpression")&&E.superClass){R.push({range:E.superClass.range,variables:N.variables})}}j.set(E,R);return R};if(E.globalScope){for(const j of E.globalScope.through){const $=j.identifier.name;if(ae.isModuleReference($)){const q=ae.matchModuleReference($);if(!q)continue;const G=Te[q.index];if(G.type==="reference")throw new Error("Module reference can't point to a reference");const ie=getFinalBinding(R,G,q.ids,we,le,Ee,N,Ie,false,E.module.buildMeta.strictHarmonyModule,true);if(!ie.ids)continue;const{usedNames:ce,alreadyCheckedScopes:_e}=getUsedNamesInScopeInfo(ie.info.module.identifier(),"name"in ie?ie.name:"");for(const E of getSuperClassExpressions(j.from)){if(E.range[0]<=j.identifier.range[0]&&E.range[1]>=j.identifier.range[1]){for(const N of E.variables){ce.add(N.name)}}}addScopeSymbols(j.from,ce,_e,Le)}else{Ne.add($)}}}}}for(const E of we.values()){const{usedNames:N}=getUsedNamesInScopeInfo(E.module.identifier(),"");switch(E.type){case"concatenated":{for(const N of E.moduleScope.variables){const R=N.name;const{usedNames:j,alreadyCheckedScopes:$}=getUsedNamesInScopeInfo(E.module.identifier(),R);if(Ne.has(R)||j.has(R)){const q=getAllReferences(N);for(const E of q){addScopeSymbols(E.from,j,$,Le)}const G=this.findNewName(R,Ne,j,E.module.readableIdentifier(Ee));Ne.add(G);E.internalNames.set(R,G);const ie=E.source;const ae=new Set(q.map((E=>E.identifier)).concat(N.identifiers));for(const N of ae){const R=N.range;const j=getPathInAst(E.ast,N);if(j&&j.length>1){const E=j[1].type==="AssignmentPattern"&&j[1].left===j[0]?j[2]:j[1];if(E.type==="Property"&&E.shorthand){ie.insert(R[1],`: ${G}`);continue}}ie.replace(R[0],R[1]-1,G)}}else{Ne.add(R);E.internalNames.set(R,R)}}let R;if(E.namespaceExportSymbol){R=E.internalNames.get(E.namespaceExportSymbol)}else{R=this.findNewName("namespaceObject",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R)}E.namespaceObjectName=R;break}case"external":{const R=this.findNewName("",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.name=R;break}}if(E.module.buildMeta.exportsType!=="namespace"){const R=this.findNewName("namespaceObject",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopNamespaceObjectName=R}if(E.module.buildMeta.exportsType==="default"&&E.module.buildMeta.defaultObject!=="redirect"){const R=this.findNewName("namespaceObject2",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopNamespaceObject2Name=R}if(E.module.buildMeta.exportsType==="dynamic"||!E.module.buildMeta.exportsType){const R=this.findNewName("default",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopDefaultAccessName=R}}for(const E of we.values()){if(E.type==="concatenated"){for(const j of E.globalScope.through){const $=j.identifier.name;const q=ae.matchModuleReference($);if(q){const $=Te[q.index];if($.type==="reference")throw new Error("Module reference can't point to a reference");const G=getFinalName(R,$,q.ids,we,le,Ee,N,Ie,q.call,!q.directImport,E.module.buildMeta.strictHarmonyModule,q.asiSafe);const ie=j.identifier.range;const ae=E.source;ae.replace(ie[0],ie[1]+1,G)}}}}const Be=new Map;const je=new Set;const Ue=we.get(this.rootModule);const ze=Ue.module.buildMeta.strictHarmonyModule;const We=R.getExportsInfo(Ue.module);for(const E of We.orderedExports){const j=E.name;if(E.provided===false)continue;const $=E.getUsedName(undefined,le);if(!$){je.add(j);continue}Be.set($,(q=>{try{const $=getFinalName(R,Ue,[j],we,le,q,N,Ie,false,false,ze,true);return`/* ${E.isReexport()?"reexport":"binding"} */ ${$}`}catch(E){E.message+=`\nwhile generating the root export '${j}' (used name: '${$}')`;throw E}}))}const Ve=new G;if(R.getExportsInfo(this).otherExportsInfo.getUsed(le)!==ce.Unused){Ve.add(`// ESM COMPAT FLAG\n`);Ve.add(N.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ie}))}if(Be.size>0){ie.add(_e.exports);ie.add(_e.definePropertyGetters);const E=[];for(const[R,j]of Be){E.push(`\n ${JSON.stringify(R)}: ${N.returningFunction(j(Ee))}`)}Ve.add(`\n// EXPORTS\n`);Ve.add(`${_e.definePropertyGetters}(${this.exportsArgument}, {${E.join(",")}\n});\n`)}if(je.size>0){Ve.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(je)}\n`)}const qe=new Map;for(const E of Ie){if(E.namespaceExportSymbol)continue;const j=[];const $=R.getExportsInfo(E.module);for(const q of $.orderedExports){if(q.provided===false)continue;const $=q.getUsedName(undefined,le);if($){const G=getFinalName(R,E,[q.name],we,le,Ee,N,Ie,false,undefined,E.module.buildMeta.strictHarmonyModule,true);j.push(`\n ${JSON.stringify($)}: ${N.returningFunction(G)}`)}}const q=E.namespaceObjectName;const G=j.length>0?`${_e.definePropertyGetters}(${q}, {${j.join(",")}\n});\n`:"";if(j.length>0)ie.add(_e.definePropertyGetters);qe.set(E,`\n// NAMESPACE OBJECT: ${E.module.readableIdentifier(Ee)}\nvar ${q} = {};\n${_e.makeNamespaceObject}(${q});\n${G}`);ie.add(_e.makeNamespaceObject)}for(const E of Te){if(E.type==="concatenated"){const N=qe.get(E);if(!N)continue;Ve.add(N)}}const He=[];for(const E of Te){let R;let $=false;const q=E.type==="reference"?E.target:E;switch(q.type){case"concatenated":{Ve.add(`\n;// CONCATENATED MODULE: ${q.module.readableIdentifier(Ee)}\n`);Ve.add(q.source);if(q.chunkInitFragments){for(const E of q.chunkInitFragments)He.push(E)}if(q.runtimeRequirements){for(const E of q.runtimeRequirements){ie.add(E)}}R=q.namespaceObjectName;break}case"external":{Ve.add(`\n// EXTERNAL MODULE: ${q.module.readableIdentifier(Ee)}\n`);ie.add(_e.require);const{runtimeCondition:G}=E;const ae=N.runtimeConditionExpression({chunkGraph:j,runtimeCondition:G,runtime:le,runtimeRequirements:ie});if(ae!=="true"){$=true;Ve.add(`if (${ae}) {\n`)}Ve.add(`var ${q.name} = __webpack_require__(${JSON.stringify(j.getModuleId(q.module))});`);R=q.name;break}default:throw new Error(`Unsupported concatenation entry type ${q.type}`)}if(q.interopNamespaceObjectUsed){ie.add(_e.createFakeNamespaceObject);Ve.add(`\nvar ${q.interopNamespaceObjectName} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${R}, 2);`)}if(q.interopNamespaceObject2Used){ie.add(_e.createFakeNamespaceObject);Ve.add(`\nvar ${q.interopNamespaceObject2Name} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${R});`)}if(q.interopDefaultAccessUsed){ie.add(_e.compatGetDefaultExport);Ve.add(`\nvar ${q.interopDefaultAccessName} = /*#__PURE__*/${_e.compatGetDefaultExport}(${R});`)}if($){Ve.add("\n}")}}const Ge=new Map;if(He.length>0)Ge.set("chunkInitFragments",He);const Ke={sources:new Map([["javascript",new q(Ve)]]),data:Ge,runtimeRequirements:ie};return Ke}_analyseModule(E,N,R,$,q,G,ce){if(N.type==="concatenated"){const le=N.module;try{const _e=new ae(E,N);const Ee=le.codeGeneration({dependencyTemplates:R,runtimeTemplate:$,moduleGraph:q,chunkGraph:G,runtime:ce,concatenationScope:_e});const Te=Ee.sources.get("javascript");const Ie=Ee.data;const Ne=Ie&&Ie.get("chunkInitFragments");const Me=Te.source().toString();let Le;try{Le=we._parse(Me,{sourceType:"module"})}catch(E){if(E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){const N=E.loc.line;const R=Me.split("\n");E.message+="\n| "+R.slice(Math.max(0,N-3),N+2).join("\n| ")}throw E}const Be=j.analyze(Le,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const je=Be.acquire(Le);const Ue=je.childScopes[0];const ze=new ie(Te);N.runtimeRequirements=Ee.runtimeRequirements;N.ast=Le;N.internalSource=Te;N.source=ze;N.chunkInitFragments=Ne;N.globalScope=je;N.moduleScope=Ue}catch(E){E.message+=`\nwhile analysing module ${le.identifier()} for concatenation`;throw E}}}_getModulesWithInfo(E,N){const R=this._createConcatenationList(this.rootModule,this._modules,N,E);const j=new Map;const $=R.map(((E,N)=>{let R=j.get(E.module);if(R===undefined){switch(E.type){case"concatenated":R={type:"concatenated",module:E.module,index:N,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":R={type:"external",module:E.module,runtimeCondition:E.runtimeCondition,index:N,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${E.type}`)}j.set(R.module,R);return R}else{const N={type:"reference",runtimeCondition:E.runtimeCondition,target:R};return N}}));return[$,j]}findNewName(E,N,R,j){let $=E;if($===ae.DEFAULT_EXPORT){$=""}if($===ae.NAMESPACE_OBJECT_EXPORT){$="namespaceObject"}j=j.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const q=j.split("/");while(q.length){$=q.pop()+($?"_"+$:"");const E=Ee.toIdentifier($);if(!N.has(E)&&(!R||!R.has(E)))return E}let G=0;let ie=Ee.toIdentifier(`${$}_${G}`);while(N.has(ie)||R&&R.has(ie)){G++;ie=Ee.toIdentifier(`${$}_${G}`)}return ie}updateHash(E,N){const{chunkGraph:R,runtime:j}=N;for(const $ of this._createConcatenationList(this.rootModule,this._modules,Je(j,this._runtime),R.moduleGraph)){switch($.type){case"concatenated":$.module.updateHash(E,N);break;case"external":E.update(`${R.getModuleId($.module)}`);break}}super.updateHash(E,N)}static deserialize(E){const N=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});N.deserialize(E);return N}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");E.exports=ConcatenatedModule},38173:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);class EnsureChunkConditionsPlugin{apply(E){E.hooks.compilation.tap("EnsureChunkConditionsPlugin",(E=>{const handler=N=>{const R=E.chunkGraph;const j=new Set;const $=new Set;for(const N of E.modules){if(!N.hasChunkCondition())continue;for(const q of R.getModuleChunksIterable(N)){if(!N.chunkCondition(q,E)){j.add(q);for(const E of q.groupsIterable){$.add(E)}}}if(j.size===0)continue;const q=new Set;e:for(const R of $){for(const j of R.chunks){if(N.chunkCondition(j,E)){q.add(j);continue e}}if(R.isInitial()){throw new Error("Cannot fullfil chunk condition of "+N.identifier())}for(const E of R.parentsIterable){$.add(E)}}for(const E of j){R.disconnectChunkAndModule(E,N)}for(const E of q){R.connectChunkAndModule(E,N)}j.clear();$.clear()}};E.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:j},handler)}))}}E.exports=EnsureChunkConditionsPlugin},76627:E=>{"use strict";class FlagIncludedChunksPlugin{apply(E){E.hooks.compilation.tap("FlagIncludedChunksPlugin",(E=>{E.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(N=>{const R=E.chunkGraph;const j=new WeakMap;const $=E.modules.size;const q=1/Math.pow(1/$,1/31);const G=Array.from({length:31},((E,N)=>Math.pow(q,N)|0));let ie=0;for(const N of E.modules){let E=30;while(ie%G[E]!==0){E--}j.set(N,1<<E);ie++}const ae=new WeakMap;for(const E of N){let N=0;for(const $ of R.getChunkModulesIterable(E)){N|=j.get($)}ae.set(E,N)}for(const E of N){const N=ae.get(E);const j=R.getNumberOfChunkModules(E);if(j===0)continue;let $=undefined;for(const N of R.getChunkModulesIterable(E)){if($===undefined||R.getNumberOfModuleChunks($)>R.getNumberOfModuleChunks(N))$=N}e:for(const q of R.getModuleChunksIterable($)){if(E===q)continue;const $=R.getNumberOfChunkModules(q);if($===0)continue;if(j>$)continue;const G=ae.get(q);if((G&N)!==N)continue;for(const N of R.getChunkModulesIterable(E)){if(!R.isModuleInChunk(N,q))continue e}q.ids.push(E.id)}}}))}))}}E.exports=FlagIncludedChunksPlugin},58018:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=new WeakMap;const q=Symbol("top level symbol");function getState(E){return $.get(E)}N.bailout=E=>{$.set(E,false)};N.enable=E=>{const N=$.get(E);if(N===false){return}$.set(E,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};N.isEnabled=E=>{const N=$.get(E);return!!N};N.addUsage=(E,N,R)=>{const j=getState(E);if(j){const{innerGraph:E}=j;const $=E.get(N);if(R===true){E.set(N,true)}else if($===undefined){E.set(N,new Set([R]))}else if($!==true){$.add(R)}}};N.addVariableUsage=(E,R,j)=>{const $=E.getTagData(R,q)||N.tagTopLevelSymbol(E,R);if($){N.addUsage(E.state,$,j)}};N.inferDependencyUsage=E=>{const N=getState(E);if(!N){return}const{innerGraph:R,usageCallbackMap:j}=N;const $=new Map;const q=new Set(R.keys());while(q.size>0){for(const E of q){let N=new Set;let j=true;const G=R.get(E);let ie=$.get(E);if(ie===undefined){ie=new Set;$.set(E,ie)}if(G!==true&&G!==undefined){for(const E of G){ie.add(E)}for(const $ of G){if(typeof $==="string"){N.add($)}else{const q=R.get($);if(q===true){N=true;break}if(q!==undefined){for(const R of q){if(R===E)continue;if(ie.has(R))continue;N.add(R);if(typeof R!=="string"){j=false}}}}}if(N===true){R.set(E,true)}else if(N.size===0){R.set(E,undefined)}else{R.set(E,N)}}if(j){q.delete(E);if(E===null){const E=R.get(null);if(E){for(const[N,j]of R){if(N!==null&&j!==true){if(E===true){R.set(N,true)}else{const $=new Set(j);for(const N of E){$.add(N)}R.set(N,$)}}}}}}}}for(const[E,N]of j){const j=R.get(E);for(const E of N){E(j===undefined?false:j)}}};N.onUsage=(E,N)=>{const R=getState(E);if(R){const{usageCallbackMap:E,currentTopLevelSymbol:j}=R;if(j){let R=E.get(j);if(R===undefined){R=new Set;E.set(j,R)}R.add(N)}else{N(true)}}else{N(undefined)}};N.setTopLevelSymbol=(E,N)=>{const R=getState(E);if(R){R.currentTopLevelSymbol=N}};N.getTopLevelSymbol=E=>{const N=getState(E);if(N){return N.currentTopLevelSymbol}};N.tagTopLevelSymbol=(E,N)=>{const R=getState(E.state);if(!R)return;E.defineVariable(N);const j=E.getTagData(N,q);if(j){return j}const $=new TopLevelSymbol(N);E.tagVariable(N,q,$);return $};N.isDependencyUsedByExports=(E,N,R,$)=>{if(N===false)return false;if(N!==true&&N!==undefined){const q=R.getParentModule(E);const G=R.getExportsInfo(q);let ie=false;for(const E of N){if(G.getUsed(E,$)!==j.Unused)ie=true}if(!ie)return false}return true};N.getDependencyUsedByExportsCondition=(E,N,R)=>{if(N===false)return false;if(N!==true&&N!==undefined){const $=R.getParentModule(E);const q=R.getExportsInfo($);return(E,R)=>{for(const E of N){if(q.getUsed(E,R)!==j.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(E){this.name=E}}N.TopLevelSymbol=TopLevelSymbol;N.topLevelSymbolTag=q},10032:(E,N,R)=>{"use strict";const j=R(53567);const $=R(58018);const{topLevelSymbolTag:q}=$;class InnerGraphPlugin{apply(E){E.hooks.compilation.tap("InnerGraphPlugin",((E,{normalModuleFactory:N})=>{const R=E.getLogger("webpack.InnerGraphPlugin");E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{const onUsageSuper=N=>{$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))};E.hooks.program.tap("InnerGraphPlugin",(()=>{$.enable(E.state)}));E.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!$.isEnabled(E.state))return;R.time("infer dependency usage");$.inferDependencyUsage(E.state);R.timeAggregate("infer dependency usage")}));const G=new WeakMap;const ie=new WeakMap;const ae=new WeakMap;const ce=new WeakMap;const le=new WeakSet;E.hooks.preStatement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(N.type==="FunctionDeclaration"){const R=N.id?N.id.name:"*default*";const j=$.tagTopLevelSymbol(E,R);G.set(N,j);return true}}}));E.hooks.blockPreStatement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(N.type==="ClassDeclaration"){const R=N.id?N.id.name:"*default*";const j=$.tagTopLevelSymbol(E,R);ae.set(N,j);return true}if(N.type==="ExportDefaultDeclaration"){const R="*default*";const j=$.tagTopLevelSymbol(E,R);const q=N.declaration;if(q.type==="ClassExpression"||q.type==="ClassDeclaration"){ae.set(q,j)}else if(E.isPure(q,N.range[0])){G.set(N,j);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){ie.set(N,q)}}}}}));E.hooks.preDeclarator.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true&&N.init&&N.id.type==="Identifier"){const R=N.id.name;if(N.init.type==="ClassExpression"){const j=$.tagTopLevelSymbol(E,R);ae.set(N.init,j)}else if(E.isPure(N.init,N.id.range[1])){const j=$.tagTopLevelSymbol(E,R);ce.set(N,j);if(!N.init.type.endsWith("FunctionExpression")&&N.init.type!=="Literal"){le.add(N)}return true}}}));E.hooks.statement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){$.setTopLevelSymbol(E.state,undefined);const R=G.get(N);if(R){$.setTopLevelSymbol(E.state,R);const q=ie.get(N);if(q){$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(q.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}}}));E.hooks.classExtendsExpression.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const j=ae.get(R);if(j&&E.isPure(N,R.id?R.id.range[1]:R.range[0])){$.setTopLevelSymbol(E.state,j);onUsageSuper(N)}}}));E.hooks.classBodyElement.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const N=ae.get(R);if(N){$.setTopLevelSymbol(E.state,undefined)}}}));E.hooks.classBodyValue.tap("InnerGraphPlugin",((N,R,q)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const G=ae.get(q);if(G){if(!R.static||E.isPure(N,R.key?R.key.range[1]:R.range[0])){$.setTopLevelSymbol(E.state,G);if(R.type!=="MethodDefinition"&&R.static){$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}else{$.setTopLevelSymbol(E.state,undefined)}}}}));E.hooks.declarator.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;const q=ce.get(N);if(q){$.setTopLevelSymbol(E.state,q);if(le.has(N)){if(N.init.type==="ClassExpression"){if(N.init.superClass){onUsageSuper(N.init.superClass)}}else{$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.init.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}E.walkExpression(N.init);$.setTopLevelSymbol(E.state,undefined);return true}}));E.hooks.expression.for(q).tap("InnerGraphPlugin",(()=>{const N=E.currentTagData;const R=$.getTopLevelSymbol(E.state);$.addUsage(E.state,N,R||true)}));E.hooks.assign.for(q).tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(N.operator==="=")return true}))};N.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);N.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);E.hooks.finishModules.tap("InnerGraphPlugin",(()=>{R.timeAggregateEnd("infer dependency usage")}))}))}}E.exports=InnerGraphPlugin},92922:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const $=R(37496);const{compareChunks:q}=R(68673);const G=R(35817);const ie=G(R(72713),(()=>R(10692)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(E,N,R)=>{const j=E.get(N);if(j===undefined){E.set(N,new Set([R]))}else{j.add(R)}};class LimitChunkCountPlugin{constructor(E){ie(E);this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("LimitChunkCountPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:j},(R=>{const j=E.chunkGraph;const G=N.maxChunks;if(!G)return;if(G<1)return;if(E.chunks.size<=G)return;let ie=E.chunks.size-G;const ae=q(j);const ce=Array.from(R).sort(ae);const le=new $((E=>E.sizeDiff),((E,N)=>N-E),(E=>E.integratedSize),((E,N)=>E-N),(E=>E.bIdx-E.aIdx),((E,N)=>E-N),((E,N)=>E.bIdx-N.bIdx));const _e=new Map;ce.forEach(((E,R)=>{for(let $=0;$<R;$++){const q=ce[$];if(!j.canChunksBeIntegrated(q,E))continue;const G=j.getIntegratedChunksSize(q,E,N);const ie=j.getChunkSize(q,N);const ae=j.getChunkSize(E,N);const Ee={deleted:false,sizeDiff:ie+ae-G,integratedSize:G,a:q,b:E,aIdx:$,bIdx:R,aSize:ie,bSize:ae};le.add(Ee);addToSetMap(_e,q,Ee);addToSetMap(_e,E,Ee)}return le}));const Ee=new Set;let Te=false;e:while(true){const R=le.popFirst();if(R===undefined)break;R.deleted=true;const{a:$,b:q,integratedSize:G}=R;if(Ee.size>0){const E=new Set($.groupsIterable);for(const N of q.groupsIterable){E.add(N)}for(const N of E){for(const E of Ee){if(E!==$&&E!==q&&E.isInGroup(N)){ie--;if(ie<=0)break e;Ee.add($);Ee.add(q);continue e}}for(const R of N.parentsIterable){E.add(R)}}}if(j.canChunksBeIntegrated($,q)){j.integrateChunks($,q);E.chunks.delete(q);Ee.add($);Te=true;ie--;if(ie<=0)break;for(const E of _e.get($)){if(E.deleted)continue;E.deleted=true;le.delete(E)}for(const E of _e.get(q)){if(E.deleted)continue;if(E.a===q){if(!j.canChunksBeIntegrated($,E.b)){E.deleted=true;le.delete(E);continue}const R=j.getIntegratedChunksSize($,E.b,N);const q=le.startUpdate(E);E.a=$;E.integratedSize=R;E.aSize=G;E.sizeDiff=E.bSize+G-R;q()}else if(E.b===q){if(!j.canChunksBeIntegrated(E.a,$)){E.deleted=true;le.delete(E);continue}const R=j.getIntegratedChunksSize(E.a,$,N);const q=le.startUpdate(E);E.b=$;E.integratedSize=R;E.bSize=G;E.sizeDiff=G+E.aSize-R;q()}}_e.set($,_e.get(q));_e.delete(q)}}if(Te)return true}))}))}}E.exports=LimitChunkCountPlugin},41694:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const{numberToIdentifier:$,NUMBER_OF_IDENTIFIER_START_CHARS:q,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:G}=R(58159);const{assignDeterministicIds:ie}=R(30328);const{compareSelect:ae,compareStringsNumeric:ce}=R(68673);const canMangle=E=>{if(E.otherExportsInfo.getUsed(undefined)!==j.Unused)return false;let N=false;for(const R of E.exports){if(R.canMangle===true){N=true}}return N};const le=ae((E=>E.name),ce);const mangleExportsInfo=(E,N,R)=>{if(!canMangle(N))return;const ae=new Set;const ce=[];let _e=!R;if(!_e&&E){for(const E of N.ownedExports){if(E.provided!==false){_e=true;break}}}for(const R of N.ownedExports){const N=R.name;if(!R.hasUsedName()){if(R.canMangle!==true||N.length===1&&/^[a-zA-Z0-9_$]/.test(N)||E&&N.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(N)||_e&&R.provided!==true){R.setUsedName(N);ae.add(N)}else{ce.push(R)}}if(R.exportsInfoOwned){const N=R.getUsed(undefined);if(N===j.OnlyPropertiesUsed||N===j.Unused){mangleExportsInfo(E,R.exportsInfo,false)}}}if(E){ie(ce,(E=>E.name),le,((E,N)=>{const R=$(N);const j=ae.size;ae.add(R);if(j===ae.size)return false;E.setUsedName(R);return true}),[q,q*G],G,ae.size)}else{const E=[];const N=[];for(const R of ce){if(R.getUsed(undefined)===j.Unused){N.push(R)}else{E.push(R)}}E.sort(le);N.sort(le);let R=0;for(const j of[E,N]){for(const E of j){let N;do{N=$(R++)}while(ae.has(N));E.setUsedName(N)}}}};class MangleExportsPlugin{constructor(E){this._deterministic=E}apply(E){const{_deterministic:N}=this;E.hooks.compilation.tap("MangleExportsPlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(j=>{if(E.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const E of j){const j=E.buildMeta&&E.buildMeta.exportsType==="namespace";const $=R.getExportsInfo(E);mangleExportsInfo(N,$,j)}}))}))}}E.exports=MangleExportsPlugin},70026:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);const{runtimeEqual:$}=R(37416);class MergeDuplicateChunksPlugin{apply(E){E.hooks.compilation.tap("MergeDuplicateChunksPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:j},(N=>{const{chunkGraph:R,moduleGraph:j}=E;const q=new Set;for(const G of N){let N;for(const E of R.getChunkModulesIterable(G)){if(N===undefined){for(const j of R.getModuleChunksIterable(E)){if(j!==G&&R.getNumberOfChunkModules(G)===R.getNumberOfChunkModules(j)&&!q.has(j)){if(N===undefined){N=new Set}N.add(j)}}if(N===undefined)break}else{for(const j of N){if(!R.isModuleInChunk(E,j)){N.delete(j)}}if(N.size===0)break}}if(N!==undefined&&N.size>0){e:for(const q of N){if(q.hasRuntime()!==G.hasRuntime())continue;if(R.getNumberOfEntryModules(G)>0)continue;if(R.getNumberOfEntryModules(q)>0)continue;if(!$(G.runtime,q.runtime)){for(const E of R.getChunkModulesIterable(G)){const N=j.getExportsInfo(E);if(!N.isEquallyUsed(G.runtime,q.runtime)){continue e}}}if(R.canChunksBeIntegrated(G,q)){R.integrateChunks(G,q);E.chunks.delete(q)}}}q.add(G)}}))}))}}E.exports=MergeDuplicateChunksPlugin},52383:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const $=R(35817);const q=$(R(83889),(()=>R(84638)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(E){q(E);this.options=E}apply(E){const N=this.options;const R=N.minChunkSize;E.hooks.compilation.tap("MinChunkSizePlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:j},(j=>{const $=E.chunkGraph;const q={chunkOverhead:1,entryChunkMultiplicator:1};const G=new Map;const ie=[];const ae=[];const ce=[];for(const E of j){if($.getChunkSize(E,q)<R){ae.push(E);for(const N of ce){if($.canChunksBeIntegrated(N,E))ie.push([N,E])}}else{for(const N of ae){if($.canChunksBeIntegrated(N,E))ie.push([N,E])}}G.set(E,$.getChunkSize(E,N));ce.push(E)}const le=ie.map((E=>{const R=G.get(E[0]);const j=G.get(E[1]);const q=$.getIntegratedChunksSize(E[0],E[1],N);const ie=[R+j-q,q,E[0],E[1]];return ie})).sort(((E,N)=>{const R=N[0]-E[0];if(R!==0)return R;return E[1]-N[1]}));if(le.length===0)return;const _e=le[0];$.integrateChunks(_e[2],_e[3]);E.chunks.delete(_e[3]);return true}))}))}}E.exports=MinChunkSizePlugin},1697:(E,N,R)=>{"use strict";const j=R(9192);const $=R(81627);class MinMaxSizeWarning extends ${constructor(E,N,R){let $="Fallback cache group";if(E){$=E.length>1?`Cache groups ${E.sort().join(", ")}`:`Cache group ${E[0]}`}super(`SplitChunksPlugin\n`+`${$}\n`+`Configured minSize (${j.formatSize(N)}) is `+`bigger than maxSize (${j.formatSize(R)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}E.exports=MinMaxSizeWarning},35442:(E,N,R)=>{"use strict";const j=R(62355);const $=R(45137);const q=R(75412);const{STAGE_DEFAULT:G}=R(82414);const ie=R(37359);const{compareModulesByIdentifier:ae}=R(68673);const{intersectRuntime:ce,mergeRuntimeOwned:le,filterRuntime:_e,runtimeToString:Ee,mergeRuntime:Te}=R(37416);const we=R(95734);const formatBailoutReason=E=>"ModuleConcatenation bailout: "+E;class ModuleConcatenationPlugin{constructor(E){if(typeof E!=="object")E={};this.options=E}apply(E){const{_backCompat:N}=E;E.hooks.compilation.tap("ModuleConcatenationPlugin",(R=>{const ae=R.moduleGraph;const ce=new Map;const setBailoutReason=(E,N)=>{setInnerBailoutReason(E,N);ae.getOptimizationBailout(E).push(typeof N==="function"?E=>formatBailoutReason(N(E)):formatBailoutReason(N))};const setInnerBailoutReason=(E,N)=>{ce.set(E,N)};const getInnerBailoutReason=(E,N)=>{const R=ce.get(E);if(typeof R==="function")return R(N);return R};const formatBailoutWarning=(E,N)=>R=>{if(typeof N==="function"){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)}: ${N(R)}`)}const j=getInnerBailoutReason(E,R);const $=j?`: ${j}`:"";if(E===N){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)}${$}`)}else{return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)} because of ${N.readableIdentifier(R)}${$}`)}};R.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:G},((G,ae,ce)=>{const Ee=R.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:Te,moduleGraph:Ie}=R;const Ne=[];const Me=new Set;const Le={chunkGraph:Te,moduleGraph:Ie};Ee.time("select relevant modules");for(const E of ae){let N=true;let R=true;const j=E.getConcatenationBailoutReason(Le);if(j){setBailoutReason(E,j);continue}if(Ie.isAsync(E)){setBailoutReason(E,`Module is async`);continue}if(!E.buildInfo.strict){setBailoutReason(E,`Module is not in strict mode`);continue}if(Te.getNumberOfModuleChunks(E)===0){setBailoutReason(E,"Module is not in any chunk");continue}const $=Ie.getExportsInfo(E);const q=$.getRelevantExports(undefined);const G=q.filter((E=>E.isReexport()&&!E.getTarget(Ie)));if(G.length>0){setBailoutReason(E,`Reexports in this module do not have a static target (${Array.from(G,(E=>`${E.name||"other exports"}: ${E.getUsedInfo()}`)).join(", ")})`);continue}const ie=q.filter((E=>E.provided!==true));if(ie.length>0){setBailoutReason(E,`List of module exports is dynamic (${Array.from(ie,(E=>`${E.name||"other exports"}: ${E.getProvidedInfo()} and ${E.getUsedInfo()}`)).join(", ")})`);N=false}if(Te.isEntryModule(E)){setInnerBailoutReason(E,"Module is an entry point");R=false}if(N)Ne.push(E);if(R)Me.add(E)}Ee.timeEnd("select relevant modules");Ee.debug(`${Ne.length} potential root modules, ${Me.size} potential inner modules`);Ee.time("sort relevant modules");Ne.sort(((E,N)=>Ie.getDepth(E)-Ie.getDepth(N)));Ee.timeEnd("sort relevant modules");const Be={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let je=0;let Ue=0;let ze=0;Ee.time("find modules to concatenate");const We=[];const Je=new Set;for(const E of Ne){if(Je.has(E))continue;let N=undefined;for(const R of Te.getModuleRuntimes(E)){N=le(N,R)}const j=Ie.getExportsInfo(E);const $=_e(N,(E=>j.isModuleUsed(E)));const q=$===true?N:$===false?undefined:$;const G=new ConcatConfiguration(E,q);const ie=new Map;const ae=new Set;for(const N of this._getImports(R,E,q)){ae.add(N)}for(const E of ae){const j=new Set;const $=this._tryToAdd(R,G,E,N,q,Me,j,ie,Te,true,Be);if($){ie.set(E,$);G.addWarning(E,$)}else{for(const E of j){ae.add(E)}}}je+=ae.size;if(!G.isEmpty()){const E=G.getModules();Ue+=E.size;We.push(G);for(const N of E){if(N!==G.rootModule){Je.add(N)}}}else{ze++;const N=Ie.getOptimizationBailout(E);for(const E of G.getWarningsSorted()){N.push(formatBailoutWarning(E[0],E[1]))}}}Ee.timeEnd("find modules to concatenate");Ee.debug(`${We.length} successful concat configurations (avg size: ${Ue/We.length}), ${ze} bailed out completely`);Ee.debug(`${je} candidates were considered for adding (${Be.cached} cached failure, ${Be.alreadyInConfig} already in config, ${Be.invalidModule} invalid module, ${Be.incorrectChunks} incorrect chunks, ${Be.incorrectDependency} incorrect dependency, ${Be.incorrectChunksOfImporter} incorrect chunks of importer, ${Be.incorrectModuleDependency} incorrect module dependency, ${Be.incorrectRuntimeCondition} incorrect runtime condition, ${Be.importerFailed} importer failed, ${Be.added} added)`);Ee.time(`sort concat configurations`);We.sort(((E,N)=>N.modules.size-E.modules.size));Ee.timeEnd(`sort concat configurations`);const Ve=new Set;Ee.time("create concatenated modules");j.each(We,((j,G)=>{const ae=j.rootModule;if(Ve.has(ae))return G();const ce=j.getModules();for(const E of ce){Ve.add(E)}let le=we.create(ae,ce,j.runtime,E.root,R.outputOptions.hashFunction);const build=()=>{le.build(E.options,R,null,null,(E=>{if(E){if(!E.module){E.module=le}return G(E)}integrate()}))};const integrate=()=>{if(N){$.setChunkGraphForModule(le,Te);q.setModuleGraphForModule(le,Ie)}for(const E of j.getWarningsSorted()){Ie.getOptimizationBailout(le).push(formatBailoutWarning(E[0],E[1]))}Ie.cloneModuleAttributes(ae,le);for(const E of ce){if(R.builtModules.has(E)){R.builtModules.add(le)}if(E!==ae){Ie.copyOutgoingModuleConnections(E,le,(N=>N.originModule===E&&!(N.dependency instanceof ie&&ce.has(N.module))));for(const N of Te.getModuleChunksIterable(ae)){Te.disconnectChunkAndModule(N,E)}}}R.modules.delete(ae);$.clearChunkGraphForModule(ae);q.clearModuleGraphForModule(ae);Te.replaceModule(ae,le);Ie.moveModuleConnections(ae,le,(E=>{const N=E.module===ae?E.originModule:E.module;const R=E.dependency instanceof ie&&ce.has(N);return!R}));R.modules.add(le);G()};build()}),(E=>{Ee.timeEnd("create concatenated modules");process.nextTick(ce.bind(null,E))}))}))}))}_getImports(E,N,R){const j=E.moduleGraph;const $=new Set;for(const q of N.dependencies){if(!(q instanceof ie))continue;const G=j.getConnection(q);if(!G||!G.module||!G.isTargetActive(R)){continue}const ae=E.getDependencyReferencedExports(q,undefined);if(ae.every((E=>Array.isArray(E)?E.length>0:E.name.length>0))||Array.isArray(j.getProvidedExports(N))){$.add(G.module)}}return $}_tryToAdd(E,N,R,j,$,q,G,we,Ie,Ne,Me){const Le=we.get(R);if(Le){Me.cached++;return Le}if(N.has(R)){Me.alreadyInConfig++;return null}if(!q.has(R)){Me.invalidModule++;we.set(R,R);return R}const Be=Array.from(Ie.getModuleChunksIterable(N.rootModule)).filter((E=>!Ie.isModuleInChunk(R,E)));if(Be.length>0){const problem=E=>{const N=Array.from(new Set(Be.map((E=>E.name||"unnamed chunk(s)")))).sort();const j=Array.from(new Set(Array.from(Ie.getModuleChunksIterable(R)).map((E=>E.name||"unnamed chunk(s)")))).sort();return`Module ${R.readableIdentifier(E)} is not in the same chunk(s) (expected in chunk(s) ${N.join(", ")}, module is in chunk(s) ${j.join(", ")})`};Me.incorrectChunks++;we.set(R,problem);return problem}const je=E.moduleGraph;const Ue=je.getIncomingConnectionsByOriginModule(R);const ze=Ue.get(null)||Ue.get(undefined);if(ze){const E=ze.filter((E=>E.isActive(j)||E.dependency));if(E.length>0){const problem=N=>{const j=new Set(E.map((E=>E.explanation)).filter(Boolean));const $=Array.from(j).sort();return`Module ${R.readableIdentifier(N)} is referenced ${$.length>0?`by: ${$.join(", ")}`:"in an unsupported way"}`};Me.incorrectDependency++;we.set(R,problem);return problem}}const We=new Map;for(const[E,N]of Ue){if(E){if(Ie.getNumberOfModuleChunks(E)===0)continue;let R=undefined;for(const N of Ie.getModuleRuntimes(E)){R=le(R,N)}if(!ce(j,R))continue;const $=N.filter((E=>E.isActive(j)));if($.length>0)We.set(E,$)}}const Je=Array.from(We.keys());const Ve=Je.filter((E=>{for(const R of Ie.getModuleChunksIterable(N.rootModule)){if(!Ie.isModuleInChunk(E,R)){return true}}return false}));if(Ve.length>0){const problem=E=>{const N=Ve.map((N=>N.readableIdentifier(E))).sort();return`Module ${R.readableIdentifier(E)} is referenced from different chunks by these modules: ${N.join(", ")}`};Me.incorrectChunksOfImporter++;we.set(R,problem);return problem}const qe=new Map;for(const[E,N]of We){const R=N.filter((E=>!E.dependency||!(E.dependency instanceof ie)));if(R.length>0)qe.set(E,N)}if(qe.size>0){const problem=E=>{const N=Array.from(qe).map((([N,R])=>`${N.readableIdentifier(E)} (referenced with ${Array.from(new Set(R.map((E=>E.dependency&&E.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${R.readableIdentifier(E)} is referenced from these modules with unsupported syntax: ${N.join(", ")}`};Me.incorrectModuleDependency++;we.set(R,problem);return problem}if(j!==undefined&&typeof j!=="string"){const E=[];e:for(const[N,R]of We){let $=false;for(const E of R){const N=_e(j,(N=>E.isTargetActive(N)));if(N===false)continue;if(N===true)continue e;if($!==false){$=Te($,N)}else{$=N}}if($!==false){E.push({originModule:N,runtimeCondition:$})}}if(E.length>0){const problem=N=>`Module ${R.readableIdentifier(N)} is runtime-dependent referenced by these modules: ${Array.from(E,(({originModule:E,runtimeCondition:R})=>`${E.readableIdentifier(N)} (expected runtime ${Ee(j)}, module is only referenced in ${Ee(R)})`)).join(", ")}`;Me.incorrectRuntimeCondition++;we.set(R,problem);return problem}}let He;if(Ne){He=N.snapshot()}N.add(R);Je.sort(ae);for(const ie of Je){const ae=this._tryToAdd(E,N,ie,j,$,q,G,we,Ie,false,Me);if(ae){if(He!==undefined)N.rollback(He);Me.importerFailed++;we.set(R,ae);return ae}}for(const N of this._getImports(E,R,j)){G.add(N)}Me.added++;return null}}class ConcatConfiguration{constructor(E,N){this.rootModule=E;this.runtime=N;this.modules=new Set;this.modules.add(E);this.warnings=new Map}add(E){this.modules.add(E)}has(E){return this.modules.has(E)}isEmpty(){return this.modules.size===1}addWarning(E,N){this.warnings.set(E,N)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((E,N)=>{const R=E[0].identifier();const j=N[0].identifier();if(R<j)return-1;if(R>j)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(E){const N=this.modules;for(const R of N){if(E===0){N.delete(R)}else{E--}}}}E.exports=ModuleConcatenationPlugin},30699:(E,N,R)=>{"use strict";const{SyncBailHook:j}=R(92960);const{RawSource:$,CachedSource:q,CompatSource:G}=R(48135);const ie=R(3080);const ae=R(81627);const{compareSelect:ce,compareStrings:le}=R(68673);const _e=R(35891);const Ee=new Set;const addToList=(E,N)=>{if(Array.isArray(E)){for(const R of E){N.add(R)}}else if(E){N.add(E)}};const mapAndDeduplicateBuffers=(E,N)=>{const R=[];e:for(const j of E){const E=N(j);for(const N of R){if(E.equals(N))continue e}R.push(E)}return R};const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Te=new WeakMap;const toCachedSource=E=>{if(E instanceof q){return E}const N=Te.get(E);if(N!==undefined)return N;const R=new q(G.from(E));Te.set(E,R);return R};const we=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(E){if(!(E instanceof ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=we.get(E);if(N===undefined){N={updateHash:new j(["content","oldHash"])};we.set(E,N)}return N}constructor({hashFunction:E,hashDigest:N}){this._hashFunction=E;this._hashDigest=N}apply(E){E.hooks.compilation.tap("RealContentHashPlugin",(E=>{const N=E.getCache("RealContentHashPlugin|analyse");const R=E.getCache("RealContentHashPlugin|generate");const j=RealContentHashPlugin.getCompilationHooks(E);E.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ie.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const q=E.getAssets();const G=[];const ie=new Map;for(const{source:E,info:N,name:R}of q){const j=toCachedSource(E);const $=j.source();const q=new Set;addToList(N.contenthash,q);const ae={name:R,info:N,source:j,newSource:undefined,newSourceWithoutOwn:undefined,content:$,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:q};G.push(ae);for(const E of q){const N=ie.get(E);if(N===undefined){ie.set(E,[ae])}else{N.push(ae)}}}if(ie.size===0)return;const Te=new RegExp(Array.from(ie.keys(),quoteMeta).join("|"),"g");await Promise.all(G.map((async E=>{const{name:R,source:j,content:$,hashes:q}=E;if(Buffer.isBuffer($)){E.referencedHashes=Ee;E.ownHashes=Ee;return}const G=N.mergeEtags(N.getLazyHashedEtag(j),Array.from(q).join("|"));[E.referencedHashes,E.ownHashes]=await N.providePromise(R,G,(()=>{const E=new Set;let N=new Set;const R=$.match(Te);if(R){for(const j of R){if(q.has(j)){N.add(j);continue}E.add(j)}}return[E,N]}))})));const getDependencies=N=>{const R=ie.get(N);if(!R){const R=G.filter((E=>E.referencedHashes.has(N)));const j=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${N}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${R.map((E=>{const R=new RegExp(`.{0,20}${quoteMeta(N)}.{0,20}`).exec(E.content);return` - ${E.name}: ...${R?R[0]:"???"}...`})).join("\n")}`);E.errors.push(j);return undefined}const j=new Set;for(const{referencedHashes:E,ownHashes:$}of R){if(!$.has(N)){for(const E of $){j.add(E)}}for(const N of E){j.add(N)}}return j};const hashInfo=E=>{const N=ie.get(E);return`${E} (${Array.from(N,(E=>E.name))})`};const we=new Set;for(const E of ie.keys()){const add=(E,N)=>{const R=getDependencies(E);if(!R)return;N.add(E);for(const E of R){if(we.has(E))continue;if(N.has(E)){throw new Error(`Circular hash dependency ${Array.from(N,hashInfo).join(" -> ")} -> ${hashInfo(E)}`)}add(E,N)}we.add(E);N.delete(E)};if(we.has(E))continue;add(E,new Set)}const Ie=new Map;const getEtag=E=>R.mergeEtags(R.getLazyHashedEtag(E.source),Array.from(E.referencedHashes,(E=>Ie.get(E))).join("|"));const computeNewContent=E=>{if(E.contentComputePromise)return E.contentComputePromise;return E.contentComputePromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ie.get(E)!==E))){const N=E.name;const j=getEtag(E);E.newSource=await R.providePromise(N,j,(()=>{const N=E.content.replace(Te,(E=>Ie.get(E)));return new $(N)}))}})()};const computeNewContentWithoutOwn=E=>{if(E.contentComputeWithoutOwnPromise)return E.contentComputeWithoutOwnPromise;return E.contentComputeWithoutOwnPromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ie.get(E)!==E))){const N=E.name+"|without-own";const j=getEtag(E);E.newSourceWithoutOwn=await R.providePromise(N,j,(()=>{const N=E.content.replace(Te,(N=>{if(E.ownHashes.has(N)){return""}return Ie.get(N)}));return new $(N)}))}})()};const Ne=ce((E=>E.name),le);for(const E of we){const N=ie.get(E);N.sort(Ne);const R=_e(this._hashFunction);await Promise.all(N.map((N=>N.ownHashes.has(E)?computeNewContentWithoutOwn(N):computeNewContent(N))));const $=mapAndDeduplicateBuffers(N,(N=>{if(N.ownHashes.has(E)){return N.newSourceWithoutOwn?N.newSourceWithoutOwn.buffer():N.source.buffer()}else{return N.newSource?N.newSource.buffer():N.source.buffer()}}));let q=j.updateHash.call($,E);if(!q){for(const E of $){R.update(E)}const N=R.digest(this._hashDigest);q=N.slice(0,E.length)}Ie.set(E,q)}await Promise.all(G.map((async N=>{await computeNewContent(N);const R=N.name.replace(Te,(E=>Ie.get(E)));const j={};const $=N.info.contenthash;j.contenthash=Array.isArray($)?$.map((E=>Ie.get(E))):Ie.get($);if(N.newSource!==undefined){E.updateAsset(N.name,N.newSource,j)}else{E.updateAsset(N.name,N.source,j)}if(N.name!==R){E.renameAsset(N.name,R)}})))}))}))}}E.exports=RealContentHashPlugin},62665:(E,N,R)=>{"use strict";const{STAGE_BASIC:j,STAGE_ADVANCED:$}=R(82414);class RemoveEmptyChunksPlugin{apply(E){E.hooks.compilation.tap("RemoveEmptyChunksPlugin",(E=>{const handler=N=>{const R=E.chunkGraph;for(const j of N){if(R.getNumberOfChunkModules(j)===0&&!j.hasRuntime()&&R.getNumberOfEntryModules(j)===0){E.chunkGraph.disconnectChunk(j);E.chunks.delete(j)}}};E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:j},handler);E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:$},handler)}))}}E.exports=RemoveEmptyChunksPlugin},78016:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);const $=R(39541);const{intersect:q}=R(26221);class RemoveParentModulesPlugin{apply(E){E.hooks.compilation.tap("RemoveParentModulesPlugin",(E=>{const handler=(N,R)=>{const j=E.chunkGraph;const G=new $;const ie=new WeakMap;for(const N of E.entrypoints.values()){ie.set(N,new Set);for(const E of N.childrenIterable){G.enqueue(E)}}for(const N of E.asyncEntrypoints){ie.set(N,new Set);for(const E of N.childrenIterable){G.enqueue(E)}}while(G.length>0){const E=G.dequeue();let N=ie.get(E);let R=false;for(const $ of E.parentsIterable){const q=ie.get($);if(q!==undefined){if(N===undefined){N=new Set(q);for(const E of $.chunks){for(const R of j.getChunkModulesIterable(E)){N.add(R)}}ie.set(E,N);R=true}else{for(const E of N){if(!j.isModuleInChunkGroup(E,$)&&!q.has(E)){N.delete(E);R=true}}}}}if(R){for(const N of E.childrenIterable){G.enqueue(N)}}}for(const E of N){const N=Array.from(E.groupsIterable,(E=>ie.get(E)));if(N.some((E=>E===undefined)))continue;const R=N.length===1?N[0]:q(N);const $=j.getNumberOfChunkModules(E);const G=new Set;if($<R.size){for(const N of j.getChunkModulesIterable(E)){if(R.has(N)){G.add(N)}}}else{for(const N of R){if(j.isModuleInChunk(N,E)){G.add(N)}}}for(const N of G){j.disconnectChunkAndModule(E,N)}}};E.hooks.optimizeChunks.tap({name:"RemoveParentModulesPlugin",stage:j},handler)}))}}E.exports=RemoveParentModulesPlugin},4674:E=>{"use strict";class RuntimeChunkPlugin{constructor(E){this.options={name:E=>`runtime~${E.name}`,...E}}apply(E){E.hooks.thisCompilation.tap("RuntimeChunkPlugin",(E=>{E.hooks.addEntry.tap("RuntimeChunkPlugin",((N,{name:R})=>{if(R===undefined)return;const j=E.entries.get(R);if(j.options.runtime===undefined&&!j.options.dependOn){let E=this.options.name;if(typeof E==="function"){E=E({name:R})}j.options.runtime=E}}))}))}}E.exports=RuntimeChunkPlugin},63410:(E,N,R)=>{"use strict";const j=R(70554);const{STAGE_DEFAULT:$}=R(82414);const q=R(44576);const G=R(2230);const ie=R(72380);const ae=new WeakMap;const globToRegexp=(E,N)=>{const R=N.get(E);if(R!==undefined)return R;if(!E.includes("/")){E=`**/${E}`}const $=j(E,{globstar:true,extended:true});const q=$.source;const G=new RegExp("^(\\./)?"+q.slice(1));N.set(E,G);return G};class SideEffectsFlagPlugin{constructor(E=true){this._analyseSource=E}apply(E){let N=ae.get(E.root);if(N===undefined){N=new Map;ae.set(E.root,N)}E.hooks.compilation.tap("SideEffectsFlagPlugin",((E,{normalModuleFactory:R})=>{const j=E.moduleGraph;R.hooks.module.tap("SideEffectsFlagPlugin",((E,R)=>{const j=R.resourceResolveData;if(j&&j.descriptionFileData&&j.relativePath){const R=j.descriptionFileData.sideEffects;if(R!==undefined){if(E.factoryMeta===undefined){E.factoryMeta={}}const $=SideEffectsFlagPlugin.moduleHasSideEffects(j.relativePath,R,N);E.factoryMeta.sideEffectFree=!$}}return E}));R.hooks.module.tap("SideEffectsFlagPlugin",((E,N)=>{if(typeof N.settings.sideEffects==="boolean"){if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=!N.settings.sideEffects}return E}));if(this._analyseSource){const parserHandler=E=>{let N;E.hooks.program.tap("SideEffectsFlagPlugin",(()=>{N=undefined}));E.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(R=>{if(N)return;if(E.scope.topLevelScope!==true)return;switch(R.type){case"ExpressionStatement":if(!E.isPure(R.expression,R.range[0])){N=R}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!E.isPure(R.test,R.range[0])){N=R}break;case"ForStatement":if(!E.isPure(R.init,R.range[0])||!E.isPure(R.test,R.init?R.init.range[1]:R.range[0])||!E.isPure(R.update,R.test?R.test.range[1]:R.init?R.init.range[1]:R.range[0])){N=R}break;case"SwitchStatement":if(!E.isPure(R.discriminant,R.range[0])){N=R}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!E.isPure(R,R.range[0])){N=R}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!E.isPure(R.declaration,R.range[0])){N=R}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:N=R;break}}));E.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(N===undefined){E.state.module.buildMeta.sideEffectFree=true}else{const{loc:R,type:$}=N;j.getOptimizationBailout(E.state.module).push((()=>`Statement (${$}) with side effects in source code at ${ie(R)}`))}}))};for(const E of["javascript/auto","javascript/esm","javascript/dynamic"]){R.hooks.parser.for(E).tap("SideEffectsFlagPlugin",parserHandler)}}E.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:$},(N=>{const R=E.getLogger("webpack.SideEffectsFlagPlugin");R.time("update dependencies");for(const E of N){if(E.getSideEffectsConnectionState(j)===false){const N=j.getExportsInfo(E);for(const R of j.getIncomingConnections(E)){const E=R.dependency;let $;if(($=E instanceof q)||E instanceof G&&!E.namespaceObjectAsContext){if($&&E.name){const N=j.getExportInfo(R.originModule,E.name);N.moveTarget(j,(({module:E})=>E.getSideEffectsConnectionState(j)===false),(({module:N,export:R})=>{j.updateModule(E,N);j.addExplanation(E,"(skipped side-effect-free modules)");const $=E.getIds(j);E.setIds(j,R?[...R,...$.slice(1)]:$.slice(1));return j.getConnection(E)}));continue}const q=E.getIds(j);if(q.length>0){const R=N.getExportInfo(q[0]);const $=R.getTarget(j,(({module:E})=>E.getSideEffectsConnectionState(j)===false));if(!$)continue;j.updateModule(E,$.module);j.addExplanation(E,"(skipped side-effect-free modules)");E.setIds(j,$.export?[...$.export,...q.slice(1)]:q.slice(1))}}}}}R.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(E,N,R){switch(typeof N){case"undefined":return true;case"boolean":return N;case"string":return globToRegexp(N,R).test(E);case"object":return N.some((N=>SideEffectsFlagPlugin.moduleHasSideEffects(E,N,R)))}}}E.exports=SideEffectsFlagPlugin},40051:(E,N,R)=>{"use strict";const j=R(62433);const{STAGE_ADVANCED:$}=R(82414);const q=R(81627);const{requestToId:G}=R(30328);const{isSubset:ie}=R(26221);const ae=R(16102);const{compareModulesByIdentifier:ce,compareIterables:le}=R(68673);const _e=R(35891);const Ee=R(44648);const{makePathsRelative:Te}=R(49197);const we=R(91671);const Ie=R(1697);const defaultGetName=()=>{};const Ne=Ee;const Me=new WeakMap;const hashFilename=(E,N)=>{const R=_e(N.hashFunction).update(E).digest(N.hashDigest);return R.slice(0,8)};const getRequests=E=>{let N=0;for(const R of E.groupsIterable){N=Math.max(N,R.chunks.length)}return N};const mapObject=(E,N)=>{const R=Object.create(null);for(const j of Object.keys(E)){R[j]=N(E[j],j)}return R};const isOverlap=(E,N)=>{for(const R of E){if(N.has(R))return true}return false};const Le=le(ce);const compareEntries=(E,N)=>{const R=E.cacheGroup.priority-N.cacheGroup.priority;if(R)return R;const j=E.chunks.size-N.chunks.size;if(j)return j;const $=totalSize(E.sizes)*(E.chunks.size-1);const q=totalSize(N.sizes)*(N.chunks.size-1);const G=$-q;if(G)return G;const ie=N.cacheGroupIndex-E.cacheGroupIndex;if(ie)return ie;const ae=E.modules;const ce=N.modules;const le=ae.size-ce.size;if(le)return le;ae.sort();ce.sort();return Le(ae,ce)};const INITIAL_CHUNK_FILTER=E=>E.canBeInitial();const ASYNC_CHUNK_FILTER=E=>!E.canBeInitial();const ALL_CHUNK_FILTER=E=>true;const normalizeSizes=(E,N)=>{if(typeof E==="number"){const R={};for(const j of N)R[j]=E;return R}else if(typeof E==="object"&&E!==null){return{...E}}else{return{}}};const mergeSizes=(...E)=>{let N={};for(let R=E.length-1;R>=0;R--){N=Object.assign(N,E[R])}return N};const hasNonZeroSizes=E=>{for(const N of Object.keys(E)){if(E[N]>0)return true}return false};const combineSizes=(E,N,R)=>{const j=new Set(Object.keys(E));const $=new Set(Object.keys(N));const q={};for(const G of j){if($.has(G)){q[G]=R(E[G],N[G])}else{q[G]=E[G]}}for(const E of $){if(!j.has(E)){q[E]=N[E]}}return q};const checkMinSize=(E,N)=>{for(const R of Object.keys(N)){const j=E[R];if(j===undefined||j===0)continue;if(j<N[R])return false}return true};const checkMinSizeReduction=(E,N,R)=>{for(const j of Object.keys(N)){const $=E[j];if($===undefined||$===0)continue;if($*R<N[j])return false}return true};const getViolatingMinSizes=(E,N)=>{let R;for(const j of Object.keys(N)){const $=E[j];if($===undefined||$===0)continue;if($<N[j]){if(R===undefined)R=[j];else R.push(j)}}return R};const totalSize=E=>{let N=0;for(const R of Object.keys(E)){N+=E[R]}return N};const normalizeName=E=>{if(typeof E==="string"){return()=>E}if(typeof E==="function"){return E}};const normalizeChunksFilter=E=>{if(E==="initial"){return INITIAL_CHUNK_FILTER}if(E==="async"){return ASYNC_CHUNK_FILTER}if(E==="all"){return ALL_CHUNK_FILTER}if(typeof E==="function"){return E}};const normalizeCacheGroups=(E,N)=>{if(typeof E==="function"){return E}if(typeof E==="object"&&E!==null){const R=[];for(const j of Object.keys(E)){const $=E[j];if($===false){continue}if(typeof $==="string"||$ instanceof RegExp){const E=createCacheGroupSource({},j,N);R.push(((N,R,j)=>{if(checkTest($,N,R)){j.push(E)}}))}else if(typeof $==="function"){const E=new WeakMap;R.push(((R,q,G)=>{const ie=$(R);if(ie){const R=Array.isArray(ie)?ie:[ie];for(const $ of R){const R=E.get($);if(R!==undefined){G.push(R)}else{const R=createCacheGroupSource($,j,N);E.set($,R);G.push(R)}}}}))}else{const E=createCacheGroupSource($,j,N);R.push(((N,R,j)=>{if(checkTest($.test,N,R)&&checkModuleType($.type,N)&&checkModuleLayer($.layer,N)){j.push(E)}}))}}const fn=(E,N)=>{let j=[];for(const $ of R){$(E,N,j)}return j};return fn}return()=>null};const checkTest=(E,N,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N,R)}if(typeof E==="boolean")return E;if(typeof E==="string"){const R=N.nameForCondition();return R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.nameForCondition();return R&&E.test(R)}return false};const checkModuleType=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N.type)}if(typeof E==="string"){const R=N.type;return E===R}if(E instanceof RegExp){const R=N.type;return E.test(R)}return false};const checkModuleLayer=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N.layer)}if(typeof E==="string"){const R=N.layer;return E===""?!R:R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.layer;return E.test(R)}return false};const createCacheGroupSource=(E,N,R)=>{const j=normalizeSizes(E.minSize,R);const $=normalizeSizes(E.minSizeReduction,R);const q=normalizeSizes(E.maxSize,R);return{key:N,priority:E.priority,getName:normalizeName(E.name),chunksFilter:normalizeChunksFilter(E.chunks),enforce:E.enforce,minSize:j,minSizeReduction:$,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,R),j),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,R),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,R),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,R),q),minChunks:E.minChunks,maxAsyncRequests:E.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests,filename:E.filename,idHint:E.idHint,automaticNameDelimiter:E.automaticNameDelimiter,reuseExistingChunk:E.reuseExistingChunk,usedExports:E.usedExports}};E.exports=class SplitChunksPlugin{constructor(E={}){const N=E.defaultSizeTypes||["javascript","unknown"];const R=E.fallbackCacheGroup||{};const j=normalizeSizes(E.minSize,N);const $=normalizeSizes(E.minSizeReduction,N);const q=normalizeSizes(E.maxSize,N);this.options={chunksFilter:normalizeChunksFilter(E.chunks||"all"),defaultSizeTypes:N,minSize:j,minSizeReduction:$,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,N),j),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,N),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,N),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,N),q),minChunks:E.minChunks||1,maxAsyncRequests:E.maxAsyncRequests||1,maxInitialRequests:E.maxInitialRequests||1,hidePathInfo:E.hidePathInfo||false,filename:E.filename||undefined,getCacheGroups:normalizeCacheGroups(E.cacheGroups,N),getName:E.name?normalizeName(E.name):defaultGetName,automaticNameDelimiter:E.automaticNameDelimiter,usedExports:E.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(R.chunks||E.chunks||"all"),minSize:mergeSizes(normalizeSizes(R.minSize,N),j),maxAsyncSize:mergeSizes(normalizeSizes(R.maxAsyncSize,N),normalizeSizes(R.maxSize,N),normalizeSizes(E.maxAsyncSize,N),normalizeSizes(E.maxSize,N)),maxInitialSize:mergeSizes(normalizeSizes(R.maxInitialSize,N),normalizeSizes(R.maxSize,N),normalizeSizes(E.maxInitialSize,N),normalizeSizes(E.maxSize,N)),automaticNameDelimiter:R.automaticNameDelimiter||E.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(E){const N=this._cacheGroupCache.get(E);if(N!==undefined)return N;const R=mergeSizes(E.minSize,E.enforce?undefined:this.options.minSize);const j=mergeSizes(E.minSizeReduction,E.enforce?undefined:this.options.minSizeReduction);const $=mergeSizes(E.minRemainingSize,E.enforce?undefined:this.options.minRemainingSize);const q=mergeSizes(E.enforceSizeThreshold,E.enforce?undefined:this.options.enforceSizeThreshold);const G={key:E.key,priority:E.priority||0,chunksFilter:E.chunksFilter||this.options.chunksFilter,minSize:R,minSizeReduction:j,minRemainingSize:$,enforceSizeThreshold:q,maxAsyncSize:mergeSizes(E.maxAsyncSize,E.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(E.maxInitialSize,E.enforce?undefined:this.options.maxInitialSize),minChunks:E.minChunks!==undefined?E.minChunks:E.enforce?1:this.options.minChunks,maxAsyncRequests:E.maxAsyncRequests!==undefined?E.maxAsyncRequests:E.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests!==undefined?E.maxInitialRequests:E.enforce?Infinity:this.options.maxInitialRequests,getName:E.getName!==undefined?E.getName:this.options.getName,usedExports:E.usedExports!==undefined?E.usedExports:this.options.usedExports,filename:E.filename!==undefined?E.filename:this.options.filename,automaticNameDelimiter:E.automaticNameDelimiter!==undefined?E.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:E.idHint!==undefined?E.idHint:E.key,reuseExistingChunk:E.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(R),_validateRemainingSize:hasNonZeroSizes($),_minSizeForMaxSize:mergeSizes(E.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(q)};this._cacheGroupCache.set(E,G);return G}apply(E){const N=Te.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("SplitChunksPlugin",(E=>{const R=E.getLogger("webpack.SplitChunksPlugin");let le=false;E.hooks.unseal.tap("SplitChunksPlugin",(()=>{le=false}));E.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:$},($=>{if(le)return;le=true;R.time("prepare");const _e=E.chunkGraph;const Ee=E.moduleGraph;const Te=new Map;const Le=BigInt("0");const Be=BigInt("1");const je=Be<<BigInt("31");let Ue=je;for(const E of $){Te.set(E,Ue|BigInt(Math.random()*2147483647|0));Ue=Ue<<Be}const getKey=E=>{const N=E[Symbol.iterator]();let R=N.next();if(R.done)return Le;const j=R.value;R=N.next();if(R.done)return j;let $=Te.get(j)|Te.get(R.value);while(!(R=N.next()).done){const E=Te.get(R.value);$=$^E}return $};const keyToString=E=>{if(typeof E==="bigint")return E.toString(16);return Te.get(E).toString(16)};const ze=we((()=>{const N=new Map;const R=new Set;for(const j of E.modules){const E=_e.getModuleChunksIterable(j);const $=getKey(E);if(typeof $==="bigint"){if(!N.has($)){N.set($,new Set(E))}}else{R.add($)}}return{chunkSetsInGraph:N,singleChunkSets:R}}));const groupChunksByExports=E=>{const N=Ee.getExportsInfo(E);const R=new Map;for(const j of _e.getModuleChunksIterable(E)){const E=N.getUsageKey(j.runtime);const $=R.get(E);if($!==undefined){$.push(j)}else{R.set(E,[j])}}return R.values()};const We=new Map;const Je=we((()=>{const N=new Map;const R=new Set;for(const j of E.modules){const E=Array.from(groupChunksByExports(j));We.set(j,E);for(const j of E){if(j.length===1){R.add(j[0])}else{const E=getKey(j);if(!N.has(E)){N.set(E,new Set(j))}}}}return{chunkSetsInGraph:N,singleChunkSets:R}}));const groupChunkSetsByCount=E=>{const N=new Map;for(const R of E){const E=R.size;let j=N.get(E);if(j===undefined){j=[];N.set(E,j)}j.push(R)}return N};const Ve=we((()=>groupChunkSetsByCount(ze().chunkSetsInGraph.values())));const qe=we((()=>groupChunkSetsByCount(Je().chunkSetsInGraph.values())));const createGetCombinations=(E,N,R)=>{const $=new Map;return q=>{const G=$.get(q);if(G!==undefined)return G;if(q instanceof j){const E=[q];$.set(q,E);return E}const ae=E.get(q);const ce=[ae];for(const[E,N]of R){if(E<ae.size){for(const E of N){if(ie(ae,E)){ce.push(E)}}}}for(const E of N){if(ae.has(E)){ce.push(E)}}$.set(q,ce);return ce}};const He=we((()=>{const{chunkSetsInGraph:E,singleChunkSets:N}=ze();return createGetCombinations(E,N,Ve())}));const getCombinations=E=>He()(E);const Ge=we((()=>{const{chunkSetsInGraph:E,singleChunkSets:N}=Je();return createGetCombinations(E,N,qe())}));const getExportsCombinations=E=>Ge()(E);const Ke=new WeakMap;const getSelectedChunks=(E,N)=>{let R=Ke.get(E);if(R===undefined){R=new WeakMap;Ke.set(E,R)}let $=R.get(N);if($===undefined){const q=[];if(E instanceof j){if(N(E))q.push(E)}else{for(const R of E){if(N(R))q.push(R)}}$={chunks:q,key:getKey(q)};R.set(N,$)}return $};const Qe=new Map;const Xe=new Set;const Ye=new Map;const addModuleToChunksInfoMap=(N,R,j,$,G)=>{if(j.length<N.minChunks)return;const ie=N.getName(G,j,N.key);const le=E.namedChunks.get(ie);if(le){const R=`${ie}|${typeof $==="bigint"?$:$.debugId}`;const G=Qe.get(R);if(G===false)return;if(G===undefined){let $=true;const G=new Set;for(const E of j){for(const N of E.groupsIterable){G.add(N)}}for(const E of G){if(le.isInGroup(E))continue;let N=false;for(const R of E.parentsIterable){N=true;G.add(R)}if(!N){$=false}}const ae=$;Qe.set(R,ae);if(!ae){if(!Xe.has(ie)){Xe.add(ie);E.errors.push(new q("SplitChunksPlugin\n"+`Cache group "${N.key}" conflicts with existing chunk.\n`+`Both have the same name "${ie}" and existing chunk is not a parent of the selected modules.\n`+"Use a different name for the cache group or make sure that the existing chunk is a parent (e. g. via dependOn).\n"+'HINT: You can omit "name" to automatically create a name.\n'+"BREAKING CHANGE: webpack < 5 used to allow to use an entrypoint as splitChunk. "+"This is no longer allowed when the entrypoint is not a parent of the selected modules.\n"+"Remove this entrypoint and add modules to cache group's 'test' instead. "+"If you need modules to be evaluated on startup, add them to the existing entrypoints (make them arrays). "+"See migration guide of more info."))}return}}}const _e=N.key+(ie?` name:${ie}`:` chunks:${keyToString($)}`);let Ee=Ye.get(_e);if(Ee===undefined){Ye.set(_e,Ee={modules:new ae(undefined,ce),cacheGroup:N,cacheGroupIndex:R,name:ie,sizes:{},chunks:new Set,reuseableChunks:new Set,chunksKeys:new Set})}const Te=Ee.modules.size;Ee.modules.add(G);if(Ee.modules.size!==Te){for(const E of G.getSourceTypes()){Ee.sizes[E]=(Ee.sizes[E]||0)+G.size(E)}}const we=Ee.chunksKeys.size;Ee.chunksKeys.add($);if(we!==Ee.chunksKeys.size){for(const E of j){Ee.chunks.add(E)}}};const Ze={moduleGraph:Ee,chunkGraph:_e};R.timeEnd("prepare");R.time("modules");for(const N of E.modules){let E=this.options.getCacheGroups(N,Ze);if(!Array.isArray(E)||E.length===0){continue}const R=we((()=>{const E=_e.getModuleChunksIterable(N);const R=getKey(E);return getCombinations(R)}));const $=we((()=>{Je();const E=new Set;const R=We.get(N);for(const N of R){const R=getKey(N);for(const N of getExportsCombinations(R))E.add(N)}return E}));let q=0;for(const G of E){const E=this._getCacheGroup(G);const ie=E.usedExports?$():R();for(const R of ie){const $=R instanceof j?1:R.size;if($<E.minChunks)continue;const{chunks:G,key:ie}=getSelectedChunks(R,E.chunksFilter);addModuleToChunksInfoMap(E,q,G,ie,N)}q++}}R.timeEnd("modules");R.time("queue");const removeModulesWithSourceType=(E,N)=>{for(const R of E.modules){const j=R.getSourceTypes();if(N.some((E=>j.has(E)))){E.modules.delete(R);for(const N of j){E.sizes[N]-=R.size(N)}}}};const removeMinSizeViolatingModules=E=>{if(!E.cacheGroup._validateSize)return false;const N=getViolatingMinSizes(E.sizes,E.cacheGroup.minSize);if(N===undefined)return false;removeModulesWithSourceType(E,N);return E.modules.size===0};for(const[E,N]of Ye){if(removeMinSizeViolatingModules(N)){Ye.delete(E)}else if(!checkMinSizeReduction(N.sizes,N.cacheGroup.minSizeReduction,N.chunks.size)){Ye.delete(E)}}const et=new Map;while(Ye.size>0){let N;let R;for(const E of Ye){const j=E[0];const $=E[1];if(R===undefined||compareEntries(R,$)<0){R=$;N=j}}const j=R;Ye.delete(N);let $=j.name;let q;let G=false;let ie=false;if($){const N=E.namedChunks.get($);if(N!==undefined){q=N;const E=j.chunks.size;j.chunks.delete(q);G=j.chunks.size!==E}}else if(j.cacheGroup.reuseExistingChunk){e:for(const E of j.chunks){if(_e.getNumberOfChunkModules(E)!==j.modules.size){continue}if(j.chunks.size>1&&_e.getNumberOfEntryModules(E)>0){continue}for(const N of j.modules){if(!_e.isModuleInChunk(N,E)){continue e}}if(!q||!q.name){q=E}else if(E.name&&E.name.length<q.name.length){q=E}else if(E.name&&E.name.length===q.name.length&&E.name<q.name){q=E}}if(q){j.chunks.delete(q);$=undefined;G=true;ie=true}}const ae=j.cacheGroup._conditionalEnforce&&checkMinSize(j.sizes,j.cacheGroup.enforceSizeThreshold);const ce=new Set(j.chunks);if(!ae&&(Number.isFinite(j.cacheGroup.maxInitialRequests)||Number.isFinite(j.cacheGroup.maxAsyncRequests))){for(const E of ce){const N=E.isOnlyInitial()?j.cacheGroup.maxInitialRequests:E.canBeInitial()?Math.min(j.cacheGroup.maxInitialRequests,j.cacheGroup.maxAsyncRequests):j.cacheGroup.maxAsyncRequests;if(isFinite(N)&&getRequests(E)>=N){ce.delete(E)}}}e:for(const E of ce){for(const N of j.modules){if(_e.isModuleInChunk(N,E))continue e}ce.delete(E)}if(ce.size<j.chunks.size){if(G)ce.add(q);if(ce.size>=j.cacheGroup.minChunks){const E=Array.from(ce);for(const N of j.modules){addModuleToChunksInfoMap(j.cacheGroup,j.cacheGroupIndex,E,getKey(ce),N)}}continue}if(!ae&&j.cacheGroup._validateRemainingSize&&ce.size===1){const[E]=ce;let R=Object.create(null);for(const N of _e.getChunkModulesIterable(E)){if(!j.modules.has(N)){for(const E of N.getSourceTypes()){R[E]=(R[E]||0)+N.size(E)}}}const $=getViolatingMinSizes(R,j.cacheGroup.minRemainingSize);if($!==undefined){const E=j.modules.size;removeModulesWithSourceType(j,$);if(j.modules.size>0&&j.modules.size!==E){Ye.set(N,j)}continue}}if(q===undefined){q=E.addChunk($)}for(const E of ce){E.split(q)}q.chunkReason=(q.chunkReason?q.chunkReason+", ":"")+(ie?"reused as split chunk":"split chunk");if(j.cacheGroup.key){q.chunkReason+=` (cache group: ${j.cacheGroup.key})`}if($){q.chunkReason+=` (name: ${$})`}if(j.cacheGroup.filename){q.filenameTemplate=j.cacheGroup.filename}if(j.cacheGroup.idHint){q.idNameHints.add(j.cacheGroup.idHint)}if(!ie){for(const N of j.modules){if(!N.chunkCondition(q,E))continue;_e.connectChunkAndModule(q,N);for(const E of ce){_e.disconnectChunkAndModule(E,N)}}}else{for(const E of j.modules){for(const N of ce){_e.disconnectChunkAndModule(N,E)}}}if(Object.keys(j.cacheGroup.maxAsyncSize).length>0||Object.keys(j.cacheGroup.maxInitialSize).length>0){const E=et.get(q);et.set(q,{minSize:E?combineSizes(E.minSize,j.cacheGroup._minSizeForMaxSize,Math.max):j.cacheGroup.minSize,maxAsyncSize:E?combineSizes(E.maxAsyncSize,j.cacheGroup.maxAsyncSize,Math.min):j.cacheGroup.maxAsyncSize,maxInitialSize:E?combineSizes(E.maxInitialSize,j.cacheGroup.maxInitialSize,Math.min):j.cacheGroup.maxInitialSize,automaticNameDelimiter:j.cacheGroup.automaticNameDelimiter,keys:E?E.keys.concat(j.cacheGroup.key):[j.cacheGroup.key]})}for(const[E,N]of Ye){if(isOverlap(N.chunks,ce)){let R=false;for(const E of j.modules){if(N.modules.has(E)){N.modules.delete(E);for(const R of E.getSourceTypes()){N.sizes[R]-=E.size(R)}R=true}}if(R){if(N.modules.size===0){Ye.delete(E);continue}if(removeMinSizeViolatingModules(N)||!checkMinSizeReduction(N.sizes,N.cacheGroup.minSizeReduction,N.chunks.size)){Ye.delete(E);continue}}}}}R.timeEnd("queue");R.time("maxSize");const tt=new Set;const{outputOptions:rt}=E;const{fallbackCacheGroup:nt}=this.options;for(const R of Array.from(E.chunks)){const j=et.get(R);const{minSize:$,maxAsyncSize:q,maxInitialSize:ie,automaticNameDelimiter:ae}=j||nt;if(!j&&!nt.chunksFilter(R))continue;let ce;if(R.isOnlyInitial()){ce=ie}else if(R.canBeInitial()){ce=combineSizes(q,ie,Math.min)}else{ce=q}if(Object.keys(ce).length===0){continue}for(const N of Object.keys(ce)){const R=ce[N];const q=$[N];if(typeof q==="number"&&q>R){const N=j&&j.keys;const $=`${N&&N.join()} ${q} ${R}`;if(!tt.has($)){tt.add($);E.warnings.push(new Ie(N,q,R))}}}const le=Ne({minSize:$,maxSize:mapObject(ce,((E,N)=>{const R=$[N];return typeof R==="number"?Math.max(E,R):E})),items:_e.getChunkModulesIterable(R),getKey(E){const R=Me.get(E);if(R!==undefined)return R;const j=N(E.identifier());const $=E.nameForCondition&&E.nameForCondition();const q=$?N($):j.replace(/^.*!|\?[^?!]*$/g,"");const ie=q+ae+hashFilename(j,rt);const ce=G(ie);Me.set(E,ce);return ce},getSize(E){const N=Object.create(null);for(const R of E.getSourceTypes()){N[R]=E.size(R)}return N}});if(le.length<=1){continue}for(let N=0;N<le.length;N++){const j=le[N];const $=this.options.hidePathInfo?hashFilename(j.key,rt):j.key;let q=R.name?R.name+ae+$:null;if(q&&q.length>100){q=q.slice(0,100)+ae+hashFilename(q,rt)}if(N!==le.length-1){const N=E.addChunk(q);R.split(N);N.chunkReason=R.chunkReason;for(const $ of j.items){if(!$.chunkCondition(N,E)){continue}_e.connectChunkAndModule(N,$);_e.disconnectChunkAndModule(R,$)}}else{R.name=q}}}R.timeEnd("maxSize")}))}))}}},15787:(E,N,R)=>{"use strict";const{formatSize:j}=R(9192);const $=R(81627);E.exports=class AssetsOverSizeLimitWarning extends ${constructor(E,N){const R=E.map((E=>`\n ${E.name} (${j(E.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${j(N)}).\nThis can impact web performance.\nAssets: ${R}`);this.name="AssetsOverSizeLimitWarning";this.assets=E}}},84116:(E,N,R)=>{"use strict";const{formatSize:j}=R(9192);const $=R(81627);E.exports=class EntrypointsOverSizeLimitWarning extends ${constructor(E,N){const R=E.map((E=>`\n ${E.name} (${j(E.size)})\n${E.files.map((E=>` ${E}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${j(N)}). This can impact web performance.\nEntrypoints:${R}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=E}}},23529:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class NoAsyncChunksWarning extends j{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(E,N,R)=>{"use strict";const{find:j}=R(26221);const $=R(15787);const q=R(84116);const G=R(23529);const ie=new WeakSet;const excludeSourceMap=(E,N,R)=>!R.development;E.exports=class SizeLimitsPlugin{constructor(E){this.hints=E.hints;this.maxAssetSize=E.maxAssetSize;this.maxEntrypointSize=E.maxEntrypointSize;this.assetFilter=E.assetFilter}static isOverSizeLimit(E){return ie.has(E)}apply(E){const N=this.maxEntrypointSize;const R=this.maxAssetSize;const ae=this.hints;const ce=this.assetFilter||excludeSourceMap;E.hooks.afterEmit.tap("SizeLimitsPlugin",(E=>{const le=[];const getEntrypointSize=N=>{let R=0;for(const j of N.getFiles()){const N=E.getAsset(j);if(N&&ce(N.name,N.source,N.info)&&N.source){R+=N.info.size||N.source.size()}}return R};const _e=[];for(const{name:N,source:j,info:$}of E.getAssets()){if(!ce(N,j,$)||!j){continue}const E=$.size||j.size();if(E>R){_e.push({name:N,size:E});ie.add(j)}}const fileFilter=N=>{const R=E.getAsset(N);return R&&ce(R.name,R.source,R.info)};const Ee=[];for(const[R,j]of E.entrypoints){const E=getEntrypointSize(j);if(E>N){Ee.push({name:R,size:E,files:j.getFiles().filter(fileFilter)});ie.add(j)}}if(ae){if(_e.length>0){le.push(new $(_e,R))}if(Ee.length>0){le.push(new q(Ee,N))}if(le.length>0){const N=j(E.chunks,(E=>!E.canBeInitial()));if(!N){le.push(new G)}if(ae==="error"){E.errors.push(...le)}else{E.warnings.push(...le)}}}}))}}},63890:(E,N,R)=>{"use strict";const j=R(66804);const $=R(58159);class ChunkPrefetchFunctionRuntimeModule extends j{constructor(E,N,R){super(`chunk ${E} function`);this.childType=E;this.runtimeFunction=N;this.runtimeHandlers=R}generate(){const{runtimeFunction:E,runtimeHandlers:N}=this;const{runtimeTemplate:R}=this.compilation;return $.asString([`${N} = {};`,`${E} = ${R.basicFunction("chunkId",[`Object.keys(${N}).map(${R.basicFunction("key",`${N}[key](chunkId);`)});`])}`])}}E.exports=ChunkPrefetchFunctionRuntimeModule},5538:(E,N,R)=>{"use strict";const j=R(76150);const $=R(63890);const q=R(2235);const G=R(86400);const ie=R(37536);class ChunkPrefetchPreloadPlugin{apply(E){E.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((N,R,{chunkGraph:$})=>{if($.getNumberOfEntryModules(N)===0)return;const G=N.getChildrenOfTypeInOrder($,"prefetchOrder");if(G){R.add(j.prefetchChunk);R.add(j.onChunksLoaded);E.addRuntimeModule(N,new q(G))}}));E.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((N,R,{chunkGraph:$})=>{const q=N.getChildIdsByOrdersMap($,false);if(q.prefetch){R.add(j.prefetchChunk);E.addRuntimeModule(N,new G(q.prefetch))}if(q.preload){R.add(j.preloadChunk);E.addRuntimeModule(N,new ie(q.preload))}}));E.hooks.runtimeRequirementInTree.for(j.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((N,R)=>{E.addRuntimeModule(N,new $("prefetch",j.prefetchChunk,j.prefetchChunkHandlers));R.add(j.prefetchChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(j.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((N,R)=>{E.addRuntimeModule(N,new $("preload",j.preloadChunk,j.preloadChunkHandlers));R.add(j.preloadChunkHandlers)}))}))}}E.exports=ChunkPrefetchPreloadPlugin},2235:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPrefetchStartupRuntimeModule extends ${constructor(E){super("startup prefetch",$.STAGE_TRIGGER);this.startupChunks=E}generate(){const{startupChunks:E,chunk:N}=this;const{runtimeTemplate:R}=this.compilation;return q.asString(E.map((({onChunks:E,chunks:$})=>`${j.onChunksLoaded}(0, ${JSON.stringify(E.filter((E=>E===N)).map((E=>E.id)))}, ${R.basicFunction("",$.size<3?Array.from($,(E=>`${j.prefetchChunk}(${JSON.stringify(E.id)});`)):`${JSON.stringify(Array.from($,(E=>E.id)))}.map(${j.prefetchChunk});`)}, 5);`)))}}E.exports=ChunkPrefetchStartupRuntimeModule},86400:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPrefetchTriggerRuntimeModule extends ${constructor(E){super(`chunk prefetch trigger`,$.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:N}=this.compilation;const R=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${j.prefetchChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${j.ensureChunkHandlers}.prefetch = ${N.expressionFunction(`Promise.all(promises).then(${N.basicFunction("",R)})`,"chunkId, promises")};`])])}}E.exports=ChunkPrefetchTriggerRuntimeModule},37536:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPreloadTriggerRuntimeModule extends ${constructor(E){super(`chunk preload trigger`,$.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:N}=this.compilation;const R=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${j.preloadChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${j.ensureChunkHandlers}.preload = ${N.basicFunction("chunkId",R)};`])])}}E.exports=ChunkPreloadTriggerRuntimeModule},94288:E=>{"use strict";class BasicEffectRulePlugin{constructor(E,N){this.ruleProperty=E;this.effectType=N||E}apply(E){E.hooks.rule.tap("BasicEffectRulePlugin",((E,N,R,j,$)=>{if(R.has(this.ruleProperty)){R.delete(this.ruleProperty);const E=N[this.ruleProperty];j.effects.push({type:this.effectType,value:E})}}))}}E.exports=BasicEffectRulePlugin},1976:E=>{"use strict";class BasicMatcherRulePlugin{constructor(E,N,R){this.ruleProperty=E;this.dataProperty=N||E;this.invert=R||false}apply(E){E.hooks.rule.tap("BasicMatcherRulePlugin",((N,R,j,$)=>{if(j.has(this.ruleProperty)){j.delete(this.ruleProperty);const q=R[this.ruleProperty];const G=E.compileCondition(`${N}.${this.ruleProperty}`,q);const ie=G.fn;$.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!G.matchWhenEmpty:G.matchWhenEmpty,fn:this.invert?E=>!ie(E):ie})}}))}}E.exports=BasicMatcherRulePlugin},95020:E=>{"use strict";class ObjectMatcherRulePlugin{constructor(E,N){this.ruleProperty=E;this.dataProperty=N||E}apply(E){const{ruleProperty:N,dataProperty:R}=this;E.hooks.rule.tap("ObjectMatcherRulePlugin",((j,$,q,G)=>{if(q.has(N)){q.delete(N);const ie=$[N];for(const $ of Object.keys(ie)){const q=$.split(".");const ae=E.compileCondition(`${j}.${N}.${$}`,ie[$]);G.conditions.push({property:[R,...q],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}E.exports=ObjectMatcherRulePlugin},73817:(E,N,R)=>{"use strict";const{SyncHook:j}=R(92960);class RuleSetCompiler{constructor(E){this.hooks=Object.freeze({rule:new j(["path","rule","unhandledProperties","compiledRule","references"])});if(E){for(const N of E){N.apply(this)}}}compile(E){const N=new Map;const R=this.compileRules("ruleSet",E,N);const execRule=(E,N,R)=>{for(const R of N.conditions){const N=R.property;if(Array.isArray(N)){let j=E;for(const E of N){if(j&&typeof j==="object"&&Object.prototype.hasOwnProperty.call(j,E)){j=j[E]}else{j=undefined;break}}if(j!==undefined){if(!R.fn(j))return false;continue}}else if(N in E){const j=E[N];if(j!==undefined){if(!R.fn(j))return false;continue}}if(!R.matchWhenEmpty){return false}}for(const j of N.effects){if(typeof j==="function"){const N=j(E);for(const E of N){R.push(E)}}else{R.push(j)}}if(N.rules){for(const j of N.rules){execRule(E,j,R)}}if(N.oneOf){for(const j of N.oneOf){if(execRule(E,j,R)){break}}}return true};return{references:N,exec:E=>{const N=[];for(const j of R){execRule(E,j,N)}return N}}}compileRules(E,N,R){return N.map(((N,j)=>this.compileRule(`${E}[${j}]`,N,R)))}compileRule(E,N,R){const j=new Set(Object.keys(N).filter((E=>N[E]!==undefined)));const $={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(E,N,j,$,R);if(j.has("rules")){j.delete("rules");const q=N.rules;if(!Array.isArray(q))throw this.error(E,q,"Rule.rules must be an array of rules");$.rules=this.compileRules(`${E}.rules`,q,R)}if(j.has("oneOf")){j.delete("oneOf");const q=N.oneOf;if(!Array.isArray(q))throw this.error(E,q,"Rule.oneOf must be an array of rules");$.oneOf=this.compileRules(`${E}.oneOf`,q,R)}if(j.size>0){throw this.error(E,N,`Properties ${Array.from(j).join(", ")} are unknown`)}return $}compileCondition(E,N){if(N===""){return{matchWhenEmpty:true,fn:E=>E===""}}if(!N){throw this.error(E,N,"Expected condition but got falsy value")}if(typeof N==="string"){return{matchWhenEmpty:N.length===0,fn:E=>typeof E==="string"&&E.startsWith(N)}}if(typeof N==="function"){try{return{matchWhenEmpty:N(""),fn:N}}catch(R){throw this.error(E,N,"Evaluation of condition function threw error")}}if(N instanceof RegExp){return{matchWhenEmpty:N.test(""),fn:E=>typeof E==="string"&&N.test(E)}}if(Array.isArray(N)){const R=N.map(((N,R)=>this.compileCondition(`${E}[${R}]`,N)));return this.combineConditionsOr(R)}if(typeof N!=="object"){throw this.error(E,N,`Unexpected ${typeof N} when condition was expected`)}const R=[];for(const j of Object.keys(N)){const $=N[j];switch(j){case"or":if($){if(!Array.isArray($)){throw this.error(`${E}.or`,N.and,"Expected array of conditions")}R.push(this.compileCondition(`${E}.or`,$))}break;case"and":if($){if(!Array.isArray($)){throw this.error(`${E}.and`,N.and,"Expected array of conditions")}let j=0;for(const N of $){R.push(this.compileCondition(`${E}.and[${j}]`,N));j++}}break;case"not":if($){const N=this.compileCondition(`${E}.not`,$);const j=N.fn;R.push({matchWhenEmpty:!N.matchWhenEmpty,fn:E=>!j(E)})}break;default:throw this.error(`${E}.${j}`,N[j],`Unexpected property ${j} in condition`)}}if(R.length===0){throw this.error(E,N,"Expected condition, but got empty thing")}return this.combineConditionsAnd(R)}combineConditionsOr(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.some((E=>E.matchWhenEmpty)),fn:N=>E.some((E=>E.fn(N)))}}}combineConditionsAnd(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.every((E=>E.matchWhenEmpty)),fn:N=>E.every((E=>E.fn(N)))}}}error(E,N,R){return new Error(`Compiling RuleSet failed: ${R} (at ${E}: ${N})`)}}E.exports=RuleSetCompiler},19311:(E,N,R)=>{"use strict";const j=R(73837);class UseEffectRulePlugin{apply(E){E.hooks.rule.tap("UseEffectRulePlugin",((N,R,$,q,G)=>{const conflictWith=(j,q)=>{if($.has(j)){throw E.error(`${N}.${j}`,R[j],`A Rule must not have a '${j}' property when it has a '${q}' property`)}};if($.has("use")){$.delete("use");$.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const E=R.use;const ie=R.enforce;const ae=ie?`use-${ie}`:"use";const useToEffect=(E,N,R)=>{if(typeof R==="function"){return N=>useToEffectsWithoutIdent(E,R(N))}else{return useToEffectRaw(E,N,R)}};const useToEffectRaw=(E,N,R)=>{if(typeof R==="string"){return{type:ae,value:{loader:R,options:undefined,ident:undefined}}}else{const $=R.loader;const q=R.options;let ae=R.ident;if(q&&typeof q==="object"){if(!ae)ae=N;G.set(ae,q)}if(typeof q==="string"){j.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ie?`use-${ie}`:"use",value:{loader:$,options:q,ident:ae}}}};const useToEffectsWithoutIdent=(E,N)=>{if(Array.isArray(N)){return N.map(((N,R)=>useToEffectRaw(`${E}[${R}]`,"[[missing ident]]",N)))}return[useToEffectRaw(E,"[[missing ident]]",N)]};const useToEffects=(E,N)=>{if(Array.isArray(N)){return N.map(((N,R)=>{const j=`${E}[${R}]`;return useToEffect(j,j,N)}))}return[useToEffect(E,E,N)]};if(typeof E==="function"){q.effects.push((R=>useToEffectsWithoutIdent(`${N}.use`,E(R))))}else{for(const R of useToEffects(`${N}.use`,E)){q.effects.push(R)}}}if($.has("loader")){$.delete("loader");$.delete("options");$.delete("enforce");const ie=R.loader;const ae=R.options;const ce=R.enforce;if(ie.includes("!")){throw E.error(`${N}.loader`,ie,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ie.includes("?")){throw E.error(`${N}.loader`,ie,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){j.deprecate((()=>{}),`Using a string as loader options is deprecated (${N}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const le=ae&&typeof ae==="object"?N:undefined;G.set(le,ae);q.effects.push({type:ce?`use-${ce}`:"use",value:{loader:ie,options:ae,ident:le}})}}))}useItemToEffects(E,N){}}E.exports=UseEffectRulePlugin},84997:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class AsyncModuleRuntimeModule extends q{constructor(){super("async module")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.asyncModule;return $.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${E.basicFunction("queue",["if(queue) {",$.indent([`queue.forEach(${E.expressionFunction("fn.r--","fn")});`,`queue.forEach(${E.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${E.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${E.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${E.returningFunction(`deps.map(${E.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',$.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",$.indent(["var queue = [];",`dep.then(${E.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${E.expressionFunction("queueFunction(queue, fn), dep['catch'](reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${E.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${N} = ${E.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${E.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${E.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${E.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${E.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${E.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise['catch'](rejectFn);"])};`,"module.exports = promise;",`body(${E.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${E.basicFunction("resolve, reject",[`fn = ${E.expressionFunction(`resolve(result = currentDeps.map(${E.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}E.exports=AsyncModuleRuntimeModule},31164:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const G=R(18161);const{getUndoPath:ie}=R(49197);class AutoPublicPathRuntimeModule extends ${constructor(){super("publicPath",$.STAGE_BASIC)}generate(){const{compilation:E}=this;const{scriptType:N,importMetaName:R,path:$}=E.outputOptions;const ae=E.getPath(G.getChunkFilenameTemplate(this.chunk,E.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const ce=ie(ae,$,false);return q.asString(["var scriptUrl;",N==="module"?`if (typeof ${R}.url === "string") scriptUrl = ${R}.url`:q.asString([`if (${j.global}.importScripts) scriptUrl = ${j.global}.location + "";`,`var document = ${j.global}.document;`,"if (!scriptUrl && document) {",q.indent([`if (document.currentScript)`,q.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",q.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!ce?`${j.publicPath} = scriptUrl;`:`${j.publicPath} = scriptUrl + ${JSON.stringify(ce)};`])}}E.exports=AutoPublicPathRuntimeModule},64255:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class ChunkNameRuntimeModule extends ${constructor(E){super("chunkName");this.chunkName=E}generate(){return`${j.chunkName} = ${JSON.stringify(this.chunkName)};`}}E.exports=ChunkNameRuntimeModule},90202:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CompatGetDefaultExportRuntimeModule extends q{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.compatGetDefaultExport;return $.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${N} = ${E.basicFunction("module",["var getter = module && module.__esModule ?",$.indent([`${E.returningFunction("module['default']")} :`,`${E.returningFunction("module")};`]),`${j.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}E.exports=CompatGetDefaultExportRuntimeModule},16710:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class CompatRuntimeModule extends ${constructor(){super("compat",$.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:E,chunk:N,compilation:R}=this;const{runtimeTemplate:$,mainTemplate:q,moduleTemplates:G,dependencyTemplates:ie}=R;const ae=q.hooks.bootstrap.call("",N,R.hash||"XXXX",G.javascript,ie);const ce=q.hooks.localVars.call("",N,R.hash||"XXXX");const le=q.hooks.requireExtensions.call("",N,R.hash||"XXXX");const _e=E.getTreeRuntimeRequirements(N);let Ee="";if(_e.has(j.ensureChunk)){const E=q.hooks.requireEnsure.call("",N,R.hash||"XXXX","chunkId");if(E){Ee=`${j.ensureChunkHandlers}.compat = ${$.basicFunction("chunkId, promises",E)};`}}return[ae,ce,Ee,le].filter(Boolean).join("\n")}shouldIsolate(){return false}}E.exports=CompatRuntimeModule},3236:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CreateFakeNamespaceObjectRuntimeModule extends q{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.createFakeNamespaceObject;return $.asString([`var getProto = Object.getPrototypeOf ? ${E.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${E.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${N} = function(value, mode) {`,$.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",$.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${j.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",$.indent([`Object.getOwnPropertyNames(current).forEach(${E.expressionFunction(`def[key] = ${E.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${E.returningFunction("value","")};`,`${j.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}E.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CreateScriptUrlRuntimeModule extends q{constructor(){super("trusted types")}generate(){const{compilation:E}=this;const{runtimeTemplate:N,outputOptions:R}=E;const{trustedTypes:q}=R;const G=j.createScriptUrl;if(!q){return $.asString([`${G} = ${N.returningFunction("url","url")};`])}return $.asString(["var policy;",`${G} = ${N.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",$.indent(["policy = {",$.indent([`createScriptURL: ${N.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',$.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(q.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}E.exports=CreateScriptUrlRuntimeModule},58957:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class DefinePropertyGettersRuntimeModule extends q{constructor(){super("define property getters")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.definePropertyGetters;return $.asString(["// define getter functions for harmony exports",`${N} = ${E.basicFunction("exports, definition",[`for(var key in definition) {`,$.indent([`if(${j.hasOwnProperty}(definition, key) && !${j.hasOwnProperty}(exports, key)) {`,$.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}E.exports=DefinePropertyGettersRuntimeModule},59179:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class EnsureChunkRuntimeModule extends ${constructor(E){super("ensure chunk");this.runtimeRequirements=E}generate(){const{runtimeTemplate:E}=this.compilation;if(this.runtimeRequirements.has(j.ensureChunkHandlers)){const N=j.ensureChunkHandlers;return q.asString([`${N} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${j.ensureChunk} = ${E.basicFunction("chunkId",[`return Promise.all(Object.keys(${N}).reduce(${E.basicFunction("promises, key",[`${N}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return q.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${j.ensureChunk} = ${E.returningFunction("Promise.resolve()")};`])}}}E.exports=EnsureChunkRuntimeModule},9609:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{first:G}=R(26221);class GetChunkFilenameRuntimeModule extends ${constructor(E,N,R,j,$){super(`get ${N} chunk filename`);this.contentType=E;this.global=R;this.getFilenameForChunk=j;this.allChunks=$;this.dependentHash=true}generate(){const{global:E,chunk:N,chunkGraph:R,contentType:$,getFilenameForChunk:ie,allChunks:ae,compilation:ce}=this;const{runtimeTemplate:le}=ce;const _e=new Map;let Ee=0;let Te;const addChunk=E=>{const N=ie(E);if(N){let R=_e.get(N);if(R===undefined){_e.set(N,R=new Set)}R.add(E);if(typeof N==="string"){if(R.size<Ee)return;if(R.size===Ee){if(N.length<Te.length)return;if(N.length===Te.length){if(N<Te)return}}Ee=R.size;Te=N}}};const we=[];if(ae){we.push("all chunks");for(const E of N.getAllReferencedChunks()){addChunk(E)}}else{we.push("async chunks");for(const E of N.getAllAsyncChunks()){addChunk(E)}const E=R.getTreeRuntimeRequirements(N).has(j.ensureChunkIncludeEntries);if(E){we.push("sibling chunks for the entrypoint");for(const E of R.getChunkEntryDependentChunksIterable(N)){addChunk(E)}}}for(const E of N.getAllReferencedAsyncEntrypoints()){addChunk(E.chunks[E.chunks.length-1])}const Ie=new Map;const Ne=new Set;const addStaticUrl=(E,N)=>{const unquotedStringify=N=>{const R=`${N}`;if(R.length>=5&&R===`${E.id}`){return'" + chunkId + "'}const j=JSON.stringify(R);return j.slice(1,j.length-1)};const unquotedStringifyWithLength=E=>N=>unquotedStringify(`${E}`.slice(0,N));const R=typeof N==="function"?JSON.stringify(N({chunk:E,contentHashType:$})):JSON.stringify(N);const q=ce.getPath(R,{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:{id:unquotedStringify(E.id),hash:unquotedStringify(E.renderedHash),hashWithLength:unquotedStringifyWithLength(E.renderedHash),name:unquotedStringify(E.name||E.id),contentHash:{[$]:unquotedStringify(E.contentHash[$])},contentHashWithLength:{[$]:unquotedStringifyWithLength(E.contentHash[$])}},contentHashType:$});let G=Ie.get(q);if(G===undefined){Ie.set(q,G=new Set)}G.add(E.id)};for(const[E,N]of _e){if(E!==Te){for(const R of N)addStaticUrl(R,E)}else{for(const E of N)Ne.add(E)}}const createMap=E=>{const N={};let R=false;let j;let $=0;for(const q of Ne){const G=E(q);if(G===q.id){R=true}else{N[q.id]=G;j=q.id;$++}}if($===0)return"chunkId";if($===1){return R?`(chunkId === ${JSON.stringify(j)} ? ${JSON.stringify(N[j])} : chunkId)`:JSON.stringify(N[j])}return R?`(${JSON.stringify(N)}[chunkId] || chunkId)`:`${JSON.stringify(N)}[chunkId]`};const mapExpr=E=>`" + ${createMap(E)} + "`;const mapExprWithLength=E=>N=>`" + ${createMap((R=>`${E(R)}`.slice(0,N)))} + "`;const Me=Te&&ce.getPath(JSON.stringify(Te),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((E=>E.renderedHash)),hashWithLength:mapExprWithLength((E=>E.renderedHash)),name:mapExpr((E=>E.name||E.id)),contentHash:{[$]:mapExpr((E=>E.contentHash[$]))},contentHashWithLength:{[$]:mapExprWithLength((E=>E.contentHash[$]))}},contentHashType:$});return q.asString([`// This function allow to reference ${we.join(" and ")}`,`${E} = ${le.basicFunction("chunkId",Ie.size>0?["// return url for filenames not based on template",q.asString(Array.from(Ie,(([E,N])=>{const R=N.size===1?`chunkId === ${JSON.stringify(G(N))}`:`{${Array.from(N,(E=>`${JSON.stringify(E)}:1`)).join(",")}}[chunkId]`;return`if (${R}) return ${E};`}))),"// return url for filenames based on template",`return ${Me};`]:["// return url for filenames based on template",`return ${Me};`])};`])}}E.exports=GetChunkFilenameRuntimeModule},75948:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class GetFullHashRuntimeModule extends ${constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:E}=this.compilation;return`${j.getFullHash} = ${E.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}E.exports=GetFullHashRuntimeModule},36100:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class GetMainFilenameRuntimeModule extends ${constructor(E,N,R){super(`get ${E} filename`);this.global=N;this.filename=R}generate(){const{global:E,filename:N,compilation:R,chunk:$}=this;const{runtimeTemplate:G}=R;const ie=R.getPath(JSON.stringify(N),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:$,runtime:$.runtime});return q.asString([`${E} = ${G.returningFunction(ie)};`])}}E.exports=GetMainFilenameRuntimeModule},13376:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class GlobalRuntimeModule extends ${constructor(){super("global")}generate(){return q.asString([`${j.global} = (function() {`,q.indent(["if (typeof globalThis === 'object') return globalThis;","try {",q.indent("return this || new Function('return this')();"),"} catch (e) {",q.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}E.exports=GlobalRuntimeModule},37522:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class HasOwnPropertyRuntimeModule extends ${constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${j.hasOwnProperty} = ${E.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}E.exports=HasOwnPropertyRuntimeModule},9851:(E,N,R)=>{"use strict";const j=R(66804);class HelperRuntimeModule extends j{constructor(E){super(E)}}E.exports=HelperRuntimeModule},67104:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(58159);const ie=R(9851);const ae=new WeakMap;class LoadScriptRuntimeModule extends ie{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=ae.get(E);if(N===undefined){N={createScript:new j(["source","chunk"])};ae.set(E,N)}return N}constructor(E){super("load script");this._withCreateScriptUrl=E}generate(){const{compilation:E}=this;const{runtimeTemplate:N,outputOptions:R}=E;const{scriptType:j,chunkLoadTimeout:$,crossOriginLoading:ie,uniqueName:ae,charset:ce}=R;const le=q.loadScript;const{createScript:_e}=LoadScriptRuntimeModule.getCompilationHooks(E);const Ee=G.asString(["script = document.createElement('script');",j?`script.type = ${JSON.stringify(j)};`:"",ce?"script.charset = 'utf-8';":"",`script.timeout = ${$/1e3};`,`if (${q.scriptNonce}) {`,G.indent(`script.setAttribute("nonce", ${q.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${q.createScriptUrl}(url)`:"url"};`,ie?G.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",G.indent(`script.crossOrigin = ${JSON.stringify(ie)};`),"}"]):""]);return G.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${le} = ${N.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",G.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",G.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",G.indent(["needAttach = true;",_e.call(Ee,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+N.basicFunction("prev, event",G.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${N.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${$});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}E.exports=LoadScriptRuntimeModule},14676:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class MakeNamespaceObjectRuntimeModule extends q{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.makeNamespaceObject;return $.asString(["// define __esModule on exports",`${N} = ${E.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",$.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}E.exports=MakeNamespaceObjectRuntimeModule},8299:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class OnChunksLoadedRuntimeModule extends ${constructor(){super("chunk loaded")}generate(){const{compilation:E}=this;const{runtimeTemplate:N}=E;return q.asString(["var deferred = [];",`${j.onChunksLoaded} = ${N.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",q.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",q.indent([N.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",q.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${j.onChunksLoaded}).every(${N.returningFunction(`${j.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,q.indent(["chunkIds.splice(j--, 1);"]),"} else {",q.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",q.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}E.exports=OnChunksLoadedRuntimeModule},48977:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class PublicPathRuntimeModule extends ${constructor(E){super("publicPath",$.STAGE_BASIC);this.publicPath=E}generate(){const{compilation:E,publicPath:N}=this;return`${j.publicPath} = ${JSON.stringify(E.getPath(N||"",{hash:E.hash||"XXXX"}))};`}}E.exports=PublicPathRuntimeModule},21355:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class RelativeUrlRuntimeModule extends q{constructor(){super("relative url")}generate(){const{runtimeTemplate:E}=this.compilation;return $.asString([`${j.relativeUrl} = function RelativeURL(url) {`,$.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${E.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${j.relativeUrl}.prototype = URL.prototype;`])}}E.exports=RelativeUrlRuntimeModule},41982:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class RuntimeIdRuntimeModule extends ${constructor(){super("runtimeId")}generate(){const{chunkGraph:E,chunk:N}=this;const R=N.runtime;if(typeof R!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const $=E.getRuntimeId(R);return`${j.runtimeId} = ${JSON.stringify($)};`}}E.exports=RuntimeIdRuntimeModule},64997:(E,N,R)=>{"use strict";const j=R(76150);const $=R(55616);const q=R(34487);class StartupChunkDependenciesPlugin{constructor(E){this.chunkLoading=E.chunkLoading;this.asyncChunkLoading=typeof E.asyncChunkLoading==="boolean"?E.asyncChunkLoading:true}apply(E){E.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j===this.chunkLoading};E.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((N,R,{chunkGraph:q})=>{if(!isEnabledForChunk(N))return;if(q.hasChunkEntryDependentChunks(N)){R.add(j.startup);R.add(j.ensureChunk);R.add(j.ensureChunkIncludeEntries);E.addRuntimeModule(N,new $(this.asyncChunkLoading))}}));E.hooks.runtimeRequirementInTree.for(j.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;R.add(j.require);R.add(j.ensureChunk);R.add(j.ensureChunkIncludeEntries);E.addRuntimeModule(N,new q(this.asyncChunkLoading))}))}))}}E.exports=StartupChunkDependenciesPlugin},55616:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class StartupChunkDependenciesRuntimeModule extends ${constructor(E){super("startup chunk dependencies",$.STAGE_TRIGGER);this.asyncChunkLoading=E}generate(){const{chunkGraph:E,chunk:N,compilation:R}=this;const{runtimeTemplate:$}=R;const G=Array.from(E.getChunkEntryDependentChunksIterable(N)).map((E=>E.id));return q.asString([`var next = ${j.startup};`,`${j.startup} = ${$.basicFunction("",!this.asyncChunkLoading?G.map((E=>`${j.ensureChunk}(${JSON.stringify(E)});`)).concat("return next();"):G.length===1?`return ${j.ensureChunk}(${JSON.stringify(G[0])}).then(next);`:G.length>2?[`return Promise.all(${JSON.stringify(G)}.map(${j.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",q.indent(G.map((E=>`${j.ensureChunk}(${JSON.stringify(E)})`)).join(",\n")),"]).then(next);"])};`])}}E.exports=StartupChunkDependenciesRuntimeModule},34487:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class StartupEntrypointRuntimeModule extends ${constructor(E){super("startup entrypoint");this.asyncChunkLoading=E}generate(){const{compilation:E}=this;const{runtimeTemplate:N}=E;return`${j.startupEntrypoint} = ${N.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${N.returningFunction(`__webpack_require__(${j.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${j.ensureChunk}, __webpack_require__)).then(${N.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${j.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}E.exports=StartupEntrypointRuntimeModule},76752:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class SystemContextRuntimeModule extends ${constructor(){super("__system_context__")}generate(){return`${j.systemContext} = __system_context__;`}}E.exports=SystemContextRuntimeModule},68495:(E,N,R)=>{"use strict";const j=R(53520);const $=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=E=>{const N=$.exec(E);if(!N)return null;const R=N[3];const j=N[4];return R?Buffer.from(j,"base64"):Buffer.from(decodeURIComponent(j),"ascii")};class DataUriPlugin{apply(E){E.hooks.compilation.tap("DataUriPlugin",((E,{normalModuleFactory:N})=>{N.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(E=>{const N=$.exec(E.resource);if(N){E.data.mimetype=N[1]||"";E.data.parameters=N[2]||"";E.data.encoding=N[3]||false;E.data.encodedContent=N[4]||""}}));j.getCompilationHooks(E).readResourceForScheme.for("data").tap("DataUriPlugin",(E=>decodeDataURI(E)))}))}}E.exports=DataUriPlugin},99184:(E,N,R)=>{"use strict";const{URL:j,fileURLToPath:$}=R(57310);const{NormalModule:q}=R(86443);class FileUriPlugin{apply(E){E.hooks.compilation.tap("FileUriPlugin",((E,{normalModuleFactory:N})=>{N.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(E=>{const N=new j(E.resource);const R=$(N);const q=N.search;const G=N.hash;E.path=R;E.query=q;E.fragment=G;E.resource=R+q+G;return true}));const R=q.getCompilationHooks(E);R.readResource.for(undefined).tapAsync("FileUriPlugin",((E,N)=>{const{resourcePath:R}=E;E.addDependency(R);E.fs.readFile(R,N)}))}))}}E.exports=FileUriPlugin},7201:(E,N,R)=>{"use strict";const{extname:j,basename:$}=R(71017);const{URL:q}=R(57310);const{createGunzip:G,createBrotliDecompress:ie,createInflate:ae}=R(59796);const ce=R(53520);const le=R(35817);const _e=R(35891);const{mkdirp:Ee,dirname:Te,join:we}=R(95396);const Ie=R(91671);const Ne=Ie((()=>R(13685)));const Me=Ie((()=>R(95687)));let Le=undefined;const Be=le(R(44363),(()=>R(5404)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=E=>E.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=E=>{const N=_e("sha512");N.update(E);const R="sha512-"+N.digest("base64");return R};const verifyIntegrity=(E,N)=>{if(N==="ignore")return true;return computeIntegrity(E)===N};const parseKeyValuePairs=E=>{const N={};for(const R of E.split(",")){const E=R.indexOf("=");if(E>=0){const j=R.slice(0,E).trim();const $=R.slice(E+1).trim();N[j]=$}else{const E=R.trim();if(!E)continue;N[E]=E}}return N};const parseCacheControl=(E,N)=>{let R=true;let j=true;let $=0;if(E){const q=parseKeyValuePairs(E);if(q["no-cache"])R=j=false;if(q["max-age"]&&!isNaN(+q["max-age"])){$=N+ +q["max-age"]*1e3}if(q["must-revalidate"])$=0}return{storeLock:j,storeCache:R,validUntil:$}};const areLockfileEntriesEqual=(E,N)=>E.resolved===N.resolved&&E.integrity===N.integrity&&E.contentType===N.contentType;const entryToString=E=>`resolved: ${E.resolved}, integrity: ${E.integrity}, contentType: ${E.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(E){const N=JSON.parse(E);if(N.version!==1)throw new Error(`Unsupported lockfile version ${N.version}`);const R=new Lockfile;for(const E of Object.keys(N)){if(E==="version")continue;const j=N[E];R.entries.set(E,typeof j==="string"?j:{resolved:E,...j})}return R}toString(){let E="{\n";const N=Array.from(this.entries).sort((([E],[N])=>E<N?-1:1));for(const[R,j]of N){if(typeof j==="string"){E+=` ${JSON.stringify(R)}: ${JSON.stringify(j)},\n`}else{E+=` ${JSON.stringify(R)}: { `;if(j.resolved!==R)E+=`"resolved": ${JSON.stringify(j.resolved)}, `;E+=`"integrity": ${JSON.stringify(j.integrity)}, "contentType": ${JSON.stringify(j.contentType)} },\n`}}E+=` "version": ${this.version}\n}\n`;return E}}const cachedWithoutKey=E=>{let N=false;let R=undefined;let j=undefined;let $=undefined;return q=>{if(N){if(j!==undefined)return q(null,j);if(R!==undefined)return q(R);if($===undefined)$=[q];else $.push(q);return}N=true;E(((E,N)=>{if(E)R=E;else j=N;const G=$;$=undefined;q(E,N);if(G!==undefined)for(const R of G)R(E,N)}))}};const cachedWithKey=(E,N=E)=>{const R=new Map;const resultFn=(N,j)=>{const $=R.get(N);if($!==undefined){if($.result!==undefined)return j(null,$.result);if($.error!==undefined)return j($.error);if($.callbacks===undefined)$.callbacks=[j];else $.callbacks.push(j);return}const q={result:undefined,error:undefined,callbacks:undefined};R.set(N,q);E(N,((E,N)=>{if(E)q.error=E;else q.result=N;const R=q.callbacks;q.callbacks=undefined;j(E,N);if(R!==undefined)for(const j of R)j(E,N)}))};resultFn.force=(E,j)=>{const $=R.get(E);if($!==undefined&&$.force){if($.result!==undefined)return j(null,$.result);if($.error!==undefined)return j($.error);if($.callbacks===undefined)$.callbacks=[j];else $.callbacks.push(j);return}const q={result:undefined,error:undefined,callbacks:undefined,force:true};R.set(E,q);N(E,((E,N)=>{if(E)q.error=E;else q.result=N;const R=q.callbacks;q.callbacks=undefined;j(E,N);if(R!==undefined)for(const j of R)j(E,N)}))};return resultFn};class HttpUriPlugin{constructor(E){Be(E);this._lockfileLocation=E.lockfileLocation;this._cacheLocation=E.cacheLocation;this._upgrade=E.upgrade;this._frozen=E.frozen;this._allowedUris=E.allowedUris}apply(E){const N=[{scheme:"http",fetch:(E,N,R)=>Ne().get(E,N,R)},{scheme:"https",fetch:(E,N,R)=>Me().get(E,N,R)}];let R;E.hooks.compilation.tap("HttpUriPlugin",((le,{normalModuleFactory:Ie})=>{const Ne=E.intermediateFileSystem;const Me=le.inputFileSystem;const Be=le.getCache("webpack.HttpUriPlugin");const je=le.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||we(Ne,E.context,E.name?`${toSafePath(E.name)}.webpack.lock`:"webpack.lock");const ze=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const We=this._upgrade||false;const Je=this._frozen||false;const Ve="sha512";const qe="hex";const He=20;const Ge=this._allowedUris;let Ke=false;const Qe=new Map;const getCacheKey=E=>{const N=Qe.get(E);if(N!==undefined)return N;const R=_getCacheKey(E);Qe.set(E,R);return R};const _getCacheKey=E=>{const N=new q(E);const R=toSafePath(N.origin);const $=toSafePath(N.pathname);const G=toSafePath(N.search);let ie=j($);if(ie.length>20)ie="";const ae=ie?$.slice(0,-ie.length):$;const ce=_e(Ve);ce.update(E);const le=ce.digest(qe).slice(0,He);return`${R.slice(-50)}/${`${ae}${G?`_${G}`:""}`.slice(0,150)}_${le}${ie}`};const Xe=cachedWithoutKey((N=>{const readLockfile=()=>{Ne.readFile(Ue,((j,$)=>{if(j&&j.code!=="ENOENT"){le.missingDependencies.add(Ue);return N(j)}le.fileDependencies.add(Ue);le.fileSystemInfo.createSnapshot(E.fsStartTime,$?[Ue]:[],[],$?[]:[Ue],{timestamp:true},((E,j)=>{if(E)return N(E);const q=$?Lockfile.parse($.toString("utf-8")):new Lockfile;R={lockfile:q,snapshot:j};N(null,q)}))}))};if(R){le.fileSystemInfo.checkSnapshotValid(R.snapshot,((E,j)=>{if(E)return N(E);if(!j)return readLockfile();N(null,R.lockfile)}))}else{readLockfile()}}));let Ye=undefined;const storeLockEntry=(E,N,R)=>{const j=E.entries.get(N);if(Ye===undefined)Ye=new Map;Ye.set(N,R);E.entries.set(N,R);if(!j){je.log(`${N} added to lockfile`)}else if(typeof j==="string"){if(typeof R==="string"){je.log(`${N} updated in lockfile: ${j} -> ${R}`)}else{je.log(`${N} updated in lockfile: ${j} -> ${R.resolved}`)}}else if(typeof R==="string"){je.log(`${N} updated in lockfile: ${j.resolved} -> ${R}`)}else if(j.resolved!==R.resolved){je.log(`${N} updated in lockfile: ${j.resolved} -> ${R.resolved}`)}else if(j.integrity!==R.integrity){je.log(`${N} updated in lockfile: content changed`)}else if(j.contentType!==R.contentType){je.log(`${N} updated in lockfile: ${j.contentType} -> ${R.contentType}`)}else{je.log(`${N} updated in lockfile`)}};const storeResult=(E,N,R,j)=>{if(R.storeLock){storeLockEntry(E,N,R.entry);if(!ze||!R.content)return j(null,R);const $=getCacheKey(R.entry.resolved);const q=we(Ne,ze,$);Ee(Ne,Te(Ne,q),(E=>{if(E)return j(E);Ne.writeFile(q,R.content,(E=>{if(E)return j(E);j(null,R)}))}))}else{storeLockEntry(E,N,"no-cache");j(null,R)}};for(const{scheme:E,fetch:R}of N){const resolveContent=(E,R,j)=>{const handleResult=($,q)=>{if($)return j($);if("location"in q){return resolveContent(q.location,R,((E,N)=>{if(E)return j(E);j(null,{entry:N.entry,content:N.content,storeLock:N.storeLock&&q.storeLock})}))}else{if(!q.fresh&&R&&q.entry.integrity!==R&&!verifyIntegrity(q.content,R)){return N.force(E,handleResult)}return j(null,{entry:q.entry,content:q.content,storeLock:q.storeLock})}};N(E,handleResult)};const fetchContentRaw=(E,N,j)=>{const $=Date.now();R(new q(E),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":N?N.etag||null:null}},(R=>{const ce=R.headers["etag"];const le=R.headers["location"];const _e=R.headers["cache-control"];const{storeLock:Ee,storeCache:Te,validUntil:we}=parseCacheControl(_e,$);const finishWith=N=>{if("location"in N){je.debug(`GET ${E} [${R.statusCode}] -> ${N.location}`)}else{je.debug(`GET ${E} [${R.statusCode}] ${Math.ceil(N.content.length/1024)} kB${!Ee?" no-cache":""}`)}const $={...N,fresh:true,storeLock:Ee,storeCache:Te,validUntil:we,etag:ce};if(!Te){je.log(`${E} can't be stored in cache, due to Cache-Control header: ${_e}`);return j(null,$)}Be.store(E,null,{...$,fresh:false},(N=>{if(N){je.warn(`${E} can't be stored in cache: ${N.message}`);je.debug(N.stack)}j(null,$)}))};if(R.statusCode===304){if(N.validUntil<we||N.storeLock!==Ee||N.storeCache!==Te||N.etag!==ce){return finishWith(N)}else{je.debug(`GET ${E} [${R.statusCode}] (unchanged)`);return j(null,{...N,fresh:true})}}if(le&&R.statusCode>=301&&R.statusCode<=308){return finishWith({location:new q(le,E).href})}const Ie=R.headers["content-type"]||"";const Ne=[];const Me=R.headers["content-encoding"];let Le=R;if(Me==="gzip"){Le=Le.pipe(G())}else if(Me==="br"){Le=Le.pipe(ie())}else if(Me==="deflate"){Le=Le.pipe(ae())}Le.on("data",(E=>{Ne.push(E)}));Le.on("end",(()=>{if(!R.complete){je.log(`GET ${E} [${R.statusCode}] (terminated)`);return j(new Error(`${E} request was terminated`))}const N=Buffer.concat(Ne);if(R.statusCode!==200){je.log(`GET ${E} [${R.statusCode}]`);return j(new Error(`${E} request status code = ${R.statusCode}\n${N.toString("utf-8")}`))}const $=computeIntegrity(N);const q={resolved:E,integrity:$,contentType:Ie};finishWith({entry:q,content:N})}))})).on("error",(N=>{je.log(`GET ${E} (error)`);N.message+=`\nwhile fetching ${E}`;j(N)}))};const N=cachedWithKey(((E,N)=>{Be.get(E,null,((R,j)=>{if(R)return N(R);if(j){const E=j.validUntil>=Date.now();if(E)return N(null,j)}fetchContentRaw(E,j,N)}))}),((E,N)=>fetchContentRaw(E,undefined,N)));const isAllowed=E=>{for(const N of Ge){if(typeof N==="string"){if(E.startsWith(N))return true}else if(typeof N==="function"){if(N(E))return true}else{if(N.test(E))return true}}return false};const j=cachedWithKey(((E,N)=>{if(!isAllowed(E)){return N(new Error(`${E} doesn't match the allowedUris policy. These URIs are allowed:\n${Ge.map((E=>` - ${E}`)).join("\n")}`))}Xe(((R,j)=>{if(R)return N(R);const $=j.entries.get(E);if(!$){if(Je){return N(new Error(`${E} has no lockfile entry and lockfile is frozen`))}resolveContent(E,null,((R,$)=>{if(R)return N(R);storeResult(j,E,$,N)}));return}if(typeof $==="string"){const R=$;resolveContent(E,null,(($,q)=>{if($)return N($);if(!q.storeLock||R==="ignore")return N(null,q);if(Je){return N(new Error(`${E} used to have ${R} lockfile entry and has content now, but lockfile is frozen`))}if(!We){return N(new Error(`${E} used to have ${R} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult(j,E,q,N)}));return}let q=$;const doFetch=R=>{resolveContent(E,q.integrity,(($,G)=>{if($){if(R){je.warn(`Upgrade request to ${E} failed: ${$.message}`);je.debug($.stack);return N(null,{entry:q,content:R})}return N($)}if(!G.storeLock){if(Je){return N(new Error(`${E} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult(j,E,G,N);return}if(!areLockfileEntriesEqual(G.entry,q)){if(Je){return N(new Error(`${E} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(q)}\nExpected: ${entryToString(G.entry)}`))}storeResult(j,E,G,N);return}if(!R&&ze){if(Je){return N(new Error(`${E} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult(j,E,G,N);return}return N(null,G)}))};if(ze){const R=getCacheKey(q.resolved);const $=we(Ne,ze,R);Me.readFile($,((R,G)=>{const ie=G;if(R){if(R.code==="ENOENT")return doFetch();return N(R)}const continueWithCachedContent=E=>{if(!We){return N(null,{entry:q,content:ie})}return doFetch(ie)};if(!verifyIntegrity(ie,q.integrity)){let R;let G=false;try{R=Buffer.from(ie.toString("utf-8").replace(/\r\n/g,"\n"));G=verifyIntegrity(R,q.integrity)}catch(E){}if(G){if(!Ke){const E=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(Je){je.error(E)}else{je.warn(E);je.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Ke=true}if(!Je){je.log(`${$} fixed end of line sequence (\\r\\n instead of \\n).`);Ne.writeFile($,R,(E=>{if(E)return N(E);continueWithCachedContent(R)}));return}}if(Je){return N(new Error(`${q.resolved} integrity mismatch, expected content with integrity ${q.integrity} but got ${computeIntegrity(ie)}.\nLockfile corrupted (${G?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{q={...q,integrity:computeIntegrity(ie)};storeLockEntry(j,E,q)}}continueWithCachedContent(G)}))}else{doFetch()}}))}));const respondWithUrlModule=(E,N,R)=>{j(E.href,((j,$)=>{if(j)return R(j);N.resource=E.href;N.path=E.origin+E.pathname;N.query=E.search;N.fragment=E.hash;N.context=new q(".",$.entry.resolved).href.slice(0,-1);N.data.mimetype=$.entry.contentType;R(null,true)}))};Ie.hooks.resolveForScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>{respondWithUrlModule(new q(E.resource),E,R)}));Ie.hooks.resolveInScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>{if(N.dependencyType!=="url"&&!/^\.{0,2}\//.test(E.resource)){return R()}respondWithUrlModule(new q(E.resource,N.context+"/"),E,R)}));const $=ce.getCompilationHooks(le);$.readResourceForScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>j(E,((E,j)=>{if(E)return R(E);N.buildInfo.resourceIntegrity=j.entry.integrity;R(null,j.content)}))));$.needBuild.tapAsync("HttpUriPlugin",((N,R,$)=>{if(N.resource&&N.resource.startsWith(`${E}://`)){j(N.resource,((E,R)=>{if(E)return $(E);if(R.entry.integrity!==N.buildInfo.resourceIntegrity){return $(null,true)}$()}))}else{return $()}}))}le.hooks.finishModules.tapAsync("HttpUriPlugin",((E,N)=>{if(!Ye)return N();const R=j(Ue);const q=we(Ne,Te(Ne,Ue),`.${$(Ue,R)}.${Math.random()*1e4|0}${R}`);const writeDone=()=>{const E=Le.shift();if(E){E()}else{Le=undefined}};const runWrite=()=>{Ne.readFile(Ue,((E,R)=>{if(E&&E.code!=="ENOENT"){writeDone();return N(E)}const j=R?Lockfile.parse(R.toString("utf-8")):new Lockfile;for(const[E,N]of Ye){j.entries.set(E,N)}Ne.writeFile(q,j.toString(),(E=>{if(E){writeDone();return Ne.unlink(q,(()=>N(E)))}Ne.rename(q,Ue,(E=>{if(E){writeDone();return Ne.unlink(q,(()=>N(E)))}writeDone();N()}))}))}))};if(Le){Le.push(runWrite)}else{Le=[];runWrite()}}))}))}}E.exports=HttpUriPlugin},22324:E=>{"use strict";class ArraySerializer{serialize(E,{write:N}){N(E.length);for(const R of E)N(R)}deserialize({read:E}){const N=E();const R=[];for(let j=0;j<N;j++){R.push(E())}return R}}E.exports=ArraySerializer},88692:(E,N,R)=>{"use strict";const j=R(91671);const $=R(43065);const q=11;const G=12;const ie=13;const ae=14;const ce=16;const le=17;const _e=18;const Ee=19;const Te=20;const we=21;const Ie=22;const Ne=23;const Me=24;const Le=30;const Be=31;const je=96;const Ue=64;const ze=32;const We=128;const Je=224;const Ve=31;const qe=127;const He=1;const Ge=1;const Ke=4;const Qe=8;const Xe=Symbol("MEASURE_START_OPERATION");const Ye=Symbol("MEASURE_END_OPERATION");const identifyNumber=E=>{if(E===(E|0)){if(E<=127&&E>=-128)return 0;if(E<=2147483647&&E>=-2147483648)return 1}return 2};class BinaryMiddleware extends ${serialize(E,N){return this._serialize(E,N)}_serializeLazy(E,N){return $.serializeLazy(E,(E=>this._serialize(E,N)))}_serialize(E,N,R={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let j=null;let Je=[];let Ve=R?R.leftOverBuffer:null;R.leftOverBuffer=null;let qe=0;if(Ve===null){Ve=Buffer.allocUnsafe(R.allocationSize)}const allocate=E=>{if(Ve!==null){if(Ve.length-qe>=E)return;flush()}if(j&&j.length>=E){Ve=j;j=null}else{Ve=Buffer.allocUnsafe(Math.max(E,R.allocationSize));if(!(R.increaseCounter=(R.increaseCounter+1)%4)&&R.allocationSize<16777216){R.allocationSize=R.allocationSize<<1}}};const flush=()=>{if(Ve!==null){if(qe>0){Je.push(Buffer.from(Ve.buffer,Ve.byteOffset,qe))}if(!j||j.length<Ve.length-qe){j=Buffer.from(Ve.buffer,Ve.byteOffset+qe,Ve.byteLength-qe)}Ve=null;qe=0}};const writeU8=E=>{Ve.writeUInt8(E,qe++)};const writeU32=E=>{Ve.writeUInt32LE(E,qe);qe+=4};const Ze=[];const measureStart=()=>{Ze.push(Je.length,qe)};const measureEnd=()=>{const E=Ze.pop();const N=Ze.pop();let R=qe-E;for(let E=N;E<Je.length;E++){R+=Je[E].length}return R};for(let Ze=0;Ze<E.length;Ze++){const et=E[Ze];switch(typeof et){case"function":{if(!$.isLazy(et))throw new Error("Unexpected function "+et);let E=$.getLazySerializedValue(et);if(E===undefined){if($.isLazy(et,this)){flush();R.leftOverBuffer=j;const q=et();const G=this._serialize(q,N,R);j=R.leftOverBuffer;R.leftOverBuffer=null;$.setLazySerializedValue(et,G);E=G}else{E=this._serializeLazy(et,N);flush();Je.push(E);break}}else{if(typeof E==="function"){flush();Je.push(E);break}}const G=[];for(const N of E){let E;if(typeof N==="function"){G.push(0)}else if(N.length===0){}else if(G.length>0&&(E=G[G.length-1])!==0){const R=4294967295-E;if(R>=N.length){G[G.length-1]+=N.length}else{G.push(N.length-R);G[G.length-2]=4294967295}}else{G.push(N.length)}}allocate(5+G.length*4);writeU8(q);writeU32(G.length);for(const E of G){writeU32(E)}flush();for(const N of E){Je.push(N)}break}case"string":{const E=Buffer.byteLength(et);if(E>=128||E!==et.length){allocate(E+He+Ke);writeU8(Le);writeU32(E);Ve.write(et,qe);qe+=E}else if(E>=70){allocate(E+He);writeU8(We|E);Ve.write(et,qe,"latin1");qe+=E}else{allocate(E+He);writeU8(We|E);for(let N=0;N<E;N++){Ve[qe++]=et.charCodeAt(N)}}break}case"number":{const N=identifyNumber(et);if(N===0&&et>=0&&et<=10){allocate(Ge);writeU8(et);break}let R=1;for(;R<32&&Ze+R<E.length;R++){const j=E[Ze+R];if(typeof j!=="number")break;if(identifyNumber(j)!==N)break}switch(N){case 0:allocate(He+Ge*R);writeU8(je|R-1);while(R>0){Ve.writeInt8(E[Ze],qe);qe+=Ge;R--;Ze++}break;case 1:allocate(He+Ke*R);writeU8(Ue|R-1);while(R>0){Ve.writeInt32LE(E[Ze],qe);qe+=Ke;R--;Ze++}break;case 2:allocate(He+Qe*R);writeU8(ze|R-1);while(R>0){Ve.writeDoubleLE(E[Ze],qe);qe+=Qe;R--;Ze++}break}Ze--;break}case"boolean":{let N=et===true?1:0;const R=[];let j=1;let $;for($=1;$<4294967295&&Ze+$<E.length;$++){const q=E[Ze+$];if(typeof q!=="boolean")break;const G=j&7;if(G===0){R.push(N);N=q===true?1:0}else if(q===true){N|=1<<G}j++}Ze+=j-1;if(j===1){allocate(He);writeU8(N===1?G:ie)}else if(j===2){allocate(He*2);writeU8(N&1?G:ie);writeU8(N&2?G:ie)}else if(j<=6){allocate(He+Ge);writeU8(ae);writeU8(1<<j|N)}else if(j<=133){allocate(He+Ge+Ge*R.length+Ge);writeU8(ae);writeU8(128|j-7);for(const E of R)writeU8(E);writeU8(N)}else{allocate(He+Ge+Ke+Ge*R.length+Ge);writeU8(ae);writeU8(255);writeU32(j);for(const E of R)writeU8(E);writeU8(N)}break}case"object":{if(et===null){let N;for(N=1;N<4294967556&&Ze+N<E.length;N++){const R=E[Ze+N];if(R!==null)break}Ze+=N-1;if(N===1){if(Ze+1<E.length){const N=E[Ze+1];if(N===true){allocate(He);writeU8(Ne);Ze++}else if(N===false){allocate(He);writeU8(Me);Ze++}else if(typeof N==="number"){const E=identifyNumber(N);if(E===0){allocate(He+Ge);writeU8(we);Ve.writeInt8(N,qe);qe+=Ge;Ze++}else if(E===1){allocate(He+Ke);writeU8(Ie);Ve.writeInt32LE(N,qe);qe+=Ke;Ze++}else{allocate(He);writeU8(ce)}}else{allocate(He);writeU8(ce)}}else{allocate(He);writeU8(ce)}}else if(N===2){allocate(He);writeU8(le)}else if(N===3){allocate(He);writeU8(_e)}else if(N<260){allocate(He+Ge);writeU8(Ee);writeU8(N-4)}else{allocate(He+Ke);writeU8(Te);writeU32(N-260)}}else if(Buffer.isBuffer(et)){if(et.length<8192){allocate(He+Ke+et.length);writeU8(Be);writeU32(et.length);et.copy(Ve,qe);qe+=et.length}else{allocate(He+Ke);writeU8(Be);writeU32(et.length);flush();Je.push(et)}}break}case"symbol":{if(et===Xe){measureStart()}else if(et===Ye){const E=measureEnd();allocate(He+Ke);writeU8(Ue);Ve.writeInt32LE(E,qe);qe+=Ke}break}}}flush();R.leftOverBuffer=j;Ve=null;j=null;R=undefined;const et=Je;Je=undefined;return et}deserialize(E,N){return this._deserialize(E,N)}_createLazyDeserialized(E,N){return $.createLazy(j((()=>this._deserialize(E,N))),this,undefined,E)}_deserializeLazy(E,N){return $.deserializeLazy(E,(E=>this._deserialize(E,N)))}_deserialize(E,N){let R=0;let j=E[0];let $=Buffer.isBuffer(j);let He=0;const Xe=N.retainedBuffer||(E=>E);const checkOverflow=()=>{if(He>=j.length){He=0;R++;j=R<E.length?E[R]:null;$=Buffer.isBuffer(j)}};const isInCurrentBuffer=E=>$&&E+He<=j.length;const ensureBuffer=()=>{if(!$){throw new Error(j===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=N=>{ensureBuffer();const q=j.length-He;if(q<N){const G=[read(q)];N-=q;ensureBuffer();while(j.length<N){const q=j;G.push(q);N-=q.length;R++;j=R<E.length?E[R]:null;$=Buffer.isBuffer(j);ensureBuffer()}G.push(read(N));return Buffer.concat(G)}const G=j;const ie=Buffer.from(G.buffer,G.byteOffset+He,N);He+=N;checkOverflow();return ie};const readUpTo=E=>{ensureBuffer();const N=j.length-He;if(N<E){E=N}const R=j;const $=Buffer.from(R.buffer,R.byteOffset+He,E);He+=E;checkOverflow();return $};const readU8=()=>{ensureBuffer();const E=j.readUInt8(He);He+=Ge;checkOverflow();return E};const readU32=()=>read(Ke).readUInt32LE(0);const readBits=(E,N)=>{let R=1;while(N!==0){Ze.push((E&R)!==0);R=R<<1;N--}};const Ye=Array.from({length:256}).map(((Ye,et)=>{switch(et){case q:return()=>{const q=readU32();const G=Array.from({length:q}).map((()=>readU32()));const ie=[];for(let N of G){if(N===0){if(typeof j!=="function"){throw new Error("Unexpected non-lazy element in stream")}ie.push(j);R++;j=R<E.length?E[R]:null;$=Buffer.isBuffer(j)}else{do{const E=readUpTo(N);N-=E.length;ie.push(Xe(E))}while(N>0)}}Ze.push(this._createLazyDeserialized(ie,N))};case Be:return()=>{const E=readU32();Ze.push(Xe(read(E)))};case G:return()=>Ze.push(true);case ie:return()=>Ze.push(false);case _e:return()=>Ze.push(null,null,null);case le:return()=>Ze.push(null,null);case ce:return()=>Ze.push(null);case Ne:return()=>Ze.push(null,true);case Me:return()=>Ze.push(null,false);case we:return()=>{if($){Ze.push(null,j.readInt8(He));He+=Ge;checkOverflow()}else{Ze.push(null,read(Ge).readInt8(0))}};case Ie:return()=>{Ze.push(null);if(isInCurrentBuffer(Ke)){Ze.push(j.readInt32LE(He));He+=Ke;checkOverflow()}else{Ze.push(read(Ke).readInt32LE(0))}};case Ee:return()=>{const E=readU8()+4;for(let N=0;N<E;N++){Ze.push(null)}};case Te:return()=>{const E=readU32()+260;for(let N=0;N<E;N++){Ze.push(null)}};case ae:return()=>{const E=readU8();if((E&240)===0){readBits(E,3)}else if((E&224)===0){readBits(E,4)}else if((E&192)===0){readBits(E,5)}else if((E&128)===0){readBits(E,6)}else if(E!==255){let N=(E&127)+7;while(N>8){readBits(readU8(),8);N-=8}readBits(readU8(),N)}else{let E=readU32();while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}};case Le:return()=>{const E=readU32();if(isInCurrentBuffer(E)&&He+E<2147483647){Ze.push(j.toString(undefined,He,He+E));He+=E;checkOverflow()}else{Ze.push(read(E).toString())}};case We:return()=>Ze.push("");case We|1:return()=>{if($&&He<2147483646){Ze.push(j.toString("latin1",He,He+1));He++;checkOverflow()}else{Ze.push(read(1).toString("latin1"))}};case je:return()=>{if($){Ze.push(j.readInt8(He));He++;checkOverflow()}else{Ze.push(read(1).readInt8(0))}};default:if(et<=10){return()=>Ze.push(et)}else if((et&We)===We){const E=et&qe;return()=>{if(isInCurrentBuffer(E)&&He+E<2147483647){Ze.push(j.toString("latin1",He,He+E));He+=E;checkOverflow()}else{Ze.push(read(E).toString("latin1"))}}}else if((et&Je)===ze){const E=(et&Ve)+1;return()=>{const N=Qe*E;if(isInCurrentBuffer(N)){for(let N=0;N<E;N++){Ze.push(j.readDoubleLE(He));He+=Qe}checkOverflow()}else{const R=read(N);for(let N=0;N<E;N++){Ze.push(R.readDoubleLE(N*Qe))}}}}else if((et&Je)===Ue){const E=(et&Ve)+1;return()=>{const N=Ke*E;if(isInCurrentBuffer(N)){for(let N=0;N<E;N++){Ze.push(j.readInt32LE(He));He+=Ke}checkOverflow()}else{const R=read(N);for(let N=0;N<E;N++){Ze.push(R.readInt32LE(N*Ke))}}}}else if((et&Je)===je){const E=(et&Ve)+1;return()=>{const N=Ge*E;if(isInCurrentBuffer(N)){for(let N=0;N<E;N++){Ze.push(j.readInt8(He));He+=Ge}checkOverflow()}else{const R=read(N);for(let N=0;N<E;N++){Ze.push(R.readInt8(N*Ge))}}}}else{return()=>{throw new Error(`Unexpected header byte 0x${et.toString(16)}`)}}}}));let Ze=[];while(j!==null){if(typeof j==="function"){Ze.push(this._deserializeLazy(j,N));R++;j=R<E.length?E[R]:null;$=Buffer.isBuffer(j)}else{const E=readU8();Ye[E]()}}let et=Ze;Ze=undefined;return et}}E.exports=BinaryMiddleware;E.exports.MEASURE_START_OPERATION=Xe;E.exports.MEASURE_END_OPERATION=Ye},93524:E=>{"use strict";class DateObjectSerializer{serialize(E,{write:N}){N(E.getTime())}deserialize({read:E}){return new Date(E())}}E.exports=DateObjectSerializer},12020:E=>{"use strict";class ErrorObjectSerializer{constructor(E){this.Type=E}serialize(E,{write:N}){N(E.message);N(E.stack)}deserialize({read:E}){const N=new this.Type;N.message=E();N.stack=E();return N}}E.exports=ErrorObjectSerializer},13829:(E,N,R)=>{"use strict";const{constants:j}=R(14300);const{pipeline:$}=R(12781);const{createBrotliCompress:q,createBrotliDecompress:G,createGzip:ie,createGunzip:ae,constants:ce}=R(59796);const le=R(35891);const{dirname:_e,join:Ee,mkdirp:Te}=R(95396);const we=R(91671);const Ie=R(43065);const Ne=23294071;const hashForName=(E,N)=>{const R=le(N);for(const N of E)R.update(N);return R.digest("hex")};const Me=100*1024*1024;const Le=100*1024*1024;const Be=Buffer.prototype.writeBigUInt64LE?(E,N,R)=>{E.writeBigUInt64LE(BigInt(N),R)}:(E,N,R)=>{const j=N%4294967296;const $=(N-j)/4294967296;E.writeUInt32LE(j,R);E.writeUInt32LE($,R+4)};const je=Buffer.prototype.readBigUInt64LE?(E,N)=>Number(E.readBigUInt64LE(N)):(E,N)=>{const R=E.readUInt32LE(N);const j=E.readUInt32LE(N+4);return j*4294967296+R};const serialize=async(E,N,R,j,$="md4")=>{const q=[];const G=new WeakMap;let ie=undefined;for(const R of await N){if(typeof R==="function"){if(!Ie.isLazy(R))throw new Error("Unexpected function");if(!Ie.isLazy(R,E)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}ie=undefined;const N=Ie.getLazySerializedValue(R);if(N){if(typeof N==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{q.push(N)}}else{const N=R();if(N){const ie=Ie.getLazyOptions(R);q.push(serialize(E,N,ie&&ie.name||true,j,$).then((E=>{R.options.size=E.size;G.set(E,R);return E})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(R){if(ie){ie.push(R)}else{ie=[R];q.push(ie)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const ce=(await Promise.all(q)).map((E=>{if(Array.isArray(E)||Buffer.isBuffer(E))return E;ae.push(E.backgroundJob);const N=E.name;const R=Buffer.from(N);const j=Buffer.allocUnsafe(8+R.length);Be(j,E.size,0);R.copy(j,8,0);const $=G.get(E);Ie.setLazySerializedValue($,j);return j}));const le=[];for(const E of ce){if(Array.isArray(E)){let N=0;for(const R of E)N+=R.length;while(N>2147483647){le.push(2147483647);N-=2147483647}le.push(N)}else if(E){le.push(-E.length)}else{throw new Error("Unexpected falsy value in resolved data "+E)}}const _e=Buffer.allocUnsafe(8+le.length*4);_e.writeUInt32LE(Ne,0);_e.writeUInt32LE(le.length,4);for(let E=0;E<le.length;E++){_e.writeInt32LE(le[E],8+E*4)}const Ee=[_e];for(const E of ce){if(Array.isArray(E)){for(const N of E)Ee.push(N)}else if(E){Ee.push(E)}}if(R===true){R=hashForName(Ee,$)}ae.push(j(R,Ee));let Te=0;for(const E of Ee)Te+=E.length;return{size:Te,name:R,backgroundJob:ae.length===1?ae[0]:Promise.all(ae)}};const deserialize=async(E,N,R)=>{const j=await R(N);if(j.length===0)throw new Error("Empty file "+N);let $=0;let q=j[0];let G=q.length;let ie=0;if(G===0)throw new Error("Empty file "+N);const nextContent=()=>{$++;q=j[$];G=q.length;ie=0};const ensureData=E=>{if(ie===G){nextContent()}while(G-ie<E){const N=q.slice(ie);let R=E-N.length;const ae=[N];for(let E=$+1;E<j.length;E++){const N=j[E].length;if(N>R){ae.push(j[E].slice(0,R));j[E]=j[E].slice(R);R=0;break}else{ae.push(j[E]);$=E;R-=N}}if(R>0)throw new Error("Unexpected end of data");q=Buffer.concat(ae,E);G=E;ie=0}};const readUInt32LE=()=>{ensureData(4);const E=q.readUInt32LE(ie);ie+=4;return E};const readInt32LE=()=>{ensureData(4);const E=q.readInt32LE(ie);ie+=4;return E};const readSlice=E=>{ensureData(E);if(ie===0&&G===E){const N=q;if($+1<j.length){nextContent()}else{ie=E}return N}const N=q.slice(ie,ie+E);ie+=E;return E*2<q.buffer.byteLength?Buffer.from(N):N};const ae=readUInt32LE();if(ae!==Ne){throw new Error("Invalid file version")}const ce=readUInt32LE();const le=[];let _e=false;for(let E=0;E<ce;E++){const E=readInt32LE();const N=E>=0;if(_e&&N){le[le.length-1]+=E}else{le.push(E);_e=N}}const Ee=[];for(let N of le){if(N<0){const j=readSlice(-N);const $=Number(je(j,0));const q=j.slice(8);const G=q.toString();Ee.push(Ie.createLazy(we((()=>deserialize(E,G,R))),E,{name:G,size:$},j))}else{if(ie===G){nextContent()}else if(ie!==0){if(N<=G-ie){Ee.push(Buffer.from(q.buffer,q.byteOffset+ie,N));ie+=N;N=0}else{const E=G-ie;Ee.push(Buffer.from(q.buffer,q.byteOffset+ie,E));N-=E;ie=G}}else{if(N>=G){Ee.push(q);N-=G;ie=G}else{Ee.push(Buffer.from(q.buffer,q.byteOffset,N));ie+=N;N=0}}while(N>0){nextContent();if(N>=G){Ee.push(q);N-=G;ie=G}else{Ee.push(Buffer.from(q.buffer,q.byteOffset,N));ie+=N;N=0}}}}return Ee};class FileMiddleware extends Ie{constructor(E,N="md4"){super();this.fs=E;this._hashFunction=N}serialize(E,N){const{filename:R,extension:j=""}=N;return new Promise(((N,G)=>{Te(this.fs,_e(this.fs,R),(ae=>{if(ae)return G(ae);const le=new Set;const writeFile=async(E,N)=>{const G=E?Ee(this.fs,R,`../${E}${j}`):R;await new Promise(((E,R)=>{let j=this.fs.createWriteStream(G+"_");let ae;if(G.endsWith(".gz")){ae=ie({chunkSize:Me,level:ce.Z_BEST_SPEED})}else if(G.endsWith(".br")){ae=q({chunkSize:Me,params:{[ce.BROTLI_PARAM_MODE]:ce.BROTLI_MODE_TEXT,[ce.BROTLI_PARAM_QUALITY]:2,[ce.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[ce.BROTLI_PARAM_SIZE_HINT]:N.reduce(((E,N)=>E+N.length),0)}})}if(ae){$(ae,j,R);j=ae;j.on("finish",(()=>E()))}else{j.on("error",(E=>R(E)));j.on("finish",(()=>E()))}for(const E of N)j.write(E);j.end()}));if(E)le.add(G)};N(serialize(this,E,false,writeFile,this._hashFunction).then((async({backgroundJob:E})=>{await E;await new Promise((E=>this.fs.rename(R,R+".old",(N=>{E()}))));await Promise.all(Array.from(le,(E=>new Promise(((N,R)=>{this.fs.rename(E+"_",E,(E=>{if(E)return R(E);N()}))})))));await new Promise((E=>{this.fs.rename(R+"_",R,(N=>{if(N)return G(N);E()}))}));return true})))}))}))}deserialize(E,N){const{filename:R,extension:$=""}=N;const readFile=E=>new Promise(((N,q)=>{const ie=E?Ee(this.fs,R,`../${E}${$}`):R;this.fs.stat(ie,((E,R)=>{if(E){q(E);return}let $=R.size;let ce;let le;const _e=[];let Ee;if(ie.endsWith(".gz")){Ee=ae({chunkSize:Le})}else if(ie.endsWith(".br")){Ee=G({chunkSize:Le})}if(Ee){let E,R;N(Promise.all([new Promise(((N,j)=>{E=N;R=j})),new Promise(((E,N)=>{Ee.on("data",(E=>_e.push(E)));Ee.on("end",(()=>E()));Ee.on("error",(E=>N(E)))}))]).then((()=>_e)));N=E;q=R}this.fs.open(ie,"r",((E,R)=>{if(E){q(E);return}const read=()=>{if(ce===undefined){ce=Buffer.allocUnsafeSlow(Math.min(j.MAX_LENGTH,$,Ee?Le:Infinity));le=0}let E=ce;let G=le;let ie=ce.length-le;if(G>2147483647){E=ce.slice(G);G=0}if(ie>2147483647){ie=2147483647}this.fs.read(R,E,G,ie,null,((E,j)=>{if(E){this.fs.close(R,(()=>{q(E)}));return}le+=j;$-=j;if(le===ce.length){if(Ee){Ee.write(ce)}else{_e.push(ce)}ce=undefined;if($===0){if(Ee){Ee.end()}this.fs.close(R,(E=>{if(E){q(E);return}N(_e)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}E.exports=FileMiddleware},58461:E=>{"use strict";class MapObjectSerializer{serialize(E,{write:N}){N(E.size);for(const R of E.keys()){N(R)}for(const R of E.values()){N(R)}}deserialize({read:E}){let N=E();const R=new Map;const j=[];for(let R=0;R<N;R++){j.push(E())}for(let $=0;$<N;$++){R.set(j[$],E())}return R}}E.exports=MapObjectSerializer},78176:E=>{"use strict";class NullPrototypeObjectSerializer{serialize(E,{write:N}){const R=Object.keys(E);for(const E of R){N(E)}N(null);for(const j of R){N(E[j])}}deserialize({read:E}){const N=Object.create(null);const R=[];let j=E();while(j!==null){R.push(j);j=E()}for(const j of R){N[j]=E()}return N}}E.exports=NullPrototypeObjectSerializer},30991:(E,N,R)=>{"use strict";const j=R(35891);const $=R(22324);const q=R(93524);const G=R(12020);const ie=R(58461);const ae=R(78176);const ce=R(11900);const le=R(46690);const _e=R(43065);const Ee=R(25402);const setSetSize=(E,N)=>{let R=0;for(const j of E){if(R++>=N){E.delete(j)}}};const setMapSize=(E,N)=>{let R=0;for(const j of E.keys()){if(R++>=N){E.delete(j)}}};const toHash=(E,N)=>{const R=j(N);R.update(E);return R.digest("latin1")};const Te=null;const we=null;const Ie=true;const Ne=false;const Me=2;const Le=new Map;const Be=new Map;const je=new Set;const Ue={};const ze=new Map;ze.set(Object,new ce);ze.set(Array,new $);ze.set(null,new ae);ze.set(Map,new ie);ze.set(Set,new Ee);ze.set(Date,new q);ze.set(RegExp,new le);ze.set(Error,new G(Error));ze.set(EvalError,new G(EvalError));ze.set(RangeError,new G(RangeError));ze.set(ReferenceError,new G(ReferenceError));ze.set(SyntaxError,new G(SyntaxError));ze.set(TypeError,new G(TypeError));if(N.constructor!==Object){const E=N.constructor;const R=E.constructor;for(const[E,N]of Array.from(ze)){if(E){const j=new R(`return ${E.name};`)();ze.set(j,N)}}}{let E=1;for(const[N,R]of ze){Le.set(N,{request:"",name:E++,serializer:R})}}for(const{request:E,name:N,serializer:R}of Le.values()){Be.set(`${E}/${N}`,R)}const We=new Map;class ObjectMiddleware extends _e{constructor(E,N="md4"){super();this.extendContext=E;this._hashFunction=N}static registerLoader(E,N){We.set(E,N)}static register(E,N,R,j){const $=N+"/"+R;if(Le.has(E)){throw new Error(`ObjectMiddleware.register: serializer for ${E.name} is already registered`)}if(Be.has($)){throw new Error(`ObjectMiddleware.register: serializer for ${$} is already registered`)}Le.set(E,{request:N,name:R,serializer:j});Be.set($,j)}static registerNotSerializable(E){if(Le.has(E)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${E.name} is already registered`)}Le.set(E,Ue)}static getSerializerFor(E){const N=Object.getPrototypeOf(E);let R;if(N===null){R=null}else{R=N.constructor;if(!R){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const j=Le.get(R);if(!j)throw new Error(`No serializer registered for ${R.name}`);if(j===Ue)throw Ue;return j}static getDeserializerFor(E,N){const R=E+"/"+N;const j=Be.get(R);if(j===undefined){throw new Error(`No deserializer registered for ${R}`)}return j}static _getDeserializerForWithoutError(E,N){const R=E+"/"+N;const j=Be.get(R);return j}serialize(E,N){let R=[Me];let j=0;let $=new Map;const addReferenceable=E=>{$.set(E,j++)};let q=new Map;const dedupeBuffer=E=>{const N=E.length;const R=q.get(N);if(R===undefined){q.set(N,E);return E}if(Buffer.isBuffer(R)){if(N<32){if(E.equals(R)){return R}q.set(N,[R,E]);return E}else{const j=toHash(R,this._hashFunction);const $=new Map;$.set(j,R);q.set(N,$);const G=toHash(E,this._hashFunction);if(j===G){return R}return E}}else if(Array.isArray(R)){if(R.length<16){for(const N of R){if(E.equals(N)){return N}}R.push(E);return E}else{const j=new Map;const $=toHash(E,this._hashFunction);let G;for(const E of R){const N=toHash(E,this._hashFunction);j.set(N,E);if(G===undefined&&N===$)G=E}q.set(N,j);if(G===undefined){j.set($,E);return E}else{return G}}}else{const N=toHash(E,this._hashFunction);const j=R.get(N);if(j!==undefined){return j}R.set(N,E);return E}};let G=0;let ie=new Map;const ae=new Set;const stackToString=E=>{const N=Array.from(ae);N.push(E);return N.map((E=>{if(typeof E==="string"){if(E.length>100){return`String ${JSON.stringify(E.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(E)}`}try{const{request:N,name:R}=ObjectMiddleware.getSerializerFor(E);if(N){return`${N}${R?`.${R}`:""}`}}catch(E){}if(typeof E==="object"&&E!==null){if(E.constructor){if(E.constructor===Object)return`Object { ${Object.keys(E).join(", ")} }`;if(E.constructor===Map)return`Map { ${E.size} items }`;if(E.constructor===Array)return`Array { ${E.length} items }`;if(E.constructor===Set)return`Set { ${E.size} items }`;if(E.constructor===RegExp)return E.toString();return`${E.constructor.name}`}return`Object [null prototype] { ${Object.keys(E).join(", ")} }`}try{return`${E}`}catch(E){return`(${E.message})`}})).join(" -> ")};let ce;let le={write(E,N){try{process(E)}catch(N){if(N!==Ue){if(ce===undefined)ce=new WeakSet;if(!ce.has(N)){N.message+=`\nwhile serializing ${stackToString(E)}`;ce.add(N)}}throw N}},setCircularReference(E){addReferenceable(E)},snapshot(){return{length:R.length,cycleStackSize:ae.size,referenceableSize:$.size,currentPos:j,objectTypeLookupSize:ie.size,currentPosTypeLookup:G}},rollback(E){R.length=E.length;setSetSize(ae,E.cycleStackSize);setMapSize($,E.referenceableSize);j=E.currentPos;setMapSize(ie,E.objectTypeLookupSize);G=E.currentPosTypeLookup},...N};this.extendContext(le);const process=E=>{if(Buffer.isBuffer(E)){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}const q=dedupeBuffer(E);if(q!==E){const N=$.get(q);if(N!==undefined){$.set(E,N);R.push(Te,N-j);return}E=q}addReferenceable(E);R.push(E)}else if(E===Te){R.push(Te,we)}else if(typeof E==="object"){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}if(ae.has(E)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:q,name:ce,serializer:_e}=ObjectMiddleware.getSerializerFor(E);const Ee=`${q}/${ce}`;const we=ie.get(Ee);if(we===undefined){ie.set(Ee,G++);R.push(Te,q,ce)}else{R.push(Te,G-we)}ae.add(E);try{_e.serialize(E,le)}finally{ae.delete(E)}R.push(Te,Ie);addReferenceable(E)}else if(typeof E==="string"){if(E.length>1){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}addReferenceable(E)}if(E.length>102400&&N.logger){N.logger.warn(`Serializing big strings (${Math.round(E.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}R.push(E)}else if(typeof E==="function"){if(!_e.isLazy(E))throw new Error("Unexpected function "+E);const j=_e.getLazySerializedValue(E);if(j!==undefined){if(typeof j==="function"){R.push(j)}else{throw new Error("Not implemented")}}else if(_e.isLazy(E,this)){throw new Error("Not implemented")}else{const j=_e.serializeLazy(E,(E=>this.serialize([E],N)));_e.setLazySerializedValue(E,j);R.push(j)}}else if(E===undefined){R.push(Te,Ne)}else{R.push(E)}};try{for(const N of E){process(N)}return R}catch(E){if(E===Ue)return null;throw E}finally{E=R=$=q=ie=le=undefined}}deserialize(E,N){let R=0;const read=()=>{if(R>=E.length)throw new Error("Unexpected end of stream");return E[R++]};if(read()!==Me)throw new Error("Version mismatch, serializer changed");let j=0;let $=[];const addReferenceable=E=>{$.push(E);j++};let q=0;let G=[];let ie=[];let ae={read(){return decodeValue()},setCircularReference(E){addReferenceable(E)},...N};this.extendContext(ae);const decodeValue=()=>{const E=read();if(E===Te){const E=read();if(E===we){return Te}else if(E===Ne){return undefined}else if(E===Ie){throw new Error(`Unexpected end of object at position ${R-1}`)}else{const N=E;let ie;if(typeof N==="number"){if(N<0){return $[j+N]}ie=G[q-N]}else{if(typeof N!=="string"){throw new Error(`Unexpected type (${typeof N}) of request `+`at position ${R-1}`)}const E=read();ie=ObjectMiddleware._getDeserializerForWithoutError(N,E);if(ie===undefined){if(N&&!je.has(N)){let E=false;for(const[R,j]of We){if(R.test(N)){if(j(N)){E=true;break}}}if(!E){require(N)}je.add(N)}ie=ObjectMiddleware.getDeserializerFor(N,E)}G.push(ie);q++}try{const E=ie.deserialize(ae);const N=read();if(N!==Te){throw new Error("Expected end of object")}const R=read();if(R!==Ie){throw new Error("Expected end of object")}addReferenceable(E);return E}catch(E){let N;for(const E of Le){if(E[1].serializer===ie){N=E;break}}const R=!N?"unknown":!N[1].request?N[0].name:N[1].name?`${N[1].request} ${N[1].name}`:N[1].request;E.message+=`\n(during deserialization of ${R})`;throw E}}}else if(typeof E==="string"){if(E.length>1){addReferenceable(E)}return E}else if(Buffer.isBuffer(E)){addReferenceable(E);return E}else if(typeof E==="function"){return _e.deserializeLazy(E,(E=>this.deserialize(E,N)[0]))}else{return E}};try{while(R<E.length){ie.push(decodeValue())}return ie}finally{ie=$=E=G=ae=undefined}}}E.exports=ObjectMiddleware;E.exports.NOT_SERIALIZABLE=Ue},11900:E=>{"use strict";const N=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(E){if(this.keys===undefined)this.keys=E;return this.keys}key(E){if(this.children===undefined)this.children=new Map;const N=this.children.get(E);if(N!==undefined)return N;const R=new ObjectStructure;this.children.set(E,R);return R}}const getCachedKeys=(E,R)=>{let j=N.get(R);if(j===undefined){j=new ObjectStructure;N.set(R,j)}let $=j;for(const N of E){$=$.key(N)}return $.getKeys(E)};class PlainObjectSerializer{serialize(E,{write:N}){const R=Object.keys(E);if(R.length>128){N(R);for(const j of R){N(E[j])}}else if(R.length>1){N(getCachedKeys(R,N));for(const j of R){N(E[j])}}else if(R.length===1){const j=R[0];N(j);N(E[j])}else{N(null)}}deserialize({read:E}){const N=E();const R={};if(Array.isArray(N)){for(const j of N){R[j]=E()}}else if(N!==null){R[N]=E()}return R}}E.exports=PlainObjectSerializer},46690:E=>{"use strict";class RegExpObjectSerializer{serialize(E,{write:N}){N(E.source);N(E.flags)}deserialize({read:E}){return new RegExp(E(),E())}}E.exports=RegExpObjectSerializer},15261:E=>{"use strict";class Serializer{constructor(E,N){this.serializeMiddlewares=E.slice();this.deserializeMiddlewares=E.slice().reverse();this.context=N}serialize(E,N){const R={...N,...this.context};let j=E;for(const E of this.serializeMiddlewares){if(j&&typeof j.then==="function"){j=j.then((N=>N&&E.serialize(N,R)))}else if(j){try{j=E.serialize(j,R)}catch(E){j=Promise.reject(E)}}else break}return j}deserialize(E,N){const R={...N,...this.context};let j=E;for(const E of this.deserializeMiddlewares){if(j&&typeof j.then==="function"){j=j.then((N=>E.deserialize(N,R)))}else{j=E.deserialize(j,R)}}return j}}E.exports=Serializer},43065:(E,N,R)=>{"use strict";const j=R(91671);const $=Symbol("lazy serialization target");const q=Symbol("lazy serialization data");class SerializerMiddleware{serialize(E,N){const j=R(75884);throw new j}deserialize(E,N){const j=R(75884);throw new j}static createLazy(E,N,R={},j){if(SerializerMiddleware.isLazy(E,N))return E;const G=typeof E==="function"?E:()=>E;G[$]=N;G.options=R;G[q]=j;return G}static isLazy(E,N){if(typeof E!=="function")return false;const R=E[$];return N?R===N:!!R}static getLazyOptions(E){if(typeof E!=="function")return undefined;return E.options}static getLazySerializedValue(E){if(typeof E!=="function")return undefined;return E[q]}static setLazySerializedValue(E,N){E[q]=N}static serializeLazy(E,N){const R=j((()=>{const R=E();if(R&&typeof R.then==="function"){return R.then((E=>E&&N(E)))}return N(R)}));R[$]=E[$];R.options=E.options;E[q]=R;return R}static deserializeLazy(E,N){const R=j((()=>{const R=E();if(R&&typeof R.then==="function"){return R.then((E=>N(E)))}return N(R)}));R[$]=E[$];R.options=E.options;R[q]=E;return R}static unMemoizeLazy(E){if(!SerializerMiddleware.isLazy(E))return E;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[q]=SerializerMiddleware.unMemoizeLazy(E[q]);fn[$]=E[$];fn.options=E.options;return fn}}E.exports=SerializerMiddleware},25402:E=>{"use strict";class SetObjectSerializer{serialize(E,{write:N}){N(E.size);for(const R of E){N(R)}}deserialize({read:E}){let N=E();const R=new Set;for(let j=0;j<N;j++){R.add(E())}return R}}E.exports=SetObjectSerializer},79308:(E,N,R)=>{"use strict";const j=R(43065);class SingleItemMiddleware extends j{serialize(E,N){return[E]}deserialize(E,N){return E[0]}}E.exports=SingleItemMiddleware},86827:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ConsumeSharedFallbackDependency extends j{constructor(E){super(E)}get type(){return"consume shared fallback"}get category(){return"esm"}}$(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");E.exports=ConsumeSharedFallbackDependency},21606:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(98221);const q=R(53453);const G=R(76150);const ie=R(56202);const{rangeToString:ae,stringifyHoley:ce}=R(9293);const le=R(86827);const _e=new Set(["consume-shared"]);class ConsumeSharedModule extends q{constructor(E,N){super("consume-shared-module",E);this.options=N}identifier(){const{shareKey:E,shareScope:N,importResolved:R,requiredVersion:j,strictVersion:$,singleton:q,eager:G}=this.options;return`consume-shared-module|${N}|${E}|${j&&ae(j)}|${$}|${R}|${q}|${G}`}readableIdentifier(E){const{shareKey:N,shareScope:R,importResolved:j,requiredVersion:$,strictVersion:q,singleton:G,eager:ie}=this.options;return`consume shared module (${R}) ${N}@${$?ae($):"*"}${q?" (strict)":""}${G?" (singleton)":""}${j?` (fallback: ${E.shorten(j)})`:""}${ie?" (eager)":""}`}libIdent(E){const{shareKey:N,shareScope:R,import:j}=this.options;return`webpack/sharing/consume/${R}/${N}${j?`/${j}`:""}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,q){this.buildMeta={};this.buildInfo={};if(this.options.import){const E=new le(this.options.import);if(this.options.eager){this.addDependency(E)}else{const N=new $({});N.addDependency(E);this.addBlock(N)}}q()}getSourceTypes(){return _e}size(E){return 42}updateHash(E,N){E.update(JSON.stringify(this.options));super.updateHash(E,N)}codeGeneration({chunkGraph:E,moduleGraph:N,runtimeTemplate:R}){const $=new Set([G.shareScopeMap]);const{shareScope:q,shareKey:ie,strictVersion:ae,requiredVersion:le,import:_e,singleton:Ee,eager:Te}=this.options;let we;if(_e){if(Te){const N=this.dependencies[0];we=R.syncModuleFactory({dependency:N,chunkGraph:E,runtimeRequirements:$,request:this.options.import})}else{const N=this.blocks[0];we=R.asyncModuleFactory({block:N,chunkGraph:E,runtimeRequirements:$,request:this.options.import})}}let Ie="load";const Ne=[JSON.stringify(q),JSON.stringify(ie)];if(le){if(ae){Ie+="Strict"}if(Ee){Ie+="Singleton"}Ne.push(ce(le));Ie+="VersionCheck"}if(we){Ie+="Fallback";Ne.push(we)}const Me=R.returningFunction(`${Ie}(${Ne.join(", ")})`);const Le=new Map;Le.set("consume-shared",new j(Me));return{runtimeRequirements:$,sources:Le}}serialize(E){const{write:N}=E;N(this.options);super.serialize(E)}deserialize(E){const{read:N}=E;this.options=N();super.deserialize(E)}}ie(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");E.exports=ConsumeSharedModule},71968:(E,N,R)=>{"use strict";const j=R(54032);const $=R(76150);const q=R(81627);const{parseOptions:G}=R(97264);const ie=R(83379);const ae=R(35817);const{parseRange:ce}=R(9293);const le=R(86827);const _e=R(21606);const Ee=R(20428);const Te=R(31095);const{resolveMatchedConfigs:we}=R(57870);const{isRequiredVersion:Ie,getDescriptionFile:Ne,getRequiredVersionFromDescriptionFile:Me}=R(37650);const Le=ae(R(37411),(()=>R(52021)),{name:"Consume Shared Plugin",baseDataPath:"options"});const Be={dependencyType:"esm"};const je="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(E){if(typeof E!=="string"){Le(E)}this._consumes=G(E.consumes,((N,R)=>{if(Array.isArray(N))throw new Error("Unexpected array in options");let j=N===R||!Ie(N)?{import:R,shareScope:E.shareScope||"default",shareKey:R,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:R,shareScope:E.shareScope||"default",shareKey:R,requiredVersion:ce(N),strictVersion:true,packageName:undefined,singleton:false,eager:false};return j}),((N,R)=>({import:N.import===false?undefined:N.import||R,shareScope:N.shareScope||E.shareScope||"default",shareKey:N.shareKey||R,requiredVersion:typeof N.requiredVersion==="string"?ce(N.requiredVersion):N.requiredVersion,strictVersion:typeof N.strictVersion==="boolean"?N.strictVersion:N.import!==false&&!N.singleton,packageName:N.packageName,singleton:!!N.singleton,eager:!!N.eager})))}apply(E){E.hooks.thisCompilation.tap(je,((N,{normalModuleFactory:R})=>{N.dependencyFactories.set(le,R);let G,ae,Ie;const Le=we(N,this._consumes).then((({resolved:E,unresolved:N,prefixed:R})=>{ae=E;G=N;Ie=R}));const Ue=N.resolverFactory.get("normal",Be);const createConsumeSharedModule=(R,$,G)=>{const requiredVersionWarning=E=>{const R=new q(`No required version specified and unable to automatically determine one. ${E}`);R.file=`shared module ${$}`;N.warnings.push(R)};const ae=G.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(G.import);return Promise.all([new Promise((q=>{if(!G.import)return q();const ce={fileDependencies:new ie,contextDependencies:new ie,missingDependencies:new ie};Ue.resolve({},ae?E.context:R,G.import,ce,((E,R)=>{N.contextDependencies.addAll(ce.contextDependencies);N.fileDependencies.addAll(ce.fileDependencies);N.missingDependencies.addAll(ce.missingDependencies);if(E){N.errors.push(new j(null,E,{name:`resolving fallback for shared module ${$}`}));return q()}q(R)}))})),new Promise((E=>{if(G.requiredVersion!==undefined)return E(G.requiredVersion);let j=G.packageName;if(j===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test($)){return E()}const N=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec($);if(!N){requiredVersionWarning("Unable to extract the package name from request.");return E()}j=N[0]}Ne(N.inputFileSystem,R,["package.json"],((N,$)=>{if(N){requiredVersionWarning(`Unable to read description file: ${N}`);return E()}const{data:q,path:G}=$;if(!q){requiredVersionWarning(`Unable to find description file in ${R}.`);return E()}const ie=Me(q,j);if(typeof ie!=="string"){requiredVersionWarning(`Unable to find required version for "${j}" in description file (${G}). It need to be in dependencies, devDependencies or peerDependencies.`);return E()}E(ce(ie))}))}))]).then((([N,j])=>new _e(ae?E.context:R,{...G,importResolved:N,import:N?G.import:undefined,requiredVersion:j})))};R.hooks.factorize.tapPromise(je,(({context:E,request:N,dependencies:R})=>Le.then((()=>{if(R[0]instanceof le||R[0]instanceof Te){return}const j=G.get(N);if(j!==undefined){return createConsumeSharedModule(E,N,j)}for(const[R,j]of Ie){if(N.startsWith(R)){const $=N.slice(R.length);return createConsumeSharedModule(E,N,{...j,import:j.import?j.import+$:undefined,shareKey:j.shareKey+$})}}}))));R.hooks.createModule.tapPromise(je,(({resource:E},{context:N,dependencies:R})=>{if(R[0]instanceof le||R[0]instanceof Te){return Promise.resolve()}const j=ae.get(E);if(j!==undefined){return createConsumeSharedModule(N,E,j)}return Promise.resolve()}));N.hooks.additionalTreeRuntimeRequirements.tap(je,((E,R)=>{R.add($.module);R.add($.moduleCache);R.add($.moduleFactoriesAddOnly);R.add($.shareScopeMap);R.add($.initializeSharing);R.add($.hasOwnProperty);N.addRuntimeModule(E,new Ee(R))}))}))}}E.exports=ConsumeSharedPlugin},20428:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{parseVersionRuntimeCode:G,versionLtRuntimeCode:ie,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:ce}=R(9293);class ConsumeSharedRuntimeModule extends ${constructor(E){super("consumes",$.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,codeGenerationResults:$}=E;const le={};const _e=new Map;const Ee=[];const addModules=(E,R,j)=>{for(const q of E){const E=q;const G=N.getModuleId(E);j.push(G);_e.set(G,$.getSource(E,R.runtime,"consume-shared"))}};for(const E of this.chunk.getAllAsyncChunks()){const R=N.getChunkModulesIterableBySourceType(E,"consume-shared");if(!R)continue;addModules(R,E,le[E.id]=[])}for(const E of this.chunk.getAllInitialChunks()){const R=N.getChunkModulesIterableBySourceType(E,"consume-shared");if(!R)continue;addModules(R,E,Ee)}if(_e.size===0)return null;return q.asString([G(R),ie(R),ae(R),ce(R),`var ensureExistence = ${R.basicFunction("scopeName, key",[`var scope = ${j.shareScopeMap}[scopeName];`,`if(!scope || !${j.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${R.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${R.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${R.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${R.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${R.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${R.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${R.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${R.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${R.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${R.returningFunction(q.asString(["function(scopeName, a, b, c) {",q.indent([`var promise = ${j.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${j.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${j.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, fallback",[`return scope && ${j.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${j.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",q.indent(Array.from(_e,(([E,N])=>`${JSON.stringify(E)}: ${N.source()}`)).join(",\n")),"};",Ee.length>0?q.asString([`var initialConsumes = ${JSON.stringify(Ee)};`,`initialConsumes.forEach(${R.basicFunction("id",[`${j.moduleFactories}[id] = ${R.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${j.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has(j.ensureChunkHandlers)?q.asString([`var chunkMapping = ${JSON.stringify(le,null,"\t")};`,`${j.ensureChunkHandlers}.consumes = ${R.basicFunction("chunkId, promises",[`if(${j.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${R.basicFunction("id",[`if(${j.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${R.basicFunction("factory",["installedModules[id] = 0;",`${j.moduleFactories}[id] = ${R.basicFunction("module",[`delete ${j.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${R.basicFunction("error",["delete installedModules[id];",`${j.moduleFactories}[id] = ${R.basicFunction("module",[`delete ${j.moduleCache}[id];`,"throw error;"])}`])};`,"try {",q.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",q.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}E.exports=ConsumeSharedRuntimeModule},31095:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ProvideForSharedDependency extends j{constructor(E){super(E)}get type(){return"provide module for shared"}get category(){return"esm"}}$(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");E.exports=ProvideForSharedDependency},56049:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class ProvideSharedDependency extends j{constructor(E,N,R,j,$){super();this.shareScope=E;this.name=N;this.version=R;this.request=j;this.eager=$}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(E){E.write(this.shareScope);E.write(this.name);E.write(this.request);E.write(this.version);E.write(this.eager);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ProvideSharedDependency(N(),N(),N(),N(),N());this.shareScope=E.read();R.deserialize(E);return R}}$(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");E.exports=ProvideSharedDependency},99114:(E,N,R)=>{"use strict";const j=R(98221);const $=R(53453);const q=R(76150);const G=R(56202);const ie=R(31095);const ae=new Set(["share-init"]);class ProvideSharedModule extends ${constructor(E,N,R,j,$){super("provide-module");this._shareScope=E;this._name=N;this._version=R;this._request=j;this._eager=$}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(E){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${E.shorten(this._request)}`}libIdent(E){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,$,q){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const G=new ie(this._request);if(this._eager){this.addDependency(G)}else{const E=new j({});E.addDependency(G);this.addBlock(E)}q()}size(E){return 42}getSourceTypes(){return ae}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const j=new Set([q.initializeSharing]);const $=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?E.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:R,request:this._request,runtimeRequirements:j}):E.asyncModuleFactory({block:this.blocks[0],chunkGraph:R,request:this._request,runtimeRequirements:j})}${this._eager?", 1":""});`;const G=new Map;const ie=new Map;ie.set("share-init",[{shareScope:this._shareScope,initStage:10,init:$}]);return{sources:G,data:ie,runtimeRequirements:j}}serialize(E){const{write:N}=E;N(this._shareScope);N(this._name);N(this._version);N(this._request);N(this._eager);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ProvideSharedModule(N(),N(),N(),N(),N());R.deserialize(E);return R}}G(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");E.exports=ProvideSharedModule},96295:(E,N,R)=>{"use strict";const j=R(40674);const $=R(99114);class ProvideSharedModuleFactory extends j{create(E,N){const R=E.dependencies[0];N(null,{module:new $(R.shareScope,R.name,R.version,R.request,R.eager)})}}E.exports=ProvideSharedModuleFactory},48151:(E,N,R)=>{"use strict";const j=R(81627);const{parseOptions:$}=R(97264);const q=R(35817);const G=R(31095);const ie=R(56049);const ae=R(96295);const ce=q(R(95435),(()=>R(97295)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(E){ce(E);this._provides=$(E.provides,(N=>{if(Array.isArray(N))throw new Error("Unexpected array of provides");const R={shareKey:N,version:undefined,shareScope:E.shareScope||"default",eager:false};return R}),(N=>({shareKey:N.shareKey,version:N.version,shareScope:N.shareScope||E.shareScope||"default",eager:!!N.eager})));this._provides.sort((([E],[N])=>{if(E<N)return-1;if(N<E)return 1;return 0}))}apply(E){const N=new WeakMap;E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:R})=>{const $=new Map;const q=new Map;const G=new Map;for(const[E,N]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(E)){$.set(E,{config:N,version:N.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){$.set(E,{config:N,version:N.version})}else if(E.endsWith("/")){G.set(E,N)}else{q.set(E,N)}}N.set(E,$);const provideSharedModule=(N,R,q,G)=>{let ie=R.version;if(ie===undefined){let R="";if(!G){R=`No resolve data provided from resolver.`}else{const E=G.descriptionFileData;if(!E){R="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!E.version){R="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ie=E.version}}if(!ie){const $=new j(`No version specified and unable to automatically determine one. ${R}`);$.file=`shared module ${N} -> ${q}`;E.warnings.push($)}}$.set(q,{config:R,version:ie})};R.hooks.module.tap("ProvideSharedPlugin",((E,{resource:N,resourceResolveData:R},j)=>{if($.has(N)){return E}const{request:ie}=j;{const E=q.get(ie);if(E!==undefined){provideSharedModule(ie,E,N,R);j.cacheable=false}}for(const[E,$]of G){if(ie.startsWith(E)){const q=ie.slice(E.length);provideSharedModule(N,{...$,shareKey:$.shareKey+q},N,R);j.cacheable=false}}return E}))}));E.hooks.finishMake.tapPromise("ProvideSharedPlugin",(R=>{const j=N.get(R);if(!j)return Promise.resolve();return Promise.all(Array.from(j,(([N,{config:j,version:$}])=>new Promise(((q,G)=>{R.addInclude(E.context,new ie(j.shareScope,j.shareKey,$||false,N,j.eager),{name:undefined},(E=>{if(E)return G(E);q()}))}))))).then((()=>{}))}));E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(G,N);E.dependencyFactories.set(ie,new ae)}))}}E.exports=ProvideSharedPlugin},16471:(E,N,R)=>{"use strict";const{parseOptions:j}=R(97264);const $=R(71968);const q=R(48151);const{isRequiredVersion:G}=R(37650);class SharePlugin{constructor(E){const N=j(E.shared,((E,N)=>{if(typeof E!=="string")throw new Error("Unexpected array in shared");const R=E===N||!G(E)?{import:E}:{import:N,requiredVersion:E};return R}),(E=>E));const R=N.map((([E,N])=>({[E]:{import:N.import,shareKey:N.shareKey||E,shareScope:N.shareScope,requiredVersion:N.requiredVersion,strictVersion:N.strictVersion,singleton:N.singleton,packageName:N.packageName,eager:N.eager}})));const $=N.filter((([,E])=>E.import!==false)).map((([E,N])=>({[N.import||E]:{shareKey:N.shareKey||E,shareScope:N.shareScope,version:N.version,eager:N.eager}})));this._shareScope=E.shareScope;this._consumes=R;this._provides=$}apply(E){new $({shareScope:this._shareScope,consumes:this._consumes}).apply(E);new q({shareScope:this._shareScope,provides:this._provides}).apply(E)}}E.exports=SharePlugin},54825:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{compareModulesByIdentifier:G,compareStrings:ie}=R(68673);class ShareRuntimeModule extends ${constructor(){super("sharing")}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,codeGenerationResults:$,outputOptions:{uniqueName:ae}}=E;const ce=new Map;for(const E of this.chunk.getAllReferencedChunks()){const R=N.getOrderedChunkModulesIterableBySourceType(E,"share-init",G);if(!R)continue;for(const N of R){const R=$.getData(N,E.runtime,"share-init");if(!R)continue;for(const E of R){const{shareScope:N,initStage:R,init:j}=E;let $=ce.get(N);if($===undefined){ce.set(N,$=new Map)}let q=$.get(R||0);if(q===undefined){$.set(R||0,q=new Set)}q.add(j)}}}return q.asString([`${j.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${j.initializeSharing} = ${R.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${j.hasOwnProperty}(${j.shareScopeMap}, name)) ${j.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${j.shareScopeMap}[name];`,`var warn = ${R.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${R.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${R.basicFunction("id",[`var handleError = ${R.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",q.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${R.returningFunction(`module && module.init && module.init(${j.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(ce).sort((([E],[N])=>ie(E,N))).map((([E,N])=>q.indent([`case ${JSON.stringify(E)}: {`,q.indent(Array.from(N).sort((([E],[N])=>E-N)).map((([,E])=>q.asString(Array.from(E))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${R.returningFunction("initPromises[name] = 1")});`])};`])}}E.exports=ShareRuntimeModule},57870:(E,N,R)=>{"use strict";const j=R(54032);const $=R(83379);const q={dependencyType:"esm"};N.resolveMatchedConfigs=(E,N)=>{const R=new Map;const G=new Map;const ie=new Map;const ae={fileDependencies:new $,contextDependencies:new $,missingDependencies:new $};const ce=E.resolverFactory.get("normal",q);const le=E.compiler.context;return Promise.all(N.map((([N,$])=>{if(/^\.\.?(\/|$)/.test(N)){return new Promise((q=>{ce.resolve({},le,N,ae,((G,ie)=>{if(G||ie===false){G=G||new Error(`Can't resolve ${N}`);E.errors.push(new j(null,G,{name:`shared module ${N}`}));return q()}R.set(ie,$);q()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(N)){R.set(N,$)}else if(N.endsWith("/")){ie.set(N,$)}else{G.set(N,$)}}))).then((()=>{E.contextDependencies.addAll(ae.contextDependencies);E.fileDependencies.addAll(ae.fileDependencies);E.missingDependencies.addAll(ae.missingDependencies);return{resolved:R,unresolved:G,prefixed:ie}}))}},37650:(E,N,R)=>{"use strict";const{join:j,dirname:$,readJson:q}=R(95396);N.isRequiredVersion=E=>/^([\d^=v<>~]|[*xX]$)/.test(E);const getDescriptionFile=(E,N,R,G)=>{let ie=0;const tryLoadCurrent=()=>{if(ie>=R.length){const j=$(E,N);if(!j||j===N)return G();return getDescriptionFile(E,j,R,G)}const ae=j(E,N,R[ie]);q(E,ae,((E,N)=>{if(E){if("code"in E&&E.code==="ENOENT"){ie++;return tryLoadCurrent()}return G(E)}if(!N||typeof N!=="object"||Array.isArray(N)){return G(new Error(`Description file ${ae} is not an object`))}G(null,{data:N,path:ae})}))};tryLoadCurrent()};N.getDescriptionFile=getDescriptionFile;N.getRequiredVersionFromDescriptionFile=(E,N)=>{if(E.optionalDependencies&&typeof E.optionalDependencies==="object"&&N in E.optionalDependencies){return E.optionalDependencies[N]}if(E.dependencies&&typeof E.dependencies==="object"&&N in E.dependencies){return E.dependencies[N]}if(E.peerDependencies&&typeof E.peerDependencies==="object"&&N in E.peerDependencies){return E.peerDependencies[N]}if(E.devDependencies&&typeof E.devDependencies==="object"&&N in E.devDependencies){return E.devDependencies[N]}}},9054:(E,N,R)=>{"use strict";const j=R(73837);const $=R(79983);const q=R(72380);const{LogType:G}=R(78539);const ie=R(94827);const ae=R(20625);const{countIterable:ce}=R(11539);const{compareLocations:le,compareChunksById:_e,compareNumbers:Ee,compareIds:Te,concatComparators:we,compareSelect:Ie,compareModulesByIdentifier:Ne}=R(68673);const{makePathsRelative:Me,parseResource:Le}=R(49197);const uniqueArray=(E,N)=>{const R=new Set;for(const j of E){for(const E of N(j)){R.add(E)}}return Array.from(R)};const uniqueOrderedArray=(E,N,R)=>uniqueArray(E,N).sort(R);const mapObject=(E,N)=>{const R=Object.create(null);for(const j of Object.keys(E)){R[j]=N(E[j],j)}return R};const countWithChildren=(E,N)=>{let R=N(E,"").length;for(const j of E.children){R+=countWithChildren(j,((E,R)=>N(E,`.children[].compilation${R}`)))}return R};const Be={_:(E,N,R,{requestShortener:j})=>{if(typeof N==="string"){E.message=N}else{if(N.chunk){E.chunkName=N.chunk.name;E.chunkEntry=N.chunk.hasRuntime();E.chunkInitial=N.chunk.canBeInitial()}if(N.file){E.file=N.file}if(N.module){E.moduleIdentifier=N.module.identifier();E.moduleName=N.module.readableIdentifier(j)}if(N.loc){E.loc=q(N.loc)}E.message=N.message}},ids:(E,N,{compilation:{chunkGraph:R}})=>{if(typeof N!=="string"){if(N.chunk){E.chunkId=N.chunk.id}if(N.module){E.moduleId=R.getModuleId(N.module)}}},moduleTrace:(E,N,R,j,$)=>{if(typeof N!=="string"&&N.module){const{type:j,compilation:{moduleGraph:q}}=R;const G=new Set;const ie=[];let ae=N.module;while(ae){if(G.has(ae))break;G.add(ae);const E=q.getIssuer(ae);if(!E)break;ie.push({origin:E,module:ae});ae=E}E.moduleTrace=$.create(`${j}.moduleTrace`,ie,R)}},errorDetails:(E,N,{type:R,compilation:j,cachedGetErrors:$,cachedGetWarnings:q},{errorDetails:G})=>{if(typeof N!=="string"&&(G===true||R.endsWith(".error")&&$(j).length<3)){E.details=N.details}},errorStack:(E,N)=>{if(typeof N!=="string"){E.stack=N.stack}}};const je={compilation:{_:(E,N,j,$)=>{if(!j.makePathsRelative){j.makePathsRelative=Me.bindContextCache(N.compiler.context,N.compiler.root)}if(!j.cachedGetErrors){const E=new WeakMap;j.cachedGetErrors=N=>E.get(N)||(R=>(E.set(N,R),R))(N.getErrors())}if(!j.cachedGetWarnings){const E=new WeakMap;j.cachedGetWarnings=N=>E.get(N)||(R=>(E.set(N,R),R))(N.getWarnings())}if(N.name){E.name=N.name}if(N.needAdditionalPass){E.needAdditionalPass=true}const{logging:q,loggingDebug:ie,loggingTrace:ae}=$;if(q||ie&&ie.length>0){const j=R(73837);E.logging={};let ce;let le=false;switch(q){default:ce=new Set;break;case"error":ce=new Set([G.error]);break;case"warn":ce=new Set([G.error,G.warn]);break;case"info":ce=new Set([G.error,G.warn,G.info]);break;case"log":ce=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.clear]);break;case"verbose":ce=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.profile,G.profileEnd,G.time,G.status,G.clear]);le=true;break}const _e=Me.bindContextCache($.context,N.compiler.root);let Ee=0;for(const[R,$]of N.logging){const N=ie.some((E=>E(R)));if(q===false&&!N)continue;const Te=[];const we=[];let Ie=we;let Ne=0;for(const E of $){let R=E.type;if(!N&&!ce.has(R))continue;if(R===G.groupCollapsed&&(N||le))R=G.group;if(Ee===0){Ne++}if(R===G.groupEnd){Te.pop();if(Te.length>0){Ie=Te[Te.length-1].children}else{Ie=we}if(Ee>0)Ee--;continue}let $=undefined;if(E.type===G.time){$=`${E.args[0]}: ${E.args[1]*1e3+E.args[2]/1e6} ms`}else if(E.args&&E.args.length>0){$=j.format(E.args[0],...E.args.slice(1))}const q={...E,type:R,message:$,trace:ae?E.trace:undefined,children:R===G.group||R===G.groupCollapsed?[]:undefined};Ie.push(q);if(q.children){Te.push(q);Ie=q.children;if(Ee>0){Ee++}else if(R===G.groupCollapsed){Ee=1}}}let Me=_e(R).replace(/\|/g," ");if(Me in E.logging){let N=1;while(`${Me}#${N}`in E.logging){N++}Me=`${Me}#${N}`}E.logging[Me]={entries:we,filteredEntries:$.length-Ne,debug:N}}}},hash:(E,N)=>{E.hash=N.hash},version:E=>{E.version=R(37589).i8},env:(E,N,R,{_env:j})=>{E.env=j},timings:(E,N)=>{E.time=N.endTime-N.startTime},builtAt:(E,N)=>{E.builtAt=N.endTime},publicPath:(E,N)=>{E.publicPath=N.getPath(N.outputOptions.publicPath)},outputPath:(E,N)=>{E.outputPath=N.outputOptions.path},assets:(E,N,R,j,$)=>{const{type:q}=R;const G=new Map;const ie=new Map;for(const E of N.chunks){for(const N of E.files){let R=G.get(N);if(R===undefined){R=[];G.set(N,R)}R.push(E)}for(const N of E.auxiliaryFiles){let R=ie.get(N);if(R===undefined){R=[];ie.set(N,R)}R.push(E)}}const ae=new Map;const ce=new Set;for(const E of N.getAssets()){const N={...E,type:"asset",related:undefined};ce.add(N);ae.set(E.name,N)}for(const E of ae.values()){const N=E.info.related;if(!N)continue;for(const R of Object.keys(N)){const j=N[R];const $=Array.isArray(j)?j:[j];for(const N of $){const j=ae.get(N);if(!j)continue;ce.delete(j);j.type=R;E.related=E.related||[];E.related.push(j)}}}E.assetsByChunkName={};for(const[N,R]of G){for(const j of R){const R=j.name;if(!R)continue;if(!Object.prototype.hasOwnProperty.call(E.assetsByChunkName,R)){E.assetsByChunkName[R]=[]}E.assetsByChunkName[R].push(N)}}const le=$.create(`${q}.assets`,Array.from(ce),{...R,compilationFileToChunks:G,compilationAuxiliaryFileToChunks:ie});const _e=spaceLimited(le,j.assetsSpace);E.assets=_e.children;E.filteredAssets=_e.filteredChildren},chunks:(E,N,R,j,$)=>{const{type:q}=R;E.chunks=$.create(`${q}.chunks`,Array.from(N.chunks),R)},modules:(E,N,R,j,$)=>{const{type:q}=R;const G=Array.from(N.modules);const ie=$.create(`${q}.modules`,G,R);const ae=spaceLimited(ie,j.modulesSpace);E.modules=ae.children;E.filteredModules=ae.filteredChildren},entrypoints:(E,N,R,{entrypoints:j,chunkGroups:$,chunkGroupAuxiliary:q,chunkGroupChildren:G},ie)=>{const{type:ae}=R;const ce=Array.from(N.entrypoints,(([E,N])=>({name:E,chunkGroup:N})));if(j==="auto"&&!$){if(ce.length>5)return;if(!G&&ce.every((({chunkGroup:E})=>{if(E.chunks.length!==1)return false;const N=E.chunks[0];return N.files.size===1&&(!q||N.auxiliaryFiles.size===0)}))){return}}E.entrypoints=ie.create(`${ae}.entrypoints`,ce,R)},chunkGroups:(E,N,R,j,$)=>{const{type:q}=R;const G=Array.from(N.namedChunkGroups,(([E,N])=>({name:E,chunkGroup:N})));E.namedChunkGroups=$.create(`${q}.namedChunkGroups`,G,R)},errors:(E,N,R,j,$)=>{const{type:q,cachedGetErrors:G}=R;E.errors=$.create(`${q}.errors`,G(N),R)},errorsCount:(E,N,{cachedGetErrors:R})=>{E.errorsCount=countWithChildren(N,(E=>R(E)))},warnings:(E,N,R,j,$)=>{const{type:q,cachedGetWarnings:G}=R;E.warnings=$.create(`${q}.warnings`,G(N),R)},warningsCount:(E,N,R,{warningsFilter:j},$)=>{const{type:q,cachedGetWarnings:G}=R;E.warningsCount=countWithChildren(N,((E,N)=>{if(!j&&j.length===0)return G(E);return $.create(`${q}${N}.warnings`,G(E),R).filter((E=>{const N=Object.keys(E).map((N=>`${E[N]}`)).join("\n");return!j.some((R=>R(E,N)))}))}))},errorDetails:(E,N,{cachedGetErrors:R,cachedGetWarnings:j},{errorDetails:$,errors:q,warnings:G})=>{if($==="auto"){if(G){const R=j(N);E.filteredWarningDetailsCount=R.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}if(q){const j=R(N);if(j.length>=3){E.filteredErrorDetailsCount=j.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}}}},children:(E,N,R,j,$)=>{const{type:q}=R;E.children=$.create(`${q}.children`,N.children,R)}},asset:{_:(E,N,R,j,$)=>{const{compilation:q}=R;E.type=N.type;E.name=N.name;E.size=N.source.size();E.emitted=q.emittedAssets.has(N.name);E.comparedForEmit=q.comparedForEmitAssets.has(N.name);const G=!E.emitted&&!E.comparedForEmit;E.cached=G;E.info=N.info;if(!G||j.cachedAssets){Object.assign(E,$.create(`${R.type}$visible`,N,R))}}},asset$visible:{_:(E,N,{compilation:R,compilationFileToChunks:j,compilationAuxiliaryFileToChunks:$})=>{const q=j.get(N.name)||[];const G=$.get(N.name)||[];E.chunkNames=uniqueOrderedArray(q,(E=>E.name?[E.name]:[]),Te);E.chunkIdHints=uniqueOrderedArray(q,(E=>Array.from(E.idNameHints)),Te);E.auxiliaryChunkNames=uniqueOrderedArray(G,(E=>E.name?[E.name]:[]),Te);E.auxiliaryChunkIdHints=uniqueOrderedArray(G,(E=>Array.from(E.idNameHints)),Te);E.filteredRelated=N.related?N.related.length:undefined},relatedAssets:(E,N,R,j,$)=>{const{type:q}=R;E.related=$.create(`${q.slice(0,-8)}.related`,N.related,R);E.filteredRelated=N.related?N.related.length-E.related.length:undefined},ids:(E,N,{compilationFileToChunks:R,compilationAuxiliaryFileToChunks:j})=>{const $=R.get(N.name)||[];const q=j.get(N.name)||[];E.chunks=uniqueOrderedArray($,(E=>E.ids),Te);E.auxiliaryChunks=uniqueOrderedArray(q,(E=>E.ids),Te)},performance:(E,N)=>{E.isOverSizeLimit=ae.isOverSizeLimit(N.source)}},chunkGroup:{_:(E,{name:N,chunkGroup:R},{compilation:j,compilation:{moduleGraph:$,chunkGraph:q}},{ids:G,chunkGroupAuxiliary:ie,chunkGroupChildren:ae,chunkGroupMaxAssets:ce})=>{const le=ae&&R.getChildrenByOrders($,q);const toAsset=E=>{const N=j.getAsset(E);return{name:E,size:N?N.info.size:-1}};const sizeReducer=(E,{size:N})=>E+N;const _e=uniqueArray(R.chunks,(E=>E.files)).map(toAsset);const Ee=uniqueOrderedArray(R.chunks,(E=>E.auxiliaryFiles),Te).map(toAsset);const we=_e.reduce(sizeReducer,0);const Ie=Ee.reduce(sizeReducer,0);const Ne={name:N,chunks:G?R.chunks.map((E=>E.id)):undefined,assets:_e.length<=ce?_e:undefined,filteredAssets:_e.length<=ce?0:_e.length,assetsSize:we,auxiliaryAssets:ie&&Ee.length<=ce?Ee:undefined,filteredAuxiliaryAssets:ie&&Ee.length<=ce?0:Ee.length,auxiliaryAssetsSize:Ie,children:le?mapObject(le,(E=>E.map((E=>{const N=uniqueArray(E.chunks,(E=>E.files)).map(toAsset);const R=uniqueOrderedArray(E.chunks,(E=>E.auxiliaryFiles),Te).map(toAsset);const j={name:E.name,chunks:G?E.chunks.map((E=>E.id)):undefined,assets:N.length<=ce?N:undefined,filteredAssets:N.length<=ce?0:N.length,auxiliaryAssets:ie&&R.length<=ce?R:undefined,filteredAuxiliaryAssets:ie&&R.length<=ce?0:R.length};return j})))):undefined,childAssets:le?mapObject(le,(E=>{const N=new Set;for(const R of E){for(const E of R.chunks){for(const R of E.files){N.add(R)}}}return Array.from(N)})):undefined};Object.assign(E,Ne)},performance:(E,{chunkGroup:N})=>{E.isOverSizeLimit=ae.isOverSizeLimit(N)}},module:{_:(E,N,R,j,$)=>{const{compilation:q,type:G}=R;const ie=q.builtModules.has(N);const ae=q.codeGeneratedModules.has(N);const ce=q.buildTimeExecutedModules.has(N);const le={};for(const E of N.getSourceTypes()){le[E]=N.size(E)}const _e={type:"module",moduleType:N.type,layer:N.layer,size:N.size(),sizes:le,built:ie,codeGenerated:ae,buildTimeExecuted:ce,cached:!ie&&!ae};Object.assign(E,_e);if(ie||ae||j.cachedModules){Object.assign(E,$.create(`${G}$visible`,N,R))}}},module$visible:{_:(E,N,R,{requestShortener:j},$)=>{const{compilation:q,type:G,rootModules:ie}=R;const{moduleGraph:ae}=q;const le=[];const _e=ae.getIssuer(N);let Ee=_e;while(Ee){le.push(Ee);Ee=ae.getIssuer(Ee)}le.reverse();const Te=ae.getProfile(N);const we=N.getErrors();const Ie=we!==undefined?ce(we):0;const Ne=N.getWarnings();const Me=Ne!==undefined?ce(Ne):0;const Le={};for(const E of N.getSourceTypes()){Le[E]=N.size(E)}const Be={identifier:N.identifier(),name:N.readableIdentifier(j),nameForCondition:N.nameForCondition(),index:ae.getPreOrderIndex(N),preOrderIndex:ae.getPreOrderIndex(N),index2:ae.getPostOrderIndex(N),postOrderIndex:ae.getPostOrderIndex(N),cacheable:N.buildInfo.cacheable,optional:N.isOptional(ae),orphan:!G.endsWith("module.modules[].module$visible")&&q.chunkGraph.getNumberOfModuleChunks(N)===0,dependent:ie?!ie.has(N):undefined,issuer:_e&&_e.identifier(),issuerName:_e&&_e.readableIdentifier(j),issuerPath:_e&&$.create(`${G.slice(0,-8)}.issuerPath`,le,R),failed:Ie>0,errors:Ie,warnings:Me};Object.assign(E,Be);if(Te){E.profile=$.create(`${G.slice(0,-8)}.profile`,Te,R)}},ids:(E,N,{compilation:{chunkGraph:R,moduleGraph:j}})=>{E.id=R.getModuleId(N);const $=j.getIssuer(N);E.issuerId=$&&R.getModuleId($);E.chunks=Array.from(R.getOrderedModuleChunksIterable(N,_e),(E=>E.id))},moduleAssets:(E,N)=>{E.assets=N.buildInfo.assets?Object.keys(N.buildInfo.assets):[]},reasons:(E,N,R,j,$)=>{const{type:q,compilation:{moduleGraph:G}}=R;const ie=$.create(`${q.slice(0,-8)}.reasons`,Array.from(G.getIncomingConnections(N)),R);const ae=spaceLimited(ie,j.reasonsSpace);E.reasons=ae.children;E.filteredReasons=ae.filteredChildren},usedExports:(E,N,{runtime:R,compilation:{moduleGraph:j}})=>{const $=j.getUsedExports(N,R);if($===null){E.usedExports=null}else if(typeof $==="boolean"){E.usedExports=$}else{E.usedExports=Array.from($)}},providedExports:(E,N,{compilation:{moduleGraph:R}})=>{const j=R.getProvidedExports(N);E.providedExports=Array.isArray(j)?j:null},optimizationBailout:(E,N,{compilation:{moduleGraph:R}},{requestShortener:j})=>{E.optimizationBailout=R.getOptimizationBailout(N).map((E=>{if(typeof E==="function")return E(j);return E}))},depth:(E,N,{compilation:{moduleGraph:R}})=>{E.depth=R.getDepth(N)},nestedModules:(E,N,R,j,$)=>{const{type:q}=R;const G=N.modules;if(Array.isArray(G)){const N=$.create(`${q.slice(0,-8)}.modules`,G,R);const ie=spaceLimited(N,j.nestedModulesSpace);E.modules=ie.children;E.filteredModules=ie.filteredChildren}},source:(E,N)=>{const R=N.originalSource();if(R){E.source=R.source()}}},profile:{_:(E,N)=>{const R={total:N.factory+N.restoring+N.integration+N.building+N.storing,resolving:N.factory,restoring:N.restoring,building:N.building,integration:N.integration,storing:N.storing,additionalResolving:N.additionalFactories,additionalIntegration:N.additionalIntegration,factory:N.factory,dependencies:N.additionalFactories};Object.assign(E,R)}},moduleIssuer:{_:(E,N,R,{requestShortener:j},$)=>{const{compilation:q,type:G}=R;const{moduleGraph:ie}=q;const ae=ie.getProfile(N);const ce={identifier:N.identifier(),name:N.readableIdentifier(j)};Object.assign(E,ce);if(ae){E.profile=$.create(`${G}.profile`,ae,R)}},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.id=R.getModuleId(N)}},moduleReason:{_:(E,N,{runtime:R},{requestShortener:j})=>{const G=N.dependency;const ie=G&&G instanceof $?G:undefined;const ae={moduleIdentifier:N.originModule?N.originModule.identifier():null,module:N.originModule?N.originModule.readableIdentifier(j):null,moduleName:N.originModule?N.originModule.readableIdentifier(j):null,resolvedModuleIdentifier:N.resolvedOriginModule?N.resolvedOriginModule.identifier():null,resolvedModule:N.resolvedOriginModule?N.resolvedOriginModule.readableIdentifier(j):null,type:N.dependency?N.dependency.type:null,active:N.isActive(R),explanation:N.explanation,userRequest:ie&&ie.userRequest||null};Object.assign(E,ae);if(N.dependency){const R=q(N.dependency.loc);if(R){E.loc=R}}},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.moduleId=N.originModule?R.getModuleId(N.originModule):null;E.resolvedModuleId=N.resolvedOriginModule?R.getModuleId(N.resolvedOriginModule):null}},chunk:{_:(E,N,{makePathsRelative:R,compilation:{chunkGraph:j}})=>{const $=N.getChildIdsByOrders(j);const q={rendered:N.rendered,initial:N.canBeInitial(),entry:N.hasRuntime(),recorded:ie.wasChunkRecorded(N),reason:N.chunkReason,size:j.getChunkModulesSize(N),sizes:j.getChunkModulesSizes(N),names:N.name?[N.name]:[],idHints:Array.from(N.idNameHints),runtime:N.runtime===undefined?undefined:typeof N.runtime==="string"?[R(N.runtime)]:Array.from(N.runtime.sort(),R),files:Array.from(N.files),auxiliaryFiles:Array.from(N.auxiliaryFiles).sort(Te),hash:N.renderedHash,childrenByOrder:$};Object.assign(E,q)},ids:(E,N)=>{E.id=N.id},chunkRelations:(E,N,{compilation:{chunkGraph:R}})=>{const j=new Set;const $=new Set;const q=new Set;for(const E of N.groupsIterable){for(const N of E.parentsIterable){for(const E of N.chunks){j.add(E.id)}}for(const N of E.childrenIterable){for(const E of N.chunks){$.add(E.id)}}for(const R of E.chunks){if(R!==N)q.add(R.id)}}E.siblings=Array.from(q).sort(Te);E.parents=Array.from(j).sort(Te);E.children=Array.from($).sort(Te)},chunkModules:(E,N,R,j,$)=>{const{type:q,compilation:{chunkGraph:G}}=R;const ie=G.getChunkModules(N);const ae=$.create(`${q}.modules`,ie,{...R,runtime:N.runtime,rootModules:new Set(G.getChunkRootModules(N))});const ce=spaceLimited(ae,j.chunkModulesSpace);E.modules=ce.children;E.filteredModules=ce.filteredChildren},chunkOrigins:(E,N,R,j,$)=>{const{type:G,compilation:{chunkGraph:ie}}=R;const ae=new Set;const ce=[];for(const E of N.groupsIterable){ce.push(...E.origins)}const le=ce.filter((E=>{const N=[E.module?ie.getModuleId(E.module):undefined,q(E.loc),E.request].join();if(ae.has(N))return false;ae.add(N);return true}));E.origins=$.create(`${G}.origins`,le,R)}},chunkOrigin:{_:(E,N,R,{requestShortener:j})=>{const $={module:N.module?N.module.identifier():"",moduleIdentifier:N.module?N.module.identifier():"",moduleName:N.module?N.module.readableIdentifier(j):"",loc:q(N.loc),request:N.request};Object.assign(E,$)},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.moduleId=N.module?R.getModuleId(N.module):undefined}},error:Be,warning:Be,moduleTraceItem:{_:(E,{origin:N,module:R},j,{requestShortener:$},q)=>{const{type:G,compilation:{moduleGraph:ie}}=j;E.originIdentifier=N.identifier();E.originName=N.readableIdentifier($);E.moduleIdentifier=R.identifier();E.moduleName=R.readableIdentifier($);const ae=Array.from(ie.getIncomingConnections(R)).filter((E=>E.resolvedOriginModule===N&&E.dependency)).map((E=>E.dependency));E.dependencies=q.create(`${G}.dependencies`,Array.from(new Set(ae)),j)},ids:(E,{origin:N,module:R},{compilation:{chunkGraph:j}})=>{E.originId=j.getModuleId(N);E.moduleId=j.getModuleId(R)}},moduleTraceDependency:{_:(E,N)=>{E.loc=q(N.loc)}}};const Ue={"module.reasons":{"!orphanModules":(E,{compilation:{chunkGraph:N}})=>{if(E.originModule&&N.getNumberOfModuleChunks(E.originModule)===0){return false}}}};const ze={"compilation.warnings":{warningsFilter:j.deprecate(((E,N,{warningsFilter:R})=>{const j=Object.keys(E).map((N=>`${E[N]}`)).join("\n");return!R.some((N=>N(E,j)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const We={_:(E,{compilation:{moduleGraph:N}})=>{E.push(Ie((E=>N.getDepth(E)),Ee),Ie((E=>N.getPreOrderIndex(E)),Ee),Ie((E=>E.identifier()),Te))}};const Je={"compilation.chunks":{_:E=>{E.push(Ie((E=>E.id),Te))}},"compilation.modules":We,"chunk.rootModules":We,"chunk.modules":We,"module.modules":We,"module.reasons":{_:(E,{compilation:{chunkGraph:N}})=>{E.push(Ie((E=>E.originModule),Ne));E.push(Ie((E=>E.resolvedOriginModule),Ne));E.push(Ie((E=>E.dependency),we(Ie((E=>E.loc),le),Ie((E=>E.type),Te))))}},"chunk.origins":{_:(E,{compilation:{chunkGraph:N}})=>{E.push(Ie((E=>E.module?N.getModuleId(E.module):undefined),Te),Ie((E=>q(E.loc)),Te),Ie((E=>E.request),Te))}}};const getItemSize=E=>!E.children?1:E.filteredChildren?2+getTotalSize(E.children):1+getTotalSize(E.children);const getTotalSize=E=>{let N=0;for(const R of E){N+=getItemSize(R)}return N};const getTotalItems=E=>{let N=0;for(const R of E){if(!R.children&&!R.filteredChildren){N++}else{if(R.children)N+=getTotalItems(R.children);if(R.filteredChildren)N+=R.filteredChildren}}return N};const collapse=E=>{const N=[];for(const R of E){if(R.children){let E=R.filteredChildren||0;E+=getTotalItems(R.children);N.push({...R,children:undefined,filteredChildren:E})}else{N.push(R)}}return N};const spaceLimited=(E,N)=>{let R=undefined;let j=undefined;const $=E.filter((E=>E.children||E.filteredChildren));const q=$.map((E=>getItemSize(E)));const G=E.filter((E=>!E.children&&!E.filteredChildren));let ie=q.reduce(((E,N)=>E+N),0);if(ie+G.length<=N){R=$.concat(G)}else if($.length>0&&$.length+Math.min(1,G.length)<N){while(ie+G.length+(j?1:0)>N){const E=G.length+ie+(j?1:0)-N;const R=Math.max(...q);if(R<G.length){j=G.length;G.length=0;continue}for(let N=0;N<$.length;N++){if(q[N]===R){const R=$[N];const j=!R.children?0:R.filteredChildren?2:1;const G=spaceLimited(R.children,q[N]-j-E/$.length);$[N]={...R,children:G.children,filteredChildren:(R.filteredChildren||0)+G.filteredChildren};const ae=getItemSize($[N]);ie-=q[N]-ae;q[N]=ae;break}}}R=$.concat(G)}else if($.length>0&&$.length+Math.min(1,G.length)<=N){R=$.length?collapse($):undefined;j=G.length}else{j=getTotalItems(E)}return{children:R,filteredChildren:j}};const assetGroup=(E,N)=>{let R=0;for(const N of E){R+=N.size}return{size:R}};const moduleGroup=(E,N)=>{let R=0;const j={};for(const N of E){R+=N.size;for(const E of Object.keys(N.sizes)){j[E]=(j[E]||0)+N.sizes[E]}}return{size:R,sizes:j}};const reasonGroup=(E,N)=>{let R=false;for(const N of E){R=R||N.active}return{active:R}};const Ve={_:(E,N,R)=>{const groupByFlag=(N,R)=>{E.push({getKeys:E=>E[N]?["1"]:undefined,getOptions:()=>({groupChildren:!R,force:R}),createGroup:(E,j,$)=>R?{type:"assets by status",[N]:!!E,filteredChildren:$.length,...assetGroup(j,$)}:{type:"assets by status",[N]:!!E,children:j,...assetGroup(j,$)}})};const{groupAssetsByEmitStatus:j,groupAssetsByPath:$,groupAssetsByExtension:q}=R;if(j){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(j||!R.cachedAssets){groupByFlag("cached",!R.cachedAssets)}if($||q){E.push({getKeys:E=>{const N=q&&/(\.[^.]+)(?:\?.*|$)/.exec(E.name);const R=N?N[1]:"";const j=$&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E.name);const G=j?j[1].split(/[/\\]/):[];const ie=[];if($){ie.push(".");if(R)ie.push(G.length?`${G.join("/")}/*${R}`:`*${R}`);while(G.length>0){ie.push(G.join("/")+"/");G.pop()}}else{if(R)ie.push(`*${R}`)}return ie},createGroup:(E,N,R)=>({type:$?"assets by path":"assets by extension",name:E,children:N,...assetGroup(N,R)})})}},groupAssetsByInfo:(E,N,R)=>{const groupByAssetInfoFlag=N=>{E.push({getKeys:E=>E.info&&E.info[N]?["1"]:undefined,createGroup:(E,R,j)=>({type:"assets by info",info:{[N]:!!E},children:R,...assetGroup(R,j)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(E,N,R)=>{const groupByNames=N=>{E.push({getKeys:E=>E[N],createGroup:(E,R,j)=>({type:"assets by chunk",[N]:[E],children:R,...assetGroup(R,j)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(E,N,{excludeAssets:R})=>{E.push({getKeys:E=>{const N=E.name;const j=R.some((R=>R(N,E)));if(j)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,N,R)=>({type:"hidden assets",filteredChildren:R.length,...assetGroup(N,R)})})}};const MODULES_GROUPERS=E=>({_:(E,N,R)=>{const groupByFlag=(N,R,j)=>{E.push({getKeys:E=>E[N]?["1"]:undefined,getOptions:()=>({groupChildren:!j,force:j}),createGroup:(E,$,q)=>({type:R,[N]:!!E,...j?{filteredChildren:q.length}:{children:$},...moduleGroup($,q)})})};const{groupModulesByCacheStatus:j,groupModulesByLayer:$,groupModulesByAttributes:q,groupModulesByType:G,groupModulesByPath:ie,groupModulesByExtension:ae}=R;if(q){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(j){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(j||!R.cachedModules){groupByFlag("cached","cached modules",!R.cachedModules)}if(q||!R.orphanModules){groupByFlag("orphan","orphan modules",!R.orphanModules)}if(q||!R.dependentModules){groupByFlag("dependent","dependent modules",!R.dependentModules)}if(G||!R.runtimeModules){E.push({getKeys:E=>{if(!E.moduleType)return;if(G){return[E.moduleType.split("/",1)[0]]}else if(E.moduleType==="runtime"){return["runtime"]}},getOptions:E=>{const N=E==="runtime"&&!R.runtimeModules;return{groupChildren:!N,force:N}},createGroup:(E,N,j)=>{const $=E==="runtime"&&!R.runtimeModules;return{type:`${E} modules`,moduleType:E,...$?{filteredChildren:j.length}:{children:N},...moduleGroup(N,j)}}})}if($){E.push({getKeys:E=>[E.layer],createGroup:(E,N,R)=>({type:"modules by layer",layer:E,children:N,...moduleGroup(N,R)})})}if(ie||ae){E.push({getKeys:E=>{if(!E.name)return;const N=Le(E.name.split("!").pop()).path;const R=ae&&/(\.[^.]+)(?:\?.*|$)/.exec(N);const j=R?R[1]:"";const $=ie&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(N);const q=$?$[1].split(/[/\\]/):[];const G=[];if(ie){if(j)G.push(q.length?`${q.join("/")}/*${j}`:`*${j}`);while(q.length>0){G.push(q.join("/")+"/");q.pop()}}else{if(j)G.push(`*${j}`)}return G},createGroup:(E,N,R)=>({type:ie?"modules by path":"modules by extension",name:E,children:N,...moduleGroup(N,R)})})}},excludeModules:(N,R,{excludeModules:j})=>{N.push({getKeys:N=>{const R=N.name;if(R){const $=j.some((j=>j(R,N,E)));if($)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,N,R)=>({type:"hidden modules",filteredChildren:N.length,...moduleGroup(N,R)})})}});const qe={"compilation.assets":Ve,"asset.related":Ve,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:E=>{E.push({getKeys:E=>[E.module],createGroup:(E,N,R)=>({type:"from origin",module:E,children:N,...reasonGroup(N,R)})})}}};const normalizeFieldKey=E=>{if(E[0]==="!"){return E.substr(1)}return E};const sortOrderRegular=E=>{if(E[0]==="!"){return false}return true};const sortByField=E=>{if(!E){const noSort=(E,N)=>0;return noSort}const N=normalizeFieldKey(E);let R=Ie((E=>E[N]),Te);const j=sortOrderRegular(E);if(!j){const E=R;R=(N,R)=>E(R,N)}return R};const He={assetsSort:(E,N,{assetsSort:R})=>{E.push(sortByField(R))},_:E=>{E.push(Ie((E=>E.name),Te))}};const Ge={"compilation.chunks":{chunksSort:(E,N,{chunksSort:R})=>{E.push(sortByField(R))}},"compilation.modules":{modulesSort:(E,N,{modulesSort:R})=>{E.push(sortByField(R))}},"chunk.modules":{chunkModulesSort:(E,N,{chunkModulesSort:R})=>{E.push(sortByField(R))}},"module.modules":{nestedModulesSort:(E,N,{nestedModulesSort:R})=>{E.push(sortByField(R))}},"compilation.assets":He,"asset.related":He};const iterateConfig=(E,N,R)=>{for(const j of Object.keys(E)){const $=E[j];for(const E of Object.keys($)){if(E!=="_"){if(E.startsWith("!")){if(N[E.slice(1)])continue}else{const R=N[E];if(R===false||R===undefined||Array.isArray(R)&&R.length===0)continue}}R(j,$[E])}}};const Ke={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=E=>{const N=Object.create(null);for(const R of E){N[R.name]=R}return N};const Qe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsFactoryPlugin",(E=>{E.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((N,R,j)=>{iterateConfig(je,R,((E,j)=>{N.hooks.extract.for(E).tap("DefaultStatsFactoryPlugin",((E,$,q)=>j(E,$,q,R,N)))}));iterateConfig(Ue,R,((E,j)=>{N.hooks.filter.for(E).tap("DefaultStatsFactoryPlugin",((E,N,$,q)=>j(E,N,R,$,q)))}));iterateConfig(ze,R,((E,j)=>{N.hooks.filterResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N,$,q)=>j(E,N,R,$,q)))}));iterateConfig(Je,R,((E,j)=>{N.hooks.sort.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));iterateConfig(Ge,R,((E,j)=>{N.hooks.sortResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));iterateConfig(qe,R,((E,j)=>{N.hooks.groupResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));for(const E of Object.keys(Ke)){const R=Ke[E];N.hooks.getItemName.for(E).tap("DefaultStatsFactoryPlugin",(()=>R))}for(const E of Object.keys(Qe)){const R=Qe[E];N.hooks.merge.for(E).tap("DefaultStatsFactoryPlugin",R)}if(R.children){if(Array.isArray(R.children)){N.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((N,{_index:$})=>{if($<R.children.length){return E.createStatsFactory(E.createStatsOptions(R.children[$],j))}}))}else if(R.children!==true){const $=E.createStatsFactory(E.createStatsOptions(R.children,j));N.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",(()=>$))}}}))}))}}E.exports=DefaultStatsFactoryPlugin},7391:(E,N,R)=>{"use strict";const j=R(80910);const applyDefaults=(E,N)=>{for(const R of Object.keys(N)){if(typeof E[R]==="undefined"){E[R]=N[R]}}};const $={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:E})=>E!==false;const NORMAL_OFF=({all:E})=>E===true;const ON_FOR_TO_STRING=({all:E},{forToString:N})=>N?E!==false:E===true;const OFF_FOR_TO_STRING=({all:E},{forToString:N})=>N?E===true:E!==false;const AUTO_FOR_TO_STRING=({all:E},{forToString:N})=>{if(E===false)return false;if(E===true)return true;if(N)return"auto";return true};const q={context:(E,N,R)=>R.compiler.context,requestShortener:(E,N,R)=>R.compiler.context===E.context?R.requestShortener:new j(E.context,R.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(E,{forToString:N})=>N?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:E,modules:N})=>{if(E===false)return false;if(E===true)return true;if(N)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:E,chunks:N,chunkModules:R},{forToString:j})=>{if(E===false)return false;if(E===true)return true;if(j&&N&&R)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(E,{forToString:N})=>N?15:Infinity,chunkModulesSpace:(E,{forToString:N})=>N?10:Infinity,nestedModulesSpace:(E,{forToString:N})=>N?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(E,{forToString:N})=>N?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:E,runtime:N},{forToString:R})=>N!==undefined?N:R?E===true:E!==false,cachedModules:({all:E,cached:N},{forToString:R})=>N!==undefined?N:R?E===true:E!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(E,{forToString:N})=>N?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:E},{forToString:N})=>N&&E!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=E=>{if(typeof E==="string"){const N=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>N.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return N=>E.test(N)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const G={excludeModules:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},excludeAssets:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},warningsFilter:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map((E=>{if(typeof E==="string"){return(N,R)=>R.includes(E)}if(E instanceof RegExp){return(N,R)=>E.test(R)}if(typeof E==="function"){return E}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${E})`)}))},logging:E=>{if(E===true)E="log";return E},loggingDebug:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPresetPlugin",(E=>{for(const N of Object.keys($)){const R=$[N];E.hooks.statsPreset.for(N).tap("DefaultStatsPresetPlugin",((E,N)=>{applyDefaults(E,R)}))}E.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((N,R)=>{for(const j of Object.keys(q)){if(N[j]===undefined)N[j]=q[j](N,R,E)}for(const E of Object.keys(G)){N[E]=G[E](N[E])}}))}))}}E.exports=DefaultStatsPresetPlugin},61762:(E,N,R)=>{"use strict";const plural=(E,N,R)=>E===1?N:R;const printSizes=(E,{formatSize:N=(E=>`${E}`)})=>{const R=Object.keys(E);if(R.length>1){return R.map((R=>`${N(E[R])} (${R})`)).join(" ")}else if(R.length===1){return N(E[R[0]])}};const mapLines=(E,N)=>E.split("\n").map(N).join("\n");const twoDigit=E=>E>=10?`${E}`:`0${E}`;const isValidId=E=>typeof E==="number"||E;const j={"compilation.summary!":(E,{type:N,bold:R,green:j,red:$,yellow:q,formatDateTime:G,formatTime:ie,compilation:{name:ae,hash:ce,version:le,time:_e,builtAt:Ee,errorsCount:Te,warningsCount:we}})=>{const Ie=N==="compilation.summary!";const Ne=we>0?q(`${we} ${plural(we,"warning","warnings")}`):"";const Me=Te>0?$(`${Te} ${plural(Te,"error","errors")}`):"";const Le=Ie&&_e?` in ${ie(_e)}`:"";const Be=ce?` (${ce})`:"";const je=Ie&&Ee?`${G(Ee)}: `:"";const Ue=Ie&&le?`webpack ${le}`:"";const ze=Ie&&ae?R(ae):ae?`Child ${R(ae)}`:Ie?"":"Child";const We=ze&&Ue?`${ze} (${Ue})`:Ue||ze||"webpack";let Je;if(Me&&Ne){Je=`compiled with ${Me} and ${Ne}`}else if(Me){Je=`compiled with ${Me}`}else if(Ne){Je=`compiled with ${Ne}`}else if(Te===0&&we===0){Je=`compiled ${j("successfully")}`}else{Je=`compiled`}if(je||Ue||Me||Ne||Te===0&&we===0||Le||Be)return`${je}${We} ${Je}${Le}${Be}`},"compilation.filteredWarningDetailsCount":E=>E?`${E} ${plural(E,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(E,{yellow:N})=>E?N(`${E} ${plural(E,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(E,{bold:N})=>E?`Environment (--env): ${N(JSON.stringify(E,null,2))}`:undefined,"compilation.publicPath":(E,{bold:N})=>`PublicPath: ${N(E||"(none)")}`,"compilation.entrypoints":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.values(E),{...N,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(E,N,R)=>{if(!Array.isArray(E)){const{compilation:{entrypoints:j}}=N;let $=Object.values(E);if(j){$=$.filter((E=>!Object.prototype.hasOwnProperty.call(j,E.name)))}return R.print(N.type,$,{...N,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"compilation.filteredAssets":(E,{compilation:{assets:N}})=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"compilation.logging":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.entries(E).map((([E,N])=>({...N,name:E}))),N),"compilation.warningsInChildren!":(E,{yellow:N,compilation:R})=>{if(!R.children&&R.warningsCount>0&&R.warnings){const E=R.warningsCount-R.warnings.length;if(E>0){return N(`${E} ${plural(E,"WARNING","WARNINGS")} in child compilations${R.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(E,{red:N,compilation:R})=>{if(!R.children&&R.errorsCount>0&&R.errors){const E=R.errorsCount-R.errors.length;if(E>0){return N(`${E} ${plural(E,"ERROR","ERRORS")} in child compilations${R.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":E=>E,"asset.name":(E,{formatFilename:N,asset:{isOverSizeLimit:R}})=>N(E,R),"asset.size":(E,{asset:{isOverSizeLimit:N},yellow:R,green:j,formatSize:$})=>N?R($(E)):$(E),"asset.emitted":(E,{green:N,formatFlag:R})=>E?N(R("emitted")):undefined,"asset.comparedForEmit":(E,{yellow:N,formatFlag:R})=>E?N(R("compared for emit")):undefined,"asset.cached":(E,{green:N,formatFlag:R})=>E?N(R("cached")):undefined,"asset.isOverSizeLimit":(E,{yellow:N,formatFlag:R})=>E?N(R("big")):undefined,"asset.info.immutable":(E,{green:N,formatFlag:R})=>E?N(R("immutable")):undefined,"asset.info.javascriptModule":(E,{formatFlag:N})=>E?N("javascript module"):undefined,"asset.info.sourceFilename":(E,{formatFlag:N})=>E?N(E===true?"from source file":`from: ${E}`):undefined,"asset.info.development":(E,{green:N,formatFlag:R})=>E?N(R("dev")):undefined,"asset.info.hotModuleReplacement":(E,{green:N,formatFlag:R})=>E?N(R("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(E,{asset:{related:N}})=>E>0?`${E} related ${plural(E,"asset","assets")}`:undefined,"asset.filteredChildren":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,assetChunk:(E,{formatChunkId:N})=>N(E),assetChunkName:E=>E,assetChunkIdHint:E=>E,"module.type":E=>E!=="module"?E:undefined,"module.id":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"module.name":(E,{bold:N})=>{const[,R,j]=/^(.*!)?([^!]*)$/.exec(E);return(R||"")+N(j)},"module.identifier":E=>undefined,"module.layer":(E,{formatLayer:N})=>E?N(E):undefined,"module.sizes":printSizes,"module.chunks[]":(E,{formatChunkId:N})=>N(E),"module.depth":(E,{formatFlag:N})=>E!==null?N(`depth ${E}`):undefined,"module.cacheable":(E,{formatFlag:N,red:R})=>E===false?R(N("not cacheable")):undefined,"module.orphan":(E,{formatFlag:N,yellow:R})=>E?R(N("orphan")):undefined,"module.runtime":(E,{formatFlag:N,yellow:R})=>E?R(N("runtime")):undefined,"module.optional":(E,{formatFlag:N,yellow:R})=>E?R(N("optional")):undefined,"module.dependent":(E,{formatFlag:N,cyan:R})=>E?R(N("dependent")):undefined,"module.built":(E,{formatFlag:N,yellow:R})=>E?R(N("built")):undefined,"module.codeGenerated":(E,{formatFlag:N,yellow:R})=>E?R(N("code generated")):undefined,"module.buildTimeExecuted":(E,{formatFlag:N,green:R})=>E?R(N("build time executed")):undefined,"module.cached":(E,{formatFlag:N,green:R})=>E?R(N("cached")):undefined,"module.assets":(E,{formatFlag:N,magenta:R})=>E&&E.length?R(N(`${E.length} ${plural(E.length,"asset","assets")}`)):undefined,"module.warnings":(E,{formatFlag:N,yellow:R})=>E===true?R(N("warnings")):E?R(N(`${E} ${plural(E,"warning","warnings")}`)):undefined,"module.errors":(E,{formatFlag:N,red:R})=>E===true?R(N("errors")):E?R(N(`${E} ${plural(E,"error","errors")}`)):undefined,"module.providedExports":(E,{formatFlag:N,cyan:R})=>{if(Array.isArray(E)){if(E.length===0)return R(N("no exports"));return R(N(`exports: ${E.join(", ")}`))}},"module.usedExports":(E,{formatFlag:N,cyan:R,module:j})=>{if(E!==true){if(E===null)return R(N("used exports unknown"));if(E===false)return R(N("module unused"));if(Array.isArray(E)){if(E.length===0)return R(N("no exports used"));const $=Array.isArray(j.providedExports)?j.providedExports.length:null;if($!==null&&$===E.length){return R(N("all exports used"))}else{return R(N(`only some exports used: ${E.join(", ")}`))}}}},"module.optimizationBailout[]":(E,{yellow:N})=>N(E),"module.issuerPath":(E,{module:N})=>N.profile?undefined:"","module.profile":E=>undefined,"module.filteredModules":E=>E>0?`${E} nested ${plural(E,"module","modules")}`:undefined,"module.filteredReasons":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.filteredChildren":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(E,{formatModuleId:N})=>N(E),"moduleIssuer.profile.total":(E,{formatTime:N})=>N(E),"moduleReason.type":E=>E,"moduleReason.userRequest":(E,{cyan:N})=>N(E),"moduleReason.moduleId":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"moduleReason.module":(E,{magenta:N})=>N(E),"moduleReason.loc":E=>E,"moduleReason.explanation":(E,{cyan:N})=>N(E),"moduleReason.active":(E,{formatFlag:N})=>E?undefined:N("inactive"),"moduleReason.resolvedModule":(E,{magenta:N})=>N(E),"moduleReason.filteredChildren":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.profile.total":(E,{formatTime:N})=>N(E),"module.profile.resolving":(E,{formatTime:N})=>`resolving: ${N(E)}`,"module.profile.restoring":(E,{formatTime:N})=>`restoring: ${N(E)}`,"module.profile.integration":(E,{formatTime:N})=>`integration: ${N(E)}`,"module.profile.building":(E,{formatTime:N})=>`building: ${N(E)}`,"module.profile.storing":(E,{formatTime:N})=>`storing: ${N(E)}`,"module.profile.additionalResolving":(E,{formatTime:N})=>E?`additional resolving: ${N(E)}`:undefined,"module.profile.additionalIntegration":(E,{formatTime:N})=>E?`additional integration: ${N(E)}`:undefined,"chunkGroup.kind!":(E,{chunkGroupKind:N})=>N,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(E,{bold:N})=>N(E),"chunkGroup.isOverSizeLimit":(E,{formatFlag:N,yellow:R})=>E?R(N("big")):undefined,"chunkGroup.assetsSize":(E,{formatSize:N})=>E?N(E):undefined,"chunkGroup.auxiliaryAssetsSize":(E,{formatSize:N})=>E?`(${N(E)})`:undefined,"chunkGroup.filteredAssets":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":E=>E>0?`${E} auxiliary ${plural(E,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(E,{green:N})=>N(E),"chunkGroupAsset.size":(E,{formatSize:N,chunkGroup:R})=>R.assets.length>1||R.auxiliaryAssets&&R.auxiliaryAssets.length>0?N(E):undefined,"chunkGroup.children":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.keys(E).map((N=>({type:N,children:E[N]}))),N),"chunkGroupChildGroup.type":E=>`${E}:`,"chunkGroupChild.assets[]":(E,{formatFilename:N})=>N(E),"chunkGroupChild.chunks[]":(E,{formatChunkId:N})=>N(E),"chunkGroupChild.name":E=>E?`(name: ${E})`:undefined,"chunk.id":(E,{formatChunkId:N})=>N(E),"chunk.files[]":(E,{formatFilename:N})=>N(E),"chunk.names[]":E=>E,"chunk.idHints[]":E=>E,"chunk.runtime[]":E=>E,"chunk.sizes":(E,N)=>printSizes(E,N),"chunk.parents[]":(E,N)=>N.formatChunkId(E,"parent"),"chunk.siblings[]":(E,N)=>N.formatChunkId(E,"sibling"),"chunk.children[]":(E,N)=>N.formatChunkId(E,"child"),"chunk.childrenByOrder":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.keys(E).map((N=>({type:N,children:E[N]}))),N),"chunk.childrenByOrder[].type":E=>`${E}:`,"chunk.childrenByOrder[].children[]":(E,{formatChunkId:N})=>isValidId(E)?N(E):undefined,"chunk.entry":(E,{formatFlag:N,yellow:R})=>E?R(N("entry")):undefined,"chunk.initial":(E,{formatFlag:N,yellow:R})=>E?R(N("initial")):undefined,"chunk.rendered":(E,{formatFlag:N,green:R})=>E?R(N("rendered")):undefined,"chunk.recorded":(E,{formatFlag:N,green:R})=>E?R(N("recorded")):undefined,"chunk.reason":(E,{yellow:N})=>E?N(E):undefined,"chunk.filteredModules":E=>E>0?`${E} chunk ${plural(E,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":E=>E,"chunkOrigin.moduleId":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"chunkOrigin.moduleName":(E,{bold:N})=>N(E),"chunkOrigin.loc":E=>E,"error.compilerPath":(E,{bold:N})=>E?N(`(${E})`):undefined,"error.chunkId":(E,{formatChunkId:N})=>isValidId(E)?N(E):undefined,"error.chunkEntry":(E,{formatFlag:N})=>E?N("entry"):undefined,"error.chunkInitial":(E,{formatFlag:N})=>E?N("initial"):undefined,"error.file":(E,{bold:N})=>N(E),"error.moduleName":(E,{bold:N})=>E.includes("!")?`${N(E.replace(/^(\s|\S)*!/,""))} (${E})`:`${N(E)}`,"error.loc":(E,{green:N})=>N(E),"error.message":(E,{bold:N,formatError:R})=>E.includes("[")?E:N(R(E)),"error.details":(E,{formatError:N})=>N(E),"error.stack":E=>E,"error.moduleTrace":E=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(E,{red:N})=>mapLines(E,(E=>`<e> ${N(E)}`)),"loggingEntry(warn).loggingEntry.message":(E,{yellow:N})=>mapLines(E,(E=>`<w> ${N(E)}`)),"loggingEntry(info).loggingEntry.message":(E,{green:N})=>mapLines(E,(E=>`<i> ${N(E)}`)),"loggingEntry(log).loggingEntry.message":(E,{bold:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(debug).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(trace).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(status).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`<s> ${N(E)}`)),"loggingEntry(profile).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`<p> ${N(E)}`)),"loggingEntry(profileEnd).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`</p> ${N(E)}`)),"loggingEntry(time).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`<t> ${N(E)}`)),"loggingEntry(group).loggingEntry.message":(E,{cyan:N})=>mapLines(E,(E=>`<-> ${N(E)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(E,{cyan:N})=>mapLines(E,(E=>`<+> ${N(E)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":E=>E?mapLines(E,(E=>`| ${E}`)):undefined,"moduleTraceItem.originName":E=>E,loggingGroup:E=>E.entries.length===0?"":undefined,"loggingGroup.debug":(E,{red:N})=>E?N("DEBUG"):undefined,"loggingGroup.name":(E,{bold:N})=>N(`LOG from ${E}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":E=>E>0?`+ ${E} hidden lines`:undefined,"moduleTraceDependency.loc":E=>E};const $={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":E=>`loggingEntry(${E.type}).loggingEntry`,"loggingEntry.children[]":E=>`loggingEntry(${E.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const G={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=E=>E.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=E=>E.length>0?`(${E.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=E=>E.filter(Boolean).join("\n\n");const itemsJoinComma=E=>E.filter(Boolean).join(", ");const itemsJoinCommaBrackets=E=>E.length>0?`(${E.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=E=>N=>N.length>0?`(${E}: ${N.filter(Boolean).join(", ")})`:undefined;const ie={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":E=>E.filter(Boolean).map((E=>`${E} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":E=>indent(itemsJoinMoreSpacing(E)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":E=>indent(E.filter(Boolean).join("\n")," ",false)};const joinOneLine=E=>E.map((E=>E.content)).filter(Boolean).join(" ");const joinInBrackets=E=>{const N=[];let R=0;for(const j of E){if(j.element==="separator!"){switch(R){case 0:case 1:R+=2;break;case 4:N.push(")");R=3;break}}if(!j.content)continue;switch(R){case 0:R=1;break;case 1:N.push(" ");break;case 2:N.push("(");R=4;break;case 3:N.push(" (");R=4;break;case 4:N.push(", ");break}N.push(j.content)}if(R===4)N.push(")");return N.join("")};const indent=(E,N,R)=>{const j=E.replace(/\n([^\n])/g,"\n"+N+"$1");if(R)return j;const $=E[0]==="\n"?"":N;return $+j};const joinExplicitNewLine=(E,N)=>{let R=true;let j=true;return E.map((E=>{if(!E||!E.content)return;let $=indent(E.content,j?"":N,!R);if(R){$=$.replace(/^\n+/,"")}if(!$)return;j=false;const q=R||$.startsWith("\n");R=$.endsWith("\n");return q?$:" "+$})).filter(Boolean).join("").trim()};const joinError=E=>(N,{red:R,yellow:j})=>`${E?R("ERROR"):j("WARNING")} in ${joinExplicitNewLine(N,"")}`;const ae={compilation:E=>{const N=[];let R=false;for(const j of E){if(!j.content)continue;const E=j.element==="warnings"||j.element==="filteredWarningDetailsCount"||j.element==="errors"||j.element==="filteredErrorDetailsCount"||j.element==="logging";if(N.length!==0){N.push(E||R?"\n\n":"\n")}N.push(j.content);R=E}if(R)N.push("\n");return N.join("")},asset:E=>joinExplicitNewLine(E.map((E=>{if((E.element==="related"||E.element==="children")&&E.content){return{...E,content:`\n${E.content}\n`}}return E}))," "),"asset.info":joinOneLine,module:(E,{module:N})=>{let R=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"id":if(N.id===N.name){if(R)return false;if(E.content)R=true}break;case"name":if(R)return false;if(E.content)R=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},chunk:E=>{let N=false;return"chunk "+joinExplicitNewLine(E.filter((E=>{switch(E.element){case"entry":if(E.content)N=true;break;case"initial":if(N)return false;break}return true}))," ")},"chunk.childrenByOrder[]":E=>`(${joinOneLine(E)})`,chunkGroup:E=>joinExplicitNewLine(E," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(E,{moduleReason:N})=>{let R=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"moduleId":if(N.moduleId===N.module&&E.content)R=true;break;case"module":if(R)return false;break;case"resolvedModule":if(N.module===N.resolvedModule)return false;break;case"children":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:E=>"> "+joinOneLine(E),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:E=>joinExplicitNewLine(E,"").trimRight(),moduleTraceItem:E=>" @ "+joinOneLine(E),moduleTraceDependency:joinOneLine};const ce={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const le={formatChunkId:(E,{yellow:N},R)=>{switch(R){case"parent":return`<{${N(E)}}>`;case"sibling":return`={${N(E)}}=`;case"child":return`>{${N(E)}}<`;default:return`{${N(E)}}`}},formatModuleId:E=>`[${E}]`,formatFilename:(E,{green:N,yellow:R},j)=>(j?R:N)(E),formatFlag:E=>`[${E}]`,formatLayer:E=>`(in ${E})`,formatSize:R(9192).formatSize,formatDateTime:(E,{bold:N})=>{const R=new Date(E);const j=twoDigit;const $=`${R.getFullYear()}-${j(R.getMonth()+1)}-${j(R.getDate())}`;const q=`${j(R.getHours())}:${j(R.getMinutes())}:${j(R.getSeconds())}`;return`${$} ${N(q)}`},formatTime:(E,{timeReference:N,bold:R,green:j,yellow:$,red:q},G)=>{const ie=" ms";if(N&&E!==N){const G=[N/2,N/4,N/8,N/16];if(E<G[3])return`${E}${ie}`;else if(E<G[2])return R(`${E}${ie}`);else if(E<G[1])return j(`${E}${ie}`);else if(E<G[0])return $(`${E}${ie}`);else return q(`${E}${ie}`)}else{return`${G?R(E):E}${ie}`}},formatError:(E,{green:N,yellow:R,red:j})=>{if(E.includes("["))return E;const $=[{regExp:/(Did you mean .+)/g,format:N},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:N},{regExp:/(\(module has no exports\))/g,format:j},{regExp:/\(possible exports: (.+)\)/g,format:N},{regExp:/\s*(.+ doesn't exist)/g,format:j},{regExp:/('\w+' option has not been set)/g,format:j},{regExp:/(Emitted value instead of an instance of Error)/g,format:R},{regExp:/(Used? .+ instead)/gi,format:R},{regExp:/\b(deprecated|must|required)\b/g,format:R},{regExp:/\b(BREAKING CHANGE)\b/gi,format:j},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:j}];for(const{regExp:N,format:R}of $){E=E.replace(N,((E,N)=>E.replace(N,R(N))))}return E}};const _e={"module.modules":E=>indent(E,"| ")};const createOrder=(E,N)=>{const R=E.slice();const j=new Set(E);const $=new Set;E.length=0;for(const R of N){if(R.endsWith("!")||j.has(R)){E.push(R);$.add(R)}}for(const N of R){if(!$.has(N)){E.push(N)}}return E};class DefaultStatsPrinterPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPrinterPlugin",(E=>{E.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((E,N,R)=>{E.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((E,R)=>{for(const E of Object.keys(ce)){let j;if(N.colors){if(typeof N.colors==="object"&&typeof N.colors[E]==="string"){j=N.colors[E]}else{j=ce[E]}}if(j){R[E]=E=>`${j}${typeof E==="string"?E.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${j}`):E}`}else{R[E]=E=>E}}for(const E of Object.keys(le)){R[E]=(N,...j)=>le[E](N,R,...j)}R.timeReference=E.time}));for(const N of Object.keys(j)){E.hooks.print.for(N).tap("DefaultStatsPrinterPlugin",((R,$)=>j[N](R,$,E)))}for(const N of Object.keys(G)){const R=G[N];E.hooks.sortElements.for(N).tap("DefaultStatsPrinterPlugin",((E,N)=>{createOrder(E,R)}))}for(const N of Object.keys($)){const R=$[N];E.hooks.getItemName.for(N).tap("DefaultStatsPrinterPlugin",typeof R==="string"?()=>R:R)}for(const N of Object.keys(ie)){const R=ie[N];E.hooks.printItems.for(N).tap("DefaultStatsPrinterPlugin",R)}for(const N of Object.keys(ae)){const R=ae[N];E.hooks.printElements.for(N).tap("DefaultStatsPrinterPlugin",R)}for(const N of Object.keys(_e)){const R=_e[N];E.hooks.result.for(N).tap("DefaultStatsPrinterPlugin",R)}}))}))}}E.exports=DefaultStatsPrinterPlugin},87279:(E,N,R)=>{"use strict";const{HookMap:j,SyncBailHook:$,SyncWaterfallHook:q}=R(92960);const{concatComparators:G,keepOriginalOrder:ie}=R(68673);const ae=R(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new j((()=>new $(["object","data","context"]))),filter:new j((()=>new $(["item","context","index","unfilteredIndex"]))),sort:new j((()=>new $(["comparators","context"]))),filterSorted:new j((()=>new $(["item","context","index","unfilteredIndex"]))),groupResults:new j((()=>new $(["groupConfigs","context"]))),sortResults:new j((()=>new $(["comparators","context"]))),filterResults:new j((()=>new $(["item","context","index","unfilteredIndex"]))),merge:new j((()=>new $(["items","context"]))),result:new j((()=>new q(["result","context"]))),getItemName:new j((()=>new $(["item","context"]))),getItemFactory:new j((()=>new $(["item","context"])))});const E=this.hooks;this._caches={};for(const N of Object.keys(E)){this._caches[N]=new Map}this._inCreate=false}_getAllLevelHooks(E,N,R){const j=N.get(R);if(j!==undefined){return j}const $=[];const q=R.split(".");for(let N=0;N<q.length;N++){const R=E.get(q.slice(N).join("."));if(R){$.push(R)}}N.set(R,$);return $}_forEachLevel(E,N,R,j){for(const $ of this._getAllLevelHooks(E,N,R)){const E=j($);if(E!==undefined)return E}}_forEachLevelWaterfall(E,N,R,j,$){for(const q of this._getAllLevelHooks(E,N,R)){j=$(q,j)}return j}_forEachLevelFilter(E,N,R,j,$,q){const G=this._getAllLevelHooks(E,N,R);if(G.length===0)return q?j.slice():j;let ie=0;return j.filter(((E,N)=>{for(const R of G){const j=$(R,E,N,ie);if(j!==undefined){if(j)ie++;return j}}ie++;return true}))}create(E,N,R){if(this._inCreate){return this._create(E,N,R)}else{try{this._inCreate=true;return this._create(E,N,R)}finally{for(const E of Object.keys(this._caches))this._caches[E].clear();this._inCreate=false}}}_create(E,N,R){const j={...R,type:E,[E]:N};if(Array.isArray(N)){const R=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,E,N,((E,N,R,$)=>E.call(N,j,R,$)),true);const $=[];this._forEachLevel(this.hooks.sort,this._caches.sort,E,(E=>E.call($,j)));if($.length>0){R.sort(G(...$,ie(R)))}const q=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,E,R,((E,N,R,$)=>E.call(N,j,R,$)),false);let ce=q.map(((N,R)=>{const $={...j,_index:R};const q=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${E}[]`,(E=>E.call(N,$)));if(q)$[q]=N;const G=q?`${E}[].${q}`:`${E}[]`;const ie=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,G,(E=>E.call(N,$)))||this;return ie.create(G,N,$)}));const le=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,E,(E=>E.call(le,j)));if(le.length>0){ce.sort(G(...le,ie(ce)))}const _e=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,E,(E=>E.call(_e,j)));if(_e.length>0){ce=ae(ce,_e)}const Ee=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,E,ce,((E,N,R,$)=>E.call(N,j,R,$)),false);let Te=this._forEachLevel(this.hooks.merge,this._caches.merge,E,(E=>E.call(Ee,j)));if(Te===undefined)Te=Ee;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,Te,((E,N)=>E.call(N,j)))}else{const R={};this._forEachLevel(this.hooks.extract,this._caches.extract,E,(E=>E.call(R,N,j)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,R,((E,N)=>E.call(N,j)))}}}E.exports=StatsFactory},30533:(E,N,R)=>{"use strict";const{HookMap:j,SyncWaterfallHook:$,SyncBailHook:q}=R(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new j((()=>new q(["elements","context"]))),printElements:new j((()=>new q(["printedElements","context"]))),sortItems:new j((()=>new q(["items","context"]))),getItemName:new j((()=>new q(["item","context"]))),printItems:new j((()=>new q(["printedItems","context"]))),print:new j((()=>new q(["object","context"]))),result:new j((()=>new $(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(E,N){let R=this._levelHookCache.get(E);if(R===undefined){R=new Map;this._levelHookCache.set(E,R)}const j=R.get(N);if(j!==undefined){return j}const $=[];const q=N.split(".");for(let N=0;N<q.length;N++){const R=E.get(q.slice(N).join("."));if(R){$.push(R)}}R.set(N,$);return $}_forEachLevel(E,N,R){for(const j of this._getAllLevelHooks(E,N)){const E=R(j);if(E!==undefined)return E}}_forEachLevelWaterfall(E,N,R,j){for(const $ of this._getAllLevelHooks(E,N)){R=j($,R)}return R}print(E,N,R){if(this._inPrint){return this._print(E,N,R)}else{try{this._inPrint=true;return this._print(E,N,R)}finally{this._levelHookCache.clear();this._inPrint=false}}}_print(E,N,R){const j={...R,type:E,[E]:N};let $=this._forEachLevel(this.hooks.print,E,(E=>E.call(N,j)));if($===undefined){if(Array.isArray(N)){const R=N.slice();this._forEachLevel(this.hooks.sortItems,E,(E=>E.call(R,j)));const q=R.map(((N,R)=>{const $={...j,_index:R};const q=this._forEachLevel(this.hooks.getItemName,`${E}[]`,(E=>E.call(N,$)));if(q)$[q]=N;return this.print(q?`${E}[].${q}`:`${E}[]`,N,$)}));$=this._forEachLevel(this.hooks.printItems,E,(E=>E.call(q,j)));if($===undefined){const E=q.filter(Boolean);if(E.length>0)$=E.join("\n")}}else if(N!==null&&typeof N==="object"){const R=Object.keys(N).filter((E=>N[E]!==undefined));this._forEachLevel(this.hooks.sortElements,E,(E=>E.call(R,j)));const q=R.map((R=>{const $=this.print(`${E}.${R}`,N[R],{...j,_parent:N,_element:R,[R]:N[R]});return{element:R,content:$}}));$=this._forEachLevel(this.hooks.printElements,E,(E=>E.call(q,j)));if($===undefined){const E=q.map((E=>E.content)).filter(Boolean);if(E.length>0)$=E.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,E,$,((E,N)=>E.call(N,j)))}}E.exports=StatsPrinter},73910:(E,N)=>{"use strict";N.equals=(E,N)=>{if(E.length!==N.length)return false;for(let R=0;R<E.length;R++){if(E[R]!==N[R])return false}return true}},56561:E=>{"use strict";class ArrayQueue{constructor(E){this._list=E?Array.from(E):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(E){this._list.push(E)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const E=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=E}return this._listReversed.pop()}delete(E){const N=this._list.indexOf(E);if(N>=0){this._list.splice(N,1)}else{const N=this._listReversed.indexOf(E);if(N>=0)this._listReversed.splice(N,1)}}[Symbol.iterator](){let E=-1;let N=false;return{next:()=>{if(!N){E++;if(E<this._list.length){return{done:false,value:this._list[E]}}N=true;E=this._listReversed.length}E--;if(E<0){return{done:true,value:undefined}}return{done:false,value:this._listReversed[E]}}}}}E.exports=ArrayQueue},9738:(E,N,R)=>{"use strict";const{SyncHook:j,AsyncSeriesHook:$}=R(92960);const{makeWebpackError:q}=R(3728);const G=R(81627);const ie=R(56561);const ae=0;const ce=1;const le=2;let _e=0;class AsyncQueueEntry{constructor(E,N){this.item=E;this.state=ae;this.callback=N;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:E,parallelism:N,parent:R,processor:q,getKey:G}){this._name=E;this._parallelism=N||1;this._processor=q;this._getKey=G||(E=>E);this._entries=new Map;this._queued=new ie;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=R?R._root:this;if(R){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new $(["item"]),added:new j(["item"]),beforeStart:new $(["item"]),started:new j(["item"]),result:new j(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(E,N){if(this._stopped)return N(new G("Queue was stopped"));this.hooks.beforeAdd.callAsync(E,(R=>{if(R){N(q(R,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const j=this._getKey(E);const $=this._entries.get(j);if($!==undefined){if($.state===le){if(_e++>3){process.nextTick((()=>N($.error,$.result)))}else{N($.error,$.result)}_e--}else if($.callbacks===undefined){$.callbacks=[N]}else{$.callbacks.push(N)}return}const ie=new AsyncQueueEntry(E,N);if(this._stopped){this.hooks.added.call(E);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ie,new G("Queue was stopped"))))}else{this._entries.set(j,ie);this._queued.enqueue(ie);const N=this._root;N._needProcessing=true;if(N._willEnsureProcessing===false){N._willEnsureProcessing=true;setImmediate(N._ensureProcessing)}this.hooks.added.call(E)}}))}invalidate(E){const N=this._getKey(E);const R=this._entries.get(N);this._entries.delete(N);if(R.state===ae){this._queued.delete(R)}}waitFor(E,N){const R=this._getKey(E);const j=this._entries.get(R);if(j===undefined){return N(new G("waitFor can only be called for an already started item"))}if(j.state===le){process.nextTick((()=>N(j.error,j.result)))}else if(j.callbacks===undefined){j.callbacks=[N]}else{j.callbacks.push(N)}}stop(){this._stopped=true;const E=this._queued;this._queued=new ie;const N=this._root;for(const R of E){this._entries.delete(this._getKey(R.item));N._activeTasks++;this._handleResult(R,new G("Queue was stopped"))}}increaseParallelism(){const E=this._root;E._parallelism++;if(E._willEnsureProcessing===false&&E._needProcessing){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}}decreaseParallelism(){const E=this._root;E._parallelism--}isProcessing(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===ce}isQueued(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===ae}isDone(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===le}_ensureProcessing(){while(this._activeTasks<this._parallelism){const E=this._queued.dequeue();if(E===undefined)break;this._activeTasks++;E.state=ce;this._startProcessing(E)}this._willEnsureProcessing=false;if(this._queued.length>0)return;if(this._children!==undefined){for(const E of this._children){while(this._activeTasks<this._parallelism){const N=E._queued.dequeue();if(N===undefined)break;this._activeTasks++;N.state=ce;E._startProcessing(N)}if(E._queued.length>0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(E){this.hooks.beforeStart.callAsync(E.item,(N=>{if(N){this._handleResult(E,q(N,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let R=false;try{this._processor(E.item,((N,j)=>{R=true;this._handleResult(E,N,j)}))}catch(N){if(R)throw N;this._handleResult(E,N,null)}this.hooks.started.call(E.item)}))}_handleResult(E,N,R){this.hooks.result.callAsync(E.item,N,R,(j=>{const $=j?q(j,`AsyncQueue(${this._name}).hooks.result`):N;const G=E.callback;const ie=E.callbacks;E.state=le;E.callback=undefined;E.callbacks=undefined;E.result=R;E.error=$;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(_e++>3){process.nextTick((()=>{G($,R);if(ie!==undefined){for(const E of ie){E($,R)}}}))}else{G($,R);if(ie!==undefined){for(const E of ie){E($,R)}}}_e--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}E.exports=AsyncQueue},75066:(E,N,R)=>{"use strict";class Hash{update(E,N){const j=R(75884);throw new j}digest(E){const N=R(75884);throw new N}}E.exports=Hash},11539:(E,N)=>{"use strict";const last=E=>{let N;for(const R of E)N=R;return N};const someInIterable=(E,N)=>{for(const R of E){if(N(R))return true}return false};const countIterable=E=>{let N=0;for(const R of E)N++;return N};N.last=last;N.someInIterable=someInIterable;N.countIterable=countIterable},37496:(E,N,R)=>{"use strict";const{first:j}=R(26221);const $=R(16102);class LazyBucketSortedSet{constructor(E,N,...R){this._getKey=E;this._innerArgs=R;this._leaf=R.length<=1;this._keys=new $(undefined,N);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(E){this.size++;this._unsortedItems.add(E)}_addInternal(E,N){let R=this._map.get(E);if(R===undefined){R=this._leaf?new $(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(E);this._map.set(E,R)}R.add(N)}delete(E){this.size--;if(this._unsortedItems.has(E)){this._unsortedItems.delete(E);return}const N=this._getKey(E);const R=this._map.get(N);R.delete(E);if(R.size===0){this._deleteKey(N)}}_deleteKey(E){this._keys.delete(E);this._map.delete(E)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const E of this._unsortedItems){const N=this._getKey(E);this._addInternal(N,E)}this._unsortedItems.clear()}this._keys.sort();const E=j(this._keys);const N=this._map.get(E);if(this._leaf){const R=N;R.sort();const $=j(R);R.delete($);if(R.size===0){this._deleteKey(E)}return $}else{const R=N;const j=R.popFirst();if(R.size===0){this._deleteKey(E)}return j}}startUpdate(E){if(this._unsortedItems.has(E)){return N=>{if(N){this._unsortedItems.delete(E);this.size--;return}}}const N=this._getKey(E);if(this._leaf){const R=this._map.get(N);return j=>{if(j){this.size--;R.delete(E);if(R.size===0){this._deleteKey(N)}return}const $=this._getKey(E);if(N===$){R.add(E)}else{R.delete(E);if(R.size===0){this._deleteKey(N)}this._addInternal($,E)}}}else{const R=this._map.get(N);const j=R.startUpdate(E);return $=>{if($){this.size--;j(true);if(R.size===0){this._deleteKey(N)}return}const q=this._getKey(E);if(N===q){j()}else{j(true);if(R.size===0){this._deleteKey(N)}this._addInternal(q,E)}}}}_appendIterators(E){if(this._unsortedItems.size>0)E.push(this._unsortedItems[Symbol.iterator]());for(const N of this._keys){const R=this._map.get(N);if(this._leaf){const N=R;const j=N[Symbol.iterator]();E.push(j)}else{const N=R;N._appendIterators(E)}}}[Symbol.iterator](){const E=[];this._appendIterators(E);E.reverse();let N=E.pop();return{next:()=>{const R=N.next();if(R.done){if(E.length===0)return R;N=E.pop();return N.next()}return R}}}}E.exports=LazyBucketSortedSet},83379:(E,N,R)=>{"use strict";const j=R(56202);const merge=(E,N)=>{for(const R of N){for(const N of R){E.add(N)}}};const flatten=(E,N)=>{for(const R of N){if(R._set.size>0)E.add(R._set);if(R._needMerge){for(const N of R._toMerge){E.add(N)}flatten(E,R._toDeepMerge)}}};class LazySet{constructor(E){this._set=new Set(E);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(E){this._set.add(E);return this}addAll(E){if(this._deopt){const N=this._set;for(const R of E){N.add(R)}}else{if(E instanceof LazySet){if(E._isEmpty())return this;this._toDeepMerge.push(E);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(E);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(E){if(this._needMerge)this._merge();return this._set.delete(E)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(E,N){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(E,N)}has(E){if(this._needMerge)this._merge();return this._set.has(E)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:E}){if(this._needMerge)this._merge();E(this._set.size);for(const N of this._set)E(N)}static deserialize({read:E}){const N=E();const R=[];for(let j=0;j<N;j++){R.push(E())}return new LazySet(R)}}j(LazySet,"webpack/lib/util/LazySet");E.exports=LazySet},67585:(E,N)=>{"use strict";N.provide=(E,N,R)=>{const j=E.get(N);if(j!==undefined)return j;const $=R();E.set(N,$);return $}},382:(E,N,R)=>{"use strict";const j=R(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(E,N,R){if(E===N)return R(1);this._rangePoints.push(E);this._rangePoints.push(N);this._rangeCallbacks.push(R)}calculate(){const E=Array.from(new Set(this._rangePoints)).sort(((E,N)=>E<N?-1:1));const N=E.map((()=>0));const R=[];for(let $=0;$<this._rangePoints.length;$+=2){const q=this._rangePoints[$];const G=this._rangePoints[$+1];let ie=j.eq(E,q);R.push(ie);do{N[ie]++;ie++}while(E[ie]<G)}for(let j=0;j<this._rangeCallbacks.length;j++){const $=this._rangePoints[j*2];const q=this._rangePoints[j*2+1];let G=R[j];let ie=0;let ae=0;let ce=$;do{const R=N[G];G++;const j=E[G]-ce;ae+=j;ce=E[G];ie+=R*j}while(ce<q);this._rangeCallbacks[j](ie/ae)}}}E.exports=ParallelismFactorCalculator},39541:E=>{"use strict";class Queue{constructor(E){this._set=new Set(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(E){this._set.add(E)}dequeue(){const E=this._iterator.next();if(E.done)return undefined;this._set.delete(E.value);return E.value}}E.exports=Queue},26221:(E,N)=>{"use strict";const intersect=E=>{if(E.length===0)return new Set;if(E.length===1)return new Set(E[0]);let N=Infinity;let R=-1;for(let j=0;j<E.length;j++){const $=E[j].size;if($<N){R=j;N=$}}const j=new Set(E[R]);for(let N=0;N<E.length;N++){if(N===R)continue;const $=E[N];for(const E of j){if(!$.has(E)){j.delete(E)}}}return j};const isSubset=(E,N)=>{if(E.size<N.size)return false;for(const R of N){if(!E.has(R))return false}return true};const find=(E,N)=>{for(const R of E){if(N(R))return R}};const first=E=>{const N=E.values().next();return N.done?undefined:N.value};const combine=(E,N)=>{if(N.size===0)return E;if(E.size===0)return N;const R=new Set(E);for(const E of N)R.add(E);return R};N.intersect=intersect;N.isSubset=isSubset;N.find=find;N.first=first;N.combine=combine},16102:E=>{"use strict";const N=Symbol("not sorted");class SortableSet extends Set{constructor(E,R){super(E);this._sortFn=R;this._lastActiveSortFn=N;this._cache=undefined;this._cacheOrderIndependent=undefined}add(E){this._lastActiveSortFn=N;this._invalidateCache();this._invalidateOrderedCache();super.add(E);return this}delete(E){this._invalidateCache();this._invalidateOrderedCache();return super.delete(E)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(E){if(this.size<=1||E===this._lastActiveSortFn){return}const N=Array.from(this).sort(E);super.clear();for(let E=0;E<N.length;E+=1){super.add(N[E])}this._lastActiveSortFn=E;this._invalidateCache()}sort(){this.sortWith(this._sortFn);return this}getFromCache(E){if(this._cache===undefined){this._cache=new Map}else{const N=this._cache.get(E);const R=N;if(R!==undefined){return R}}const N=E(this);this._cache.set(E,N);return N}getFromUnorderedCache(E){if(this._cacheOrderIndependent===undefined){this._cacheOrderIndependent=new Map}else{const N=this._cacheOrderIndependent.get(E);const R=N;if(R!==undefined){return R}}const N=E(this);this._cacheOrderIndependent.set(E,N);return N}_invalidateCache(){if(this._cache!==undefined){this._cache.clear()}}_invalidateOrderedCache(){if(this._cacheOrderIndependent!==undefined){this._cacheOrderIndependent.clear()}}toJSON(){return Array.from(this)}}E.exports=SortableSet},37269:E=>{"use strict";class StackedCacheMap{constructor(){this.map=new Map;this.stack=[]}addAll(E,N){if(N){this.stack.push(E);for(let N=this.stack.length-1;N>0;N--){const R=this.stack[N-1];if(R.size>=E.size)break;this.stack[N]=R;this.stack[N-1]=E}}else{for(const[N,R]of E){this.map.set(N,R)}}}set(E,N){this.map.set(E,N)}delete(E){throw new Error("Items can't be deleted from a StackedCacheMap")}has(E){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(E){for(const N of this.stack){const R=N.get(E);if(R!==undefined)return R}return this.map.get(E)}clear(){this.stack.length=0;this.map.clear()}get size(){let E=this.map.size;for(const N of this.stack){E+=N.size}return E}[Symbol.iterator](){const E=this.stack.map((E=>E[Symbol.iterator]()));let N=this.map[Symbol.iterator]();return{next(){let R=N.next();while(R.done&&E.length>0){N=E.pop();R=N.next()}return R}}}}E.exports=StackedCacheMap},80371:E=>{"use strict";const N=Symbol("tombstone");const R=Symbol("undefined");const extractPair=E=>{const j=E[0];const $=E[1];if($===R||$===N){return[j,undefined]}else{return E}};class StackedMap{constructor(E){this.map=new Map;this.stack=E===undefined?[]:E.slice();this.stack.push(this.map)}set(E,N){this.map.set(E,N===undefined?R:N)}delete(E){if(this.stack.length>1){this.map.set(E,N)}else{this.map.delete(E)}}has(E){const R=this.map.get(E);if(R!==undefined){return R!==N}if(this.stack.length>1){for(let R=this.stack.length-2;R>=0;R--){const j=this.stack[R].get(E);if(j!==undefined){this.map.set(E,j);return j!==N}}this.map.set(E,N)}return false}get(E){const j=this.map.get(E);if(j!==undefined){return j===N||j===R?undefined:j}if(this.stack.length>1){for(let j=this.stack.length-2;j>=0;j--){const $=this.stack[j].get(E);if($!==undefined){this.map.set(E,$);return $===N||$===R?undefined:$}}this.map.set(E,N)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const E of this.stack){for(const R of E){if(R[1]===N){this.map.delete(R[0])}else{this.map.set(R[0],R[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}E.exports=StackedMap},14146:E=>{"use strict";class StringXor{constructor(){this._value=undefined}add(E){const N=E.length;const R=this._value;if(R===undefined){const R=this._value=Buffer.allocUnsafe(N);for(let j=0;j<N;j++){R[j]=E.charCodeAt(j)}return}const j=R.length;if(j<N){const $=this._value=Buffer.allocUnsafe(N);let q;for(q=0;q<j;q++){$[q]=R[q]^E.charCodeAt(q)}for(;q<N;q++){$[q]=E.charCodeAt(q)}}else{for(let j=0;j<N;j++){R[j]=R[j]^E.charCodeAt(j)}}}toString(){const E=this._value;return E===undefined?"":E.toString("latin1")}updateHash(E){const N=this._value;if(N!==undefined)E.update(N)}}E.exports=StringXor},34194:(E,N,R)=>{"use strict";const j=R(86949);class TupleQueue{constructor(E){this._set=new j(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...E){this._set.add(...E)}dequeue(){const E=this._iterator.next();if(E.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const E=this._iterator.next().value;this._set.delete(...E);return E}return undefined}this._set.delete(...E.value);return E.value}}E.exports=TupleQueue},86949:E=>{"use strict";class TupleSet{constructor(E){this._map=new Map;this.size=0;if(E){for(const N of E){this.add(...N)}}}add(...E){let N=this._map;for(let R=0;R<E.length-2;R++){const j=E[R];const $=N.get(j);if($===undefined){N.set(j,N=new Map)}else{N=$}}const R=E[E.length-2];let j=N.get(R);if(j===undefined){N.set(R,j=new Set)}const $=E[E.length-1];this.size-=j.size;j.add($);this.size+=j.size}has(...E){let N=this._map;for(let R=0;R<E.length-2;R++){const j=E[R];N=N.get(j);if(N===undefined){return false}}const R=E[E.length-2];let j=N.get(R);if(j===undefined){return false}const $=E[E.length-1];return j.has($)}delete(...E){let N=this._map;for(let R=0;R<E.length-2;R++){const j=E[R];N=N.get(j);if(N===undefined){return}}const R=E[E.length-2];let j=N.get(R);if(j===undefined){return}const $=E[E.length-1];this.size-=j.size;j.delete($);this.size+=j.size}[Symbol.iterator](){const E=[];const N=[];let R=undefined;const next=j=>{const $=j.next();if($.done){if(E.length===0)return false;N.pop();return next(E.pop())}const[q,G]=$.value;E.push(j);N.push(q);if(G instanceof Set){R=G[Symbol.iterator]();return true}else{return next(G[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(R){const j=R.next();if(j.done){N.pop();if(!next(E.pop())){R=undefined}}else{return{done:false,value:N.concat(j.value)}}}return{done:true,value:undefined}}}}}E.exports=TupleSet},45754:(E,N)=>{"use strict";const R="\\".charCodeAt(0);const j="/".charCodeAt(0);const $="a".charCodeAt(0);const q="z".charCodeAt(0);const G="A".charCodeAt(0);const ie="Z".charCodeAt(0);const ae="0".charCodeAt(0);const ce="9".charCodeAt(0);const le="+".charCodeAt(0);const _e="-".charCodeAt(0);const Ee=":".charCodeAt(0);const Te="#".charCodeAt(0);const we="?".charCodeAt(0);function getScheme(E){const N=E.charCodeAt(0);if((N<$||N>q)&&(N<G||N>ie)){return undefined}let Ie=1;let Ne=E.charCodeAt(Ie);while(Ne>=$&&Ne<=q||Ne>=G&&Ne<=ie||Ne>=ae&&Ne<=ce||Ne===le||Ne===_e){if(++Ie===E.length)return undefined;Ne=E.charCodeAt(Ie)}if(Ne!==Ee)return undefined;if(Ie===1){const N=Ie+1<E.length?E.charCodeAt(Ie+1):0;if(N===0||N===R||N===j||N===Te||N===we){return undefined}}return E.slice(0,Ie).toLowerCase()}function getProtocol(E){const N=getScheme(E);return N===undefined?undefined:N+":"}N.getScheme=getScheme;N.getProtocol=getProtocol},4396:E=>{"use strict";const isWeakKey=E=>typeof E==="object"&&E!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...E){let N=this;for(let R=0;R<E.length-1;R++){N=N._get(E[R])}N._setValue(E[E.length-1])}has(...E){let N=this;for(let R=0;R<E.length;R++){N=N._peek(E[R]);if(N===undefined)return false}return N._hasValue()}get(...E){let N=this;for(let R=0;R<E.length;R++){N=N._peek(E[R]);if(N===undefined)return undefined}return N._getValue()}provide(...E){let N=this;for(let R=0;R<E.length-1;R++){N=N._get(E[R])}if(N._hasValue())return N._getValue();const R=E[E.length-1];const j=R(...E.slice(0,-1));N._setValue(j);return j}delete(...E){let N=this;for(let R=0;R<E.length;R++){N=N._peek(E[R]);if(N===undefined)return}N._deleteValue()}clear(){this.f=0;this.v=undefined;this.w=undefined;this.m=undefined}_getValue(){return this.v}_hasValue(){return(this.f&1)===1}_setValue(E){this.f|=1;this.v=E}_deleteValue(){this.f&=6;this.v=undefined}_peek(E){if(isWeakKey(E)){if((this.f&4)!==4)return undefined;return this.w.get(E)}else{if((this.f&2)!==2)return undefined;return this.m.get(E)}}_get(E){if(isWeakKey(E)){if((this.f&4)!==4){const N=new WeakMap;this.f|=4;const R=new WeakTupleMap;(this.w=N).set(E,R);return R}const N=this.w.get(E);if(N!==undefined){return N}const R=new WeakTupleMap;this.w.set(E,R);return R}else{if((this.f&2)!==2){const N=new Map;this.f|=2;const R=new WeakTupleMap;(this.m=N).set(E,R);return R}const N=this.m.get(E);if(N!==undefined){return N}const R=new WeakTupleMap;this.m.set(E,R);return R}}}E.exports=WeakTupleMap},31017:E=>{"use strict";const compileSearch=(E,N,R,j,$)=>{const q=["function ",E,"(a,l,h,",j.join(","),"){",$?"":"var i=",R?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if($){if(N.indexOf("c")<0){q.push(";if(x===y){return m}else if(x<=y){")}else{q.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{q.push(";if(",N,"){i=m;")}if(R){q.push("l=m+1}else{h=m-1}")}else{q.push("h=m-1}else{l=m+1}")}q.push("}");if($){q.push("return -1};")}else{q.push("return i};")}return q.join("")};const compileBoundsSearch=(E,N,R,j)=>{const $=compileSearch("A","x"+E+"y",N,["y"],j);const q=compileSearch("P","c(x,y)"+E+"0",N,["y","c"],j);const G="function dispatchBinarySearch";const ie="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[$,q,G,R,ie,R];const ce=ae.join("");const le=new Function(ce);return le()};E.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(E,N)=>{"use strict";const R=new WeakMap;const j=new WeakMap;const $=Symbol("DELETE");const q=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(E,N)=>{if(N===undefined)return E;if(E===undefined)return N;if(typeof N!=="object"||N===null)return N;if(typeof E!=="object"||E===null)return E;let j=R.get(E);if(j===undefined){j=new WeakMap;R.set(E,j)}const $=j.get(N);if($!==undefined)return $;const q=_cleverMerge(E,N,true);j.set(N,q);return q};const cachedSetProperty=(E,N,R)=>{let $=j.get(E);if($===undefined){$=new Map;j.set(E,$)}let q=$.get(N);if(q===undefined){q=new Map;$.set(N,q)}let G=q.get(R);if(G)return G;G={...E,[N]:R};q.set(R,G);return G};const G=new WeakMap;const cachedParseObject=E=>{const N=G.get(E);if(N!==undefined)return N;const R=parseObject(E);G.set(E,R);return R};const parseObject=E=>{const N=new Map;let R;const getInfo=E=>{const R=N.get(E);if(R!==undefined)return R;const j={base:undefined,byProperty:undefined,byValues:undefined};N.set(E,j);return j};for(const N of Object.keys(E)){if(N.startsWith("by")){const j=N;const $=E[j];if(typeof $==="object"){for(const E of Object.keys($)){const N=$[E];for(const R of Object.keys(N)){const q=getInfo(R);if(q.byProperty===undefined){q.byProperty=j;q.byValues=new Map}else if(q.byProperty!==j){throw new Error(`${j} and ${q.byProperty} for a single property is not supported`)}q.byValues.set(E,N[R]);if(E==="default"){for(const E of Object.keys($)){if(!q.byValues.has(E))q.byValues.set(E,undefined)}}}}}else if(typeof $==="function"){if(R===undefined){R={byProperty:N,fn:$}}else{throw new Error(`${N} and ${R.byProperty} when both are functions is not supported`)}}else{const R=getInfo(N);R.base=E[N]}}else{const R=getInfo(N);R.base=E[N]}}return{static:N,dynamic:R}};const serializeObject=(E,N)=>{const R={};for(const N of E.values()){if(N.byProperty!==undefined){const E=R[N.byProperty]=R[N.byProperty]||{};for(const R of N.byValues.keys()){E[R]=E[R]||{}}}}for(const[N,j]of E){if(j.base!==undefined){R[N]=j.base}if(j.byProperty!==undefined){const E=R[j.byProperty]=R[j.byProperty]||{};for(const R of Object.keys(E)){const $=getFromByValues(j.byValues,R);if($!==undefined)E[R][N]=$}}}if(N!==undefined){R[N.byProperty]=N.fn}return R};const ie=0;const ae=1;const ce=2;const le=3;const _e=4;const getValueType=E=>{if(E===undefined){return ie}else if(E===$){return _e}else if(Array.isArray(E)){if(E.lastIndexOf("...")!==-1)return ce;return ae}else if(typeof E==="object"&&E!==null&&(!E.constructor||E.constructor===Object)){return le}return ae};const cleverMerge=(E,N)=>{if(N===undefined)return E;if(E===undefined)return N;if(typeof N!=="object"||N===null)return N;if(typeof E!=="object"||E===null)return E;return _cleverMerge(E,N,false)};const _cleverMerge=(E,N,R=false)=>{const j=R?cachedParseObject(E):parseObject(E);const{static:$,dynamic:G}=j;if(G!==undefined){let{byProperty:E,fn:$}=G;const ie=$[q];if(ie){N=R?cachedCleverMerge(ie[1],N):cleverMerge(ie[1],N);$=ie[0]}const newFn=(...E)=>{const j=$(...E);return R?cachedCleverMerge(j,N):cleverMerge(j,N)};newFn[q]=[$,N];return serializeObject(j.static,{byProperty:E,fn:newFn})}const ie=R?cachedParseObject(N):parseObject(N);const{static:ae,dynamic:ce}=ie;const le=new Map;for(const[E,N]of $){const j=ae.get(E);const $=j!==undefined?mergeEntries(N,j,R):N;le.set(E,$)}for(const[E,N]of ae){if(!$.has(E)){le.set(E,N)}}return serializeObject(le,ce)};const mergeEntries=(E,N,R)=>{switch(getValueType(N.base)){case ae:case _e:return N;case ie:if(!E.byProperty){return{base:E.base,byProperty:N.byProperty,byValues:N.byValues}}else if(E.byProperty!==N.byProperty){throw new Error(`${E.byProperty} and ${N.byProperty} for a single property is not supported`)}else{const j=new Map(E.byValues);for(const[$,q]of N.byValues){const N=getFromByValues(E.byValues,$);j.set($,mergeSingleValue(N,q,R))}return{base:E.base,byProperty:E.byProperty,byValues:j}}default:{if(!E.byProperty){return{base:mergeSingleValue(E.base,N.base,R),byProperty:N.byProperty,byValues:N.byValues}}let j;const $=new Map(E.byValues);for(const[E,j]of $){$.set(E,mergeSingleValue(j,N.base,R))}if(Array.from(E.byValues.values()).every((E=>{const N=getValueType(E);return N===ae||N===_e}))){j=mergeSingleValue(E.base,N.base,R)}else{j=E.base;if(!$.has("default"))$.set("default",N.base)}if(!N.byProperty){return{base:j,byProperty:E.byProperty,byValues:$}}else if(E.byProperty!==N.byProperty){throw new Error(`${E.byProperty} and ${N.byProperty} for a single property is not supported`)}const q=new Map($);for(const[E,j]of N.byValues){const N=getFromByValues($,E);q.set(E,mergeSingleValue(N,j,R))}return{base:j,byProperty:E.byProperty,byValues:q}}}};const getFromByValues=(E,N)=>{if(N!=="default"&&E.has(N)){return E.get(N)}return E.get("default")};const mergeSingleValue=(E,N,R)=>{const j=getValueType(N);const $=getValueType(E);switch(j){case _e:case ae:return N;case le:{return $!==le?N:R?cachedCleverMerge(E,N):cleverMerge(E,N)}case ie:return E;case ce:switch($!==ae?$:Array.isArray(E)?ce:le){case ie:return N;case _e:return N.filter((E=>E!=="..."));case ce:{const R=[];for(const j of N){if(j==="..."){for(const N of E){R.push(N)}}else{R.push(j)}}return R}case le:return N.map((N=>N==="..."?E:N));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=E=>{const N={};for(const R of Object.keys(E)){const j=E[R];const $=getValueType(j);switch($){case ie:case _e:break;case le:N[R]=removeOperations(j);break;case ce:N[R]=j.filter((E=>E!=="..."));break;default:N[R]=j;break}}return N};const resolveByProperty=(E,N,...R)=>{if(typeof E!=="object"||E===null||!(N in E)){return E}const{[N]:j,...$}=E;const q=$;const G=j;if(typeof G==="object"){const E=R[0];if(E in G){return cachedCleverMerge(q,G[E])}else if("default"in G){return cachedCleverMerge(q,G.default)}else{return q}}else if(typeof G==="function"){const E=G.apply(null,R);return cachedCleverMerge(q,resolveByProperty(E,N,...R))}};N.cachedSetProperty=cachedSetProperty;N.cachedCleverMerge=cachedCleverMerge;N.cleverMerge=cleverMerge;N.resolveByProperty=resolveByProperty;N.removeOperations=removeOperations;N.DELETE=$},68673:(E,N,R)=>{"use strict";const{compareRuntime:j}=R(37416);const createCachedParameterizedComparator=E=>{const N=new WeakMap;return R=>{const j=N.get(R);if(j!==undefined)return j;const $=E.bind(null,R);N.set(R,$);return $}};N.compareChunksById=(E,N)=>compareIds(E.id,N.id);N.compareModulesByIdentifier=(E,N)=>compareIds(E.identifier(),N.identifier());const compareModulesById=(E,N,R)=>compareIds(E.getModuleId(N),E.getModuleId(R));N.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(E,N)=>{if(typeof E!==typeof N){return typeof E<typeof N?-1:1}if(E<N)return-1;if(E>N)return 1;return 0};N.compareNumbers=compareNumbers;const compareStringsNumeric=(E,N)=>{const R=E.split(/(\d+)/);const j=N.split(/(\d+)/);const $=Math.min(R.length,j.length);for(let E=0;E<$;E++){const N=R[E];const $=j[E];if(E%2===0){if(N.length>$.length){if(N.slice(0,$.length)>$)return 1;return-1}else if($.length>N.length){if($.slice(0,N.length)>N)return-1;return 1}else{if(N<$)return-1;if(N>$)return 1}}else{const E=+N;const R=+$;if(E<R)return-1;if(E>R)return 1}}if(j.length<R.length)return 1;if(j.length>R.length)return-1;return 0};N.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(E,N,R)=>{const j=compareNumbers(E.getPostOrderIndex(N),E.getPostOrderIndex(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(E,N,R)=>{const j=compareNumbers(E.getPreOrderIndex(N),E.getPreOrderIndex(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(E,N,R)=>{const j=compareIds(E.getModuleId(N),E.getModuleId(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(E,N,R)=>E.compareChunks(N,R);N.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(E,N)=>{if(typeof E!==typeof N){return typeof E<typeof N?-1:1}if(E<N)return-1;if(E>N)return 1;return 0};N.compareIds=compareIds;const compareStrings=(E,N)=>{if(E<N)return-1;if(E>N)return 1;return 0};N.compareStrings=compareStrings;const compareChunkGroupsByIndex=(E,N)=>E.index<N.index?-1:1;N.compareChunkGroupsByIndex=compareChunkGroupsByIndex;class TwoKeyWeakMap{constructor(){this._map=new WeakMap}get(E,N){const R=this._map.get(E);if(R===undefined){return undefined}return R.get(N)}set(E,N,R){let j=this._map.get(E);if(j===undefined){j=new WeakMap;this._map.set(E,j)}j.set(N,R)}}const $=new TwoKeyWeakMap;const concatComparators=(E,N,...R)=>{if(R.length>0){const[j,...$]=R;return concatComparators(E,concatComparators(N,j,...$))}const j=$.get(E,N);if(j!==undefined)return j;const result=(R,j)=>{const $=E(R,j);if($!==0)return $;return N(R,j)};$.set(E,N,result);return result};N.concatComparators=concatComparators;const q=new TwoKeyWeakMap;const compareSelect=(E,N)=>{const R=q.get(E,N);if(R!==undefined)return R;const result=(R,j)=>{const $=E(R);const q=E(j);if($!==undefined&&$!==null){if(q!==undefined&&q!==null){return N($,q)}return-1}else{if(q!==undefined&&q!==null){return 1}return 0}};q.set(E,N,result);return result};N.compareSelect=compareSelect;const G=new WeakMap;const compareIterables=E=>{const N=G.get(E);if(N!==undefined)return N;const result=(N,R)=>{const j=N[Symbol.iterator]();const $=R[Symbol.iterator]();while(true){const N=j.next();const R=$.next();if(N.done){return R.done?0:-1}else if(R.done){return 1}const q=E(N.value,R.value);if(q!==0)return q}};G.set(E,result);return result};N.compareIterables=compareIterables;N.keepOriginalOrder=E=>{const N=new Map;let R=0;for(const j of E){N.set(j,R++)}return(E,R)=>compareNumbers(N.get(E),N.get(R))};N.compareChunksNatural=E=>{const R=N.compareModulesById(E);const $=compareIterables(R);return concatComparators(compareSelect((E=>E.name),compareIds),compareSelect((E=>E.runtime),j),compareSelect((N=>E.getOrderedChunkModulesIterable(N,R)),$))};N.compareLocations=(E,N)=>{let R=typeof E==="object"&&E!==null;let j=typeof N==="object"&&N!==null;if(!R||!j){if(R)return 1;if(j)return-1;return 0}if("start"in E){if("start"in N){const R=E.start;const j=N.start;if(R.line<j.line)return-1;if(R.line>j.line)return 1;if(R.column<j.column)return-1;if(R.column>j.column)return 1}else return-1}else if("start"in N)return 1;if("name"in E){if("name"in N){if(E.name<N.name)return-1;if(E.name>N.name)return 1}else return-1}else if("name"in N)return 1;if("index"in E){if("index"in N){if(E.index<N.index)return-1;if(E.index>N.index)return 1}else return-1}else if("index"in N)return 1;return 0}},87274:E=>{"use strict";const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=E=>{if(`${+E}`===E){return E}return JSON.stringify(E)};const compileBooleanMatcher=E=>{const N=Object.keys(E).filter((N=>E[N]));const R=Object.keys(E).filter((N=>!E[N]));if(N.length===0)return false;if(R.length===0)return true;return compileBooleanMatcherFromLists(N,R)};const compileBooleanMatcherFromLists=(E,N)=>{if(E.length===0)return()=>"false";if(N.length===0)return()=>"true";if(E.length===1)return N=>`${toSimpleString(E[0])} == ${N}`;if(N.length===1)return E=>`${toSimpleString(N[0])} != ${E}`;const R=itemsToRegexp(E);const j=itemsToRegexp(N);if(R.length<=j.length){return E=>`/^${R}$/.test(${E})`}else{return E=>`!/^${j}$/.test(${E})`}};const popCommonItems=(E,N,R)=>{const j=new Map;for(const R of E){const E=N(R);if(E){let N=j.get(E);if(N===undefined){N=[];j.set(E,N)}N.push(R)}}const $=[];for(const N of j.values()){if(R(N)){for(const R of N){E.delete(R)}$.push(N)}}return $};const getCommonPrefix=E=>{let N=E[0];for(let R=1;R<E.length;R++){const j=E[R];for(let E=0;E<N.length;E++){if(j[E]!==N[E]){N=N.slice(0,E);break}}}return N};const getCommonSuffix=E=>{let N=E[0];for(let R=1;R<E.length;R++){const j=E[R];for(let E=j.length-1,R=N.length-1;R>=0;E--,R--){if(j[E]!==N[R]){N=N.slice(R+1);break}}}return N};const itemsToRegexp=E=>{if(E.length===1){return quoteMeta(E[0])}const N=[];let R=0;for(const N of E){if(N.length===1){R++}}if(R===E.length){return`[${quoteMeta(E.sort().join(""))}]`}const j=new Set(E.sort());if(R>2){let E="";for(const N of j){if(N.length===1){E+=N;j.delete(N)}}N.push(`[${quoteMeta(E)}]`)}if(N.length===0&&j.size===2){const N=getCommonPrefix(E);const R=getCommonSuffix(E.map((E=>E.slice(N.length))));if(N.length>0||R.length>0){return`${quoteMeta(N)}${itemsToRegexp(E.map((E=>E.slice(N.length,-R.length||undefined))))}${quoteMeta(R)}`}}if(N.length===0&&j.size===2){const E=j[Symbol.iterator]();const N=E.next().value;const R=E.next().value;if(N.length>0&&R.length>0&&N.slice(-1)===R.slice(-1)){return`${itemsToRegexp([N.slice(0,-1),R.slice(0,-1)])}${quoteMeta(N.slice(-1))}`}}const $=popCommonItems(j,(E=>E.length>=1?E[0]:false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0][1]===E[1][1]}));for(const E of $){const R=getCommonPrefix(E);N.push(`${quoteMeta(R)}${itemsToRegexp(E.map((E=>E.slice(R.length))))}`)}const q=popCommonItems(j,(E=>E.length>=1?E.slice(-1):false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0].slice(-2)===E[1].slice(-2)}));for(const E of q){const R=getCommonSuffix(E);N.push(`${itemsToRegexp(E.map((E=>E.slice(0,-R.length))))}${quoteMeta(R)}`)}const G=N.concat(Array.from(j,quoteMeta));if(G.length===1)return G[0];return`(${G.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;E.exports=compileBooleanMatcher},35817:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(15235).validate));const createSchemaValidation=(E=(E=>false),N,R)=>{N=j(N);return j=>{if(!E(j)){$()(N(),j,R)}}};E.exports=createSchemaValidation},35891:(E,N,R)=>{"use strict";const j=R(75066);const $=2e3;const q={};class BulkUpdateDecorator extends j{constructor(E,N){super();this.hashKey=N;if(typeof E==="function"){this.hashFactory=E;this.hash=undefined}else{this.hashFactory=undefined;this.hash=E}this.buffer=""}update(E,N){if(N!==undefined||typeof E!=="string"||E.length>$){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(E,N)}else{this.buffer+=E;if(this.buffer.length>$){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(E){let N;const R=this.buffer;if(this.hash===undefined){const j=`${this.hashKey}-${E}`;N=q[j];if(N===undefined){N=q[j]=new Map}const $=N.get(R);if($!==undefined)return $;this.hash=this.hashFactory()}if(R.length>0){this.hash.update(R)}const j=this.hash.digest(E);const $=typeof j==="string"?j:j.toString();if(N!==undefined){N.set(R,$)}return $}}class DebugHash extends j{constructor(){super();this.string=""}update(E,N){if(typeof E!=="string")E=E.toString("utf-8");if(E.startsWith("debug-digest-")){E=Buffer.from(E.slice("debug-digest-".length),"hex").toString()}this.string+=`[${E}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(E){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let G=undefined;let ie=undefined;let ae=undefined;let ce=undefined;E.exports=E=>{if(typeof E==="function"){return new BulkUpdateDecorator((()=>new E))}switch(E){case"debug":return new DebugHash;case"xxhash64":if(ie===undefined){ie=R(92976);if(ce===undefined){ce=R(89312)}}return new ce(ie());case"md4":if(ae===undefined){ae=R(90526);if(ce===undefined){ce=R(89312)}}return new ce(ae());case"native-md4":if(G===undefined)G=R(6113);return new BulkUpdateDecorator((()=>G.createHash("md4")),"md4");default:if(G===undefined)G=R(6113);return new BulkUpdateDecorator((()=>G.createHash(E)),E)}}},16595:(E,N,R)=>{"use strict";const j=R(73837);const $=new Map;const createDeprecation=(E,N)=>{const R=$.get(E);if(R!==undefined)return R;const q=j.deprecate((()=>{}),E,"DEP_WEBPACK_DEPRECATION_"+N);$.set(E,q);return q};const q=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const G=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];N.arrayToSetDeprecation=(E,N)=>{for(const R of q){if(E[R])continue;const j=createDeprecation(`${N} was changed from Array to Set (using Array method '${R}' is deprecated)`,"ARRAY_TO_SET");E[R]=function(){j();const E=Array.from(this);return Array.prototype[R].apply(E,arguments)}}const R=createDeprecation(`${N} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const j=createDeprecation(`${N} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const $=createDeprecation(`${N} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");E.push=function(){R();for(const E of Array.from(arguments)){this.add(E)}return this.size};for(const R of G){if(E[R])continue;E[R]=()=>{throw new Error(`${N} was changed from Array to Set (using Array method '${R}' is not possible)`)}}const createIndexGetter=E=>{const fn=function(){$();let N=0;for(const R of this){if(N++===E)return R}return undefined};return fn};const defineIndexGetter=R=>{Object.defineProperty(E,R,{get:createIndexGetter(R),set(E){throw new Error(`${N} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ie=1;Object.defineProperty(E,"length",{get(){j();const E=this.size;for(ie;ie<E+1;ie++){defineIndexGetter(ie)}return E},set(E){throw new Error(`${N} was changed from Array to Set (writing to Array property 'length' is not possible)`)}});E[Symbol.isConcatSpreadable]=true};N.createArrayToSetDeprecationSet=E=>{let R=false;class SetDeprecatedArray extends Set{constructor(j){super(j);if(!R){R=true;N.arrayToSetDeprecation(SetDeprecatedArray.prototype,E)}}}return SetDeprecatedArray};N.soonFrozenObjectDeprecation=(E,N,R,$="")=>{const q=`${N} will be frozen in future, all modifications are deprecated.${$&&`\n${$}`}`;return new Proxy(E,{set:j.deprecate(((E,N,R,j)=>Reflect.set(E,N,R,j)),q,R),defineProperty:j.deprecate(((E,N,R)=>Reflect.defineProperty(E,N,R)),q,R),deleteProperty:j.deprecate(((E,N)=>Reflect.deleteProperty(E,N)),q,R),setPrototypeOf:j.deprecate(((E,N)=>Reflect.setPrototypeOf(E,N)),q,R)})};const deprecateAllProperties=(E,N,R)=>{const $={};const q=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(q)){const G=q[E];if(typeof G.value==="function"){Object.defineProperty($,E,{...G,value:j.deprecate(G.value,N,R)})}else if(G.get||G.set){Object.defineProperty($,E,{...G,get:G.get&&j.deprecate(G.get,N,R),set:G.set&&j.deprecate(G.set,N,R)})}else{let q=G.value;Object.defineProperty($,E,{configurable:G.configurable,enumerable:G.enumerable,get:j.deprecate((()=>q),N,R),set:G.writable?j.deprecate((E=>q=E),N,R):undefined})}}return $};N.deprecateAllProperties=deprecateAllProperties;N.createFakeHook=(E,N,R)=>{if(N&&R){E=deprecateAllProperties(E,N,R)}return Object.freeze(Object.assign(E,{_fakeHook:true}))}},44648:E=>{"use strict";const similarity=(E,N)=>{const R=Math.min(E.length,N.length);let j=0;for(let $=0;$<R;$++){const R=E.charCodeAt($);const q=N.charCodeAt($);j+=Math.max(0,10-Math.abs(R-q))}return j};const getName=(E,N,R)=>{const j=Math.min(E.length,N.length);let $=0;while($<j){if(E.charCodeAt($)!==N.charCodeAt($)){$++;break}$++}while($<j){const N=E.slice(0,$);const j=N.toLowerCase();if(!R.has(j)){R.add(j);return N}$++}return E};const addSizeTo=(E,N)=>{for(const R of Object.keys(N)){E[R]=(E[R]||0)+N[R]}};const subtractSizeFrom=(E,N)=>{for(const R of Object.keys(N)){E[R]-=N[R]}};const sumSize=E=>{const N=Object.create(null);for(const R of E){addSizeTo(N,R.size)}return N};const isTooBig=(E,N)=>{for(const R of Object.keys(E)){const j=E[R];if(j===0)continue;const $=N[R];if(typeof $==="number"){if(j>$)return true}}return false};const isTooSmall=(E,N)=>{for(const R of Object.keys(E)){const j=E[R];if(j===0)continue;const $=N[R];if(typeof $==="number"){if(j<$)return true}}return false};const getTooSmallTypes=(E,N)=>{const R=new Set;for(const j of Object.keys(E)){const $=E[j];if($===0)continue;const q=N[j];if(typeof q==="number"){if($<q)R.add(j)}}return R};const getNumberOfMatchingSizeTypes=(E,N)=>{let R=0;for(const j of Object.keys(E)){if(E[j]!==0&&N.has(j))R++}return R};const selectiveSizeSum=(E,N)=>{let R=0;for(const j of Object.keys(E)){if(E[j]!==0&&N.has(j))R+=E[j]}return R};class Node{constructor(E,N,R){this.item=E;this.key=N;this.size=R}}class Group{constructor(E,N,R){this.nodes=E;this.similarities=N;this.size=R||sumSize(E);this.key=undefined}popNodes(E){const N=[];const R=[];const j=[];let $;for(let q=0;q<this.nodes.length;q++){const G=this.nodes[q];if(E(G)){j.push(G)}else{if(N.length>0){R.push($===this.nodes[q-1]?this.similarities[q-1]:similarity($.key,G.key))}N.push(G);$=G}}if(j.length===this.nodes.length)return undefined;this.nodes=N;this.similarities=R;this.size=sumSize(N);return j}}const getSimilarities=E=>{const N=[];let R=undefined;for(const j of E){if(R!==undefined){N.push(similarity(R.key,j.key))}R=j}return N};E.exports=({maxSize:E,minSize:N,items:R,getSize:j,getKey:$})=>{const q=[];const G=Array.from(R,(E=>new Node(E,$(E),j(E))));const ie=[];G.sort(((E,N)=>{if(E.key<N.key)return-1;if(E.key>N.key)return 1;return 0}));for(const R of G){if(isTooBig(R.size,E)&&!isTooSmall(R.size,N)){q.push(new Group([R],[]))}else{ie.push(R)}}if(ie.length>0){const R=new Group(ie,getSimilarities(ie));const removeProblematicNodes=(E,R=E.size)=>{const j=getTooSmallTypes(R,N);if(j.size>0){const N=E.popNodes((E=>getNumberOfMatchingSizeTypes(E.size,j)>0));if(N===undefined)return false;const R=q.filter((E=>getNumberOfMatchingSizeTypes(E.size,j)>0));if(R.length>0){const E=R.reduce(((E,N)=>{const R=getNumberOfMatchingSizeTypes(E,j);const $=getNumberOfMatchingSizeTypes(N,j);if(R!==$)return R<$?N:E;if(selectiveSizeSum(E.size,j)>selectiveSizeSum(N.size,j))return N;return E}));for(const R of N)E.nodes.push(R);E.nodes.sort(((E,N)=>{if(E.key<N.key)return-1;if(E.key>N.key)return 1;return 0}))}else{q.push(new Group(N,null))}return true}else{return false}};if(R.nodes.length>0){const j=[R];while(j.length){const R=j.pop();if(!isTooBig(R.size,E)){q.push(R);continue}if(removeProblematicNodes(R)){j.push(R);continue}let $=1;let G=Object.create(null);addSizeTo(G,R.nodes[0].size);while($<R.nodes.length&&isTooSmall(G,N)){addSizeTo(G,R.nodes[$].size);$++}let ie=R.nodes.length-2;let ae=Object.create(null);addSizeTo(ae,R.nodes[R.nodes.length-1].size);while(ie>=0&&isTooSmall(ae,N)){addSizeTo(ae,R.nodes[ie].size);ie--}if($-1>ie){let E;if(ie<R.nodes.length-$){subtractSizeFrom(ae,R.nodes[ie+1].size);E=ae}else{subtractSizeFrom(G,R.nodes[$-1].size);E=G}if(removeProblematicNodes(R,E)){j.push(R);continue}q.push(R);continue}if($<=ie){let E=-1;let j=Infinity;let ae=$;let ce=sumSize(R.nodes.slice(ae));while(ae<=ie+1){const $=R.similarities[ae-1];if($<j&&!isTooSmall(G,N)&&!isTooSmall(ce,N)){E=ae;j=$}addSizeTo(G,R.nodes[ae].size);subtractSizeFrom(ce,R.nodes[ae].size);ae++}if(E<0){q.push(R);continue}$=E;ie=E-1}const ce=[R.nodes[ie+1]];const le=[];for(let E=ie+2;E<R.nodes.length;E++){le.push(R.similarities[E-1]);ce.push(R.nodes[E])}j.push(new Group(ce,le));const _e=[R.nodes[0]];const Ee=[];for(let E=1;E<$;E++){Ee.push(R.similarities[E-1]);_e.push(R.nodes[E])}j.push(new Group(_e,Ee))}}}q.sort(((E,N)=>{if(E.nodes[0].key<N.nodes[0].key)return-1;if(E.nodes[0].key>N.nodes[0].key)return 1;return 0}));const ae=new Set;for(let E=0;E<q.length;E++){const N=q[E];if(N.nodes.length===1){N.key=N.nodes[0].key}else{const E=N.nodes[0];const R=N.nodes[N.nodes.length-1];const j=getName(E.key,R.key,ae);N.key=j}}return q.map((E=>({key:E.key,items:E.nodes.map((E=>E.item)),size:E.size})))}},10004:E=>{"use strict";E.exports=function extractUrlAndGlobal(E){const N=E.indexOf("@");return[E.substring(N+1),E.substring(0,N)]}},62598:E=>{"use strict";const N=0;const R=1;const j=2;const $=3;const q=4;class Node{constructor(E){this.item=E;this.dependencies=new Set;this.marker=N;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}E.exports=(E,G)=>{const ie=new Map;for(const N of E){const E=new Node(N);ie.set(N,E)}if(ie.size<=1)return E;for(const E of ie.values()){for(const N of G(E.item)){const R=ie.get(N);if(R!==undefined){E.dependencies.add(R)}}}const ae=new Set;const ce=new Set;for(const E of ie.values()){if(E.marker===N){E.marker=R;const G=[{node:E,openEdges:Array.from(E.dependencies)}];while(G.length>0){const E=G[G.length-1];if(E.openEdges.length>0){const ie=E.openEdges.pop();switch(ie.marker){case N:G.push({node:ie,openEdges:Array.from(ie.dependencies)});ie.marker=R;break;case R:{let E=ie.cycle;if(!E){E=new Cycle;E.nodes.add(ie);ie.cycle=E}for(let N=G.length-1;G[N].node!==ie;N--){const R=G[N].node;if(R.cycle){if(R.cycle!==E){for(const N of R.cycle.nodes){N.cycle=E;E.nodes.add(N)}}}else{R.cycle=E;E.nodes.add(R)}}break}case q:ie.marker=j;ae.delete(ie);break;case $:ce.delete(ie.cycle);ie.marker=j;break}}else{G.pop();E.node.marker=j}}const ie=E.cycle;if(ie){for(const E of ie.nodes){E.marker=$}ce.add(ie)}else{E.marker=q;ae.add(E)}}}for(const E of ce){let N=0;const R=new Set;const j=E.nodes;for(const E of j){for(const $ of E.dependencies){if(j.has($)){$.incoming++;if($.incoming<N)continue;if($.incoming>N){R.clear();N=$.incoming}R.add($)}}}for(const E of R){ae.add(E)}}if(ae.size>0){return Array.from(ae,(E=>E.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(E,N,R)=>{"use strict";const j=R(71017);const relative=(E,N,R)=>{if(E&&E.relative){return E.relative(N,R)}else if(j.posix.isAbsolute(N)){return j.posix.relative(N,R)}else if(j.win32.isAbsolute(N)){return j.win32.relative(N,R)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};N.relative=relative;const join=(E,N,R)=>{if(E&&E.join){return E.join(N,R)}else if(j.posix.isAbsolute(N)){return j.posix.join(N,R)}else if(j.win32.isAbsolute(N)){return j.win32.join(N,R)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};N.join=join;const dirname=(E,N)=>{if(E&&E.dirname){return E.dirname(N)}else if(j.posix.isAbsolute(N)){return j.posix.dirname(N)}else if(j.win32.isAbsolute(N)){return j.win32.dirname(N)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};N.dirname=dirname;const mkdirp=(E,N,R)=>{E.mkdir(N,(j=>{if(j){if(j.code==="ENOENT"){const $=dirname(E,N);if($===N){R(j);return}mkdirp(E,$,(j=>{if(j){R(j);return}E.mkdir(N,(E=>{if(E){if(E.code==="EEXIST"){R();return}R(E);return}R()}))}));return}else if(j.code==="EEXIST"){R();return}R(j);return}R()}))};N.mkdirp=mkdirp;const mkdirpSync=(E,N)=>{try{E.mkdirSync(N)}catch(R){if(R){if(R.code==="ENOENT"){const j=dirname(E,N);if(j===N){throw R}mkdirpSync(E,j);E.mkdirSync(N);return}else if(R.code==="EEXIST"){return}throw R}}};N.mkdirpSync=mkdirpSync;const readJson=(E,N,R)=>{if("readJson"in E)return E.readJson(N,R);E.readFile(N,((E,N)=>{if(E)return R(E);let j;try{j=JSON.parse(N.toString("utf-8"))}catch(E){return R(E)}return R(null,j)}))};N.readJson=readJson;const lstatReadlinkAbsolute=(E,N,R)=>{let j=3;const doReadLink=()=>{E.readlink(N,(($,q)=>{if($&&--j>0){return doStat()}if($||!q)return doStat();const G=q.toString();R(null,join(E,dirname(E,N),G))}))};const doStat=()=>{if("lstat"in E){return E.lstat(N,((E,N)=>{if(E)return R(E);if(N.isSymbolicLink()){return doReadLink()}R(null,N)}))}else{return E.stat(N,R)}};if("lstat"in E)return doStat();doReadLink()};N.lstatReadlinkAbsolute=lstatReadlinkAbsolute},89312:(E,N,R)=>{"use strict";const j=R(75066);const $=R(27100).MAX_SHORT_STRING;class BatchedHash extends j{constructor(E){super();this.string=undefined;this.encoding=undefined;this.hash=E}update(E,N){if(this.string!==undefined){if(typeof E==="string"&&N===this.encoding&&this.string.length+E.length<$){this.string+=E;return this}this.hash.update(this.string,this.encoding);this.string=undefined}if(typeof E==="string"){if(E.length<$&&(!N||!N.startsWith("ba"))){this.string=E;this.encoding=N}else{this.hash.update(E,N)}}else{this.hash.update(E)}return this}digest(E){if(this.string!==undefined){this.hash.update(this.string,this.encoding)}return this.hash.digest(E)}}E.exports=BatchedHash},90526:(E,N,R)=>{"use strict";const j=R(27100);const $=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));E.exports=j.bind(null,$,[],64,32)},27100:E=>{"use strict";const N=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(E,N,R,j){const $=E.exports;$.init();this.exports=$;this.mem=Buffer.from($.memory.buffer,0,65536);this.buffered=0;this.instancesPool=N;this.chunkSize=R;this.digestSize=j}reset(){this.buffered=0;this.exports.init()}update(E,R){if(typeof E==="string"){while(E.length>N){this._updateWithShortString(E.slice(0,N),R);E=E.slice(N)}this._updateWithShortString(E,R);return this}this._updateWithBuffer(E);return this}_updateWithShortString(E,N){const{exports:R,buffered:j,mem:$,chunkSize:q}=this;let G;if(E.length<70){if(!N||N==="utf-8"||N==="utf8"){G=j;for(let R=0;R<E.length;R++){const j=E.charCodeAt(R);if(j<128)$[G++]=j;else if(j<2048){$[G]=j>>6|192;$[G+1]=j&63|128;G+=2}else{G+=$.write(E.slice(R),G,N);break}}}else if(N==="latin1"){G=j;for(let N=0;N<E.length;N++){const R=E.charCodeAt(N);$[G++]=R}}else{G=j+$.write(E,j,N)}}else{G=j+$.write(E,j,N)}if(G<q){this.buffered=G}else{const E=G&~(this.chunkSize-1);R.update(E);const N=G-E;this.buffered=N;if(N>0)$.copyWithin(0,E,G)}}_updateWithBuffer(E){const{exports:N,buffered:R,mem:j}=this;const $=E.length;if(R+$<this.chunkSize){E.copy(j,R,0,$);this.buffered+=$}else{const q=R+$&~(this.chunkSize-1);if(q>65536){let $=65536-R;E.copy(j,R,0,$);N.update(65536);const G=q-R-65536;while($<G){E.copy(j,0,$,$+65536);N.update(65536);$+=65536}E.copy(j,0,$,q-R);N.update(q-R-$)}else{E.copy(j,R,0,q-R);N.update(q)}const G=$+R-q;this.buffered=G;if(G>0)E.copy(j,0,$-G,$)}}digest(E){const{exports:N,buffered:R,mem:j,digestSize:$}=this;N.final(R);this.instancesPool.push(this);const q=j.toString("latin1",0,$);if(E==="hex")return q;if(E==="binary"||!E)return Buffer.from(q,"hex");return Buffer.from(q,"hex").toString(E)}}const create=(E,N,R,j)=>{if(N.length>0){const E=N.pop();E.reset();return E}else{return new WasmHash(new WebAssembly.Instance(E),N,R,j)}};E.exports=create;E.exports.MAX_SHORT_STRING=N},92976:(E,N,R)=>{"use strict";const j=R(27100);const $=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));E.exports=j.bind(null,$,[],32,16)},49197:(E,N,R)=>{"use strict";const j=R(71017);const $=/^[a-zA-Z]:[\\/]/;const q=/([|!])/;const G=/\\/g;const relativePathToRequest=E=>{if(E==="")return"./.";if(E==="..")return"../.";if(E.startsWith("../"))return E;return`./${E}`};const absoluteToRequest=(E,N)=>{if(N[0]==="/"){if(N.length>1&&N[N.length-1]==="/"){return N}const R=N.indexOf("?");let $=R===-1?N:N.slice(0,R);$=relativePathToRequest(j.posix.relative(E,$));return R===-1?$:$+N.slice(R)}if($.test(N)){const R=N.indexOf("?");let q=R===-1?N:N.slice(0,R);q=j.win32.relative(E,q);if(!$.test(q)){q=relativePathToRequest(q.replace(G,"/"))}return R===-1?q:q+N.slice(R)}return N};const requestToAbsolute=(E,N)=>{if(N.startsWith("./")||N.startsWith("../"))return j.join(E,N);return N};const makeCacheable=E=>{const N=new WeakMap;const cachedFn=(R,j,$)=>{if(!$)return E(R,j);let q=N.get($);if(q===undefined){q=new Map;N.set($,q)}let G;let ie=q.get(R);if(ie===undefined){q.set(R,ie=new Map)}else{G=ie.get(j)}if(G!==undefined){return G}else{const N=E(R,j);ie.set(j,N);return N}};cachedFn.bindCache=R=>{let j;if(R){j=N.get(R);if(j===undefined){j=new Map;N.set(R,j)}}else{j=new Map}const boundFn=(N,R)=>{let $;let q=j.get(N);if(q===undefined){j.set(N,q=new Map)}else{$=q.get(R)}if($!==undefined){return $}else{const j=E(N,R);q.set(R,j);return j}};return boundFn};cachedFn.bindContextCache=(R,j)=>{let $;if(j){let E=N.get(j);if(E===undefined){E=new Map;N.set(j,E)}$=E.get(R);if($===undefined){E.set(R,$=new Map)}}else{$=new Map}const boundFn=N=>{const j=$.get(N);if(j!==undefined){return j}else{const j=E(R,N);$.set(N,j);return j}};return boundFn};return cachedFn};const _makePathsRelative=(E,N)=>N.split(q).map((N=>absoluteToRequest(E,N))).join("");N.makePathsRelative=makeCacheable(_makePathsRelative);const _makePathsAbsolute=(E,N)=>N.split(q).map((N=>requestToAbsolute(E,N))).join("");N.makePathsAbsolute=makeCacheable(_makePathsAbsolute);const _contextify=(E,N)=>N.split("!").map((N=>absoluteToRequest(E,N))).join("!");const ie=makeCacheable(_contextify);N.contextify=ie;const _absolutify=(E,N)=>N.split("!").map((N=>requestToAbsolute(E,N))).join("!");const ae=makeCacheable(_absolutify);N.absolutify=ae;const ce=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=E=>{const N=ce.exec(E);return{resource:E,path:N[1].replace(/\0(.)/g,"$1"),query:N[2]?N[2].replace(/\0(.)/g,"$1"):"",fragment:N[3]||""}};N.parseResource=(E=>{const N=new WeakMap;const getCache=E=>{const R=N.get(E);if(R!==undefined)return R;const j=new Map;N.set(E,j);return j};const fn=(N,R)=>{if(!R)return E(N);const j=getCache(R);const $=j.get(N);if($!==undefined)return $;const q=E(N);j.set(N,q);return q};fn.bindCache=N=>{const R=getCache(N);return N=>{const j=R.get(N);if(j!==undefined)return j;const $=E(N);R.set(N,$);return $}};return fn})(_parseResource);N.getUndoPath=(E,N,R)=>{let j=-1;let $="";N=N.replace(/[\\/]$/,"");for(const R of E.split(/[/\\]+/)){if(R===".."){if(j>-1){j--}else{const E=N.lastIndexOf("/");const R=N.lastIndexOf("\\");const j=E<0?R:R<0?E:Math.max(E,R);if(j<0)return N+"/";$=N.slice(j+1)+"/"+$;N=N.slice(0,j)}}else if(R!=="."){j++}}return j>0?`${"../".repeat(j)}${$}`:R?`./${$}`:$}},90331:(E,N,R)=>{"use strict";E.exports={AsyncDependenciesBlock:()=>R(98221),CommentCompilationWarning:()=>R(47207),ContextModule:()=>R(58126),"cache/PackFileCacheStrategy":()=>R(83793),"cache/ResolverCachePlugin":()=>R(13653),"container/ContainerEntryDependency":()=>R(76041),"container/ContainerEntryModule":()=>R(89591),"container/ContainerExposedDependency":()=>R(4523),"container/FallbackDependency":()=>R(27426),"container/FallbackItemDependency":()=>R(55525),"container/FallbackModule":()=>R(13386),"container/RemoteModule":()=>R(68679),"container/RemoteToExternalDependency":()=>R(44742),"dependencies/AMDDefineDependency":()=>R(46960),"dependencies/AMDRequireArrayDependency":()=>R(95715),"dependencies/AMDRequireContextDependency":()=>R(38145),"dependencies/AMDRequireDependenciesBlock":()=>R(83842),"dependencies/AMDRequireDependency":()=>R(45167),"dependencies/AMDRequireItemDependency":()=>R(29022),"dependencies/CachedConstDependency":()=>R(59455),"dependencies/CreateScriptUrlDependency":()=>R(7257),"dependencies/CommonJsRequireContextDependency":()=>R(51454),"dependencies/CommonJsExportRequireDependency":()=>R(1248),"dependencies/CommonJsExportsDependency":()=>R(26702),"dependencies/CommonJsFullRequireDependency":()=>R(87519),"dependencies/CommonJsRequireDependency":()=>R(37313),"dependencies/CommonJsSelfReferenceDependency":()=>R(94147),"dependencies/ConstDependency":()=>R(66298),"dependencies/ContextDependency":()=>R(400),"dependencies/ContextElementDependency":()=>R(90872),"dependencies/CriticalDependencyWarning":()=>R(75314),"dependencies/DelegatedSourceDependency":()=>R(49422),"dependencies/DllEntryDependency":()=>R(95189),"dependencies/EntryDependency":()=>R(66583),"dependencies/ExportsInfoDependency":()=>R(51420),"dependencies/HarmonyAcceptDependency":()=>R(27790),"dependencies/HarmonyAcceptImportDependency":()=>R(80654),"dependencies/HarmonyCompatibilityDependency":()=>R(54290),"dependencies/HarmonyExportExpressionDependency":()=>R(55037),"dependencies/HarmonyExportHeaderDependency":()=>R(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>R(44576),"dependencies/HarmonyExportSpecifierDependency":()=>R(14696),"dependencies/HarmonyImportSideEffectDependency":()=>R(69707),"dependencies/HarmonyImportSpecifierDependency":()=>R(2230),"dependencies/ImportContextDependency":()=>R(4828),"dependencies/ImportDependency":()=>R(20013),"dependencies/ImportEagerDependency":()=>R(75708),"dependencies/ImportWeakDependency":()=>R(12849),"dependencies/JsonExportsDependency":()=>R(38895),"dependencies/LocalModule":()=>R(77230),"dependencies/LocalModuleDependency":()=>R(14229),"dependencies/ModuleDecoratorDependency":()=>R(2706),"dependencies/ModuleHotAcceptDependency":()=>R(21809),"dependencies/ModuleHotDeclineDependency":()=>R(73158),"dependencies/ImportMetaHotAcceptDependency":()=>R(76302),"dependencies/ImportMetaHotDeclineDependency":()=>R(5389),"dependencies/ProvidedDependency":()=>R(1335),"dependencies/PureExpressionDependency":()=>R(53567),"dependencies/RequireContextDependency":()=>R(19204),"dependencies/RequireEnsureDependenciesBlock":()=>R(15196),"dependencies/RequireEnsureDependency":()=>R(15427),"dependencies/RequireEnsureItemDependency":()=>R(81058),"dependencies/RequireHeaderDependency":()=>R(70340),"dependencies/RequireIncludeDependency":()=>R(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>R(1913),"dependencies/RequireResolveContextDependency":()=>R(84817),"dependencies/RequireResolveDependency":()=>R(76913),"dependencies/RequireResolveHeaderDependency":()=>R(23380),"dependencies/RuntimeRequirementsDependency":()=>R(35424),"dependencies/StaticExportsDependency":()=>R(96076),"dependencies/SystemPlugin":()=>R(62630),"dependencies/UnsupportedDependency":()=>R(12584),"dependencies/URLDependency":()=>R(66444),"dependencies/WebAssemblyExportImportedDependency":()=>R(30697),"dependencies/WebAssemblyImportDependency":()=>R(33081),"dependencies/WebpackIsIncludedDependency":()=>R(46715),"dependencies/WorkerDependency":()=>R(89017),"json/JsonData":()=>R(72055),"optimize/ConcatenatedModule":()=>R(95734),DelegatedModule:()=>R(3955),DependenciesBlock:()=>R(32448),DllModule:()=>R(44593),ExternalModule:()=>R(16734),FileSystemInfo:()=>R(22996),InitFragment:()=>R(63272),InvalidDependenciesModuleWarning:()=>R(49619),Module:()=>R(53453),ModuleBuildError:()=>R(26509),ModuleDependencyWarning:()=>R(23280),ModuleError:()=>R(91613),ModuleGraph:()=>R(75412),ModuleParseError:()=>R(14489),ModuleWarning:()=>R(8893),NormalModule:()=>R(53520),RawModule:()=>R(22804),"sharing/ConsumeSharedModule":()=>R(21606),"sharing/ConsumeSharedFallbackDependency":()=>R(86827),"sharing/ProvideSharedModule":()=>R(99114),"sharing/ProvideSharedDependency":()=>R(56049),"sharing/ProvideForSharedDependency":()=>R(31095),UnsupportedFeatureWarning:()=>R(53558),"util/LazySet":()=>R(83379),UnhandledSchemeError:()=>R(77090),NodeStuffInWebError:()=>R(39960),WebpackError:()=>R(81627),"util/registerExternalSerializer":()=>{}}},56202:(E,N,R)=>{"use strict";const{register:j}=R(24568);class ClassSerializer{constructor(E){this.Constructor=E}serialize(E,N){E.serialize(N)}deserialize(E){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(E)}const N=new this.Constructor;N.deserialize(E);return N}}E.exports=(E,N,R=null)=>{j(E,N,R,new ClassSerializer(E))}},91671:E=>{"use strict";const memoize=E=>{let N=false;let R=undefined;return()=>{if(N){return R}else{R=E();N=true;E=undefined;return R}}};E.exports=memoize},12631:E=>{"use strict";const N=2147483648;const R=N-1;const j=4;const $=[0,0,0,0,0];const q=[3,7,17,19];E.exports=(E,G)=>{$.fill(0);for(let N=0;N<E.length;N++){const G=E.charCodeAt(N);for(let E=0;E<j;E++){const N=(E+j-1)%j;$[E]=$[E]+G*q[E]+$[N]&R}for(let E=0;E<j;E++){const N=$[E]%j;$[E]=$[E]^$[N]>>1}}if(G<=R){let E=0;for(let N=0;N<j;N++){E=(E+$[N])%G}return E}else{let E=0;let q=0;const ie=Math.floor(G/N);for(let N=0;N<j;N+=2){E=E+$[N]&R}for(let E=1;E<j;E+=2){q=(q+$[E])%ie}return(q*N+E)%G}}},2117:E=>{"use strict";const processAsyncTree=(E,N,R,j)=>{const $=Array.from(E);if($.length===0)return j();let q=0;let G=false;let ie=true;const push=E=>{$.push(E);if(!ie&&q<N){ie=true;process.nextTick(processQueue)}};const processorCallback=E=>{q--;if(E&&!G){G=true;j(E);return}if(!ie){ie=true;process.nextTick(processQueue)}};const processQueue=()=>{if(G)return;while(q<N&&$.length>0){q++;const E=$.pop();R(E,push,processorCallback)}ie=false;if($.length===0&&q===0&&!G){G=true;j()}};processQueue()};E.exports=processAsyncTree},68038:E=>{"use strict";const N=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const R=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","enum","implements","interface","let","package","private","protected","public","static","yield","yield","await","null","true","false"]);const propertyAccess=(E,j=0)=>{let $="";for(let q=j;q<E.length;q++){const j=E[q];if(`${+j}`===j){$+=`[${j}]`}else if(N.test(j)&&!R.has(j)){$+=`.${j}`}else{$+=`[${JSON.stringify(j)}]`}}return $};E.exports=propertyAccess},48077:(E,N,R)=>{"use strict";const{register:j}=R(24568);const $=R(14150).Position;const q=R(14150).SourceLocation;const G=R(24672)["default"];const{CachedSource:ie,ConcatSource:ae,OriginalSource:ce,PrefixSource:le,RawSource:_e,ReplaceSource:Ee,SourceMapSource:Te}=R(48135);const we="webpack/lib/util/registerExternalSerializer";j(ie,we,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(E,{write:N,writeLazy:R}){if(R){R(E.originalLazy())}else{N(E.original())}N(E.getCachedData())}deserialize({read:E}){const N=E();const R=E();return new ie(N,R)}});j(_e,we,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(E,{write:N}){N(E.buffer());N(!E.isBuffer())}deserialize({read:E}){const N=E();const R=E();return new _e(N,R)}});j(ae,we,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(E,{write:N}){N(E.getChildren())}deserialize({read:E}){const N=new ae;N.addAllSkipOptimizing(E());return N}});j(le,we,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(E,{write:N}){N(E.getPrefix());N(E.original())}deserialize({read:E}){return new le(E(),E())}});j(Ee,we,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(E,{write:N}){N(E.original());N(E.getName());const R=E.getReplacements();N(R.length);for(const E of R){N(E.start);N(E.end)}for(const E of R){N(E.content);N(E.name)}}deserialize({read:E}){const N=new Ee(E(),E());const R=E();const j=[];for(let N=0;N<R;N++){j.push(E(),E())}let $=0;for(let q=0;q<R;q++){N.replace(j[$++],j[$++],E(),E())}return N}});j(ce,we,"webpack-sources/OriginalSource",new class OriginalSourceSerializer{serialize(E,{write:N}){N(E.buffer());N(E.getName())}deserialize({read:E}){const N=E();const R=E();return new ce(N,R)}});j(q,we,"acorn/SourceLocation",new class SourceLocationSerializer{serialize(E,{write:N}){N(E.start.line);N(E.start.column);N(E.end.line);N(E.end.column)}deserialize({read:E}){return{start:{line:E(),column:E()},end:{line:E(),column:E()}}}});j($,we,"acorn/Position",new class PositionSerializer{serialize(E,{write:N}){N(E.line);N(E.column)}deserialize({read:E}){return{line:E(),column:E()}}});j(Te,we,"webpack-sources/SourceMapSource",new class SourceMapSourceSerializer{serialize(E,{write:N}){N(E.getArgsAsBuffers())}deserialize({read:E}){return new Te(...E())}});j(G,we,"schema-utils/ValidationError",new class ValidationErrorSerializer{serialize(E,{write:N}){N(E.errors);N(E.schema);N({name:E.headerName,baseDataPath:E.baseDataPath,postFormatter:E.postFormatter})}deserialize({read:E}){return new G(E(),E(),E())}})},37416:(E,N,R)=>{"use strict";const j=R(16102);N.getEntryRuntime=(E,N,R)=>{let j;let $;if(R){({dependOn:j,runtime:$}=R)}else{const R=E.entries.get(N);if(!R)return N;({dependOn:j,runtime:$}=R.options)}if(j){let R=undefined;const $=new Set(j);for(const N of $){const j=E.entries.get(N);if(!j)continue;const{dependOn:q,runtime:G}=j.options;if(q){for(const E of q){$.add(E)}}else{R=mergeRuntimeOwned(R,G||N)}}return R||N}else{return $||N}};N.forEachRuntime=(E,N,R=false)=>{if(E===undefined){N(undefined)}else if(typeof E==="string"){N(E)}else{if(R)E.sort();for(const R of E){N(R)}}};const getRuntimesKey=E=>{E.sort();return Array.from(E).join("\n")};const getRuntimeKey=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesKey)};N.getRuntimeKey=getRuntimeKey;const keyToRuntime=E=>{if(E==="*")return undefined;const N=E.split("\n");if(N.length===1)return N[0];return new j(N)};N.keyToRuntime=keyToRuntime;const getRuntimesString=E=>{E.sort();return Array.from(E).join("+")};const runtimeToString=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesString)};N.runtimeToString=runtimeToString;N.runtimeConditionToString=E=>{if(E===true)return"true";if(E===false)return"false";return runtimeToString(E)};const runtimeEqual=(E,N)=>{if(E===N){return true}else if(E===undefined||N===undefined||typeof E==="string"||typeof N==="string"){return false}else if(E.size!==N.size){return false}else{E.sort();N.sort();const R=E[Symbol.iterator]();const j=N[Symbol.iterator]();for(;;){const E=R.next();if(E.done)return true;const N=j.next();if(E.value!==N.value)return false}}};N.runtimeEqual=runtimeEqual;N.compareRuntime=(E,N)=>{if(E===N){return 0}else if(E===undefined){return-1}else if(N===undefined){return 1}else{const R=getRuntimeKey(E);const j=getRuntimeKey(N);if(R<j)return-1;if(R>j)return 1;return 0}};const mergeRuntime=(E,N)=>{if(E===undefined){return N}else if(N===undefined){return E}else if(E===N){return E}else if(typeof E==="string"){if(typeof N==="string"){const R=new j;R.add(E);R.add(N);return R}else if(N.has(E)){return N}else{const R=new j(N);R.add(E);return R}}else{if(typeof N==="string"){if(E.has(N))return E;const R=new j(E);R.add(N);return R}else{const R=new j(E);for(const E of N)R.add(E);if(R.size===E.size)return E;return R}}};N.mergeRuntime=mergeRuntime;N.mergeRuntimeCondition=(E,N,R)=>{if(E===false)return N;if(N===false)return E;if(E===true||N===true)return true;const j=mergeRuntime(E,N);if(j===undefined)return undefined;if(typeof j==="string"){if(typeof R==="string"&&j===R)return true;return j}if(typeof R==="string"||R===undefined)return j;if(j.size===R.size)return true;return j};N.mergeRuntimeConditionNonFalse=(E,N,R)=>{if(E===true||N===true)return true;const j=mergeRuntime(E,N);if(j===undefined)return undefined;if(typeof j==="string"){if(typeof R==="string"&&j===R)return true;return j}if(typeof R==="string"||R===undefined)return j;if(j.size===R.size)return true;return j};const mergeRuntimeOwned=(E,N)=>{if(N===undefined){return E}else if(E===N){return E}else if(E===undefined){if(typeof N==="string"){return N}else{return new j(N)}}else if(typeof E==="string"){if(typeof N==="string"){const R=new j;R.add(E);R.add(N);return R}else{const R=new j(N);R.add(E);return R}}else{if(typeof N==="string"){E.add(N);return E}else{for(const R of N)E.add(R);return E}}};N.mergeRuntimeOwned=mergeRuntimeOwned;N.intersectRuntime=(E,N)=>{if(E===undefined){return N}else if(N===undefined){return E}else if(E===N){return E}else if(typeof E==="string"){if(typeof N==="string"){return undefined}else if(N.has(E)){return E}else{return undefined}}else{if(typeof N==="string"){if(E.has(N))return N;return undefined}else{const R=new j;for(const j of N){if(E.has(j))R.add(j)}if(R.size===0)return undefined;if(R.size===1)for(const E of R)return E;return R}}};const subtractRuntime=(E,N)=>{if(E===undefined){return undefined}else if(N===undefined){return E}else if(E===N){return undefined}else if(typeof E==="string"){if(typeof N==="string"){return E}else if(N.has(E)){return undefined}else{return E}}else{if(typeof N==="string"){if(!E.has(N))return E;if(E.size===2){for(const R of E){if(R!==N)return R}}const R=new j(E);R.delete(N)}else{const R=new j;for(const j of E){if(!N.has(j))R.add(j)}if(R.size===0)return undefined;if(R.size===1)for(const E of R)return E;return R}}};N.subtractRuntime=subtractRuntime;N.subtractRuntimeCondition=(E,N,R)=>{if(N===true)return false;if(N===false)return E;if(E===false)return false;const j=subtractRuntime(E===true?R:E,N);return j===undefined?false:j};N.filterRuntime=(E,N)=>{if(E===undefined)return N(undefined);if(typeof E==="string")return N(E);let R=false;let j=true;let $=undefined;for(const q of E){const E=N(q);if(E){R=true;$=mergeRuntimeOwned($,q)}else{j=false}}if(!R)return false;if(j)return true;return $};class RuntimeSpecMap{constructor(E){this._mode=E?E._mode:0;this._singleRuntime=E?E._singleRuntime:undefined;this._singleValue=E?E._singleValue:undefined;this._map=E&&E._map?new Map(E._map):undefined}get(E){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,E)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(E))}}has(E){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,E);default:return this._map.has(getRuntimeKey(E))}}set(E,N){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;this._singleValue=N;break;case 1:if(runtimeEqual(this._singleRuntime,E)){this._singleValue=N;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(E),N)}}provide(E,N){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;return this._singleValue=N();case 1:{if(runtimeEqual(this._singleRuntime,E)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const R=N();this._map.set(getRuntimeKey(E),R);return R}default:{const R=getRuntimeKey(E);const j=this._map.get(R);if(j!==undefined)return j;const $=N();this._map.set(R,$);return $}}}delete(E){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,E)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(E))}}update(E,N){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,E)){this._singleValue=N(this._singleValue);break}const R=N(undefined);if(R!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(E),R)}break}default:{const R=getRuntimeKey(E);const j=this._map.get(R);const $=N(j);if($!==j)this._map.set(R,$)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}N.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(E){this._map=new Map;if(E){for(const N of E){this.add(N)}}}add(E){this._map.set(getRuntimeKey(E),E)}has(E){return this._map.has(getRuntimeKey(E))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}N.RuntimeSpecSet=RuntimeSpecSet},9293:function(E,N){"use strict";const parseVersion=E=>{var splitAndConvert=function(E){return E.split(".").map((function(E){return+E==E?+E:E}))};var N=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);var R=N[1]?splitAndConvert(N[1]):[];if(N[2]){R.length++;R.push.apply(R,splitAndConvert(N[2]))}if(N[3]){R.push([]);R.push.apply(R,splitAndConvert(N[3]))}return R};N.parseVersion=parseVersion;const versionLt=(E,N)=>{E=parseVersion(E);N=parseVersion(N);var R=0;for(;;){if(R>=E.length)return R<N.length&&(typeof N[R])[0]!="u";var j=E[R];var $=(typeof j)[0];if(R>=N.length)return $=="u";var q=N[R];var G=(typeof q)[0];if($==G){if($!="o"&&$!="u"&&j!=q){return j<q}R++}else{if($=="o"&&G=="n")return true;return G=="s"||$=="u"}}};N.versionLt=versionLt;N.parseRange=E=>{const splitAndConvert=E=>E.split(".").map((E=>`${+E}`===E?+E:E));const parsePartial=E=>{const N=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);const R=N[1]?[0,...splitAndConvert(N[1])]:[0];if(N[2]){R.length++;R.push.apply(R,splitAndConvert(N[2]))}let j=R[R.length-1];while(R.length&&(j===undefined||/^[*xX]$/.test(j))){R.pop();j=R[R.length-1]}return R};const toFixed=E=>{if(E.length===1){return[0]}else if(E.length===2){return[1,...E.slice(1)]}else if(E.length===3){return[2,...E.slice(1)]}else{return[E.length,...E.slice(1)]}};const negate=E=>[-E[0]-1,...E.slice(1)];const parseSimple=E=>{const N=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(E);const R=N?N[0]:"";const j=parsePartial(E.slice(R.length));switch(R){case"^":if(j.length>1&&j[1]===0){if(j.length>2&&j[2]===0){return[3,...j.slice(1)]}return[2,...j.slice(1)]}return[1,...j.slice(1)];case"~":return[2,...j.slice(1)];case">=":return j;case"=":case"v":case"":return toFixed(j);case"<":return negate(j);case">":{const E=toFixed(j);return[,E,0,j,2]}case"<=":return[,toFixed(j),negate(j),1];case"!":{const E=toFixed(j);return[,E,0]}default:throw new Error("Unexpected start value")}};const combine=(E,N)=>{if(E.length===1)return E[0];const R=[];for(const N of E.slice().reverse()){if(0 in N){R.push(N)}else{R.push(...N.slice(1))}}return[,...R,...E.slice(1).map((()=>N))]};const parseRange=E=>{const N=E.split(" - ");if(N.length===1){const N=E.trim().split(/\s+/g).map(parseSimple);return combine(N,2)}const R=parsePartial(N[0]);const j=parsePartial(N[1]);return[,toFixed(j),negate(j),1,R,2]};const parseLogicalOr=E=>{const N=E.split(/\s*\|\|\s*/).map(parseRange);return combine(N,1)};return parseLogicalOr(E)};const rangeToString=E=>{var N=E[0];var R="";if(E.length===1){return"*"}else if(N+.5){R+=N==0?">=":N==-1?"<":N==1?"^":N==2?"~":N>0?"=":"!=";var j=1;for(var $=1;$<E.length;$++){var q=E[$];var G=(typeof q)[0];j--;R+=G=="u"?"-":(j>0?".":"")+(j=2,q)}return R}else{var ie=[];for(var $=1;$<E.length;$++){var q=E[$];ie.push(q===0?"not("+pop()+")":q===1?"("+pop()+" || "+pop()+")":q===2?ie.pop()+" "+ie.pop():rangeToString(q))}return pop()}function pop(){return ie.pop().replace(/^\((.+)\)$/,"$1")}};N.rangeToString=rangeToString;const satisfy=(E,N)=>{if(0 in E){N=parseVersion(N);var R=E[0];var j=R<0;if(j)R=-R-1;for(var $=0,q=1,G=true;;q++,$++){var ie=q<E.length?(typeof E[q])[0]:"";var ae;var ce;if($>=N.length||(ae=N[$],(ce=(typeof ae)[0])=="o")){if(!G)return true;if(ie=="u")return q>R&&!j;return ie==""!=j}if(ce=="u"){if(!G||ie!="u"){return false}}else if(G){if(ie==ce){if(q<=R){if(ae!=E[q]){return false}}else{if(j?ae>E[q]:ae<E[q]){return false}if(ae!=E[q])G=false}}else if(ie!="s"&&ie!="n"){if(j||q<=R)return false;G=false;q--}else if(q<=R||ce<ie!=j){return false}else{G=false}}else{if(ie!="s"&&ie!="n"){G=false;q--}}}}var le=[];var _e=le.pop.bind(le);for(var $=1;$<E.length;$++){var Ee=E[$];le.push(Ee==1?_e()|_e():Ee==2?_e()&_e():Ee?satisfy(Ee,N):!_e())}return!!_e()};N.satisfy=satisfy;N.stringifyHoley=E=>{switch(typeof E){case"undefined":return"";case"object":if(Array.isArray(E)){let N="[";for(let R=0;R<E.length;R++){if(R!==0)N+=",";N+=this.stringifyHoley(E[R])}N+="]";return N}else{return JSON.stringify(E)}default:return JSON.stringify(E)}};N.parseVersionRuntimeCode=E=>`var parseVersion = ${E.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${E.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${E.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;N.versionLtRuntimeCode=E=>`var versionLt = ${E.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&"u"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e<t;r++}'])}`;N.rangeToStringRuntimeCode=E=>`var rangeToString = ${E.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a<range.length;a++){e--,n+="u"==(typeof(t=range[a]))[0]?"-":(e>0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?"not("+o()+")":1===t?"("+o()+" || "+o()+")":2===t?g.pop()+" "+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,"$1")}'])}`;N.satisfyRuntimeCode=E=>`var satisfy = ${E.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:"";if(n>=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if("s"!=g&&"n"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else"s"!=g&&"n"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();'])}`},24568:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(88692)));const q=j((()=>R(30991)));const G=j((()=>R(79308)));const ie=j((()=>R(15261)));const ae=j((()=>R(43065)));const ce=j((()=>new($())));const le=j((()=>{R(48077);const E=R(90331);q().registerLoader(/^webpack\/lib\//,(N=>{const R=E[N.slice("webpack/lib/".length)];if(R){R()}else{console.warn(`${N} not found in internalSerializables`)}return true}))}));let _e;E.exports={get register(){return q().register},get registerLoader(){return q().registerLoader},get registerNotSerializable(){return q().registerNotSerializable},get NOT_SERIALIZABLE(){return q().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return $().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return $().MEASURE_END_OPERATION},get buffersSerializer(){if(_e!==undefined)return _e;le();const E=ie();const N=ce();const R=ae();const j=G();return _e=new E([new j,new(q())((E=>{if(E.write){E.writeLazy=j=>{E.write(R.createLazy(j,N))}}}),"md4"),N])},createFileSerializer:(E,N)=>{le();const j=ie();const $=R(13829);const _e=new $(E,N);const Ee=ce();const Te=ae();const we=G();return new j([new we,new(q())((E=>{if(E.write){E.writeLazy=N=>{E.write(Te.createLazy(N,Ee))};E.writeSeparate=(N,R)=>{const j=Te.createLazy(N,_e,R);E.write(j);return j}}}),N),Ee,_e])}}},93695:E=>{"use strict";const smartGrouping=(E,N)=>{const R=new Set;const j=new Map;for(const $ of E){const E=new Set;for(let R=0;R<N.length;R++){const q=N[R];const G=q.getKeys($);if(G){for(const N of G){const $=`${R}:${N}`;let G=j.get($);if(G===undefined){j.set($,G={config:q,name:N,alreadyGrouped:false,items:undefined})}E.add(G)}}}R.add({item:$,groups:E})}const runGrouping=E=>{const N=E.size;for(const N of E){for(const E of N.groups){if(E.alreadyGrouped)continue;const R=E.items;if(R===undefined){E.items=new Set([N])}else{R.add(N)}}}const R=new Map;for(const E of j.values()){if(E.items){const N=E.items;E.items=undefined;R.set(E,{items:N,options:undefined,used:false})}}const $=[];for(;;){let j=undefined;let q=-1;let G=undefined;let ie=undefined;for(const[$,ae]of R){const{items:R,used:ce}=ae;let le=ae.options;if(le===undefined){const E=$.config;ae.options=le=E.getOptions&&E.getOptions($.name,Array.from(R,(({item:E})=>E)))||false}const _e=le&&le.force;if(!_e){if(ie&&ie.force)continue;if(ce)continue;if(R.size<=1||N-R.size<=1){continue}}const Ee=le&&le.targetGroupCount||4;let Te=_e?R.size:Math.min(R.size,N*2/Ee+E.size-R.size);if(Te>q||_e&&(!ie||!ie.force)){j=$;q=Te;G=R;ie=le}}if(j===undefined){break}const ae=new Set(G);const ce=ie;const le=!ce||ce.groupChildren!==false;for(const N of ae){E.delete(N);for(const E of N.groups){const j=R.get(E);if(j!==undefined){j.items.delete(N);if(j.items.size===0){R.delete(E)}else{j.options=undefined;if(le){j.used=true}}}}}R.delete(j);const _e=j.name;const Ee=j.config;const Te=Array.from(ae,(({item:E})=>E));j.alreadyGrouped=true;const we=le?runGrouping(ae):Te;j.alreadyGrouped=false;$.push(Ee.createGroup(_e,we,Te))}for(const{item:N}of E){$.push(N)}return $};return runGrouping(R)};E.exports=smartGrouping},13559:(E,N)=>{"use strict";const R=new WeakMap;const _isSourceEqual=(E,N)=>{let R=typeof E.buffer==="function"?E.buffer():E.source();let j=typeof N.buffer==="function"?N.buffer():N.source();if(R===j)return true;if(typeof R==="string"&&typeof j==="string")return false;if(!Buffer.isBuffer(R))R=Buffer.from(R,"utf-8");if(!Buffer.isBuffer(j))j=Buffer.from(j,"utf-8");return R.equals(j)};const isSourceEqual=(E,N)=>{if(E===N)return true;const j=R.get(E);if(j!==undefined){const E=j.get(N);if(E!==undefined)return E}const $=_isSourceEqual(E,N);if(j!==undefined){j.set(N,$)}else{const j=new WeakMap;j.set(N,$);R.set(E,j)}const q=R.get(N);if(q!==undefined){q.set(E,$)}else{const j=new WeakMap;j.set(E,$);R.set(N,j)}return $};N.isSourceEqual=isSourceEqual},33316:(E,N,R)=>{"use strict";const{validate:j}=R(15235);const $={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const q={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(E,N,R)=>{j(E,N,R||{name:"Webpack",postFormatter:(E,N)=>{const R=N.children;if(R&&R.some((E=>E.keyword==="absolutePath"&&E.dataPath===".output.filename"))){return`${E}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(R&&R.some((E=>E.keyword==="pattern"&&E.dataPath===".devtool"))){return`${E}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(N.keyword==="additionalProperties"){const R=N.params;if(Object.prototype.hasOwnProperty.call($,R.additionalProperty)){return`${E}\nDid you mean ${$[R.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(q,R.additionalProperty)){return`${E}\n${q[R.additionalProperty]}?`}if(!N.dataPath){if(R.additionalProperty==="debug"){return`${E}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(R.additionalProperty){return`${E}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${R.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return E}})};E.exports=validateSchema},34943:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class AsyncWasmLoadingRuntimeModule extends ${constructor({generateLoadBinaryCode:E,supportsStreaming:N}){super("wasm loading",$.STAGE_NORMAL);this.generateLoadBinaryCode=E;this.supportsStreaming=N}generate(){const{compilation:E,chunk:N}=this;const{outputOptions:R,runtimeTemplate:$}=E;const G=j.instantiateWasm;const ie=E.getPath(JSON.stringify(R.webassemblyModuleFilename),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(E){return`" + wasmModuleHash.slice(0, ${E}) + "`}},runtime:N.runtime});return`${G} = ${$.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ie)};`,this.supportsStreaming?q.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",q.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",q.indent([`.then(${$.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",q.indent([`.then(${$.returningFunction("x.arrayBuffer()","x")})`,`.then(${$.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${$.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}E.exports=AsyncWasmLoadingRuntimeModule},10136:(E,N,R)=>{"use strict";const j=R(36253);const $=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends j{constructor(E){super();this.options=E}getTypes(E){return $}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()}generate(E,N){return E.originalSource()}}E.exports=AsyncWebAssemblyGenerator},75462:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(63272);const G=R(76150);const ie=R(58159);const ae=R(33081);const ce=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends ${constructor(E){super();this.filenameTemplate=E}getTypes(E){return ce}getSize(E,N){return 40+E.dependencies.length*10}generate(E,N){const{runtimeTemplate:R,chunkGraph:$,moduleGraph:ce,runtimeRequirements:le,runtime:_e}=N;le.add(G.module);le.add(G.moduleId);le.add(G.exports);le.add(G.instantiateWasm);const Ee=[];const Te=new Map;const we=new Map;for(const N of E.dependencies){if(N instanceof ae){const E=ce.getModule(N);if(!Te.has(E)){Te.set(E,{request:N.request,importVar:`WEBPACK_IMPORTED_MODULE_${Te.size}`})}let R=we.get(N.request);if(R===undefined){R=[];we.set(N.request,R)}R.push(N)}}const Ie=[];const Ne=Array.from(Te,(([N,{request:j,importVar:q}])=>{if(ce.isAsync(N)){Ie.push(q)}return R.importStatement({update:false,module:N,chunkGraph:$,request:j,originModule:E,importVar:q,runtimeRequirements:le})}));const Me=Ne.map((([E])=>E)).join("");const Le=Ne.map((([E,N])=>N)).join("");const Be=Array.from(we,(([N,j])=>{const $=j.map((j=>{const $=ce.getModule(j);const q=Te.get($).importVar;return`${JSON.stringify(j.name)}: ${R.exportFromImport({moduleGraph:ce,module:$,request:N,exportName:j.name,originModule:E,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:q,initFragments:Ee,runtime:_e,runtimeRequirements:le})}`}));return ie.asString([`${JSON.stringify(N)}: {`,ie.indent($.join(",\n")),"}"])}));const je=Be.length>0?ie.asString(["{",ie.indent(Be.join(",\n")),"}"]):undefined;const Ue=`${G.instantiateWasm}(${E.exportsArgument}, ${E.moduleArgument}.id, ${JSON.stringify($.getRenderedModuleHash(E,_e))}`+(je?`, ${je})`:`)`);if(Ie.length>0)le.add(G.asyncModule);const ze=new j(Ie.length>0?ie.asString([`var __webpack_instantiate__ = ${R.basicFunction(`[${Ie.join(", ")}]`,`${Le}return ${Ue};`)}`,`${G.asyncModule}(${E.moduleArgument}, ${R.basicFunction("__webpack_handle_async_dependencies__",[Me,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Ie.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Me}${Le}module.exports = ${Ue};`);return q.addToSource(ze,Ee,N)}}E.exports=AsyncWebAssemblyJavascriptGenerator},82422:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(36253);const{tryRunOrWebpackError:G}=R(3728);const ie=R(33081);const{compareModulesByIdentifier:ae}=R(68673);const ce=R(91671);const le=ce((()=>R(10136)));const _e=ce((()=>R(75462)));const Ee=ce((()=>R(96263)));const Te=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=Te.get(E);if(N===undefined){N={renderModuleContent:new j(["source","module","renderContext"])};Te.set(E,N)}return N}constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((E,{normalModuleFactory:N})=>{const R=AsyncWebAssemblyModulesPlugin.getCompilationHooks(E);E.dependencyFactories.set(ie,N);N.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=Ee();return new E}));N.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const N=_e();const R=le();return q.byType({javascript:new N(E.outputOptions.webassemblyModuleFilename),webassembly:new R(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((N,j)=>{const{moduleGraph:$,chunkGraph:q,runtimeTemplate:G}=E;const{chunk:ie,outputOptions:ce,dependencyTemplates:le,codeGenerationResults:_e}=j;for(const E of q.getOrderedChunkModulesIterable(ie,ae)){if(E.type==="webassembly/async"){const j=ce.webassemblyModuleFilename;N.push({render:()=>this.renderModule(E,{chunk:ie,dependencyTemplates:le,runtimeTemplate:G,moduleGraph:$,chunkGraph:q,codeGenerationResults:_e},R),filenameTemplate:j,pathOptions:{module:E,runtime:ie.runtime,chunkGraph:q},auxiliary:true,identifier:`webassemblyAsyncModule${q.getModuleId(E)}`,hash:q.getModuleHash(E,ie.runtime)})}}return N}))}))}renderModule(E,N,R){const{codeGenerationResults:j,chunk:$}=N;try{const q=j.getSource(E,$.runtime,"webassembly");return G((()=>R.renderModuleContent.call(q,E,N)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(N){N.module=E;throw N}}}E.exports=AsyncWebAssemblyModulesPlugin},96263:(E,N,R)=>{"use strict";const j=R(98093);const{decode:$}=R(73432);const q=R(2172);const G=R(96076);const ie=R(33081);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,N){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="namespace";N.module.buildMeta.async=true;const R=$(E,ae);const q=R.body[0];const ce=[];j.traverse(q,{ModuleExport({node:E}){ce.push(E.name)},ModuleImport({node:E}){const R=new ie(E.module,E.name,E.descr,false);N.module.addDependency(R)}});N.module.addDependency(new G(ce,false));return N}}E.exports=WebAssemblyParser},59422:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class UnsupportedWebAssemblyFeatureError extends j{constructor(E){super(E);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{compareModulesByIdentifier:G}=R(68673);const ie=R(20612);const getAllWasmModules=(E,N,R)=>{const j=R.getAllAsyncChunks();const $=[];for(const E of j){for(const R of N.getOrderedChunkModulesIterable(E,G)){if(R.type.startsWith("webassembly")){$.push(R)}}}return $};const generateImportObject=(E,N,R,$,G)=>{const ae=E.moduleGraph;const ce=new Map;const le=[];const _e=ie.getUsedDependencies(ae,N,R);for(const N of _e){const R=N.dependency;const ie=ae.getModule(R);const _e=R.name;const Ee=ie&&ae.getExportsInfo(ie).getUsedName(_e,G);const Te=R.description;const we=R.onlyDirectImport;const Ie=N.module;const Ne=N.name;if(we){const N=`m${ce.size}`;ce.set(N,E.getModuleId(ie));le.push({module:Ie,name:Ne,value:`${N}[${JSON.stringify(Ee)}]`})}else{const N=Te.signature.params.map(((E,N)=>"p"+N+E.valtype));const R=`${j.moduleCache}[${JSON.stringify(E.getModuleId(ie))}]`;const G=`${R}.exports`;const ae=`wasmImportedFuncCache${$.length}`;$.push(`var ${ae};`);le.push({module:Ie,name:Ne,value:q.asString([(ie.type.startsWith("webassembly")?`${R} ? ${G}[${JSON.stringify(Ee)}] : `:"")+`function(${N}) {`,q.indent([`if(${ae} === undefined) ${ae} = ${G};`,`return ${ae}[${JSON.stringify(Ee)}](${N});`]),"}"])})}}let Ee;if(R){Ee=["return {",q.indent([le.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"};"]}else{const E=new Map;for(const N of le){let R=E.get(N.module);if(R===undefined){E.set(N.module,R=[])}R.push(N)}Ee=["return {",q.indent([Array.from(E,(([E,N])=>q.asString([`${JSON.stringify(E)}: {`,q.indent([N.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Te=JSON.stringify(E.getModuleId(N));if(ce.size===1){const E=Array.from(ce.values())[0];const N=`installedWasmModules[${JSON.stringify(E)}]`;const R=Array.from(ce.keys())[0];return q.asString([`${Te}: function() {`,q.indent([`return promiseResolve().then(function() { return ${N}; }).then(function(${R}) {`,q.indent(Ee),"});"]),"},"])}else if(ce.size>0){const E=Array.from(ce.values(),(E=>`installedWasmModules[${JSON.stringify(E)}]`)).join(", ");const N=Array.from(ce.keys(),((E,N)=>`${E} = array[${N}]`)).join(", ");return q.asString([`${Te}: function() {`,q.indent([`return promiseResolve().then(function() { return Promise.all([${E}]); }).then(function(array) {`,q.indent([`var ${N};`,...Ee]),"});"]),"},"])}else{return q.asString([`${Te}: function() {`,q.indent(Ee),"},"])}};class WasmChunkLoadingRuntimeModule extends ${constructor({generateLoadBinaryCode:E,supportsStreaming:N,mangleImports:R,runtimeRequirements:j}){super("wasm chunk loading",$.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=N;this.mangleImports=R;this._runtimeRequirements=j}generate(){const{chunkGraph:E,compilation:N,chunk:R,mangleImports:$}=this;const{moduleGraph:G,outputOptions:ae}=N;const ce=j.ensureChunkHandlers;const le=this._runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const _e=getAllWasmModules(G,E,R);const Ee=[];const Te=_e.map((N=>generateImportObject(E,N,this.mangleImports,Ee,R.runtime)));const we=E.getChunkModuleIdMap(R,(E=>E.type.startsWith("webassembly")));const createImportObject=E=>$?`{ ${JSON.stringify(ie.MANGLED_MODULE)}: ${E} }`:E;const Ie=N.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(R,(E=>E.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(N){return`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(R,(E=>E.type.startsWith("webassembly")),N))}[chunkId][wasmModuleId] + "`}},runtime:R.runtime});const Ne=le?`${j.hmrRuntimeStatePrefix}_wasm`:undefined;return q.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Ne?`${Ne} = ${Ne} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",q.asString(Ee),"var wasmImportObjects = {",q.indent(Te),"};","",`var wasmModuleMap = ${JSON.stringify(we,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${j.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${ce}.wasm = function(chunkId, promises) {`,q.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",q.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",q.indent(["promises.push(installedWasmModuleData);"]),"else {",q.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Ie)};`,"var promise;",this.supportsStreaming?q.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",q.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",q.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):q.asString(["if(importObject && typeof importObject.then === 'function') {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",q.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",q.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",q.indent([`return ${j.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}E.exports=WasmChunkLoadingRuntimeModule},8576:(E,N,R)=>{"use strict";const j=R(72380);const $=R(59422);class WasmFinalizeExportsPlugin{apply(E){E.hooks.compilation.tap("WasmFinalizeExportsPlugin",(E=>{E.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(N=>{for(const R of N){if(R.type.startsWith("webassembly")===true){const N=R.buildMeta.jsIncompatibleExports;if(N===undefined){continue}for(const q of E.moduleGraph.getIncomingConnections(R)){if(q.isTargetActive(undefined)&&q.originModule.type.startsWith("webassembly")===false){const G=E.getDependencyReferencedExports(q.dependency,undefined);for(const ie of G){const G=Array.isArray(ie)?ie:ie.name;if(G.length===0)continue;const ae=G[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(N,ae)){const G=new $(`Export "${ae}" with ${N[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${q.originModule.readableIdentifier(E.requestShortener)} at ${j(q.dependency.loc)}.`);G.module=R;E.errors.push(G)}}}}}}}))}))}}E.exports=WasmFinalizeExportsPlugin},56419:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(20612);const G=R(98093);const{moduleContextFromModuleAST:ie}=R(98093);const{editWithAST:ae,addWithAST:ce}=R(226);const{decode:le}=R(73432);const _e=R(30697);const compose=(...E)=>E.reduce(((E,N)=>R=>N(E(R))),(E=>E));const removeStartFunc=E=>N=>ae(E.ast,N,{Start(E){E.remove()}});const getImportedGlobals=E=>{const N=[];G.traverse(E,{ModuleImport({node:E}){if(G.isGlobalType(E.descr)){N.push(E)}}});return N};const getCountImportedFunc=E=>{let N=0;G.traverse(E,{ModuleImport({node:E}){if(G.isFuncImportDescr(E.descr)){N++}}});return N};const getNextTypeIndex=E=>{const N=G.getSectionMetadata(E,"type");if(N===undefined){return G.indexLiteral(0)}return G.indexLiteral(N.vectorOfSize.value)};const getNextFuncIndex=(E,N)=>{const R=G.getSectionMetadata(E,"func");if(R===undefined){return G.indexLiteral(0+N)}const j=R.vectorOfSize.value;return G.indexLiteral(j+N)};const createDefaultInitForGlobal=E=>{if(E.valtype[0]==="i"){return G.objectInstruction("const",E.valtype,[G.numberLiteralFromRaw(66)])}else if(E.valtype[0]==="f"){return G.objectInstruction("const",E.valtype,[G.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+E.valtype)}};const rewriteImportedGlobals=E=>N=>{const R=E.additionalInitCode;const j=[];N=ae(E.ast,N,{ModuleImport(E){if(G.isGlobalType(E.node.descr)){const N=E.node.descr;N.mutability="var";const R=[createDefaultInitForGlobal(N),G.instruction("end")];j.push(G.global(N,R));E.remove()}},Global(E){const{node:N}=E;const[$]=N.init;if($.id==="get_global"){N.globalType.mutability="var";const E=$.args[0];N.init=[createDefaultInitForGlobal(N.globalType),G.instruction("end")];R.push(G.instruction("get_local",[E]),G.instruction("set_global",[G.indexLiteral(j.length)]))}j.push(N);E.remove()}});return ce(E.ast,N,j)};const rewriteExportNames=({ast:E,moduleGraph:N,module:R,externalExports:j,runtime:$})=>q=>ae(E,q,{ModuleExport(E){const q=j.has(E.node.name);if(q){E.remove();return}const G=N.getExportsInfo(R).getUsedName(E.node.name,$);if(!G){E.remove();return}E.node.name=G}});const rewriteImports=({ast:E,usedDependencyMap:N})=>R=>ae(E,R,{ModuleImport(E){const R=N.get(E.node.module+":"+E.node.name);if(R!==undefined){E.node.module=R.module;E.node.name=R.name}}});const addInitFunction=({ast:E,initFuncId:N,startAtFuncOffset:R,importedGlobals:j,additionalInitCode:$,nextFuncIndex:q,nextTypeIndex:ie})=>ae=>{const le=j.map((E=>{const N=G.identifier(`${E.module}.${E.name}`);return G.funcParam(E.descr.valtype,N)}));const _e=[];j.forEach(((E,N)=>{const R=[G.indexLiteral(N)];const j=[G.instruction("get_local",R),G.instruction("set_global",R)];_e.push(...j)}));if(typeof R==="number"){_e.push(G.callInstruction(G.numberLiteralFromRaw(R)))}for(const E of $){_e.push(E)}_e.push(G.instruction("end"));const Ee=[];const Te=G.signature(le,Ee);const we=G.func(N,Te,_e);const Ie=G.typeInstruction(undefined,Te);const Ne=G.indexInFuncSection(ie);const Me=G.moduleExport(N.value,G.moduleExportDescr("Func",q));return ce(E,ae,[we,Me,Ne,Ie])};const getUsedDependencyMap=(E,N,R)=>{const j=new Map;for(const $ of q.getUsedDependencies(E,N,R)){const E=$.dependency;const N=E.request;const R=E.name;j.set(N+":"+R,$)}return j};const Ee=new Set(["webassembly"]);class WebAssemblyGenerator extends ${constructor(E){super();this.options=E}getTypes(E){return Ee}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()}generate(E,{moduleGraph:N,runtime:R}){const $=E.originalSource().source();const q=G.identifier("");const ae=le($,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const ce=ie(ae.body[0]);const Ee=getImportedGlobals(ae);const Te=getCountImportedFunc(ae);const we=ce.getStart();const Ie=getNextFuncIndex(ae,Te);const Ne=getNextTypeIndex(ae);const Me=getUsedDependencyMap(N,E,this.options.mangleImports);const Le=new Set(E.dependencies.filter((E=>E instanceof _e)).map((E=>{const N=E;return N.exportName})));const Be=[];const je=compose(rewriteExportNames({ast:ae,moduleGraph:N,module:E,externalExports:Le,runtime:R}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:Be}),rewriteImports({ast:ae,usedDependencyMap:Me}),addInitFunction({ast:ae,initFuncId:q,importedGlobals:Ee,additionalInitCode:Be,startAtFuncOffset:we,nextFuncIndex:Ie,nextTypeIndex:Ne}));const Ue=je($);const ze=Buffer.from(Ue);return new j(ze)}}E.exports=WebAssemblyGenerator},74167:(E,N,R)=>{"use strict";const j=R(81627);const getInitialModuleChains=(E,N,R,j)=>{const $=[{head:E,message:E.readableIdentifier(j)}];const q=new Set;const G=new Set;const ie=new Set;for(const E of $){const{head:ae,message:ce}=E;let le=true;const _e=new Set;for(const E of N.getIncomingConnections(ae)){const N=E.originModule;if(N){if(!R.getModuleChunks(N).some((E=>E.canBeInitial())))continue;le=false;if(_e.has(N))continue;_e.add(N);const q=N.readableIdentifier(j);const ae=E.explanation?` (${E.explanation})`:"";const Ee=`${q}${ae} --\x3e ${ce}`;if(ie.has(N)){G.add(`... --\x3e ${Ee}`);continue}ie.add(N);$.push({head:N,message:Ee})}else{le=false;const N=E.explanation?`(${E.explanation}) --\x3e ${ce}`:ce;q.add(N)}}if(le){q.add(ce)}}for(const E of G){q.add(E)}return Array.from(q)};E.exports=class WebAssemblyInInitialChunkError extends j{constructor(E,N,R,j){const $=getInitialModuleChains(E,N,R,j);const q=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${$.map((E=>`* ${E}`)).join("\n")}`;super(q);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=E}}},59363:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(36253);const G=R(63272);const ie=R(76150);const ae=R(58159);const ce=R(79983);const le=R(30697);const _e=R(33081);const Ee=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends q{getTypes(E){return Ee}getSize(E,N){return 95+E.dependencies.length*5}generate(E,N){const{runtimeTemplate:R,moduleGraph:q,chunkGraph:Ee,runtimeRequirements:Te,runtime:we}=N;const Ie=[];const Ne=q.getExportsInfo(E);let Me=false;const Le=new Map;const Be=[];let je=0;for(const N of E.dependencies){const j=N&&N instanceof ce?N:undefined;if(q.getModule(N)){let $=Le.get(q.getModule(N));if($===undefined){Le.set(q.getModule(N),$={importVar:`m${je}`,index:je,request:j&&j.userRequest||undefined,names:new Set,reexports:[]});je++}if(N instanceof _e){$.names.add(N.name);if(N.description.type==="GlobalType"){const j=N.name;const G=q.getModule(N);if(G){const ie=q.getExportsInfo(G).getUsedName(j,we);if(ie){Be.push(R.exportFromImport({moduleGraph:q,module:G,request:N.request,importVar:$.importVar,originModule:E,exportName:N.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ie,runtime:we,runtimeRequirements:Te}))}}}}if(N instanceof le){$.names.add(N.name);const j=q.getExportsInfo(E).getUsedName(N.exportName,we);if(j){Te.add(ie.exports);const G=`${E.exportsArgument}[${JSON.stringify(j)}]`;const ce=ae.asString([`${G} = ${R.exportFromImport({moduleGraph:q,module:q.getModule(N),request:N.request,importVar:$.importVar,originModule:E,exportName:N.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ie,runtime:we,runtimeRequirements:Te})};`,`if(WebAssembly.Global) ${G} = `+`new WebAssembly.Global({ value: ${JSON.stringify(N.valueType)} }, ${G});`]);$.reexports.push(ce);Me=true}}}}const Ue=ae.asString(Array.from(Le,(([E,{importVar:N,request:j,reexports:$}])=>{const q=R.importStatement({module:E,chunkGraph:Ee,request:j,importVar:N,originModule:E,runtimeRequirements:Te});return q[0]+q[1]+$.join("\n")})));const ze=Ne.otherExportsInfo.getUsed(we)===$.Unused&&!Me;Te.add(ie.module);Te.add(ie.moduleId);Te.add(ie.wasmInstances);if(Ne.otherExportsInfo.getUsed(we)!==$.Unused){Te.add(ie.makeNamespaceObject);Te.add(ie.exports)}if(!ze){Te.add(ie.exports)}const We=new j(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ie.wasmInstances}[${E.moduleArgument}.id];`,Ne.otherExportsInfo.getUsed(we)!==$.Unused?`${ie.makeNamespaceObject}(${E.exportsArgument});`:"","// export exports from WebAssembly module",ze?`${E.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${E.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${Be.join(", ")})`].join("\n"));return G.addToSource(We,Ie,N)}}E.exports=WebAssemblyJavascriptGenerator},84387:(E,N,R)=>{"use strict";const j=R(36253);const $=R(30697);const q=R(33081);const{compareModulesByIdentifier:G}=R(68673);const ie=R(91671);const ae=R(74167);const ce=ie((()=>R(56419)));const le=ie((()=>R(59363)));const _e=ie((()=>R(10342)));class WebAssemblyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("WebAssemblyModulesPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyFactories.set($,N);N.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=_e();return new E}));N.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=le();const N=ce();return j.byType({javascript:new E,webassembly:new N(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((N,R)=>{const{chunkGraph:j}=E;const{chunk:$,outputOptions:q,codeGenerationResults:ie}=R;for(const E of j.getOrderedChunkModulesIterable($,G)){if(E.type==="webassembly/sync"){const R=q.webassemblyModuleFilename;N.push({render:()=>ie.getSource(E,$.runtime,"webassembly"),filenameTemplate:R,pathOptions:{module:E,runtime:$.runtime,chunkGraph:j},auxiliary:true,identifier:`webassemblyModule${j.getModuleId(E)}`,hash:j.getModuleHash(E,$.runtime)})}}return N}));E.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const N=E.chunkGraph;const R=new Set;for(const j of E.chunks){if(j.canBeInitial()){for(const E of N.getChunkModulesIterable(j)){if(E.type==="webassembly/sync"){R.add(E)}}}}for(const N of R){E.errors.push(new ae(N,E.moduleGraph,E.chunkGraph,E.requestShortener))}}))}))}}E.exports=WebAssemblyModulesPlugin},10342:(E,N,R)=>{"use strict";const j=R(98093);const{moduleContextFromModuleAST:$}=R(98093);const{decode:q}=R(73432);const G=R(2172);const ie=R(96076);const ae=R(30697);const ce=R(33081);const le=new Set(["i32","f32","f64"]);const getJsIncompatibleType=E=>{for(const N of E.params){if(!le.has(N.valtype)){return`${N.valtype} as parameter`}}for(const N of E.results){if(!le.has(N))return`${N} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=E=>{for(const N of E.args){if(!le.has(N)){return`${N} as parameter`}}for(const N of E.result){if(!le.has(N))return`${N} as result`}return null};const _e={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends G{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,N){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="namespace";const R=q(E,_e);const G=R.body[0];const Ee=$(G);const Te=[];let we=N.module.buildMeta.jsIncompatibleExports=undefined;const Ie=[];j.traverse(G,{ModuleExport({node:E}){const R=E.descr;if(R.exportType==="Func"){const j=R.id.value;const $=Ee.getFunction(j);const q=getJsIncompatibleTypeOfFuncSignature($);if(q){if(we===undefined){we=N.module.buildMeta.jsIncompatibleExports={}}we[E.name]=q}}Te.push(E.name);if(E.descr&&E.descr.exportType==="Global"){const R=Ie[E.descr.id.value];if(R){const j=new ae(E.name,R.module,R.name,R.descr.valtype);N.module.addDependency(j)}}},Global({node:E}){const N=E.init[0];let R=null;if(N.id==="get_global"){const E=N.args[0].value;if(E<Ie.length){R=Ie[E]}}Ie.push(R)},ModuleImport({node:E}){let R=false;if(j.isMemory(E.descr)===true){R="Memory"}else if(j.isTable(E.descr)===true){R="Table"}else if(j.isFuncImportDescr(E.descr)===true){const N=getJsIncompatibleType(E.descr.signature);if(N){R=`Non-JS-compatible Func Signature (${N})`}}else if(j.isGlobalType(E.descr)===true){const N=E.descr.valtype;if(!le.has(N)){R=`Non-JS-compatible Global Type (${N})`}}const $=new ce(E.module,E.name,E.descr,R);N.module.addDependency($);if(j.isGlobalType(E.descr)){Ie.push(E)}}});N.module.addDependency(new ie(Te,false));return N}}E.exports=WebAssemblyParser},20612:(E,N,R)=>{"use strict";const j=R(58159);const $=R(33081);const q="a";const getUsedDependencies=(E,N,R)=>{const G=[];let ie=0;for(const ae of N.dependencies){if(ae instanceof $){if(ae.description.type==="GlobalType"||E.getModule(ae)===null){continue}const N=ae.name;if(R){G.push({dependency:ae,name:j.numberToIdentifier(ie++),module:q})}else{G.push({dependency:ae,name:N,module:ae.request})}}}return G};N.getUsedDependencies=getUsedDependencies;N.MANGLED_MODULE=q},69085:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableWasmLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Library type "${N}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){switch(N){case"fetch":{const N=R(71100);const j=R(52687);new N({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);(new j).apply(E);break}case"async-node":{const j=R(71049);const $=R(21273);new j({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);new $({type:N}).apply(E);break}case"async-node-module":{const j=R(21273);new j({type:N,import:true}).apply(E);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${N}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableWasmLoadingPlugin},52687:(E,N,R)=>{"use strict";const j=R(76150);const $=R(34943);class FetchCompileAsyncWasmPlugin{apply(E){E.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="fetch"};const generateLoadBinaryCode=E=>`fetch(${j.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(j.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(N,(E=>E.type==="webassembly/async"))){return}R.add(j.publicPath);E.addRuntimeModule(N,new $({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}E.exports=FetchCompileAsyncWasmPlugin},71100:(E,N,R)=>{"use strict";const j=R(76150);const $=R(61006);class FetchCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="fetch"};const generateLoadBinaryCode=E=>`fetch(${j.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(N,(E=>E.type==="webassembly/sync"))){return}R.add(j.moduleCache);R.add(j.publicPath);E.addRuntimeModule(N,new $({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:R}))}))}))}}E.exports=FetchCompileWasmPlugin},76853:(E,N,R)=>{"use strict";const j=R(76150);const $=R(4038);class JsonpChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j==="jsonp"};const R=new WeakSet;const handler=(N,q)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;q.add(j.moduleFactoriesAddOnly);q.add(j.hasOwnProperty);E.addRuntimeModule(N,new $(q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.loadScript);N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.loadScript);N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getUpdateManifestFilename)}))}))}}E.exports=JsonpChunkLoadingPlugin},4038:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(66804);const ie=R(58159);const ae=R(18161).chunkHasJs;const{getInitialChunkIds:ce}=R(13085);const le=R(87274);const _e=new WeakMap;class JsonpChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=_e.get(E);if(N===undefined){N={linkPreload:new j(["source","chunk"]),linkPrefetch:new j(["source","chunk"])};_e.set(E,N)}return N}constructor(E){super("jsonp chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{chunkGraph:E,compilation:N,chunk:j}=this;const{runtimeTemplate:$,outputOptions:{globalObject:G,chunkLoadingGlobal:_e,hotUpdateGlobal:Ee,crossOriginLoading:Te,scriptType:we}}=N;const{linkPreload:Ie,linkPrefetch:Ne}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(N);const Me=q.ensureChunkHandlers;const Le=this._runtimeRequirements.has(q.baseURI);const Be=this._runtimeRequirements.has(q.ensureChunkHandlers);const je=this._runtimeRequirements.has(q.chunkCallback);const Ue=this._runtimeRequirements.has(q.onChunksLoaded);const ze=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const We=this._runtimeRequirements.has(q.hmrDownloadManifest);const Je=this._runtimeRequirements.has(q.prefetchChunkHandlers);const Ve=this._runtimeRequirements.has(q.preloadChunkHandlers);const qe=`${G}[${JSON.stringify(_e)}]`;const He=E.getChunkConditionMap(j,ae);const Ge=le(He);const Ke=ce(j,E);const Qe=ze?`${q.hmrRuntimeStatePrefix}_jsonp`:undefined;return ie.asString([Le?ie.asString([`${q.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Qe?`${Qe} = ${Qe} || `:""}{`,ie.indent(Array.from(Ke,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Be?ie.asString([`${Me}.j = ${$.basicFunction("chunkId, promises",Ge!==false?ie.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[2]);"]),"} else {",ie.indent([Ge===true?"if(true) { // all chunks have JS":`if(${Ge("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = new Promise(${$.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${$.basicFunction("event",[`if(${q.hasOwnProperty}(installedChunks, chunkId)) {`,ie.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ie.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${q.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Je&&Ge!==false?`${q.prefetchChunkHandlers}.j = ${$.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ge===true?"true":Ge("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ne.call(ie.asString(["var link = document.createElement('link');",Te?`link.crossOrigin = ${JSON.stringify(Te)};`:"",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`]),j),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",Ve&&Ge!==false?`${q.preloadChunkHandlers}.j = ${$.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ge===true?"true":Ge("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ie.call(ie.asString(["var link = document.createElement('link');",we?`link.type = ${JSON.stringify(we)};`:"","link.charset = 'utf-8';",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,Te?ie.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ie.indent(`link.crossOrigin = ${JSON.stringify(Te)};`),"}"]):""]),j),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",ze?ie.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ie.indent([`return new Promise(${$.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${q.publicPath} + ${q.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${$.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${q.loadScript}(url, loadingEnded);`])});`]),"}","",`${G}[${JSON.stringify(Ee)}] = ${$.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ie.getFunctionContent(R(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,q.moduleCache).replace(/\$moduleFactories\$/g,q.moduleFactories).replace(/\$ensureChunkHandlers\$/g,q.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,q.hasOwnProperty).replace(/\$hmrModuleData\$/g,q.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,q.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,q.hmrInvalidateModuleHandlers)]):"// no HMR","",We?ie.asString([`${q.hmrDownloadManifest} = ${$.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${q.publicPath} + ${q.getUpdateManifestFilename}()).then(${$.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Ue?`${q.onChunksLoaded}.j = ${$.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",je||Be?ie.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${$.basicFunction("parentChunkLoadingFunction, data",[$.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${$.returningFunction("installedChunks[id] !== 0","id")})) {`,ie.indent(["for(moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);"]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ie.indent(["chunkId = chunkIds[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Ue?`return ${q.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${qe} = ${qe} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}E.exports=JsonpChunkLoadingRuntimeModule},58421:(E,N,R)=>{"use strict";const j=R(41113);const $=R(50369);const q=R(4038);class JsonpTemplatePlugin{static getCompilationHooks(E){return q.getCompilationHooks(E)}apply(E){E.options.output.chunkLoading="jsonp";(new j).apply(E);new $("jsonp").apply(E)}}E.exports=JsonpTemplatePlugin},2982:(E,N,R)=>{"use strict";const j=R(73837);const $=R(63221);const q=R(46312);const G=R(63076);const ie=R(63433);const ae=R(81721);const{applyWebpackOptionsDefaults:ce,applyWebpackOptionsBaseDefaults:le}=R(54411);const{getNormalizedWebpackOptions:_e}=R(96590);const Ee=R(93632);const Te=R(91671);const we=Te((()=>R(33316)));const createMultiCompiler=(E,N)=>{const R=E.map((E=>createCompiler(E)));const j=new ie(R,N);for(const E of R){if(E.options.dependencies){j.setDependencies(E,E.options.dependencies)}}return j};const createCompiler=E=>{const N=_e(E);le(N);const R=new G(N.context,N);new Ee({infrastructureLogging:N.infrastructureLogging}).apply(R);if(Array.isArray(N.plugins)){for(const E of N.plugins){if(typeof E==="function"){E.call(R,R)}else{E.apply(R)}}}ce(N);R.hooks.environment.call();R.hooks.afterEnvironment.call();(new ae).process(N,R);R.hooks.initialize.call();return R};const webpack=(E,N)=>{const create=()=>{if(!$(E)){we()(q,E)}let N;let R=false;let j;if(Array.isArray(E)){N=createMultiCompiler(E,E);R=E.some((E=>E.watch));j=E.map((E=>E.watchOptions||{}))}else{const $=E;N=createCompiler($);R=$.watch;j=$.watchOptions||{}}return{compiler:N,watch:R,watchOptions:j}};if(N){try{const{compiler:E,watch:R,watchOptions:j}=create();if(R){E.watch(j,N)}else{E.run(((R,j)=>{E.close((E=>{N(R||E,j)}))}))}return E}catch(E){process.nextTick((()=>N(E)));return null}}else{const{compiler:E,watch:N}=create();if(N){j.deprecate((()=>{}),"A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return E}};E.exports=webpack},82779:(E,N,R)=>{"use strict";const j=R(76150);const $=R(44160);const q=R(64997);const G=R(92208);class ImportScriptsChunkLoadingPlugin{apply(E){new q({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(E);E.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j==="import-scripts"};const R=new WeakSet;const handler=(N,$)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;const q=!!E.outputOptions.trustedTypes;$.add(j.moduleFactoriesAddOnly);$.add(j.hasOwnProperty);if(q)$.add(j.createScriptUrl);E.addRuntimeModule(N,new G($,q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.createScriptUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new $);return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getUpdateManifestFilename)}))}))}}E.exports=ImportScriptsChunkLoadingPlugin},92208:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{getChunkFilenameTemplate:G,chunkHasJs:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class ImportScriptsChunkLoadingRuntimeModule extends ${constructor(E,N){super("importScripts chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E;this._withCreateScriptUrl=N}generate(){const{chunk:E,chunkGraph:N,compilation:{runtimeTemplate:$,outputOptions:{globalObject:_e,chunkLoadingGlobal:Ee,hotUpdateGlobal:Te}},_withCreateScriptUrl:we}=this;const Ie=j.ensureChunkHandlers;const Ne=this.runtimeRequirements.has(j.baseURI);const Me=this.runtimeRequirements.has(j.ensureChunkHandlers);const Le=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has(j.hmrDownloadManifest);const je=`${_e}[${JSON.stringify(Ee)}]`;const Ue=ce(N.getChunkConditionMap(E,ie));const ze=ae(E,N);const We=this.compilation.getPath(G(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const Je=le(We,this.compilation.outputOptions.path,false);const Ve=Le?`${j.hmrRuntimeStatePrefix}_importScripts`:undefined;return q.asString([Ne?q.asString([`${j.baseURI} = self.location + ${JSON.stringify(Je?"/../"+Je:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${Ve?`${Ve} = ${Ve} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Me?q.asString(["// importScripts chunk loading",`var installChunk = ${$.basicFunction("data",[$.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${j.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",q.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Me?q.asString([`${Ie}.i = ${$.basicFunction("chunkId, promises",Ue!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Ue===true?"if(true) { // all chunks have JS":`if(${Ue("chunkId")}) {`,q.indent(`importScripts(${we?`${j.createScriptUrl}(${j.publicPath} + ${j.getChunkScriptFilename}(chunkId))`:`${j.publicPath} + ${j.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${je} = ${je} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Le?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["var success = false;",`${_e}[${JSON.stringify(Te)}] = ${$.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${we?`${j.createScriptUrl}(${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId))`:`${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${j.hmrDownloadManifest} = ${$.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${j.publicPath} + ${j.getUpdateManifestFilename}()).then(${$.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}E.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(E,N,R)=>{"use strict";const j=R(41113);const $=R(50369);class WebWorkerTemplatePlugin{apply(E){E.options.output.chunkLoading="import-scripts";(new j).apply(E);new $("import-scripts").apply(E)}}E.exports=WebWorkerTemplatePlugin},3385:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.importAssertions=importAssertions;var j=_interopRequireWildcard(R(14150));function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}const $="{".charCodeAt(0);const q=" ".charCodeAt(0);const G="assert";const ie=1,ae=2,ce=4;function importAssertions(E){const N=E.acorn||j;const{tokTypes:R,TokenType:ae}=N;return class extends E{constructor(...E){super(...E);this.assertToken=new ae(G)}_codeAt(E){return this.input.charCodeAt(E)}_eat(E){if(this.type!==E){this.unexpected()}this.next()}readToken(E){let N=0;for(;N<G.length;N++){if(this._codeAt(this.pos+N)!==G.charCodeAt(N)){return super.readToken(E)}}for(;;N++){if(this._codeAt(this.pos+N)===$){break}else if(this._codeAt(this.pos+N)===q){continue}else{return super.readToken(E)}}if(this.type.label==="{"){return super.readToken(E)}this.pos+=G.length;return this.finishToken(this.assertToken)}parseDynamicImport(E){this.next();E.source=this.parseMaybeAssign();if(this.eat(R.comma)){const N=this.parseObj(false);E.arguments=[N]}this._eat(R.parenR);return this.finishNode(E,"ImportExpression")}parseExport(E,N){this.next();if(this.eat(R.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==R.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(R._default)){this.checkExport(N,"default",this.lastTokStart);var j;if(this.type===R._function||(j=this.isAsyncFunction())){var $=this.startNode();this.next();if(j){this.next()}E.declaration=this.parseFunction($,ie|ce,false,j)}else if(this.type===R._class){var q=this.startNode();E.declaration=this.parseClass(q,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==R.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}}else{for(var G=0,ae=E.specifiers;G<ae.length;G+=1){var le=ae[G];this.checkUnreserved(le.local);this.checkLocalExport(le.local)}E.source=null}this.semicolon()}return this.finishNode(E,"ExportNamedDeclaration")}parseImport(E){this.next();if(this.type===R.string){E.specifiers=[];E.source=this.parseExprAtom()}else{E.specifiers=this.parseImportSpecifiers();this.expectContextual("from");E.source=this.type===R.string?this.parseExprAtom():this.unexpected()}if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}this.semicolon();return this.finishNode(E,"ImportDeclaration")}parseImportAssertions(){this._eat(R.braceL);const E=this.parseAssertEntries();this._eat(R.braceR);return E}parseAssertEntries(){const E=[];const N=new Set;do{if(this.type===R.braceR){break}const j=this.startNode();let $;if(this.type===R.string){$=this.parseLiteral(this.value)}else{$=this.parseIdent(true)}this.next();j.key=$;if(N.has(j.key.name)){this.raise(this.pos,"Duplicated key in assertions")}N.add(j.key.name);if(this.type!==R.string){this.raise(this.pos,"Only string is supported as an assertion value")}j.value=this.parseLiteral(this.value);E.push(this.finishNode(j,"ImportAttribute"))}while(this.eat(R.comma));return E}}}},14150:function(E,N){(function(E,R){true?R(N):0})(this,(function(E){"use strict";var N={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var R="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var j={5:R,"5module":R+" export import",6:R+" const class extends export import super"};var $=/^in(stanceof)?$/;var q="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var G="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍--_";var ie=new RegExp("["+q+"]");var ae=new RegExp("["+q+G+"]");q=G=null;var ce=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var le=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(E,N){var R=65536;for(var j=0;j<N.length;j+=2){R+=N[j];if(R>E){return false}R+=N[j+1];if(R>=E){return true}}}function isIdentifierStart(E,N){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)}function isIdentifierChar(E,N){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)||isInAstralSet(E,le)}var _e=function TokenType(E,N){if(N===void 0)N={};this.label=E;this.keyword=N.keyword;this.beforeExpr=!!N.beforeExpr;this.startsExpr=!!N.startsExpr;this.isLoop=!!N.isLoop;this.isAssign=!!N.isAssign;this.prefix=!!N.prefix;this.postfix=!!N.postfix;this.binop=N.binop||null;this.updateContext=null};function binop(E,N){return new _e(E,{beforeExpr:true,binop:N})}var Ee={beforeExpr:true},Te={startsExpr:true};var we={};function kw(E,N){if(N===void 0)N={};N.keyword=E;return we[E]=new _e(E,N)}var Ie={num:new _e("num",Te),regexp:new _e("regexp",Te),string:new _e("string",Te),name:new _e("name",Te),privateId:new _e("privateId",Te),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",Ee),semi:new _e(";",Ee),colon:new _e(":",Ee),dot:new _e("."),question:new _e("?",Ee),questionDot:new _e("?."),arrow:new _e("=>",Ee),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",Ee),backQuote:new _e("`",Te),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",Ee),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Ee),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",Ee),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Te),_if:kw("if"),_return:kw("return",Ee),_switch:kw("switch"),_throw:kw("throw",Ee),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Te),_super:kw("super",Te),_class:kw("class",Te),_extends:kw("extends",Ee),_export:kw("export"),_import:kw("import",Te),_null:kw("null",Te),_true:kw("true",Te),_false:kw("false",Te),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Me=new RegExp(Ne.source,"g");function isNewLine(E,N){return E===10||E===13||!N&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var je=Object.prototype;var Ue=je.hasOwnProperty;var ze=je.toString;function has(E,N){return Ue.call(E,N)}var We=Array.isArray||function(E){return ze.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var Je=function Position(E,N){this.line=E;this.column=N};Je.prototype.offset=function offset(E){return new Je(this.line,this.column+E)};var Ve=function SourceLocation(E,N,R){this.start=N;this.end=R;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,N){for(var R=1,j=0;;){Me.lastIndex=j;var $=Me.exec(E);if($&&$.index<N){++R;j=$.index+$[0].length}else{return new Je(R,N-j)}}}var qe={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var He=false;function getOptions(E){var N={};for(var R in qe){N[R]=E&&has(E,R)?E[R]:qe[R]}if(N.ecmaVersion==="latest"){N.ecmaVersion=1e8}else if(N.ecmaVersion==null){if(!He&&typeof console==="object"&&console.warn){He=true;console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")}N.ecmaVersion=11}else if(N.ecmaVersion>=2015){N.ecmaVersion-=2009}if(N.allowReserved==null){N.allowReserved=N.ecmaVersion<5}if(We(N.onToken)){var j=N.onToken;N.onToken=function(E){return j.push(E)}}if(We(N.onComment)){N.onComment=pushComment(N,N.onComment)}return N}function pushComment(E,N){return function(R,j,$,q,G,ie){var ae={type:R?"Block":"Line",value:j,start:$,end:q};if(E.locations){ae.loc=new Ve(this,G,ie)}if(E.ranges){ae.range=[$,q]}N.push(ae)}}var Ge=1,Ke=2,Qe=Ge|Ke,Xe=4,Ye=8,Ze=16,et=32,tt=64,rt=128;function functionFlags(E,N){return Ke|(E?Xe:0)|(N?Ye:0)}var nt=0,it=1,ot=2,st=3,ct=4,ut=5;var dt=function Parser(E,R,$){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(j[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){q=N[E.ecmaVersion>=6?6:E.ecmaVersion===5?5:3];if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var G=(q?q+" ":"")+N.strict;this.reservedWordsStrict=wordsRegexp(G);this.reservedWordsStrictBind=wordsRegexp(G+" "+N.strictBind);this.input=String(R);this.containsEsc=false;if($){this.pos=$;this.lineStart=this.input.lastIndexOf("\n",$-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ie.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Ge);this.regexpState=null;this.privateNameStack=[]};var pt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};dt.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};pt.inFunction.get=function(){return(this.currentVarScope().flags&Ke)>0};pt.inGenerator.get=function(){return(this.currentVarScope().flags&Ye)>0&&!this.currentVarScope().inClassFieldInit};pt.inAsync.get=function(){return(this.currentVarScope().flags&Xe)>0&&!this.currentVarScope().inClassFieldInit};pt.canAwait.get=function(){for(var E=this.scopeStack.length-1;E>=0;E--){var N=this.scopeStack[E];if(N.inClassFieldInit){return false}if(N.flags&Ke){return(N.flags&Xe)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};pt.allowSuper.get=function(){var E=this.currentThisScope();var N=E.flags;var R=E.inClassFieldInit;return(N&tt)>0||R||this.options.allowSuperOutsideMethod};pt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&rt)>0};pt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};pt.inNonArrowFunction.get=function(){var E=this.currentThisScope();var N=E.flags;var R=E.inClassFieldInit;return(N&Ke)>0||R};dt.extend=function extend(){var E=[],N=arguments.length;while(N--)E[N]=arguments[N];var R=this;for(var j=0;j<E.length;j++){R=E[j](R)}return R};dt.parse=function parse(E,N){return new this(N,E).parse()};dt.parseExpressionAt=function parseExpressionAt(E,N,R){var j=new this(R,E,N);j.nextToken();return j.parseExpression()};dt.tokenizer=function tokenizer(E,N){return new this(N,E)};Object.defineProperties(dt.prototype,pt);var ft=dt.prototype;var mt=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;ft.strictDirective=function(E){for(;;){Be.lastIndex=E;E+=Be.exec(this.input)[0].length;var N=mt.exec(this.input.slice(E));if(!N){return false}if((N[1]||N[2])==="use strict"){Be.lastIndex=E+N[0].length;var R=Be.exec(this.input),j=R.index+R[0].length;var $=this.input.charAt(j);return $===";"||$==="}"||Ne.test(R[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test($)||$==="!"&&this.input.charAt(j+1)==="=")}E+=N[0].length;Be.lastIndex=E;E+=Be.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};ft.eat=function(E){if(this.type===E){this.next();return true}else{return false}};ft.isContextual=function(E){return this.type===Ie.name&&this.value===E&&!this.containsEsc};ft.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};ft.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};ft.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};ft.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};ft.semicolon=function(){if(!this.eat(Ie.semi)&&!this.insertSemicolon()){this.unexpected()}};ft.afterTrailingComma=function(E,N){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!N){this.next()}return true}};ft.expect=function(E){this.eat(E)||this.unexpected()};ft.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ft.checkPatternErrors=function(E,N){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var R=N?E.parenthesizedAssign:E.parenthesizedBind;if(R>-1){this.raiseRecoverable(R,"Parenthesized pattern")}};ft.checkExpressionErrors=function(E,N){if(!E){return false}var R=E.shorthandAssign;var j=E.doubleProto;if(!N){return R>=0||j>=0}if(R>=0){this.raise(R,"Shorthand property assignments are valid only in destructuring patterns")}if(j>=0){this.raiseRecoverable(j,"Redefinition of __proto__ property")}};ft.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};ft.isSimpleAssignTarget=function(E){if(E.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(E.expression)}return E.type==="Identifier"||E.type==="MemberExpression"};var ht=dt.prototype;ht.parseTopLevel=function(E){var N=Object.create(null);if(!E.body){E.body=[]}while(this.type!==Ie.eof){var R=this.parseStatement(null,true,N);E.body.push(R)}if(this.inModule){for(var j=0,$=Object.keys(this.undefinedExports);j<$.length;j+=1){var q=$[j];this.raiseRecoverable(this.undefinedExports[q].start,"Export '"+q+"' is not defined")}}this.adaptDirectivePrologue(E.body);this.next();E.sourceType=this.options.sourceType;return this.finishNode(E,"Program")};var _t={kind:"loop"},yt={kind:"switch"};ht.isLet=function(E){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}Be.lastIndex=this.pos;var N=Be.exec(this.input);var R=this.pos+N[0].length,j=this.input.charCodeAt(R);if(j===91||j===92||j>55295&&j<56320){return true}if(E){return false}if(j===123){return true}if(isIdentifierStart(j,true)){var q=R+1;while(isIdentifierChar(j=this.input.charCodeAt(q),true)){++q}if(j===92||j>55295&&j<56320){return true}var G=this.input.slice(R,q);if(!$.test(G)){return true}}return false};ht.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}Be.lastIndex=this.pos;var E=Be.exec(this.input);var N=this.pos+E[0].length,R;return!Ne.test(this.input.slice(this.pos,N))&&this.input.slice(N,N+8)==="function"&&(N+8===this.input.length||!(isIdentifierChar(R=this.input.charCodeAt(N+8))||R>55295&&R<56320))};ht.parseStatement=function(E,N,R){var j=this.type,$=this.startNode(),q;if(this.isLet(E)){j=Ie._var;q="let"}switch(j){case Ie._break:case Ie._continue:return this.parseBreakContinueStatement($,j.keyword);case Ie._debugger:return this.parseDebuggerStatement($);case Ie._do:return this.parseDoStatement($);case Ie._for:return this.parseForStatement($);case Ie._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement($,false,!E);case Ie._class:if(E){this.unexpected()}return this.parseClass($,true);case Ie._if:return this.parseIfStatement($);case Ie._return:return this.parseReturnStatement($);case Ie._switch:return this.parseSwitchStatement($);case Ie._throw:return this.parseThrowStatement($);case Ie._try:return this.parseTryStatement($);case Ie._const:case Ie._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement($,q);case Ie._while:return this.parseWhileStatement($);case Ie._with:return this.parseWithStatement($);case Ie.braceL:return this.parseBlock(true,$);case Ie.semi:return this.parseEmptyStatement($);case Ie._export:case Ie._import:if(this.options.ecmaVersion>10&&j===Ie._import){Be.lastIndex=this.pos;var G=Be.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement($,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!N){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return j===Ie._import?this.parseImport($):this.parseExport($,R);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement($,true,!E)}var ce=this.value,le=this.parseExpression();if(j===Ie.name&&le.type==="Identifier"&&this.eat(Ie.colon)){return this.parseLabeledStatement($,ce,le,E)}else{return this.parseExpressionStatement($,le)}}};ht.parseBreakContinueStatement=function(E,N){var R=N==="break";this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ie.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var j=0;for(;j<this.labels.length;++j){var $=this.labels[j];if(E.label==null||$.name===E.label.name){if($.kind!=null&&(R||$.kind==="loop")){break}if(E.label&&R){break}}}if(j===this.labels.length){this.raise(E.start,"Unsyntactic "+N)}return this.finishNode(E,R?"BreakStatement":"ContinueStatement")};ht.parseDebuggerStatement=function(E){this.next();this.semicolon();return this.finishNode(E,"DebuggerStatement")};ht.parseDoStatement=function(E){this.next();this.labels.push(_t);E.body=this.parseStatement("do");this.labels.pop();this.expect(Ie._while);E.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(Ie.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};ht.parseForStatement=function(E){this.next();var N=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(_t);this.enterScope(0);this.expect(Ie.parenL);if(this.type===Ie.semi){if(N>-1){this.unexpected(N)}return this.parseFor(E,null)}var R=this.isLet();if(this.type===Ie._var||this.type===Ie._const||R){var j=this.startNode(),$=R?"let":this.value;this.next();this.parseVar(j,true,$);this.finishNode(j,"VariableDeclaration");if((this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&j.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}return this.parseForIn(E,j)}if(N>-1){this.unexpected(N)}return this.parseFor(E,j)}var q=new DestructuringErrors;var G=this.parseExpression(N>-1?"await":true,q);if(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}this.toAssignable(G,false,q);this.checkLValPattern(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(N>-1){this.unexpected(N)}return this.parseFor(E,G)};ht.parseFunctionStatement=function(E,N,R){this.next();return this.parseFunction(E,bt|(R?0:xt),false,N)};ht.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ie._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};ht.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};ht.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ie.braceL);this.labels.push(yt);this.enterScope(0);var N;for(var R=false;this.type!==Ie.braceR;){if(this.type===Ie._case||this.type===Ie._default){var j=this.type===Ie._case;if(N){this.finishNode(N,"SwitchCase")}E.cases.push(N=this.startNode());N.consequent=[];this.next();if(j){N.test=this.parseExpression()}else{if(R){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}R=true;N.test=null}this.expect(Ie.colon)}else{if(!N){this.unexpected()}N.consequent.push(this.parseStatement(null))}}this.exitScope();if(N){this.finishNode(N,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};ht.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var vt=[];ht.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ie._catch){var N=this.startNode();this.next();if(this.eat(Ie.parenL)){N.param=this.parseBindingAtom();var R=N.param.type==="Identifier";this.enterScope(R?et:0);this.checkLValPattern(N.param,R?ct:ot);this.expect(Ie.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}N.param=null;this.enterScope(0)}N.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(N,"CatchClause")}E.finalizer=this.eat(Ie._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};ht.parseVarStatement=function(E,N){this.next();this.parseVar(E,false,N);this.semicolon();return this.finishNode(E,"VariableDeclaration")};ht.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(_t);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};ht.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};ht.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};ht.parseLabeledStatement=function(E,N,R,j){for(var $=0,q=this.labels;$<q.length;$+=1){var G=q[$];if(G.name===N){this.raise(R.start,"Label '"+N+"' is already declared")}}var ie=this.type.isLoop?"loop":this.type===Ie._switch?"switch":null;for(var ae=this.labels.length-1;ae>=0;ae--){var ce=this.labels[ae];if(ce.statementStart===E.start){ce.statementStart=this.start;ce.kind=ie}else{break}}this.labels.push({name:N,kind:ie,statementStart:this.start});E.body=this.parseStatement(j?j.indexOf("label")===-1?j+"label":j:"label");this.labels.pop();E.label=R;return this.finishNode(E,"LabeledStatement")};ht.parseExpressionStatement=function(E,N){E.expression=N;this.semicolon();return this.finishNode(E,"ExpressionStatement")};ht.parseBlock=function(E,N,R){if(E===void 0)E=true;if(N===void 0)N=this.startNode();N.body=[];this.expect(Ie.braceL);if(E){this.enterScope(0)}while(this.type!==Ie.braceR){var j=this.parseStatement(null);N.body.push(j)}if(R){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(N,"BlockStatement")};ht.parseFor=function(E,N){E.init=N;this.expect(Ie.semi);E.test=this.type===Ie.semi?null:this.parseExpression();this.expect(Ie.semi);E.update=this.type===Ie.parenR?null:this.parseExpression();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};ht.parseForIn=function(E,N){var R=this.type===Ie._in;this.next();if(N.type==="VariableDeclaration"&&N.declarations[0].init!=null&&(!R||this.options.ecmaVersion<8||this.strict||N.kind!=="var"||N.declarations[0].id.type!=="Identifier")){this.raise(N.start,(R?"for-in":"for-of")+" loop variable declaration may not have an initializer")}E.left=N;E.right=R?this.parseExpression():this.parseMaybeAssign();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,R?"ForInStatement":"ForOfStatement")};ht.parseVar=function(E,N,R){E.declarations=[];E.kind=R;for(;;){var j=this.startNode();this.parseVarId(j,R);if(this.eat(Ie.eq)){j.init=this.parseMaybeAssign(N)}else if(R==="const"&&!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(j.id.type!=="Identifier"&&!(N&&(this.type===Ie._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{j.init=null}E.declarations.push(this.finishNode(j,"VariableDeclarator"));if(!this.eat(Ie.comma)){break}}return E};ht.parseVarId=function(E,N){E.id=this.parseBindingAtom();this.checkLValPattern(E.id,N==="var"?it:ot,false)};var bt=1,xt=2,St=4;ht.parseFunction=function(E,N,R,j){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!j){if(this.type===Ie.star&&N&xt){this.unexpected()}E.generator=this.eat(Ie.star)}if(this.options.ecmaVersion>=8){E.async=!!j}if(N&bt){E.id=N&St&&this.type!==Ie.name?null:this.parseIdent();if(E.id&&!(N&xt)){this.checkLValSimple(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?it:ot:st)}}var $=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(N&bt)){E.id=this.type===Ie.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,R,false);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,N&bt?"FunctionDeclaration":"FunctionExpression")};ht.parseFunctionParams=function(E){this.expect(Ie.parenL);E.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ht.parseClass=function(E,N){this.next();var R=this.strict;this.strict=true;this.parseClassId(E,N);this.parseClassSuper(E);var j=this.enterClassBody();var $=this.startNode();var q=false;$.body=[];this.expect(Ie.braceL);while(this.type!==Ie.braceR){var G=this.parseClassElement(E.superClass!==null);if(G){$.body.push(G);if(G.type==="MethodDefinition"&&G.kind==="constructor"){if(q){this.raise(G.start,"Duplicate constructor in the same class")}q=true}else if(G.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(j,G)){this.raiseRecoverable(G.key.start,"Identifier '#"+G.key.name+"' has already been declared")}}}this.strict=R;this.next();E.body=this.finishNode($,"ClassBody");this.exitClassBody();return this.finishNode(E,N?"ClassDeclaration":"ClassExpression")};ht.parseClassElement=function(E){if(this.eat(Ie.semi)){return null}var N=this.options.ecmaVersion;var R=this.startNode();var j="";var $=false;var q=false;var G="method";R.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===Ie.star){R.static=true}else{j="static"}}if(!j&&N>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Ie.star)&&!this.canInsertSemicolon()){q=true}else{j="async"}}if(!j&&(N>=9||!q)&&this.eat(Ie.star)){$=true}if(!j&&!q&&!$){var ie=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){G=ie}else{j=ie}}}if(j){R.computed=false;R.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);R.key.name=j;this.finishNode(R.key,"Identifier")}else{this.parseClassElementName(R)}if(N<13||this.type===Ie.parenL||G!=="method"||$||q){var ae=!R.static&&checkKeyName(R,"constructor");var ce=ae&&E;if(ae&&G!=="method"){this.raise(R.key.start,"Constructor can't have get/set modifier")}R.kind=ae?"constructor":G;this.parseClassMethod(R,$,q,ce)}else{this.parseClassField(R)}return R};ht.isClassElementNameStart=function(){return this.type===Ie.name||this.type===Ie.privateId||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword};ht.parseClassElementName=function(E){if(this.type===Ie.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}E.computed=false;E.key=this.parsePrivateIdent()}else{this.parsePropertyName(E)}};ht.parseClassMethod=function(E,N,R,j){var $=E.key;if(E.kind==="constructor"){if(N){this.raise($.start,"Constructor can't be a generator")}if(R){this.raise($.start,"Constructor can't be an async method")}}else if(E.static&&checkKeyName(E,"prototype")){this.raise($.start,"Classes may not have a static property named prototype")}var q=E.value=this.parseMethod(N,R,j);if(E.kind==="get"&&q.params.length!==0){this.raiseRecoverable(q.start,"getter should have no params")}if(E.kind==="set"&&q.params.length!==1){this.raiseRecoverable(q.start,"setter should have exactly one param")}if(E.kind==="set"&&q.params[0].type==="RestElement"){this.raiseRecoverable(q.params[0].start,"Setter cannot use rest params")}return this.finishNode(E,"MethodDefinition")};ht.parseClassField=function(E){if(checkKeyName(E,"constructor")){this.raise(E.key.start,"Classes can't have a field named 'constructor'")}else if(E.static&&checkKeyName(E,"prototype")){this.raise(E.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Ie.eq)){var N=this.currentThisScope();var R=N.inClassFieldInit;N.inClassFieldInit=true;E.value=this.parseMaybeAssign();N.inClassFieldInit=R}else{E.value=null}this.semicolon();return this.finishNode(E,"PropertyDefinition")};ht.parseClassId=function(E,N){if(this.type===Ie.name){E.id=this.parseIdent();if(N){this.checkLValSimple(E.id,ot,false)}}else{if(N===true){this.unexpected()}E.id=null}};ht.parseClassSuper=function(E){E.superClass=this.eat(Ie._extends)?this.parseExprSubscripts():null};ht.enterClassBody=function(){var E={declared:Object.create(null),used:[]};this.privateNameStack.push(E);return E.declared};ht.exitClassBody=function(){var E=this.privateNameStack.pop();var N=E.declared;var R=E.used;var j=this.privateNameStack.length;var $=j===0?null:this.privateNameStack[j-1];for(var q=0;q<R.length;++q){var G=R[q];if(!has(N,G.name)){if($){$.used.push(G)}else{this.raiseRecoverable(G.start,"Private field '#"+G.name+"' must be declared in an enclosing class")}}}};function isPrivateNameConflicted(E,N){var R=N.key.name;var j=E[R];var $="true";if(N.type==="MethodDefinition"&&(N.kind==="get"||N.kind==="set")){$=(N.static?"s":"i")+N.kind}if(j==="iget"&&$==="iset"||j==="iset"&&$==="iget"||j==="sget"&&$==="sset"||j==="sset"&&$==="sget"){E[R]="true";return false}else if(!j){E[R]=$;return false}else{return true}}function checkKeyName(E,N){var R=E.computed;var j=E.key;return!R&&(j.type==="Identifier"&&j.name===N||j.type==="Literal"&&j.value===N)}ht.parseExport=function(E,N){this.next();if(this.eat(Ie.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ie._default)){this.checkExport(N,"default",this.lastTokStart);var R;if(this.type===Ie._function||(R=this.isAsyncFunction())){var j=this.startNode();this.next();if(R){this.next()}E.declaration=this.parseFunction(j,bt|St,false,R)}else if(this.type===Ie._class){var $=this.startNode();E.declaration=this.parseClass($,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q<G.length;q+=1){var ie=G[q];this.checkUnreserved(ie.local);this.checkLocalExport(ie.local)}E.source=null}this.semicolon()}return this.finishNode(E,"ExportNamedDeclaration")};ht.checkExport=function(E,N,R){if(!E){return}if(has(E,N)){this.raiseRecoverable(R,"Duplicate export '"+N+"'")}E[N]=true};ht.checkPatternExport=function(E,N){var R=N.type;if(R==="Identifier"){this.checkExport(E,N.name,N.start)}else if(R==="ObjectPattern"){for(var j=0,$=N.properties;j<$.length;j+=1){var q=$[j];this.checkPatternExport(E,q)}}else if(R==="ArrayPattern"){for(var G=0,ie=N.elements;G<ie.length;G+=1){var ae=ie[G];if(ae){this.checkPatternExport(E,ae)}}}else if(R==="Property"){this.checkPatternExport(E,N.value)}else if(R==="AssignmentPattern"){this.checkPatternExport(E,N.left)}else if(R==="RestElement"){this.checkPatternExport(E,N.argument)}else if(R==="ParenthesizedExpression"){this.checkPatternExport(E,N.expression)}};ht.checkVariableExport=function(E,N){if(!E){return}for(var R=0,j=N;R<j.length;R+=1){var $=j[R];this.checkPatternExport(E,$.id)}};ht.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};ht.parseExportSpecifiers=function(E){var N=[],R=true;this.expect(Ie.braceL);while(!this.eat(Ie.braceR)){if(!R){this.expect(Ie.comma);if(this.afterTrailingComma(Ie.braceR)){break}}else{R=false}var j=this.startNode();j.local=this.parseIdent(true);j.exported=this.eatContextual("as")?this.parseIdent(true):j.local;this.checkExport(E,j.exported.name,j.exported.start);N.push(this.finishNode(j,"ExportSpecifier"))}return N};ht.parseImport=function(E){this.next();if(this.type===Ie.string){E.specifiers=vt;E.source=this.parseExprAtom()}else{E.specifiers=this.parseImportSpecifiers();this.expectContextual("from");E.source=this.type===Ie.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(E,"ImportDeclaration")};ht.parseImportSpecifiers=function(){var E=[],N=true;if(this.type===Ie.name){var R=this.startNode();R.local=this.parseIdent();this.checkLValSimple(R.local,ot);E.push(this.finishNode(R,"ImportDefaultSpecifier"));if(!this.eat(Ie.comma)){return E}}if(this.type===Ie.star){var j=this.startNode();this.next();this.expectContextual("as");j.local=this.parseIdent();this.checkLValSimple(j.local,ot);E.push(this.finishNode(j,"ImportNamespaceSpecifier"));return E}this.expect(Ie.braceL);while(!this.eat(Ie.braceR)){if(!N){this.expect(Ie.comma);if(this.afterTrailingComma(Ie.braceR)){break}}else{N=false}var $=this.startNode();$.imported=this.parseIdent(true);if(this.eatContextual("as")){$.local=this.parseIdent()}else{this.checkUnreserved($.imported);$.local=$.imported}this.checkLValSimple($.local,ot);E.push(this.finishNode($,"ImportSpecifier"))}return E};ht.adaptDirectivePrologue=function(E){for(var N=0;N<E.length&&this.isDirectiveCandidate(E[N]);++N){E[N].directive=E[N].expression.raw.slice(1,-1)}};ht.isDirectiveCandidate=function(E){return E.type==="ExpressionStatement"&&E.expression.type==="Literal"&&typeof E.expression.value==="string"&&(this.input[E.start]==='"'||this.input[E.start]==="'")};var Et=dt.prototype;Et.toAssignable=function(E,N,R){if(this.options.ecmaVersion>=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(R){this.checkPatternErrors(R,true)}for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.toAssignable(q,N);if(q.type==="RestElement"&&(q.argument.type==="ArrayPattern"||q.argument.type==="ObjectPattern")){this.raise(q.argument.start,"Unexpected token")}}break;case"Property":if(E.kind!=="init"){this.raise(E.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(E.value,N);break;case"ArrayExpression":E.type="ArrayPattern";if(R){this.checkPatternErrors(R,true)}this.toAssignableList(E.elements,N);break;case"SpreadElement":E.type="RestElement";this.toAssignable(E.argument,N);if(E.argument.type==="AssignmentPattern"){this.raise(E.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(E.operator!=="="){this.raise(E.left.end,"Only '=' operator can be used for specifying default value.")}E.type="AssignmentPattern";delete E.operator;this.toAssignable(E.left,N);break;case"ParenthesizedExpression":this.toAssignable(E.expression,N,R);break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!N){break}default:this.raise(E.start,"Assigning to rvalue")}}else if(R){this.checkPatternErrors(R,true)}return E};Et.toAssignableList=function(E,N){var R=E.length;for(var j=0;j<R;j++){var $=E[j];if($){this.toAssignable($,N)}}if(R){var q=E[R-1];if(this.options.ecmaVersion===6&&N&&q&&q.type==="RestElement"&&q.argument.type!=="Identifier"){this.unexpected(q.argument.start)}}return E};Et.parseSpread=function(E){var N=this.startNode();this.next();N.argument=this.parseMaybeAssign(false,E);return this.finishNode(N,"SpreadElement")};Et.parseRestBinding=function(){var E=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==Ie.name){this.unexpected()}E.argument=this.parseBindingAtom();return this.finishNode(E,"RestElement")};Et.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case Ie.bracketL:var E=this.startNode();this.next();E.elements=this.parseBindingList(Ie.bracketR,true,true);return this.finishNode(E,"ArrayPattern");case Ie.braceL:return this.parseObj(true)}}return this.parseIdent()};Et.parseBindingList=function(E,N,R){var j=[],$=true;while(!this.eat(E)){if($){$=false}else{this.expect(Ie.comma)}if(N&&this.type===Ie.comma){j.push(null)}else if(R&&this.afterTrailingComma(E)){break}else if(this.type===Ie.ellipsis){var q=this.parseRestBinding();this.parseBindingListItem(q);j.push(q);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(E);break}else{var G=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(G);j.push(G)}}return j};Et.parseBindingListItem=function(E){return E};Et.parseMaybeDefault=function(E,N,R){R=R||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(Ie.eq)){return R}var j=this.startNodeAt(E,N);j.left=R;j.right=this.parseMaybeAssign();return this.finishNode(j,"AssignmentPattern")};Et.checkLValSimple=function(E,N,R){if(N===void 0)N=nt;var j=N!==nt;switch(E.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(E.name)){this.raiseRecoverable(E.start,(j?"Binding ":"Assigning to ")+E.name+" in strict mode")}if(j){if(N===ot&&E.name==="let"){this.raiseRecoverable(E.start,"let is disallowed as a lexically bound name")}if(R){if(has(R,E.name)){this.raiseRecoverable(E.start,"Argument name clash")}R[E.name]=true}if(N!==ut){this.declareName(E.name,N,E.start)}}break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(j){this.raiseRecoverable(E.start,"Binding member expression")}break;case"ParenthesizedExpression":if(j){this.raiseRecoverable(E.start,"Binding parenthesized expression")}return this.checkLValSimple(E.expression,N,R);default:this.raise(E.start,(j?"Binding":"Assigning to")+" rvalue")}};Et.checkLValPattern=function(E,N,R){if(N===void 0)N=nt;switch(E.type){case"ObjectPattern":for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.checkLValInnerPattern(q,N,R)}break;case"ArrayPattern":for(var G=0,ie=E.elements;G<ie.length;G+=1){var ae=ie[G];if(ae){this.checkLValInnerPattern(ae,N,R)}}break;default:this.checkLValSimple(E,N,R)}};Et.checkLValInnerPattern=function(E,N,R){if(N===void 0)N=nt;switch(E.type){case"Property":this.checkLValInnerPattern(E.value,N,R);break;case"AssignmentPattern":this.checkLValPattern(E.left,N,R);break;case"RestElement":this.checkLValPattern(E.argument,N,R);break;default:this.checkLValPattern(E,N,R)}};var Tt=dt.prototype;Tt.checkPropClash=function(E,N,R){if(this.options.ecmaVersion>=9&&E.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(E.computed||E.method||E.shorthand)){return}var j=E.key;var $;switch(j.type){case"Identifier":$=j.name;break;case"Literal":$=String(j.value);break;default:return}var q=E.kind;if(this.options.ecmaVersion>=6){if($==="__proto__"&&q==="init"){if(N.proto){if(R){if(R.doubleProto<0){R.doubleProto=j.start}}else{this.raiseRecoverable(j.start,"Redefinition of __proto__ property")}}N.proto=true}return}$="$"+$;var G=N[$];if(G){var ie;if(q==="init"){ie=this.strict&&G.init||G.get||G.set}else{ie=G.init||G[q]}if(ie){this.raiseRecoverable(j.start,"Redefinition of property")}}else{G=N[$]={init:false,get:false,set:false}}G[q]=true};Tt.parseExpression=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeAssign(E,N);if(this.type===Ie.comma){var q=this.startNodeAt(R,j);q.expressions=[$];while(this.eat(Ie.comma)){q.expressions.push(this.parseMaybeAssign(E,N))}return this.finishNode(q,"SequenceExpression")}return $};Tt.parseMaybeAssign=function(E,N,R){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(E)}else{this.exprAllowed=false}}var j=false,$=-1,q=-1;if(N){$=N.parenthesizedAssign;q=N.trailingComma;N.parenthesizedAssign=N.trailingComma=-1}else{N=new DestructuringErrors;j=true}var G=this.start,ie=this.startLoc;if(this.type===Ie.parenL||this.type===Ie.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=E==="await"}var ae=this.parseMaybeConditional(E,N);if(R){ae=R.call(this,ae,G,ie)}if(this.type.isAssign){var ce=this.startNodeAt(G,ie);ce.operator=this.value;if(this.type===Ie.eq){ae=this.toAssignable(ae,false,N)}if(!j){N.parenthesizedAssign=N.trailingComma=N.doubleProto=-1}if(N.shorthandAssign>=ae.start){N.shorthandAssign=-1}if(this.type===Ie.eq){this.checkLValPattern(ae)}else{this.checkLValSimple(ae)}ce.left=ae;this.next();ce.right=this.parseMaybeAssign(E);return this.finishNode(ce,"AssignmentExpression")}else{if(j){this.checkExpressionErrors(N,true)}}if($>-1){N.parenthesizedAssign=$}if(q>-1){N.trailingComma=q}return ae};Tt.parseMaybeConditional=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseExprOps(E,N);if(this.checkExpressionErrors(N)){return $}if(this.eat(Ie.question)){var q=this.startNodeAt(R,j);q.test=$;q.consequent=this.parseMaybeAssign();this.expect(Ie.colon);q.alternate=this.parseMaybeAssign(E);return this.finishNode(q,"ConditionalExpression")}return $};Tt.parseExprOps=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeUnary(N,false);if(this.checkExpressionErrors(N)){return $}return $.start===R&&$.type==="ArrowFunctionExpression"?$:this.parseExprOp($,R,j,-1,E)};Tt.parseExprOp=function(E,N,R,j,$){var q=this.type.binop;if(q!=null&&(!$||this.type!==Ie._in)){if(q>j){var G=this.type===Ie.logicalOR||this.type===Ie.logicalAND;var ie=this.type===Ie.coalesce;if(ie){q=Ie.logicalAND.binop}var ae=this.value;this.next();var ce=this.start,le=this.startLoc;var _e=this.parseExprOp(this.parseMaybeUnary(null,false),ce,le,q,$);var Ee=this.buildBinary(N,R,E,_e,ae,G||ie);if(G&&this.type===Ie.coalesce||ie&&(this.type===Ie.logicalOR||this.type===Ie.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(Ee,N,R,j,$)}}return E};Tt.buildBinary=function(E,N,R,j,$,q){var G=this.startNodeAt(E,N);G.left=R;G.operator=$;G.right=j;return this.finishNode(G,q?"LogicalExpression":"BinaryExpression")};Tt.parseMaybeUnary=function(E,N,R){var j=this.start,$=this.startLoc,q;if(this.isContextual("await")&&this.canAwait){q=this.parseAwait();N=true}else if(this.type.prefix){var G=this.startNode(),ie=this.type===Ie.incDec;G.operator=this.value;G.prefix=true;this.next();G.argument=this.parseMaybeUnary(null,true,ie);this.checkExpressionErrors(E,true);if(ie){this.checkLValSimple(G.argument)}else if(this.strict&&G.operator==="delete"&&G.argument.type==="Identifier"){this.raiseRecoverable(G.start,"Deleting local variable in strict mode")}else if(G.operator==="delete"&&isPrivateFieldAccess(G.argument)){this.raiseRecoverable(G.start,"Private fields can not be deleted")}else{N=true}q=this.finishNode(G,ie?"UpdateExpression":"UnaryExpression")}else{q=this.parseExprSubscripts(E);if(this.checkExpressionErrors(E)){return q}while(this.type.postfix&&!this.canInsertSemicolon()){var ae=this.startNodeAt(j,$);ae.operator=this.value;ae.prefix=false;ae.argument=q;this.checkLValSimple(q);this.next();q=this.finishNode(ae,"UpdateExpression")}}if(!R&&this.eat(Ie.starstar)){if(N){this.unexpected(this.lastTokStart)}else{return this.buildBinary(j,$,q,this.parseMaybeUnary(null,false),"**",false)}}else{return q}};function isPrivateFieldAccess(E){return E.type==="MemberExpression"&&E.property.type==="PrivateIdentifier"||E.type==="ChainExpression"&&isPrivateFieldAccess(E.expression)}Tt.parseExprSubscripts=function(E){var N=this.start,R=this.startLoc;var j=this.parseExprAtom(E);if(j.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return j}var $=this.parseSubscripts(j,N,R);if(E&&$.type==="MemberExpression"){if(E.parenthesizedAssign>=$.start){E.parenthesizedAssign=-1}if(E.parenthesizedBind>=$.start){E.parenthesizedBind=-1}if(E.trailingComma>=$.start){E.trailingComma=-1}}return $};Tt.parseSubscripts=function(E,N,R,j){var $=this.options.ecmaVersion>=8&&E.type==="Identifier"&&E.name==="async"&&this.lastTokEnd===E.end&&!this.canInsertSemicolon()&&E.end-E.start===5&&this.potentialArrowAt===E.start;var q=false;while(true){var G=this.parseSubscript(E,N,R,j,$,q);if(G.optional){q=true}if(G===E||G.type==="ArrowFunctionExpression"){if(q){var ie=this.startNodeAt(N,R);ie.expression=G;G=this.finishNode(ie,"ChainExpression")}return G}E=G}};Tt.parseSubscript=function(E,N,R,j,$,q){var G=this.options.ecmaVersion>=11;var ie=G&&this.eat(Ie.questionDot);if(j&&ie){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var ae=this.eat(Ie.bracketL);if(ae||ie&&this.type!==Ie.parenL&&this.type!==Ie.backQuote||this.eat(Ie.dot)){var ce=this.startNodeAt(N,R);ce.object=E;if(ae){ce.property=this.parseExpression();this.expect(Ie.bracketR)}else if(this.type===Ie.privateId&&E.type!=="Super"){ce.property=this.parsePrivateIdent()}else{ce.property=this.parseIdent(this.options.allowReserved!=="never")}ce.computed=!!ae;if(G){ce.optional=ie}E=this.finishNode(ce,"MemberExpression")}else if(!j&&this.eat(Ie.parenL)){var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var we=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false,le);if($&&!ie&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=_e;this.awaitPos=Ee;this.awaitIdentPos=Te;return this.parseArrowExpression(this.startNodeAt(N,R),we,true)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;this.awaitIdentPos=Te||this.awaitIdentPos;var Ne=this.startNodeAt(N,R);Ne.callee=E;Ne.arguments=we;if(G){Ne.optional=ie}E=this.finishNode(Ne,"CallExpression")}else if(this.type===Ie.backQuote){if(ie||q){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var Me=this.startNodeAt(N,R);Me.tag=E;Me.quasi=this.parseTemplate({isTagged:true});E=this.finishNode(Me,"TaggedTemplateExpression")}return E};Tt.parseExprAtom=function(E){if(this.type===Ie.slash){this.readRegexp()}var N,R=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}N=this.startNode();this.next();if(this.type===Ie.parenL&&!this.allowDirectSuper){this.raise(N.start,"super() call outside constructor of a subclass")}if(this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL){this.unexpected()}return this.finishNode(N,"Super");case Ie._this:N=this.startNode();this.next();return this.finishNode(N,"ThisExpression");case Ie.name:var j=this.start,$=this.startLoc,q=this.containsEsc;var G=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ie._function)){return this.parseFunction(this.startNodeAt(j,$),0,false,true)}if(R&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow)){return this.parseArrowExpression(this.startNodeAt(j,$),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Ie.name&&!q&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ie.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(j,$),[G],true)}}return G;case Ie.regexp:var ie=this.value;N=this.parseLiteral(ie.value);N.regex={pattern:ie.pattern,flags:ie.flags};return N;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:N=this.startNode();N.value=this.type===Ie._null?null:this.type===Ie._true;N.raw=this.type.keyword;this.next();return this.finishNode(N,"Literal");case Ie.parenL:var ae=this.start,ce=this.parseParenAndDistinguishExpression(R);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ce)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return ce;case Ie.bracketL:N=this.startNode();this.next();N.elements=this.parseExprList(Ie.bracketR,true,true,E);return this.finishNode(N,"ArrayExpression");case Ie.braceL:return this.parseObj(false,E);case Ie._function:N=this.startNode();this.next();return this.parseFunction(N,0);case Ie._class:return this.parseClass(this.startNode(),false);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();case Ie._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Tt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var N=this.parseIdent(true);switch(this.type){case Ie.parenL:return this.parseDynamicImport(E);case Ie.dot:E.meta=N;return this.parseImportMeta(E);default:this.unexpected()}};Tt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ie.parenR)){var N=this.start;if(this.eat(Ie.comma)&&this.eat(Ie.parenR)){this.raiseRecoverable(N,"Trailing comma is not allowed in import()")}else{this.unexpected(N)}}return this.finishNode(E,"ImportExpression")};Tt.parseImportMeta=function(E){this.next();var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(N){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Tt.parseLiteral=function(E){var N=this.startNode();N.value=E;N.raw=this.input.slice(this.start,this.end);if(N.raw.charCodeAt(N.raw.length-1)===110){N.bigint=N.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(N,"Literal")};Tt.parseParenExpression=function(){this.expect(Ie.parenL);var E=this.parseExpression();this.expect(Ie.parenR);return E};Tt.parseParenAndDistinguishExpression=function(E){var N=this.start,R=this.startLoc,j,$=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,ce=false;var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ie.parenR){ae?ae=false:this.expect(Ie.comma);if($&&this.afterTrailingComma(Ie.parenR,true)){ce=true;break}else if(this.type===Ie.ellipsis){Te=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,le,this.parseParenItem))}}var we=this.start,Ne=this.startLoc;this.expect(Ie.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=Ee;return this.parseParenArrowList(N,R,ie)}if(!ie.length||ce){this.unexpected(this.lastTokStart)}if(Te){this.unexpected(Te)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;if(ie.length>1){j=this.startNodeAt(q,G);j.expressions=ie;this.finishNodeAt(j,"SequenceExpression",we,Ne)}else{j=ie[0]}}else{j=this.parseParenExpression()}if(this.options.preserveParens){var Me=this.startNodeAt(N,R);Me.expression=j;return this.finishNode(Me,"ParenthesizedExpression")}else{return j}};Tt.parseParenItem=function(E){return E};Tt.parseParenArrowList=function(E,N,R){return this.parseArrowExpression(this.startNodeAt(E,N),R)};var kt=[];Tt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var N=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){E.meta=N;var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(R){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var j=this.start,$=this.startLoc,q=this.type===Ie._import;E.callee=this.parseSubscripts(this.parseExprAtom(),j,$,true);if(q&&E.callee.type==="ImportExpression"){this.raise(j,"Cannot use new with import()")}if(this.eat(Ie.parenL)){E.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=kt}return this.finishNode(E,"NewExpression")};Tt.parseTemplateElement=function(E){var N=E.isTagged;var R=this.startNode();if(this.type===Ie.invalidTemplate){if(!N){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}R.value={raw:this.value,cooked:null}}else{R.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();R.tail=this.type===Ie.backQuote;return this.finishNode(R,"TemplateElement")};Tt.parseTemplate=function(E){if(E===void 0)E={};var N=E.isTagged;if(N===void 0)N=false;var R=this.startNode();this.next();R.expressions=[];var j=this.parseTemplateElement({isTagged:N});R.quasis=[j];while(!j.tail){if(this.type===Ie.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ie.dollarBraceL);R.expressions.push(this.parseExpression());this.expect(Ie.braceR);R.quasis.push(j=this.parseTemplateElement({isTagged:N}))}this.next();return this.finishNode(R,"TemplateLiteral")};Tt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Tt.parseObj=function(E,N){var R=this.startNode(),j=true,$={};R.properties=[];this.next();while(!this.eat(Ie.braceR)){if(!j){this.expect(Ie.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ie.braceR)){break}}else{j=false}var q=this.parseProperty(E,N);if(!E){this.checkPropClash(q,$,N)}R.properties.push(q)}return this.finishNode(R,E?"ObjectPattern":"ObjectExpression")};Tt.parseProperty=function(E,N){var R=this.startNode(),j,$,q,G;if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis)){if(E){R.argument=this.parseIdent(false);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(R,"RestElement")}if(this.type===Ie.parenL&&N){if(N.parenthesizedAssign<0){N.parenthesizedAssign=this.start}if(N.parenthesizedBind<0){N.parenthesizedBind=this.start}}R.argument=this.parseMaybeAssign(false,N);if(this.type===Ie.comma&&N&&N.trailingComma<0){N.trailingComma=this.start}return this.finishNode(R,"SpreadElement")}if(this.options.ecmaVersion>=6){R.method=false;R.shorthand=false;if(E||N){q=this.start;G=this.startLoc}if(!E){j=this.eat(Ie.star)}}var ie=this.containsEsc;this.parsePropertyName(R);if(!E&&!ie&&this.options.ecmaVersion>=8&&!j&&this.isAsyncProp(R)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star);this.parsePropertyName(R,N)}else{$=false}this.parsePropertyValue(R,E,j,$,q,G,N,ie);return this.finishNode(R,"Property")};Tt.parsePropertyValue=function(E,N,R,j,$,q,G,ie){if((R||j)&&this.type===Ie.colon){this.unexpected()}if(this.eat(Ie.colon)){E.value=N?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL){if(N){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(R,j)}else if(!N&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ie.comma&&this.type!==Ie.braceR&&this.type!==Ie.eq)){if(R||j){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var ce=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ce,"getter should have no params")}else{this.raiseRecoverable(ce,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(R||j){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=$}E.kind="init";if(N){E.value=this.parseMaybeDefault($,q,this.copyNode(E.key))}else if(this.type===Ie.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault($,q,this.copyNode(E.key))}else{E.value=this.copyNode(E.key)}E.shorthand=true}else{this.unexpected()}};Tt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ie.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Tt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Tt.parseMethod=function(E,N,R){var j=this.startNode(),$=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction(j);if(this.options.ecmaVersion>=6){j.generator=E}if(this.options.ecmaVersion>=8){j.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(N,j.generator)|tt|(R?rt:0));this.expect(Ie.parenL);j.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(j,false,true);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(j,"FunctionExpression")};Tt.parseArrowExpression=function(E,N,R){var j=this.yieldPos,$=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(R,false)|Ze);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(N,true);this.parseFunctionBody(E,true,false);this.yieldPos=j;this.awaitPos=$;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};Tt.parseFunctionBody=function(E,N,R){var j=N&&this.type!==Ie.braceL;var $=this.strict,q=false;if(j){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!$||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!$&&!q&&!N&&!R&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLValSimple(E.id,ut)}E.body=this.parseBlock(false,undefined,q&&!$);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};Tt.isSimpleParamList=function(E){for(var N=0,R=E;N<R.length;N+=1){var j=R[N];if(j.type!=="Identifier"){return false}}return true};Tt.checkParams=function(E,N){var R=Object.create(null);for(var j=0,$=E.params;j<$.length;j+=1){var q=$[j];this.checkLValInnerPattern(q,it,N?null:R)}};Tt.parseExprList=function(E,N,R,j){var $=[],q=true;while(!this.eat(E)){if(!q){this.expect(Ie.comma);if(N&&this.afterTrailingComma(E)){break}}else{q=false}var G=void 0;if(R&&this.type===Ie.comma){G=null}else if(this.type===Ie.ellipsis){G=this.parseSpread(j);if(j&&this.type===Ie.comma&&j.trailingComma<0){j.trailingComma=this.start}}else{G=this.parseMaybeAssign(false,j)}$.push(G)}return $};Tt.checkUnreserved=function(E){var N=E.start;var R=E.end;var j=E.name;if(this.inGenerator&&j==="yield"){this.raiseRecoverable(N,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&j==="await"){this.raiseRecoverable(N,"Cannot use 'await' as identifier inside an async function")}if(this.currentThisScope().inClassFieldInit&&j==="arguments"){this.raiseRecoverable(N,"Cannot use 'arguments' in class field initializer")}if(this.keywords.test(j)){this.raise(N,"Unexpected keyword '"+j+"'")}if(this.options.ecmaVersion<6&&this.input.slice(N,R).indexOf("\\")!==-1){return}var $=this.strict?this.reservedWordsStrict:this.reservedWords;if($.test(j)){if(!this.inAsync&&j==="await"){this.raiseRecoverable(N,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(N,"The keyword '"+j+"' is reserved")}};Tt.parseIdent=function(E,N){var R=this.startNode();if(this.type===Ie.name){R.name=this.value}else if(this.type.keyword){R.name=this.type.keyword;if((R.name==="class"||R.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!E);this.finishNode(R,"Identifier");if(!E){this.checkUnreserved(R);if(R.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=R.start}}return R};Tt.parsePrivateIdent=function(){var E=this.startNode();if(this.type===Ie.privateId){E.name=this.value}else{this.unexpected()}this.next();this.finishNode(E,"PrivateIdentifier");if(this.privateNameStack.length===0){this.raise(E.start,"Private field '#"+E.name+"' must be declared in an enclosing class")}else{this.privateNameStack[this.privateNameStack.length-1].used.push(E)}return E};Tt.parseYield=function(E){if(!this.yieldPos){this.yieldPos=this.start}var N=this.startNode();this.next();if(this.type===Ie.semi||this.canInsertSemicolon()||this.type!==Ie.star&&!this.type.startsExpr){N.delegate=false;N.argument=null}else{N.delegate=this.eat(Ie.star);N.argument=this.parseMaybeAssign(E)}return this.finishNode(N,"YieldExpression")};Tt.parseAwait=function(){if(!this.awaitPos){this.awaitPos=this.start}var E=this.startNode();this.next();E.argument=this.parseMaybeUnary(null,true);return this.finishNode(E,"AwaitExpression")};var Ct=dt.prototype;Ct.raise=function(E,N){var R=getLineInfo(this.input,E);N+=" ("+R.line+":"+R.column+")";var j=new SyntaxError(N);j.pos=E;j.loc=R;j.raisedAt=this.pos;throw j};Ct.raiseRecoverable=Ct.raise;Ct.curPosition=function(){if(this.options.locations){return new Je(this.curLine,this.pos-this.lineStart)}};var Dt=dt.prototype;var At=function Scope(E){this.flags=E;this.var=[];this.lexical=[];this.functions=[];this.inClassFieldInit=false};Dt.enterScope=function(E){this.scopeStack.push(new At(E))};Dt.exitScope=function(){this.scopeStack.pop()};Dt.treatFunctionsAsVarInScope=function(E){return E.flags&Ke||!this.inModule&&E.flags&Ge};Dt.declareName=function(E,N,R){var j=false;if(N===ot){var $=this.currentScope();j=$.lexical.indexOf(E)>-1||$.functions.indexOf(E)>-1||$.var.indexOf(E)>-1;$.lexical.push(E);if(this.inModule&&$.flags&Ge){delete this.undefinedExports[E]}}else if(N===ct){var q=this.currentScope();q.lexical.push(E)}else if(N===st){var G=this.currentScope();if(this.treatFunctionsAsVar){j=G.lexical.indexOf(E)>-1}else{j=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&et&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){j=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Ge){delete this.undefinedExports[E]}if(ae.flags&Qe){break}}}if(j){this.raiseRecoverable(R,"Identifier '"+E+"' has already been declared")}};Dt.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};Dt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Dt.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Qe){return N}}};Dt.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Qe&&!(N.flags&Ze)){return N}}};var wt=function Node(E,N,R){this.type="";this.start=N;this.end=0;if(E.options.locations){this.loc=new Ve(E,R)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[N,0]}};var Pt=dt.prototype;Pt.startNode=function(){return new wt(this,this.start,this.startLoc)};Pt.startNodeAt=function(E,N){return new wt(this,E,N)};function finishNodeAt(E,N,R,j){E.type=N;E.end=R;if(this.options.locations){E.loc.end=j}if(this.options.ranges){E.range[1]=R}return E}Pt.finishNode=function(E,N){return finishNodeAt.call(this,E,N,this.lastTokEnd,this.lastTokEndLoc)};Pt.finishNodeAt=function(E,N,R,j){return finishNodeAt.call(this,E,N,R,j)};Pt.copyNode=function(E){var N=new wt(this,E.start,this.startLoc);for(var R in E){N[R]=E[R]}return N};var Ft=function TokContext(E,N,R,j,$){this.token=E;this.isExpr=!!N;this.preserveSpace=!!R;this.override=j;this.generator=!!$};var It={b_stat:new Ft("{",false),b_expr:new Ft("{",true),b_tmpl:new Ft("${",false),p_stat:new Ft("(",false),p_expr:new Ft("(",true),q_tmpl:new Ft("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new Ft("function",false),f_expr:new Ft("function",true),f_expr_gen:new Ft("function",true,false,null,true),f_gen:new Ft("function",false,false,null,true)};var Nt=dt.prototype;Nt.initialContext=function(){return[It.b_stat]};Nt.braceIsBlock=function(E){var N=this.curContext();if(N===It.f_expr||N===It.f_stat){return true}if(E===Ie.colon&&(N===It.b_stat||N===It.b_expr)){return!N.isExpr}if(E===Ie._return||E===Ie.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Ie._else||E===Ie.semi||E===Ie.eof||E===Ie.parenR||E===Ie.arrow){return true}if(E===Ie.braceL){return N===It.b_stat}if(E===Ie._var||E===Ie._const||E===Ie.name){return false}return!this.exprAllowed};Nt.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var N=this.context[E];if(N.token==="function"){return N.generator}}return false};Nt.updateContext=function(E){var N,R=this.type;if(R.keyword&&E===Ie.dot){this.exprAllowed=false}else if(N=R.updateContext){N.call(this,E)}else{this.exprAllowed=R.beforeExpr}};Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===It.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ie.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?It.b_stat:It.b_expr);this.exprAllowed=true};Ie.dollarBraceL.updateContext=function(){this.context.push(It.b_tmpl);this.exprAllowed=true};Ie.parenL.updateContext=function(E){var N=E===Ie._if||E===Ie._for||E===Ie._with||E===Ie._while;this.context.push(N?It.p_stat:It.p_expr);this.exprAllowed=true};Ie.incDec.updateContext=function(){};Ie._function.updateContext=Ie._class.updateContext=function(E){if(E.beforeExpr&&E!==Ie._else&&!(E===Ie.semi&&this.curContext()!==It.p_stat)&&!(E===Ie._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ie.colon||E===Ie.braceL)&&this.curContext()===It.b_stat)){this.context.push(It.f_expr)}else{this.context.push(It.f_stat)}this.exprAllowed=false};Ie.backQuote.updateContext=function(){if(this.curContext()===It.q_tmpl){this.context.pop()}else{this.context.push(It.q_tmpl)}this.exprAllowed=false};Ie.star.updateContext=function(E){if(E===Ie._function){var N=this.context.length-1;if(this.context[N]===It.f_expr){this.context[N]=It.f_expr_gen}else{this.context[N]=It.f_gen}}this.exprAllowed=true};Ie.name.updateContext=function(E){var N=false;if(this.options.ecmaVersion>=6&&E!==Ie.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){N=true}}this.exprAllowed=N};var Ot="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Mt=Ot+" Extended_Pictographic";var Rt=Mt;var Lt=Rt+" EBase EComp EMod EPres ExtPict";var Bt={9:Ot,10:Mt,11:Rt,12:Lt};var jt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Ut="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var zt=Ut+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Wt=zt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var $t=Wt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Jt={9:Ut,10:zt,11:Wt,12:$t};var Vt={};function buildUnicodeData(E){var N=Vt[E]={binary:wordsRegexp(Bt[E]+" "+jt),nonBinary:{General_Category:wordsRegexp(jt),Script:wordsRegexp(Jt[E])}};N.nonBinary.Script_Extensions=N.nonBinary.Script;N.nonBinary.gc=N.nonBinary.General_Category;N.nonBinary.sc=N.nonBinary.Script;N.nonBinary.scx=N.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var qt=dt.prototype;var Ht=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"")+(E.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Vt[E.options.ecmaVersion>=12?12:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Ht.prototype.reset=function reset(E,N,R){var j=R.indexOf("u")!==-1;this.start=E|0;this.source=N+"";this.flags=R;this.switchU=j&&this.parser.options.ecmaVersion>=6;this.switchN=j&&this.parser.options.ecmaVersion>=9};Ht.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Ht.prototype.at=function at(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return-1}var $=R.charCodeAt(E);if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j){return $}var q=R.charCodeAt(E+1);return q>=56320&&q<=57343?($<<10)+q-56613888:$};Ht.prototype.nextIndex=function nextIndex(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return j}var $=R.charCodeAt(E),q;if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j||(q=R.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};Ht.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Ht.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Ht.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Ht.prototype.eat=function eat(E,N){if(N===void 0)N=false;if(this.current(N)===E){this.advance(N);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}qt.validateRegExpFlags=function(E){var N=E.validFlags;var R=E.flags;for(var j=0;j<R.length;j++){var $=R.charAt(j);if(N.indexOf($)===-1){this.raise(E.start,"Invalid regular expression flag")}if(R.indexOf($,j+1)>-1){this.raise(E.start,"Duplicate regular expression flag")}}};qt.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};qt.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var N=0,R=E.backReferenceNames;N<R.length;N+=1){var j=R[N];if(E.groupNames.indexOf(j)===-1){E.raise("Invalid named capture referenced")}}};qt.regexp_disjunction=function(E){this.regexp_alternative(E);while(E.eat(124)){this.regexp_alternative(E)}if(this.regexp_eatQuantifier(E,true)){E.raise("Nothing to repeat")}if(E.eat(123)){E.raise("Lone quantifier brackets")}};qt.regexp_alternative=function(E){while(E.pos<E.source.length&&this.regexp_eatTerm(E)){}};qt.regexp_eatTerm=function(E){if(this.regexp_eatAssertion(E)){if(E.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(E)){if(E.switchU){E.raise("Invalid quantifier")}}return true}if(E.switchU?this.regexp_eatAtom(E):this.regexp_eatExtendedAtom(E)){this.regexp_eatQuantifier(E);return true}return false};qt.regexp_eatAssertion=function(E){var N=E.pos;E.lastAssertionIsQuantifiable=false;if(E.eat(94)||E.eat(36)){return true}if(E.eat(92)){if(E.eat(66)||E.eat(98)){return true}E.pos=N}if(E.eat(40)&&E.eat(63)){var R=false;if(this.options.ecmaVersion>=9){R=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!R;return true}}E.pos=N;return false};qt.regexp_eatQuantifier=function(E,N){if(N===void 0)N=false;if(this.regexp_eatQuantifierPrefix(E,N)){E.eat(63);return true}return false};qt.regexp_eatQuantifierPrefix=function(E,N){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,N)};qt.regexp_eatBracedQuantifier=function(E,N){var R=E.pos;if(E.eat(123)){var j=0,$=-1;if(this.regexp_eatDecimalDigits(E)){j=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){$=E.lastIntValue}if(E.eat(125)){if($!==-1&&$<j&&!N){E.raise("numbers out of order in {} quantifier")}return true}}if(E.switchU&&!N){E.raise("Incomplete quantifier")}E.pos=R}return false};qt.regexp_eatAtom=function(E){return this.regexp_eatPatternCharacters(E)||E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)};qt.regexp_eatReverseSolidusAtomEscape=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatAtomEscape(E)){return true}E.pos=N}return false};qt.regexp_eatUncapturingGroup=function(E){var N=E.pos;if(E.eat(40)){if(E.eat(63)&&E.eat(58)){this.regexp_disjunction(E);if(E.eat(41)){return true}E.raise("Unterminated group")}E.pos=N}return false};qt.regexp_eatCapturingGroup=function(E){if(E.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};qt.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};qt.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};qt.regexp_eatSyntaxCharacter=function(E){var N=E.current();if(isSyntaxCharacter(N)){E.lastIntValue=N;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}qt.regexp_eatPatternCharacters=function(E){var N=E.pos;var R=0;while((R=E.current())!==-1&&!isSyntaxCharacter(R)){E.advance()}return E.pos!==N};qt.regexp_eatExtendedPatternCharacter=function(E){var N=E.current();if(N!==-1&&N!==36&&!(N>=40&&N<=43)&&N!==46&&N!==63&&N!==91&&N!==94&&N!==124){E.advance();return true}return false};qt.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};qt.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};qt.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};qt.regexp_eatRegExpIdentifierStart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierStart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}qt.regexp_eatRegExpIdentifierPart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierPart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}qt.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};qt.regexp_eatBackReference=function(E){var N=E.pos;if(this.regexp_eatDecimalEscape(E)){var R=E.lastIntValue;if(E.switchU){if(R>E.maxBackReference){E.maxBackReference=R}return true}if(R<=E.numCapturingParens){return true}E.pos=N}return false};qt.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};qt.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};qt.regexp_eatCControlLetter=function(E){var N=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=N}return false};qt.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};qt.regexp_eatControlEscape=function(E){var N=E.current();if(N===116){E.lastIntValue=9;E.advance();return true}if(N===110){E.lastIntValue=10;E.advance();return true}if(N===118){E.lastIntValue=11;E.advance();return true}if(N===102){E.lastIntValue=12;E.advance();return true}if(N===114){E.lastIntValue=13;E.advance();return true}return false};qt.regexp_eatControlLetter=function(E){var N=E.current();if(isControlLetter(N)){E.lastIntValue=N%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}qt.regexp_eatRegExpUnicodeEscapeSequence=function(E,N){if(N===void 0)N=false;var R=E.pos;var j=N||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var $=E.lastIntValue;if(j&&$>=55296&&$<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=($-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=$}return true}if(j&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(j){E.raise("Invalid unicode escape")}E.pos=R}return false};function isValidUnicode(E){return E>=0&&E<=1114111}qt.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var N=E.current();if(N!==99&&(!E.switchN||N!==107)){E.lastIntValue=N;E.advance();return true}return false};qt.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var N=E.current();if(N>=49&&N<=57){do{E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}while((N=E.current())>=48&&N<=57);return true}return false};qt.regexp_eatCharacterClassEscape=function(E){var N=E.current();if(isCharacterClassEscape(N)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(N===80||N===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}qt.regexp_eatUnicodePropertyValueExpression=function(E){var N=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var R=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,R,j);return true}}E.pos=N;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,$);return true}return false};qt.regexp_validateUnicodePropertyNameAndValue=function(E,N,R){if(!has(E.unicodeProperties.nonBinary,N)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[N].test(R)){E.raise("Invalid property value")}};qt.regexp_validateUnicodePropertyNameOrValue=function(E,N){if(!E.unicodeProperties.binary.test(N)){E.raise("Invalid property name")}};qt.regexp_eatUnicodePropertyName=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}qt.regexp_eatUnicodePropertyValue=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}qt.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};qt.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};qt.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.switchU&&(N===-1||R===-1)){E.raise("Invalid character class")}if(N!==-1&&R!==-1&&N>R){E.raise("Range out of order in character class")}}}};qt.regexp_eatClassAtom=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var R=E.current();if(R===99||isOctalDigit(R)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=N}var j=E.current();if(j!==93){E.lastIntValue=j;E.advance();return true}return false};qt.regexp_eatClassEscape=function(E){var N=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=N}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};qt.regexp_eatClassControlLetter=function(E){var N=E.current();if(isDecimalDigit(N)||N===95){E.lastIntValue=N%32;E.advance();return true}return false};qt.regexp_eatHexEscapeSequence=function(E){var N=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=N}return false};qt.regexp_eatDecimalDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isDecimalDigit(R=E.current())){E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}return E.pos!==N};function isDecimalDigit(E){return E>=48&&E<=57}qt.regexp_eatHexDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isHexDigit(R=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(R);E.advance()}return E.pos!==N};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}qt.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(N<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=N*64+R*8+E.lastIntValue}else{E.lastIntValue=N*8+R}}else{E.lastIntValue=N}return true}return false};qt.regexp_eatOctalDigit=function(E){var N=E.current();if(isOctalDigit(N)){E.lastIntValue=N-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}qt.regexp_eatFixedHexDigits=function(E,N){var R=E.pos;E.lastIntValue=0;for(var j=0;j<N;++j){var $=E.current();if(!isHexDigit($)){E.pos=R;return false}E.lastIntValue=16*E.lastIntValue+hexToInt($);E.advance()}return true};var Gt=function Token(E){this.type=E.type;this.value=E.value;this.start=E.start;this.end=E.end;if(E.options.locations){this.loc=new Ve(E,E.startLoc,E.endLoc)}if(E.options.ranges){this.range=[E.start,E.end]}};var Kt=dt.prototype;Kt.next=function(E){if(!E&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new Gt(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};Kt.getToken=function(){this.next();return new Gt(this)};if(typeof Symbol!=="undefined"){Kt[Symbol.iterator]=function(){var E=this;return{next:function(){var N=E.getToken();return{done:N.type===Ie.eof,value:N}}}}}Kt.curContext=function(){return this.context[this.context.length-1]};Kt.nextToken=function(){var E=this.curContext();if(!E||!E.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(Ie.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Kt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};Kt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=56320){return E}var N=this.input.charCodeAt(this.pos+1);return N<=56319||N>=57344?E:(E<<10)+N-56613888};Kt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var N=this.pos,R=this.input.indexOf("*/",this.pos+=2);if(R===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=R+2;if(this.options.locations){Me.lastIndex=N;var j;while((j=Me.exec(this.input))&&j.index<this.pos){++this.curLine;this.lineStart=j.index+j[0].length}}if(this.options.onComment){this.options.onComment(true,this.input.slice(N+2,R),N,this.pos,E,this.curPosition())}};Kt.skipLineComment=function(E){var N=this.pos;var R=this.options.onComment&&this.curPosition();var j=this.input.charCodeAt(this.pos+=E);while(this.pos<this.input.length&&!isNewLine(j)){j=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(N+E,this.pos),N,this.pos,R,this.curPosition())}};Kt.skipSpace=function(){e:while(this.pos<this.input.length){var E=this.input.charCodeAt(this.pos);switch(E){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(E>8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};Kt.finishToken=function(E,N){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var R=this.type;this.type=E;this.value=N;this.updateContext(R)};Kt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var N=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&N===46){this.pos+=3;return this.finishToken(Ie.ellipsis)}else{++this.pos;return this.finishToken(Ie.dot)}};Kt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.slash,1)};Kt.readToken_mult_modulo_exp=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;var j=E===42?Ie.star:Ie.modulo;if(this.options.ecmaVersion>=7&&E===42&&N===42){++R;j=Ie.starstar;N=this.input.charCodeAt(this.pos+2)}if(N===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(j,R)};Kt.readToken_pipe_amp=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(this.options.ecmaVersion>=12){var R=this.input.charCodeAt(this.pos+2);if(R===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(E===124?Ie.logicalOR:Ie.logicalAND,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(E===124?Ie.bitwiseOR:Ie.bitwiseAND,1)};Kt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.bitwiseXOR,1)};Kt.readToken_plus_min=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(N===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ie.incDec,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.plusMin,1)};Kt.readToken_lt_gt=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;if(N===E){R=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+R)===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(Ie.bitShift,R)}if(N===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(N===61){R=2}return this.finishOp(Ie.relational,R)};Kt.readToken_eq_excl=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===61){return this.finishOp(Ie.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&N===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ie.arrow)}return this.finishOp(E===61?Ie.eq:Ie.prefix,1)};Kt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var N=this.input.charCodeAt(this.pos+1);if(N===46){var R=this.input.charCodeAt(this.pos+2);if(R<48||R>57){return this.finishOp(Ie.questionDot,2)}}if(N===63){if(E>=12){var j=this.input.charCodeAt(this.pos+2);if(j===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(Ie.coalesce,2)}}return this.finishOp(Ie.question,1)};Kt.readToken_numberSign=function(){var E=this.options.ecmaVersion;var N=35;if(E>=13){++this.pos;N=this.fullCharCodeAtPos();if(isIdentifierStart(N,true)||N===92){return this.finishToken(Ie.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(N)+"'")};Kt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ie.parenL);case 41:++this.pos;return this.finishToken(Ie.parenR);case 59:++this.pos;return this.finishToken(Ie.semi);case 44:++this.pos;return this.finishToken(Ie.comma);case 91:++this.pos;return this.finishToken(Ie.bracketL);case 93:++this.pos;return this.finishToken(Ie.bracketR);case 123:++this.pos;return this.finishToken(Ie.braceL);case 125:++this.pos;return this.finishToken(Ie.braceR);case 58:++this.pos;return this.finishToken(Ie.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ie.backQuote);case 48:var N=this.input.charCodeAt(this.pos+1);if(N===120||N===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(N===111||N===79){return this.readRadixNumber(8)}if(N===98||N===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Ie.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};Kt.finishOp=function(E,N){var R=this.input.slice(this.pos,this.pos+N);this.pos+=N;return this.finishToken(E,R)};Kt.readRegexp=function(){var E,N,R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(R,"Unterminated regular expression")}var j=this.input.charAt(this.pos);if(Ne.test(j)){this.raise(R,"Unterminated regular expression")}if(!E){if(j==="["){N=true}else if(j==="]"&&N){N=false}else if(j==="/"&&!N){break}E=j==="\\"}else{E=false}++this.pos}var $=this.input.slice(R,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new Ht(this));ie.reset(R,$,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp($,G)}catch(E){}return this.finishToken(Ie.regexp,{pattern:$,flags:G,value:ae})};Kt.readInt=function(E,N,R){var j=this.options.ecmaVersion>=12&&N===undefined;var $=R&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,ce=N==null?Infinity:N;ae<ce;++ae,++this.pos){var le=this.input.charCodeAt(this.pos),_e=void 0;if(j&&le===95){if($){this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals")}if(ie===95){this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore")}if(ae===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}ie=le;continue}if(le>=97){_e=le-97+10}else if(le>=65){_e=le-65+10}else if(le>=48&&le<=57){_e=le-48}else{_e=Infinity}if(_e>=E){break}ie=le;G=G*E+_e}if(j&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||N!=null&&this.pos-q!==N){return null}return G};function stringToNumber(E,N){if(N){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}Kt.readRadixNumber=function(E){var N=this.pos;this.pos+=2;var R=this.readInt(E);if(R==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){R=stringToBigInt(this.input.slice(N,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,R)};Kt.readNumber=function(E){var N=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(N,"Invalid number")}var R=this.pos-N>=2&&this.input.charCodeAt(N)===48;if(R&&this.strict){this.raise(N,"Invalid number")}var j=this.input.charCodeAt(this.pos);if(!R&&!E&&this.options.ecmaVersion>=11&&j===110){var $=stringToBigInt(this.input.slice(N,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,$)}if(R&&/[89]/.test(this.input.slice(N,this.pos))){R=false}if(j===46&&!R){++this.pos;this.readInt(10);j=this.input.charCodeAt(this.pos)}if((j===69||j===101)&&!R){j=this.input.charCodeAt(++this.pos);if(j===43||j===45){++this.pos}if(this.readInt(10)===null){this.raise(N,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(N,this.pos),R);return this.finishToken(Ie.num,q)};Kt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),N;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var R=++this.pos;N=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(N>1114111){this.invalidStringToken(R,"Code point out of bounds")}}else{N=this.readHexChar(4)}return N};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Kt.readString=function(E){var N="",R=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var j=this.input.charCodeAt(this.pos);if(j===E){break}if(j===92){N+=this.input.slice(R,this.pos);N+=this.readEscapedChar(false);R=this.pos}else{if(isNewLine(j,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}N+=this.input.slice(R,this.pos++);return this.finishToken(Ie.string,N)};var Qt={};Kt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Qt){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};Kt.invalidStringToken=function(E,N){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Qt}else{this.raise(E,N)}};Kt.readTmplToken=function(){var E="",N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var R=this.input.charCodeAt(this.pos);if(R===96||R===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ie.template||this.type===Ie.invalidTemplate)){if(R===36){this.pos+=2;return this.finishToken(Ie.dollarBraceL)}else{++this.pos;return this.finishToken(Ie.backQuote)}}E+=this.input.slice(N,this.pos);return this.finishToken(Ie.template,E)}if(R===92){E+=this.input.slice(N,this.pos);E+=this.readEscapedChar(true);N=this.pos}else if(isNewLine(R)){E+=this.input.slice(N,this.pos);++this.pos;switch(R){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(R);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}N=this.pos}else{++this.pos}}};Kt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(Ie.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};Kt.readEscapedChar=function(E){var N=this.input.charCodeAt(++this.pos);++this.pos;switch(N){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString$1(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(this.strict){this.invalidStringToken(this.pos-1,"Invalid escape sequence")}if(E){var R=this.pos-1;this.invalidStringToken(R,"Invalid escape sequence in template string");return null}default:if(N>=48&&N<=55){var j=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var $=parseInt(j,8);if($>255){j=j.slice(0,-1);$=parseInt(j,8)}this.pos+=j.length-1;N=this.input.charCodeAt(this.pos);if((j!=="0"||N===56||N===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-j.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode($)}if(isNewLine(N)){return""}return String.fromCharCode(N)}};Kt.readHexChar=function(E){var N=this.pos;var R=this.readInt(16,E);if(R===null){this.invalidStringToken(N,"Bad character escape sequence")}return R};Kt.readWord1=function(){this.containsEsc=false;var E="",N=true,R=this.pos;var j=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var $=this.fullCharCodeAtPos();if(isIdentifierChar($,j)){this.pos+=$<=65535?1:2}else if($===92){this.containsEsc=true;E+=this.input.slice(R,this.pos);var q=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var G=this.readCodePoint();if(!(N?isIdentifierStart:isIdentifierChar)(G,j)){this.invalidStringToken(q,"Invalid Unicode escape")}E+=codePointToString$1(G);R=this.pos}else{break}N=false}return E+this.input.slice(R,this.pos)};Kt.readWord=function(){var E=this.readWord1();var N=Ie.name;if(this.keywords.test(E)){N=we[E]}return this.finishToken(N,E)};var Xt="8.4.1";dt.acorn={Parser:dt,version:Xt,defaultOptions:qe,Position:Je,SourceLocation:Ve,getLineInfo:getLineInfo,Node:wt,TokenType:_e,tokTypes:Ie,keywordTypes:we,TokContext:Ft,tokContexts:It,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:Gt,isNewLine:isNewLine,lineBreak:Ne,lineBreakG:Me,nonASCIIwhitespace:Le};function parse(E,N){return dt.parse(E,N)}function parseExpressionAt(E,N,R){return dt.parseExpressionAt(E,N,R)}function tokenizer(E,N){return dt.tokenizer(E,N)}E.Node=wt;E.Parser=dt;E.Position=Je;E.SourceLocation=Ve;E.TokContext=Ft;E.Token=Gt;E.TokenType=_e;E.defaultOptions=qe;E.getLineInfo=getLineInfo;E.isIdentifierChar=isIdentifierChar;E.isIdentifierStart=isIdentifierStart;E.isNewLine=isNewLine;E.keywordTypes=we;E.lineBreak=Ne;E.lineBreakG=Me;E.nonASCIIwhitespace=Le;E.parse=parse;E.parseExpressionAt=parseExpressionAt;E.tokContexts=It;E.tokTypes=Ie;E.tokenizer=tokenizer;E.version=Xt;Object.defineProperty(E,"__esModule",{value:true})}))},76185:(E,N,R)=>{"use strict";const j=R(33839);const $=R(44084);const q=R(65821);const G=R(50666);const mapToBufferedMap=E=>{if(typeof E!=="object"||!E)return E;const N=Object.assign({},E);if(E.mappings){N.mappings=Buffer.from(E.mappings,"utf-8")}if(E.sourcesContent){N.sourcesContent=E.sourcesContent.map((E=>E&&Buffer.from(E,"utf-8")))}return N};const bufferedMapToMap=E=>{if(typeof E!=="object"||!E)return E;const N=Object.assign({},E);if(E.mappings){N.mappings=E.mappings.toString("utf-8")}if(E.sourcesContent){N.sourcesContent=E.sourcesContent.map((E=>E&&E.toString("utf-8")))}return N};class CachedSource extends j{constructor(E,N){super();this._source=E;this._cachedSourceType=N?N.source:undefined;this._cachedSource=undefined;this._cachedBuffer=N?N.buffer:undefined;this._cachedSize=N?N.size:undefined;this._cachedMaps=N?N.maps:new Map;this._cachedHashUpdate=N?N.hash:undefined}getCachedData(){const E=new Map;for(const N of this._cachedMaps){let R=N[1];if(R.bufferedMap===undefined){R.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(R))}E.set(N[0],{map:undefined,bufferedMap:R.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:E,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const E=this._getCachedSource();if(E!==undefined)return E;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(E){if(E.map!==undefined){return E.map}else if(E.bufferedMap!==undefined){return E.map=bufferedMapToMap(E.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const E=this.source();if(Buffer.isBuffer(E)){return this._cachedBuffer=E}return this._cachedBuffer=Buffer.from(E,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const E=this._getCachedSource();if(E!==undefined){return this._cachedSize=Buffer.byteLength(E)}return this._cachedSize=this.original().size()}sourceAndMap(E){const N=E?JSON.stringify(E):"{}";const R=this._cachedMaps.get(N);if(R!==undefined){const E=this._getMapFromCacheEntry(R);return{source:this.source(),map:E}}let j=this._getCachedSource();let $;if(j!==undefined){$=this.original().map(E)}else{const N=this.original().sourceAndMap(E);j=N.source;$=N.map;this._cachedSource=j}this._cachedMaps.set(N,{map:$,bufferedMap:undefined});return{source:j,map:$}}streamChunks(E,N,R,j){const ie=E?JSON.stringify(E):"{}";if(this._cachedMaps.has(ie)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:G,map:ie}=this.sourceAndMap(E);if(ie){return $(G,ie,N,R,j,!!(E&&E.finalSource),true)}else{return q(G,N,R,j,!!(E&&E.finalSource))}}const{result:ae,source:ce,map:le}=G(this.original(),E,N,R,j);this._cachedSource=ce;this._cachedMaps.set(ie,{map:le,bufferedMap:undefined});return ae}map(E){const N=E?JSON.stringify(E):"{}";const R=this._cachedMaps.get(N);if(R!==undefined){return this._getMapFromCacheEntry(R)}const j=this.original().map(E);this._cachedMaps.set(N,{map:j,bufferedMap:undefined});return j}updateHash(E){if(this._cachedHashUpdate!==undefined){for(const N of this._cachedHashUpdate)E.update(N);return}const N=[];let R=undefined;const j={update:E=>{if(typeof E==="string"&&E.length<10240){if(R===undefined){R=E}else{R+=E;if(R.length>102400){N.push(Buffer.from(R));R=undefined}}}else{if(R!==undefined){N.push(Buffer.from(R));R=undefined}N.push(E)}}};this.original().updateHash(j);if(R!==undefined){N.push(Buffer.from(R))}for(const R of N)E.update(R);this._cachedHashUpdate=N}}E.exports=CachedSource},7961:(E,N,R)=>{"use strict";const j=R(33839);class CompatSource extends j{static from(E){return E instanceof j?E:new CompatSource(E)}constructor(E){super();this._sourceLike=E}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(E){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(E)}return super.map(E)}sourceAndMap(E){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(E)}return super.sourceAndMap(E)}updateHash(E){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(E)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}E.update(this.buffer())}}E.exports=CompatSource},96123:(E,N,R)=>{"use strict";const j=R(33839);const $=R(76274);const q=R(60715);const{getMap:G,getSourceAndMap:ie}=R(53562);const ae=new WeakSet;class ConcatSource extends j{constructor(){super();this._children=[];for(let E=0;E<arguments.length;E++){const N=arguments[E];if(N instanceof ConcatSource){for(const E of N._children){this._children.push(E)}}else{this._children.push(N)}}this._isOptimized=arguments.length===0}getChildren(){if(!this._isOptimized)this._optimize();return this._children}add(E){if(E instanceof ConcatSource){for(const N of E._children){this._children.push(N)}}else{this._children.push(E)}this._isOptimized=false}addAllSkipOptimizing(E){for(const N of E){this._children.push(N)}}buffer(){if(!this._isOptimized)this._optimize();const E=[];for(const N of this._children){if(typeof N.buffer==="function"){E.push(N.buffer())}else{const R=N.source();if(Buffer.isBuffer(R)){E.push(R)}else{E.push(Buffer.from(R,"utf-8"))}}}return Buffer.concat(E)}source(){if(!this._isOptimized)this._optimize();let E="";for(const N of this._children){E+=N.source()}return E}size(){if(!this._isOptimized)this._optimize();let E=0;for(const N of this._children){E+=N.size()}return E}map(E){return G(this,E)}sourceAndMap(E){return ie(this,E)}streamChunks(E,N,R,j){if(!this._isOptimized)this._optimize();if(this._children.length===1)return this._children[0].streamChunks(E,N,R,j);let $=0;let G=0;let ie=new Map;let ae=new Map;const ce=!!(E&&E.finalSource);let le="";let _e=false;for(const Ee of this._children){const Te=[];const we=[];let Ie=0;const{generatedLine:Ne,generatedColumn:Me,source:Le}=q(Ee,E,((E,R,j,q,ie,ae,Ee)=>{const Ne=R+$;const Me=R===1?j+G:j;if(_e){if(R!==1||j!==0){N(undefined,$+1,G,-1,-1,-1,-1)}_e=false}const Le=q<0||q>=Te.length?-1:Te[q];const Be=Ee<0||Ee>=we.length?-1:we[Ee];Ie=Le<0?0:R;if(ce){if(E!==undefined)le+=E;if(Le>=0){N(undefined,Ne,Me,Le,ie,ae,Be)}}else{if(Le<0){N(E,Ne,Me,-1,-1,-1,-1)}else{N(E,Ne,Me,Le,ie,ae,Be)}}}),((E,N,j)=>{let $=ie.get(N);if($===undefined){ie.set(N,$=ie.size);R($,N,j)}Te[E]=$}),((E,N)=>{let R=ae.get(N);if(R===undefined){ae.set(N,R=ae.size);j(R,N)}we[E]=R}));if(Le!==undefined)le+=Le;if(_e){if(Ne!==1||Me!==0){N(undefined,$+1,G,-1,-1,-1,-1);_e=false}}if(Ne>1){G=Me}else{G+=Me}_e=_e||ce&&Ie===Ne;$+=Ne-1}return{generatedLine:$+1,generatedColumn:G,source:ce?le:undefined}}updateHash(E){if(!this._isOptimized)this._optimize();E.update("ConcatSource");for(const N of this._children){N.updateHash(E)}}_optimize(){const E=[];let N=undefined;let R=undefined;const addStringToRawSources=E=>{if(R===undefined){R=E}else if(Array.isArray(R)){R.push(E)}else{R=[typeof R==="string"?R:R.source(),E]}};const addSourceToRawSources=E=>{if(R===undefined){R=E}else if(Array.isArray(R)){R.push(E.source())}else{R=[typeof R==="string"?R:R.source(),E.source()]}};const mergeRawSources=()=>{if(Array.isArray(R)){const N=new $(R.join(""));ae.add(N);E.push(N)}else if(typeof R==="string"){const N=new $(R);ae.add(N);E.push(N)}else{E.push(R)}};for(const j of this._children){if(typeof j==="string"){if(N===undefined){N=j}else{N+=j}}else{if(N!==undefined){addStringToRawSources(N);N=undefined}if(ae.has(j)){addSourceToRawSources(j)}else{if(R!==undefined){mergeRawSources();R=undefined}E.push(j)}}}if(N!==undefined){addStringToRawSources(N)}if(R!==undefined){mergeRawSources()}this._children=E;this._isOptimized=true}}E.exports=ConcatSource},11176:(E,N,R)=>{"use strict";const{getMap:j,getSourceAndMap:$}=R(53562);const q=R(41286);const G=R(13597);const ie=R(33839);const ae=/[^\n;{}]+[;{} \r\t]*\n?|[;{} \r\t]+\n?|\n/g;class OriginalSource extends ie{constructor(E,N){super();const R=Buffer.isBuffer(E);this._value=R?undefined:E;this._valueAsBuffer=R?E:undefined;this._name=N}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return j(this,E)}sourceAndMap(E){return $(this,E)}streamChunks(E,N,R,j){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}R(0,this._name,this._value);const $=!!(E&&E.finalSource);if(!E||E.columns!==false){const E=this._value.match(ae);let R=1;let j=0;if(E!==null){for(const q of E){const E=q.endsWith("\n");if(E&&q.length===1){if(!$)N(q,R,j,-1,-1,-1,-1)}else{const E=$?undefined:q;N(E,R,j,0,R,j,-1)}if(E){R++;j=0}else{j+=q.length}}}return{generatedLine:R,generatedColumn:j,source:$?this._value:undefined}}else if($){const E=G(this._value);const{generatedLine:R,generatedColumn:j}=E;if(j===0){for(let E=1;E<R;E++)N(undefined,E,0,0,E,0,-1)}else{for(let E=1;E<=R;E++)N(undefined,E,0,0,E,0,-1)}return E}else{let E=1;const R=q(this._value);let j;for(j of R){N($?undefined:j,E,0,0,E,0,-1);E++}return R.length===0||j.endsWith("\n")?{generatedLine:R.length+1,generatedColumn:0,source:$?this._value:undefined}:{generatedLine:R.length,generatedColumn:j.length,source:$?this._value:undefined}}}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("OriginalSource");E.update(this._valueAsBuffer);E.update(this._name||"")}}E.exports=OriginalSource},96276:(E,N,R)=>{"use strict";const j=R(33839);const $=R(76274);const q=R(60715);const{getMap:G,getSourceAndMap:ie}=R(53562);const ae=/\n(?=.|\s)/g;class PrefixSource extends j{constructor(E,N){super();this._source=typeof N==="string"||Buffer.isBuffer(N)?new $(N,true):N;this._prefix=E}getPrefix(){return this._prefix}original(){return this._source}source(){const E=this._source.source();const N=this._prefix;return N+E.replace(ae,"\n"+N)}map(E){return G(this,E)}sourceAndMap(E){return ie(this,E)}streamChunks(E,N,R,j){const $=this._prefix;const G=$.length;const ie=!!(E&&E.columns===false);const{generatedLine:ce,generatedColumn:le,source:_e}=q(this._source,E,((E,R,j,q,ae,ce,le)=>{if(j!==0){j+=G}else if(E!==undefined){if(ie||q<0){E=$+E}else if(G>0){N($,R,j,-1,-1,-1,-1);j+=G}}else if(!ie){j+=G}N(E,R,j,q,ae,ce,le)}),R,j);return{generatedLine:ce,generatedColumn:le===0?0:G+le,source:_e!==undefined?$+_e.replace(ae,"\n"+$):undefined}}updateHash(E){E.update("PrefixSource");this._source.updateHash(E);E.update(this._prefix)}}E.exports=PrefixSource},76274:(E,N,R)=>{"use strict";const j=R(65821);const $=R(33839);class RawSource extends ${constructor(E,N=false){super();const R=Buffer.isBuffer(E);if(!R&&typeof E!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!N&&R;this._value=N&&R?undefined:E;this._valueAsBuffer=R?E:undefined;this._valueAsString=R?undefined:E}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return null}streamChunks(E,N,R,$){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return j(this._valueAsString,N,R,$,!!(E&&E.finalSource))}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("RawSource");E.update(this._valueAsBuffer)}}E.exports=RawSource},79722:(E,N,R)=>{"use strict";const{getMap:j,getSourceAndMap:$}=R(53562);const q=R(60715);const G=R(33839);const ie=R(41286);const ae=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const ce=536870912;class Replacement{constructor(E,N,R,j){this.start=E;this.end=N;this.content=R;this.name=j;if(!ae){this.index=-1}}}class ReplaceSource extends G{constructor(E,N){super();this._source=E;this._name=N;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(E,N,R,j){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R);this._replacements.push(new Replacement(E,N,R,j));this._isSorted=false}insert(E,N,R){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N+": "+N);this._replacements.push(new Replacement(E,E-1,N,R));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let E=this._source.source();let N=0;const R=[];this._sortReplacements();for(const j of this._replacements){const $=Math.floor(j.start);const q=Math.floor(j.end+1);if(N<$){const j=$-N;R.push(E.slice(0,j));E=E.slice(j);N=$}R.push(j.content);if(N<q){const R=q-N;E=E.slice(R);N=q}}R.push(E);return R.join("")}map(E){if(this._replacements.length===0){return this._source.map(E)}return j(this,E)}sourceAndMap(E){if(this._replacements.length===0){return this._source.sourceAndMap(E)}return $(this,E)}original(){return this._source}_sortReplacements(){if(this._isSorted)return;if(ae){this._replacements.sort((function(E,N){const R=E.start-N.start;if(R!==0)return R;const j=E.end-N.end;if(j!==0)return j;return 0}))}else{this._replacements.forEach(((E,N)=>E.index=N));this._replacements.sort((function(E,N){const R=E.start-N.start;if(R!==0)return R;const j=E.end-N.end;if(j!==0)return j;return E.index-N.index}))}this._isSorted=true}streamChunks(E,N,R,j){this._sortReplacements();const $=this._replacements;let G=0;let ae=0;let le=-1;let _e=ae<$.length?Math.floor($[ae].start):ce;let Ee=0;let Te=0;let we=0;const Ie=[];const Ne=new Map;const Me=[];const checkOriginalContent=(E,N,R,j)=>{let $=E<Ie.length?Ie[E]:undefined;if($===undefined)return false;if(typeof $==="string"){$=ie($);Ie[E]=$}const q=N<=$.length?$[N-1]:null;if(q===null)return false;return q.slice(R,R+j.length)===j};let{generatedLine:Le,generatedColumn:Be}=q(this._source,Object.assign({},E,{finalSource:false}),((E,R,q,ie,Ie,Le,Be)=>{let je=0;let Ue=G+E.length;if(le>G){if(le>=Ue){const N=R+Ee;if(E.endsWith("\n")){Ee--;if(we===N){Te+=q}}else if(we===N){Te-=E.length}else{Te=-E.length;we=N}G=Ue;return}je=le-G;if(checkOriginalContent(ie,Ie,Le,E.slice(0,je))){Le+=je}G+=je;const N=R+Ee;if(we===N){Te-=je}else{Te=-je;we=N}q+=je}if(_e<Ue){do{let ze=R+Ee;if(_e>G){const R=_e-G;const j=E.slice(je,je+R);N(j,ze,q+(ze===we?Te:0),ie,Ie,Le,Be<0||Be>=Me.length?-1:Me[Be]);q+=R;je+=R;G=_e;if(checkOriginalContent(ie,Ie,Le,j)){Le+=j.length}}const We=/[^\n]+\n?|\n/g;const{content:Je,name:Ve}=$[ae];let qe=We.exec(Je);let He=Be;if(ie>=0&&Ve){let E=Ne.get(Ve);if(E===undefined){E=Ne.size;Ne.set(Ve,E);j(E,Ve)}He=E}while(qe!==null){const E=qe[0];N(E,ze,q+(ze===we?Te:0),ie,Ie,Le,He);He=-1;qe=We.exec(Je);if(qe===null&&!E.endsWith("\n")){if(we===ze){Te+=E.length}else{Te=E.length;we=ze}}else{Ee++;ze++;Te=-q;we=ze}}le=Math.max(le,Math.floor($[ae].end+1));ae++;_e=ae<$.length?Math.floor($[ae].start):ce;const Ge=E.length-Ue+le-je;if(Ge>0){if(le>=Ue){let N=R+Ee;if(E.endsWith("\n")){Ee--;if(we===N){Te+=q}}else if(we===N){Te-=E.length-je}else{Te=je-E.length;we=N}G=Ue;return}const N=R+Ee;if(checkOriginalContent(ie,Ie,Le,E.slice(je,je+Ge))){Le+=Ge}je+=Ge;G+=Ge;if(we===N){Te-=Ge}else{Te=-Ge;we=N}q+=Ge}}while(_e<Ue)}if(je<E.length){const j=je===0?E:E.slice(je);const $=R+Ee;N(j,$,q+($===we?Te:0),ie,Ie,Le,Be<0?-1:Me[Be])}G=Ue}),((E,N,j)=>{while(Ie.length<E)Ie.push(undefined);Ie[E]=j;R(E,N,j)}),((E,N)=>{let R=Ne.get(N);if(R===undefined){R=Ne.size;Ne.set(N,R);j(R,N)}Me[E]=R}));let je="";for(;ae<$.length;ae++){je+=$[ae].content}let Ue=Le+Ee;const ze=/[^\n]+\n?|\n/g;let We=ze.exec(je);while(We!==null){const E=We[0];N(E,Ue,Be+(Ue===we?Te:0),-1,-1,-1,-1);We=ze.exec(je);if(We===null&&!E.endsWith("\n")){if(we===Ue){Te+=E.length}else{Te=E.length;we=Ue}}else{Ee++;Ue++;Te=-Be;we=Ue}}return{generatedLine:Ue,generatedColumn:Be+(Ue===we?Te:0)}}updateHash(E){this._sortReplacements();E.update("ReplaceSource");this._source.updateHash(E);E.update(this._name||"");for(const N of this._replacements){E.update(`${N.start}${N.end}${N.content}${N.name}`)}}}E.exports=ReplaceSource},93883:(E,N,R)=>{"use strict";const j=R(33839);class SizeOnlySource extends j{constructor(E){super();this._size=E}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(E){throw this._error()}updateHash(){throw this._error()}}E.exports=SizeOnlySource},33839:E=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const E=this.source();if(Buffer.isBuffer(E))return E;return Buffer.from(E,"utf-8")}size(){return this.buffer().length}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map(E)}}updateHash(E){throw new Error("Abstract")}}E.exports=Source},82340:(E,N,R)=>{"use strict";const j=R(33839);const $=R(44084);const q=R(86924);const{getMap:G,getSourceAndMap:ie}=R(53562);class SourceMapSource extends j{constructor(E,N,R,j,$,q){super();const G=Buffer.isBuffer(E);this._valueAsString=G?undefined:E;this._valueAsBuffer=G?E:undefined;this._name=N;this._hasSourceMap=!!R;const ie=Buffer.isBuffer(R);const ae=typeof R==="string";this._sourceMapAsObject=ie||ae?undefined:R;this._sourceMapAsString=ae?R:undefined;this._sourceMapAsBuffer=ie?R:undefined;this._hasOriginalSource=!!j;const ce=Buffer.isBuffer(j);this._originalSourceAsString=ce?undefined:j;this._originalSourceAsBuffer=ce?j:undefined;this._hasInnerSourceMap=!!$;const le=Buffer.isBuffer($);const _e=typeof $==="string";this._innerSourceMapAsObject=le||_e?undefined:$;this._innerSourceMapAsString=_e?$:undefined;this._innerSourceMapAsBuffer=le?$:undefined;this._removeOriginalSource=q}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(E){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return G(this,E)}sourceAndMap(E){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return ie(this,E)}streamChunks(E,N,R,j){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return q(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,N,R,j,!!(E&&E.finalSource),!!(E&&E.columns!==false))}else{return $(this._valueAsString,this._sourceMapAsObject,N,R,j,!!(E&&E.finalSource),!!(E&&E.columns!==false))}}updateHash(E){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();E.update("SourceMapSource");E.update(this._valueAsBuffer);E.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){E.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){E.update(this._innerSourceMapAsBuffer)}E.update(this._removeOriginalSource?"true":"false")}}E.exports=SourceMapSource},47310:E=>{"use strict";const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const R=32;const createMappingsSerializer=E=>{const N=E&&E.columns===false;return N?createLinesOnlyMappingsSerializer():createFullMappingsSerializer()};const createFullMappingsSerializer=()=>{let E=1;let j=0;let $=0;let q=1;let G=0;let ie=0;let ae=false;let ce=false;let le=true;return(_e,Ee,Te,we,Ie,Ne)=>{if(ae&&E===_e){if(Te===$&&we===q&&Ie===G&&!ce&&Ne<0){return""}}else{if(Te<0){return""}}let Me;if(E<_e){Me=";".repeat(_e-E);E=_e;j=0;le=false}else if(le){Me="";le=false}else{Me=","}const writeValue=E=>{const j=E>>>31&1;const $=E>>31;const q=E+$^$;let G=q<<1|j;for(;;){const E=G&31;G>>=5;if(G===0){Me+=N[E];break}else{Me+=N[E|R]}}};writeValue(Ee-j);j=Ee;if(Te>=0){ae=true;if(Te===$){Me+="A"}else{writeValue(Te-$);$=Te}writeValue(we-q);q=we;if(Ie===G){Me+="A"}else{writeValue(Ie-G);G=Ie}if(Ne>=0){writeValue(Ne-ie);ie=Ne;ce=true}else{ce=false}}else{ae=false}return Me}};const createLinesOnlyMappingsSerializer=()=>{let E=0;let j=1;let $=0;let q=1;return(G,ie,ae,ce,le,_e)=>{if(ae<0){return""}if(E===G){return""}let Ee;const writeValue=E=>{const j=E>>>31&1;const $=E>>31;const q=E+$^$;let G=q<<1|j;for(;;){const E=G&31;G>>=5;if(G===0){Ee+=N[E];break}else{Ee+=N[E|R]}}};E=G;if(G===j+1){j=G;if(ae===$){$=ae;if(ce===q+1){q=ce;return";AACA"}else{Ee=";AA";writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee=";A";writeValue(ae-$);$=ae;writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee=";".repeat(G-j);j=G;if(ae===$){$=ae;if(ce===q+1){q=ce;return Ee+"AACA"}else{Ee+="AA";writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee+="A";writeValue(ae-$);$=ae;writeValue(ce-q);q=ce;return Ee+"A"}}}};E.exports=createMappingsSerializer},53562:(E,N,R)=>{"use strict";const j=R(47310);N.getSourceAndMap=(E,N)=>{let R="";let $="";let q=[];let G=[];let ie=[];const ae=j(N);const{source:ce}=E.streamChunks(Object.assign({},N,{finalSource:true}),((E,N,j,q,G,ie,ce)=>{if(E!==undefined)R+=E;$+=ae(N,j,q,G,ie,ce)}),((E,N,R)=>{while(q.length<E){q.push(null)}q[E]=N;if(R!==undefined){while(G.length<E){G.push(null)}G[E]=R}}),((E,N)=>{while(ie.length<E){ie.push(null)}ie[E]=N}));return{source:ce!==undefined?ce:R,map:$.length>0?{version:3,file:"x",mappings:$,sources:q,sourcesContent:G.length>0?G:undefined,names:ie}:null}};N.getMap=(E,N)=>{let R="";let $=[];let q=[];let G=[];const ie=j(N);E.streamChunks(Object.assign({},N,{source:false,finalSource:true}),((E,N,j,$,q,G,ae)=>{R+=ie(N,j,$,q,G,ae)}),((E,N,R)=>{while($.length<E){$.push(null)}$[E]=N;if(R!==undefined){while(q.length<E){q.push(null)}q[E]=R}}),((E,N)=>{while(G.length<E){G.push(null)}G[E]=N}));return R.length>0?{version:3,file:"x",mappings:R,sources:$,sourcesContent:q.length>0?q:undefined,names:G}:null}},13597:E=>{"use strict";const N="\n".charCodeAt(0);const getGeneratedSourceInfo=E=>{if(E===undefined){return{}}const R=E.lastIndexOf("\n");if(R===-1){return{generatedLine:1,generatedColumn:E.length,source:E}}let j=2;for(let $=0;$<R;$++){if(E.charCodeAt($)===N)j++}return{generatedLine:j,generatedColumn:E.length-R-1,source:E}};E.exports=getGeneratedSourceInfo},86507:E=>{"use strict";const getSource=(E,N)=>{if(N<0)return null;const{sourceRoot:R,sources:j}=E;const $=j[N];if(!R)return $;if(R.endsWith("/"))return R+$;return R+"/"+$};E.exports=getSource},93581:E=>{"use strict";const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const R=32;const j=64;const $=j|1;const q=j|2;const G=31;const ie=new Uint8Array("z".charCodeAt(0)+1);{ie.fill(q);for(let E=0;E<N.length;E++){ie[N.charCodeAt(E)]=E}ie[",".charCodeAt(0)]=j;ie[";".charCodeAt(0)]=$}const ae=ie.length-1;const readMappings=(E,N)=>{const q=new Uint32Array([0,0,1,0,0]);let ce=0;let le=0;let _e=0;let Ee=1;let Te=-1;for(let we=0;we<E.length;we++){const Ie=E.charCodeAt(we);if(Ie>ae)continue;const Ne=ie[Ie];if((Ne&j)!==0){if(q[0]>Te){if(ce===1){N(Ee,q[0],-1,-1,-1,-1)}else if(ce===4){N(Ee,q[0],q[1],q[2],q[3],-1)}else if(ce===5){N(Ee,q[0],q[1],q[2],q[3],q[4])}Te=q[0]}ce=0;if(Ne===$){Ee++;q[0]=0;Te=-1}}else if((Ne&R)===0){le|=Ne<<_e;const E=le&1?-(le>>1):le>>1;q[ce++]+=E;_e=0;le=0}else{le|=(Ne&G)<<_e;_e+=5}}if(ce===1){N(Ee,q[0],-1,-1,-1,-1)}else if(ce===4){N(Ee,q[0],q[1],q[2],q[3],-1)}else if(ce===5){N(Ee,q[0],q[1],q[2],q[3],q[4])}};E.exports=readMappings},41286:E=>{const splitIntoLines=E=>{const N=[];const R=E.length;let j=0;for(;j<R;){const $=E.charCodeAt(j);if($===10){N.push("\n");j++}else{let $=j+1;while($<R&&E.charCodeAt($)!==10)$++;N.push(E.slice(j,$+1));j=$+1}}return N};E.exports=splitIntoLines},50666:(E,N,R)=>{"use strict";const j=R(47310);const $=R(60715);const streamAndGetSourceAndMap=(E,N,R,q,G)=>{let ie="";let ae="";let ce=[];let le=[];let _e=[];const Ee=j(Object.assign({},N,{columns:true}));const Te=!!(N&&N.finalSource);const{generatedLine:we,generatedColumn:Ie,source:Ne}=$(E,N,((E,N,j,$,q,G,ce)=>{if(E!==undefined)ie+=E;ae+=Ee(N,j,$,q,G,ce);return R(Te?undefined:E,N,j,$,q,G,ce)}),((E,N,R)=>{while(ce.length<E){ce.push(null)}ce[E]=N;if(R!==undefined){while(le.length<E){le.push(null)}le[E]=R}return q(E,N,R)}),((E,N)=>{while(_e.length<E){_e.push(null)}_e[E]=N;return G(E,N)}));const Me=Ne!==undefined?Ne:ie;return{result:{generatedLine:we,generatedColumn:Ie,source:Te?Me:undefined},source:Me,map:ae.length>0?{version:3,file:"x",mappings:ae,sources:ce,sourcesContent:le.length>0?le:undefined,names:_e}:null}};E.exports=streamAndGetSourceAndMap},60715:(E,N,R)=>{"use strict";const j=R(65821);const $=R(44084);E.exports=(E,N,R,q,G)=>{if(typeof E.streamChunks==="function"){return E.streamChunks(N,R,q,G)}else{const ie=E.sourceAndMap(N);if(ie.map){return $(ie.source,ie.map,R,q,G,!!(N&&N.finalSource),!!(N&&N.columns!==false))}else{return j(ie.source,R,q,G,!!(N&&N.finalSource))}}}},86924:(E,N,R)=>{"use strict";const j=R(44084);const $=R(41286);const streamChunksOfCombinedSourceMap=(E,N,R,q,G,ie,ae,ce,le,_e,Ee)=>{let Te=new Map;let we=new Map;const Ie=[];const Ne=[];const Me=[];let Le=-2;const Be=[];const je=[];const Ue=[];const ze=[];const We=[];const Je=[];const Ve=[];const findInnerMapping=(E,N)=>{if(E>Ve.length)return-1;const{mappingsData:R}=Ve[E-1];let j=0;let $=R.length/5;while(j<$){let E=j+$>>1;if(R[E*5]<=N){j=E+1}else{$=E}}if(j===0)return-1;return j-1};return j(E,N,((N,j,G,_e,Ee,qe,He)=>{if(_e===Le){const Le=findInnerMapping(Ee,qe);if(Le!==-1){const{chunks:E,mappingsData:R}=Ve[Ee-1];const q=Le*5;const ie=R[q+1];const _e=R[q+2];let Ie=R[q+3];let Ge=R[q+4];if(ie>=0){const Ee=E[Le];const Ve=R[q];const Ke=qe-Ve;if(Ke>0){let E=ie<ze.length?ze[ie]:null;if(E===undefined){const N=Ue[ie];E=N?$(N):null;ze[ie]=E}if(E!==null){const N=_e<=E.length?E[_e-1].slice(Ie,Ie+Ke):"";if(Ee.slice(0,Ke)===N){Ie+=Ke;Ge=-1}}}let Qe=ie<Be.length?Be[ie]:-2;if(Qe===-2){const[E,N]=ie<je.length?je[ie]:[null,undefined];let R=Te.get(E);if(R===undefined){Te.set(E,R=Te.size);ce(R,E,N)}Qe=R;Be[ie]=Qe}let Xe=-1;if(Ge>=0){Xe=Ge<We.length?We[Ge]:-2;if(Xe===-2){const E=Ge<Je.length?Je[Ge]:undefined;if(E){let N=we.get(E);if(N===undefined){we.set(E,N=we.size);le(N,E)}Xe=N}else{Xe=-1}We[Ge]=Xe}}else if(He>=0){let E=ze[ie];if(E===undefined){const N=Ue[ie];E=N?$(N):null;ze[ie]=E}if(E!==null){const N=Me[He];const R=_e<=E.length?E[_e-1].slice(Ie,Ie+N.length):"";if(N===R){Xe=He<Ne.length?Ne[He]:-2;if(Xe===-2){const E=Me[He];if(E){let N=we.get(E);if(N===undefined){we.set(E,N=we.size);le(N,E)}Xe=N}else{Xe=-1}Ne[He]=Xe}}}}ae(N,j,G,Qe,_e,Ie,Xe);return}}if(ie){ae(N,j,G,-1,-1,-1,-1);return}else{if(Ie[_e]===-2){let N=Te.get(R);if(N===undefined){Te.set(E,N=Te.size);ce(N,R,q)}Ie[_e]=N}}}const Ge=_e<0||_e>=Ie.length?-1:Ie[_e];if(Ge<0){ae(N,j,G,-1,-1,-1,-1)}else{let E=-1;if(He>=0&&He<Ne.length){E=Ne[He];if(E===-2){const N=Me[He];let R=we.get(N);if(R===undefined){we.set(N,R=we.size);le(R,N)}E=R;Ne[He]=E}}ae(N,j,G,Ge,Ee,qe,E)}}),((E,N,$)=>{if(N===R){Le=E;if(q!==undefined)$=q;else q=$;Ie[E]=-2;j($,G,((E,N,R,j,$,q,G)=>{while(Ve.length<N){Ve.push({mappingsData:[],chunks:[]})}const ie=Ve[N-1];ie.mappingsData.push(R,j,$,q,G);ie.chunks.push(E)}),((E,N,R)=>{Ue[E]=R;ze[E]=undefined;Be[E]=-2;je[E]=[N,R]}),((E,N)=>{We[E]=-2;Je[E]=N}),false,Ee)}else{let R=Te.get(N);if(R===undefined){Te.set(N,R=Te.size);ce(R,N,$)}Ie[E]=R}}),((E,N)=>{Ne[E]=-2;Me[E]=N}),_e,Ee)};E.exports=streamChunksOfCombinedSourceMap},65821:(E,N,R)=>{"use strict";const j=R(13597);const $=R(41286);const streamChunksOfRawSource=(E,N,R,j)=>{let q=1;const G=$(E);let ie;for(ie of G){N(ie,q,0,-1,-1,-1,-1);q++}return G.length===0||ie.endsWith("\n")?{generatedLine:G.length+1,generatedColumn:0}:{generatedLine:G.length,generatedColumn:ie.length}};E.exports=(E,N,R,$,q)=>q?j(E):streamChunksOfRawSource(E,N,R,$)},44084:(E,N,R)=>{"use strict";const j=R(13597);const $=R(86507);const q=R(93581);const G=R(41286);const streamChunksOfSourceMapFull=(E,N,R,j,ie)=>{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:ce,sourcesContent:le,names:_e,mappings:Ee}=N;for(let E=0;E<ce.length;E++){j(E,$(N,E),le&&le[E]||undefined)}if(_e){for(let E=0;E<_e.length;E++){ie(E,_e[E])}}const Te=ae[ae.length-1];const we=Te.endsWith("\n");const Ie=we?ae.length+1:ae.length;const Ne=we?0:Te.length;let Me=1;let Le=0;let Be=false;let je=-1;let Ue=-1;let ze=-1;let We=-1;const onMapping=(E,N,j,$,q,G)=>{if(Be&&Me<=ae.length){let j;const $=Me;const q=Le;const G=ae[Me-1];if(E!==Me){j=G.slice(Le);Me++;Le=0}else{j=G.slice(Le,N);Le=N}if(j){R(j,$,q,je,Ue,ze,We)}Be=false}if(E>Me&&Le>0){if(Me<=ae.length){const E=ae[Me-1].slice(Le);R(E,Me,Le,-1,-1,-1,-1)}Me++;Le=0}while(E>Me){if(Me<=ae.length){R(ae[Me-1],Me,0,-1,-1,-1,-1)}Me++}if(N>Le){if(Me<=ae.length){const E=ae[Me-1].slice(Le,N);R(E,Me,Le,-1,-1,-1,-1)}Le=N}if(j>=0&&(E<Ie||E===Ie&&N<Ne)){Be=true;je=j;Ue=$;ze=q;We=G}};q(Ee,onMapping);onMapping(Ie,Ne,-1,-1,-1,-1);return{generatedLine:Ie,generatedColumn:Ne}};const streamChunksOfSourceMapLinesFull=(E,N,R,j,ie)=>{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:ce,sourcesContent:le,mappings:_e}=N;for(let E=0;E<ce.length;E++){j(E,$(N,E),le&&le[E]||undefined)}let Ee=1;const onMapping=(E,N,j,$,q,G)=>{if(j<0||E<Ee||E>ae.length){return}while(E>Ee){if(Ee<=ae.length){R(ae[Ee-1],Ee,0,-1,-1,-1,-1)}Ee++}if(E<=ae.length){R(ae[E-1],E,0,j,$,q,-1);Ee++}};q(_e,onMapping);for(;Ee<=ae.length;Ee++){R(ae[Ee-1],Ee,0,-1,-1,-1,-1)}const Te=ae[ae.length-1];const we=Te.endsWith("\n");const Ie=we?ae.length+1:ae.length;const Ne=we?0:Te.length;return{generatedLine:Ie,generatedColumn:Ne}};const streamChunksOfSourceMapFinal=(E,N,R,G,ie)=>{const ae=j(E);const{generatedLine:ce,generatedColumn:le}=ae;if(ce===1&&le===0)return ae;const{sources:_e,sourcesContent:Ee,names:Te,mappings:we}=N;for(let E=0;E<_e.length;E++){G(E,$(N,E),Ee&&Ee[E]||undefined)}if(Te){for(let E=0;E<Te.length;E++){ie(E,Te[E])}}let Ie=0;const onMapping=(E,N,j,$,q,G)=>{if(E>=ce&&(N>=le||E>ce)){return}if(j>=0){R(undefined,E,N,j,$,q,G);Ie=E}else if(Ie===E){R(undefined,E,N,-1,-1,-1,-1);Ie=0}};q(we,onMapping);return ae};const streamChunksOfSourceMapLinesFinal=(E,N,R,G,ie)=>{const ae=j(E);const{generatedLine:ce,generatedColumn:le}=ae;if(ce===1&&le===0){return{generatedLine:1,generatedColumn:0}}const{sources:_e,sourcesContent:Ee,mappings:Te}=N;for(let E=0;E<_e.length;E++){G(E,$(N,E),Ee&&Ee[E]||undefined)}const we=le===0?ce-1:ce;let Ie=1;const onMapping=(E,N,j,$,q,G)=>{if(j>=0&&Ie<=E&&E<=we){R(undefined,E,0,j,$,q,-1);Ie=E+1}};q(Te,onMapping);return ae};E.exports=(E,N,R,j,$,q,G)=>{if(G){return q?streamChunksOfSourceMapFinal(E,N,R,j,$):streamChunksOfSourceMapFull(E,N,R,j,$)}else{return q?streamChunksOfSourceMapLinesFinal(E,N,R,j,$):streamChunksOfSourceMapLinesFull(E,N,R,j,$)}}},48135:(E,N,R)=>{const defineExport=(E,R)=>{let j;Object.defineProperty(N,E,{get:()=>{if(R!==undefined){j=R();R=undefined}return j},configurable:true})};defineExport("Source",(()=>R(33839)));defineExport("RawSource",(()=>R(76274)));defineExport("OriginalSource",(()=>R(11176)));defineExport("SourceMapSource",(()=>R(82340)));defineExport("CachedSource",(()=>R(76185)));defineExport("ConcatSource",(()=>R(96123)));defineExport("ReplaceSource",(()=>R(79722)));defineExport("PrefixSource",(()=>R(96276)));defineExport("SizeOnlySource",(()=>R(93883)));defineExport("CompatSource",(()=>R(7961)))},63221:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=$e,E.exports["default"]=$e;const R={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},j=Object.prototype.hasOwnProperty,$={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(E,{instancePath:R="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,ce=0;const le=ce;let _e=!1;const Ee=ce;if(!1!==E){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Te=Ee===ce;if(_e=_e||Te,!_e){const R=ce;if(ce==ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.type&&(N="type")){const E={params:{missingProperty:N}};null===ae?ae=[E]:ae.push(E),ce++}else{const N=ce;for(const N in E)if("cacheUnaffected"!==N&&"maxGenerations"!==N&&"type"!==N){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(N===ce){if(void 0!==E.cacheUnaffected){const N=ce;if("boolean"!=typeof E.cacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}var we=N===ce}else we=!0;if(we){if(void 0!==E.maxGenerations){let N=E.maxGenerations;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<1||isNaN(N)){const E={params:{comparison:">=",limit:1}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}we=R===ce}else we=!0;if(we)if(void 0!==E.type){const N=ce;if("memory"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}we=N===ce}else we=!0}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}if(Te=R===ce,_e=_e||Te,!_e){const R=ce;if(ce==ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.type&&(R="type")){const E={params:{missingProperty:R}};null===ae?ae=[E]:ae.push(E),ce++}else{const R=ce;for(const N in E)if(!j.call($,N)){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(R===ce){if(void 0!==E.allowCollectingMemory){const N=ce;if("boolean"!=typeof E.allowCollectingMemory){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}var Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.buildDependencies){let N=E.buildDependencies;const R=ce;if(ce===R)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let N=0;N<E;N++){let E=R[N];const j=ce;if(ce===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}if(j!==ce)break}}else{const E={params:{type:"array"}};null===ae?ae=[E]:ae.push(E),ce++}if(j!==ce)break}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.cacheDirectory){let R=E.cacheDirectory;const j=ce;if(ce===j)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=j===ce}else Ie=!0;if(Ie){if(void 0!==E.cacheLocation){let R=E.cacheLocation;const j=ce;if(ce===j)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=j===ce}else Ie=!0;if(Ie){if(void 0!==E.compression){let N=E.compression;const R=ce;if(!1!==N&&"gzip"!==N&&"brotli"!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.hashAlgorithm){const N=ce;if("string"!=typeof E.hashAlgorithm){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeout){let N=E.idleTimeout;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeoutAfterLargeChanges){let N=E.idleTimeoutAfterLargeChanges;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeoutForInitialStore){let N=E.idleTimeoutForInitialStore;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.immutablePaths){let R=E.immutablePaths;const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let j=0;j<E;j++){let E=R[j];const $=ce,q=ce;let G=!1;const ie=ce;if(!(E instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Ne=ie===ce;if(G=G||Ne,!G){const R=ce;if(ce===R)if("string"==typeof E){if(E.includes("!")||!0!==N.test(E)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}else if(E.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ne=R===ce,G=G||Ne}if(G)ce=q,null!==ae&&(q?ae.length=q:ae=null);else{const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}if($!==ce)break}}else{const E={params:{type:"array"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=j===ce}else Ie=!0;if(Ie){if(void 0!==E.managedPaths){let R=E.managedPaths;const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let j=0;j<E;j++){let E=R[j];const $=ce,q=ce;let G=!1;const ie=ce;if(!(E instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Me=ie===ce;if(G=G||Me,!G){const R=ce;if(ce===R)if("string"==typeof E){if(E.includes("!")||!0!==N.test(E)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}else if(E.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Me=R===ce,G=G||Me}if(G)ce=q,null!==ae&&(q?ae.length=q:ae=null);else{const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}if($!==ce)break}}else{const E={params:{type:"array"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=j===ce}else Ie=!0;if(Ie){if(void 0!==E.maxAge){let N=E.maxAge;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.maxMemoryGenerations){let N=E.maxMemoryGenerations;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.memoryCacheUnaffected){const N=ce;if("boolean"!=typeof E.memoryCacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.name){const N=ce;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.profile){const N=ce;if("boolean"!=typeof E.profile){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.store){const N=ce;if("pack"!==E.store){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.type){const N=ce;if("filesystem"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie)if(void 0!==E.version){const N=ce;if("string"!=typeof E.version){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0}}}}}}}}}}}}}}}}}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}Te=R===ce,_e=_e||Te}}if(!_e){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,s.errors=ae,!1}return ce=le,null!==ae&&(le?ae.length=le:ae=null),s.errors=ae,0===ce}function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!0!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;s(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}const q={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G,R=G;let j=!1;const $=G;if("jsonp"!==E&&"import-scripts"!==E&&"require"!==E&&"async-node"!==E&&"import"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=$===G;if(j=j||_e,!j){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G,j=j||_e}if(j)G=R,null!==q&&(R?q.length=R:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,i.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),i.errors=q,0===G}function l(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1,le=null;const _e=ie,Ee=ie;let Te=!1;const we=ie;if(ie===we)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Ie=we===ie;if(Te=Te||Ie,!Te){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ie=N===ie,Te=Te||Ie}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(ce=!0,le=0),!ce){const E={params:{passingSchemas:le}};return null===G?G=[E]:G.push(E),ie++,l.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),l.errors=G,0===ie}function p(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){const N=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs){const N=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs2){const N=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e)if(void 0!==E.root){const N=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),p.errors=q,0===G}function f(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G;if(G===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(le=N===G,ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){let N=E.amd;const R=G;if(G===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=R===G}else _e=!0;if(_e){if(void 0!==E.commonjs){let N=E.commonjs;const R=G;if(G===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0;if(_e)if(void 0!==E.root){let N=E.root;const R=G,j=G;let $=!1;const ie=G;if(G===ie)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=G;if(G===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ee=ie===G;if($=$||Ee,!$){const E=G;if(G===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=E===G,$=$||Ee}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,f.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),f.errors=q,0===G}function u(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return u.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.type&&(R="type"))return u.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("auxiliaryComment"!==N&&"export"!==N&&"name"!==N&&"type"!==N&&"umdNamedDefine"!==N)return u.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.auxiliaryComment){const R=G;p(E.auxiliaryComment,{instancePath:N+"/auxiliaryComment",parentData:E,parentDataProperty:"auxiliaryComment",rootData:$})||(q=null===q?p.errors:q.concat(p.errors),G=q.length);var ie=R===G}else ie=!0;if(ie){if(void 0!==E.export){let N=E.export;const R=G,j=G;let $=!1;const ce=G;if(G===ce)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=G;if(G===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const E=G;if(G===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,$=$||ae}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,u.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.name){const R=G;f(E.name,{instancePath:N+"/name",parentData:E,parentDataProperty:"name",rootData:$})||(q=null===q?f.errors:q.concat(f.errors),G=q.length),ie=R===G}else ie=!0;if(ie){if(void 0!==E.type){let N=E.type;const R=G,j=G;let $=!1;const ae=G;if("var"!==N&&"module"!==N&&"assign"!==N&&"assign-properties"!==N&&"this"!==N&&"window"!==N&&"self"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=ae===G;if($=$||ce,!$){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,$=$||ce}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,u.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie)if(void 0!==E.umdNamedDefine){const N=G;if("boolean"!=typeof E.umdNamedDefine)return u.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0}}}}}}}return u.errors=q,0===G}function c(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if("auto"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G,R=G;let j=!1;const $=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=$===G;if(j=j||_e,!j){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,j=j||_e}if(j)G=R,null!==q&&(R?q.length=R:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,c.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),c.errors=q,0===G}function m(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G,R=G;let j=!1;const $=G;if("fetch-streaming"!==E&&"fetch"!==E&&"async-node"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=$===G;if(j=j||_e,!j){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G,j=j||_e}if(j)G=R,null!==q&&(R?q.length=R:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,m.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),m.errors=q,0===G}function y(E,{instancePath:N="",parentData:R,parentDataProperty:$,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return y.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.import&&(R="import"))return y.errors=[{params:{missingProperty:R}}],!1;{const R=ae;for(const N in E)if(!j.call(q,N))return y.errors=[{params:{additionalProperty:N}}],!1;if(R===ae){if(void 0!==E.chunkLoading){const R=ae;i(E.chunkLoading,{instancePath:N+"/chunkLoading",parentData:E,parentDataProperty:"chunkLoading",rootData:G})||(ie=null===ie?i.errors:ie.concat(i.errors),ae=ie.length);var ce=R===ae}else ce=!0;if(ce){if(void 0!==E.dependOn){let N=E.dependOn;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if(Array.isArray(N))if(N.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{var le=!0;const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(!(le=j===ae))break}if(le){let E,R=N.length;if(R>1){const j={};for(;R--;){let $=N[R];if("string"==typeof $){if("number"==typeof j[$]){E=j[$];const N={params:{i:R,j:E}};null===ie?ie=[N]:ie.push(N),ae++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=q===ae;if($=$||_e,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,$=$||_e}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){const R=ae;l(E.filename,{instancePath:N+"/filename",parentData:E,parentDataProperty:"filename",rootData:G})||(ie=null===ie?l.errors:ie.concat(l.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.import){let N=E.import;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if(Array.isArray(N))if(N.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{var Ee=!0;const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(!(Ee=j===ae))break}if(Ee){let E,R=N.length;if(R>1){const j={};for(;R--;){let $=N[R];if("string"==typeof $){if("number"==typeof j[$]){E=j[$];const N={params:{i:R,j:E}};null===ie?ie=[N]:ie.push(N),ae++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.layer){let N=E.layer;const R=ae,j=ae;let $=!1;const q=ae;if(null!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var we=q===ae;if($=$||we,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,$=$||we}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.library){const R=ae;u(E.library,{instancePath:N+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?u.errors:ie.concat(u.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.publicPath){const R=ae;c(E.publicPath,{instancePath:N+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:G})||(ie=null===ie?c.errors:ie.concat(c.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.runtime){let N=E.runtime;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.wasmLoading){const R=ae;m(E.wasmLoading,{instancePath:N+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),ce=R===ae}else ce=!0}}}}}}}}}}}return y.errors=ie,0===ae}function h(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const le=G,_e=G;let Ee=!1;const Te=G,we=G;let Ie=!1;const Ne=G;if(G===Ne)if(Array.isArray(j))if(j.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var ie=!0;const E=j.length;for(let N=0;N<E;N++){let E=j[N];const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(!(ie=R===G))break}if(ie){let E,N=j.length;if(N>1){const R={};for(;N--;){let $=j[N];if("string"==typeof $){if("number"==typeof R[$]){E=R[$];const j={params:{i:N,j:E}};null===q?q=[j]:q.push(j),G++;break}R[$]=N}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=Ne===G;if(Ie=Ie||ae,!Ie){const E=G;if(G===E)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,Ie=Ie||ae}if(Ie)G=we,null!==q&&(we?q.length=we:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=Te===G;if(Ee=Ee||ce,!Ee){const ie=G;y(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?y.errors:q.concat(y.errors),G=q.length),ce=ie===G,Ee=Ee||ce}if(!Ee){const E={params:{}};return null===q?q=[E]:q.push(E),G++,h.errors=q,!1}if(G=_e,null!==q&&(_e?q.length=_e:q=null),le!==G)break}}return h.errors=q,0===G}function d(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1,ce=null;const le=G,_e=G;let Ee=!1;const Te=G;if(G===Te)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var we=!0;const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G;if(G===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(!(we=j===G))break}if(we){let N,R=E.length;if(R>1){const j={};for(;R--;){let $=E[R];if("string"==typeof $){if("number"==typeof j[$]){N=j[$];const E={params:{i:R,j:N}};null===q?q=[E]:q.push(E),G++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ie=Te===G;if(Ee=Ee||Ie,!Ee){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ie=N===G,Ee=Ee||Ie}if(Ee)G=_e,null!==q&&(_e?q.length=_e:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,d.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),d.errors=q,0===G}function g(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;h(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?h.errors:q.concat(h.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const ie=G;d(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?d.errors:q.concat(d.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,g.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),g.errors=q,0===G}function b(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;g(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,b.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),b.errors=q,0===G}const G={asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}},ie=new RegExp("^https?://","u");function P(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ae=G;let ce=!1,le=null;const _e=G;if(G==G)if(Array.isArray(E)){const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G,$=G;let ae=!1;const ce=G;if(!(N instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var Ee=ce===G;if(ae=ae||Ee,!ae){const E=G;if(G===E)if("string"==typeof N){if(!ie.test(N)){const E={params:{pattern:"^https?://"}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(Ee=E===G,ae=ae||Ee,!ae){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Ee=E===G,ae=ae||Ee}}if(ae)G=$,null!==q&&($?q.length=$:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}if(_e===G&&(ce=!0,le=0),!ce){const E={params:{passingSchemas:le}};return null===q?q=[E]:q.push(E),G++,P.errors=q,!1}return G=ae,null!==q&&(ae?q.length=ae:q=null),P.errors=q,0===G}function A(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return A.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.allowedUris&&(R="allowedUris"))return A.errors=[{params:{missingProperty:R}}],!1;{const R=ae;for(const N in E)if("allowedUris"!==N&&"cacheLocation"!==N&&"frozen"!==N&&"lockfileLocation"!==N&&"upgrade"!==N)return A.errors=[{params:{additionalProperty:N}}],!1;if(R===ae){if(void 0!==E.allowedUris){let N=E.allowedUris;const R=ae;if(ae==ae){if(!Array.isArray(N))return A.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae,$=ae;let q=!1;const le=ae;if(!(E instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ae++}var ce=le===ae;if(q=q||ce,!q){const N=ae;if(ae===N)if("string"==typeof E){if(!ie.test(E)){const E={params:{pattern:"^https?://"}};null===G?G=[E]:G.push(E),ae++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ae++}if(ce=N===ae,q=q||ce,!q){const N=ae;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ae++}ce=N===ae,q=q||ce}}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ae++,A.errors=G,!1}if(ae=$,null!==G&&($?G.length=$:G=null),j!==ae)break}}}var le=R===ae}else le=!0;if(le){if(void 0!==E.cacheLocation){let R=E.cacheLocation;const j=ae,$=ae;let q=!1;const ie=ae;if(!1!==R){const E={params:{}};null===G?G=[E]:G.push(E),ae++}var _e=ie===ae;if(q=q||_e,!q){const E=ae;if(ae===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ae++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ae++}_e=E===ae,q=q||_e}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ae++,A.errors=G,!1}ae=$,null!==G&&($?G.length=$:G=null),le=j===ae}else le=!0;if(le){if(void 0!==E.frozen){const N=ae;if("boolean"!=typeof E.frozen)return A.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.lockfileLocation){let R=E.lockfileLocation;const j=ae;if(ae===j){if("string"!=typeof R)return A.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return A.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le)if(void 0!==E.upgrade){const N=ae;if("boolean"!=typeof E.upgrade)return A.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0}}}}}}}return A.errors=G,0===ae}function x(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return x.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("backend"!==N&&"entries"!==N&&"imports"!==N&&"test"!==N)return x.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.backend){let N=E.backend;const R=G,j=G;let $=!1;const Te=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ie=Te===G;if($=$||ie,!$){const E=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("client"!==E&&"listen"!==E&&"protocol"!==E&&"server"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==N.client){const E=G;if("string"!=typeof N.client){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var ae=E===G}else ae=!0;if(ae){if(void 0!==N.listen){let E=N.listen;const R=G,j=G;let $=!1;const ie=G;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}var ce=ie===G;if($=$||ce,!$){const N=G;if(G===N)if(E&&"object"==typeof E&&!Array.isArray(E)){if(void 0!==E.host){const N=G;if("string"!=typeof E.host){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=N===G}else le=!0;if(le)if(void 0!==E.port){let N=E.port;const R=G;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}le=R===G}else le=!0}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}if(ce=N===G,$=$||ce,!$){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ce=N===G,$=$||ce}}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ae=R===G}else ae=!0;if(ae){if(void 0!==N.protocol){let E=N.protocol;const R=G;if("http"!==E&&"https"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}ae=R===G}else ae=!0;if(ae)if(void 0!==N.server){let E=N.server;const R=G,j=G;let $=!1;const ie=G;if(G===ie)if(E&&"object"==typeof E&&!Array.isArray(E));else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ie===G;if($=$||_e,!$){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,$=$||_e}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ae=R===G}else ae=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}ie=E===G,$=$||ie}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,x.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null);var Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.entries){const N=G;if("boolean"!=typeof E.entries)return x.errors=[{params:{type:"boolean"}}],!1;Ee=N===G}else Ee=!0;if(Ee){if(void 0!==E.imports){const N=G;if("boolean"!=typeof E.imports)return x.errors=[{params:{type:"boolean"}}],!1;Ee=N===G}else Ee=!0;if(Ee)if(void 0!==E.test){let N=E.test;const R=G,j=G;let $=!1;const ie=G;if(!(N instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var Te=ie===G;if($=$||Te,!$){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(Te=E===G,$=$||Te,!$){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Te=E===G,$=$||Te}}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,x.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),Ee=R===G}else Ee=!0}}}}}return x.errors=q,0===G}function k(E,{instancePath:N="",parentData:R,parentDataProperty:$,rootData:q=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return k.errors=[{params:{type:"object"}}],!1;{const R=ae;for(const N in E)if(!j.call(G,N))return k.errors=[{params:{additionalProperty:N}}],!1;if(R===ae){if(void 0!==E.asyncWebAssembly){const N=ae;if("boolean"!=typeof E.asyncWebAssembly)return k.errors=[{params:{type:"boolean"}}],!1;var ce=N===ae}else ce=!0;if(ce){if(void 0!==E.backCompat){const N=ae;if("boolean"!=typeof E.backCompat)return k.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.buildHttp){let R=E.buildHttp;const j=ae,$=ae;let G=!1;const _e=ae;P(R,{instancePath:N+"/buildHttp",parentData:E,parentDataProperty:"buildHttp",rootData:q})||(ie=null===ie?P.errors:ie.concat(P.errors),ae=ie.length);var le=_e===ae;if(G=G||le,!G){const j=ae;A(R,{instancePath:N+"/buildHttp",parentData:E,parentDataProperty:"buildHttp",rootData:q})||(ie=null===ie?A.errors:ie.concat(A.errors),ae=ie.length),le=j===ae,G=G||le}if(!G){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,k.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.cacheUnaffected){const N=ae;if("boolean"!=typeof E.cacheUnaffected)return k.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.futureDefaults){const N=ae;if("boolean"!=typeof E.futureDefaults)return k.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.layers){const N=ae;if("boolean"!=typeof E.layers)return k.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.lazyCompilation){let R=E.lazyCompilation;const j=ae,$=ae;let G=!1;const le=ae;if("boolean"!=typeof R){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=le===ae;if(G=G||_e,!G){const j=ae;x(R,{instancePath:N+"/lazyCompilation",parentData:E,parentDataProperty:"lazyCompilation",rootData:q})||(ie=null===ie?x.errors:ie.concat(x.errors),ae=ie.length),_e=j===ae,G=G||_e}if(!G){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,k.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.outputModule){const N=ae;if("boolean"!=typeof E.outputModule)return k.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.syncWebAssembly){const N=ae;if("boolean"!=typeof E.syncWebAssembly)return k.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce)if(void 0!==E.topLevelAwait){const N=ae;if("boolean"!=typeof E.topLevelAwait)return k.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}return k.errors=ie,0===ae}const ae={validate:S};function S(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ce=!1;const le=G;if(!(E instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ce=ce||_e,!ce){const R=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(_e=R===G,ce=ce||_e,!ce){const R=G;if(G===R)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const N in E)if("byLayer"!==N){let R=E[N];const j=G,$=G;let ie=!1;const ae=G;if(G===ae)if(Array.isArray(R)){const E=R.length;for(let N=0;N<E;N++){let E=R[N];const j=G;if(G===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ee=ae===G;if(ie=ie||Ee,!ie){const E=G;if("boolean"!=typeof R){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}if(Ee=E===G,ie=ie||Ee,!ie){const E=G;if("string"!=typeof R){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(Ee=E===G,ie=ie||Ee,!ie){const E=G;if(!R||"object"!=typeof R||Array.isArray(R)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}Ee=E===G,ie=ie||Ee}}}if(ie)G=$,null!==q&&($?q.length=$:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}if(R===G&&void 0!==E.byLayer){let R=E.byLayer;const j=G;let ie=!1;const ce=G;if(G===ce)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){const j=G;if(ae.validate(R[E],{instancePath:N+"/byLayer/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:R,parentDataProperty:E,rootData:$})||(q=null===q?ae.validate.errors:q.concat(ae.validate.errors),G=q.length),j!==G)break}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Te=ce===G;if(ie=ie||Te,!ie){const E=G;if(!(R instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Te=E===G,ie=ie||Te}if(ie)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}if(_e=R===G,ce=ce||_e,!ce){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ce=ce||_e}}}if(!ce){const E={params:{}};return null===q?q=[E]:q.push(E),G++,S.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),S.errors=q,0===G}function C(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){const R=G;if(S(E[j],{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?S.errors:q.concat(S.errors),G=q.length),R!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;S(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?S.errors:q.concat(S.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,C.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),C.errors=q,0===G}function F(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1;const le=ie;if(ie===le)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const $=ie,q=ie;let ae=!1,ce=null;const le=ie,Ee=ie;let Te=!1;const we=ie;if(!(R instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var _e=we===ie;if(Te=Te||_e,!Te){const E=ie;if(ie===E)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(_e=E===ie,Te=Te||_e,!Te){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,Te=Te||_e}}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&(ae=!0,ce=0),ae)ie=q,null!==G&&(q?G.length=q:G=null);else{const E={params:{passingSchemas:ce}};null===G?G=[E]:G.push(E),ie++}if($!==ie)break}}else{const E={params:{type:"array"}};null===G?G=[E]:G.push(E),ie++}var Ee=le===ie;if(ce=ce||Ee,!ce){const R=ie,j=ie;let $=!1;const q=ie;if(!(E instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var Te=q===ie;if($=$||Te,!$){const R=ie;if(ie===R)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(Te=R===ie,$=$||Te,!$){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=N===ie,$=$||Te}}if($)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ee=R===ie,ce=ce||Ee}if(!ce){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,F.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),F.errors=G,0===ie}function O(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return O.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("appendOnly"!==N&&"colors"!==N&&"console"!==N&&"debug"!==N&&"level"!==N&&"stream"!==N)return O.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.appendOnly){const N=G;if("boolean"!=typeof E.appendOnly)return O.errors=[{params:{type:"boolean"}}],!1;var ie=N===G}else ie=!0;if(ie){if(void 0!==E.colors){const N=G;if("boolean"!=typeof E.colors)return O.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0;if(ie){if(void 0!==E.debug){let R=E.debug;const j=G,ce=G;let le=!1;const _e=G;if("boolean"!=typeof R){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}var ae=_e===G;if(le=le||ae,!le){const j=G;F(R,{instancePath:N+"/debug",parentData:E,parentDataProperty:"debug",rootData:$})||(q=null===q?F.errors:q.concat(F.errors),G=q.length),ae=j===G,le=le||ae}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,O.errors=q,!1}G=ce,null!==q&&(ce?q.length=ce:q=null),ie=j===G}else ie=!0;if(ie)if(void 0!==E.level){let N=E.level;const R=G;if("none"!==N&&"error"!==N&&"warn"!==N&&"info"!==N&&"log"!==N&&"verbose"!==N)return O.errors=[{params:{}}],!1;ie=R===G}else ie=!0}}}}}return O.errors=q,0===G}const ce={defaultRules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},exprContextCritical:{type:"boolean"},exprContextRecursive:{type:"boolean"},exprContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},exprContextRequest:{type:"string"},generator:{$ref:"#/definitions/GeneratorOptionsByModuleType"},noParse:{$ref:"#/definitions/NoParse"},parser:{$ref:"#/definitions/ParserOptionsByModuleType"},rules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},strictExportPresence:{type:"boolean"},strictThisContextOnImports:{type:"boolean"},unknownContextCritical:{type:"boolean"},unknownContextRecursive:{type:"boolean"},unknownContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},unknownContextRequest:{type:"string"},unsafeCache:{anyOf:[{type:"boolean"},{instanceof:"Function"}]},wrappedContextCritical:{type:"boolean"},wrappedContextRecursive:{type:"boolean"},wrappedContextRegExp:{instanceof:"RegExp"}},le={assert:{type:"object",additionalProperties:{$ref:"#/definitions/RuleSetConditionOrConditions"}},compiler:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},dependency:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},descriptionData:{type:"object",additionalProperties:{$ref:"#/definitions/RuleSetConditionOrConditions"}},enforce:{enum:["pre","post"]},exclude:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},generator:{type:"object"},include:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},issuer:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},issuerLayer:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},layer:{type:"string"},loader:{oneOf:[{$ref:"#/definitions/RuleSetLoader"}]},mimetype:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetRule"}]}},options:{oneOf:[{$ref:"#/definitions/RuleSetLoaderOptions"}]},parser:{type:"object",additionalProperties:!0},realResource:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},resolve:{type:"object",oneOf:[{$ref:"#/definitions/ResolveOptions"}]},resource:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},resourceFragment:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},resourceQuery:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},rules:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetRule"}]}},scheme:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},sideEffects:{type:"boolean"},test:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},type:{type:"string"},use:{oneOf:[{$ref:"#/definitions/RuleSetUse"}]}},_e={validate:w};function z(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!Array.isArray(E))return z.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let j=0;j<R;j++){const R=G,ie=G;let ae=!1,ce=null;const le=G;if(_e.validate(E[j],{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?_e.validate.errors:q.concat(_e.validate.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,z.errors=q,!1}if(G=ie,null!==q&&(ie?q.length=ie:q=null),R!==G)break}}}return z.errors=q,0===G}function L(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return L.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("and"!==N&&"not"!==N&&"or"!==N)return L.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.and){const R=G,j=G;let ae=!1,ce=null;const le=G;if(z(E.and,{instancePath:N+"/and",parentData:E,parentDataProperty:"and",rootData:$})||(q=null===q?z.errors:q.concat(z.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,L.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null);var ie=R===G}else ie=!0;if(ie){if(void 0!==E.not){const R=G,j=G;let ae=!1,ce=null;const le=G;if(_e.validate(E.not,{instancePath:N+"/not",parentData:E,parentDataProperty:"not",rootData:$})||(q=null===q?_e.validate.errors:q.concat(_e.validate.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,L.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie)if(void 0!==E.or){const R=G,j=G;let ae=!1,ce=null;const le=G;if(z(E.or,{instancePath:N+"/or",parentData:E,parentDataProperty:"or",rootData:$})||(q=null===q?z.errors:q.concat(z.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,L.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0}}}}return L.errors=q,0===G}function w(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!(E instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(le=ie===G,ae=ae||le,!ae){const ie=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}if(le=ie===G,ae=ae||le,!ae){const ie=G;if(L(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?L.errors:q.concat(L.errors),G=q.length),le=ie===G,ae=ae||le,!ae){const ie=G;z(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?z.errors:q.concat(z.errors),G=q.length),le=ie===G,ae=ae||le}}}}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,w.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),w.errors=q,0===G}function M(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;w(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?w.errors:q.concat(w.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const ie=G;z(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?z.errors:q.concat(z.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,M.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),M.errors=q,0===G}const Ee={validate:B};function T(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!Array.isArray(E))return T.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let j=0;j<R;j++){const R=G,ie=G;let ae=!1,ce=null;const le=G;if(Ee.validate(E[j],{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?Ee.validate.errors:q.concat(Ee.validate.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,T.errors=q,!1}if(G=ie,null!==q&&(ie?q.length=ie:q=null),R!==G)break}}}return T.errors=q,0===G}function I(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return I.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("and"!==N&&"not"!==N&&"or"!==N)return I.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.and){const R=G,j=G;let ae=!1,ce=null;const le=G;if(T(E.and,{instancePath:N+"/and",parentData:E,parentDataProperty:"and",rootData:$})||(q=null===q?T.errors:q.concat(T.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,I.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null);var ie=R===G}else ie=!0;if(ie){if(void 0!==E.not){const R=G,j=G;let ae=!1,ce=null;const le=G;if(Ee.validate(E.not,{instancePath:N+"/not",parentData:E,parentDataProperty:"not",rootData:$})||(q=null===q?Ee.validate.errors:q.concat(Ee.validate.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,I.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie)if(void 0!==E.or){const R=G,j=G;let ae=!1,ce=null;const le=G;if(T(E.or,{instancePath:N+"/or",parentData:E,parentDataProperty:"or",rootData:$})||(q=null===q?T.errors:q.concat(T.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,I.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0}}}}return I.errors=q,0===G}function B(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1;const le=ie;if(!(E instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var _e=le===ie;if(ce=ce||_e,!ce){const ae=ie;if(ie===ae)if("string"==typeof E){if(E.includes("!")||!0!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(_e=ae===ie,ce=ce||_e,!ce){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e=N===ie,ce=ce||_e,!ce){const N=ie;if(I(E,{instancePath:R,parentData:j,parentDataProperty:$,rootData:q})||(G=null===G?I.errors:G.concat(I.errors),ie=G.length),_e=N===ie,ce=ce||_e,!ce){const N=ie;T(E,{instancePath:R,parentData:j,parentDataProperty:$,rootData:q})||(G=null===G?T.errors:G.concat(T.errors),ie=G.length),_e=N===ie,ce=ce||_e}}}}if(!ce){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,B.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),B.errors=G,0===ie}function U(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;B(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?B.errors:q.concat(B.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const ie=G;T(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?T.errors:q.concat(T.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,U.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),U.errors=q,0===G}const Te={alias:{$ref:"#/definitions/ResolveAlias"},aliasFields:{type:"array",items:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}},byDependency:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/ResolveOptions"}]}},cache:{type:"boolean"},cachePredicate:{instanceof:"Function"},cacheWithContext:{type:"boolean"},conditionNames:{type:"array",items:{type:"string"}},descriptionFiles:{type:"array",items:{type:"string",minLength:1}},enforceExtension:{type:"boolean"},exportsFields:{type:"array",items:{type:"string"}},extensions:{type:"array",items:{type:"string"}},fallback:{oneOf:[{$ref:"#/definitions/ResolveAlias"}]},fileSystem:{},fullySpecified:{type:"boolean"},importsFields:{type:"array",items:{type:"string"}},mainFields:{type:"array",items:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}},mainFiles:{type:"array",items:{type:"string",minLength:1}},modules:{type:"array",items:{type:"string",minLength:1}},plugins:{type:"array",items:{anyOf:[{enum:["..."]},{$ref:"#/definitions/ResolvePluginInstance"}]}},preferAbsolute:{type:"boolean"},preferRelative:{type:"boolean"},resolver:{},restrictions:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},roots:{type:"array",items:{type:"string"}},symlinks:{type:"boolean"},unsafeCache:{anyOf:[{type:"boolean"},{type:"object",additionalProperties:!0}]},useSyncFileSystemCalls:{type:"boolean"}},we={validate:W};function W(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return W.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const N in E)if(!j.call(Te,N))return W.errors=[{params:{additionalProperty:N}}],!1;if($===ae){if(void 0!==E.alias){let N=E.alias;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.alias&&(N="alias")||void 0===E.name&&(N="name")){const E={params:{missingProperty:N}};null===ie?ie=[E]:ie.push(E),ae++}else{const N=ae;for(const N in E)if("alias"!==N&&"name"!==N&&"onlyModule"!==N){const E={params:{additionalProperty:N}};null===ie?ie=[E]:ie.push(E),ae++;break}if(N===ae){if(void 0!==E.alias){let N=E.alias;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var ce=q===ae;if($=$||ce,!$){const E=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(ce=E===ae,$=$||ce,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}ce=E===ae,$=$||ce}}if($)ae=j,null!==ie&&(j?ie.length=j:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var le=R===ae}else le=!0;if(le){if(void 0!==E.name){const N=ae;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}le=N===ae}else le=!0;if(le)if(void 0!==E.onlyModule){const N=ae;if("boolean"!=typeof E.onlyModule){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}le=N===ae}else le=!0}}}}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=q===ae;if($=$||_e,!$){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if(Array.isArray(R)){const E=R.length;for(let N=0;N<E;N++){let E=R[N];const j=ae;if(ae===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=G===ae;if(q=q||Ee,!q){const E=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=E===ae,q=q||Ee,!q){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,q=q||Ee}}if(q)ae=$,null!==ie&&($?ie.length=$:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,$=$||_e}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,W.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null);var Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.aliasFields){let N=E.aliasFields;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if(Array.isArray(E)){const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=ae;if(ae===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=G===ae;if(q=q||Ne,!q){const N=ae;if(ae===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=N===ae,q=q||Ne}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,W.errors=ie,!1}if(ae=$,null!==ie&&($?ie.length=$:ie=null),j!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.byDependency){let N=E.byDependency;const j=ae;if(ae===j){if(!N||"object"!=typeof N||Array.isArray(N))return W.errors=[{params:{type:"object"}}],!1;for(const E in N){const j=ae,$=ae;let q=!1,ce=null;const le=ae;if(we.validate(N[E],{instancePath:R+"/byDependency/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:N,parentDataProperty:E,rootData:G})||(ie=null===ie?we.validate.errors:ie.concat(we.validate.errors),ae=ie.length),le===ae&&(q=!0,ce=0),!q){const E={params:{passingSchemas:ce}};return null===ie?ie=[E]:ie.push(E),ae++,W.errors=ie,!1}if(ae=$,null!==ie&&($?ie.length=$:ie=null),j!==ae)break}}Ie=j===ae}else Ie=!0;if(Ie){if(void 0!==E.cache){const N=ae;if("boolean"!=typeof E.cache)return W.errors=[{params:{type:"boolean"}}],!1;Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==E.cachePredicate){const N=ae;if(!(E.cachePredicate instanceof Function))return W.errors=[{params:{}}],!1;Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==E.cacheWithContext){const N=ae;if("boolean"!=typeof E.cacheWithContext)return W.errors=[{params:{type:"boolean"}}],!1;Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==E.conditionNames){let N=E.conditionNames;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){const E=ae;if("string"!=typeof N[R])return W.errors=[{params:{type:"string"}}],!1;if(E!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.descriptionFiles){let N=E.descriptionFiles;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j){if("string"!=typeof E)return W.errors=[{params:{type:"string"}}],!1;if(E.length<1)return W.errors=[{params:{}}],!1}if(j!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.enforceExtension){const N=ae;if("boolean"!=typeof E.enforceExtension)return W.errors=[{params:{type:"boolean"}}],!1;Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==E.exportsFields){let N=E.exportsFields;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){const E=ae;if("string"!=typeof N[R])return W.errors=[{params:{type:"string"}}],!1;if(E!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.extensions){let N=E.extensions;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){const E=ae;if("string"!=typeof N[R])return W.errors=[{params:{type:"string"}}],!1;if(E!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.fallback){let N=E.fallback;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.alias&&(N="alias")||void 0===E.name&&(N="name")){const E={params:{missingProperty:N}};null===ie?ie=[E]:ie.push(E),ae++}else{const N=ae;for(const N in E)if("alias"!==N&&"name"!==N&&"onlyModule"!==N){const E={params:{additionalProperty:N}};null===ie?ie=[E]:ie.push(E),ae++;break}if(N===ae){if(void 0!==E.alias){let N=E.alias;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=q===ae;if($=$||Me,!$){const E=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Me=E===ae,$=$||Me,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,$=$||Me}}if($)ae=j,null!==ie&&(j?ie.length=j:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Le=R===ae}else Le=!0;if(Le){if(void 0!==E.name){const N=ae;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Le=N===ae}else Le=!0;if(Le)if(void 0!==E.onlyModule){const N=ae;if("boolean"!=typeof E.onlyModule){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}Le=N===ae}else Le=!0}}}}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=_e===ae;if(le=le||Be,!le){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if(Array.isArray(R)){const E=R.length;for(let N=0;N<E;N++){let E=R[N];const j=ae;if(ae===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var je=G===ae;if(q=q||je,!q){const E=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(je=E===ae,q=q||je,!q){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,q=q||je}}if(q)ae=$,null!==ie&&($?ie.length=$:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=E===ae,le=le||Be}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,W.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.fullySpecified){const N=ae;if("boolean"!=typeof E.fullySpecified)return W.errors=[{params:{type:"boolean"}}],!1;Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==E.importsFields){let N=E.importsFields;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){const E=ae;if("string"!=typeof N[R])return W.errors=[{params:{type:"string"}}],!1;if(E!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.mainFields){let N=E.mainFields;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if(Array.isArray(E)){const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=ae;if(ae===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=G===ae;if(q=q||Ue,!q){const N=ae;if(ae===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ue=N===ae,q=q||Ue}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,W.errors=ie,!1}if(ae=$,null!==ie&&($?ie.length=$:ie=null),j!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.mainFiles){let N=E.mainFiles;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j){if("string"!=typeof E)return W.errors=[{params:{type:"string"}}],!1;if(E.length<1)return W.errors=[{params:{}}],!1}if(j!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.modules){let N=E.modules;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j){if("string"!=typeof E)return W.errors=[{params:{type:"string"}}],!1;if(E.length<1)return W.errors=[{params:{}}],!1}if(j!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.plugins){let N=E.plugins;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae,$=ae;let q=!1;const G=ae;if("..."!==E){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var ze=G===ae;if(q=q||ze,!q){const N=ae;if(ae==ae)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.apply&&(N="apply")){const E={params:{missingProperty:N}};null===ie?ie=[E]:ie.push(E),ae++}else if(void 0!==E.apply&&!(E.apply instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}ze=N===ae,q=q||ze}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,W.errors=ie,!1}if(ae=$,null!==ie&&($?ie.length=$:ie=null),j!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.preferAbsolute){const N=ae;if("boolean"!=typeof E.preferAbsolute)return W.errors=[{params:{type:"boolean"}}],!1;Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==E.preferRelative){const N=ae;if("boolean"!=typeof E.preferRelative)return W.errors=[{params:{type:"boolean"}}],!1;Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==E.restrictions){let R=E.restrictions;const j=ae;if(ae===j){if(!Array.isArray(R))return W.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let j=0;j<E;j++){let E=R[j];const $=ae,q=ae;let G=!1;const ce=ae;if(!(E instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var We=ce===ae;if(G=G||We,!G){const R=ae;if(ae===R)if("string"==typeof E){if(E.includes("!")||!0!==N.test(E)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}We=R===ae,G=G||We}if(!G){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,W.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),$!==ae)break}}}Ie=j===ae}else Ie=!0;if(Ie){if(void 0!==E.roots){let N=E.roots;const R=ae;if(ae===R){if(!Array.isArray(N))return W.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){const E=ae;if("string"!=typeof N[R])return W.errors=[{params:{type:"string"}}],!1;if(E!==ae)break}}}Ie=R===ae}else Ie=!0;if(Ie){if(void 0!==E.symlinks){const N=ae;if("boolean"!=typeof E.symlinks)return W.errors=[{params:{type:"boolean"}}],!1;Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==E.unsafeCache){let N=E.unsafeCache;const R=ae,j=ae;let $=!1;const q=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}var Je=q===ae;if($=$||Je,!$){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N));else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Je=E===ae,$=$||Je}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,W.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),Ie=R===ae}else Ie=!0;if(Ie)if(void 0!==E.useSyncFileSystemCalls){const N=ae;if("boolean"!=typeof E.useSyncFileSystemCalls)return W.errors=[{params:{type:"boolean"}}],!1;Ie=N===ae}else Ie=!0}}}}}}}}}}}}}}}}}}}}}}}}}}return W.errors=ie,0===ae}function H(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("ident"!==N&&"loader"!==N&&"options"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.ident){const N=G;if("string"!=typeof E.ident){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=N===G}else le=!0;if(le){if(void 0!==E.loader){let N=E.loader;const R=G,j=G;let $=!1,ie=null;const ae=G;if(G==G)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(ae===G&&($=!0,ie=0),$)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{passingSchemas:ie}};null===q?q=[E]:q.push(E),G++}le=R===G}else le=!0;if(le)if(void 0!==E.options){let N=E.options;const R=G,j=G;let $=!1,ie=null;const ae=G,ce=G;let Ee=!1;const Te=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=Te===G;if(Ee=Ee||_e,!Ee){const E=G;if(!N||"object"!=typeof N||Array.isArray(N)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}_e=E===G,Ee=Ee||_e}if(Ee)G=ce,null!==q&&(ce?q.length=ce:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ae===G&&($=!0,ie=0),$)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{passingSchemas:ie}};null===q?q=[E]:q.push(E),G++}le=R===G}else le=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=ce===G;if(ae=ae||Ee,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}if(Ee=N===G,ae=ae||Ee,!ae){const N=G;if(G==G)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=N===G,ae=ae||Ee}}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,H.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),H.errors=q,0===G}function _(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){const R=G,ie=G;let ae=!1,ce=null;const le=G;if(H(E[j],{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?H.errors:q.concat(H.errors),G=q.length),le===G&&(ae=!0,ce=0),ae)G=ie,null!==q&&(ie?q.length=ie:q=null);else{const E={params:{passingSchemas:ce}};null===q?q=[E]:q.push(E),G++}if(R!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}if(le=ie===G,ae=ae||le,!ae){const ie=G;H(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?H.errors:q.concat(H.errors),G=q.length),le=ie===G,ae=ae||le}}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,_.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),_.errors=q,0===G}const Ie={validate:J};function J(E,{instancePath:N="",parentData:R,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return J.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if(!j.call(le,N))return J.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.assert){let R=E.assert;const j=ie;if(ie===j){if(!R||"object"!=typeof R||Array.isArray(R))return J.errors=[{params:{type:"object"}}],!1;for(const E in R){const j=ie;if(M(R[E],{instancePath:N+"/assert/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:R,parentDataProperty:E,rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),j!==ie)break}}var ae=j===ie}else ae=!0;if(ae){if(void 0!==E.compiler){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(M(E.compiler,{instancePath:N+"/compiler",parentData:E,parentDataProperty:"compiler",rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.dependency){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(M(E.dependency,{instancePath:N+"/dependency",parentData:E,parentDataProperty:"dependency",rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.descriptionData){let R=E.descriptionData;const j=ie;if(ie===j){if(!R||"object"!=typeof R||Array.isArray(R))return J.errors=[{params:{type:"object"}}],!1;for(const E in R){const j=ie;if(M(R[E],{instancePath:N+"/descriptionData/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:R,parentDataProperty:E,rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),j!==ie)break}}ae=j===ie}else ae=!0;if(ae){if(void 0!==E.enforce){let N=E.enforce;const R=ie;if("pre"!==N&&"post"!==N)return J.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.exclude){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(U(E.exclude,{instancePath:N+"/exclude",parentData:E,parentDataProperty:"exclude",rootData:q})||(G=null===G?U.errors:G.concat(U.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.generator){let N=E.generator;const R=ie;if(!N||"object"!=typeof N||Array.isArray(N))return J.errors=[{params:{type:"object"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.include){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(U(E.include,{instancePath:N+"/include",parentData:E,parentDataProperty:"include",rootData:q})||(G=null===G?U.errors:G.concat(U.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.issuer){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(U(E.issuer,{instancePath:N+"/issuer",parentData:E,parentDataProperty:"issuer",rootData:q})||(G=null===G?U.errors:G.concat(U.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.issuerLayer){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(M(E.issuerLayer,{instancePath:N+"/issuerLayer",parentData:E,parentDataProperty:"issuerLayer",rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.layer){const N=ie;if("string"!=typeof E.layer)return J.errors=[{params:{type:"string"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.loader){let N=E.loader;const R=ie,j=ie;let $=!1,q=null;const ce=ie;if(ie==ie)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(ce===ie&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mimetype){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(M(E.mimetype,{instancePath:N+"/mimetype",parentData:E,parentDataProperty:"mimetype",rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.oneOf){let R=E.oneOf;const j=ie;if(ie===j){if(!Array.isArray(R))return J.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let j=0;j<E;j++){const E=ie,$=ie;let ae=!1,ce=null;const le=ie;if(Ie.validate(R[j],{instancePath:N+"/oneOf/"+j,parentData:R,parentDataProperty:j,rootData:q})||(G=null===G?Ie.validate.errors:G.concat(Ie.validate.errors),ie=G.length),le===ie&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}if(ie=$,null!==G&&($?G.length=$:G=null),E!==ie)break}}}ae=j===ie}else ae=!0;if(ae){if(void 0!==E.options){let N=E.options;const R=ie,j=ie;let $=!1,q=null;const le=ie,_e=ie;let Ee=!1;const Te=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=Te===ie;if(Ee=Ee||ce,!Ee){const E=ie;if(!N||"object"!=typeof N||Array.isArray(N)){const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,Ee=Ee||ce}if(Ee)ie=_e,null!==G&&(_e?G.length=_e:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.parser){let N=E.parser;const R=ie;if(ie===R&&(!N||"object"!=typeof N||Array.isArray(N)))return J.errors=[{params:{type:"object"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.realResource){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(U(E.realResource,{instancePath:N+"/realResource",parentData:E,parentDataProperty:"realResource",rootData:q})||(G=null===G?U.errors:G.concat(U.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.resolve){let R=E.resolve;const j=ie;if(!R||"object"!=typeof R||Array.isArray(R))return J.errors=[{params:{type:"object"}}],!1;const $=ie;let ce=!1,le=null;const _e=ie;if(W(R,{instancePath:N+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:q})||(G=null===G?W.errors:G.concat(W.errors),ie=G.length),_e===ie&&(ce=!0,le=0),!ce){const E={params:{passingSchemas:le}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae){if(void 0!==E.resource){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(U(E.resource,{instancePath:N+"/resource",parentData:E,parentDataProperty:"resource",rootData:q})||(G=null===G?U.errors:G.concat(U.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.resourceFragment){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(M(E.resourceFragment,{instancePath:N+"/resourceFragment",parentData:E,parentDataProperty:"resourceFragment",rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.resourceQuery){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(M(E.resourceQuery,{instancePath:N+"/resourceQuery",parentData:E,parentDataProperty:"resourceQuery",rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.rules){let R=E.rules;const j=ie;if(ie===j){if(!Array.isArray(R))return J.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let j=0;j<E;j++){const E=ie,$=ie;let ae=!1,ce=null;const le=ie;if(Ie.validate(R[j],{instancePath:N+"/rules/"+j,parentData:R,parentDataProperty:j,rootData:q})||(G=null===G?Ie.validate.errors:G.concat(Ie.validate.errors),ie=G.length),le===ie&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}if(ie=$,null!==G&&($?G.length=$:G=null),E!==ie)break}}}ae=j===ie}else ae=!0;if(ae){if(void 0!==E.scheme){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(M(E.scheme,{instancePath:N+"/scheme",parentData:E,parentDataProperty:"scheme",rootData:q})||(G=null===G?M.errors:G.concat(M.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.sideEffects){const N=ie;if("boolean"!=typeof E.sideEffects)return J.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.test){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(U(E.test,{instancePath:N+"/test",parentData:E,parentDataProperty:"test",rootData:q})||(G=null===G?U.errors:G.concat(U.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.type){const N=ie;if("string"!=typeof E.type)return J.errors=[{params:{type:"string"}}],!1;ae=N===ie}else ae=!0;if(ae)if(void 0!==E.use){const R=ie,j=ie;let $=!1,ce=null;const le=ie;if(_(E.use,{instancePath:N+"/use",parentData:E,parentDataProperty:"use",rootData:q})||(G=null===G?_.errors:G.concat(_.errors),ie=G.length),le===ie&&($=!0,ce=0),!$){const E={params:{passingSchemas:ce}};return null===G?G=[E]:G.push(E),ie++,J.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}return J.errors=G,0===ie}function V(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!Array.isArray(E))return V.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let j=0;j<R;j++){let R=E[j];const ae=G,ce=G;let le=!1;const _e=G;if("..."!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ie=_e===G;if(le=le||ie,!le){const ae=G;J(R,{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?J.errors:q.concat(J.errors),G=q.length),ie=ae===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,V.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}}return V.errors=q,0===G}function Z(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,Z.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),Z.errors=q,0===G}function K(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return K.errors=[{params:{type:"object"}}],!1;{const j=ie;for(const N in E)if("dataUrl"!==N&&"emit"!==N&&"filename"!==N&&"publicPath"!==N)return K.errors=[{params:{additionalProperty:N}}],!1;if(j===ie){if(void 0!==E.dataUrl){const N=ie;Z(E.dataUrl,{instancePath:R+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:q})||(G=null===G?Z.errors:G.concat(Z.errors),ie=G.length);var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return K.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,K.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,K.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return K.errors=G,0===ie}function X(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return X.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("dataUrl"!==N)return X.errors=[{params:{additionalProperty:N}}],!1;R===G&&void 0!==E.dataUrl&&(Z(E.dataUrl,{instancePath:N+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:$})||(q=null===q?Z.errors:q.concat(Z.errors),G=q.length))}}return X.errors=q,0===G}function Y(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return Y.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("emit"!==N&&"filename"!==N&&"publicPath"!==N)return Y.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return Y.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,Y.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,Y.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}return Y.errors=G,0===ie}function ee(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return ee.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("asset"!==N&&"asset/inline"!==N&&"asset/resource"!==N&&"javascript"!==N&&"javascript/auto"!==N&&"javascript/dynamic"!==N&&"javascript/esm"!==N){let R=E[N];const j=G;if(G===j&&(!R||"object"!=typeof R||Array.isArray(R)))return ee.errors=[{params:{type:"object"}}],!1;if(j!==G)break}if(R===G){if(void 0!==E.asset){const R=G;K(E.asset,{instancePath:N+"/asset",parentData:E,parentDataProperty:"asset",rootData:$})||(q=null===q?K.errors:q.concat(K.errors),G=q.length);var ie=R===G}else ie=!0;if(ie){if(void 0!==E["asset/inline"]){const R=G;X(E["asset/inline"],{instancePath:N+"/asset~1inline",parentData:E,parentDataProperty:"asset/inline",rootData:$})||(q=null===q?X.errors:q.concat(X.errors),G=q.length),ie=R===G}else ie=!0;if(ie){if(void 0!==E["asset/resource"]){const R=G;Y(E["asset/resource"],{instancePath:N+"/asset~1resource",parentData:E,parentDataProperty:"asset/resource",rootData:$})||(q=null===q?Y.errors:q.concat(Y.errors),G=q.length),ie=R===G}else ie=!0;if(ie){if(void 0!==E.javascript){let N=E.javascript;const R=G;if(G==G){if(!N||"object"!=typeof N||Array.isArray(N))return ee.errors=[{params:{type:"object"}}],!1;for(const E in N)return ee.errors=[{params:{additionalProperty:E}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E["javascript/auto"]){let N=E["javascript/auto"];const R=G;if(G==G){if(!N||"object"!=typeof N||Array.isArray(N))return ee.errors=[{params:{type:"object"}}],!1;for(const E in N)return ee.errors=[{params:{additionalProperty:E}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E["javascript/dynamic"]){let N=E["javascript/dynamic"];const R=G;if(G==G){if(!N||"object"!=typeof N||Array.isArray(N))return ee.errors=[{params:{type:"object"}}],!1;for(const E in N)return ee.errors=[{params:{additionalProperty:E}}],!1}ie=R===G}else ie=!0;if(ie)if(void 0!==E["javascript/esm"]){let N=E["javascript/esm"];const R=G;if(G==G){if(!N||"object"!=typeof N||Array.isArray(N))return ee.errors=[{params:{type:"object"}}],!1;for(const E in N)return ee.errors=[{params:{additionalProperty:E}}],!1}ie=R===G}else ie=!0}}}}}}}}return ee.errors=q,0===G}function te(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return te.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("dataUrlCondition"!==N)return te.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.dataUrlCondition){let N=E.dataUrlCondition;const R=G;let j=!1;const $=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("maxSize"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G&&void 0!==N.maxSize){let E=N.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=$===G;if(j=j||ie,!j){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,j=j||ie}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,te.errors=q,!1}G=R,null!==q&&(R?q.length=R:q=null)}}}return te.errors=q,0===G}function ne(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("__dirname"!==N&&"__filename"!==N&&"global"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.__dirname){let N=E.__dirname;const R=G;if(!1!==N&&!0!==N&&"warn-mock"!==N&&"mock"!==N&&"eval-only"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=R===G}else _e=!0;if(_e){if(void 0!==E.__filename){let N=E.__filename;const R=G;if(!1!==N&&!0!==N&&"warn-mock"!==N&&"mock"!==N&&"eval-only"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0;if(_e)if(void 0!==E.global){let N=E.global;const R=G;if(!1!==N&&!0!==N&&"warn"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,ne.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),ne.errors=q,0===G}function re(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return re.errors=[{params:{type:"object"}}],!1;if(void 0!==E.amd){let N=E.amd;const R=G,j=G;let $=!1;const ce=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ie=ce===G;if($=$||ie,!$){const E=G;if(!N||"object"!=typeof N||Array.isArray(N)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}ie=E===G,$=$||ie}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,re.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null);var ae=R===G}else ae=!0;if(ae){if(void 0!==E.browserify){const N=G;if("boolean"!=typeof E.browserify)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.commonjs){const N=G;if("boolean"!=typeof E.commonjs)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.commonjsMagicComments){const N=G;if("boolean"!=typeof E.commonjsMagicComments)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.exportsPresence){let N=E.exportsPresence;const R=G;if("error"!==N&&"warn"!==N&&"auto"!==N&&!1!==N)return re.errors=[{params:{}}],!1;ae=R===G}else ae=!0;if(ae){if(void 0!==E.exprContextCritical){const N=G;if("boolean"!=typeof E.exprContextCritical)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.exprContextRecursive){const N=G;if("boolean"!=typeof E.exprContextRecursive)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.exprContextRegExp){let N=E.exprContextRegExp;const R=G,j=G;let $=!1;const ie=G;if(!(N instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=ie===G;if($=$||ce,!$){const E=G;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}ce=E===G,$=$||ce}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,re.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ae=R===G}else ae=!0;if(ae){if(void 0!==E.exprContextRequest){const N=G;if("string"!=typeof E.exprContextRequest)return re.errors=[{params:{type:"string"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.harmony){const N=G;if("boolean"!=typeof E.harmony)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.import){const N=G;if("boolean"!=typeof E.import)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.importExportsPresence){let N=E.importExportsPresence;const R=G;if("error"!==N&&"warn"!==N&&"auto"!==N&&!1!==N)return re.errors=[{params:{}}],!1;ae=R===G}else ae=!0;if(ae){if(void 0!==E.node){const R=G;ne(E.node,{instancePath:N+"/node",parentData:E,parentDataProperty:"node",rootData:$})||(q=null===q?ne.errors:q.concat(ne.errors),G=q.length),ae=R===G}else ae=!0;if(ae){if(void 0!==E.reexportExportsPresence){let N=E.reexportExportsPresence;const R=G;if("error"!==N&&"warn"!==N&&"auto"!==N&&!1!==N)return re.errors=[{params:{}}],!1;ae=R===G}else ae=!0;if(ae){if(void 0!==E.requireContext){const N=G;if("boolean"!=typeof E.requireContext)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.requireEnsure){const N=G;if("boolean"!=typeof E.requireEnsure)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.requireInclude){const N=G;if("boolean"!=typeof E.requireInclude)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.requireJs){const N=G;if("boolean"!=typeof E.requireJs)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.strictExportPresence){const N=G;if("boolean"!=typeof E.strictExportPresence)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.strictThisContextOnImports){const N=G;if("boolean"!=typeof E.strictThisContextOnImports)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.system){const N=G;if("boolean"!=typeof E.system)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.unknownContextCritical){const N=G;if("boolean"!=typeof E.unknownContextCritical)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.unknownContextRecursive){const N=G;if("boolean"!=typeof E.unknownContextRecursive)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.unknownContextRegExp){let N=E.unknownContextRegExp;const R=G,j=G;let $=!1;const ie=G;if(!(N instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ie===G;if($=$||le,!$){const E=G;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}le=E===G,$=$||le}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,re.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ae=R===G}else ae=!0;if(ae){if(void 0!==E.unknownContextRequest){const N=G;if("string"!=typeof E.unknownContextRequest)return re.errors=[{params:{type:"string"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.url){let N=E.url;const R=G,j=G;let $=!1;const ie=G;if("relative"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=ie===G;if($=$||_e,!$){const E=G;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}_e=E===G,$=$||_e}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,re.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ae=R===G}else ae=!0;if(ae){if(void 0!==E.worker){let N=E.worker;const R=G,j=G;let $=!1;const ie=G;if(G===ie)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=G;if(G===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ee=ie===G;if($=$||Ee,!$){const E=G;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}Ee=E===G,$=$||Ee}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,re.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ae=R===G}else ae=!0;if(ae){if(void 0!==E.wrappedContextCritical){const N=G;if("boolean"!=typeof E.wrappedContextCritical)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae){if(void 0!==E.wrappedContextRecursive){const N=G;if("boolean"!=typeof E.wrappedContextRecursive)return re.errors=[{params:{type:"boolean"}}],!1;ae=N===G}else ae=!0;if(ae)if(void 0!==E.wrappedContextRegExp){const N=G;if(!(E.wrappedContextRegExp instanceof RegExp))return re.errors=[{params:{}}],!1;ae=N===G}else ae=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return re.errors=q,0===G}function se(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return se.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("asset"!==N&&"asset/inline"!==N&&"asset/resource"!==N&&"asset/source"!==N&&"javascript"!==N&&"javascript/auto"!==N&&"javascript/dynamic"!==N&&"javascript/esm"!==N){let R=E[N];const j=G;if(G===j&&(!R||"object"!=typeof R||Array.isArray(R)))return se.errors=[{params:{type:"object"}}],!1;if(j!==G)break}if(R===G){if(void 0!==E.asset){const R=G;te(E.asset,{instancePath:N+"/asset",parentData:E,parentDataProperty:"asset",rootData:$})||(q=null===q?te.errors:q.concat(te.errors),G=q.length);var ie=R===G}else ie=!0;if(ie){if(void 0!==E["asset/inline"]){let N=E["asset/inline"];const R=G;if(G==G){if(!N||"object"!=typeof N||Array.isArray(N))return se.errors=[{params:{type:"object"}}],!1;for(const E in N)return se.errors=[{params:{additionalProperty:E}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E["asset/resource"]){let N=E["asset/resource"];const R=G;if(G==G){if(!N||"object"!=typeof N||Array.isArray(N))return se.errors=[{params:{type:"object"}}],!1;for(const E in N)return se.errors=[{params:{additionalProperty:E}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E["asset/source"]){let N=E["asset/source"];const R=G;if(G==G){if(!N||"object"!=typeof N||Array.isArray(N))return se.errors=[{params:{type:"object"}}],!1;for(const E in N)return se.errors=[{params:{additionalProperty:E}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.javascript){const R=G;re(E.javascript,{instancePath:N+"/javascript",parentData:E,parentDataProperty:"javascript",rootData:$})||(q=null===q?re.errors:q.concat(re.errors),G=q.length),ie=R===G}else ie=!0;if(ie){if(void 0!==E["javascript/auto"]){const R=G;re(E["javascript/auto"],{instancePath:N+"/javascript~1auto",parentData:E,parentDataProperty:"javascript/auto",rootData:$})||(q=null===q?re.errors:q.concat(re.errors),G=q.length),ie=R===G}else ie=!0;if(ie){if(void 0!==E["javascript/dynamic"]){const R=G;re(E["javascript/dynamic"],{instancePath:N+"/javascript~1dynamic",parentData:E,parentDataProperty:"javascript/dynamic",rootData:$})||(q=null===q?re.errors:q.concat(re.errors),G=q.length),ie=R===G}else ie=!0;if(ie)if(void 0!==E["javascript/esm"]){const R=G;re(E["javascript/esm"],{instancePath:N+"/javascript~1esm",parentData:E,parentDataProperty:"javascript/esm",rootData:$})||(q=null===q?re.errors:q.concat(re.errors),G=q.length),ie=R===G}else ie=!0}}}}}}}}}return se.errors=q,0===G}function oe(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return oe.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const N in E)if(!j.call(ce,N))return oe.errors=[{params:{additionalProperty:N}}],!1;if($===ae){if(void 0!==E.defaultRules){const N=ae,j=ae;let $=!1,q=null;const ce=ae;if(V(E.defaultRules,{instancePath:R+"/defaultRules",parentData:E,parentDataProperty:"defaultRules",rootData:G})||(ie=null===ie?V.errors:ie.concat(V.errors),ae=ie.length),ce===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null);var le=N===ae}else le=!0;if(le){if(void 0!==E.exprContextCritical){const N=ae;if("boolean"!=typeof E.exprContextCritical)return oe.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.exprContextRecursive){const N=ae;if("boolean"!=typeof E.exprContextRecursive)return oe.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.exprContextRegExp){let N=E.exprContextRegExp;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var _e=q===ae;if($=$||_e,!$){const E=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,$=$||_e}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.exprContextRequest){const N=ae;if("string"!=typeof E.exprContextRequest)return oe.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.generator){const N=ae;ee(E.generator,{instancePath:R+"/generator",parentData:E,parentDataProperty:"generator",rootData:G})||(ie=null===ie?ee.errors:ie.concat(ee.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.noParse){let R=E.noParse;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if(Array.isArray(R))if(R.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{const E=R.length;for(let j=0;j<E;j++){let E=R[j];const $=ae,q=ae;let G=!1;const ce=ae;if(!(E instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=ce===ae;if(G=G||Ee,!G){const R=ae;if(ae===R)if("string"==typeof E){if(E.includes("!")||!0!==N.test(E)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=R===ae,G=G||Ee,!G){const N=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=N===ae,G=G||Ee}}if(G)ae=q,null!==ie&&(q?ie.length=q:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=G===ae;if(q=q||Te,!q){const E=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Te=E===ae,q=q||Te,!q){const E=ae;if(ae===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Te=E===ae,q=q||Te,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,q=q||Te}}}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,oe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=j===ae}else le=!0;if(le){if(void 0!==E.parser){const N=ae;se(E.parser,{instancePath:R+"/parser",parentData:E,parentDataProperty:"parser",rootData:G})||(ie=null===ie?se.errors:ie.concat(se.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.rules){const N=ae,j=ae;let $=!1,q=null;const ce=ae;if(V(E.rules,{instancePath:R+"/rules",parentData:E,parentDataProperty:"rules",rootData:G})||(ie=null===ie?V.errors:ie.concat(V.errors),ae=ie.length),ce===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.strictExportPresence){const N=ae;if("boolean"!=typeof E.strictExportPresence)return oe.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.strictThisContextOnImports){const N=ae;if("boolean"!=typeof E.strictThisContextOnImports)return oe.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.unknownContextCritical){const N=ae;if("boolean"!=typeof E.unknownContextCritical)return oe.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.unknownContextRecursive){const N=ae;if("boolean"!=typeof E.unknownContextRecursive)return oe.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.unknownContextRegExp){let N=E.unknownContextRegExp;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var we=q===ae;if($=$||we,!$){const E=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,$=$||we}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.unknownContextRequest){const N=ae;if("string"!=typeof E.unknownContextRequest)return oe.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.unsafeCache){let N=E.unsafeCache;const R=ae,j=ae;let $=!1;const q=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.wrappedContextCritical){const N=ae;if("boolean"!=typeof E.wrappedContextCritical)return oe.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.wrappedContextRecursive){const N=ae;if("boolean"!=typeof E.wrappedContextRecursive)return oe.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le)if(void 0!==E.wrappedContextRegExp){const N=ae;if(!(E.wrappedContextRegExp instanceof RegExp))return oe.errors=[{params:{}}],!1;le=N===ae}else le=!0}}}}}}}}}}}}}}}}}}}}return oe.errors=ie,0===ae}const Ne={checkWasmTypes:{type:"boolean"},chunkIds:{enum:["natural","named","deterministic","size","total-size",!1]},concatenateModules:{type:"boolean"},emitOnErrors:{type:"boolean"},flagIncludedChunks:{type:"boolean"},innerGraph:{type:"boolean"},mangleExports:{anyOf:[{enum:["size","deterministic"]},{type:"boolean"}]},mangleWasmImports:{type:"boolean"},mergeDuplicateChunks:{type:"boolean"},minimize:{type:"boolean"},minimizer:{type:"array",items:{anyOf:[{enum:["..."]},{$ref:"#/definitions/WebpackPluginInstance"},{$ref:"#/definitions/WebpackPluginFunction"}]}},moduleIds:{enum:["natural","named","hashed","deterministic","size",!1]},noEmitOnErrors:{type:"boolean"},nodeEnv:{anyOf:[{enum:[!1]},{type:"string"}]},portableRecords:{type:"boolean"},providedExports:{type:"boolean"},realContentHash:{type:"boolean"},removeAvailableModules:{type:"boolean"},removeEmptyChunks:{type:"boolean"},runtimeChunk:{$ref:"#/definitions/OptimizationRuntimeChunk"},sideEffects:{anyOf:[{enum:["flag"]},{type:"boolean"}]},splitChunks:{anyOf:[{enum:[!1]},{$ref:"#/definitions/OptimizationSplitChunksOptions"}]},usedExports:{anyOf:[{enum:["global"]},{type:"boolean"}]}},Me={automaticNameDelimiter:{type:"string",minLength:1},cacheGroups:{type:"object",additionalProperties:{anyOf:[{enum:[!1]},{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"},{$ref:"#/definitions/OptimizationSplitChunksCacheGroup"}]},not:{type:"object",additionalProperties:!0,properties:{test:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]}},required:["test"]}},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"Function"}]},defaultSizeTypes:{type:"array",items:{type:"string"},minItems:1},enforceSizeThreshold:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},fallbackCacheGroup:{type:"object",additionalProperties:!1,properties:{automaticNameDelimiter:{type:"string",minLength:1},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"Function"}]},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]}}},filename:{anyOf:[{type:"string",absolutePath:!1,minLength:1},{instanceof:"Function"}]},hidePathInfo:{type:"boolean"},maxAsyncRequests:{type:"number",minimum:1},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialRequests:{type:"number",minimum:1},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minChunks:{type:"number",minimum:1},minRemainingSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},name:{anyOf:[{enum:[!1]},{type:"string"},{instanceof:"Function"}]},usedExports:{type:"boolean"}},Le={automaticNameDelimiter:{type:"string",minLength:1},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"Function"}]},enforce:{type:"boolean"},enforceSizeThreshold:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},filename:{anyOf:[{type:"string",absolutePath:!1,minLength:1},{instanceof:"Function"}]},idHint:{type:"string"},layer:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},maxAsyncRequests:{type:"number",minimum:1},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialRequests:{type:"number",minimum:1},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minChunks:{type:"number",minimum:1},minRemainingSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},name:{anyOf:[{enum:[!1]},{type:"string"},{instanceof:"Function"}]},priority:{type:"number"},reuseExistingChunk:{type:"boolean"},test:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},type:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},usedExports:{type:"boolean"}};function pe(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return pe.errors=[{params:{type:"object"}}],!1;{const R=ae;for(const N in E)if(!j.call(Le,N))return pe.errors=[{params:{additionalProperty:N}}],!1;if(R===ae){if(void 0!==E.automaticNameDelimiter){let N=E.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof N)return pe.errors=[{params:{type:"string"}}],!1;if(N.length<1)return pe.errors=[{params:{}}],!1}var ce=R===ae}else ce=!0;if(ce){if(void 0!==E.chunks){let N=E.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==N&&"async"!==N&&"all"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var le=q===ae;if($=$||le,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}le=E===ae,$=$||le}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.enforce){const N=ae;if("boolean"!=typeof E.enforce)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.enforceSizeThreshold){let N=E.enforceSizeThreshold;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let Ee=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=Te===ae;if(Ee=Ee||_e,!Ee){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,Ee=Ee||_e}if(Ee)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){let R=E.filename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=G===ae;if(q=q||Ee,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,q=q||Ee}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.idHint){const N=ae;if("string"!=typeof E.idHint)return pe.errors=[{params:{type:"string"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.layer){let N=E.layer;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Te=E===ae,$=$||Te,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncRequests){let N=E.maxAsyncRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncSize){let N=E.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var we=Ee===ae;if(_e=_e||we,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,_e=_e||we}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialRequests){let N=E.maxInitialRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialSize){let N=E.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=Ee===ae;if(_e=_e||Ie,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,_e=_e||Ie}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxSize){let N=E.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=Ee===ae;if(_e=_e||Ne,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,_e=_e||Ne}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minChunks){let N=E.minChunks;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minRemainingSize){let N=E.minRemainingSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=Ee===ae;if(_e=_e||Me,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,_e=_e||Me}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSize){let N=E.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=Ee===ae;if(_e=_e||Be,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=E===ae,_e=_e||Be}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSizeReduction){let N=E.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=Ee===ae;if(_e=_e||je,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,_e=_e||je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.name){let N=E.name;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=q===ae;if($=$||Ue,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ue=E===ae,$=$||Ue,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ue=E===ae,$=$||Ue}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.priority){let N=E.priority;const R=ae;if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.reuseExistingChunk){const N=ae;if("boolean"!=typeof E.reuseExistingChunk)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.test){let N=E.test;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var ze=q===ae;if($=$||ze,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(ze=E===ae,$=$||ze,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,$=$||ze}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.type){let N=E.type;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var We=q===ae;if($=$||We,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(We=E===ae,$=$||We,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,$=$||We}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}}}}return pe.errors=ie,0===ae}function fe(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return fe.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const N in E)if(!j.call(Me,N))return fe.errors=[{params:{additionalProperty:N}}],!1;if($===ae){if(void 0!==E.automaticNameDelimiter){let N=E.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof N)return fe.errors=[{params:{type:"string"}}],!1;if(N.length<1)return fe.errors=[{params:{}}],!1}var ce=R===ae}else ce=!0;if(ce){if(void 0!==E.cacheGroups){let N=E.cacheGroups;const j=ae,$=ae,q=ae;if(ae===q)if(N&&"object"==typeof N&&!Array.isArray(N)){let E;if(void 0===N.test&&(E="test")){const E={};null===ie?ie=[E]:ie.push(E),ae++}else if(void 0!==N.test){let E=N.test;const R=ae;let j=!1;const $=ae;if(!(E instanceof RegExp)){const E={};null===ie?ie=[E]:ie.push(E),ae++}var le=$===ae;if(j=j||le,!j){const N=ae;if("string"!=typeof E){const E={};null===ie?ie=[E]:ie.push(E),ae++}if(le=N===ae,j=j||le,!j){const N=ae;if(!(E instanceof Function)){const E={};null===ie?ie=[E]:ie.push(E),ae++}le=N===ae,j=j||le}}if(j)ae=R,null!==ie&&(R?ie.length=R:ie=null);else{const E={};null===ie?ie=[E]:ie.push(E),ae++}}}else{const E={};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae)return fe.errors=[{params:{}}],!1;if(ae=$,null!==ie&&($?ie.length=$:ie=null),ae===j){if(!N||"object"!=typeof N||Array.isArray(N))return fe.errors=[{params:{type:"object"}}],!1;for(const E in N){let j=N[E];const $=ae,q=ae;let ce=!1;const le=ae;if(!1!==j){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var _e=le===ae;if(ce=ce||_e,!ce){const $=ae;if(!(j instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;if("string"!=typeof j){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;if(!(j instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;pe(j,{instancePath:R+"/cacheGroups/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:N,parentDataProperty:E,rootData:G})||(ie=null===ie?pe.errors:ie.concat(pe.errors),ae=ie.length),_e=$===ae,ce=ce||_e}}}}if(!ce){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),$!==ae)break}}ce=j===ae}else ce=!0;if(ce){if(void 0!==E.chunks){let N=E.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==N&&"async"!==N&&"all"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if($=$||Ee,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,$=$||Ee}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.defaultSizeTypes){let N=E.defaultSizeTypes;const R=ae;if(ae===R){if(!Array.isArray(N))return fe.errors=[{params:{type:"array"}}],!1;if(N.length<1)return fe.errors=[{params:{limit:1}}],!1;{const E=N.length;for(let R=0;R<E;R++){const E=ae;if("string"!=typeof N[R])return fe.errors=[{params:{type:"string"}}],!1;if(E!==ae)break}}}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.enforceSizeThreshold){let N=E.enforceSizeThreshold;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=Ee===ae;if(_e=_e||Te,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,_e=_e||Te}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.fallbackCacheGroup){let N=E.fallbackCacheGroup;const R=ae;if(ae===R){if(!N||"object"!=typeof N||Array.isArray(N))return fe.errors=[{params:{type:"object"}}],!1;{const E=ae;for(const E in N)if("automaticNameDelimiter"!==E&&"chunks"!==E&&"maxAsyncSize"!==E&&"maxInitialSize"!==E&&"maxSize"!==E&&"minSize"!==E&&"minSizeReduction"!==E)return fe.errors=[{params:{additionalProperty:E}}],!1;if(E===ae){if(void 0!==N.automaticNameDelimiter){let E=N.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof E)return fe.errors=[{params:{type:"string"}}],!1;if(E.length<1)return fe.errors=[{params:{}}],!1}var we=R===ae}else we=!0;if(we){if(void 0!==N.chunks){let E=N.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==E&&"async"!==E&&"all"!==E){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const N=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=N===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxAsyncSize){let E=N.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=_e===ae;if(le=le||Ne,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=N===ae,le=le||Ne}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxInitialSize){let E=N.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Le=_e===ae;if(le=le||Le,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Le=N===ae,le=le||Le}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxSize){let E=N.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=_e===ae;if(le=le||Be,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=N===ae,le=le||Be}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.minSize){let E=N.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=_e===ae;if(le=le||je,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=N===ae,le=le||je}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we)if(void 0!==N.minSizeReduction){let E=N.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=_e===ae;if(le=le||Ue,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ue=N===ae,le=le||Ue}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0}}}}}}}}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){let R=E.filename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=G===ae;if(q=q||ze,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,q=q||ze}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.hidePathInfo){const N=ae;if("boolean"!=typeof E.hidePathInfo)return fe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncRequests){let N=E.maxAsyncRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncSize){let N=E.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var We=Ee===ae;if(_e=_e||We,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,_e=_e||We}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialRequests){let N=E.maxInitialRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialSize){let N=E.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Je=Ee===ae;if(_e=_e||Je,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Je=E===ae,_e=_e||Je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxSize){let N=E.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ve=Ee===ae;if(_e=_e||Ve,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ve=E===ae,_e=_e||Ve}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minChunks){let N=E.minChunks;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minRemainingSize){let N=E.minRemainingSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var qe=Ee===ae;if(_e=_e||qe,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,_e=_e||qe}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSize){let N=E.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var He=Ee===ae;if(_e=_e||He,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}He=E===ae,_e=_e||He}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSizeReduction){let N=E.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=Ee===ae;if(_e=_e||Ge,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,_e=_e||Ge}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.name){let N=E.name;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ke=q===ae;if($=$||Ke,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ke=E===ae,$=$||Ke,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ke=E===ae,$=$||Ke}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}return fe.errors=ie,0===ae}function ue(E,{instancePath:N="",parentData:R,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return ue.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if(!j.call(Ne,N))return ue.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.checkWasmTypes){const N=ie;if("boolean"!=typeof E.checkWasmTypes)return ue.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.chunkIds){let N=E.chunkIds;const R=ie;if("natural"!==N&&"named"!==N&&"deterministic"!==N&&"size"!==N&&"total-size"!==N&&!1!==N)return ue.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.concatenateModules){const N=ie;if("boolean"!=typeof E.concatenateModules)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emitOnErrors){const N=ie;if("boolean"!=typeof E.emitOnErrors)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.flagIncludedChunks){const N=ie;if("boolean"!=typeof E.flagIncludedChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.innerGraph){const N=ie;if("boolean"!=typeof E.innerGraph)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mangleExports){let N=E.mangleExports;const R=ie,j=ie;let $=!1;const q=ie;if("size"!==N&&"deterministic"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var ce=q===ie;if($=$||ce,!$){const E=ie;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,$=$||ce}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mangleWasmImports){const N=ie;if("boolean"!=typeof E.mangleWasmImports)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mergeDuplicateChunks){const N=ie;if("boolean"!=typeof E.mergeDuplicateChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.minimize){const N=ie;if("boolean"!=typeof E.minimize)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.minimizer){let N=E.minimizer;const R=ie;if(ie===R){if(!Array.isArray(N))return ue.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ie,$=ie;let q=!1;const ae=ie;if("..."!==E){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var le=ae===ie;if(q=q||le,!q){const N=ie;if(ie==ie)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.apply&&(N="apply")){const E={params:{missingProperty:N}};null===G?G=[E]:G.push(E),ie++}else if(void 0!==E.apply&&!(E.apply instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}if(le=N===ie,q=q||le,!q){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=N===ie,q=q||le}}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}if(ie=$,null!==G&&($?G.length=$:G=null),j!==ie)break}}}ae=R===ie}else ae=!0;if(ae){if(void 0!==E.moduleIds){let N=E.moduleIds;const R=ie;if("natural"!==N&&"named"!==N&&"hashed"!==N&&"deterministic"!==N&&"size"!==N&&!1!==N)return ue.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.noEmitOnErrors){const N=ie;if("boolean"!=typeof E.noEmitOnErrors)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.nodeEnv){let N=E.nodeEnv;const R=ie,j=ie;let $=!1;const q=ie;if(!1!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var _e=q===ie;if($=$||_e,!$){const E=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,$=$||_e}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.portableRecords){const N=ie;if("boolean"!=typeof E.portableRecords)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.providedExports){const N=ie;if("boolean"!=typeof E.providedExports)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.realContentHash){const N=ie;if("boolean"!=typeof E.realContentHash)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.removeAvailableModules){const N=ie;if("boolean"!=typeof E.removeAvailableModules)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.removeEmptyChunks){const N=ie;if("boolean"!=typeof E.removeEmptyChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.runtimeChunk){let N=E.runtimeChunk;const R=ie,j=ie;let $=!1;const q=ie;if("single"!==N&&"multiple"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var Ee=q===ie;if($=$||Ee,!$){const E=ie;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}if(Ee=E===ie,$=$||Ee,!$){const E=ie;if(ie===E)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=ie;for(const E in N)if("name"!==E){const N={params:{additionalProperty:E}};null===G?G=[N]:G.push(N),ie++;break}if(E===ie&&void 0!==N.name){let E=N.name;const R=ie;let j=!1;const $=ie;if("string"!=typeof E){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Te=$===ie;if(j=j||Te,!j){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=N===ie,j=j||Te}if(j)ie=R,null!==G&&(R?G.length=R:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}}}else{const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}Ee=E===ie,$=$||Ee}}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.sideEffects){let N=E.sideEffects;const R=ie,j=ie;let $=!1;const q=ie;if("flag"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var we=q===ie;if($=$||we,!$){const E=ie;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}we=E===ie,$=$||we}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.splitChunks){let R=E.splitChunks;const j=ie,$=ie;let ce=!1;const le=ie;if(!1!==R){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var Ie=le===ie;if(ce=ce||Ie,!ce){const j=ie;fe(R,{instancePath:N+"/splitChunks",parentData:E,parentDataProperty:"splitChunks",rootData:q})||(G=null===G?fe.errors:G.concat(fe.errors),ie=G.length),Ie=j===ie,ce=ce||Ie}if(!ce){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.usedExports){let N=E.usedExports;const R=ie,j=ie;let $=!1;const q=ie;if("global"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var Me=q===ie;if($=$||Me,!$){const E=ie;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}Me=E===ie,$=$||Me}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}}}}}}}}}}}}}}}}}}}}return ue.errors=G,0===ie}const Be={assetModuleFilename:{$ref:"#/definitions/AssetModuleFilename"},auxiliaryComment:{oneOf:[{$ref:"#/definitions/AuxiliaryComment"}]},charset:{$ref:"#/definitions/Charset"},chunkFilename:{$ref:"#/definitions/ChunkFilename"},chunkFormat:{$ref:"#/definitions/ChunkFormat"},chunkLoadTimeout:{$ref:"#/definitions/ChunkLoadTimeout"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},chunkLoadingGlobal:{$ref:"#/definitions/ChunkLoadingGlobal"},clean:{$ref:"#/definitions/Clean"},compareBeforeEmit:{$ref:"#/definitions/CompareBeforeEmit"},crossOriginLoading:{$ref:"#/definitions/CrossOriginLoading"},devtoolFallbackModuleFilenameTemplate:{$ref:"#/definitions/DevtoolFallbackModuleFilenameTemplate"},devtoolModuleFilenameTemplate:{$ref:"#/definitions/DevtoolModuleFilenameTemplate"},devtoolNamespace:{$ref:"#/definitions/DevtoolNamespace"},enabledChunkLoadingTypes:{$ref:"#/definitions/EnabledChunkLoadingTypes"},enabledLibraryTypes:{$ref:"#/definitions/EnabledLibraryTypes"},enabledWasmLoadingTypes:{$ref:"#/definitions/EnabledWasmLoadingTypes"},environment:{$ref:"#/definitions/Environment"},filename:{$ref:"#/definitions/Filename"},globalObject:{$ref:"#/definitions/GlobalObject"},hashDigest:{$ref:"#/definitions/HashDigest"},hashDigestLength:{$ref:"#/definitions/HashDigestLength"},hashFunction:{$ref:"#/definitions/HashFunction"},hashSalt:{$ref:"#/definitions/HashSalt"},hotUpdateChunkFilename:{$ref:"#/definitions/HotUpdateChunkFilename"},hotUpdateGlobal:{$ref:"#/definitions/HotUpdateGlobal"},hotUpdateMainFilename:{$ref:"#/definitions/HotUpdateMainFilename"},iife:{$ref:"#/definitions/Iife"},importFunctionName:{$ref:"#/definitions/ImportFunctionName"},importMetaName:{$ref:"#/definitions/ImportMetaName"},library:{$ref:"#/definitions/Library"},libraryExport:{oneOf:[{$ref:"#/definitions/LibraryExport"}]},libraryTarget:{oneOf:[{$ref:"#/definitions/LibraryType"}]},module:{$ref:"#/definitions/OutputModule"},path:{$ref:"#/definitions/Path"},pathinfo:{$ref:"#/definitions/Pathinfo"},publicPath:{$ref:"#/definitions/PublicPath"},scriptType:{$ref:"#/definitions/ScriptType"},sourceMapFilename:{$ref:"#/definitions/SourceMapFilename"},sourcePrefix:{$ref:"#/definitions/SourcePrefix"},strictModuleErrorHandling:{$ref:"#/definitions/StrictModuleErrorHandling"},strictModuleExceptionHandling:{$ref:"#/definitions/StrictModuleExceptionHandling"},trustedTypes:{anyOf:[{enum:[!0]},{type:"string",minLength:1},{$ref:"#/definitions/TrustedTypes"}]},umdNamedDefine:{oneOf:[{$ref:"#/definitions/UmdNamedDefine"}]},uniqueName:{$ref:"#/definitions/UniqueName"},wasmLoading:{$ref:"#/definitions/WasmLoading"},webassemblyModuleFilename:{$ref:"#/definitions/WebassemblyModuleFilename"},workerChunkLoading:{$ref:"#/definitions/ChunkLoading"},workerWasmLoading:{$ref:"#/definitions/WasmLoading"}};function me(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1,le=null;const _e=ie,Ee=ie;let Te=!1;const we=ie;if(ie===we)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Ie=we===ie;if(Te=Te||Ie,!Te){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ie=N===ie,Te=Te||Ie}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(ce=!0,le=0),!ce){const E={params:{passingSchemas:le}};return null===G?G=[E]:G.push(E),ie++,me.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),me.errors=G,0===ie}function ye(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1;const le=ie;if("boolean"!=typeof E){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}var _e=le===ie;if(ce=ce||_e,!ce){const R=ie;if(ie==ie)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=ie;for(const N in E)if("dry"!==N&&"keep"!==N){const E={params:{additionalProperty:N}};null===G?G=[E]:G.push(E),ie++;break}if(R===ie){if(void 0!==E.dry){const N=ie;if("boolean"!=typeof E.dry){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}var Ee=N===ie}else Ee=!0;if(Ee)if(void 0!==E.keep){let R=E.keep;const j=ie,$=ie;let q=!1;const ae=ie;if(!(R instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var Te=ae===ie;if(q=q||Te,!q){const E=ie;if(ie===E)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(Te=E===ie,q=q||Te,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=E===ie,q=q||Te}}if(q)ie=$,null!==G&&($?G.length=$:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ee=j===ie}else Ee=!0}}else{const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}_e=R===ie,ce=ce||_e}if(!ce){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ye.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),ye.errors=G,0===ie}function he(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!Array.isArray(E))return he.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G,$=G;let ae=!1;const ce=G;if("jsonp"!==N&&"import-scripts"!==N&&"require"!==N&&"async-node"!==N&&"import"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ie=ce===G;if(ae=ae||ie,!ae){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,ae=ae||ie}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,he.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}}return he.errors=q,0===G}function de(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!Array.isArray(E))return de.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G,$=G;let ae=!1;const ce=G;if("var"!==N&&"module"!==N&&"assign"!==N&&"assign-properties"!==N&&"this"!==N&&"window"!==N&&"self"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ie=ce===G;if(ae=ae||ie,!ae){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,ae=ae||ie}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,de.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}}return de.errors=q,0===G}function ge(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!Array.isArray(E))return ge.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G,$=G;let ae=!1;const ce=G;if("fetch-streaming"!==N&&"fetch"!==N&&"async-node"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ie=ce===G;if(ae=ae||ie,!ae){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,ae=ae||ie}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,ge.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}}return ge.errors=q,0===G}function be(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1,le=null;const _e=ie,Ee=ie;let Te=!1;const we=ie;if(ie===we)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Ie=we===ie;if(Te=Te||Ie,!Te){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ie=N===ie,Te=Te||Ie}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(ce=!0,le=0),!ce){const E={params:{passingSchemas:le}};return null===G?G=[E]:G.push(E),ie++,be.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),be.errors=G,0===ie}function ve(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;f(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?f.errors:q.concat(f.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const ie=G;u(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?u.errors:q.concat(u.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,ve.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),ve.errors=q,0===G}function De(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return De.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const N in E)if(!j.call(Be,N))return De.errors=[{params:{additionalProperty:N}}],!1;if($===ae){if(void 0!==E.assetModuleFilename){let R=E.assetModuleFilename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var ce=G===ae;if(q=q||ce,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ce=E===ae,q=q||ce}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null);var le=j===ae}else le=!0;if(le){if(void 0!==E.auxiliaryComment){const N=ae,j=ae;let $=!1,q=null;const ce=ae;if(p(E.auxiliaryComment,{instancePath:R+"/auxiliaryComment",parentData:E,parentDataProperty:"auxiliaryComment",rootData:G})||(ie=null===ie?p.errors:ie.concat(p.errors),ae=ie.length),ce===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.charset){const N=ae;if("boolean"!=typeof E.charset)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.chunkFilename){const N=ae;me(E.chunkFilename,{instancePath:R+"/chunkFilename",parentData:E,parentDataProperty:"chunkFilename",rootData:G})||(ie=null===ie?me.errors:ie.concat(me.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.chunkFormat){let N=E.chunkFormat;const R=ae,j=ae;let $=!1;const q=ae;if("array-push"!==N&&"commonjs"!==N&&"module"!==N&&!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var _e=q===ae;if($=$||_e,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,$=$||_e}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.chunkLoadTimeout){let N=E.chunkLoadTimeout;const R=ae;if("number"!=typeof N||!isFinite(N))return De.errors=[{params:{type:"number"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.chunkLoading){const N=ae;i(E.chunkLoading,{instancePath:R+"/chunkLoading",parentData:E,parentDataProperty:"chunkLoading",rootData:G})||(ie=null===ie?i.errors:ie.concat(i.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.chunkLoadingGlobal){const N=ae;if("string"!=typeof E.chunkLoadingGlobal)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.clean){const N=ae;ye(E.clean,{instancePath:R+"/clean",parentData:E,parentDataProperty:"clean",rootData:G})||(ie=null===ie?ye.errors:ie.concat(ye.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.compareBeforeEmit){const N=ae;if("boolean"!=typeof E.compareBeforeEmit)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.crossOriginLoading){let N=E.crossOriginLoading;const R=ae;if(!1!==N&&"anonymous"!==N&&"use-credentials"!==N)return De.errors=[{params:{}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.devtoolFallbackModuleFilenameTemplate){let N=E.devtoolFallbackModuleFilenameTemplate;const R=ae,j=ae;let $=!1;const q=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if($=$||Ee,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,$=$||Ee}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.devtoolModuleFilenameTemplate){let N=E.devtoolModuleFilenameTemplate;const R=ae,j=ae;let $=!1;const q=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.devtoolNamespace){const N=ae;if("string"!=typeof E.devtoolNamespace)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.enabledChunkLoadingTypes){const N=ae;he(E.enabledChunkLoadingTypes,{instancePath:R+"/enabledChunkLoadingTypes",parentData:E,parentDataProperty:"enabledChunkLoadingTypes",rootData:G})||(ie=null===ie?he.errors:ie.concat(he.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.enabledLibraryTypes){const N=ae;de(E.enabledLibraryTypes,{instancePath:R+"/enabledLibraryTypes",parentData:E,parentDataProperty:"enabledLibraryTypes",rootData:G})||(ie=null===ie?de.errors:ie.concat(de.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.enabledWasmLoadingTypes){const N=ae;ge(E.enabledWasmLoadingTypes,{instancePath:R+"/enabledWasmLoadingTypes",parentData:E,parentDataProperty:"enabledWasmLoadingTypes",rootData:G})||(ie=null===ie?ge.errors:ie.concat(ge.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.environment){let N=E.environment;const R=ae;if(ae==ae){if(!N||"object"!=typeof N||Array.isArray(N))return De.errors=[{params:{type:"object"}}],!1;{const E=ae;for(const E in N)if("arrowFunction"!==E&&"bigIntLiteral"!==E&&"const"!==E&&"destructuring"!==E&&"dynamicImport"!==E&&"forOf"!==E&&"module"!==E)return De.errors=[{params:{additionalProperty:E}}],!1;if(E===ae){if(void 0!==N.arrowFunction){const E=ae;if("boolean"!=typeof N.arrowFunction)return De.errors=[{params:{type:"boolean"}}],!1;var we=E===ae}else we=!0;if(we){if(void 0!==N.bigIntLiteral){const E=ae;if("boolean"!=typeof N.bigIntLiteral)return De.errors=[{params:{type:"boolean"}}],!1;we=E===ae}else we=!0;if(we){if(void 0!==N.const){const E=ae;if("boolean"!=typeof N.const)return De.errors=[{params:{type:"boolean"}}],!1;we=E===ae}else we=!0;if(we){if(void 0!==N.destructuring){const E=ae;if("boolean"!=typeof N.destructuring)return De.errors=[{params:{type:"boolean"}}],!1;we=E===ae}else we=!0;if(we){if(void 0!==N.dynamicImport){const E=ae;if("boolean"!=typeof N.dynamicImport)return De.errors=[{params:{type:"boolean"}}],!1;we=E===ae}else we=!0;if(we){if(void 0!==N.forOf){const E=ae;if("boolean"!=typeof N.forOf)return De.errors=[{params:{type:"boolean"}}],!1;we=E===ae}else we=!0;if(we)if(void 0!==N.module){const E=ae;if("boolean"!=typeof N.module)return De.errors=[{params:{type:"boolean"}}],!1;we=E===ae}else we=!0}}}}}}}}le=R===ae}else le=!0;if(le){if(void 0!==E.filename){const N=ae;be(E.filename,{instancePath:R+"/filename",parentData:E,parentDataProperty:"filename",rootData:G})||(ie=null===ie?be.errors:ie.concat(be.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.globalObject){let N=E.globalObject;const R=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.length<1)return De.errors=[{params:{}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hashDigest){const N=ae;if("string"!=typeof E.hashDigest)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.hashDigestLength){let N=E.hashDigestLength;const R=ae;if(ae==ae){if("number"!=typeof N||!isFinite(N))return De.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return De.errors=[{params:{comparison:">=",limit:1}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hashFunction){let N=E.hashFunction;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.hashSalt){let N=E.hashSalt;const R=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.length<1)return De.errors=[{params:{}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hotUpdateChunkFilename){let R=E.hotUpdateChunkFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.hotUpdateGlobal){const N=ae;if("string"!=typeof E.hotUpdateGlobal)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.hotUpdateMainFilename){let R=E.hotUpdateMainFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.iife){const N=ae;if("boolean"!=typeof E.iife)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.importFunctionName){const N=ae;if("string"!=typeof E.importFunctionName)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.importMetaName){const N=ae;if("string"!=typeof E.importMetaName)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.library){const N=ae;ve(E.library,{instancePath:R+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?ve.errors:ie.concat(ve.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.libraryExport){let N=E.libraryExport;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let _e=!1;const Ee=ae;if(ae===Ee)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ae;if(ae===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=Ee===ae;if(_e=_e||Ne,!_e){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,_e=_e||Ne}if(_e)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.libraryTarget){let N=E.libraryTarget;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let _e=!1;const Ee=ae;if("var"!==N&&"module"!==N&&"assign"!==N&&"assign-properties"!==N&&"this"!==N&&"window"!==N&&"self"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Me=Ee===ae;if(_e=_e||Me,!_e){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,_e=_e||Me}if(_e)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.module){const N=ae;if("boolean"!=typeof E.module)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.path){let R=E.path;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.pathinfo){let N=E.pathinfo;const R=ae,j=ae;let $=!1;const q=ae;if("verbose"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Le=q===ae;if($=$||Le,!$){const E=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}Le=E===ae,$=$||Le}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.publicPath){const N=ae;c(E.publicPath,{instancePath:R+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:G})||(ie=null===ie?c.errors:ie.concat(c.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.scriptType){let N=E.scriptType;const R=ae;if(!1!==N&&"text/javascript"!==N&&"module"!==N)return De.errors=[{params:{}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.sourceMapFilename){let R=E.sourceMapFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.sourcePrefix){const N=ae;if("string"!=typeof E.sourcePrefix)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.strictModuleErrorHandling){const N=ae;if("boolean"!=typeof E.strictModuleErrorHandling)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.strictModuleExceptionHandling){const N=ae;if("boolean"!=typeof E.strictModuleExceptionHandling)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.trustedTypes){let N=E.trustedTypes;const R=ae,j=ae;let $=!1;const q=ae;if(!0!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var je=q===ae;if($=$||je,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(je=E===ae,$=$||je,!$){const E=ae;if(ae==ae)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=ae;for(const E in N)if("policyName"!==E){const N={params:{additionalProperty:E}};null===ie?ie=[N]:ie.push(N),ae++;break}if(E===ae&&void 0!==N.policyName){let E=N.policyName;if(ae==ae)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}}}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,$=$||je}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.umdNamedDefine){const N=ae,R=ae;let j=!1,$=null;const q=ae;if("boolean"!=typeof E.umdNamedDefine){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae&&(j=!0,$=0),!j){const E={params:{passingSchemas:$}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=R,null!==ie&&(R?ie.length=R:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.uniqueName){let N=E.uniqueName;const R=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.length<1)return De.errors=[{params:{}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.wasmLoading){const N=ae;m(E.wasmLoading,{instancePath:R+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.webassemblyModuleFilename){let R=E.webassemblyModuleFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.workerChunkLoading){const N=ae;i(E.workerChunkLoading,{instancePath:R+"/workerChunkLoading",parentData:E,parentDataProperty:"workerChunkLoading",rootData:G})||(ie=null===ie?i.errors:ie.concat(i.errors),ae=ie.length),le=N===ae}else le=!0;if(le)if(void 0!==E.workerWasmLoading){const N=ae;m(E.workerWasmLoading,{instancePath:R+"/workerWasmLoading",parentData:E,parentDataProperty:"workerWasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),le=N===ae}else le=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return De.errors=ie,0===ae}function Pe(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("assetFilter"!==N&&"hints"!==N&&"maxAssetSize"!==N&&"maxEntrypointSize"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.assetFilter){const N=G;if(!(E.assetFilter instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e){if(void 0!==E.hints){let N=E.hints;const R=G;if(!1!==N&&"warning"!==N&&"error"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0;if(_e){if(void 0!==E.maxAssetSize){let N=E.maxAssetSize;const R=G;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0;if(_e)if(void 0!==E.maxEntrypointSize){let N=E.maxEntrypointSize;const R=G;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,Pe.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),Pe.errors=q,0===G}function Ae(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!Array.isArray(E))return Ae.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G,$=G;let ae=!1;const ce=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){let E;if(void 0===N.apply&&(E="apply")){const N={params:{missingProperty:E}};null===q?q=[N]:q.push(N),G++}else if(void 0!==N.apply&&!(N.apply instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=ce===G;if(ae=ae||ie,!ae){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,ae=ae||ie}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,Ae.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}}return Ae.errors=q,0===G}function xe(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1,ce=null;const le=G;if(W(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?W.errors:q.concat(W.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,xe.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),xe.errors=q,0===G}function ke(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1,ce=null;const le=G;if(W(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?W.errors:q.concat(W.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,ke.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),ke.errors=q,0===G}const je={all:{type:"boolean"},assets:{type:"boolean"},assetsSort:{type:"string"},assetsSpace:{type:"number"},builtAt:{type:"boolean"},cached:{type:"boolean"},cachedAssets:{type:"boolean"},cachedModules:{type:"boolean"},children:{type:"boolean"},chunkGroupAuxiliary:{type:"boolean"},chunkGroupChildren:{type:"boolean"},chunkGroupMaxAssets:{type:"number"},chunkGroups:{type:"boolean"},chunkModules:{type:"boolean"},chunkModulesSpace:{type:"number"},chunkOrigins:{type:"boolean"},chunkRelations:{type:"boolean"},chunks:{type:"boolean"},chunksSort:{type:"string"},colors:{anyOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{bold:{type:"string"},cyan:{type:"string"},green:{type:"string"},magenta:{type:"string"},red:{type:"string"},yellow:{type:"string"}}}]},context:{type:"string",absolutePath:!0},dependentModules:{type:"boolean"},depth:{type:"boolean"},entrypoints:{anyOf:[{enum:["auto"]},{type:"boolean"}]},env:{type:"boolean"},errorDetails:{anyOf:[{enum:["auto"]},{type:"boolean"}]},errorStack:{type:"boolean"},errors:{type:"boolean"},errorsCount:{type:"boolean"},exclude:{anyOf:[{type:"boolean"},{$ref:"#/definitions/ModuleFilterTypes"}]},excludeAssets:{oneOf:[{$ref:"#/definitions/AssetFilterTypes"}]},excludeModules:{anyOf:[{type:"boolean"},{$ref:"#/definitions/ModuleFilterTypes"}]},groupAssetsByChunk:{type:"boolean"},groupAssetsByEmitStatus:{type:"boolean"},groupAssetsByExtension:{type:"boolean"},groupAssetsByInfo:{type:"boolean"},groupAssetsByPath:{type:"boolean"},groupModulesByAttributes:{type:"boolean"},groupModulesByCacheStatus:{type:"boolean"},groupModulesByExtension:{type:"boolean"},groupModulesByLayer:{type:"boolean"},groupModulesByPath:{type:"boolean"},groupModulesByType:{type:"boolean"},groupReasonsByOrigin:{type:"boolean"},hash:{type:"boolean"},ids:{type:"boolean"},logging:{anyOf:[{enum:["none","error","warn","info","log","verbose"]},{type:"boolean"}]},loggingDebug:{anyOf:[{type:"boolean"},{$ref:"#/definitions/FilterTypes"}]},loggingTrace:{type:"boolean"},moduleAssets:{type:"boolean"},moduleTrace:{type:"boolean"},modules:{type:"boolean"},modulesSort:{type:"string"},modulesSpace:{type:"number"},nestedModules:{type:"boolean"},nestedModulesSpace:{type:"number"},optimizationBailout:{type:"boolean"},orphanModules:{type:"boolean"},outputPath:{type:"boolean"},performance:{type:"boolean"},preset:{anyOf:[{type:"boolean"},{type:"string"}]},providedExports:{type:"boolean"},publicPath:{type:"boolean"},reasons:{type:"boolean"},reasonsSpace:{type:"number"},relatedAssets:{type:"boolean"},runtime:{type:"boolean"},runtimeModules:{type:"boolean"},source:{type:"boolean"},timings:{type:"boolean"},usedExports:{type:"boolean"},version:{type:"boolean"},warnings:{type:"boolean"},warningsCount:{type:"boolean"},warningsFilter:{oneOf:[{$ref:"#/definitions/WarningFilterTypes"}]}};function Se(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1;const le=ie;if(ie===le)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const $=ie,q=ie;let ae=!1,ce=null;const le=ie,Ee=ie;let Te=!1;const we=ie;if(!(R instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var _e=we===ie;if(Te=Te||_e,!Te){const E=ie;if(ie===E)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(_e=E===ie,Te=Te||_e,!Te){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,Te=Te||_e}}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&(ae=!0,ce=0),ae)ie=q,null!==G&&(q?G.length=q:G=null);else{const E={params:{passingSchemas:ce}};null===G?G=[E]:G.push(E),ie++}if($!==ie)break}}else{const E={params:{type:"array"}};null===G?G=[E]:G.push(E),ie++}var Ee=le===ie;if(ce=ce||Ee,!ce){const R=ie,j=ie;let $=!1;const q=ie;if(!(E instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var Te=q===ie;if($=$||Te,!$){const R=ie;if(ie===R)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(Te=R===ie,$=$||Te,!$){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=N===ie,$=$||Te}}if($)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ee=R===ie,ce=ce||Ee}if(!ce){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,Se.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),Se.errors=G,0===ie}function Ce(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1;const le=ie;if(ie===le)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const $=ie,q=ie;let ae=!1,ce=null;const le=ie,Ee=ie;let Te=!1;const we=ie;if(!(R instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var _e=we===ie;if(Te=Te||_e,!Te){const E=ie;if(ie===E)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(_e=E===ie,Te=Te||_e,!Te){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,Te=Te||_e}}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&(ae=!0,ce=0),ae)ie=q,null!==G&&(q?G.length=q:G=null);else{const E={params:{passingSchemas:ce}};null===G?G=[E]:G.push(E),ie++}if($!==ie)break}}else{const E={params:{type:"array"}};null===G?G=[E]:G.push(E),ie++}var Ee=le===ie;if(ce=ce||Ee,!ce){const R=ie,j=ie;let $=!1;const q=ie;if(!(E instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var Te=q===ie;if($=$||Te,!$){const R=ie;if(ie===R)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(Te=R===ie,$=$||Te,!$){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=N===ie,$=$||Te}}if($)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ee=R===ie,ce=ce||Ee}if(!ce){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,Ce.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),Ce.errors=G,0===ie}function Fe(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1;const le=ie;if(ie===le)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const $=ie,q=ie;let ae=!1,ce=null;const le=ie,Ee=ie;let Te=!1;const we=ie;if(!(R instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var _e=we===ie;if(Te=Te||_e,!Te){const E=ie;if(ie===E)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(_e=E===ie,Te=Te||_e,!Te){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,Te=Te||_e}}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&(ae=!0,ce=0),ae)ie=q,null!==G&&(q?G.length=q:G=null);else{const E={params:{passingSchemas:ce}};null===G?G=[E]:G.push(E),ie++}if($!==ie)break}}else{const E={params:{type:"array"}};null===G?G=[E]:G.push(E),ie++}var Ee=le===ie;if(ce=ce||Ee,!ce){const R=ie,j=ie;let $=!1;const q=ie;if(!(E instanceof RegExp)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var Te=q===ie;if($=$||Te,!$){const R=ie;if(ie===R)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(Te=R===ie,$=$||Te,!$){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=N===ie,$=$||Te}}if($)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ee=R===ie,ce=ce||Ee}if(!ce){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,Fe.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),Fe.errors=G,0===ie}function Oe(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return Oe.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const N in E)if(!j.call(je,N))return Oe.errors=[{params:{additionalProperty:N}}],!1;if($===ae){if(void 0!==E.all){const N=ae;if("boolean"!=typeof E.all)return Oe.errors=[{params:{type:"boolean"}}],!1;var ce=N===ae}else ce=!0;if(ce){if(void 0!==E.assets){const N=ae;if("boolean"!=typeof E.assets)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.assetsSort){const N=ae;if("string"!=typeof E.assetsSort)return Oe.errors=[{params:{type:"string"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.assetsSpace){let N=E.assetsSpace;const R=ae;if("number"!=typeof N||!isFinite(N))return Oe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.builtAt){const N=ae;if("boolean"!=typeof E.builtAt)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.cached){const N=ae;if("boolean"!=typeof E.cached)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.cachedAssets){const N=ae;if("boolean"!=typeof E.cachedAssets)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.cachedModules){const N=ae;if("boolean"!=typeof E.cachedModules)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.children){const N=ae;if("boolean"!=typeof E.children)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.chunkGroupAuxiliary){const N=ae;if("boolean"!=typeof E.chunkGroupAuxiliary)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.chunkGroupChildren){const N=ae;if("boolean"!=typeof E.chunkGroupChildren)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.chunkGroupMaxAssets){let N=E.chunkGroupMaxAssets;const R=ae;if("number"!=typeof N||!isFinite(N))return Oe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.chunkGroups){const N=ae;if("boolean"!=typeof E.chunkGroups)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.chunkModules){const N=ae;if("boolean"!=typeof E.chunkModules)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.chunkModulesSpace){let N=E.chunkModulesSpace;const R=ae;if("number"!=typeof N||!isFinite(N))return Oe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.chunkOrigins){const N=ae;if("boolean"!=typeof E.chunkOrigins)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.chunkRelations){const N=ae;if("boolean"!=typeof E.chunkRelations)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.chunks){const N=ae;if("boolean"!=typeof E.chunks)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.chunksSort){const N=ae;if("string"!=typeof E.chunksSort)return Oe.errors=[{params:{type:"string"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.colors){let N=E.colors;const R=ae,j=ae;let $=!1;const q=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}var le=q===ae;if($=$||le,!$){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=ae;for(const E in N)if("bold"!==E&&"cyan"!==E&&"green"!==E&&"magenta"!==E&&"red"!==E&&"yellow"!==E){const N={params:{additionalProperty:E}};null===ie?ie=[N]:ie.push(N),ae++;break}if(E===ae){if(void 0!==N.bold){const E=ae;if("string"!=typeof N.bold){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=E===ae}else _e=!0;if(_e){if(void 0!==N.cyan){const E=ae;if("string"!=typeof N.cyan){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae}else _e=!0;if(_e){if(void 0!==N.green){const E=ae;if("string"!=typeof N.green){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae}else _e=!0;if(_e){if(void 0!==N.magenta){const E=ae;if("string"!=typeof N.magenta){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae}else _e=!0;if(_e){if(void 0!==N.red){const E=ae;if("string"!=typeof N.red){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae}else _e=!0;if(_e)if(void 0!==N.yellow){const E=ae;if("string"!=typeof N.yellow){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae}else _e=!0}}}}}}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}le=E===ae,$=$||le}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.context){let R=E.context;const j=ae;if(ae===j){if("string"!=typeof R)return Oe.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return Oe.errors=[{params:{}}],!1}ce=j===ae}else ce=!0;if(ce){if(void 0!==E.dependentModules){const N=ae;if("boolean"!=typeof E.dependentModules)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.depth){const N=ae;if("boolean"!=typeof E.depth)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.entrypoints){let N=E.entrypoints;const R=ae,j=ae;let $=!1;const q=ae;if("auto"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if($=$||Ee,!$){const E=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,$=$||Ee}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.env){const N=ae;if("boolean"!=typeof E.env)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.errorDetails){let N=E.errorDetails;const R=ae,j=ae;let $=!1;const q=ae;if("auto"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.errorStack){const N=ae;if("boolean"!=typeof E.errorStack)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.errors){const N=ae;if("boolean"!=typeof E.errors)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.errorsCount){const N=ae;if("boolean"!=typeof E.errorsCount)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.exclude){let N=E.exclude;const j=ae,$=ae;let q=!1;const le=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}var we=le===ae;if(q=q||we,!q){const j=ae;Se(N,{instancePath:R+"/exclude",parentData:E,parentDataProperty:"exclude",rootData:G})||(ie=null===ie?Se.errors:ie.concat(Se.errors),ae=ie.length),we=j===ae,q=q||we}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.excludeAssets){const N=ae,j=ae;let $=!1,q=null;const le=ae;if(Ce(E.excludeAssets,{instancePath:R+"/excludeAssets",parentData:E,parentDataProperty:"excludeAssets",rootData:G})||(ie=null===ie?Ce.errors:ie.concat(Ce.errors),ae=ie.length),le===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=N===ae}else ce=!0;if(ce){if(void 0!==E.excludeModules){let N=E.excludeModules;const j=ae,$=ae;let q=!1;const le=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=le===ae;if(q=q||Ie,!q){const j=ae;Se(N,{instancePath:R+"/excludeModules",parentData:E,parentDataProperty:"excludeModules",rootData:G})||(ie=null===ie?Se.errors:ie.concat(Se.errors),ae=ie.length),Ie=j===ae,q=q||Ie}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.groupAssetsByChunk){const N=ae;if("boolean"!=typeof E.groupAssetsByChunk)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupAssetsByEmitStatus){const N=ae;if("boolean"!=typeof E.groupAssetsByEmitStatus)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupAssetsByExtension){const N=ae;if("boolean"!=typeof E.groupAssetsByExtension)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupAssetsByInfo){const N=ae;if("boolean"!=typeof E.groupAssetsByInfo)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupAssetsByPath){const N=ae;if("boolean"!=typeof E.groupAssetsByPath)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupModulesByAttributes){const N=ae;if("boolean"!=typeof E.groupModulesByAttributes)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupModulesByCacheStatus){const N=ae;if("boolean"!=typeof E.groupModulesByCacheStatus)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupModulesByExtension){const N=ae;if("boolean"!=typeof E.groupModulesByExtension)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupModulesByLayer){const N=ae;if("boolean"!=typeof E.groupModulesByLayer)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupModulesByPath){const N=ae;if("boolean"!=typeof E.groupModulesByPath)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupModulesByType){const N=ae;if("boolean"!=typeof E.groupModulesByType)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.groupReasonsByOrigin){const N=ae;if("boolean"!=typeof E.groupReasonsByOrigin)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.hash){const N=ae;if("boolean"!=typeof E.hash)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.ids){const N=ae;if("boolean"!=typeof E.ids)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.logging){let N=E.logging;const R=ae,j=ae;let $=!1;const q=ae;if("none"!==N&&"error"!==N&&"warn"!==N&&"info"!==N&&"log"!==N&&"verbose"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=q===ae;if($=$||Ne,!$){const E=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,$=$||Ne}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.loggingDebug){let N=E.loggingDebug;const j=ae,$=ae;let q=!1;const le=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=le===ae;if(q=q||Me,!q){const j=ae;F(N,{instancePath:R+"/loggingDebug",parentData:E,parentDataProperty:"loggingDebug",rootData:G})||(ie=null===ie?F.errors:ie.concat(F.errors),ae=ie.length),Me=j===ae,q=q||Me}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.loggingTrace){const N=ae;if("boolean"!=typeof E.loggingTrace)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.moduleAssets){const N=ae;if("boolean"!=typeof E.moduleAssets)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.moduleTrace){const N=ae;if("boolean"!=typeof E.moduleTrace)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modules){const N=ae;if("boolean"!=typeof E.modules)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modulesSort){const N=ae;if("string"!=typeof E.modulesSort)return Oe.errors=[{params:{type:"string"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modulesSpace){let N=E.modulesSpace;const R=ae;if("number"!=typeof N||!isFinite(N))return Oe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.nestedModules){const N=ae;if("boolean"!=typeof E.nestedModules)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.nestedModulesSpace){let N=E.nestedModulesSpace;const R=ae;if("number"!=typeof N||!isFinite(N))return Oe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.optimizationBailout){const N=ae;if("boolean"!=typeof E.optimizationBailout)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.orphanModules){const N=ae;if("boolean"!=typeof E.orphanModules)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.outputPath){const N=ae;if("boolean"!=typeof E.outputPath)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.performance){const N=ae;if("boolean"!=typeof E.performance)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.preset){let N=E.preset;const R=ae,j=ae;let $=!1;const q=ae;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===ie?ie=[E]:ie.push(E),ae++}var Le=q===ae;if($=$||Le,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Le=E===ae,$=$||Le}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.providedExports){const N=ae;if("boolean"!=typeof E.providedExports)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.publicPath){const N=ae;if("boolean"!=typeof E.publicPath)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.reasons){const N=ae;if("boolean"!=typeof E.reasons)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.reasonsSpace){let N=E.reasonsSpace;const R=ae;if("number"!=typeof N||!isFinite(N))return Oe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.relatedAssets){const N=ae;if("boolean"!=typeof E.relatedAssets)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.runtime){const N=ae;if("boolean"!=typeof E.runtime)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.runtimeModules){const N=ae;if("boolean"!=typeof E.runtimeModules)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.source){const N=ae;if("boolean"!=typeof E.source)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.timings){const N=ae;if("boolean"!=typeof E.timings)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.version){const N=ae;if("boolean"!=typeof E.version)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.warnings){const N=ae;if("boolean"!=typeof E.warnings)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.warningsCount){const N=ae;if("boolean"!=typeof E.warningsCount)return Oe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce)if(void 0!==E.warningsFilter){const N=ae,j=ae;let $=!1,q=null;const le=ae;if(Fe(E.warningsFilter,{instancePath:R+"/warningsFilter",parentData:E,parentDataProperty:"warningsFilter",rootData:G})||(ie=null===ie?Fe.errors:ie.concat(Fe.errors),ae=ie.length),le===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,Oe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return Oe.errors=ie,0===ae}function Re(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if("none"!==E&&"summary"!==E&&"errors-only"!==E&&"errors-warnings"!==E&&"minimal"!==E&&"normal"!==E&&"detailed"!==E&&"verbose"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;if("boolean"!=typeof E){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}if(le=ie===G,ae=ae||le,!ae){const ie=G;Oe(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?Oe.errors:q.concat(Oe.errors),G=q.length),le=ie===G,ae=ae||le}}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,Re.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),Re.errors=q,0===G}const Ue=new RegExp("^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$","u");function $e(E,{instancePath:$="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,ce=0;if(0===ce){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const q=ce;for(const N in E)if(!j.call(R,N))return $e.errors=[{params:{additionalProperty:N}}],!1;if(q===ce){if(void 0!==E.amd){let N=E.amd;const R=ce,j=ce;let $=!1;const q=ce;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var le=q===ce;if($=$||le,!$){const E=ce;if(!N||"object"!=typeof N||Array.isArray(N)){const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}le=E===ce,$=$||le}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null);var _e=R===ce}else _e=!0;if(_e){if(void 0!==E.bail){const N=ce;if("boolean"!=typeof E.bail)return $e.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.cache){const N=ce;o(E.cache,{instancePath:$+"/cache",parentData:E,parentDataProperty:"cache",rootData:ie})||(ae=null===ae?o.errors:ae.concat(o.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.context){let R=E.context;const j=ce;if(ce==ce){if("string"!=typeof R)return $e.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return $e.errors=[{params:{}}],!1}_e=j===ce}else _e=!0;if(_e){if(void 0!==E.dependencies){let N=E.dependencies;const R=ce;if(ce==ce){if(!Array.isArray(N))return $e.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){const E=ce;if("string"!=typeof N[R])return $e.errors=[{params:{type:"string"}}],!1;if(E!==ce)break}}}_e=R===ce}else _e=!0;if(_e){if(void 0!==E.devServer){let N=E.devServer;const R=ce;if(!N||"object"!=typeof N||Array.isArray(N))return $e.errors=[{params:{type:"object"}}],!1;_e=R===ce}else _e=!0;if(_e){if(void 0!==E.devtool){let N=E.devtool;const R=ce,j=ce;let $=!1;const q=ce;if(!1!==N&&"eval"!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Ee=q===ce;if($=$||Ee,!$){const E=ce;if(ce===E)if("string"==typeof N){if(!Ue.test(N)){const E={params:{pattern:"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ee=E===ce,$=$||Ee}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null),_e=R===ce}else _e=!0;if(_e){if(void 0!==E.entry){const N=ce;b(E.entry,{instancePath:$+"/entry",parentData:E,parentDataProperty:"entry",rootData:ie})||(ae=null===ae?b.errors:ae.concat(b.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.experiments){const N=ce;k(E.experiments,{instancePath:$+"/experiments",parentData:E,parentDataProperty:"experiments",rootData:ie})||(ae=null===ae?k.errors:ae.concat(k.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.externals){const N=ce;C(E.externals,{instancePath:$+"/externals",parentData:E,parentDataProperty:"externals",rootData:ie})||(ae=null===ae?C.errors:ae.concat(C.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.externalsPresets){let N=E.externalsPresets;const R=ce;if(ce==ce){if(!N||"object"!=typeof N||Array.isArray(N))return $e.errors=[{params:{type:"object"}}],!1;{const E=ce;for(const E in N)if("electron"!==E&&"electronMain"!==E&&"electronPreload"!==E&&"electronRenderer"!==E&&"node"!==E&&"nwjs"!==E&&"web"!==E&&"webAsync"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===ce){if(void 0!==N.electron){const E=ce;if("boolean"!=typeof N.electron)return $e.errors=[{params:{type:"boolean"}}],!1;var Te=E===ce}else Te=!0;if(Te){if(void 0!==N.electronMain){const E=ce;if("boolean"!=typeof N.electronMain)return $e.errors=[{params:{type:"boolean"}}],!1;Te=E===ce}else Te=!0;if(Te){if(void 0!==N.electronPreload){const E=ce;if("boolean"!=typeof N.electronPreload)return $e.errors=[{params:{type:"boolean"}}],!1;Te=E===ce}else Te=!0;if(Te){if(void 0!==N.electronRenderer){const E=ce;if("boolean"!=typeof N.electronRenderer)return $e.errors=[{params:{type:"boolean"}}],!1;Te=E===ce}else Te=!0;if(Te){if(void 0!==N.node){const E=ce;if("boolean"!=typeof N.node)return $e.errors=[{params:{type:"boolean"}}],!1;Te=E===ce}else Te=!0;if(Te){if(void 0!==N.nwjs){const E=ce;if("boolean"!=typeof N.nwjs)return $e.errors=[{params:{type:"boolean"}}],!1;Te=E===ce}else Te=!0;if(Te){if(void 0!==N.web){const E=ce;if("boolean"!=typeof N.web)return $e.errors=[{params:{type:"boolean"}}],!1;Te=E===ce}else Te=!0;if(Te)if(void 0!==N.webAsync){const E=ce;if("boolean"!=typeof N.webAsync)return $e.errors=[{params:{type:"boolean"}}],!1;Te=E===ce}else Te=!0}}}}}}}}}_e=R===ce}else _e=!0;if(_e){if(void 0!==E.externalsType){let N=E.externalsType;const R=ce;if("var"!==N&&"module"!==N&&"assign"!==N&&"this"!==N&&"window"!==N&&"self"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N&&"promise"!==N&&"import"!==N&&"script"!==N&&"node-commonjs"!==N)return $e.errors=[{params:{}}],!1;_e=R===ce}else _e=!0;if(_e){if(void 0!==E.ignoreWarnings){let N=E.ignoreWarnings;const R=ce;if(ce==ce){if(!Array.isArray(N))return $e.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ce,$=ce;let q=!1;const G=ce;if(!(E instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var we=G===ce;if(q=q||we,!q){const N=ce;if(ce===N)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=ce;for(const N in E)if("file"!==N&&"message"!==N&&"module"!==N){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(N===ce){if(void 0!==E.file){const N=ce;if(!(E.file instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.message){const N=ce;if(!(E.message instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie)if(void 0!==E.module){const N=ce;if(!(E.module instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}if(we=N===ce,q=q||we,!q){const N=ce;if(!(E instanceof Function)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}we=N===ce,q=q||we}}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}if(ce=$,null!==ae&&($?ae.length=$:ae=null),j!==ce)break}}}_e=R===ce}else _e=!0;if(_e){if(void 0!==E.infrastructureLogging){const N=ce;O(E.infrastructureLogging,{instancePath:$+"/infrastructureLogging",parentData:E,parentDataProperty:"infrastructureLogging",rootData:ie})||(ae=null===ae?O.errors:ae.concat(O.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.loader){let N=E.loader;const R=ce;if(!N||"object"!=typeof N||Array.isArray(N))return $e.errors=[{params:{type:"object"}}],!1;_e=R===ce}else _e=!0;if(_e){if(void 0!==E.mode){let N=E.mode;const R=ce;if("development"!==N&&"production"!==N&&"none"!==N)return $e.errors=[{params:{}}],!1;_e=R===ce}else _e=!0;if(_e){if(void 0!==E.module){const N=ce;oe(E.module,{instancePath:$+"/module",parentData:E,parentDataProperty:"module",rootData:ie})||(ae=null===ae?oe.errors:ae.concat(oe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.name){const N=ce;if("string"!=typeof E.name)return $e.errors=[{params:{type:"string"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.node){const N=ce;ne(E.node,{instancePath:$+"/node",parentData:E,parentDataProperty:"node",rootData:ie})||(ae=null===ae?ne.errors:ae.concat(ne.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.optimization){const N=ce;ue(E.optimization,{instancePath:$+"/optimization",parentData:E,parentDataProperty:"optimization",rootData:ie})||(ae=null===ae?ue.errors:ae.concat(ue.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.output){const N=ce;De(E.output,{instancePath:$+"/output",parentData:E,parentDataProperty:"output",rootData:ie})||(ae=null===ae?De.errors:ae.concat(De.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.parallelism){let N=E.parallelism;const R=ce;if(ce==ce){if("number"!=typeof N||!isFinite(N))return $e.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return $e.errors=[{params:{comparison:">=",limit:1}}],!1}_e=R===ce}else _e=!0;if(_e){if(void 0!==E.performance){const N=ce;Pe(E.performance,{instancePath:$+"/performance",parentData:E,parentDataProperty:"performance",rootData:ie})||(ae=null===ae?Pe.errors:ae.concat(Pe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.plugins){const N=ce;Ae(E.plugins,{instancePath:$+"/plugins",parentData:E,parentDataProperty:"plugins",rootData:ie})||(ae=null===ae?Ae.errors:ae.concat(Ae.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.profile){const N=ce;if("boolean"!=typeof E.profile)return $e.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.recordsInputPath){let R=E.recordsInputPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Ne=G===ce;if(q=q||Ne,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ne=E===ce,q=q||Ne}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.recordsOutputPath){let R=E.recordsOutputPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Me=G===ce;if(q=q||Me,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Me=E===ce,q=q||Me}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.recordsPath){let R=E.recordsPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Le=G===ce;if(q=q||Le,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Le=E===ce,q=q||Le}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.resolve){const N=ce;xe(E.resolve,{instancePath:$+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:ie})||(ae=null===ae?xe.errors:ae.concat(xe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.resolveLoader){const N=ce;ke(E.resolveLoader,{instancePath:$+"/resolveLoader",parentData:E,parentDataProperty:"resolveLoader",rootData:ie})||(ae=null===ae?ke.errors:ae.concat(ke.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.snapshot){let R=E.snapshot;const j=ce;if(ce==ce){if(!R||"object"!=typeof R||Array.isArray(R))return $e.errors=[{params:{type:"object"}}],!1;{const E=ce;for(const E in R)if("buildDependencies"!==E&&"immutablePaths"!==E&&"managedPaths"!==E&&"module"!==E&&"resolve"!==E&&"resolveBuildDependencies"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===ce){if(void 0!==R.buildDependencies){let E=R.buildDependencies;const N=ce;if(ce===N){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const N=ce;for(const N in E)if("hash"!==N&&"timestamp"!==N)return $e.errors=[{params:{additionalProperty:N}}],!1;if(N===ce){if(void 0!==E.hash){const N=ce;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var Be=N===ce}else Be=!0;if(Be)if(void 0!==E.timestamp){const N=ce;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;Be=N===ce}else Be=!0}}}var je=N===ce}else je=!0;if(je){if(void 0!==R.immutablePaths){let E=R.immutablePaths;const j=ce;if(ce===j){if(!Array.isArray(E))return $e.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let j=0;j<R;j++){let R=E[j];const $=ce,q=ce;let G=!1;const ie=ce;if(!(R instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var ze=ie===ce;if(G=G||ze,!G){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}else if(R.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}ze=E===ce,G=G||ze}if(!G){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}if(ce=q,null!==ae&&(q?ae.length=q:ae=null),$!==ce)break}}}je=j===ce}else je=!0;if(je){if(void 0!==R.managedPaths){let E=R.managedPaths;const j=ce;if(ce===j){if(!Array.isArray(E))return $e.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let j=0;j<R;j++){let R=E[j];const $=ce,q=ce;let G=!1;const ie=ce;if(!(R instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var We=ie===ce;if(G=G||We,!G){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}else if(R.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}We=E===ce,G=G||We}if(!G){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}if(ce=q,null!==ae&&(q?ae.length=q:ae=null),$!==ce)break}}}je=j===ce}else je=!0;if(je){if(void 0!==R.module){let E=R.module;const N=ce;if(ce===N){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const N=ce;for(const N in E)if("hash"!==N&&"timestamp"!==N)return $e.errors=[{params:{additionalProperty:N}}],!1;if(N===ce){if(void 0!==E.hash){const N=ce;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var Je=N===ce}else Je=!0;if(Je)if(void 0!==E.timestamp){const N=ce;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;Je=N===ce}else Je=!0}}}je=N===ce}else je=!0;if(je){if(void 0!==R.resolve){let E=R.resolve;const N=ce;if(ce===N){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const N=ce;for(const N in E)if("hash"!==N&&"timestamp"!==N)return $e.errors=[{params:{additionalProperty:N}}],!1;if(N===ce){if(void 0!==E.hash){const N=ce;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var Ve=N===ce}else Ve=!0;if(Ve)if(void 0!==E.timestamp){const N=ce;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;Ve=N===ce}else Ve=!0}}}je=N===ce}else je=!0;if(je)if(void 0!==R.resolveBuildDependencies){let E=R.resolveBuildDependencies;const N=ce;if(ce===N){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const N=ce;for(const N in E)if("hash"!==N&&"timestamp"!==N)return $e.errors=[{params:{additionalProperty:N}}],!1;if(N===ce){if(void 0!==E.hash){const N=ce;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var qe=N===ce}else qe=!0;if(qe)if(void 0!==E.timestamp){const N=ce;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;qe=N===ce}else qe=!0}}}je=N===ce}else je=!0}}}}}}}_e=j===ce}else _e=!0;if(_e){if(void 0!==E.stats){const N=ce;Re(E.stats,{instancePath:$+"/stats",parentData:E,parentDataProperty:"stats",rootData:ie})||(ae=null===ae?Re.errors:ae.concat(Re.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.target){let N=E.target;const R=ce,j=ce;let $=!1;const q=ce;if(ce===q)if(Array.isArray(N))if(N.length<1){const E={params:{limit:1}};null===ae?ae=[E]:ae.push(E),ce++}else{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=ce;if(ce===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}if(j!==ce)break}}else{const E={params:{type:"array"}};null===ae?ae=[E]:ae.push(E),ce++}var He=q===ce;if($=$||He,!$){const E=ce;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}if(He=E===ce,$=$||He,!$){const E=ce;if(ce===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}He=E===ce,$=$||He}}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null),_e=R===ce}else _e=!0;if(_e){if(void 0!==E.watch){const N=ce;if("boolean"!=typeof E.watch)return $e.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e)if(void 0!==E.watchOptions){let N=E.watchOptions;const R=ce;if(ce==ce){if(!N||"object"!=typeof N||Array.isArray(N))return $e.errors=[{params:{type:"object"}}],!1;{const E=ce;for(const E in N)if("aggregateTimeout"!==E&&"followSymlinks"!==E&&"ignored"!==E&&"poll"!==E&&"stdin"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===ce){if(void 0!==N.aggregateTimeout){let E=N.aggregateTimeout;const R=ce;if("number"!=typeof E||!isFinite(E))return $e.errors=[{params:{type:"number"}}],!1;var Ge=R===ce}else Ge=!0;if(Ge){if(void 0!==N.followSymlinks){const E=ce;if("boolean"!=typeof N.followSymlinks)return $e.errors=[{params:{type:"boolean"}}],!1;Ge=E===ce}else Ge=!0;if(Ge){if(void 0!==N.ignored){let E=N.ignored;const R=ce,j=ce;let $=!1;const q=ce;if(ce===q)if(Array.isArray(E)){const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=ce;if(ce===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}if(j!==ce)break}}else{const E={params:{type:"array"}};null===ae?ae=[E]:ae.push(E),ce++}var Ke=q===ce;if($=$||Ke,!$){const N=ce;if(!(E instanceof RegExp)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}if(Ke=N===ce,$=$||Ke,!$){const N=ce;if(ce===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ke=N===ce,$=$||Ke}}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null),Ge=R===ce}else Ge=!0;if(Ge){if(void 0!==N.poll){let E=N.poll;const R=ce,j=ce;let $=!1;const q=ce;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}var Qe=q===ce;if($=$||Qe,!$){const N=ce;if("boolean"!=typeof E){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Qe=N===ce,$=$||Qe}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null),Ge=R===ce}else Ge=!0;if(Ge)if(void 0!==N.stdin){const E=ce;if("boolean"!=typeof N.stdin)return $e.errors=[{params:{type:"boolean"}}],!1;Ge=E===ce}else Ge=!0}}}}}}_e=R===ce}else _e=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return $e.errors=ae,0===ce}},50879:E=>{"use strict";function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G,$=G;let ie=!1,ae=null;const ce=G,_e=G;let Ee=!1;const Te=G;if(!(N instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=Te===G;if(Ee=Ee||le,!Ee){const E=G;if(G===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=E===G,Ee=Ee||le}if(Ee)G=_e,null!==q&&(_e?q.length=_e:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ce===G&&(ie=!0,ae=0),ie)G=$,null!==q&&($?q.length=$:q=null);else{const E={params:{passingSchemas:ae}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G,R=G;let j=!1;const $=G;if(!(E instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var Ee=$===G;if(j=j||Ee,!j){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=N===G,j=j||Ee}if(j)G=R,null!==q&&(R?q.length=R:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const R=G;if(G===R)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.banner&&(R="banner")){const E={params:{missingProperty:R}};null===q?q=[E]:q.push(E),G++}else{const R=G;for(const N in E)if("banner"!==N&&"entryOnly"!==N&&"exclude"!==N&&"include"!==N&&"raw"!==N&&"test"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.banner){let N=E.banner;const R=G,j=G;let $=!1;const ie=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=ie===G;if($=$||_e,!$){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=E===G,$=$||_e}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}var Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.entryOnly){const N=G;if("boolean"!=typeof E.entryOnly){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}Ee=N===G}else Ee=!0;if(Ee){if(void 0!==E.exclude){const R=G,j=G;let ie=!1,ae=null;const ce=G;if(n(E.exclude,{instancePath:N+"/exclude",parentData:E,parentDataProperty:"exclude",rootData:$})||(q=null===q?n.errors:q.concat(n.errors),G=q.length),ce===G&&(ie=!0,ae=0),ie)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{passingSchemas:ae}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.include){const R=G,j=G;let ie=!1,ae=null;const ce=G;if(n(E.include,{instancePath:N+"/include",parentData:E,parentDataProperty:"include",rootData:$})||(q=null===q?n.errors:q.concat(n.errors),G=q.length),ce===G&&(ie=!0,ae=0),ie)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{passingSchemas:ae}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.raw){const N=G;if("boolean"!=typeof E.raw){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}Ee=N===G}else Ee=!0;if(Ee)if(void 0!==E.test){const R=G,j=G;let ie=!1,ae=null;const ce=G;if(n(E.test,{instancePath:N+"/test",parentData:E,parentDataProperty:"test",rootData:$})||(q=null===q?n.errors:q.concat(n.errors),G=q.length),ce===G&&(ie=!0,ae=0),ie)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{passingSchemas:ae}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0}}}}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}if(le=R===G,ae=ae||le,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}E.exports=t,E.exports["default"]=t},43548:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.path&&(N="path"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("context"!==N&&"entryOnly"!==N&&"format"!==N&&"name"!==N&&"path"!==N&&"type"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.context){let N=E.context;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}var q=0===R}else q=!0;if(q){if(void 0!==E.entryOnly){const N=0;if("boolean"!=typeof E.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.format){const N=0;if("boolean"!=typeof E.format)return r.errors=[{params:{type:"boolean"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.name){let N=E.name;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0;if(q){if(void 0!==E.path){let N=E.path;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0;if(q)if(void 0!==E.type){let N=E.type;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0}}}}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},69744:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.content&&(N="content"))return t.errors=[{params:{missingProperty:N}}],!1;{const N=G;for(const N in E)if("content"!==N&&"name"!==N&&"type"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.content){let N=E.content;const R=G,j=G;let $=!1,_e=null;const Ee=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N))if(Object.keys(N).length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else for(const E in N){let R=N[E];const j=G;if(G===j)if(R&&"object"==typeof R&&!Array.isArray(R)){let E;if(void 0===R.id&&(E="id")){const N={params:{missingProperty:E}};null===q?q=[N]:q.push(N),G++}else{const E=G;for(const E in R)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==R.buildMeta){let E=R.buildMeta;const N=G;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=N===G}else ie=!0;if(ie){if(void 0!==R.exports){let E=R.exports;const N=G,j=G;let $=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G;if(G===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const N=G;if(!0!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}ae=N===G,$=$||ae}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie)if(void 0!==R.id){let E=R.id;const N=G,j=G;let $=!1;const ae=G;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}var ce=ae===G;if($=$||ce,!$){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=N===G,$=$||ce}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}if(Ee===G&&($=!0,_e=0),!$){const E={params:{passingSchemas:_e}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null);var le=R===G}else le=!0;if(le){if(void 0!==E.name){let N=E.name;const R=G;if(G===R){if("string"!=typeof N)return t.errors=[{params:{type:"string"}}],!1;if(N.length<1)return t.errors=[{params:{}}],!1}le=R===G}else le=!0;if(le)if(void 0!==E.type){let N=E.type;const R=G,j=G;let $=!1,ie=null;const ae=G;if("var"!==N&&"assign"!==N&&"this"!==N&&"window"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ae===G&&($=!0,ie=0),!$){const E={params:{passingSchemas:ie}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),le=R===G}else le=!0}}}}}return t.errors=q,0===G}function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1;const le=ie;if(ie===le)if(E&&"object"==typeof E&&!Array.isArray(E)){let j;if(void 0===E.manifest&&(j="manifest")){const E={params:{missingProperty:j}};null===G?G=[E]:G.push(E),ie++}else{const j=ie;for(const N in E)if("context"!==N&&"extensions"!==N&&"manifest"!==N&&"name"!==N&&"scope"!==N&&"sourceType"!==N&&"type"!==N){const E={params:{additionalProperty:N}};null===G?G=[E]:G.push(E),ie++;break}if(j===ie){if(void 0!==E.context){let R=E.context;const j=ie;if(ie===j)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var _e=j===ie}else _e=!0;if(_e){if(void 0!==E.extensions){let N=E.extensions;const R=ie;if(ie===R)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){const E=ie;if("string"!=typeof N[R]){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(E!==ie)break}}else{const E={params:{type:"array"}};null===G?G=[E]:G.push(E),ie++}_e=R===ie}else _e=!0;if(_e){if(void 0!==E.manifest){let j=E.manifest;const $=ie,ae=ie;let ce=!1;const le=ie;if(ie===le)if("string"==typeof j){if(j.includes("!")||!0!==N.test(j)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Ee=le===ie;if(ce=ce||Ee,!ce){const N=ie;t(j,{instancePath:R+"/manifest",parentData:E,parentDataProperty:"manifest",rootData:q})||(G=null===G?t.errors:G.concat(t.errors),ie=G.length),Ee=N===ie,ce=ce||Ee}if(ce)ie=ae,null!==G&&(ae?G.length=ae:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=$===ie}else _e=!0;if(_e){if(void 0!==E.name){let N=E.name;const R=ie;if(ie===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}_e=R===ie}else _e=!0;if(_e){if(void 0!==E.scope){let N=E.scope;const R=ie;if(ie===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}_e=R===ie}else _e=!0;if(_e){if(void 0!==E.sourceType){let N=E.sourceType;const R=ie,j=ie;let $=!1,q=null;const ae=ie;if("var"!==N&&"assign"!==N&&"this"!==N&&"window"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(ae===ie&&($=!0,q=0),$)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{passingSchemas:q}};null===G?G=[E]:G.push(E),ie++}_e=R===ie}else _e=!0;if(_e)if(void 0!==E.type){let N=E.type;const R=ie;if("require"!==N&&"object"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=R===ie}else _e=!0}}}}}}}}else{const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}var Te=le===ie;if(ce=ce||Te,!ce){const R=ie;if(ie===R)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.content&&(R="content")||void 0===E.name&&(R="name")){const E={params:{missingProperty:R}};null===G?G=[E]:G.push(E),ie++}else{const R=ie;for(const N in E)if("content"!==N&&"context"!==N&&"extensions"!==N&&"name"!==N&&"scope"!==N&&"sourceType"!==N&&"type"!==N){const E={params:{additionalProperty:N}};null===G?G=[E]:G.push(E),ie++;break}if(R===ie){if(void 0!==E.content){let N=E.content;const R=ie,j=ie;let $=!1,q=null;const ae=ie;if(ie==ie)if(N&&"object"==typeof N&&!Array.isArray(N))if(Object.keys(N).length<1){const E={params:{limit:1}};null===G?G=[E]:G.push(E),ie++}else for(const E in N){let R=N[E];const j=ie;if(ie===j)if(R&&"object"==typeof R&&!Array.isArray(R)){let E;if(void 0===R.id&&(E="id")){const N={params:{missingProperty:E}};null===G?G=[N]:G.push(N),ie++}else{const E=ie;for(const E in R)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const N={params:{additionalProperty:E}};null===G?G=[N]:G.push(N),ie++;break}if(E===ie){if(void 0!==R.buildMeta){let E=R.buildMeta;const N=ie;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}var we=N===ie}else we=!0;if(we){if(void 0!==R.exports){let E=R.exports;const N=ie,j=ie;let $=!1;const q=ie;if(ie===q)if(Array.isArray(E)){const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=ie;if(ie===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(j!==ie)break}}else{const E={params:{type:"array"}};null===G?G=[E]:G.push(E),ie++}var Ie=q===ie;if($=$||Ie,!$){const N=ie;if(!0!==E){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ie=N===ie,$=$||Ie}if($)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}we=N===ie}else we=!0;if(we)if(void 0!==R.id){let E=R.id;const N=ie,j=ie;let $=!1;const q=ie;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===G?G=[E]:G.push(E),ie++}var Ne=q===ie;if($=$||Ne,!$){const N=ie;if(ie===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}Ne=N===ie,$=$||Ne}if($)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}we=N===ie}else we=!0}}}}else{const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}if(j!==ie)break}else{const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}if(ae===ie&&($=!0,q=0),$)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{passingSchemas:q}};null===G?G=[E]:G.push(E),ie++}var Me=R===ie}else Me=!0;if(Me){if(void 0!==E.context){let R=E.context;const j=ie;if(ie===j)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}Me=j===ie}else Me=!0;if(Me){if(void 0!==E.extensions){let N=E.extensions;const R=ie;if(ie===R)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){const E=ie;if("string"!=typeof N[R]){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}if(E!==ie)break}}else{const E={params:{type:"array"}};null===G?G=[E]:G.push(E),ie++}Me=R===ie}else Me=!0;if(Me){if(void 0!==E.name){let N=E.name;const R=ie;if(ie===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}Me=R===ie}else Me=!0;if(Me){if(void 0!==E.scope){let N=E.scope;const R=ie;if(ie===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}Me=R===ie}else Me=!0;if(Me){if(void 0!==E.sourceType){let N=E.sourceType;const R=ie,j=ie;let $=!1,q=null;const ae=ie;if("var"!==N&&"assign"!==N&&"this"!==N&&"window"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(ae===ie&&($=!0,q=0),$)ie=j,null!==G&&(j?G.length=j:G=null);else{const E={params:{passingSchemas:q}};null===G?G=[E]:G.push(E),ie++}Me=R===ie}else Me=!0;if(Me)if(void 0!==E.type){let N=E.type;const R=ie;if("require"!==N&&"object"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Me=R===ie}else Me=!0}}}}}}}}else{const E={params:{type:"object"}};null===G?G=[E]:G.push(E),ie++}Te=R===ie,ce=ce||Te}if(!ce){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,e.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),e.errors=G,0===ie}E.exports=e,E.exports["default"]=e},42959:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("context"!==N&&"hashDigest"!==N&&"hashDigestLength"!==N&&"hashFunction"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.context){let R=E.context;const j=ie;if(ie===j){if("string"!=typeof R)return e.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return e.errors=[{params:{}}],!1}var ae=j===ie}else ae=!0;if(ae){if(void 0!==E.hashDigest){let N=E.hashDigest;const R=ie;if("hex"!==N&&"latin1"!==N&&"base64"!==N)return e.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.hashDigestLength){let N=E.hashDigestLength;const R=ie;if(ie===R){if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return e.errors=[{params:{comparison:">=",limit:1}}],!1}ae=R===ie}else ae=!0;if(ae)if(void 0!==E.hashFunction){let N=E.hashFunction;const R=ie,j=ie;let $=!1,q=null;const le=ie,_e=ie;let Ee=!1;const Te=ie;if(ie===Te)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=Te===ie;if(Ee=Ee||ce,!Ee){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,Ee=Ee||ce}if(Ee)ie=_e,null!==G&&(_e?G.length=_e:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,e.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return e.errors=G,0===ie}E.exports=e,E.exports["default"]=e},44194:E=>{"use strict";function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.resourceRegExp&&(N="resourceRegExp")){const E={params:{missingProperty:N}};null===q?q=[E]:q.push(E),G++}else{const N=G;for(const N in E)if("contextRegExp"!==N&&"resourceRegExp"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.contextRegExp){const N=G;if(!(E.contextRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=N===G}else le=!0;if(le)if(void 0!==E.resourceRegExp){const N=G;if(!(E.resourceRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(G===N)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.checkResource&&(N="checkResource")){const E={params:{missingProperty:N}};null===q?q=[E]:q.push(E),G++}else{const N=G;for(const N in E)if("checkResource"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G&&void 0!==E.checkResource&&!(E.checkResource instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},71633:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("parse"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.parse&&!(E.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},80274:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.debug){const N=0;if("boolean"!=typeof E.debug)return e.errors=[{params:{type:"boolean"}}],!1;var G=0===N}else G=!0;if(G){if(void 0!==E.minimize){const N=0;if("boolean"!=typeof E.minimize)return e.errors=[{params:{type:"boolean"}}],!1;G=0===N}else G=!0;if(G)if(void 0!==E.options){let R=E.options;const j=0;if(0===j){if(!R||"object"!=typeof R||Array.isArray(R))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==R.context){let E=R.context;if("string"!=typeof E)return e.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!0!==N.test(E))return e.errors=[{params:{}}],!1}}G=0===j}else G=!0}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},73971:E=>{"use strict";E.exports=t,E.exports["default"]=t;const N={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},R=Object.prototype.hasOwnProperty;function r(E,{instancePath:j="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const j=ae;for(const j in E)if(!R.call(N,j))return r.errors=[{params:{additionalProperty:j}}],!1;if(j===ae){if(void 0!==E.activeModules){const N=ae;if("boolean"!=typeof E.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var ce=N===ae}else ce=!0;if(ce){if(void 0!==E.dependencies){const N=ae;if("boolean"!=typeof E.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.dependenciesCount){let N=E.dependenciesCount;const R=ae;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.entries){const N=ae;if("boolean"!=typeof E.entries)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.handler){const N=ae,R=ae;let j=!1,$=null;const q=ae;if(!(E.handler instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae&&(j=!0,$=0),!j){const E={params:{passingSchemas:$}};return null===ie?ie=[E]:ie.push(E),ae++,r.errors=ie,!1}ae=R,null!==ie&&(R?ie.length=R:ie=null),ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modules){const N=ae;if("boolean"!=typeof E.modules)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modulesCount){let N=E.modulesCount;const R=ae;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.percentBy){let N=E.percentBy;const R=ae;if("entries"!==N&&"modules"!==N&&"dependencies"!==N&&null!==N)return r.errors=[{params:{}}],!1;ce=R===ae}else ce=!0;if(ce)if(void 0!==E.profile){let N=E.profile;const R=ae;if(!0!==N&&!1!==N&&null!==N)return r.errors=[{params:{}}],!1;ce=R===ae}else ce=!0}}}}}}}}}}return r.errors=ie,0===ae}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}},68337:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=l,E.exports["default"]=l;const R={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},j=Object.prototype.hasOwnProperty;function s(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G,$=G;let ie=!1,ae=null;const ce=G,_e=G;let Ee=!1;const Te=G;if(!(N instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=Te===G;if(Ee=Ee||le,!Ee){const E=G;if(G===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=E===G,Ee=Ee||le}if(Ee)G=_e,null!==q&&(_e?q.length=_e:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ce===G&&(ie=!0,ae=0),ie)G=$,null!==q&&($?q.length=$:q=null);else{const E={params:{passingSchemas:ae}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G,R=G;let j=!1;const $=G;if(!(E instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var Ee=$===G;if(j=j||Ee,!j){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=N===G,j=j||Ee}if(j)G=R,null!==q&&(R?q.length=R:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,s.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),s.errors=q,0===G}function l(E,{instancePath:$="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,ce=0;if(0===ce){if(!E||"object"!=typeof E||Array.isArray(E))return l.errors=[{params:{type:"object"}}],!1;{const q=ce;for(const N in E)if(!j.call(R,N))return l.errors=[{params:{additionalProperty:N}}],!1;if(q===ce){if(void 0!==E.append){let N=E.append;const R=ce,j=ce;let $=!1;const q=ce;if(!1!==N&&null!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var le=q===ce;if($=$||le,!$){const E=ce;if(ce===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}le=E===ce,$=$||le}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,l.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null);var _e=R===ce}else _e=!0;if(_e){if(void 0!==E.columns){const N=ce;if("boolean"!=typeof E.columns)return l.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.exclude){const N=ce,R=ce;let j=!1,q=null;const G=ce;if(s(E.exclude,{instancePath:$+"/exclude",parentData:E,parentDataProperty:"exclude",rootData:ie})||(ae=null===ae?s.errors:ae.concat(s.errors),ce=ae.length),G===ce&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ae?ae=[E]:ae.push(E),ce++,l.errors=ae,!1}ce=R,null!==ae&&(R?ae.length=R:ae=null),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.fallbackModuleFilenameTemplate){let N=E.fallbackModuleFilenameTemplate;const R=ce,j=ce;let $=!1;const q=ce;if(ce===q)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}var Ee=q===ce;if($=$||Ee,!$){const E=ce;if(!(N instanceof Function)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ee=E===ce,$=$||Ee}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,l.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null),_e=R===ce}else _e=!0;if(_e){if(void 0!==E.fileContext){const N=ce;if("string"!=typeof E.fileContext)return l.errors=[{params:{type:"string"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.filename){let R=E.filename;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R&&null!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Te=G===ce;if(q=q||Te,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}else if(R.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Te=E===ce,q=q||Te}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,l.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.include){const N=ce,R=ce;let j=!1,q=null;const G=ce;if(s(E.include,{instancePath:$+"/include",parentData:E,parentDataProperty:"include",rootData:ie})||(ae=null===ae?s.errors:ae.concat(s.errors),ce=ae.length),G===ce&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ae?ae=[E]:ae.push(E),ce++,l.errors=ae,!1}ce=R,null!==ae&&(R?ae.length=R:ae=null),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.module){const N=ce;if("boolean"!=typeof E.module)return l.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.moduleFilenameTemplate){let N=E.moduleFilenameTemplate;const R=ce,j=ce;let $=!1;const q=ce;if(ce===q)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}var we=q===ce;if($=$||we,!$){const E=ce;if(!(N instanceof Function)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}we=E===ce,$=$||we}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,l.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null),_e=R===ce}else _e=!0;if(_e){if(void 0!==E.namespace){const N=ce;if("string"!=typeof E.namespace)return l.errors=[{params:{type:"string"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.noSources){const N=ce;if("boolean"!=typeof E.noSources)return l.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.publicPath){const N=ce;if("string"!=typeof E.publicPath)return l.errors=[{params:{type:"string"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.sourceRoot){const N=ce;if("string"!=typeof E.sourceRoot)return l.errors=[{params:{type:"string"}}],!1;_e=N===ce}else _e=!0;if(_e)if(void 0!==E.test){const N=ce;s(E.test,{instancePath:$+"/test",parentData:E,parentDataProperty:"test",rootData:ie})||(ae=null===ae?s.errors:ae.concat(s.errors),ce=ae.length),_e=N===ce}else _e=!0}}}}}}}}}}}}}}}return l.errors=ae,0===ce}},12798:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.paths&&(N="paths"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=G;for(const N in E)if("paths"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.paths){let N=E.paths;if(G==G){if(!Array.isArray(N))return r.errors=[{params:{type:"array"}}],!1;if(N.length<1)return r.errors=[{params:{limit:1}}],!1;{const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=G,$=G;let ae=!1;const ce=G;if(!(E instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ie=ce===G;if(ae=ae||ie,!ae){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G,ae=ae||ie}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}}}}}}return r.errors=q,0===G}E.exports=r,E.exports["default"]=r},68707:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}function r(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const j=ie;for(const N in E)if("dataUrl"!==N&&"emit"!==N&&"filename"!==N&&"publicPath"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(j===ie){if(void 0!==E.dataUrl){const N=ie;n(E.dataUrl,{instancePath:R+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:q})||(G=null===G?n.errors:G.concat(n.errors),ie=G.length);var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return r.errors=G,0===ie}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},3720:E=>{"use strict";function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("dataUrl"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;R===G&&void 0!==E.dataUrl&&(t(E.dataUrl,{instancePath:N+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length))}}return r.errors=q,0===G}function a(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),a.errors=q,0===G}E.exports=a,E.exports["default"]=a},33605:E=>{"use strict";function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("dataUrlCondition"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.dataUrlCondition){let N=E.dataUrlCondition;const R=G;let j=!1;const $=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("maxSize"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G&&void 0!==N.maxSize){let E=N.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=$===G;if(j=j||ie,!j){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,j=j||ie}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=R,null!==q&&(R?q.length=R:q=null)}}}return t.errors=q,0===G}function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return t(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),r.errors=q,0===G}E.exports=r,E.exports["default"]=r},87441:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("emit"!==N&&"filename"!==N&&"publicPath"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}return r.errors=G,0===ie}function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),n.errors=q,0===G}E.exports=n,E.exports["default"]=n},28633:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return t.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=0;if("string"!=typeof N)return t.errors=[{params:{type:"string"}}],!1;if(N.length<1)return t.errors=[{params:{}}],!1;if(0!==j)break}}return t.errors=null,!0}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.import&&(R="import"))return e.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("import"!==N&&"name"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.import){let R=E.import;const j=G,ce=G;let le=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var ie=_e===G;if(le=le||ie,!le){const j=G;t(R,{instancePath:N+"/import",parentData:E,parentDataProperty:"import",rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),ie=j===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}G=ce,null!==q&&(ce?q.length=ce:q=null);var ae=j===G}else ae=!0;if(ae)if(void 0!==E.name){const N=G;if("string"!=typeof E.name)return e.errors=[{params:{type:"string"}}],!1;ae=N===G}else ae=!0}}}}return e.errors=q,0===G}function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return n.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;e(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?e.errors:q.concat(e.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const ae=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(ie=ae===G,le=le||ie,!le){const ae=G;t(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),ie=ae===G,le=le||ie}}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return n.errors=q,0===G}function s(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const ie=G,ae=G;let ce=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=_e===G;if(ce=ce||le,!ce){const ie=G;n(R,{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?n.errors:q.concat(n.errors),G=q.length),le=ie===G,ce=ce||le}if(ce)G=ae,null!==q&&(ae?q.length=ae:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ie!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const ie=G;n(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?n.errors:q.concat(n.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,s.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),s.errors=q,0===G}function a(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){const N=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs){const N=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs2){const N=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e)if(void 0!==E.root){const N=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,a.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),a.errors=q,0===G}function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G;if(G===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(le=N===G,ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){let N=E.amd;const R=G;if(G===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=R===G}else _e=!0;if(_e){if(void 0!==E.commonjs){let N=E.commonjs;const R=G;if(G===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0;if(_e)if(void 0!==E.root){let N=E.root;const R=G,j=G;let $=!1;const ie=G;if(G===ie)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=G;if(G===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ee=ie===G;if($=$||Ee,!$){const E=G;if(G===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=E===G,$=$||Ee}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}function l(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return l.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.type&&(R="type"))return l.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("auxiliaryComment"!==N&&"export"!==N&&"name"!==N&&"type"!==N&&"umdNamedDefine"!==N)return l.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.auxiliaryComment){const R=G;a(E.auxiliaryComment,{instancePath:N+"/auxiliaryComment",parentData:E,parentDataProperty:"auxiliaryComment",rootData:$})||(q=null===q?a.errors:q.concat(a.errors),G=q.length);var ie=R===G}else ie=!0;if(ie){if(void 0!==E.export){let N=E.export;const R=G,j=G;let $=!1;const ce=G;if(G===ce)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=G;if(G===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const E=G;if(G===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,$=$||ae}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,l.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.name){const R=G;o(E.name,{instancePath:N+"/name",parentData:E,parentDataProperty:"name",rootData:$})||(q=null===q?o.errors:q.concat(o.errors),G=q.length),ie=R===G}else ie=!0;if(ie){if(void 0!==E.type){let N=E.type;const R=G,j=G;let $=!1;const ae=G;if("var"!==N&&"module"!==N&&"assign"!==N&&"assign-properties"!==N&&"this"!==N&&"window"!==N&&"self"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=ae===G;if($=$||ce,!$){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,$=$||ce}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,l.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie)if(void 0!==E.umdNamedDefine){const N=G;if("boolean"!=typeof E.umdNamedDefine)return l.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0}}}}}}}return l.errors=q,0===G}function i(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return i.errors=[{params:{type:"object"}}],!1;{let j;if(void 0===E.name&&(j="name")||void 0===E.exposes&&(j="exposes"))return i.errors=[{params:{missingProperty:j}}],!1;{const j=ie;for(const N in E)if("exposes"!==N&&"filename"!==N&&"library"!==N&&"name"!==N&&"runtime"!==N&&"shareScope"!==N)return i.errors=[{params:{additionalProperty:N}}],!1;if(j===ie){if(void 0!==E.exposes){const N=ie;s(E.exposes,{instancePath:R+"/exposes",parentData:E,parentDataProperty:"exposes",rootData:q})||(G=null===G?s.errors:G.concat(s.errors),ie=G.length);var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie;if(ie===j){if("string"!=typeof R)return i.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return i.errors=[{params:{}}],!1;if(R.length<1)return i.errors=[{params:{}}],!1}ae=j===ie}else ae=!0;if(ae){if(void 0!==E.library){const N=ie;l(E.library,{instancePath:R+"/library",parentData:E,parentDataProperty:"library",rootData:q})||(G=null===G?l.errors:G.concat(l.errors),ie=G.length),ae=N===ie}else ae=!0;if(ae){if(void 0!==E.name){let N=E.name;const R=ie;if(ie===R){if("string"!=typeof N)return i.errors=[{params:{type:"string"}}],!1;if(N.length<1)return i.errors=[{params:{}}],!1}ae=R===ie}else ae=!0;if(ae){if(void 0!==E.runtime){let N=E.runtime;const R=ie,j=ie;let $=!1;const q=ie;if(!1!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var ce=q===ie;if($=$||ce,!$){const E=ie;if(ie===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,$=$||ce}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,i.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae)if(void 0!==E.shareScope){let N=E.shareScope;const R=ie;if(ie===R){if("string"!=typeof N)return i.errors=[{params:{type:"string"}}],!1;if(N.length<1)return i.errors=[{params:{}}],!1}ae=R===ie}else ae=!0}}}}}}}}return i.errors=G,0===ie}E.exports=i,E.exports["default"]=i},12e3:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=0;if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1;if(0!==j)break}}return r.errors=null,!0}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.external&&(R="external"))return t.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("external"!==N&&"shareScope"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.external){let R=E.external;const j=G,ce=G;let le=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var ie=_e===G;if(le=le||ie,!le){const j=G;r(R,{instancePath:N+"/external",parentData:E,parentDataProperty:"external",rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),ie=j===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=ce,null!==q&&(ce?q.length=ce:q=null);var ae=j===G}else ae=!0;if(ae)if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return t.errors=[{params:{type:"string"}}],!1;if(N.length<1)return t.errors=[{params:{}}],!1}ae=R===G}else ae=!0}}}}return t.errors=q,0===G}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;t(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const ae=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(ie=ae===G,le=le||ie,!le){const ae=G;r(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),ie=ae===G,le=le||ie}}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return e.errors=q,0===G}function a(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const ie=G,ae=G;let ce=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=_e===G;if(ce=ce||le,!ce){const ie=G;e(R,{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?e.errors:q.concat(e.errors),G=q.length),le=ie===G,ce=ce||le}if(ce)G=ae,null!==q&&(ae?q.length=ae:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ie!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const ie=G;e(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?e.errors:q.concat(e.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,a.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),a.errors=q,0===G}function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return n.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.remoteType&&(R="remoteType")||void 0===E.remotes&&(R="remotes"))return n.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("remoteType"!==N&&"remotes"!==N&&"shareScope"!==N)return n.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.remoteType){let N=E.remoteType;const R=G,j=G;let $=!1,ae=null;const ce=G;if("var"!==N&&"module"!==N&&"assign"!==N&&"this"!==N&&"window"!==N&&"self"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N&&"promise"!==N&&"import"!==N&&"script"!==N&&"node-commonjs"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ce===G&&($=!0,ae=0),!$){const E={params:{passingSchemas:ae}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null);var ie=R===G}else ie=!0;if(ie){if(void 0!==E.remotes){const R=G;a(E.remotes,{instancePath:N+"/remotes",parentData:E,parentDataProperty:"remotes",rootData:$})||(q=null===q?a.errors:q.concat(a.errors),G=q.length),ie=R===G}else ie=!0;if(ie)if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return n.errors=[{params:{type:"string"}}],!1;if(N.length<1)return n.errors=[{params:{}}],!1}ie=R===G}else ie=!0}}}}}return n.errors=q,0===G}E.exports=n,E.exports["default"]=n},92483:E=>{"use strict";function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){return"var"!==E&&"module"!==E&&"assign"!==E&&"this"!==E&&"window"!==E&&"self"!==E&&"global"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"commonjs-module"!==E&&"amd"!==E&&"amd-require"!==E&&"umd"!==E&&"umd2"!==E&&"jsonp"!==E&&"system"!==E&&"promise"!==E&&"import"!==E&&"script"!==E&&"node-commonjs"!==E?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}E.exports=o,E.exports["default"]=o},43329:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=d,E.exports["default"]=d;const R={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},j=Object.prototype.hasOwnProperty;function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return n.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=0;if("string"!=typeof N)return n.errors=[{params:{type:"string"}}],!1;if(N.length<1)return n.errors=[{params:{}}],!1;if(0!==j)break}}return n.errors=null,!0}function a(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return a.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.import&&(R="import"))return a.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("import"!==N&&"name"!==N)return a.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.import){let R=E.import;const j=G,ce=G;let le=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var ie=_e===G;if(le=le||ie,!le){const j=G;n(R,{instancePath:N+"/import",parentData:E,parentDataProperty:"import",rootData:$})||(q=null===q?n.errors:q.concat(n.errors),G=q.length),ie=j===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,a.errors=q,!1}G=ce,null!==q&&(ce?q.length=ce:q=null);var ae=j===G}else ae=!0;if(ae)if(void 0!==E.name){const N=G;if("string"!=typeof E.name)return a.errors=[{params:{type:"string"}}],!1;ae=N===G}else ae=!0}}}}return a.errors=q,0===G}function s(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return s.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;a(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?a.errors:q.concat(a.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const ae=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(ie=ae===G,le=le||ie,!le){const ae=G;n(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?n.errors:q.concat(n.errors),G=q.length),ie=ae===G,le=le||ie}}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,s.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return s.errors=q,0===G}function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const ie=G,ae=G;let ce=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=_e===G;if(ce=ce||le,!ce){const ie=G;s(R,{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),le=ie===G,ce=ce||le}if(ce)G=ae,null!==q&&(ae?q.length=ae:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ie!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const ie=G;s(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}function l(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){const N=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs){const N=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs2){const N=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e)if(void 0!==E.root){const N=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,l.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),l.errors=q,0===G}function i(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=G;if(G===j)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(le=N===G,ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){let N=E.amd;const R=G;if(G===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=R===G}else _e=!0;if(_e){if(void 0!==E.commonjs){let N=E.commonjs;const R=G;if(G===R)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0;if(_e)if(void 0!==E.root){let N=E.root;const R=G,j=G;let $=!1;const ie=G;if(G===ie)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=G;if(G===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ee=ie===G;if($=$||Ee,!$){const E=G;if(G===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=E===G,$=$||Ee}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,i.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),i.errors=q,0===G}function p(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return p.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.type&&(R="type"))return p.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("auxiliaryComment"!==N&&"export"!==N&&"name"!==N&&"type"!==N&&"umdNamedDefine"!==N)return p.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.auxiliaryComment){const R=G;l(E.auxiliaryComment,{instancePath:N+"/auxiliaryComment",parentData:E,parentDataProperty:"auxiliaryComment",rootData:$})||(q=null===q?l.errors:q.concat(l.errors),G=q.length);var ie=R===G}else ie=!0;if(ie){if(void 0!==E.export){let N=E.export;const R=G,j=G;let $=!1;const ce=G;if(G===ce)if(Array.isArray(N)){const E=N.length;for(let R=0;R<E;R++){let E=N[R];const j=G;if(G===j)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(j!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const E=G;if(G===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,$=$||ae}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.name){const R=G;i(E.name,{instancePath:N+"/name",parentData:E,parentDataProperty:"name",rootData:$})||(q=null===q?i.errors:q.concat(i.errors),G=q.length),ie=R===G}else ie=!0;if(ie){if(void 0!==E.type){let N=E.type;const R=G,j=G;let $=!1;const ae=G;if("var"!==N&&"module"!==N&&"assign"!==N&&"assign-properties"!==N&&"this"!==N&&"window"!==N&&"self"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=ae===G;if($=$||ce,!$){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,$=$||ce}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie)if(void 0!==E.umdNamedDefine){const N=G;if("boolean"!=typeof E.umdNamedDefine)return p.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0}}}}}}}return p.errors=q,0===G}function f(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return f.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R<N;R++){let N=E[R];const j=0;if("string"!=typeof N)return f.errors=[{params:{type:"string"}}],!1;if(N.length<1)return f.errors=[{params:{}}],!1;if(0!==j)break}}return f.errors=null,!0}function u(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return u.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.external&&(R="external"))return u.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("external"!==N&&"shareScope"!==N)return u.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.external){let R=E.external;const j=G,ce=G;let le=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var ie=_e===G;if(le=le||ie,!le){const j=G;f(R,{instancePath:N+"/external",parentData:E,parentDataProperty:"external",rootData:$})||(q=null===q?f.errors:q.concat(f.errors),G=q.length),ie=j===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,u.errors=q,!1}G=ce,null!==q&&(ce?q.length=ce:q=null);var ae=j===G}else ae=!0;if(ae)if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return u.errors=[{params:{type:"string"}}],!1;if(N.length<1)return u.errors=[{params:{}}],!1}ae=R===G}else ae=!0}}}}return u.errors=q,0===G}function c(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return c.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;u(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?u.errors:q.concat(u.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const ae=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}if(ie=ae===G,le=le||ie,!le){const ae=G;f(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?f.errors:q.concat(f.errors),G=q.length),ie=ae===G,le=le||ie}}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,c.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return c.errors=q,0===G}function m(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const ie=G,ae=G;let ce=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=_e===G;if(ce=ce||le,!ce){const ie=G;c(R,{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?c.errors:q.concat(c.errors),G=q.length),le=ie===G,ce=ce||le}if(ce)G=ae,null!==q&&(ae?q.length=ae:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ie!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const ie=G;c(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?c.errors:q.concat(c.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,m.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),m.errors=q,0===G}const $={eager:{type:"boolean"},import:{anyOf:[{enum:[!1]},{$ref:"#/definitions/SharedItem"}]},packageName:{type:"string",minLength:1},requiredVersion:{anyOf:[{enum:[!1]},{type:"string"}]},shareKey:{type:"string",minLength:1},shareScope:{type:"string",minLength:1},singleton:{type:"boolean"},strictVersion:{type:"boolean"},version:{anyOf:[{enum:[!1]},{type:"string"}]}};function h(E,{instancePath:N="",parentData:R,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;{const N=ae;for(const N in E)if(!j.call($,N))return h.errors=[{params:{additionalProperty:N}}],!1;if(N===ae){if(void 0!==E.eager){const N=ae;if("boolean"!=typeof E.eager)return h.errors=[{params:{type:"boolean"}}],!1;var ce=N===ae}else ce=!0;if(ce){if(void 0!==E.import){let N=E.import;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var le=q===ae;if($=$||le,!$){const E=ae;if(ae==ae)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}le=E===ae,$=$||le}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,h.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.packageName){let N=E.packageName;const R=ae;if(ae===R){if("string"!=typeof N)return h.errors=[{params:{type:"string"}}],!1;if(N.length<1)return h.errors=[{params:{}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.requiredVersion){let N=E.requiredVersion;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var _e=q===ae;if($=$||_e,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,$=$||_e}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,h.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.shareKey){let N=E.shareKey;const R=ae;if(ae===R){if("string"!=typeof N)return h.errors=[{params:{type:"string"}}],!1;if(N.length<1)return h.errors=[{params:{}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.shareScope){let N=E.shareScope;const R=ae;if(ae===R){if("string"!=typeof N)return h.errors=[{params:{type:"string"}}],!1;if(N.length<1)return h.errors=[{params:{}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.singleton){const N=ae;if("boolean"!=typeof E.singleton)return h.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.strictVersion){const N=ae;if("boolean"!=typeof E.strictVersion)return h.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce)if(void 0!==E.version){let N=E.version;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if($=$||Ee,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,$=$||Ee}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,h.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0}}}}}}}}}}return h.errors=ie,0===ae}function g(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return g.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;h(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?h.errors:q.concat(h.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const E=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,g.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return g.errors=q,0===G}function D(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const ie=G,ae=G;let ce=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=_e===G;if(ce=ce||le,!ce){const ie=G;g(R,{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),le=ie===G,ce=ce||le}if(ce)G=ae,null!==q&&(ae?q.length=ae:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ie!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const ie=G;g(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,D.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),D.errors=q,0===G}function d(E,{instancePath:$="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,ce=0;if(0===ce){if(!E||"object"!=typeof E||Array.isArray(E))return d.errors=[{params:{type:"object"}}],!1;{const q=ce;for(const N in E)if(!j.call(R,N))return d.errors=[{params:{additionalProperty:N}}],!1;if(q===ce){if(void 0!==E.exposes){const N=ce;o(E.exposes,{instancePath:$+"/exposes",parentData:E,parentDataProperty:"exposes",rootData:ie})||(ae=null===ae?o.errors:ae.concat(o.errors),ce=ae.length);var le=N===ce}else le=!0;if(le){if(void 0!==E.filename){let R=E.filename;const j=ce;if(ce===j){if("string"!=typeof R)return d.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return d.errors=[{params:{}}],!1}le=j===ce}else le=!0;if(le){if(void 0!==E.library){const N=ce;p(E.library,{instancePath:$+"/library",parentData:E,parentDataProperty:"library",rootData:ie})||(ae=null===ae?p.errors:ae.concat(p.errors),ce=ae.length),le=N===ce}else le=!0;if(le){if(void 0!==E.name){const N=ce;if("string"!=typeof E.name)return d.errors=[{params:{type:"string"}}],!1;le=N===ce}else le=!0;if(le){if(void 0!==E.remoteType){let N=E.remoteType;const R=ce,j=ce;let $=!1,q=null;const G=ce;if("var"!==N&&"module"!==N&&"assign"!==N&&"this"!==N&&"window"!==N&&"self"!==N&&"global"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"commonjs-module"!==N&&"amd"!==N&&"amd-require"!==N&&"umd"!==N&&"umd2"!==N&&"jsonp"!==N&&"system"!==N&&"promise"!==N&&"import"!==N&&"script"!==N&&"node-commonjs"!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}if(G===ce&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ae?ae=[E]:ae.push(E),ce++,d.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null),le=R===ce}else le=!0;if(le){if(void 0!==E.remotes){const N=ce;m(E.remotes,{instancePath:$+"/remotes",parentData:E,parentDataProperty:"remotes",rootData:ie})||(ae=null===ae?m.errors:ae.concat(m.errors),ce=ae.length),le=N===ce}else le=!0;if(le){if(void 0!==E.runtime){let N=E.runtime;const R=ce,j=ce;let $=!1;const q=ce;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var _e=q===ce;if($=$||_e,!$){const E=ce;if(ce===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}_e=E===ce,$=$||_e}if(!$){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,d.errors=ae,!1}ce=j,null!==ae&&(j?ae.length=j:ae=null),le=R===ce}else le=!0;if(le){if(void 0!==E.shareScope){let N=E.shareScope;const R=ce;if(ce===R){if("string"!=typeof N)return d.errors=[{params:{type:"string"}}],!1;if(N.length<1)return d.errors=[{params:{}}],!1}le=R===ce}else le=!0;if(le)if(void 0!==E.shared){const N=ce;D(E.shared,{instancePath:$+"/shared",parentData:E,parentDataProperty:"shared",rootData:ie})||(ae=null===ae?D.errors:ae.concat(D.errors),ce=ae.length),le=N===ce}else le=!0}}}}}}}}}}return d.errors=ae,0===ce}},2282:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const R=0;for(const N in E)if("outputPath"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(0===R&&void 0!==E.outputPath){let R=E.outputPath;if("string"!=typeof R)return t.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}E.exports=t,E.exports["default"]=t},18511:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("prioritiseInitial"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},52042:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("prioritiseInitial"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},77593:E=>{"use strict";function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"maxSize"!==N&&"minSize"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.maxSize){let N=E.maxSize;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.minSize){let N=E.minSize;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0}}}}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},72713:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.maxChunks&&(N="maxChunks"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"maxChunks"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.maxChunks){let N=E.maxChunks;const R=0;if(0===R){if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return r.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===R}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},83889:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.minChunkSize&&(N="minChunkSize"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"minChunkSize"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.minChunkSize){let N=E.minChunkSize;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},44363:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=n,E.exports["default"]=n;const R=new RegExp("^https?://","u");function e(E,{instancePath:j="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let j;if(void 0===E.allowedUris&&(j="allowedUris"))return e.errors=[{params:{missingProperty:j}}],!1;{const j=ae;for(const N in E)if("allowedUris"!==N&&"cacheLocation"!==N&&"frozen"!==N&&"lockfileLocation"!==N&&"upgrade"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(j===ae){if(void 0!==E.allowedUris){let N=E.allowedUris;const j=ae;if(ae==ae){if(!Array.isArray(N))return e.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let j=0;j<E;j++){let E=N[j];const $=ae,q=ae;let G=!1;const le=ae;if(!(E instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var ce=le===ae;if(G=G||ce,!G){const N=ae;if(ae===N)if("string"==typeof E){if(!R.test(E)){const E={params:{pattern:"^https?://"}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(ce=N===ae,G=G||ce,!G){const N=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ce=N===ae,G=G||ce}}if(!G){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,e.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),$!==ae)break}}}var le=j===ae}else le=!0;if(le){if(void 0!==E.cacheLocation){let R=E.cacheLocation;const j=ae,$=ae;let q=!1;const G=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var _e=G===ae;if(q=q||_e,!q){const E=ae;if(ae===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,q=q||_e}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,e.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=j===ae}else le=!0;if(le){if(void 0!==E.frozen){const N=ae;if("boolean"!=typeof E.frozen)return e.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.lockfileLocation){let R=E.lockfileLocation;const j=ae;if(ae===j){if("string"!=typeof R)return e.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return e.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le)if(void 0!==E.upgrade){const N=ae;if("boolean"!=typeof E.upgrade)return e.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0}}}}}}}return e.errors=ie,0===ae}function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1,ce=null;const le=G;if(e(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?e.errors:q.concat(e.errors),G=q.length),le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}},37411:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("eager"!==N&&"import"!==N&&"packageName"!==N&&"requiredVersion"!==N&&"shareKey"!==N&&"shareScope"!==N&&"singleton"!==N&&"strictVersion"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.eager){const N=G;if("boolean"!=typeof E.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ie=N===G}else ie=!0;if(ie){if(void 0!==E.import){let N=E.import;const R=G,j=G;let $=!1;const ce=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const E=G;if(G==G)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,$=$||ae}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.packageName){let N=E.packageName;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.requiredVersion){let N=E.requiredVersion;const R=G,j=G;let $=!1;const ae=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=ae===G;if($=$||ce,!$){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,$=$||ce}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.shareKey){let N=E.shareKey;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.singleton){const N=G;if("boolean"!=typeof E.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0;if(ie)if(void 0!==E.strictVersion){const N=G;if("boolean"!=typeof E.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0}}}}}}}}}return r.errors=q,0===G}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;r(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const E=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return e.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const ie=G,ae=G;let ce=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=_e===G;if(ce=ce||le,!ce){const ie=G;e(R,{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?e.errors:q.concat(e.errors),G=q.length),le=ie===G,ce=ce||le}if(ce)G=ae,null!==q&&(ae?q.length=ae:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ie!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const ie=G;e(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?e.errors:q.concat(e.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return n.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.consumes&&(R="consumes"))return n.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("consumes"!==N&&"shareScope"!==N)return n.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.consumes){const R=G;t(E.consumes,{instancePath:N+"/consumes",parentData:E,parentDataProperty:"consumes",rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length);var ie=R===G}else ie=!0;if(ie)if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return n.errors=[{params:{type:"string"}}],!1;if(N.length<1)return n.errors=[{params:{}}],!1}ie=R===G}else ie=!0}}}}return n.errors=q,0===G}E.exports=n,E.exports["default"]=n},95435:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;for(const N in E){let R=E[N];const j=G,$=G;let le=!1;const _e=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R)){const E=G;for(const E in R)if("eager"!==E&&"shareKey"!==E&&"shareScope"!==E&&"version"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==R.eager){const E=G;if("boolean"!=typeof R.eager){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}var ie=E===G}else ie=!0;if(ie){if(void 0!==R.shareKey){let E=R.shareKey;const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie){if(void 0!==R.shareScope){let E=R.shareScope;const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie)if(void 0!==R.version){let E=R.version;const N=G,j=G;let $=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=N===G,$=$||ae}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ce=_e===G;if(le=le||ce,!le){const E=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,le=le||ce}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}return r.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j<R;j++){let R=E[j];const ie=G,ae=G;let ce=!1;const _e=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=_e===G;if(ce=ce||le,!ce){const ie=G;r(R,{instancePath:N+"/"+j,parentData:E,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),le=ie===G,ce=ce||le}if(ce)G=ae,null!==q&&(ae?q.length=ae:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(ie!==G)break}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const ie=G;r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.provides&&(R="provides"))return e.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const N in E)if("provides"!==N&&"shareScope"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(R===G){if(void 0!==E.provides){const R=G;t(E.provides,{instancePath:N+"/provides",parentData:E,parentDataProperty:"provides",rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length);var ie=R===G}else ie=!0;if(ie)if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return e.errors=[{params:{type:"string"}}],!1;if(N.length<1)return e.errors=[{params:{}}],!1}ie=R===G}else ie=!0}}}}return e.errors=q,0===G}E.exports=e,E.exports["default"]=e},64200:E=>{"use strict";E.exports=function(E){E.prototype[Symbol.iterator]=function*(){for(let E=this.head;E;E=E.next){yield E.value}}}},83314:(E,N,R)=>{"use strict";E.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(E){var N=this;if(!(N instanceof Yallist)){N=new Yallist}N.tail=null;N.head=null;N.length=0;if(E&&typeof E.forEach==="function"){E.forEach((function(E){N.push(E)}))}else if(arguments.length>0){for(var R=0,j=arguments.length;R<j;R++){N.push(arguments[R])}}return N}Yallist.prototype.removeNode=function(E){if(E.list!==this){throw new Error("removing node which does not belong to this list")}var N=E.next;var R=E.prev;if(N){N.prev=R}if(R){R.next=N}if(E===this.head){this.head=N}if(E===this.tail){this.tail=R}E.list.length--;E.next=null;E.prev=null;E.list=null;return N};Yallist.prototype.unshiftNode=function(E){if(E===this.head){return}if(E.list){E.list.removeNode(E)}var N=this.head;E.list=this;E.next=N;if(N){N.prev=E}this.head=E;if(!this.tail){this.tail=E}this.length++};Yallist.prototype.pushNode=function(E){if(E===this.tail){return}if(E.list){E.list.removeNode(E)}var N=this.tail;E.list=this;E.prev=N;if(N){N.next=E}this.tail=E;if(!this.head){this.head=E}this.length++};Yallist.prototype.push=function(){for(var E=0,N=arguments.length;E<N;E++){push(this,arguments[E])}return this.length};Yallist.prototype.unshift=function(){for(var E=0,N=arguments.length;E<N;E++){unshift(this,arguments[E])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var E=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return E};Yallist.prototype.shift=function(){if(!this.head){return undefined}var E=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return E};Yallist.prototype.forEach=function(E,N){N=N||this;for(var R=this.head,j=0;R!==null;j++){E.call(N,R.value,j,this);R=R.next}};Yallist.prototype.forEachReverse=function(E,N){N=N||this;for(var R=this.tail,j=this.length-1;R!==null;j--){E.call(N,R.value,j,this);R=R.prev}};Yallist.prototype.get=function(E){for(var N=0,R=this.head;R!==null&&N<E;N++){R=R.next}if(N===E&&R!==null){return R.value}};Yallist.prototype.getReverse=function(E){for(var N=0,R=this.tail;R!==null&&N<E;N++){R=R.prev}if(N===E&&R!==null){return R.value}};Yallist.prototype.map=function(E,N){N=N||this;var R=new Yallist;for(var j=this.head;j!==null;){R.push(E.call(N,j.value,this));j=j.next}return R};Yallist.prototype.mapReverse=function(E,N){N=N||this;var R=new Yallist;for(var j=this.tail;j!==null;){R.push(E.call(N,j.value,this));j=j.prev}return R};Yallist.prototype.reduce=function(E,N){var R;var j=this.head;if(arguments.length>1){R=N}else if(this.head){j=this.head.next;R=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var $=0;j!==null;$++){R=E(R,j.value,$);j=j.next}return R};Yallist.prototype.reduceReverse=function(E,N){var R;var j=this.tail;if(arguments.length>1){R=N}else if(this.tail){j=this.tail.prev;R=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var $=this.length-1;j!==null;$--){R=E(R,j.value,$);j=j.prev}return R};Yallist.prototype.toArray=function(){var E=new Array(this.length);for(var N=0,R=this.head;R!==null;N++){E[N]=R.value;R=R.next}return E};Yallist.prototype.toArrayReverse=function(){var E=new Array(this.length);for(var N=0,R=this.tail;R!==null;N++){E[N]=R.value;R=R.prev}return E};Yallist.prototype.slice=function(E,N){N=N||this.length;if(N<0){N+=this.length}E=E||0;if(E<0){E+=this.length}var R=new Yallist;if(N<E||N<0){return R}if(E<0){E=0}if(N>this.length){N=this.length}for(var j=0,$=this.head;$!==null&&j<E;j++){$=$.next}for(;$!==null&&j<N;j++,$=$.next){R.push($.value)}return R};Yallist.prototype.sliceReverse=function(E,N){N=N||this.length;if(N<0){N+=this.length}E=E||0;if(E<0){E+=this.length}var R=new Yallist;if(N<E||N<0){return R}if(E<0){E=0}if(N>this.length){N=this.length}for(var j=this.length,$=this.tail;$!==null&&j>N;j--){$=$.prev}for(;$!==null&&j>E;j--,$=$.prev){R.push($.value)}return R};Yallist.prototype.splice=function(E,N,...R){if(E>this.length){E=this.length-1}if(E<0){E=this.length+E}for(var j=0,$=this.head;$!==null&&j<E;j++){$=$.next}var q=[];for(var j=0;$&&j<N;j++){q.push($.value);$=this.removeNode($)}if($===null){$=this.tail}if($!==this.head&&$!==this.tail){$=$.prev}for(var j=0;j<R.length;j++){$=insert(this,$,R[j])}return q};Yallist.prototype.reverse=function(){var E=this.head;var N=this.tail;for(var R=E;R!==null;R=R.prev){var j=R.prev;R.prev=R.next;R.next=j}this.head=N;this.tail=E;return this};function insert(E,N,R){var j=N===E.head?new Node(R,null,N,E):new Node(R,N,N.next,E);if(j.next===null){E.tail=j}if(j.prev===null){E.head=j}E.length++;return j}function push(E,N){E.tail=new Node(N,E.tail,null,E);if(!E.head){E.head=E.tail}E.length++}function unshift(E,N){E.head=new Node(N,null,E.head,E);if(!E.tail){E.tail=E.head}E.length++}function Node(E,N,R,j){if(!(this instanceof Node)){return new Node(E,N,R,j)}this.list=j;this.value=E;if(N){N.next=this;this.prev=N}else{this.prev=null}if(R){R.prev=this;this.next=R}else{this.next=null}}try{R(64200)(Yallist)}catch(E){}},74395:E=>{class Node{constructor(E){this.value=E;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(E){const N=new Node(E);if(this._head){this._tail.next=N;this._tail=N}else{this._head=N;this._tail=N}this._size++}dequeue(){const E=this._head;if(!E){return}this._head=this._head.next;this._size--;return E.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let E=this._head;while(E){yield E.value;E=E.next}}}E.exports=Queue},32090:(E,N,R)=>{const j=R(63686);const $=j.makeLogger;j.makeLogger=function(E,N){const R=$(E,N);const j=R.logWarning;R.logWarning=function(E){if(E.indexOf("This version may or may not be compatible with ts-loader")!==-1)return;return j(E)};return R};E.exports=R(82070);E.exports.typescript=R(53779)},39491:E=>{"use strict";E.exports=require("assert")},14300:E=>{"use strict";E.exports=require("buffer")},32081:E=>{"use strict";E.exports=require("child_process")},96206:E=>{"use strict";E.exports=require("console")},22057:E=>{"use strict";E.exports=require("constants")},6113:E=>{"use strict";E.exports=require("crypto")},82361:E=>{"use strict";E.exports=require("events")},57147:E=>{"use strict";E.exports=require("fs")},13685:E=>{"use strict";E.exports=require("http")},95687:E=>{"use strict";E.exports=require("https")},31405:E=>{"use strict";E.exports=require("inspector")},22037:E=>{"use strict";E.exports=require("os")},71017:E=>{"use strict";E.exports=require("path")},4074:E=>{"use strict";E.exports=require("perf_hooks")},35125:E=>{"use strict";E.exports=require("pnpapi")},77282:E=>{"use strict";E.exports=require("process")},63477:E=>{"use strict";E.exports=require("querystring")},12781:E=>{"use strict";E.exports=require("stream")},76224:E=>{"use strict";E.exports=require("tty")},57310:E=>{"use strict";E.exports=require("url")},73837:E=>{"use strict";E.exports=require("util")},26144:E=>{"use strict";E.exports=require("vm")},71267:E=>{"use strict";E.exports=require("worker_threads")},59796:E=>{"use strict";E.exports=require("zlib")},44858:function(E,N,R){(function(E,j){true?j(N,R(37362)):0})(this,(function(E,N){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var j=_interopDefaultLegacy(N);function characters(E){return E.split("")}function member(E,N){return N.includes(E)}class DefaultsError extends Error{constructor(E,N){super();this.name="DefaultsError";this.message=E;this.defs=N}}function defaults(E,N,R){if(E===true){E={}}else if(E!=null&&typeof E==="object"){E={...E}}const j=E||{};if(R)for(const E in j)if(HOP(j,E)&&!HOP(N,E)){throw new DefaultsError("`"+E+"` is not a supported option",N)}for(const R in N)if(HOP(N,R)){if(!E||!HOP(E,R)){j[R]=N[R]}else if(R==="ecma"){let N=E[R]|0;if(N>5&&N<2015)N+=2009;j[R]=N}else{j[R]=E&&HOP(E,R)?E[R]:N[R]}}return j}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var $=function(){function MAP(N,R,j){var $=[],q=[],G;function doit(){var ie=R(N[G],G);var ae=ie instanceof Last;if(ae)ie=ie.v;if(ie instanceof AtTop){ie=ie.v;if(ie instanceof Splice){q.push.apply(q,j?ie.v.slice().reverse():ie.v)}else{q.push(ie)}}else if(ie!==E){if(ie instanceof Splice){$.push.apply($,j?ie.v.slice().reverse():ie.v)}else{$.push(ie)}}return ae}if(Array.isArray(N)){if(j){for(G=N.length;--G>=0;)if(doit())break;$.reverse();q.reverse()}else{for(G=0;G<N.length;++G)if(doit())break}}else{for(G in N)if(HOP(N,G))if(doit())break}return q.concat($)}MAP.at_top=function(E){return new AtTop(E)};MAP.splice=function(E){return new Splice(E)};MAP.last=function(E){return new Last(E)};var E=MAP.skip={};function AtTop(E){this.v=E}function Splice(E){this.v=E}function Last(E){this.v=E}return MAP}();function make_node(E,N,R){if(!R)R={};if(N){if(!R.start)R.start=N.start;if(!R.end)R.end=N.end}return new E(R)}function push_uniq(E,N){if(!E.includes(N))E.push(N)}function string_template(E,N){return E.replace(/{(.+?)}/g,(function(E,R){return N&&N[R]}))}function remove(E,N){for(var R=E.length;--R>=0;){if(E[R]===N)E.splice(R,1)}}function mergeSort(E,N){if(E.length<2)return E.slice();function merge(E,R){var j=[],$=0,q=0,G=0;while($<E.length&&q<R.length){N(E[$],R[q])<=0?j[G++]=E[$++]:j[G++]=R[q++]}if($<E.length)j.push.apply(j,E.slice($));if(q<R.length)j.push.apply(j,R.slice(q));return j}function _ms(E){if(E.length<=1)return E;var N=Math.floor(E.length/2),R=E.slice(0,N),j=E.slice(N);R=_ms(R);j=_ms(j);return merge(R,j)}return _ms(E)}function makePredicate(E){if(!Array.isArray(E))E=E.split(" ");return new Set(E.sort())}function map_add(E,N,R){if(E.has(N)){E.get(N).push(R)}else{E.set(N,[R])}}function map_from_object(E){var N=new Map;for(var R in E){if(HOP(E,R)&&R.charAt(0)==="$"){N.set(R.substr(1),E[R])}}return N}function map_to_object(E){var N=Object.create(null);E.forEach((function(E,R){N["$"+R]=E}));return N}function HOP(E,N){return Object.prototype.hasOwnProperty.call(E,N)}function keep_name(E,N){return E===true||E instanceof RegExp&&E.test(N)}var q={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function regexp_source_fix(E){return E.replace(/[\0\n\r\u2028\u2029]/g,(function(N,R){var j=E[R-1]=="\\"&&(E[R-2]!="\\"||/(?:^|[^\\])(?:\\{2})*$/.test(E.slice(0,R-1)));return(j?"":"\\")+q[N]}))}const G="gimuy";function sort_regexp_flags(E){const N=new Set(E.split(""));let R="";for(const E of G){if(N.has(E)){R+=E;N.delete(E)}}if(N.size){N.forEach((E=>{R+=E}))}return R}function has_annotation(E,N){return E._annotations&N}function set_annotation(E,N){E._annotations|=N}var ie="";var ae=true;var ce="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var le="false null true";var _e="enum implements import interface package private protected public static super this "+le+" "+ce;var Ee="return new delete throw else case yield await";ce=makePredicate(ce);_e=makePredicate(_e);Ee=makePredicate(Ee);le=makePredicate(le);var Te=makePredicate(characters("+-*&%=<>!?|~^"));var we=/[0-9a-f]/i;var Ie=/^0x[0-9a-f]+$/i;var Ne=/^0[0-7]+$/;var Me=/^0o[0-7]+$/i;var Le=/^0b[01]+$/i;var Be=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var je=/^(0[xob])?[0-9a-f]+n$/i;var Ue=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var ze=makePredicate(characters("  \n\r\t\f\v \u2028\u2029 \ufeff"));var We=makePredicate(characters("\n\r\u2028\u2029"));var Je=makePredicate(characters(";]),:"));var Ve=makePredicate(characters("[{(,;:"));var qe=makePredicate(characters("[]{}(),;:"));var He={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,N){if(is_surrogate_pair_head(E.charCodeAt(N))){if(is_surrogate_pair_tail(E.charCodeAt(N+1))){return E.charAt(N)+E.charAt(N+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(N))){if(is_surrogate_pair_head(E.charCodeAt(N-1))){return E.charAt(N-1)+E.charAt(N)}}return E.charAt(N)}function get_full_char_code(E,N){if(is_surrogate_pair_head(E.charCodeAt(N))){return 65536+(E.charCodeAt(N)-55296<<10)+E.charCodeAt(N+1)-56320}return E.charCodeAt(N)}function get_full_char_length(E){var N=0;for(var R=0;R<E.length;R++){if(is_surrogate_pair_head(E.charCodeAt(R))&&is_surrogate_pair_tail(E.charCodeAt(R+1))){N++;R++}}return E.length-N}function from_char_code(E){if(E>65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return He.ID_Start.test(E)}function is_identifier_char(E){return He.ID_Continue.test(E)}const Ge=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Ge.test(E)}function is_identifier_string(E,N){if(Ge.test(E)){return true}if(!N&&/[\ud800-\udfff]/.test(E)){return false}var R=He.ID_Start.exec(E);if(!R||R.index!==0){return false}E=E.slice(R[0].length);if(!E){return true}R=He.ID_Continue.exec(E);return!!R&&R[0].length===E.length}function parse_js_number(E,N=true){if(!N&&E.includes("e")){return NaN}if(Ie.test(E)){return parseInt(E.substr(2),16)}else if(Ne.test(E)){return parseInt(E.substr(1),8)}else if(Me.test(E)){return parseInt(E.substr(2),8)}else if(Le.test(E)){return parseInt(E.substr(2),2)}else if(Be.test(E)){return parseFloat(E)}else{var R=parseFloat(E);if(R==E)return R}}class JS_Parse_Error extends Error{constructor(E,N,R,j,$){super();this.name="SyntaxError";this.message=E;this.filename=N;this.line=R;this.col=j;this.pos=$}}function js_error(E,N,R,j,$){throw new JS_Parse_Error(E,N,R,j,$)}function is_token(E,N,R){return E.type==N&&(R==null||E.value==R)}var Ke={};function tokenizer(E,N,R,j){var $={text:E,filename:N,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char($.text,$.pos)}function is_option_chain_op(){const E=$.text.charCodeAt($.pos+1)===46;if(!E)return false;const N=$.text.charCodeAt($.pos+2);return N<48||N>57}function next(E,N){var R=get_full_char($.text,$.pos++);if(E&&!R)throw Ke;if(We.has(R)){$.newline_before=$.newline_before||!N;++$.line;$.col=0;if(R=="\r"&&peek()=="\n"){++$.pos;R="\n"}}else{if(R.length>1){++$.pos;++$.col}++$.col}return R}function forward(E){while(E--)next()}function looking_at(E){return $.text.substr($.pos,E.length)==E}function find_eol(){var E=$.text;for(var N=$.pos,R=$.text.length;N<R;++N){var j=E[N];if(We.has(j))return N}return-1}function find(E,N){var R=$.text.indexOf(E,$.pos);if(N&&R==-1)throw Ke;return R}function start_token(){$.tokline=$.line;$.tokcol=$.col;$.tokpos=$.pos}var q=false;var G=null;function token(E,R,j){$.regex_allowed=E=="operator"&&!Xe.has(R)||E=="keyword"&&Ee.has(R)||E=="punc"&&Ve.has(R)||E=="arrow";if(E=="punc"&&(R=="."||R=="?.")){q=true}else if(!j){q=false}const ie=$.tokline;const ae=$.tokcol;const ce=$.tokpos;const le=$.newline_before;const _e=N;let Te=[];let we=[];if(!j){Te=$.comments_before;we=$.comments_before=[]}$.newline_before=false;const Ie=new AST_Token(E,R,ie,ae,ce,le,Te,we,_e);if(!j)G=Ie;return Ie}function skip_whitespace(){while(ze.has(peek()))next()}function read_while(E){var N="",R,j=0;while((R=peek())&&E(R,j++))N+=next();return N}function parse_error(E){js_error(E,N,$.tokline,$.tokcol,$.tokpos)}function read_num(E){var N=false,R=false,j=false,$=E==".",q=false,G=false;var ae=read_while((function(ie,ae){if(q)return false;var ce=ie.charCodeAt(0);switch(ce){case 95:return G=true;case 98:case 66:return j=true;case 111:case 79:case 120:case 88:return j?false:j=true;case 101:case 69:return j?true:N?false:N=R=true;case 45:return R||ae==0&&!E;case 43:return R;case R=false,46:return!$&&!j&&!N?$=true:false}if(ie==="n"){q=true;return true}return we.test(ie)}));if(E)ae=E+ae;ie=ae;if(Ne.test(ae)&&next_token.has_directive("use strict")){parse_error("Legacy octal literals are not allowed in strict mode")}if(G){if(ae.endsWith("_")){parse_error("Numeric separators are not allowed at the end of numeric literals")}else if(ae.includes("__")){parse_error("Only one underscore is allowed as numeric separator")}ae=ae.replace(/_/g,"")}if(ae.endsWith("n")){const E=ae.slice(0,-1);const N=Ie.test(E);const R=parse_js_number(E,N);if(!$&&je.test(ae)&&!isNaN(R))return token("big_int",E);parse_error("Invalid or unexpected token")}var ce=parse_js_number(ae);if(!isNaN(ce)){return token("num",ce)}else{parse_error("Invalid syntax: "+ae)}}function is_octal(E){return E>="0"&&E<="7"}function read_escaped_char(E,N,R){var j=next(true,E);switch(j.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,N));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var q,G=find("}",true)-$.pos;if(G>6||(q=hex_bytes(G,N))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(q)}return String.fromCharCode(hex_bytes(4,N));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal(j)){if(R&&N){const E=j==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(j,N)}return j}function read_octal_escape_sequence(E,N){var R=peek();if(R>="0"&&R<="7"){E+=next(true);if(E[0]<="3"&&(R=peek())>="0"&&R<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&N)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,N){var R=0;for(;E>0;--E){if(!N&&isNaN(parseInt(peek(),16))){return parseInt(R,16)||""}var j=next(true);if(isNaN(parseInt(j,16)))parse_error("Invalid hex-character pattern in string");R+=j}return parseInt(R,16)}var Me=with_eof_error("Unterminated string constant",(function(){const E=$.pos;var N=next(),R=[];for(;;){var j=next(true,true);if(j=="\\")j=read_escaped_char(true,true);else if(j=="\r"||j=="\n")parse_error("Unterminated string constant");else if(j==N)break;R.push(j)}var q=token("string",R.join(""));ie=$.text.slice(E,$.pos);q.quote=N;return q}));var Le=with_eof_error("Unterminated template",(function(E){if(E){$.template_braces.push($.brace_counter)}var N="",R="",j,q;next(true,true);while((j=next(true,true))!="`"){if(j=="\r"){if(peek()=="\n")++$.pos;j="\n"}else if(j=="$"&&peek()=="{"){next(true,true);$.brace_counter++;q=token(E?"template_head":"template_substitution",N);ie=R;ae=false;return q}R+=j;if(j=="\\"){var ce=$.pos;var le=G&&(G.type==="name"||G.type==="punc"&&(G.value===")"||G.value==="]"));j=read_escaped_char(true,!le,true);R+=$.text.substr(ce,$.pos-ce)}N+=j}$.template_braces.pop();q=token(E?"template_head":"template_substitution",N);ie=R;ae=true;return q}));function skip_line_comment(E){var N=$.regex_allowed;var R=find_eol(),j;if(R==-1){j=$.text.substr($.pos);$.pos=$.text.length}else{j=$.text.substring($.pos,R);$.pos=R}$.col=$.tokcol+($.pos-$.tokpos);$.comments_before.push(token(E,j,true));$.regex_allowed=N;return next_token}var Be=with_eof_error("Unterminated multiline comment",(function(){var E=$.regex_allowed;var N=find("*/",true);var R=$.text.substring($.pos,N).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(R)+2);$.comments_before.push(token("comment2",R,true));$.newline_before=$.newline_before||R.includes("\n");$.regex_allowed=E;return next_token}));var Je=with_eof_error("Unterminated identifier name",(function(){var E=[],N,R=false;var read_escaped_identifier_char=function(){R=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((N=peek())==="\\"){N=read_escaped_identifier_char();if(!is_identifier_start(N)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(N)){next()}else{return""}E.push(N);while((N=peek())!=null){if((N=peek())==="\\"){N=read_escaped_identifier_char();if(!is_identifier_char(N)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(N)){break}next()}E.push(N)}const j=E.join("");if(_e.has(j)&&R){parse_error("Escaped characters are not allowed in keywords")}return j}));var He=with_eof_error("Unterminated regular expression",(function(E){var N=false,R,j=false;while(R=next(true))if(We.has(R)){parse_error("Unexpected line terminator")}else if(N){E+="\\"+R;N=false}else if(R=="["){j=true;E+=R}else if(R=="]"&&j){j=false;E+=R}else if(R=="/"&&!j){break}else if(R=="\\"){N=true}else{E+=R}const $=Je();return token("regexp","/"+E+"/"+$)}));function read_operator(E){function grow(E){if(!peek())return E;var N=E+peek();if(Ue.has(N)){next();return grow(N)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return Be()}return $.regex_allowed?He(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=Je();if(q)return token("name",E);return le.has(E)?token("atom",E):!ce.has(E)?token("name",E):Ue.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",Je())}function with_eof_error(E,N){return function(R){try{return N(R)}catch(N){if(N===Ke)parse_error(E);else throw N}}}function next_token(E){if(E!=null)return He(E);if(j&&$.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(R){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&$.newline_before){forward(3);skip_line_comment("comment4");continue}}var N=peek();if(!N)return token("eof");var q=N.charCodeAt(0);switch(q){case 34:case 39:return Me();case 46:return handle_dot();case 47:{var G=handle_slash();if(G===next_token)continue;return G}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Le(true);case 123:$.brace_counter++;break;case 125:$.brace_counter--;if($.template_braces.length>0&&$.template_braces[$.template_braces.length-1]===$.brace_counter)return Le(false);break}if(is_digit(q))return read_num();if(qe.has(N))return token("punc",next());if(Te.has(N))return read_operator();if(q==92||is_identifier_start(N))return read_word();if(q==35)return read_private_word();break}parse_error("Unexpected character '"+N+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)$=E;return $};next_token.add_directive=function(E){$.directive_stack[$.directive_stack.length-1].push(E);if($.directives[E]===undefined){$.directives[E]=1}else{$.directives[E]++}};next_token.push_directives_stack=function(){$.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=$.directive_stack[$.directive_stack.length-1];for(var N=0;N<E.length;N++){$.directives[E[N]]--}$.directive_stack.pop()};next_token.has_directive=function(E){return $.directives[E]>0};return next_token}var Qe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Xe=makePredicate(["--","++"]);var Ye=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var Ze=makePredicate(["??=","&&=","||="]);var et=function(E,N){for(var R=0;R<E.length;++R){var j=E[R];for(var $=0;$<j.length;++$){N[j[$]]=R+1}}return N}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var tt=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,N){const R=new WeakMap;N=defaults(N,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var j={input:typeof E=="string"?tokenizer(E,N.filename,N.html5_comments,N.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};j.token=next();function is(E,N){return is_token(j.token,E,N)}function peek(){return j.peeked||(j.peeked=j.input())}function next(){j.prev=j.token;if(!j.peeked)peek();j.token=j.peeked;j.peeked=null;j.in_directives=j.in_directives&&(j.token.type=="string"||is("punc",";"));return j.token}function prev(){return j.prev}function croak(E,N,R,$){var q=j.input.context();js_error(E,q.filename,N!=null?N:q.tokline,R!=null?R:q.tokcol,$!=null?$:q.tokpos)}function token_error(E,N){croak(N,E.line,E.col)}function unexpected(E){if(E==null)E=j.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,N){if(is(E,N)){return next()}token_error(j.token,"Unexpected token "+j.token.type+" «"+j.token.value+"»"+", expected "+E+" «"+N+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!N.strict&&(is("eof")||is("punc","}")||has_newline_before(j.token))}function is_in_generator(){return j.in_generator===j.in_function}function is_in_async(){return j.in_async===j.in_function}function can_await(){return j.in_async===j.in_function||j.in_function===0&&j.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...N){const R=j.token;const $=E(...N);$.start=R;$.end=prev();return $}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){j.peeked=null;j.token=j.input(j.token.value.substr(1))}}var $=embed_tokens((function statement(E,R,$){handle_regexp();switch(j.token.type){case"string":if(j.in_directives){var q=peek();if(!ie.includes("\\")&&(is_token(q,"punc",";")||is_token(q,"punc","}")||has_newline_before(q)||is_token(q,"eof"))){j.input.add_directive(j.token.value)}else{j.in_directives=false}}var G=j.in_directives,ae=simple_statement();return G&&ae.body instanceof mn?new ut(ae.body):ae;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(j.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(R){croak("functions are not allowed as the body of a loop")}return function_(Nt,false,true,E)}if(j.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var ce=import_();semicolon();return ce}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(j.token.value){case"{":return new ft({start:j.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":j.in_directives=false;next();return new mt;default:unexpected()}case"keyword":switch(j.token.value){case"break":next();return break_cont($t);case"continue":next();return break_cont(Jt);case"debugger":next();semicolon();return new ct;case"do":next();var le=in_loop(statement);expect_token("keyword","while");var _e=parenthesised();semicolon(true);return new bt({body:le,condition:_e});case"while":next();return new xt({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(R){croak("classes are not allowed as the body of a loop")}if($){croak("classes are not allowed as the body of an if")}return class_(jr,E);case"function":next();if(R){croak("functions are not allowed as the body of a loop")}return function_(Nt,false,false,E);case"if":next();return if_();case"return":if(j.in_function==0&&!N.bare_returns)croak("'return' outside of function");next();var Ee=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){Ee=expression(true);semicolon()}return new Ut({value:Ee});case"switch":next();return new Gt({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(j.token))croak("Illegal newline after 'throw'");var Ee=expression(true);semicolon();return new zt({value:Ee});case"try":next();return try_();case"var":next();var ce=var_();semicolon();return ce;case"let":next();var ce=let_();semicolon();return ce;case"const":next();var ce=const_();semicolon();return ce;case"with":if(j.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new kt({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var ce=export_();if(is("punc",";"))semicolon();return ce}}}unexpected()}));function labeled_statement(){var E=as_symbol(an);if(E.name==="await"&&is_in_async()){token_error(j.prev,"await cannot be used as label inside async function")}if(j.labels.some((N=>N.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");j.labels.push(E);var N=$();j.labels.pop();if(!(N instanceof yt)){E.references.forEach((function(N){if(N instanceof Jt){N=N.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",N.line,N.col,N.pos)}}))}return new _t({body:N,label:E})}function simple_statement(E){return new dt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var N=null,R;if(!can_insert_semicolon()){N=as_symbol(ln,true)}if(N!=null){R=j.labels.find((E=>E.name===N.name));if(!R)croak("Undefined label "+N.name);N.thedef=R}else if(j.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var $=new E({label:N});if(R)R.references.push($);return $}function for_(){var E="`for await` invalid in this context";var N=j.token;if(N.type=="name"&&N.value=="await"){if(!can_await()){token_error(N,E)}next()}else{N=false}expect("(");var R=null;if(!is("punc",";")){R=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var $=is("operator","in");var q=is("name","of");if(N&&!q){token_error(N,E)}if($||q){if(R instanceof tr){if(R.definitions.length>1)token_error(R.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(R)||(R=to_destructuring(R))instanceof Ot)){token_error(R.start,"Invalid left-hand side in for..in loop")}next();if($){return for_in(R)}else{return for_of(R,!!N)}}}else if(N){token_error(N,E)}return regular_for(R)}function regular_for(E){expect(";");var N=is("punc",";")?null:expression(true);expect(";");var R=is("punc",")")?null:expression(true);expect(")");return new St({init:E,condition:N,step:R,body:in_loop((function(){return $(false,true)}))})}function for_of(E,N){var R=E instanceof tr?E.definitions[0].name:null;var j=expression(true);expect(")");return new Tt({await:N,init:E,name:R,object:j,body:in_loop((function(){return $(false,true)}))})}function for_in(E){var N=expression(true);expect(")");return new Et({init:E,object:N,body:in_loop((function(){return $(false,true)}))})}var arrow_function=function(E,N,R){if(has_newline_before(j.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var $=_function_body(is("punc","{"),false,R);var q=$ instanceof Array&&$.length?$[$.length-1].end:$ instanceof Array?E:$.end;return new It({start:E,end:q,async:R,argnames:N,body:$})};var function_=function(E,N,R,j){var $=E===Nt;var q=is("operator","*");if(q){next()}var G=is("name")?as_symbol($?Kr:Yr):null;if($&&!G){if(j){E=Ft}else{unexpected()}}if(G&&E!==Pt&&!(G instanceof $r))unexpected(prev());var ie=[];var ae=_function_body(true,q||N,R,G,ie);return new E({start:ie.start,end:ae.end,is_generator:q,async:R,name:G,argnames:ie,body:ae})};function track_used_binding_identifiers(E,N){var R=new Set;var j=false;var $=false;var q=false;var G=!!N;var ie={add_parameter:function(N){if(R.has(N.value)){if(j===false){j=N}ie.check_strict()}else{R.add(N.value);if(E){switch(N.value){case"arguments":case"eval":case"yield":if(G){token_error(N,"Unexpected "+N.value+" identifier as parameter inside strict mode")}break;default:if(_e.has(N.value)){unexpected()}}}}},mark_default_assignment:function(E){if($===false){$=E}},mark_spread:function(E){if(q===false){q=E}},mark_strict_mode:function(){G=true},is_strict:function(){return $!==false||q!==false||G},check_strict:function(){if(ie.is_strict()&&j!==false){token_error(j,"Parameter "+j.value+" was used already")}}};return ie}function parameters(E){var N=track_used_binding_identifiers(true,j.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var R=parameter(N);E.push(R);if(!is("punc",")")){expect(",")}if(R instanceof At){break}}next()}function parameter(E,N){var R;var $=false;if(E===undefined){E=track_used_binding_identifiers(true,j.input.has_directive("use strict"))}if(is("expand","...")){$=j.token;E.mark_spread(j.token);next()}R=binding_element(E,N);if(is("operator","=")&&$===false){E.mark_default_assignment(j.token);next();R=new kr({start:R.start,left:R,operator:"=",right:expression(false),end:j.token})}if($!==false){if(!is("punc",")")){unexpected()}R=new At({start:$,expression:R,end:$})}E.check_strict();return R}function binding_element(E,N){var R=[];var $=true;var q=false;var G;var ie=j.token;if(E===undefined){E=track_used_binding_identifiers(false,j.input.has_directive("use strict"))}N=N===undefined?Gr:N;if(is("punc","[")){next();while(!is("punc","]")){if($){$=false}else{expect(",")}if(is("expand","...")){q=true;G=j.token;E.mark_spread(j.token);next()}if(is("punc")){switch(j.token.value){case",":R.push(new Sn({start:j.token,end:j.token}));continue;case"]":break;case"[":case"{":R.push(binding_element(E,N));break;default:unexpected()}}else if(is("name")){E.add_parameter(j.token);R.push(as_symbol(N))}else{croak("Invalid function parameter")}if(is("operator","=")&&q===false){E.mark_default_assignment(j.token);next();R[R.length-1]=new kr({start:R[R.length-1].start,left:R[R.length-1],operator:"=",right:expression(false),end:j.token})}if(q){if(!is("punc","]")){croak("Rest element must be last element")}R[R.length-1]=new At({start:G,expression:R[R.length-1],end:G})}}expect("]");E.check_strict();return new Ot({start:ie,names:R,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if($){$=false}else{expect(",")}if(is("expand","...")){q=true;G=j.token;E.mark_spread(j.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter(j.token);var ae=prev();var ce=as_symbol(N);if(q){R.push(new At({start:G,expression:ce,end:ce.end}))}else{R.push(new wr({start:ae,key:ce.name,value:ce,end:ce.end}))}}else if(is("punc","}")){continue}else{var le=j.token;var _e=as_property_name();if(_e===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){R.push(new wr({start:prev(),key:_e,value:new N({start:prev(),name:_e,end:prev()}),end:prev()}))}else{expect(":");R.push(new wr({start:le,quote:le.quote,key:_e,value:binding_element(E,N),end:prev()}))}}if(q){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment(j.token);next();R[R.length-1].value=new kr({start:R[R.length-1].value.start,left:R[R.length-1].value,operator:"=",right:expression(false),end:j.token})}}expect("}");E.check_strict();return new Ot({start:ie,names:R,is_array:false,end:prev()})}else if(is("name")){E.add_parameter(j.token);return as_symbol(N)}else{croak("Invalid function parameter")}}function params_or_seq_(E,N){var R;var $;var q;var G=[];expect("(");while(!is("punc",")")){if(R)unexpected(R);if(is("expand","...")){R=j.token;if(N)$=j.token;next();G.push(new At({start:prev(),expression:expression(),end:j.token}))}else{G.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){q=prev();if(N)$=q}}}expect(")");if(E&&is("arrow","=>")){if(R&&q)unexpected(q)}else if($){unexpected($)}return G}function _function_body(E,N,R,$,q){var G=j.in_loop;var ie=j.labels;var ae=j.in_generator;var ce=j.in_async;++j.in_function;if(N)j.in_generator=j.in_function;if(R)j.in_async=j.in_function;if(q)parameters(q);if(E)j.in_directives=true;j.in_loop=0;j.labels=[];if(E){j.input.push_directives_stack();var le=block_();if($)_verify_symbol($);if(q)q.forEach(_verify_symbol);j.input.pop_directives_stack()}else{var le=[new Ut({start:j.token,value:expression(false),end:j.token})]}--j.in_function;j.in_loop=G;j.labels=ie;j.in_generator=ae;j.in_async=ce;return le}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",j.prev.line,j.prev.col,j.prev.pos)}return new Vt({start:prev(),end:j.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",j.prev.line,j.prev.col,j.prev.pos)}var E=j.token;var N=false;var R=true;if(can_insert_semicolon()||is("punc")&&Je.has(j.token.value)){R=false}else if(is("operator","*")){N=true;next()}return new qt({start:E,is_star:N,expression:R?expression():null,end:prev()})}function if_(){var E=parenthesised(),N=$(false,false,true),R=null;if(is("keyword","else")){next();R=$(false,false,true)}return new Ht({condition:E,body:N,alternative:R})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push($())}next();return E}function switch_body_(){expect("{");var E=[],N=null,R=null,q;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(R)R.end=prev();N=[];R=new Xt({start:(q=j.token,next(),q),expression:expression(true),body:N});E.push(R);expect(":")}else if(is("keyword","default")){if(R)R.end=prev();N=[];R=new Qt({start:(q=j.token,next(),expect(":"),q),body:N});E.push(R)}else{if(!N)unexpected();N.push($())}}if(R)R.end=prev();next();return E}function try_(){var E=block_(),N=null,R=null;if(is("keyword","catch")){var $=j.token;next();if(is("punc","{")){var q=null}else{expect("(");var q=parameter(undefined,tn);expect(")")}N=new Zt({start:$,argname:q,body:block_(),end:prev()})}if(is("keyword","finally")){var $=j.token;next();R=new er({start:$,body:block_(),end:prev()})}if(!N&&!R)croak("Missing catch/finally blocks");return new Yt({body:E,bcatch:N,bfinally:R})}function vardefs(E,N){var R=[];var $;for(;;){var q=N==="var"?Jr:N==="const"?qr:N==="let"?Hr:null;if(is("punc","{")||is("punc","[")){$=new ar({start:j.token,name:binding_element(undefined,q),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{$=new ar({start:j.token,name:as_symbol(q),value:is("operator","=")?(next(),expression(false,E)):!E&&N==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if($.name.name=="import")croak("Unexpected token: import")}R.push($);if(!is("punc",","))break;next()}return R}var var_=function(E){return new rr({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new nr({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new ir({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var N=j.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Wr({start:N,end:prev()}),E)}var R=expr_atom(false),$;if(is("punc","(")){next();$=expr_list(")",true)}else{$=[]}var q=new pr({start:N,expression:R,args:$,end:prev()});annotate(q);return subscripts(q,E)};function as_atom_node(){var E=j.token,N;switch(E.type){case"name":N=_make_symbol(on);break;case"num":N=new gn({start:E,end:E,value:E.value,raw:ie});break;case"big_int":N=new hn({start:E,end:E,value:E.value});break;case"string":N=new mn({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[R,j,$]=E.value.match(/^\/(.*)\/(\w*)$/);N=new _n({start:E,end:E,value:{source:j,flags:$}});break;case"atom":switch(E.value){case"false":N=new kn({start:E,end:E});break;case"true":N=new Cn({start:E,end:E});break;case"null":N=new vn({start:E,end:E});break}break}next();return N}function to_fun_args(E,N){var insert_default=function(E,N){if(N){return new kr({start:E.start,left:E,operator:"=",right:N,end:N.end})}return E};if(E instanceof Dr){return insert_default(new Ot({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),N)}else if(E instanceof wr){E.value=to_fun_args(E.value);return insert_default(E,N)}else if(E instanceof Sn){return E}else if(E instanceof Ot){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,N)}else if(E instanceof on){return insert_default(new Gr({name:E.name,start:E.start,end:E.end}),N)}else if(E instanceof At){E.expression=to_fun_args(E.expression);return insert_default(E,N)}else if(E instanceof Cr){return insert_default(new Ot({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),N)}else if(E instanceof Tr){return insert_default(to_fun_args(E.left,E.right),N)}else if(E instanceof kr){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,N){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var $=j.token;var G;var ie=is("name","async")&&(G=peek()).value!="["&&G.type!="arrow"&&as_atom_node();if(is("punc")){switch(j.token.value){case"(":if(ie&&!E)break;var ae=params_or_seq_(N,!ie);if(N&&is("arrow","=>")){return arrow_function($,ae.map((E=>to_fun_args(E))),!!ie)}var le=ie?new dr({expression:ie,args:ae}):ae.length==1?ae[0]:new fr({expressions:ae});if(le.start){const E=$.comments_before.length;R.set($,E);le.start.comments_before.unshift(...$.comments_before);$.comments_before=le.start.comments_before;if(E==0&&$.comments_before.length>0){var _e=$.comments_before[0];if(!_e.nlb){_e.nlb=$.nlb;$.nlb=false}}$.comments_after=le.start.comments_after}le.start=$;var Ee=prev();if(le.end){Ee.comments_before=le.end.comments_before;le.end.comments_after.push(...Ee.comments_after);Ee.comments_after=le.end.comments_after}le.end=Ee;if(le instanceof dr)annotate(le);return subscripts(le,E);case"[":return subscripts(q(),E);case"{":return subscripts(ce(),E)}if(!ie)unexpected()}if(N&&is("name")&&is_token(peek(),"arrow")){var Te=new Gr({name:j.token.value,start:$,end:$});next();return arrow_function($,[Te],!!ie)}if(is("keyword","function")){next();var we=function_(Ft,false,!!ie);we.start=$;we.end=prev();return subscripts(we,E)}if(ie)return subscripts(ie,E);if(is("keyword","class")){next();var Ie=class_(Ur);Ie.start=$;Ie.end=prev();return subscripts(Ie,E)}if(is("template_head")){return subscripts(template_string(),E)}if(tt.has(j.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],N=j.token;E.push(new Lt({start:j.token,raw:ie,value:j.token.value,end:j.token}));while(!ae){next();handle_regexp();E.push(expression(true));E.push(new Lt({start:j.token,raw:ie,value:j.token.value,end:j.token}))}next();return new Rt({start:N,segments:E,end:j.token})}function expr_list(E,N,R){var $=true,q=[];while(!is("punc",E)){if($)$=false;else expect(",");if(N&&is("punc",E))break;if(is("punc",",")&&R){q.push(new Sn({start:j.token,end:j.token}))}else if(is("expand","...")){next();q.push(new At({start:prev(),expression:expression(),end:j.token}))}else{q.push(expression(false))}}next();return q}var q=embed_tokens((function(){expect("[");return new Cr({elements:expr_list("]",!N.strict,true)})}));var G=embed_tokens(((E,N)=>function_(Pt,E,N)));var ce=embed_tokens((function object_or_destructuring_(){var E=j.token,R=true,$=[];expect("{");while(!is("punc","}")){if(R)R=false;else expect(",");if(!N.strict&&is("punc","}"))break;E=j.token;if(E.type=="expand"){next();$.push(new At({start:E,expression:expression(false),end:prev()}));continue}var q=as_property_name();var G;if(!is("punc",":")){var ie=concise_method_or_getset(q,E);if(ie){$.push(ie);continue}G=new on({start:prev(),name:q,end:prev()})}else if(q===null){unexpected(prev())}else{next();G=expression(false)}if(is("operator","=")){next();G=new Tr({start:E,left:G,operator:"=",right:expression(false),logical:false,end:prev()})}$.push(new wr({start:E,quote:E.quote,key:q instanceof ot?q:""+q,value:G,end:prev()}))}next();return new Dr({properties:$})}));function class_(E,N){var R,$,q,G,ie=[];j.input.push_directives_stack();j.input.add_directive("use strict");if(j.token.type=="name"&&j.token.value!="extends"){q=as_symbol(E===jr?Zr:en)}if(E===jr&&!q){if(N){E=Ur}else{unexpected()}}if(j.token.value=="extends"){next();G=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){R=j.token;$=concise_method_or_getset(as_property_name(),R,true);if(!$){unexpected()}ie.push($);while(is("punc",";")){next()}}j.input.pop_directives_stack();next();return new E({start:R,name:q,extends:G,properties:ie,end:prev()})}function concise_method_or_getset(E,N,R){const get_symbol_ast=(E,R=Qr)=>{if(typeof E==="string"||typeof E==="number"){return new R({start:N,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=");var j=false;var $=false;var q=false;var ie=false;var ae=null;if(R&&E==="static"&&is_not_method_start()){$=true;E=as_property_name()}if(E==="async"&&is_not_method_start()){j=true;E=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){q=true;E=as_property_name()}if((E==="get"||E==="set")&&is_not_method_start()){ae=E;E=as_property_name()}if(prev().type==="privatename"){ie=true}const ce=prev();if(ae!=null){if(!ie){const R=ae==="get"?Nr:Ir;E=get_symbol_ast(E);return new R({start:N,static:$,key:E,quote:E instanceof Qr?ce.quote:undefined,value:G(),end:prev()})}else{const R=ae==="get"?Fr:Pr;return new R({start:N,static:$,key:get_symbol_ast(E),value:G(),end:prev()})}}if(is("punc","(")){E=get_symbol_ast(E);const R=ie?Mr:Or;var le=new R({start:N,static:$,is_generator:q,async:j,key:E,quote:E instanceof Qr?ce.quote:undefined,value:G(q,j),end:prev()});return le}if(R){const R=get_symbol_ast(E,Xr);const j=R instanceof Xr?ce.quote:undefined;const q=ie?Br:Lr;if(is("operator","=")){next();return new q({start:N,static:$,quote:j,key:R,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new q({start:N,static:$,quote:j,key:R,end:prev()})}}}function import_(){var E=prev();var N;var R;if(is("name")){N=as_symbol(rn)}if(is("punc",",")){next()}R=map_names(true);if(R||N){expect_token("name","from")}var $=j.token;if($.type!=="string"){unexpected()}next();return new cr({start:E,imported_name:N,imported_names:R,module_name:new mn({start:$,value:$.value,quote:$.quote,end:$}),end:j.token})}function import_meta(){var E=j.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new lr({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var N=E?nn:cn;var R=E?rn:sn;var $=j.token;var q;var G;if(E){q=make_symbol(N)}else{G=make_symbol(R)}if(is("name","as")){next();if(E){G=make_symbol(R)}else{q=make_symbol(N)}}else if(E){G=new R(q)}else{q=new N(G)}return new sr({start:$,foreign_name:q,name:G,end:prev()})}function map_nameAsterisk(E,N){var R=E?nn:cn;var $=E?rn:sn;var q=j.token;var G;var ie=prev();N=N||new $({name:"*",start:q,end:ie});G=new R({name:"*",start:q,end:ie});return new sr({start:q,foreign_name:G,name:N,end:ie})}function map_names(E){var N;if(is("punc","{")){next();N=[];while(!is("punc","}")){N.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var R;next();if(E&&is("name","as")){next();R=as_symbol(E?rn:cn)}N=[map_nameAsterisk(E,R)]}return N}function export_(){var E=j.token;var N;var R;if(is("keyword","default")){N=true;next()}else if(R=map_names(false)){if(is("name","from")){next();var q=j.token;if(q.type!=="string"){unexpected()}next();return new ur({start:E,is_default:N,exported_names:R,module_name:new mn({start:q,value:q.value,quote:q.quote,end:q}),end:prev()})}else{return new ur({start:E,is_default:N,exported_names:R,end:prev()})}}var G;var ie;var ae;if(is("punc","{")||N&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ie=expression(false);semicolon()}else if((G=$(N))instanceof tr&&N){unexpected(G.start)}else if(G instanceof tr||G instanceof Nt||G instanceof jr){ae=G}else if(G instanceof Ur||G instanceof Ft){ie=G}else if(G instanceof dt){ie=G.body}else{unexpected(G.start)}return new ur({start:E,is_default:N,exported_value:ie,exported_definition:ae,end:prev()})}function as_property_name(){var E=j.token;switch(E.type){case"punc":if(E.value==="["){next();var N=expression(false);expect("]");return N}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=j.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var N=j.token.value;return new(N=="this"?un:N=="super"?dn:E)({name:String(N),start:j.token,end:j.token})}function _verify_symbol(E){var N=E.name;if(is_in_generator()&&N=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if(j.input.has_directive("use strict")){if(N=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof $r&&(N=="arguments"||N=="eval")){token_error(E.start,"Unexpected "+N+" in strict mode")}}}function as_symbol(E,N){if(!is("name")){if(!N)croak("Name expected");return null}var R=_make_symbol(E);_verify_symbol(R);next();return R}function annotate(E){var N=E.start;var j=N.comments_before;const $=R.get(N);var q=$!=null?$:j.length;while(--q>=0){var G=j[q];if(/[@#]__/.test(G.value)){if(/[@#]__PURE__/.test(G.value)){set_annotation(E,An);break}if(/[@#]__INLINE__/.test(G.value)){set_annotation(E,wn);break}if(/[@#]__NOINLINE__/.test(G.value)){set_annotation(E,Pn);break}}}}var subscripts=function(E,N,R){var j=E.start;if(is("punc",".")){next();const $=is("privatename")?hr:gr;return subscripts(new $({start:j,expression:E,optional:false,property:as_name(),end:prev()}),N,R)}if(is("punc","[")){next();var $=expression(true);expect("]");return subscripts(new _r({start:j,expression:E,optional:false,property:$,end:prev()}),N,R)}if(N&&is("punc","(")){next();var q=new dr({start:j,expression:E,optional:false,args:call_args(),end:prev()});annotate(q);return subscripts(q,true,R)}if(is("punc","?.")){next();let R;if(N&&is("punc","(")){next();const N=new dr({start:j,optional:true,expression:E,args:call_args(),end:prev()});annotate(N);R=subscripts(N,true,true)}else if(is("name")||is("privatename")){const $=is("privatename")?hr:gr;R=subscripts(new $({start:j,expression:E,optional:true,property:as_name(),end:prev()}),N,true)}else if(is("punc","[")){next();const $=expression(true);expect("]");R=subscripts(new _r({start:j,expression:E,optional:true,property:$,end:prev()}),N,true)}if(!R)unexpected();if(R instanceof yr)return R;return new yr({start:j,expression:R,end:prev()})}if(is("template_head")){if(R){unexpected()}return subscripts(new Mt({start:j,prefix:E,template_string:template_string(),end:prev()}),N)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new At({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,N){var R=j.token;if(R.type=="name"&&R.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&Qe.has(R.value)){next();handle_regexp();var $=make_unary(br,R,maybe_unary(E));$.start=R;$.end=prev();return $}var q=expr_atom(E,N);while(is("operator")&&Xe.has(j.token.value)&&!has_newline_before(j.token)){if(q instanceof It)unexpected();q=make_unary(xr,j.token,q);q.start=R;q.end=j.token;next()}return q};function make_unary(E,N,R){var $=N.value;switch($){case"++":case"--":if(!is_assignable(R))croak("Invalid use of "+$+" operator",N.line,N.col,N.pos);break;case"delete":if(R instanceof on&&j.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",R.start.line,R.start.col,R.start.pos);break}return new E({operator:$,expression:R})}var expr_op=function(E,N,R){var $=is("operator")?j.token.value:null;if($=="in"&&R)$=null;if($=="**"&&E instanceof br&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var q=$!=null?et[$]:null;if(q!=null&&(q>N||$==="**"&&N===q)){next();var G=expr_op(maybe_unary(true),q,R);return expr_op(new Sr({start:E.start,left:E,operator:$,right:G,end:G.end}),N,R)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var N=j.token;var R=expr_ops(E);if(is("operator","?")){next();var $=expression(false);expect(":");return new Er({start:N,condition:R,consequent:$,alternative:expression(false,E),end:prev()})}return R};function is_assignable(E){return E instanceof mr||E instanceof on}function to_destructuring(E){if(E instanceof Dr){E=new Ot({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof Cr){var N=[];for(var R=0;R<E.elements.length;R++){if(E.elements[R]instanceof At){if(R+1!==E.elements.length){token_error(E.elements[R].start,"Spread must the be last element in destructuring array")}E.elements[R].expression=to_destructuring(E.elements[R].expression)}N.push(to_destructuring(E.elements[R]))}E=new Ot({start:E.start,names:N,is_array:true,end:E.end})}else if(E instanceof Ar){E.value=to_destructuring(E.value)}else if(E instanceof Tr){E=new kr({start:E.start,left:E.left,operator:"=",right:E.right,end:E.end})}return E}var maybe_assign=function(E){handle_regexp();var N=j.token;if(N.type=="name"&&N.value=="yield"){if(is_in_generator()){next();return _yield_expression()}else if(j.input.has_directive("use strict")){token_error(j.token,"Unexpected yield identifier inside strict mode")}}var R=maybe_conditional(E);var $=j.token.value;if(is("operator")&&Ye.has($)){if(is_assignable(R)||(R=to_destructuring(R))instanceof Ot){next();return new Tr({start:N,left:R,operator:$,right:maybe_assign(E),logical:Ze.has($),end:prev()})}croak("Invalid assignment")}return R};var expression=function(E,N){var R=j.token;var $=[];while(true){$.push(maybe_assign(N));if(!E||!is("punc",","))break;next();E=true}return $.length==1?$[0]:new fr({start:R,expressions:$,end:peek()})};function in_loop(E){++j.in_loop;var N=E();--j.in_loop;return N}if(N.expression){return expression(true)}return function parse_toplevel(){var E=j.token;var R=[];j.input.push_directives_stack();if(N.module)j.input.add_directive("use strict");while(!is("eof")){R.push($())}j.input.pop_directives_stack();var q=prev();var G=N.toplevel;if(G){G.body=G.body.concat(R);G.end=q}else{G=new Dt({start:E,body:R,end:q})}return G}()}function DEFNODE(E,N,R,j=ot){if(!N)N=[];else N=N.split(/\s+/);var $=N;if(j&&j.PROPS)N=N.concat(j.PROPS);var q="return function AST_"+E+"(props){ if (props) { ";for(var G=N.length;--G>=0;){q+="this."+N[G]+" = props."+N[G]+";"}const ie=j&&Object.create(j.prototype);if(ie&&ie.initialize||R&&R.initialize)q+="this.initialize();";q+="}";q+="this.flags = 0;";q+="}";var ae=new Function(q)();if(ie){ae.prototype=ie;ae.BASE=j}if(j)j.SUBCLASSES.push(ae);ae.prototype.CTOR=ae;ae.prototype.constructor=ae;ae.PROPS=N||null;ae.SELF_PROPS=$;ae.SUBCLASSES=[];if(E){ae.prototype.TYPE=ae.TYPE=E}if(R)for(G in R)if(HOP(R,G)){if(G[0]==="$"){ae[G.substr(1)]=R[G]}else{ae.prototype[G]=R[G]}}ae.DEFMETHOD=function(E,N){this.prototype[E]=N};return ae}const has_tok_flag=(E,N)=>Boolean(E.flags&N);const set_tok_flag=(E,N,R)=>{if(R){E.flags|=N}else{E.flags&=~N}};const rt=1;const nt=2;const it=4;class AST_Token{constructor(E,N,R,j,$,q,G,ie,ae){this.flags=q?1:0;this.type=E;this.value=N;this.line=R;this.col=j;this.pos=$;this.comments_before=G;this.comments_after=ie;this.file=ae;Object.seal(this)}get nlb(){return has_tok_flag(this,rt)}set nlb(E){set_tok_flag(this,rt,E)}get quote(){return!has_tok_flag(this,it)?"":has_tok_flag(this,nt)?"'":'"'}set quote(E){set_tok_flag(this,nt,E==="'");set_tok_flag(this,it,!!E)}}var ot=DEFNODE("Node","start end",{_clone:function(E){if(E){var N=this.clone();return N.transform(new TreeTransformer((function(E){if(E!==N){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var st=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var ct=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},st);var ut=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},st);var dt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},st);function walk_body(E,N){const R=E.body;for(var j=0,$=R.length;j<$;j++){R[j]._walk(N)}}function clone_block_scope(E){var N=this._clone(E);if(this.block_scope){N.block_scope=this.block_scope.clone()}return N}var pt=DEFNODE("Block","body block_scope",{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N])},clone:clone_block_scope},st);var ft=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},pt);var mt=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},st);var ht=DEFNODE("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},st);var _t=DEFNODE("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(E){return E._visit(this,(function(){this.label._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.label)},clone:function(E){var N=this._clone(E);if(E){var R=N.label;var j=this.label;N.walk(new TreeWalker((function(E){if(E instanceof Wt&&E.label&&E.label.thedef===j){E.label.thedef=R;R.references.push(E)}})))}return N}},ht);var yt=DEFNODE("IterationStatement","block_scope",{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:clone_block_scope},ht);var vt=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},yt);var bt=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(E){return E._visit(this,(function(){this.body._walk(E);this.condition._walk(E)}))},_children_backwards(E){E(this.condition);E(this.body)}},vt);var xt=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.condition)}},vt);var St=DEFNODE("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(E){return E._visit(this,(function(){if(this.init)this.init._walk(E);if(this.condition)this.condition._walk(E);if(this.step)this.step._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);if(this.step)E(this.step);if(this.condition)E(this.condition);if(this.init)E(this.init)}},yt);var Et=DEFNODE("ForIn","init object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(E){return E._visit(this,(function(){this.init._walk(E);this.object._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);if(this.object)E(this.object);if(this.init)E(this.init)}},yt);var Tt=DEFNODE("ForOf","await",{$documentation:"A `for ... of` statement"},Et);var kt=DEFNODE("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.expression)}},ht);var Ct=DEFNODE("Scope","variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,N){var R=this._clone(E);if(E&&this.variables&&N&&!this._block_scope){R.figure_out_scope({},{toplevel:N,parent_scope:this.parent_scope})}else{if(this.variables)R.variables=new Map(this.variables);if(this.enclosed)R.enclosed=this.enclosed.slice();if(this._block_scope)R._block_scope=this._block_scope}return R},pinned:function(){return this.uses_eval||this.uses_with}},pt);var Dt=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var N=this.body;var R="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";R=parse(R);R=R.transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return $.splice(N)}})));return R},wrap_enclose:function(E){if(typeof E!="string")E="";var N=E.indexOf(":");if(N<0)N=E.length;var R=this.body;return parse(["(function(",E.slice(0,N),'){"$ORIG"})(',E.slice(N+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return $.splice(R)}})))}},Ct);var At=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var wt=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var N=0;N<this.argnames.length;N++){if(this.argnames[N]instanceof Ot){E.push(...this.argnames[N].all_symbols())}else{E.push(this.argnames[N])}}return E},_walk:function(E){return E._visit(this,(function(){if(this.name)this.name._walk(E);var N=this.argnames;for(var R=0,j=N.length;R<j;R++){N[R]._walk(E)}walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);N=this.argnames.length;while(N--)E(this.argnames[N]);if(this.name)E(this.name)},is_braceless(){return this.body[0]instanceof Ut&&this.body[0].value},length_property(){let E=0;for(const N of this.argnames){if(N instanceof Gr||N instanceof Ot){E++}}return E}},Ct);var Pt=DEFNODE("Accessor",null,{$documentation:"A setter/getter function. The `name` property is always null."},wt);var Ft=DEFNODE("Function",null,{$documentation:"A function expression"},wt);var It=DEFNODE("Arrow",null,{$documentation:"An ES6 Arrow function ((a) => b)"},wt);var Nt=DEFNODE("Defun",null,{$documentation:"A function definition"},wt);var Ot=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.names.length;while(N--)E(this.names[N])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(N){if(N instanceof zr){E.push(N)}})));return E}});var Mt=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Rt=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.segments.length;while(N--)E(this.segments[N])}});var Lt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var Bt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},st);var jt=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},Bt);var Ut=DEFNODE("Return",null,{$documentation:"A `return` statement"},jt);var zt=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},jt);var Wt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},Bt);var $t=DEFNODE("Break",null,{$documentation:"A `break` statement"},Wt);var Jt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},Wt);var Vt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var qt=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var Ht=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},ht);var Gt=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);E(this.expression)}},pt);var Kt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},pt);var Qt=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},Kt);var Xt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);E(this.expression)}},Kt);var Yt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let N=this.body.length;while(N--)E(this.body[N])}},pt);var Zt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);if(this.argname)E(this.argname)}},pt);var er=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},pt);var tr=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var N=this.definitions;for(var R=0,j=N.length;R<j;R++){N[R]._walk(E)}}))},_children_backwards(E){let N=this.definitions.length;while(N--)E(this.definitions[N])}},st);var rr=DEFNODE("Var",null,{$documentation:"A `var` statement"},tr);var nr=DEFNODE("Let",null,{$documentation:"A `let` statement"},tr);var ir=DEFNODE("Const",null,{$documentation:"A `const` statement"},tr);var ar=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(E){return E._visit(this,(function(){this.name._walk(E);if(this.value)this.value._walk(E)}))},_children_backwards(E){if(this.value)E(this.value);E(this.name)}});var sr=DEFNODE("NameMapping","foreign_name name",{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(E){return E._visit(this,(function(){this.foreign_name._walk(E);this.name._walk(E)}))},_children_backwards(E){E(this.name);E(this.foreign_name)}});var cr=DEFNODE("Import","imported_name imported_names module_name",{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from"},_walk:function(E){return E._visit(this,(function(){if(this.imported_name){this.imported_name._walk(E)}if(this.imported_names){this.imported_names.forEach((function(N){N._walk(E)}))}this.module_name._walk(E)}))},_children_backwards(E){E(this.module_name);if(this.imported_names){let N=this.imported_names.length;while(N--)E(this.imported_names[N])}if(this.imported_name)E(this.imported_name)}});var lr=DEFNODE("ImportMeta",null,{$documentation:"A reference to import.meta"});var ur=DEFNODE("Export","exported_definition exported_value is_default exported_names module_name",{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module"},_walk:function(E){return E._visit(this,(function(){if(this.exported_definition){this.exported_definition._walk(E)}if(this.exported_value){this.exported_value._walk(E)}if(this.exported_names){this.exported_names.forEach((function(N){N._walk(E)}))}if(this.module_name){this.module_name._walk(E)}}))},_children_backwards(E){if(this.module_name)E(this.module_name);if(this.exported_names){let N=this.exported_names.length;while(N--)E(this.exported_names[N])}if(this.exported_value)E(this.exported_value);if(this.exported_definition)E(this.exported_definition)}},st);var dr=DEFNODE("Call","expression args optional _annotations",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){if(this._annotations==null)this._annotations=0},_walk(E){return E._visit(this,(function(){var N=this.args;for(var R=0,j=N.length;R<j;R++){N[R]._walk(E)}this.expression._walk(E)}))},_children_backwards(E){let N=this.args.length;while(N--)E(this.args[N]);E(this.expression)}});var pr=DEFNODE("New",null,{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},dr);var fr=DEFNODE("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(E){return E._visit(this,(function(){this.expressions.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.expressions.length;while(N--)E(this.expressions[N])}});var mr=DEFNODE("PropAccess","expression property optional",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}});var gr=DEFNODE("Dot","quote",{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}},mr);var hr=DEFNODE("DotHash","",{$documentation:"A dotted property access to a private property",_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}},mr);var _r=DEFNODE("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);this.property._walk(E)}))},_children_backwards(E){E(this.property);E(this.expression)}},mr);var yr=DEFNODE("Chain","expression",{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var vr=DEFNODE("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var br=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},vr);var xr=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},vr);var Sr=DEFNODE("Binary","operator left right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(E){return E._visit(this,(function(){this.left._walk(E);this.right._walk(E)}))},_children_backwards(E){E(this.right);E(this.left)}});var Er=DEFNODE("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.consequent._walk(E);this.alternative._walk(E)}))},_children_backwards(E){E(this.alternative);E(this.consequent);E(this.condition)}});var Tr=DEFNODE("Assign","logical",{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},Sr);var kr=DEFNODE("DefaultAssign",null,{$documentation:"A default assignment expression like in `(a = 3) => a`"},Sr);var Cr=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var N=this.elements;for(var R=0,j=N.length;R<j;R++){N[R]._walk(E)}}))},_children_backwards(E){let N=this.elements.length;while(N--)E(this.elements[N])}});var Dr=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(E){return E._visit(this,(function(){var N=this.properties;for(var R=0,j=N.length;R<j;R++){N[R]._walk(E)}}))},_children_backwards(E){let N=this.properties.length;while(N--)E(this.properties[N])}});var Ar=DEFNODE("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters and setters this is an AST_Accessor."},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof ot)this.key._walk(E);this.value._walk(E)}))},_children_backwards(E){E(this.value);if(this.key instanceof ot)E(this.key)}});var wr=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof ot}},Ar);var Pr=DEFNODE("PrivateSetter","static",{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key(){return false}},Ar);var Fr=DEFNODE("PrivateGetter","static",{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key(){return false}},Ar);var Ir=DEFNODE("ObjectSetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof Qr)}},Ar);var Nr=DEFNODE("ObjectGetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof Qr)}},Ar);var Or=DEFNODE("ConciseMethod","quote static is_generator async",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof Qr)}},Ar);var Mr=DEFNODE("PrivateMethod","",{$documentation:"A private class method inside a class"},Or);var Rr=DEFNODE("Class","name extends properties",{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty*] array of properties"},$documentation:"An ES6 class",_walk:function(E){return E._visit(this,(function(){if(this.name){this.name._walk(E)}if(this.extends){this.extends._walk(E)}this.properties.forEach((N=>N._walk(E)))}))},_children_backwards(E){let N=this.properties.length;while(N--)E(this.properties[N]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},Ct);var Lr=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof ot)this.key._walk(E);if(this.value instanceof ot)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof ot)E(this.value);if(this.key instanceof ot)E(this.key)},computed_key(){return!(this.key instanceof Xr)}},Ar);var Br=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Lr);var jr=DEFNODE("DefClass",null,{$documentation:"A class definition"},Rr);var Ur=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Rr);var zr=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Wr=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var $r=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},zr);var Jr=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},$r);var Vr=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},$r);var qr=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Vr);var Hr=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Vr);var Gr=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Jr);var Kr=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},$r);var Qr=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},zr);var Xr=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},zr);var Yr=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},$r);var Zr=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Vr);var en=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},$r);var tn=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Vr);var rn=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Vr);var nn=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},zr);var an=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},zr);var on=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},zr);var sn=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},on);var cn=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},zr);var ln=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},zr);var un=DEFNODE("This",null,{$documentation:"The `this` symbol"},zr);var dn=DEFNODE("Super",null,{$documentation:"The `super` symbol"},un);var pn=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var mn=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},pn);var gn=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},pn);var hn=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},pn);var _n=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},pn);var yn=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},pn);var vn=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},yn);var bn=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},yn);var xn=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},yn);var Sn=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},yn);var En=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},yn);var Tn=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},yn);var kn=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},Tn);var Cn=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},Tn);function walk(E,N,R=[E]){const j=R.push.bind(R);while(R.length){const E=R.pop();const $=N(E,R);if($){if($===Dn)return true;continue}E._children_backwards(j)}return false}function walk_parent(E,N,R){const j=[E];const $=j.push.bind(j);const q=R?R.slice():[];const G=[];let ie;const ae={parent:(E=0)=>{if(E===-1){return ie}if(R&&E>=q.length){E-=q.length;return R[R.length-(E+1)]}return q[q.length-(1+E)]}};while(j.length){ie=j.pop();while(G.length&&j.length==G[G.length-1]){q.pop();G.pop()}const E=N(ie,ae);if(E){if(E===Dn)return true;continue}const R=j.length;ie._children_backwards($);if(j.length>R){q.push(ie);G.push(R-1)}}return false}const Dn=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,N){this.push(E);var R=this.visit(E,N?function(){N.call(E)}:noop);if(!R&&N){N.call(E)}this.pop();return R}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof wt){this.directives=Object.create(this.directives)}else if(E instanceof ut&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Rr){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof wt||E instanceof Rr){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var N=this.stack;for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof E)return j}}has_directive(E){var N=this.directives[E];if(N)return N;var R=this.stack[this.stack.length-1];if(R instanceof Ct&&R.body){for(var j=0;j<R.body.length;++j){var $=R.body[j];if(!($ instanceof ut))break;if($.value==E)return $}}}loopcontrol_target(E){var N=this.stack;if(E.label)for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof _t&&j.label.name==E.label.name)return j.body}else for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof yt||E instanceof $t&&j instanceof Gt)return j}}}class TreeTransformer extends TreeWalker{constructor(E,N){super();this.before=E;this.after=N}}const An=1;const wn=2;const Pn=4;var Fn=Object.freeze({__proto__:null,AST_Accessor:Pt,AST_Array:Cr,AST_Arrow:It,AST_Assign:Tr,AST_Atom:yn,AST_Await:Vt,AST_BigInt:hn,AST_Binary:Sr,AST_Block:pt,AST_BlockStatement:ft,AST_Boolean:Tn,AST_Break:$t,AST_Call:dr,AST_Case:Xt,AST_Catch:Zt,AST_Chain:yr,AST_Class:Rr,AST_ClassExpression:Ur,AST_ClassPrivateProperty:Br,AST_ClassProperty:Lr,AST_ConciseMethod:Or,AST_Conditional:Er,AST_Const:ir,AST_Constant:pn,AST_Continue:Jt,AST_Debugger:ct,AST_Default:Qt,AST_DefaultAssign:kr,AST_DefClass:jr,AST_Definitions:tr,AST_Defun:Nt,AST_Destructuring:Ot,AST_Directive:ut,AST_Do:bt,AST_Dot:gr,AST_DotHash:hr,AST_DWLoop:vt,AST_EmptyStatement:mt,AST_Exit:jt,AST_Expansion:At,AST_Export:ur,AST_False:kn,AST_Finally:er,AST_For:St,AST_ForIn:Et,AST_ForOf:Tt,AST_Function:Ft,AST_Hole:Sn,AST_If:Ht,AST_Import:cr,AST_ImportMeta:lr,AST_Infinity:En,AST_IterationStatement:yt,AST_Jump:Bt,AST_Label:an,AST_LabeledStatement:_t,AST_LabelRef:ln,AST_Lambda:wt,AST_Let:nr,AST_LoopControl:Wt,AST_NameMapping:sr,AST_NaN:bn,AST_New:pr,AST_NewTarget:Wr,AST_Node:ot,AST_Null:vn,AST_Number:gn,AST_Object:Dr,AST_ObjectGetter:Nr,AST_ObjectKeyVal:wr,AST_ObjectProperty:Ar,AST_ObjectSetter:Ir,AST_PrefixedTemplateString:Mt,AST_PrivateGetter:Fr,AST_PrivateMethod:Mr,AST_PrivateSetter:Pr,AST_PropAccess:mr,AST_RegExp:_n,AST_Return:Ut,AST_Scope:Ct,AST_Sequence:fr,AST_SimpleStatement:dt,AST_Statement:st,AST_StatementWithBody:ht,AST_String:mn,AST_Sub:_r,AST_Super:dn,AST_Switch:Gt,AST_SwitchBranch:Kt,AST_Symbol:zr,AST_SymbolBlockDeclaration:Vr,AST_SymbolCatch:tn,AST_SymbolClass:en,AST_SymbolClassProperty:Xr,AST_SymbolConst:qr,AST_SymbolDeclaration:$r,AST_SymbolDefClass:Zr,AST_SymbolDefun:Kr,AST_SymbolExport:sn,AST_SymbolExportForeign:cn,AST_SymbolFunarg:Gr,AST_SymbolImport:rn,AST_SymbolImportForeign:nn,AST_SymbolLambda:Yr,AST_SymbolLet:Hr,AST_SymbolMethod:Qr,AST_SymbolRef:on,AST_SymbolVar:Jr,AST_TemplateSegment:Lt,AST_TemplateString:Rt,AST_This:un,AST_Throw:zt,AST_Token:AST_Token,AST_Toplevel:Dt,AST_True:Cn,AST_Try:Yt,AST_Unary:vr,AST_UnaryPostfix:xr,AST_UnaryPrefix:br,AST_Undefined:xn,AST_Var:rr,AST_VarDef:ar,AST_While:xt,AST_With:kt,AST_Yield:qt,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:Dn,walk_body:walk_body,walk_parent:walk_parent,_INLINE:wn,_NOINLINE:Pn,_PURE:An});function def_transform(E,N){E.DEFMETHOD("transform",(function(E,R){let j=undefined;E.push(this);if(E.before)j=E.before(this,N,R);if(j===undefined){j=this;N(j,E);if(E.after){const N=E.after(j,R);if(N!==undefined)j=N}}E.pop();return j}))}function do_list(E,N){return $(E,(function(E){return E.transform(N,true)}))}def_transform(ot,noop);def_transform(_t,(function(E,N){E.label=E.label.transform(N);E.body=E.body.transform(N)}));def_transform(dt,(function(E,N){E.body=E.body.transform(N)}));def_transform(pt,(function(E,N){E.body=do_list(E.body,N)}));def_transform(bt,(function(E,N){E.body=E.body.transform(N);E.condition=E.condition.transform(N)}));def_transform(xt,(function(E,N){E.condition=E.condition.transform(N);E.body=E.body.transform(N)}));def_transform(St,(function(E,N){if(E.init)E.init=E.init.transform(N);if(E.condition)E.condition=E.condition.transform(N);if(E.step)E.step=E.step.transform(N);E.body=E.body.transform(N)}));def_transform(Et,(function(E,N){E.init=E.init.transform(N);E.object=E.object.transform(N);E.body=E.body.transform(N)}));def_transform(kt,(function(E,N){E.expression=E.expression.transform(N);E.body=E.body.transform(N)}));def_transform(jt,(function(E,N){if(E.value)E.value=E.value.transform(N)}));def_transform(Wt,(function(E,N){if(E.label)E.label=E.label.transform(N)}));def_transform(Ht,(function(E,N){E.condition=E.condition.transform(N);E.body=E.body.transform(N);if(E.alternative)E.alternative=E.alternative.transform(N)}));def_transform(Gt,(function(E,N){E.expression=E.expression.transform(N);E.body=do_list(E.body,N)}));def_transform(Xt,(function(E,N){E.expression=E.expression.transform(N);E.body=do_list(E.body,N)}));def_transform(Yt,(function(E,N){E.body=do_list(E.body,N);if(E.bcatch)E.bcatch=E.bcatch.transform(N);if(E.bfinally)E.bfinally=E.bfinally.transform(N)}));def_transform(Zt,(function(E,N){if(E.argname)E.argname=E.argname.transform(N);E.body=do_list(E.body,N)}));def_transform(tr,(function(E,N){E.definitions=do_list(E.definitions,N)}));def_transform(ar,(function(E,N){E.name=E.name.transform(N);if(E.value)E.value=E.value.transform(N)}));def_transform(Ot,(function(E,N){E.names=do_list(E.names,N)}));def_transform(wt,(function(E,N){if(E.name)E.name=E.name.transform(N);E.argnames=do_list(E.argnames,N);if(E.body instanceof ot){E.body=E.body.transform(N)}else{E.body=do_list(E.body,N)}}));def_transform(dr,(function(E,N){E.expression=E.expression.transform(N);E.args=do_list(E.args,N)}));def_transform(fr,(function(E,N){const R=do_list(E.expressions,N);E.expressions=R.length?R:[new gn({value:0})]}));def_transform(gr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(_r,(function(E,N){E.expression=E.expression.transform(N);E.property=E.property.transform(N)}));def_transform(yr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(qt,(function(E,N){if(E.expression)E.expression=E.expression.transform(N)}));def_transform(Vt,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(vr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(Sr,(function(E,N){E.left=E.left.transform(N);E.right=E.right.transform(N)}));def_transform(Er,(function(E,N){E.condition=E.condition.transform(N);E.consequent=E.consequent.transform(N);E.alternative=E.alternative.transform(N)}));def_transform(Cr,(function(E,N){E.elements=do_list(E.elements,N)}));def_transform(Dr,(function(E,N){E.properties=do_list(E.properties,N)}));def_transform(Ar,(function(E,N){if(E.key instanceof ot){E.key=E.key.transform(N)}if(E.value)E.value=E.value.transform(N)}));def_transform(Rr,(function(E,N){if(E.name)E.name=E.name.transform(N);if(E.extends)E.extends=E.extends.transform(N);E.properties=do_list(E.properties,N)}));def_transform(At,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(sr,(function(E,N){E.foreign_name=E.foreign_name.transform(N);E.name=E.name.transform(N)}));def_transform(cr,(function(E,N){if(E.imported_name)E.imported_name=E.imported_name.transform(N);if(E.imported_names)do_list(E.imported_names,N);E.module_name=E.module_name.transform(N)}));def_transform(ur,(function(E,N){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(N);if(E.exported_value)E.exported_value=E.exported_value.transform(N);if(E.exported_names)do_list(E.exported_names,N);if(E.module_name)E.module_name=E.module_name.transform(N)}));def_transform(Rt,(function(E,N){E.segments=do_list(E.segments,N)}));def_transform(Mt,(function(E,N){E.prefix=E.prefix.transform(N);E.template_string=E.template_string.transform(N)}));(function(){var normalize_directives=function(E){var N=true;for(var R=0;R<E.length;R++){if(N&&E[R]instanceof st&&E[R].body instanceof mn){E[R]=new ut({start:E[R].start,end:E[R].end,value:E[R].body.value})}else if(N&&!(E[R]instanceof st&&E[R].body instanceof mn)){N=false}}return E};var E={Program:function(E){return new Dt({start:my_start_token(E),end:my_end_token(E),body:normalize_directives(E.body.map(from_moz))})},ArrayPattern:function(E){return new Ot({start:my_start_token(E),end:my_end_token(E),names:E.elements.map((function(E){if(E===null){return new Sn}return from_moz(E)})),is_array:true})},ObjectPattern:function(E){return new Ot({start:my_start_token(E),end:my_end_token(E),names:E.properties.map(from_moz),is_array:false})},AssignmentPattern:function(E){return new kr({start:my_start_token(E),end:my_end_token(E),left:from_moz(E.left),operator:"=",right:from_moz(E.right)})},SpreadElement:function(E){return new At({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.argument)})},RestElement:function(E){return new At({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.argument)})},TemplateElement:function(E){return new Lt({start:my_start_token(E),end:my_end_token(E),value:E.value.cooked,raw:E.value.raw})},TemplateLiteral:function(E){var N=[];for(var R=0;R<E.quasis.length;R++){N.push(from_moz(E.quasis[R]));if(E.expressions[R]){N.push(from_moz(E.expressions[R]))}}return new Rt({start:my_start_token(E),end:my_end_token(E),segments:N})},TaggedTemplateExpression:function(E){return new Mt({start:my_start_token(E),end:my_end_token(E),template_string:from_moz(E.quasi),prefix:from_moz(E.tag)})},FunctionDeclaration:function(E){return new Nt({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),argnames:E.params.map(from_moz),is_generator:E.generator,async:E.async,body:normalize_directives(from_moz(E.body).body)})},FunctionExpression:function(E){return new Ft({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),argnames:E.params.map(from_moz),is_generator:E.generator,async:E.async,body:normalize_directives(from_moz(E.body).body)})},ArrowFunctionExpression:function(E){const N=E.body.type==="BlockStatement"?from_moz(E.body).body:[make_node(Ut,{},{value:from_moz(E.body)})];return new It({start:my_start_token(E),end:my_end_token(E),argnames:E.params.map(from_moz),body:N,async:E.async})},ExpressionStatement:function(E){return new dt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.expression)})},TryStatement:function(E){var N=E.handlers||[E.handler];if(N.length>1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Yt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(N[0]),bfinally:E.finalizer?new er(from_moz(E.finalizer)):null})},Property:function(E){var N=E.key;var R={start:my_start_token(N||E.value),end:my_end_token(E.value),key:N.type=="Identifier"?N.name:N.value,value:from_moz(E.value)};if(E.computed){R.key=from_moz(E.key)}if(E.method){R.is_generator=E.value.generator;R.async=E.value.async;if(!E.computed){R.key=new Qr({name:R.key})}else{R.key=from_moz(E.key)}return new Or(R)}if(E.kind=="init"){if(N.type!="Identifier"&&N.type!="Literal"){R.key=from_moz(N)}return new wr(R)}if(typeof R.key==="string"||typeof R.key==="number"){R.key=new Qr({name:R.key})}R.value=new Pt(R.value);if(E.kind=="get")return new Nr(R);if(E.kind=="set")return new Ir(R);if(E.kind=="method"){R.async=E.value.async;R.is_generator=E.value.generator;R.quote=E.computed?'"':null;return new Or(R)}},MethodDefinition:function(E){var N={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Qr({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new Nr(N)}if(E.kind=="set"){return new Ir(N)}N.is_generator=E.value.generator;N.async=E.value.async;return new Or(N)},FieldDefinition:function(E){let N;if(E.computed){N=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");N=from_moz(E.key)}return new Lr({start:my_start_token(E),end:my_end_token(E),key:N,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let N;if(E.computed){N=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");N=from_moz(E.key)}return new Lr({start:my_start_token(E),end:my_end_token(E),key:N,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new Cr({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new Sn:from_moz(E)}))})},ObjectExpression:function(E){return new Dr({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new fr({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?_r:gr)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new yr({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Xt:Qt)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?ir:E.kind==="let"?nr:rr)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var N=null;var R=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!R){R=[]}R.push(new sr({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){N=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!R){R=[]}R.push(new sr({start:my_start_token(E),end:my_end_token(E),foreign_name:new nn({name:"*"}),name:from_moz(E.local)}))}}));return new cr({start:my_start_token(E),end:my_end_token(E),imported_name:N,imported_names:R,module_name:from_moz(E.source)})},ExportAllDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_names:[new sr({name:new cn({name:"*"}),foreign_name:new cn({name:"*"})})],module_name:from_moz(E.source)})},ExportNamedDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new sr({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source)})},ExportDefaultDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var N=E.value,R={start:my_start_token(E),end:my_end_token(E)};var j=E.regex;if(j&&j.pattern){R.value={source:j.pattern,flags:j.flags};return new _n(R)}else if(j){const j=E.raw||N;const $=j.match(/^\/(.*)\/(\w*)$/);if(!$)throw new Error("Invalid regex source "+j);const[q,G,ie]=$;R.value={source:G,flags:ie};return new _n(R)}if(N===null)return new vn(R);switch(typeof N){case"string":R.value=N;return new mn(R);case"number":R.value=N;R.raw=E.raw||N.toString();return new gn(R);case"boolean":return new(N?Cn:kn)(R)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new Wr({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new lr({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var R=N[N.length-2];return new(R.type=="LabeledStatement"?an:R.type=="VariableDeclarator"&&R.id===E?R.kind=="const"?qr:R.kind=="let"?Hr:Jr:/Import.*Specifier/.test(R.type)?R.local===E?rn:nn:R.type=="ExportSpecifier"?R.local===E?sn:cn:R.type=="FunctionExpression"?R.id===E?Yr:Gr:R.type=="FunctionDeclaration"?R.id===E?Kr:Gr:R.type=="ArrowFunctionExpression"?R.params.includes(E)?Gr:on:R.type=="ClassExpression"?R.id===E?en:on:R.type=="Property"?R.key===E&&R.computed||R.value===E?on:Qr:R.type=="PropertyDefinition"||R.type==="FieldDefinition"?R.key===E&&R.computed||R.value===E?on:Xr:R.type=="ClassDeclaration"?R.id===E?Zr:on:R.type=="MethodDefinition"?R.computed?on:Qr:R.type=="CatchClause"?tn:R.type=="BreakStatement"||R.type=="ContinueStatement"?ln:on)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new hn({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var N="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(N?br:xr)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?jr:Ur)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",mt);map("BlockStatement",ft,"body@body");map("IfStatement",Ht,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",_t,"label>label, body>body");map("BreakStatement",$t,"label>label");map("ContinueStatement",Jt,"label>label");map("WithStatement",kt,"object>expression, body>body");map("SwitchStatement",Gt,"discriminant>expression, cases@body");map("ReturnStatement",Ut,"argument>value");map("ThrowStatement",zt,"argument>value");map("WhileStatement",xt,"test>condition, body>body");map("DoWhileStatement",bt,"test>condition, body>body");map("ForStatement",St,"init>init, test>condition, update>step, body>body");map("ForInStatement",Et,"left>init, right>object, body>body");map("ForOfStatement",Tt,"left>init, right>object, body>body, await=await");map("AwaitExpression",Vt,"argument>expression");map("YieldExpression",qt,"argument>expression, delegate=is_star");map("DebuggerStatement",ct);map("VariableDeclarator",ar,"id>name, init>value");map("CatchClause",Zt,"param>argname, body%body");map("ThisExpression",un);map("Super",dn);map("BinaryExpression",Sr,"operator=operator, left>left, right>right");map("LogicalExpression",Sr,"operator=operator, left>left, right>right");map("AssignmentExpression",Tr,"operator=operator, left>left, right>right");map("ConditionalExpression",Er,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",pr,"callee>expression, arguments@args");map("CallExpression",dr,"callee>expression, optional=optional, arguments@args");def_to_moz(Dt,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(At,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Mt,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Rt,(function To_Moz_TemplateLiteral(E){var N=[];var R=[];for(var j=0;j<E.segments.length;j++){if(j%2!==0){R.push(to_moz(E.segments[j]))}else{N.push({type:"TemplateElement",value:{raw:E.segments[j].raw,cooked:E.segments[j].value},tail:j===E.segments.length-1})}}return{type:"TemplateLiteral",quasis:N,expressions:R}}));def_to_moz(Nt,(function To_Moz_FunctionDeclaration(E){return{type:"FunctionDeclaration",id:to_moz(E.name),params:E.argnames.map(to_moz),generator:E.is_generator,async:E.async,body:to_moz_scope("BlockStatement",E)}}));def_to_moz(Ft,(function To_Moz_FunctionExpression(E,N){var R=N.is_generator!==undefined?N.is_generator:E.is_generator;return{type:"FunctionExpression",id:to_moz(E.name),params:E.argnames.map(to_moz),generator:R,async:E.async,body:to_moz_scope("BlockStatement",E)}}));def_to_moz(It,(function To_Moz_ArrowFunctionExpression(E){var N={type:"BlockStatement",body:E.body.map(to_moz)};return{type:"ArrowFunctionExpression",params:E.argnames.map(to_moz),async:E.async,body:N}}));def_to_moz(Ot,(function To_Moz_ObjectPattern(E){if(E.is_array){return{type:"ArrayPattern",elements:E.names.map(to_moz)}}return{type:"ObjectPattern",properties:E.names.map(to_moz)}}));def_to_moz(ut,(function To_Moz_Directive(E){return{type:"ExpressionStatement",expression:{type:"Literal",value:E.value,raw:E.print_to_string()},directive:E.value}}));def_to_moz(dt,(function To_Moz_ExpressionStatement(E){return{type:"ExpressionStatement",expression:to_moz(E.body)}}));def_to_moz(Kt,(function To_Moz_SwitchCase(E){return{type:"SwitchCase",test:to_moz(E.expression),consequent:E.body.map(to_moz)}}));def_to_moz(Yt,(function To_Moz_TryStatement(E){return{type:"TryStatement",block:to_moz_block(E),handler:to_moz(E.bcatch),guardedHandlers:[],finalizer:to_moz(E.bfinally)}}));def_to_moz(Zt,(function To_Moz_CatchClause(E){return{type:"CatchClause",param:to_moz(E.argname),guard:null,body:to_moz_block(E)}}));def_to_moz(tr,(function To_Moz_VariableDeclaration(E){return{type:"VariableDeclaration",kind:E instanceof ir?"const":E instanceof nr?"let":"var",declarations:E.definitions.map(to_moz)}}));def_to_moz(ur,(function To_Moz_ExportDeclaration(E){if(E.exported_names){if(E.exported_names[0].name.name==="*"){return{type:"ExportAllDeclaration",source:to_moz(E.module_name)}}return{type:"ExportNamedDeclaration",specifiers:E.exported_names.map((function(E){return{type:"ExportSpecifier",exported:to_moz(E.foreign_name),local:to_moz(E.name)}})),declaration:to_moz(E.exported_definition),source:to_moz(E.module_name)}}return{type:E.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:to_moz(E.exported_value||E.exported_definition)}}));def_to_moz(cr,(function To_Moz_ImportDeclaration(E){var N=[];if(E.imported_name){N.push({type:"ImportDefaultSpecifier",local:to_moz(E.imported_name)})}if(E.imported_names&&E.imported_names[0].foreign_name.name==="*"){N.push({type:"ImportNamespaceSpecifier",local:to_moz(E.imported_names[0].name)})}else if(E.imported_names){E.imported_names.forEach((function(E){N.push({type:"ImportSpecifier",local:to_moz(E.name),imported:to_moz(E.foreign_name)})}))}return{type:"ImportDeclaration",specifiers:N,source:to_moz(E.module_name)}}));def_to_moz(lr,(function To_Moz_MetaProperty(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}));def_to_moz(fr,(function To_Moz_SequenceExpression(E){return{type:"SequenceExpression",expressions:E.expressions.map(to_moz)}}));def_to_moz(hr,(function To_Moz_PrivateMemberExpression(E){return{type:"MemberExpression",object:to_moz(E.expression),computed:false,property:{type:"PrivateIdentifier",name:E.property},optional:E.optional}}));def_to_moz(mr,(function To_Moz_MemberExpression(E){var N=E instanceof _r;return{type:"MemberExpression",object:to_moz(E.expression),computed:N,property:N?to_moz(E.property):{type:"Identifier",name:E.property},optional:E.optional}}));def_to_moz(yr,(function To_Moz_ChainExpression(E){return{type:"ChainExpression",expression:to_moz(E.expression)}}));def_to_moz(vr,(function To_Moz_Unary(E){return{type:E.operator=="++"||E.operator=="--"?"UpdateExpression":"UnaryExpression",operator:E.operator,prefix:E instanceof br,argument:to_moz(E.expression)}}));def_to_moz(Sr,(function To_Moz_BinaryExpression(E){if(E.operator=="="&&to_moz_in_destructuring()){return{type:"AssignmentPattern",left:to_moz(E.left),right:to_moz(E.right)}}const N=E.operator=="&&"||E.operator=="||"||E.operator==="??"?"LogicalExpression":"BinaryExpression";return{type:N,left:to_moz(E.left),operator:E.operator,right:to_moz(E.right)}}));def_to_moz(Cr,(function To_Moz_ArrayExpression(E){return{type:"ArrayExpression",elements:E.elements.map(to_moz)}}));def_to_moz(Dr,(function To_Moz_ObjectExpression(E){return{type:"ObjectExpression",properties:E.properties.map(to_moz)}}));def_to_moz(Ar,(function To_Moz_Property(E,N){var R=E.key instanceof ot?to_moz(E.key):{type:"Identifier",value:E.key};if(typeof E.key==="number"){R={type:"Literal",value:Number(E.key)}}if(typeof E.key==="string"){R={type:"Identifier",name:E.key}}var j;var $=typeof E.key==="string"||typeof E.key==="number";var q=$?false:!(E.key instanceof zr)||E.key instanceof on;if(E instanceof wr){j="init";q=!$}else if(E instanceof Nr){j="get"}else if(E instanceof Ir){j="set"}if(E instanceof Fr||E instanceof Pr){const N=E instanceof Fr?"get":"set";return{type:"MethodDefinition",computed:false,kind:N,static:E.static,key:{type:"PrivateIdentifier",name:E.key.name},value:to_moz(E.value)}}if(E instanceof Br){return{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:E.key.name},value:to_moz(E.value),computed:false,static:E.static}}if(E instanceof Lr){return{type:"PropertyDefinition",key:R,value:to_moz(E.value),computed:q,static:E.static}}if(N instanceof Rr){return{type:"MethodDefinition",computed:q,kind:j,static:E.static,key:to_moz(E.key),value:to_moz(E.value)}}return{type:"Property",computed:q,kind:j,key:R,value:to_moz(E.value)}}));def_to_moz(Or,(function To_Moz_MethodDefinition(E,N){if(N instanceof Dr){return{type:"Property",computed:!(E.key instanceof zr)||E.key instanceof on,kind:"init",method:true,shorthand:false,key:to_moz(E.key),value:to_moz(E.value)}}const R=E instanceof Mr?{type:"PrivateIdentifier",name:E.key.name}:to_moz(E.key);return{type:"MethodDefinition",kind:E.key==="constructor"?"constructor":"method",key:R,value:to_moz(E.value),computed:!(E.key instanceof zr)||E.key instanceof on,static:E.static}}));def_to_moz(Rr,(function To_Moz_Class(E){var N=E instanceof Ur?"ClassExpression":"ClassDeclaration";return{type:N,superClass:to_moz(E.extends),id:E.name?to_moz(E.name):null,body:{type:"ClassBody",body:E.properties.map(to_moz)}}}));def_to_moz(Wr,(function To_Moz_MetaProperty(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}));def_to_moz(zr,(function To_Moz_Identifier(E,N){if(E instanceof Qr&&N.quote){return{type:"Literal",value:E.name}}var R=E.definition();return{type:"Identifier",name:R?R.mangled_name||R.name:E.name}}));def_to_moz(_n,(function To_Moz_RegExpLiteral(E){const N=E.value.source;const R=E.value.flags;return{type:"Literal",value:null,raw:E.print_to_string(),regex:{pattern:N,flags:R}}}));def_to_moz(pn,(function To_Moz_Literal(E){var N=E.value;return{type:"Literal",value:N,raw:E.raw||E.print_to_string()}}));def_to_moz(yn,(function To_Moz_Atom(E){return{type:"Identifier",name:String(E.value)}}));def_to_moz(hn,(E=>({type:"BigIntLiteral",value:E.value})));Tn.DEFMETHOD("to_mozilla_ast",pn.prototype.to_mozilla_ast);vn.DEFMETHOD("to_mozilla_ast",pn.prototype.to_mozilla_ast);Sn.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));pt.DEFMETHOD("to_mozilla_ast",ft.prototype.to_mozilla_ast);wt.DEFMETHOD("to_mozilla_ast",Ft.prototype.to_mozilla_ast);function my_start_token(E){var N=E.loc,R=N&&N.start;var j=E.range;return new AST_Token("","",R&&R.line||0,R&&R.column||0,j?j[0]:E.start,false,[],[],N&&N.source)}function my_end_token(E){var N=E.loc,R=N&&N.end;var j=E.range;return new AST_Token("","",R&&R.line||0,R&&R.column||0,j?j[0]:E.end,false,[],[],N&&N.source)}function map(N,R,j){var $="function From_Moz_"+N+"(M){\n";$+="return new U2."+R.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var q="function To_Moz_"+N+"(M){\n";q+="return {\n"+"type: "+JSON.stringify(N);if(j)j.split(/\s*,\s*/).forEach((function(E){var N=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!N)throw new Error("Can't understand property map: "+E);var R=N[1],j=N[2],G=N[3];$+=",\n"+G+": ";q+=",\n"+R+": ";switch(j){case"@":$+="M."+R+".map(from_moz)";q+="M."+G+".map(to_moz)";break;case">":$+="from_moz(M."+R+")";q+="to_moz(M."+G+")";break;case"=":$+="M."+R;q+="M."+G;break;case"%":$+="from_moz(M."+R+").body";q+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));$+="\n})\n}";q+="\n}\n}";$=new Function("U2","my_start_token","my_end_token","from_moz","return("+$+")")(Fn,my_start_token,my_end_token,from_moz);q=new Function("to_moz","to_moz_block","to_moz_scope","return("+q+")")(to_moz,to_moz_block,to_moz_scope);E[N]=$;def_to_moz(R,q)}var N=null;function from_moz(R){N.push(R);var j=R!=null?E[R.type](R):null;N.pop();return j}ot.from_mozilla_ast=function(E){var R=N;N=[];var j=from_moz(E);N=R;return j};function set_moz_loc(E,N){var R=E.start;var j=E.end;if(!(R&&j)){return N}if(R.pos!=null&&j.endpos!=null){N.range=[R.pos,j.endpos]}if(R.line){N.loc={start:{line:R.line,column:R.col},end:j.endline?{line:j.endline,column:j.endcol}:null};if(R.file){N.loc.source=R.file}}return N}function def_to_moz(E,N){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,N(this,E))}))}var R=null;function to_moz(E){if(R===null){R=[]}R.push(E);var N=E!=null?E.to_mozilla_ast(R[R.length-2]):null;R.pop();if(R.length===0){R=null}return N}function to_moz_in_destructuring(){var E=R.length;while(E--){if(R[E]instanceof Ot){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,N){var R=N.body.map(to_moz);if(N.body[0]instanceof dt&&N.body[0].body instanceof mn){R.unshift(to_moz(new mt(N.body[0])))}return{type:E,body:R}}})();function first_in_statement(E){let N=E.parent(-1);for(let R=0,j;j=E.parent(R);R++){if(j instanceof st&&j.body===N)return true;if(j instanceof fr&&j.expressions[0]===N||j.TYPE==="Call"&&j.expression===N||j instanceof Mt&&j.prefix===N||j instanceof gr&&j.expression===N||j instanceof _r&&j.expression===N||j instanceof Er&&j.condition===N||j instanceof Sr&&j.left===N||j instanceof xr&&j.expression===N){N=j}else{return false}}}function left_is_object(E){if(E instanceof Dr)return true;if(E instanceof fr)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Mt)return left_is_object(E.prefix);if(E instanceof gr||E instanceof _r)return left_is_object(E.expression);if(E instanceof Er)return left_is_object(E.condition);if(E instanceof Sr)return left_is_object(E.left);if(E instanceof xr)return left_is_object(E.expression);return false}const In=/^$|[;{][\s\n]*$/;const Nn=10;const On=32;const Mn=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}function OutputStream(E){var N=!E;E=defaults(E,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(E.shorthand===undefined)E.shorthand=E.ecma>5;var R=return_false;if(E.comments){let N=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var j=E.comments.lastIndexOf("/");N=new RegExp(E.comments.substr(1,j-1),E.comments.substr(j+1))}if(N instanceof RegExp){R=function(E){return E.type!="comment5"&&N.test(E.value)}}else if(typeof N==="function"){R=function(E){return E.type!="comment5"&&N(this,E)}}else if(N==="some"){R=is_some_comments}else{R=return_true}}var $=0;var q=0;var G=1;var ie=0;var ae="";let ce=new Set;var le=E.ascii_only?function(N,R){if(E.ecma>=2015&&!E.safari10){N=N.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var N=get_full_char_code(E,0).toString(16);return"\\u{"+N+"}"}))}return N.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var N=E.charCodeAt(0).toString(16);if(N.length<=2&&!R){while(N.length<2)N="0"+N;return"\\x"+N}else{while(N.length<4)N="0"+N;return"\\u"+N}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,N){if(N){return"\\u"+N.charCodeAt(0).toString(16)}return E}))};function make_string(N,R){var j=0,$=0;N=N.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(R,q){switch(R){case'"':++j;return'"';case"'":++$;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(N,q+1))?"\\x00":"\\0"}return R}));function quote_single(){return"'"+N.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+N.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+N.replace(/`/g,"\\`")+"`"}N=le(N);if(R==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return R=="'"?quote_single():quote_double();default:return j>$?quote_single():quote_double()}}function encode_string(N,R){var j=make_string(N,R);if(E.inline_script){j=j.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");j=j.replace(/\x3c!--/g,"\\x3c!--");j=j.replace(/--\x3e/g,"--\\x3e")}return j}function make_name(E){E=E.toString();E=le(E,true);return E}function make_indent(N){return" ".repeat(E.indent_start+$-N*E.indent_level)}var _e=false;var Ee=false;var Te=false;var we=0;var Ie=false;var Ne=false;var Me=-1;var Le="";var Be,je,Ue=E.source_map&&[];var ze=Ue?function(){Ue.forEach((function(N){try{let R=!N.name&&N.token.type=="name"?N.token.value:N.name;if(R instanceof zr){R=R.name}E.source_map.add(N.token.file,N.line,N.col,N.token.line,N.token.col,is_basic_identifier_string(R)?R:undefined)}catch(E){}}));Ue=[]}:noop;var We=E.max_line_len?function(){if(q>E.max_line_len){if(we){var N=ae.slice(0,we);var R=ae.slice(we);if(Ue){var j=R.length-q;Ue.forEach((function(E){E.line++;E.col+=j}))}ae=N+"\n"+R;G++;ie++;q=R.length}}if(we){we=0;ze()}}:noop;var Je=makePredicate("( [ + * / - , . `");function print(N){N=String(N);var R=get_full_char(N,0);if(Ie&&R){Ie=false;if(R!=="\n"){print("\n");qe()}}if(Ne&&R){Ne=false;if(!/[\s;})]/.test(R)){Ve()}}Me=-1;var j=Le.charAt(Le.length-1);if(Te){Te=false;if(j===":"&&R==="}"||(!R||!";}".includes(R))&&j!==";"){if(E.semicolons||Je.has(R)){ae+=";";q++;ie++}else{We();if(q>0){ae+="\n";ie++;G++;q=0}if(/^\s+$/.test(N)){Te=true}}if(!E.beautify)Ee=false}}if(Ee){if(is_identifier_char(j)&&(is_identifier_char(R)||R=="\\")||R=="/"&&R==j||(R=="+"||R=="-")&&R==Le){ae+=" ";q++;ie++}Ee=false}if(Be){Ue.push({token:Be,name:je,line:G,col:q});Be=false;if(!we)ze()}ae+=N;_e=N[N.length-1]=="(";ie+=N.length;var $=N.split(/\r?\n/),ce=$.length-1;G+=ce;q+=$[0].length;if(ce>0){We();q=$[ce].length}Le=N}var star=function(){print("*")};var Ve=E.beautify?function(){print(" ")}:function(){Ee=true};var qe=E.beautify?function(N){if(E.beautify){print(make_indent(N?.5:0))}}:noop;var He=E.beautify?function(E,N){if(E===true)E=next_indent();var R=$;$=E;var j=N();$=R;return j}:function(E,N){return N()};var Ge=E.beautify?function(){if(Me<0)return print("\n");if(ae[Me]!="\n"){ae=ae.slice(0,Me)+"\n"+ae.slice(Me);ie++;G++}Me++}:E.max_line_len?function(){We();we=ae.length}:noop;var Ke=E.beautify?function(){print(";")}:function(){Te=true};function force_semicolon(){Te=false;print(";")}function next_indent(){return $+E.indent_level}function with_block(E){var N;print("{");Ge();He(next_indent(),(function(){N=E()}));qe();print("}");return N}function with_parens(E){print("(");var N=E();print(")");return N}function with_square(E){print("[");var N=E();print("]");return N}function comma(){print(",");Ve()}function colon(){print(":");Ve()}var Qe=Ue?function(E,N){Be=E;je=N}:noop;function get(){if(we){We()}return ae}function has_nlb(){let E=ae.length-1;while(E>=0){const N=ae.charCodeAt(E);if(N===Nn){return true}if(N!==On){return false}E--}return true}function filter_comment(N){if(!E.preserve_annotations){N=N.replace(Mn," ")}if(/^\s*$/.test(N)){return""}return N.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(N){var j=this;var $=N.start;if(!$)return;var q=j.printed_comments;const G=N instanceof jt&&N.value;if($.comments_before&&q.has($.comments_before)){if(G){$.comments_before=[]}else{return}}var ae=$.comments_before;if(!ae){ae=$.comments_before=[]}q.add(ae);if(G){var ce=new TreeWalker((function(E){var N=ce.parent();if(N instanceof jt||N instanceof Sr&&N.left===E||N.TYPE=="Call"&&N.expression===E||N instanceof Er&&N.condition===E||N instanceof gr&&N.expression===E||N instanceof fr&&N.expressions[0]===E||N instanceof _r&&N.expression===E||N instanceof xr){if(!E.start)return;var R=E.start.comments_before;if(R&&!q.has(R)){q.add(R);ae=ae.concat(R)}}else{return true}}));ce.push(N);N.value.walk(ce)}if(ie==0){if(ae.length>0&&E.shebang&&ae[0].type==="comment5"&&!q.has(ae[0])){print("#!"+ae.shift().value+"\n");qe()}var le=E.preamble;if(le){print(le.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}ae=ae.filter(R,N).filter((E=>!q.has(E)));if(ae.length==0)return;var _e=has_nlb();ae.forEach((function(E,N){q.add(E);if(!_e){if(E.nlb){print("\n");qe();_e=true}else if(N>0){Ve()}}if(/comment[134]/.test(E.type)){var R=filter_comment(E.value);if(R){print("//"+R+"\n");qe()}_e=true}else if(E.type=="comment2"){var R=filter_comment(E.value);if(R){print("/*"+R+"*/")}_e=false}}));if(!_e){if($.nlb){print("\n");qe()}else{Ve()}}}function append_comments(E,N){var j=this;var $=E.end;if(!$)return;var q=j.printed_comments;var G=$[N?"comments_before":"comments_after"];if(!G||q.has(G))return;if(!(E instanceof st||G.every((E=>!/comment[134]/.test(E.type)))))return;q.add(G);var ie=ae.length;G.filter(R,E).forEach((function(E,R){if(q.has(E))return;q.add(E);Ne=false;if(Ie){print("\n");qe();Ie=false}else if(E.nlb&&(R>0||!has_nlb())){print("\n");qe()}else if(R>0||!N){Ve()}if(/comment[134]/.test(E.type)){const N=filter_comment(E.value);if(N){print("//"+N)}Ie=true}else if(E.type=="comment2"){const N=filter_comment(E.value);if(N){print("/*"+N+"*/")}Ne=true}}));if(ae.length>ie)Me=ie}var Xe=[];return{get:get,toString:get,indent:qe,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return $},current_width:function(){return q-$},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return _e},newline:Ge,print:print,star:star,space:Ve,comma:comma,colon:colon,last:function(){return Le},semicolon:Ke,force_semicolon:force_semicolon,to_utf8:le,print_name:function(E){print(make_name(E))},print_string:function(E,N,R){var j=encode_string(E,N);if(R===true&&!j.includes("\\")){if(!In.test(ae)){force_semicolon()}force_semicolon()}print(j)},print_template_string_chars:function(E){var N=encode_string(E,"`").replace(/\${/g,"\\${");return print(N.substr(1,N.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:He,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:Qe,option:function(N){return E[N]},printed_comments:ce,prepend_comments:N?noop:prepend_comments,append_comments:N||R===return_false?noop:append_comments,line:function(){return G},col:function(){return q},pos:function(){return ie},push_node:function(E){Xe.push(E)},pop_node:function(){return Xe.pop()},parent:function(E){return Xe[Xe.length-2-(E||0)]}}}(function(){function DEFPRINT(E,N){E.DEFMETHOD("_codegen",N)}ot.DEFMETHOD("print",(function(E,N){var R=this,j=R._codegen;if(R instanceof Ct){E.active_scope=R}else if(!E.use_asm&&R instanceof ut&&R.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(R);R.add_source_map(E);j(R,E);E.append_comments(R)}E.push_node(R);if(N||R.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(R===E.use_asm){E.use_asm=null}}));ot.DEFMETHOD("_print",ot.prototype.print);ot.DEFMETHOD("print_to_string",(function(E){var N=OutputStream(E);this.print(N);return N.get()}));function PARENS(E,N){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,N)}))}else{E.DEFMETHOD("needs_parens",N)}}PARENS(ot,return_false);PARENS(Ft,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var N=E.parent();if(N instanceof mr&&N.expression===this){return true}}if(E.option("wrap_iife")){var N=E.parent();if(N instanceof dr&&N.expression===this){return true}}if(E.option("wrap_func_args")){var N=E.parent();if(N instanceof dr&&N.args.includes(this)){return true}}return false}));PARENS(It,(function(E){var N=E.parent();if(E.option("wrap_func_args")&&N instanceof dr&&N.args.includes(this)){return true}return N instanceof mr&&N.expression===this}));PARENS(Dr,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(Ur,first_in_statement);PARENS(vr,(function(E){var N=E.parent();return N instanceof mr&&N.expression===this||N instanceof dr&&N.expression===this||N instanceof Sr&&N.operator==="**"&&this instanceof br&&N.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Vt,(function(E){var N=E.parent();return N instanceof mr&&N.expression===this||N instanceof dr&&N.expression===this||N instanceof Sr&&N.operator==="**"&&N.left===this||E.option("safari10")&&N instanceof br}));PARENS(fr,(function(E){var N=E.parent();return N instanceof dr||N instanceof vr||N instanceof Sr||N instanceof ar||N instanceof mr||N instanceof Cr||N instanceof Ar||N instanceof Er||N instanceof It||N instanceof kr||N instanceof At||N instanceof Tt&&this===N.object||N instanceof qt||N instanceof ur}));PARENS(Sr,(function(E){var N=E.parent();if(N instanceof dr&&N.expression===this)return true;if(N instanceof vr)return true;if(N instanceof mr&&N.expression===this)return true;if(N instanceof Sr){const E=N.operator;const R=this.operator;if(R==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(R==="||"||R==="&&")){return true}const j=et[E];const $=et[R];if(j>$||j==$&&(this===N.right||E=="**")){return true}}}));PARENS(qt,(function(E){var N=E.parent();if(N instanceof Sr&&N.operator!=="=")return true;if(N instanceof dr&&N.expression===this)return true;if(N instanceof Er&&N.condition===this)return true;if(N instanceof vr)return true;if(N instanceof mr&&N.expression===this)return true}));PARENS(mr,(function(E){var N=E.parent();if(N instanceof pr&&N.expression===this){return walk(this,(E=>{if(E instanceof Ct)return true;if(E instanceof dr){return Dn}}))}}));PARENS(dr,(function(E){var N=E.parent(),R;if(N instanceof pr&&N.expression===this||N instanceof ur&&N.is_default&&this.expression instanceof Ft)return true;return this.expression instanceof Ft&&N instanceof mr&&N.expression===this&&(R=E.parent(1))instanceof Tr&&R.left===N}));PARENS(pr,(function(E){var N=E.parent();if(this.args.length===0&&(N instanceof mr||N instanceof dr&&N.expression===this))return true}));PARENS(gn,(function(E){var N=E.parent();if(N instanceof mr&&N.expression===this){var R=this.getValue();if(R<0||/^0/.test(make_num(R))){return true}}}));PARENS(hn,(function(E){var N=E.parent();if(N instanceof mr&&N.expression===this){var R=this.getValue();if(R.startsWith("-")){return true}}}));PARENS([Tr,Er],(function(E){var N=E.parent();if(N instanceof vr)return true;if(N instanceof Sr&&!(N instanceof Tr))return true;if(N instanceof dr&&N.expression===this)return true;if(N instanceof Er&&N.condition===this)return true;if(N instanceof mr&&N.expression===this)return true;if(this instanceof Tr&&this.left instanceof Ot&&this.left.is_array===false)return true}));DEFPRINT(ut,(function(E,N){N.print_string(E.value,E.quote);N.semicolon()}));DEFPRINT(At,(function(E,N){N.print("...");E.expression.print(N)}));DEFPRINT(Ot,(function(E,N){N.print(E.is_array?"[":"{");var R=E.names.length;E.names.forEach((function(E,j){if(j>0)N.comma();E.print(N);if(j==R-1&&E instanceof Sn)N.comma()}));N.print(E.is_array?"]":"}")}));DEFPRINT(ct,(function(E,N){N.print("debugger");N.semicolon()}));function display_body(E,N,R,j){var $=E.length-1;R.in_directive=j;E.forEach((function(E,j){if(R.in_directive===true&&!(E instanceof ut||E instanceof mt||E instanceof dt&&E.body instanceof mn)){R.in_directive=false}if(!(E instanceof mt)){R.indent();E.print(R);if(!(j==$&&N)){R.newline();if(N)R.newline()}}if(R.in_directive===true&&E instanceof dt&&E.body instanceof mn){R.in_directive=false}}));R.in_directive=false}ht.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(st,(function(E,N){E.body.print(N);N.semicolon()}));DEFPRINT(Dt,(function(E,N){display_body(E.body,true,N,true);N.print("")}));DEFPRINT(_t,(function(E,N){E.label.print(N);N.colon();E.body.print(N)}));DEFPRINT(dt,(function(E,N){E.body.print(N);N.semicolon()}));function print_braced_empty(E,N){N.print("{");N.with_indent(N.next_indent(),(function(){N.append_comments(E,true)}));N.print("}")}function print_braced(E,N,R){if(E.body.length>0){N.with_block((function(){display_body(E.body,false,N,R)}))}else print_braced_empty(E,N)}DEFPRINT(ft,(function(E,N){print_braced(E,N)}));DEFPRINT(mt,(function(E,N){N.semicolon()}));DEFPRINT(bt,(function(E,N){N.print("do");N.space();make_block(E.body,N);N.space();N.print("while");N.space();N.with_parens((function(){E.condition.print(N)}));N.semicolon()}));DEFPRINT(xt,(function(E,N){N.print("while");N.space();N.with_parens((function(){E.condition.print(N)}));N.space();E._do_print_body(N)}));DEFPRINT(St,(function(E,N){N.print("for");N.space();N.with_parens((function(){if(E.init){if(E.init instanceof tr){E.init.print(N)}else{parenthesize_for_noin(E.init,N,true)}N.print(";");N.space()}else{N.print(";")}if(E.condition){E.condition.print(N);N.print(";");N.space()}else{N.print(";")}if(E.step){E.step.print(N)}}));N.space();E._do_print_body(N)}));DEFPRINT(Et,(function(E,N){N.print("for");if(E.await){N.space();N.print("await")}N.space();N.with_parens((function(){E.init.print(N);N.space();N.print(E instanceof Tt?"of":"in");N.space();E.object.print(N)}));N.space();E._do_print_body(N)}));DEFPRINT(kt,(function(E,N){N.print("with");N.space();N.with_parens((function(){E.expression.print(N)}));N.space();E._do_print_body(N)}));wt.DEFMETHOD("_do_print",(function(E,N){var R=this;if(!N){if(R.async){E.print("async");E.space()}E.print("function");if(R.is_generator){E.star()}if(R.name){E.space()}}if(R.name instanceof zr){R.name.print(E)}else if(N&&R.name instanceof ot){E.with_square((function(){R.name.print(E)}))}E.with_parens((function(){R.argnames.forEach((function(N,R){if(R)E.comma();N.print(E)}))}));E.space();print_braced(R,E,true)}));DEFPRINT(wt,(function(E,N){E._do_print(N)}));DEFPRINT(Mt,(function(E,N){var R=E.prefix;var j=R instanceof wt||R instanceof Sr||R instanceof Er||R instanceof fr||R instanceof vr||R instanceof gr&&R.expression instanceof Dr;if(j)N.print("(");E.prefix.print(N);if(j)N.print(")");E.template_string.print(N)}));DEFPRINT(Rt,(function(E,N){var R=N.parent()instanceof Mt;N.print("`");for(var j=0;j<E.segments.length;j++){if(!(E.segments[j]instanceof Lt)){N.print("${");E.segments[j].print(N);N.print("}")}else if(R){N.print(E.segments[j].raw)}else{N.print_template_string_chars(E.segments[j].value)}}N.print("`")}));DEFPRINT(Lt,(function(E,N){N.print_template_string_chars(E.value)}));It.DEFMETHOD("_do_print",(function(E){var N=this;var R=E.parent();var j=R instanceof Sr&&!(R instanceof Tr)||R instanceof vr||R instanceof dr&&N===R.expression;if(j){E.print("(")}if(N.async){E.print("async");E.space()}if(N.argnames.length===1&&N.argnames[0]instanceof zr){N.argnames[0].print(E)}else{E.with_parens((function(){N.argnames.forEach((function(N,R){if(R)E.comma();N.print(E)}))}))}E.space();E.print("=>");E.space();const $=N.body[0];if(N.body.length===1&&$ instanceof Ut){const N=$.value;if(!N){E.print("{}")}else if(left_is_object(N)){E.print("(");N.print(E);E.print(")")}else{N.print(E)}}else{print_braced(N,E)}if(j){E.print(")")}}));jt.DEFMETHOD("_do_print",(function(E,N){E.print(N);if(this.value){E.space();const N=this.value.start.comments_before;if(N&&N.length&&!E.printed_comments.has(N)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT(Ut,(function(E,N){E._do_print(N,"return")}));DEFPRINT(zt,(function(E,N){E._do_print(N,"throw")}));DEFPRINT(qt,(function(E,N){var R=E.is_star?"*":"";N.print("yield"+R);if(E.expression){N.space();E.expression.print(N)}}));DEFPRINT(Vt,(function(E,N){N.print("await");N.space();var R=E.expression;var j=!(R instanceof dr||R instanceof on||R instanceof mr||R instanceof vr||R instanceof pn||R instanceof Vt||R instanceof Dr);if(j)N.print("(");E.expression.print(N);if(j)N.print(")")}));Wt.DEFMETHOD("_do_print",(function(E,N){E.print(N);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT($t,(function(E,N){E._do_print(N,"break")}));DEFPRINT(Jt,(function(E,N){E._do_print(N,"continue")}));function make_then(E,N){var R=E.body;if(N.option("braces")||N.option("ie8")&&R instanceof bt)return make_block(R,N);if(!R)return N.force_semicolon();while(true){if(R instanceof Ht){if(!R.alternative){make_block(E.body,N);return}R=R.alternative}else if(R instanceof ht){R=R.body}else break}force_statement(E.body,N)}DEFPRINT(Ht,(function(E,N){N.print("if");N.space();N.with_parens((function(){E.condition.print(N)}));N.space();if(E.alternative){make_then(E,N);N.space();N.print("else");N.space();if(E.alternative instanceof Ht)E.alternative.print(N);else force_statement(E.alternative,N)}else{E._do_print_body(N)}}));DEFPRINT(Gt,(function(E,N){N.print("switch");N.space();N.with_parens((function(){E.expression.print(N)}));N.space();var R=E.body.length-1;if(R<0)print_braced_empty(E,N);else N.with_block((function(){E.body.forEach((function(E,j){N.indent(true);E.print(N);if(j<R&&E.body.length>0)N.newline()}))}))}));Kt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(N){E.indent();N.print(E);E.newline()}))}));DEFPRINT(Qt,(function(E,N){N.print("default:");E._do_print_body(N)}));DEFPRINT(Xt,(function(E,N){N.print("case");N.space();E.expression.print(N);N.print(":");E._do_print_body(N)}));DEFPRINT(Yt,(function(E,N){N.print("try");N.space();print_braced(E,N);if(E.bcatch){N.space();E.bcatch.print(N)}if(E.bfinally){N.space();E.bfinally.print(N)}}));DEFPRINT(Zt,(function(E,N){N.print("catch");if(E.argname){N.space();N.with_parens((function(){E.argname.print(N)}))}N.space();print_braced(E,N)}));DEFPRINT(er,(function(E,N){N.print("finally");N.space();print_braced(E,N)}));tr.DEFMETHOD("_do_print",(function(E,N){E.print(N);E.space();this.definitions.forEach((function(N,R){if(R)E.comma();N.print(E)}));var R=E.parent();var j=R instanceof St||R instanceof Et;var $=!j||R&&R.init!==this;if($)E.semicolon()}));DEFPRINT(nr,(function(E,N){E._do_print(N,"let")}));DEFPRINT(rr,(function(E,N){E._do_print(N,"var")}));DEFPRINT(ir,(function(E,N){E._do_print(N,"const")}));DEFPRINT(cr,(function(E,N){N.print("import");N.space();if(E.imported_name){E.imported_name.print(N)}if(E.imported_name&&E.imported_names){N.print(",");N.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(N)}else{N.print("{");E.imported_names.forEach((function(R,j){N.space();R.print(N);if(j<E.imported_names.length-1){N.print(",")}}));N.space();N.print("}")}}if(E.imported_name||E.imported_names){N.space();N.print("from");N.space()}E.module_name.print(N);N.semicolon()}));DEFPRINT(lr,(function(E,N){N.print("import.meta")}));DEFPRINT(sr,(function(E,N){var R=N.parent()instanceof cr;var j=E.name.definition();var $=(j&&j.mangled_name||E.name.name)!==E.foreign_name.name;if($){if(R){N.print(E.foreign_name.name)}else{E.name.print(N)}N.space();N.print("as");N.space();if(R){E.name.print(N)}else{N.print(E.foreign_name.name)}}else{E.name.print(N)}}));DEFPRINT(ur,(function(E,N){N.print("export");N.space();if(E.is_default){N.print("default");N.space()}if(E.exported_names){if(E.exported_names.length===1&&E.exported_names[0].name.name==="*"){E.exported_names[0].print(N)}else{N.print("{");E.exported_names.forEach((function(R,j){N.space();R.print(N);if(j<E.exported_names.length-1){N.print(",")}}));N.space();N.print("}")}}else if(E.exported_value){E.exported_value.print(N)}else if(E.exported_definition){E.exported_definition.print(N);if(E.exported_definition instanceof tr)return}if(E.module_name){N.space();N.print("from");N.space();E.module_name.print(N)}if(E.exported_value&&!(E.exported_value instanceof Nt||E.exported_value instanceof Ft||E.exported_value instanceof Rr)||E.module_name||E.exported_names){N.semicolon()}}));function parenthesize_for_noin(E,N,R){var j=false;if(R){j=walk(E,(E=>{if(E instanceof Ct)return true;if(E instanceof Sr&&E.operator=="in"){return Dn}}))}E.print(N,j)}DEFPRINT(ar,(function(E,N){E.name.print(N);if(E.value){N.space();N.print("=");N.space();var R=N.parent(1);var j=R instanceof St||R instanceof Et;parenthesize_for_noin(E.value,N,j)}}));DEFPRINT(dr,(function(E,N){E.expression.print(N);if(E instanceof pr&&E.args.length===0)return;if(E.expression instanceof dr||E.expression instanceof wt){N.add_mapping(E.start)}if(E.optional)N.print("?.");N.with_parens((function(){E.args.forEach((function(E,R){if(R)N.comma();E.print(N)}))}))}));DEFPRINT(pr,(function(E,N){N.print("new");N.space();dr.prototype._codegen(E,N)}));fr.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(N,R){if(R>0){E.comma();if(E.should_break()){E.newline();E.indent()}}N.print(E)}))}));DEFPRINT(fr,(function(E,N){E._do_print(N)}));DEFPRINT(gr,(function(E,N){var R=E.expression;R.print(N);var j=E.property;var $=_e.has(j)?N.option("ie8"):!is_identifier_string(j,N.option("ecma")>=2015||N.option("safari10"));if(E.optional)N.print("?.");if($){N.print("[");N.add_mapping(E.end);N.print_string(j);N.print("]")}else{if(R instanceof gn&&R.getValue()>=0){if(!/[xa-f.)]/i.test(N.last())){N.print(".")}}if(!E.optional)N.print(".");N.add_mapping(E.end);N.print_name(j)}}));DEFPRINT(hr,(function(E,N){var R=E.expression;R.print(N);var j=E.property;if(E.optional)N.print("?");N.print(".#");N.print_name(j)}));DEFPRINT(_r,(function(E,N){E.expression.print(N);if(E.optional)N.print("?.");N.print("[");E.property.print(N);N.print("]")}));DEFPRINT(yr,(function(E,N){E.expression.print(N)}));DEFPRINT(br,(function(E,N){var R=E.operator;N.print(R);if(/^[a-z]/i.test(R)||/[+-]$/.test(R)&&E.expression instanceof br&&/^[+-]/.test(E.expression.operator)){N.space()}E.expression.print(N)}));DEFPRINT(xr,(function(E,N){E.expression.print(N);N.print(E.operator)}));DEFPRINT(Sr,(function(E,N){var R=E.operator;E.left.print(N);if(R[0]==">"&&E.left instanceof xr&&E.left.operator=="--"){N.print(" ")}else{N.space()}N.print(R);if((R=="<"||R=="<<")&&E.right instanceof br&&E.right.operator=="!"&&E.right.expression instanceof br&&E.right.expression.operator=="--"){N.print(" ")}else{N.space()}E.right.print(N)}));DEFPRINT(Er,(function(E,N){E.condition.print(N);N.space();N.print("?");N.space();E.consequent.print(N);N.space();N.colon();E.alternative.print(N)}));DEFPRINT(Cr,(function(E,N){N.with_square((function(){var R=E.elements,j=R.length;if(j>0)N.space();R.forEach((function(E,R){if(R)N.comma();E.print(N);if(R===j-1&&E instanceof Sn)N.comma()}));if(j>0)N.space()}))}));DEFPRINT(Dr,(function(E,N){if(E.properties.length>0)N.with_block((function(){E.properties.forEach((function(E,R){if(R){N.print(",");N.newline()}N.indent();E.print(N)}));N.newline()}));else print_braced_empty(E,N)}));DEFPRINT(Rr,(function(E,N){N.print("class");N.space();if(E.name){E.name.print(N);N.space()}if(E.extends){var R=!(E.extends instanceof on)&&!(E.extends instanceof mr)&&!(E.extends instanceof Ur)&&!(E.extends instanceof Ft);N.print("extends");if(R){N.print("(")}else{N.space()}E.extends.print(N);if(R){N.print(")")}else{N.space()}}if(E.properties.length>0)N.with_block((function(){E.properties.forEach((function(E,R){if(R){N.newline()}N.indent();E.print(N)}));N.newline()}));else N.print("{}")}));DEFPRINT(Wr,(function(E,N){N.print("new.target")}));function print_property_name(E,N,R){if(R.option("quote_keys")){return R.print_string(E)}if(""+ +E==E&&E>=0){if(R.option("keep_numbers")){return R.print(E)}return R.print(make_num(E))}var j=_e.has(E)?R.option("ie8"):R.option("ecma")<2015||R.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if(j||N&&R.option("keep_quoted_props")){return R.print_string(E,N)}return R.print_name(E)}DEFPRINT(wr,(function(E,N){function get_name(E){var N=E.definition();return N?N.mangled_name||N.name:E.name}var R=N.option("shorthand");if(R&&E.value instanceof zr&&is_identifier_string(E.key,N.option("ecma")>=2015||N.option("safari10"))&&get_name(E.value)===E.key&&!_e.has(E.key)){print_property_name(E.key,E.quote,N)}else if(R&&E.value instanceof kr&&E.value.left instanceof zr&&is_identifier_string(E.key,N.option("ecma")>=2015||N.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,N);N.space();N.print("=");N.space();E.value.right.print(N)}else{if(!(E.key instanceof ot)){print_property_name(E.key,E.quote,N)}else{N.with_square((function(){E.key.print(N)}))}N.colon();E.value.print(N)}}));DEFPRINT(Br,((E,N)=>{if(E.static){N.print("static");N.space()}N.print("#");print_property_name(E.key.name,E.quote,N);if(E.value){N.print("=");E.value.print(N)}N.semicolon()}));DEFPRINT(Lr,((E,N)=>{if(E.static){N.print("static");N.space()}if(E.key instanceof Xr){print_property_name(E.key.name,E.quote,N)}else{N.print("[");E.key.print(N);N.print("]")}if(E.value){N.print("=");E.value.print(N)}N.semicolon()}));Ar.DEFMETHOD("_print_getter_setter",(function(E,N,R){var j=this;if(j.static){R.print("static");R.space()}if(E){R.print(E);R.space()}if(j.key instanceof Qr){if(N)R.print("#");print_property_name(j.key.name,j.quote,R)}else{R.with_square((function(){j.key.print(R)}))}j.value._do_print(R,true)}));DEFPRINT(Ir,(function(E,N){E._print_getter_setter("set",false,N)}));DEFPRINT(Nr,(function(E,N){E._print_getter_setter("get",false,N)}));DEFPRINT(Pr,(function(E,N){E._print_getter_setter("set",true,N)}));DEFPRINT(Fr,(function(E,N){E._print_getter_setter("get",true,N)}));DEFPRINT(Mr,(function(E,N){var R;if(E.is_generator&&E.async){R="async*"}else if(E.is_generator){R="*"}else if(E.async){R="async"}E._print_getter_setter(R,true,N)}));DEFPRINT(Or,(function(E,N){var R;if(E.is_generator&&E.async){R="async*"}else if(E.is_generator){R="*"}else if(E.async){R="async"}E._print_getter_setter(R,false,N)}));zr.DEFMETHOD("_do_print",(function(E){var N=this.definition();E.print_name(N?N.mangled_name||N.name:this.name)}));DEFPRINT(zr,(function(E,N){E._do_print(N)}));DEFPRINT(Sn,noop);DEFPRINT(un,(function(E,N){N.print("this")}));DEFPRINT(dn,(function(E,N){N.print("super")}));DEFPRINT(pn,(function(E,N){N.print(E.getValue())}));DEFPRINT(mn,(function(E,N){N.print_string(E.getValue(),E.quote,N.in_directive)}));DEFPRINT(gn,(function(E,N){if((N.option("keep_numbers")||N.use_asm)&&E.raw){N.print(E.raw)}else{N.print(make_num(E.getValue()))}}));DEFPRINT(hn,(function(E,N){N.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,N)=>N.replace("/","\\/");DEFPRINT(_n,(function(N,R){let{source:j,flags:$}=N.getValue();j=regexp_source_fix(j);$=$?sort_regexp_flags($):"";j=j.replace(E,slash_script_replace);R.print(R.to_utf8(`/${j}/${$}`));const q=R.parent();if(q instanceof Sr&&/^\w/.test(q.operator)&&q.left===N){R.print(" ")}}));function force_statement(E,N){if(N.option("braces")){make_block(E,N)}else{if(!E||E instanceof mt)N.force_semicolon();else E.print(N)}}function best_of(E){var N=E[0],R=N.length;for(var j=1;j<E.length;++j){if(E[j].length<R){N=E[j];R=N.length}}return N}function make_num(E){var N=E.toString(10).replace(/^0\./,".").replace("e+","e");var R=[N];if(Math.floor(E)===E){if(E<0){R.push("-0x"+(-E).toString(16).toLowerCase())}else{R.push("0x"+E.toString(16).toLowerCase())}}var j,$,q;if(j=/^\.0+/.exec(N)){$=j[0].length;q=N.slice($);R.push(q+"e-"+(q.length+$-1))}else if(j=/0+$/.exec(N)){$=j[0].length;R.push(N.slice(0,-$)+"e"+$)}else if(j=/^(\d)\.(\d+)e(-?\d+)$/.exec(N)){R.push(j[1]+j[2]+"e"+(j[3]-j[2].length))}return best_of(R)}function make_block(E,N){if(!E||E instanceof mt)N.print("{}");else if(E instanceof ft)E.print(N);else N.with_block((function(){N.indent();E.print(N);N.newline()}))}function DEFMAP(E,N){E.forEach((function(E){E.DEFMETHOD("add_source_map",N)}))}DEFMAP([ot,_t,Dt],noop);DEFMAP([Cr,ft,Zt,Rr,pn,ct,tr,ut,er,Bt,wt,pr,Dr,ht,zr,Gt,Kt,Rt,Lt,Yt],(function(E){E.add_mapping(this.start)}));DEFMAP([Nr,Ir],(function(E){E.add_mapping(this.start,this.key.name)}));DEFMAP([Ar],(function(E){E.add_mapping(this.start,this.key)}))})();const shallow_cmp=(E,N)=>E===null&&N===null||E.TYPE===N.TYPE&&E.shallow_cmp(N);const equivalent_to=(E,N)=>{if(!shallow_cmp(E,N))return false;const R=[E];const j=[N];const $=R.push.bind(R);const q=j.push.bind(j);while(R.length&&j.length){const E=R.pop();const N=j.pop();if(!shallow_cmp(E,N))return false;E._children_backwards($);N._children_backwards(q);if(R.length!==j.length){return false}}return R.length==0&&j.length==0};const mkshallow=E=>{const N=Object.keys(E).map((N=>{if(E[N]==="eq"){return`this.${N} === other.${N}`}else if(E[N]==="exist"){return`(this.${N} == null ? other.${N} == null : this.${N} === other.${N})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[N]}`)}})).join(" && ");return new Function("other","return "+N)};const pass_through=()=>true;ot.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};ct.prototype.shallow_cmp=pass_through;ut.prototype.shallow_cmp=mkshallow({value:"eq"});dt.prototype.shallow_cmp=pass_through;pt.prototype.shallow_cmp=pass_through;mt.prototype.shallow_cmp=pass_through;_t.prototype.shallow_cmp=mkshallow({"label.name":"eq"});bt.prototype.shallow_cmp=pass_through;xt.prototype.shallow_cmp=pass_through;St.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});Et.prototype.shallow_cmp=pass_through;Tt.prototype.shallow_cmp=pass_through;kt.prototype.shallow_cmp=pass_through;Dt.prototype.shallow_cmp=pass_through;At.prototype.shallow_cmp=pass_through;wt.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});Ot.prototype.shallow_cmp=mkshallow({is_array:"eq"});Mt.prototype.shallow_cmp=pass_through;Rt.prototype.shallow_cmp=pass_through;Lt.prototype.shallow_cmp=mkshallow({value:"eq"});Bt.prototype.shallow_cmp=pass_through;Wt.prototype.shallow_cmp=pass_through;Vt.prototype.shallow_cmp=pass_through;qt.prototype.shallow_cmp=mkshallow({is_star:"eq"});Ht.prototype.shallow_cmp=mkshallow({alternative:"exist"});Gt.prototype.shallow_cmp=pass_through;Kt.prototype.shallow_cmp=pass_through;Yt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Zt.prototype.shallow_cmp=mkshallow({argname:"exist"});er.prototype.shallow_cmp=pass_through;tr.prototype.shallow_cmp=pass_through;ar.prototype.shallow_cmp=mkshallow({value:"exist"});sr.prototype.shallow_cmp=pass_through;cr.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});lr.prototype.shallow_cmp=pass_through;ur.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});dr.prototype.shallow_cmp=pass_through;fr.prototype.shallow_cmp=pass_through;mr.prototype.shallow_cmp=pass_through;yr.prototype.shallow_cmp=pass_through;gr.prototype.shallow_cmp=mkshallow({property:"eq"});hr.prototype.shallow_cmp=mkshallow({property:"eq"});vr.prototype.shallow_cmp=mkshallow({operator:"eq"});Sr.prototype.shallow_cmp=mkshallow({operator:"eq"});Er.prototype.shallow_cmp=pass_through;Cr.prototype.shallow_cmp=pass_through;Dr.prototype.shallow_cmp=pass_through;Ar.prototype.shallow_cmp=pass_through;wr.prototype.shallow_cmp=mkshallow({key:"eq"});Ir.prototype.shallow_cmp=mkshallow({static:"eq"});Nr.prototype.shallow_cmp=mkshallow({static:"eq"});Or.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Rr.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Lr.prototype.shallow_cmp=mkshallow({static:"eq"});zr.prototype.shallow_cmp=mkshallow({name:"eq"});Wr.prototype.shallow_cmp=pass_through;un.prototype.shallow_cmp=pass_through;dn.prototype.shallow_cmp=pass_through;mn.prototype.shallow_cmp=mkshallow({value:"eq"});gn.prototype.shallow_cmp=mkshallow({value:"eq"});hn.prototype.shallow_cmp=mkshallow({value:"eq"});_n.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};yn.prototype.shallow_cmp=pass_through;const Rn=1<<0;const Ln=1<<1;let Bn=null;let jn=null;class SymbolDef{constructor(E,N,R){this.name=N.name;this.orig=[N];this.init=R;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof ot)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(Bn&&Bn.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Rn||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Yr||this.orig[0]instanceof Kr)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Qr||(this.orig[0]instanceof en||this.orig[0]instanceof Zr)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const N=E.cache&&E.cache.props;if(this.global&&N&&N.has(this.name)){this.mangled_name=N.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var R=this.scope;var j=this.orig[0];if(E.ie8&&j instanceof Yr)R=R.parent_scope;const $=redefined_catch_def(this);this.mangled_name=$?$.mangled_name||$.name:R.next_mangled(E,this);if(this.global&&N){N.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof tn&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}Ct.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:N=null,toplevel:R=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(R instanceof Dt)){throw new Error("Invalid toplevel scope")}var j=this.parent_scope=N;var $=new Map;var q=null;var G=null;var ie=[];var ae=new TreeWalker(((N,R)=>{if(N.is_block_scope()){const $=j;N.block_scope=j=new Ct(N);j._block_scope=true;const q=N instanceof Zt?$.parent_scope:$;j.init_scope_vars(q);j.uses_with=$.uses_with;j.uses_eval=$.uses_eval;if(E.safari10){if(N instanceof St||N instanceof Et){ie.push(j)}}if(N instanceof Gt){const E=j;j=$;N.expression.walk(ae);j=E;for(let E=0;E<N.body.length;E++){N.body[E].walk(ae)}}else{R()}j=$;return true}if(N instanceof Ot){const E=G;G=N;R();G=E;return true}if(N instanceof Ct){N.init_scope_vars(j);var ce=j;var le=q;var _e=$;q=j=N;$=new Map;R();j=ce;q=le;$=_e;return true}if(N instanceof _t){var Ee=N.label;if($.has(Ee.name)){throw new Error(string_template("Label {name} defined twice",Ee))}$.set(Ee.name,Ee);R();$.delete(Ee.name);return true}if(N instanceof kt){for(var Te=j;Te;Te=Te.parent_scope)Te.uses_with=true;return}if(N instanceof zr){N.scope=j}if(N instanceof an){N.thedef=N;N.references=[]}if(N instanceof Yr){q.def_function(N,N.name=="arguments"?undefined:q)}else if(N instanceof Kr){const E=q.parent_scope;N.scope=ae.directives["use strict"]?E:E.get_defun_scope();mark_export(N.scope.def_function(N,q),1)}else if(N instanceof en){mark_export(q.def_variable(N,q),1)}else if(N instanceof rn){j.def_variable(N)}else if(N instanceof Zr){mark_export((N.scope=q.parent_scope).def_function(N,q),1)}else if(N instanceof Jr||N instanceof Hr||N instanceof qr||N instanceof tn){var we;if(N instanceof Vr){we=j.def_variable(N,null)}else{we=q.def_variable(N,N.TYPE=="SymbolVar"?null:undefined)}if(!we.orig.every((E=>{if(E===N)return true;if(N instanceof Vr){return E instanceof Yr}return!(E instanceof Hr||E instanceof qr)}))){js_error(`"${N.name}" is redeclared`,N.start.file,N.start.line,N.start.col,N.start.pos)}if(!(N instanceof Gr))mark_export(we,2);if(q!==j){N.mark_enclosed();var we=j.find_variable(N);if(N.thedef!==we){N.thedef=we;N.reference()}}}else if(N instanceof ln){var Ie=$.get(N.name);if(!Ie)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:N.name,line:N.start.line,col:N.start.col}));N.thedef=Ie}if(!(j instanceof Dt)&&(N instanceof ur||N instanceof cr)){js_error(`"${N.TYPE}" statement may only appear at the top level`,N.start.file,N.start.line,N.start.col,N.start.pos)}}));this.walk(ae);function mark_export(E,N){if(G){var R=0;do{N++}while(ae.parent(R++)!==G)}var j=ae.parent(N);if(E.export=j instanceof ur?Rn:0){var $=j.exported_definition;if(($ instanceof Nt||$ instanceof jr)&&j.is_default){E.export=Ln}}}const ce=this instanceof Dt;if(ce){this.globals=new Map}var ae=new TreeWalker((E=>{if(E instanceof Wt&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof on){var N=E.name;if(N=="eval"&&ae.parent()instanceof dr){for(var j=E.scope;j&&!j.uses_eval;j=j.parent_scope){j.uses_eval=true}}var $;if(ae.parent()instanceof sr&&ae.parent(1).module_name||!($=E.scope.find_variable(N))){$=R.def_global(E);if(E instanceof sn)$.export=Rn}else if($.scope instanceof wt&&N=="arguments"){$.scope.uses_arguments=true}E.thedef=$;E.reference();if(E.scope.is_block_scope()&&!($.orig[0]instanceof Vr)){E.scope=E.scope.get_defun_scope()}return true}var q;if(E instanceof tn&&(q=redefined_catch_def(E.definition()))){var j=E.scope;while(j){push_uniq(j.enclosed,q);if(j===q.scope)break;j=j.parent_scope}}}));this.walk(ae);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof tn){var N=E.name;var j=E.thedef.references;var $=E.scope.get_defun_scope();var q=$.find_variable(N)||R.globals.get(N)||$.def_variable(E);j.forEach((function(E){E.thedef=q;E.reference()}));E.thedef=q;E.reference();return true}}))}if(E.safari10){for(const E of ie){E.parent_scope.variables.forEach((function(N){push_uniq(E.enclosed,N)}))}}}));Dt.DEFMETHOD("def_global",(function(E){var N=this.globals,R=E.name;if(N.has(R)){return N.get(R)}else{var j=new SymbolDef(this,E);j.undeclared=true;j.global=true;N.set(R,j);return j}}));Ct.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));Ct.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((N=>N.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));Ct.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((N=>N.name===E))||this.variables.has(E)}));Ct.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const N=(()=>{const E=[];let N=this;do{E.push(N)}while(N=N.parent_scope);E.reverse();return E})();const R=new Set(E.enclosed);const j=[];for(const E of N){j.forEach((N=>push_uniq(E.enclosed,N)));for(const N of E.variables.values()){if(R.has(N)){push_uniq(j,N);push_uniq(E.enclosed,N)}}}}));function find_scopes_visible_from(E){const N=new Set;for(const R of new Set(E)){(function bubble_up(E){if(E==null||N.has(E))return;N.add(E);bubble_up(E.parent_scope)})(R)}return[...N]}Ct.DEFMETHOD("create_symbol",(function(E,{source:N,tentative_name:R,scope:j,conflict_scopes:$=[j],init:q=null}={}){let G;$=find_scopes_visible_from($);if(R){R=G=R.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while($.find((E=>E.conflicting_def_shallow(G)))){G=R+"$"+E++}}if(!G){throw new Error("No symbol name could be generated in create_symbol()")}const ie=make_node(E,N,{name:G,scope:j});this.def_variable(ie,q||null);ie.mark_enclosed();return ie}));ot.DEFMETHOD("is_block_scope",return_false);Rr.DEFMETHOD("is_block_scope",return_false);wt.DEFMETHOD("is_block_scope",return_false);Dt.DEFMETHOD("is_block_scope",return_false);Kt.DEFMETHOD("is_block_scope",return_false);pt.DEFMETHOD("is_block_scope",return_true);Ct.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));yt.DEFMETHOD("is_block_scope",return_true);wt.DEFMETHOD("init_scope_vars",(function(){Ct.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Gr({name:"arguments",start:this.start,end:this.end}))}));It.DEFMETHOD("init_scope_vars",(function(){Ct.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));zr.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var N=this.scope;while(N){push_uniq(N.enclosed,E);if(N===E.scope)break;N=N.parent_scope}}));zr.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));Ct.DEFMETHOD("find_variable",(function(E){if(E instanceof zr)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));Ct.DEFMETHOD("def_function",(function(E,N){var R=this.def_variable(E,N);if(!R.init||R.init instanceof Nt)R.init=N;return R}));Ct.DEFMETHOD("def_variable",(function(E,N){var R=this.variables.get(E.name);if(R){R.orig.push(E);if(R.init&&(R.scope!==E.scope||R.init instanceof Ft)){R.init=N}}else{R=new SymbolDef(this,E,N);this.variables.set(E.name,R);R.global=!this.parent_scope}return E.thedef=R}));function next_mangled(E,N){var R=E.enclosed;e:while(true){var j=Un(++E.cname);if(_e.has(j))continue;if(N.reserved.has(j))continue;if(jn&&jn.has(j))continue e;for(let E=R.length;--E>=0;){const $=R[E];const q=$.mangled_name||$.unmangleable(N)&&$.name;if(j==q)continue e}return j}}Ct.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));Dt.DEFMETHOD("next_mangled",(function(E){let N;const R=this.mangled_names;do{N=next_mangled(this,E)}while(R.has(N));return N}));Ft.DEFMETHOD("next_mangled",(function(E,N){var R=N.orig[0]instanceof Gr&&this.name&&this.name.definition();var j=R?R.mangled_name||R.name:null;while(true){var $=next_mangled(this,E);if(!j||j!=$)return $}}));zr.DEFMETHOD("unmangleable",(function(E){var N=this.definition();return!N||N.unmangleable(E)}));an.DEFMETHOD("unmangleable",return_false);zr.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));zr.DEFMETHOD("definition",(function(){return this.thedef}));zr.DEFMETHOD("global",(function(){return this.thedef.global}));Dt.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));Dt.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var N=-1;var R=[];if(E.keep_fnames){Bn=new Set}const j=this.mangled_names=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){j.add(E)}))}}var $=new TreeWalker((function(j,$){if(j instanceof _t){var q=N;$();N=q;return true}if(j instanceof Ct){j.variables.forEach(collect);return}if(j.is_block_scope()){j.block_scope.variables.forEach(collect);return}if(Bn&&j instanceof ar&&j.value instanceof wt&&!j.value.name&&keep_name(E.keep_fnames,j.name.name)){Bn.add(j.name.definition().id);return}if(j instanceof an){let E;do{E=Un(++N)}while(_e.has(E));j.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&j instanceof tn){R.push(j.definition());return}}));this.walk($);if(E.keep_fnames||E.keep_classnames){jn=new Set;R.forEach((N=>{if(N.name.length<6&&N.unmangleable(E)){jn.add(N.name)}}))}R.forEach((N=>{N.mangle(E)}));Bn=null;jn=null;function collect(N){const j=!E.reserved.has(N.name)&&!(N.export&Rn);if(j){R.push(N)}}}));Dt.DEFMETHOD("find_colliding_names",(function(E){const N=E.cache&&E.cache.props;const R=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof Ct)E.variables.forEach(add_def);if(E instanceof tn)add_def(E.definition())})));return R;function to_avoid(E){R.add(E)}function add_def(R){var j=R.name;if(R.global&&N&&N.has(j))j=N.get(j);else if(!R.unmangleable(E))return;to_avoid(j)}}));Dt.DEFMETHOD("expand_names",(function(E){Un.reset();Un.sort();E=this._default_mangler_options(E);var N=this.find_colliding_names(E);var R=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof Ct)E.variables.forEach(rename);if(E instanceof tn)rename(E.definition())})));function next_name(){var E;do{E=Un(R++)}while(N.has(E)||_e.has(E));return E}function rename(N){if(N.global&&E.cache)return;if(N.unmangleable(E))return;if(E.reserved.has(N.name))return;const R=redefined_catch_def(N);const j=N.name=R?R.name:next_name();N.orig.forEach((function(E){E.name=j}));N.references.forEach((function(E){E.name=j}))}}));ot.DEFMETHOD("tail_node",return_this);fr.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));Dt.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);try{ot.prototype.print=function(N,R){this._print(N,R);if(this instanceof zr&&!this.unmangleable(E)){Un.consider(this.name,-1)}else if(E.properties){if(this instanceof hr){Un.consider("#"+this.property,-1)}else if(this instanceof gr){Un.consider(this.property,-1)}else if(this instanceof _r){skip_string(this.property)}}};Un.consider(this.print_to_string(),1)}finally{ot.prototype.print=ot.prototype._print}Un.sort();function skip_string(E){if(E instanceof mn){Un.consider(E.value,-1)}else if(E instanceof Er){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof fr){skip_string(E.tail_node())}}}));const Un=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const N="0123456789".split("");let R;let j;function reset(){j=new Map;E.forEach((function(E){j.set(E,0)}));N.forEach((function(E){j.set(E,0)}))}base54.consider=function(E,N){for(var R=E.length;--R>=0;){j.set(E[R],j.get(E[R])+N)}};function compare(E,N){return j.get(N)-j.get(E)}base54.sort=function(){R=mergeSort(E,compare).concat(mergeSort(N,compare))};base54.reset=reset;reset();function base54(E){var N="",j=54;E++;do{E--;N+=R[E%j];E=Math.floor(E/j);j=64}while(E>0);return N}return base54})();let zn=undefined;ot.prototype.size=function(E,N){zn=E&&E.mangle_options;let R=0;walk_parent(this,((E,N)=>{R+=E._size(N);if(E instanceof It&&E.is_braceless()){R+=E.body[0].value._size(N);return true}}),N||E&&E.stack);zn=undefined;return R};ot.prototype._size=()=>0;ct.prototype._size=()=>8;ut.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;pt.prototype._size=function(){return 2+list_overhead(this.body)};Dt.prototype._size=function(){return list_overhead(this.body)};mt.prototype._size=()=>1;_t.prototype._size=()=>2;bt.prototype._size=()=>9;xt.prototype._size=()=>7;St.prototype._size=()=>8;Et.prototype._size=()=>8;kt.prototype._size=()=>6;At.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);Pt.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};Ft.prototype._size=function(E){const N=!!first_in_statement(E);return N*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};Nt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};It.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof zr)){E+=2}const N=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+N};Ot.prototype._size=()=>2;Rt.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Lt.prototype._size=function(){return this.value.length};Ut.prototype._size=function(){return this.value?7:6};zt.prototype._size=()=>6;$t.prototype._size=function(){return this.label?6:5};Jt.prototype._size=function(){return this.label?9:8};Ht.prototype._size=()=>4;Gt.prototype._size=function(){return 8+list_overhead(this.body)};Xt.prototype._size=function(){return 5+list_overhead(this.body)};Qt.prototype._size=function(){return 8+list_overhead(this.body)};Yt.prototype._size=function(){return 3+list_overhead(this.body)};Zt.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};er.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,N)=>E+list_overhead(N.definitions);rr.prototype._size=function(){return def_size(4,this)};nr.prototype._size=function(){return def_size(4,this)};ir.prototype._size=function(){return def_size(6,this)};ar.prototype._size=function(){return this.value?1:0};sr.prototype._size=function(){return this.name?4:0};cr.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};lr.prototype._size=()=>11;ur.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};dr.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};pr.prototype._size=function(){return 6+list_overhead(this.args)};fr.prototype._size=function(){return list_overhead(this.expressions)};gr.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};hr.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};_r.prototype._size=function(){return this.optional?4:2};vr.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};Sr.prototype._size=function(E){if(this.operator==="in")return 4;let N=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof vr&&this.right.operator===this.operator){N+=1}if(this.needs_parens(E)){N+=2}return N};Er.prototype._size=()=>3;Cr.prototype._size=function(){return 2+list_overhead(this.elements)};Dr.prototype._size=function(E){let N=2;if(first_in_statement(E)){N+=2}return N+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;wr.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;Nr.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Ir.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Or.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Mr.prototype._size=function(){return Or.prototype._size.call(this)+1};Fr.prototype._size=Pr.prototype._size=function(){return Or.prototype._size.call(this)+4};Rr.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Lr.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};Br.prototype._size=function(){return Lr.prototype._size.call(this)+1};zr.prototype._size=function(){return!zn||this.definition().unmangleable(zn)?this.name.length:1};Xr.prototype._size=function(){return this.name.length};on.prototype._size=$r.prototype._size=function(){const{name:E,thedef:N}=this;if(N&&N.global)return E.length;if(E==="arguments")return 9;return zr.prototype._size.call(this)};Wr.prototype._size=()=>10;nn.prototype._size=function(){return this.name.length};cn.prototype._size=function(){return this.name.length};un.prototype._size=()=>4;dn.prototype._size=()=>5;mn.prototype._size=function(){return this.value.length+2};gn.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};hn.prototype._size=function(){return this.value.length};_n.prototype._size=function(){return this.value.toString().length};vn.prototype._size=()=>4;bn.prototype._size=()=>3;xn.prototype._size=()=>6;Sn.prototype._size=()=>0;En.prototype._size=()=>8;Cn.prototype._size=()=>4;kn.prototype._size=()=>5;Vt.prototype._size=()=>6;qt.prototype._size=()=>6;const Wn=1;const $n=2;const Jn=4;const Vn=8;const qn=16;const Hn=32;const Gn=256;const Kn=512;const Qn=1024;const Xn=Gn|Kn|Qn;const has_flag=(E,N)=>E.flags&N;const set_flag=(E,N)=>{E.flags|=N};const clear_flag=(E,N)=>{E.flags&=~N};class Compressor extends TreeWalker{constructor(E,{false_by_default:N=false,mangle_options:R=false}){super();if(E.defaults!==undefined&&!E.defaults)N=true;this.options=defaults(E,{arguments:false,arrows:!N,booleans:!N,booleans_as_integers:false,collapse_vars:!N,comparisons:!N,computed_props:!N,conditionals:!N,dead_code:!N,defaults:true,directives:!N,drop_console:false,drop_debugger:!N,ecma:5,evaluate:!N,expression:false,global_defs:false,hoist_funs:false,hoist_props:!N,hoist_vars:false,ie8:false,if_return:!N,inline:!N,join_vars:!N,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!N,module:false,negate_iife:!N,passes:1,properties:!N,pure_getters:!N&&"strict",pure_funcs:null,reduce_funcs:!N,reduce_vars:!N,sequences:!N,side_effects:!N,switches:!N,top_retain:null,toplevel:!!(E&&E["top_retain"]),typeofs:!N,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!N,warnings:false},true);var j=this.options["global_defs"];if(typeof j=="object")for(var $ in j){if($[0]==="@"&&HOP(j,$)){j[$.slice(1)]=parse(j[$],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var q=this.options["pure_funcs"];if(typeof q=="function"){this.pure_funcs=q}else{this.pure_funcs=q?function(E){return!q.includes(E.expression.print_to_string())}:return_true}var G=this.options["top_retain"];if(G instanceof RegExp){this.top_retain=function(E){return G.test(E.name)}}else if(typeof G=="function"){this.top_retain=G}else if(G){if(typeof G=="string"){G=G.split(/,/)}this.top_retain=function(E){return G.includes(E.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ie=this.options["toplevel"];this.toplevel=typeof ie=="string"?{funcs:/funcs/.test(ie),vars:/vars/.test(ie)}:{funcs:ie,vars:ie};var ae=this.options["sequences"];this.sequences_limit=ae==1?800:ae|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=R}option(E){return this.options[E]}exposed(E){if(E.export)return true;if(E.global)for(var N=0,R=E.orig.length;N<R;N++)if(!this.toplevel[E.orig[N]instanceof Kr?"funcs":"vars"])return true;return false}in_boolean_context(){if(!this.option("booleans"))return false;var E=this.self();for(var N=0,R;R=this.parent(N);N++){if(R instanceof dt||R instanceof Er&&R.condition===E||R instanceof vt&&R.condition===E||R instanceof St&&R.condition===E||R instanceof Ht&&R.condition===E||R instanceof br&&R.operator=="!"&&R.expression===E){return true}if(R instanceof Sr&&(R.operator=="&&"||R.operator=="||"||R.operator=="??")||R instanceof Er||R.tail_node()===E){E=R}else{return false}}}get_toplevel(){return this._toplevel}compress(E){E=E.resolve_defines(this);this._toplevel=E;if(this.option("expression")){this._toplevel.process_expression(true)}var N=+this.options.passes||1;var R=1/0;var j=false;var $={ie8:this.option("ie8")};for(var q=0;q<N;q++){this._toplevel.figure_out_scope($);if(q===0&&this.option("drop_console")){this._toplevel=this._toplevel.drop_console()}if(q>0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(N>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E<R){R=E;j=false}else if(j){break}else{j=true}}}if(this.option("expression")){this._toplevel.process_expression(false)}E=this._toplevel;this._toplevel=undefined;return E}before(E,N){if(has_flag(E,Gn))return E;var R=false;if(E instanceof Ct){E=E.hoist_properties(this);E=E.hoist_declarations(this);R=true}N(E,this);N(E,this);var j=E.optimize(this);if(R&&j instanceof Ct){j.drop_unused(this);N(j,this)}if(j===E)set_flag(j,Gn);return j}}function def_optimize(E,N){E.DEFMETHOD("optimize",(function(E){var R=this;if(has_flag(R,Kn))return R;if(E.has_directive("use asm"))return R;var j=N(R,E);set_flag(j,Kn);return j}))}def_optimize(ot,(function(E){return E}));Dt.DEFMETHOD("drop_console",(function(){return this.transform(new TreeTransformer((function(E){if(E.TYPE=="Call"){var N=E.expression;if(N instanceof mr){var R=N.expression;while(R.expression){R=R.expression}if(is_undeclared_ref(R)&&R.name=="console"){return make_node(xn,E)}}}})))}));ot.DEFMETHOD("equivalent_to",(function(E){return equivalent_to(this,E)}));Ct.DEFMETHOD("process_expression",(function(E,N){var R=this;var j=new TreeTransformer((function($){if(E&&$ instanceof dt){return make_node(Ut,$,{value:$.body})}if(!E&&$ instanceof Ut){if(N){var q=$.value&&$.value.drop_side_effect_free(N,true);return q?make_node(dt,$,{body:q}):make_node(mt,$)}return make_node(dt,$,{body:$.value||make_node(br,$,{operator:"void",expression:make_node(gn,$,{value:0})})})}if($ instanceof Rr||$ instanceof wt&&$!==R){return $}if($ instanceof pt){var G=$.body.length-1;if(G>=0){$.body[G]=$.body[G].transform(j)}}else if($ instanceof Ht){$.body=$.body.transform(j);if($.alternative){$.alternative=$.alternative.transform(j)}}else if($ instanceof kt){$.body=$.body.transform(j)}return $}));R.transform(j)}));function read_property(E,N){N=get_value(N);if(N instanceof ot)return;var R;if(E instanceof Cr){var j=E.elements;if(N=="length")return make_node_from_constant(j.length,E);if(typeof N=="number"&&N in j)R=j[N]}else if(E instanceof Dr){N=""+N;var $=E.properties;for(var q=$.length;--q>=0;){var G=$[q];if(!(G instanceof wr))return;if(!R&&$[q].key===N)R=$[q].value}}return R instanceof on&&R.fixed_value()||R}function is_modified(E,N,R,j,$,q){var G=N.parent($);var ie=is_lhs(R,G);if(ie)return ie;if(!q&&G instanceof dr&&G.expression===R&&!(j instanceof It)&&!(j instanceof Rr)&&!G.is_callee_pure(E)&&(!(j instanceof Ft)||!(G instanceof pr)&&j.contains_this())){return true}if(G instanceof Cr){return is_modified(E,N,G,G,$+1)}if(G instanceof wr&&R===G.value){var ae=N.parent($+1);return is_modified(E,N,ae,ae,$+2)}if(G instanceof mr&&G.expression===R){var ce=read_property(j,G.property);return!q&&is_modified(E,N,G,ce,$+1)}}(function(E){E(ot,noop);function reset_def(E,N){N.assignments=0;N.chained=false;N.direct_access=false;N.escaped=0;N.recursive_refs=0;N.references=[];N.single_use=undefined;if(N.scope.pinned()){N.fixed=false}else if(N.orig[0]instanceof qr||!E.exposed(N)){N.fixed=N.init}else{N.fixed=false}}function reset_variables(E,N,R){R.variables.forEach((function(R){reset_def(N,R);if(R.fixed===null){E.defs_to_safe_ids.set(R.id,E.safe_ids);mark(E,R,true)}else if(R.fixed){E.loop_ids.set(R.id,E.in_loop);mark(E,R,true)}}))}function reset_block_variables(E,N){if(N.block_scope)N.block_scope.variables.forEach((N=>{reset_def(E,N)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,N,R){E.safe_ids[N.id]=R}function safe_to_read(E,N){if(N.single_use=="m")return false;if(E.safe_ids[N.id]){if(N.fixed==null){var R=N.orig[0];if(R instanceof Gr||R.name=="arguments")return false;N.fixed=make_node(xn,R)}return true}return N.fixed instanceof Nt}function safe_to_assign(E,N,R,j){if(N.fixed===undefined)return true;let $;if(N.fixed===null&&($=E.defs_to_safe_ids.get(N.id))){$[N.id]=false;E.defs_to_safe_ids.delete(N.id);return true}if(!HOP(E.safe_ids,N.id))return false;if(!safe_to_read(E,N))return false;if(N.fixed===false)return false;if(N.fixed!=null&&(!j||N.references.length>N.assignments))return false;if(N.fixed instanceof Nt){return j instanceof ot&&N.fixed.parent_scope===R}return N.orig.every((E=>!(E instanceof qr||E instanceof Kr||E instanceof Yr)))}function ref_once(E,N,R){return N.option("unused")&&!R.scope.pinned()&&R.references.length-R.recursive_refs==1&&E.loop_ids.get(R.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof wt||E instanceof un}function mark_escaped(E,N,R,j,$,q=0,G=1){var ie=E.parent(q);if($){if($.is_constant())return;if($ instanceof Ur)return}if(ie instanceof Tr&&(ie.operator==="="||ie.logical)&&j===ie.right||ie instanceof dr&&(j!==ie.expression||ie instanceof pr)||ie instanceof jt&&j===ie.value&&j.scope!==N.scope||ie instanceof ar&&j===ie.value||ie instanceof qt&&j===ie.value&&j.scope!==N.scope){if(G>1&&!($&&$.is_constant_expression(R)))G=1;if(!N.escaped||N.escaped>G)N.escaped=G;return}else if(ie instanceof Cr||ie instanceof Vt||ie instanceof Sr&&ei.has(ie.operator)||ie instanceof Er&&j!==ie.condition||ie instanceof At||ie instanceof fr&&j===ie.tail_node()){mark_escaped(E,N,R,ie,ie,q+1,G)}else if(ie instanceof wr&&j===ie.value){var ae=E.parent(q+1);mark_escaped(E,N,R,ae,ae,q+2,G)}else if(ie instanceof mr&&j===ie.expression){$=read_property($,ie.property);mark_escaped(E,N,R,ie,$,q+1,G+1);if($)return}if(q>0)return;if(ie instanceof fr&&j!==ie.tail_node())return;if(ie instanceof dt)return;N.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof zr))return;var N=E.definition();if(!N)return;if(E instanceof on)N.references.push(E);N.fixed=false}));E(Pt,(function(E,N,R){push(E);reset_variables(E,R,this);N();pop(E);return true}));E(Tr,(function(E,N,R){var j=this;if(j.left instanceof Ot){suppress(j.left);return}const finish_walk=()=>{if(j.logical){j.left.walk(E);push(E);j.right.walk(E);pop(E);return true}};var $=j.left;if(!($ instanceof on))return finish_walk();var q=$.definition();var G=safe_to_assign(E,q,$.scope,j.right);q.assignments++;if(!G)return finish_walk();var ie=q.fixed;if(!ie&&j.operator!="="&&!j.logical)return finish_walk();var ae=j.operator=="=";var ce=ae?j.right:j;if(is_modified(R,E,j,ce,0))return finish_walk();q.references.push($);if(!j.logical){if(!ae)q.chained=true;q.fixed=ae?function(){return j.right}:function(){return make_node(Sr,j,{operator:j.operator.slice(0,-1),left:ie instanceof ot?ie:ie(),right:j.right})}}if(j.logical){mark(E,q,false);push(E);j.right.walk(E);pop(E);return true}mark(E,q,false);j.right.walk(E);mark(E,q,true);mark_escaped(E,q,$.scope,j,ce,0,1);return true}));E(Sr,(function(E){if(!ei.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));E(pt,(function(E,N,R){reset_block_variables(R,this)}));E(Xt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));E(Rr,(function(E,N){clear_flag(this,qn);push(E);N();pop(E);return true}));E(Er,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));E(yr,(function(E,N){const R=E.safe_ids;N();E.safe_ids=R;return true}));E(dr,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const N of this.args)N.walk(E);return true}));E(mr,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof ot)this.property.walk(E);return true}));E(Qt,(function(E,N){push(E);N();pop(E);return true}));function mark_lambda(E,N,R){clear_flag(this,qn);push(E);reset_variables(E,R,this);if(this.uses_arguments){N();pop(E);return}var j;if(!this.name&&(j=E.parent())instanceof dr&&j.expression===this&&!j.args.some((E=>E instanceof At))&&this.argnames.every((E=>E instanceof zr))){this.argnames.forEach(((N,R)=>{if(!N.definition)return;var $=N.definition();if($.orig.length>1)return;if($.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){$.fixed=function(){return j.args[R]||make_node(xn,j)};E.loop_ids.set($.id,E.in_loop);mark(E,$,true)}else{$.fixed=false}}))}N();pop(E);return true}E(wt,mark_lambda);E(bt,(function(E,N,R){reset_block_variables(R,this);const j=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=j;return true}));E(St,(function(E,N,R){reset_block_variables(R,this);if(this.init)this.init.walk(E);const j=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=j;return true}));E(Et,(function(E,N,R){reset_block_variables(R,this);suppress(this.init);this.object.walk(E);const j=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=j;return true}));E(Ht,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));E(_t,(function(E){push(E);this.body.walk(E);pop(E);return true}));E(tn,(function(){this.definition().fixed=false}));E(on,(function(E,N,R){var j=this.definition();j.references.push(this);if(j.references.length==1&&!j.fixed&&j.orig[0]instanceof Kr){E.loop_ids.set(j.id,E.in_loop)}var $;if(j.fixed===undefined||!safe_to_read(E,j)){j.fixed=false}else if(j.fixed){$=this.fixed_value();if($ instanceof wt&&recursive_ref(E,j)){j.recursive_refs++}else if($&&!R.exposed(j)&&ref_once(E,R,j)){j.single_use=$ instanceof wt&&!$.pinned()||$ instanceof Rr||j.scope===this.scope&&$.is_constant_expression()}else{j.single_use=false}if(is_modified(R,E,this,$,0,is_immutable($))){if(j.single_use){j.single_use="m"}else{j.fixed=false}}}mark_escaped(E,j,this.scope,this,$,0,1)}));E(Dt,(function(E,N,R){this.globals.forEach((function(E){reset_def(R,E)}));reset_variables(E,R,this)}));E(Yt,(function(E,N,R){reset_block_variables(R,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));E(vr,(function(E){var N=this;if(N.operator!=="++"&&N.operator!=="--")return;var R=N.expression;if(!(R instanceof on))return;var j=R.definition();var $=safe_to_assign(E,j,R.scope,true);j.assignments++;if(!$)return;var q=j.fixed;if(!q)return;j.references.push(R);j.chained=true;j.fixed=function(){return make_node(Sr,N,{operator:N.operator.slice(0,-1),left:make_node(br,N,{operator:"+",expression:q instanceof ot?q:q()}),right:make_node(gn,N,{value:1})})};mark(E,j,true);return true}));E(ar,(function(E,N){var R=this;if(R.name instanceof Ot){suppress(R.name);return}var j=R.name.definition();if(R.value){if(safe_to_assign(E,j,R.name.scope,R.value)){j.fixed=function(){return R.value};E.loop_ids.set(j.id,E.in_loop);mark(E,j,false);N();mark(E,j,true);return true}else{j.fixed=false}}}));E(xt,(function(E,N,R){reset_block_variables(R,this);const j=E.in_loop;E.in_loop=this;push(E);N();pop(E);E.in_loop=j;return true}))})((function(E,N){E.DEFMETHOD("reduce_vars",N)}));Dt.DEFMETHOD("reset_opt_flags",(function(E){const N=this;const R=E.option("reduce_vars");const j=new TreeWalker((function($,q){clear_flag($,Xn);if(R){if(E.top_retain&&$ instanceof Nt&&j.parent()===N){set_flag($,Qn)}return $.reduce_vars(j,q,E)}}));j.safe_ids=Object.create(null);j.in_loop=null;j.loop_ids=new Map;j.defs_to_safe_ids=new Map;N.walk(j)}));zr.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof ot)return E;return E()}));on.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Yr}));function is_func_expr(E){return E instanceof It||E instanceof Ft}function is_lhs_read_only(E){if(E instanceof un)return true;if(E instanceof on)return E.definition().orig[0]instanceof Yr;if(E instanceof mr){E=E.expression;if(E instanceof on){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof _n)return false;if(E instanceof pn)return true;return is_lhs_read_only(E)}return false}function is_ref_of(E,N){if(!(E instanceof on))return false;var R=E.definition().orig;for(var j=R.length;--j>=0;){if(R[j]instanceof N)return true}}function find_scope(E){for(let N=0;;N++){const R=E.parent(N);if(R instanceof Dt)return R;if(R instanceof wt)return R;if(R.block_scope)return R.block_scope}}function find_variable(E,N){var R,j=0;while(R=E.parent(j++)){if(R instanceof Ct)break;if(R instanceof Zt&&R.argname){R=R.argname.definition().scope;break}}return R.find_variable(N)}function make_sequence(E,N){if(N.length==1)return N[0];if(N.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(fr,E,{expressions:N.reduce(merge_sequence,[])})}function make_node_from_constant(E,N){switch(typeof E){case"string":return make_node(mn,N,{value:E});case"number":if(isNaN(E))return make_node(bn,N);if(isFinite(E)){return 1/E<0?make_node(br,N,{operator:"-",expression:make_node(gn,N,{value:-E})}):make_node(gn,N,{value:E})}return E<0?make_node(br,N,{operator:"-",expression:make_node(En,N)}):make_node(En,N);case"boolean":return make_node(E?Cn:kn,N);case"undefined":return make_node(xn,N);default:if(E===null){return make_node(vn,N,{value:null})}if(E instanceof RegExp){return make_node(_n,N,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function maintain_this_binding(E,N,R){if(E instanceof br&&E.operator=="delete"||E instanceof dr&&E.expression===N&&(R instanceof mr||R instanceof on&&R.name=="eval")){return make_sequence(N,[make_node(gn,N,{value:0}),R])}return R}function merge_sequence(E,N){if(N instanceof fr){E.push(...N.expressions)}else{E.push(N)}return E}function as_statement_array(E){if(E===null)return[];if(E instanceof ft)return E.body;if(E instanceof mt)return[];if(E instanceof st)return[E];throw new Error("Can't convert thing to statement array")}function is_empty(E){if(E===null)return true;if(E instanceof mt)return true;if(E instanceof ft)return E.body.length==0;return false}function can_be_evicted_from_block(E){return!(E instanceof jr||E instanceof Nt||E instanceof nr||E instanceof ir||E instanceof ur||E instanceof cr)}function loop_body(E){if(E instanceof yt){return E.body instanceof ft?E.body:E}return E}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof Ft||is_iife_call(E.expression)}function is_undeclared_ref(E){return E instanceof on&&E.definition().undeclared}var Yn=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");on.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&Yn.has(this.name)}));var Zn=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof En||E instanceof bn||E instanceof xn}function tighten_body(E,N){var R,j;var q=N.find_parent(Ct).get_defun_scope();find_loop_scope_try();var G,ie=10;do{G=false;eliminate_spurious_blocks(E);if(N.option("dead_code")){eliminate_dead_code(E,N)}if(N.option("if_return")){handle_if_return(E,N)}if(N.sequences_limit>0){sequencesize(E,N);sequencesize_2(E,N)}if(N.option("join_vars")){join_consecutive_vars(E)}if(N.option("collapse_vars")){collapse(E,N)}}while(G&&ie-- >0);function find_loop_scope_try(){var E=N.self(),$=0;do{if(E instanceof Zt||E instanceof er){$++}else if(E instanceof yt){R=true}else if(E instanceof Ct){q=E;break}else if(E instanceof Yt){j=true}}while(E=N.parent($++))}function collapse(E,N){if(q.pinned())return E;var ie;var ae=[];var ce=E.length;var le=new TreeTransformer((function(E){if(qe)return E;if(!Ve){if(E!==Ee[Te])return E;Te++;if(Te<Ee.length)return handle_custom_scan_order(E);Ve=true;Ne=find_stop(E,0);if(Ne===E)qe=true;return E}var R=le.parent();if(E instanceof Tr&&(E.logical||E.operator!="="&&Le.equivalent_to(E.left))||E instanceof Vt||E instanceof dr&&Le instanceof mr&&Le.equivalent_to(E.expression)||E instanceof ct||E instanceof Ot||E instanceof At&&E.expression instanceof zr&&(E.expression instanceof un||E.expression.definition().references.length>1)||E instanceof yt&&!(E instanceof St)||E instanceof Wt||E instanceof Yt||E instanceof kt||E instanceof qt||E instanceof ur||E instanceof Rr||R instanceof St&&E!==R.init||!ze&&(E instanceof on&&!E.is_declared(N)&&!oi.has(E))||E instanceof on&&R instanceof dr&&has_annotation(R,Pn)){qe=true;return E}if(!Me&&(!je||!ze)&&(R instanceof Sr&&ei.has(R.operator)&&R.left!==E||R instanceof Er&&R.condition!==E||R instanceof Ht&&R.condition!==E)){Me=R}if(Ge&&!(E instanceof $r)&&Le.equivalent_to(E)){if(Me){qe=true;return E}if(is_lhs(E,R)){if(Ie)He++;return E}else{He++;if(Ie&&we instanceof ar)return E}G=qe=true;if(we instanceof xr){return make_node(br,we,we)}if(we instanceof ar){var $=we.name.definition();var q=we.value;if($.references.length-$.replaced==1&&!N.exposed($)){$.replaced++;if(Je&&is_identifier_atom(q)){return q.transform(N)}else{return maintain_this_binding(R,E,q)}}return make_node(Tr,we,{operator:"=",logical:false,left:make_node(on,we.name,we.name),right:q})}clear_flag(we,Hn);return we}var ie;if(E instanceof dr||E instanceof jt&&(Ue||Le instanceof mr||may_modify(Le))||E instanceof mr&&(Ue||E.expression.may_throw_on_access(N))||E instanceof on&&(Be.get(E.name)||Ue&&may_modify(E))||E instanceof ar&&E.value&&(Be.has(E.name.name)||Ue&&may_modify(E.name))||(ie=is_lhs(E.left,E))&&(ie instanceof mr||Be.has(ie.name))||We&&(j?E.has_side_effects(N):side_effects_external(E))){Ne=E;if(E instanceof Ct)qe=true}return handle_custom_scan_order(E)}),(function(E){if(qe)return;if(Ne===E)qe=true;if(Me===E)Me=null}));var _e=new TreeTransformer((function(E){if(qe)return E;if(!Ve){if(E!==Ee[Te])return E;Te++;if(Te<Ee.length)return;Ve=true;return E}if(E instanceof on&&E.name==Xe.name){if(!--He)qe=true;if(is_lhs(E,_e.parent()))return E;Xe.replaced++;Ie.replaced--;return we.value}if(E instanceof Qt||E instanceof Ct)return E}));while(--ce>=0){if(ce==0&&N.option("unused"))extract_args();var Ee=[];extract_candidates(E[ce]);while(ae.length>0){Ee=ae.pop();var Te=0;var we=Ee[Ee.length-1];var Ie=null;var Ne=null;var Me=null;var Le=get_lhs(we);if(!Le||is_lhs_read_only(Le)||Le.has_side_effects(N))continue;var Be=get_lvalues(we);var je=is_lhs_local(Le);if(Le instanceof on)Be.set(Le.name,false);var Ue=value_has_side_effects(we);var ze=replace_all_symbols();var We=we.may_throw(N);var Je=we.name instanceof Gr;var Ve=Je;var qe=false,He=0,Ge=!ie||!Ve;if(!Ge){for(var Ke=N.self().argnames.lastIndexOf(we.name)+1;!qe&&Ke<ie.length;Ke++){ie[Ke].transform(le)}Ge=true}for(var Qe=ce;!qe&&Qe<E.length;Qe++){E[Qe].transform(le)}if(Ie){var Xe=we.name.definition();if(qe&&Xe.references.length-Xe.replaced>He)He=false;else{qe=false;Te=0;Ve=Je;for(var Qe=ce;!qe&&Qe<E.length;Qe++){E[Qe].transform(_e)}Ie.single_use=false}}if(He&&!remove_candidate(we))E.splice(ce,1)}}function handle_custom_scan_order(E){if(E instanceof Ct)return E;if(E instanceof Gt){E.expression=E.expression.transform(le);for(var N=0,R=E.body.length;!qe&&N<R;N++){var j=E.body[N];if(j instanceof Xt){if(!Ve){if(j!==Ee[Te])continue;Te++}j.expression=j.expression.transform(le);if(!ze)break}}qe=true;return E}}function redefined_within_scope(E,N){if(E.global)return false;let R=E.scope;while(R&&R!==N){if(R.variables.has(E.name))return true;R=R.parent_scope}return false}function has_overlapping_symbol(E,N,R){var j=false,$=!(E instanceof It);N.walk(new TreeWalker((function(N,G){if(j)return true;if(N instanceof on&&(E.variables.has(N.name)||redefined_within_scope(N.definition(),E))){var ie=N.definition().scope;if(ie!==q)while(ie=ie.parent_scope){if(ie===q)return true}return j=true}if((R||$)&&N instanceof un){return j=true}if(N instanceof Ct&&!(N instanceof It)){var ae=$;$=false;G();$=ae;return true}})));return j}function extract_args(){var E,R=N.self();if(is_func_expr(R)&&!R.name&&!R.uses_arguments&&!R.pinned()&&(E=N.parent())instanceof dr&&E.expression===R&&E.args.every((E=>!(E instanceof At)))){var j=N.has_directive("use strict");if(j&&!member(j,R.body))j=false;var $=R.argnames.length;ie=E.args.slice($);var q=new Set;for(var G=$;--G>=0;){var ce=R.argnames[G];var le=E.args[G];const $=ce.definition&&ce.definition();const Ee=$&&$.orig.length>1;if(Ee)continue;ie.unshift(make_node(ar,ce,{name:ce,value:le}));if(q.has(ce.name))continue;q.add(ce.name);if(ce instanceof At){var _e=E.args.slice(G);if(_e.every((E=>!has_overlapping_symbol(R,E,j)))){ae.unshift([make_node(ar,ce,{name:ce.expression,value:make_node(Cr,E,{elements:_e})})])}}else{if(!le){le=make_node(xn,ce).transform(N)}else if(le instanceof wt&&le.pinned()||has_overlapping_symbol(R,le,j)){le=null}if(le)ae.unshift([make_node(ar,ce,{name:ce,value:le})])}}}}function extract_candidates(E){Ee.push(E);if(E instanceof Tr){if(!E.left.has_side_effects(N)&&!(E.right instanceof yr)){ae.push(Ee.slice())}extract_candidates(E.right)}else if(E instanceof Sr){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof dr&&!has_annotation(E,Pn)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Xt){extract_candidates(E.expression)}else if(E instanceof Er){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof tr){var R=E.definitions.length;var j=R-200;if(j<0)j=0;for(;j<R;j++){extract_candidates(E.definitions[j])}}else if(E instanceof vt){extract_candidates(E.condition);if(!(E.body instanceof pt)){extract_candidates(E.body)}}else if(E instanceof jt){if(E.value)extract_candidates(E.value)}else if(E instanceof St){if(E.init)extract_candidates(E.init);if(E.condition)extract_candidates(E.condition);if(E.step)extract_candidates(E.step);if(!(E.body instanceof pt)){extract_candidates(E.body)}}else if(E instanceof Et){extract_candidates(E.object);if(!(E.body instanceof pt)){extract_candidates(E.body)}}else if(E instanceof Ht){extract_candidates(E.condition);if(!(E.body instanceof pt)){extract_candidates(E.body)}if(E.alternative&&!(E.alternative instanceof pt)){extract_candidates(E.alternative)}}else if(E instanceof fr){E.expressions.forEach(extract_candidates)}else if(E instanceof dt){extract_candidates(E.body)}else if(E instanceof Gt){extract_candidates(E.expression);E.body.forEach(extract_candidates)}else if(E instanceof vr){if(E.operator=="++"||E.operator=="--"){ae.push(Ee.slice())}}else if(E instanceof ar){if(E.value&&!(E.value instanceof yr)){ae.push(Ee.slice());extract_candidates(E.value)}}Ee.pop()}function find_stop(E,N,R){var j=le.parent(N);if(j instanceof Tr){if(R&&!j.logical&&!(j.left instanceof mr||Be.has(j.left.name))){return find_stop(j,N+1,R)}return E}if(j instanceof Sr){if(R&&(!ei.has(j.operator)||j.left===E)){return find_stop(j,N+1,R)}return E}if(j instanceof dr)return E;if(j instanceof Xt)return E;if(j instanceof Er){if(R&&j.condition===E){return find_stop(j,N+1,R)}return E}if(j instanceof tr){return find_stop(j,N+1,true)}if(j instanceof jt){return R?find_stop(j,N+1,R):E}if(j instanceof Ht){if(R&&j.condition===E){return find_stop(j,N+1,R)}return E}if(j instanceof yt)return E;if(j instanceof fr){return find_stop(j,N+1,j.tail_node()!==E)}if(j instanceof dt){return find_stop(j,N+1,true)}if(j instanceof Gt)return E;if(j instanceof ar)return E;return null}function mangleable_var(E){var N=E.value;if(!(N instanceof on))return;if(N.name=="arguments")return;var R=N.definition();if(R.undeclared)return;return Ie=R}function get_lhs(E){if(E instanceof Tr&&E.logical){return false}else if(E instanceof ar&&E.name instanceof $r){var R=E.name.definition();if(!member(E.name,R.orig))return;var j=R.references.length-R.replaced;if(!j)return;var $=R.orig.length-R.eliminated;if($>1&&!(E.name instanceof Gr)||(j>1?mangleable_var(E):!N.exposed(R))){return make_node(on,E.name,E.name)}}else{const N=E instanceof Tr?E.left:E.expression;return!is_ref_of(N,qr)&&!is_ref_of(N,Hr)&&N}}function get_rvalue(E){if(E instanceof Tr){return E.right}else{return E.value}}function get_lvalues(E){var R=new Map;if(E instanceof vr)return R;var j=new TreeWalker((function(E){var $=E;while($ instanceof mr)$=$.expression;if($ instanceof on||$ instanceof un){R.set($.name,R.get($.name)||is_modified(N,j,E,E,0))}}));get_rvalue(E).walk(j);return R}function remove_candidate(R){if(R.name instanceof Gr){var j=N.parent(),q=N.self().argnames;var G=q.indexOf(R.name);if(G<0){j.args.length=Math.min(j.args.length,q.length-1)}else{var ie=j.args;if(ie[G])ie[G]=make_node(gn,ie[G],{value:0})}return true}var ae=false;return E[ce].transform(new TreeTransformer((function(E,N,j){if(ae)return E;if(E===R||E.body===R){ae=true;if(E instanceof ar){E.value=E.name instanceof qr?make_node(xn,E.value):null;return E}return j?$.skip:null}}),(function(E){if(E instanceof fr)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof mr)E=E.expression;return E instanceof on&&E.definition().scope===q&&!(R&&(Be.has(E.name)||we instanceof vr||we instanceof Tr&&!we.logical&&we.operator!="="))}function value_has_side_effects(E){if(E instanceof vr)return ti.has(E.operator);return get_rvalue(E).has_side_effects(N)}function replace_all_symbols(){if(Ue)return false;if(Ie)return true;if(Le instanceof on){var E=Le.definition();if(E.references.length-E.replaced==(we instanceof ar?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var N=E.definition();if(N.orig.length==1&&N.orig[0]instanceof Kr)return false;if(N.scope.get_defun_scope()!==q)return true;return!N.references.every((E=>{var N=E.scope.get_defun_scope();if(N.TYPE=="Scope")N=N.parent_scope;return N===q}))}function side_effects_external(E,N){if(E instanceof Tr)return side_effects_external(E.left,true);if(E instanceof vr)return side_effects_external(E.expression,true);if(E instanceof ar)return E.value&&side_effects_external(E.value);if(N){if(E instanceof gr)return side_effects_external(E.expression,true);if(E instanceof _r)return side_effects_external(E.expression,true);if(E instanceof on)return E.definition().scope!==q}return false}}function eliminate_spurious_blocks(E){var N=[];for(var R=0;R<E.length;){var j=E[R];if(j instanceof ft&&j.body.every(can_be_evicted_from_block)){G=true;eliminate_spurious_blocks(j.body);E.splice(R,1,...j.body);R+=j.body.length}else if(j instanceof mt){G=true;E.splice(R,1)}else if(j instanceof ut){if(N.indexOf(j.value)<0){R++;N.push(j.value)}else{G=true;E.splice(R,1)}}else R++}}function handle_if_return(E,N){var R=N.self();var j=has_multiple_if_returns(E);var $=R instanceof wt;for(var q=E.length;--q>=0;){var ie=E[q];var ae=next_index(q);var ce=E[ae];if($&&!ce&&ie instanceof Ut){if(!ie.value){G=true;E.splice(q,1);continue}if(ie.value instanceof br&&ie.value.operator=="void"){G=true;E[q]=make_node(dt,ie,{body:ie.value.expression});continue}}if(ie instanceof Ht){var le=aborts(ie.body);if(can_merge_flow(le)){if(le.label){remove(le.label.thedef.references,le)}G=true;ie=ie.clone();ie.condition=ie.condition.negate(N);var _e=as_statement_array_with_return(ie.body,le);ie.body=make_node(ft,ie,{body:as_statement_array(ie.alternative).concat(extract_functions())});ie.alternative=make_node(ft,ie,{body:_e});E[q]=ie.transform(N);continue}var le=aborts(ie.alternative);if(can_merge_flow(le)){if(le.label){remove(le.label.thedef.references,le)}G=true;ie=ie.clone();ie.body=make_node(ft,ie.body,{body:as_statement_array(ie.body).concat(extract_functions())});var _e=as_statement_array_with_return(ie.alternative,le);ie.alternative=make_node(ft,ie.alternative,{body:_e});E[q]=ie.transform(N);continue}}if(ie instanceof Ht&&ie.body instanceof Ut){var Ee=ie.body.value;if(!Ee&&!ie.alternative&&($&&!ce||ce instanceof Ut&&!ce.value)){G=true;E[q]=make_node(dt,ie.condition,{body:ie.condition});continue}if(Ee&&!ie.alternative&&ce instanceof Ut&&ce.value){G=true;ie=ie.clone();ie.alternative=ce;E[q]=ie.transform(N);E.splice(ae,1);continue}if(Ee&&!ie.alternative&&(!ce&&$&&j||ce instanceof Ut)){G=true;ie=ie.clone();ie.alternative=ce||make_node(Ut,ie,{value:null});E[q]=ie.transform(N);if(ce)E.splice(ae,1);continue}var Te=E[prev_index(q)];if(N.option("sequences")&&$&&!ie.alternative&&Te instanceof Ht&&Te.body instanceof Ut&&next_index(ae)==E.length&&ce instanceof dt){G=true;ie=ie.clone();ie.alternative=make_node(ft,ce,{body:[ce,make_node(Ut,ce,{value:null})]});E[q]=ie.transform(N);E.splice(ae,1);continue}}}function has_multiple_if_returns(E){var N=0;for(var R=E.length;--R>=0;){var j=E[R];if(j instanceof Ht&&j.body instanceof Ut){if(++N>1)return true}}return false}function is_return_void(E){return!E||E instanceof br&&E.operator=="void"}function can_merge_flow(j){if(!j)return false;for(var G=q+1,ie=E.length;G<ie;G++){var ae=E[G];if(ae instanceof ir||ae instanceof nr)return false}var ce=j instanceof Wt?N.loopcontrol_target(j):null;return j instanceof Ut&&$&&is_return_void(j.value)||j instanceof Jt&&R===loop_body(ce)||j instanceof $t&&ce instanceof ft&&R===ce}function extract_functions(){var N=E.slice(q+1);E.length=q+1;return N.filter((function(N){if(N instanceof Nt){E.push(N);return false}return true}))}function as_statement_array_with_return(E,N){var R=as_statement_array(E).slice(0,-1);if(N.value){R.push(make_node(dt,N.value,{body:N.value.expression}))}return R}function next_index(N){for(var R=N+1,j=E.length;R<j;R++){var $=E[R];if(!($ instanceof rr&&declarations_only($))){break}}return R}function prev_index(N){for(var R=N;--R>=0;){var j=E[R];if(!(j instanceof rr&&declarations_only(j))){break}}return R}}function eliminate_dead_code(E,N){var R;var j=N.self();for(var $=0,q=0,ie=E.length;$<ie;$++){var ae=E[$];if(ae instanceof Wt){var ce=N.loopcontrol_target(ae);if(ae instanceof $t&&!(ce instanceof yt)&&loop_body(ce)===j||ae instanceof Jt&&loop_body(ce)===j){if(ae.label){remove(ae.label.thedef.references,ae)}}else{E[q++]=ae}}else{E[q++]=ae}if(aborts(ae)){R=E.slice($+1);break}}E.length=q;G=q!=ie;if(R)R.forEach((function(R){trim_unreachable_code(N,R,E)}))}function declarations_only(E){return E.definitions.every((E=>!E.value))}function sequencesize(E,N){if(E.length<2)return;var R=[],j=0;function push_seq(){if(!R.length)return;var N=make_sequence(R[0],R);E[j++]=make_node(dt,N,{body:N});R=[]}for(var $=0,q=E.length;$<q;$++){var ie=E[$];if(ie instanceof dt){if(R.length>=N.sequences_limit)push_seq();var ae=ie.body;if(R.length>0)ae=ae.drop_side_effect_free(N);if(ae)merge_sequence(R,ae)}else if(ie instanceof tr&&declarations_only(ie)||ie instanceof Nt){E[j++]=ie}else{push_seq();E[j++]=ie}}push_seq();E.length=j;if(j!=q)G=true}function to_simple_statement(E,N){if(!(E instanceof ft))return E;var R=null;for(var j=0,$=E.body.length;j<$;j++){var q=E.body[j];if(q instanceof rr&&declarations_only(q)){N.push(q)}else if(R){return false}else{R=q}}return R}function sequencesize_2(E,N){function cons_seq(E){R--;G=true;var $=j.body;return make_sequence($,[$,E]).transform(N)}var R=0,j;for(var $=0;$<E.length;$++){var q=E[$];if(j){if(q instanceof jt){q.value=cons_seq(q.value||make_node(xn,q).transform(N))}else if(q instanceof St){if(!(q.init instanceof tr)){const E=walk(j.body,(E=>{if(E instanceof Ct)return true;if(E instanceof Sr&&E.operator==="in"){return Dn}}));if(!E){if(q.init)q.init=cons_seq(q.init);else{q.init=j.body;R--;G=true}}}}else if(q instanceof Et){if(!(q.init instanceof ir)&&!(q.init instanceof nr)){q.object=cons_seq(q.object)}}else if(q instanceof Ht){q.condition=cons_seq(q.condition)}else if(q instanceof Gt){q.expression=cons_seq(q.expression)}else if(q instanceof kt){q.expression=cons_seq(q.expression)}}if(N.option("conditionals")&&q instanceof Ht){var ie=[];var ae=to_simple_statement(q.body,ie);var ce=to_simple_statement(q.alternative,ie);if(ae!==false&&ce!==false&&ie.length>0){var le=ie.length;ie.push(make_node(Ht,q,{condition:q.condition,body:ae||make_node(mt,q.body),alternative:ce}));ie.unshift(R,1);[].splice.apply(E,ie);$+=le;R+=le+1;j=null;G=true;continue}}E[R++]=q;j=q instanceof dt?q:null}E.length=R}function join_object_assignments(E,R){if(!(E instanceof tr))return;var j=E.definitions[E.definitions.length-1];if(!(j.value instanceof Dr))return;var $;if(R instanceof Tr&&!R.logical){$=[R]}else if(R instanceof fr){$=R.expressions.slice()}if(!$)return;var G=false;do{var ie=$[0];if(!(ie instanceof Tr))break;if(ie.operator!="=")break;if(!(ie.left instanceof mr))break;var ae=ie.left.expression;if(!(ae instanceof on))break;if(j.name.name!=ae.name)break;if(!ie.right.is_constant_expression(q))break;var ce=ie.left.property;if(ce instanceof ot){ce=ce.evaluate(N)}if(ce instanceof ot)break;ce=""+ce;var le=N.option("ecma")<2015&&N.has_directive("use strict")?function(E){return E.key!=ce&&(E.key&&E.key.name!=ce)}:function(E){return E.key&&E.key.name!=ce};if(!j.value.properties.every(le))break;var _e=j.value.properties.filter((function(E){return E.key===ce}))[0];if(!_e){j.value.properties.push(make_node(wr,ie,{key:ce,value:ie.right}))}else{_e.value=new fr({start:_e.start,expressions:[_e.value.clone(),ie.right.clone()],end:_e.end})}$.shift();G=true}while($.length);return G&&$}function join_consecutive_vars(E){var N;for(var R=0,j=-1,$=E.length;R<$;R++){var q=E[R];var ie=E[j];if(q instanceof tr){if(ie&&ie.TYPE==q.TYPE){ie.definitions=ie.definitions.concat(q.definitions);G=true}else if(N&&N.TYPE==q.TYPE&&declarations_only(q)){N.definitions=N.definitions.concat(q.definitions);G=true}else{E[++j]=q;N=q}}else if(q instanceof jt){q.value=extract_object_assignments(q.value)}else if(q instanceof St){var ae=join_object_assignments(ie,q.init);if(ae){G=true;q.init=ae.length?make_sequence(q.init,ae):null;E[++j]=q}else if(ie instanceof rr&&(!q.init||q.init.TYPE==ie.TYPE)){if(q.init){ie.definitions=ie.definitions.concat(q.init.definitions)}q.init=ie;E[j]=q;G=true}else if(N&&q.init&&N.TYPE==q.init.TYPE&&declarations_only(q.init)){N.definitions=N.definitions.concat(q.init.definitions);q.init=null;E[++j]=q;G=true}else{E[++j]=q}}else if(q instanceof Et){q.object=extract_object_assignments(q.object)}else if(q instanceof Ht){q.condition=extract_object_assignments(q.condition)}else if(q instanceof dt){var ae=join_object_assignments(ie,q.body);if(ae){G=true;if(!ae.length)continue;q.body=make_sequence(q.body,ae)}E[++j]=q}else if(q instanceof Gt){q.expression=extract_object_assignments(q.expression)}else if(q instanceof kt){q.expression=extract_object_assignments(q.expression)}else{E[++j]=q}}E.length=j+1;function extract_object_assignments(N){E[++j]=q;var R=join_object_assignments(ie,N);if(R){G=true;if(R.length){return make_sequence(N,R)}else if(N instanceof fr){return N.tail_node().left}else{return N.left}}return N}}}function trim_unreachable_code(E,N,R){walk(N,(j=>{if(j instanceof rr){j.remove_initializers();R.push(j);return true}if(j instanceof Nt&&(j===N||!E.has_directive("use strict"))){R.push(j===N?j:make_node(rr,j,{definitions:[make_node(ar,j,{name:make_node(Jr,j.name,j.name),value:null})]}));return true}if(j instanceof ur||j instanceof cr){R.push(j);return true}if(j instanceof Ct){return true}}))}function get_value(E){if(E instanceof pn){return E.getValue()}if(E instanceof br&&E.operator=="void"&&E.expression instanceof pn){return}return E}function is_undefined(E,N){return has_flag(E,Vn)||E instanceof xn||E instanceof br&&E.operator=="void"&&!E.expression.has_side_effects(N)}(function(E){ot.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(ot,is_strict);E(vn,return_true);E(xn,return_true);E(pn,return_false);E(Cr,return_false);E(Dr,(function(E){if(!is_strict(E))return false;for(var N=this.properties.length;--N>=0;)if(this.properties[N]._dot_throw(E))return true;return false}));E(Rr,return_false);E(Ar,return_false);E(Nr,return_true);E(At,(function(E){return this.expression._dot_throw(E)}));E(Ft,return_false);E(It,return_false);E(xr,return_false);E(br,(function(){return this.operator=="void"}));E(Sr,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(Tr,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(Er,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(gr,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof Ft||this.expression instanceof Rr)}return true}));E(yr,(function(E){return this.expression._dot_throw(E)}));E(fr,(function(E){return this.tail_node()._dot_throw(E)}));E(on,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Vn))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var N=this.fixed_value();return!N||N._dot_throw(E)}))})((function(E,N){E.DEFMETHOD("_dot_throw",N)}));(function(E){const N=makePredicate("! delete");const R=makePredicate("in instanceof == != === !== < <= >= >");E(ot,return_false);E(br,(function(){return N.has(this.operator)}));E(Sr,(function(){return R.has(this.operator)||ei.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(Er,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(Tr,(function(){return this.operator=="="&&this.right.is_boolean()}));E(fr,(function(){return this.tail_node().is_boolean()}));E(Cn,return_true);E(kn,return_true)})((function(E,N){E.DEFMETHOD("is_boolean",N)}));(function(E){E(ot,return_false);E(gn,return_true);var N=makePredicate("+ - ~ ++ --");E(vr,(function(){return N.has(this.operator)}));var R=makePredicate("- * / % & | ^ << >> >>>");E(Sr,(function(E){return R.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(Tr,(function(E){return R.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(fr,(function(E){return this.tail_node().is_number(E)}));E(Er,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,N){E.DEFMETHOD("is_number",N)}));(function(E){E(ot,return_false);E(mn,return_true);E(Rt,return_true);E(br,(function(){return this.operator=="typeof"}));E(Sr,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(Tr,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(fr,(function(E){return this.tail_node().is_string(E)}));E(Er,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,N){E.DEFMETHOD("is_string",N)}));var ei=makePredicate("&& || ??");var ti=makePredicate("delete ++ --");function is_lhs(E,N){if(N instanceof vr&&ti.has(N.operator))return N.expression;if(N instanceof Tr&&N.left===E)return E}(function(E){function to_node(E,N){if(E instanceof ot)return make_node(E.CTOR,N,E);if(Array.isArray(E))return make_node(Cr,N,{elements:E.map((function(E){return to_node(E,N)}))});if(E&&typeof E=="object"){var R=[];for(var j in E)if(HOP(E,j)){R.push(make_node(wr,N,{key:j,value:to_node(E[j],N)}))}return make_node(Dr,N,{properties:R})}return make_node_from_constant(E,N)}Dt.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(N){var R=N._find_defs(E,"");if(!R)return;var j=0,$=N,q;while(q=this.parent(j++)){if(!(q instanceof mr))break;if(q.expression!==$)break;$=q}if(is_lhs($,q)){return}return R})))}));E(ot,noop);E(yr,(function(E,N){return this.expression._find_defs(E,N)}));E(gr,(function(E,N){return this.expression._find_defs(E,"."+this.property+N)}));E($r,(function(){if(!this.global())return}));E(on,(function(E,N){if(!this.global())return;var R=E.option("global_defs");var j=this.name+N;if(HOP(R,j))return to_node(R[j],this)}))})((function(E,N){E.DEFMETHOD("_find_defs",N)}));function best_of_expression(E,N){return E.size()>N.size()?N:E}function best_of_statement(E,N){return best_of_expression(make_node(dt,E,{body:E}),make_node(dt,N,{body:N})).body}function best_of(E,N,R){return(first_in_statement(E)?best_of_statement:best_of_expression)(N,R)}function convert_to_predicate(E){const N=new Map;for(var R of Object.keys(E)){N.set(R,makePredicate(E[R]))}return N}var ri=["constructor","toString","valueOf"];var ni=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(ri),Boolean:ri,Function:ri,Number:["toExponential","toFixed","toPrecision"].concat(ri),Object:ri,RegExp:["test"].concat(ri),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(ri)});var ii=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(E){ot.DEFMETHOD("evaluate",(function(E){if(!E.option("evaluate"))return this;var N=this._eval(E,1);if(!N||N instanceof RegExp)return N;if(typeof N=="function"||typeof N=="object")return this;return N}));var N=makePredicate("! ~ - + void");ot.DEFMETHOD("is_constant",(function(){if(this instanceof pn){return!(this instanceof _n)}else{return this instanceof br&&this.expression instanceof pn&&N.has(this.operator)}}));E(st,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));E(wt,return_this);E(Rr,return_this);E(ot,return_this);E(pn,(function(){return this.getValue()}));E(hn,return_this);E(_n,(function(E){let N=E.evaluated_regexps.get(this);if(N===undefined){try{N=(0,eval)(this.print_to_string())}catch(E){N=null}E.evaluated_regexps.set(this,N)}return N||this}));E(Rt,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));E(Ft,(function(E){if(E.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=()=>this.print_to_string();return fn}return this}));E(Cr,(function(E,N){if(E.option("unsafe")){var R=[];for(var j=0,$=this.elements.length;j<$;j++){var q=this.elements[j];var G=q._eval(E,N);if(q===G)return this;R.push(G)}return R}return this}));E(Dr,(function(E,N){if(E.option("unsafe")){var R={};for(var j=0,$=this.properties.length;j<$;j++){var q=this.properties[j];if(q instanceof At)return this;var G=q.key;if(G instanceof zr){G=G.name}else if(G instanceof ot){G=G._eval(E,N);if(G===q.key)return this}if(typeof Object.prototype[G]==="function"){return this}if(q.value instanceof Ft)continue;R[G]=q.value._eval(E,N);if(R[G]===q.value)return this}return R}return this}));var R=makePredicate("! typeof void");E(br,(function(E,N){var j=this.expression;if(E.option("typeofs")&&this.operator=="typeof"&&(j instanceof wt||j instanceof on&&j.fixed_value()instanceof wt)){return typeof function(){}}if(!R.has(this.operator))N++;j=j._eval(E,N);if(j===this.expression)return this;switch(this.operator){case"!":return!j;case"typeof":if(j instanceof RegExp)return this;return typeof j;case"void":return void j;case"~":return~j;case"-":return-j;case"+":return+j}return this}));var j=makePredicate("&& || ?? === !==");const $=makePredicate("== != === !==");const has_identity=E=>typeof E==="object"||typeof E==="function"||typeof E==="symbol";E(Sr,(function(E,N){if(!j.has(this.operator))N++;var R=this.left._eval(E,N);if(R===this.left)return this;var q=this.right._eval(E,N);if(q===this.right)return this;var G;if(R!=null&&q!=null&&$.has(this.operator)&&has_identity(R)&&has_identity(q)&&typeof R===typeof q){return this}switch(this.operator){case"&&":G=R&&q;break;case"||":G=R||q;break;case"??":G=R!=null?R:q;break;case"|":G=R|q;break;case"&":G=R&q;break;case"^":G=R^q;break;case"+":G=R+q;break;case"*":G=R*q;break;case"**":G=Math.pow(R,q);break;case"/":G=R/q;break;case"%":G=R%q;break;case"-":G=R-q;break;case"<<":G=R<<q;break;case">>":G=R>>q;break;case">>>":G=R>>>q;break;case"==":G=R==q;break;case"===":G=R===q;break;case"!=":G=R!=q;break;case"!==":G=R!==q;break;case"<":G=R<q;break;case"<=":G=R<=q;break;case">":G=R>q;break;case">=":G=R>=q;break;default:return this}if(isNaN(G)&&E.find_parent(kt)){return this}return G}));E(Er,(function(E,N){var R=this.condition._eval(E,N);if(R===this.condition)return this;var j=R?this.consequent:this.alternative;var $=j._eval(E,N);return $===j?this:$}));const q=new Set;E(on,(function(E,N){if(q.has(this))return this;var R=this.fixed_value();if(!R)return this;q.add(this);const j=R._eval(E,N);q.delete(this);if(j===R)return this;if(j&&typeof j=="object"){var $=this.definition().escaped;if($&&N>$)return this}return j}));var G={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var ie=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const ae=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);E(mr,(function(E,N){if(this.optional){const R=this.expression._eval(E,N);if(R==null)return undefined}if(E.option("unsafe")){var R=this.property;if(R instanceof ot){R=R._eval(E,N);if(R===this.property)return this}var j=this.expression;var $;if(is_undeclared_ref(j)){var q;var ce=j.name==="hasOwnProperty"&&R==="call"&&(q=E.parent()&&E.parent().args)&&(q&&q[0]&&q[0].evaluate(E));ce=ce instanceof gr?ce.expression:ce;if(ce==null||ce.thedef&&ce.thedef.undeclared){return this.clone()}var le=ie.get(j.name);if(!le||!le.has(R))return this;$=G[j.name]}else{$=j._eval(E,N+1);if($ instanceof RegExp){if(R=="source"){return regexp_source_fix($.source)}else if(R=="flags"||ae.has(R)){return $[R]}}if(!$||$===j||!HOP($,R))return this;if(typeof $=="function")switch(R){case"name":return $.node.name?$.node.name.name:"";case"length":return $.node.length_property();default:return this}}return $[R]}return this}));E(yr,(function(E,N){const R=this.expression._eval(E,N);return R===this.expression?this:R}));E(dr,(function(E,N){var R=this.expression;if(this.optional){const R=this.expression._eval(E,N);if(R==null)return undefined}if(E.option("unsafe")&&R instanceof mr){var j=R.property;if(j instanceof ot){j=j._eval(E,N);if(j===R.property)return this}var $;var q=R.expression;if(is_undeclared_ref(q)){var ie=q.name==="hasOwnProperty"&&j==="call"&&(this.args[0]&&this.args[0].evaluate(E));ie=ie instanceof gr?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}var ae=ii.get(q.name);if(!ae||!ae.has(j))return this;$=G[q.name]}else{$=q._eval(E,N+1);if($===q||!$)return this;var ce=ni.get($.constructor.name);if(!ce||!ce.has(j))return this}var le=[];for(var _e=0,Ee=this.args.length;_e<Ee;_e++){var Te=this.args[_e];var we=Te._eval(E,N);if(Te===we)return this;if(Te instanceof wt)return this;le.push(we)}try{return $[j].apply($,le)}catch(E){}}return this}));E(pr,return_this)})((function(E,N){E.DEFMETHOD("_eval",N)}));(function(E){function basic_negation(E){return make_node(br,E,{operator:"!",expression:E})}function best(E,N,R){var j=basic_negation(E);if(R){var $=make_node(dt,N,{body:N});return best_of_expression(j,$)===$?N:j}return best_of_expression(j,N)}E(ot,(function(){return basic_negation(this)}));E(st,(function(){throw new Error("Cannot negate a statement")}));E(Ft,(function(){return basic_negation(this)}));E(It,(function(){return basic_negation(this)}));E(br,(function(){if(this.operator=="!")return this.expression;return basic_negation(this)}));E(fr,(function(E){var N=this.expressions.slice();N.push(N.pop().negate(E));return make_sequence(this,N)}));E(Er,(function(E,N){var R=this.clone();R.consequent=R.consequent.negate(E);R.alternative=R.alternative.negate(E);return best(this,R,N)}));E(Sr,(function(E,N){var R=this.clone(),j=this.operator;if(E.option("unsafe_comps")){switch(j){case"<=":R.operator=">";return R;case"<":R.operator=">=";return R;case">=":R.operator="<";return R;case">":R.operator="<=";return R}}switch(j){case"==":R.operator="!=";return R;case"!=":R.operator="==";return R;case"===":R.operator="!==";return R;case"!==":R.operator="===";return R;case"&&":R.operator="||";R.left=R.left.negate(E,N);R.right=R.right.negate(E);return best(this,R,N);case"||":R.operator="&&";R.left=R.left.negate(E,N);R.right=R.right.negate(E);return best(this,R,N);case"??":R.right=R.right.negate(E);return best(this,R,N)}return basic_negation(this)}))})((function(E,N){E.DEFMETHOD("negate",(function(E,R){return N.call(this,E,R)}))}));var ai=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");dr.DEFMETHOD("is_callee_pure",(function(E){if(E.option("unsafe")){var N=this.expression;var R=this.args&&this.args[0]&&this.args[0].evaluate(E);if(N.expression&&N.expression.name==="hasOwnProperty"&&(R==null||R.thedef&&R.thedef.undeclared)){return false}if(is_undeclared_ref(N)&&ai.has(N.name))return true;let j;if(N instanceof gr&&is_undeclared_ref(N.expression)&&(j=ii.get(N.expression.name))&&j.has(N.property)){return true}}return!!has_annotation(this,An)||!E.pure_funcs(this)}));ot.DEFMETHOD("is_call_pure",return_false);gr.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const N=this.expression;let R;if(N instanceof Cr){R=ni.get("Array")}else if(N.is_boolean()){R=ni.get("Boolean")}else if(N.is_number(E)){R=ni.get("Number")}else if(N instanceof _n){R=ni.get("RegExp")}else if(N.is_string(E)){R=ni.get("String")}else if(!this.may_throw_on_access(E)){R=ni.get("Object")}return R&&R.has(this.property)}));const oi=new Set(["Number","String","Array","Object","Function","Promise"]);(function(E){E(ot,return_true);E(mt,return_false);E(pn,return_false);E(un,return_false);function any(E,N){for(var R=E.length;--R>=0;)if(E[R].has_side_effects(N))return true;return false}E(pt,(function(E){return any(this.body,E)}));E(dr,(function(E){if(!this.is_callee_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E(Gt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Xt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Yt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(Ht,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(_t,(function(E){return this.body.has_side_effects(E)}));E(dt,(function(E){return this.body.has_side_effects(E)}));E(wt,return_false);E(Rr,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(Sr,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(Tr,return_true);E(Er,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(vr,(function(E){return ti.has(this.operator)||this.expression.has_side_effects(E)}));E(on,(function(E){return!this.is_declared(E)&&!oi.has(this.name)}));E(Xr,return_false);E($r,return_false);E(Dr,(function(E){return any(this.properties,E)}));E(Ar,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Lr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Or,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Nr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Ir,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Cr,(function(E){return any(this.elements,E)}));E(gr,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(_r,(function(E){if(this.optional&&is_nullish(this.expression,E)){return false}return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(yr,(function(E){return this.expression.has_side_effects(E)}));E(fr,(function(E){return any(this.expressions,E)}));E(tr,(function(E){return any(this.definitions,E)}));E(ar,(function(){return this.value}));E(Lt,return_false);E(Rt,(function(E){return any(this.segments,E)}))})((function(E,N){E.DEFMETHOD("has_side_effects",N)}));(function(E){E(ot,return_true);E(pn,return_false);E(mt,return_false);E(wt,return_false);E($r,return_false);E(un,return_false);function any(E,N){for(var R=E.length;--R>=0;)if(E[R].may_throw(N))return true;return false}E(Rr,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(Cr,(function(E){return any(this.elements,E)}));E(Tr,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof on){return false}return this.left.may_throw(E)}));E(Sr,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(pt,(function(E){return any(this.body,E)}));E(dr,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;if(any(this.args,E))return true;if(this.is_callee_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof wt)||any(this.expression.body,E)}));E(Xt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(Er,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(tr,(function(E){return any(this.definitions,E)}));E(Ht,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(_t,(function(E){return this.body.may_throw(E)}));E(Dr,(function(E){return any(this.properties,E)}));E(Ar,(function(E){return this.value?this.value.may_throw(E):false}));E(Lr,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Or,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Nr,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Ir,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Ut,(function(E){return this.value&&this.value.may_throw(E)}));E(fr,(function(E){return any(this.expressions,E)}));E(dt,(function(E){return this.body.may_throw(E)}));E(gr,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(_r,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(yr,(function(E){return this.expression.may_throw(E)}));E(Gt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(on,(function(E){return!this.is_declared(E)&&!oi.has(this.name)}));E(Xr,return_false);E(Yt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(vr,(function(E){if(this.operator=="typeof"&&this.expression instanceof on)return false;return this.expression.may_throw(E)}));E(ar,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,N){E.DEFMETHOD("may_throw",N)}));(function(E){function all_refs_local(E){let N=true;walk(this,(R=>{if(R instanceof on){if(has_flag(this,qn)){N=false;return Dn}var j=R.definition();if(member(j,this.enclosed)&&!this.variables.has(j.name)){if(E){var $=E.find_variable(R);if(j.undeclared?!$:$===j){N="f";return true}}N=false;return Dn}return true}if(R instanceof un&&this instanceof It){N=false;return Dn}}));return N}E(ot,return_false);E(pn,return_true);E(Rr,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const N of this.properties){if(N.computed_key()&&!N.key.is_constant_expression(E)){return false}if(N.static&&N.value&&!N.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(wt,all_refs_local);E(vr,(function(){return this.expression.is_constant_expression()}));E(Sr,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(Cr,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(Dr,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(Ar,(function(){return!!(!(this.key instanceof ot)&&this.value&&this.value.is_constant_expression())}))})((function(E,N){E.DEFMETHOD("is_constant_expression",N)}));function aborts(E){return E&&E.aborts()}(function(E){E(st,return_null);E(Bt,return_this);function block_aborts(){for(var E=0;E<this.body.length;E++){if(aborts(this.body[E])){return this.body[E]}}return null}E(cr,(function(){return null}));E(ft,block_aborts);E(Kt,block_aborts);E(Ht,(function(){return this.alternative&&aborts(this.body)&&aborts(this.alternative)&&this}))})((function(E,N){E.DEFMETHOD("aborts",N)}));var si=new Set(["use asm","use strict"]);def_optimize(ut,(function(E,N){if(N.option("directives")&&(!si.has(E.value)||N.has_directive(E.value)!==E)){return make_node(mt,E)}return E}));def_optimize(ct,(function(E,N){if(N.option("drop_debugger"))return make_node(mt,E);return E}));def_optimize(_t,(function(E,N){if(E.body instanceof $t&&N.loopcontrol_target(E.body)===E.body){return make_node(mt,E)}return E.label.references.length==0?E.body:E}));def_optimize(pt,(function(E,N){tighten_body(E.body,N);return E}));function can_be_extracted_from_if_block(E){return!(E instanceof ir||E instanceof nr||E instanceof Rr)}def_optimize(ft,(function(E,N){tighten_body(E.body,N);switch(E.body.length){case 1:if(!N.has_directive("use strict")&&N.parent()instanceof Ht&&can_be_extracted_from_if_block(E.body[0])||can_be_evicted_from_block(E.body[0])){return E.body[0]}break;case 0:return make_node(mt,E)}return E}));function opt_AST_Lambda(E,N){tighten_body(E.body,N);if(N.option("side_effects")&&E.body.length==1&&E.body[0]===N.has_directive("use strict")){E.body.length=0}return E}def_optimize(wt,opt_AST_Lambda);const ci=/keep_assign/;Ct.DEFMETHOD("drop_unused",(function(E){if(!E.option("unused"))return;if(E.has_directive("use asm"))return;var N=this;if(N.pinned())return;var R=!(N instanceof Dt)||E.toplevel.funcs;var j=!(N instanceof Dt)||E.toplevel.vars;const q=ci.test(E.option("unused"))?return_false:function(E){if(E instanceof Tr&&!E.logical&&(has_flag(E,Hn)||E.operator=="=")){return E.left}if(E instanceof vr&&has_flag(E,Hn)){return E.expression}};var G=new Map;var ie=new Map;if(N instanceof Dt&&E.top_retain){N.variables.forEach((function(N){if(E.top_retain(N)&&!G.has(N.id)){G.set(N.id,N)}}))}var ae=new Map;var ce=new Map;var le=this;var _e=new TreeWalker((function($,q){if($ instanceof wt&&$.uses_arguments&&!_e.has_directive("use strict")){$.argnames.forEach((function(E){if(!(E instanceof $r))return;var N=E.definition();if(!G.has(N.id)){G.set(N.id,N)}}))}if($===N)return;if($ instanceof Nt||$ instanceof jr){var Ee=$.name.definition();const j=_e.parent()instanceof ur;if(j||!R&&le===N){if(Ee.global&&!G.has(Ee.id)){G.set(Ee.id,Ee)}}if($ instanceof jr){if($.extends&&($.extends.has_side_effects(E)||$.extends.may_throw(E))){$.extends.walk(_e)}for(const N of $.properties){if(N.has_side_effects(E)||N.may_throw(E)){N.walk(_e)}}}map_add(ce,Ee.id,$);return true}if($ instanceof Gr&&le===N){map_add(ae,$.definition().id,$)}if($ instanceof tr&&le===N){const N=_e.parent()instanceof ur;$.definitions.forEach((function(R){if(R.name instanceof Jr){map_add(ae,R.name.definition().id,R)}if(N||!j){walk(R.name,(E=>{if(E instanceof $r){const R=E.definition();if((N||R.global)&&!G.has(R.id)){G.set(R.id,R)}}}))}if(R.value){if(R.name instanceof Ot){R.walk(_e)}else{var $=R.name.definition();map_add(ce,$.id,R.value);if(!$.chained&&R.name.fixed_value()===R.value){ie.set($.id,R)}}if(R.value.has_side_effects(E)){R.value.walk(_e)}}}));return true}return scan_ref_scoped($,q)}));N.walk(_e);_e=new TreeWalker(scan_ref_scoped);G.forEach((function(E){var N=ce.get(E.id);if(N)N.forEach((function(E){E.walk(_e)}))}));var Ee=new TreeTransformer((function before(ce,_e,Te){var we=Ee.parent();if(j){const E=q(ce);if(E instanceof on){var Ie=E.definition();var Ne=G.has(Ie.id);if(ce instanceof Tr){if(!Ne||ie.has(Ie.id)&&ie.get(Ie.id)!==ce){return maintain_this_binding(we,ce,ce.right.transform(Ee))}}else if(!Ne)return Te?$.skip:make_node(gn,ce,{value:0})}}if(le!==N)return;var Ie;if(ce.name&&(ce instanceof Ur&&!keep_name(E.option("keep_classnames"),(Ie=ce.name.definition()).name)||ce instanceof Ft&&!keep_name(E.option("keep_fnames"),(Ie=ce.name.definition()).name))){if(!G.has(Ie.id)||Ie.orig.length>1)ce.name=null}if(ce instanceof wt&&!(ce instanceof Pt)){var Me=!E.option("keep_fargs");for(var Le=ce.argnames,Be=Le.length;--Be>=0;){var je=Le[Be];if(je instanceof At){je=je.expression}if(je instanceof kr){je=je.left}if(!(je instanceof Ot)&&!G.has(je.definition().id)){set_flag(je,Wn);if(Me){Le.pop()}}else{Me=false}}}if((ce instanceof Nt||ce instanceof jr)&&ce!==N){const N=ce.name.definition();let j=N.global&&!R||G.has(N.id);if(!j){N.eliminated++;if(ce instanceof jr){const N=ce.drop_side_effect_free(E);if(N){return make_node(dt,ce,{body:N})}}return Te?$.skip:make_node(mt,ce)}}if(ce instanceof tr&&!(we instanceof Et&&we.init===ce)){var Ue=!(we instanceof Dt)&&!(ce instanceof rr);var ze=[],We=[],Je=[];var Ve=[];ce.definitions.forEach((function(N){if(N.value)N.value=N.value.transform(Ee);var R=N.name instanceof Ot;var $=R?new SymbolDef(null,{name:"<destructure>"}):N.name.definition();if(Ue&&$.global)return Je.push(N);if(!(j||Ue)||R&&(N.name.names.length||N.name.is_array||E.option("pure_getters")!=true)||G.has($.id)){if(N.value&&ie.has($.id)&&ie.get($.id)!==N){N.value=N.value.drop_side_effect_free(E)}if(N.name instanceof Jr){var q=ae.get($.id);if(q.length>1&&(!N.value||$.orig.indexOf(N.name)>$.eliminated)){if(N.value){var le=make_node(on,N.name,N.name);$.references.push(le);var _e=make_node(Tr,N,{operator:"=",logical:false,left:le,right:N.value});if(ie.get($.id)===N){ie.set($.id,_e)}Ve.push(_e.transform(Ee))}remove(q,N);$.eliminated++;return}}if(N.value){if(Ve.length>0){if(Je.length>0){Ve.push(N.value);N.value=make_sequence(N.value,Ve)}else{ze.push(make_node(dt,ce,{body:make_sequence(ce,Ve)}))}Ve=[]}Je.push(N)}else{We.push(N)}}else if($.orig[0]instanceof tn){var Te=N.value&&N.value.drop_side_effect_free(E);if(Te)Ve.push(Te);N.value=null;We.push(N)}else{var Te=N.value&&N.value.drop_side_effect_free(E);if(Te){Ve.push(Te)}$.eliminated++}}));if(We.length>0||Je.length>0){ce.definitions=We.concat(Je);ze.push(ce)}if(Ve.length>0){ze.push(make_node(dt,ce,{body:make_sequence(ce,Ve)}))}switch(ze.length){case 0:return Te?$.skip:make_node(mt,ce);case 1:return ze[0];default:return Te?$.splice(ze):make_node(ft,ce,{body:ze})}}if(ce instanceof St){_e(ce,this);var qe;if(ce.init instanceof ft){qe=ce.init;ce.init=qe.body.pop();qe.body.push(ce)}if(ce.init instanceof dt){ce.init=ce.init.body}else if(is_empty(ce.init)){ce.init=null}return!qe?ce:Te?$.splice(qe.body):qe}if(ce instanceof _t&&ce.body instanceof St){_e(ce,this);if(ce.body instanceof ft){var qe=ce.body;ce.body=qe.body.pop();qe.body.push(ce);return Te?$.splice(qe.body):qe}return ce}if(ce instanceof ft){_e(ce,this);if(Te&&ce.body.every(can_be_evicted_from_block)){return $.splice(ce.body)}return ce}if(ce instanceof Ct){const E=le;le=ce;_e(ce,this);le=E;return ce}}));N.transform(Ee);function scan_ref_scoped(E,R){var j;const $=q(E);if($ instanceof on&&!is_ref_of(E.left,Vr)&&N.variables.get($.name)===(j=$.definition())){if(E instanceof Tr){E.right.walk(_e);if(!j.chained&&E.left.fixed_value()===E.right){ie.set(j.id,E)}}return true}if(E instanceof on){j=E.definition();if(!G.has(j.id)){G.set(j.id,j);if(j.orig[0]instanceof tn){const E=j.scope.is_block_scope()&&j.scope.get_defun_scope().variables.get(j.name);if(E)G.set(E.id,E)}}return true}if(E instanceof Ct){var ae=le;le=E;R();le=ae;return true}}}));Ct.DEFMETHOD("hoist_declarations",(function(E){var N=this;if(E.has_directive("use asm"))return N;if(!Array.isArray(N.body))return N;var R=E.option("hoist_funs");var j=E.option("hoist_vars");if(R||j){var $=[];var q=[];var G=new Map,ie=0,ae=0;walk(N,(E=>{if(E instanceof Ct&&E!==N)return true;if(E instanceof rr){++ae;return true}}));j=j&&ae>1;var ce=new TreeTransformer((function before(ae){if(ae!==N){if(ae instanceof ut){$.push(ae);return make_node(mt,ae)}if(R&&ae instanceof Nt&&!(ce.parent()instanceof ur)&&ce.parent()===N){q.push(ae);return make_node(mt,ae)}if(j&&ae instanceof rr&&!ae.definitions.some((E=>E.name instanceof Ot))){ae.definitions.forEach((function(E){G.set(E.name.name,E);++ie}));var le=ae.to_assignments(E);var _e=ce.parent();if(_e instanceof Et&&_e.init===ae){if(le==null){var Ee=ae.definitions[0].name;return make_node(on,Ee,Ee)}return le}if(_e instanceof St&&_e.init===ae){return le}if(!le)return make_node(mt,ae);return make_node(dt,ae,{body:le})}if(ae instanceof Ct)return ae}}));N=N.transform(ce);if(ie>0){var le=[];const E=N instanceof wt;const R=E?N.args_as_names():null;G.forEach(((N,j)=>{if(E&&R.some((E=>E.name===N.name.name))){G.delete(j)}else{N=N.clone();N.value=null;le.push(N);G.set(j,N)}}));if(le.length>0){for(var _e=0;_e<N.body.length;){if(N.body[_e]instanceof dt){var Ee=N.body[_e].body,Te,we;if(Ee instanceof Tr&&Ee.operator=="="&&(Te=Ee.left)instanceof zr&&G.has(Te.name)){var Ie=G.get(Te.name);if(Ie.value)break;Ie.value=Ee.right;remove(le,Ie);le.push(Ie);N.body.splice(_e,1);continue}if(Ee instanceof fr&&(we=Ee.expressions[0])instanceof Tr&&we.operator=="="&&(Te=we.left)instanceof zr&&G.has(Te.name)){var Ie=G.get(Te.name);if(Ie.value)break;Ie.value=we.right;remove(le,Ie);le.push(Ie);N.body[_e].body=make_sequence(Ee,Ee.expressions.slice(1));continue}}if(N.body[_e]instanceof mt){N.body.splice(_e,1);continue}if(N.body[_e]instanceof ft){N.body.splice(_e,1,...N.body[_e].body);continue}break}le=make_node(rr,N,{definitions:le});q.push(le)}}N.body=$.concat(q,N.body)}return N}));Ct.DEFMETHOD("hoist_properties",(function(E){var N=this;if(!E.option("hoist_props")||E.has_directive("use asm"))return N;var R=N instanceof Dt&&E.top_retain||return_false;var j=new Map;var q=new TreeTransformer((function(G,ie){if(G instanceof tr&&q.parent()instanceof ur)return G;if(G instanceof ar){const ae=G.name;let ce;let le;if(ae.scope===N&&(ce=ae.definition()).escaped!=1&&!ce.assignments&&!ce.direct_access&&!ce.single_use&&!E.exposed(ce)&&!R(ce)&&(le=ae.fixed_value())===G.value&&le instanceof Dr&&!le.properties.some((E=>E instanceof At||E.computed_key()))){ie(G,this);const E=new Map;const R=[];le.properties.forEach((({key:j,value:$})=>{const ie=find_scope(q);const ce=N.create_symbol(ae.CTOR,{source:ae,scope:ie,conflict_scopes:new Set([ie,...ae.definition().references.map((E=>E.scope))]),tentative_name:ae.name+"_"+j});E.set(String(j),ce.definition());R.push(make_node(ar,G,{name:ce,value:$}))}));j.set(ce.id,E);return $.splice(R)}}else if(G instanceof mr&&G.expression instanceof on){const E=j.get(G.expression.definition().id);if(E){const N=E.get(String(get_value(G.property)));const R=make_node(on,G,{name:N.name,scope:G.expression.scope,thedef:N});R.reference({});return R}}}));return N.transform(q)}));(function(E){function trim(E,N,R){var j=E.length;if(!j)return null;var $=[],q=false;for(var G=0;G<j;G++){var ie=E[G].drop_side_effect_free(N,R);q|=ie!==E[G];if(ie){$.push(ie);R=false}}return q?$.length?$:null:E}E(ot,return_this);E(pn,return_null);E(un,return_null);E(dr,(function(E,N){if(this.optional&&is_nullish(this.expression,E)){return make_node(xn,this)}if(!this.is_callee_pure(E)){if(this.expression.is_call_pure(E)){var R=this.args.slice();R.unshift(this.expression.expression);R=trim(R,E,N);return R&&make_sequence(this,R)}if(is_func_expr(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var j=this.clone();j.expression.process_expression(false,E);return j}return this}var $=trim(this.args,E,N);return $&&make_sequence(this,$)}));E(Pt,return_null);E(Ft,return_null);E(It,return_null);E(Rr,(function(E){const N=[];const R=this.extends&&this.extends.drop_side_effect_free(E);if(R)N.push(R);for(const R of this.properties){const j=R.drop_side_effect_free(E);if(j)N.push(j)}if(!N.length)return null;return make_sequence(this,N)}));E(Sr,(function(E,N){var R=this.right.drop_side_effect_free(E);if(!R)return this.left.drop_side_effect_free(E,N);if(ei.has(this.operator)){if(R===this.right)return this;var j=this.clone();j.right=R;return j}else{var $=this.left.drop_side_effect_free(E,N);if(!$)return this.right.drop_side_effect_free(E,N);return make_sequence(this,[$,R])}}));E(Tr,(function(E){if(this.logical)return this;var N=this.left;if(N.has_side_effects(E)||E.has_directive("use strict")&&N instanceof mr&&N.expression.is_constant()){return this}set_flag(this,Hn);while(N instanceof mr){N=N.expression}if(N.is_constant_expression(E.find_parent(Ct))){return this.right.drop_side_effect_free(E)}return this}));E(Er,(function(E){var N=this.consequent.drop_side_effect_free(E);var R=this.alternative.drop_side_effect_free(E);if(N===this.consequent&&R===this.alternative)return this;if(!N)return R?make_node(Sr,this,{operator:"||",left:this.condition,right:R}):this.condition.drop_side_effect_free(E);if(!R)return make_node(Sr,this,{operator:"&&",left:this.condition,right:N});var j=this.clone();j.consequent=N;j.alternative=R;return j}));E(vr,(function(E,N){if(ti.has(this.operator)){if(!this.expression.has_side_effects(E)){set_flag(this,Hn)}else{clear_flag(this,Hn)}return this}if(this.operator=="typeof"&&this.expression instanceof on)return null;var R=this.expression.drop_side_effect_free(E,N);if(N&&R&&is_iife_call(R)){if(R===this.expression&&this.operator=="!")return this;return R.negate(E,N)}return R}));E(on,(function(E){const N=this.is_declared(E)||oi.has(this.name);return N?null:this}));E(Dr,(function(E,N){var R=trim(this.properties,E,N);return R&&make_sequence(this,R)}));E(Ar,(function(E,N){const R=this instanceof wr&&this.key instanceof ot;const j=R&&this.key.drop_side_effect_free(E,N);const $=this.value&&this.value.drop_side_effect_free(E,N);if(j&&$){return make_sequence(this,[j,$])}return j||$}));E(Lr,(function(E){const N=this.computed_key()&&this.key.drop_side_effect_free(E);const R=this.static&&this.value&&this.value.drop_side_effect_free(E);if(N&&R)return make_sequence(this,[N,R]);return N||R||null}));E(Or,(function(){return this.computed_key()?this.key:null}));E(Nr,(function(){return this.computed_key()?this.key:null}));E(Ir,(function(){return this.computed_key()?this.key:null}));E(Cr,(function(E,N){var R=trim(this.elements,E,N);return R&&make_sequence(this,R)}));E(gr,(function(E,N){if(this.optional){return is_nullish(this.expression,E)?make_node(xn,this):this}if(this.expression.may_throw_on_access(E))return this;return this.expression.drop_side_effect_free(E,N)}));E(_r,(function(E,N){if(this.optional){return is_nullish(this.expression,E)?make_node(xn,this):this}if(this.expression.may_throw_on_access(E))return this;var R=this.expression.drop_side_effect_free(E,N);if(!R)return this.property.drop_side_effect_free(E,N);var j=this.property.drop_side_effect_free(E);if(!j)return R;return make_sequence(this,[R,j])}));E(yr,(function(E,N){return this.expression.drop_side_effect_free(E,N)}));E(fr,(function(E){var N=this.tail_node();var R=N.drop_side_effect_free(E);if(R===N)return this;var j=this.expressions.slice(0,-1);if(R)j.push(R);if(!j.length){return make_node(gn,this,{value:0})}return make_sequence(this,j)}));E(At,(function(E,N){return this.expression.drop_side_effect_free(E,N)}));E(Lt,return_null);E(Rt,(function(E){var N=trim(this.segments,E,first_in_statement);return N&&make_sequence(this,N)}))})((function(E,N){E.DEFMETHOD("drop_side_effect_free",N)}));def_optimize(dt,(function(E,N){if(N.option("side_effects")){var R=E.body;var j=R.drop_side_effect_free(N,true);if(!j){return make_node(mt,E)}if(j!==R){return make_node(dt,E,{body:j})}}return E}));def_optimize(xt,(function(E,N){return N.option("loops")?make_node(St,E,E).optimize(N):E}));function has_break_or_continue(E,N){var R=false;var j=new TreeWalker((function(N){if(R||N instanceof Ct)return true;if(N instanceof Wt&&j.loopcontrol_target(N)===E){return R=true}}));if(N instanceof _t)j.push(N);j.push(E);E.body.walk(j);return R}def_optimize(bt,(function(E,N){if(!N.option("loops"))return E;var R=E.condition.tail_node().evaluate(N);if(!(R instanceof ot)){if(R)return make_node(St,E,{body:make_node(ft,E.body,{body:[E.body,make_node(dt,E.condition,{body:E.condition})]})}).optimize(N);if(!has_break_or_continue(E,N.parent())){return make_node(ft,E.body,{body:[E.body,make_node(dt,E.condition,{body:E.condition})]}).optimize(N)}}return E}));function if_break_in_loop(E,N){var R=E.body instanceof ft?E.body.body[0]:E.body;if(N.option("dead_code")&&is_break(R)){var j=[];if(E.init instanceof st){j.push(E.init)}else if(E.init){j.push(make_node(dt,E.init,{body:E.init}))}if(E.condition){j.push(make_node(dt,E.condition,{body:E.condition}))}trim_unreachable_code(N,E.body,j);return make_node(ft,E,{body:j})}if(R instanceof Ht){if(is_break(R.body)){if(E.condition){E.condition=make_node(Sr,E.condition,{left:E.condition,operator:"&&",right:R.condition.negate(N)})}else{E.condition=R.condition.negate(N)}drop_it(R.alternative)}else if(is_break(R.alternative)){if(E.condition){E.condition=make_node(Sr,E.condition,{left:E.condition,operator:"&&",right:R.condition})}else{E.condition=R.condition}drop_it(R.body)}}return E;function is_break(E){return E instanceof $t&&N.loopcontrol_target(E)===N.self()}function drop_it(R){R=as_statement_array(R);if(E.body instanceof ft){E.body=E.body.clone();E.body.body=R.concat(E.body.body.slice(1));E.body=E.body.transform(N)}else{E.body=make_node(ft,E.body,{body:R}).transform(N)}E=if_break_in_loop(E,N)}}def_optimize(St,(function(E,N){if(!N.option("loops"))return E;if(N.option("side_effects")&&E.init){E.init=E.init.drop_side_effect_free(N)}if(E.condition){var R=E.condition.evaluate(N);if(!(R instanceof ot)){if(R)E.condition=null;else if(!N.option("dead_code")){var j=E.condition;E.condition=make_node_from_constant(R,E.condition);E.condition=best_of_expression(E.condition.transform(N),j)}}if(N.option("dead_code")){if(R instanceof ot)R=E.condition.tail_node().evaluate(N);if(!R){var $=[];trim_unreachable_code(N,E.body,$);if(E.init instanceof st){$.push(E.init)}else if(E.init){$.push(make_node(dt,E.init,{body:E.init}))}$.push(make_node(dt,E.condition,{body:E.condition}));return make_node(ft,E,{body:$}).optimize(N)}}}return if_break_in_loop(E,N)}));def_optimize(Ht,(function(E,N){if(is_empty(E.alternative))E.alternative=null;if(!N.option("conditionals"))return E;var R=E.condition.evaluate(N);if(!N.option("dead_code")&&!(R instanceof ot)){var j=E.condition;E.condition=make_node_from_constant(R,j);E.condition=best_of_expression(E.condition.transform(N),j)}if(N.option("dead_code")){if(R instanceof ot)R=E.condition.tail_node().evaluate(N);if(!R){var $=[];trim_unreachable_code(N,E.body,$);$.push(make_node(dt,E.condition,{body:E.condition}));if(E.alternative)$.push(E.alternative);return make_node(ft,E,{body:$}).optimize(N)}else if(!(R instanceof ot)){var $=[];$.push(make_node(dt,E.condition,{body:E.condition}));$.push(E.body);if(E.alternative){trim_unreachable_code(N,E.alternative,$)}return make_node(ft,E,{body:$}).optimize(N)}}var q=E.condition.negate(N);var G=E.condition.size();var ie=q.size();var ae=ie<G;if(E.alternative&&ae){ae=false;E.condition=q;var ce=E.body;E.body=E.alternative||make_node(mt,E);E.alternative=ce}if(is_empty(E.body)&&is_empty(E.alternative)){return make_node(dt,E.condition,{body:E.condition.clone()}).optimize(N)}if(E.body instanceof dt&&E.alternative instanceof dt){return make_node(dt,E,{body:make_node(Er,E,{condition:E.condition,consequent:E.body.body,alternative:E.alternative.body})}).optimize(N)}if(is_empty(E.alternative)&&E.body instanceof dt){if(G===ie&&!ae&&E.condition instanceof Sr&&E.condition.operator=="||"){ae=true}if(ae)return make_node(dt,E,{body:make_node(Sr,E,{operator:"||",left:q,right:E.body.body})}).optimize(N);return make_node(dt,E,{body:make_node(Sr,E,{operator:"&&",left:E.condition,right:E.body.body})}).optimize(N)}if(E.body instanceof mt&&E.alternative instanceof dt){return make_node(dt,E,{body:make_node(Sr,E,{operator:"||",left:E.condition,right:E.alternative.body})}).optimize(N)}if(E.body instanceof jt&&E.alternative instanceof jt&&E.body.TYPE==E.alternative.TYPE){return make_node(E.body.CTOR,E,{value:make_node(Er,E,{condition:E.condition,consequent:E.body.value||make_node(xn,E.body),alternative:E.alternative.value||make_node(xn,E.alternative)}).transform(N)}).optimize(N)}if(E.body instanceof Ht&&!E.body.alternative&&!E.alternative){E=make_node(Ht,E,{condition:make_node(Sr,E.condition,{operator:"&&",left:E.condition,right:E.body.condition}),body:E.body.body,alternative:null})}if(aborts(E.body)){if(E.alternative){var le=E.alternative;E.alternative=null;return make_node(ft,E,{body:[E,le]}).optimize(N)}}if(aborts(E.alternative)){var $=E.body;E.body=E.alternative;E.condition=ae?q:E.condition.negate(N);E.alternative=null;return make_node(ft,E,{body:[E,$]}).optimize(N)}return E}));def_optimize(Gt,(function(E,N){if(!N.option("switches"))return E;var R;var j=E.expression.evaluate(N);if(!(j instanceof ot)){var $=E.expression;E.expression=make_node_from_constant(j,$);E.expression=best_of_expression(E.expression.transform(N),$)}if(!N.option("dead_code"))return E;if(j instanceof ot){j=E.expression.tail_node().evaluate(N)}var q=[];var G=[];var ie;var ae;for(var ce=0,le=E.body.length;ce<le&&!ae;ce++){R=E.body[ce];if(R instanceof Qt){if(!ie){ie=R}else{eliminate_branch(R,G[G.length-1])}}else if(!(j instanceof ot)){var _e=R.expression.evaluate(N);if(!(_e instanceof ot)&&_e!==j){eliminate_branch(R,G[G.length-1]);continue}if(_e instanceof ot)_e=R.expression.tail_node().evaluate(N);if(_e===j){ae=R;if(ie){var Ee=G.indexOf(ie);G.splice(Ee,1);eliminate_branch(ie,G[Ee-1]);ie=null}}}if(aborts(R)){var Te=G[G.length-1];if(aborts(Te)&&Te.body.length==R.body.length&&make_node(ft,Te,Te).equivalent_to(make_node(ft,R,R))){Te.body=[]}}G.push(R)}while(ce<le)eliminate_branch(E.body[ce++],G[G.length-1]);if(G.length>0){G[0].body=q.concat(G[0].body)}E.body=G;while(R=G[G.length-1]){var we=R.body[R.body.length-1];if(we instanceof $t&&N.loopcontrol_target(we)===E)R.body.pop();if(R.body.length||R instanceof Xt&&(ie||R.expression.has_side_effects(N)))break;if(G.pop()===ie)ie=null}if(G.length==0){return make_node(ft,E,{body:q.concat(make_node(dt,E.expression,{body:E.expression}))}).optimize(N)}if(G.length==1&&(G[0]===ae||G[0]===ie)){var Ie=false;var Ne=new TreeWalker((function(N){if(Ie||N instanceof wt||N instanceof dt)return true;if(N instanceof $t&&Ne.loopcontrol_target(N)===E)Ie=true}));E.walk(Ne);if(!Ie){var Me=G[0].body.slice();var _e=G[0].expression;if(_e)Me.unshift(make_node(dt,_e,{body:_e}));Me.unshift(make_node(dt,E.expression,{body:E.expression}));return make_node(ft,E,{body:Me}).optimize(N)}}return E;function eliminate_branch(E,R){if(R&&!aborts(R)){R.body=R.body.concat(E.body)}else{trim_unreachable_code(N,E,q)}}}));def_optimize(Yt,(function(E,N){tighten_body(E.body,N);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(N.option("dead_code")&&E.body.every(is_empty)){var R=[];if(E.bcatch){trim_unreachable_code(N,E.bcatch,R)}if(E.bfinally)R.push(...E.bfinally.body);return make_node(ft,E,{body:R}).optimize(N)}return E}));tr.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(N){if(N.name instanceof $r){N.value=null;E.push(N)}else{walk(N.name,(R=>{if(R instanceof $r){E.push(make_node(ar,N,{name:R,value:null}))}}))}}));this.definitions=E}));tr.DEFMETHOD("to_assignments",(function(E){var N=E.option("reduce_vars");var R=[];for(const E of this.definitions){if(E.value){var j=make_node(on,E.name,E.name);R.push(make_node(Tr,E,{operator:"=",logical:false,left:j,right:E.value}));if(N)j.definition().fixed=false}else if(E.value){var $=make_node(ar,E,{name:E.name,value:E.value});var q=make_node(rr,E,{definitions:[$]});R.push(q)}const G=E.name.definition();G.eliminated++;G.replaced--}if(R.length==0)return null;return make_sequence(this,R)}));def_optimize(tr,(function(E){if(E.definitions.length==0)return make_node(mt,E);return E}));def_optimize(ar,(function(E,N){if(E.name instanceof Hr&&E.value!=null&&is_undefined(E.value,N)){E.value=null}return E}));def_optimize(cr,(function(E){return E}));function retain_top_func(E,N){return N.top_retain&&E instanceof Nt&&has_flag(E,Qn)&&E.name&&N.top_retain(E.name)}def_optimize(dr,(function(E,N){var R=E.expression;var j=R;inline_array_like_spread(E.args);var $=E.args.every((E=>!(E instanceof At)));if(N.option("reduce_vars")&&j instanceof on&&!has_annotation(E,Pn)){const E=j.fixed_value();if(!retain_top_func(E,N)){j=E}}if(E.optional&&is_nullish(j,N)){return make_node(xn,E)}var q=j instanceof wt;if(q&&j.pinned())return E;if(N.option("unused")&&$&&q&&!j.uses_arguments){var G=0,ie=0;for(var ae=0,ce=E.args.length;ae<ce;ae++){if(j.argnames[ae]instanceof At){if(has_flag(j.argnames[ae].expression,Wn))while(ae<ce){var le=E.args[ae++].drop_side_effect_free(N);if(le){E.args[G++]=le}}else while(ae<ce){E.args[G++]=E.args[ae++]}ie=G;break}var _e=ae>=j.argnames.length;if(_e||has_flag(j.argnames[ae],Wn)){var le=E.args[ae].drop_side_effect_free(N);if(le){E.args[G++]=le}else if(!_e){E.args[G++]=make_node(gn,E.args[ae],{value:0});continue}}else{E.args[G++]=E.args[ae]}ie=G}E.args.length=ie}if(N.option("unsafe")){if(is_undeclared_ref(R))switch(R.name){case"Array":if(E.args.length!=1){return make_node(Cr,E,{elements:E.args}).optimize(N)}else if(E.args[0]instanceof gn&&E.args[0].value<=11){const N=[];for(let R=0;R<E.args[0].value;R++)N.push(new Sn);return new Cr({elements:N})}break;case"Object":if(E.args.length==0){return make_node(Dr,E,{properties:[]})}break;case"String":if(E.args.length==0)return make_node(mn,E,{value:""});if(E.args.length<=1)return make_node(Sr,E,{left:E.args[0],operator:"+",right:make_node(mn,E,{value:""})}).optimize(N);break;case"Number":if(E.args.length==0)return make_node(gn,E,{value:0});if(E.args.length==1&&N.option("unsafe_math")){return make_node(br,E,{expression:E.args[0],operator:"+"}).optimize(N)}break;case"Symbol":if(E.args.length==1&&E.args[0]instanceof mn&&N.option("unsafe_symbols"))E.args.length=0;break;case"Boolean":if(E.args.length==0)return make_node(kn,E);if(E.args.length==1)return make_node(br,E,{expression:make_node(br,E,{expression:E.args[0],operator:"!"}),operator:"!"}).optimize(N);break;case"RegExp":var Ee=[];if(E.args.length>=1&&E.args.length<=2&&E.args.every((E=>{var R=E.evaluate(N);Ee.push(R);return E!==R}))){let[R,j]=Ee;R=regexp_source_fix(new RegExp(R).source);const $=make_node(_n,E,{value:{source:R,flags:j}});if($._eval(N)!==$){return $}}break}else if(R instanceof gr)switch(R.property){case"toString":if(E.args.length==0&&!R.expression.may_throw_on_access(N)){return make_node(Sr,E,{left:make_node(mn,E,{value:""}),operator:"+",right:R.expression}).optimize(N)}break;case"join":if(R.expression instanceof Cr)e:{var Te;if(E.args.length>0){Te=E.args[0].evaluate(N);if(Te===E.args[0])break e}var we=[];var Ie=[];for(var ae=0,ce=R.expression.elements.length;ae<ce;ae++){var Ne=R.expression.elements[ae];if(Ne instanceof At)break e;var Me=Ne.evaluate(N);if(Me!==Ne){Ie.push(Me)}else{if(Ie.length>0){we.push(make_node(mn,E,{value:Ie.join(Te)}));Ie.length=0}we.push(Ne)}}if(Ie.length>0){we.push(make_node(mn,E,{value:Ie.join(Te)}))}if(we.length==0)return make_node(mn,E,{value:""});if(we.length==1){if(we[0].is_string(N)){return we[0]}return make_node(Sr,we[0],{operator:"+",left:make_node(mn,E,{value:""}),right:we[0]})}if(Te==""){var Le;if(we[0].is_string(N)||we[1].is_string(N)){Le=we.shift()}else{Le=make_node(mn,E,{value:""})}return we.reduce((function(E,N){return make_node(Sr,N,{operator:"+",left:E,right:N})}),Le).optimize(N)}var le=E.clone();le.expression=le.expression.clone();le.expression.expression=le.expression.expression.clone();le.expression.expression.elements=we;return best_of(N,E,le)}break;case"charAt":if(R.expression.is_string(N)){var Be=E.args[0];var je=Be?Be.evaluate(N):0;if(je!==Be){return make_node(_r,R,{expression:R.expression,property:make_node_from_constant(je|0,Be||R)}).optimize(N)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof Cr){var Ue=E.args[1].elements.slice();Ue.unshift(E.args[0]);return make_node(dr,E,{expression:make_node(gr,R,{expression:R.expression,optional:false,property:"call"}),args:Ue}).optimize(N)}break;case"call":var ze=R.expression;if(ze instanceof on){ze=ze.fixed_value()}if(ze instanceof wt&&!ze.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(dr,E,{expression:R.expression,args:E.args.slice(1)})]):make_node(dr,E,{expression:R.expression,args:[]})).optimize(N)}break}}if(N.option("unsafe_Function")&&is_undeclared_ref(R)&&R.name=="Function"){if(E.args.length==0)return make_node(Ft,E,{argnames:[],body:[]}).optimize(N);if(E.args.every((E=>E instanceof mn))){try{var We="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var Je=parse(We);var Ve={ie8:N.option("ie8")};Je.figure_out_scope(Ve);var qe=new Compressor(N.options,{mangle_options:N.mangle_options});Je=Je.transform(qe);Je.figure_out_scope(Ve);Un.reset();Je.compute_char_frequency(Ve);Je.mangle_names(Ve);var He;walk(Je,(E=>{if(is_func_expr(E)){He=E;return Dn}}));var We=OutputStream();ft.prototype._codegen.call(He,He,We);E.args=[make_node(mn,E,{value:He.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(mn,E.args[E.args.length-1],{value:We.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Ge=q&&j.body[0];var Ke=q&&!j.is_generator&&!j.async;var Qe=Ke&&N.option("inline")&&!E.is_callee_pure(N);if(Qe&&Ge instanceof Ut){let R=Ge.value;if(!R||R.is_constant_expression()){if(R){R=R.clone(true)}else{R=make_node(xn,E)}const j=E.args.concat(R);return make_sequence(E,j).optimize(N)}if(j.argnames.length===1&&j.argnames[0]instanceof Gr&&E.args.length<2&&R instanceof on&&R.name===j.argnames[0].name){const R=(E.args[0]||make_node(xn)).optimize(N);let j;if(R instanceof mr&&(j=N.parent())instanceof dr&&j.expression===E){return make_sequence(E,[make_node(gn,E,{value:0}),R])}return R}}if(Qe){var Xe,Ye,Ze=-1;let q;let G;let ie;if($&&!j.uses_arguments&&!(N.parent()instanceof Rr)&&!(j.name&&j instanceof Ft)&&(G=can_flatten_body(Ge))&&(R===j||has_annotation(E,wn)||N.option("unused")&&(q=R.definition()).references.length==1&&!recursive_ref(N,q)&&j.is_constant_expression(R.scope))&&!has_annotation(E,An|Pn)&&!j.contains_this()&&can_inject_symbols()&&(ie=find_scope(N))&&!scope_encloses_variables_in_this_scope(ie,j)&&!function in_default_assign(){let E=0;let R;while(R=N.parent(E++)){if(R instanceof kr)return true;if(R instanceof pt)break}return false}()&&!(Xe instanceof Rr)){set_flag(j,Gn);ie.add_child_scope(j);return make_sequence(E,flatten_fn(G)).optimize(N)}}if(Qe&&has_annotation(E,wn)){set_flag(j,Gn);j=make_node(j.CTOR===Nt?Ft:j.CTOR,j,j);j.figure_out_scope({},{parent_scope:find_scope(N),toplevel:N.get_toplevel()});return make_node(dr,E,{expression:j,args:E.args}).optimize(N)}const et=Ke&&N.option("side_effects")&&j.body.every(is_empty);if(et){var Ue=E.args.concat(make_node(xn,E));return make_sequence(E,Ue).optimize(N)}if(N.option("negate_iife")&&N.parent()instanceof dt&&is_iife_call(E)){return E.negate(N,true)}var tt=E.evaluate(N);if(tt!==E){tt=make_node_from_constant(tt,E).optimize(N);return best_of(N,tt,E)}return E;function return_value(N){if(!N)return make_node(xn,E);if(N instanceof Ut){if(!N.value)return make_node(xn,E);return N.value.clone(true)}if(N instanceof dt){return make_node(br,N,{operator:"void",expression:N.body.clone(true)})}}function can_flatten_body(E){var R=j.body;var $=R.length;if(N.option("inline")<3){return $==1&&return_value(E)}E=null;for(var q=0;q<$;q++){var G=R[q];if(G instanceof rr){if(E&&!G.definitions.every((E=>!E.value))){return false}}else if(E){return false}else if(!(G instanceof mt)){E=G}}return return_value(E)}function can_inject_args(E,N){for(var R=0,$=j.argnames.length;R<$;R++){var q=j.argnames[R];if(q instanceof kr){if(has_flag(q.left,Wn))continue;return false}if(q instanceof Ot)return false;if(q instanceof At){if(has_flag(q.expression,Wn))continue;return false}if(has_flag(q,Wn))continue;if(!N||E.has(q.name)||Zn.has(q.name)||Xe.conflicting_def(q.name)){return false}if(Ye)Ye.push(q.definition())}return true}function can_inject_vars(E,N){var R=j.body.length;for(var $=0;$<R;$++){var q=j.body[$];if(!(q instanceof rr))continue;if(!N)return false;for(var G=q.definitions.length;--G>=0;){var ie=q.definitions[G].name;if(ie instanceof Ot||E.has(ie.name)||Zn.has(ie.name)||Xe.conflicting_def(ie.name)){return false}if(Ye)Ye.push(ie.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Xe=N.parent(++Ze);if(Xe.is_block_scope()&&Xe.block_scope){Xe.block_scope.variables.forEach((function(N){E.add(N.name)}))}if(Xe instanceof Zt){if(Xe.argname){E.add(Xe.argname.name)}}else if(Xe instanceof yt){Ye=[]}else if(Xe instanceof on){if(Xe.fixed_value()instanceof Ct)return false}}while(!(Xe instanceof Ct));var R=!(Xe instanceof Dt)||N.toplevel.vars;var $=N.option("inline");if(!can_inject_vars(E,$>=3&&R))return false;if(!can_inject_args(E,$>=2&&R))return false;return!Ye||Ye.length==0||!is_reachable(j,Ye)}function append_var(N,R,j,$){var q=j.definition();const G=Xe.variables.has(j.name);if(!G){Xe.variables.set(j.name,q);Xe.enclosed.push(q);N.push(make_node(ar,j,{name:j,value:null}))}var ie=make_node(on,j,j);q.references.push(ie);if($)R.push(make_node(Tr,E,{operator:"=",logical:false,left:ie,right:$.clone()}))}function flatten_args(N,R){var $=j.argnames.length;for(var q=E.args.length;--q>=$;){R.push(E.args[q])}for(q=$;--q>=0;){var G=j.argnames[q];var ie=E.args[q];if(has_flag(G,Wn)||!G.name||Xe.conflicting_def(G.name)){if(ie)R.push(ie)}else{var ae=make_node(Jr,G,G);G.definition().orig.push(ae);if(!ie&&Ye)ie=make_node(xn,E);append_var(N,R,ae,ie)}}N.reverse();R.reverse()}function flatten_vars(E,N){var R=N.length;for(var $=0,q=j.body.length;$<q;$++){var G=j.body[$];if(!(G instanceof rr))continue;for(var ie=0,ae=G.definitions.length;ie<ae;ie++){var ce=G.definitions[ie];var le=ce.name;append_var(E,N,le,ce.value);if(Ye&&j.argnames.every((E=>E.name!=le.name))){var _e=j.variables.get(le.name);var Ee=make_node(on,le,le);_e.references.push(Ee);N.splice(R++,0,make_node(Tr,ce,{operator:"=",logical:false,left:Ee,right:make_node(xn,le)}))}}}}function flatten_fn(E){var R=[];var $=[];flatten_args(R,$);flatten_vars(R,$);$.push(E);if(R.length){const E=Xe.body.indexOf(N.parent(Ze-1))+1;Xe.body.splice(E,0,make_node(rr,j,{definitions:R}))}return $.map((E=>E.clone(true)))}}));def_optimize(pr,(function(E,N){if(N.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(dr,E,E).transform(N);return E}));def_optimize(fr,(function(E,N){if(!N.option("side_effects"))return E;var R=[];filter_for_side_effects();var j=R.length-1;trim_right_for_undefined();if(j==0){E=maintain_this_binding(N.parent(),N.self(),R[0]);if(!(E instanceof fr))E=E.optimize(N);return E}E.expressions=R;return E;function filter_for_side_effects(){var j=first_in_statement(N);var $=E.expressions.length-1;E.expressions.forEach((function(E,q){if(q<$)E=E.drop_side_effect_free(N,j);if(E){merge_sequence(R,E);j=false}}))}function trim_right_for_undefined(){while(j>0&&is_undefined(R[j],N))j--;if(j<R.length-1){R[j]=make_node(br,E,{operator:"void",expression:R[j]});R.length=j+1}}}));vr.DEFMETHOD("lift_sequences",(function(E){if(E.option("sequences")){if(this.expression instanceof fr){var N=this.expression.expressions.slice();var R=this.clone();R.expression=N.pop();N.push(R);return make_sequence(this,N).optimize(E)}}return this}));def_optimize(xr,(function(E,N){return E.lift_sequences(N)}));def_optimize(br,(function(E,N){var R=E.expression;if(E.operator=="delete"&&!(R instanceof on||R instanceof mr||is_identifier_atom(R))){if(R instanceof fr){const j=R.expressions.slice();j.push(make_node(Cn,E));return make_sequence(E,j).optimize(N)}return make_sequence(E,[R,make_node(Cn,E)]).optimize(N)}var j=E.lift_sequences(N);if(j!==E){return j}if(N.option("side_effects")&&E.operator=="void"){R=R.drop_side_effect_free(N);if(R){E.expression=R;return E}else{return make_node(xn,E).optimize(N)}}if(N.in_boolean_context()){switch(E.operator){case"!":if(R instanceof br&&R.operator=="!"){return R.expression}if(R instanceof Sr){E=best_of(N,E,R.negate(N,first_in_statement(N)))}break;case"typeof":return(R instanceof on?make_node(Cn,E):make_sequence(E,[R,make_node(Cn,E)])).optimize(N)}}if(E.operator=="-"&&R instanceof En){R=R.transform(N)}if(R instanceof Sr&&(E.operator=="+"||E.operator=="-")&&(R.operator=="*"||R.operator=="/"||R.operator=="%")){return make_node(Sr,E,{operator:R.operator,left:make_node(br,R.left,{operator:E.operator,expression:R.left}),right:R.right})}if(E.operator!="-"||!(R instanceof gn||R instanceof En||R instanceof hn)){var $=E.evaluate(N);if($!==E){$=make_node_from_constant($,E).optimize(N);return best_of(N,$,E)}}return E}));Sr.DEFMETHOD("lift_sequences",(function(E){if(E.option("sequences")){if(this.left instanceof fr){var N=this.left.expressions.slice();var R=this.clone();R.left=N.pop();N.push(R);return make_sequence(this,N).optimize(E)}if(this.right instanceof fr&&!this.left.has_side_effects(E)){var j=this.operator=="="&&this.left instanceof on;var N=this.right.expressions;var $=N.length-1;for(var q=0;q<$;q++){if(!j&&N[q].has_side_effects(E))break}if(q==$){N=N.slice();var R=this.clone();R.right=N.pop();N.push(R);return make_sequence(this,N).optimize(E)}else if(q>0){var R=this.clone();R.right=make_sequence(this.right,N.slice(q));N=N.slice(0,q);N.push(R);return make_sequence(this,N).optimize(E)}}}return this}));var li=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof Cr||E instanceof wt||E instanceof Dr||E instanceof Rr}def_optimize(Sr,(function(E,N){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(N)&&!E.right.has_side_effects(N)}function reverse(N){if(reversible()){if(N)E.operator=N;var R=E.left;E.left=E.right;E.right=R}}if(li.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof Sr&&et[E.left.operator]>=et[E.operator])){reverse()}}}E=E.lift_sequences(N);if(N.option("comparisons"))switch(E.operator){case"===":case"!==":var R=true;if(E.left.is_string(N)&&E.right.is_string(N)||E.left.is_number(N)&&E.right.is_number(N)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!R&&is_undefined(E.left,N)){E.left=make_node(vn,E.left)}else if(N.option("typeofs")&&E.left instanceof mn&&E.left.value=="undefined"&&E.right instanceof br&&E.right.operator=="typeof"){var j=E.right.expression;if(j instanceof on?j.is_declared(N):!(j instanceof mr&&N.option("ie8"))){E.right=j;E.left=make_node(xn,E.left).optimize(N);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof on&&E.right instanceof on&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?Cn:kn,E)}break;case"&&":case"||":var $=E.left;if($.operator==E.operator){$=$.right}if($ instanceof Sr&&$.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof Sr&&$.operator==E.right.operator&&(is_undefined($.left,N)&&E.right.left instanceof vn||$.left instanceof vn&&is_undefined(E.right.left,N))&&!$.right.has_side_effects(N)&&$.right.equivalent_to(E.right.right)){var q=make_node(Sr,E,{operator:$.operator.slice(0,-1),left:make_node(vn,E),right:$.right});if($!==E.left){q=make_node(Sr,E,{operator:E.operator,left:E.left.left,right:q})}return q}break}if(E.operator=="+"&&N.in_boolean_context()){var G=E.left.evaluate(N);var ie=E.right.evaluate(N);if(G&&typeof G=="string"){return make_sequence(E,[E.right,make_node(Cn,E)]).optimize(N)}if(ie&&typeof ie=="string"){return make_sequence(E,[E.left,make_node(Cn,E)]).optimize(N)}}if(N.option("comparisons")&&E.is_boolean()){if(!(N.parent()instanceof Sr)||N.parent()instanceof Tr){var ae=make_node(br,E,{operator:"!",expression:E.negate(N,first_in_statement(N))});E=best_of(N,E,ae)}if(N.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof mn&&E.right.getValue()==""&&E.left.is_string(N)){return E.left}if(E.left instanceof mn&&E.left.getValue()==""&&E.right.is_string(N)){return E.right}if(E.left instanceof Sr&&E.left.operator=="+"&&E.left.left instanceof mn&&E.left.left.getValue()==""&&E.right.is_string(N)){E.left=E.left.right;return E}}if(N.option("evaluate")){switch(E.operator){case"&&":var G=has_flag(E.left,$n)?true:has_flag(E.left,Jn)?false:E.left.evaluate(N);if(!G){return maintain_this_binding(N.parent(),N.self(),E.left).optimize(N)}else if(!(G instanceof ot)){return make_sequence(E,[E.left,E.right]).optimize(N)}var ie=E.right.evaluate(N);if(!ie){if(N.in_boolean_context()){return make_sequence(E,[E.left,make_node(kn,E)]).optimize(N)}else{set_flag(E,Jn)}}else if(!(ie instanceof ot)){var ce=N.parent();if(ce.operator=="&&"&&ce.left===N.self()||N.in_boolean_context()){return E.left.optimize(N)}}if(E.left.operator=="||"){var le=E.left.right.evaluate(N);if(!le)return make_node(Er,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(N)}break;case"||":var G=has_flag(E.left,$n)?true:has_flag(E.left,Jn)?false:E.left.evaluate(N);if(!G){return make_sequence(E,[E.left,E.right]).optimize(N)}else if(!(G instanceof ot)){return maintain_this_binding(N.parent(),N.self(),E.left).optimize(N)}var ie=E.right.evaluate(N);if(!ie){var ce=N.parent();if(ce.operator=="||"&&ce.left===N.self()||N.in_boolean_context()){return E.left.optimize(N)}}else if(!(ie instanceof ot)){if(N.in_boolean_context()){return make_sequence(E,[E.left,make_node(Cn,E)]).optimize(N)}else{set_flag(E,$n)}}if(E.left.operator=="&&"){var le=E.left.right.evaluate(N);if(le&&!(le instanceof ot))return make_node(Er,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(N)}break;case"??":if(is_nullish(E.left,N)){return E.right}var G=E.left.evaluate(N);if(!(G instanceof ot)){return G==null?E.right:E.left}if(N.in_boolean_context()){const R=E.right.evaluate(N);if(!(R instanceof ot)&&!R){return E.left}}}var _e=true;switch(E.operator){case"+":if(E.right instanceof pn&&E.left instanceof Sr&&E.left.operator=="+"&&E.left.is_string(N)){var Ee=make_node(Sr,E,{operator:"+",left:E.left.right,right:E.right});var Te=Ee.optimize(N);if(Ee!==Te){E=make_node(Sr,E,{operator:"+",left:E.left.left,right:Te})}}if(E.left instanceof Sr&&E.left.operator=="+"&&E.left.is_string(N)&&E.right instanceof Sr&&E.right.operator=="+"&&E.right.is_string(N)){var Ee=make_node(Sr,E,{operator:"+",left:E.left.right,right:E.right.left});var we=Ee.optimize(N);if(Ee!==we){E=make_node(Sr,E,{operator:"+",left:make_node(Sr,E.left,{operator:"+",left:E.left.left,right:we}),right:E.right.right})}}if(E.right instanceof br&&E.right.operator=="-"&&E.left.is_number(N)){E=make_node(Sr,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof br&&E.left.operator=="-"&&reversible()&&E.right.is_number(N)){E=make_node(Sr,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Rt){var Ie=E.left;var Te=E.right.evaluate(N);if(Te!=E.right){Ie.segments[Ie.segments.length-1].value+=String(Te);return Ie}}if(E.right instanceof Rt){var Te=E.right;var Ie=E.left.evaluate(N);if(Ie!=E.left){Te.segments[0].value=String(Ie)+Te.segments[0].value;return Te}}if(E.left instanceof Rt&&E.right instanceof Rt){var Ie=E.left;var Ne=Ie.segments;var Te=E.right;Ne[Ne.length-1].value+=Te.segments[0].value;for(var Me=1;Me<Te.segments.length;Me++){Ne.push(Te.segments[Me])}return Ie}case"*":_e=N.option("unsafe_math");case"&":case"|":case"^":if(E.left.is_number(N)&&E.right.is_number(N)&&reversible()&&!(E.left instanceof Sr&&E.left.operator!=E.operator&&et[E.left.operator]>=et[E.operator])){var Le=make_node(Sr,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof pn&&!(E.left instanceof pn)){E=best_of(N,Le,E)}else{E=best_of(N,E,Le)}}if(_e&&E.is_number(N)){if(E.right instanceof Sr&&E.right.operator==E.operator){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof pn&&E.left instanceof Sr&&E.left.operator==E.operator){if(E.left.left instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof Sr&&E.left.operator==E.operator&&E.left.right instanceof pn&&E.right instanceof Sr&&E.right.operator==E.operator&&E.right.left instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:make_node(Sr,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof Sr&&E.right.operator==E.operator&&(ei.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(N)||E.left.is_string(N)&&E.right.right.is_string(N)))){E.left=make_node(Sr,E.left,{operator:E.operator,left:E.left.transform(N),right:E.right.left.transform(N)});E.right=E.right.right.transform(N);return E.transform(N)}var Be=E.evaluate(N);if(Be!==E){Be=make_node_from_constant(Be,E).optimize(N);return best_of(N,Be,E)}return E}));def_optimize(sn,(function(E){return E}));function recursive_ref(E,N){var R;for(var j=0;R=E.parent(j);j++){if(R instanceof wt||R instanceof Rr){var $=R.name;if($&&$.definition()===N)break}}return R}function within_array_or_object_literal(E){var N,R=0;while(N=E.parent(R++)){if(N instanceof st)return false;if(N instanceof Cr||N instanceof wr||N instanceof Dr){return true}}return false}def_optimize(on,(function(E,N){if(!N.option("ie8")&&is_undeclared_ref(E)&&!N.find_parent(kt)){switch(E.name){case"undefined":return make_node(xn,E).optimize(N);case"NaN":return make_node(bn,E).optimize(N);case"Infinity":return make_node(En,E).optimize(N)}}const R=N.parent();if(N.option("reduce_vars")&&is_lhs(E,R)!==E){const q=E.definition();const G=find_scope(N);if(N.top_retain&&q.global&&N.top_retain(q)){q.fixed=false;q.single_use=false;return E}let ie=E.fixed_value();let ae=q.single_use&&!(R instanceof dr&&R.is_callee_pure(N)||has_annotation(R,Pn))&&!(R instanceof ur&&ie instanceof wt&&ie.name);if(ae&&ie instanceof ot){ae=!ie.has_side_effects(N)&&!ie.may_throw(N)}if(ae&&(ie instanceof wt||ie instanceof Rr)){if(retain_top_func(ie,N)){ae=false}else if(q.scope!==E.scope&&(q.escaped==1||has_flag(ie,qn)||within_array_or_object_literal(N)||!N.option("reduce_funcs"))){ae=false}else if(recursive_ref(N,q)){ae=false}else if(q.scope!==E.scope||q.orig[0]instanceof Gr){ae=ie.is_constant_expression(E.scope);if(ae=="f"){var j=E.scope;do{if(j instanceof Nt||is_func_expr(j)){set_flag(j,qn)}}while(j=j.parent_scope)}}}if(ae&&ie instanceof wt){ae=q.scope===E.scope&&!scope_encloses_variables_in_this_scope(G,ie)||R instanceof dr&&R.expression===E&&!scope_encloses_variables_in_this_scope(G,ie)&&!(ie.name&&ie.name.definition().recursive_refs>0)}if(ae&&ie){if(ie instanceof jr){set_flag(ie,Gn);ie=make_node(Ur,ie,ie)}if(ie instanceof Nt){set_flag(ie,Gn);ie=make_node(Ft,ie,ie)}if(q.recursive_refs>0&&ie.name instanceof Kr){const E=ie.name.definition();let N=ie.variables.get(ie.name.name);let R=N&&N.orig[0];if(!(R instanceof Yr)){R=make_node(Yr,ie.name,ie.name);R.scope=ie;ie.name=R;N=ie.def_function(R)}walk(ie,(R=>{if(R instanceof on&&R.definition()===E){R.thedef=N;N.references.push(R)}}))}if((ie instanceof wt||ie instanceof Rr)&&ie.parent_scope!==G){ie=ie.clone(true,N.get_toplevel());G.add_child_scope(ie)}return ie.optimize(N)}if(ie){let R;if(ie instanceof un){if(!(q.orig[0]instanceof Gr)&&q.references.every((E=>q.scope===E.scope))){R=ie}}else{var $=ie.evaluate(N);if($!==ie&&(N.option("unsafe_regexp")||!($ instanceof RegExp))){R=make_node_from_constant($,ie)}}if(R){const j=E.size(N);const $=R.size(N);let G=0;if(N.option("unused")&&!N.exposed(q)){G=(j+2+$)/(q.references.length-q.assignments)}if($<=j+G){return R}}}}return E}));function scope_encloses_variables_in_this_scope(E,N){for(const R of N.enclosed){if(N.variables.has(R.name)){continue}const j=E.find_variable(R.name);if(j){if(j===R)continue;return true}}return false}function is_atomic(E,N){return E instanceof on||E.TYPE===N.TYPE}def_optimize(xn,(function(E,N){if(N.option("unsafe_undefined")){var R=find_variable(N,"undefined");if(R){var j=make_node(on,E,{name:"undefined",scope:R.scope,thedef:R});set_flag(j,Vn);return j}}var $=is_lhs(N.self(),N.parent());if($&&is_atomic($,E))return E;return make_node(br,E,{operator:"void",expression:make_node(gn,E,{value:0})})}));def_optimize(En,(function(E,N){var R=is_lhs(N.self(),N.parent());if(R&&is_atomic(R,E))return E;if(N.option("keep_infinity")&&!(R&&!is_atomic(R,E))&&!find_variable(N,"Infinity")){return E}return make_node(Sr,E,{operator:"/",left:make_node(gn,E,{value:1}),right:make_node(gn,E,{value:0})})}));def_optimize(bn,(function(E,N){var R=is_lhs(N.self(),N.parent());if(R&&!is_atomic(R,E)||find_variable(N,"NaN")){return make_node(Sr,E,{operator:"/",left:make_node(gn,E,{value:0}),right:make_node(gn,E,{value:0})})}return E}));function is_reachable(E,N){const find_ref=E=>{if(E instanceof on&&member(E.definition(),N)){return Dn}};return walk_parent(E,((N,R)=>{if(N instanceof Ct&&N!==E){var j=R.parent();if(j instanceof dr&&j.expression===N)return;if(walk(N,find_ref))return Dn;return true}}))}const ui=makePredicate("+ - / * % >> << >>> | ^ &");const di=makePredicate("* | ^ &");def_optimize(Tr,(function(E,N){if(E.logical){return E.lift_sequences(N)}var R;if(N.option("dead_code")&&E.left instanceof on&&(R=E.left.definition()).scope===N.find_parent(wt)){var j=0,$,q=E;do{$=q;q=N.parent(j++);if(q instanceof jt){if(in_try(j,q))break;if(is_reachable(R.scope,[R]))break;if(E.operator=="=")return E.right;R.fixed=false;return make_node(Sr,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(N)}}while(q instanceof Sr&&q.right===$||q instanceof fr&&q.tail_node()===$)}E=E.lift_sequences(N);if(E.operator=="="&&E.left instanceof on&&E.right instanceof Sr){if(E.right.left instanceof on&&E.right.left.name==E.left.name&&ui.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof on&&E.right.right.name==E.left.name&&di.has(E.right.operator)&&!E.right.left.has_side_effects(N)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(R,j){var $=E.right;E.right=make_node(vn,$);var q=j.may_throw(N);E.right=$;var G=E.left.definition().scope;var ie;while((ie=N.parent(R++))!==G){if(ie instanceof Yt){if(ie.bfinally)return true;if(q&&ie.bcatch)return true}}}}));def_optimize(kr,(function(E,N){if(!N.option("evaluate")){return E}var R=E.right.evaluate(N);if(R===undefined){E=E.left}else if(R!==E.right){R=make_node_from_constant(R,E.right);E.right=best_of_expression(R,E.right)}return E}));function is_nullish(E,N){let R;return E instanceof vn||is_undefined(E,N)||E instanceof on&&(R=E.definition().fixed)instanceof ot&&is_nullish(R,N)||E instanceof mr&&E.optional&&is_nullish(E.expression,N)||E instanceof dr&&E.optional&&is_nullish(E.expression,N)||E instanceof yr&&is_nullish(E.expression,N)}function is_nullish_check(E,N,R){if(N.may_throw(R))return false;let j;if(E instanceof Sr&&E.operator==="=="&&((j=is_nullish(E.left,R)&&E.left)||(j=is_nullish(E.right,R)&&E.right))&&(j===E.left?E.right:E.left).equivalent_to(N)){return true}if(E instanceof Sr&&E.operator==="||"){let j;let $;const find_comparison=E=>{if(!(E instanceof Sr&&(E.operator==="==="||E.operator==="=="))){return false}let q=0;let G;if(E.left instanceof vn){q++;j=E;G=E.right}if(E.right instanceof vn){q++;j=E;G=E.left}if(is_undefined(E.left,R)){q++;$=E;G=E.right}if(is_undefined(E.right,R)){q++;$=E;G=E.left}if(q!==1){return false}if(!G.equivalent_to(N)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if(j&&$&&j!==$){return true}}return false}def_optimize(Er,(function(E,N){if(!N.option("conditionals"))return E;if(E.condition instanceof fr){var R=E.condition.expressions.slice();E.condition=R.pop();R.push(E);return make_sequence(E,R)}var j=E.condition.evaluate(N);if(j!==E.condition){if(j){return maintain_this_binding(N.parent(),N.self(),E.consequent)}else{return maintain_this_binding(N.parent(),N.self(),E.alternative)}}var $=j.negate(N,first_in_statement(N));if(best_of(N,j,$)===$){E=make_node(Er,E,{condition:$,consequent:E.alternative,alternative:E.consequent})}var q=E.condition;var G=E.consequent;var ie=E.alternative;if(q instanceof on&&G instanceof on&&q.definition()===G.definition()){return make_node(Sr,E,{operator:"||",left:q,right:ie})}if(G instanceof Tr&&ie instanceof Tr&&G.operator===ie.operator&&G.logical===ie.logical&&G.left.equivalent_to(ie.left)&&(!E.condition.has_side_effects(N)||G.operator=="="&&!G.left.has_side_effects(N))){return make_node(Tr,E,{operator:G.operator,left:G.left,logical:G.logical,right:make_node(Er,E,{condition:E.condition,consequent:G.right,alternative:ie.right})})}var ae;if(G instanceof dr&&ie.TYPE===G.TYPE&&G.args.length>0&&G.args.length==ie.args.length&&G.expression.equivalent_to(ie.expression)&&!E.condition.has_side_effects(N)&&!G.expression.has_side_effects(N)&&typeof(ae=single_arg_diff())=="number"){var ce=G.clone();ce.args[ae]=make_node(Er,E,{condition:E.condition,consequent:G.args[ae],alternative:ie.args[ae]});return ce}if(ie instanceof Er&&G.equivalent_to(ie.consequent)){return make_node(Er,E,{condition:make_node(Sr,E,{operator:"||",left:q,right:ie.condition}),consequent:G,alternative:ie.alternative}).optimize(N)}if(N.option("ecma")>=2020&&is_nullish_check(q,ie,N)){return make_node(Sr,E,{operator:"??",left:ie,right:G}).optimize(N)}if(ie instanceof fr&&G.equivalent_to(ie.expressions[ie.expressions.length-1])){return make_sequence(E,[make_node(Sr,E,{operator:"||",left:q,right:make_sequence(E,ie.expressions.slice(0,-1))}),G]).optimize(N)}if(ie instanceof Sr&&ie.operator=="&&"&&G.equivalent_to(ie.right)){return make_node(Sr,E,{operator:"&&",left:make_node(Sr,E,{operator:"||",left:q,right:ie.left}),right:G}).optimize(N)}if(G instanceof Er&&G.alternative.equivalent_to(ie)){return make_node(Er,E,{condition:make_node(Sr,E,{left:E.condition,operator:"&&",right:G.condition}),consequent:G.consequent,alternative:ie})}if(G.equivalent_to(ie)){return make_sequence(E,[E.condition,G]).optimize(N)}if(G instanceof Sr&&G.operator=="||"&&G.right.equivalent_to(ie)){return make_node(Sr,E,{operator:"||",left:make_node(Sr,E,{operator:"&&",left:E.condition,right:G.left}),right:ie}).optimize(N)}var le=N.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(Sr,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(N))}return make_node(Sr,E,{operator:"&&",left:booleanize(E.condition.negate(N)),right:E.alternative})}if(is_true(E.alternative)){return make_node(Sr,E,{operator:"||",left:booleanize(E.condition.negate(N)),right:E.consequent})}if(is_false(E.alternative)){return make_node(Sr,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(br,E,{operator:"!",expression:E.negate(N)})}function is_true(E){return E instanceof Cn||le&&E instanceof pn&&E.getValue()||E instanceof br&&E.operator=="!"&&E.expression instanceof pn&&!E.expression.getValue()}function is_false(E){return E instanceof kn||le&&E instanceof pn&&!E.getValue()||E instanceof br&&E.operator=="!"&&E.expression instanceof pn&&E.expression.getValue()}function single_arg_diff(){var E=G.args;var N=ie.args;for(var R=0,j=E.length;R<j;R++){if(E[R]instanceof At)return;if(!E[R].equivalent_to(N[R])){if(N[R]instanceof At)return;for(var $=R+1;$<j;$++){if(E[$]instanceof At)return;if(!E[$].equivalent_to(N[$]))return}return R}}}}));def_optimize(Tn,(function(E,N){if(N.in_boolean_context())return make_node(gn,E,{value:+E.value});var R=N.parent();if(N.option("booleans_as_integers")){if(R instanceof Sr&&(R.operator=="==="||R.operator=="!==")){R.operator=R.operator.replace(/=$/,"")}return make_node(gn,E,{value:+E.value})}if(N.option("booleans")){if(R instanceof Sr&&(R.operator=="=="||R.operator=="!=")){return make_node(gn,E,{value:+E.value})}return make_node(br,E,{operator:"!",expression:make_node(gn,E,{value:1-E.value})})}return E}));function safe_to_flatten(E,N){if(E instanceof on){E=E.fixed_value()}if(!E)return false;if(!(E instanceof wt||E instanceof Rr))return true;if(!(E instanceof wt&&E.contains_this()))return true;return N.parent()instanceof pr}mr.DEFMETHOD("flatten_object",(function(E,N){if(!N.option("properties"))return;if(E==="__proto__")return;var R=N.option("unsafe_arrows")&&N.option("ecma")>=2015;var j=this.expression;if(j instanceof Dr){var $=j.properties;for(var q=$.length;--q>=0;){var G=$[q];if(""+(G instanceof Or?G.key.name:G.key)==E){const E=$.every((E=>(E instanceof wr||R&&E instanceof Or&&!E.is_generator)&&!E.computed_key()));if(!E)return;if(!safe_to_flatten(G.value,N))return;return make_node(_r,this,{expression:make_node(Cr,j,{elements:$.map((function(E){var N=E.value;if(N instanceof Pt){N=make_node(Ft,N,N)}var R=E.key;if(R instanceof ot&&!(R instanceof Qr)){return make_sequence(E,[R,N])}return N}))}),property:make_node(gn,this,{value:q})})}}}}));def_optimize(_r,(function(E,N){var R=E.expression;var j=E.property;if(N.option("properties")){var $=j.evaluate(N);if($!==j){if(typeof $=="string"){if($=="undefined"){$=undefined}else{var q=parseFloat($);if(q.toString()==$){$=q}}}j=E.property=best_of_expression(j,make_node_from_constant($,j).transform(N));var G=""+$;if(is_basic_identifier_string(G)&&G.length<=j.size()+1){return make_node(gr,E,{expression:R,optional:E.optional,property:G,quote:j.quote}).optimize(N)}}}var ie;e:if(N.option("arguments")&&R instanceof on&&R.name=="arguments"&&R.definition().orig.length==1&&(ie=R.scope)instanceof wt&&ie.uses_arguments&&!(ie instanceof It)&&j instanceof gn){var ae=j.getValue();var ce=new Set;var le=ie.argnames;for(var _e=0;_e<le.length;_e++){if(!(le[_e]instanceof Gr)){break e}var Ee=le[_e].name;if(ce.has(Ee)){break e}ce.add(Ee)}var Te=ie.argnames[ae];if(Te&&N.has_directive("use strict")){var we=Te.definition();if(!N.option("reduce_vars")||we.assignments||we.orig.length>1){Te=null}}else if(!Te&&!N.option("keep_fargs")&&ae<ie.argnames.length+5){while(ae>=ie.argnames.length){Te=ie.create_symbol(Gr,{source:ie,scope:ie,tentative_name:"argument_"+ie.argnames.length});ie.argnames.push(Te)}}if(Te){var Ie=make_node(on,E,Te);Ie.reference({});clear_flag(Te,Wn);return Ie}}if(is_lhs(E,N.parent()))return E;if($!==j){var Ne=E.flatten_object(G,N);if(Ne){R=E.expression=Ne.expression;j=E.property=Ne.property}}if(N.option("properties")&&N.option("side_effects")&&j instanceof gn&&R instanceof Cr){var ae=j.getValue();var Me=R.elements;var Le=Me[ae];e:if(safe_to_flatten(Le,N)){var Be=true;var je=[];for(var Ue=Me.length;--Ue>ae;){var q=Me[Ue].drop_side_effect_free(N);if(q){je.unshift(q);if(Be&&q.has_side_effects(N))Be=false}}if(Le instanceof At)break e;Le=Le instanceof Sn?make_node(xn,Le):Le;if(!Be)je.unshift(Le);while(--Ue>=0){var q=Me[Ue];if(q instanceof At)break e;q=q.drop_side_effect_free(N);if(q)je.unshift(q);else ae--}if(Be){je.push(Le);return make_sequence(E,je).optimize(N)}else return make_node(_r,E,{expression:make_node(Cr,R,{elements:je}),property:make_node(gn,j,{value:ae})})}}var ze=E.evaluate(N);if(ze!==E){ze=make_node_from_constant(ze,E).optimize(N);return best_of(N,ze,E)}if(E.optional&&is_nullish(E.expression,N)){return make_node(xn,E)}return E}));def_optimize(yr,(function(E,N){E.expression=E.expression.optimize(N);return E}));wt.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof un)return Dn;if(E!==this&&E instanceof Ct&&!(E instanceof It)){return true}}))}));def_optimize(gr,(function(E,N){const R=N.parent();if(is_lhs(E,R))return E;if(N.option("unsafe_proto")&&E.expression instanceof gr&&E.expression.property=="prototype"){var j=E.expression.expression;if(is_undeclared_ref(j))switch(j.name){case"Array":E.expression=make_node(Cr,E.expression,{elements:[]});break;case"Function":E.expression=make_node(Ft,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(gn,E.expression,{value:0});break;case"Object":E.expression=make_node(Dr,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(_n,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(mn,E.expression,{value:""});break}}if(!(R instanceof dr)||!has_annotation(R,Pn)){const R=E.flatten_object(E.property,N);if(R)return R.optimize(N)}let $=E.evaluate(N);if($!==E){$=make_node_from_constant($,E).optimize(N);return best_of(N,$,E)}if(E.optional&&is_nullish(E.expression,N)){return make_node(xn,E)}return E}));function literals_in_boolean_context(E,N){if(N.in_boolean_context()){return best_of(N,E,make_sequence(E,[E,make_node(Cn,E)]).optimize(N))}return E}function inline_array_like_spread(E){for(var N=0;N<E.length;N++){var R=E[N];if(R instanceof At){var j=R.expression;if(j instanceof Cr&&!j.elements.some((E=>E instanceof Sn))){E.splice(N,1,...j.elements);N--}}}}def_optimize(Cr,(function(E,N){var R=literals_in_boolean_context(E,N);if(R!==E){return R}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E,N){for(var R=0;R<E.length;R++){var j=E[R];if(j instanceof At){const $=j.expression;if($ instanceof Dr&&$.properties.every((E=>E instanceof wr))){E.splice(R,1,...$.properties);R--}else if($ instanceof pn&&!($ instanceof mn)){E.splice(R,1)}else if(is_nullish($,N)){E.splice(R,1)}}}}def_optimize(Dr,(function(E,N){var R=literals_in_boolean_context(E,N);if(R!==E){return R}inline_object_prop_spread(E.properties,N);return E}));def_optimize(_n,literals_in_boolean_context);def_optimize(Ut,(function(E,N){if(E.value&&is_undefined(E.value,N)){E.value=null}return E}));def_optimize(It,opt_AST_Lambda);def_optimize(Ft,(function(E,N){E=opt_AST_Lambda(E,N);if(N.option("unsafe_arrows")&&N.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const R=walk(E,(E=>{if(E instanceof un)return Dn}));if(!R)return make_node(It,E,E).optimize(N)}return E}));def_optimize(Rr,(function(E){return E}));def_optimize(qt,(function(E,N){if(E.expression&&!E.is_star&&is_undefined(E.expression,N)){E.expression=null}return E}));def_optimize(Rt,(function(E,N){if(!N.option("evaluate")||N.parent()instanceof Mt){return E}var R=[];for(var j=0;j<E.segments.length;j++){var $=E.segments[j];if($ instanceof ot){var q=$.evaluate(N);if(q!==$&&(q+"").length<=$.size()+"${}".length){R[R.length-1].value=R[R.length-1].value+q+E.segments[++j].value;continue}if($ instanceof Rt){var G=$.segments;R[R.length-1].value+=G[0].value;for(var ie=1;ie<G.length;ie++){$=G[ie];R.push($)}continue}}R.push($)}E.segments=R;if(R.length==1){return make_node(mn,E,R[0])}if(R.length===3&&R[1]instanceof ot&&(R[1].is_string(N)||R[1].is_number(N)||is_nullish(R[1],N)||N.option("unsafe"))){if(R[2].value===""){return make_node(Sr,E,{operator:"+",left:make_node(mn,E,{value:R[0].value}),right:R[1]})}if(R[0].value===""){return make_node(Sr,E,{operator:"+",left:R[1],right:make_node(mn,E,{value:R[2].value})})}}return E}));def_optimize(Mt,(function(E){return E}));function lift_key(E,N){if(!N.option("computed_props"))return E;if(!(E.key instanceof pn))return E;if(E.key instanceof mn||E.key instanceof gn){if(E.key.value==="__proto__")return E;if(E.key.value=="constructor"&&N.parent()instanceof Rr)return E;if(E instanceof wr){E.key=E.key.value}else if(E instanceof Lr){E.key=make_node(Xr,E.key,{name:E.key.value})}else{E.key=make_node(Qr,E.key,{name:E.key.value})}}return E}def_optimize(Ar,lift_key);def_optimize(Or,(function(E,N){lift_key(E,N);if(N.option("arrows")&&N.parent()instanceof Dr&&!E.is_generator&&!E.value.uses_arguments&&!E.value.pinned()&&E.value.body.length==1&&E.value.body[0]instanceof Ut&&E.value.body[0].value&&!E.value.contains_this()){var R=make_node(It,E.value,E.value);R.async=E.async;R.is_generator=E.is_generator;return make_node(wr,E,{key:E.key instanceof Qr?E.key.name:E.key,value:R,quote:E.quote})}return E}));def_optimize(wr,(function(E,N){lift_key(E,N);var R=N.option("unsafe_methods");if(R&&N.option("ecma")>=2015&&(!(R instanceof RegExp)||R.test(E.key+""))){var j=E.key;var $=E.value;var q=$ instanceof It&&Array.isArray($.body)&&!$.contains_this();if((q||$ instanceof Ft)&&!$.name){return make_node(Or,E,{async:$.async,is_generator:$.is_generator,key:j instanceof ot?j:make_node(Qr,E,{name:j}),value:make_node(Pt,$,$),quote:E.quote})}}return E}));def_optimize(Ot,(function(E,N){if(N.option("pure_getters")==true&&N.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(N)&&!(E.names[E.names.length-1]instanceof At)){var R=[];for(var j=0;j<E.names.length;j++){var $=E.names[j];if(!($ instanceof wr&&typeof $.key=="string"&&$.value instanceof $r&&!should_retain(N,$.value.definition()))){R.push($)}}if(R.length!=E.names.length){E.names=R}}return E;function is_destructuring_export_decl(E){var N=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/];for(var R=0,j=0,$=N.length;R<$;j++){var q=E.parent(j);if(!q)return false;if(R===0&&q.TYPE=="Destructuring")continue;if(!N[R].test(q.TYPE)){return false}R++}return true}function should_retain(E,N){if(N.references.length)return true;if(!N.global)return false;if(E.toplevel.vars){if(E.top_retain){return E.top_retain(N)}return false}return true}}));async function SourceMap(E){E=defaults(E,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var N;var R=new j["default"].SourceMapGenerator({file:E.file,sourceRoot:E.root});if(E.orig){N=await new j["default"].SourceMapConsumer(E.orig);N.sources.forEach((function(E){var j=N.sourceContentFor(E,true);if(j){R.setSourceContent(E,j)}}))}function add(j,$,q,G,ie,ae){if(N){var ce=N.originalPositionFor({line:G,column:ie});if(ce.source===null){return}j=ce.source;G=ce.line;ie=ce.column;ae=ce.name||ae}R.addMapping({generated:{line:$+E.dest_line_diff,column:q},original:{line:G+E.orig_line_diff,column:ie},source:j,name:ae})}return{add:add,get:function(){return R},toString:function(){return R.toString()},destroy:function(){if(N&&N.destroy){N.destroy()}}}}var pi=["$&","$'","$*","$+","$1","$2","$3","$4","$5","$6","$7","$8","$9","$_","$`","$input","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-fill-mode","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-border-end","-moz-border-end-color","-moz-border-end-style","-moz-border-end-width","-moz-border-image","-moz-border-start","-moz-border-start-color","-moz-border-start-style","-moz-border-start-width","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-float-edge","-moz-font-feature-settings","-moz-font-language-override","-moz-force-broken-image-icon","-moz-hyphens","-moz-image-region","-moz-margin-end","-moz-margin-start","-moz-orient","-moz-osx-font-smoothing","-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-padding-end","-moz-padding-start","-moz-perspective","-moz-perspective-origin","-moz-tab-size","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transform-style","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-input","-moz-user-modify","-moz-user-select","-moz-window-dragging","-webkit-align-content","-webkit-align-items","-webkit-align-self","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-origin","-webkit-background-size","-webkit-border-bottom-left-radius","-webkit-border-bottom-right-radius","-webkit-border-image","-webkit-border-radius","-webkit-border-top-left-radius","-webkit-border-top-right-radius","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-shadow","-webkit-box-sizing","-webkit-filter","-webkit-flex","-webkit-flex-basis","-webkit-flex-direction","-webkit-flex-flow","-webkit-flex-grow","-webkit-flex-shrink","-webkit-flex-wrap","-webkit-justify-content","-webkit-line-clamp","-webkit-mask","-webkit-mask-clip","-webkit-mask-composite","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-position","-webkit-mask-position-x","-webkit-mask-position-y","-webkit-mask-repeat","-webkit-mask-size","-webkit-order","-webkit-perspective","-webkit-perspective-origin","-webkit-text-fill-color","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-transform","-webkit-transform-origin","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-select","0","1","10","11","12","13","14","15","16","17","18","19","2","20","3","4","5","6","7","8","9","@@iterator","ABORT_ERR","ACTIVE","ACTIVE_ATTRIBUTES","ACTIVE_TEXTURE","ACTIVE_UNIFORMS","ACTIVE_UNIFORM_BLOCKS","ADDITION","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALLOW_KEYBOARD_INPUT","ALLPASS","ALPHA","ALPHA_BITS","ALREADY_SIGNALED","ALT_MASK","ALWAYS","ANY_SAMPLES_PASSED","ANY_SAMPLES_PASSED_CONSERVATIVE","ANY_TYPE","ANY_UNORDERED_NODE_TYPE","ARRAY_BUFFER","ARRAY_BUFFER_BINDING","ATTACHED_SHADERS","ATTRIBUTE_NODE","AT_TARGET","AbortController","AbortSignal","AbsoluteOrientationSensor","AbstractRange","Accelerometer","AddSearchProvider","AggregateError","AnalyserNode","Animation","AnimationEffect","AnimationEvent","AnimationPlaybackEvent","AnimationTimeline","AnonXMLHttpRequest","Any","ApplicationCache","ApplicationCacheErrorEvent","Array","ArrayBuffer","ArrayType","Atomics","Attr","Audio","AudioBuffer","AudioBufferSourceNode","AudioContext","AudioDestinationNode","AudioListener","AudioNode","AudioParam","AudioParamMap","AudioProcessingEvent","AudioScheduledSourceNode","AudioStreamTrack","AudioWorklet","AudioWorkletNode","AuthenticatorAssertionResponse","AuthenticatorAttestationResponse","AuthenticatorResponse","AutocompleteErrorEvent","BACK","BAD_BOUNDARYPOINTS_ERR","BAD_REQUEST","BANDPASS","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE_BITS","BLUR","BOOL","BOOLEAN_TYPE","BOOL_VEC2","BOOL_VEC3","BOOL_VEC4","BOTH","BROWSER_DEFAULT_WEBGL","BUBBLING_PHASE","BUFFER_SIZE","BUFFER_USAGE","BYTE","BYTES_PER_ELEMENT","BackgroundFetchManager","BackgroundFetchRecord","BackgroundFetchRegistration","BarProp","BarcodeDetector","BaseAudioContext","BaseHref","BatteryManager","BeforeInstallPromptEvent","BeforeLoadEvent","BeforeUnloadEvent","BigInt","BigInt64Array","BigUint64Array","BiquadFilterNode","Blob","BlobEvent","Bluetooth","BluetoothCharacteristicProperties","BluetoothDevice","BluetoothRemoteGATTCharacteristic","BluetoothRemoteGATTDescriptor","BluetoothRemoteGATTServer","BluetoothRemoteGATTService","BluetoothUUID","Boolean","BroadcastChannel","ByteLengthQueuingStrategy","CAPTURING_PHASE","CCW","CDATASection","CDATA_SECTION_NODE","CHANGE","CHARSET_RULE","CHECKING","CLAMP_TO_EDGE","CLICK","CLOSED","CLOSING","COLOR","COLOR_ATTACHMENT0","COLOR_ATTACHMENT1","COLOR_ATTACHMENT10","COLOR_ATTACHMENT11","COLOR_ATTACHMENT12","COLOR_ATTACHMENT13","COLOR_ATTACHMENT14","COLOR_ATTACHMENT15","COLOR_ATTACHMENT2","COLOR_ATTACHMENT3","COLOR_ATTACHMENT4","COLOR_ATTACHMENT5","COLOR_ATTACHMENT6","COLOR_ATTACHMENT7","COLOR_ATTACHMENT8","COLOR_ATTACHMENT9","COLOR_BUFFER_BIT","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMMENT_NODE","COMPARE_REF_TO_TEXTURE","COMPILE_STATUS","COMPRESSED_RGBA_S3TC_DXT1_EXT","COMPRESSED_RGBA_S3TC_DXT3_EXT","COMPRESSED_RGBA_S3TC_DXT5_EXT","COMPRESSED_RGB_S3TC_DXT1_EXT","COMPRESSED_TEXTURE_FORMATS","CONDITION_SATISFIED","CONFIGURATION_UNSUPPORTED","CONNECTING","CONSTANT_ALPHA","CONSTANT_COLOR","CONSTRAINT_ERR","CONTEXT_LOST_WEBGL","CONTROL_MASK","COPY_READ_BUFFER","COPY_READ_BUFFER_BINDING","COPY_WRITE_BUFFER","COPY_WRITE_BUFFER_BINDING","COUNTER_STYLE_RULE","CSS","CSS2Properties","CSSAnimation","CSSCharsetRule","CSSConditionRule","CSSCounterStyleRule","CSSFontFaceRule","CSSFontFeatureValuesRule","CSSGroupingRule","CSSImageValue","CSSImportRule","CSSKeyframeRule","CSSKeyframesRule","CSSKeywordValue","CSSMathInvert","CSSMathMax","CSSMathMin","CSSMathNegate","CSSMathProduct","CSSMathSum","CSSMathValue","CSSMatrixComponent","CSSMediaRule","CSSMozDocumentRule","CSSNameSpaceRule","CSSNamespaceRule","CSSNumericArray","CSSNumericValue","CSSPageRule","CSSPerspective","CSSPositionValue","CSSPrimitiveValue","CSSRotate","CSSRule","CSSRuleList","CSSScale","CSSSkew","CSSSkewX","CSSSkewY","CSSStyleDeclaration","CSSStyleRule","CSSStyleSheet","CSSStyleValue","CSSSupportsRule","CSSTransformComponent","CSSTransformValue","CSSTransition","CSSTranslate","CSSUnitValue","CSSUnknownRule","CSSUnparsedValue","CSSValue","CSSValueList","CSSVariableReferenceValue","CSSVariablesDeclaration","CSSVariablesRule","CSSViewportRule","CSS_ATTR","CSS_CM","CSS_COUNTER","CSS_CUSTOM","CSS_DEG","CSS_DIMENSION","CSS_EMS","CSS_EXS","CSS_FILTER_BLUR","CSS_FILTER_BRIGHTNESS","CSS_FILTER_CONTRAST","CSS_FILTER_CUSTOM","CSS_FILTER_DROP_SHADOW","CSS_FILTER_GRAYSCALE","CSS_FILTER_HUE_ROTATE","CSS_FILTER_INVERT","CSS_FILTER_OPACITY","CSS_FILTER_REFERENCE","CSS_FILTER_SATURATE","CSS_FILTER_SEPIA","CSS_GRAD","CSS_HZ","CSS_IDENT","CSS_IN","CSS_INHERIT","CSS_KHZ","CSS_MATRIX","CSS_MATRIX3D","CSS_MM","CSS_MS","CSS_NUMBER","CSS_PC","CSS_PERCENTAGE","CSS_PERSPECTIVE","CSS_PRIMITIVE_VALUE","CSS_PT","CSS_PX","CSS_RAD","CSS_RECT","CSS_RGBCOLOR","CSS_ROTATE","CSS_ROTATE3D","CSS_ROTATEX","CSS_ROTATEY","CSS_ROTATEZ","CSS_S","CSS_SCALE","CSS_SCALE3D","CSS_SCALEX","CSS_SCALEY","CSS_SCALEZ","CSS_SKEW","CSS_SKEWX","CSS_SKEWY","CSS_STRING","CSS_TRANSLATE","CSS_TRANSLATE3D","CSS_TRANSLATEX","CSS_TRANSLATEY","CSS_TRANSLATEZ","CSS_UNKNOWN","CSS_URI","CSS_VALUE_LIST","CSS_VH","CSS_VMAX","CSS_VMIN","CSS_VW","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","CURRENT_QUERY","CURRENT_VERTEX_ATTRIB","CUSTOM","CW","Cache","CacheStorage","CanvasCaptureMediaStream","CanvasCaptureMediaStreamTrack","CanvasGradient","CanvasPattern","CanvasRenderingContext2D","CaretPosition","ChannelMergerNode","ChannelSplitterNode","CharacterData","ClientRect","ClientRectList","Clipboard","ClipboardEvent","ClipboardItem","CloseEvent","Collator","CommandEvent","Comment","CompileError","CompositionEvent","CompressionStream","Console","ConstantSourceNode","Controllers","ConvolverNode","CountQueuingStrategy","Counter","Credential","CredentialsContainer","Crypto","CryptoKey","CustomElementRegistry","CustomEvent","DATABASE_ERR","DATA_CLONE_ERR","DATA_ERR","DBLCLICK","DECR","DECR_WRAP","DELETE_STATUS","DEPTH","DEPTH24_STENCIL8","DEPTH32F_STENCIL8","DEPTH_ATTACHMENT","DEPTH_BITS","DEPTH_BUFFER_BIT","DEPTH_CLEAR_VALUE","DEPTH_COMPONENT","DEPTH_COMPONENT16","DEPTH_COMPONENT24","DEPTH_COMPONENT32F","DEPTH_FUNC","DEPTH_RANGE","DEPTH_STENCIL","DEPTH_STENCIL_ATTACHMENT","DEPTH_TEST","DEPTH_WRITEMASK","DEVICE_INELIGIBLE","DIRECTION_DOWN","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DISABLED","DISPATCH_REQUEST_ERR","DITHER","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_CONTAINS","DOCUMENT_POSITION_DISCONNECTED","DOCUMENT_POSITION_FOLLOWING","DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC","DOCUMENT_POSITION_PRECEDING","DOCUMENT_TYPE_NODE","DOMCursor","DOMError","DOMException","DOMImplementation","DOMImplementationLS","DOMMatrix","DOMMatrixReadOnly","DOMParser","DOMPoint","DOMPointReadOnly","DOMQuad","DOMRect","DOMRectList","DOMRectReadOnly","DOMRequest","DOMSTRING_SIZE_ERR","DOMSettableTokenList","DOMStringList","DOMStringMap","DOMTokenList","DOMTransactionEvent","DOM_DELTA_LINE","DOM_DELTA_PAGE","DOM_DELTA_PIXEL","DOM_INPUT_METHOD_DROP","DOM_INPUT_METHOD_HANDWRITING","DOM_INPUT_METHOD_IME","DOM_INPUT_METHOD_KEYBOARD","DOM_INPUT_METHOD_MULTIMODAL","DOM_INPUT_METHOD_OPTION","DOM_INPUT_METHOD_PASTE","DOM_INPUT_METHOD_SCRIPT","DOM_INPUT_METHOD_UNKNOWN","DOM_INPUT_METHOD_VOICE","DOM_KEY_LOCATION_JOYSTICK","DOM_KEY_LOCATION_LEFT","DOM_KEY_LOCATION_MOBILE","DOM_KEY_LOCATION_NUMPAD","DOM_KEY_LOCATION_RIGHT","DOM_KEY_LOCATION_STANDARD","DOM_VK_0","DOM_VK_1","DOM_VK_2","DOM_VK_3","DOM_VK_4","DOM_VK_5","DOM_VK_6","DOM_VK_7","DOM_VK_8","DOM_VK_9","DOM_VK_A","DOM_VK_ACCEPT","DOM_VK_ADD","DOM_VK_ALT","DOM_VK_ALTGR","DOM_VK_AMPERSAND","DOM_VK_ASTERISK","DOM_VK_AT","DOM_VK_ATTN","DOM_VK_B","DOM_VK_BACKSPACE","DOM_VK_BACK_QUOTE","DOM_VK_BACK_SLASH","DOM_VK_BACK_SPACE","DOM_VK_C","DOM_VK_CANCEL","DOM_VK_CAPS_LOCK","DOM_VK_CIRCUMFLEX","DOM_VK_CLEAR","DOM_VK_CLOSE_BRACKET","DOM_VK_CLOSE_CURLY_BRACKET","DOM_VK_CLOSE_PAREN","DOM_VK_COLON","DOM_VK_COMMA","DOM_VK_CONTEXT_MENU","DOM_VK_CONTROL","DOM_VK_CONVERT","DOM_VK_CRSEL","DOM_VK_CTRL","DOM_VK_D","DOM_VK_DECIMAL","DOM_VK_DELETE","DOM_VK_DIVIDE","DOM_VK_DOLLAR","DOM_VK_DOUBLE_QUOTE","DOM_VK_DOWN","DOM_VK_E","DOM_VK_EISU","DOM_VK_END","DOM_VK_ENTER","DOM_VK_EQUALS","DOM_VK_EREOF","DOM_VK_ESCAPE","DOM_VK_EXCLAMATION","DOM_VK_EXECUTE","DOM_VK_EXSEL","DOM_VK_F","DOM_VK_F1","DOM_VK_F10","DOM_VK_F11","DOM_VK_F12","DOM_VK_F13","DOM_VK_F14","DOM_VK_F15","DOM_VK_F16","DOM_VK_F17","DOM_VK_F18","DOM_VK_F19","DOM_VK_F2","DOM_VK_F20","DOM_VK_F21","DOM_VK_F22","DOM_VK_F23","DOM_VK_F24","DOM_VK_F25","DOM_VK_F26","DOM_VK_F27","DOM_VK_F28","DOM_VK_F29","DOM_VK_F3","DOM_VK_F30","DOM_VK_F31","DOM_VK_F32","DOM_VK_F33","DOM_VK_F34","DOM_VK_F35","DOM_VK_F36","DOM_VK_F4","DOM_VK_F5","DOM_VK_F6","DOM_VK_F7","DOM_VK_F8","DOM_VK_F9","DOM_VK_FINAL","DOM_VK_FRONT","DOM_VK_G","DOM_VK_GREATER_THAN","DOM_VK_H","DOM_VK_HANGUL","DOM_VK_HANJA","DOM_VK_HASH","DOM_VK_HELP","DOM_VK_HK_TOGGLE","DOM_VK_HOME","DOM_VK_HYPHEN_MINUS","DOM_VK_I","DOM_VK_INSERT","DOM_VK_J","DOM_VK_JUNJA","DOM_VK_K","DOM_VK_KANA","DOM_VK_KANJI","DOM_VK_L","DOM_VK_LEFT","DOM_VK_LEFT_TAB","DOM_VK_LESS_THAN","DOM_VK_M","DOM_VK_META","DOM_VK_MODECHANGE","DOM_VK_MULTIPLY","DOM_VK_N","DOM_VK_NONCONVERT","DOM_VK_NUMPAD0","DOM_VK_NUMPAD1","DOM_VK_NUMPAD2","DOM_VK_NUMPAD3","DOM_VK_NUMPAD4","DOM_VK_NUMPAD5","DOM_VK_NUMPAD6","DOM_VK_NUMPAD7","DOM_VK_NUMPAD8","DOM_VK_NUMPAD9","DOM_VK_NUM_LOCK","DOM_VK_O","DOM_VK_OEM_1","DOM_VK_OEM_102","DOM_VK_OEM_2","DOM_VK_OEM_3","DOM_VK_OEM_4","DOM_VK_OEM_5","DOM_VK_OEM_6","DOM_VK_OEM_7","DOM_VK_OEM_8","DOM_VK_OEM_COMMA","DOM_VK_OEM_MINUS","DOM_VK_OEM_PERIOD","DOM_VK_OEM_PLUS","DOM_VK_OPEN_BRACKET","DOM_VK_OPEN_CURLY_BRACKET","DOM_VK_OPEN_PAREN","DOM_VK_P","DOM_VK_PA1","DOM_VK_PAGEDOWN","DOM_VK_PAGEUP","DOM_VK_PAGE_DOWN","DOM_VK_PAGE_UP","DOM_VK_PAUSE","DOM_VK_PERCENT","DOM_VK_PERIOD","DOM_VK_PIPE","DOM_VK_PLAY","DOM_VK_PLUS","DOM_VK_PRINT","DOM_VK_PRINTSCREEN","DOM_VK_PROCESSKEY","DOM_VK_PROPERITES","DOM_VK_Q","DOM_VK_QUESTION_MARK","DOM_VK_QUOTE","DOM_VK_R","DOM_VK_REDO","DOM_VK_RETURN","DOM_VK_RIGHT","DOM_VK_S","DOM_VK_SCROLL_LOCK","DOM_VK_SELECT","DOM_VK_SEMICOLON","DOM_VK_SEPARATOR","DOM_VK_SHIFT","DOM_VK_SLASH","DOM_VK_SLEEP","DOM_VK_SPACE","DOM_VK_SUBTRACT","DOM_VK_T","DOM_VK_TAB","DOM_VK_TILDE","DOM_VK_U","DOM_VK_UNDERSCORE","DOM_VK_UNDO","DOM_VK_UNICODE","DOM_VK_UP","DOM_VK_V","DOM_VK_VOLUME_DOWN","DOM_VK_VOLUME_MUTE","DOM_VK_VOLUME_UP","DOM_VK_W","DOM_VK_WIN","DOM_VK_WINDOW","DOM_VK_WIN_ICO_00","DOM_VK_WIN_ICO_CLEAR","DOM_VK_WIN_ICO_HELP","DOM_VK_WIN_OEM_ATTN","DOM_VK_WIN_OEM_AUTO","DOM_VK_WIN_OEM_BACKTAB","DOM_VK_WIN_OEM_CLEAR","DOM_VK_WIN_OEM_COPY","DOM_VK_WIN_OEM_CUSEL","DOM_VK_WIN_OEM_ENLW","DOM_VK_WIN_OEM_FINISH","DOM_VK_WIN_OEM_FJ_JISHO","DOM_VK_WIN_OEM_FJ_LOYA","DOM_VK_WIN_OEM_FJ_MASSHOU","DOM_VK_WIN_OEM_FJ_ROYA","DOM_VK_WIN_OEM_FJ_TOUROKU","DOM_VK_WIN_OEM_JUMP","DOM_VK_WIN_OEM_PA1","DOM_VK_WIN_OEM_PA2","DOM_VK_WIN_OEM_PA3","DOM_VK_WIN_OEM_RESET","DOM_VK_WIN_OEM_WSCTRL","DOM_VK_X","DOM_VK_XF86XK_ADD_FAVORITE","DOM_VK_XF86XK_APPLICATION_LEFT","DOM_VK_XF86XK_APPLICATION_RIGHT","DOM_VK_XF86XK_AUDIO_CYCLE_TRACK","DOM_VK_XF86XK_AUDIO_FORWARD","DOM_VK_XF86XK_AUDIO_LOWER_VOLUME","DOM_VK_XF86XK_AUDIO_MEDIA","DOM_VK_XF86XK_AUDIO_MUTE","DOM_VK_XF86XK_AUDIO_NEXT","DOM_VK_XF86XK_AUDIO_PAUSE","DOM_VK_XF86XK_AUDIO_PLAY","DOM_VK_XF86XK_AUDIO_PREV","DOM_VK_XF86XK_AUDIO_RAISE_VOLUME","DOM_VK_XF86XK_AUDIO_RANDOM_PLAY","DOM_VK_XF86XK_AUDIO_RECORD","DOM_VK_XF86XK_AUDIO_REPEAT","DOM_VK_XF86XK_AUDIO_REWIND","DOM_VK_XF86XK_AUDIO_STOP","DOM_VK_XF86XK_AWAY","DOM_VK_XF86XK_BACK","DOM_VK_XF86XK_BACK_FORWARD","DOM_VK_XF86XK_BATTERY","DOM_VK_XF86XK_BLUE","DOM_VK_XF86XK_BLUETOOTH","DOM_VK_XF86XK_BOOK","DOM_VK_XF86XK_BRIGHTNESS_ADJUST","DOM_VK_XF86XK_CALCULATOR","DOM_VK_XF86XK_CALENDAR","DOM_VK_XF86XK_CD","DOM_VK_XF86XK_CLOSE","DOM_VK_XF86XK_COMMUNITY","DOM_VK_XF86XK_CONTRAST_ADJUST","DOM_VK_XF86XK_COPY","DOM_VK_XF86XK_CUT","DOM_VK_XF86XK_CYCLE_ANGLE","DOM_VK_XF86XK_DISPLAY","DOM_VK_XF86XK_DOCUMENTS","DOM_VK_XF86XK_DOS","DOM_VK_XF86XK_EJECT","DOM_VK_XF86XK_EXCEL","DOM_VK_XF86XK_EXPLORER","DOM_VK_XF86XK_FAVORITES","DOM_VK_XF86XK_FINANCE","DOM_VK_XF86XK_FORWARD","DOM_VK_XF86XK_FRAME_BACK","DOM_VK_XF86XK_FRAME_FORWARD","DOM_VK_XF86XK_GAME","DOM_VK_XF86XK_GO","DOM_VK_XF86XK_GREEN","DOM_VK_XF86XK_HIBERNATE","DOM_VK_XF86XK_HISTORY","DOM_VK_XF86XK_HOME_PAGE","DOM_VK_XF86XK_HOT_LINKS","DOM_VK_XF86XK_I_TOUCH","DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN","DOM_VK_XF86XK_KBD_BRIGHTNESS_UP","DOM_VK_XF86XK_KBD_LIGHT_ON_OFF","DOM_VK_XF86XK_LAUNCH0","DOM_VK_XF86XK_LAUNCH1","DOM_VK_XF86XK_LAUNCH2","DOM_VK_XF86XK_LAUNCH3","DOM_VK_XF86XK_LAUNCH4","DOM_VK_XF86XK_LAUNCH5","DOM_VK_XF86XK_LAUNCH6","DOM_VK_XF86XK_LAUNCH7","DOM_VK_XF86XK_LAUNCH8","DOM_VK_XF86XK_LAUNCH9","DOM_VK_XF86XK_LAUNCH_A","DOM_VK_XF86XK_LAUNCH_B","DOM_VK_XF86XK_LAUNCH_C","DOM_VK_XF86XK_LAUNCH_D","DOM_VK_XF86XK_LAUNCH_E","DOM_VK_XF86XK_LAUNCH_F","DOM_VK_XF86XK_LIGHT_BULB","DOM_VK_XF86XK_LOG_OFF","DOM_VK_XF86XK_MAIL","DOM_VK_XF86XK_MAIL_FORWARD","DOM_VK_XF86XK_MARKET","DOM_VK_XF86XK_MEETING","DOM_VK_XF86XK_MEMO","DOM_VK_XF86XK_MENU_KB","DOM_VK_XF86XK_MENU_PB","DOM_VK_XF86XK_MESSENGER","DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN","DOM_VK_XF86XK_MON_BRIGHTNESS_UP","DOM_VK_XF86XK_MUSIC","DOM_VK_XF86XK_MY_COMPUTER","DOM_VK_XF86XK_MY_SITES","DOM_VK_XF86XK_NEW","DOM_VK_XF86XK_NEWS","DOM_VK_XF86XK_OFFICE_HOME","DOM_VK_XF86XK_OPEN","DOM_VK_XF86XK_OPEN_URL","DOM_VK_XF86XK_OPTION","DOM_VK_XF86XK_PASTE","DOM_VK_XF86XK_PHONE","DOM_VK_XF86XK_PICTURES","DOM_VK_XF86XK_POWER_DOWN","DOM_VK_XF86XK_POWER_OFF","DOM_VK_XF86XK_RED","DOM_VK_XF86XK_REFRESH","DOM_VK_XF86XK_RELOAD","DOM_VK_XF86XK_REPLY","DOM_VK_XF86XK_ROCKER_DOWN","DOM_VK_XF86XK_ROCKER_ENTER","DOM_VK_XF86XK_ROCKER_UP","DOM_VK_XF86XK_ROTATE_WINDOWS","DOM_VK_XF86XK_ROTATION_KB","DOM_VK_XF86XK_ROTATION_PB","DOM_VK_XF86XK_SAVE","DOM_VK_XF86XK_SCREEN_SAVER","DOM_VK_XF86XK_SCROLL_CLICK","DOM_VK_XF86XK_SCROLL_DOWN","DOM_VK_XF86XK_SCROLL_UP","DOM_VK_XF86XK_SEARCH","DOM_VK_XF86XK_SEND","DOM_VK_XF86XK_SHOP","DOM_VK_XF86XK_SPELL","DOM_VK_XF86XK_SPLIT_SCREEN","DOM_VK_XF86XK_STANDBY","DOM_VK_XF86XK_START","DOM_VK_XF86XK_STOP","DOM_VK_XF86XK_SUBTITLE","DOM_VK_XF86XK_SUPPORT","DOM_VK_XF86XK_SUSPEND","DOM_VK_XF86XK_TASK_PANE","DOM_VK_XF86XK_TERMINAL","DOM_VK_XF86XK_TIME","DOM_VK_XF86XK_TOOLS","DOM_VK_XF86XK_TOP_MENU","DOM_VK_XF86XK_TO_DO_LIST","DOM_VK_XF86XK_TRAVEL","DOM_VK_XF86XK_USER1KB","DOM_VK_XF86XK_USER2KB","DOM_VK_XF86XK_USER_PB","DOM_VK_XF86XK_UWB","DOM_VK_XF86XK_VENDOR_HOME","DOM_VK_XF86XK_VIDEO","DOM_VK_XF86XK_VIEW","DOM_VK_XF86XK_WAKE_UP","DOM_VK_XF86XK_WEB_CAM","DOM_VK_XF86XK_WHEEL_BUTTON","DOM_VK_XF86XK_WLAN","DOM_VK_XF86XK_WORD","DOM_VK_XF86XK_WWW","DOM_VK_XF86XK_XFER","DOM_VK_XF86XK_YELLOW","DOM_VK_XF86XK_ZOOM_IN","DOM_VK_XF86XK_ZOOM_OUT","DOM_VK_Y","DOM_VK_Z","DOM_VK_ZOOM","DONE","DONT_CARE","DOWNLOADING","DRAGDROP","DRAW_BUFFER0","DRAW_BUFFER1","DRAW_BUFFER10","DRAW_BUFFER11","DRAW_BUFFER12","DRAW_BUFFER13","DRAW_BUFFER14","DRAW_BUFFER15","DRAW_BUFFER2","DRAW_BUFFER3","DRAW_BUFFER4","DRAW_BUFFER5","DRAW_BUFFER6","DRAW_BUFFER7","DRAW_BUFFER8","DRAW_BUFFER9","DRAW_FRAMEBUFFER","DRAW_FRAMEBUFFER_BINDING","DST_ALPHA","DST_COLOR","DYNAMIC_COPY","DYNAMIC_DRAW","DYNAMIC_READ","DataChannel","DataTransfer","DataTransferItem","DataTransferItemList","DataView","Date","DateTimeFormat","DecompressionStream","DelayNode","DeprecationReportBody","DesktopNotification","DesktopNotificationCenter","DeviceLightEvent","DeviceMotionEvent","DeviceMotionEventAcceleration","DeviceMotionEventRotationRate","DeviceOrientationEvent","DeviceProximityEvent","DeviceStorage","DeviceStorageChangeEvent","Directory","DisplayNames","Document","DocumentFragment","DocumentTimeline","DocumentType","DragEvent","DynamicsCompressorNode","E","ELEMENT_ARRAY_BUFFER","ELEMENT_ARRAY_BUFFER_BINDING","ELEMENT_NODE","EMPTY","ENCODING_ERR","ENDED","END_TO_END","END_TO_START","ENTITY_NODE","ENTITY_REFERENCE_NODE","EPSILON","EQUAL","EQUALPOWER","ERROR","EXPONENTIAL_DISTANCE","Element","ElementInternals","ElementQuery","EnterPictureInPictureEvent","Entity","EntityReference","Error","ErrorEvent","EvalError","Event","EventException","EventSource","EventTarget","External","FASTEST","FIDOSDK","FILTER_ACCEPT","FILTER_INTERRUPT","FILTER_REJECT","FILTER_SKIP","FINISHED_STATE","FIRST_ORDERED_NODE_TYPE","FLOAT","FLOAT_32_UNSIGNED_INT_24_8_REV","FLOAT_MAT2","FLOAT_MAT2x3","FLOAT_MAT2x4","FLOAT_MAT3","FLOAT_MAT3x2","FLOAT_MAT3x4","FLOAT_MAT4","FLOAT_MAT4x2","FLOAT_MAT4x3","FLOAT_VEC2","FLOAT_VEC3","FLOAT_VEC4","FOCUS","FONT_FACE_RULE","FONT_FEATURE_VALUES_RULE","FRAGMENT_SHADER","FRAGMENT_SHADER_DERIVATIVE_HINT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","FRAMEBUFFER","FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE","FRAMEBUFFER_ATTACHMENT_BLUE_SIZE","FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING","FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE","FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE","FRAMEBUFFER_ATTACHMENT_GREEN_SIZE","FRAMEBUFFER_ATTACHMENT_OBJECT_NAME","FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE","FRAMEBUFFER_ATTACHMENT_RED_SIZE","FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE","FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE","FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER","FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL","FRAMEBUFFER_BINDING","FRAMEBUFFER_COMPLETE","FRAMEBUFFER_DEFAULT","FRAMEBUFFER_INCOMPLETE_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_DIMENSIONS","FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_MULTISAMPLE","FRAMEBUFFER_UNSUPPORTED","FRONT","FRONT_AND_BACK","FRONT_FACE","FUNC_ADD","FUNC_REVERSE_SUBTRACT","FUNC_SUBTRACT","FeaturePolicy","FeaturePolicyViolationReportBody","FederatedCredential","Feed","FeedEntry","File","FileError","FileList","FileReader","FileSystem","FileSystemDirectoryEntry","FileSystemDirectoryReader","FileSystemEntry","FileSystemFileEntry","FinalizationRegistry","FindInPage","Float32Array","Float64Array","FocusEvent","FontFace","FontFaceSet","FontFaceSetLoadEvent","FormData","FormDataEvent","FragmentDirective","Function","GENERATE_MIPMAP_HINT","GEQUAL","GREATER","GREEN_BITS","GainNode","Gamepad","GamepadAxisMoveEvent","GamepadButton","GamepadButtonEvent","GamepadEvent","GamepadHapticActuator","GamepadPose","Geolocation","GeolocationCoordinates","GeolocationPosition","GeolocationPositionError","GestureEvent","Global","Gyroscope","HALF_FLOAT","HAVE_CURRENT_DATA","HAVE_ENOUGH_DATA","HAVE_FUTURE_DATA","HAVE_METADATA","HAVE_NOTHING","HEADERS_RECEIVED","HIDDEN","HIERARCHY_REQUEST_ERR","HIGHPASS","HIGHSHELF","HIGH_FLOAT","HIGH_INT","HORIZONTAL","HORIZONTAL_AXIS","HRTF","HTMLAllCollection","HTMLAnchorElement","HTMLAppletElement","HTMLAreaElement","HTMLAudioElement","HTMLBRElement","HTMLBaseElement","HTMLBaseFontElement","HTMLBlockquoteElement","HTMLBodyElement","HTMLButtonElement","HTMLCanvasElement","HTMLCollection","HTMLCommandElement","HTMLContentElement","HTMLDListElement","HTMLDataElement","HTMLDataListElement","HTMLDetailsElement","HTMLDialogElement","HTMLDirectoryElement","HTMLDivElement","HTMLDocument","HTMLElement","HTMLEmbedElement","HTMLFieldSetElement","HTMLFontElement","HTMLFormControlsCollection","HTMLFormElement","HTMLFrameElement","HTMLFrameSetElement","HTMLHRElement","HTMLHeadElement","HTMLHeadingElement","HTMLHtmlElement","HTMLIFrameElement","HTMLImageElement","HTMLInputElement","HTMLIsIndexElement","HTMLKeygenElement","HTMLLIElement","HTMLLabelElement","HTMLLegendElement","HTMLLinkElement","HTMLMapElement","HTMLMarqueeElement","HTMLMediaElement","HTMLMenuElement","HTMLMenuItemElement","HTMLMetaElement","HTMLMeterElement","HTMLModElement","HTMLOListElement","HTMLObjectElement","HTMLOptGroupElement","HTMLOptionElement","HTMLOptionsCollection","HTMLOutputElement","HTMLParagraphElement","HTMLParamElement","HTMLPictureElement","HTMLPreElement","HTMLProgressElement","HTMLPropertiesCollection","HTMLQuoteElement","HTMLScriptElement","HTMLSelectElement","HTMLShadowElement","HTMLSlotElement","HTMLSourceElement","HTMLSpanElement","HTMLStyleElement","HTMLTableCaptionElement","HTMLTableCellElement","HTMLTableColElement","HTMLTableElement","HTMLTableRowElement","HTMLTableSectionElement","HTMLTemplateElement","HTMLTextAreaElement","HTMLTimeElement","HTMLTitleElement","HTMLTrackElement","HTMLUListElement","HTMLUnknownElement","HTMLVideoElement","HashChangeEvent","Headers","History","Hz","ICE_CHECKING","ICE_CLOSED","ICE_COMPLETED","ICE_CONNECTED","ICE_FAILED","ICE_GATHERING","ICE_WAITING","IDBCursor","IDBCursorWithValue","IDBDatabase","IDBDatabaseException","IDBFactory","IDBFileHandle","IDBFileRequest","IDBIndex","IDBKeyRange","IDBMutableFile","IDBObjectStore","IDBOpenDBRequest","IDBRequest","IDBTransaction","IDBVersionChangeEvent","IDLE","IIRFilterNode","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","IMPORT_RULE","INCR","INCR_WRAP","INDEX_SIZE_ERR","INT","INTERLEAVED_ATTRIBS","INT_2_10_10_10_REV","INT_SAMPLER_2D","INT_SAMPLER_2D_ARRAY","INT_SAMPLER_3D","INT_SAMPLER_CUBE","INT_VEC2","INT_VEC3","INT_VEC4","INUSE_ATTRIBUTE_ERR","INVALID_ACCESS_ERR","INVALID_CHARACTER_ERR","INVALID_ENUM","INVALID_EXPRESSION_ERR","INVALID_FRAMEBUFFER_OPERATION","INVALID_INDEX","INVALID_MODIFICATION_ERR","INVALID_NODE_TYPE_ERR","INVALID_OPERATION","INVALID_STATE_ERR","INVALID_VALUE","INVERSE_DISTANCE","INVERT","IceCandidate","IdleDeadline","Image","ImageBitmap","ImageBitmapRenderingContext","ImageCapture","ImageData","Infinity","InputDeviceCapabilities","InputDeviceInfo","InputEvent","InputMethodContext","InstallTrigger","InstallTriggerImpl","Instance","Int16Array","Int32Array","Int8Array","Intent","InternalError","IntersectionObserver","IntersectionObserverEntry","Intl","IsSearchProviderInstalled","Iterator","JSON","KEEP","KEYDOWN","KEYFRAMES_RULE","KEYFRAME_RULE","KEYPRESS","KEYUP","KeyEvent","Keyboard","KeyboardEvent","KeyboardLayoutMap","KeyframeEffect","LENGTHADJUST_SPACING","LENGTHADJUST_SPACINGANDGLYPHS","LENGTHADJUST_UNKNOWN","LEQUAL","LESS","LINEAR","LINEAR_DISTANCE","LINEAR_MIPMAP_LINEAR","LINEAR_MIPMAP_NEAREST","LINES","LINE_LOOP","LINE_STRIP","LINE_WIDTH","LINK_STATUS","LIVE","LN10","LN2","LOADED","LOADING","LOG10E","LOG2E","LOWPASS","LOWSHELF","LOW_FLOAT","LOW_INT","LSException","LSParserFilter","LUMINANCE","LUMINANCE_ALPHA","LargestContentfulPaint","LayoutShift","LayoutShiftAttribution","LinearAccelerationSensor","LinkError","ListFormat","LocalMediaStream","Locale","Location","Lock","LockManager","MAX","MAX_3D_TEXTURE_SIZE","MAX_ARRAY_TEXTURE_LAYERS","MAX_CLIENT_WAIT_TIMEOUT_WEBGL","MAX_COLOR_ATTACHMENTS","MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_COMBINED_UNIFORM_BLOCKS","MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_DRAW_BUFFERS","MAX_ELEMENTS_INDICES","MAX_ELEMENTS_VERTICES","MAX_ELEMENT_INDEX","MAX_FRAGMENT_INPUT_COMPONENTS","MAX_FRAGMENT_UNIFORM_BLOCKS","MAX_FRAGMENT_UNIFORM_COMPONENTS","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_PROGRAM_TEXEL_OFFSET","MAX_RENDERBUFFER_SIZE","MAX_SAFE_INTEGER","MAX_SAMPLES","MAX_SERVER_WAIT_TIMEOUT","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_LOD_BIAS","MAX_TEXTURE_MAX_ANISOTROPY_EXT","MAX_TEXTURE_SIZE","MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS","MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS","MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS","MAX_UNIFORM_BLOCK_SIZE","MAX_UNIFORM_BUFFER_BINDINGS","MAX_VALUE","MAX_VARYING_COMPONENTS","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_OUTPUT_COMPONENTS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_BLOCKS","MAX_VERTEX_UNIFORM_COMPONENTS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","MEDIA_ERR_ABORTED","MEDIA_ERR_DECODE","MEDIA_ERR_ENCRYPTED","MEDIA_ERR_NETWORK","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_KEYERR_CLIENT","MEDIA_KEYERR_DOMAIN","MEDIA_KEYERR_HARDWARECHANGE","MEDIA_KEYERR_OUTPUT","MEDIA_KEYERR_SERVICE","MEDIA_KEYERR_UNKNOWN","MEDIA_RULE","MEDIUM_FLOAT","MEDIUM_INT","META_MASK","MIDIAccess","MIDIConnectionEvent","MIDIInput","MIDIInputMap","MIDIMessageEvent","MIDIOutput","MIDIOutputMap","MIDIPort","MIN","MIN_PROGRAM_TEXEL_OFFSET","MIN_SAFE_INTEGER","MIN_VALUE","MIRRORED_REPEAT","MODE_ASYNCHRONOUS","MODE_SYNCHRONOUS","MODIFICATION","MOUSEDOWN","MOUSEDRAG","MOUSEMOVE","MOUSEOUT","MOUSEOVER","MOUSEUP","MOZ_KEYFRAMES_RULE","MOZ_KEYFRAME_RULE","MOZ_SOURCE_CURSOR","MOZ_SOURCE_ERASER","MOZ_SOURCE_KEYBOARD","MOZ_SOURCE_MOUSE","MOZ_SOURCE_PEN","MOZ_SOURCE_TOUCH","MOZ_SOURCE_UNKNOWN","MSGESTURE_FLAG_BEGIN","MSGESTURE_FLAG_CANCEL","MSGESTURE_FLAG_END","MSGESTURE_FLAG_INERTIA","MSGESTURE_FLAG_NONE","MSPOINTER_TYPE_MOUSE","MSPOINTER_TYPE_PEN","MSPOINTER_TYPE_TOUCH","MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE","MS_ASYNC_CALLBACK_STATUS_CANCEL","MS_ASYNC_CALLBACK_STATUS_CHOOSEANY","MS_ASYNC_CALLBACK_STATUS_ERROR","MS_ASYNC_CALLBACK_STATUS_JOIN","MS_ASYNC_OP_STATUS_CANCELED","MS_ASYNC_OP_STATUS_ERROR","MS_ASYNC_OP_STATUS_SUCCESS","MS_MANIPULATION_STATE_ACTIVE","MS_MANIPULATION_STATE_CANCELLED","MS_MANIPULATION_STATE_COMMITTED","MS_MANIPULATION_STATE_DRAGGING","MS_MANIPULATION_STATE_INERTIA","MS_MANIPULATION_STATE_PRESELECT","MS_MANIPULATION_STATE_SELECTING","MS_MANIPULATION_STATE_STOPPED","MS_MEDIA_ERR_ENCRYPTED","MS_MEDIA_KEYERR_CLIENT","MS_MEDIA_KEYERR_DOMAIN","MS_MEDIA_KEYERR_HARDWARECHANGE","MS_MEDIA_KEYERR_OUTPUT","MS_MEDIA_KEYERR_SERVICE","MS_MEDIA_KEYERR_UNKNOWN","Map","Math","MathMLElement","MediaCapabilities","MediaCapabilitiesInfo","MediaController","MediaDeviceInfo","MediaDevices","MediaElementAudioSourceNode","MediaEncryptedEvent","MediaError","MediaKeyError","MediaKeyEvent","MediaKeyMessageEvent","MediaKeyNeededEvent","MediaKeySession","MediaKeyStatusMap","MediaKeySystemAccess","MediaKeys","MediaList","MediaMetadata","MediaQueryList","MediaQueryListEvent","MediaRecorder","MediaRecorderErrorEvent","MediaSession","MediaSettingsRange","MediaSource","MediaStream","MediaStreamAudioDestinationNode","MediaStreamAudioSourceNode","MediaStreamEvent","MediaStreamTrack","MediaStreamTrackAudioSourceNode","MediaStreamTrackEvent","Memory","MessageChannel","MessageEvent","MessagePort","Methods","MimeType","MimeTypeArray","Module","MouseEvent","MouseScrollEvent","MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBackfaceVisibility","MozBinding","MozBorderBottomColors","MozBorderEnd","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStart","MozBorderStartColor","MozBorderStartStyle","MozBorderStartWidth","MozBorderTopColors","MozBoxAlign","MozBoxDirection","MozBoxFlex","MozBoxOrdinalGroup","MozBoxOrient","MozBoxPack","MozBoxSizing","MozCSSKeyframeRule","MozCSSKeyframesRule","MozColumnCount","MozColumnFill","MozColumnGap","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContactChangeEvent","MozFloatEdge","MozFontFeatureSettings","MozFontLanguageOverride","MozForceBrokenImageIcon","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozMmsEvent","MozMmsMessage","MozMobileMessageThread","MozOSXFontSmoothing","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozPerspective","MozPerspectiveOrigin","MozPowerManager","MozSettingsEvent","MozSmsEvent","MozSmsMessage","MozStackSizing","MozTabSize","MozTextAlignLast","MozTextDecorationColor","MozTextDecorationLine","MozTextDecorationStyle","MozTextSizeAdjust","MozTransform","MozTransformOrigin","MozTransformStyle","MozTransition","MozTransitionDelay","MozTransitionDuration","MozTransitionProperty","MozTransitionTimingFunction","MozUserFocus","MozUserInput","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","MutationEvent","MutationObserver","MutationRecord","NAMESPACE_ERR","NAMESPACE_RULE","NEAREST","NEAREST_MIPMAP_LINEAR","NEAREST_MIPMAP_NEAREST","NEGATIVE_INFINITY","NETWORK_EMPTY","NETWORK_ERR","NETWORK_IDLE","NETWORK_LOADED","NETWORK_LOADING","NETWORK_NO_SOURCE","NEVER","NEW","NEXT","NEXT_NO_DUPLICATE","NICEST","NODE_AFTER","NODE_BEFORE","NODE_BEFORE_AND_AFTER","NODE_INSIDE","NONE","NON_TRANSIENT_ERR","NOTATION_NODE","NOTCH","NOTEQUAL","NOT_ALLOWED_ERR","NOT_FOUND_ERR","NOT_READABLE_ERR","NOT_SUPPORTED_ERR","NO_DATA_ALLOWED_ERR","NO_ERR","NO_ERROR","NO_MODIFICATION_ALLOWED_ERR","NUMBER_TYPE","NUM_COMPRESSED_TEXTURE_FORMATS","NaN","NamedNodeMap","NavigationPreloadManager","Navigator","NearbyLinks","NetworkInformation","Node","NodeFilter","NodeIterator","NodeList","Notation","Notification","NotifyPaintEvent","Number","NumberFormat","OBJECT_TYPE","OBSOLETE","OK","ONE","ONE_MINUS_CONSTANT_ALPHA","ONE_MINUS_CONSTANT_COLOR","ONE_MINUS_DST_ALPHA","ONE_MINUS_DST_COLOR","ONE_MINUS_SRC_ALPHA","ONE_MINUS_SRC_COLOR","OPEN","OPENED","OPENING","ORDERED_NODE_ITERATOR_TYPE","ORDERED_NODE_SNAPSHOT_TYPE","OTHER_ERROR","OUT_OF_MEMORY","Object","OfflineAudioCompletionEvent","OfflineAudioContext","OfflineResourceList","OffscreenCanvas","OffscreenCanvasRenderingContext2D","Option","OrientationSensor","OscillatorNode","OverconstrainedError","OverflowEvent","PACK_ALIGNMENT","PACK_ROW_LENGTH","PACK_SKIP_PIXELS","PACK_SKIP_ROWS","PAGE_RULE","PARSE_ERR","PATHSEG_ARC_ABS","PATHSEG_ARC_REL","PATHSEG_CLOSEPATH","PATHSEG_CURVETO_CUBIC_ABS","PATHSEG_CURVETO_CUBIC_REL","PATHSEG_CURVETO_CUBIC_SMOOTH_ABS","PATHSEG_CURVETO_CUBIC_SMOOTH_REL","PATHSEG_CURVETO_QUADRATIC_ABS","PATHSEG_CURVETO_QUADRATIC_REL","PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS","PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL","PATHSEG_LINETO_ABS","PATHSEG_LINETO_HORIZONTAL_ABS","PATHSEG_LINETO_HORIZONTAL_REL","PATHSEG_LINETO_REL","PATHSEG_LINETO_VERTICAL_ABS","PATHSEG_LINETO_VERTICAL_REL","PATHSEG_MOVETO_ABS","PATHSEG_MOVETO_REL","PATHSEG_UNKNOWN","PATH_EXISTS_ERR","PEAKING","PERMISSION_DENIED","PERSISTENT","PI","PIXEL_PACK_BUFFER","PIXEL_PACK_BUFFER_BINDING","PIXEL_UNPACK_BUFFER","PIXEL_UNPACK_BUFFER_BINDING","PLAYING_STATE","POINTS","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","POSITION_UNAVAILABLE","POSITIVE_INFINITY","PREV","PREV_NO_DUPLICATE","PROCESSING_INSTRUCTION_NODE","PageChangeEvent","PageTransitionEvent","PaintRequest","PaintRequestList","PannerNode","PasswordCredential","Path2D","PaymentAddress","PaymentInstruments","PaymentManager","PaymentMethodChangeEvent","PaymentRequest","PaymentRequestUpdateEvent","PaymentResponse","Performance","PerformanceElementTiming","PerformanceEntry","PerformanceEventTiming","PerformanceLongTaskTiming","PerformanceMark","PerformanceMeasure","PerformanceNavigation","PerformanceNavigationTiming","PerformanceObserver","PerformanceObserverEntryList","PerformancePaintTiming","PerformanceResourceTiming","PerformanceServerTiming","PerformanceTiming","PeriodicSyncManager","PeriodicWave","PermissionStatus","Permissions","PhotoCapabilities","PictureInPictureWindow","Plugin","PluginArray","PluralRules","PointerEvent","PopStateEvent","PopupBlockedEvent","Presentation","PresentationAvailability","PresentationConnection","PresentationConnectionAvailableEvent","PresentationConnectionCloseEvent","PresentationConnectionList","PresentationReceiver","PresentationRequest","ProcessingInstruction","ProgressEvent","Promise","PromiseRejectionEvent","PropertyNodeList","Proxy","PublicKeyCredential","PushManager","PushSubscription","PushSubscriptionOptions","Q","QUERY_RESULT","QUERY_RESULT_AVAILABLE","QUOTA_ERR","QUOTA_EXCEEDED_ERR","QueryInterface","R11F_G11F_B10F","R16F","R16I","R16UI","R32F","R32I","R32UI","R8","R8I","R8UI","R8_SNORM","RASTERIZER_DISCARD","READ_BUFFER","READ_FRAMEBUFFER","READ_FRAMEBUFFER_BINDING","READ_ONLY","READ_ONLY_ERR","READ_WRITE","RED","RED_BITS","RED_INTEGER","REMOVAL","RENDERBUFFER","RENDERBUFFER_ALPHA_SIZE","RENDERBUFFER_BINDING","RENDERBUFFER_BLUE_SIZE","RENDERBUFFER_DEPTH_SIZE","RENDERBUFFER_GREEN_SIZE","RENDERBUFFER_HEIGHT","RENDERBUFFER_INTERNAL_FORMAT","RENDERBUFFER_RED_SIZE","RENDERBUFFER_SAMPLES","RENDERBUFFER_STENCIL_SIZE","RENDERBUFFER_WIDTH","RENDERER","RENDERING_INTENT_ABSOLUTE_COLORIMETRIC","RENDERING_INTENT_AUTO","RENDERING_INTENT_PERCEPTUAL","RENDERING_INTENT_RELATIVE_COLORIMETRIC","RENDERING_INTENT_SATURATION","RENDERING_INTENT_UNKNOWN","REPEAT","REPLACE","RG","RG16F","RG16I","RG16UI","RG32F","RG32I","RG32UI","RG8","RG8I","RG8UI","RG8_SNORM","RGB","RGB10_A2","RGB10_A2UI","RGB16F","RGB16I","RGB16UI","RGB32F","RGB32I","RGB32UI","RGB565","RGB5_A1","RGB8","RGB8I","RGB8UI","RGB8_SNORM","RGB9_E5","RGBA","RGBA16F","RGBA16I","RGBA16UI","RGBA32F","RGBA32I","RGBA32UI","RGBA4","RGBA8","RGBA8I","RGBA8UI","RGBA8_SNORM","RGBA_INTEGER","RGBColor","RGB_INTEGER","RG_INTEGER","ROTATION_CLOCKWISE","ROTATION_COUNTERCLOCKWISE","RTCCertificate","RTCDTMFSender","RTCDTMFToneChangeEvent","RTCDataChannel","RTCDataChannelEvent","RTCDtlsTransport","RTCError","RTCErrorEvent","RTCIceCandidate","RTCIceTransport","RTCPeerConnection","RTCPeerConnectionIceErrorEvent","RTCPeerConnectionIceEvent","RTCRtpReceiver","RTCRtpSender","RTCRtpTransceiver","RTCSctpTransport","RTCSessionDescription","RTCStatsReport","RTCTrackEvent","RadioNodeList","Range","RangeError","RangeException","ReadableStream","ReadableStreamDefaultReader","RecordErrorEvent","Rect","ReferenceError","Reflect","RegExp","RelativeOrientationSensor","RelativeTimeFormat","RemotePlayback","Report","ReportBody","ReportingObserver","Request","ResizeObserver","ResizeObserverEntry","ResizeObserverSize","Response","RuntimeError","SAMPLER_2D","SAMPLER_2D_ARRAY","SAMPLER_2D_ARRAY_SHADOW","SAMPLER_2D_SHADOW","SAMPLER_3D","SAMPLER_BINDING","SAMPLER_CUBE","SAMPLER_CUBE_SHADOW","SAMPLES","SAMPLE_ALPHA_TO_COVERAGE","SAMPLE_BUFFERS","SAMPLE_COVERAGE","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAWTOOTH","SCHEDULED_STATE","SCISSOR_BOX","SCISSOR_TEST","SCROLL_PAGE_DOWN","SCROLL_PAGE_UP","SDP_ANSWER","SDP_OFFER","SDP_PRANSWER","SECURITY_ERR","SELECT","SEPARATE_ATTRIBS","SERIALIZE_ERR","SEVERITY_ERROR","SEVERITY_FATAL_ERROR","SEVERITY_WARNING","SHADER_COMPILER","SHADER_TYPE","SHADING_LANGUAGE_VERSION","SHIFT_MASK","SHORT","SHOWING","SHOW_ALL","SHOW_ATTRIBUTE","SHOW_CDATA_SECTION","SHOW_COMMENT","SHOW_DOCUMENT","SHOW_DOCUMENT_FRAGMENT","SHOW_DOCUMENT_TYPE","SHOW_ELEMENT","SHOW_ENTITY","SHOW_ENTITY_REFERENCE","SHOW_NOTATION","SHOW_PROCESSING_INSTRUCTION","SHOW_TEXT","SIGNALED","SIGNED_NORMALIZED","SINE","SOUNDFIELD","SQLException","SQRT1_2","SQRT2","SQUARE","SRC_ALPHA","SRC_ALPHA_SATURATE","SRC_COLOR","SRGB","SRGB8","SRGB8_ALPHA8","START_TO_END","START_TO_START","STATIC_COPY","STATIC_DRAW","STATIC_READ","STENCIL","STENCIL_ATTACHMENT","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_BUFFER_BIT","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_INDEX","STENCIL_INDEX8","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","STREAM_COPY","STREAM_DRAW","STREAM_READ","STRING_TYPE","STYLE_RULE","SUBPIXEL_BITS","SUPPORTS_RULE","SVGAElement","SVGAltGlyphDefElement","SVGAltGlyphElement","SVGAltGlyphItemElement","SVGAngle","SVGAnimateColorElement","SVGAnimateElement","SVGAnimateMotionElement","SVGAnimateTransformElement","SVGAnimatedAngle","SVGAnimatedBoolean","SVGAnimatedEnumeration","SVGAnimatedInteger","SVGAnimatedLength","SVGAnimatedLengthList","SVGAnimatedNumber","SVGAnimatedNumberList","SVGAnimatedPreserveAspectRatio","SVGAnimatedRect","SVGAnimatedString","SVGAnimatedTransformList","SVGAnimationElement","SVGCircleElement","SVGClipPathElement","SVGColor","SVGComponentTransferFunctionElement","SVGCursorElement","SVGDefsElement","SVGDescElement","SVGDiscardElement","SVGDocument","SVGElement","SVGElementInstance","SVGElementInstanceList","SVGEllipseElement","SVGException","SVGFEBlendElement","SVGFEColorMatrixElement","SVGFEComponentTransferElement","SVGFECompositeElement","SVGFEConvolveMatrixElement","SVGFEDiffuseLightingElement","SVGFEDisplacementMapElement","SVGFEDistantLightElement","SVGFEDropShadowElement","SVGFEFloodElement","SVGFEFuncAElement","SVGFEFuncBElement","SVGFEFuncGElement","SVGFEFuncRElement","SVGFEGaussianBlurElement","SVGFEImageElement","SVGFEMergeElement","SVGFEMergeNodeElement","SVGFEMorphologyElement","SVGFEOffsetElement","SVGFEPointLightElement","SVGFESpecularLightingElement","SVGFESpotLightElement","SVGFETileElement","SVGFETurbulenceElement","SVGFilterElement","SVGFontElement","SVGFontFaceElement","SVGFontFaceFormatElement","SVGFontFaceNameElement","SVGFontFaceSrcElement","SVGFontFaceUriElement","SVGForeignObjectElement","SVGGElement","SVGGeometryElement","SVGGlyphElement","SVGGlyphRefElement","SVGGradientElement","SVGGraphicsElement","SVGHKernElement","SVGImageElement","SVGLength","SVGLengthList","SVGLineElement","SVGLinearGradientElement","SVGMPathElement","SVGMarkerElement","SVGMaskElement","SVGMatrix","SVGMetadataElement","SVGMissingGlyphElement","SVGNumber","SVGNumberList","SVGPaint","SVGPathElement","SVGPathSeg","SVGPathSegArcAbs","SVGPathSegArcRel","SVGPathSegClosePath","SVGPathSegCurvetoCubicAbs","SVGPathSegCurvetoCubicRel","SVGPathSegCurvetoCubicSmoothAbs","SVGPathSegCurvetoCubicSmoothRel","SVGPathSegCurvetoQuadraticAbs","SVGPathSegCurvetoQuadraticRel","SVGPathSegCurvetoQuadraticSmoothAbs","SVGPathSegCurvetoQuadraticSmoothRel","SVGPathSegLinetoAbs","SVGPathSegLinetoHorizontalAbs","SVGPathSegLinetoHorizontalRel","SVGPathSegLinetoRel","SVGPathSegLinetoVerticalAbs","SVGPathSegLinetoVerticalRel","SVGPathSegList","SVGPathSegMovetoAbs","SVGPathSegMovetoRel","SVGPatternElement","SVGPoint","SVGPointList","SVGPolygonElement","SVGPolylineElement","SVGPreserveAspectRatio","SVGRadialGradientElement","SVGRect","SVGRectElement","SVGRenderingIntent","SVGSVGElement","SVGScriptElement","SVGSetElement","SVGStopElement","SVGStringList","SVGStyleElement","SVGSwitchElement","SVGSymbolElement","SVGTRefElement","SVGTSpanElement","SVGTextContentElement","SVGTextElement","SVGTextPathElement","SVGTextPositioningElement","SVGTitleElement","SVGTransform","SVGTransformList","SVGUnitTypes","SVGUseElement","SVGVKernElement","SVGViewElement","SVGViewSpec","SVGZoomAndPan","SVGZoomEvent","SVG_ANGLETYPE_DEG","SVG_ANGLETYPE_GRAD","SVG_ANGLETYPE_RAD","SVG_ANGLETYPE_UNKNOWN","SVG_ANGLETYPE_UNSPECIFIED","SVG_CHANNEL_A","SVG_CHANNEL_B","SVG_CHANNEL_G","SVG_CHANNEL_R","SVG_CHANNEL_UNKNOWN","SVG_COLORTYPE_CURRENTCOLOR","SVG_COLORTYPE_RGBCOLOR","SVG_COLORTYPE_RGBCOLOR_ICCCOLOR","SVG_COLORTYPE_UNKNOWN","SVG_EDGEMODE_DUPLICATE","SVG_EDGEMODE_NONE","SVG_EDGEMODE_UNKNOWN","SVG_EDGEMODE_WRAP","SVG_FEBLEND_MODE_COLOR","SVG_FEBLEND_MODE_COLOR_BURN","SVG_FEBLEND_MODE_COLOR_DODGE","SVG_FEBLEND_MODE_DARKEN","SVG_FEBLEND_MODE_DIFFERENCE","SVG_FEBLEND_MODE_EXCLUSION","SVG_FEBLEND_MODE_HARD_LIGHT","SVG_FEBLEND_MODE_HUE","SVG_FEBLEND_MODE_LIGHTEN","SVG_FEBLEND_MODE_LUMINOSITY","SVG_FEBLEND_MODE_MULTIPLY","SVG_FEBLEND_MODE_NORMAL","SVG_FEBLEND_MODE_OVERLAY","SVG_FEBLEND_MODE_SATURATION","SVG_FEBLEND_MODE_SCREEN","SVG_FEBLEND_MODE_SOFT_LIGHT","SVG_FEBLEND_MODE_UNKNOWN","SVG_FECOLORMATRIX_TYPE_HUEROTATE","SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA","SVG_FECOLORMATRIX_TYPE_MATRIX","SVG_FECOLORMATRIX_TYPE_SATURATE","SVG_FECOLORMATRIX_TYPE_UNKNOWN","SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE","SVG_FECOMPONENTTRANSFER_TYPE_GAMMA","SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY","SVG_FECOMPONENTTRANSFER_TYPE_LINEAR","SVG_FECOMPONENTTRANSFER_TYPE_TABLE","SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_ARITHMETIC","SVG_FECOMPOSITE_OPERATOR_ATOP","SVG_FECOMPOSITE_OPERATOR_IN","SVG_FECOMPOSITE_OPERATOR_OUT","SVG_FECOMPOSITE_OPERATOR_OVER","SVG_FECOMPOSITE_OPERATOR_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_XOR","SVG_INVALID_VALUE_ERR","SVG_LENGTHTYPE_CM","SVG_LENGTHTYPE_EMS","SVG_LENGTHTYPE_EXS","SVG_LENGTHTYPE_IN","SVG_LENGTHTYPE_MM","SVG_LENGTHTYPE_NUMBER","SVG_LENGTHTYPE_PC","SVG_LENGTHTYPE_PERCENTAGE","SVG_LENGTHTYPE_PT","SVG_LENGTHTYPE_PX","SVG_LENGTHTYPE_UNKNOWN","SVG_MARKERUNITS_STROKEWIDTH","SVG_MARKERUNITS_UNKNOWN","SVG_MARKERUNITS_USERSPACEONUSE","SVG_MARKER_ORIENT_ANGLE","SVG_MARKER_ORIENT_AUTO","SVG_MARKER_ORIENT_UNKNOWN","SVG_MASKTYPE_ALPHA","SVG_MASKTYPE_LUMINANCE","SVG_MATRIX_NOT_INVERTABLE","SVG_MEETORSLICE_MEET","SVG_MEETORSLICE_SLICE","SVG_MEETORSLICE_UNKNOWN","SVG_MORPHOLOGY_OPERATOR_DILATE","SVG_MORPHOLOGY_OPERATOR_ERODE","SVG_MORPHOLOGY_OPERATOR_UNKNOWN","SVG_PAINTTYPE_CURRENTCOLOR","SVG_PAINTTYPE_NONE","SVG_PAINTTYPE_RGBCOLOR","SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR","SVG_PAINTTYPE_UNKNOWN","SVG_PAINTTYPE_URI","SVG_PAINTTYPE_URI_CURRENTCOLOR","SVG_PAINTTYPE_URI_NONE","SVG_PAINTTYPE_URI_RGBCOLOR","SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR","SVG_PRESERVEASPECTRATIO_NONE","SVG_PRESERVEASPECTRATIO_UNKNOWN","SVG_PRESERVEASPECTRATIO_XMAXYMAX","SVG_PRESERVEASPECTRATIO_XMAXYMID","SVG_PRESERVEASPECTRATIO_XMAXYMIN","SVG_PRESERVEASPECTRATIO_XMIDYMAX","SVG_PRESERVEASPECTRATIO_XMIDYMID","SVG_PRESERVEASPECTRATIO_XMIDYMIN","SVG_PRESERVEASPECTRATIO_XMINYMAX","SVG_PRESERVEASPECTRATIO_XMINYMID","SVG_PRESERVEASPECTRATIO_XMINYMIN","SVG_SPREADMETHOD_PAD","SVG_SPREADMETHOD_REFLECT","SVG_SPREADMETHOD_REPEAT","SVG_SPREADMETHOD_UNKNOWN","SVG_STITCHTYPE_NOSTITCH","SVG_STITCHTYPE_STITCH","SVG_STITCHTYPE_UNKNOWN","SVG_TRANSFORM_MATRIX","SVG_TRANSFORM_ROTATE","SVG_TRANSFORM_SCALE","SVG_TRANSFORM_SKEWX","SVG_TRANSFORM_SKEWY","SVG_TRANSFORM_TRANSLATE","SVG_TRANSFORM_UNKNOWN","SVG_TURBULENCE_TYPE_FRACTALNOISE","SVG_TURBULENCE_TYPE_TURBULENCE","SVG_TURBULENCE_TYPE_UNKNOWN","SVG_UNIT_TYPE_OBJECTBOUNDINGBOX","SVG_UNIT_TYPE_UNKNOWN","SVG_UNIT_TYPE_USERSPACEONUSE","SVG_WRONG_TYPE_ERR","SVG_ZOOMANDPAN_DISABLE","SVG_ZOOMANDPAN_MAGNIFY","SVG_ZOOMANDPAN_UNKNOWN","SYNC_CONDITION","SYNC_FENCE","SYNC_FLAGS","SYNC_FLUSH_COMMANDS_BIT","SYNC_GPU_COMMANDS_COMPLETE","SYNC_STATUS","SYNTAX_ERR","SavedPages","Screen","ScreenOrientation","Script","ScriptProcessorNode","ScrollAreaEvent","SecurityPolicyViolationEvent","Selection","Sensor","SensorErrorEvent","ServiceWorker","ServiceWorkerContainer","ServiceWorkerRegistration","SessionDescription","Set","ShadowRoot","SharedArrayBuffer","SharedWorker","SimpleGestureEvent","SourceBuffer","SourceBufferList","SpeechSynthesis","SpeechSynthesisErrorEvent","SpeechSynthesisEvent","SpeechSynthesisUtterance","SpeechSynthesisVoice","StaticRange","StereoPannerNode","StopIteration","Storage","StorageEvent","StorageManager","String","StructType","StylePropertyMap","StylePropertyMapReadOnly","StyleSheet","StyleSheetList","SubmitEvent","SubtleCrypto","Symbol","SyncManager","SyntaxError","TEMPORARY","TEXTPATH_METHODTYPE_ALIGN","TEXTPATH_METHODTYPE_STRETCH","TEXTPATH_METHODTYPE_UNKNOWN","TEXTPATH_SPACINGTYPE_AUTO","TEXTPATH_SPACINGTYPE_EXACT","TEXTPATH_SPACINGTYPE_UNKNOWN","TEXTURE","TEXTURE0","TEXTURE1","TEXTURE10","TEXTURE11","TEXTURE12","TEXTURE13","TEXTURE14","TEXTURE15","TEXTURE16","TEXTURE17","TEXTURE18","TEXTURE19","TEXTURE2","TEXTURE20","TEXTURE21","TEXTURE22","TEXTURE23","TEXTURE24","TEXTURE25","TEXTURE26","TEXTURE27","TEXTURE28","TEXTURE29","TEXTURE3","TEXTURE30","TEXTURE31","TEXTURE4","TEXTURE5","TEXTURE6","TEXTURE7","TEXTURE8","TEXTURE9","TEXTURE_2D","TEXTURE_2D_ARRAY","TEXTURE_3D","TEXTURE_BASE_LEVEL","TEXTURE_BINDING_2D","TEXTURE_BINDING_2D_ARRAY","TEXTURE_BINDING_3D","TEXTURE_BINDING_CUBE_MAP","TEXTURE_COMPARE_FUNC","TEXTURE_COMPARE_MODE","TEXTURE_CUBE_MAP","TEXTURE_CUBE_MAP_NEGATIVE_X","TEXTURE_CUBE_MAP_NEGATIVE_Y","TEXTURE_CUBE_MAP_NEGATIVE_Z","TEXTURE_CUBE_MAP_POSITIVE_X","TEXTURE_CUBE_MAP_POSITIVE_Y","TEXTURE_CUBE_MAP_POSITIVE_Z","TEXTURE_IMMUTABLE_FORMAT","TEXTURE_IMMUTABLE_LEVELS","TEXTURE_MAG_FILTER","TEXTURE_MAX_ANISOTROPY_EXT","TEXTURE_MAX_LEVEL","TEXTURE_MAX_LOD","TEXTURE_MIN_FILTER","TEXTURE_MIN_LOD","TEXTURE_WRAP_R","TEXTURE_WRAP_S","TEXTURE_WRAP_T","TEXT_NODE","TIMEOUT","TIMEOUT_ERR","TIMEOUT_EXPIRED","TIMEOUT_IGNORED","TOO_LARGE_ERR","TRANSACTION_INACTIVE_ERR","TRANSFORM_FEEDBACK","TRANSFORM_FEEDBACK_ACTIVE","TRANSFORM_FEEDBACK_BINDING","TRANSFORM_FEEDBACK_BUFFER","TRANSFORM_FEEDBACK_BUFFER_BINDING","TRANSFORM_FEEDBACK_BUFFER_MODE","TRANSFORM_FEEDBACK_BUFFER_SIZE","TRANSFORM_FEEDBACK_BUFFER_START","TRANSFORM_FEEDBACK_PAUSED","TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN","TRANSFORM_FEEDBACK_VARYINGS","TRIANGLE","TRIANGLES","TRIANGLE_FAN","TRIANGLE_STRIP","TYPE_BACK_FORWARD","TYPE_ERR","TYPE_MISMATCH_ERR","TYPE_NAVIGATE","TYPE_RELOAD","TYPE_RESERVED","Table","TaskAttributionTiming","Text","TextDecoder","TextDecoderStream","TextEncoder","TextEncoderStream","TextEvent","TextMetrics","TextTrack","TextTrackCue","TextTrackCueList","TextTrackList","TimeEvent","TimeRanges","Touch","TouchEvent","TouchList","TrackEvent","TransformStream","TransitionEvent","TreeWalker","TrustedHTML","TrustedScript","TrustedScriptURL","TrustedTypePolicy","TrustedTypePolicyFactory","TypeError","TypedObject","U2F","UIEvent","UNCACHED","UNIFORM_ARRAY_STRIDE","UNIFORM_BLOCK_ACTIVE_UNIFORMS","UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES","UNIFORM_BLOCK_BINDING","UNIFORM_BLOCK_DATA_SIZE","UNIFORM_BLOCK_INDEX","UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER","UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER","UNIFORM_BUFFER","UNIFORM_BUFFER_BINDING","UNIFORM_BUFFER_OFFSET_ALIGNMENT","UNIFORM_BUFFER_SIZE","UNIFORM_BUFFER_START","UNIFORM_IS_ROW_MAJOR","UNIFORM_MATRIX_STRIDE","UNIFORM_OFFSET","UNIFORM_SIZE","UNIFORM_TYPE","UNKNOWN_ERR","UNKNOWN_RULE","UNMASKED_RENDERER_WEBGL","UNMASKED_VENDOR_WEBGL","UNORDERED_NODE_ITERATOR_TYPE","UNORDERED_NODE_SNAPSHOT_TYPE","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_IMAGE_HEIGHT","UNPACK_PREMULTIPLY_ALPHA_WEBGL","UNPACK_ROW_LENGTH","UNPACK_SKIP_IMAGES","UNPACK_SKIP_PIXELS","UNPACK_SKIP_ROWS","UNSCHEDULED_STATE","UNSENT","UNSIGNALED","UNSIGNED_BYTE","UNSIGNED_INT","UNSIGNED_INT_10F_11F_11F_REV","UNSIGNED_INT_24_8","UNSIGNED_INT_2_10_10_10_REV","UNSIGNED_INT_5_9_9_9_REV","UNSIGNED_INT_SAMPLER_2D","UNSIGNED_INT_SAMPLER_2D_ARRAY","UNSIGNED_INT_SAMPLER_3D","UNSIGNED_INT_SAMPLER_CUBE","UNSIGNED_INT_VEC2","UNSIGNED_INT_VEC3","UNSIGNED_INT_VEC4","UNSIGNED_NORMALIZED","UNSIGNED_SHORT","UNSIGNED_SHORT_4_4_4_4","UNSIGNED_SHORT_5_5_5_1","UNSIGNED_SHORT_5_6_5","UNSPECIFIED_EVENT_TYPE_ERR","UPDATEREADY","URIError","URL","URLSearchParams","URLUnencoded","URL_MISMATCH_ERR","USB","USBAlternateInterface","USBConfiguration","USBConnectionEvent","USBDevice","USBEndpoint","USBInTransferResult","USBInterface","USBIsochronousInTransferPacket","USBIsochronousInTransferResult","USBIsochronousOutTransferPacket","USBIsochronousOutTransferResult","USBOutTransferResult","UTC","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","UserActivation","UserMessageHandler","UserMessageHandlersNamespace","UserProximityEvent","VALIDATE_STATUS","VALIDATION_ERR","VARIABLES_RULE","VENDOR","VERSION","VERSION_CHANGE","VERSION_ERR","VERTEX_ARRAY_BINDING","VERTEX_ATTRIB_ARRAY_BUFFER_BINDING","VERTEX_ATTRIB_ARRAY_DIVISOR","VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE","VERTEX_ATTRIB_ARRAY_ENABLED","VERTEX_ATTRIB_ARRAY_INTEGER","VERTEX_ATTRIB_ARRAY_NORMALIZED","VERTEX_ATTRIB_ARRAY_POINTER","VERTEX_ATTRIB_ARRAY_SIZE","VERTEX_ATTRIB_ARRAY_STRIDE","VERTEX_ATTRIB_ARRAY_TYPE","VERTEX_SHADER","VERTICAL","VERTICAL_AXIS","VER_ERR","VIEWPORT","VIEWPORT_RULE","VRDisplay","VRDisplayCapabilities","VRDisplayEvent","VREyeParameters","VRFieldOfView","VRFrameData","VRPose","VRStageParameters","VTTCue","VTTRegion","ValidityState","VideoPlaybackQuality","VideoStreamTrack","VisualViewport","WAIT_FAILED","WEBKIT_FILTER_RULE","WEBKIT_KEYFRAMES_RULE","WEBKIT_KEYFRAME_RULE","WEBKIT_REGION_RULE","WRONG_DOCUMENT_ERR","WakeLock","WakeLockSentinel","WasmAnyRef","WaveShaperNode","WeakMap","WeakRef","WeakSet","WebAssembly","WebGL2RenderingContext","WebGLActiveInfo","WebGLBuffer","WebGLContextEvent","WebGLFramebuffer","WebGLProgram","WebGLQuery","WebGLRenderbuffer","WebGLRenderingContext","WebGLSampler","WebGLShader","WebGLShaderPrecisionFormat","WebGLSync","WebGLTexture","WebGLTransformFeedback","WebGLUniformLocation","WebGLVertexArray","WebGLVertexArrayObject","WebKitAnimationEvent","WebKitBlobBuilder","WebKitCSSFilterRule","WebKitCSSFilterValue","WebKitCSSKeyframeRule","WebKitCSSKeyframesRule","WebKitCSSMatrix","WebKitCSSRegionRule","WebKitCSSTransformValue","WebKitDataCue","WebKitGamepad","WebKitMediaKeyError","WebKitMediaKeyMessageEvent","WebKitMediaKeySession","WebKitMediaKeys","WebKitMediaSource","WebKitMutationObserver","WebKitNamespace","WebKitPlaybackTargetAvailabilityEvent","WebKitPoint","WebKitShadowRoot","WebKitSourceBuffer","WebKitSourceBufferList","WebKitTransitionEvent","WebSocket","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxAlign","WebkitBoxDirection","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitBoxOrient","WebkitBoxPack","WebkitBoxShadow","WebkitBoxSizing","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitJustifyContent","WebkitLineClamp","WebkitMask","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskSize","WebkitOrder","WebkitPerspective","WebkitPerspectiveOrigin","WebkitTextFillColor","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserSelect","WheelEvent","Window","Worker","Worklet","WritableStream","WritableStreamDefaultWriter","XMLDocument","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestException","XMLHttpRequestProgressEvent","XMLHttpRequestUpload","XMLSerializer","XMLStylesheetProcessingInstruction","XPathEvaluator","XPathException","XPathExpression","XPathNSResolver","XPathResult","XRBoundedReferenceSpace","XRDOMOverlayState","XRFrame","XRHitTestResult","XRHitTestSource","XRInputSource","XRInputSourceArray","XRInputSourceEvent","XRInputSourcesChangeEvent","XRLayer","XRPose","XRRay","XRReferenceSpace","XRReferenceSpaceEvent","XRRenderState","XRRigidTransform","XRSession","XRSessionEvent","XRSpace","XRSystem","XRTransientInputHitTestResult","XRTransientInputHitTestSource","XRView","XRViewerPose","XRViewport","XRWebGLLayer","XSLTProcessor","ZERO","_XD0M_","_YD0M_","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","__opera","__proto__","_browserjsran","a","aLink","abbr","abort","aborted","abs","absolute","acceleration","accelerationIncludingGravity","accelerator","accept","acceptCharset","acceptNode","accessKey","accessKeyLabel","accuracy","acos","acosh","action","actionURL","actions","activated","active","activeCues","activeElement","activeSourceBuffers","activeSourceCount","activeTexture","activeVRDisplays","actualBoundingBoxAscent","actualBoundingBoxDescent","actualBoundingBoxLeft","actualBoundingBoxRight","add","addAll","addBehavior","addCandidate","addColorStop","addCue","addElement","addEventListener","addFilter","addFromString","addFromUri","addIceCandidate","addImport","addListener","addModule","addNamed","addPageRule","addPath","addPointer","addRange","addRegion","addRule","addSearchEngine","addSourceBuffer","addStream","addTextTrack","addTrack","addTransceiver","addWakeLockListener","added","addedNodes","additionalName","additiveSymbols","addons","address","addressLine","adoptNode","adoptedStyleSheets","adr","advance","after","album","alert","algorithm","align","align-content","align-items","align-self","alignContent","alignItems","alignSelf","alignmentBaseline","alinkColor","all","allSettled","allow","allowFullscreen","allowPaymentRequest","allowedDirections","allowedFeatures","allowedToPlay","allowsFeature","alpha","alt","altGraphKey","altHtml","altKey","altLeft","alternate","alternateSetting","alternates","altitude","altitudeAccuracy","amplitude","ancestorOrigins","anchor","anchorNode","anchorOffset","anchors","and","angle","angularAcceleration","angularVelocity","animVal","animate","animatedInstanceRoot","animatedNormalizedPathSegList","animatedPathSegList","animatedPoints","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationStartTime","animationTimingFunction","animationsPaused","anniversary","antialias","anticipatedRemoval","any","app","appCodeName","appMinorVersion","appName","appNotifications","appVersion","appearance","append","appendBuffer","appendChild","appendData","appendItem","appendMedium","appendNamed","appendRule","appendStream","appendWindowEnd","appendWindowStart","applets","applicationCache","applicationServerKey","apply","applyConstraints","applyElement","arc","arcTo","archive","areas","arguments","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaCurrent","ariaDescription","ariaDisabled","ariaExpanded","ariaHasPopup","ariaHidden","ariaKeyShortcuts","ariaLabel","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","arrayBuffer","artist","artwork","as","asIntN","asUintN","asin","asinh","assert","assign","assignedElements","assignedNodes","assignedSlot","async","asyncIterator","atEnd","atan","atan2","atanh","atob","attachEvent","attachInternals","attachShader","attachShadow","attachments","attack","attestationObject","attrChange","attrName","attributeFilter","attributeName","attributeNamespace","attributeOldValue","attributeStyleMap","attributes","attribution","audioBitsPerSecond","audioTracks","audioWorklet","authenticatedSignedWrites","authenticatorData","autoIncrement","autobuffer","autocapitalize","autocomplete","autocorrect","autofocus","automationRate","autoplay","availHeight","availLeft","availTop","availWidth","availability","available","aversion","ax","axes","axis","ay","azimuth","b","back","backface-visibility","backfaceVisibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundFetch","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","badInput","badge","balance","baseFrequencyX","baseFrequencyY","baseLatency","baseLayer","baseNode","baseOffset","baseURI","baseVal","baselineShift","battery","bday","before","beginElement","beginElementAt","beginPath","beginQuery","beginTransformFeedback","behavior","behaviorCookie","behaviorPart","behaviorUrns","beta","bezierCurveTo","bgColor","bgProperties","bias","big","bigint64","biguint64","binaryType","bind","bindAttribLocation","bindBuffer","bindBufferBase","bindBufferRange","bindFramebuffer","bindRenderbuffer","bindSampler","bindTexture","bindTransformFeedback","bindVertexArray","blendColor","blendEquation","blendEquationSeparate","blendFunc","blendFuncSeparate","blink","blitFramebuffer","blob","block-size","blockDirection","blockSize","blockedURI","blue","bluetooth","blur","body","bodyUsed","bold","bookmarks","booleanValue","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderBoxSize","borderCollapse","borderColor","borderColorDark","borderColorLight","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","bottomMargin","bound","boundElements","boundingClientRect","boundingHeight","boundingLeft","boundingTop","boundingWidth","bounds","boundsGeometry","box-decoration-break","box-shadow","box-sizing","boxDecorationBreak","boxShadow","boxSizing","break-after","break-before","break-inside","breakAfter","breakBefore","breakInside","broadcast","browserLanguage","btoa","bubbles","buffer","bufferData","bufferDepth","bufferSize","bufferSubData","buffered","bufferedAmount","bufferedAmountLowThreshold","buildID","buildNumber","button","buttonID","buttons","byteLength","byteOffset","bytesWritten","c","cache","caches","call","caller","canBeFormatted","canBeMounted","canBeShared","canHaveChildren","canHaveHTML","canInsertDTMF","canMakePayment","canPlayType","canPresent","canTrickleIceCandidates","cancel","cancelAndHoldAtTime","cancelAnimationFrame","cancelBubble","cancelIdleCallback","cancelScheduledValues","cancelVideoFrameCallback","cancelWatchAvailability","cancelable","candidate","canonicalUUID","canvas","capabilities","caption","caption-side","captionSide","capture","captureEvents","captureStackTrace","captureStream","caret-color","caretBidiLevel","caretColor","caretPositionFromPoint","caretRangeFromPoint","cast","catch","category","cbrt","cd","ceil","cellIndex","cellPadding","cellSpacing","cells","ch","chOff","chain","challenge","changeType","changedTouches","channel","channelCount","channelCountMode","channelInterpretation","char","charAt","charCode","charCodeAt","charIndex","charLength","characterData","characterDataOldValue","characterSet","characteristic","charging","chargingTime","charset","check","checkEnclosure","checkFramebufferStatus","checkIntersection","checkValidity","checked","childElementCount","childList","childNodes","children","chrome","ciphertext","cite","city","claimInterface","claimed","classList","className","classid","clear","clearAppBadge","clearAttributes","clearBufferfi","clearBufferfv","clearBufferiv","clearBufferuiv","clearColor","clearData","clearDepth","clearHalt","clearImmediate","clearInterval","clearLiveSeekableRange","clearMarks","clearMaxGCPauseAccumulator","clearMeasures","clearParameters","clearRect","clearResourceTimings","clearShadow","clearStencil","clearTimeout","clearWatch","click","clickCount","clientDataJSON","clientHeight","clientInformation","clientLeft","clientRect","clientRects","clientTop","clientWaitSync","clientWidth","clientX","clientY","clip","clip-path","clip-rule","clipBottom","clipLeft","clipPath","clipPathUnits","clipRight","clipRule","clipTop","clipboard","clipboardData","clone","cloneContents","cloneNode","cloneRange","close","closePath","closed","closest","clz","clz32","cm","cmp","code","codeBase","codePointAt","codeType","colSpan","collapse","collapseToEnd","collapseToStart","collapsed","collect","colno","color","color-adjust","color-interpolation","color-interpolation-filters","colorAdjust","colorDepth","colorInterpolation","colorInterpolationFilters","colorMask","colorType","cols","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columnCount","columnFill","columnGap","columnNumber","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","command","commit","commitPreferences","commitStyles","commonAncestorContainer","compact","compareBoundaryPoints","compareDocumentPosition","compareEndPoints","compareExchange","compareNode","comparePoint","compatMode","compatible","compile","compileShader","compileStreaming","complete","component","componentFromPoint","composed","composedPath","composite","compositionEndOffset","compositionStartOffset","compressedTexImage2D","compressedTexImage3D","compressedTexSubImage2D","compressedTexSubImage3D","computedStyleMap","concat","conditionText","coneInnerAngle","coneOuterAngle","coneOuterGain","configuration","configurationName","configurationValue","configurations","confirm","confirmComposition","confirmSiteSpecificTrackingException","confirmWebWideTrackingException","connect","connectEnd","connectShark","connectStart","connected","connection","connectionList","connectionSpeed","connectionState","connections","console","consolidate","constraint","constrictionActive","construct","constructor","contactID","contain","containerId","containerName","containerSrc","containerType","contains","containsNode","content","contentBoxSize","contentDocument","contentEditable","contentHint","contentOverflow","contentRect","contentScriptType","contentStyleType","contentType","contentWindow","context","contextMenu","contextmenu","continue","continuePrimaryKey","continuous","control","controlTransferIn","controlTransferOut","controller","controls","controlsList","convertPointFromNode","convertQuadFromNode","convertRectFromNode","convertToBlob","convertToSpecifiedUnits","cookie","cookieEnabled","coords","copyBufferSubData","copyFromChannel","copyTexImage2D","copyTexSubImage2D","copyTexSubImage3D","copyToChannel","copyWithin","correspondingElement","correspondingUseElement","corruptedVideoFrames","cos","cosh","count","countReset","counter-increment","counter-reset","counter-set","counterIncrement","counterReset","counterSet","country","cpuClass","cpuSleepAllowed","create","createAnalyser","createAnswer","createAttribute","createAttributeNS","createBiquadFilter","createBuffer","createBufferSource","createCDATASection","createCSSStyleSheet","createCaption","createChannelMerger","createChannelSplitter","createComment","createConstantSource","createContextualFragment","createControlRange","createConvolver","createDTMFSender","createDataChannel","createDelay","createDelayNode","createDocument","createDocumentFragment","createDocumentType","createDynamicsCompressor","createElement","createElementNS","createEntityReference","createEvent","createEventObject","createExpression","createFramebuffer","createFunction","createGain","createGainNode","createHTML","createHTMLDocument","createIIRFilter","createImageBitmap","createImageData","createIndex","createJavaScriptNode","createLinearGradient","createMediaElementSource","createMediaKeys","createMediaStreamDestination","createMediaStreamSource","createMediaStreamTrackSource","createMutableFile","createNSResolver","createNodeIterator","createNotification","createObjectStore","createObjectURL","createOffer","createOscillator","createPanner","createPattern","createPeriodicWave","createPolicy","createPopup","createProcessingInstruction","createProgram","createQuery","createRadialGradient","createRange","createRangeCollection","createReader","createRenderbuffer","createSVGAngle","createSVGLength","createSVGMatrix","createSVGNumber","createSVGPathSegArcAbs","createSVGPathSegArcRel","createSVGPathSegClosePath","createSVGPathSegCurvetoCubicAbs","createSVGPathSegCurvetoCubicRel","createSVGPathSegCurvetoCubicSmoothAbs","createSVGPathSegCurvetoCubicSmoothRel","createSVGPathSegCurvetoQuadraticAbs","createSVGPathSegCurvetoQuadraticRel","createSVGPathSegCurvetoQuadraticSmoothAbs","createSVGPathSegCurvetoQuadraticSmoothRel","createSVGPathSegLinetoAbs","createSVGPathSegLinetoHorizontalAbs","createSVGPathSegLinetoHorizontalRel","createSVGPathSegLinetoRel","createSVGPathSegLinetoVerticalAbs","createSVGPathSegLinetoVerticalRel","createSVGPathSegMovetoAbs","createSVGPathSegMovetoRel","createSVGPoint","createSVGRect","createSVGTransform","createSVGTransformFromMatrix","createSampler","createScript","createScriptProcessor","createScriptURL","createSession","createShader","createShadowRoot","createStereoPanner","createStyleSheet","createTBody","createTFoot","createTHead","createTextNode","createTextRange","createTexture","createTouch","createTouchList","createTransformFeedback","createTreeWalker","createVertexArray","createWaveShaper","creationTime","credentials","crossOrigin","crossOriginIsolated","crypto","csi","csp","cssFloat","cssRules","cssText","cssValueType","ctrlKey","ctrlLeft","cues","cullFace","currentDirection","currentLocalDescription","currentNode","currentPage","currentRect","currentRemoteDescription","currentScale","currentScript","currentSrc","currentState","currentStyle","currentTarget","currentTime","currentTranslate","currentView","cursor","curve","customElements","customError","cx","cy","d","data","dataFld","dataFormatAs","dataLoss","dataLossMessage","dataPageSize","dataSrc","dataTransfer","database","databases","dataset","dateTime","db","debug","debuggerEnabled","declare","decode","decodeAudioData","decodeURI","decodeURIComponent","decodedBodySize","decoding","decodingInfo","decrypt","default","defaultCharset","defaultChecked","defaultMuted","defaultPlaybackRate","defaultPolicy","defaultPrevented","defaultRequest","defaultSelected","defaultStatus","defaultURL","defaultValue","defaultView","defaultstatus","defer","define","defineMagicFunction","defineMagicVariable","defineProperties","defineProperty","deg","delay","delayTime","delegatesFocus","delete","deleteBuffer","deleteCaption","deleteCell","deleteContents","deleteData","deleteDatabase","deleteFramebuffer","deleteFromDocument","deleteIndex","deleteMedium","deleteObjectStore","deleteProgram","deleteProperty","deleteQuery","deleteRenderbuffer","deleteRow","deleteRule","deleteSampler","deleteShader","deleteSync","deleteTFoot","deleteTHead","deleteTexture","deleteTransformFeedback","deleteVertexArray","deliverChangeRecords","delivery","deliveryInfo","deliveryStatus","deliveryTimestamp","delta","deltaMode","deltaX","deltaY","deltaZ","dependentLocality","depthFar","depthFunc","depthMask","depthNear","depthRange","deref","deriveBits","deriveKey","description","deselectAll","designMode","desiredSize","destination","destinationURL","detach","detachEvent","detachShader","detail","details","detect","detune","device","deviceClass","deviceId","deviceMemory","devicePixelContentBoxSize","devicePixelRatio","deviceProtocol","deviceSubclass","deviceVersionMajor","deviceVersionMinor","deviceVersionSubminor","deviceXDPI","deviceYDPI","didTimeout","diffuseConstant","digest","dimensions","dir","dirName","direction","dirxml","disable","disablePictureInPicture","disableRemotePlayback","disableVertexAttribArray","disabled","dischargingTime","disconnect","disconnectShark","dispatchEvent","display","displayId","displayName","disposition","distanceModel","div","divisor","djsapi","djsproxy","doImport","doNotTrack","doScroll","doctype","document","documentElement","documentMode","documentURI","dolphin","dolphinGameCenter","dolphininfo","dolphinmeta","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","domOverlayState","domain","domainLookupEnd","domainLookupStart","dominant-baseline","dominantBaseline","done","dopplerFactor","dotAll","downDegrees","downlink","download","downloadTotal","downloaded","dpcm","dpi","dppx","dragDrop","draggable","drawArrays","drawArraysInstanced","drawArraysInstancedANGLE","drawBuffers","drawCustomFocusRing","drawElements","drawElementsInstanced","drawElementsInstancedANGLE","drawFocusIfNeeded","drawImage","drawImageFromRect","drawRangeElements","drawSystemFocusRing","drawingBufferHeight","drawingBufferWidth","dropEffect","droppedVideoFrames","dropzone","dtmf","dump","dumpProfile","duplicate","durability","duration","dvname","dvnum","dx","dy","dynsrc","e","edgeMode","effect","effectAllowed","effectiveDirective","effectiveType","elapsedTime","element","elementFromPoint","elementTiming","elements","elementsFromPoint","elevation","ellipse","em","email","embeds","emma","empty","empty-cells","emptyCells","emptyHTML","emptyScript","emulatedPosition","enable","enableBackground","enableDelegations","enableStyleSheetsForSet","enableVertexAttribArray","enabled","enabledPlugin","encode","encodeInto","encodeURI","encodeURIComponent","encodedBodySize","encoding","encodingInfo","encrypt","enctype","end","endContainer","endElement","endElementAt","endOfStream","endOffset","endQuery","endTime","endTransformFeedback","ended","endpoint","endpointNumber","endpoints","endsWith","enterKeyHint","entities","entries","entryType","enumerate","enumerateDevices","enumerateEditable","environmentBlendMode","equals","error","errorCode","errorDetail","errorText","escape","estimate","eval","evaluate","event","eventPhase","every","ex","exception","exchange","exec","execCommand","execCommandShowHelp","execScript","exitFullscreen","exitPictureInPicture","exitPointerLock","exitPresent","exp","expand","expandEntityReferences","expando","expansion","expiration","expirationTime","expires","expiryDate","explicitOriginalTarget","expm1","exponent","exponentialRampToValueAtTime","exportKey","exports","extend","extensions","extentNode","extentOffset","external","externalResourcesRequired","extractContents","extractable","eye","f","face","factoryReset","failureReason","fallback","family","familyName","farthestViewportElement","fastSeek","fatal","featureId","featurePolicy","featureSettings","features","fenceSync","fetch","fetchStart","fftSize","fgColor","fieldOfView","file","fileCreatedDate","fileHandle","fileModifiedDate","fileName","fileSize","fileUpdatedDate","filename","files","filesystem","fill","fill-opacity","fill-rule","fillLightMode","fillOpacity","fillRect","fillRule","fillStyle","fillText","filter","filterResX","filterResY","filterUnits","filters","finally","find","findIndex","findRule","findText","finish","finished","fireEvent","firesTouchEvents","firstChild","firstElementChild","firstPage","fixed","flags","flat","flatMap","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","flipX","flipY","float","float32","float64","flood-color","flood-opacity","floodColor","floodOpacity","floor","flush","focus","focusNode","focusOffset","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontSize","fontSizeAdjust","fontSmoothingEnabled","fontStretch","fontStyle","fontSynthesis","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","fontcolor","fontfaces","fonts","fontsize","for","forEach","force","forceRedraw","form","formAction","formData","formEnctype","formMethod","formNoValidate","formTarget","format","formatToParts","forms","forward","forwardX","forwardY","forwardZ","foundation","fr","fragmentDirective","frame","frameBorder","frameElement","frameSpacing","framebuffer","framebufferHeight","framebufferRenderbuffer","framebufferTexture2D","framebufferTextureLayer","framebufferWidth","frames","freeSpace","freeze","frequency","frequencyBinCount","from","fromCharCode","fromCodePoint","fromElement","fromEntries","fromFloat32Array","fromFloat64Array","fromMatrix","fromPoint","fromQuad","fromRect","frontFace","fround","fullPath","fullScreen","fullscreen","fullscreenElement","fullscreenEnabled","fx","fy","gain","gamepad","gamma","gap","gatheringState","gatt","genderIdentity","generateCertificate","generateKey","generateMipmap","generateRequest","geolocation","gestureObject","get","getActiveAttrib","getActiveUniform","getActiveUniformBlockName","getActiveUniformBlockParameter","getActiveUniforms","getAdjacentText","getAll","getAllKeys","getAllResponseHeaders","getAllowlistForFeature","getAnimations","getAsFile","getAsString","getAttachedShaders","getAttribLocation","getAttribute","getAttributeNS","getAttributeNames","getAttributeNode","getAttributeNodeNS","getAttributeType","getAudioTracks","getAvailability","getBBox","getBattery","getBigInt64","getBigUint64","getBlob","getBookmark","getBoundingClientRect","getBounds","getBoxQuads","getBufferParameter","getBufferSubData","getByteFrequencyData","getByteTimeDomainData","getCSSCanvasContext","getCTM","getCandidateWindowClientRect","getCanonicalLocales","getCapabilities","getChannelData","getCharNumAtPosition","getCharacteristic","getCharacteristics","getClientExtensionResults","getClientRect","getClientRects","getCoalescedEvents","getCompositionAlternatives","getComputedStyle","getComputedTextLength","getComputedTiming","getConfiguration","getConstraints","getContext","getContextAttributes","getContributingSources","getCounterValue","getCueAsHTML","getCueById","getCurrentPosition","getCurrentTime","getData","getDatabaseNames","getDate","getDay","getDefaultComputedStyle","getDescriptor","getDescriptors","getDestinationInsertionPoints","getDevices","getDirectory","getDisplayMedia","getDistributedNodes","getEditable","getElementById","getElementsByClassName","getElementsByName","getElementsByTagName","getElementsByTagNameNS","getEnclosureList","getEndPositionOfChar","getEntries","getEntriesByName","getEntriesByType","getError","getExtension","getExtentOfChar","getEyeParameters","getFeature","getFile","getFiles","getFilesAndDirectories","getFingerprints","getFloat32","getFloat64","getFloatFrequencyData","getFloatTimeDomainData","getFloatValue","getFragDataLocation","getFrameData","getFramebufferAttachmentParameter","getFrequencyResponse","getFullYear","getGamepads","getHitTestResults","getHitTestResultsForTransientInput","getHours","getIdentityAssertion","getIds","getImageData","getIndexedParameter","getInstalledRelatedApps","getInt16","getInt32","getInt8","getInternalformatParameter","getIntersectionList","getItem","getItems","getKey","getKeyframes","getLayers","getLayoutMap","getLineDash","getLocalCandidates","getLocalParameters","getLocalStreams","getMarks","getMatchedCSSRules","getMaxGCPauseSinceClear","getMeasures","getMetadata","getMilliseconds","getMinutes","getModifierState","getMonth","getNamedItem","getNamedItemNS","getNativeFramebufferScaleFactor","getNotifications","getNotifier","getNumberOfChars","getOffsetReferenceSpace","getOutputTimestamp","getOverrideHistoryNavigationMode","getOverrideStyle","getOwnPropertyDescriptor","getOwnPropertyDescriptors","getOwnPropertyNames","getOwnPropertySymbols","getParameter","getParameters","getParent","getPathSegAtLength","getPhotoCapabilities","getPhotoSettings","getPointAtLength","getPose","getPredictedEvents","getPreference","getPreferenceDefault","getPresentationAttribute","getPreventDefault","getPrimaryService","getPrimaryServices","getProgramInfoLog","getProgramParameter","getPropertyCSSValue","getPropertyPriority","getPropertyShorthand","getPropertyType","getPropertyValue","getPrototypeOf","getQuery","getQueryParameter","getRGBColorValue","getRandomValues","getRangeAt","getReader","getReceivers","getRectValue","getRegistration","getRegistrations","getRemoteCandidates","getRemoteCertificates","getRemoteParameters","getRemoteStreams","getRenderbufferParameter","getResponseHeader","getRoot","getRootNode","getRotationOfChar","getSVGDocument","getSamplerParameter","getScreenCTM","getSeconds","getSelectedCandidatePair","getSelection","getSenders","getService","getSettings","getShaderInfoLog","getShaderParameter","getShaderPrecisionFormat","getShaderSource","getSimpleDuration","getSiteIcons","getSources","getSpeculativeParserUrls","getStartPositionOfChar","getStartTime","getState","getStats","getStatusForPolicy","getStorageUpdates","getStreamById","getStringValue","getSubStringLength","getSubscription","getSupportedConstraints","getSupportedExtensions","getSupportedFormats","getSyncParameter","getSynchronizationSources","getTags","getTargetRanges","getTexParameter","getTime","getTimezoneOffset","getTiming","getTotalLength","getTrackById","getTracks","getTransceivers","getTransform","getTransformFeedbackVarying","getTransformToElement","getTransports","getType","getTypeMapping","getUTCDate","getUTCDay","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","getUint16","getUint32","getUint8","getUniform","getUniformBlockIndex","getUniformIndices","getUniformLocation","getUserMedia","getVRDisplays","getValues","getVarDate","getVariableValue","getVertexAttrib","getVertexAttribOffset","getVideoPlaybackQuality","getVideoTracks","getViewerPose","getViewport","getVoices","getWakeLockState","getWriter","getYear","givenName","global","globalAlpha","globalCompositeOperation","globalThis","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","go","grabFrame","grad","gradientTransform","gradientUnits","grammars","green","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","gripSpace","group","groupCollapsed","groupEnd","groupId","hadRecentInput","hand","handedness","hapticActuators","hardwareConcurrency","has","hasAttribute","hasAttributeNS","hasAttributes","hasBeenActive","hasChildNodes","hasComposition","hasEnrolledInstrument","hasExtension","hasExternalDisplay","hasFeature","hasFocus","hasInstance","hasLayout","hasOrientation","hasOwnProperty","hasPointerCapture","hasPosition","hasReading","hasStorageAccess","hash","head","headers","heading","height","hidden","hide","hideFocus","high","highWaterMark","hint","history","honorificPrefix","honorificSuffix","horizontalOverflow","host","hostCandidate","hostname","href","hrefTranslate","hreflang","hspace","html5TagCheckInerface","htmlFor","htmlText","httpEquiv","httpRequestStatusCode","hwTimestamp","hyphens","hypot","iccId","iceConnectionState","iceGatheringState","iceTransport","icon","iconURL","id","identifier","identity","idpLoginUrl","ignoreBOM","ignoreCase","ignoreDepthValues","image-orientation","image-rendering","imageHeight","imageOrientation","imageRendering","imageSizes","imageSmoothingEnabled","imageSmoothingQuality","imageSrcset","imageWidth","images","ime-mode","imeMode","implementation","importKey","importNode","importStylesheet","imports","impp","imul","in","in1","in2","inBandMetadataTrackDispatchType","inRange","includes","incremental","indeterminate","index","indexNames","indexOf","indexedDB","indicate","inertiaDestinationX","inertiaDestinationY","info","init","initAnimationEvent","initBeforeLoadEvent","initClipboardEvent","initCloseEvent","initCommandEvent","initCompositionEvent","initCustomEvent","initData","initDataType","initDeviceMotionEvent","initDeviceOrientationEvent","initDragEvent","initErrorEvent","initEvent","initFocusEvent","initGestureEvent","initHashChangeEvent","initKeyEvent","initKeyboardEvent","initMSManipulationEvent","initMessageEvent","initMouseEvent","initMouseScrollEvent","initMouseWheelEvent","initMutationEvent","initNSMouseEvent","initOverflowEvent","initPageEvent","initPageTransitionEvent","initPointerEvent","initPopStateEvent","initProgressEvent","initScrollAreaEvent","initSimpleGestureEvent","initStorageEvent","initTextEvent","initTimeEvent","initTouchEvent","initTransitionEvent","initUIEvent","initWebKitAnimationEvent","initWebKitTransitionEvent","initWebKitWheelEvent","initWheelEvent","initialTime","initialize","initiatorType","inline-size","inlineSize","inlineVerticalFieldOfView","inner","innerHTML","innerHeight","innerText","innerWidth","input","inputBuffer","inputEncoding","inputMethod","inputMode","inputSource","inputSources","inputType","inputs","insertAdjacentElement","insertAdjacentHTML","insertAdjacentText","insertBefore","insertCell","insertDTMF","insertData","insertItemBefore","insertNode","insertRow","insertRule","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","installing","instanceRoot","instantiate","instantiateStreaming","instruments","int16","int32","int8","integrity","interactionMode","intercept","interfaceClass","interfaceName","interfaceNumber","interfaceProtocol","interfaceSubclass","interfaces","interimResults","internalSubset","interpretation","intersectionRatio","intersectionRect","intersectsNode","interval","invalidIteratorState","invalidateFramebuffer","invalidateSubFramebuffer","inverse","invertSelf","is","is2D","isActive","isAlternate","isArray","isBingCurrentSearchDefault","isBuffer","isCandidateWindowVisible","isChar","isCollapsed","isComposing","isConcatSpreadable","isConnected","isContentEditable","isContentHandlerRegistered","isContextLost","isDefaultNamespace","isDirectory","isDisabled","isEnabled","isEqual","isEqualNode","isExtensible","isExternalCTAP2SecurityKeySupported","isFile","isFinite","isFramebuffer","isFrozen","isGenerator","isHTML","isHistoryNavigation","isId","isIdentity","isInjected","isInteger","isIntersecting","isLockFree","isMap","isMultiLine","isNaN","isOpen","isPointInFill","isPointInPath","isPointInRange","isPointInStroke","isPrefAlternate","isPresenting","isPrimary","isProgram","isPropertyImplicit","isProtocolHandlerRegistered","isPrototypeOf","isQuery","isRenderbuffer","isSafeInteger","isSameNode","isSampler","isScript","isScriptURL","isSealed","isSecureContext","isSessionSupported","isShader","isSupported","isSync","isTextEdit","isTexture","isTransformFeedback","isTrusted","isTypeSupported","isUserVerifyingPlatformAuthenticatorAvailable","isVertexArray","isView","isVisible","isochronousTransferIn","isochronousTransferOut","isolation","italics","item","itemId","itemProp","itemRef","itemScope","itemType","itemValue","items","iterateNext","iterationComposite","iterator","javaEnabled","jobTitle","join","json","justify-content","justify-items","justify-self","justifyContent","justifyItems","justifySelf","k1","k2","k3","k4","kHz","keepalive","kernelMatrix","kernelUnitLengthX","kernelUnitLengthY","kerning","key","keyCode","keyFor","keyIdentifier","keyLightEnabled","keyLocation","keyPath","keyStatuses","keySystem","keyText","keyUsage","keyboard","keys","keytype","kind","knee","label","labels","lang","language","languages","largeArcFlag","lastChild","lastElementChild","lastEventId","lastIndex","lastIndexOf","lastInputTime","lastMatch","lastMessageSubject","lastMessageType","lastModified","lastModifiedDate","lastPage","lastParen","lastState","lastStyleSheetSet","latitude","layerX","layerY","layoutFlow","layoutGrid","layoutGridChar","layoutGridLine","layoutGridMode","layoutGridType","lbound","left","leftContext","leftDegrees","leftMargin","leftProjectionMatrix","leftViewMatrix","length","lengthAdjust","lengthComputable","letter-spacing","letterSpacing","level","lighting-color","lightingColor","limitingConeAngle","line","line-break","line-height","lineAlign","lineBreak","lineCap","lineDashOffset","lineHeight","lineJoin","lineNumber","lineTo","lineWidth","linearAcceleration","linearRampToValueAtTime","linearVelocity","lineno","lines","link","linkColor","linkProgram","links","list","list-style","list-style-image","list-style-position","list-style-type","listStyle","listStyleImage","listStylePosition","listStyleType","listener","load","loadEventEnd","loadEventStart","loadTime","loadTimes","loaded","loading","localDescription","localName","localService","localStorage","locale","localeCompare","location","locationbar","lock","locked","lockedFile","locks","log","log10","log1p","log2","logicalXDPI","logicalYDPI","longDesc","longitude","lookupNamespaceURI","lookupPrefix","loop","loopEnd","loopStart","looping","low","lower","lowerBound","lowerOpen","lowsrc","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44","makeXRCompatible","manifest","manufacturer","manufacturerName","map","mapping","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginHeight","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginWidth","mark","marker","marker-end","marker-mid","marker-offset","marker-start","markerEnd","markerHeight","markerMid","markerOffset","markerStart","markerUnits","markerWidth","marks","mask","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-position-x","mask-position-y","mask-repeat","mask-size","mask-type","maskClip","maskComposite","maskContentUnits","maskImage","maskMode","maskOrigin","maskPosition","maskPositionX","maskPositionY","maskRepeat","maskSize","maskType","maskUnits","match","matchAll","matchMedia","matchMedium","matches","matrix","matrixTransform","max","max-block-size","max-height","max-inline-size","max-width","maxActions","maxAlternatives","maxBlockSize","maxChannelCount","maxChannels","maxConnectionsPerServer","maxDecibels","maxDistance","maxHeight","maxInlineSize","maxLayers","maxLength","maxMessageSize","maxPacketLifeTime","maxRetransmits","maxTouchPoints","maxValue","maxWidth","measure","measureText","media","mediaCapabilities","mediaDevices","mediaElement","mediaGroup","mediaKeys","mediaSession","mediaStream","mediaText","meetOrSlice","memory","menubar","mergeAttributes","message","messageClass","messageHandlers","messageType","metaKey","metadata","method","methodDetails","methodName","mid","mimeType","mimeTypes","min","min-block-size","min-height","min-inline-size","min-width","minBlockSize","minDecibels","minHeight","minInlineSize","minLength","minValue","minWidth","miterLimit","mix-blend-mode","mixBlendMode","mm","mode","modify","mount","move","moveBy","moveEnd","moveFirst","moveFocusDown","moveFocusLeft","moveFocusRight","moveFocusUp","moveNext","moveRow","moveStart","moveTo","moveToBookmark","moveToElementText","moveToPoint","movementX","movementY","mozAdd","mozAnimationStartTime","mozAnon","mozApps","mozAudioCaptured","mozAudioChannelType","mozAutoplayEnabled","mozCancelAnimationFrame","mozCancelFullScreen","mozCancelRequestAnimationFrame","mozCaptureStream","mozCaptureStreamUntilEnded","mozClearDataAt","mozContact","mozContacts","mozCreateFileHandle","mozCurrentTransform","mozCurrentTransformInverse","mozCursor","mozDash","mozDashOffset","mozDecodedFrames","mozExitPointerLock","mozFillRule","mozFragmentEnd","mozFrameDelay","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozGetAll","mozGetAllKeys","mozGetAsFile","mozGetDataAt","mozGetMetadata","mozGetUserMedia","mozHasAudio","mozHasItem","mozHidden","mozImageSmoothingEnabled","mozIndexedDB","mozInnerScreenX","mozInnerScreenY","mozInputSource","mozIsTextField","mozItem","mozItemCount","mozItems","mozLength","mozLockOrientation","mozMatchesSelector","mozMovementX","mozMovementY","mozOpaque","mozOrientation","mozPaintCount","mozPaintedFrames","mozParsedFrames","mozPay","mozPointerLockElement","mozPresentedFrames","mozPreservesPitch","mozPressure","mozPrintCallback","mozRTCIceCandidate","mozRTCPeerConnection","mozRTCSessionDescription","mozRemove","mozRequestAnimationFrame","mozRequestFullScreen","mozRequestPointerLock","mozSetDataAt","mozSetImageElement","mozSourceNode","mozSrcObject","mozSystem","mozTCPSocket","mozTextStyle","mozTypesAt","mozUnlockOrientation","mozUserCancelled","mozVisibilityState","ms","msAnimation","msAnimationDelay","msAnimationDirection","msAnimationDuration","msAnimationFillMode","msAnimationIterationCount","msAnimationName","msAnimationPlayState","msAnimationStartTime","msAnimationTimingFunction","msBackfaceVisibility","msBlockProgression","msCSSOMElementFloatMetrics","msCaching","msCachingEnabled","msCancelRequestAnimationFrame","msCapsLockWarningOff","msClearImmediate","msClose","msContentZoomChaining","msContentZoomFactor","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msConvertURL","msCrypto","msDoNotTrack","msElementsFromPoint","msElementsFromRect","msExitFullscreen","msExtendedCode","msFillRule","msFirstPaint","msFlex","msFlexAlign","msFlexDirection","msFlexFlow","msFlexItemAlign","msFlexLinePack","msFlexNegative","msFlexOrder","msFlexPack","msFlexPositive","msFlexPreferredSize","msFlexWrap","msFlowFrom","msFlowInto","msFontFeatureSettings","msFullscreenElement","msFullscreenEnabled","msGetInputContext","msGetRegionContent","msGetUntransformedBounds","msGraphicsTrustStatus","msGridColumn","msGridColumnAlign","msGridColumnSpan","msGridColumns","msGridRow","msGridRowAlign","msGridRowSpan","msGridRows","msHidden","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImageSmoothingEnabled","msImeAlign","msIndexedDB","msInterpolationMode","msIsStaticHTML","msKeySystem","msKeys","msLaunchUri","msLockOrientation","msManipulationViewsEnabled","msMatchMedia","msMatchesSelector","msMaxTouchPoints","msOrientation","msOverflowStyle","msPerspective","msPerspectiveOrigin","msPlayToDisabled","msPlayToPreferredSourceUri","msPlayToPrimary","msPointerEnabled","msRegionOverflow","msReleasePointerCapture","msRequestAnimationFrame","msRequestFullscreen","msSaveBlob","msSaveOrOpenBlob","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msSetImmediate","msSetMediaKeys","msSetPointerCapture","msTextCombineHorizontal","msTextSizeAdjust","msToBlob","msTouchAction","msTouchSelect","msTraceAsyncCallbackCompleted","msTraceAsyncCallbackStarting","msTraceAsyncOperationCompleted","msTraceAsyncOperationStarting","msTransform","msTransformOrigin","msTransformStyle","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUnlockOrientation","msUpdateAsyncCallbackRelation","msUserSelect","msVisibilityState","msWrapFlow","msWrapMargin","msWrapThrough","msWriteProfilerMark","msZoom","msZoomTo","mt","mul","multiEntry","multiSelectionObj","multiline","multiple","multiply","multiplySelf","mutableFile","muted","n","name","nameProp","namedItem","namedRecordset","names","namespaceURI","namespaces","naturalHeight","naturalWidth","navigate","navigation","navigationMode","navigationPreload","navigationStart","navigator","near","nearestViewportElement","negative","negotiated","netscape","networkState","newScale","newTranslate","newURL","newValue","newValueSpecifiedUnits","newVersion","newhome","next","nextElementSibling","nextHopProtocol","nextNode","nextPage","nextSibling","nickname","noHref","noModule","noResize","noShade","noValidate","noWrap","node","nodeName","nodeType","nodeValue","nonce","normalize","normalizedPathSegList","notationName","notations","note","noteGrainOn","noteOff","noteOn","notify","now","numOctaves","number","numberOfChannels","numberOfInputs","numberOfItems","numberOfOutputs","numberValue","oMatchesSelector","object","object-fit","object-position","objectFit","objectPosition","objectStore","objectStoreNames","objectType","observe","of","offscreenBuffering","offset","offset-anchor","offset-distance","offset-path","offset-rotate","offsetAnchor","offsetDistance","offsetHeight","offsetLeft","offsetNode","offsetParent","offsetPath","offsetRotate","offsetTop","offsetWidth","offsetX","offsetY","ok","oldURL","oldValue","oldVersion","olderShadowRoot","onLine","onabort","onabsolutedeviceorientation","onactivate","onactive","onaddsourcebuffer","onaddstream","onaddtrack","onafterprint","onafterscriptexecute","onafterupdate","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onappinstalled","onaudioend","onaudioprocess","onaudiostart","onautocomplete","onautocompleteerror","onauxclick","onbeforeactivate","onbeforecopy","onbeforecut","onbeforedeactivate","onbeforeeditfocus","onbeforeinstallprompt","onbeforepaste","onbeforeprint","onbeforescriptexecute","onbeforeunload","onbeforeupdate","onbeforexrselect","onbegin","onblocked","onblur","onbounce","onboundary","onbufferedamountlow","oncached","oncancel","oncandidatewindowhide","oncandidatewindowshow","oncandidatewindowupdate","oncanplay","oncanplaythrough","once","oncellchange","onchange","oncharacteristicvaluechanged","onchargingchange","onchargingtimechange","onchecking","onclick","onclose","onclosing","oncompassneedscalibration","oncomplete","onconnect","onconnecting","onconnectionavailable","onconnectionstatechange","oncontextmenu","oncontrollerchange","oncontrolselect","oncopy","oncuechange","oncut","ondataavailable","ondatachannel","ondatasetchanged","ondatasetcomplete","ondblclick","ondeactivate","ondevicechange","ondevicelight","ondevicemotion","ondeviceorientation","ondeviceorientationabsolute","ondeviceproximity","ondischargingtimechange","ondisconnect","ondisplay","ondownloading","ondrag","ondragend","ondragenter","ondragexit","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onencrypted","onend","onended","onenter","onenterpictureinpicture","onerror","onerrorupdate","onexit","onfilterchange","onfinish","onfocus","onfocusin","onfocusout","onformdata","onfreeze","onfullscreenchange","onfullscreenerror","ongatheringstatechange","ongattserverdisconnected","ongesturechange","ongestureend","ongesturestart","ongotpointercapture","onhashchange","onhelp","onicecandidate","onicecandidateerror","oniceconnectionstatechange","onicegatheringstatechange","oninactive","oninput","oninputsourceschange","oninvalid","onkeydown","onkeypress","onkeystatuseschange","onkeyup","onlanguagechange","onlayoutcomplete","onleavepictureinpicture","onlevelchange","onload","onloadeddata","onloadedmetadata","onloadend","onloading","onloadingdone","onloadingerror","onloadstart","onlosecapture","onlostpointercapture","only","onmark","onmessage","onmessageerror","onmidimessage","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onmove","onmoveend","onmovestart","onmozfullscreenchange","onmozfullscreenerror","onmozorientationchange","onmozpointerlockchange","onmozpointerlockerror","onmscontentzoom","onmsfullscreenchange","onmsfullscreenerror","onmsgesturechange","onmsgesturedoubletap","onmsgestureend","onmsgesturehold","onmsgesturestart","onmsgesturetap","onmsgotpointercapture","onmsinertiastart","onmslostpointercapture","onmsmanipulationstatechanged","onmsneedkey","onmsorientationchange","onmspointercancel","onmspointerdown","onmspointerenter","onmspointerhover","onmspointerleave","onmspointermove","onmspointerout","onmspointerover","onmspointerup","onmssitemodejumplistitemremoved","onmsthumbnailclick","onmute","onnegotiationneeded","onnomatch","onnoupdate","onobsolete","onoffline","ononline","onopen","onorientationchange","onpagechange","onpagehide","onpageshow","onpaste","onpause","onpayerdetailchange","onpaymentmethodchange","onplay","onplaying","onpluginstreamstart","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointerlockchange","onpointerlockerror","onpointermove","onpointerout","onpointerover","onpointerrawupdate","onpointerup","onpopstate","onprocessorerror","onprogress","onpropertychange","onratechange","onreading","onreadystatechange","onrejectionhandled","onrelease","onremove","onremovesourcebuffer","onremovestream","onremovetrack","onrepeat","onreset","onresize","onresizeend","onresizestart","onresourcetimingbufferfull","onresult","onresume","onrowenter","onrowexit","onrowsdelete","onrowsinserted","onscroll","onsearch","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectedcandidatepairchange","onselectend","onselectionchange","onselectstart","onshippingaddresschange","onshippingoptionchange","onshow","onsignalingstatechange","onsoundend","onsoundstart","onsourceclose","onsourceclosed","onsourceended","onsourceopen","onspeechend","onspeechstart","onsqueeze","onsqueezeend","onsqueezestart","onstalled","onstart","onstatechange","onstop","onstorage","onstoragecommit","onsubmit","onsuccess","onsuspend","onterminate","ontextinput","ontimeout","ontimeupdate","ontoggle","ontonechange","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontrack","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onunhandledrejection","onunload","onunmute","onupdate","onupdateend","onupdatefound","onupdateready","onupdatestart","onupgradeneeded","onuserproximity","onversionchange","onvisibilitychange","onvoiceschanged","onvolumechange","onvrdisplayactivate","onvrdisplayconnect","onvrdisplaydeactivate","onvrdisplaydisconnect","onvrdisplaypresentchange","onwaiting","onwaitingforkey","onwarning","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkitcurrentplaybacktargetiswirelesschanged","onwebkitfullscreenchange","onwebkitfullscreenerror","onwebkitkeyadded","onwebkitkeyerror","onwebkitkeymessage","onwebkitneedkey","onwebkitorientationchange","onwebkitplaybacktargetavailabilitychanged","onwebkitpointerlockchange","onwebkitpointerlockerror","onwebkitresourcetimingbufferfull","onwebkittransitionend","onwheel","onzoom","opacity","open","openCursor","openDatabase","openKeyCursor","opened","opener","opera","operationType","operator","opr","optimum","options","or","order","orderX","orderY","ordered","org","organization","orient","orientAngle","orientType","orientation","orientationX","orientationY","orientationZ","origin","originalPolicy","originalTarget","orphans","oscpu","outerHTML","outerHeight","outerText","outerWidth","outline","outline-color","outline-offset","outline-style","outline-width","outlineColor","outlineOffset","outlineStyle","outlineWidth","outputBuffer","outputLatency","outputs","overflow","overflow-anchor","overflow-block","overflow-inline","overflow-wrap","overflow-x","overflow-y","overflowAnchor","overflowBlock","overflowInline","overflowWrap","overflowX","overflowY","overrideMimeType","oversample","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","ownKeys","ownerDocument","ownerElement","ownerNode","ownerRule","ownerSVGElement","owningElement","p1","p2","p3","p4","packetSize","packets","pad","padEnd","padStart","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","page-break-after","page-break-before","page-break-inside","pageBreakAfter","pageBreakBefore","pageBreakInside","pageCount","pageLeft","pageTop","pageX","pageXOffset","pageY","pageYOffset","pages","paint-order","paintOrder","paintRequests","paintType","paintWorklet","palette","pan","panningModel","parameters","parent","parentElement","parentNode","parentRule","parentStyleSheet","parentTextEdit","parentWindow","parse","parseAll","parseFloat","parseFromString","parseInt","part","participants","passive","password","pasteHTML","path","pathLength","pathSegList","pathSegType","pathSegTypeAsLetter","pathname","pattern","patternContentUnits","patternMismatch","patternTransform","patternUnits","pause","pauseAnimations","pauseOnExit","pauseProfilers","pauseTransformFeedback","paused","payerEmail","payerName","payerPhone","paymentManager","pc","peerIdentity","pending","pendingLocalDescription","pendingRemoteDescription","percent","performance","periodicSync","permission","permissionState","permissions","persist","persisted","personalbar","perspective","perspective-origin","perspectiveOrigin","phone","phoneticFamilyName","phoneticGivenName","photo","pictureInPictureElement","pictureInPictureEnabled","pictureInPictureWindow","ping","pipeThrough","pipeTo","pitch","pixelBottom","pixelDepth","pixelHeight","pixelLeft","pixelRight","pixelStorei","pixelTop","pixelUnitToMillimeterX","pixelUnitToMillimeterY","pixelWidth","place-content","place-items","place-self","placeContent","placeItems","placeSelf","placeholder","platform","platforms","play","playEffect","playState","playbackRate","playbackState","playbackTime","played","playoutDelayHint","playsInline","plugins","pluginspage","pname","pointer-events","pointerBeforeReferenceNode","pointerEnabled","pointerEvents","pointerId","pointerLockElement","pointerType","points","pointsAtX","pointsAtY","pointsAtZ","polygonOffset","pop","populateMatrix","popupWindowFeatures","popupWindowName","popupWindowURI","port","port1","port2","ports","posBottom","posHeight","posLeft","posRight","posTop","posWidth","pose","position","positionAlign","positionX","positionY","positionZ","postError","postMessage","postalCode","poster","pow","powerEfficient","powerOff","preMultiplySelf","precision","preferredStyleSheetSet","preferredStylesheetSet","prefix","preload","prepend","presentation","preserveAlpha","preserveAspectRatio","preserveAspectRatioString","pressed","pressure","prevValue","preventDefault","preventExtensions","preventSilentAccess","previousElementSibling","previousNode","previousPage","previousRect","previousScale","previousSibling","previousTranslate","primaryKey","primitiveType","primitiveUnits","principals","print","priority","privateKey","probablySupportsContext","process","processIceMessage","processingEnd","processingStart","product","productId","productName","productSub","profile","profileEnd","profiles","projectionMatrix","promise","prompt","properties","propertyIsEnumerable","propertyName","protocol","protocolLong","prototype","provider","pseudoClass","pseudoElement","pt","publicId","publicKey","published","pulse","push","pushManager","pushNotification","pushState","put","putImageData","px","quadraticCurveTo","qualifier","quaternion","query","queryCommandEnabled","queryCommandIndeterm","queryCommandState","queryCommandSupported","queryCommandText","queryCommandValue","querySelector","querySelectorAll","queueMicrotask","quote","quotes","r","r1","r2","race","rad","radiogroup","radiusX","radiusY","random","range","rangeCount","rangeMax","rangeMin","rangeOffset","rangeOverflow","rangeParent","rangeUnderflow","rate","ratio","raw","rawId","read","readAsArrayBuffer","readAsBinaryString","readAsBlob","readAsDataURL","readAsText","readBuffer","readEntries","readOnly","readPixels","readReportRequested","readText","readValue","readable","ready","readyState","reason","reboot","receivedAlert","receiver","receivers","recipient","reconnect","recordNumber","recordsAvailable","recordset","rect","red","redEyeReduction","redirect","redirectCount","redirectEnd","redirectStart","redirected","reduce","reduceRight","reduction","refDistance","refX","refY","referenceNode","referenceSpace","referrer","referrerPolicy","refresh","region","regionAnchorX","regionAnchorY","regionId","regions","register","registerContentHandler","registerElement","registerProperty","registerProtocolHandler","reject","rel","relList","relatedAddress","relatedNode","relatedPort","relatedTarget","release","releaseCapture","releaseEvents","releaseInterface","releaseLock","releasePointerCapture","releaseShaderCompiler","reliable","reliableWrite","reload","rem","remainingSpace","remote","remoteDescription","remove","removeAllRanges","removeAttribute","removeAttributeNS","removeAttributeNode","removeBehavior","removeChild","removeCue","removeEventListener","removeFilter","removeImport","removeItem","removeListener","removeNamedItem","removeNamedItemNS","removeNode","removeParameter","removeProperty","removeRange","removeRegion","removeRule","removeSiteSpecificTrackingException","removeSourceBuffer","removeStream","removeTrack","removeVariable","removeWakeLockListener","removeWebWideTrackingException","removed","removedNodes","renderHeight","renderState","renderTime","renderWidth","renderbufferStorage","renderbufferStorageMultisample","renderedBuffer","renderingMode","renotify","repeat","replace","replaceAdjacentText","replaceAll","replaceChild","replaceChildren","replaceData","replaceId","replaceItem","replaceNode","replaceState","replaceSync","replaceTrack","replaceWholeText","replaceWith","reportValidity","request","requestAnimationFrame","requestAutocomplete","requestData","requestDevice","requestFrame","requestFullscreen","requestHitTestSource","requestHitTestSourceForTransientInput","requestId","requestIdleCallback","requestMIDIAccess","requestMediaKeySystemAccess","requestPermission","requestPictureInPicture","requestPointerLock","requestPresent","requestReferenceSpace","requestSession","requestStart","requestStorageAccess","requestSubmit","requestVideoFrameCallback","requestingWindow","requireInteraction","required","requiredExtensions","requiredFeatures","reset","resetPose","resetTransform","resize","resizeBy","resizeTo","resolve","response","responseBody","responseEnd","responseReady","responseStart","responseText","responseType","responseURL","responseXML","restartIce","restore","result","resultIndex","resultType","results","resume","resumeProfilers","resumeTransformFeedback","retry","returnValue","rev","reverse","reversed","revocable","revokeObjectURL","rgbColor","right","rightContext","rightDegrees","rightMargin","rightProjectionMatrix","rightViewMatrix","role","rolloffFactor","root","rootBounds","rootElement","rootMargin","rotate","rotateAxisAngle","rotateAxisAngleSelf","rotateFromVector","rotateFromVectorSelf","rotateSelf","rotation","rotationAngle","rotationRate","round","row-gap","rowGap","rowIndex","rowSpan","rows","rtcpTransport","rtt","ruby-align","ruby-position","rubyAlign","rubyOverhang","rubyPosition","rules","runtime","runtimeStyle","rx","ry","s","safari","sample","sampleCoverage","sampleRate","samplerParameterf","samplerParameteri","sandbox","save","saveData","scale","scale3d","scale3dSelf","scaleNonUniform","scaleNonUniformSelf","scaleSelf","scheme","scissor","scope","scopeName","scoped","screen","screenBrightness","screenEnabled","screenLeft","screenPixelToMillimeterX","screenPixelToMillimeterY","screenTop","screenX","screenY","scriptURL","scripts","scroll","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","scrollAmount","scrollBehavior","scrollBy","scrollByLines","scrollByPages","scrollDelay","scrollHeight","scrollIntoView","scrollIntoViewIfNeeded","scrollLeft","scrollLeftMax","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollMaxX","scrollMaxY","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollRestoration","scrollSnapAlign","scrollSnapType","scrollTo","scrollTop","scrollTopMax","scrollWidth","scrollX","scrollY","scrollbar-color","scrollbar-width","scrollbar3dLightColor","scrollbarArrowColor","scrollbarBaseColor","scrollbarColor","scrollbarDarkShadowColor","scrollbarFaceColor","scrollbarHighlightColor","scrollbarShadowColor","scrollbarTrackColor","scrollbarWidth","scrollbars","scrolling","scrollingElement","sctp","sctpCauseCode","sdp","sdpLineNumber","sdpMLineIndex","sdpMid","seal","search","searchBox","searchBoxJavaBridge_","searchParams","sectionRowIndex","secureConnectionStart","security","seed","seekToNextFrame","seekable","seeking","select","selectAllChildren","selectAlternateInterface","selectConfiguration","selectNode","selectNodeContents","selectNodes","selectSingleNode","selectSubString","selected","selectedIndex","selectedOptions","selectedStyleSheetSet","selectedStylesheetSet","selection","selectionDirection","selectionEnd","selectionStart","selector","selectorText","self","send","sendAsBinary","sendBeacon","sender","sentAlert","sentTimestamp","separator","serialNumber","serializeToString","serverTiming","service","serviceWorker","session","sessionId","sessionStorage","set","setActionHandler","setActive","setAlpha","setAppBadge","setAttribute","setAttributeNS","setAttributeNode","setAttributeNodeNS","setBaseAndExtent","setBigInt64","setBigUint64","setBingCurrentSearchDefault","setCapture","setCodecPreferences","setColor","setCompositeOperation","setConfiguration","setCurrentTime","setCustomValidity","setData","setDate","setDragImage","setEnd","setEndAfter","setEndBefore","setEndPoint","setFillColor","setFilterRes","setFloat32","setFloat64","setFloatValue","setFormValue","setFullYear","setHeaderValue","setHours","setIdentityProvider","setImmediate","setInt16","setInt32","setInt8","setInterval","setItem","setKeyframes","setLineCap","setLineDash","setLineJoin","setLineWidth","setLiveSeekableRange","setLocalDescription","setMatrix","setMatrixValue","setMediaKeys","setMilliseconds","setMinutes","setMiterLimit","setMonth","setNamedItem","setNamedItemNS","setNonUserCodeExceptions","setOrientToAngle","setOrientToAuto","setOrientation","setOverrideHistoryNavigationMode","setPaint","setParameter","setParameters","setPeriodicWave","setPointerCapture","setPosition","setPositionState","setPreference","setProperty","setPrototypeOf","setRGBColor","setRGBColorICCColor","setRadius","setRangeText","setRemoteDescription","setRequestHeader","setResizable","setResourceTimingBufferSize","setRotate","setScale","setSeconds","setSelectionRange","setServerCertificate","setShadow","setSinkId","setSkewX","setSkewY","setStart","setStartAfter","setStartBefore","setStdDeviation","setStreams","setStringValue","setStrokeColor","setSuggestResult","setTargetAtTime","setTargetValueAtTime","setTime","setTimeout","setTransform","setTranslate","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setUint16","setUint32","setUint8","setUri","setValidity","setValueAtTime","setValueCurveAtTime","setVariable","setVelocity","setVersion","setYear","settingName","settingValue","sex","shaderSource","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","shadowRoot","shape","shape-image-threshold","shape-margin","shape-outside","shape-rendering","shapeImageThreshold","shapeMargin","shapeOutside","shapeRendering","sheet","shift","shiftKey","shiftLeft","shippingAddress","shippingOption","shippingType","show","showHelp","showModal","showModalDialog","showModelessDialog","showNotification","sidebar","sign","signal","signalingState","signature","silent","sin","singleNodeValue","sinh","sinkId","sittingToStandingTransform","size","sizeToContent","sizeX","sizeZ","sizes","skewX","skewXSelf","skewY","skewYSelf","slice","slope","slot","small","smil","smooth","smoothingTimeConstant","snapToLines","snapshotItem","snapshotLength","some","sort","sortingCode","source","sourceBuffer","sourceBuffers","sourceCapabilities","sourceFile","sourceIndex","sources","spacing","span","speak","speakAs","speaking","species","specified","specularConstant","specularExponent","speechSynthesis","speed","speedOfSound","spellcheck","splice","split","splitText","spreadMethod","sqrt","src","srcElement","srcFilter","srcObject","srcUrn","srcdoc","srclang","srcset","stack","stackTraceLimit","stacktrace","stageParameters","standalone","standby","start","startContainer","startIce","startMessages","startNotifications","startOffset","startProfiling","startRendering","startShark","startTime","startsWith","state","status","statusCode","statusMessage","statusText","statusbar","stdDeviationX","stdDeviationY","stencilFunc","stencilFuncSeparate","stencilMask","stencilMaskSeparate","stencilOp","stencilOpSeparate","step","stepDown","stepMismatch","stepUp","sticky","stitchTiles","stop","stop-color","stop-opacity","stopColor","stopImmediatePropagation","stopNotifications","stopOpacity","stopProfiling","stopPropagation","stopShark","stopped","storage","storageArea","storageName","storageStatus","store","storeSiteSpecificTrackingException","storeWebWideTrackingException","stpVersion","stream","streams","stretch","strike","string","stringValue","stringify","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeRect","strokeStyle","strokeText","strokeWidth","style","styleFloat","styleMap","styleMedia","styleSheet","styleSheetSets","styleSheets","sub","subarray","subject","submit","submitFrame","submitter","subscribe","substr","substring","substringData","subtle","subtree","suffix","suffixes","summary","sup","supported","supportedContentEncodings","supportedEntryTypes","supports","supportsSession","surfaceScale","surroundContents","suspend","suspendRedraw","swapCache","swapNode","sweepFlag","symbols","sync","sysexEnabled","system","systemCode","systemId","systemLanguage","systemXDPI","systemYDPI","tBodies","tFoot","tHead","tabIndex","table","table-layout","tableLayout","tableValues","tag","tagName","tagUrn","tags","taintEnabled","takePhoto","takeRecords","tan","tangentialPressure","tanh","target","targetElement","targetRayMode","targetRaySpace","targetTouches","targetX","targetY","tcpType","tee","tel","terminate","test","texImage2D","texImage3D","texParameterf","texParameteri","texStorage2D","texStorage3D","texSubImage2D","texSubImage3D","text","text-align","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","textAlign","textAlignLast","textAnchor","textAutospace","textBaseline","textCombineUpright","textContent","textDecoration","textDecorationBlink","textDecorationColor","textDecorationLine","textDecorationLineThrough","textDecorationNone","textDecorationOverline","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textDecorationUnderline","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textJustifyTrim","textKashida","textKashidaSpace","textLength","textOrientation","textOverflow","textRendering","textShadow","textTracks","textTransform","textUnderlineOffset","textUnderlinePosition","then","threadId","threshold","thresholds","tiltX","tiltY","time","timeEnd","timeLog","timeOrigin","timeRemaining","timeStamp","timecode","timeline","timelineTime","timeout","timestamp","timestampOffset","timing","title","to","toArray","toBlob","toDataURL","toDateString","toElement","toExponential","toFixed","toFloat32Array","toFloat64Array","toGMTString","toISOString","toJSON","toLocaleDateString","toLocaleFormat","toLocaleLowerCase","toLocaleString","toLocaleTimeString","toLocaleUpperCase","toLowerCase","toMatrix","toMethod","toPrecision","toPrimitive","toSdp","toSource","toStaticHTML","toString","toStringTag","toSum","toTimeString","toUTCString","toUpperCase","toggle","toggleAttribute","toggleLongPressEnabled","tone","toneBuffer","tooLong","tooShort","toolbar","top","topMargin","total","totalFrameDelay","totalVideoFrames","touch-action","touchAction","touched","touches","trace","track","trackVisibility","transaction","transactions","transceiver","transferControlToOffscreen","transferFromImageBitmap","transferImageBitmap","transferIn","transferOut","transferSize","transferToImageBitmap","transform","transform-box","transform-origin","transform-style","transformBox","transformFeedbackVaryings","transformOrigin","transformPoint","transformString","transformStyle","transformToDocument","transformToFragment","transition","transition-delay","transition-duration","transition-property","transition-timing-function","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","translateSelf","translationX","translationY","transport","trim","trimEnd","trimLeft","trimRight","trimStart","trueSpeed","trunc","truncate","trustedTypes","turn","twist","type","typeDetail","typeMismatch","typeMustMatch","types","u2f","ubound","uint16","uint32","uint8","uint8Clamped","undefined","unescape","uneval","unicode","unicode-bidi","unicodeBidi","unicodeRange","uniform1f","uniform1fv","uniform1i","uniform1iv","uniform1ui","uniform1uiv","uniform2f","uniform2fv","uniform2i","uniform2iv","uniform2ui","uniform2uiv","uniform3f","uniform3fv","uniform3i","uniform3iv","uniform3ui","uniform3uiv","uniform4f","uniform4fv","uniform4i","uniform4iv","uniform4ui","uniform4uiv","uniformBlockBinding","uniformMatrix2fv","uniformMatrix2x3fv","uniformMatrix2x4fv","uniformMatrix3fv","uniformMatrix3x2fv","uniformMatrix3x4fv","uniformMatrix4fv","uniformMatrix4x2fv","uniformMatrix4x3fv","unique","uniqueID","uniqueNumber","unit","unitType","units","unloadEventEnd","unloadEventStart","unlock","unmount","unobserve","unpause","unpauseAnimations","unreadCount","unregister","unregisterContentHandler","unregisterProtocolHandler","unscopables","unselectable","unshift","unsubscribe","unsuspendRedraw","unsuspendRedrawAll","unwatch","unwrapKey","upDegrees","upX","upY","upZ","update","updateCommands","updateIce","updateInterval","updatePlaybackRate","updateRenderState","updateSettings","updateTiming","updateViaCache","updateWith","updated","updating","upgrade","upload","uploadTotal","uploaded","upper","upperBound","upperOpen","uri","url","urn","urns","usages","usb","usbVersionMajor","usbVersionMinor","usbVersionSubminor","useCurrentView","useMap","useProgram","usedSpace","user-select","userActivation","userAgent","userChoice","userHandle","userHint","userLanguage","userSelect","userVisibleOnly","username","usernameFragment","utterance","uuid","v8BreakIterator","vAlign","vLink","valid","validate","validateProgram","validationMessage","validity","value","valueAsDate","valueAsNumber","valueAsString","valueInSpecifiedUnits","valueMissing","valueOf","valueText","valueType","values","variable","variant","variationSettings","vector-effect","vectorEffect","velocityAngular","velocityExpansion","velocityX","velocityY","vendor","vendorId","vendorSub","verify","version","vertexAttrib1f","vertexAttrib1fv","vertexAttrib2f","vertexAttrib2fv","vertexAttrib3f","vertexAttrib3fv","vertexAttrib4f","vertexAttrib4fv","vertexAttribDivisor","vertexAttribDivisorANGLE","vertexAttribI4i","vertexAttribI4iv","vertexAttribI4ui","vertexAttribI4uiv","vertexAttribIPointer","vertexAttribPointer","vertical","vertical-align","verticalAlign","verticalOverflow","vh","vibrate","vibrationActuator","videoBitsPerSecond","videoHeight","videoTracks","videoWidth","view","viewBox","viewBoxString","viewTarget","viewTargetString","viewport","viewportAnchorX","viewportAnchorY","viewportElement","views","violatedDirective","visibility","visibilityState","visible","visualViewport","vlinkColor","vmax","vmin","voice","voiceURI","volume","vrml","vspace","vw","w","wait","waitSync","waiting","wake","wakeLock","wand","warn","wasClean","wasDiscarded","watch","watchAvailability","watchPosition","webdriver","webkitAddKey","webkitAlignContent","webkitAlignItems","webkitAlignSelf","webkitAnimation","webkitAnimationDelay","webkitAnimationDirection","webkitAnimationDuration","webkitAnimationFillMode","webkitAnimationIterationCount","webkitAnimationName","webkitAnimationPlayState","webkitAnimationTimingFunction","webkitAppearance","webkitAudioContext","webkitAudioDecodedByteCount","webkitAudioPannerNode","webkitBackfaceVisibility","webkitBackground","webkitBackgroundAttachment","webkitBackgroundClip","webkitBackgroundColor","webkitBackgroundImage","webkitBackgroundOrigin","webkitBackgroundPosition","webkitBackgroundPositionX","webkitBackgroundPositionY","webkitBackgroundRepeat","webkitBackgroundSize","webkitBackingStorePixelRatio","webkitBorderBottomLeftRadius","webkitBorderBottomRightRadius","webkitBorderImage","webkitBorderImageOutset","webkitBorderImageRepeat","webkitBorderImageSlice","webkitBorderImageSource","webkitBorderImageWidth","webkitBorderRadius","webkitBorderTopLeftRadius","webkitBorderTopRightRadius","webkitBoxAlign","webkitBoxDirection","webkitBoxFlex","webkitBoxOrdinalGroup","webkitBoxOrient","webkitBoxPack","webkitBoxShadow","webkitBoxSizing","webkitCancelAnimationFrame","webkitCancelFullScreen","webkitCancelKeyRequest","webkitCancelRequestAnimationFrame","webkitClearResourceTimings","webkitClosedCaptionsVisible","webkitConvertPointFromNodeToPage","webkitConvertPointFromPageToNode","webkitCreateShadowRoot","webkitCurrentFullScreenElement","webkitCurrentPlaybackTargetIsWireless","webkitDecodedFrameCount","webkitDirectionInvertedFromDevice","webkitDisplayingFullscreen","webkitDroppedFrameCount","webkitEnterFullScreen","webkitEnterFullscreen","webkitEntries","webkitExitFullScreen","webkitExitFullscreen","webkitExitPointerLock","webkitFilter","webkitFlex","webkitFlexBasis","webkitFlexDirection","webkitFlexFlow","webkitFlexGrow","webkitFlexShrink","webkitFlexWrap","webkitFullScreenKeyboardInputAllowed","webkitFullscreenElement","webkitFullscreenEnabled","webkitGenerateKeyRequest","webkitGetAsEntry","webkitGetDatabaseNames","webkitGetEntries","webkitGetEntriesByName","webkitGetEntriesByType","webkitGetFlowByName","webkitGetGamepads","webkitGetImageDataHD","webkitGetNamedFlows","webkitGetRegionFlowRanges","webkitGetUserMedia","webkitHasClosedCaptions","webkitHidden","webkitIDBCursor","webkitIDBDatabase","webkitIDBDatabaseError","webkitIDBDatabaseException","webkitIDBFactory","webkitIDBIndex","webkitIDBKeyRange","webkitIDBObjectStore","webkitIDBRequest","webkitIDBTransaction","webkitImageSmoothingEnabled","webkitIndexedDB","webkitInitMessageEvent","webkitIsFullScreen","webkitJustifyContent","webkitKeys","webkitLineClamp","webkitLineDashOffset","webkitLockOrientation","webkitMask","webkitMaskClip","webkitMaskComposite","webkitMaskImage","webkitMaskOrigin","webkitMaskPosition","webkitMaskPositionX","webkitMaskPositionY","webkitMaskRepeat","webkitMaskSize","webkitMatchesSelector","webkitMediaStream","webkitNotifications","webkitOfflineAudioContext","webkitOrder","webkitOrientation","webkitPeerConnection00","webkitPersistentStorage","webkitPerspective","webkitPerspectiveOrigin","webkitPointerLockElement","webkitPostMessage","webkitPreservesPitch","webkitPutImageDataHD","webkitRTCPeerConnection","webkitRegionOverset","webkitRelativePath","webkitRequestAnimationFrame","webkitRequestFileSystem","webkitRequestFullScreen","webkitRequestFullscreen","webkitRequestPointerLock","webkitResolveLocalFileSystemURL","webkitSetMediaKeys","webkitSetResourceTimingBufferSize","webkitShadowRoot","webkitShowPlaybackTargetPicker","webkitSlice","webkitSpeechGrammar","webkitSpeechGrammarList","webkitSpeechRecognition","webkitSpeechRecognitionError","webkitSpeechRecognitionEvent","webkitStorageInfo","webkitSupportsFullscreen","webkitTemporaryStorage","webkitTextFillColor","webkitTextSizeAdjust","webkitTextStroke","webkitTextStrokeColor","webkitTextStrokeWidth","webkitTransform","webkitTransformOrigin","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitURL","webkitUnlockOrientation","webkitUserSelect","webkitVideoDecodedByteCount","webkitVisibilityState","webkitWirelessVideoPlaybackDisabled","webkitdirectory","webkitdropzone","webstore","weight","whatToShow","wheelDelta","wheelDeltaX","wheelDeltaY","whenDefined","which","white-space","whiteSpace","wholeText","widows","width","will-change","willChange","willValidate","window","withCredentials","word-break","word-spacing","word-wrap","wordBreak","wordSpacing","wordWrap","workerStart","wrap","wrapKey","writable","writableAuxiliaries","write","writeText","writeValue","writeWithoutResponse","writeln","writing-mode","writingMode","x","x1","x2","xChannelSelector","xmlEncoding","xmlStandalone","xmlVersion","xmlbase","xmllang","xmlspace","xor","xr","y","y1","y2","yChannelSelector","yandex","z","z-index","zIndex","zoom","zoomAndPan","zoomRectScreen"];function find_builtins(E){pi.forEach(add);var N=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"];var R={};var j=typeof global==="object"?global:self;N.forEach((function(E){R[E]=j[E]||new Function}));["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(add);[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,R.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,R.Map,parseFloat,parseInt,R.Promise,R.Proxy,RangeError,ReferenceError,R.Reflect,R.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,R.WeakMap,R.WeakSet].forEach((function(E){Object.getOwnPropertyNames(E).map(add);if(E.prototype){Object.getOwnPropertyNames(E.prototype).map(add)}}));function add(N){E.add(N)}}function reserve_quoted_keys(E,N){function add(E){push_uniq(N,E)}E.walk(new TreeWalker((function(E){if(E instanceof wr&&E.quote){add(E.key)}else if(E instanceof Ar&&E.quote){add(E.key.name)}else if(E instanceof _r){addStrings(E.property,add)}})))}function addStrings(E,N){E.walk(new TreeWalker((function(E){if(E instanceof fr){addStrings(E.tail_node(),N)}else if(E instanceof mn){N(E.value)}else if(E instanceof Er){addStrings(E.consequent,N);addStrings(E.alternative,N)}return true})))}function mangle_properties(E,N){N=defaults(N,{builtins:false,cache:null,debug:false,keep_quoted:false,only_cache:false,regex:null,reserved:null,undeclared:false},true);var R=N.reserved;if(!Array.isArray(R))R=[R];var j=new Set(R);if(!N.builtins)find_builtins(j);var $=-1;var q=-1;var G;var ie=new Map;if(N.cache){G=N.cache.props;G.forEach((function(E){j.add(E)}))}else{G=new Map}var ae=N.regex&&new RegExp(N.regex);var ce=N.debug!==false;var le;if(ce){le=N.debug===true?"":N.debug}var _e=new Set;var Ee=new Set;var Te=new Set;var we=N.keep_quoted==="strict";E.walk(new TreeWalker((function(E){if(E instanceof Br||E instanceof Mr){Te.add(E.key.name)}else if(E instanceof hr){Te.add(E.property)}else if(E instanceof wr){if(typeof E.key=="string"&&(!we||!E.quote)){add(E.key)}}else if(E instanceof Ar){if(!we||!E.key.end.quote){add(E.key.name)}}else if(E instanceof gr){var R=!!N.undeclared;if(!R){var j=E;while(j.expression){j=j.expression}R=!(j.thedef&&j.thedef.undeclared)}if(R&&(!we||!E.quote)){add(E.property)}}else if(E instanceof _r){if(!we){addStrings(E.property,add)}}else if(E instanceof dr&&E.expression.print_to_string()=="Object.defineProperty"){addStrings(E.args[1],add)}else if(E instanceof Sr&&E.operator==="in"){addStrings(E.left,add)}})));return E.transform(new TreeTransformer((function(E){if(E instanceof Br||E instanceof Mr){E.key.name=mangle_private(E.key.name)}else if(E instanceof hr){E.property=mangle_private(E.property)}else if(E instanceof wr){if(typeof E.key=="string"&&(!we||!E.quote)){E.key=mangle(E.key)}}else if(E instanceof Ar){if(!we||!E.key.end.quote){E.key.name=mangle(E.key.name)}}else if(E instanceof gr){if(!we||!E.quote){E.property=mangle(E.property)}}else if(!N.keep_quoted&&E instanceof _r){E.property=mangleStrings(E.property)}else if(E instanceof dr&&E.expression.print_to_string()=="Object.defineProperty"){E.args[1]=mangleStrings(E.args[1])}else if(E instanceof Sr&&E.operator==="in"){E.left=mangleStrings(E.left)}})));function can_mangle(E){if(Ee.has(E))return false;if(j.has(E))return false;if(N.only_cache){return G.has(E)}if(/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(E))return false;return true}function should_mangle(E){if(ae&&!ae.test(E))return false;if(j.has(E))return false;return G.has(E)||_e.has(E)}function add(E){if(can_mangle(E))_e.add(E);if(!should_mangle(E)){Ee.add(E)}}function mangle(E){if(!should_mangle(E)){return E}var N=G.get(E);if(!N){if(ce){var R="_$"+E+"$"+le+"_";if(can_mangle(R)){N=R}}if(!N){do{N=Un(++$)}while(!can_mangle(N))}G.set(E,N)}return N}function mangle_private(E){let N=ie.get(E);if(!N){N=Un(++q);ie.set(E,N)}return N}function mangleStrings(E){return E.transform(new TreeTransformer((function(E){if(E instanceof fr){var N=E.expressions.length-1;E.expressions[N]=mangleStrings(E.expressions[N])}else if(E instanceof mn){E.value=mangle(E.value)}else if(E instanceof Er){E.consequent=mangleStrings(E.consequent);E.alternative=mangleStrings(E.alternative)}return E})))}}var fi=typeof atob=="undefined"?function(E){return Buffer.from(E,"base64").toString()}:atob;var mi=typeof btoa=="undefined"?function(E){return Buffer.from(E).toString("base64")}:btoa;function read_source_map(E){var N=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(E);if(!N){console.warn("inline source map not found");return null}return fi(N[2])}function set_shorthand(E,N,R){if(N[E]){R.forEach((function(R){if(N[R]){if(typeof N[R]!="object")N[R]={};if(!(E in N[R]))N[R][E]=N[E]}}))}}function init_cache(E){if(!E)return;if(!("props"in E)){E.props=new Map}else if(!(E.props instanceof Map)){E.props=map_from_object(E.props)}}function cache_to_json(E){return{props:map_to_object(E.props)}}async function minify(E,N){N=defaults(N,{compress:{},ecma:undefined,enclose:false,ie8:false,keep_classnames:undefined,keep_fnames:false,mangle:{},module:false,nameCache:null,output:null,format:null,parse:{},rename:undefined,safari10:false,sourceMap:false,spidermonkey:false,timings:false,toplevel:false,warnings:false,wrap:false},true);var R=N.timings&&{start:Date.now()};if(N.keep_classnames===undefined){N.keep_classnames=N.keep_fnames}if(N.rename===undefined){N.rename=N.compress&&N.mangle}if(N.output&&N.format){throw new Error("Please only specify either output or format option, preferrably format.")}N.format=N.format||N.output||{};set_shorthand("ecma",N,["parse","compress","format"]);set_shorthand("ie8",N,["compress","mangle","format"]);set_shorthand("keep_classnames",N,["compress","mangle"]);set_shorthand("keep_fnames",N,["compress","mangle"]);set_shorthand("module",N,["parse","compress","mangle"]);set_shorthand("safari10",N,["mangle","format"]);set_shorthand("toplevel",N,["compress","mangle"]);set_shorthand("warnings",N,["compress"]);var j;if(N.mangle){N.mangle=defaults(N.mangle,{cache:N.nameCache&&(N.nameCache.vars||{}),eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,properties:false,reserved:[],safari10:false,toplevel:false},true);if(N.mangle.properties){if(typeof N.mangle.properties!="object"){N.mangle.properties={}}if(N.mangle.properties.keep_quoted){j=N.mangle.properties.reserved;if(!Array.isArray(j))j=[];N.mangle.properties.reserved=j}if(N.nameCache&&!("cache"in N.mangle.properties)){N.mangle.properties.cache=N.nameCache.props||{}}}init_cache(N.mangle.cache);init_cache(N.mangle.properties.cache)}if(N.sourceMap){N.sourceMap=defaults(N.sourceMap,{asObject:false,content:null,filename:null,includeSources:false,root:null,url:null},true)}if(R)R.parse=Date.now();var $;if(E instanceof Dt){$=E}else{if(typeof E=="string"||N.parse.spidermonkey&&!Array.isArray(E)){E=[E]}N.parse=N.parse||{};N.parse.toplevel=null;if(N.parse.spidermonkey){N.parse.toplevel=ot.from_mozilla_ast(Object.keys(E).reduce((function(N,R){if(!N)return E[R];N.body=N.body.concat(E[R].body);return N}),null))}else{delete N.parse.spidermonkey;for(var q in E)if(HOP(E,q)){N.parse.filename=q;N.parse.toplevel=parse(E[q],N.parse);if(N.sourceMap&&N.sourceMap.content=="inline"){if(Object.keys(E).length>1)throw new Error("inline source map only works with singular input");N.sourceMap.content=read_source_map(E[q])}}}$=N.parse.toplevel}if(j&&N.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys($,j)}if(N.wrap){$=$.wrap_commonjs(N.wrap)}if(N.enclose){$=$.wrap_enclose(N.enclose)}if(R)R.rename=Date.now();if(R)R.compress=Date.now();if(N.compress){$=new Compressor(N.compress,{mangle_options:N.mangle}).compress($)}if(R)R.scope=Date.now();if(N.mangle)$.figure_out_scope(N.mangle);if(R)R.mangle=Date.now();if(N.mangle){Un.reset();$.compute_char_frequency(N.mangle);$.mangle_names(N.mangle)}if(R)R.properties=Date.now();if(N.mangle&&N.mangle.properties){$=mangle_properties($,N.mangle.properties)}if(R)R.format=Date.now();var G={};if(N.format.ast){G.ast=$}if(N.format.spidermonkey){G.ast=$.to_mozilla_ast()}if(!HOP(N.format,"code")||N.format.code){if(N.sourceMap){N.format.source_map=await SourceMap({file:N.sourceMap.filename,orig:N.sourceMap.content,root:N.sourceMap.root});if(N.sourceMap.includeSources){if(E instanceof Dt){throw new Error("original source content unavailable")}else for(var q in E)if(HOP(E,q)){N.format.source_map.get().setSourceContent(q,E[q])}}}delete N.format.ast;delete N.format.code;delete N.format.spidermonkey;var ie=OutputStream(N.format);$.print(ie);G.code=ie.get();if(N.sourceMap){if(N.sourceMap.asObject){G.map=N.format.source_map.get().toJSON()}else{G.map=N.format.source_map.toString()}if(N.sourceMap.url=="inline"){var ae=typeof G.map==="object"?JSON.stringify(G.map):G.map;G.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+mi(ae)}else if(N.sourceMap.url){G.code+="\n//# sourceMappingURL="+N.sourceMap.url}}}if(N.nameCache&&N.mangle){if(N.mangle.cache)N.nameCache.vars=cache_to_json(N.mangle.cache);if(N.mangle.properties&&N.mangle.properties.cache){N.nameCache.props=cache_to_json(N.mangle.properties.cache)}}if(N.format&&N.format.source_map){N.format.source_map.destroy()}if(R){R.end=Date.now();G.timings={parse:.001*(R.rename-R.parse),rename:.001*(R.compress-R.rename),compress:.001*(R.scope-R.compress),scope:.001*(R.mangle-R.scope),mangle:.001*(R.properties-R.mangle),properties:.001*(R.format-R.properties),format:.001*(R.end-R.format),total:.001*(R.end-R.start)}}return G}async function run_cli({program:E,packageJson:N,fs:j,path:$}){const q=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var G={};var ie={compress:false,mangle:false};const ae=await _default_options();E.version(N.name+" "+N.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var N in ae){E.push("--"+(N==="sourceMap"?"source-map":N)+" options:");E.push(format_object(ae[N]));E.push("")}return E.join("\n")};E.option("-p, --parse <options>","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output <file>","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file <file>","Read minify() options from JSON file.");E.option("-d, --define <expr>[=value]","Global definitions.",parse_js("define"));E.option("--ecma <version>","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache <file>","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap <name>","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ie=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(N){if(N in E){ie[N]=E[N]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const N=E.ecma|0;if(N>5&&N<2015)ie.ecma=N+2009;else ie.ecma=N}if(E.format||E.beautify){const N=E.format||E.beautify;ie.format=typeof N==="object"?N:{}}if(E.comments){if(typeof ie.format!="object")ie.format={};ie.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ie.compress!="object")ie.compress={};if(typeof ie.compress.global_defs!="object")ie.compress.global_defs={};for(var ce in E.define){ie.compress.global_defs[ce]=E.define[ce]}}if(E.keepClassnames){ie.keep_classnames=true}if(E.keepFnames){ie.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ie.mangle!="object")ie.mangle={};ie.mangle.properties=E.mangleProps}if(E.nameCache){ie.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ie.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ie.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ie.rename=true}else if(!E.rename){ie.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var N=E.sourceMap.base;delete ie.sourceMap.base;return function(E){return $.relative(N,E)}}()}let le;if(ie.files&&ie.files.length){le=ie.files;delete ie.files}else if(E.args.length){le=E.args}if(le){simple_glob(le).forEach((function(E){G[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var N=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){N.push(E)})).on("end",(function(){G=[N.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return ot.from_mozilla_ast(Object.keys(G).reduce(E,null))}async function run_cli(){var N=E.sourceMap&&E.sourceMap.content;if(N&&N!=="inline"){ie.sourceMap.content=read_file(N,N)}if(E.timings)ie.timings=true;try{if(E.parse){if(E.parse.acorn){G=convert_ast((function(N,j){return R(20976).parse(G[j],{ecmaVersion:2018,locations:true,program:N,sourceFile:j,sourceType:ie.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){G=convert_ast((function(E,N){var R=JSON.parse(G[N]);if(!E)return R;E.body=E.body.concat(R.body);return E}))}}}catch(E){fatal(E)}let $;try{$=await minify(G,ie)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var ae=E.col;var ce=G[E.filename].split(/\r?\n/);var le=ce[E.line-1];if(!le&&!ae){le=ce[E.line-2];ae=le.length}if(le){var _e=70;if(ae>_e){le=le.slice(ae-_e);ae=_e}print_error(le.slice(0,80));print_error(le.slice(0,ae).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ie.compress&&!ie.mangle){$.ast.figure_out_scope({})}console.log(JSON.stringify($.ast,(function(E,N){if(N)switch(E){case"thedef":return symdef(N);case"enclosed":return N.length?N.map(symdef):undefined;case"variables":case"globals":return N.size?collect_from_map(N,symdef):undefined}if(q.has(E))return;if(N instanceof AST_Token)return;if(N instanceof Map)return;if(N instanceof ot){var R={_class:"AST_"+N.TYPE};if(N.block_scope){R.variables=N.block_scope.variables;R.enclosed=N.block_scope.enclosed}N.CTOR.PROPS.forEach((function(E){R[E]=N[E]}));return R}return N}),2))}else if(E.output=="spidermonkey"){try{const E=await minify($.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){j.writeFileSync(E.output,$.code);if(ie.sourceMap&&ie.sourceMap.url!=="inline"&&$.map){j.writeFileSync(E.output+".map",$.map)}}else{console.log($.code)}if(E.nameCache){j.writeFileSync(E.nameCache,JSON.stringify(ie.nameCache))}if($.timings)for(var Ee in $.timings){print_error("- "+Ee+": "+$.timings[Ee].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var N=$.dirname(E);try{var R=j.readdirSync(N)}catch(E){}if(R){var q="^"+$.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var G=process.platform==="win32"?"i":"";var ie=new RegExp(q,G);var ae=R.filter((function(E){return ie.test(E)})).map((function(E){return $.join(N,E)}));if(ae.length)return ae}}return[E]}function read_file(E,N){try{return j.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&N!=null)return N;fatal(E)}}function parse_js(E){return function(N,R){R=R||{};try{walk(parse(N,{expression:true}),(N=>{if(N instanceof Tr){var j=N.left.print_to_string();var $=N.right;if(E){R[j]=$}else if($ instanceof Cr){R[j]=$.elements.map(to_string)}else if($ instanceof _n){$=$.value;R[j]=new RegExp($.source,$.flags)}else{R[j]=to_string($)}return true}if(N instanceof zr||N instanceof mr){var j=N.print_to_string();R[j]=true;return true}if(!(N instanceof fr))throw N;function to_string(E){return E instanceof pn?E.getValue():E.print_to_string({quote_keys:true})}}))}catch(j){if(E){fatal("Error parsing arguments for '"+E+"': "+N)}else{R[N]=null}}return R}}function symdef(E){var N=1e6+E.id+" "+E.name;if(E.mangled_name)N+=" "+E.mangled_name;return N}function collect_from_map(E,N){var R=[];E.forEach((function(E){R.push(N(E))}));return R}function format_object(E){var N=[];var R="";Object.keys(E).map((function(N){if(R.length<N.length)R=Array(N.length+1).join(" ");return[N,JSON.stringify(E[N])]})).forEach((function(E){N.push(" "+E[0]+R.slice(E[0].length-2)+E[1])}));return N.join("\n")}function print_error(E){process.stderr.write(E);process.stderr.write("\n")}function describe_ast(){var E=OutputStream({beautify:true});function doitem(N){E.print("AST_"+N.TYPE);const R=N.SELF_PROPS.filter((E=>!/^\$/.test(E)));if(R.length>0){E.space();E.with_parens((function(){R.forEach((function(N,R){if(R)E.space();E.print(N)}))}))}if(N.documentation){E.space();E.print_string(N.documentation)}if(N.SUBCLASSES.length>0){E.space();E.with_block((function(){N.SUBCLASSES.forEach((function(N){E.indent();doitem(N);E.newline()}))}))}}doitem(ot);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((N=>{const R=infer_options({[N]:{0:0}});if(R)E[N]=R}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},76218:(E,N)=>{"use strict";N.parse=parse,N.init=void 0;const R=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,N="@"){if(!j)return $.then((()=>parse(E)));const q=E.length+1,G=(j.__heap_base.value||j.__heap_base)+4*q-j.memory.buffer.byteLength;G>0&&j.memory.grow(Math.ceil(G/65536));const ie=j.sa(q-1);if((R?C:Q)(E,new Uint16Array(j.memory.buffer,ie,q)),!j.parse())throw Object.assign(new Error(`Parse error ${N}:${E.slice(0,j.e()).split("\n").length}:${j.e()-E.lastIndexOf("\n",j.e()-1)}`),{idx:j.e()});const ae=[],ce=[];for(;j.ri();){const N=j.is(),R=j.ie(),$=j.ai(),q=j.id(),G=j.ss(),ie=j.se();let ce;j.ip()&&(ce=J(E.slice(-1===q?N-1:N,-1===q?R+1:R))),ae.push({n:ce,s:N,e:R,ss:G,se:ie,d:q,a:$})}for(;j.re();){const N=E.slice(j.es(),j.ee()),R=N[0];ce.push('"'===R||"'"===R?J(N):N)}function J(E){try{return(0,eval)(E)}catch(E){}}return[ae,ce,!!j.f()]}function Q(E,N){const R=E.length;let j=0;for(;j<R;){const R=E.charCodeAt(j);N[j++]=(255&R)<<8|R>>>8}}function C(E,N){const R=E.length;let j=0;for(;j<R;)N[j]=E.charCodeAt(j++)}let j;const $=WebAssembly.compile((q="AGFzbQEAAAABXA1gAX8Bf2AEf39/fwBgAn9/AGAAAX9gBn9/f39/fwF/YAAAYAF/AGAEf39/fwF/YAN/f38Bf2AHf39/f39/fwF/YAV/f39/fwF/YAJ/fwF/YAh/f39/f39/fwF/AzEwAAECAwMDAwMDAwMDAwMDAwAABAUFBQYFBgAAAAAFBQAEBwgJCgsMAAIAAAALAwkMBAUBcAEBAQUDAQABBg8CfwFB8PAAC38AQfDwAAsHZBEGbWVtb3J5AgACc2EAAAFlAAMCaXMABAJpZQAFAnNzAAYCc2UABwJhaQAIAmlkAAkCaXAACgJlcwALAmVlAAwCcmkADQJyZQAOAWYADwVwYXJzZQAQC19faGVhcF9iYXNlAwEK8jkwaAEBf0EAIAA2ArgIQQAoApAIIgEgAEEBdGoiAEEAOwEAQQAgAEECaiIANgK8CEEAIAA2AsAIQQBBADYClAhBAEEANgKkCEEAQQA2ApwIQQBBADYCmAhBAEEANgKsCEEAQQA2AqAIIAELsgEBAn9BACgCpAgiBEEcakGUCCAEG0EAKALACCIFNgIAQQAgBTYCpAhBACAENgKoCEEAIAVBIGo2AsAIIAUgADYCCAJAAkBBACgCiAggA0cNACAFIAI2AgwMAQsCQEEAKAKECCADRw0AIAUgAkECajYCDAwBCyAFQQAoApAINgIMCyAFIAE2AgAgBSADNgIUIAVBADYCECAFIAI2AgQgBUEANgIcIAVBACgChAggA0Y6ABgLSAEBf0EAKAKsCCICQQhqQZgIIAIbQQAoAsAIIgI2AgBBACACNgKsCEEAIAJBDGo2AsAIIAJBADYCCCACIAE2AgQgAiAANgIACwgAQQAoAsQICxUAQQAoApwIKAIAQQAoApAIa0EBdQsVAEEAKAKcCCgCBEEAKAKQCGtBAXULFQBBACgCnAgoAghBACgCkAhrQQF1CxUAQQAoApwIKAIMQQAoApAIa0EBdQseAQF/QQAoApwIKAIQIgBBACgCkAhrQQF1QX8gABsLOwEBfwJAQQAoApwIKAIUIgBBACgChAhHDQBBfw8LAkAgAEEAKAKICEcNAEF+DwsgAEEAKAKQCGtBAXULCwBBACgCnAgtABgLFQBBACgCoAgoAgBBACgCkAhrQQF1CxUAQQAoAqAIKAIEQQAoApAIa0EBdQslAQF/QQBBACgCnAgiAEEcakGUCCAAGygCACIANgKcCCAAQQBHCyUBAX9BAEEAKAKgCCIAQQhqQZgIIAAbKAIAIgA2AqAIIABBAEcLCABBAC0AyAgL9gsBBH8jAEGA8ABrIgEkAEEAQQE6AMgIQQBB//8DOwHOCEEAQQAoAowINgLQCEEAQQAoApAIQX5qIgI2AuQIQQAgAkEAKAK4CEEBdGoiAzYC6AhBAEEAOwHKCEEAQQA7AcwIQQBBADoA1AhBAEEANgLECEEAQQA6ALQIQQAgAUGA0ABqNgLYCEEAIAFBgBBqNgLcCEEAQQA6AOAIAkACQAJAAkADQEEAIAJBAmoiBDYC5AggAiADTw0BAkAgBC8BACIDQXdqQQVJDQACQAJAAkACQAJAIANBm39qDgUBCAgIAgALIANBIEYNBCADQS9GDQMgA0E7Rg0CDAcLQQAvAcwIDQEgBBARRQ0BIAJBBGpB+ABB8ABB7wBB8gBB9AAQEkUNARATQQAtAMgIDQFBAEEAKALkCCICNgLQCAwHCyAEEBFFDQAgAkEEakHtAEHwAEHvAEHyAEH0ABASRQ0AEBQLQQBBACgC5Ag2AtAIDAELAkAgAi8BBCIEQSpGDQAgBEEvRw0EEBUMAQtBARAWC0EAKALoCCEDQQAoAuQIIQIMAAsLQQAhAyAEIQJBAC0AtAgNAgwBC0EAIAI2AuQIQQBBADoAyAgLA0BBACACQQJqIgQ2AuQIAkACQAJAAkACQAJAIAJBACgC6AhPDQAgBC8BACIDQXdqQQVJDQUCQAJAAkACQAJAAkACQAJAAkACQCADQWBqDgoPDggODg4OBwECAAsCQAJAAkACQCADQaB/ag4KCBERAxEBERERAgALIANBhX9qDgMFEAYLC0EALwHMCA0PIAQQEUUNDyACQQRqQfgAQfAAQe8AQfIAQfQAEBJFDQ8QEwwPCyAEEBFFDQ4gAkEEakHtAEHwAEHvAEHyAEH0ABASRQ0OEBQMDgsgBBARRQ0NIAIvAQpB8wBHDQ0gAi8BCEHzAEcNDSACLwEGQeEARw0NIAIvAQRB7ABHDQ0gAi8BDCIEQXdqIgJBF0sNC0EBIAJ0QZ+AgARxRQ0LDAwLQQBBAC8BzAgiAkEBajsBzAhBACgC3AggAkECdGpBACgC0Ag2AgAMDAtBAC8BzAgiAkUNCEEAIAJBf2oiAzsBzAhBACgCsAgiAkUNCyACKAIUQQAoAtwIIANB//8DcUECdGooAgBHDQsCQCACKAIEDQAgAiAENgIECyACIAQ2AgxBAEEANgKwCAwLCwJAQQAoAtAIIgQvAQBBKUcNAEEAKAKkCCICRQ0AIAIoAgQgBEcNAEEAQQAoAqgIIgI2AqQIAkAgAkUNACACQQA2AhwMAQtBAEEANgKUCAsgAUEALwHMCCICakEALQDgCDoAAEEAIAJBAWo7AcwIQQAoAtwIIAJBAnRqIAQ2AgBBAEEAOgDgCAwKC0EALwHMCCICRQ0GQQAgAkF/aiIDOwHMCCACQQAvAc4IIgRHDQFBAEEALwHKCEF/aiICOwHKCEEAQQAoAtgIIAJB//8DcUEBdGovAQA7Ac4ICxAXDAgLIARB//8DRg0HIANB//8DcSAESQ0EDAcLQScQGAwGC0EiEBgMBQsgA0EvRw0EAkACQCACLwEEIgJBKkYNACACQS9HDQEQFQwHC0EBEBYMBgsCQAJAAkACQEEAKALQCCIELwEAIgIQGUUNAAJAAkACQCACQVVqDgQBBQIABQsgBEF+ai8BAEFQakH//wNxQQpJDQMMBAsgBEF+ai8BAEErRg0CDAMLIARBfmovAQBBLUYNAQwCCwJAIAJB/QBGDQAgAkEpRw0BQQAoAtwIQQAvAcwIQQJ0aigCABAaRQ0BDAILQQAoAtwIQQAvAcwIIgNBAnRqKAIAEBsNASABIANqLQAADQELIAQQHA0AIAJFDQBBASEEIAJBL0ZBAC0A1AhBAEdxRQ0BCxAdQQAhBAtBACAEOgDUCAwEC0EALwHOCEH//wNGQQAvAcwIRXFBAC0AtAhFcSEDDAYLEB5BACEDDAULIARBoAFHDQELQQBBAToA4AgLQQBBACgC5Ag2AtAIC0EAKALkCCECDAALCyABQYDwAGokACADCx0AAkBBACgCkAggAEcNAEEBDwsgAEF+ai8BABAfCz8BAX9BACEGAkAgAC8BCCAFRw0AIAAvAQYgBEcNACAALwEEIANHDQAgAC8BAiACRw0AIAAvAQAgAUYhBgsgBgvUBgEEf0EAQQAoAuQIIgBBDGoiATYC5AhBARAnIQICQAJAAkACQAJAQQAoAuQIIgMgAUcNACACECtFDQELAkACQAJAAkACQCACQZ9/ag4MBgEDCAEHAQEBAQEEAAsCQAJAIAJBKkYNACACQfYARg0FIAJB+wBHDQJBACADQQJqNgLkCEEBECchA0EAKALkCCEBA0ACQAJAIANB//8DcSICQSJGDQAgAkEnRg0AIAIQKhpBACgC5AghAgwBCyACEBhBAEEAKALkCEECaiICNgLkCAtBARAnGgJAIAEgAhAsIgNBLEcNAEEAQQAoAuQIQQJqNgLkCEEBECchAwtBACgC5AghAgJAIANB/QBGDQAgAiABRg0FIAIhASACQQAoAugITQ0BDAULC0EAIAJBAmo2AuQIDAELQQAgA0ECajYC5AhBARAnGkEAKALkCCICIAIQLBoLQQEQJyECC0EAKALkCCEDAkAgAkHmAEcNACADLwEGQe0ARw0AIAMvAQRB7wBHDQAgAy8BAkHyAEcNAEEAIANBCGo2AuQIIABBARAnECgPC0EAIANBfmo2AuQIDAMLEB4PCwJAIAMvAQhB8wBHDQAgAy8BBkHzAEcNACADLwEEQeEARw0AIAMvAQJB7ABHDQAgAy8BChAfRQ0AQQAgA0EKajYC5AhBARAnIQJBACgC5AghAyACECoaIANBACgC5AgQAkEAQQAoAuQIQX5qNgLkCA8LQQAgA0EEaiIDNgLkCAtBACADQQRqIgI2AuQIQQBBADoAyAgDQEEAIAJBAmo2AuQIQQEQJyEDQQAoAuQIIQICQCADECpBIHJB+wBHDQBBAEEAKALkCEF+ajYC5AgPC0EAKALkCCIDIAJGDQEgAiADEAICQEEBECciAkEsRg0AAkAgAkE9Rw0AQQBBACgC5AhBfmo2AuQIDwtBAEEAKALkCEF+ajYC5AgPC0EAKALkCCECDAALCw8LQQAgA0EKajYC5AhBARAnGkEAKALkCCEDC0EAIANBEGo2AuQIAkBBARAnIgJBKkcNAEEAQQAoAuQIQQJqNgLkCEEBECchAgtBACgC5AghAyACECoaIANBACgC5AgQAkEAQQAoAuQIQX5qNgLkCA8LIAMgA0EOahACC64GAQR/QQBBACgC5AgiAEEMaiIBNgLkCAJAAkACQAJAAkACQAJAAkACQAJAQQEQJyICQVlqDggCCAECAQEBBwALIAJBIkYNASACQfsARg0CC0EAKALkCCABRg0HC0EALwHMCA0BQQAoAuQIIQJBACgC6AghAwNAIAIgA08NBAJAAkAgAi8BACIBQSdGDQAgAUEiRw0BCyAAIAEQKA8LQQAgAkECaiICNgLkCAwACwtBACgC5AghAkEALwHMCA0BAkADQAJAAkACQCACQQAoAugITw0AQQEQJyICQSJGDQEgAkEnRg0BIAJB/QBHDQJBAEEAKALkCEECajYC5AgLQQEQJxpBACgC5AgiAi8BBkHtAEcNBiACLwEEQe8ARw0GIAIvAQJB8gBHDQYgAi8BAEHmAEcNBkEAIAJBCGo2AuQIQQEQJyICQSJGDQMgAkEnRg0DDAYLIAIQGAtBAEEAKALkCEECaiICNgLkCAwACwsgACACECgMBQtBAEEAKALkCEF+ajYC5AgPC0EAIAJBfmo2AuQIDwsQHg8LQQBBACgC5AhBAmo2AuQIQQEQJ0HtAEcNAUEAKALkCCICLwEGQeEARw0BIAIvAQRB9ABHDQEgAi8BAkHlAEcNAUEAKALQCC8BAEEuRg0BIAAgACACQQhqQQAoAogIEAEPC0EAKALcCEEALwHMCCICQQJ0aiAANgIAQQAgAkEBajsBzAhBACgC0AgvAQBBLkYNACAAQQAoAuQIQQJqQQAgABABQQBBACgCpAg2ArAIQQBBACgC5AhBAmo2AuQIAkBBARAnIgJBIkYNACACQSdGDQBBAEEAKALkCEF+ajYC5AgPCyACEBhBAEEAKALkCEECajYC5AgCQAJAAkBBARAnQVdqDgQBAgIAAgtBACgCpAhBACgC5AgiAjYCBEEAIAJBAmo2AuQIQQEQJxpBACgCpAgiAkEBOgAYIAJBACgC5AgiATYCEEEAIAFBfmo2AuQIDwtBACgCpAgiAkEBOgAYIAJBACgC5AgiATYCDCACIAE2AgRBAEEALwHMCEF/ajsBzAgPC0EAQQAoAuQIQX5qNgLkCA8LC0cBA39BACgC5AhBAmohAEEAKALoCCEBAkADQCAAIgJBfmogAU8NASACQQJqIQAgAi8BAEF2ag4EAQAAAQALC0EAIAI2AuQIC5gBAQN/QQBBACgC5AgiAUECajYC5AggAUEGaiEBQQAoAugIIQIDQAJAAkACQCABQXxqIAJPDQAgAUF+ai8BACEDAkACQCAADQAgA0EqRg0BIANBdmoOBAIEBAIECyADQSpHDQMLIAEvAQBBL0cNAkEAIAFBfmo2AuQIDAELIAFBfmohAQtBACABNgLkCA8LIAFBAmohAQwACwu/AQEEf0EAKALkCCEAQQAoAugIIQECQAJAA0AgACICQQJqIQAgAiABTw0BAkACQCAALwEAIgNBpH9qDgUBAgICBAALIANBJEcNASACLwEEQfsARw0BQQBBAC8ByggiAEEBajsByghBACgC2AggAEEBdGpBAC8Bzgg7AQBBACACQQRqNgLkCEEAQQAvAcwIQQFqIgA7Ac4IQQAgADsBzAgPCyACQQRqIQAMAAsLQQAgADYC5AgQHg8LQQAgADYC5AgLiAEBBH9BACgC5AghAUEAKALoCCECAkACQANAIAEiA0ECaiEBIAMgAk8NASABLwEAIgQgAEYNAgJAIARB3ABGDQAgBEF2ag4EAgEBAgELIANBBGohASADLwEEQQ1HDQAgA0EGaiABIAMvAQZBCkYbIQEMAAsLQQAgATYC5AgQHg8LQQAgATYC5AgLbAEBfwJAAkAgAEFfaiIBQQVLDQBBASABdEExcQ0BCyAAQUZqQf//A3FBBkkNACAAQSlHIABBWGpB//8DcUEHSXENAAJAIABBpX9qDgQBAAABAAsgAEH9AEcgAEGFf2pB//8DcUEESXEPC0EBCz0BAX9BASEBAkAgAEH3AEHoAEHpAEHsAEHlABAgDQAgAEHmAEHvAEHyABAhDQAgAEHpAEHmABAiIQELIAELmwEBAn9BASEBAkACQAJAAkACQAJAIAAvAQAiAkFFag4EBQQEAQALAkAgAkGbf2oOBAMEBAIACyACQSlGDQQgAkH5AEcNAyAAQX5qQeYAQekAQe4AQeEAQewAQewAECMPCyAAQX5qLwEAQT1GDwsgAEF+akHjAEHhAEH0AEHjABAkDwsgAEF+akHlAEHsAEHzABAhDwtBACEBCyABC9IDAQJ/QQAhAQJAAkACQAJAAkACQAJAAkACQCAALwEAQZx/ag4UAAECCAgICAgICAMECAgFCAYICAcICwJAAkAgAEF+ai8BAEGXf2oOBAAJCQEJCyAAQXxqQfYAQe8AECIPCyAAQXxqQfkAQekAQeUAECEPCwJAAkAgAEF+ai8BAEGNf2oOAgABCAsCQCAAQXxqLwEAIgJB4QBGDQAgAkHsAEcNCCAAQXpqQeUAECUPCyAAQXpqQeMAECUPCyAAQXxqQeQAQeUAQewAQeUAECQPCyAAQX5qLwEAQe8ARw0FIABBfGovAQBB5QBHDQUCQCAAQXpqLwEAIgJB8ABGDQAgAkHjAEcNBiAAQXhqQekAQe4AQfMAQfQAQeEAQe4AECMPCyAAQXhqQfQAQfkAECIPC0EBIQEgAEF+aiIAQekAECUNBCAAQfIAQeUAQfQAQfUAQfIAECAPCyAAQX5qQeQAECUPCyAAQX5qQeQAQeUAQeIAQfUAQecAQecAQeUAECYPCyAAQX5qQeEAQfcAQeEAQekAECQPCwJAIABBfmovAQAiAkHvAEYNACACQeUARw0BIABBfGpB7gAQJQ8LIABBfGpB9ABB6ABB8gAQISEBCyABC3ABAn8CQAJAA0BBAEEAKALkCCIAQQJqIgE2AuQIIABBACgC6AhPDQECQAJAAkAgAS8BACIBQaV/ag4CAQIACwJAIAFBdmoOBAQDAwQACyABQS9HDQIMBAsQLRoMAQtBACAAQQRqNgLkCAwACwsQHgsLNQEBf0EAQQE6ALQIQQAoAuQIIQBBAEEAKALoCEECajYC5AhBACAAQQAoApAIa0EBdTYCxAgLNAEBf0EBIQECQCAAQXdqQf//A3FBBUkNACAAQYABckGgAUYNACAAQS5HIAAQK3EhAQsgAQtJAQN/QQAhBgJAIABBeGoiB0EAKAKQCCIISQ0AIAcgASACIAMgBCAFEBJFDQACQCAHIAhHDQBBAQ8LIABBdmovAQAQHyEGCyAGC1kBA39BACEEAkAgAEF8aiIFQQAoApAIIgZJDQAgAC8BACADRw0AIABBfmovAQAgAkcNACAFLwEAIAFHDQACQCAFIAZHDQBBAQ8LIABBemovAQAQHyEECyAEC0wBA39BACEDAkAgAEF+aiIEQQAoApAIIgVJDQAgAC8BACACRw0AIAQvAQAgAUcNAAJAIAQgBUcNAEEBDwsgAEF8ai8BABAfIQMLIAMLSwEDf0EAIQcCQCAAQXZqIghBACgCkAgiCUkNACAIIAEgAiADIAQgBSAGEC5FDQACQCAIIAlHDQBBAQ8LIABBdGovAQAQHyEHCyAHC2YBA39BACEFAkAgAEF6aiIGQQAoApAIIgdJDQAgAC8BACAERw0AIABBfmovAQAgA0cNACAAQXxqLwEAIAJHDQAgBi8BACABRw0AAkAgBiAHRw0AQQEPCyAAQXhqLwEAEB8hBQsgBQs9AQJ/QQAhAgJAQQAoApAIIgMgAEsNACAALwEAIAFHDQACQCADIABHDQBBAQ8LIABBfmovAQAQHyECCyACC00BA39BACEIAkAgAEF0aiIJQQAoApAIIgpJDQAgCSABIAIgAyAEIAUgBiAHEC9FDQACQCAJIApHDQBBAQ8LIABBcmovAQAQHyEICyAIC5wBAQN/QQAoAuQIIQECQANAAkACQCABLwEAIgJBL0cNAAJAIAEvAQIiAUEqRg0AIAFBL0cNBBAVDAILIAAQFgwBCwJAAkAgAEUNACACQXdqIgFBF0sNAUEBIAF0QZ+AgARxRQ0BDAILIAIQKUUNAwwBCyACQaABRw0CC0EAQQAoAuQIIgNBAmoiATYC5AggA0EAKALoCEkNAAsLIAILywMBAX8CQCABQSJGDQAgAUEnRg0AEB4PC0EAKALkCCECIAEQGCAAIAJBAmpBACgC5AhBACgChAgQAUEAQQAoAuQIQQJqNgLkCEEAECchAEEAKALkCCEBAkACQCAAQeEARw0AIAFBAmpB8wBB8wBB5QBB8gBB9AAQEg0BC0EAIAFBfmo2AuQIDwtBACABQQxqNgLkCAJAQQEQJ0H7AEYNAEEAIAE2AuQIDwtBACgC5AgiAiEAA0BBACAAQQJqNgLkCAJAAkACQEEBECciAEEiRg0AIABBJ0cNAUEnEBhBAEEAKALkCEECajYC5AhBARAnIQAMAgtBIhAYQQBBACgC5AhBAmo2AuQIQQEQJyEADAELIAAQKiEACwJAIABBOkYNAEEAIAE2AuQIDwtBAEEAKALkCEECajYC5AgCQEEBECciAEEiRg0AIABBJ0YNAEEAIAE2AuQIDwsgABAYQQBBACgC5AhBAmo2AuQIAkACQEEBECciAEEsRg0AIABB/QBGDQFBACABNgLkCA8LQQBBACgC5AhBAmo2AuQIQQEQJ0H9AEYNAEEAKALkCCEADAELC0EAKAKkCCIBIAI2AhAgAUEAKALkCEECajYCDAswAQF/AkACQCAAQXdqIgFBF0sNAEEBIAF0QY2AgARxDQELIABBoAFGDQBBAA8LQQELbQECfwJAAkADQAJAIABB//8DcSIBQXdqIgJBF0sNAEEBIAJ0QZ+AgARxDQILIAFBoAFGDQEgACECIAEQKw0CQQAhAkEAQQAoAuQIIgBBAmo2AuQIIAAvAQIiAA0ADAILCyAAIQILIAJB//8DcQtoAQJ/QQEhAQJAAkAgAEFfaiICQQVLDQBBASACdEExcQ0BCyAAQfj/A3FBKEYNACAAQUZqQf//A3FBBkkNAAJAIABBpX9qIgJBA0sNACACQQFHDQELIABBhX9qQf//A3FBBEkhAQsgAQuLAQECfwJAQQAoAuQIIgIvAQAiA0HhAEcNAEEAIAJBBGo2AuQIQQEQJyECQQAoAuQIIQACQAJAIAJBIkYNACACQSdGDQAgAhAqGkEAKALkCCEBDAELIAIQGEEAQQAoAuQIQQJqIgE2AuQIC0EBECchA0EAKALkCCECCwJAIAIgAEYNACAAIAEQAgsgAwtyAQR/QQAoAuQIIQBBACgC6AghAQJAAkADQCAAQQJqIQIgACABTw0BAkACQCACLwEAIgNBpH9qDgIBBAALIAIhACADQXZqDgQCAQECAQsgAEEEaiEADAALC0EAIAI2AuQIEB5BAA8LQQAgAjYC5AhB3QALSQEBf0EAIQcCQCAALwEKIAZHDQAgAC8BCCAFRw0AIAAvAQYgBEcNACAALwEEIANHDQAgAC8BAiACRw0AIAAvAQAgAUYhBwsgBwtTAQF/QQAhCAJAIAAvAQwgB0cNACAALwEKIAZHDQAgAC8BCCAFRw0AIAAvAQYgBEcNACAALwEEIANHDQAgAC8BAiACRw0AIAAvAQAgAUYhCAsgCAsLHwIAQYAICwIAAABBhAgLEAEAAAACAAAAAAQAAHA4AAA=","undefined"!=typeof Buffer?Buffer.from(q,"base64"):Uint8Array.from(atob(q),(E=>E.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:E})=>{j=E}));var q;N.init=$},894:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},6680:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},83196:E=>{"use strict";E.exports={i8:"5.1.1"}},29389:E=>{"use strict";E.exports={version:"4.3.0"}},42600:E=>{"use strict";E.exports={i8:"4.3.0"}},53765:E=>{"use strict";E.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76052:E=>{"use strict";E.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false}]')},78864:E=>{"use strict";E.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')},11519:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},54703:E=>{"use strict";E.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.7.1","engines":{"node":">=10"},"maintainers":["Fábio Santos <fabiosantosart@gmail.com>"],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^8.0.5","astring":"^1.6.2","eslint":"^7.19.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.2.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.38.4","semver":"^7.3.4"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},37589:E=>{"use strict";E.exports={i8:"5.62.1"}},46312:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise<EntryStatic>)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise<EntryStaticNormalized>)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","oneOf":[{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise<ExternalItemValue>))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise<string>))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise<import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi>))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n <name>: {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/ExperimentsNormalized"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},87298:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},28991:E=>{"use strict";E.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},67138:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},39586:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../../lib/util/Hash\')"}]}},"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},8679:E=>{"use strict";E.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},89408:E=>{"use strict";E.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},30685:E=>{"use strict";E.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},43691:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},78061:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},91014:E=>{"use strict";E.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},93944:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},38279:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},85195:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},78555:E=>{"use strict";E.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},9659:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},37931:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},3484:E=>{"use strict";E.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},10692:E=>{"use strict";E.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84638:E=>{"use strict";E.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},5404:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},52021:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},97295:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')}};var __webpack_module_cache__={};function __webpack_require__(E){var N=__webpack_module_cache__[E];if(N!==undefined){return N.exports}var R=__webpack_module_cache__[E]={id:E,loaded:false,exports:{}};var j=true;try{__webpack_modules__[E].call(R.exports,R,R.exports,__webpack_require__);j=false}finally{if(j)delete __webpack_module_cache__[E]}R.loaded=true;return R.exports}(()=>{__webpack_require__.o=(E,N)=>Object.prototype.hasOwnProperty.call(E,N)})();(()=>{__webpack_require__.nmd=E=>{E.paths=[];if(!E.children)E.children=[];return E}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(32090);module.exports=__webpack_exports__})();